/* ==========================================================================
   Wild Rhythms Safaris – front-end theme
   Rebuilt from the original WordPress/Elementor site (kit post-75, header
   15180, footer 15166, home 13653, single tour 14430, cards 14439/14442).
   ========================================================================== */
:root {
    --wr-primary: #936C43;
    --wr-primary-hover: #A5784E;
    --wr-sage: #BDDA86;
    --wr-sage-hover: #CCEB99;
    --wr-ink: #000000;
    --wr-accent: #2E2E2E;
    --wr-lighter: #838383;
    --wr-border: #DDDDDD;
    --wr-cream: #F9F4F0;
    --wr-card: #F4FAEB;
    --wr-container: 1290px;
    --wr-script: 'Wild Rhythms Script', cursive;
    --wr-body: 'Lora', Georgia, serif;
    --wr-ui: 'Poppins', 'Segoe UI', Arial, sans-serif;
}

body.wr { background: #fff; color: var(--wr-ink); font-family: var(--wr-body); font-size: 17px; line-height: 1.7; }
.wr main { display: block; }
.wr-container { width: 100%; max-width: var(--wr-container); margin: 0 auto; padding: 0 20px; }
.wr-center { text-align: center; }
.wr-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ── Typography ─────────────────────────────────────────────────────────── */
:where(.wr) :where(h1, h2, h3, h4) { font-family: var(--wr-body); font-weight: 500; color: var(--wr-accent); line-height: 1.25; margin: 0; letter-spacing: 0; }
.wr-script { display: block; font-family: var(--wr-script); font-weight: 400; color: var(--wr-primary); line-height: 2; font-size: clamp(1.9rem, 3.4vw, 2.6rem); letter-spacing: 0; }
.wr-script--light { color: #fff; }
.wr-script--sage { color: var(--wr-sage); }
.wr-title { font-size: clamp(1.7rem, 3vw, 2.35rem); margin-top: .35rem; }
.wr-title--primary { color: var(--wr-primary); }
.wr-lead { font-size: 1.06rem; line-height: 1.8; color: var(--wr-ink); }
.wr-prose p { margin: 0 0 1.1rem; text-align: justify; }
.wr-prose p:last-child { margin-bottom: 0; }

/* ── Buttons (kit: 14px bold, 15/30 padding, radius 5) ─────────────────── */
.wr-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font-family: var(--wr-body); font-size: 14px; font-weight: 700; line-height: 20px; color: #fff; background: var(--wr-primary); padding: 15px 30px; border-radius: 5px; text-decoration: none; border: 0; cursor: pointer; transition: background .2s ease, transform .2s ease; }
.wr-btn:hover, .wr-btn:focus-visible { background: var(--wr-primary-hover); color: #fff; }
.wr-btn--dark { background: var(--wr-accent); }
.wr-btn--dark:hover, .wr-btn--dark:focus-visible { background: #000; }
.wr-btn--sm { padding: 11px 24px; font-size: 13px; }
.wr-btns { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ── Header (template 15180) ────────────────────────────────────────────── */
.wr-header { position: sticky; top: var(--adminbar-h, 0px); z-index: 60; background: #fff; box-shadow: 0 1px 0 rgba(0, 0, 0, .04); }
.wr-header__row { display: flex; align-items: center; justify-content: space-between; height: 110px; gap: 24px; }
.wr-header__logo img { width: 124px; height: auto; display: block; }
.wr-nav { display: none; }
.wr-nav ul { list-style: none; display: flex; gap: 40px; margin: 0; padding: 0; }
.wr-nav a { font-family: var(--wr-ui); font-size: 15px; font-weight: 500; color: var(--wr-ink); text-decoration: none; padding: 8px 0; position: relative; }
.wr-nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--wr-accent); transform: scaleX(0); transition: transform .25s ease; }
.wr-nav a:hover::after, .wr-nav a[aria-current="page"]::after { transform: scaleX(1); }
.wr-header__cta { display: none; font-family: var(--wr-ui); font-size: 13px; font-weight: 600; text-transform: uppercase; color: #fff; background: var(--wr-primary); border-radius: 5px; padding: 15px 30px; text-decoration: none; }
.wr-header__cta:hover { background: var(--wr-primary-hover); color: #fff; }
.wr-burger { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border: 0; border-radius: 5px; background: var(--wr-primary); color: #fff; cursor: pointer; }
.wr-burger svg { width: 22px; height: 22px; }
.wr-header__row--mobile { height: 84px; }
.wr-mnav { position: fixed; left: 0; right: 0; top: calc(var(--adminbar-h, 0px) + 84px); bottom: 0; z-index: 59; display: flex; flex-direction: column; gap: 26px; overflow-y: auto; padding: 18px 20px 32px; background: var(--wr-cream); border-top: 1px solid rgba(46, 46, 46, .08); }
.wr-mnav__links { list-style: none; margin: 0; padding: 0; }
.wr-mnav__links a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 2px; border-bottom: 1px solid rgba(46, 46, 46, .1); font-family: var(--wr-body); font-size: 1.35rem; font-weight: 500; color: var(--wr-accent); text-decoration: none; }
.wr-mnav__links svg { width: 18px; height: 18px; color: var(--wr-primary); flex: none; }
.wr-mnav__links a[aria-current="page"] { color: var(--wr-primary); }
.wr-mnav__links a[aria-current="page"] span::before { content: ''; display: inline-block; width: 8px; height: 8px; margin: 0 10px 3px 0; border-radius: 50%; background: var(--wr-sage); }
.wr-mnav__cta { display: flex; align-items: center; justify-content: center; padding: 16px 22px; border-radius: 10px; background: var(--wr-primary); color: #fff; font-family: var(--wr-ui); font-size: 16px; font-weight: 500; text-decoration: none; }
.wr-mnav__cta:hover { background: var(--wr-primary-hover); color: #fff; }
.wr-mnav__contact { display: grid; gap: 8px; padding: 20px; border-radius: 16px; background: #fff; font-family: var(--wr-ui); font-size: 15px; }
.wr-mnav__contact p { margin: 0 0 4px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--wr-primary); }
.wr-mnav__contact a { color: var(--wr-accent); text-decoration: none; overflow-wrap: anywhere; }
html.wr-menu-open { overflow: hidden; }
@media (min-width: 1025px) {
    .wr-nav, .wr-header__cta { display: block; }
    .wr-burger, .wr-mnav { display: none !important; }
}
@media (max-width: 1024px) { .wr-header__row { height: 84px; } .wr-header__logo img { width: 96px; } }

/* ── Heroes ─────────────────────────────────────────────────────────────── */
.wr-hero { position: relative; display: flex; align-items: center; justify-content: center; min-height: min(calc(100vh - 110px), 1100px); overflow: hidden; color: #fff; text-align: center; background: var(--wr-accent); }
.wr-hero--short { min-height: min(60vh, 640px); }
.wr-hero--page { min-height: min(78vh, 900px); }
.wr-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.wr-hero::after { content: ''; position: absolute; inset: 0; background: rgba(0, 0, 0, .38); }
.wr-hero--soft::after { background: rgba(0, 0, 0, .28); }
.wr-hero__inner { position: relative; z-index: 1; max-width: 1100px; padding: 60px 20px; }
.wr-hero h1 { color: #fff; }
.wr .wr-hero__script { font-family: var(--wr-script); font-weight: 400; color: #fff; font-size: clamp(2.3rem, 5vw, 3.7rem); line-height: 1.85; }
.wr-hero__sub { margin: 1.6rem auto 0; max-width: 820px; font-size: 1.12rem; color: var(--wr-sage); }
.wr-hero__sub--white { color: #fff; font-size: 1.05rem; }
.wr-hero__title-lg { color: #fff; font-size: clamp(1.4rem, 2.6vw, 2.2rem); margin-top: .8rem; }
.wr-hero .wr-btns { margin-top: 2.4rem; }
.wr-hero__band { display: inline-block; padding: 18px 28px 10px; background: linear-gradient(180deg, var(--wr-primary) 0%, rgba(147, 108, 67, .55) 100%); }

/* Trip hero (single tour template 14430) */
.wr-trip-hero__box { display: block; margin: 0 auto; max-width: 1065px; padding: 24px 30px 34px; background: linear-gradient(180deg, var(--wr-primary) 0%, rgba(147, 108, 67, 0) 100%); }
.wr-trip-hero__box h1 { font-family: var(--wr-ui); font-weight: 500; font-size: clamp(2rem, 5vw, 3.9rem); color: #fff; }
.wr-trip-hero__where { font-family: var(--wr-ui); color: var(--wr-sage); font-size: 1.15rem; margin-top: .6rem; }
.wr-trip-hero__days { color: #fff; font-family: var(--wr-ui); font-size: clamp(1.1rem, 2vw, 1.75rem); margin-top: 2rem; }

/* ── Bands ──────────────────────────────────────────────────────────────── */
.wr-section { padding: 90px 0; }
.wr-section--tight { padding: 60px 0; }
.wr-band-sage { background: linear-gradient(180deg, var(--wr-sage) 0%, rgba(189, 218, 134, 0) 100%); }
.wr-band-sage-soft { background: linear-gradient(180deg, rgba(189, 218, 134, .66) 0%, rgba(189, 218, 134, 0) 100%); }
.wr-band-sage-up { background: linear-gradient(180deg, rgba(189, 218, 134, 0) 0%, var(--wr-sage) 100%); }
.wr-band-cream { background: var(--wr-cream); }
.wr-intro { padding: 120px 0 130px; text-align: center; }
.wr-intro p { max-width: 1290px; margin: 0 auto; font-size: 1.06rem; line-height: 1.8; }
.wr-intro a { color: var(--wr-primary); }
.wr-head { text-align: center; margin-bottom: 48px; }
.wr-head p { max-width: 1290px; margin: 1rem auto 0; }

/* Split (image + text) */
.wr-split { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) { .wr-split { grid-template-columns: 1fr 1fr; gap: 64px; } .wr-split--wide-text { grid-template-columns: 1.15fr .85fr; } }
.wr-split__media img { width: 100%; border-radius: 8px; object-fit: cover; aspect-ratio: 4 / 4.2; }
.wr-split__media--flat img { border-radius: 0; aspect-ratio: 1.24; }
.wr-split .wr-btn { margin-top: 1.6rem; }

/* Two-column bullet lists */
.wr-ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 0 48px; }
@media (min-width: 768px) { .wr-ticks { grid-template-columns: 1fr 1fr; } }
.wr-ticks li { position: relative; padding: 16px 0 16px 34px; line-height: 1.75; }
.wr-ticks li::before { content: ''; position: absolute; left: 0; top: 22px; width: 20px; height: 20px; border-radius: 50%; background: var(--wr-sage) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23936C43' stroke-width='3'%3E%3Cpath d='M5 12l5 5L19 7'/%3E%3C/svg%3E") center / 12px no-repeat; }
.wr-ticks li::after { content: ''; position: absolute; left: 0; bottom: 0; width: 70px; height: 1px; background: var(--wr-primary); opacity: .6; }
.wr-ticks strong { color: var(--wr-accent); }

/* ── Cards (loop templates 14439 tour / 14442 post) ─────────────────────── */
.wr-grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .wr-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1025px) { .wr-grid { grid-template-columns: repeat(3, 1fr); } }
.wr-card { display: flex; flex-direction: column; background: var(--wr-card); padding: 10px 10px 22px; transition: transform .25s ease, box-shadow .25s ease; }
.wr-card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(0, 0, 0, .08); }
.wr-card__img { display: block; overflow: hidden; aspect-ratio: 39 / 25; background: #e8eedf; }
.wr-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.wr-card:hover .wr-card__img img { transform: scale(1.04); }
.wr-card h3 { font-size: 1.12rem; line-height: 1.4; color: var(--wr-primary); margin: 18px 0 12px; }
.wr-card h3 a { text-decoration: none; color: inherit; }
.wr-card p { font-size: .95rem; line-height: 1.8; margin: 0 0 14px; }
.wr-card__meta { display: flex; gap: 8px; align-items: flex-start; font-size: .82rem; line-height: 1.75; margin-top: auto; }
.wr-card__meta svg { flex: none; width: 15px; height: 15px; margin-top: 4px; color: var(--wr-primary); }
.wr-card__days { font-family: var(--wr-ui); font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--wr-primary); margin-top: 16px; }
.wr-card--post { background: transparent; padding: 0; }
.wr-card--post:hover { transform: none; box-shadow: none; }
.wr-card--post .wr-card__img { aspect-ratio: 16 / 10; border-radius: 6px; margin-bottom: 4px; }
.wr-card--post h3 { font-size: 1.2rem; }
.wr-card--post .wr-btn { align-self: flex-start; margin-top: auto; }
.wr-more { margin-top: 30px; }

/* ── Testimonials (TripAdvisor block) ───────────────────────────────────── */
.wr-reviews { padding: 110px 0; }
.wr-review-cta { margin-top: 28px; display: inline-flex; align-items: center; gap: 10px; font-family: var(--wr-ui); font-size: 14px; font-weight: 500; color: var(--wr-accent); text-decoration: none; border-bottom: 1px solid currentColor; }

/* ── Ready-to-plan box (single tour, contact, about) ─────────────────────── */
.wr-plan-box { max-width: 1090px; margin: 0 auto; border: 8px solid #E4E4E4; padding: 54px 24px 40px; text-align: center; background: #fff; }
.wr-plan-box h2 { font-size: clamp(1.8rem, 3.3vw, 2.6rem); color: var(--wr-primary); }
.wr-plan-box .wr-script { font-size: clamp(1.7rem, 3vw, 2.2rem); margin-top: -.2rem; }
.wr-plan-box p { max-width: 1000px; margin: 1rem auto 2.2rem; font-size: 1.06rem; }

/* ── Single trip ────────────────────────────────────────────────────────── */
.wr-overview { padding: 90px 0 120px; text-align: center; }
.wr-overview .wr-prose { max-width: 1080px; margin: 1.4rem auto 0; font-family: var(--wr-ui); font-size: 1.05rem; line-height: 1.85; }
.wr-overview .wr-prose p { text-align: center; }
.wr-outline-title { font-family: var(--wr-ui) !important; font-weight: 500 !important; font-size: clamp(2rem, 4.2vw, 3.6rem) !important; color: var(--wr-primary) !important; text-align: center; }
.wr-days { max-width: 1100px; margin: 50px auto 0; display: grid; gap: 12px; }
.wr-day { background: #fff; border-radius: 6px; box-shadow: 0 1px 0 rgba(0, 0, 0, .05); overflow: hidden; }
.wr-day summary { list-style: none; display: flex; gap: 16px; align-items: center; padding: 18px 22px; cursor: pointer; font-family: var(--wr-ui); font-size: 1.02rem; font-weight: 500; color: var(--wr-accent); }
.wr-day summary::-webkit-details-marker { display: none; }
.wr-day__n { flex: none; font-weight: 600; color: var(--wr-primary); min-width: 64px; }
.wr-day__chev { margin-left: auto; transition: transform .25s ease; color: var(--wr-primary); }
.wr-day[open] .wr-day__chev { transform: rotate(180deg); }
.wr-day__body { padding: 0 22px 20px 102px; font-size: .98rem; line-height: 1.85; }
@media (max-width: 640px) { .wr-day__body { padding-left: 22px; } }
.wr-incl { padding: 80px 0 100px; }
.wr-incl__grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .wr-incl__grid { grid-template-columns: 1fr 1fr; gap: 50px; } }
.wr-incl h2 { font-family: var(--wr-ui); font-weight: 500; font-size: clamp(1.8rem, 3vw, 2.6rem); color: var(--wr-ink); }
.wr-incl__note { font-family: var(--wr-ui); font-size: .98rem; margin: 1rem 0 1.4rem; }
.wr-incl ul { list-style: none; margin: 0; padding: 0; }
.wr-incl li { position: relative; padding: 8px 0 8px 30px; line-height: 1.7; }
.wr-incl li svg { position: absolute; left: 0; top: 13px; width: 17px; height: 17px; }
.wr-incl .is-in svg { color: #6E9A2E; }
.wr-incl .is-out svg { color: #B4543A; }
.wr-gallery { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .wr-gallery { grid-template-columns: repeat(4, 1fr); } }
.wr-gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 6px; }

/* ── About team ─────────────────────────────────────────────────────────── */
.wr-team { display: grid; gap: 28px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .wr-team { grid-template-columns: repeat(4, 1fr); } }
.wr-member { text-align: center; }
.wr-member img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: top; border-radius: 8px; }
.wr-member h3 { margin-top: 14px; font-size: 1.3rem; }
.wr-member span { display: block; font-family: var(--wr-ui); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--wr-primary); margin-top: 2px; }
.wr-member details { margin-top: 10px; }
.wr-member summary { list-style: none; display: inline-block; cursor: pointer; font-family: var(--wr-body); font-size: 13px; font-weight: 700; color: #fff; background: var(--wr-primary); padding: 9px 22px; border-radius: 5px; }
.wr-member summary::-webkit-details-marker { display: none; }
.wr-member details p { text-align: left; font-size: .92rem; line-height: 1.75; margin-top: 12px; }

/* ── Contact / forms ────────────────────────────────────────────────────── */
.wr-form { max-width: 1110px; margin: 0 auto; display: grid; gap: 20px; }
@media (min-width: 768px) { .wr-form__2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; } }
.wr-form input:not([type="checkbox"]):not([type="hidden"]), .wr-form textarea, .wr-form select { width: 100%; border: 1px solid #99A9B5; border-radius: 3px; background: #fff; padding: 9px 12px; font-family: var(--wr-body); font-size: 14px; color: var(--wr-ink); }
.wr-form input::placeholder, .wr-form textarea::placeholder { color: #A08B6F; }
.wr-form input:focus, .wr-form textarea:focus { outline: 2px solid var(--wr-sage); outline-offset: 0; border-color: var(--wr-primary); }
.wr-form label.wr-check { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; }
.wr-form .wr-btn { justify-self: start; }
.wr-contact-points { display: grid; gap: 18px; margin: 0 auto 60px; max-width: 1110px; }
@media (min-width: 768px) { .wr-contact-points { grid-template-columns: repeat(3, 1fr); } }
.wr-contact-point { display: flex; gap: 14px; align-items: center; padding: 22px; background: var(--wr-card); border-radius: 6px; text-decoration: none; }
.wr-contact-point svg { flex: none; width: 26px; height: 26px; color: var(--wr-primary); }
.wr-contact-point small { display: block; font-family: var(--wr-ui); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--wr-lighter); }
.wr-contact-point strong { font-weight: 500; }
.wr-alert { max-width: 1110px; margin: 0 auto 24px; padding: 14px 18px; border-radius: 6px; background: var(--wr-card); border-left: 4px solid var(--wr-primary); }
.wr-alert--error { background: #FDF0EC; border-left-color: #B4543A; }

/* ── Blog post ──────────────────────────────────────────────────────────── */
.wr-post { padding: 30px 0 80px; }
.wr-post__head h1 { font-size: clamp(2rem, 3.6vw, 2.6rem); color: var(--wr-primary); }
.wr-post__date { font-size: .95rem; color: var(--wr-lighter); margin: .8rem 0 2rem; display: block; }
.wr-post__img { width: 100%; max-height: 560px; object-fit: cover; border-radius: 6px; margin-bottom: 2.2rem; }
.wr-post__body { font-size: 1rem; line-height: 1.85; }
.wr-post__body h2 { font-size: 1.75rem; color: var(--wr-primary); margin: 2.2rem 0 1rem; }
.wr-post__body h3 { font-size: 1.35rem; color: var(--wr-primary); margin: 1.8rem 0 .8rem; }
.wr-post__body p { margin: 0 0 1.2rem; }
.wr-post__body ul, .wr-post__body ol { margin: 0 0 1.4rem; padding-left: 1.5rem; }
.wr-post__body ul { list-style: disc; }
.wr-post__body ol { list-style: decimal; }
.wr-post__body li { margin: .3rem 0; }
.wr-post__body a { color: var(--wr-primary); }
.wr-post__body img { border-radius: 6px; margin: 1.5rem 0; }
.wr-post__layout { display: grid; gap: 50px; }
@media (min-width: 1025px) { .wr-post__layout { grid-template-columns: minmax(0, 1fr) 320px; } }
.wr-aside { position: sticky; top: 140px; align-self: start; }
.wr-aside__box { background: var(--wr-card); padding: 26px; border-radius: 6px; }
.wr-aside__box h2 { font-size: 1.25rem; color: var(--wr-primary); margin-bottom: 1rem; }
.wr-aside__box ul { list-style: none; margin: 0; padding: 0; }
.wr-aside__box li a { display: block; padding: 9px 0; border-bottom: 1px solid rgba(147, 108, 67, .2); font-size: .93rem; text-decoration: none; }
.wr-aside__box li a:hover { color: var(--wr-primary); }
.wr-crumbs { font-family: var(--wr-ui); font-size: .8rem; color: var(--wr-lighter); padding: 26px 0 10px; }
.wr-crumbs a { text-decoration: none; }
.wr-crumbs a:hover { color: var(--wr-primary); }

/* ── Footer (template 15166) ────────────────────────────────────────────── */
.wr-footer { background: linear-gradient(180deg, rgba(204, 235, 153, .39) 56%, rgba(242, 41, 91, 0) 100%), #F6F6F6; padding: 80px 0 50px; font-family: 'Montserrat', var(--wr-ui); }
.wr-footer__grid { display: grid; gap: 40px; }
@media (min-width: 768px) { .wr-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .wr-footer__grid { grid-template-columns: 1.3fr .8fr 1.2fr 1fr; } }
.wr-footer__logo img { width: 140px; }
.wr-footer p { font-size: 15px; line-height: 1.95; color: #000; margin: 18px 0 0; }
.wr-footer h2 { font-family: var(--wr-body); font-size: 24px; font-weight: 600; color: var(--wr-primary); margin-bottom: 18px; }
.wr-footer ul { list-style: none; margin: 0; padding: 0; }
.wr-footer li a { display: inline-flex; gap: 8px; align-items: center; padding: 5px 0; font-size: 17px; color: #000; text-decoration: none; }
.wr-footer li a:hover { color: var(--wr-primary); }
.wr-footer li svg { width: 14px; height: 14px; color: var(--wr-primary); }
.wr-social { display: flex; gap: 10px; margin-top: 22px; }
.wr-social a { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 50%; background: var(--wr-primary); color: #fff; }
.wr-social a:hover { background: var(--wr-primary-hover); }
.wr-social svg { width: 18px; height: 18px; }
.wr-insta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; max-width: 276px; }
.wr-insta img { width: 100%; aspect-ratio: 1.5; object-fit: cover; }
.wr-bottom { display: grid; font-family: var(--wr-body); font-size: 14px; }
@media (min-width: 900px) { .wr-bottom { grid-template-columns: 1fr 1fr; } }
.wr-bottom__left { background: var(--wr-primary); color: #fff; padding: 18px 20px; }
.wr-bottom__right { background: var(--wr-sage); padding: 18px 20px; }
.wr-bottom__right ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 26px; }
.wr-bottom__right a { color: var(--wr-primary); text-decoration: none; }
.wr-bottom__right a:hover { color: var(--wr-accent); }
@media (min-width: 900px) { .wr-bottom__left { padding-left: max(20px, calc((100vw - var(--wr-container)) / 2 + 20px)); } }

/* ── Motion: gentle fade-up, disabled for reduced-motion users ──────────── */
@media (prefers-reduced-motion: no-preference) {
    .wr-fade { animation: wr-fade .9s ease both; }
    @keyframes wr-fade { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
}

/* Narrow screens: justified text leaves gaps between words */
@media (max-width: 767px) { .wr-prose p { text-align: left; } .wr-section { padding: 64px 0; } .wr-intro { padding: 80px 0 90px; } }

/* Body text black, as on the original site */
.wr main { color: #000; }

/* Keyword text placed inside sections (wr/partials/seo-inline) */
.wr-seo { max-width: 1000px; margin: 1.6rem auto 0; }
.wr-seo--center { text-align: center; }
.wr-seo__title { font-size: 1.3rem !important; color: var(--wr-primary) !important; margin-bottom: .6rem !important; }
.wr-seo p { margin: 0 0 .9rem; line-height: 1.8; }
.wr-seo p:last-child { margin-bottom: 0; }
.wr-seo a { color: var(--wr-primary); text-decoration: underline; text-underline-offset: 3px; }
.wr-head .wr-seo { margin-top: 1.4rem; }

/* About: team rows (name, role, Bio button | photo), as the old page */
.wr-team2 { display: grid; gap: 60px 40px; }
@media (min-width: 900px) { .wr-team2 { grid-template-columns: 1fr 1fr; } }
.wr-team2__item { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; }
.wr-team2__text { text-align: center; }
.wr-team2__name { font-family: var(--wr-script) !important; font-weight: 400 !important; font-size: clamp(2.2rem, 3.6vw, 2.9rem) !important; line-height: 1.6 !important; color: var(--wr-primary) !important; }
.wr-team2__role { font-size: 1.15rem; color: var(--wr-primary); margin: 0 0 1.1rem; }
.wr-team2__img { width: 100%; aspect-ratio: 282 / 300; object-fit: cover; object-position: top; border-radius: 8px; }

/* Pop-up (bios) */
.wr-modal { position: fixed; inset: 0; z-index: 90; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(0, 0, 0, .62); }
.wr-modal__box { position: relative; display: grid; width: min(860px, 100%); max-height: calc(100vh - 40px); overflow: auto; background: #fff; border-radius: 10px; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); }
@media (min-width: 720px) { .wr-modal__box { grid-template-columns: 300px 1fr; } }
.wr-modal__box img { width: 100%; height: 100%; min-height: 280px; object-fit: cover; object-position: top; }
.wr-modal__body { padding: 30px 32px 34px; }
.wr-modal__body p { line-height: 1.85; }
.wr-modal__close { position: absolute; top: 10px; right: 12px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--wr-cream); color: var(--wr-accent); font-size: 26px; line-height: 1; cursor: pointer; }
.wr-modal__close:hover, .wr-modal__close:focus-visible { background: var(--wr-primary); color: #fff; }
[x-cloak] { display: none !important; }

/* Home: header floats over the hero, turns solid on scroll (wr/header.blade.php) */
.wr-header--overlay { position: fixed; left: 0; right: 0; background: transparent; box-shadow: none; transition: background .3s ease, box-shadow .3s ease; }
.wr-header--overlay .wr-header__logo img { filter: brightness(0) invert(1); transition: filter .3s ease; }
.wr-header--overlay .wr-nav a { color: #fff; }
.wr-header--overlay .wr-nav a::after { background: var(--wr-sage); }
.wr-header--overlay.is-solid { background: #fff; box-shadow: 0 1px 0 rgba(0, 0, 0, .06), 0 8px 24px rgba(0, 0, 0, .06); }
.wr-header--overlay.is-solid .wr-header__logo img { filter: none; }
.wr-header--overlay.is-solid .wr-nav a { color: var(--wr-ink); }
.wr-header--overlay.is-solid .wr-nav a::after { background: var(--wr-accent); }
@media (min-width: 1025px) { .wr-header--overlay.is-solid .wr-header__row { height: 88px; } .wr-header--overlay .wr-header__row { transition: height .3s ease; } }
