/* BirdingWestJava.com — Destination Hub & Editorial Pages */
.destinations-page,.destination-detail-page{background:#fff;color:var(--ink)}
.dest-hero,.detail-hero{padding:22px 0 74px;background:linear-gradient(118deg,#073f2b,#0a4b35 58%,#123f35);color:#fff;overflow:hidden}
.dest-hero-grid,.detail-hero-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(360px,.95fr);gap:58px;align-items:center}
.dest-hero h1,.detail-hero h1{font-size:clamp(42px,5vw,64px);line-height:1.05;letter-spacing:-.055em;color:#fff;margin:0 0 20px}
.dest-hero h1 em,.detail-hero h1 em{font-style:normal;color:var(--lime)}
.dest-hero-lead,.detail-lead{font-size:17px;line-height:1.8;color:#e1eee5;max-width:640px;margin:0 0 26px}
.dest-hero-notes,.detail-hero-tags{display:flex;flex-wrap:wrap;gap:10px 18px;margin-top:25px;color:#c8ddcd;font-size:12px}
.dest-hero-notes span:before{content:"✓";color:var(--lime);margin-right:7px}
.dest-hero figure,.detail-hero figure{position:relative;aspect-ratio:1.1/1;margin:0;overflow:hidden;border:7px solid rgba(255,255,255,.14);border-radius:22px 140px 22px 22px;background:#315b43;box-shadow:0 28px 70px rgba(0,0,0,.22)}
.dest-hero figure img,.detail-hero figure img{position:absolute;width:100%;height:100%;inset:0;object-fit:cover}
.dest-hero figcaption,.detail-hero figcaption{position:absolute;left:22px;bottom:20px;color:white;font-size:12px;font-weight:700;text-shadow:0 2px 8px #173b2c}
.dest-hero figcaption:before,.detail-hero figcaption:before{content:"●";color:var(--lime);margin-right:9px}
.dest-intro{padding:82px 0;background:#f6f8f3}
.dest-intro-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(280px,.72fr);gap:60px;align-items:center}
.dest-intro h2,.dest-section-heading h2,.detail-article h2{font-size:clamp(30px,3.4vw,43px);line-height:1.15;letter-spacing:-.05em;color:#183b2b;margin:0 0 18px}
.dest-intro h2 em,.dest-section-heading h2 em{font-style:normal;color:#78a92a}
.dest-intro p:not(.eyebrow){color:#68786d;font-size:15px;line-height:1.85}
.dest-intro-note,.aside-card{padding:28px;border:1px solid #e0e9dc;border-radius:18px;background:white;box-shadow:0 15px 38px rgba(7,63,43,.05)}
.dest-intro-note>span,.aside-card>span{font-size:10px;font-weight:800;letter-spacing:.15em;color:#679044}
.dest-intro-note h3{font-size:21px;line-height:1.35;color:#183b2b;margin:13px 0}
.dest-intro-note p{font-size:14px!important}
.dest-collection,.detail-tours{padding:82px 0;background:#fff}
.dest-section-heading{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,.72fr);gap:50px;align-items:end;margin-bottom:30px}
.dest-section-heading>p{font-size:15px;line-height:1.8;color:#68786d;margin:0 0 4px}
.destination-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.destination-card{overflow:hidden;border:1px solid #e0e9dc;border-radius:17px;background:#fff;box-shadow:0 9px 28px rgba(7,63,43,.045);transition:transform .22s ease,box-shadow .22s ease}
.destination-card:hover{transform:translateY(-4px);box-shadow:0 16px 36px rgba(7,63,43,.11)}
.destination-card-image{position:relative;display:block;aspect-ratio:5/3;overflow:hidden;background:#dce7d8}
.destination-card-image img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .4s ease}
.destination-card:hover .destination-card-image img{transform:scale(1.035)}
.destination-card-image>span{position:absolute;left:14px;bottom:14px;padding:7px 10px;border-radius:20px;background:rgba(7,63,43,.88);color:#fff;font-size:10px;font-weight:700}
.destination-card-copy{padding:20px 21px 22px}
.destination-card-copy>small{color:#7a887e;font-size:11px}
.destination-card h3{font-size:20px;line-height:1.25;margin:8px 0;color:#183b2b}
.destination-card h3 a{color:inherit}.destination-card-copy p{font-size:13px;line-height:1.7;color:#68786d;margin:0 0 17px}
.destination-link{display:flex;justify-content:space-between;align-items:center;color:#397d36;font-size:12px;font-weight:800;border-top:1px solid #e8eee5;padding-top:13px}
.habitat-section{padding:78px 0;background:#f6f8f3}
.habitat-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.habitat-card{padding:26px;border:1px solid #e1e9dc;border-radius:15px;background:#fff}
.habitat-card>span{color:#78a92a;font-size:12px;font-weight:800;letter-spacing:.12em}
.habitat-card h3{color:#183b2b;font-size:20px;margin:15px 0 9px}
.habitat-card p{color:#52675b;font-size:14px;line-height:1.65;margin:0 0 10px}
.habitat-card small{color:#7b887f;font-size:12px;line-height:1.6}
.dest-tours{padding:78px 0;background:#fff}
.dest-tour-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.dest-tour-links a,.related-tour{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:17px 19px;border:1px solid #e0e9dc;border-radius:12px;color:#244b36;background:#fff;font-size:13px;font-weight:700;transition:background .2s,border-color .2s}
.dest-tour-links a:hover,.related-tour:hover{background:#f3f8ef;border-color:#b9d2ae}
.dest-tour-links b{color:#679044}
.dest-final,.detail-cta{padding:65px 0 70px;background:linear-gradient(120deg,#073f2b,#0d5739);color:#fff;text-align:center}
.dest-final .container,.detail-cta .container{max-width:850px}
.dest-final h2,.detail-cta h2{font-size:clamp(30px,4vw,44px);line-height:1.15;color:#fff;margin:0;letter-spacing:-.05em}
.dest-final h2 em,.detail-cta h2 em{font-style:normal;color:var(--lime)}
.dest-final p:not(.eyebrow),.detail-cta p:not(.eyebrow){font-size:15px;line-height:1.8;color:#dce9df;max-width:650px;margin:16px auto 24px}
.detail-breadcrumb{display:flex;gap:10px;flex-wrap:wrap;color:#d4e2d8;font-size:12px;margin:0 0 30px}
.detail-breadcrumb a:hover{color:var(--lime)}
.detail-hero h1{font-size:clamp(38px,4.6vw,59px)}
.detail-article{padding:78px 0;background:#fff}
.detail-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:58px;align-items:start}
.article-main{max-width:850px}
.article-main h2{font-size:27px;margin:38px 0 12px;letter-spacing:-.035em}
.article-main h2:first-of-type{margin-top:10px}
.article-main p{font-size:15px;line-height:1.9;color:#586c60;margin:0 0 17px}
.article-main .article-intro{font-size:17px;color:#3f594a}
.species-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 22px;padding:16px 20px 16px 38px;border-radius:12px;background:#f6f8f3;color:#47604f;font-size:13px;line-height:1.65}
.article-conservation{margin-top:30px;padding:22px 24px;border-left:3px solid #78a92a;border-radius:0 12px 12px 0;background:#f5f8f1}
.article-conservation strong{color:#183b2b}.article-conservation p{font-size:13px;margin:8px 0 0}
.article-aside{display:grid;gap:14px;position:sticky;top:110px}
.aside-card h3{font-size:19px;line-height:1.35;color:#183b2b;margin:12px 0}
.aside-card p{font-size:13px;line-height:1.7;color:#68786d}
.aside-card>a{display:block;color:#397d36;font-size:12px;font-weight:700;margin-top:12px}
.aside-card>a:hover{text-decoration:underline}
.aside-card>span{display:block;margin-bottom:8px}
.related-tour-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.related-tour{min-height:76px;align-items:flex-start;flex-direction:column}
.related-tour b{font-size:11px;color:#5c8d3c}
@media(max-width:980px){.dest-hero-grid,.detail-hero-grid{grid-template-columns:minmax(0,1fr) minmax(290px,.9fr);gap:32px}.dest-intro-grid{gap:34px}.destination-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dest-section-heading{gap:28px}.detail-layout{grid-template-columns:minmax(0,1fr) 250px;gap:30px}}
@media(max-width:680px){.dest-hero,.detail-hero{padding:18px 0 48px}.dest-hero-grid,.detail-hero-grid,.dest-intro-grid,.detail-layout{grid-template-columns:1fr;gap:25px}.dest-hero h1,.detail-hero h1{font-size:clamp(38px,10vw,50px)}.dest-hero-lead,.detail-lead{font-size:15px}.dest-hero figure,.detail-hero figure{aspect-ratio:4/3;border-radius:18px 95px 18px 18px}.dest-intro,.dest-collection,.habitat-section,.dest-tours,.detail-article,.detail-tours{padding:56px 0}.dest-intro h2,.dest-section-heading h2{font-size:32px}.dest-section-heading{grid-template-columns:1fr;gap:10px;margin-bottom:23px}.destination-grid{grid-template-columns:1fr;gap:14px}.habitat-grid,.dest-tour-links,.related-tour-grid{grid-template-columns:1fr}.detail-layout{gap:26px}.article-aside{position:static}.article-main h2{font-size:23px;margin-top:30px}.article-main p{font-size:14px}.species-list{grid-template-columns:1fr}.dest-final,.detail-cta{padding:54px 0 60px}.dest-final h2,.detail-cta h2{font-size:32px}}

/* Current destination page state in the shared Destinations dropdown. */
.primary-nav .dropdown-menu a.current,
.primary-nav .dropdown-menu a[aria-current="page"] {
    color: #2f7137;
    background: #edf5e8;
    font-weight: 700;
}
.primary-nav .dropdown-menu a.current::after,
.primary-nav .dropdown-menu a[aria-current="page"]::after {
    content: "CURRENT";
    float: right;
    margin-left: 12px;
    color: #5b8e3f;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .08em;
}

/* Active destination submenu item: match the approved Birding Tours dropdown state. */
.primary-nav .nav-item.has-dropdown .dropdown-menu a.current,
.primary-nav .nav-item.has-dropdown .dropdown-menu a[aria-current="page"] {
    color: #2f7137 !important;
    background: #edf5e8 !important;
    font-weight: 700 !important;
}
.primary-nav .nav-item.has-dropdown .dropdown-menu a.current::after,
.primary-nav .nav-item.has-dropdown .dropdown-menu a[aria-current="page"]::after {
    content: none !important;
}
/* Match the WhatsApp floating control used on the approved tour pages. */
.floating-whatsapp svg { display:block; width:35px; height:35px; fill:#fff; }


/* FIX: keep destination card descriptions and links fully visible.
   Scoped to the directory page to avoid collisions with other site components. */
.destinations-page .destination-grid {
    align-items: stretch;
    grid-auto-rows: auto;
}
.destinations-page .destination-card {
    display: flex;
    flex-direction: column;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: hidden;
    align-self: stretch;
}
.destinations-page .destination-card-image {
    display: block;
    flex: 0 0 auto;
    height: auto;
    min-height: 0;
}
.destinations-page .destination-card-copy {
    display: block !important;
    position: relative;
    flex: 1 0 auto;
    height: auto !important;
    min-height: 190px;
    max-height: none !important;
    overflow: visible !important;
    visibility: visible !important;
    opacity: 1 !important;
    padding: 20px 21px 22px;
    background: #ffffff;
    color: #183b2b;
}
.destinations-page .destination-card-copy > small {
    display: block;
    color: #68786d !important;
    line-height: 1.5;
}
.destinations-page .destination-card-copy h3 {
    display: block;
    height: auto !important;
    max-height: none !important;
    margin: 8px 0;
    color: #183b2b !important;
    line-height: 1.3;
}
.destinations-page .destination-card-copy h3 a {
    color: #183b2b !important;
}
.destinations-page .destination-card-copy p {
    display: block;
    height: auto !important;
    max-height: none !important;
    margin: 0 0 17px;
    color: #68786d !important;
    line-height: 1.7;
}
.destinations-page .destination-card-copy .destination-link {
    display: flex;
    color: #397d36 !important;
    visibility: visible !important;
    opacity: 1 !important;
}
@media (max-width: 680px) {
    .destinations-page .destination-card-copy {
        min-height: 0;
    }
}
