/* =============================================================
   WILDATLAS GUIDE 
   ============================================================= */

/* =========================
   SHARED — Filtros WildAtlas
========================= */

.wa-filters {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
    font-size: 12px;
    color: #666;
    text-align: center;
}

.wa-filter {
    background: none !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    letter-spacing: 1px;
    padding: 0;
    margin-top: 20px;
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 500;
    color: #aaa;
    cursor: pointer;
    transition: color .2s ease;
}

.wa-filter:hover { color: #555; }

.wa-filter:focus,
.wa-filter:active {
    outline: none !important;
    box-shadow: none !important;
}

.wa-filter.active {
    color: #111;
    font-weight: 700;
}

.wa-filter:not(.active) { opacity: 1; }

.wa-filter:not(:last-child)::after {
    content: "|";
    margin-left: 12px;
    color: #e5e5e5;
}

/* =========================
   SHARED — Topbar / Back to search
========================= */

/* Generic: every page-body topbar (any {type}-topbar) inherits the same look.
   The [class$="-topbar"] selector covers new page types automatically — no
   more hand-maintained type lists. */
.wildatlas-feature-band-topbar > [class$="-topbar"],
.country-topbar,
.species-topbar,
.operator-topbar,
.place-topbar {
    height: 30px;
    display: flex;
    align-items: center;
    padding: 0 20px;
    margin-bottom: 0;
    margin-left: -20px;
    margin-right: -20px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.wildatlas-feature-band-topbar > [class$="-topbar"] a,
.country-topbar a,
.species-topbar a,
.operator-topbar a,
.place-topbar a {
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .5px;
}

.back-to-search {
    position: relative;
    color: #fff;
    text-decoration: none;
    padding-left: 18px;
    transition: .25s ease;
}

.back-to-search::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 8px;
    height: 8px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: translateY(-50%) rotate(45deg);
    transition: .25s ease;
}

.back-to-search:hover::before { left: -4px; }
.back-to-search:hover { opacity: .85; }

/* =========================
   SHARED — Hotspot badges
========================= */

.gd-place-categories {
    position: absolute;
    bottom: 16px;
    right: 16px;
    z-index: 20;
}

.hotspot-badges {
    position: absolute;
    bottom: 10px;
    right: 10px;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: flex-end;
    z-index: 20;
}

.hotspot-badge {
    background: rgba(0,0,0,0.55);
    color: #fff;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

/* =========================
   SHARED — Separator / Meta names
========================= */

.separator { display: none; }

.scientific-name {
    font-size: 30px;
    font-style: italic;
    color: #4a4a4a;
    font-weight: 400;
    letter-spacing: -0.5px;
}

.spanish-name {
    font-size: 18px;
    color: #9a9a9a;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

/* =========================
   SHARED — WildAtlas Feature Bands
========================= */

.wildatlas-feature-band-topbar {
    position: relative;
    z-index: 1;
}

.wildatlas-feature-band-topbar::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    background: #12171e;
    z-index: -1;
}

.wildatlas-feature-band-hero-banner {
    position: relative;
    z-index: 1;
}

.wildatlas-feature-band-hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    background: #b4c0ce;
    z-index: -1;
}

/* =============================================================
   COUNTRY — single-country.php
   ============================================================= */

.country-container {
    width: 100%;
    margin: auto;
    padding-top: 0;
}

.country-card {
    background: #fff;
    box-shadow: 0 15px 50px rgba(0,0,0,0.08);
    padding: 0 20px 20px;
}

.country-title {
    font-size: 72px;
    font-weight: 800;
    letter-spacing: -2px;
    line-height: 0.95;
    color: #111;
    margin-bottom: 18px;
    text-transform: capitalize;
}

.country-meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 60px;
}

.country-description {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 80px;
}

/* Hero */

.country-hero-banner {
    position: relative;
    margin-left: -20px;
    margin-right: -20px;
    height: 550px;
    overflow: hidden;
    margin-top: 0 !important;
}

.country-hero-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.country-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.45) 35%, rgba(0,0,0,0.08) 100%);
}

.country-hero-content {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 0 45px 48px;
}

.country-hero-content .country-title {
    margin: 0 0 10px;
    color: #fff;
    font-size: clamp(42px, 5vw, 72px);
    line-height: 0.92;
    font-weight: 800;
    letter-spacing: -2px;
    max-width: 75%;
    text-wrap: balance;
    text-shadow: 0 3px 20px rgba(0,0,0,0.5);
}

.country-hero-content .country-meta {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0;
    margin: 0;
    text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

.country-hero-content .scientific-name {
    color: #fff !important;
    font-style: italic;
    font-size: 18px;
    font-weight: 400;
    opacity: 0.82;
}

.country-hero-content .spanish-name {
    color: #fff !important;
    font-size: 18px;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0.3px;
    opacity: 0.68;
}

.country-hero-content .separator {
    display: inline;
    color: rgba(255,255,255,0.40);
    font-size: 18px;
    padding: 0 8px;
}

.country-hero-description {
    position: absolute;
    right: 40px;
    bottom: 40px;
    max-width: 420px;
    padding-left: 20px;
    border-left: 2px solid rgba(255,255,255,.3);
    color: rgba(255,255,255,.9);
    font-size: 13px;
    line-height: 1.7;
    text-align: left;
    z-index: 5;
}

/* Hotspots */

.country-hotspots { margin-top: 0; }

.country-hotspots h2 {
    font-size: 36px;
    margin-bottom: 30px;
    color: #111;
}

.country-experiences-section,
.country-hotspots-section {
    position: relative;
}

.country-experiences-section::before,
.country-hotspots-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: -20px;
    width: calc(100% + 40px);
    box-shadow: 0 -2px 15px rgba(0,0,0,.03);
    border-top: 1px solid #ececec;
}

/* Hotspots grid */

@media (max-width: 1200px) { .country-hotspots-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px)  { .country-hotspots-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .country-hotspots-grid { grid-template-columns: 1fr; } }

/* Mobile hero */

@media (max-width: 768px) {
    .country-hero-banner { height: 380px; }
    .country-hero-content { padding: 0 28px 28px; }
    .country-hero-content .country-title { font-size: 48px; }
}

/* ── Country hero — map variant ──────────────────────────────────────────── */

.country-hero-banner--map {
    background: #d8dfe8; /* fallback — matches light_nolabels ocean color */
}

.country-hero-banner--map .leaflet-container {
    background: #d8dfe8;
}

/* The Leaflet canvas fills the whole banner */
.country-hero-map-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Lighter gradient than the photo version so the map stays readable */
.country-hero-overlay--map {
    background: linear-gradient(
        to top,
        rgba(12, 15, 22, 0.80) 0%,
        rgba(12, 15, 22, 0.50) 30%,
        rgba(12, 15, 22, 0.18) 65%,
        rgba(12, 15, 22, 0.00) 100%
    );
    z-index: 2;
    pointer-events: none; /* let clicks through to the map */
}

/* Ensure content sits above both canvas + overlay */
.country-hero-banner--map .country-hero-content {
    z-index: 5;
    pointer-events: none; /* purely decorative — let clicks through */
}

/* Re-enable pointer events only on interactive elements inside content */
.country-hero-banner--map .country-hero-content a,
.country-hero-banner--map .country-hero-content button,
.country-hero-banner--map .country-map-badge {
    pointer-events: auto;
}

/* Hotspot count badge */
.country-map-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    padding: 5px 13px;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(8px);
    border-radius: 20px;
    color: rgba(255, 255, 255, 0.80);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.2px;
}

/* Category legend — top-right glass pill */
.country-map-legend {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding: 11px 15px;
    background: rgba(15, 18, 26, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 10px;
}

.cml-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cml-dot {
    width: 8px;
    height: 12px;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    flex-shrink: 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.25);
}

.cml-label {
    color: rgba(255, 255, 255, 0.80);
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    letter-spacing: 0.1px;
}

/* Legend acts as a marker filter */
.cml-item {
    transition: opacity 0.15s ease;
    user-select: none;
}
.cml-item:hover { opacity: 0.85; }
.cml-item.is-off { opacity: 0.4; }
.cml-item.is-off .cml-dot { background: #8a93a3 !important; }
.cml-item.is-off .cml-label { text-decoration: line-through; }

/* =============================================================
   WAOS — Owner Dashboard (/owner/)
   ============================================================= */
.wa-owner-switch { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.wa-owner-switch label { font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: #9aa4b1; }
.wa-owner-resource-select {
    padding: 8px 12px; border: 1px solid #d8dee6; border-radius: 9px;
    font-size: 14px; color: #1a2a3a; background: #fff; min-width: 220px;
}

.wa-owner-dash-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.wa-owner-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.wa-owner-card { border: 1px solid #e4e8ee; border-radius: 14px; padding: 18px; background: #fff; }
.wa-owner-card-head { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; }
.wa-owner-card-title { font-size: 16px; font-weight: 700; color: #1a2a3a; }
.wa-owner-card-stats { display: flex; gap: 18px; padding: 12px 0; border-top: 1px solid #f0f2f5; border-bottom: 1px solid #f0f2f5; }
.wa-owner-card-stats > div { display: flex; flex-direction: column; font-size: 11px; color: #9aa4b1; letter-spacing: 0.3px; }
.wa-owner-card-stats span { font-size: 20px; font-weight: 700; color: #1a2a3a; }
.wa-owner-card-actions { display: flex; gap: 10px; margin-top: 14px; }

.wa-owner-btn {
    display: inline-block; padding: 9px 16px; border-radius: 9px;
    background: #1a2a3a; color: #fff; border: none; cursor: pointer;
    font-size: 13px; font-weight: 600; text-decoration: none;
}
.wa-owner-btn:hover { background: #283c50; color: #fff; }
.wa-owner-btn--ghost { background: #eef3f8; color: #3a566f; }
.wa-owner-btn--ghost:hover { background: #e0e9f1; color: #3a566f; }

/* Content / Team — each section is its own card */
.wa-owner-block {
    background: #fff;
    border: 1px solid #e8ecf1;
    border-radius: 14px;
    padding: 20px 22px;
    margin: 0 0 16px;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}
.wa-owner-block .wa-admin-subtitle:first-child,
.wa-owner-block-head .wa-admin-subtitle { margin-top: 0; }
.wa-owner-help { font-size: 13px; color: #788596; margin: -4px 0 12px; line-height: 1.5; }
.wa-owner-block-head {
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px; flex-wrap: wrap; margin-bottom: 8px;
}
.wa-owner-btn--sm { padding: 6px 12px; font-size: 12px; }
.wa-child-status { color: #9aa4b1; font-size: 12px; }

/* Rows inside owner cards: clean dividers, aligned actions */
.wa-owner-block .wa-admin-tlist { margin-top: 6px; }
.wa-owner-content .wa-admin-trow,
.wa-owner-managers .wa-admin-trow {
    display: flex; align-items: center; gap: 10px;
    padding: 11px 0; border-bottom: 1px solid #f0f2f5; font-size: 14px;
}
.wa-owner-content .wa-admin-trow:last-child,
.wa-owner-managers .wa-admin-trow:last-child { border-bottom: none; }
.wa-owner-content .wa-admin-trow > span,
.wa-owner-managers .wa-admin-trow > span { flex: 1; min-width: 0; color: #1a2a3a; }
.wa-owner-content .wa-admin-trow a:not(.wa-admin-trash),
.wa-owner-managers .wa-admin-trow a:not(.wa-admin-trash) { color: #1a2a3a; font-weight: 600; text-decoration: none; }
.wa-owner-content .wa-admin-trow a:not(.wa-admin-trash):hover { color: #5f7f9f; }

/* Pill-style action buttons inside owner cards */
.wa-owner-content .wa-admin-trash,
.wa-owner-managers .wa-admin-trash {
    border: none; border-radius: 8px; padding: 6px 12px;
    font-size: 12px; font-weight: 600; cursor: pointer; text-decoration: none;
    line-height: 1.4; white-space: nowrap;
}
.wa-owner-content .wa-admin-trash:hover,
.wa-owner-managers .wa-admin-trash:hover { filter: brightness(0.96); }

.wa-owner-news-form { display: flex; flex-direction: column; gap: 8px; max-width: 560px; margin-bottom: 14px; }
.wa-owner-news-form input, .wa-owner-news-form textarea {
    padding: 9px 11px; border: 1px solid #d8dee6; border-radius: 9px; font-size: 14px; font-family: inherit; color: #1a2a3a;
}
.wa-owner-news-actions { display: flex; align-items: center; gap: 10px; }
.wa-onews-msg, .wa-oreview-msg { font-size: 12px; color: #788596; }

.wa-owner-reviews { display: flex; flex-direction: column; gap: 14px; }
.wa-owner-review { border: 1px solid #e4e8ee; border-radius: 12px; padding: 16px 18px; background: #fff; }
.wa-owner-review-head { display: flex; align-items: center; gap: 10px; }
.wa-owner-review-head strong { font-size: 14px; color: #1a2a3a; }
.wa-owner-review-stars { color: #e3a008; font-size: 14px; }
.wa-owner-review-head em { margin-left: auto; font-size: 12px; color: #9aa4b1; }
.wa-owner-review-body { font-size: 14px; color: #44505f; line-height: 1.5; margin: 8px 0; }
.wa-owner-review-reply { margin-top: 10px; }
.wa-owner-review-reply textarea {
    width: 100%; padding: 9px 11px; border: 1px solid #d8dee6; border-radius: 9px;
    font-size: 14px; font-family: inherit; resize: vertical;
}
.wa-owner-review-actions { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.wa-owner-review-response { margin-top: 10px; background: #f3f7fb; border-left: 3px solid #5f7f9f; border-radius: 0 8px 8px 0; padding: 10px 14px; }
.wa-owner-review-response strong { font-size: 12px; color: #3a566f; text-transform: uppercase; letter-spacing: 0.5px; }
.wa-owner-review-response p { margin: 4px 0 0; font-size: 14px; color: #44505f; }

/* =============================================================
   WAOS — Admin: claims review (Control Center → Business)
   ============================================================= */
.wa-claim-admin-list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 10px; }

.wa-claim-admin-card {
    border: 1px solid #e4e8ee; border-radius: 12px; padding: 16px 18px;
    background: #fff;
}
.wa-claim-admin-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.wa-claim-rtype {
    display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: 1px;
    text-transform: uppercase; color: #5f7f9f; background: #eef3f8;
    padding: 2px 8px; border-radius: 999px; vertical-align: middle;
}
.wa-claim-rtitle { font-size: 15px; font-weight: 700; color: #1a2a3a; }
.wa-claim-date   { font-size: 12px; color: #9aa4b1; white-space: nowrap; }

.wa-claim-warn {
    margin: 10px 0 0; font-size: 12px; color: #a86b1a;
    background: #fff7e6; border-radius: 8px; padding: 6px 10px;
}

.wa-claim-admin-by { display: flex; align-items: center; gap: 10px; margin: 12px 0 10px; }
.wa-claim-admin-by img { border-radius: 50%; }
.wa-claim-admin-by strong { display: block; font-size: 13px; color: #1a2a3a; }
.wa-claim-admin-meta { font-size: 12px; color: #788596; }

.wa-claim-admin-msg { font-size: 13px; color: #44505f; line-height: 1.5; margin: 4px 0; }
.wa-claim-admin-notes { color: #788596; }

.wa-claim-admin-actions { display: flex; align-items: center; gap: 10px; margin-top: 14px; }
.wa-claim-act {
    border: none; border-radius: 8px; padding: 8px 14px;
    font-size: 13px; font-weight: 600; cursor: pointer;
}
.wa-claim-act:disabled { opacity: 0.6; cursor: default; }
.wa-claim-approve { background: #1f7a4d; color: #fff; }
.wa-claim-approve:hover:not(:disabled) { background: #25925c; }
.wa-claim-reject  { background: #f3f4f6; color: #b3422b; }
.wa-claim-reject:hover:not(:disabled)  { background: #fbe9e6; }
.wa-claim-act-msg { font-size: 12px; color: #788596; }

.wa-claim-pill {
    display: inline-block; padding: 2px 9px; border-radius: 999px;
    font-size: 11px; font-weight: 700;
}
.wa-claim-pill.is-approved { background: #e6f4ec; color: #1f7a4d; }
.wa-claim-pill.is-rejected { background: #fbe9e6; color: #b3422b; }
.wa-claim-pill.is-draft    { background: #eef1f5; color: #5a6b7e; }

/* ── WAFAS — Follow control (hero, beside the reviews) ───────────────────── */
.wa-follow {
    display: inline-flex; align-items: center; gap: 9px;
    margin: 0;
}
.wa-hero-rating-row .wa-follow { margin-left: 16px; }
.wa-follow-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 5px;
    width: 108px; /* fixed → Follow & Following share the same size */
    padding: 5px 13px; border-radius: 999px;
    background: #fff; color: #1f7a4d; border: 1px solid #fff;
    font-size: 12px; font-weight: 600; line-height: 1; cursor: pointer;
    transition: background .14s, color .14s, border-color .14s;
}
.wa-follow-btn:hover { background: #eef4f0; color: #1f7a4d; }
.wa-follow-check { display: none; }
/* Following state — same pill, with the green check shown */
.wa-follow-btn.is-following .wa-follow-check { display: inline-block; }
.wa-follow-count {
    color: #fff; font-size: 12px; font-weight: 600;
    text-shadow: 0 1px 6px rgba(0, 0, 0, .45);
}
.wa-follow-count[hidden] { display: none; }

/* Following tab — activity feed */
.wa-feed { display: flex; flex-direction: column; gap: 2px; }
.wa-feed-row {
    display: flex; justify-content: space-between; align-items: baseline; gap: 14px;
    padding: 12px 2px; border-bottom: 1px solid #eef1f4;
}
.wa-feed-body { color: #2b3a47; font-size: 14px; line-height: 1.45; }
.wa-feed-resource { font-weight: 700; color: #16323f; text-decoration: none; }
.wa-feed-resource:hover { text-decoration: underline; }
.wa-feed-label { color: #5a6b7e; }
.wa-feed-link { color: #1f7a4d; text-decoration: none; font-weight: 600; }
.wa-feed-link:hover { text-decoration: underline; }
.wa-feed-time { color: #92a1b0; font-size: 12px; white-space: nowrap; flex-shrink: 0; }

/* Following list — follow button on a light background (override hero styling) */
.wa-following-list .wa-follow { margin: 0; }
.wa-following-list .wa-follow-btn {
    box-shadow: none; border-color: #d4dee6; padding: 6px 13px; font-size: 12.5px;
}
.wa-following-list .wa-follow-btn:not(.is-following),
.wa-following-list .wa-follow-btn:not(.is-following):hover { color: #2b3a47; background: #f3f6f9; }
.wa-following-list .wa-follow-count { display: none; } /* count not needed per row */

/* iOS-style account avatar — squircle with a corner notification dot */
.wa-account-av { position: relative; display: inline-flex; flex-shrink: 0; line-height: 0; }
.wa-account-avatar,
.wa-account-btn img.wa-account-avatar { border-radius: 9px !important; }
.wa-account-dot {
    position: absolute; top: -3px; right: -3px;
    width: 10px; height: 10px; border-radius: 50%;
    background: #e0392b; box-shadow: 0 0 0 2px #fff;
}
.wa-account-menu a .wa-menu-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: #e0392b; margin-left: auto;
}
/* Owner dashboard tab dot (Analytics — new followers / Bookings — requests) */
.profile-tab .wa-tab-dot {
    display: inline-block; width: 7px; height: 7px; border-radius: 50%;
    background: #e0392b; margin-left: 6px; vertical-align: middle;
}

/* ── WARS — booking widget (hide sidebar) ────────────────────────────────── */
.wa-booking-title {
    font-size: 15px; font-weight: 800; color: #15321f; margin: 0 0 12px;
}
.wa-booking-form { display: flex; flex-direction: column; gap: 10px; }
.wa-bk-dates { display: flex; gap: 10px; }
.wa-bk-dates .wa-bk-field { flex: 1; }
.wa-bk-field { display: flex; flex-direction: column; gap: 4px; }
.wa-bk-field > span { font-size: 12px; font-weight: 700; color: #4a5a51; }
.wa-bk-field > span em { font-style: normal; font-weight: 500; color: #8a9a90; }
.wa-bk-field input, .wa-bk-field textarea {
    width: 100%; padding: 9px 11px; border: 1px solid #d4dee6; border-radius: 10px;
    font-size: 14px; color: #1a2a22; background: #fff; box-sizing: border-box;
}
.wa-bk-field input:focus, .wa-bk-field textarea:focus {
    outline: none; border-color: #2e9e5b; box-shadow: 0 0 0 3px rgba(46,158,91,.12);
}
/* Experiences: agreed dates shown read-only (no picker) */
.wa-bk-fixeddates {
    display: flex; flex-direction: column; gap: 2px;
    padding: 10px 12px; border-radius: 10px;
    background: #f0f8f3; border: 1px solid #d6ebdf;
}
.wa-bk-fixeddates-label { font-size: 12px; font-weight: 700; color: #6b8b78; text-transform: uppercase; letter-spacing: .3px; }
.wa-bk-fixeddates-val { font-size: 15px; font-weight: 700; color: #15321f; }

/* flatpickr — match the WildAtlas green */
.flatpickr-day.selected, .flatpickr-day.selected:hover { background: #2e9e5b; border-color: #2e9e5b; }
.flatpickr-day.today { border-color: #2e9e5b; }
.flatpickr-day:hover { background: #eef4f0; }
.flatpickr-months .flatpickr-month, .flatpickr-current-month { color: #15321f; }
/* Unavailable days (blocked / full) — red, not selectable */
.flatpickr-day.wa-day-unavailable,
.flatpickr-day.wa-day-unavailable.flatpickr-disabled {
    color: #d8635a !important;
    background: #fdeceb !important;
    text-decoration: line-through;
    cursor: not-allowed;
}
.flatpickr-day.wa-day-unavailable:hover { background: #fbe2e0 !important; }

/* ── Owner Customize panel ───────────────────────────────────────────────── */
.wa-cz { display: flex; flex-direction: column; gap: 8px; max-width: 520px; }
.wa-cz-row {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 14px; border: 1px solid #e1e8ee; border-radius: 12px; background: #fff;
}
.wa-cz-handle { display: inline-flex; flex-direction: column; gap: 2px; }
.wa-cz-up, .wa-cz-down {
    width: 22px; height: 18px; line-height: 1; padding: 0; cursor: pointer;
    border: 1px solid #d4dee6; border-radius: 5px; background: #f3f6f9; color: #3a566f; font-size: 11px;
}
.wa-cz-up:hover, .wa-cz-down:hover { background: #e7eef4; }
.wa-cz-name { flex: 1; font-weight: 700; color: #15321f; font-size: 14px; }
.wa-cz-fixed { font-size: 11px; font-weight: 700; color: #1f7a4d; background: #e9f4ee; padding: 3px 9px; border-radius: 999px; }
.wa-cz-toggle { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: #4a5a51; }
.wa-cz-actions { margin-top: 16px; display: flex; align-items: center; gap: 12px; }
.wa-cz-msg { font-size: 13px; color: #1f7a4d; }

/* ============================================================
   OWNER DASHBOARD — SaaS restyle (scoped to body.wa-owner)
   Pure presentation; no logic changes.
   ============================================================ */
body.wa-owner { --wa-card:#fff; --wa-line:#e7ecf1; --wa-ink:#15321f; --wa-muted:#6b7a86; --wa-accent:#1f7a4d; --wa-attention:#e0392b; }
body.wa-owner .profile-card.wa-page-card { background: #f6f8fa; }

/* Tabs → flat menu with icon + label + underline indicator (no rounded pills) */
body.wa-owner .profile-tabs { gap: 0; flex-wrap: wrap; padding-bottom: 0; }
body.wa-owner .wa-owner-tab {
    display: inline-flex; align-items: center; gap: 7px; position: relative;
    padding: 14px 20px; border: 0; border-bottom: 3px solid transparent; border-radius: 0;
    background: none; color: #aab2bb; font-weight: 600; font-size: 13px;
}
body.wa-owner .wa-owner-tab .wa-tab-ico { opacity: .85; }
body.wa-owner .wa-owner-tab:hover { background: none; color: #fff; }
body.wa-owner .wa-owner-tab.is-active { background: none; color: #fff; border-bottom-color: #4fadd4; }
body.wa-owner .wa-owner-tab.is-active .wa-tab-ico { opacity: 1; }
body.wa-owner .wa-owner-tab + .wa-owner-tab::before { content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%); height: 16px; width: 1px; background: rgba(255,255,255,.14); }
body.wa-owner .wa-owner-tab .wa-tab-dot { position: static; margin-left: 2px; width: 7px; height: 7px; border-radius: 50%; background: var(--wa-attention); box-shadow: none; }

/* Section eyebrow titles */
body.wa-owner .wa-admin-subtitle {
    font-size: 12px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase;
    color: var(--wa-muted); margin: 26px 0 12px;
}

/* Stat row */
.wa-stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.wa-stat {
    display: flex; flex-direction: column; gap: 4px;
    background: var(--wa-card); border: 1px solid var(--wa-line); border-radius: 16px; padding: 16px 18px;
}
.wa-stat-ico { color: #9aa7b2; }
.wa-stat-n { font-size: 28px; font-weight: 800; color: var(--wa-ink); line-height: 1; }
.wa-stat-label { font-size: 12.5px; color: var(--wa-muted); font-weight: 600; }
.wa-stat.is-attention { border-color: #f3c9c3; background: #fdf2f0; }
.wa-stat.is-attention .wa-stat-n, .wa-stat.is-attention .wa-stat-ico { color: var(--wa-attention); }

/* Attention alerts */
.wa-alert-list { display: flex; flex-direction: column; gap: 8px; }
.wa-alert {
    display: flex; align-items: center; gap: 10px; text-decoration: none;
    background: #fdf2f0; border: 1px solid #f3c9c3; border-radius: 12px; padding: 13px 16px;
    color: #7a2a1c; font-size: 14px;
}
.wa-alert strong { color: var(--wa-attention); }
.wa-alert-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--wa-attention); flex-shrink: 0; }
.wa-alert-go { margin-left: auto; font-weight: 700; color: var(--wa-attention); }
.wa-empty { background: var(--wa-card); border: 1px dashed var(--wa-line); border-radius: 14px; padding: 18px; color: var(--wa-muted); font-size: 14px; }
.wa-empty--clean { color: #1f7a4d; background: #f0f8f3; border-color: #d6ebdf; }

/* Quick actions */
.wa-qa-row { display: flex; gap: 10px; flex-wrap: wrap; }
.wa-qa {
    display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
    background: var(--wa-card); border: 1px solid var(--wa-line); border-radius: 12px;
    padding: 12px 16px; font-size: 13.5px; font-weight: 700; color: var(--wa-ink);
    transition: border-color .12s, box-shadow .12s, transform .05s;
}
.wa-qa svg { color: var(--wa-accent); }
.wa-qa:hover { border-color: #cfe6da; box-shadow: 0 4px 14px -8px rgba(31,122,77,.5); color: var(--wa-ink); }
.wa-qa:active { transform: translateY(1px); }

/* Listing cards (restyle existing) */
body.wa-owner .wa-owner-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
body.wa-owner .wa-owner-card { background: var(--wa-card); border: 1px solid var(--wa-line); border-radius: 16px; padding: 18px; box-shadow: 0 8px 24px -18px rgba(20,40,30,.4); }
body.wa-owner .wa-owner-card-stats { display: flex; gap: 16px; margin: 12px 0 14px; }
body.wa-owner .wa-owner-card-stats > div { display: flex; flex-direction: column; font-size: 11.5px; color: var(--wa-muted); }
body.wa-owner .wa-owner-card-stats span { font-size: 19px; font-weight: 800; color: var(--wa-ink); }
body.wa-owner .wa-owner-btn { background: var(--wa-accent); border: 1px solid var(--wa-accent); color: #fff; border-radius: 9px; }
body.wa-owner .wa-owner-btn:hover { background: #1a6a43; border-color: #1a6a43; color: #fff; }
body.wa-owner .wa-owner-btn--ghost { background: #fff; color: var(--wa-ink); border-color: var(--wa-line); }
body.wa-owner .wa-owner-btn--ghost:hover { background: #f3f6f9; color: var(--wa-ink); border-color: #cfd8e0; }

/* Content → module cards (instead of an endless form) */
body.wa-owner .wa-owner-content { display: flex; flex-direction: column; gap: 16px; }
body.wa-owner .wa-owner-block {
    background: var(--wa-card); border: 1px solid var(--wa-line); border-radius: 16px;
    padding: 18px 20px; margin: 0; box-shadow: 0 8px 24px -20px rgba(20,40,30,.4);
}
body.wa-owner .wa-owner-block .wa-admin-subtitle {
    display: flex; align-items: center; gap: 8px; margin: 0 0 4px;
    font-size: 16px; font-weight: 800; letter-spacing: -.2px; text-transform: none; color: var(--wa-ink);
}
body.wa-owner .wa-owner-block .wa-admin-subtitle .wa-mod-ico { color: var(--wa-accent); flex-shrink: 0; }
body.wa-owner .wa-owner-block-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
body.wa-owner .wa-owner-block-head .wa-admin-subtitle { margin-bottom: 0; }
body.wa-owner .wa-owner-help { color: var(--wa-muted); font-size: 13px; margin: 0 0 12px; }
body.wa-owner .wa-owner-block .wa-admin-tlist { margin-top: 12px; display: flex; flex-direction: column; gap: 6px; }
body.wa-owner .wa-owner-block .wa-admin-trow {
    background: #f7f9fb; border: 1px solid #eef1f4; border-radius: 10px; padding: 9px 12px; gap: 8px;
}
body.wa-owner .wa-owner-block .wa-admin-trash {
    border-radius: 8px; font-size: 12px; font-weight: 700; padding: 6px 10px;
}
body.wa-owner .wa-owner-block .wa-profile-empty {
    background: #f7f9fb; border: 1px dashed var(--wa-line); border-radius: 10px;
    padding: 14px; color: var(--wa-muted); font-size: 13.5px; margin: 10px 0 0;
}
body.wa-owner .wa-owner-btn--sm { padding: 7px 12px; font-size: 12.5px; }

/* Content resource switcher */
body.wa-owner .wa-owner-switch {
    display: flex; align-items: center; gap: 10px; margin-bottom: 16px;
    background: var(--wa-card); border: 1px solid var(--wa-line); border-radius: 12px; padding: 10px 14px;
}
body.wa-owner .wa-owner-switch label { font-size: 12px; font-weight: 700; color: var(--wa-muted); text-transform: uppercase; letter-spacing: .5px; }
body.wa-owner .wa-owner-resource-select { border: 1px solid var(--wa-line); border-radius: 9px; padding: 8px 10px; font-size: 14px; font-weight: 600; color: var(--wa-ink); }

/* General empty state (any section that returns a standalone notice) */
body.wa-owner .wa-profile-empty {
    background: var(--wa-card); border: 1px dashed var(--wa-line); border-radius: 14px;
    padding: 22px; color: var(--wa-muted); font-size: 14px; text-align: center; margin: 4px 0;
}

/* Bookings — settings panel + request rows as kit cards */
body.wa-owner .wa-bk-settings {
    background: var(--wa-card); border: 1px solid var(--wa-line); border-radius: 16px;
    padding: 18px 20px; box-shadow: 0 8px 24px -20px rgba(20,40,30,.4); margin-bottom: 10px;
    display: flex; flex-direction: column; gap: 10px;
}
body.wa-owner .wa-bk-set-toggle { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--wa-ink); font-size: 14px; }
body.wa-owner .wa-bk-set-field { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--wa-muted); font-weight: 600; }
body.wa-owner .wa-bk-set-field input,
body.wa-owner .wa-bk-block input,
body.wa-owner .wa-bk-block select { border: 1px solid var(--wa-line); border-radius: 9px; padding: 8px 10px; font-size: 14px; }
body.wa-owner .wa-bookings-list { display: flex; flex-direction: column; gap: 12px; margin-top: 12px; }
body.wa-owner .wa-bk-row-owner {
    display: flex; align-items: flex-start; gap: 14px; flex-wrap: wrap;
    background: var(--wa-card); border: 1px solid var(--wa-line); border-radius: 16px;
    padding: 16px 18px; box-shadow: 0 8px 24px -20px rgba(20,40,30,.4);
}
body.wa-owner .wa-bk-row-owner .wa-bk-main { display: flex; flex-direction: column; gap: 4px; flex: 1 1 240px; min-width: 0; }
body.wa-owner .wa-bk-prod a { font-weight: 800; color: var(--wa-ink); font-size: 15px; }
body.wa-owner .wa-bk-meta { color: var(--wa-ink); font-size: 13.5px; font-weight: 600; }
body.wa-owner .wa-bk-contact { color: var(--wa-muted); font-size: 13px; }
body.wa-owner .wa-bk-contact a { color: var(--wa-accent); font-weight: 600; }
body.wa-owner .wa-bk-note-row {
    background: #f7f9fb; border: 1px solid #eef1f4; border-radius: 9px;
    padding: 8px 11px; margin-top: 4px; color: #44505c; font-size: 13px; font-style: italic;
}
body.wa-owner .wa-bk-row-owner .wa-claim-pill { align-self: flex-start; flex-shrink: 0; }
body.wa-owner .wa-bk-row-owner .wa-bk-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
body.wa-owner .wa-bk-row-owner .wa-bk-act {
    border: none; border-radius: 9px; padding: 8px 14px; font-size: 13px; font-weight: 700; cursor: pointer;
}
body.wa-owner .wa-bk-row-owner .wa-claim-approve { background: var(--wa-accent); color: #fff; }
body.wa-owner .wa-bk-row-owner .wa-claim-reject { background: #fbe9e6; color: #b3422b; }
body.wa-owner .wa-bk-chip {
    display: inline-flex; align-items: center; gap: 6px; background: #f1f4f7;
    border: 1px solid var(--wa-line); border-radius: 999px; padding: 4px 10px; font-size: 12.5px; margin: 2px 4px 2px 0;
}
body.wa-owner .wa-bk-block {
    background: var(--wa-card); border: 1px solid var(--wa-line); border-radius: 14px; padding: 14px 16px; margin-top: 8px;
}

/* Reviews — cards consistent with the kit */
body.wa-owner .wa-owner-reviews { display: flex; flex-direction: column; gap: 12px; }
body.wa-owner .wa-owner-review {
    background: var(--wa-card); border: 1px solid var(--wa-line); border-radius: 16px;
    padding: 16px 18px; box-shadow: 0 8px 24px -20px rgba(20,40,30,.4);
}
body.wa-owner .wa-owner-review-head { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
body.wa-owner .wa-owner-review-head strong { color: var(--wa-ink); font-size: 14.5px; }
body.wa-owner .wa-owner-review-stars { color: #e8a317; letter-spacing: 1px; }
body.wa-owner .wa-owner-review-head em { color: var(--wa-muted); font-size: 12.5px; margin-left: auto; font-style: normal; }
body.wa-owner .wa-owner-review-body { color: #2d3640; font-size: 14px; line-height: 1.55; }
body.wa-owner .wa-owner-review-response {
    background: #f4f9f5; border-left: 3px solid var(--wa-accent); border-radius: 8px;
    padding: 10px 12px; margin-top: 10px; font-size: 13.5px;
}
body.wa-owner .wa-owner-review-reply textarea {
    width: 100%; border: 1px solid var(--wa-line); border-radius: 10px; padding: 9px 11px; font-size: 13.5px; margin-top: 8px;
}
body.wa-owner .wa-owner-review-mod { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 10px; font-size: 12.5px; }

/* Analytics — recent-followers feed as kit rows */
body.wa-owner .wa-feed { display: flex; flex-direction: column; gap: 6px; }
body.wa-owner .wa-feed-row {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    background: var(--wa-card); border: 1px solid var(--wa-line); border-radius: 12px; padding: 11px 14px;
}
body.wa-owner .wa-feed-body { font-size: 13.5px; color: #2d3640; }
body.wa-owner .wa-feed-body strong { color: var(--wa-ink); }
body.wa-owner .wa-feed-label { color: var(--wa-muted); }
body.wa-owner .wa-feed-resource { font-weight: 700; color: var(--wa-accent); }
body.wa-owner .wa-feed-time { color: var(--wa-muted); font-size: 12px; white-space: nowrap; }

/* Customize — layout rows as kit rows */
body.wa-owner .wa-cz { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; }
body.wa-owner .wa-cz-row {
    display: flex; align-items: center; gap: 12px;
    background: var(--wa-card); border: 1px solid var(--wa-line); border-radius: 12px; padding: 10px 14px;
}
body.wa-owner .wa-cz-handle { display: inline-flex; gap: 4px; }
body.wa-owner .wa-cz-handle button {
    width: 26px; height: 26px; border: 1px solid var(--wa-line); background: #f7f9fb;
    border-radius: 7px; cursor: pointer; color: var(--wa-ink); font-size: 13px; line-height: 1;
}
body.wa-owner .wa-cz-handle button:hover { background: #eef3f8; }
body.wa-owner .wa-cz-name { font-weight: 700; color: var(--wa-ink); font-size: 14px; }
body.wa-owner .wa-cz-fixed { margin-left: auto; color: var(--wa-muted); font-size: 12px; font-style: italic; }
body.wa-owner .wa-cz-toggle { margin-left: auto; display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--wa-muted); font-weight: 600; }
body.wa-owner .wa-cz-actions { margin-top: 14px; display: flex; align-items: center; gap: 10px; }

@media (max-width: 720px) {
    .wa-stat-row { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   USER DASHBOARD (/profile/) — inherits the SaaS kit (body.wa-profile)
   Pure presentation; no logic changes.
   ============================================================ */
body.wa-profile { --wa-card:#fff; --wa-line:#e7ecf1; --wa-ink:#15321f; --wa-muted:#6b7a86; --wa-accent:#1f7a4d; --wa-attention:#e0392b; }
body.wa-profile .profile-card.wa-page-card { background: #f6f8fa; }

/* Tabs → flat menu, centered, with dropdown groups (Observations / Social) */
body.wa-profile .profile-tabs {
    display: flex; flex-wrap: wrap; gap: 0; padding-bottom: 0; justify-content: center; align-items: center;
}
body.wa-profile .wa-owner-tab {
    display: inline-flex; align-items: center; gap: 7px; position: relative; white-space: nowrap; flex-shrink: 0;
    padding: 14px 18px; border: 0; border-bottom: 3px solid transparent; border-radius: 0;
    background: none; color: #aab2bb; font-weight: 600; font-size: 13px;
}
body.wa-profile .wa-owner-tab .wa-tab-ico { opacity: .85; }
body.wa-profile .wa-owner-tab:hover { background: none; color: #fff; }
body.wa-profile .wa-owner-tab.is-active { background: none; color: #fff; border-bottom-color: #4fadd4; }
body.wa-profile .wa-nav-caret { opacity: .7; margin-left: 1px; }

/* Vertical separators between top-level items (incl. groups) */
body.wa-profile .wa-profile-nav > a + a::before,
body.wa-profile .wa-profile-nav > a + .wa-nav-group::before,
body.wa-profile .wa-profile-nav > .wa-nav-group + a::before,
body.wa-profile .wa-profile-nav > .wa-nav-group + .wa-nav-group::before {
    content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
    height: 16px; width: 1px; background: rgba(255,255,255,.14); z-index: 1;
}
body.wa-profile .wa-profile-nav > .wa-nav-group { position: relative; }

/* Dropdown menus (floating, rounded) */
body.wa-profile .wa-nav-group { position: relative; }
body.wa-profile .wa-nav-menu {
    position: absolute; top: calc(100% + 4px); left: 50%; transform: translateX(-50%) translateY(-4px); z-index: 50; min-width: 210px;
    background: #fff; border: 1px solid var(--wa-line); border-radius: 12px; padding: 6px;
    box-shadow: 0 16px 40px -16px rgba(20,40,30,.45);
    opacity: 0; visibility: hidden; transition: opacity .14s, transform .14s, visibility .14s;
}
body.wa-profile .wa-nav-group:hover .wa-nav-menu,
body.wa-profile .wa-nav-group:focus-within .wa-nav-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
body.wa-profile .wa-nav-item {
    display: flex; align-items: center; gap: 9px; padding: 9px 11px; border-radius: 9px;
    color: #44505c; font-size: 13.5px; font-weight: 600; text-decoration: none; white-space: nowrap; text-transform: none; letter-spacing: 0;
}
body.wa-profile .wa-nav-item .wa-tab-ico { color: var(--wa-accent); opacity: .9; }
body.wa-profile .wa-nav-item:hover { background: #f3f6f9; color: var(--wa-ink); }
body.wa-profile .wa-nav-item.is-active { background: #eaf3ee; color: var(--wa-accent); }

/* Observations filter bar */
body.wa-profile .wa-obs-filterbar { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; }
body.wa-profile .wa-obs-filter-pill { background: #eaf3ee; color: var(--wa-accent); border-radius: 999px; padding: 6px 14px; font-size: 13px; font-weight: 700; text-transform: capitalize; }
body.wa-profile .wa-obs-filter-clear { color: var(--wa-muted); font-size: 13px; font-weight: 600; text-decoration: none; }
body.wa-profile .wa-obs-filter-clear:hover { color: var(--wa-ink); }

/* Empty states + cards inherit the kit look */
body.wa-profile .wa-profile-empty {
    background: var(--wa-card); border: 1px dashed var(--wa-line); border-radius: 14px;
    padding: 26px 22px; color: var(--wa-muted); font-size: 14px; text-align: center; margin: 4px 0;
}
body.wa-profile .wa-profile-card {
    background: var(--wa-card); border: 1px solid var(--wa-line); border-radius: 16px; overflow: hidden;
    box-shadow: 0 8px 24px -20px rgba(20,40,30,.4); transition: box-shadow .12s, transform .05s; text-decoration: none;
}
body.wa-profile .wa-profile-card:hover { box-shadow: 0 12px 28px -18px rgba(20,40,30,.5); transform: translateY(-1px); }
body.wa-profile .wa-profile-pagination { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 18px; }
body.wa-profile .wa-profile-page-btn { border: 1px solid var(--wa-line); background: #fff; border-radius: 9px; padding: 8px 14px; font-weight: 700; color: var(--wa-ink); text-decoration: none; }
body.wa-profile .wa-profile-page-info { color: var(--wa-muted); font-size: 13px; }

/* ============================================================
   ADMIN CONTROL CENTER — inherits the SaaS kit (scoped body.wa-admin)
   Pure presentation; no logic changes. Slightly more operational tone.
   ============================================================ */
body.wa-admin { --wa-card:#fff; --wa-line:#e7ecf1; --wa-ink:#15321f; --wa-muted:#6b7a86; --wa-accent:#1f7a4d; --wa-attention:#e0392b; }
body.wa-admin .profile-card.wa-page-card { background: #f6f8fa; }

/* Tabs → flat menu with underline indicator (no rounded pills) */
body.wa-admin .profile-tabs { gap: 0; flex-wrap: wrap; padding-bottom: 0; }
body.wa-admin .wa-owner-tab {
    display: inline-flex; align-items: center; gap: 7px; position: relative;
    padding: 14px 20px; border: 0; border-bottom: 3px solid transparent; border-radius: 0;
    background: none; color: #aab2bb; font-weight: 600; font-size: 13px;
}
body.wa-admin .wa-owner-tab .wa-tab-ico { opacity: .85; }
body.wa-admin .wa-owner-tab:hover { background: none; color: #fff; }
body.wa-admin .wa-owner-tab.is-active { background: none; color: #fff; border-bottom-color: #4fadd4; }
body.wa-admin .wa-owner-tab.is-active .wa-tab-ico { opacity: 1; }

/* Grouped nav with hover/focus dropdowns (keeps everything on one row) */
body.wa-admin .wa-admin-nav { flex-wrap: wrap; align-items: center; }
body.wa-admin .wa-nav-group { position: relative; }
body.wa-admin .wa-nav-caret { opacity: .7; margin-left: 1px; }
/* Vertical separators between top-level items (incl. groups) */
body.wa-admin .wa-admin-nav > a + a::before,
body.wa-admin .wa-admin-nav > a + .wa-nav-group::before,
body.wa-admin .wa-admin-nav > .wa-nav-group + a::before,
body.wa-admin .wa-admin-nav > .wa-nav-group + .wa-nav-group::before {
    content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
    height: 16px; width: 1px; background: rgba(255,255,255,.14); z-index: 1;
}
body.wa-admin .wa-admin-nav > .wa-nav-group { position: relative; }
body.wa-admin .wa-nav-menu {
    position: absolute; top: calc(100% + 6px); left: 0; z-index: 50; min-width: 190px;
    background: #fff; border: 1px solid var(--wa-line); border-radius: 12px; padding: 6px;
    box-shadow: 0 16px 40px -16px rgba(20,40,30,.45);
    opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .14s, transform .14s, visibility .14s;
}
body.wa-admin .wa-nav-group:hover .wa-nav-menu,
body.wa-admin .wa-nav-group:focus-within .wa-nav-menu { opacity: 1; visibility: visible; transform: translateY(0); }
body.wa-admin .wa-nav-item {
    display: flex; align-items: center; gap: 9px; padding: 9px 11px; border-radius: 9px;
    color: #44505c; font-size: 13.5px; font-weight: 600; text-decoration: none; white-space: nowrap;
}
body.wa-admin .wa-nav-item .wa-tab-ico { color: var(--wa-accent); opacity: .9; }
body.wa-admin .wa-nav-item:hover { background: #f3f6f9; color: var(--wa-ink); }
body.wa-admin .wa-nav-item.is-active { background: #eaf3ee; color: var(--wa-accent); }

/* Section eyebrow titles */
body.wa-admin .wa-admin-subtitle {
    font-size: 12px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase;
    color: var(--wa-muted); margin: 26px 0 12px;
}
body.wa-admin .wa-admin-subtitle:first-child { margin-top: 0; }

/* KPI stat boxes */
body.wa-admin .wa-admin-kpis { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
body.wa-admin .wa-admin-kpis .wa-obs-stat {
    display: flex; flex-direction: column-reverse; gap: 4px;
    background: var(--wa-card); border: 1px solid var(--wa-line); border-radius: 14px; padding: 16px 18px; text-align: left;
    color: var(--wa-muted); font-size: 12.5px; font-weight: 600;
}
body.wa-admin .wa-admin-kpis .wa-obs-stat span { font-size: 26px; font-weight: 800; color: var(--wa-ink); line-height: 1; }

/* Alerts → chips/cards */
body.wa-admin .wa-admin-alerts { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
body.wa-admin .wa-admin-alert {
    display: flex; align-items: center; gap: 10px; text-decoration: none;
    background: var(--wa-card); border: 1px solid var(--wa-line); border-radius: 12px; padding: 12px 14px;
    color: var(--wa-muted); font-size: 13.5px; font-weight: 600;
}
body.wa-admin .wa-admin-alert-n { font-size: 17px; font-weight: 800; color: var(--wa-ink); }
body.wa-admin .wa-admin-alert.is-warn { background: #fdf2f0; border-color: #f3c9c3; color: #7a2a1c; }
body.wa-admin .wa-admin-alert.is-warn .wa-admin-alert-n { color: var(--wa-attention); }
body.wa-admin a.wa-admin-alert.is-warn:hover { border-color: #e9a89e; }

/* Recent activity → column cards */
body.wa-admin .wa-admin-activity { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
body.wa-admin .wa-admin-col {
    background: var(--wa-card); border: 1px solid var(--wa-line); border-radius: 14px; padding: 16px 18px;
}
body.wa-admin .wa-admin-col h4 { margin: 0 0 10px; font-size: 11.5px; text-transform: uppercase; letter-spacing: .5px; color: var(--wa-muted); font-weight: 800; }
body.wa-admin .wa-admin-row { display: flex; align-items: center; gap: 8px; padding: 6px 0; font-size: 13px; color: #2d3640; border-top: 1px solid #f2f4f6; }
body.wa-admin .wa-admin-row:first-of-type { border-top: 0; }
body.wa-admin .wa-admin-row img { border-radius: 50%; }
body.wa-admin .wa-admin-row a { color: var(--wa-ink); font-weight: 600; text-decoration: none; }
body.wa-admin .wa-admin-row em { margin-left: auto; color: var(--wa-muted); font-size: 11.5px; font-style: normal; }

/* Modules → cards with toggle */
body.wa-admin .wa-admin-modules { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
body.wa-admin .wa-admin-module {
    display: flex; align-items: center; justify-content: space-between; gap: 14px;
    background: var(--wa-card); border: 1px solid var(--wa-line); border-radius: 14px; padding: 14px 16px;
}
body.wa-admin .wa-admin-module-name { display: block; font-weight: 800; color: var(--wa-ink); font-size: 14px; }
body.wa-admin .wa-admin-module-desc { display: block; color: var(--wa-muted); font-size: 12.5px; margin-top: 2px; }
body.wa-admin .wa-switch {
    flex-shrink: 0; width: 44px; height: 25px; border-radius: 999px; border: none; background: #cdd5dd;
    position: relative; cursor: pointer; transition: background .15s;
}
body.wa-admin .wa-switch.is-on { background: var(--wa-accent); }
body.wa-admin .wa-switch-knob { position: absolute; top: 3px; left: 3px; width: 19px; height: 19px; border-radius: 50%; background: #fff; transition: left .15s; box-shadow: 0 1px 3px rgba(0,0,0,.25); }
body.wa-admin .wa-switch.is-on .wa-switch-knob { left: 22px; }

/* Content / Business toolbars, tables, rows */
body.wa-admin .wa-admin-toolbar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
body.wa-admin .wa-admin-search { flex: 1 1 240px; border: 1px solid var(--wa-line); border-radius: 10px; padding: 10px 12px; font-size: 14px; }
body.wa-admin .wa-admin-filter { border: 1px solid var(--wa-line); border-radius: 10px; padding: 10px 12px; font-size: 14px; background: #fff; }
body.wa-admin .wa-admin-typetabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
body.wa-admin .wa-admin-chip {
    border: 1px solid var(--wa-line); background: #fff; border-radius: 999px; padding: 7px 14px;
    font-size: 13px; font-weight: 700; color: #5a6b78; cursor: pointer; text-decoration: none;
}
body.wa-admin .wa-admin-chip.is-active { background: #16323f; border-color: #16323f; color: #fff; }
body.wa-admin .wa-admin-new { background: var(--wa-accent); color: #fff; border: none; border-radius: 10px; padding: 10px 16px; font-weight: 800; font-size: 13.5px; text-decoration: none; }
body.wa-admin .wa-admin-new:hover { background: #1a6a43; color: #fff; }
body.wa-admin .wa-admin-table, body.wa-admin .wa-admin-tlist { display: flex; flex-direction: column; gap: 8px; }
body.wa-admin .wa-admin-trow {
    display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
    background: var(--wa-card); border: 1px solid var(--wa-line); border-radius: 12px; padding: 12px 16px;
}
body.wa-admin .wa-admin-trow-title { font-weight: 700; color: var(--wa-ink); }
body.wa-admin .wa-admin-trow-title a { color: var(--wa-ink); text-decoration: none; }
body.wa-admin .wa-admin-trow-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
body.wa-admin .wa-admin-trash { border-radius: 8px; font-size: 12px; font-weight: 700; padding: 7px 11px; }
body.wa-admin .wa-admin-wplink { color: var(--wa-muted); font-size: 12.5px; text-decoration: none; }
body.wa-admin .wa-admin-saved, body.wa-admin .wa-admin-health-clean { color: #1f7a4d; background: #f0f8f3; border: 1px solid #d6ebdf; border-radius: 10px; padding: 12px 14px; font-size: 13.5px; }
body.wa-admin .wa-admin-noimg { color: var(--wa-muted); font-style: italic; }

/* Claims / business cards */
body.wa-admin .wa-claim-admin-list { display: flex; flex-direction: column; gap: 12px; }
body.wa-admin .wa-claim-admin-card {
    background: var(--wa-card); border: 1px solid var(--wa-line); border-radius: 16px; padding: 16px 18px;
    box-shadow: 0 8px 24px -20px rgba(20,40,30,.4);
}
body.wa-admin .wa-claim-admin-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
body.wa-admin .wa-claim-rtitle { font-weight: 800; color: var(--wa-ink); }
body.wa-admin .wa-claim-admin-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 10px; }

/* Pagination */
body.wa-admin .wa-profile-pagination { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 18px; }
body.wa-admin .wa-profile-page-btn { border: 1px solid var(--wa-line); background: #fff; border-radius: 9px; padding: 8px 14px; font-weight: 700; color: var(--wa-ink); text-decoration: none; }
body.wa-admin .wa-profile-page-info { color: var(--wa-muted); font-size: 13px; }

/* Empty state */
body.wa-admin .wa-profile-empty {
    background: var(--wa-card); border: 1px dashed var(--wa-line); border-radius: 14px;
    padding: 22px; color: var(--wa-muted); font-size: 14px; text-align: center; margin: 4px 0;
}

/* WAPS Species Inspector */
body.wa-admin .wa-waps-insp { background: var(--wa-card); border: 1px solid var(--wa-line); border-radius: 16px; padding: 16px 18px; margin: 12px 0; box-shadow: 0 8px 24px -20px rgba(20,40,30,.4); }
body.wa-admin .wa-waps-insp-head { display: flex; gap: 16px; align-items: flex-start; flex-wrap: wrap; }
body.wa-admin .wa-waps-hero-thumb { width: 120px; height: 90px; border-radius: 12px; background: #eef1f4 center/cover no-repeat; display: flex; align-items: center; justify-content: center; color: #9aa4b1; font-size: 22px; flex-shrink: 0; }
body.wa-admin .wa-waps-insp-title { font-size: 16px; font-weight: 800; color: var(--wa-ink); }
body.wa-admin .wa-waps-insp-title em { font-style: italic; color: #8a9a90; font-weight: 400; font-size: 13px; }
body.wa-admin .wa-waps-badges { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
body.wa-admin .wa-waps-badge { font-size: 11.5px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: #f1f4f7; color: #5a6b78; }
body.wa-admin .wa-waps-cands { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin-top: 14px; }
body.wa-admin .wa-waps-cand { border: 1px solid var(--wa-line); border-radius: 12px; padding: 8px; background: #fff; }
body.wa-admin .wa-waps-cand.is-hero { border-color: #1f8a52; box-shadow: 0 0 0 1px #1f8a52; }
body.wa-admin .wa-waps-cand.is-rejected { opacity: .55; }
body.wa-admin .wa-waps-cand-thumb { aspect-ratio: 4/3; border-radius: 8px; background: #eef1f4 center/cover no-repeat; margin-bottom: 8px; }
body.wa-admin .wa-waps-cand-row { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--wa-ink); }
body.wa-admin .wa-waps-dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }
body.wa-admin .wa-waps-src { color: #8a9a90; font-size: 12px; }
body.wa-admin .wa-waps-cand-sub { font-size: 11.5px; color: #8a9a90; margin: 2px 0; }
body.wa-admin .wa-waps-pen { font-size: 11px; color: #e0392b; margin-bottom: 4px; }
body.wa-admin .wa-waps-cand-actions { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
body.wa-admin .wa-waps-mini { border: 1px solid var(--wa-line); background: #f7f9fb; border-radius: 8px; padding: 5px 9px; font-size: 12px; font-weight: 700; cursor: pointer; color: #3a566f; }
body.wa-admin .wa-waps-mini.wa-waps-set { background: #1f8a52; color: #fff; border-color: #1f8a52; }
body.wa-admin .wa-waps-herotag { font-size: 12px; font-weight: 700; color: #1f8a52; }
body.wa-admin .wa-waps-search-results { position: absolute; top: calc(100% + 4px); left: 0; right: 0; z-index: 40; background: #fff; border: 1px solid var(--wa-line); border-radius: 12px; padding: 6px; box-shadow: 0 16px 40px -16px rgba(20,40,30,.45); }
body.wa-admin .wa-waps-search-results[hidden] { display: none; }
body.wa-admin .wa-waps-sresult { display: flex; flex-direction: column; align-items: flex-start; width: 100%; text-align: left; border: 0; background: none; padding: 8px 11px; border-radius: 8px; cursor: pointer; }
body.wa-admin .wa-waps-sresult:hover { background: #f3f6f9; }
body.wa-admin .wa-waps-sresult strong { font-size: 13.5px; color: var(--wa-ink); font-weight: 700; }
body.wa-admin .wa-waps-sresult em { font-size: 12px; color: #8a9a90; font-style: italic; }

@media (max-width: 720px) {
    body.wa-admin .wa-admin-kpis { grid-template-columns: repeat(2, 1fr); }
}

/* ── ENTITY EDITOR — SaaS card skin (hide / experience / hotspot) ─────────── */
.wa-admin-editor { display: flex; flex-direction: column; gap: 18px; }
.wa-edit-card {
    background: #fff; border: 1px solid #e6eaee; border-radius: 18px;
    padding: 22px 24px; box-shadow: 0 10px 30px -24px rgba(20,40,30,.45);
}
.wa-edit-card-head { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 18px; padding-bottom: 16px; border-bottom: 1px solid #eef1f4; }
.wa-edit-card-head .wa-edit-ico {
    color: #1f8a52; background: #eaf6ef; border-radius: 10px; padding: 7px; width: 34px; height: 34px; flex-shrink: 0; box-sizing: content-box;
}
.wa-edit-card-title { margin: 0; font-size: 17px; font-weight: 800; letter-spacing: -.2px; color: #16323f; display: flex; align-items: center; gap: 8px; }
.wa-edit-card-sub { margin: 3px 0 0; font-size: 13px; color: #7a8794; line-height: 1.45; }
.wa-edit-card .wa-ro-tag { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; color: #1f8a52; background: #eaf6ef; padding: 3px 8px; border-radius: 999px; }

/* ACF + GeoDirectory fields → clean, spacious, consistent */
.wa-admin-editor .acf-field { margin: 0 0 18px; padding: 0; border: none; }
.wa-admin-editor .acf-field .acf-label label,
.wa-admin-editor .gd-fieldset label,
.wa-admin-editor label.gd-label,
.wa-admin-editor .geodir_form_row > label {
    font-weight: 700; color: #2d3640; font-size: 13.5px; margin-bottom: 6px; display: block;
}
.wa-admin-editor .acf-label .description,
.wa-admin-editor .gd-fieldset .description { color: #8b97a3; font-size: 12.5px; }
.wa-admin-editor input[type=text],
.wa-admin-editor input[type=email],
.wa-admin-editor input[type=url],
.wa-admin-editor input[type=number],
.wa-admin-editor input[type=date],
.wa-admin-editor input[type=tel],
.wa-admin-editor select,
.wa-admin-editor textarea,
.wa-admin-editor .acf-input input[type=text],
.wa-admin-editor .acf-input textarea,
.wa-admin-editor .acf-input select {
    width: 100%; box-sizing: border-box; border: 1px solid #d8dee4; border-radius: 10px;
    padding: 10px 12px; font-size: 14px; color: #1a1e24; background: #fff; transition: border-color .15s, box-shadow .15s;
}
.wa-admin-editor input:focus,
.wa-admin-editor select:focus,
.wa-admin-editor textarea:focus,
.wa-admin-editor .acf-input input:focus,
.wa-admin-editor .acf-input textarea:focus {
    outline: none; border-color: #1f8a52; box-shadow: 0 0 0 3px rgba(31,138,82,.12);
}
.wa-admin-editor textarea { min-height: 110px; resize: vertical; }

/* Submit button → primary WildAtlas green */
.wa-admin-editor .wa-editor-submit,
.wa-admin-editor .acf-button,
.wa-admin-editor input[type=submit] {
    background: #1f8a52; border: none; color: #fff; font-weight: 800; font-size: 14.5px;
    padding: 12px 22px; border-radius: 11px; cursor: pointer; box-shadow: 0 8px 18px -10px rgba(31,138,82,.6);
    transition: background .15s, transform .05s;
}
.wa-admin-editor .wa-editor-submit:hover,
.wa-admin-editor .acf-button:hover,
.wa-admin-editor input[type=submit]:hover { background: #1a7546; }
.wa-admin-editor .wa-editor-submit:active { transform: translateY(1px); }
.wa-admin-editor .acf-form-submit { margin-top: 8px; }

/* Read-only "Species present" table */
.wa-admin-editor .wa-ro-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.wa-admin-editor .wa-ro-table th { text-align: left; color: #7a8794; font-size: 11.5px; text-transform: uppercase; letter-spacing: .4px; padding: 8px 10px; border-bottom: 1px solid #eef1f4; }
.wa-admin-editor .wa-ro-table td { padding: 9px 10px; border-bottom: 1px solid #f2f4f6; color: #2d3640; }
.wa-admin-editor .wa-ro-id { color: #9aa4b1; }
.wa-admin-editor .wa-ro-sci { font-style: italic; color: #6b7682; }
.wa-admin-editor .wa-admin-editor-note { color: #7a8794; font-size: 13.5px; margin: 0; }

/* Dark mode toggle (moon in light → sun in dark) */
.wa-theme-toggle { background: none; border: 0; cursor: pointer; color: #6b7a86; padding: 4px 6px; display: inline-flex; align-items: center; border-radius: 7px; }
.wa-theme-toggle:hover { color: #15321f; background: rgba(0,0,0,.06); }
.wa-theme-toggle .wa-th-sun { display: none; }
html[data-theme="dark"] .wa-theme-toggle { color: #aeb8c2; }
html[data-theme="dark"] .wa-theme-toggle:hover { color: #fff; background: rgba(255,255,255,.10); }
html[data-theme="dark"] .wa-theme-toggle .wa-th-moon { display: none; }
html[data-theme="dark"] .wa-theme-toggle .wa-th-sun { display: inline-flex; }
.wa-theme-toggle--inline { vertical-align: middle; margin-right: 6px; }
.wa-account-menu-lang { display: flex; align-items: center; justify-content: center; gap: 6px; }

/* ============================================================
   DARK MODE — global palette (html[data-theme="dark"])
   ============================================================ */
html[data-theme="dark"] body { background: #0f1318; color: #ccd3da; }
html[data-theme="dark"] body a { color: #fff; }
html[data-theme="dark"] body h1, html[data-theme="dark"] body h2, html[data-theme="dark"] body h3,
html[data-theme="dark"] body h4, html[data-theme="dark"] body h5 { color: #e8edf1; }

/* SaaS kit areas re-point their tokens → Owner/Admin/Profile go dark for free */
html[data-theme="dark"] body.wa-owner, html[data-theme="dark"] body.wa-admin, html[data-theme="dark"] body.wa-profile {
    --wa-card: #1a1f26; --wa-line: #2a313a; --wa-ink: #e8edf1; --wa-muted: #93a0ab; --wa-accent: #3fb37a; --wa-attention: #ff6b5e;
}
html[data-theme="dark"] body.wa-owner .profile-card.wa-page-card,
html[data-theme="dark"] body.wa-admin .profile-card.wa-page-card,
html[data-theme="dark"] body.wa-profile .profile-card.wa-page-card { background: #0f141a; }

/* Generic content surfaces */
html[data-theme="dark"] body .profile-card,
html[data-theme="dark"] body .wa-page-card { background: #11161c; color: #ccd3da; }
html[data-theme="dark"] body .wa-edit-card,
html[data-theme="dark"] body .wa-owner-card,
html[data-theme="dark"] body .wa-owner-block,
html[data-theme="dark"] body .wa-stat,
html[data-theme="dark"] body .wa-bk-settings,
html[data-theme="dark"] body .wa-owner-review,
html[data-theme="dark"] body .wa-bk-row-owner { background: #1a1f26; border-color: #2a313a; }
html[data-theme="dark"] body input,
html[data-theme="dark"] body select,
html[data-theme="dark"] body textarea { background: #11161c; color: #e8edf1; border-color: #2a313a; }
html[data-theme="dark"] body .wa-admin-trow,
html[data-theme="dark"] body .wa-admin-col,
html[data-theme="dark"] body .wa-admin-module,
html[data-theme="dark"] body .wa-admin-search,
html[data-theme="dark"] body .wa-admin-filter,
html[data-theme="dark"] body .wa-admin-chip { background: #1a1f26; border-color: #2a313a; color: #ccd3da; }
html[data-theme="dark"] body .wa-obs-stat { background: #1a1f26; }
html[data-theme="dark"] body .species-description { color: #ccd3da; }
html[data-theme="dark"] body .wa-profile-empty { background: #1a1f26; border-color: #2a313a; color: #93a0ab; }

/* Hero side filler band (light steel blue → very dark navy) */
html[data-theme="dark"] .wildatlas-feature-band-hero-banner::before { background: #0c1119; }

/* All cards & boxes → dark surface + light text */
html[data-theme="dark"] body :is(
    .wa-tour-card, .species-hotspot-card, .species-hotspot-card-full, .country-hotspot-card,
    .country-hotspot-card-full, .species-season-card, .species-see-all-card, .species-hotspot-see-all-card,
    .wa-list-card, .wa-list-detail-head, .wa-dir-card, .wa-search-card, .tour-sidebar-card, .wa-submit-card,
    .wa-collab-panel, .wa-community--boxed, .wa-gal-uploadbox, .wa-gal-item, .wa-claim-admin-card,
    .wa-obs-addspecies, .wa-feed-row, .wa-cz-row, .wa-bk-block, .wa-bk-block-list, .wa-suggest-card,
    .wa-obs-suggest-card, .wa-news-row, .wa-admin-alert, 
) {
    background: #1a1f26; border-color: #2a313a; color: #cdd4db;
}
/* Card text sub-elements → light */
html[data-theme="dark"] body [class*="-card-title"],
html[data-theme="dark"] body [class*="-card-name"],
html[data-theme="dark"] body [class*="-card-count"],
html[data-theme="dark"] body [class*="-card-sub"],
html[data-theme="dark"] body [class*="-card-body"],
html[data-theme="dark"] body .wa-tour-card h1, html[data-theme="dark"] body .wa-tour-card h2,
html[data-theme="dark"] body .wa-tour-card h3, html[data-theme="dark"] body .wa-tour-card h4 { color: #e8edf1; }

/* Filters */
html[data-theme="dark"] body .wa-dropdown-trigger {background: #1a1f26; border: 1px solid #2a313a; color: #fff;}
html[data-theme="dark"] body .wa-dropdown-option { background: #1a1f26; color: #fff; }

/* reviews */
html[data-theme="dark"] body .wa-review-text { color: #e8edf1; }
html[data-theme="dark"] body .wa-review-author { color: #7fd6a6; }
html[data-theme="dark"] body .wa-reviews-allhead {border-top: 1px solid #2a313a;}

/* Contact module */
html[data-theme="dark"] body .hotspot-contact-card { background: transparent; border-color: #2a313a; color: #cdd4db; }
html[data-theme="dark"] body .hotspot-contact-card a { color: #7fd6a6; }
/* Contact: inner detail + social blocks (were #f8f9fb white) */
html[data-theme="dark"] body .hc-details-block,
html[data-theme="dark"] body .hc-socials-block { background: #1a1f26; }
html[data-theme="dark"] body .hc-row { border-bottom-color: #2a313a; }
html[data-theme="dark"] body .hc-row__icon { background: #11161c; color: #93a0ab; box-shadow: none; }
html[data-theme="dark"] body .hc-row__label,
html[data-theme="dark"] body .hc-block-label { color: #8b97a3; }
html[data-theme="dark"] body .hc-row__value { color: #e8edf1; }
html[data-theme="dark"] body .hc-social { background: #11161c; color: #aeb8c2; box-shadow: none; }
/* Season species: the module wrapper was solid #fff. Make it blend into the
   dark card so the curve reads exactly like the community "Reports by month". */
html[data-theme="dark"] body .species-season-wrapper { background: transparent; }
html[data-theme="dark"] body .species-season-filter:not(:last-child)::after { color: #2a313a; }

/* Season species + Iconic wildlife (TOP WILDLIFE) cards */
html[data-theme="dark"] body .species-season-card,
html[data-theme="dark"] body .country-species-card { background: #1a1f26; border-color: #2a313a; }
html[data-theme="dark"] body .species-season-content,
html[data-theme="dark"] body .country-species-content { background: #1a1f26; }
html[data-theme="dark"] body .country-species-spanish,
html[data-theme="dark"] body .species-season-english,
html[data-theme="dark"] body .country-species-english { color: #e8edf1; }
html[data-theme="dark"] body .country-species-scientific,
html[data-theme="dark"] body .species-season-scientific { color: #93a0ab; }
html[data-theme="dark"] body .country-species-wrapper::after {background: linear-gradient(to right,rgba(17,22,28,0),rgba(17,22,28,1) 80%);}
html[data-theme="dark"] body .country-species-wrapper::before {background: linear-gradient(to left,rgba(17,22,28,0),rgba(17,22,28,1) 80%);}
html[data-theme="dark"] body .country-species-track { background: #1a1f26; }

html[data-theme="dark"] body .country-experiences-section::before { border-top: 1px solid #2a313a; } 
html[data-theme="dark"] body .country-hotspots-section::before { border-top: 1px solid #2a313a;}

/* News module (light gradient box → dark) */
html[data-theme="dark"] body .wa-news { background: linear-gradient(180deg, #1c232b 0%, #161b21 70%); border-color: #2a313a; color: #cdd4db; }
html[data-theme="dark"] body .wa-news-featured,
html[data-theme="dark"] body .wa-news-row { background: #1a1f26; border-color: #2a313a; }
html[data-theme="dark"] body .wa-news-date { color: #93a0ab; }
html[data-theme="dark"] body .wa-news a { color: #7fd6a6; }

/* Hides & Experiences — boxes + text */
html[data-theme="dark"] body :is(
    .tour-main, .tour-body, .tour-sidebar-card, .tour-sidebar-details, .tour-included-block,
    .tour-detail-row, .hide-section, .hide-chip, .hide-species
) { background: #1a1f26; border-color: #2a313a; color: #cdd4db; }
html[data-theme="dark"] body :is(
    .tour-title, .tour-section-label, .tour-detail-label, .tour-detail-value, .tour-price-amount,
    .tour-price-label, .tour-description, .tour-included-block
) { color: #e8edf1; }
html[data-theme="dark"] body .tour-description { color: #cdd4db; }
html[data-theme="dark"] body .hide-chip { color: #cdd4db; }
html[data-theme="dark"] body .wa-tour-price-amount { color: #fff; }
html[data-theme="dark"] body .wa-tour-card__footer {border-top: 1px solid #2a313a;}


/* Language switcher (EN | ES) */
.wa-langsw { display: inline-flex; align-items: center; gap: 2px; }
.wa-langsw-opt {
    font-size: 12px; font-weight: 700; letter-spacing: .03em; text-decoration: none;
    color: #6b7a86; padding: 3px 8px; border-radius: 7px; line-height: 1;
}
.wa-langsw-opt:hover { color: #fff; background: rgba(0,0,0,.05); }
.wa-langsw-opt.is-on { color: #fff; background: #1f8a52; }
.wa-account-menu-lang { display: flex; justify-content: center; padding: 8px 12px 4px; border-top: 1px solid #eef1f4; }
.wa-langsw--inline { margin-right: 8px; vertical-align: middle; }
.wa-langsw--beta { justify-content: center; margin-top: 16px; }
.wa-langsw--beta .wa-langsw-opt { color: #aeb8c2; }
.wa-langsw--beta .wa-langsw-opt.is-on { color: #fff; background: #1f8a52; }

/* Test Mode — Beta Access gate (hides site chrome, centred dark card) */
body.wa-beta-gate #masthead, body.wa-beta-gate .site-header, body.wa-beta-gate header.site-header,
body.wa-beta-gate #colophon, body.wa-beta-gate .site-footer, body.wa-beta-gate footer.site-footer,
body.wa-beta-gate #wa-account-btn-wrap, body.wa-beta-gate .ast-above-header, body.wa-beta-gate .ast-below-header { display: none !important; }
body.wa-beta-gate { background: #10141a; }
.wa-beta-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px; width: 100%;}
.wa-beta-card { background: #1a1e24; color: #fff; border-radius: 20px; padding: 44px 36px; max-width: 420px; width: 100%; text-align: center; box-shadow: 0 24px 70px rgba(0,0,0,.5); }
.wa-beta-logo { font-size: 13px; letter-spacing: .28em; text-transform: uppercase; color: #7fd6a6; font-weight: 800; }
.wa-beta-tag { font-size: 30px; font-weight: 800; margin-top: 6px; letter-spacing: -.5px; }
.wa-beta-msg { color: #aeb8c2; font-size: 15px; line-height: 1.6; margin: 14px 0 22px; }
.wa-beta-btn { background: #1f8a52; color: #fff; border: 0; border-radius: 12px; font-size: 15px; font-weight: 800; padding: 13px 34px; cursor: pointer; box-shadow: 0 10px 22px -12px rgba(31,138,82,.7); }
.wa-beta-btn:hover { background: #1a7546; }
.wa-beta-foot { color: #6e7884; font-size: 12.5px; margin-top: 18px; }

/* Community gallery — "View all" button + full-page grid */
.wa-gal-viewall-wrap { text-align: center; margin: 16px 0 4px; }
.wa-gal-viewall {
    display: inline-flex; align-items: center; gap: 6px; text-decoration: none;
    background: #1f8a52; color: #fff; font-weight: 800; font-size: 14px;
    padding: 11px 22px; border-radius: 11px; box-shadow: 0 8px 18px -10px rgba(31,138,82,.6);
    transition: background .15s;
}
.wa-gal-viewall:hover { background: #1a7546; color: #fff; }
.wa-gal--full { padding: 4px 0; }
.wa-gal-mine-meta { display: flex; align-items: center; gap: 8px; margin-top: 4px; }
.wa-gal-likecount-static { font-size: 12.5px; color: #c0392b; font-weight: 600; }

/* My photos — likes received pinned to the top-right of the section */
.wa-myphotos { position: relative; }
.wa-myphotos-likes {
    position: absolute; top: 0; right: 0; z-index: 2;
    font-size: 15px; font-weight: 800; color: #c0392b;
    background: #fdecea; border: 1px solid #f5c6c0; border-radius: 999px; padding: 6px 14px; white-space: nowrap;
}
.wa-myphotos-title { font-size: 14px; font-weight: 700; color: #15321f; margin-bottom: 16px; }

/* My photos — status pill pinned top-left INSIDE the image (clear of the name) */
.wa-gal-mine-status { position: absolute; top: 8px; left: 8px; z-index: 3; }

/* My photos — likes received (white) pinned top-right INSIDE each image */
.wa-gal-mine-likes {
    position: absolute; top: 8px; right: 8px; z-index: 3;
    display: inline-flex; align-items: center; gap: 4px;
    font-size: 12px; font-weight: 700; color: #fff;
    background: rgba(0,0,0,.45); border-radius: 999px; padding: 3px 9px;
    text-shadow: 0 1px 2px rgba(0,0,0,.45);
}
/* My photos — delete (trash) button, bottom-right of each image */
.wa-gal-mine-del {
    position: absolute; bottom: 8px; right: 8px; z-index: 4;
    width: 30px; height: 30px; border: 0; border-radius: 50%;
    background: rgba(0,0,0,.45); color: #fff; cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center;
    transition: background .15s ease, transform .15s ease;
}
.wa-gal-mine-del:hover { background: #e0392b; transform: translateY(-1px); }
.wa-gal-mine-del:disabled { opacity: .5; cursor: default; }

/* My photos — species name overlaid on the photo */
.wa-gal-mine-photo { position: relative; display: block; }
.wa-gal-mine-photo .wa-gal-species {
    position: absolute; left: 0; right: 0; bottom: 0;
    padding: 18px 12px 8px; color: #fff; font-weight: 800; font-size: 14px; line-height: 1.25;
    background: linear-gradient(to top, rgba(0,0,0,.62), rgba(0,0,0,0));
    text-shadow: 0 1px 3px rgba(0,0,0,.5);
}

/* WAPS Coverage — dignified "no photo" placeholder for species card thumbs */
.wa-profile-card-noimg, .wa-obs-suggest-noimg {
    display: block; width: 100%; height: 100%; min-height: 120px;
    background: #eef1f4 center / 38% no-repeat
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c4cdd5' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.24 4C13 4 6 8.5 6 16.5V19'/%3E%3Cpath d='M6.5 18.5 17.5 7.5'/%3E%3Cpath d='M9 14.5h5'/%3E%3Cpath d='M10.5 11h5'/%3E%3C/svg%3E");
}

/* World Map — premium single-step zoom (wheel toggles in/out, smooth) */
.wildatlas-world-map {
    transition: transform .55s cubic-bezier(.22, .61, .36, 1);
    transform-origin: center center; will-change: transform;
}
.wildatlas-world-map.is-zoomed { transform: scale(1.18); }

/* ── World Map — Country Preview Card (dark, anchored over the country) ───── */
/* z-index 4 → sits UNDER the homepage search/logo overlay (z-index 5). */
.wa-country-preview {
    position: fixed; z-index: 4; width: 230px;
    background: #1a202e; border: 1px solid rgba(255,255,255,.10);
    border-radius: 12px; overflow: hidden;
    box-shadow: 0 14px 40px rgba(0,0,0,.55);
    opacity: 0; pointer-events: none;
    transition: opacity .14s ease;
}
.wa-country-preview.is-open { opacity: 1; pointer-events: auto; }
/* Arrow tracks the real click anchor (--cp-arrow); flips when shown below */
.wa-country-preview::after {
    content: ""; position: absolute; left: var(--cp-arrow, 50%); bottom: -7px; transform: translateX(-50%);
    border: 7px solid transparent; border-top-color: #1a202e;
}
.wa-country-preview.is-below::after {
    bottom: auto; top: -7px; border-top-color: transparent; border-bottom-color: #1a202e;
}
.wa-cp-img {
    position: relative; height: 150px;
    background-size: cover; background-position: center; background-color: #2a3347;
    display: flex; align-items: flex-end;
}
.wa-cp-img::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,0) 35%, rgba(0,0,0,.72) 100%);
}
.wa-cp-img.is-loading {
    background-image: linear-gradient(90deg, #232c3e 0%, #2c374d 50%, #232c3e 100%);
    background-size: 200% 100%; animation: wa-cp-shimmer 1.1s linear infinite;
}
@keyframes wa-cp-shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
.wa-cp-eyebrow {
    position: absolute; top: 10px; left: 12px; right: 12px; z-index: 2;
    font-size: 9.5px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase;
    color: rgba(255,255,255,.85); text-shadow: 0 1px 6px rgba(0,0,0,.6);
}
.wa-cp-en {
    position: relative; z-index: 2; padding: 0 14px 11px;
    font-size: 18px; font-weight: 800; color: #fff; line-height: 1.1;
    text-shadow: 0 2px 10px rgba(0,0,0,.6);
}
.wa-cp-body { padding: 11px 14px 14px; }
.wa-cp-es  { font-size: 13px; font-weight: 600; color: #e4e8ef; line-height: 1.2; }
.wa-cp-sci { font-size: 12px; font-style: italic; color: #93a0b5; margin-top: 2px; }
.wa-cp-cta {
    display: block; text-align: center; margin-top: 12px; padding: 10px 14px;
    border-radius: 9px; background: #e0392b; color: #fff; font-weight: 800;
    font-size: 12.5px; text-transform: uppercase; letter-spacing: .6px; text-decoration: none;
    transition: background .12s;
}
.wa-cp-cta:hover { background: #c9301f; color: #fff; }
.wa-cp-close {
    position: absolute; top: 9px; right: 9px; z-index: 3;
    width: 26px; height: 26px; display: flex; align-items: center; justify-content: center;
    border-radius: 50%; border: 1px solid rgba(255,255,255,.22);
    background: rgba(20,26,40,.5); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px);
    color: #fff; font-size: 18px; line-height: 1; cursor: pointer; padding: 0;
    transition: background .12s, border-color .12s;
}
.wa-cp-close:hover { background: rgba(20,26,40,.85); border-color: rgba(255,255,255,.4); }

/* Photos import pipeline (Wikidata → iNaturalist) */
.wa-photo-pipeline { display: flex; gap: 14px; flex-wrap: wrap; margin: 6px 0 4px; }
.wa-photo-step { flex: 1; min-width: 240px; display: flex; flex-direction: column; gap: 6px;
    padding: 14px; border: 1px solid #e1e8ee; border-radius: 12px; background: #f7faf8; }
.wa-photo-step-help { font-size: 12px; color: #6b7a70; line-height: 1.45; }

/* Booking date legend */
.wa-bk-legend {
    display: flex; align-items: center; gap: 7px;
    font-size: 12px; color: #8a9a90; margin-bottom: 2px;
}
.wa-bk-legend-dot {
    width: 11px; height: 11px; border-radius: 3px;
    background: #fdeceb; border: 1px solid #e8b3ae;
}

.wa-bk-submit { margin-top: 4px; cursor: pointer; border: 0; }
.wa-bk-help { margin: 8px 0 0; font-size: 11.5px; line-height: 1.5; color: #8a9a90; }
.wa-bk-feedback.is-error {
    margin-top: 8px; padding: 8px 11px; border-radius: 9px;
    background: #fbe9e6; color: #b3422b; font-size: 13px;
}
.wa-bk-done { text-align: center; padding: 8px 4px; }
.wa-bk-done-ico {
    width: 46px; height: 46px; margin: 4px auto 10px; border-radius: 50%;
    background: #e9f4ee; color: #1f7a4d; font-size: 24px; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
}
.wa-bk-done p { font-size: 13.5px; line-height: 1.55; color: #4a5a51; margin: 0; }
.wa-bk-done a { color: #1f7a4d; font-weight: 700; }

/* Owner reservation settings (enable + notify email) */
.wa-bk-settings { display: flex; flex-direction: column; gap: 10px; max-width: 460px;
    padding: 16px; border: 1px solid #e1e8ee; border-radius: 12px; background: #f7faf8; }
.wa-bk-set-toggle { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: #2b3a47; }
.wa-bk-set-field { display: flex; flex-direction: column; gap: 4px; }
.wa-bk-set-field > span { font-size: 12px; font-weight: 700; color: #4a5a51; }
.wa-bk-set-field input { padding: 9px 11px; border: 1px solid #d4dee6; border-radius: 9px; font-size: 14px; }
.wa-bk-set-msg { font-size: 13px; color: #1f7a4d; }

/* Owner Bookings panel */
.wa-bk-row-owner { align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.wa-bk-main { flex: 1; min-width: 220px; display: flex; flex-direction: column; gap: 2px; }
.wa-bk-prod a { font-weight: 700; color: #16323f; text-decoration: none; }
.wa-bk-prod a:hover { text-decoration: underline; }
.wa-bk-meta { font-size: 13px; color: #4a5a51; font-weight: 600; }
.wa-bk-contact { font-size: 12.5px; color: #5f7f9f; }
.wa-bk-contact a { color: #5f7f9f; }
.wa-bk-note-row { font-size: 13px; color: #6b7a70; font-style: italic; margin-top: 2px; }
.wa-bk-actions { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.wa-bk-block-controls { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 10px; }
.wa-bk-block-controls select, .wa-bk-block-controls input[type="date"] {
    padding: 8px 10px; border: 1px solid #d4dee6; border-radius: 9px; font-size: 13.5px;
}
.wa-bk-block-msg { font-size: 12.5px; color: #1f7a4d; }
.wa-bk-block-list { font-size: 13px; color: #4a5a51; margin: 4px 0; }
.wa-bk-chip {
    display: inline-flex; align-items: center; gap: 5px; margin: 2px 4px 2px 0;
    padding: 3px 6px 3px 10px; border-radius: 999px;
    background: #f3f6f9; border: 1px solid #e1e8ee; font-size: 12.5px;
}
.wa-bk-chip-rm { border: 0; background: none; cursor: pointer; color: #b3422b; font-size: 15px; line-height: 1; padding: 0 2px; }

/* Custom submit bar at the very bottom of the Add-Hotspot form */
.wa-submit-row {
    display: flex; gap: 12px; align-items: center;
    margin-top: 24px; padding-top: 18px;
    border-top: 1px solid #e6ebf0;
}
.wa-savedraft-btn,
.wa-submit-hotspot-btn {
    padding: 12px 24px; border-radius: 11px;
    font-size: 14.5px; font-weight: 800; cursor: pointer; letter-spacing: -.1px;
    transition: background .12s, border-color .12s, box-shadow .12s, transform .05s;
}
.wa-savedraft-btn:active,
.wa-submit-hotspot-btn:active { transform: translateY(1px); }
/* Save draft — secondary / ghost, on the left */
.wa-savedraft-btn {
    background: #fff; color: #15321f; border: 1px solid #d8dee4;
}
.wa-savedraft-btn:hover { background: #f3f6f9; border-color: #c4cdd5; }
/* Submit hotspot — primary WildAtlas green */
.wa-submit-hotspot-btn {
    background: #1f8a52; color: #fff; border: none;
    box-shadow: 0 8px 18px -10px rgba(31,138,82,.6);
}
.wa-submit-hotspot-btn:hover { background: #1a7546; }

.wa-owner-list .wa-owner-revoke { font-size: 12px; }

.wa-claim-assoc { margin: 12px 0 4px; }
.wa-claim-assoc label { display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; color: #788596; margin-bottom: 5px; }
.wa-claim-assoc select { padding: 7px 10px; border: 1px solid #d8dee6; border-radius: 8px; font-size: 13px; color: #1a2a3a; min-width: 220px; }

/* Operator ↔ Hotspot manual links (admin) */
.wa-pill-manual { background: #eef3f8; color: #5f7f9f; }
.wa-oh-form { display: flex; align-items: flex-start; gap: 10px; flex-wrap: wrap; margin: 8px 0 14px; }
.wa-oh-field { position: relative; }
.wa-oh-field input[type="text"] { padding: 8px 11px; border: 1px solid #d8dee6; border-radius: 8px; font-size: 13px; min-width: 220px; }
.wa-oh-arrow { align-self: center; color: #9aa4b1; font-size: 16px; }
.wa-oh-suggest { position: absolute; top: 100%; left: 0; right: 0; z-index: 20; background: #fff; border: 1px solid #e4e8ee; border-radius: 8px; box-shadow: 0 8px 24px rgba(0,0,0,0.10); margin-top: 4px; overflow: hidden; }
.wa-oh-suggest:empty { display: none; }
.wa-oh-suggest-item { display: block; width: 100%; text-align: left; padding: 8px 11px; border: none; background: none; font-size: 13px; color: #1a2a3a; cursor: pointer; }
.wa-oh-suggest-item:hover { background: #eef3f8; }
.wa-oh-sep { color: #9aa4b1; }
.wa-oh-msg { align-self: center; font-size: 12px; color: #788596; }

/* Multi-manager (Team) panel */
.wa-managers-list .wa-admin-trow span { display: flex; align-items: center; gap: 8px; }
.wa-managers-list img { border-radius: 50%; }
.wa-mgr-add { display: flex; align-items: flex-start; gap: 10px; flex-wrap: wrap; }
.wa-mgr-field { position: relative; }
.wa-mgr-field input[type="text"] { padding: 8px 11px; border: 1px solid #d8dee6; border-radius: 8px; font-size: 13px; min-width: 260px; }
.wa-mgr-suggest { position: absolute; top: 100%; left: 0; right: 0; z-index: 20; background: #fff; border: 1px solid #e4e8ee; border-radius: 8px; box-shadow: 0 8px 24px rgba(0,0,0,0.10); margin-top: 4px; overflow: hidden; }
.wa-mgr-suggest:empty { display: none; }
.wa-oh-suggest-empty { padding: 8px 11px; font-size: 12px; color: #9aa4b1; }
.wa-sub-reason { margin-top: 4px; font-size: 12px; color: #b3422b; }

/* Observed Species — submit picker + grid intro */
.wa-observed-pick { margin: 22px 0; padding: 18px; border: 1px solid #e4e8ee; border-radius: 12px; background: #fbfcfd; }
.wa-observed-pick-title { margin: 0 0 4px; font-size: 14px; font-weight: 700; color: #1a2a3a; }
.wa-observed-pick-help { margin: 0 0 10px; font-size: 12px; color: #788596; }
.wa-osp-field { position: relative; max-width: 420px; }
.wa-osp-field input { width: 100%; padding: 9px 11px; border: 1px solid #d8dee6; border-radius: 9px; font-size: 14px; }
.wa-osp-suggest { position: absolute; top: 100%; left: 0; right: 0; z-index: 20; background: #fff; border: 1px solid #e4e8ee; border-radius: 8px; box-shadow: 0 8px 24px rgba(0,0,0,0.10); margin-top: 4px; overflow: hidden; }
.wa-osp-suggest:empty { display: none; }
.wa-osp-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; margin-bottom: 14px; }
.wa-osp-card {
    position: relative; display: flex; align-items: center; gap: 12px;
    padding: 12px 34px 12px 12px; border: 2px dashed #cdd6e0; border-radius: 14px; background: #fff;
}
.wa-osp-card-photo { width: 60px; height: 60px; border-radius: 12px; background-size: cover; background-position: center; background-color: #eef3f8; flex-shrink: 0; }
.wa-osp-card-photo[data-empty="1"] { background-image: linear-gradient(135deg,#eef3f8,#dde6ee); }
.wa-osp-card-body { display: flex; flex-direction: column; min-width: 0; }
.wa-osp-card-name { font-size: 14px; font-weight: 700; color: #1a2a3a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wa-osp-card-sci { font-size: 12px; color: #9aa4b1; font-style: italic; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wa-osp-card-rm {
    position: absolute; top: 8px; right: 8px;
    width: 22px; height: 22px; padding: 0; margin: 0;
    display: flex; align-items: center; justify-content: center;
    background: none !important; border: none !important; box-shadow: none !important;
    border-radius: 50%; cursor: pointer; font-size: 18px; line-height: 1; color: #b8c0ca;
}
.wa-osp-card-rm:hover { color: #b3422b; background: #fbe9e6 !important; }

/* Verified tic — smaller inside cards */
.hotspot-card-content h3 .wa-verified { margin-left: 5px; }
.hotspot-card-content h3 .wa-verified svg { width: 16px; height: 16px; }
.wa-observed-intro { font-size: 13px; color: #788596; margin: 0 0 12px; }

/* Verified/managed badge next to hero title */
.wa-verified { display: inline-flex; align-items: center; vertical-align: middle; margin-left: 10px; }
.wa-verified svg { width: 28px; height: 28px; display: block; }

/* Compact claim — tiny discreet pill beside the categories subtitle */
.wa-hero-claim { margin-top: 8px; }
.wa-claim-wrap--compact { display: inline-block; margin: 0 0 0 10px; vertical-align: middle; }
.wa-claim-mini {
    display: inline-block; padding: 2px 10px; border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.40);
    color: #fff; font-size: 11px; font-weight: 600; letter-spacing: 0.2px;
    cursor: pointer; line-height: 1.7; white-space: nowrap;
    transition: background 0.15s ease, border-color 0.15s ease;
}
.wa-claim-mini:hover { background: rgba(255, 255, 255, 0.28); border-color: #fff; }

/* Operators directory (/operators) */
.wa-dir-search { display: flex; gap: 10px; margin-bottom: 20px; }
.wa-dir-search input { flex: 1; padding: 10px 14px; border: 1px solid #d8dee6; border-radius: 10px; font-size: 14px; }
.wa-dir-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.wa-dir-card { display: flex; flex-direction: column; border: 1px solid #e8ecf1; border-radius: 14px; overflow: hidden; background: #fff; text-decoration: none; transition: box-shadow .15s ease, transform .15s ease; }
.wa-dir-card:hover { box-shadow: 0 8px 24px rgba(16,24,40,.10); transform: translateY(-2px); }
.wa-dir-card-img { height: 130px; background-size: cover; background-position: center; background-color: #eef3f8; }
.wa-dir-card-img[data-empty="1"] { background-image: linear-gradient(135deg,#eef3f8,#dde6ee); }
.wa-dir-card-body { padding: 14px 16px; }
.wa-dir-card-body h3 { margin: 0 0 6px; font-size: 16px; color: #1a2a3a; }
.wa-dir-card-body p { margin: 0 0 10px; font-size: 13px; color: #788596; line-height: 1.5; }
.wa-dir-card-claim { font-size: 12px; font-weight: 700; color: #5f7f9f; }
.wa-dir-pagination { display: flex; gap: 6px; justify-content: center; margin-top: 24px; flex-wrap: wrap; }
.wa-dir-page { min-width: 34px; text-align: center; padding: 7px 10px; border: 1px solid #d8dee6; border-radius: 8px; font-size: 13px; color: #3a566f; text-decoration: none; }
.wa-dir-page.is-current { background: #1a2a3a; color: #fff; border-color: #1a2a3a; }

/* Duplicate-detection boxes (Add Operator / Add Hotspot) */
.wa-dup-panel { margin-bottom: 18px; }
.wa-hdup-search { width: 100%; max-width: 480px; padding: 9px 12px; border: 1px solid #d8dee6; border-radius: 9px; font-size: 14px; }
.wa-dup-suggest { margin-top: 10px; border: 1px solid #f0dcb0; background: #fff7e6; border-radius: 10px; padding: 10px 14px; max-width: 560px; }
.wa-dup-head { font-size: 12px; font-weight: 700; color: #a86b1a; margin-bottom: 6px; }
.wa-dup-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 5px 0; font-size: 14px; color: #1a2a3a; }
.wa-dup-row a { font-size: 12px; font-weight: 600; color: #5f7f9f; text-decoration: none; white-space: nowrap; }
.wa-dup-foot { font-size: 11px; color: #9a7b3a; margin-top: 6px; }

/* Community submission form (Add Operator) */
.wa-submit-form label { display: block; margin-bottom: 14px; font-size: 12px; font-weight: 600; color: #44505f; letter-spacing: 0.2px; }
.wa-submit-form input, .wa-submit-form textarea {
    display: block; width: 100%; margin-top: 5px; padding: 9px 11px; font-size: 14px;
    border: 1px solid #d8dee6; border-radius: 9px; background: #fbfcfd; color: #1a2a3a; font-family: inherit;
}
.wa-submit-form input:focus, .wa-submit-form textarea:focus { outline: none; border-color: #5f7f9f; background: #fff; }
.wa-submit-form textarea { resize: vertical; }
.wa-submit-row { display: flex; gap: 12px; }
.wa-submit-row label { flex: 1; }
.wa-submit-feedback { font-size: 13px; margin: 2px 0 8px; }
.wa-submit-feedback.is-error { color: #c0563e; }
.wa-submit-btn { margin-top: 4px; }
.wa-submit-success { text-align: center; padding: 16px 4px 8px; }
.wa-submit-success svg { color: #2e7d52; }
.wa-submit-success h3 { margin: 12px 0 6px; font-size: 18px; color: #1a2a3a; }
.wa-submit-success p { margin: 0; font-size: 13px; color: #788596; }
.wa-mgr-msg { align-self: center; font-size: 12px; color: #788596; }

.wa-claim-pill.is-pending { background: #fff7e6; color: #a86b1a; }

.wa-removal-act {
    border: none; border-radius: 8px; padding: 8px 14px;
    font-size: 13px; font-weight: 600; cursor: pointer;
}
.wa-removal-act:disabled { opacity: 0.6; cursor: default; }

.wa-admin-review-quote {
    border-left: 3px solid #d8dee6; padding: 6px 0 6px 12px; margin: 10px 0;
}

/* Manager badge (reuses the user-category chip look) */
.wa-user-category--manager { background: #eaf3ee; color: #1f7a4d; }

/* Owner review moderation bar */
.wa-owner-review-mod {
    display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
    margin-top: 10px; padding-top: 10px; border-top: 1px solid #f0f2f5;
    font-size: 12px;
}
.wa-owner-mod-sep { color: #cbd2db; }
.wa-owner-link {
    background: none; border: none; padding: 0; cursor: pointer;
    font-size: 12px; font-weight: 600; color: #788596;
}
.wa-owner-link:hover:not(:disabled) { color: #b3422b; }
.wa-owner-link:disabled { color: #b8c0ca; cursor: default; }
.wa-oremove { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.wa-oremove-reason {
    padding: 5px 8px; border: 1px solid #d8dee6; border-radius: 7px; font-size: 12px; color: #44505f;
}
.wa-oremove-note {
    padding: 5px 9px; border: 1px solid #d8dee6; border-radius: 7px; font-size: 12px; min-width: 160px;
}

/* Edit-profile checkbox row */
.wa-profile-check { display: flex; align-items: center; gap: 9px; flex-direction: row !important; }
.wa-profile-check input { width: auto; margin: 0; }
.wa-profile-check span { font-weight: 400; }

/* =============================================================
   WAOS — Operator ↔ Hotspot association (display-only)
   ============================================================= */
.wa-assoc-block { margin: 18px 0; }
.wa-assoc-title {
    margin: 0 0 10px; font-size: 11px; font-weight: 700; letter-spacing: 1.5px;
    text-transform: uppercase; color: #9aa4b1;
}
.wa-assoc-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.wa-assoc-chip {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 7px 14px; border-radius: 999px;
    background: #eef3f8; color: #1a2a3a; border: 1px solid #dde6ee;
    font-size: 13px; font-weight: 600; text-decoration: none;
    transition: background 0.15s ease, border-color 0.15s ease;
}
.wa-assoc-chip:hover { background: #e1ebf4; border-color: #b9cbdc; color: #1a2a3a; }

/* =============================================================
   WAOS — Claim this listing (button + modal)
   ============================================================= */
.wa-claim-wrap { margin: 18px 0; padding-bottom: 8px; }

.wa-claim-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 18px;
    background: #fff; color: #1a2a3a;
    border: 1px solid #d8dee6; border-radius: 999px;
    font-size: 13px; font-weight: 600; letter-spacing: 0.2px;
    cursor: pointer; transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.wa-claim-btn:hover { border-color: #9fb0c2; box-shadow: 0 2px 10px rgba(26,42,58,0.08); }
.wa-claim-btn svg { color: #5f7f9f; }

.wa-claim-status {
    display: inline-block; padding: 8px 16px; border-radius: 999px;
    font-size: 13px; font-weight: 600;
}
.wa-claim-status--pending { background: #fff7e6; color: #a86b1a; border: 1px solid #f0dcb0; }

/* Modal */
.wa-claim-modal {
    position: fixed; inset: 0; z-index: 100000;
    display: flex; align-items: center; justify-content: center;
    padding: 20px; background: rgba(15,22,30,0.55);
    -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
}
.wa-claim-modal[hidden] { display: none; }

.wa-claim-modal-card {
    position: relative; width: 100%; max-width: 460px;
    max-height: 90vh; overflow-y: auto;
    background: #fff; border-radius: 16px; padding: 30px 28px 26px;
    box-shadow: 0 24px 60px rgba(0,0,0,0.30);
}
.wa-claim-close {
    position: absolute; top: 14px; right: 16px;
    background: none; border: none; font-size: 26px; line-height: 1;
    color: #aaa; cursor: pointer;
}
.wa-claim-close:hover { color: #555; }
.wa-claim-title { margin: 0 0 6px; font-size: 19px; font-weight: 700; color: #1a2a3a; padding-right: 24px; }
.wa-claim-sub   { margin: 0 0 18px; font-size: 13px; color: #788596; line-height: 1.5; }

.wa-claim-form label {
    display: block; margin-bottom: 12px;
    font-size: 12px; font-weight: 600; color: #44505f; letter-spacing: 0.2px;
}
.wa-claim-req { color: #c0563e; }
.wa-claim-form input,
.wa-claim-form textarea {
    display: block; width: 100%; margin-top: 5px;
    padding: 9px 11px; font-size: 14px;
    border: 1px solid #d8dee6; border-radius: 9px;
    background: #fbfcfd; color: #1a2a3a; font-family: inherit;
}
.wa-claim-form input:focus,
.wa-claim-form textarea:focus { outline: none; border-color: #5f7f9f; background: #fff; }
.wa-claim-form textarea { resize: vertical; }
.wa-claim-row { display: flex; gap: 12px; }
.wa-claim-row label { flex: 1; }

.wa-claim-feedback { font-size: 13px; min-height: 0; margin: 2px 0 8px; }
.wa-claim-feedback.is-error { color: #c0563e; }

.wa-claim-submit {
    width: 100%; padding: 11px; margin-top: 6px;
    background: #1a2a3a; color: #fff;
    border: none; border-radius: 10px;
    font-size: 14px; font-weight: 600; cursor: pointer;
    transition: background 0.15s ease;
}
.wa-claim-submit:hover:not(:disabled) { background: #283c50; }
.wa-claim-submit:disabled { opacity: 0.65; cursor: default; }

.wa-claim-success { text-align: center; padding: 16px 4px 8px; }
.wa-claim-success svg { color: #2e7d52; }
.wa-claim-success h4 { margin: 12px 0 6px; font-size: 18px; color: #1a2a3a; }
.wa-claim-success p  { margin: 0; font-size: 13px; color: #788596; line-height: 1.5; }

body.wa-claim-open { overflow: hidden; }

/* Click-to-interact hint */
.country-map-hint {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 14;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(20, 28, 38, 0.62);
    backdrop-filter: blur(4px);
    color: rgba(255, 255, 255, 0.92);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.2px;
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.25s ease;
}
.country-hero-banner.is-map-active .country-map-hint { opacity: 0; }

/* Marker pin */
.wa-hotspot-pin {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.72);
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.55);
    transition: transform 0.15s ease;
}

/* Cluster bubble */
.wa-cluster-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.wa-cluster-inner {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #2b3e54;
    border: 2.5px solid rgba(255, 255, 255, 0.60);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: -0.5px;
    transition: background 0.2s ease;
}

.wa-cluster-icon:hover .wa-cluster-inner {
    background: #5f7f9f;
}

/* Popup */
.wa-map-popup .leaflet-popup-content-wrapper {
    background: #1a202e !important;
    border: 1px solid rgba(255, 255, 255, 0.10) !important;
    border-radius: 10px !important;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.55) !important;
    padding: 0 !important;
    width: 220px !important;
}

.wa-map-popup .leaflet-popup-content {
    margin: 0 !important;
    width: 220px !important;
}

.wa-map-popup .leaflet-popup-tip-container {
    margin-top: -1px;
}

.wa-map-popup .leaflet-popup-tip {
    background: #1a202e !important;
    box-shadow: none !important;
}

.wa-map-popup-link {
    display: flex;
    flex-direction: column;
    text-decoration: none !important;
    overflow: hidden;
    border-radius: 10px;
}

.wa-popup-thumb {
    width: 100%;
    height: 120px;
    background-size: cover;
    background-position: center;
    background-color: #2a3347;
    flex-shrink: 0;
}

.wa-popup-body {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 10px 14px 12px;
}

.wa-popup-title {
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
}

.wa-popup-cat {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.3px;
    align-self: flex-start;
}

/* Custom zoom controls — above the overlay layer */
.country-map-zoom-controls {
    position: absolute;
    bottom: 30px;
    right: 16px;
    z-index: 15;
    display: flex;
    flex-direction: column;
    gap: 2px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

.cmz-btn {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.88);
    border: none;
    color: #2b3546;
    font-size: 19px;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease, color 0.15s ease;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.cmz-btn:hover {
    background: #5f7f9f;
    color: #fff;
}

.cmz-in  { border-radius: 8px 8px 0 0; border-bottom: 1px solid rgba(0,0,0,0.08); }
.cmz-out { border-radius: 0 0 8px 8px; }

.country-hero-banner--map .leaflet-control-attribution {
    background: rgba(0, 0, 0, 0.38) !important;
    color: rgba(255, 255, 255, 0.40) !important;
    font-size: 10px !important;
    backdrop-filter: blur(4px);
    border-radius: 4px 0 0 0;
}

.country-hero-banner--map .leaflet-control-attribution a {
    color: rgba(255, 255, 255, 0.50) !important;
}

/* Responsive */
@media (max-width: 768px) {
    .country-map-legend { display: none; }
    .country-map-zoom-controls { display: none; }
}

/* =============================================================
   SPECIES — single-species.php (birds + mammals)
   ============================================================= */

.species-container {
    width: 100%;
    margin: auto;
    padding-top: 0;
}

.species-card {
    background: #fff;
    box-shadow: 0 15px 50px rgba(0,0,0,0.08);
    padding: 0 20px 20px;
}

.species-title {
    font-size: 72px;
    font-weight: 800;
    letter-spacing: -2px;
    line-height: 0.95;
    color: #111;
    margin-bottom: 18px;
    text-transform: capitalize;
}

.species-meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 60px;
}

.species-description {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 80px;
}

/* Hero */

.species-hero-banner {
    position: relative;
    margin-left: -20px;
    margin-right: -20px;
    height: 550px;
    overflow: hidden;
    margin-top: 0 !important;
}

.species-hero-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.species-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.45) 35%, rgba(0,0,0,0.08) 100%);
}

.species-hero-content {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 0 45px 38px;
}

.species-hero-content .species-title {
    margin: 0 0 10px;
    color: #fff;
    font-size: clamp(42px, 5vw, 72px);
    line-height: 0.92;
    font-weight: 800;
    letter-spacing: -2px;
    max-width: 75%;
    text-wrap: balance;
    text-shadow: 0 3px 20px rgba(0,0,0,0.5);
}

.species-hero-content .species-meta {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0;
    margin: 0;
    text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

.species-hero-content .scientific-name {
    color: #fff !important;
    font-style: italic;
    font-size: 18px;
    font-weight: 400;
    opacity: 0.82;
}

.species-hero-content .spanish-name {
    color: #fff !important;
    font-size: 18px;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0.3px;
    opacity: 0.68;
}

.species-hero-content .separator {
    display: inline;
    color: rgba(255,255,255,0.40);
    font-size: 18px;
    padding: 0 8px;
}

.photo-credit {
    position: absolute;
    bottom: 10px;
    right: 20px;
    font-size: 12px;
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    background: rgba(0,0,0,0.35);
    padding: 4px 8px;
    border-radius: 6px;
    backdrop-filter: blur(4px);
    transition: 0.2s ease;
    z-index: 9999;
}

.photo-credit:hover {
    color: #fff;
    background: rgba(0,0,0,0.55);
}

.photo-credit a { white-space: nowrap; }

/* Rich photo attribution (CC-compliant: author — license — source) */
.photo-credit--rich { max-width: min(90vw, 520px); line-height: 1.4; }
.photo-credit--rich a {
    color: rgba(255,255,255,0.9);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.photo-credit--rich a:hover { color: #fff; }
.photo-credit--rich .sep { opacity: .55; margin: 0 1px; }
.photo-credit--rich .wa-photo-credit-inner { display: inline; }
/* Admin-only "Another photo" swap button on the species hero */
.wa-photo-swap {
    display: inline-block;
    margin-left: 10px;
    padding: 3px 10px;
    border: 1px solid rgba(255,255,255,.45);
    border-radius: 999px;
    background: rgba(0,0,0,.35);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    vertical-align: middle;
}
.wa-photo-swap:hover { background: rgba(0,0,0,.6); border-color: #fff; }
.wa-photo-swap:disabled { opacity: .6; cursor: wait; }

/* ============================================================
   CANONICAL FILTER DROPDOWN (.wa-dropdown) — every filter, site-wide
   Rendered by wa_filter_dropdown(), wired by wa-filters.js.
   ============================================================ */
.wa-dropdown { position: relative; display: inline-block; }
.wa-dropdown-trigger {
    display: inline-flex; align-items: center; gap: 7px;
    border: 1px solid #d4dbe3; background: #fff; border-radius: 999px;
    padding: 7px 14px; font-size: 13px; font-weight: 600; color: #1a1e24; cursor: pointer;
    transition: border-color .15s, box-shadow .15s;
}
.wa-dropdown-trigger:hover { border-color: #4fadd4; color: #1a1e24; }
.wa-dropdown.is-open .wa-dropdown-trigger { border-color: #4fadd4; box-shadow: 0 0 0 3px rgba(79,173,212,.12); }
.wa-dropdown-trigger svg { opacity: .6; flex-shrink: 0; }
.wa-dropdown-label { white-space: nowrap; }
.wa-dd-chevron { transition: transform .15s; }
.wa-dropdown.is-open .wa-dd-chevron { transform: rotate(180deg); }
.wa-dropdown-menu {
    position: absolute; top: calc(100% + 6px); left: 0; z-index: 30;
    min-width: 100%; width: max-content; max-width: 280px;
    background: #fff; border: 1px solid #d4dbe3; border-radius: 12px;
    box-shadow: 0 10px 30px rgba(26,30,36,.16); overflow: hidden;
    display: none;
}
.wa-dropdown.is-open .wa-dropdown-menu { display: block; }
.wa-dropdown-option {
    display: block; width: 100%; text-align: left; border: 0; background: #fff;
    padding: 9px 14px; font-size: 13.5px; color: #1a1e24; cursor: pointer; white-space: nowrap;
}
/* Keep the option's original text colour on hover (beats theme button:hover). */
.wa-dropdown-option:hover,
.wa-dropdown-menu .wa-dropdown-option:hover { background: rgba(79,173,212,.08); color: #1a1e24; }
.wa-dropdown-option.is-active,
.wa-dropdown-menu .wa-dropdown-option.is-active,
.wa-dropdown-option.is-active:hover { background: #1a1e24; color: #fff; font-weight: 700; }

/* Filter bar (heading + dropdown) shared by tours/hides sections */
.wa-tours-filterbar {
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 12px; margin-bottom: 18px;
}
.wa-section-heading {
    margin: 0; font-size: 11px; font-weight: 700; letter-spacing: 2px;
    text-transform: uppercase; color: #aaa;
}
/* Reviews sort now uses the canonical dropdown */
.wa-reviews-sort { display: inline-block; }

/* ============================================================
   COMMUNITY SPECIES GALLERY ([species_gallery])
   ============================================================ */
.wa-gal-wrap { display: flex; flex-direction: column; gap: 16px; }
/* Contribute box — separate card above the gallery */
.wa-gal-uploadbox {
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 14px;
    background: #1a1e24;
    border-radius: 16px;
    padding: 16px 22px;
    box-shadow: 0 6px 18px rgba(26,30,36,.10);
}
.wa-gal-uploadbox-title { color: #fff; font-size: 14px; font-weight: 700; letter-spacing: .01em; }
.wa-gal-uploadbox .wa-gal-consent { color: rgba(255,255,255,.75); }
.wa-gal-uploadbox .wa-gal-upload {
    background: #fff; color: #1a1e24; border-color: transparent;
}
.wa-gal-uploadbox .wa-gal-upload:hover { border-color: #4fadd4; }
/* Gallery box — clean: just filter + photos */
.wa-gal {
    background: #f6f9fc;
    border: 1px solid #e3e9f0;
    border-radius: 18px;
    padding: 24px 26px 26px;
    box-shadow: 0 6px 18px rgba(26,30,36,.05);
}
.wa-gal-head {
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 12px; margin-bottom: 18px;
}
.wa-gal-filters { display: flex; gap: 6px; }
.wa-gal-filter {
    border: 1px solid #d4dbe3; background: #fff; border-radius: 999px;
    padding: 5px 16px; font-size: 13px; font-weight: 600; color: #5f7f9f; cursor: pointer;
}
.wa-gal-filter.is-active { background: #1a1e24; border-color: #1a1e24; color: #fff; }
.wa-gal-upload {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 18px; border: 1px solid rgba(255,255,255,.14); border-radius: 11px;
    background: #1a1e24; color: #fff; font-size: 13.5px; font-weight: 700; cursor: pointer;
    box-shadow: 0 4px 14px rgba(26,30,36,.22);
}
.wa-gal-upload:hover { border-color: rgba(79,173,212,.7); }

.wa-gal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 12px;
}
.wa-gal-item {
    position: relative; margin: 0;
    border-radius: 14px; overflow: hidden; background: #f0f2f5;
    box-shadow: 0 4px 14px rgba(26,30,36,.08);
}
.wa-gal-item.is-pending { outline: 2px dashed #f5a623; outline-offset: -2px; }
.wa-gal-thumb { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; line-height: 0; }
.wa-gal-item img { display: block; width: 100%; height: 190px; object-fit: cover; }
.wa-gal-badge {
    position: absolute; top: 8px; left: 8px;
    background: #f5a623; color: #1a1e24; font-size: 10px; font-weight: 800;
    letter-spacing: .04em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px;
}
.wa-gal-item figcaption {
    position: absolute; bottom: 0; left: 0; right: 0;
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 10px 8px; color: #fff;
    background: linear-gradient(to top, rgba(0,0,0,.7), transparent);
    font-size: 12px;
}
.wa-gal-author { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wa-gal-like {
    display: inline-flex; align-items: center; gap: 4px;
    border: 0; background: rgba(0,0,0,.35); border-radius: 999px;
    padding: 3px 9px; color: #fff; font-size: 12px; font-weight: 700; cursor: pointer;
}
.wa-gal-heart { color: rgba(255,255,255,.6); }
.wa-gal-like.is-liked .wa-gal-heart { color: #ff5470; }
.wa-gal-actions {
    position: absolute; top: 8px; right: 8px;
    display: flex; flex-direction: column; gap: 4px; align-items: flex-end;
    opacity: 0; transition: opacity .15s;
}
.wa-gal-item:hover .wa-gal-actions { opacity: 1; }
.wa-gal-act {
    border: 0; border-radius: 7px; padding: 3px 9px;
    font-size: 11px; font-weight: 700; cursor: pointer;
    background: rgba(26,30,36,.85); color: #fff;
}
.wa-gal-approve { background: #2e9e5b; }
.wa-gal-hero    { background: #2d7ea3; }
.wa-gal-del     { background: #d92638; }
.wa-gal-report  { background: rgba(26,30,36,.85); }
.wa-gal-reported { font-size: 11px; font-weight: 700; color: #f5a623; background: rgba(0,0,0,.6); border-radius: 7px; padding: 3px 7px; }
.wa-gal-empty { color: #8a97a5; font-size: 14px; }

/* Upload consent (copyright/license) */
.wa-gal-uploadwrap { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; max-width: 360px; }
.wa-gal-consent { display: flex; gap: 8px; font-size: 11.5px; line-height: 1.4; color: #5f7f9f; cursor: pointer; }
.wa-gal-consent input { margin-top: 2px; flex-shrink: 0; }
.wa-gal-upload.is-disabled { opacity: .45; pointer-events: none; }
/* Report reasons menu */
.wa-gal-reportwrap { position: relative; }
.wa-gal-reasons {
    position: absolute; top: 100%; right: 0; margin-top: 4px; z-index: 20;
    background: #fff; border: 1px solid #d4dbe3; border-radius: 10px; overflow: hidden;
    box-shadow: 0 8px 24px rgba(26,30,36,.18); min-width: 180px;
}
.wa-gal-reason {
    display: block; width: 100%; text-align: left; border: 0; background: #fff;
    padding: 8px 12px; font-size: 12.5px; color: #1a1e24; cursor: pointer;
}
.wa-gal-reason:hover { background: rgba(217,38,56,.08); color: #d92638; }

/* ============================================================
   CONTROL CENTER — PHOTOS section (iNaturalist import queue)
   ============================================================ */
.wa-photo-queue {
    background: #f8f9fb;
    border: 1px solid #eef1f4;
    border-radius: 16px;
    padding: 20px 22px;
    margin-bottom: 8px;
}
.wa-photo-progress {
    height: 10px;
    border-radius: 999px;
    background: #e7ebf0;
    overflow: hidden;
}
.wa-photo-progress-bar {
    height: 100%;
    width: 0;
    border-radius: 999px;
    background: #2e9e5b;
    transition: width .4s ease;
}
.wa-photo-queue-info { margin: 10px 0 14px; font-size: 14px; font-weight: 600; color: #1a1e24; }
.wa-photo-queue-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.wa-photo-act:disabled { opacity: .5; cursor: wait; }
.wa-photo-fix-one {
    border: 1px solid #d4dbe3;
    background: #fff;
    border-radius: 8px;
    padding: 3px 12px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    color: #1a1e24;
}
.wa-photo-fix-one:hover { border-color: #4fadd4; color: #2d7ea3; }
.wa-admin-trow em { font-style: normal; font-size: 12px; color: #b97c10; }

/* ============================================================
   NEWS — frontend feed (Latest Updates) + Control Center CRUD
   ============================================================ */
.wa-news {
    margin: 0 auto; max-width: 780px;
    background: linear-gradient(180deg, #f7faf8 0%, #ffffff 70%);
    border: 1px solid #e7eee9;
    border-radius: 20px;
    padding: 26px 28px;
    box-shadow: 0 10px 30px -18px rgba(31, 122, 77, .35);
}
.wa-news-title {
    display: flex; align-items: center; gap: 9px;
    font-size: 12px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase;
    color: #1f7a4d; margin: 0 0 18px;
}
.wa-news-title::before {
    content: ""; width: 8px; height: 8px; border-radius: 50%;
    background: #2e9e5b; box-shadow: 0 0 0 4px rgba(46, 158, 91, .18);
}
/* Timeline rail down the left of the feed */
.wa-news-feed {
    list-style: none; margin: 0; padding: 0 0 0 22px; position: relative;
}
.wa-news-feed::before {
    content: ""; position: absolute; left: 4px; top: 6px; bottom: 6px;
    width: 2px; background: linear-gradient(180deg, #cfe6da, #eef4f0);
}
.wa-news-item {
    position: relative; padding: 6px 0 18px;
}
.wa-news-item:last-child { padding-bottom: 0; }
/* Timeline node */
.wa-news-item::before {
    content: ""; position: absolute; left: -22px; top: 9px;
    width: 11px; height: 11px; border-radius: 50%;
    background: #fff; border: 2.5px solid #2e9e5b;
    transform: translateX(-1px);
}
.wa-news-item.is-featured::before { background: #2e9e5b; }
/* Featured = soft accent card */
.wa-news-item.is-featured {
    background: #f0f8f3; border: 1px solid #d6ebdf;
    border-radius: 14px; padding: 14px 16px; margin: 0 0 16px -6px;
}
.wa-news-item.is-featured::after {
    content: "Featured"; position: absolute; top: 12px; right: 14px;
    font-size: 10px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase;
    color: #1f7a4d; background: #d9efe3; padding: 3px 8px; border-radius: 999px;
}
.wa-news-date {
    display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: .3px;
    color: #6b8b78; text-transform: uppercase; margin-bottom: 4px;
}
.wa-news-headline {
    display: block; font-size: 16px; font-weight: 700; color: #15321f; line-height: 1.35;
}
.wa-news-text { margin: 5px 0 0; font-size: 14px; line-height: 1.6; color: #4a5a51; }
.wa-news-link {
    display: inline-flex; align-items: center; margin-top: 9px;
    font-size: 12.5px; font-weight: 700; color: #1f7a4d; text-decoration: none;
    background: #e9f4ee; padding: 6px 13px; border-radius: 999px;
    transition: background .14s;
}
.wa-news-link:hover { background: #dceee4; text-decoration: none; }

/* Admin form */
.wa-news-form { background: #f8f9fb; border: 1px solid #eef1f4; border-radius: 16px; padding: 18px 20px; margin-bottom: 8px; }
.wa-news-form input[type="text"], .wa-news-form input[type="url"], .wa-news-form input[type="date"],
.wa-news-form textarea, .wa-news-form select {
    width: 100%; padding: 9px 12px; border: 1px solid #d4dbe3; border-radius: 10px;
    background: #fff; font-size: 14px; margin-bottom: 8px; color: #1a1e24;
}
.wa-news-form input::placeholder, .wa-news-form textarea::placeholder { color: #9aa7b4; }
.wa-news-form-row { display: flex; gap: 8px; flex-wrap: wrap; position: relative; }
.wa-news-form-row > * { flex: 1; min-width: 120px; }
.wa-news-featured { display: flex; align-items: center; gap: 6px; font-size: 13px; flex: 0 0 auto; }
.wa-news-featured input { width: auto; margin: 0; }
.wa-news-suggest { position: absolute; top: 100%; left: 0; right: 0; z-index: 20; background: #fff; border: 1px solid #d4dbe3; border-radius: 10px; overflow: hidden; }
.wa-news-suggest:empty { display: none; }
.wa-news-suggest-item { display: block; width: 100%; text-align: left; padding: 8px 12px; border: 0; background: #fff; cursor: pointer; font-size: 13.5px; color: #1a1e24; }
.wa-news-suggest-item:hover { background: rgba(79,173,212,.08); color: #1a1e24; }
.wa-news-form-actions { display: flex; align-items: center; gap: 10px; margin-top: 4px; }
.wa-news-msg { font-size: 13px; color: #2e9e5b; }
.wa-news-edit, .wa-news-del {
    border: 1px solid #d4dbe3; background: #fff; border-radius: 8px; padding: 3px 12px;
    font-size: 12px; font-weight: 600; cursor: pointer; color: #1a1e24;
}
.wa-news-del:hover { border-color: #d92638; color: #d92638; }
.wa-news-edit:hover { border-color: #4fadd4; color: #2d7ea3; }
/* Scope buttons: keep label readable in both states */
.wa-news-scope-btn { color: #1a1e24; }
.wa-news-scope-btn.is-active { color: #1a1e24; }

/* Hotspots */

.species-hotspots { margin-top: 0; }

.species-hotspots h2 {
    font-size: 36px;
    margin-bottom: 30px;
    color: #111;
}

.species-hotspot-image {
    position: relative;
    height: 240px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

/* Hotspots wrapper + country filters */

.species-hotspots-wrapper {
    padding-top: 20px;

}

/* ── Filters row (category + country dropdown on same line) ── */
.wa-filters-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 28px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.wa-filters-row .wa-filters {
    margin-bottom: 0;
    justify-content: flex-start;
}
.wa-filters-row .wa-filter {
    margin-top: 0;
}

/* ── Country dropdown ── */
.wa-country-dropdown {
    position: relative;
    flex-shrink: 0;
    padding-left: 28px;
}
.wa-country-dropdown::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 20px;
    width: 1px;
    background: #ddd;
}

.wa-country-trigger {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 13px;
    background: #f5f5f3;
    border: 1.5px solid #ddd;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    color: #333;
    cursor: pointer;
    transition: background .15s, border-color .15s;
    white-space: nowrap;
}
.wa-country-trigger:hover,
.wa-country-trigger.open {
    background: #ececea;
    border-color: #bbb;
    color: #333 !important;
}
.wa-country-trigger:focus { outline: none; }

.wa-chevron {
    transition: transform .2s ease;
    flex-shrink: 0;
}
.wa-country-trigger.open .wa-chevron {
    transform: rotate(180deg);
}

.wa-country-menu {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 180px;
    background: #fff;
    border: 1.5px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.10);
    z-index: 200;
    padding: 6px 0;
    max-height: 280px;
    overflow-y: auto;
}
.wa-country-menu.open {
    display: block;
}

.wa-country-option {
    display: block;
    width: 100%;
    padding: 9px 16px;
    background: none;
    border: none;
    text-align: left;
    font-size: 13px;
    color: #333;
    cursor: pointer;
    transition: background .12s;
}
.wa-country-option:hover {
    background: #eaf3fb;
    color: #333 !important;
}
.wa-country-option.active {
    font-weight: 700;
    color: #111;
    background: #dceef9;
}

/* Hotspots grid */

.species-hotspots-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

@media (max-width: 1200px) { .species-hotspots-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px)  { .species-hotspots-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .species-hotspots-grid { grid-template-columns: 1fr; } }

/* See-all card dentro del hotspots grid */
/* Load More */
.load-more-wrapper {
    display: flex;
    justify-content: center;
    margin: 40px 0 24px;
}
.load-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 15px 44px;
    background: #1a1a1a;
    color: #fff !important;
    border: none;
    border-radius: 32px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.2px;
    cursor: pointer;
    box-shadow: 0 2px 16px rgba(0,0,0,0.13);
    transition: opacity .2s ease, transform .2s ease, box-shadow .2s ease;
}
.load-more-btn:hover {
    opacity: 0.82;
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0,0,0,0.18);
    color: #fff !important;
}
.load-more-btn:active {
    transform: translateY(0);
    opacity: 0.95;
}
.load-more-btn:focus { outline: none; }

/* Card enter animation */
@keyframes wa-card-in {
    from {
        opacity: 0;
        transform: translateY(28px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.wa-card-entering {
    animation: wa-card-in 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
    animation-delay: var(--wa-delay, 0ms);
}

/* =============================================================
   SPECIES — DESCRIPCIÓN + MAPA DE DISTRIBUCIÓN
   ============================================================= */

.species-auto-description-map {
    display: grid;
    grid-template-columns: 80px 1fr 360px;
    gap: 32px;
    align-items: start;
    margin: 48px 0 60px;
    padding: 0 40px 0 12px;
}

.species-auto-description-map .species-description {
    font-size: 15px;
    line-height: 1.8;
    color: #3a4a5a;
    margin-bottom: 0;
}

/* Pill de acciones */

.species-pill-wrapper {
    display: flex;
    justify-content: center;
    position: sticky;
    top: 24px;
}

.species-action-pill {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    background: #2b3546;
    border-radius: 999px;
    padding: 18px 0;
    width: 56px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.25), 0 1px 4px rgba(0,0,0,0.12);
    border: 1px solid rgba(255,255,255,0.07);
}

.species-pill-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    cursor: pointer;
    border-radius: 50%;
    color: rgba(255,255,255,0.45);
    transition: color .2s ease, transform .15s ease, background .2s ease;
    padding: 0;
}

.species-pill-btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}
.species-pill-btn.species-favourite svg {
    width: 22px;
    height: 22px;
}

/* Ojo: muestra check al activarse */
.species-pill-btn.species-seen .icon-check { display: none; }
.species-pill-btn.species-seen.active .icon-eye   { display: none; }
.species-pill-btn.species-seen.active .icon-check { display: block; }

/* Hover */
.species-pill-btn:hover                   { background: rgba(255,255,255,0.08); }
.species-pill-btn.species-favourite:hover { color: #ff3040; transform: scale(1.1); }
.species-pill-btn.species-seen:hover      { color: #5f7f9f; transform: scale(1.1); }
.species-pill-btn.species-listed:hover    { color: #5f7f9f; transform: scale(1.1); }

/* Tooltips */
.species-pill-btn[data-tooltip] {
    position: relative;
}
.species-pill-btn[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    left: calc(100% + 14px);
    top: 50%;
    transform: translateY(-50%);
    background: #1a1e24;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.3px;
    white-space: nowrap;
    padding: 5px 10px;
    border-radius: 6px;
    pointer-events: none;
    opacity: 0;
    transition: opacity .15s ease;
    z-index: 100;
}
.species-pill-btn[data-tooltip]::before {
    content: '';
    position: absolute;
    left: calc(100% + 8px);
    top: 50%;
    transform: translateY(-50%);
    border: 5px solid transparent;
    border-right-color: #1a1e24;
    pointer-events: none;
    opacity: 0;
    transition: opacity .15s ease;
    z-index: 100;
}
.species-pill-btn[data-tooltip]:hover::after,
.species-pill-btn[data-tooltip]:hover::before {
    opacity: 1;
}

/* Activo */
.species-pill-btn.species-favourite.active { color: #ff3040; }
.species-pill-btn.species-seen.active      { color: #5f7f9f; }
.species-pill-btn.species-listed.active    { color: #5f7f9f; }

/* Mapa */

.species-map-wrapper {
    position: sticky;
    top: 24px;
}

.species-map-wrapper > div[id^="species-map"] {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(100,120,160,0.15);
    border: 1px solid #dde3ed;
}

/* Leaflet attribution — muy discreta */
.species-map-wrapper .leaflet-control-attribution {
    background: transparent !important;
    box-shadow: none !important;
    font-size: 8px !important;
    color: rgba(80,100,130,0.3) !important;
    padding: 2px 4px !important;
    opacity: 0.5;
    transition: opacity 0.2s ease;
}

.species-map-wrapper .leaflet-control-attribution a {
    color: rgba(80,100,130,0.3) !important;
}

.species-map-wrapper:hover .leaflet-control-attribution {
    opacity: 1;
}

.species-map-wrapper .leaflet-control-attribution:hover,
.species-map-wrapper .leaflet-control-attribution:hover a {
    color: rgba(30,45,69,0.7) !important;
}

.species-hotspots-section {
    position: relative;
    padding-top: 0;
}

.species-hotspots-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: -20px;
    width: calc(100% + 40px);
    box-shadow: 0 -2px 15px rgba(0,0,0,.03);
    border-top: 1px solid #ececec;
}

.species-map-unavailable {
    font-size: 13px;
    color: #aaa;
    font-style: italic;
}

/* Mobile hero */

@media (max-width: 768px) {
    .species-hero-banner { height: 380px; }
    .species-hero-content { padding: 0 28px 28px; }
    .species-hero-content .species-title { font-size: 48px; }
}

@media (max-width: 900px) {
    .species-auto-description-map { grid-template-columns: 1fr; }
    .species-pill-wrapper { position: static; justify-content: flex-start; }
    .species-action-pill  { flex-direction: row; width: auto; padding: 10px 16px; }
    .species-map-wrapper  { position: static; }
}

/* =============================================================
   GLOBAL
   ============================================================= */

html { scroll-behavior: smooth; }

/* =============================================================
   WORLD ATLAS — Mapa interactivo
   ============================================================= */

.wildatlas-copyright {
    text-align: center;
    padding: 18px 0 24px;
    font-size: 11px;
    letter-spacing: 2px;
    color: #1e293b;
    text-transform: uppercase;
    background: #fff;
}

.wildatlas-antarctica {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    overflow: visible;
    margin-top: 30px;
    margin-bottom: -1px;
    line-height: 0;
    position: relative;
}

.wildatlas-antarctica svg { width: 100%; height: auto; display: block; }

#aq path { fill: #fff; transition: .3s ease; }
#aq.has-content path { cursor: pointer; }
#aq.has-content:hover path { fill: #a9c3e9; }

#atlas-tooltip {
    position: fixed; z-index: 9999;
    display: inline-flex; align-items: center; gap: 8px;
    padding: 7px 14px; border-radius: 999px; white-space: nowrap;
    background: rgba(16, 22, 34, 0.95);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.09);
    box-shadow: 0 10px 30px rgba(0,0,0,.42);
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    pointer-events: none; opacity: 0;
    transform: translate(-50%, calc(-100% - 12px)); /* centred above the cursor */
    transition: opacity .12s ease;
}
/* little caret pointing down at the cursor */
#atlas-tooltip::after {
    content: ""; position: absolute; left: 50%; bottom: -6px; transform: translateX(-50%);
    border: 6px solid transparent; border-top-color: rgba(16,22,34,0.95);
}
#atlas-tooltip .tooltip-name {
    font-size: 13.5px; font-weight: 700; letter-spacing: -0.2px;
}
#atlas-tooltip .tooltip-cta {
    font-size: 11px; font-weight: 600; color: #4cc585; letter-spacing: 0.3px;
}
/* subtle divider between name and CTA */
#atlas-tooltip .tooltip-cta::before {
    content: ""; display: inline-block; width: 1px; height: 11px;
    background: rgba(255,255,255,.18); margin-right: 8px; vertical-align: -1px;
}

.wildatlas-world-map{
    transition: transform 0.35s ease-out;
    will-change: transform;
}

.wildatlas-world-map path {
    fill: #bcc6d1;
    /* =============================================================
    stroke: #cdd4db;
    stroke-width: 0.15;
    ============================================================= */
    transition: all .2s ease;
    cursor: default;
    pointer-events: none;
}

.wildatlas-world-map g.has-content path {
    fill: #3a4251 !important;
    /* =============================================================
    stroke: rgba(255,255,255,0.18) !important;
    stroke-width: 0.1 !important;
     ============================================================= */
    cursor: pointer;
    pointer-events: auto;
    transition: fill .22s ease, filter .22s ease, transform .22s ease, stroke .22s ease;
}

.wildatlas-world-map g.has-content:hover path {
    
    /* =============================================================
    fill: #3a89bc !important;
    stroke: rgba(180,215,240,0.6);
    stroke-width: 0.25;
      ============================================================= */
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.22));
    transform: translateY(-1px);
}

.wildatlas-world-map path.active { fill: #a3d977; stroke: #d8f0b0; }

.wildatlas-world-map g {
    fill: #3a4251;

    transition: all .2s ease;
}

.wildatlas-world-map { animation: atlasFade .8s ease; }

@keyframes atlasFade {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

.wildatlas-atlas-fullwidth svg { width: 90vw; height: auto; display: block; margin: 0 auto; }

/* ── Homepage: logo + search overlaid on map ──────────────────────────────── */

/* Logo and search sections: transparent, float above map */
.page-id-34 [data-id="49df3ba"],
.page-id-34 [data-id="d22568f"] {
    position: relative;
    z-index: 5;
    background: transparent !important;
}


/* Tagline injected between logo and search */
.page-id-34 [data-id="d22568f"]::before {
    content: "Discover wildlife, plan your next adventure";
    display: block;
    text-align: center;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: rgba(25, 40, 60, 0.45);
    margin-bottom: 14px;
}

/* Push search section down for better vertical centering */
.page-id-34 [data-id="d22568f"] {
    margin-top: 55px;
}

/* Limit search width and center it — prevents the pill from spanning full column */
.page-id-34 [data-id="d22568f"] > .elementor-container,
.page-id-34 [data-id="d22568f"] > .e-con-inner {
    max-width: 680px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}
.page-id-34 [data-id="49df3ba"] .elementor-container,
.page-id-34 [data-id="49df3ba"] .elementor-column-wrap,
.page-id-34 [data-id="49df3ba"] .elementor-widget-wrap,
.page-id-34 [data-id="49df3ba"] .elementor-element,
.page-id-34 [data-id="d22568f"] .elementor-container,
.page-id-34 [data-id="d22568f"] .elementor-column-wrap,
.page-id-34 [data-id="d22568f"] .elementor-widget-wrap,
.page-id-34 [data-id="d22568f"] .elementor-element {
    background: transparent !important;
    background-color: transparent !important;
}

/* Map section: pull up to sit behind logo + search, with breathing room at top */
.page-id-34 [data-id="117ce73"] {
    position: relative;
    z-index: 0;
    margin-top: -210px;
}

/* ── ──────────────────────────────────────────────────────────────────────── */

@media (max-width: 768px) {
    .wildatlas-atlas-fullwidth  { display: none; }
    .wildatlas-country-search   { display: block; }
}
@media (min-width: 769px) {
    .wildatlas-country-search   { display: none; }
}

/* =============================================================
   HOTSPOTS GRID
   ============================================================= */

.species-hotspots-grid,
.country-hotspots-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 24px;
}

.species-hotspot-card,
.country-hotspot-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 18px;
    background: #fff;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    transition: all .2s ease;
}

.species-hotspot-card:hover,
.country-hotspot-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(0,0,0,0.12);
}

/* Shared image wrapper (new class used by the helper) */
.hotspot-card-image {
    position: relative;
    height: 240px;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
}

/* Legacy classes kept for backwards compat */
.species-hotspot-image,
/* Shared content wrapper */
.hotspot-card-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 22px 20px 20px;
}

.species-hotspot-content,
.hotspot-card-content h3,
.species-hotspot-content h3 { margin: 0 0 4px; color: #111; font-size: 19px; font-weight: 700; line-height: 1.3; letter-spacing: -0.2px; }

.hotspot-card-content p,
.species-hotspot-content p { margin: 0; padding-bottom: 16px; color: #666; line-height: 1.55; font-size: 14px; }

/* Location line below title */
.hotspot-card-location {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0 0 14px !important;
    padding-bottom: 0 !important;
    font-size: 12px !important;
    color: #aaa !important;
    font-weight: 500;
    letter-spacing: 0.3px;
    line-height: 1 !important;
}

/* ── Star rating ─────────────────────────────────────────── */
.hotspot-rating {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    gap: 3px;
    align-items: center;
    background: rgba(0,0,0,0.45);
    padding: 7px 11px;
    border-radius: 999px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 20;
}

.hotspot-rating .star { display: block; width: 16px; height: 16px; }
.hotspot-rating .star svg { width: 16px; height: 16px; }
.hotspot-rating .star.filled { color: #f5a623; }
.hotspot-rating .star.empty  { color: rgba(255,255,255,0.3); }
.hotspot-rating-count {
    margin-left: 6px;
    font-size: 12.5px;
    font-weight: 600;
    color: rgba(255,255,255,0.85);
}

/* Camera badge — top right, hides only */
.hotspot-hero-camera-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    display: flex;
    align-items: center;
    gap: 7px;
    background: rgba(0,0,0,0.45);
    padding: 9px 16px 9px 12px;
    border-radius: 999px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fff;
    z-index: 20;
}

.hotspot-hero-camera-badge span {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.hotspot-camera-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.45);
    padding: 7px 9px;
    border-radius: 999px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #fff;
    z-index: 20;
}

/* ── CTA button ──────────────────────────────────────────── */
.hotspot-cta-btn {
    display: inline-block;
    align-self: flex-start;
    margin-top: auto;
    padding: 8px 18px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    text-align: center;
    background: #e8234a;
    color: #fff !important;
    cursor: pointer;
    transition: background .2s ease, transform .1s ease;
    user-select: none;
    white-space: nowrap;
}

.hotspot-cta-btn:hover {
    background: #c41a3c;
    transform: translateY(-1px);
    color: #fff !important;
}

.hotspot-cta-book  { background: #e8234a; }
/* =============================================================
   AJAX SEARCH LITE
   ============================================================= */

.atlas-country-result   { display: block; }
.atlas-country-main     { font-weight: 700; }
.atlas-country-secondary { color: #777; font-weight: 400; }
.atlas-country-code     { color: #999; }
.atlas-country-hotspots { display: block; font-size: 12px; color: #999; margin-top: 4px; }

/* Container es el punto de referencia para el autocomplete absoluto */
div.asl_w_container {
    position: relative !important;
    margin-top: 10px !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 999px !important;
}

/* Neutralizar el wrapper intermedio */
div.asl_w,
div.asl_w_p,
div.asl_w > div:not(.probox):not(.asl_r) {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 12px !important;
    padding: 0 !important;
}

div.asl_w .probox,
#ajaxsearchlite1 .probox,
#ajaxsearchlite1 div.probox,
.asl_w .probox.proinput_height {
    display: flex !important;
    align-items: center !important;
    height: 44px !important;
    background: rgba(255,255,255,0.92) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255,255,255,0.7) !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12) !important;
    overflow: hidden !important;
}

/* proinput sin position para que el containing block del autocomplete suba a asl_w_container */
div.asl_w .probox .proinput {
    position: static !important;
    height: 72px !important;
    width: 100% !important;
}

div.asl_w .probox input.orig {
    height: 100% !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    font-style: italic;
    color: #111 !important;
    padding-left: 1px !important;
    border: none !important;
    box-shadow: none !important;
}

/* Ocultar el <input> autocomplete original — el span #wa-ghost lo reemplaza */
div.asl_w .autocomplete,
div.asl_m .proinput input.autocomplete,
div.asl_m .probox .proinput input.autocomplete,
#ajaxsearchlite1 .probox .proinput input.autocomplete {
    display: none !important;
}

/* Ghost text span inyectado por JS — sufijo de autocompletar */
#wa-ghost {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    font-size: 13px;
    font-weight: 500;
    font-style: italic;
    color: #555;
    opacity: 0.5;
    white-space: nowrap;
    z-index: 9;
}

div.asl_w .promagnifier {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    min-width: 36px !important;
    height: 36px !important;
    margin-right: 4px !important;
    background: #e8ecf0 !important;
    border-radius: 8px !important;
    border: none !important;
    top: auto !important;
    right: auto !important;
}

div.asl_w .promagnifier svg { fill: #6c788a !important; }

div.asl_w .proclose {
    position: relative !important;
    display: none !important;
    width: 40px !important;
    height: 40px !important;
    top: auto !important;
    right: auto !important;
    margin-right: 8px !important;
}

div.asl_w .proloading { display: none !important; }

div.asl_r {
    margin-top: 10px !important;
    border: 1px solid #ececec !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06) !important;
    background: #fff !important;
}

div.asl_r .item {
    padding: 8px 22px !important;
    border-bottom: 1px solid #f2f2f2 !important;
    border-left: none !important;
    border-right: none !important;
    border-top: none !important;
    background: #fff !important;
    transition: background-color 0.15s ease !important;
    transform: none !important;
}

div.asl_r .item:hover,
div.asl_r .item.hover,
div.asl_r .item.selected {
    background: #fafafa !important;
    padding: 8px 22px !important;
    border-left: none !important;
    border-right: none !important;
    border-top: none !important;
    transform: none !important;
    margin: 0 !important;
}

div.asl_r .item .asl_content h3,
div.asl_r .item .asl_content h3 a { font-size: 16px !important; font-weight: 700 !important; color: #111 !important; line-height: 1.4 !important; }

div.asl_r .item .asl_content { color: #666 !important; font-size: 14px !important; }

/* Imagen fija — dimensiones bloqueadas para evitar reflow en hover */
div.asl_r .item .asl_image {
    display: block !important;
    width: 50px !important;
    height: 50px !important;
    min-width: 50px !important;
    border-radius: 6px !important;
    overflow: hidden !important;
    flex-shrink: 0 !important;
}
div.asl_r .item .asl_image img {
    width: 50px !important;
    height: 50px !important;
    object-fit: cover !important;
}

div.asl_r:before,
div.asl_r:after { display: none !important; }

/* =============================================================
   SPECIES SEASON GRID
   ============================================================= */

.species-season-timeline {
    width: 100%;
    max-width: 1040px;
    margin: 0 auto 20px;
    position: relative;
}

.species-season-timeline svg {
    width: 100%;
    height: auto;
    display: block;
    overflow: visible;
}

.season-dot {
    cursor: pointer;
    transition: r .15s ease;
}
.season-dot:hover { r: 5.5; }

.season-tooltip {
    position: absolute;
    background: #1a2a3a;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 4px 9px;
    border-radius: 6px;
    pointer-events: none;
    white-space: nowrap;
    transform: translate(-50%, -100%);
    margin-top: -8px;
    z-index: 10;
}
.species-season-filters {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 10px;
    margin-top: 20px;
}

/* "SHOW ALL YEAR" — reset button, left-aligned */
.species-season-filter[data-filter="all"] {
    background: none !important;
    border: none !important;
    font-size: 11px;
    font-weight: 500;
    color: #aaa;
    letter-spacing: 1px;
    padding: 0;
    text-transform: uppercase;
    cursor: pointer;
    transition: color .2s ease, transform .2s ease;
}

/* Default (all months showing): matches other filters */
.species-season-filter[data-filter="all"].active {
    color: #aaa;
    font-weight: 500;
}

/* Month selected: becomes blue reset CTA */
.species-season-filter[data-filter="all"]:not(.active) {
    color: #5f7f9f;
    font-weight: 700;
}
.species-season-filter[data-filter="all"]:not(.active):hover {
    color: #3d6080;
    transform: translateY(-2px);
}

.species-season-filter:focus,
.species-season-filter:active { outline: none !important; box-shadow: none !important; }
.species-season-filter:not(.active)        { opacity: 0.85; }
.species-season-filter:not(:last-child)::after { content: "|"; margin-left: 12px; color: #e5e5e5; }

.species-season-wrapper {
    background: #fff;
    padding: 0 40px;
    margin-left: -20px;
    margin-right: -20px;
}

/* Filtro birds / mammals */

.species-type-filters {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
    font-size: 11px;
}

.species-type-filter {
    background: none !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    padding: 0;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 11px;
    font-weight: 500;
    color: #aaa;
    cursor: pointer;
    transition: color .2s ease;
}

.species-type-filter:hover               { color: #555; }
.species-type-filter:focus,
.species-type-filter:active              { outline: none !important; box-shadow: none !important; }
.species-type-filter.active              { color: #111; font-weight: 700; }
.species-type-filter:not(.active)        { opacity: 1; }
.species-type-filter:not(:last-child)::after { content: "|"; margin-left: 12px; color: #e5e5e5; }

/* Grid */

.species-season-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
    padding: 0 0 20px;
    align-items: start;
}

/* Card */

.species-season-card {
    display: block;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: all .25s ease;
    box-shadow: 0 3px 8px rgba(0,0,0,.04);
}

.species-season-card:hover { transform: translateY(-3px); border-color: #b0bec8; }

.species-season-image {
    height: 148px;
    overflow: hidden;
    position: relative;
}

.actions-species-overlay {
    position: absolute;
    backdrop-filter: blur(1px);
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-direction: row;
    padding-bottom: 14px;
    background: rgba(0,0,0,.35);
    opacity: 0;
    transition: opacity .25s ease;
    z-index: 10;
}

.species-season-card:hover .actions-species-overlay,
.country-species-card:hover .actions-species-overlay { opacity: 1; }

.species-favourite {
    color: #fff;
    font-size: 28px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .25s ease;
    cursor: pointer;
    user-select: none;
}

.species-seen {
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 999px;
    background: rgba(255,255,255,.15);
    backdrop-filter: blur(8px);
    color: #fff;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    height: 30px;
    font-size: 11px;
    padding: 0 9px;
    transition: background .25s ease, color .25s ease, transform .25s ease;
}

.species-favourite:hover      { color: #ff3040; transform: scale(1.15); }
.species-seen:hover           { background: rgba(255,255,255,.85); color: #111; }
.species-favourite.active     { color: #ff3040; }
.species-seen.active          { background: #fff; color: #111; }

.species-season-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}

.species-season-card:hover .species-season-image img { transform: scale(1.05); }

/* Gradient overlay + name on image */
.species-season-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 35%, rgba(0,0,0,0.72) 100%);
    display: flex;
    align-items: flex-end;
    padding: 10px;
    z-index: 1;
    pointer-events: none;
}

.species-season-content  { padding: 8px 10px 10px; }
.species-season-english  { color: #fff; font-size: 13px; font-weight: 700; line-height: 1.2; }
.species-season-scientific {
    font-size: 11px; font-style: italic; color: #888; margin-bottom: 2px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.species-season-spanish  {
    font-size: 12px; color: #222; font-weight: 500;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ── Tarjeta "Ver todas las especies" ─────────────────────────── */
.species-see-all-card {
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: stretch;
    background: #f7f7f5;
    border: 1.5px dashed #ccc;
    border-radius: 16px;
    text-decoration: none;
    transition: background .2s, border-color .2s, transform .2s;
}
.species-see-all-card:hover {
    background: #f0f0ec;
    border-color: #999;
    transform: translateY(-4px);
}
/* When the see-all card sits inside a hotspot grid it also carries the
   hotspot-card class — neutralise the inherited white-card look so both
   "view all" cards share the exact same dashed style. */
.species-hotspot-card.species-see-all-card,
.country-hotspot-card.species-see-all-card {
    background: #f7f7f5;
    border: 1.5px dashed #ccc;
    box-shadow: none;
    overflow: visible;
    border-radius: 16px;
}
.species-hotspot-card.species-see-all-card:hover,
.country-hotspot-card.species-see-all-card:hover {
    background: #f0f0ec;
    border-color: #999;
    box-shadow: none;
    transform: translateY(-4px);
}
.species-see-all-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px;
    text-align: center;
}
.species-see-all-count {
    font-weight: 700;
    color: #627085;
    letter-spacing: -0.5px;
}
.species-see-all-link {
    font-size: 13px;
    color: #666;
    letter-spacing: 0.3px;
}

/* ── Página completa de especies ──────────────────────────────── */
.species-season-wrapper.species-full-page {
    margin-left: 0;
    margin-right: 0;
    padding-top: 0;
}

@media (max-width: 768px) {
    .species-season-grid    { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .species-season-filter  { padding: 8px 14px; min-width: 50px; font-size: 12px; }
}

/* =============================================================
   COUNTRY TOP SPECIES — Slider compacto
   ============================================================= */

.country-species-wrapper {
    padding: 0;
    margin-bottom: 0;
    position: relative;
}

/* La barra de filtro va por encima del degradado del slider */
.country-species-wrapper .wa-tours-filterbar {
    position: relative;
    z-index: 3;
}

/* Degradado fade derecha */
.country-species-wrapper::after {
    content: "";
    position: absolute;
    top: 0; right: 0;
    width: 120px; height: calc(100% - 11px);
    pointer-events: none;
    background: linear-gradient(to right, rgba(255,255,255,0), rgba(255,255,255,1) 80%);
    z-index: 2;
    transition: opacity 0.4s ease;
}
.country-species-wrapper.fade-hidden::after { opacity: 0; }

/* Degradado fade izquierda */
.country-species-wrapper::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 120px; height: calc(100% - 11px);
    pointer-events: none;
    background: linear-gradient(to left, rgba(255,255,255,0), rgba(255,255,255,1) 80%);
    z-index: 2;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.country-species-wrapper.show-left::before { opacity: 1; }

/* Barra de progreso */
.country-species-track {
    height: 3px;
    background: #f0f0f0;
    border-radius: 999px;
    margin-top: 14px;
    overflow: hidden;
}

.country-species-progress {
    height: 100%;
    background: #5f7f9f;
    border-radius: 999px;
    width: 0%;
    transition: width .12s ease;
}

/* Filtros — texto con separador */
.country-type-filters {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 14px;
}

.country-type-filter {
    background: none !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    color: #aaa !important;
    cursor: pointer !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    transition: color .2s ease !important;
}

.country-type-filter:hover  { color: #555 !important; }
.country-type-filter.active { color: #111 !important; font-weight: 700 !important; }

.country-type-filter:not(:last-child)::after {
    content: "|";
    display: inline-block;
    margin: 0 10px;
    color: #e0e0e0;
    font-weight: 400;
}

/* Slider */
.country-species-grid {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    overflow-y: clip;
    flex-wrap: nowrap;
    scroll-snap-type: x proximity;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
}
.country-species-grid:active { cursor: grabbing; }
.country-species-grid::-webkit-scrollbar { display: none; }

/* Card compacta */
.country-species-card {
    display: flex;
    flex-direction: column;
    flex: 0 0 160px;
    width: 160px;
    min-width: 160px;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    border: 1px solid #ececec;
    background: #fff;
    scroll-snap-align: start;
    transition: transform .25s ease, border-color .2s ease;
}

.country-species-card:hover {
    transform: translateY(-3px);
    border-color: #b0bec8;
}

/* Imagen */
.country-species-image {
    height: 160px;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}

.country-species-image img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
    transition: transform .35s ease;
}

.country-species-card:hover .country-species-image img { transform: scale(1.05); }

/* Overlay con nombre */
.country-species-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 30%, rgba(0,0,0,0.68) 100%);
    display: flex;
    align-items: flex-end;
    padding: 10px;
    pointer-events: none;
}

.country-species-name-block { width: 100%; }

.country-species-english {
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

/* Meta */
.country-species-content {
    padding: 8px 10px 10px;
}

.country-species-scientific {
    font-size: 11px;
    font-style: italic;
    color: #888;
    line-height: 1.3;
    margin-bottom: 2px;
}

.country-species-spanish {
    font-size: 12px;
    font-weight: 500;
    color: #222;
    line-height: 1.2;
}

/* =============================================================
   HOTSPOT HERO RATING
   ============================================================= */

.wa-hero-rating-row {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 14px;
}

.wa-write-review-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 999px;
    color: rgba(255,255,255,0.75);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.3px;
    padding: 6px 14px;
    cursor: not-allowed;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: background .2s ease, color .2s ease;
}

.wa-hero-rating {
    display: flex;
    align-items: center;
    gap: 10px;
}

.wa-hero-rating__stars {
    display: flex;
    gap: 3px;
}

.wa-star {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    width: 22px;
    height: 22px;
    color: rgba(255,255,255,0.25);
    transition: color .15s ease, transform .15s ease;
    line-height: 1;
}

.wa-star svg {
    width: 100%;
    height: 100%;
    display: block;
}

.wa-star.is-filled,
.wa-star.is-hovered { color: #f5c542; }

.wa-star:hover,
.wa-star:focus-visible { transform: scale(1.15); outline: none; }

.wa-hero-rating--guest .wa-star { cursor: default; }

.wa-hero-rating--saving { opacity: 0.6; pointer-events: none; }

.wa-hero-rating__count {
    font-size: 12px;
    font-weight: 500;
    color: rgba(255,255,255,0.65);
    letter-spacing: 0.3px;
    white-space: nowrap;
}

/* =============================================================
   GD_PLACE — single-gd_place.php (hotspots)
   ============================================================= */

.place-container {
    width: 100%;
    margin: auto;
    padding-top: 0;
}

.place-card {
    background: #fff;
    box-shadow: 0 15px 50px rgba(0,0,0,0.08);
    padding: 0 20px 20px;
}

.place-title {
    font-size: 72px;
    font-weight: 800;
    letter-spacing: -2px;
    line-height: 0.95;
    color: #111;
    margin-bottom: 18px;
    text-transform: capitalize;
}

.place-meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 60px;
}

.category-name {
    font-size: 20px;
    font-style: normal;
    color: #fff;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    opacity: 0.82;
}

.country-name {
    font-size: 16px;
    color: #fff;
    text-transform: none;
    letter-spacing: 0;
    font-weight: 400;
    opacity: 0.68;
}

/* Hero */

.place-hero-banner {
    position: relative;
    margin-left: -20px;
    margin-right: -20px;
    height: 550px;
    overflow: hidden;
    margin-top: 0 !important;
}

.place-hero-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.place-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.45) 35%, rgba(0,0,0,0.08) 100%);
}

.place-hero-content {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 0 45px 38px;
}

.place-hero-content .place-title {
    margin: 0 0 10px;
    color: #fff;
    font-size: clamp(42px, 5vw, 72px);
    line-height: 0.92;
    font-weight: 800;
    letter-spacing: -2px;
    max-width: 75%;
    text-wrap: balance;
    text-shadow: 0 3px 20px rgba(0,0,0,0.5);
}

.place-hero-content .place-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 0;
    text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

.place-hero-content .separator { display: none; }

/* Mobile */

@media (max-width: 768px) {
    .place-hero-banner { height: 380px; }
    .place-hero-content { padding: 0 28px 28px; }
    .place-hero-content .place-title { font-size: 48px; }
}

/* =============================================================
   OPERATOR — single-operator.php
   ============================================================= */

.operator-container {
    width: 100%;
    margin: auto;
    padding-top: 0;
}

.operator-card {
    background: #fff;
    box-shadow: 0 15px 50px rgba(0,0,0,0.08);
    padding: 0 20px 20px;
}

.operator-title {
    font-size: 72px;
    font-weight: 800;
    letter-spacing: -2px;
    line-height: 0.95;
    color: #111;
    margin-bottom: 18px;
    text-transform: capitalize;
}

.operator-meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 60px;
}

/* Hero */

.operator-hero-banner {
    position: relative;
    margin-left: -20px;
    margin-right: -20px;
    height: 550px;
    overflow: hidden;
    margin-top: 0 !important;
}

.operator-hero-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.operator-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.45) 35%, rgba(0,0,0,0.08) 100%);
}

.operator-hero-content {
    position: absolute;
    inset: 0;
    z-index: 5;
}

.operator-hero-content .operator-title {
    position: absolute;
    left: 45px;
    bottom: 95px;
    margin: 0;
    color: #fff;
    font-size: clamp(42px, 5vw, 72px);
    line-height: 0.92;
    font-weight: 800;
    letter-spacing: -2px;
    max-width: 75%;
    text-wrap: balance;
    text-shadow: 0 3px 20px rgba(0,0,0,0.5);
}

/* Reviews + Follow row sits just under the title (same look as hotspots) */
.operator-hero-content .wa-hero-rating-row {
    position: absolute; left: 45px; bottom: 40px; margin: 0; z-index: 10;
}
.operator-hero-content .wa-hero-claim {
    position: absolute; left: 45px; bottom: 12px; margin: 0; z-index: 10;
}

.operator-hero-content .operator-meta {
    position: absolute;
    left: 45px;
    bottom: 38px;
    display: flex !important;
    flex-direction: row !important;
    align-items: baseline;
    gap: 12px;
    flex-wrap: nowrap;
    white-space: nowrap;
    margin: 0;
    color: #fff !important;
    z-index: 10;
    text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

.operator-hero-content .separator {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.65) !important;
    font-size: 18px;
    margin: 0 2px;
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .operator-hero-banner { height: 380px; }
    .operator-hero-content .operator-title { font-size: 48px; left: 28px; bottom: 95px; }
    .operator-hero-content .operator-meta  { left: 28px; right: auto; bottom: 38px; font-size: 18px; }
    .operator-hero-content .wa-hero-rating-row { left: 28px; }
    .operator-hero-content .wa-hero-claim { left: 28px; }
}

/* =============================================================
   FOOTER
   ============================================================= */

.wa-footer {
    background: #1a1e24;
    color: #aaa;
    font-size: 13px;
    margin-top: 0;
}

.wa-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 56px 40px 32px;
}

/* Main row: brand + cols */
.wa-footer-main {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 48px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}

.wa-footer-brand {
    flex-shrink: 0;
}

.wa-footer-logo {
    display: inline-block;
    text-decoration: none;
}
.wa-footer-logo-img {
    height: 52px;
    width: auto;
    display: block;
    opacity: 0.9;
    transition: opacity .2s ease;
}
.wa-footer-logo:hover .wa-footer-logo-img { opacity: 1; }

.wa-footer-tagline {
    font-size: 12px;
    color: #666;
    margin: 0;
    font-style: italic;
}

/* Columns */
.wa-footer-cols {
    display: flex;
    gap: 64px;
}

.wa-footer-col-title {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #fff;
    margin: 0 0 16px;
}

.wa-footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.wa-footer-col ul li a {
    color: #888;
    text-decoration: none;
    font-size: 13px;
    transition: color .15s ease;
}
.wa-footer-col ul li a:hover { color: #4fadd4; }

/* Bottom bar */
.wa-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 24px;
    font-size: 12px;
    color: #555;
}

.wa-footer-copy { color: #555; }

.wa-footer-legal {
    display: flex;
    align-items: center;
    gap: 8px;
}

.wa-footer-legal a {
    color: #555;
    text-decoration: none;
    transition: color .15s ease;
}
.wa-footer-legal a:hover { color: #4fadd4; }

.wa-footer-dot { color: #444; }

/* Responsive */
@media (max-width: 768px) {
    .wa-footer-main {
        flex-direction: column;
        gap: 32px;
    }
    .wa-footer-cols { gap: 40px; }
    .wa-footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* =============================================================
   SCROLL TO TOP
   ============================================================= */

#ast-scroll-top {
    width: 36px !important;
    height: 36px !important;
    background: rgba(30,34,40,0.45) !important;
    border-radius: 50% !important;
    box-shadow: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: background .25s ease, transform .25s ease !important;
    bottom: 24px !important;
    right: 24px !important;
    backdrop-filter: blur(6px) !important;
    -webkit-backdrop-filter: blur(6px) !important;
}

#ast-scroll-top:hover {
    background: rgba(30,34,40,0.72) !important;
    transform: translateY(-2px) !important;
    box-shadow: none !important;
}

#ast-scroll-top .ast-arrow-svg {
    width: 12px !important;
    height: 12px !important;
    fill: rgba(255,255,255,0.75) !important;
    transform: rotate(180deg);
}

/* Social icons */
.wa-footer-social {
    display: flex;
    gap: 16px;
    align-items: center;
}

.wa-social-link {
    color: rgba(255,255,255,0.4);
    transition: color .2s ease;
    display: flex;
    align-items: center;
}

.wa-social-link:hover {
    color: rgba(255,255,255,0.85);
}

/* =============================================================
   LAYOUT — Eliminar gap entre contenido y footer
   ============================================================= */

#content,
.ast-container,
.site-content,
.ast-article-post,
.ast-page-builder-template .entry-content,
.entry-content {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

#primary {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

/* =============================================================
   LOCAL GUIDES & TOURS
   ============================================================= */

.wa-tours-section {
    margin: 0;
}

.wa-tours-title {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 28px;
}

.wa-tours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

/* Card */
.wa-tour-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.07);
    display: flex;
    flex-direction: column;
    transition: transform .2s ease, box-shadow .2s ease;
}

.wa-tour-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.11);
}

.wa-tour-card--unavailable {
    opacity: 0.6;
}

/* Image */
.wa-tour-card__image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.wa-tour-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .35s ease;
}

.wa-tour-card:hover .wa-tour-card__image img {
    transform: scale(1.04);
}

.wa-tour-card__badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.wa-tour-badge {
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.wa-tour-badge--type {
    background: rgba(0,0,0,0.5);
    color: #fff;
}

.wa-tour-badge--diff-easy     { background: rgba(79,173,100,0.85); color: #fff; }
.wa-tour-badge--diff-moderate { background: rgba(230,160,40,0.85); color: #fff; }
.wa-tour-badge--diff-hard     { background: rgba(210,70,60,0.85); color: #fff; }

.wa-tour-badge--full      { background: rgba(180,100,0,0.85); color: #fff; }
.wa-tour-badge--cancelled { background: rgba(150,50,50,0.85); color: #fff; }

/* Body */
.wa-tour-card__body {
    padding: 18px 20px 0;
    flex: 1;
}

.wa-tour-card__operator {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #4fadd4;
    text-decoration: none;
    display: block;
    margin-bottom: 6px;
}

.wa-tour-card__operator:hover { color: #3a9abf; }

.wa-tour-card__title {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 8px;
    letter-spacing: -0.2px;
}

.wa-tour-card__title a {
    color: #111;
    text-decoration: none;
}

.wa-tour-card__title a:hover { color: #4fadd4; }

.wa-tour-card__excerpt {
    font-size: 13px;
    color: #777;
    line-height: 1.6;
    margin: 0 0 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Meta */
.wa-tour-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding-bottom: 16px;
}

.wa-tour-meta-item {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: #888;
}

.wa-tour-meta-item svg {
    flex-shrink: 0;
    color: #bbb;
}

/* Footer */
.wa-tour-card__footer {
    padding: 14px 20px 18px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.wa-tour-price-amount {
    font-size: 20px;
    font-weight: 800;
    color: #111;
    letter-spacing: -0.5px;
}

.wa-tour-price-label {
    font-size: 12px;
    color: #aaa;
    margin-left: 2px;
}

.wa-tour-book-btn {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    text-align: center;
    text-decoration: none;
    background: #e8234a;
    color: #fff !important;
    transition: background .2s ease, transform .1s ease;
    white-space: nowrap;
}

.wa-tour-book-btn:hover {
    background: #c41a3c;
    transform: translateY(-1px);
    color: #fff !important;
}

@media (max-width: 600px) {
    .wa-tours-grid { grid-template-columns: 1fr; }
}

/* =============================================================
   TOUR — single-tour.php
   ============================================================= */

/* page-body emite .{type}-container/.{type}-card → hide comparte el de tour */
.tour-container,
.hide-container { width: 100%; margin: auto; padding-top: 0; }

.tour-card,
.hide-card {
    background: #fff;
    box-shadow: 0 15px 50px rgba(0,0,0,0.08);
    padding: 0 20px 40px;
}

/* Hero */
.tour-hero-banner {
    position: relative;
    margin-left: -20px;
    margin-right: -20px;
    height: 500px;
    overflow: hidden;
    margin-top: 0 !important;
}
.tour-hero-banner img {
    width: 100%; height: 100%; object-fit: cover;
    position: absolute; top: 0; left: 0;
}
.tour-hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.3) 50%, transparent 100%);
}
.tour-hero-content {
    position: absolute; inset: 0; z-index: 5;
    display: flex; flex-direction: column;
    justify-content: flex-end;
    padding: 0 45px 38px;
}
.tour-hero-operator {
    font-size: 11px; font-weight: 700;
    letter-spacing: 2px; text-transform: uppercase;
    color: rgba(255,255,255,0.7); text-decoration: none;
    margin-bottom: 8px; display: block;
}
.tour-hero-operator:hover { color: #fff; }
.tour-title {
    font-size: clamp(32px, 4vw, 58px);
    font-weight: 800; letter-spacing: -1.5px;
    line-height: 0.95; color: #fff; margin: 0 0 14px;
    max-width: 75%; text-shadow: 0 3px 20px rgba(0,0,0,0.5);
}
.tour-hero-badges { display: flex; gap: 8px; flex-wrap: wrap; }

/* Body layout */
.tour-body {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 48px;
    margin-top: 40px;
    align-items: start;
}

/* Main */
.tour-description { font-size: 17px; line-height: 1.85; color: #333; margin-bottom: 40px; }
.tour-section-label {
    font-size: 10px; font-weight: 700;
    letter-spacing: 2px; text-transform: uppercase;
    color: #aaa; margin-bottom: 12px;
}
.tour-included { font-size: 15px; color: #555; line-height: 1.8; }

/* Sidebar */
.tour-sidebar-card {
    background: #f8f9fb;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 16px;
}
.tour-sidebar-price { margin-bottom: 20px; }
.tour-price-amount { font-size: 36px; font-weight: 800; color: #111; letter-spacing: -1px; }
.tour-price-label  { font-size: 13px; color: #aaa; margin-left: 4px; }

.tour-book-btn-full {
    display: block;
    text-align: center;
    padding: 12px 20px;
    font-size: 12px;
    border-radius: 10px;
}
.tour-status-msg { font-size: 13px; color: #888; text-align: center; padding: 10px 0; }

/* Details */
.tour-sidebar-details { background: #f8f9fb; border-radius: 16px; padding: 20px 24px; }
.tour-detail-row {
    display: flex; justify-content: space-between;
    align-items: baseline; gap: 12px;
    padding: 10px 0; border-bottom: 1px solid #eee;
    font-size: 13px;
}
.tour-detail-row:last-child { border-bottom: none; }
.tour-detail-label { color: #aaa; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; font-size: 10px; white-space: nowrap; }
.tour-detail-value { color: #222; font-weight: 500; text-align: right; }
.tour-detail-value a { color: #4fadd4; text-decoration: none; }
.tour-detail-value a:hover { text-decoration: underline; }

@media (max-width: 768px) {
    .tour-body { grid-template-columns: 1fr; }
    .tour-sidebar { order: -1; }
    .tour-title { max-width: 100%; }
    .tour-hero-content { padding: 0 24px 28px; }
}

/* Tour status pill */
.wa-tour-badge--available  { background: rgba(34,139,34,0.85);  color: #fff; }
.wa-tour-badge--full       { background: rgba(200,50,50,0.85);  color: #fff; }
.wa-tour-badge--cancelled  { background: rgba(200,50,50,0.85);  color: #fff; }

/* Included / Not included grid */
.tour-included-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 40px;
}
.tour-included-block {
    background: #f8f9fb;
    border-radius: 12px;
    padding: 20px;
    font-size: 14px;
    color: #555;
    line-height: 1.8;
}
.tour-included-block--yes .tour-section-label { color: #3a9a5c; }
.tour-included-block--no  .tour-section-label { color: #c03030; }

@media (max-width: 600px) {
    .tour-included-grid { grid-template-columns: 1fr; }
}

/* =============================================================
   EXPERIENCE CARD — compacta (country preview + full grid)
   ============================================================= */

.wa-exp-card {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    box-shadow: 0 4px 18px rgba(0,0,0,0.10);
    transition: transform .25s ease, box-shadow .25s ease;
    display: block;
    text-decoration: none;
}

.wa-exp-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 32px rgba(0,0,0,0.16);
}

.wa-exp-card__img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .35s ease;
}

.wa-exp-card:hover .wa-exp-card__img {
    transform: scale(1.04);
}

.wa-exp-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.2) 55%, transparent 100%);
}

.wa-exp-card__top {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    gap: 6px;
}

.wa-exp-card__bottom {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 14px 16px;
}

.wa-exp-card__operator {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.65);
    margin-bottom: 4px;
    display: block;
}

.wa-exp-card__title {
    font-size: 16px;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    letter-spacing: -0.3px;
    margin: 0 0 8px;
    text-shadow: 0 1px 6px rgba(0,0,0,0.4);
}

.wa-exp-card__meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: rgba(255,255,255,0.82);
}

.wa-exp-card__price {
    font-weight: 700;
    font-size: 14px;
    color: #fff;
}

.wa-exp-card__sep {
    width: 3px; height: 3px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    display: inline-block;
}

/* Grid preview (country page — 3 cards) */
/* Full grid (experiences page + operator) */
.wa-exp-full-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 22px;
    margin-top: 28px;
}

@media (max-width: 768px) {
    }

.wa-exp-viewmore-btn {
    display: inline-block;
    padding: 11px 28px;
    border: 1.5px solid #1a1e24;
    border-radius: 32px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #1a1e24;
    text-decoration: none;
    transition: all .2s ease;
}

.wa-exp-viewmore-btn:hover {
    background: #1a1e24;
    color: #fff;
}

/* =============================================================
   PAGE SECTIONS
   ============================================================= */

.wa-section {
    padding-top: 15px;
    margin-bottom: 15px;
}

/* =============================================================
   STICKY SIDEBAR NAV
   ============================================================= */

.wa-sidenav {
    position: fixed;
    z-index: 200;
    display: flex;
    flex-direction: column;
    gap: 8px;
    pointer-events: none;
    margin-top: 20px;
    /* left + top set by JS */
}

.wa-sidenav__item {
    pointer-events: all;
    display: flex;
    align-items: center;
    gap: 7px;
    text-decoration: none;
    padding: 2px 0;
    opacity: 0.35;
    color: #657083;
    transition: opacity .2s ease, color .2s ease;
}

.wa-sidenav__item:hover { opacity: 0.7; }

.wa-sidenav__item.is-active {
    opacity: 1;
    color: #657083;
}

.wa-sidenav__label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: inherit;
    white-space: nowrap;
}

.wa-sidenav__arrow {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
    color: inherit;
    opacity: 0;
    transform: translateX(-4px);
    transition: opacity .2s ease, transform .25s ease;
}

.wa-sidenav__item:hover .wa-sidenav__arrow,
.wa-sidenav__item.is-active .wa-sidenav__arrow {
    opacity: 1;
    transform: translateX(0);
}


/* =============================================================
   HOTSPOT — Contact section
   ============================================================= */

.hotspot-contact-card {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    flex-wrap: wrap;
}

/* Contact details block */
.hc-details-block {
    flex: 1;
    min-width: 220px;
    background: #f8f9fb;
    border-radius: 16px;
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.hc-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid #eef0f3;
}

.hc-row:last-child { border-bottom: none; }

.hc-row__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #fff;
    flex-shrink: 0;
    color: #5f7f9f;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.hc-row__icon svg { width: 15px; height: 15px; }

.hc-row__body {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}

.hc-row__label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #aaa;
}

.hc-row__value {
    font-size: 14px;
    font-weight: 500;
    color: #2b3546;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hc-row__value a {
    color: inherit;
    text-decoration: none;
    transition: color .15s ease;
}

.hc-row__value a:hover { color: #5f7f9f; }

/* Social block */
.hc-socials-block {
    background: #f8f9fb;
    border-radius: 16px;
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
}

.hc-block-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #aaa;
}

.hc-socials {
    display: flex;
    gap: 10px;
}

.hc-social {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    color: #657083;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    text-decoration: none;
    transition: color .18s ease, background .18s ease, transform .15s ease, box-shadow .15s ease;
}

.hc-social svg { width: 17px; height: 17px; }

.hc-social:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.hc-social--instagram:hover { color: #c13584; background: rgba(193,53,132,.06); }
.hc-social--facebook:hover  { color: #1877f2; background: rgba(24,119,242,.06); }
.hc-social--twitter:hover   { color: #111;    background: rgba(0,0,0,.04); }

/* ── Search results page ──────────────────────────────────────────────────── */

.wa-search-page {
    min-height: 100vh;
    background: #f4f6f8;
}

/* Topbar */
.wa-search-topbar {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 0 40px;
    height: 48px;
    background: #0d1521;
    position: sticky;
    top: 0;
    z-index: 100;
}

.wa-search-back {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.45);
    text-decoration: none;
    transition: color .2s;
}
.wa-search-back:hover { color: rgba(255,255,255,0.9); }

.wa-search-topbar-query {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
}
.wa-search-label {
    color: rgba(255,255,255,0.3);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}
.wa-search-term {
    color: rgba(255,255,255,0.75);
    font-style: italic;
}

/* Header */
.wa-search-header {
    background: #fff;
    border-bottom: 1px solid #e8ecf0;
    padding: 36px 0 28px;
}
.wa-search-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}
.wa-search-title {
    font-size: 22px;
    font-weight: 600;
    color: #1a2535;
    margin: 0;
}
.wa-search-title em {
    font-style: italic;
    color: #4e6d88;
}

/* Body */
.wa-search-body {
    max-width: 1200px;
    margin: 0 auto;
    padding: 36px 40px 64px;
}

/* Group */
.wa-search-group {
    margin-bottom: 40px;
}
.wa-search-group-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #6b7a8d;
    margin: 0 0 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e8ecf0;
}
.wa-sgt-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
}
.wa-sgt-count {
    margin-left: auto;
    font-size: 10px;
    color: #aab0bb;
    font-weight: 500;
    letter-spacing: 0;
}

/* Cards grid */
.wa-search-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 10px;
}

.wa-search-card {
    background: #fff;
    border-radius: 8px;
    text-decoration: none;
    border: 1px solid #e8ecf0;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    transition: border-color .15s, box-shadow .15s;
}
.wa-search-card:hover {
    border-color: #c4cdd8;
    box-shadow: 0 3px 12px rgba(0,0,0,0.07);
}

.wa-sc-title {
    font-size: 14px;
    font-weight: 600;
    color: #1a2535;
    line-height: 1.3;
}
.wa-sc-meta {
    font-size: 12px;
    color: #8a95a3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Empty state */
.wa-search-empty {
    text-align: center;
    padding: 64px 0;
    color: #8a95a3;
}
.wa-search-empty p { margin-bottom: 16px; font-size: 15px; }
.wa-search-empty-cta {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #4e6d88;
    text-decoration: none;
}

/* Search page — break out of Astra container */
body.search-results #content.site-content,
body.search-results .ast-container,
body.search-results #primary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    float: none !important;
}
body.search-results .site-content > .ast-container {
    display: block !important;
}
body.search-results #primary { padding: 0 !important; }
body.search-results .ast-right-sidebar #secondary,
body.search-results .ast-left-sidebar #secondary { display: none !important; }

/* ============================================================
   AUTH — account button + login/register modal
   ============================================================ */
/* Header controls are ALWAYS integrated into the ATLAS topbar row (every
   resolution), except below 1024px where the logged-in box becomes a hamburger
   + full-screen menu. No floating corner column anymore.
       ← ATLAS .......... SIGN IN  EN ES  dark switch                          */
#wa-account-btn-wrap {
    position: absolute;        /* lives in the topbar; scrolls away with it */
    top: 0; right: 0; left: auto;
    z-index: 100000;
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 0;
    height: 46px;
    padding: 0 14px;
}
body.admin-bar #wa-account-btn-wrap { top: 32px; }
/* Topbar grows to host the controls as a single bar. */
.wildatlas-feature-band-topbar > [class$="-topbar"],
.country-topbar, .species-topbar, .operator-topbar, .place-topbar { height: 46px; }
/* Compact controls; even spacing, no dividers. */
#wa-account-btn-wrap .wa-langsw--inline,
#wa-account-btn-wrap .wa-theme-toggle--inline { margin: 0; }
#wa-account-btn-wrap > * + * { margin-left: 14px; }
#wa-account-btn-wrap .wa-account-btn { padding: 7px 13px; font-size: 12.5px; border-radius: 9px; box-shadow: none; }
#wa-account-btn-wrap .wa-account-btn:not(.is-logged-in) { margin-right: 10px; }
#wa-account-btn-wrap .wa-langsw--inline .wa-langsw-opt { padding: 5px 7px; font-size: 12px; }
#wa-account-btn-wrap .wa-theme-switch { padding: 2px; }
#wa-account-btn-wrap .wa-theme-switch-track { width: 40px; height: 22px; }
#wa-account-btn-wrap .wa-theme-switch-knob { width: 16px; height: 16px; }
html[data-theme="dark"] #wa-account-btn-wrap .wa-theme-switch-knob { transform: translateX(18px); }
/* Logged-in box is integrated into the topbar: no pill border/background, and a
   slightly smaller avatar so it isn't cramped against the 46px bar. */
#wa-account-btn-wrap .wa-account-btn.is-logged-in,
#wa-account-btn-wrap .wa-account-btn.is-logged-in:hover,
#wa-account-btn-wrap .wa-account-btn.is-logged-in:focus,
#wa-account-btn-wrap .wa-account-btn.is-logged-in:active {
    background: transparent;
    border: 0;
    border-color: transparent;
    box-shadow: none;
    padding: 0 2px;
}
#wa-account-btn-wrap .wa-account-btn.is-logged-in .wa-account-avatar { width: 28px; height: 28px; }
/* Exception — the HOME page has no ATLAS topbar to sit in, so the logged-in box
   keeps its pill (background + border) and a small offset from the top edge. */
body.wa-home #wa-account-btn-wrap { top: 16px; }
body.wa-home #wa-account-btn-wrap .wa-account-btn.is-logged-in,
body.wa-home #wa-account-btn-wrap .wa-account-btn.is-logged-in:hover,
body.wa-home #wa-account-btn-wrap .wa-account-btn.is-logged-in:focus,
body.wa-home #wa-account-btn-wrap .wa-account-btn.is-logged-in:active {
    background: #1a1e24;
    border: 1px solid rgba(255, 255, 255, .14);
    box-shadow: 0 4px 16px rgba(26, 30, 36, .28);
    padding: 8px 16px 8px 9px;
}

/* Apple-style dark-mode switch (header): sun · track · moon, no text */
.wa-theme-switch {
    display: inline-flex !important;
    align-items: center;
    gap: 9px;
    background: none !important;
    border: 0 !important;
    padding: 2px !important;
    cursor: pointer;
    box-shadow: none !important;
}
.wa-theme-switch:hover { background: none !important; }
.wa-theme-switch .wa-th-ico { flex: 0 0 auto; transition: color .2s ease, opacity .2s ease; }
/* Light: sun active (gold), moon dimmed. Dark: moon active, sun dimmed. */
.wa-theme-switch .wa-th-sun-ico  { color: #d39a2a; opacity: 1; }
.wa-theme-switch .wa-th-moon-ico { color: #9aa6b1; opacity: .55; }
html[data-theme="dark"] .wa-theme-switch .wa-th-sun-ico  { color: #7e8896; opacity: .55; }
html[data-theme="dark"] .wa-theme-switch .wa-th-moon-ico { color: #e8edf1; opacity: 1; }
.wa-theme-switch-track {
    position: relative;
    flex: 0 0 auto;
    width: 44px;
    height: 25px;
    border-radius: 999px;
    background: #cfd6dd;
    transition: background .2s ease;
}
.wa-theme-switch-knob {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 19px;
    height: 19px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .3);
    transition: transform .2s ease;
}
html[data-theme="dark"] .wa-theme-switch-track { background: #1f8a52; }
html[data-theme="dark"] .wa-theme-switch-knob { transform: translateX(19px); }

.wa-account-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 13px 24px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 13px;
    background: #1a1e24;
    color: #fff;
    font-size: 14.5px;
    font-weight: 600;
    letter-spacing: .03em;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(26, 30, 36, .28);
    transition: border-color .15s, box-shadow .15s, transform .15s;
    white-space: nowrap;
}
/* Astra paints button:focus blue and it sticks after clicking — reset it
   on every WildAtlas control (focus keeps the button's own base style). */
#wa-account-btn-wrap .wa-account-btn:focus,
#wa-account-btn-wrap .wa-account-btn:active {
    background: #1a1e24;
    color: #fff;
    border-color: rgba(255, 255, 255, .14);
    outline: none;
}
.wa-auth-modal .wa-auth-close:focus,
.wa-auth-modal .wa-auth-eye:focus {
    background: none;
    color: #aaa;
    outline: none;
    box-shadow: none;
}
.wa-auth-modal .wa-auth-submit:focus,
.wa-profile-form .wa-auth-submit:focus,
#wa-review-form .wa-auth-submit:focus {
    background: #1a1e24;
    color: #fff;
    outline: none;
}
.wa-reviews-write-btn:focus {
    background: #fff;
    color: #1a1e24;
    border-color: #e3e8ee;
    outline: none;
    box-shadow: none;
}
.wa-review-cancel:focus {
    background: none;
    color: #5f7f9f;
    outline: none;
    box-shadow: none;
}

/* ID-prefixed to beat Astra's global button:hover blue — stays dark, subtle lift */
#wa-account-btn-wrap .wa-account-btn:hover {
    background: #1a1e24;
    color: #fff;
    border-color: rgba(79, 173, 212, .6);
    box-shadow: 0 6px 20px rgba(26, 30, 36, .35);
    transform: translateY(-1px);
}
.wa-account-btn .wa-account-avatar {
    border-radius: 50%;
    display: block;
    box-shadow: 0 0 0 2px rgba(79, 173, 212, .85);
}
.wa-account-btn.is-logged-in { padding: 9px 18px 9px 10px; }

.wa-account-caret {
    color: #5f7f9f;
    transition: transform .18s;
}
.wa-account-btn[aria-expanded="true"] .wa-account-caret { transform: rotate(180deg); }
.wa-account-btn:hover .wa-account-caret { color: #4fadd4; }

.wa-account-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 14px;   /* line the dropdown up with the box's right margin (wrap padding) */
    min-width: 220px;
    background: #1a1e24;
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: 14px;
    box-shadow: 0 14px 40px rgba(26, 30, 36, .45);
    padding: 8px;
    z-index: 9999;
}
.wa-account-menu-head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px 12px;
    margin-bottom: 6px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.wa-account-menu-head img { border-radius: 50%; box-shadow: 0 0 0 2px rgba(79, 173, 212, .85); }
.wa-account-menu-name {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
}
.wa-account-menu-cat {
    display: block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #4fadd4;
    margin-top: 2px;
}
.wa-account-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 9px;
    color: #d9e0e7;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    transition: background .12s, color .12s;
}
.wa-account-menu a svg { color: #5f7f9f; flex-shrink: 0; }
.wa-account-menu a:hover { background: rgba(79, 173, 212, .14); }
.wa-account-menu a:hover svg { color: #4fadd4; }

/* Mobile-only chrome: brand + hamburger in the button, full-screen menu bar.
   Hidden on desktop (the avatar + name + caret dropdown stays as-is). */
.wa-account-brand, .wa-account-burger, .wa-account-menu-bar { display: none; }

/* ── Profile page ── */
.profile-container { width: 100%; } /* .ast-container is flex; stretch the only child */

.profile-card {
    background: #fff;
    box-shadow: 0 15px 50px rgba(0,0,0,0.08);
    padding: 0 20px 20px;
}

/* Card fills the content area down to the footer (generic — any wa_view page) */
body.wa-fullheight #content.site-content { display: flex; }
body.wa-fullheight #content .ast-container { width: 100%; } /* flex item would shrink-wrap otherwise */
body.wa-fullheight .ast-container > div[class*="-container"] {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 0; /* the usual `margin: auto` would vertically center inside the stretched flex parent */
}
body.wa-fullheight .wa-page-card { flex: 1; }

/* Hero + tabs span the full card width (cancel the card's side padding) */
.profile-card .wildatlas-feature-band-hero-banner { margin: 0 -20px; }

.profile-hero {
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 40px 48px;
    background: #1a1e24;
    color: #fff;
}
.profile-hero-avatar { border-radius: 50%; flex-shrink: 0; }
.profile-hero-info { flex: 1; min-width: 0; }
.profile-hero-name {
    margin: 0 0 6px;
    font-size: 32px;
    color: #fff;
}
.profile-hero-meta {
    display: flex;
    gap: 10px;
    font-size: 14px;
    color: #aaa;
}
.profile-hero-logout {
    padding: 8px 18px;
    border: 1px solid #5f7f9f;
    border-radius: 12px;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: background .15s, border-color .15s;
}
.profile-hero-logout:hover { background: #4fadd4; border-color: #4fadd4; color: #fff; }

.wa-profile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 18px;
}
.wa-profile-card {
    display: block;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e3e8ee;
    text-decoration: none;
    transition: box-shadow .15s, transform .15s;
}
.wa-profile-card:hover {
    box-shadow: 0 8px 22px rgba(26, 30, 36, .12);
    transform: translateY(-2px);
}
.wa-profile-card-img {
    aspect-ratio: 4 / 3;
    background: #f8f9fb;
}
.wa-profile-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.wa-profile-card-body { padding: 12px 14px 14px; }
.wa-profile-card-title {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #1a1e24;
}
.wa-profile-card-sub {
    display: block;
    font-size: 12.5px;
    font-style: italic;
    color: #5f7f9f;
    margin-top: 2px;
}
.wa-profile-card-stars {
    display: block;
    margin-top: 4px;
    font-size: 14px;
    color: #4fadd4;
    letter-spacing: 2px;
}
.wa-profile-empty {
    color: #888;
    font-size: 15px;
    padding: 8px 0;
}

/* Profile tab bar (under the hero) */
.profile-tabs {
    display: flex;
    gap: 2px;
    background: #1a1e24;
    padding: 0 48px;
    border-top: 1px solid rgba(255, 255, 255, .08);
}
.profile-tab {
    padding: 14px 22px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #aaa;
    text-decoration: none;
    border-bottom: 3px solid transparent;
    transition: color .15s, border-color .15s;
}
.profile-tab:hover { color: #fff; }
.profile-tab.is-active {
    color: #fff;
    border-bottom-color: #4fadd4;
}

/* Pagination */
.wa-profile-pagination {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 26px;
}
.wa-profile-page-btn {
    padding: 8px 18px;
    border: 1px solid #e3e8ee;
    border-radius: 12px;
    background: #fff;
    color: #1a1e24;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background .15s, color .15s, border-color .15s;
}
.wa-profile-page-btn:hover { background: #4fadd4; border-color: #4fadd4; color: #fff; }
.wa-profile-page-info { font-size: 14px; color: #5f7f9f; }

/* Edit profile form */
.wa-profile-form { max-width: 640px; }

.wa-profile-form-avatar {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 26px;
}
.wa-profile-avatar-preview {
    border-radius: 50%;
    width: 80px;
    height: 80px;
    object-fit: cover;
}
.wa-profile-avatar-btn {
    display: inline-block;
    padding: 8px 18px;
    border: 1px solid #e3e8ee;
    border-radius: 12px;
    background: #fff;
    font-size: 13px;
    font-weight: 600;
    color: #1a1e24;
    cursor: pointer;
    transition: background .15s, color .15s, border-color .15s;
}
.wa-profile-avatar-label:hover .wa-profile-avatar-btn { background: #4fadd4; border-color: #4fadd4; color: #fff; }
.wa-profile-avatar-hint {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: #888;
}

.wa-profile-form-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px 22px;
}
.wa-profile-form-fields label {
    display: block;
    margin-bottom: 14px;
    font-size: 13px;
    font-weight: 600;
    color: #5f7f9f;
}
.wa-profile-form-full { grid-column: 1 / -1; }
.wa-profile-optional { font-weight: 400; color: #aaa; }

.wa-profile-form-fields input,
.wa-profile-form-fields textarea {
    display: block;
    width: 100%;
    margin-top: 5px;
    padding: 10px 13px;
    border: 1px solid #e3e8ee;
    border-radius: 10px;
    font-size: 15px;
    color: #1a1e24;
    background: #fff;
}
.wa-profile-form-fields input:focus,
.wa-profile-form-fields textarea:focus {
    border-color: #4fadd4;
    outline: none;
    box-shadow: 0 0 0 3px rgba(79, 173, 212, .15);
}

.wa-profile-form-msg { margin: 0 0 14px; font-size: 14px; }
.wa-profile-form-msg.is-error   { color: #ff3040; }
.wa-profile-form-msg.is-success { color: #2e9e5b; }

.wa-profile-save { max-width: 220px; }

@media (max-width: 700px) {
    .wa-profile-form-fields { grid-template-columns: 1fr; }
    .profile-tabs { padding: 0 16px; overflow-x: auto; }
}

/* ============================================================
   REVIEWS — Google-style hotspot reviews
   ============================================================ */
/* Review page container (same card pattern as other templates) */
.review-container { width: 100%; margin: auto; padding-top: 0; }
.review-card {
    background: #fff;
    box-shadow: 0 15px 50px rgba(0,0,0,0.08);
    padding: 0 20px 20px;
}

/* ── My Lists ── */
.wa-lists-create {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 560px;
    margin-bottom: 28px;
}
.wa-lists-create input {
    flex: 1;
    padding: 11px 14px;
    border: 1px solid #e3e8ee;
    border-radius: 10px;
    font-size: 15px;
    color: #1a1e24;
}
.wa-lists-create input:focus {
    border-color: #4fadd4;
    outline: none;
    box-shadow: 0 0 0 3px rgba(79, 173, 212, .15);
}
.wa-lists-create .wa-lists-create-btn.wa-auth-submit {
    width: auto;
    max-width: none;
    flex-shrink: 0;
    padding: 11px 22px;
}
.wa-lists-create-msg { font-size: 13px; color: #ff3040; }

.wa-lists-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
}
.wa-list-card {
    position: relative;
    border: 1px solid #e3e8ee;
    border-radius: 14px;
    background: #fff;
    transition: box-shadow .15s, transform .15s;
}
.wa-list-card:hover {
    box-shadow: 0 8px 22px rgba(26, 30, 36, .12);
    transform: translateY(-2px);
}
.wa-list-card-link {
    display: block;
    padding: 18px 44px 48px 18px; /* room for the Share pill bottom-right */
    text-decoration: none;
}
.wa-list-card-name {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: #1a1e24;
}
.wa-list-card-count {
    display: block;
    margin-top: 4px;
    font-size: 13px;
    color: #5f7f9f;
}
.wa-list-card-delete,
.wa-list-item-remove {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: none;
    box-shadow: none;
    font-size: 20px;
    line-height: 28px;
    color: #aaa;
    cursor: pointer;
    transition: background .12s, color .12s;
}
.wa-list-card-delete:hover,
.wa-list-item-remove:hover,
.wa-list-card-delete:focus,
.wa-list-item-remove:focus {
    background: rgba(255, 48, 64, .10);
    color: #d92638;
    outline: none;
    box-shadow: none;
}
.wa-profile-card-wrap { position: relative; }
.wa-profile-card-wrap .wa-list-item-remove {
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 1px 6px rgba(26, 30, 36, .18);
}

.wa-list-detail-head { margin-bottom: 18px; }
.wa-list-detail-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.wa-list-share {
    position: absolute;
    bottom: 12px;
    right: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 13px;
    border: 1px solid #e3e8ee;
    border-radius: 999px;
    background: #fff;
    color: #5f7f9f;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: none;
    transition: border-color .15s, color .15s;
}
.wa-list-share:hover,
.wa-list-share:focus {
    background: #fff;
    border-color: #4fadd4;
    color: #4fadd4;
    outline: none;
    box-shadow: none;
}
.wa-list-share.is-copied {
    border-color: #2e9e5b;
    color: #2e9e5b;
}

/* "Edit list" pill — same look as Share, bottom-left on cards */
.wa-obs-edit {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 13px;
    border: 1px solid #e3e8ee;
    border-radius: 999px;
    background: #fff;
    color: #5f7f9f;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: none;
    transition: border-color .15s, color .15s;
}
.wa-obs-edit:hover,
.wa-obs-edit:focus {
    background: #fff;
    border-color: #4fadd4;
    color: #4fadd4;
    outline: none;
    box-shadow: none;
}
.wa-list-card .wa-obs-edit {
    position: absolute;
    bottom: 12px;
    left: 12px;
}
.wa-list-detail-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Inline edit form (under the card / detail head) */
.wa-obs-edit-form {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    padding: 14px 16px;
    border: 1px solid #e3e8ee;
    border-radius: 14px;
    background: #f8f9fb;
}
.wa-obs-edit-form input[type="text"],
.wa-obs-edit-form input[type="date"],
.wa-obs-edit-form select {
    padding: 10px 13px;
    border: 1px solid #e3e8ee;
    border-radius: 10px;
    font-size: 14px;
    color: #1a1e24;
    background: #fff;
}
.wa-obs-edit-form input[name="title"] { flex: 2 1 220px; width: auto; }
.wa-obs-edit-form input[type="date"]  { flex: 0 0 160px; width: 160px; }
.wa-obs-edit-form select              { flex: 0 0 110px; width: 110px; }
.wa-obs-edit-form .wa-obs-hotspot-wrap { flex: 1 1 200px; }
.wa-obs-edit-form .wa-obs-hotspot-wrap input[type="text"] { width: 100%; }
.wa-obs-edit-form input:focus,
.wa-obs-edit-form select:focus {
    border-color: #4fadd4;
    outline: none;
    box-shadow: 0 0 0 3px rgba(79, 173, 212, .15);
}
.wa-obs-edit-form .wa-lists-create-btn.wa-auth-submit {
    width: auto;
    max-width: none;
    flex: 0 0 auto;
    padding: 10px 22px;
}
.wa-account-menu-logout {
    margin-top: 4px;
    border-top: 1px solid rgba(255, 255, 255, .08);
    border-radius: 0 0 9px 9px;
}
.shared-list-hero .profile-hero-logout { cursor: pointer; background: none; }
.wa-list-back {
    display: inline-block;
    margin-bottom: 8px;
    font-size: 13.5px;
    font-weight: 600;
    color: #5f7f9f;
    text-decoration: none;
}
.wa-list-back:hover { color: #4fadd4; }
.wa-list-detail-title {
    margin: 0;
    font-size: 24px;
    font-weight: 800;
    color: #1a1e24;
}
.wa-list-detail-count {
    font-size: 14px;
    font-weight: 600;
    color: #5f7f9f;
    margin-left: 8px;
}

/* "Add to list" dropdown (species page) */
.wa-list-menu {
    position: absolute;
    z-index: 100001;
    width: 280px;
    background: #fff;
    border: 1px solid #e3e8ee;
    border-radius: 14px;
    box-shadow: 0 14px 40px rgba(26, 30, 36, .22);
    padding: 8px;
}
.wa-list-menu-title {
    padding: 8px 12px 6px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #5f7f9f;
}
.wa-list-menu-item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 12px;
    border: 0;
    border-radius: 9px;
    background: none;
    box-shadow: none;
    font-size: 14px;
    font-weight: 600;
    color: #1a1e24;
    text-align: left;
    cursor: pointer;
    transition: background .12s;
}
.wa-list-menu-item:hover,
.wa-list-menu-item:focus {
    background: #f8f9fb;
    color: #1a1e24;
    outline: none;
    box-shadow: none;
}
.wa-list-menu-check {
    width: 18px;
    color: transparent;
    font-weight: 800;
    flex-shrink: 0;
}
.wa-list-menu-item.is-in .wa-list-menu-check { color: #2e9e5b; }
.wa-list-menu-name {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.wa-list-menu-count { font-size: 12px; color: #aaa; }
.wa-list-menu-flash {
    font-size: 11.5px;
    font-weight: 700;
    color: #2e9e5b;
    opacity: 0;
    transition: opacity .15s;
}
.wa-list-menu-flash.show { opacity: 1; }
.wa-list-menu-empty {
    padding: 8px 12px;
    font-size: 13px;
    color: #888;
}
.wa-list-menu-newbtn {
    display: block;
    width: 100%;
    margin-top: 4px;
    padding: 10px 12px;
    border: 0;
    border-top: 1px solid #eef1f5;
    border-radius: 0;
    background: none;
    box-shadow: none;
    font-size: 13.5px;
    font-weight: 700;
    color: #4fadd4;
    text-align: left;
    cursor: pointer;
}
.wa-list-menu-newbtn:hover,
.wa-list-menu-newbtn:focus {
    background: none;
    color: #2d7ea3;
    outline: none;
    box-shadow: none;
}
.wa-list-menu-create[hidden] { display: none; }
.wa-list-menu-create {
    display: flex;
    gap: 8px;
    padding: 4px 12px 10px;
}
.wa-list-menu-create input {
    flex: 1;
    min-width: 0;
    padding: 8px 10px;
    border: 1px solid #e3e8ee;
    border-radius: 8px;
    font-size: 13.5px;
}
.wa-list-menu-create input:focus {
    border-color: #4fadd4;
    outline: none;
}
.wa-list-menu-confirm {
    padding: 8px 14px;
    border: 0;
    border-radius: 8px;
    background: #1a1e24;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}
.wa-list-menu-confirm:hover,
.wa-list-menu-confirm:focus {
    background: #4fadd4;
    color: #fff;
    outline: none;
    box-shadow: none;
}
.wa-list-menu-manage {
    display: block;
    padding: 8px 12px 6px;
    font-size: 12.5px;
    font-weight: 600;
    color: #5f7f9f;
    text-decoration: none;
    border-top: 1px solid #eef1f5;
}
.wa-list-menu-manage:hover { color: #4fadd4; }

/* ── Observation Lists ── */
.wa-obs-stats {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 26px;
}
.wa-obs-stat {
    padding: 14px 22px;
    border: 1px solid #e3e8ee;
    border-radius: 14px;
    background: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: #5f7f9f;
    text-align: center;
}
.wa-obs-stat span {
    display: block;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: 0;
    color: #1a1e24;
    margin-bottom: 2px;
}

.wa-obs-create {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}
.wa-obs-create input[type="text"],
.wa-obs-create input[type="date"],
.wa-obs-create select {
    padding: 11px 14px;
    border: 1px solid #e3e8ee;
    border-radius: 10px;
    font-size: 14.5px;
    color: #1a1e24;
    background: #fff;
}
.wa-obs-create input[name="title"] { flex: 2 1 260px; width: auto; }
.wa-obs-create input[type="date"]  { flex: 0 0 170px; width: 170px; }
.wa-obs-create select              { flex: 0 0 120px; width: 120px; }
.wa-obs-hotspot-wrap               { flex: 1 1 220px; }
.wa-obs-create input[type="text"]:focus,
.wa-obs-create input[type="date"]:focus,
.wa-obs-create select:focus {
    border-color: #4fadd4;
    outline: none;
    box-shadow: 0 0 0 3px rgba(79, 173, 212, .15);
}
.wa-obs-hotspot-wrap { position: relative; }
.wa-obs-hotspot-wrap input[type="text"] { width: 100%; }

.wa-obs-search-results {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    z-index: 60;
    background: #fff;
    border: 1px solid #e3e8ee;
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(26, 30, 36, .16);
    padding: 6px;
    max-height: 320px;
    overflow-y: auto;
}
.wa-obs-search-results[hidden] { display: none; }
.wa-obs-result {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 9px 10px;
    border: 0;
    border-radius: 8px;
    background: none;
    box-shadow: none;
    font-size: 14px;
    color: #1a1e24;
    text-align: left;
    cursor: pointer;
}
.wa-obs-result:hover,
.wa-obs-result:focus {
    background: #f8f9fb;
    color: #1a1e24;
    outline: none;
    box-shadow: none;
}
.wa-obs-result img {
    width: 34px;
    height: 34px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}
.wa-obs-result-text { display: flex; flex-direction: column; min-width: 0; }
.wa-obs-result-name { font-weight: 600; }
.wa-obs-result-es { font-size: 12.5px; color: #4fadd4; }
.wa-obs-result-sci { font-size: 12px; color: #5f7f9f; }
.wa-obs-result--none { color: #888; cursor: default; }

.wa-obs-addspecies {
    position: relative;
    max-width: 560px;
    margin-bottom: 24px;
}
.wa-obs-addspecies input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e3e8ee;
    border-radius: 12px;
    font-size: 15px;
    color: #1a1e24;
    background: #fff;
}
.wa-obs-addspecies input:focus {
    border-color: #4fadd4;
    outline: none;
    box-shadow: 0 0 0 3px rgba(79, 173, 212, .15);
}

.wa-obs-detail-meta {
    margin-top: 6px;
    font-size: 14px;
    color: #5f7f9f;
}
.wa-obs-detail-meta a { color: #4fadd4; text-decoration: none; }
.wa-obs-lock { font-size: 14px; vertical-align: middle; }

.wa-obs-notes {
    display: block;
    width: 100%;
    margin-top: -4px;
    padding: 8px 12px;
    border: 0;
    border-top: 1px dashed #eef1f5;
    border-radius: 0 0 14px 14px;
    background: #fff;
    font-size: 12.5px;
    color: #555;
    resize: vertical;
    transition: background .3s;
}
.wa-obs-notes:focus { outline: none; background: #f8f9fb; }
.wa-obs-notes.is-saved { background: rgba(46, 158, 91, .10); }
.wa-profile-card-wrap .wa-obs-notes {
    border: 1px solid #e3e8ee;
    border-top: 0;
    margin-top: 0;
}
.wa-profile-card-wrap .wa-profile-card { border-radius: 14px 14px 0 0; }
.wa-profile-card-wrap:not(:has(.wa-obs-notes)) .wa-profile-card { border-radius: 14px; }

.wa-obs-card-notes {
    display: block;
    margin-top: 6px;
    font-size: 12.5px;
    color: #777;
    font-style: italic;
}
/* ── Collaborative lists ── */
.wa-collab-badge {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 999px;
    background: rgba(79, 173, 212, .12);
    color: #2d7ea3;
    font-size: 12px;
    font-weight: 700;
    vertical-align: middle;
    white-space: nowrap;
}
.wa-list-card-name .wa-collab-badge { padding: 1px 8px; font-size: 12px; }

.wa-collab-panel {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin: -6px 0 24px;
    padding: 9px 14px;
    border: 1px solid #e3e8ee;
    border-radius: 12px;
    background: #f8f9fb;
}
.wa-collab-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px 3px 4px;
    border: 1px solid #e3e8ee;
    border-radius: 999px;
    background: #fff;
    font-size: 12px;
    font-weight: 600;
    color: #1a1e24;
}
.wa-collab-chip img { border-radius: 50%; display: block; }
.wa-collab-chip em {
    font-style: normal;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: #5f7f9f;
}
.wa-collab-chip--owner { border-color: rgba(79, 173, 212, .5); }
.wa-collab-remove {
    width: 18px;
    height: 18px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: none;
    box-shadow: none;
    color: #aaa;
    font-size: 14px;
    line-height: 18px;
    cursor: pointer;
}
.wa-collab-remove:hover,
.wa-collab-remove:focus {
    background: rgba(255, 48, 64, .12);
    color: #d92638;
    outline: none;
    box-shadow: none;
}
.wa-collab-invite {
    position: relative;
    flex: 1;
    min-width: 150px;
    max-width: 220px;
}
.wa-collab-search {
    width: 100%;
    padding: 5px 11px;
    border: 1px solid #e3e8ee;
    border-radius: 999px;
    font-size: 12px;
    background: #fff;
}
.wa-collab-search:focus { border-color: #4fadd4; outline: none; }
/* Invite link bar — visible URL + Copy button, no popups */
.wa-collab-linkbar {
    display: inline-flex;
    align-items: stretch;
    min-width: 200px;
    max-width: 320px;
    border: 1px solid rgba(79, 173, 212, .45);
    border-radius: 999px;
    background: rgba(79, 173, 212, .10);
    overflow: hidden;
}
.wa-collab-linkinput {
    flex: 1;
    min-width: 0;
    padding: 4px 11px;
    border: 0;
    background: none;
    font-size: 11px;
    color: #2d7ea3;
    text-overflow: ellipsis;
}
.wa-collab-linkinput:focus { outline: none; }
.wa-collab-copy {
    padding: 0 12px;
    border: 0;
    border-left: 1px solid rgba(79, 173, 212, .35);
    border-radius: 0;
    background: #4fadd4;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: none;
    transition: background .15s;
}
.wa-collab-copy:hover,
.wa-collab-copy:focus {
    background: #2d7ea3;
    color: #fff;
    outline: none;
    box-shadow: none;
}
.wa-collab-copy.is-copied { background: #2e9e5b; }

.wa-obs-added-by {
    display: block;
    margin-top: 4px;
    font-size: 11.5px;
    font-weight: 600;
    color: #5f7f9f;
}
.wa-obs-result-kind { flex-shrink: 0; }
.wa-obs-result-loc { flex: 1; min-width: 0; }

.wa-obs-card-individuals {
    display: block;
    margin-top: 4px;
    font-size: 12.5px;
    font-weight: 700;
    color: #2e9e5b;
}

/* Photos + individuals row (obs detail card, Phase 4) */
.wa-obs-extras {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding: 8px 12px 10px;
    border: 1px solid #e3e8ee;
    border-top: 0;
    border-radius: 0 0 14px 14px;
    background: #fff;
}
.wa-obs-extras.is-uploading { opacity: .5; pointer-events: none; }
.wa-profile-card-wrap .wa-obs-notes { border-radius: 0; }

.wa-obs-individuals {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 13px;
    font-weight: 700;
    color: #5f7f9f;
}
.wa-obs-individuals-input {
    width: 52px;
    padding: 4px 6px;
    border: 1px solid #e3e8ee;
    border-radius: 8px;
    font-size: 12.5px;
    color: #1a1e24;
    transition: background .3s;
}
.wa-obs-individuals-input:focus { border-color: #4fadd4; outline: none; }
.wa-obs-individuals-input.is-saved { background: rgba(46, 158, 91, .12); }

.wa-obs-photolist {
    display: inline-flex;
    gap: 6px;
    flex-wrap: wrap;
}
.wa-obs-photo {
    position: relative;
    display: inline-block;
}
.wa-obs-photo img {
    width: 38px;
    height: 38px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}
.wa-obs-photo-del {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 18px;
    height: 18px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #1a1e24;
    color: #fff;
    font-size: 12px;
    line-height: 18px;
    cursor: pointer;
    box-shadow: 0 1px 4px rgba(26, 30, 36, .3);
}
.wa-obs-photo-del:hover,
.wa-obs-photo-del:focus {
    background: #d92638;
    color: #fff;
    outline: none;
    box-shadow: none;
}

.wa-obs-photo-add {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 2px dashed #d4dbe3;
    border-radius: 8px;
    color: #5f7f9f;
    cursor: pointer;
    transition: border-color .15s, color .15s;
}
.wa-obs-photo-add:hover { border-color: #4fadd4; color: #4fadd4; }

/* "N photos" gallery trigger */
.wa-obs-photos-link {
    padding: 0;
    border: 0;
    background: none;
    box-shadow: none;
    font-size: 12.5px;
    font-weight: 700;
    color: #4fadd4;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.wa-obs-photos-link:hover,
.wa-obs-photos-link:focus {
    background: none;
    color: #2d7ea3;
    outline: none;
    box-shadow: none;
}
.wa-obs-photos-link--public { margin: 8px 12px 12px; display: inline-block; }

/* Lightbox gallery */
#wa-gallery {
    position: fixed;
    inset: 0;
    z-index: 100002;
    background: rgba(15, 18, 22, .93);
    display: flex;
    align-items: center;
    justify-content: center;
}
#wa-gallery figure { margin: 0; text-align: center; max-width: 86vw; }
#wa-gallery img {
    max-width: 86vw;
    max-height: 78vh;
    border-radius: 12px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, .5);
    display: block;
    margin: 0 auto;
}
#wa-gallery figcaption {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: 14px;
    color: #aaa;
    font-size: 13.5px;
    font-weight: 600;
}
.wa-gallery-prev,
.wa-gallery-next {
    padding: 0 26px;
    border: 0;
    background: none;
    box-shadow: none;
    color: #fff;
    font-size: 58px;
    line-height: 1;
    cursor: pointer;
    user-select: none;
}
.wa-gallery-prev:hover, .wa-gallery-next:hover,
.wa-gallery-prev:focus, .wa-gallery-next:focus {
    background: none;
    color: #4fadd4;
    outline: none;
    box-shadow: none;
}
.wa-gallery-close {
    position: absolute;
    top: 16px;
    right: 26px;
    padding: 0;
    border: 0;
    background: none;
    box-shadow: none;
    color: #fff;
    font-size: 36px;
    line-height: 1;
    cursor: pointer;
}
.wa-gallery-close:hover,
.wa-gallery-close:focus {
    background: none;
    color: #4fadd4;
    outline: none;
    box-shadow: none;
}
.wa-gallery-delete {
    padding: 4px 14px;
    border: 1px solid rgba(255, 48, 64, .5);
    border-radius: 999px;
    background: none;
    box-shadow: none;
    color: #ff6b76;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}
.wa-gallery-delete:hover,
.wa-gallery-delete:focus {
    background: rgba(255, 48, 64, .15);
    color: #ff6b76;
    outline: none;
    box-shadow: none;
}

/* binoculars active state matches the other pill buttons */
.species-pill-btn.species-observe.active { color: #4fadd4; }

/* ── Hotspot community block (Phase 2) ── */
.wa-community-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}
.wa-community-total-number {
    display: block;
    font-size: 40px;
    font-weight: 800;
    line-height: 1;
    color: #1a1e24;
}
.wa-community-total-label {
    display: block;
    margin-top: 4px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: #5f7f9f;
}
/* "Start Observation List" — same visual language as the account box */
.wa-obs-start {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    width: auto;
    max-width: none;
    padding: 8px 24px 8px 8px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 13px;
    background: #1a1e24;
    color: #fff;
    font-size: 14.5px;
    font-weight: 600;
    letter-spacing: .03em;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(26, 30, 36, .28);
    transition: border-color .15s, box-shadow .15s, transform .15s;
    white-space: nowrap;
}
.wa-obs-start:hover,
.wa-obs-start:focus {
    background: #1a1e24;
    color: #fff;
    border-color: rgba(79, 173, 212, .6);
    box-shadow: 0 6px 20px rgba(26, 30, 36, .35);
    transform: translateY(-1px);
    outline: none;
}
.wa-obs-start:disabled { opacity: .6; cursor: wait; }

.wa-obs-start-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #2e9e5b;
    color: #fff;
    flex-shrink: 0;
}
.wa-obs-start-icon svg { width: 22px; height: 22px; display: block; }

/* Hero placement — top-left of the hotspot banner */
.place-hero-banner .wa-obs-start-hero {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 6;
}

/* "✓ In your observations" badge next to the species title */
.species-title .wa-title-badge.is-observed,
.species-title .wa-title-badge {
    display: inline-block;
    margin-left: 16px;
    padding: 6px 16px;
    border-radius: 999px;
    background: rgba(46, 158, 91, .9);
    border: 0;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    vertical-align: middle;
    white-space: nowrap;
    cursor: default;
}

.wa-community-subtitle {
    margin: 0 0 14px;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #1a1e24;
}
.wa-community-species { max-width: 640px; }
.wa-community-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 11px 0;
    border-bottom: 1px solid #eef1f5;
}
.wa-community-row:last-child { border-bottom: 0; }
.wa-community-row-name {
    flex: 1;
    font-size: 15px;
    font-weight: 600;
    color: #1a1e24;
    text-decoration: none;
}
.wa-community-row-name:hover { color: #4fadd4; }
.wa-community-row-reports { font-size: 13px; color: #5f7f9f; white-space: nowrap; }

.wa-community-label {
    padding: 3px 12px;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    white-space: nowrap;
}
.wa-community-label--very-high { background: rgba(46, 158, 91, .15);  color: #2e9e5b; }
.wa-community-label--high      { background: rgba(79, 173, 212, .15); color: #2d7ea3; }
.wa-community-label--common    { background: #f0f2f5;                 color: #555; }
.wa-community-label--rare      { background: rgba(245, 166, 35, .15); color: #b97c10; }
.wa-community-label--very-rare { background: rgba(217, 38, 56, .12);  color: #d92638; }

/* Species/country community metrics */
.wa-community-metrics {
    display: flex;
    gap: 36px;
    flex-wrap: wrap;
}
.wa-species-observed-badge {
    display: inline-block;
    padding: 9px 20px;
    border-radius: 999px;
    font-size: 13.5px;
    font-weight: 700;
    border: 1px solid #e3e8ee;
    background: #fff;
    color: #5f7f9f;
    cursor: pointer;
    box-shadow: none;
    transition: border-color .15s, color .15s;
}
.wa-species-observed-badge.is-observed {
    background: rgba(46, 158, 91, .12);
    border-color: rgba(46, 158, 91, .35);
    color: #2e9e5b;
    cursor: default;
}
button.wa-species-observed-badge:hover,
button.wa-species-observed-badge:focus {
    background: #fff;
    border-color: #4fadd4;
    color: #4fadd4;
    outline: none;
    box-shadow: none;
}

.wa-community-countries {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 18px;
}
.wa-community-country {
    padding: 5px 14px;
    border: 1px solid #e3e8ee;
    border-radius: 999px;
    background: #fff;
    font-size: 13px;
    font-weight: 600;
    color: #1a1e24;
    text-decoration: none;
}
a.wa-community-country:hover { border-color: #4fadd4; color: #4fadd4; }

/* Monthly distribution bars */
.wa-community-monthly { margin-top: 28px; max-width: 640px; }
.wa-community-bars {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 120px;
}
.wa-community-bar {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    height: 100%;
    position: relative;
}
.wa-community-bar-fill {
    display: block;
    width: 100%;
    max-width: 34px;
    border-radius: 6px 6px 0 0;
    background: #4fadd4;
    transition: height .2s;
}
.wa-community-bar:hover .wa-community-bar-fill { background: #2d7ea3; }
.wa-community-bar-label {
    margin-top: 6px;
    font-size: 11px;
    font-weight: 700;
    color: #5f7f9f;
}

/* Suggested species — mini cards with dashed borders (obs list detail) */
.wa-obs-suggested { margin: -8px 0 26px; }
.wa-obs-suggested-label {
    display: block;
    margin-bottom: 10px;
    font-size: 13px;
    font-weight: 600;
    color: #5f7f9f;
}
.wa-obs-suggested-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 12px;
}
.wa-obs-suggest {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border: 2px dashed #d4dbe3;
    border-radius: 14px;
    background: #fff;
    color: #1a1e24;
    text-align: left;
    cursor: pointer;
    box-shadow: none;
    transition: border-color .15s, background .15s;
}
.wa-obs-suggest:hover,
.wa-obs-suggest:focus {
    background: rgba(79, 173, 212, .05);
    border-color: #4fadd4;
    color: #1a1e24;
    outline: none;
    box-shadow: none;
}
.wa-obs-suggest:disabled { opacity: .5; }
.wa-obs-suggest img,
.wa-obs-suggest-noimg {
    width: 46px;
    height: 46px;
    object-fit: cover;
    border-radius: 10px;
    flex-shrink: 0;
    background: #f0f2f5;
}
.wa-obs-suggest-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.wa-obs-suggest-name {
    font-size: 13.5px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.wa-obs-suggest-es {
    font-size: 12px;
    color: #4fadd4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.wa-obs-suggest-sci {
    font-size: 11.5px;
    color: #5f7f9f;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.wa-obs-suggest-add {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #f0f2f5;
    color: #5f7f9f;
    font-size: 17px;
    font-weight: 700;
    line-height: 26px;
    text-align: center;
    flex-shrink: 0;
    transition: background .15s, color .15s;
}
.wa-obs-suggest:hover .wa-obs-suggest-add {
    background: #2e9e5b;
    color: #fff;
}

/* ── Master Admin Panel (Control Center) ── */
.wa-admin-subtitle {
    margin: 30px 0 14px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: #5f7f9f;
}
.wa-admin-alerts {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.wa-admin-alert {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border: 1px solid #e3e8ee;
    border-radius: 999px;
    background: #fff;
    font-size: 13px;
    font-weight: 600;
    color: #5f7f9f;
    text-decoration: none;
}
.wa-admin-alert.is-warn {
    border-color: rgba(245, 166, 35, .45);
    color: #b97c10;
    background: rgba(245, 166, 35, .07);
}
a.wa-admin-alert.is-warn:hover { border-color: #f5a623; }
.wa-admin-alert-n { font-size: 15px; font-weight: 800; color: inherit; }

.wa-admin-activity {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}
.wa-admin-col {
    padding: 16px 18px;
    border: 1px solid #e3e8ee;
    border-radius: 14px;
    background: #fff;
}
.wa-admin-col h4 {
    margin: 0 0 10px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #5f7f9f;
}
.wa-admin-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    border-bottom: 1px solid #f3f5f8;
    font-size: 13.5px;
    color: #1a1e24;
}
.wa-admin-row:last-child { border-bottom: 0; }
.wa-admin-row img { border-radius: 50%; }
.wa-admin-row span, .wa-admin-row a {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #1a1e24;
    text-decoration: none;
    font-weight: 600;
}
.wa-admin-row a:hover { color: #4fadd4; }
.wa-admin-row em {
    font-style: normal;
    font-size: 12px;
    color: #999;
    white-space: nowrap;
}

.wa-admin-modules {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 12px;
    max-width: 980px;
}
.wa-admin-module {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 18px;
    border: 1px solid #e3e8ee;
    border-radius: 14px;
    background: #fff;
}
.wa-admin-module-name {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #1a1e24;
}
.wa-admin-module-desc {
    display: block;
    margin-top: 2px;
    font-size: 12px;
    color: #888;
}

/* Content section — type tabs, toolbar, listing table */
.wa-admin-typetabs {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}
.wa-admin-toolbar {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}
.wa-admin-search { flex: 1; min-width: 220px; max-width: 380px; }
.wa-admin-search input {
    width: 100%;
    padding: 10px 16px;
    border: 1px solid #e3e8ee;
    border-radius: 12px;
    font-size: 14px;
    background: #fff;
}
.wa-admin-search input:focus {
    border-color: #4fadd4;
    outline: none;
    box-shadow: 0 0 0 3px rgba(79, 173, 212, .15);
}
.wa-admin-filter {
    padding: 7px 14px;
    border: 1px dashed #d4dbe3;
    border-radius: 999px;
    background: #fff;
    font-size: 12.5px;
    font-weight: 600;
    color: #5f7f9f;
    text-decoration: none;
}
.wa-admin-filter:hover { border-color: #f5a623; color: #b97c10; }
.wa-admin-filter.is-active {
    border-style: solid;
    border-color: #f5a623;
    background: rgba(245, 166, 35, .08);
    color: #b97c10;
}
.wa-admin-new {
    margin-left: auto;
    padding: 9px 18px;
    border-radius: 12px;
    background: #1a1e24;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}
.wa-admin-new:hover { background: #2d7ea3; color: #fff; }

.wa-admin-table {
    border: 1px solid #e3e8ee;
    border-radius: 14px;
    background: #fff;
    overflow: hidden;
}
.wa-admin-trow {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 16px;
    border-bottom: 1px solid #f3f5f8;
    font-size: 14px;
}
.wa-admin-trow:last-child { border-bottom: 0; }
.wa-admin-trow img,
.wa-admin-noimg {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 9px;
    background: #f0f2f5;
    flex-shrink: 0;
}
.wa-admin-trow-title {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 600;
    color: #1a1e24;
}
.wa-admin-trow em { font-style: normal; font-size: 12.5px; color: #999; white-space: nowrap; }
.wa-admin-chip {
    padding: 2px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.wa-admin-chip--publish { background: rgba(46, 158, 91, .12); color: #2e9e5b; }
.wa-admin-chip--draft   { background: #f0f2f5; color: #777; }
.wa-admin-chip--pending { background: rgba(245, 166, 35, .14); color: #b97c10; }
.wa-admin-trow-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
}
.wa-admin-trow-actions a,
.wa-admin-trash {
    padding: 0;
    border: 0;
    background: none;
    box-shadow: none;
    font-size: 13px;
    font-weight: 600;
    color: #4fadd4;
    text-decoration: none;
    cursor: pointer;
}
.wa-admin-trow-actions a:hover { color: #2d7ea3; }
.wa-admin-trash { color: #d92638; }
.wa-admin-trash:hover,
.wa-admin-trash:focus { background: none; color: #a51424; outline: none; box-shadow: none; }
.wa-admin-trash:disabled { opacity: .5; }

/* Data Health */
.wa-admin-alert.is-ok {
    border-color: rgba(46, 158, 91, .35);
    color: #2e9e5b;
    background: rgba(46, 158, 91, .06);
}
.wa-admin-alert.is-selected { box-shadow: 0 0 0 2px rgba(245, 166, 35, .35); }
.wa-admin-health-clean {
    padding: 14px 20px;
    border: 1px solid rgba(46, 158, 91, .35);
    border-radius: 14px;
    background: rgba(46, 158, 91, .07);
    color: #2e9e5b;
    font-weight: 700;
}

/* Apple-style switch */
.wa-switch {
    position: relative;
    width: 46px;
    height: 27px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: #e3e8ee;
    cursor: pointer;
    flex-shrink: 0;
    box-shadow: inset 0 1px 3px rgba(0,0,0,.08);
    transition: background .2s;
}
.wa-switch:hover, .wa-switch:focus { background: #d4dbe3; outline: none; box-shadow: inset 0 1px 3px rgba(0,0,0,.08); }
.wa-switch.is-on { background: #2e9e5b; }
.wa-switch.is-on:hover, .wa-switch.is-on:focus { background: #27894e; }
.wa-switch-knob {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 23px;
    height: 23px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,.25);
    transition: left .2s;
}
.wa-switch.is-on .wa-switch-knob { left: 21px; }
.wa-switch:disabled { opacity: .6; cursor: wait; }

/* ── Hero rating: static link + hover histogram popover ── */
.wa-hero-rating--static { position: relative; }
.wa-hero-rating-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
}
.wa-hero-rating-link:hover .wa-hero-rating__count { color: #fff; }

.wa-rating-popover {
    position: absolute;
    bottom: 100%;        /* opens upward — .place-hero-banner clips overflow below */
    left: 0;
    padding-bottom: 10px; /* hover bridge */
    z-index: 80;
    display: none;
}
.wa-hero-rating--static:hover .wa-rating-popover,
.wa-hero-rating--static:focus-within .wa-rating-popover { display: block; }

.wa-rating-popover-inner {
    width: 280px;
    background: #fff;
    border: 1px solid #e3e8ee;
    border-radius: 14px;
    box-shadow: 0 12px 36px rgba(26, 30, 36, .18);
    padding: 16px 18px;
}
.wa-rating-popover-title {
    font-size: 14px;
    font-weight: 700;
    color: #1a1e24;
    margin-bottom: 12px;
}
.wa-rating-popover-row {
    display: grid;
    grid-template-columns: 34px 1fr 38px;
    align-items: center;
    gap: 10px;
    margin-bottom: 7px;
}
.wa-rating-popover-label {
    font-size: 13px;
    font-weight: 600;
    color: #5f7f9f;
    white-space: nowrap;
}
.wa-rating-popover-bar {
    display: block;
    height: 8px;
    border-radius: 999px;
    background: #eef1f5;
    overflow: hidden;
}
.wa-rating-popover-bar span {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: #f5a623;
}
.wa-rating-popover-pct {
    font-size: 12.5px;
    font-weight: 600;
    color: #1a1e24;
    text-align: right;
}
.wa-rating-popover-all {
    display: inline-block;
    margin-top: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #4fadd4;
    text-decoration: none;
}
.wa-rating-popover-all:hover { color: #2d7ea3; }

/* "Write your review" row on the review page */
.wa-review-write {
    display: flex;
    align-items: center;
    gap: 14px;
}
.wa-review-write-hint { font-size: 13.5px; color: #888; }
.wa-review-form-wrap { margin-bottom: 30px; }
.wa-review-cancel {
    padding: 0;
    border: 0;
    background: none;
    box-shadow: none;
    cursor: pointer;
}

/* ── Compact review-page header (no big hero) ── */
.wa-review-header {
    display: flex;
    align-items: center;
    gap: 18px;
    margin: 0 -20px 10px;
    padding: 26px 48px;
    background: #1a1e24;
    color: #fff;
}
.wa-review-header-thumb {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 12px;
    flex-shrink: 0;
}
.wa-review-header-title {
    margin: 0 0 4px;
    font-size: 26px;
    line-height: 1.1;
    color: #fff;
}
.wa-review-header-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #aaa;
}

/* ── All-reviews section: sort + list ── */
.wa-reviews--all { max-width: 760px; }

.wa-reviews-allhead {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 24px;
    padding-top: 8px;
    border-top: 1px solid #eef1f5;
}
.wa-reviews-alltitle {
    margin: 0;
    font-size: 22px;
    font-weight: 800;
    color: #1a1e24;
}
.wa-reviews-sort {
    display: flex;
    gap: 6px;
}
.wa-reviews-sort-btn {
    padding: 7px 16px;
    border: 1px solid #e3e8ee;
    border-radius: 999px;
    background: #fff;
    color: #5f7f9f;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: background .15s, color .15s, border-color .15s;
}
.wa-reviews-sort-btn:hover { border-color: #4fadd4; color: #4fadd4; }
.wa-reviews-sort-btn.is-active {
    background: #1a1e24;
    border-color: #1a1e24;
    color: #fff;
}

/* ── Write-a-review form ── */
.wa-review-form {
    max-width: 680px;
    margin: 0 auto;
    padding: 28px 30px;
    background: #fff;
    border: 1px solid #e3e8ee;
    border-radius: 16px;
    box-shadow: 0 4px 18px rgba(26, 30, 36, .06);
}

.wa-review-goodbad {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
@media (max-width: 700px) {
    .wa-review-goodbad { grid-template-columns: 1fr; }
}

.wa-review-text--main {
    margin-bottom: 12px;
}

.wa-review-form-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
}
.wa-review-form-head img { border-radius: 50%; }
.wa-review-form-user { display: block; font-weight: 600; color: #1a1e24; }
.wa-review-form-note { display: block; font-size: 12.5px; color: #888; }

.wa-review-stars {
    display: flex;
    gap: 6px;
    margin-bottom: 24px;
}
.wa-review-star {
    width: 42px;
    height: 42px;
    padding: 4px;
    border: 0;
    background: none;
    box-shadow: none;
    color: #e3e8ee;
    cursor: pointer;
    transition: color .12s, transform .12s;
}
.wa-review-star svg { width: 100%; height: 100%; display: block; }
/* ID-prefixed to beat Astra's global button:hover blue — hover paints amber, never blue */
#wa-review-form .wa-review-star:hover,
#wa-review-form .wa-review-star:focus {
    background: none;
    color: #f5a623;
    transform: scale(1.12);
    box-shadow: none;
    outline: none;
}
.wa-review-star.is-filled { color: #f5a623; }

.wa-review-field {
    display: block;
    margin-bottom: 18px;
    font-size: 13px;
    font-weight: 600;
    color: #5f7f9f;
}
.wa-review-field textarea {
    display: block;
    width: 100%;
    margin-top: 6px;
    padding: 12px 14px;
    border: 1px solid #e3e8ee;
    border-radius: 10px;
    font-size: 15px;
    color: #1a1e24;
    background: #fff;
    resize: vertical;
}
.wa-review-field textarea:focus {
    border-color: #4fadd4;
    outline: none;
    box-shadow: 0 0 0 3px rgba(79, 173, 212, .15);
}

.wa-review-form-msg { margin: 0 0 14px; font-size: 14px; }
.wa-review-form-msg.is-error   { color: #ff3040; }
.wa-review-form-msg.is-success { color: #2e9e5b; }

.wa-review-form-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}
.wa-review-cancel {
    font-size: 14px;
    font-weight: 600;
    color: #5f7f9f;
    text-decoration: none;
}
.wa-review-cancel:hover { color: #1a1e24; }
.wa-review-submit { max-width: 220px; }

/* ── Review list ── */
.wa-reviews-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}
.wa-reviews-avg {
    display: flex;
    align-items: center;
    gap: 12px;
}
.wa-reviews-avg-number {
    font-size: 44px;
    font-weight: 800;
    line-height: 1;
    color: #1a1e24;
}
.wa-reviews-count { font-size: 14px; color: #5f7f9f; }

.wa-review-rating-stars { display: inline-flex; gap: 2px; }
.wa-review-rating-star { width: 18px; height: 18px; color: #e3e8ee; }
.wa-review-rating-star svg { width: 100%; height: 100%; display: block; }
.wa-review-rating-star.is-filled { color: #f5a623; }

.wa-reviews-write-btn {
    display: inline-block;
    padding: 10px 22px;
    border: 1px solid #e3e8ee;
    border-radius: 12px;
    background: #fff;
    color: #1a1e24;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    box-shadow: none;
    transition: background .15s, color .15s, border-color .15s;
}
.wa-reviews-write-btn:hover { background: #4fadd4; border-color: #4fadd4; color: #fff; }

.wa-reviews-list {
    display: flex;
    flex-direction: column;
    gap: 26px;
    max-width: 760px;
}
.wa-review {
    padding-bottom: 26px;
    border-bottom: 1px solid #eef1f5;
}
.wa-review:last-child { border-bottom: 0; padding-bottom: 0; }

.wa-review-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}
.wa-review-head img { border-radius: 50%; }
.wa-review-who { flex: 1; min-width: 0; }
.wa-review-author { display: block; font-weight: 600; color: #1a1e24; font-size: 15px; }
.wa-review-date { display: block; font-size: 12.5px; color: #888; }

.wa-review-text {
    margin: 0 0 10px;
    font-size: 15px;
    line-height: 1.65;
    color: #333;
}
.wa-review-tag {
    display: inline-block;
    margin-right: 8px;
    padding: 2px 10px;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.wa-review-tag--good { background: rgba(46, 158, 91, .12); color: #2e9e5b; }
.wa-review-tag--bad  { background: rgba(255, 48, 64, .10); color: #d92638; }

/* Modal */
.wa-auth-overlay[hidden] { display: none; }

.wa-auth-overlay {
    position: fixed;
    inset: 0;
    background: rgba(26, 30, 36, .55);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
body.wa-auth-open { overflow: hidden; }

.wa-auth-modal {
    position: relative;
    width: 100%;
    max-width: 400px;
    background: #1a1e24;
    color: #fff;
    border-radius: 20px;
    padding: 46px 28px 28px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .45);
}

.wa-auth-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: none;
    box-shadow: none;
    font-size: 26px;
    line-height: 32px;
    color: #8b94a0;
    cursor: pointer;
    transition: background .12s, color .12s;
}
.wa-auth-modal .wa-auth-close:hover {
    background: rgba(255,255,255,.10);
    color: #fff;
    box-shadow: none;
}

/* Password field with eye toggle */
.wa-auth-pass { position: relative; display: block; }
.wa-auth-pass input { padding-right: 44px; }
.wa-auth-eye {
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: none;
    box-shadow: none;
    color: #8b94a0;
    cursor: pointer;
    transition: background .12s, color .12s;
}
.wa-auth-modal .wa-auth-eye:hover {
    background: rgba(255,255,255,.10);
    color: #fff;
    box-shadow: none;
}

.wa-auth-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 22px;
    background: rgba(255,255,255,.06);
    border-radius: 12px;
    padding: 4px;
}
.wa-auth-tab {
    flex: 1;
    padding: 9px 0;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: #aeb8c2;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}
.wa-auth-tab.is-active {
    background: #fff;
    color: #1a1e24;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .25);
}

.wa-auth-form label {
    display: block;
    margin-bottom: 14px;
    font-size: 13px;
    font-weight: 600;
    color: #aeb8c2;
}
.wa-auth-form input {
    display: block;
    width: 100%;
    margin-top: 5px;
    padding: 10px 13px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 10px;
    font-size: 15px;
    color: #fff;
    background: rgba(255,255,255,.06);
}
.wa-auth-form input::placeholder { color: #6e7884; }
.wa-auth-form input:focus {
    border-color: #2e9e5b;
    outline: none;
    box-shadow: 0 0 0 3px rgba(46, 158, 91, .22);
    background: rgba(255,255,255,.09);
}
.wa-auth-form select,
.wa-profile-form-fields select {
    display: block;
    width: 100%;
    margin-top: 5px;
    padding: 10px 13px;
    border: 1px solid #e3e8ee;
    border-radius: 10px;
    font-size: 15px;
    color: #1a1e24;
    background: #fff;
    cursor: pointer;
}
/* Register form has a category select — keep it readable on the dark modal */
.wa-auth-modal .wa-auth-form select {
    border: 1px solid rgba(255,255,255,.16);
    color: #fff;
    background: #262b33;
}
.wa-auth-form select:focus,
.wa-profile-form-fields select:focus {
    border-color: #4fadd4;
    outline: none;
    box-shadow: 0 0 0 3px rgba(79, 173, 212, .15);
}

/* User category badge (chip) */
.wa-user-category {
    display: inline-block;
    margin-left: 10px;
    padding: 3px 12px;
    border-radius: 999px;
    background: rgba(79, 173, 212, .12);
    color: #2d7ea3;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    vertical-align: middle;
    white-space: nowrap;
}
.profile-hero-name .wa-user-category {
    background: rgba(255, 255, 255, .12);
    color: #9fd3ec;
}

/* Special categories (admin-assigned) — distinct colors everywhere */
.wa-user-category--administrator,
.profile-hero-name .wa-user-category--administrator {
    background: #1a1e24;
    color: #f5a623;
    border: 1px solid rgba(245, 166, 35, .45);
}
.wa-user-category--hotspot-owner,
.profile-hero-name .wa-user-category--hotspot-owner {
    background: rgba(46, 158, 91, .14);
    color: #2e9e5b;
    border: 1px solid rgba(46, 158, 91, .35);
}
.wa-user-category--operator-owner,
.profile-hero-name .wa-user-category--operator-owner {
    background: rgba(217, 38, 56, .10);
    color: #d92638;
    border: 1px solid rgba(217, 38, 56, .30);
}
.wa-user-category + .wa-user-category { margin-left: 6px; }

.wa-auth-hp {
    position: absolute !important;
    left: -9999px !important;
}

.wa-auth-error {
    margin: 0 0 12px;
    font-size: 13px;
    color: #ff3040;
}
.wa-auth-success {
    margin: 0 0 12px;
    font-size: 13px;
    color: #2e9e5b;
}

/* "Forgot your password?" / "Back to sign in" links */
.wa-auth-forgot {
    display: inline-block;
    margin: -4px 0 14px;
    padding: 0;
    border: 0;
    background: none;
    box-shadow: none;
    font-size: 13px;
    font-weight: 600;
    color: #5f7f9f;
    cursor: pointer;
    text-align: left;
}
.wa-auth-modal .wa-auth-forgot:hover,
.wa-auth-modal .wa-auth-forgot:focus {
    background: none;
    color: #4fadd4;
    outline: none;
    box-shadow: none;
}
.wa-auth-back { margin: 14px 0 0; }

.wa-auth-reset-intro {
    margin: 0 0 16px;
    font-size: 14px;
    line-height: 1.55;
    color: #aeb8c2;
}

.wa-auth-submit {
    width: 100%;
    padding: 13px 0;
    border: 0;
    border-radius: 12px;
    background: #1f8a52;
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 10px 22px -12px rgba(31,138,82,.7);
    transition: background .15s;
}
.wa-auth-submit:hover { background: #1a7546; }
.wa-auth-submit:disabled { opacity: .6; cursor: wait; }

/* ============================================================
   HIDES — single hide page (single-hide.php)
   Reuses tour hero/badges/details/CTA + .wa-obs-suggest mini-cards
   + the shared lightbox. Only hide-specific bits live here.
   ============================================================ */
.hide-section { margin: 0 0 36px; }
.hide-species { margin-top: 34px; }

/* Gallery thumbs — click opens the shared lightbox at that photo */
.hide-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 10px;
}
.hide-gallery-grid .wa-obs-photos-link {
    display: block;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
    border-radius: 12px;
    overflow: hidden;
    line-height: 0;
}
.hide-gallery-grid img {
    display: block;
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 12px;
    transition: transform .25s ease;
}
.hide-gallery-grid .wa-obs-photos-link:hover img,
.hide-gallery-grid .wa-obs-photos-link:focus img { transform: scale(1.04); }

.hide-focal-ico { vertical-align: -2px; margin-right: 4px; opacity: .65; }

/* ============================================================
   COMMUNITY (hotspot) v2 — toned down: rounded box, 2 columns,
   smaller metrics, season-style month curve. Scoped under
   .wa-community--boxed (base classes shared with species/country).
   ============================================================ */
.wa-community--boxed {
    background: #f8f9fb;
    border: 1px solid #eef1f4;
    border-radius: 18px;
    padding: 26px 30px 28px;
}
.wa-community--boxed .wa-community-head { margin-bottom: 18px; }
.wa-community--boxed .wa-community-total-number { font-size: 26px; }
.wa-community--boxed .wa-community-total-label {
    font-size: 11px;
    margin-top: 2px;
}
.wa-community--boxed .wa-community-species { max-width: none; }
.wa-community--boxed .wa-community-monthly { margin-top: 0; max-width: none; }
.wa-community--boxed .wa-community-row { border-bottom-color: #e9edf2; }

.wa-community-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 44px;
    align-items: start;
}
.wa-community-cols--single { grid-template-columns: 1fr; }
.wa-community-curve svg { width: 100%; height: auto; display: block; }

@media (max-width: 900px) {
    .wa-community-cols { grid-template-columns: 1fr; }
    .wa-community--boxed { padding: 20px 18px 22px; }
}

/* Triple species name in community rows — EN on top, ES + scientific
   (italic) together on a second line, so rows stay compact.
   Global: applies wherever community stat rows render (hotspot, country…). */
.wa-community-row-name {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    column-gap: 8px;
    line-height: 1.3;
    min-width: 0;
}
.wa-community-name-en  { flex-basis: 100%; font-weight: 700; }

/* Unified filter dropdowns (species hotspots): the first dropdown of the
   row doesn't need the leading vertical separator. */
.wa-filters-row .wa-country-dropdown:first-child { padding-left: 0; }
.wa-filters-row .wa-country-dropdown:first-child::before { display: none; }

/* ============================================================
   CONTROL CENTER — ENTITY EDITOR (page-admin-edit.php, H1-H3)
   WildAtlas skin over acf_form() and the embedded GD add-listing.
   ============================================================ */
.wa-admin-editor { max-width: 85%; margin: 0 auto; }
.wa-admin-editor-note {
    padding: 14px 18px;
    border: 1px dashed #d4dbe3;
    border-radius: 13px;
    background: #f8f9fb;
    color: #5f7f9f;
    font-size: 14px;
}
.wa-admin-saved {
    margin-bottom: 18px;
    padding: 12px 18px;
    border: 1px solid rgba(46, 158, 91, .35);
    border-radius: 13px;
    background: rgba(46, 158, 91, .10);
    color: #2e9e5b;
    font-size: 14px;
}
.wa-admin-saved a { color: #207944; font-weight: 700; }
.wa-admin-trow-actions .wa-admin-wplink { font-size: 11px; opacity: .55; }

/* ACF form, WildAtlas-ified */
.wa-admin-editor .acf-form { margin-top: 6px; }
.wa-admin-editor .acf-fields > .acf-field {
    border-top: 0;
    padding: 14px 0 4px;
}
.wa-admin-editor .acf-label label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #5f7f9f;
}
.wa-admin-editor .acf-label .description { font-size: 12px; color: #9aa7b4; }
.wa-admin-editor .acf-input input[type="text"],
.wa-admin-editor .acf-input input[type="number"],
.wa-admin-editor .acf-input input[type="url"],
.wa-admin-editor .acf-input input[type="email"],
.wa-admin-editor .acf-input textarea,
.wa-admin-editor .acf-input select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #d4dbe3;
    border-radius: 11px;
    background: #fff;
    font-size: 14.5px;
    box-shadow: none;
}
.wa-admin-editor .acf-input input:focus,
.wa-admin-editor .acf-input textarea:focus,
.wa-admin-editor .acf-input select:focus {
    border-color: #4fadd4;
    outline: none;
    box-shadow: 0 0 0 3px rgba(79, 173, 212, .12);
}
.wa-admin-editor .acf-relationship .list { border-radius: 10px; }

/* Accordion sections rendered as WildAtlas cards */
.wa-admin-editor .acf-field.acf-field-accordion { border: 0; padding: 0; margin: 30px 0 0; }
.wa-admin-editor .acf-field-accordion .acf-accordion-title {
    background: linear-gradient(180deg, #20252c 0%, #1a1e24 100%);
    border: 0;
    border-radius: 14px 14px 0 0;
    padding: 15px 22px;
    margin: 0;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #fff;
}
.wa-admin-editor .acf-field-accordion .acf-accordion-title label { color: #fff; font-size: 12px; }
.wa-admin-editor .acf-field-accordion .acf-accordion-title .acf-accordion-icon { color: #9aa7b4; }
/* Hover stays dark (override ACF's light hover) */
.wa-admin-editor .acf-field-accordion .acf-accordion-title:hover {
    background: linear-gradient(180deg, #2b3038 0%, #20252c 100%);
    color: #fff;
}
/* The fields belonging to a section sit in a soft-tinted card under the title */
.wa-admin-editor .acf-field-accordion .acf-accordion-content {
    border: 1px solid #e3e9f0;
    border-top: 0;
    border-radius: 0 0 14px 14px;
    padding: 26px 24px 14px;
    background: #f6f9fc;          /* soft blue-grey tint */
    box-shadow: 0 6px 18px rgba(26,30,36,.05);
}
/* Side margin inside each section card's field grid */
.wa-admin-editor .acf-field-accordion .acf-accordion-content > .acf-fields {
    margin-left: 10px;
    margin-right: 10px;
}
/* Breathing room between fields, and a clear gutter between the 2 columns */
.wa-admin-editor .acf-accordion-content > .acf-fields > .acf-field { padding: 14px 0; }
.wa-admin-editor .acf-accordion-content > .acf-fields > .acf-field[data-width] { margin-bottom: 4px; }
.wa-admin-editor .acf-accordion-content > .acf-fields > .acf-field[data-width="50"],
.wa-admin-editor .acf-accordion-content > .acf-fields > .acf-field[data-width="33"],
.wa-admin-editor .acf-accordion-content > .acf-fields > .acf-field[data-width="25"] {
    padding-left: 0;
    padding-right: 22px;          /* gutter between side-by-side fields */
}
/* Inputs sit on white so they pop against the tinted card */
.wa-admin-editor .acf-accordion-content input[type="text"],
.wa-admin-editor .acf-accordion-content input[type="number"],
.wa-admin-editor .acf-accordion-content input[type="url"],
.wa-admin-editor .acf-accordion-content input[type="email"],
.wa-admin-editor .acf-accordion-content textarea,
.wa-admin-editor .acf-accordion-content select { background: #fff; }
.wa-admin-editor .acf-form-submit { padding: 22px 0 6px; }
/* ID-strength selectors so Astra's global button hover never paints it blue */
.wa-admin-editor input.wa-editor-submit,
.wa-admin-editor input.wa-editor-submit:hover,
.wa-admin-editor input.wa-editor-submit:focus {
    padding: 13px 38px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 13px;
    background: #1a1e24;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(26, 30, 36, .25);
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.wa-admin-editor input.wa-editor-submit:hover {
    transform: translateY(-1px);
    border-color: rgba(79, 173, 212, .7);
}

/* Embedded GeoDirectory add-listing — soften to the WildAtlas card look */
.wa-admin-editor-gd {
    margin-bottom: 34px;
    padding: 26px 24px 14px;
    border: 1px solid #e3e9f0;
    border-radius: 14px;
    background: #f6f9fc;
    box-shadow: 0 6px 18px rgba(26,30,36,.05);
}
/* Drop GD's "Escribe detalles del anuncio" heading (only h3.h3 in the form) */
.wa-admin-editor-gd h3.h3 { display: none; }
/* Breathing room between GD rows */
.wa-admin-editor-gd .row,
.wa-admin-editor-gd .mb-3 { margin-bottom: 16px; }
.wa-admin-editor-gd label { font-weight: 600; color: #5f7f9f; }
.wa-admin-editor-gd input,
.wa-admin-editor-gd textarea,
.wa-admin-editor-gd select { background: #fff; }

/* Species & Season repeater — card look, less "WP table" */
.wa-admin-editor .acf-field-repeater > .acf-input > .acf-repeater > table.acf-table {
    border: 1px solid #e3e9f0;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}
.wa-admin-editor .acf-field-repeater .acf-row-handle,
.wa-admin-editor .acf-field-repeater thead th {
    background: #eef3f8;
    color: #5f7f9f;
    font-weight: 700;
    font-size: 11px;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.wa-admin-editor .acf-field-repeater .acf-button {
    border-radius: 9px;
}

/* Read-only "Species present" table */
.wa-ro-tag {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #fff;
    background: #5f7f9f;
    padding: 2px 8px;
    border-radius: 999px;
    margin-left: 8px;
    vertical-align: middle;
}
.wa-ro-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid #e3e9f0;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    font-size: 14px;
}
.wa-ro-table th {
    background: #1a1e24;
    color: #fff;
    text-align: left;
    padding: 10px 14px;
    font-size: 11px;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.wa-ro-table td { padding: 9px 14px; border-top: 1px solid #eef1f4; color: #1a1e24; }
.wa-ro-table tbody tr:nth-child(even) td { background: #f8fafc; }
.wa-ro-id  { color: #9aa7b4; width: 70px; }
.wa-ro-sci { font-style: italic; color: #6b7886; }
/* GD's Images row hidden — the featured image is managed by the WildAtlas
   "Featured image" field below, same UI as every other editor. */
.wa-admin-editor-gd #post_images_row { display: none; }
/* GD's native contact/social rows hidden — WildAtlas manages these via the
   ACF "Contact & social" card below (which is what the frontend reads).
   GD's bootstrap/AUI form doesn't use #{name}_row on text inputs, so we hide
   the row that CONTAINS each contact input by name (:has). Covers both the
   legacy id form and the AUI form. */
.wa-admin-editor-gd #email_row,
.wa-admin-editor-gd #phone_row,
.wa-admin-editor-gd #website_row,
.wa-admin-editor-gd #twitter_row,
.wa-admin-editor-gd #facebook_row,
.wa-admin-editor-gd #instagram_row,
.wa-admin-editor-gd #whatsapp_row,
.wa-admin-editor-gd .row:has(> div [name="email"]),
.wa-admin-editor-gd .row:has(> div [name="phone"]),
.wa-admin-editor-gd .row:has(> div [name="website"]),
.wa-admin-editor-gd .row:has(> div [name="twitter"]),
.wa-admin-editor-gd .row:has(> div [name="facebook"]),
.wa-admin-editor-gd .row:has(> div [name="instagram"]),
.wa-admin-editor-gd .row:has(> div [name="whatsapp"]),
.wa-admin-editor-gd .row:has([name="email"]),
.wa-admin-editor-gd .row:has([name="phone"]),
.wa-admin-editor-gd .row:has([name="website"]),
.wa-admin-editor-gd .row:has([name="twitter"]),
.wa-admin-editor-gd .row:has([name="facebook"]),
.wa-admin-editor-gd .row:has([name="instagram"]),
.wa-admin-editor-gd .row:has([name="whatsapp"]) { display: none; }
.wa-admin-editor-gd input[type="text"],
.wa-admin-editor-gd input[type="number"],
.wa-admin-editor-gd input[type="url"],
.wa-admin-editor-gd input[type="email"],
.wa-admin-editor-gd textarea,
.wa-admin-editor-gd select {
    border-radius: 11px;
    border-color: #d4dbe3;
}
.wa-community-name-es  { font-size: 12px;   font-weight: 600; color: #4fadd4; }
.wa-community-name-sci { font-size: 11.5px; font-weight: 400; font-style: italic; color: #8a97a5; }

/* Included Hides — green "verified" chips with check (package pages) */
.hide-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}
.hide-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 16px;
    border: 1px solid rgba(46, 158, 91, .35);
    border-radius: 999px;
    background: rgba(46, 158, 91, .10);
    color: #2e9e5b;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: border-color .15s, background .15s, color .15s;
}
.hide-chip svg { flex-shrink: 0; }
.hide-chip:hover,
.hide-chip:focus {
    border-color: #2e9e5b;
    background: rgba(46, 158, 91, .18);
    color: #207944;
}

/* ============================================================
   RESPONSIVE — mobile pass (launch-ready, polish later)
   ============================================================ */
/* The Astra site header is replaced everywhere by our own chrome (floating
   account control + ATLAS topbar + footer). Hide it at ALL resolutions — it
   used to reappear as a white "wildatlasguide" bar with a hamburger at Astra's
   own mobile breakpoint (769–921px). */
#masthead,
header.site-header,
.ast-mobile-header-wrap,
#ast-mobile-header,
.ast-mobile-menu-buttons { display: none !important; }

/* Tablets + phones (incl. iPad up to 1024px): the logged-in box becomes
   wildatlasguide + hamburger, and its dropdown opens full-screen. */
@media (max-width: 1200px) {
    /* Full-bleed: the main container spans the whole screen width (matches the
       full-width hero). Astra's .ast-container gutter is what inset the content. */
    .ast-container { padding-left: 0 !important; padding-right: 0 !important; max-width: 100% !important; }
    .site-content .ast-container, #primary, #content { padding-left: 0 !important; padding-right: 0 !important; }

    /* Logged-in box → wildatlasguide + hamburger (avatar/name/caret hidden). */
    .wa-account-btn.is-logged-in {
        gap: 9px; background: transparent; border: 0; box-shadow: none; padding: 7px 4px;
    }
    .wa-account-btn.is-logged-in .wa-account-av,
    .wa-account-btn.is-logged-in .wa-account-name,
    .wa-account-btn.is-logged-in .wa-account-caret { display: none; }
    .wa-account-btn.is-logged-in .wa-account-brand {
        display: inline; font-size: 14px; font-weight: 700; letter-spacing: .2px; color: #fff;
    }
    .wa-account-btn.is-logged-in .wa-account-burger {
        display: inline-block; position: relative; width: 20px; height: 2px;
        background: #fff; border-radius: 2px;
    }
    .wa-account-btn.is-logged-in .wa-account-burger::before,
    .wa-account-btn.is-logged-in .wa-account-burger::after {
        content: ""; position: absolute; left: 0; width: 20px; height: 2px;
        background: #fff; border-radius: 2px;
    }
    .wa-account-btn.is-logged-in .wa-account-burger::before { top: -6px; }
    .wa-account-btn.is-logged-in .wa-account-burger::after  { top: 6px; }

    /* Dropdown becomes a full-screen panel (keeps its dark palette + items). */
    #wa-account-menu {
        position: fixed !important; inset: 0 !important;
        width: 100vw !important; height: 100vh !important; height: 100dvh !important;
        min-width: 0 !important; max-width: none !important; margin: 0 !important;
        border: 0 !important; border-radius: 0 !important; box-shadow: none !important;
        padding: 0 0 24px !important; overflow-y: auto !important; z-index: 100001 !important;
    }
    .wa-account-menu-bar {
        display: flex; align-items: center; justify-content: space-between;
        padding: 16px 20px; border-bottom: 1px solid rgba(255,255,255,.10);
        position: sticky; top: 0; background: #1a1e24;
    }
    .wa-account-menu-brand { font-size: 18px; font-weight: 700; color: #fff; }
    .wa-account-menu-close { background: none; border: 0; color: #fff; font-size: 30px; line-height: 1; padding: 0 6px; cursor: pointer; padding-bottom: 4px; }
    #wa-account-menu .wa-account-menu-head { padding: 18px 20px; margin: 0; }
    #wa-account-menu a, #wa-account-menu .wa-account-menu-logout { font-size: 16px; padding: 15px 20px; border-radius: 8px; }
    #wa-account-menu .wa-account-menu-lang { padding: 16px 20px; }
    body.wa-account-menu-open { overflow: hidden; }
}

@media (max-width: 768px) {
    /* Tab navs (profile / owner / admin): scroll instead of breaking into rows */
    .profile-tabs {
        flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch;
        scrollbar-width: none; justify-content: flex-start;
    }
    .profile-tabs::-webkit-scrollbar { display: none; }
    .profile-tab, body .wa-owner-tab { padding: 12px 14px; font-size: 12.5px; white-space: nowrap; }
    body.wa-profile .profile-tabs { justify-content: flex-start; }

    /* Hero band */
    .profile-hero { padding: 24px 18px; gap: 14px; flex-wrap: wrap; }
    .profile-hero-avatar { width: 64px; height: 64px; }
    .profile-hero-name { font-size: 25px; }
    .profile-hero-logout { position: static; margin-top: 4px; }
    .profile-card .wildatlas-feature-band-hero-banner { margin: 0 -16px; }

    /* Big page hero titles */
    .species-title, .country-title, .operator-title, .hide-title, .tour-title { font-size: 32px; }

    /* Content card padding */
    .profile-card.wa-page-card, .profile-card { padding-left: 16px; padding-right: 16px; }

    /* Dashboards: stat rows + kpis + alerts to 2 columns */
    .wa-stat-row, body.wa-admin .wa-admin-kpis, body.wa-admin .wa-admin-alerts,
    body.wa-admin .wa-admin-activity { grid-template-columns: repeat(2, 1fr); }

    /* Dropdown menus don't overflow the viewport */
    body.wa-admin .wa-nav-menu, body.wa-profile .wa-nav-menu { left: 0; right: auto; transform: none; min-width: 200px; }

    /* Hides & experiences: stack the two-column layouts */
    .tour-main, .tour-sidebar, .tour-layout > * { width: 100% !important; max-width: 100% !important; float: none !important; }
    .tour-layout { display: block; }

    /* Owner content cards / module boxes full width */
    body.wa-owner .wa-owner-cards { grid-template-columns: 1fr; }

    /* Submit/editor action buttons wrap */
    .wa-submit-row { flex-wrap: wrap; }

    /* Hotspot & operator hero: drop the description + "prime spot" badge (they clash) */
    .place-hero-banner .country-hero-description,
    .operator-hero-banner .operator-hero-description,
    .operator-hero-description,
    .hotspot-hero-camera-badge { display: none !important; }

    /* Country / species hotspot cards → single column, one after another */
    .country-hotspots-grid,
    .species-hotspots-grid,
    .country-hotspots-full-grid,
    .species-hotspots-full-grid { grid-template-columns: 1fr !important; }
    .country-hotspot-card, .species-hotspot-card { width: auto; min-width: 0; max-width: 100%; flex: 1 1 100%; }
}

@media (max-width: 480px) {
    .profile-hero-name { font-size: 22px; }
    .profile-hero-meta { font-size: 12.5px; }
    .wa-stat-row, body.wa-admin .wa-admin-kpis,
    body.wa-admin .wa-admin-alerts, body.wa-admin .wa-admin-activity { grid-template-columns: 1fr; }
    .species-title, .country-title, .operator-title, .hide-title, .tour-title { font-size: 27px; }
    /* Card grids: 2 across max on the smallest screens */
    .country-species-grid, .species-season-grid { gap: 10px; }
}



/* ── Consent banner (own, privacy-first) ─────────────────────────────────── */
.wa-consent {
    position: fixed;
    left: 50%;
    bottom: 22px;
    transform: translateX(-50%) translateY(140%);
    width: min(680px, calc(100vw - 32px));
    z-index: 99995;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 16px 20px;
    background: #1a1e24;
    color: #e8edf1;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 14px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, .35);
    opacity: 0;
    transition: transform .35s cubic-bezier(.22,.8,.3,1), opacity .35s ease;
}
.wa-consent.is-in { transform: translateX(-50%) translateY(0); opacity: 1; }
.wa-consent.is-gone { transform: translateX(-50%) translateY(140%); opacity: 0; }
.wa-consent-msg { margin: 0; font-size: 13.5px; line-height: 1.45; color: #cdd4db; flex: 1; }
.wa-consent-link { color: #6fb6e6; text-decoration: underline; margin-left: 4px; white-space: nowrap; }
.wa-consent-actions { display: flex; gap: 10px; flex: 0 0 auto; }
.wa-consent-btn {
    font-size: 13px; font-weight: 600; letter-spacing: .02em;
    padding: 9px 18px; border-radius: 10px; cursor: pointer; white-space: nowrap;
    border: 1px solid transparent; transition: background .15s, border-color .15s;
}
.wa-consent-decline { background: transparent; color: #aeb8c2; border-color: rgba(255,255,255,.18); }
.wa-consent-decline:hover { background: rgba(255,255,255,.07); color: #e8edf1; }
.wa-consent-accept { background: #1f8a52; color: #fff; }
.wa-consent-accept:hover { background: #1c7a49; }
@media (max-width: 600px) {
    .wa-consent { flex-direction: column; align-items: stretch; gap: 12px; bottom: 12px; }
    .wa-consent-actions { justify-content: flex-end; }
}

/* ── Admin: Analytics settings card fields ───────────────────────────────── */
.wa-analytics-card .wa-field { display: block; margin-bottom: 16px; }
.wa-analytics-card .wa-field-label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--wa-ink, #1a1e24); }
.wa-analytics-card .wa-field input[type="text"] {
    width: 100%; max-width: 420px; padding: 10px 12px; font-size: 14px;
    border: 1px solid var(--wa-line, #e3e8ee); border-radius: 9px;
    background: var(--wa-card, #fff); color: var(--wa-ink, #1a1e24);
}
.wa-analytics-card .wa-field input[type="text"]:disabled { opacity: .6; cursor: not-allowed; }
.wa-analytics-card .wa-field-hint { display: block; font-size: 12px; color: var(--wa-muted, #6b7a86); margin-top: 5px; }
.wa-analytics-card .wa-field-hint code,
.wa-analytics-card .wa-admin-module-desc code { background: rgba(0,0,0,.06); padding: 1px 5px; border-radius: 4px; font-size: 12px; }
.wa-analytics-save-row { display: flex; align-items: center; gap: 14px; margin-top: 6px; }
.wa-analytics-saved { font-size: 13px; font-weight: 600; color: #1f8a52; }

/* ── SPECIES section — master list table ─────────────────────────────────── */
.wa-species-row, .wa-species-thead {
    display: grid; grid-template-columns: 3fr 1fr 1.4fr 2fr; gap: 12px;
    align-items: center; padding: 9px 6px; border-bottom: 1px solid var(--wa-line, #eef0f3);
    font-size: 13px;
}
.wa-species-cell-name { display: flex; align-items: center; gap: 10px; min-width: 0; }
.wa-species-cell-name img, .wa-species-noimg {
    width: 44px; height: 44px; border-radius: 8px; object-fit: cover; flex: 0 0 auto; background: #e9edf1;
}
.wa-species-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.wa-species-actions a, .wa-species-actions button {
    font-size: 12px; font-weight: 600; padding: 5px 9px; border-radius: 7px; cursor: pointer;
    border: 1px solid var(--wa-line, #e3e8ee); background: var(--wa-card, #fff); color: var(--wa-ink, #1a1e24); text-decoration: none;
}
.wa-species-actions button:disabled { opacity: .5; }
.wa-csv-import input[type="file"] { font-size: 12px; }
@media (max-width: 768px) {
    .wa-species-row, .wa-species-thead { grid-template-columns: 1fr; gap: 4px; }
    .wa-species-thead { display: none; }
}

/* ── Owner bookings: report toolbar + past/archived section ───────────────── */
.wa-bk-report-bar { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin: 18px 0 6px; }
.wa-bk-report-lbl { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: #5f7f9f; }
.wa-bk-report-arrow { color: #8a95a3; }
.wa-bk-report-bar input[type="date"] { padding: 7px 9px; border: 1px solid var(--wa-line, #e3e8ee); border-radius: 8px; background: var(--wa-card, #fff); color: var(--wa-ink, #1a1e24); font-size: 13px; }
.wa-bk-past { margin-top: 20px; border-top: 1px solid var(--wa-line, #eef0f3); padding-top: 8px; }
.wa-bk-past > summary { cursor: pointer; font-weight: 700; font-size: 14px; color: var(--wa-ink, #1a1e24); padding: 8px 0; list-style: revert; }
.wa-bk-past > summary:hover { color: #4fadd4; }
.wa-bk-past[open] > summary { margin-bottom: 8px; }
