/* ============================================================
   Rolling Tones — Main Stylesheet
   ============================================================ */

/* ── Custom Properties ───────────────────────────────────── */
/* NOTE: --rt-primary, --rt-secondary, --rt-gold are set by
   the Customizer via inline <style id="rt-customizer-css"> in <head>.
   The values below are FALLBACKS used before that style loads. */
:root {
    --rt-primary:    #006650;
    --rt-secondary:  #007A60;
    --rt-gold:       #C9A96E;
    --rt-gold-light: #E8D4A8;
    --rt-dark:       #0D1B16;
    --rt-text:       #1C2B25;
    --rt-text-muted: #4A5E56;
    --rt-bg:         #FAFAF8;
    --rt-bg-alt:     #F2F4F0;
    --rt-white:      #FFFFFF;
    --rt-border:     rgba(0, 102, 80, 0.15);

    --rt-font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --rt-font-sans:  'Lato', 'Helvetica Neue', Arial, sans-serif;

    --rt-transition: 0.3s ease;
    --rt-radius-sm:  4px;
    --rt-radius:     8px;
    --rt-radius-lg:  16px;

    --rt-shadow-sm: 0 2px 8px rgba(0,0,0,.06);
    --rt-shadow:    0 4px 24px rgba(0,0,0,.10);
    --rt-shadow-lg: 0 12px 48px rgba(0,0,0,.14);

    --rt-max-width: 1200px;
    --rt-section-padding: clamp(64px, 8vw, 120px) 0;
}

/* ── Reset & Base ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--rt-font-sans);
    font-size: 1rem;
    line-height: 1.75;
    color: var(--rt-text);
    background: var(--rt-bg);
    overflow-x: hidden;
}

img, video { max-width: 100%; height: auto; display: block; }

a { color: var(--rt-secondary); text-decoration: none; transition: color var(--rt-transition); }
a:hover { color: var(--rt-primary); }

/* ── Typography ─────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--rt-font-serif);
    font-weight: 700;
    line-height: 1.25;
    color: var(--rt-dark);
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.2rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ── Layout Utilities ───────────────────────────────────── */
.container {
    width: 100%;
    max-width: var(--rt-max-width);
    margin: 0 auto;
    padding: 0 clamp(1rem, 4vw, 2rem);
}

.section { padding: var(--rt-section-padding); }
.section--alt { background: var(--rt-bg-alt); }
.section--dark {
    background: var(--rt-dark);
    color: rgba(255,255,255,.9);
}
.section--dark h1,
.section--dark h2,
.section--dark h3 { color: var(--rt-white); }

.section__header { text-align: center; margin-bottom: clamp(2.5rem, 5vw, 4rem); }

.section__title {
    position: relative;
    display: inline-block;
    margin-bottom: 1rem;
}

.section__title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: var(--rt-gold);
}

.section__subtitle {
    font-size: 1.05rem;
    color: var(--rt-text-muted);
    max-width: 600px;
    margin: 1.5rem auto 0;
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .8rem 2rem;
    font-family: var(--rt-font-sans);
    font-size: .95rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    border-radius: var(--rt-radius-sm);
    cursor: pointer;
    transition: all var(--rt-transition);
    border: 2px solid transparent;
    text-decoration: none;
}

.btn--primary {
    background: var(--rt-gold);
    color: var(--rt-dark);
    border-color: var(--rt-gold);
}
.btn--primary:hover {
    background: transparent;
    color: var(--rt-gold);
}

.btn--outline {
    background: transparent;
    color: var(--rt-white);
    border-color: var(--rt-white);
}
.btn--outline:hover {
    background: var(--rt-white);
    color: var(--rt-primary);
}

.btn--green {
    background: var(--rt-primary);
    color: var(--rt-white);
    border-color: var(--rt-primary);
}
.btn--green:hover {
    background: var(--rt-secondary);
    border-color: var(--rt-secondary);
    color: var(--rt-white);
}

/* ══════════════════════════════════════════════════════════
   HEADER — Desktop bar
══════════════════════════════════════════════════════════ */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 500;
    padding: 1.2rem 0;
    transition: background var(--rt-transition), box-shadow var(--rt-transition), padding var(--rt-transition);
}

.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) {
    .admin-bar .site-header { top: 46px; }
}

.site-header.scrolled {
    background: rgba(255,255,255,.97);
    box-shadow: var(--rt-shadow-sm);
    padding: .75rem 0;
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

/* ── Logo ────────────────────────────────────────────────── */
.site-logo a {
    display: flex;
    align-items: center;
    gap: .75rem;
    text-decoration: none;
}

.site-logo img { height: 52px; width: auto; }

.site-logo__text {
    font-family: var(--rt-font-serif);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--rt-white);
    line-height: 1.2;
    transition: color var(--rt-transition);
}

.site-logo__tagline {
    display: block;
    font-size: .68rem;
    font-weight: 300;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(255,255,255,.7);
    transition: color var(--rt-transition);
}

.scrolled .site-logo__text    { color: var(--rt-dark); }
.scrolled .site-logo__tagline { color: var(--rt-text-muted); }

/* ── Desktop nav (inside header, visible ≥ 769px) ──────── */
.primary-nav { display: flex; align-items: center; }

.primary-nav ul {
    list-style: none;
    display: flex;
    gap: .25rem;
    align-items: center;
    margin: 0; padding: 0;
}

.primary-nav ul li a {
    font-size: .88rem;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: rgba(255,255,255,.9);
    padding: .5rem .9rem;
    border-radius: var(--rt-radius-sm);
    transition: all var(--rt-transition);
    display: block;
    white-space: nowrap;
}

.primary-nav ul li a:hover,
.primary-nav ul li.current-menu-item > a { color: var(--rt-gold); background: rgba(255,255,255,.08); }

.scrolled .primary-nav ul li a { color: var(--rt-text); }
.scrolled .primary-nav ul li a:hover { color: var(--rt-primary); background: var(--rt-bg-alt); }
.scrolled .primary-nav ul li.current-menu-item > a { color: var(--rt-primary); }

/* ── Hamburger button (hidden on desktop) ──────────────── */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    flex-direction: column;
    gap: 5px;
    z-index: 510;
    flex-shrink: 0;
}

.nav-toggle span {
    display: block;
    width: 26px; height: 2px;
    background: var(--rt-white);
    border-radius: 2px;
    transition: transform .3s ease, opacity .3s ease, background .3s ease;
    transform-origin: center;
}

.scrolled .nav-toggle span { background: var(--rt-dark); }

.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ══════════════════════════════════════════════════════════
   MOBILE NAV — full-screen overlay + right-side drawer
   z-index deliberately ABOVE site-header (500)
══════════════════════════════════════════════════════════ */

/* Dim overlay — covers the whole viewport */
.mobile-nav-overlay {
    display: none; /* JS toggles to block */
    position: fixed;
    inset: 0;
    z-index: 9000;
    background: rgba(0, 0, 0, 0);
    transition: background .3s ease;
    /* pointer-events off until open so overlay doesn't block clicks */
    pointer-events: none;
}

.mobile-nav-overlay.open {
    background: rgba(0, 0, 0, .55);
    pointer-events: all;
}

/* Panel — right-side drawer */
.mobile-nav-panel {
    position: absolute;
    top: 0; right: 0; bottom: 0;
    width: min(300px, 82vw);
    background: var(--rt-dark);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform .35s cubic-bezier(.4, 0, .2, 1);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    /* Painter's order: panel slides above overlay bg */
}

.mobile-nav-overlay.open .mobile-nav-panel {
    transform: translateX(0);
}

/* Panel header row */
.mobile-nav-panel__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,.08);
    flex-shrink: 0;
}

.mobile-nav-panel__brand {
    font-family: var(--rt-font-serif);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--rt-white);
    letter-spacing: .01em;
}

.mobile-nav-panel__close {
    background: none;
    border: none;
    cursor: pointer;
    color: rgba(255,255,255,.7);
    padding: 6px;
    border-radius: var(--rt-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color var(--rt-transition), background var(--rt-transition);
    line-height: 0;
}

.mobile-nav-panel__close:hover {
    color: var(--rt-white);
    background: rgba(255,255,255,.08);
}

/* Menu links inside panel */
.mobile-nav-menu {
    list-style: none;
    margin: 0; padding: .75rem 0;
    flex: 1;
}

.mobile-nav-menu li a {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    font-family: var(--rt-font-sans);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: rgba(255,255,255,.8);
    border-left: 3px solid transparent;
    transition: all var(--rt-transition);
}

.mobile-nav-menu li a:hover,
.mobile-nav-menu li.current-menu-item > a {
    color: var(--rt-gold);
    background: rgba(255,255,255,.04);
    border-left-color: var(--rt-gold);
}

/* Social links inside panel */
.mobile-nav-panel .social-links {
    padding: 1.25rem 1.5rem;
    border-top: 1px solid rgba(255,255,255,.08);
    margin-top: 0;
    flex-shrink: 0;
}

/* Lock body scroll when overlay is open */
body.nav-open {
    overflow: hidden;
    /* iOS Safari needs this too */
    position: fixed;
    width: 100%;
}

/* ── Hero Section ────────────────────────────────────────── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background-color: var(--rt-primary);
}

.hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1.05);
    transition: transform 8s ease;
}

.hero.loaded .hero__bg { transform: scale(1); }

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(6, 30, 22, 0.5) 0%,
        rgba(6, 30, 22, 0.65) 60%,
        rgba(6, 30, 22, 0.8) 100%
    );
}

.hero__content {
    position: relative;
    z-index: 2;
    color: var(--rt-white);
    max-width: 800px;
    padding: 2rem;
}

.hero__eyebrow {
    font-family: var(--rt-font-sans);
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--rt-gold);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .75rem;
}

.hero__eyebrow::before,
.hero__eyebrow::after {
    content: '';
    display: block;
    width: 40px;
    height: 1px;
    background: var(--rt-gold);
    opacity: .7;
}

.hero__title {
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 700;
    color: var(--rt-white);
    letter-spacing: -.02em;
    margin-bottom: 1rem;
    text-shadow: 0 2px 20px rgba(0,0,0,.3);
}

.hero__title em {
    font-style: italic;
    color: var(--rt-gold-light);
}

.hero__subtitle {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    font-weight: 300;
    color: rgba(255,255,255,.85);
    margin-bottom: 2.5rem;
    letter-spacing: .02em;
}

.hero__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.hero__scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .5rem;
    color: rgba(255,255,255,.5);
    font-size: .7rem;
    letter-spacing: .15em;
    text-transform: uppercase;
    animation: bounceDown 2s infinite;
}

.hero__scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255,255,255,.5), transparent);
}

@keyframes bounceDown {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%       { transform: translateX(-50%) translateY(6px); }
}

/* ── Stats Bar ───────────────────────────────────────────── */
.stats-bar {
    background: var(--rt-primary);
    padding: 0;
}

.stats-bar__inner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.stat-item {
    padding: 2.5rem 2rem;
    text-align: center;
    border-right: 1px solid rgba(255,255,255,.1);
}

.stat-item:last-child { border-right: none; }

.stat-item__number {
    font-family: var(--rt-font-serif);
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 700;
    color: var(--rt-gold);
    line-height: 1;
    margin-bottom: .5rem;
}

.stat-item__label {
    font-size: .8rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(255,255,255,.65);
    font-weight: 300;
}

/* ── About Section ───────────────────────────────────────── */
.section-about .about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2.5rem, 5vw, 5rem);
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: var(--rt-radius-lg);
    box-shadow: var(--rt-shadow-lg);
}

.about-image__decoration {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 200px;
    height: 200px;
    border: 2px solid var(--rt-gold);
    border-radius: var(--rt-radius-lg);
    opacity: .35;
    pointer-events: none;
}

.about-content__eyebrow {
    font-family: var(--rt-font-sans);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--rt-secondary);
    margin-bottom: 1rem;
}

.about-content .section__title { text-align: left; }
.about-content .section__title::after { left: 0; transform: none; }

.about-content p {
    color: var(--rt-text-muted);
    font-size: 1.05rem;
    line-height: 1.8;
}

/* ── Repertoire Section ──────────────────────────────────── */
.section-repertoire { background: var(--rt-bg-alt); }

.repertoire-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.repertoire-card {
    background: var(--rt-white);
    border-radius: var(--rt-radius);
    padding: 2rem 1.75rem;
    border: 1px solid var(--rt-border);
    transition: all var(--rt-transition);
    position: relative;
    overflow: hidden;
}

.repertoire-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--rt-gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--rt-transition);
}

.repertoire-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--rt-shadow);
}

.repertoire-card:hover::before { transform: scaleX(1); }

.repertoire-card__icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(0, 122, 96, .08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    font-size: 1.5rem;
}

.repertoire-card h3 {
    font-size: 1.15rem;
    margin-bottom: .75rem;
    color: var(--rt-dark);
}

.repertoire-card p {
    color: var(--rt-text-muted);
    font-size: .95rem;
    line-height: 1.65;
}

/* ── Team Section ────────────────────────────────────────── */
.section-team { background: var(--rt-dark); }
.section-team .section__subtitle { color: rgba(255,255,255,.55); }

.team-grid,
.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.member-card {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.07);
    border-radius: var(--rt-radius-lg);
    overflow: hidden;
    transition: all var(--rt-transition);
}

.member-card:hover {
    background: rgba(255,255,255,.07);
    transform: translateY(-4px);
}

.member-card__image {
    aspect-ratio: 4/5;
    overflow: hidden;
    position: relative;
}

.member-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

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

.member-card__image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--rt-primary) 0%, var(--rt-secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--rt-font-serif);
    font-size: 3rem;
    font-weight: 700;
    color: rgba(255,255,255,.3);
    letter-spacing: .05em;
}

.member-card__body {
    padding: 1.5rem;
}

.member-card__name {
    font-family: var(--rt-font-serif);
    font-size: 1.2rem;
    color: var(--rt-white);
    margin-bottom: .25rem;
}

.member-card__role {
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--rt-gold);
    margin-bottom: .75rem;
}

.member-card__bio {
    font-size: .9rem;
    color: rgba(255,255,255,.55);
    line-height: 1.65;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ── Events Section ──────────────────────────────────────── */
.events-list { display: flex; flex-direction: column; gap: 1rem; }

.event-card {
    display: grid;
    grid-template-columns: 80px 1fr auto;
    gap: 1.5rem;
    align-items: center;
    background: var(--rt-white);
    border-radius: var(--rt-radius);
    padding: 1.5rem;
    border: 1px solid var(--rt-border);
    transition: all var(--rt-transition);
}

.event-card:hover {
    box-shadow: var(--rt-shadow);
    border-color: var(--rt-secondary);
}

.event-card__date-box {
    text-align: center;
    background: var(--rt-primary);
    color: var(--rt-white);
    border-radius: var(--rt-radius-sm);
    padding: .75rem .5rem;
}

.event-card__day {
    display: block;
    font-family: var(--rt-font-serif);
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
}

.event-card__month {
    display: block;
    font-size: .7rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    opacity: .8;
    margin-top: .2rem;
}

.event-card__title {
    font-family: var(--rt-font-serif);
    font-size: 1.15rem;
    color: var(--rt-dark);
    margin-bottom: .35rem;
}

.event-card__meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.event-card__meta span {
    font-size: .82rem;
    color: var(--rt-text-muted);
    display: flex;
    align-items: center;
    gap: .35rem;
}

.rt-no-events {
    text-align: center;
    color: var(--rt-text-muted);
    font-style: italic;
    padding: 2rem 0;
}

/* ── Gallery Section ─────────────────────────────────────── */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}

.gallery-item {
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: var(--rt-radius);
    cursor: pointer;
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.gallery-item:hover img { transform: scale(1.06); }

.gallery-item__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 102, 80, .6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--rt-transition);
}

.gallery-item:hover .gallery-item__overlay { opacity: 1; }

/* ── Contact Section ─────────────────────────────────────── */
.section-contact .contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: clamp(2.5rem, 5vw, 5rem);
    align-items: start;
}

.contact-info__item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.75rem;
    align-items: flex-start;
}

.contact-info__icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(0, 122, 96, .1);
    border: 1px solid var(--rt-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--rt-secondary);
    font-size: 1.1rem;
}

.contact-info__text strong {
    display: block;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--rt-secondary);
    margin-bottom: .2rem;
}

.contact-info__text p { color: var(--rt-text-muted); font-size: .95rem; }

.social-links { display: flex; gap: .75rem; margin-top: 2rem; }

.social-link {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--rt-primary);
    color: var(--rt-white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--rt-transition);
    font-size: .95rem;
    flex-shrink: 0;
}

.social-link svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
    display: block;
    flex-shrink: 0;
}

.social-link:hover {
    background: var(--rt-gold);
    color: var(--rt-dark);
    transform: translateY(-2px);
}

/* Contact Form */
.contact-form .form-group { margin-bottom: 1.25rem; }

.contact-form label {
    display: block;
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--rt-text-muted);
    margin-bottom: .45rem;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: .85rem 1.1rem;
    font-family: var(--rt-font-sans);
    font-size: .95rem;
    color: var(--rt-text);
    background: var(--rt-white);
    border: 1.5px solid var(--rt-border);
    border-radius: var(--rt-radius-sm);
    transition: border-color var(--rt-transition), box-shadow var(--rt-transition);
    -webkit-appearance: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--rt-secondary);
    box-shadow: 0 0 0 3px rgba(0, 122, 96, .12);
}

.contact-form textarea { min-height: 130px; resize: vertical; }

/* ── Footer ──────────────────────────────────────────────── */
.site-footer {
    background: var(--rt-dark);
    color: rgba(255,255,255,.6);
}

.footer-main {
    padding: 4rem 0 2rem;
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1fr;
    gap: 2.5rem;
}

.footer-brand__logo {
    font-family: var(--rt-font-serif);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--rt-white);
    margin-bottom: .75rem;
}

.footer-brand p { font-size: .9rem; line-height: 1.7; }

.footer-col h4 {
    font-family: var(--rt-font-sans);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--rt-gold);
    margin-bottom: 1.25rem;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: .6rem; }
.footer-col ul li a {
    font-size: .9rem;
    color: rgba(255,255,255,.55);
    transition: color var(--rt-transition);
}
.footer-col ul li a:hover { color: var(--rt-white); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.07);
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .82rem;
}

.widget-title {
    font-family: var(--rt-font-sans);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--rt-gold);
    margin-bottom: 1.25rem;
}

/* ── Page Header (inner pages) ──────────────────────────── */
.page-header {
    background: var(--rt-primary);
    /* Top padding = fixed header height (~70px) + breathing room */
    padding: calc(70px + 4rem) 0 3.5rem;
    text-align: center;
    color: var(--rt-white);
}

/* With admin bar */
.admin-bar .page-header { padding-top: calc(70px + 32px + 4rem); }
@media screen and (max-width: 782px) {
    .admin-bar .page-header { padding-top: calc(70px + 46px + 3rem); }
}

.page-header h1 { color: var(--rt-white); font-size: clamp(1.8rem, 4vw, 3rem); }

.page-header__breadcrumb {
    font-size: .82rem;
    color: rgba(255,255,255,.6);
    margin-top: .75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    flex-wrap: wrap;
}

.page-header__breadcrumb a { color: var(--rt-gold-light); }
.page-header__breadcrumb a:hover { color: var(--rt-white); }

/* ── Content page ────────────────────────────────────────── */
.entry-content { max-width: 760px; margin: 0 auto; padding: 3rem 0; }
.entry-content h1, .entry-content h2, .entry-content h3 { margin: 2rem 0 1rem; }
.entry-content ul, .entry-content ol { padding-left: 1.5rem; margin-bottom: 1rem; }
.entry-content li { margin-bottom: .4rem; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
    .footer-main { grid-template-columns: 1fr 1fr; }
    .section-about .about-grid { gap: 2.5rem; }
}

@media (max-width: 768px) {
    /* Show hamburger, hide desktop nav */
    .nav-toggle   { display: flex; }
    .primary-nav  { display: none; }

    /* Mobile overlay: show as block (JS adds/removes .open) */
    .mobile-nav-overlay { display: block; }

    /* Layout fixes */
    .section-about .about-grid { grid-template-columns: 1fr; }
    .about-image { order: -1; }

    .event-card { grid-template-columns: 60px 1fr; }
    .event-card > .btn { display: none; }

    .section-contact .contact-grid { grid-template-columns: 1fr; }

    .stats-bar__inner { grid-template-columns: 1fr; }
    .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.1); }
    .stat-item:last-child { border-bottom: none; }

    .footer-main { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom { flex-direction: column; gap: .75rem; text-align: center; }

    .hero__actions { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
    .team-grid { grid-template-columns: 1fr; }
    .repertoire-grid { grid-template-columns: 1fr; }
}

/* ── Animations ──────────────────────────────────────────── */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .7s ease, transform .7s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays */
.fade-in-up:nth-child(2) { transition-delay: .1s; }
.fade-in-up:nth-child(3) { transition-delay: .2s; }
.fade-in-up:nth-child(4) { transition-delay: .3s; }
.fade-in-up:nth-child(5) { transition-delay: .4s; }
.fade-in-up:nth-child(6) { transition-delay: .5s; }

/* ── Accessibility ───────────────────────────────────────── */
.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    background: var(--rt-primary);
    color: var(--rt-white);
    padding: .5rem 1rem;
    border-radius: 0 0 var(--rt-radius-sm) var(--rt-radius-sm);
    font-size: .9rem;
    z-index: 9999;
}

.skip-link:focus { top: 0; }

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

/* Focus styles */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--rt-secondary);
    outline-offset: 2px;
}

/* ── WordPress Alignment Classes ─────────────────────────── */
.alignnone  { margin: .5rem 1rem 1rem 0; }
.aligncenter { display: block; margin: 0 auto 1rem; }
.alignright { float: right; margin: .5rem 0 1rem 1rem; }
.alignleft  { float: left;  margin: .5rem 1rem 1rem 0; }

/* ── Lightbox (minimal) ──────────────────────────────────── */
.rt-lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.92);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--rt-transition);
    pointer-events: none;
}

.rt-lightbox-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.rt-lightbox-overlay img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: var(--rt-radius);
}

.rt-lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    color: rgba(255,255,255,.8);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    background: none;
    border: none;
    transition: color var(--rt-transition);
}

.rt-lightbox-close:hover { color: var(--rt-white); }

/* ══════════════════════════════════════════════════════════
   BLOG — Single Post
══════════════════════════════════════════════════════════ */

/* ── Post Hero ───────────────────────────────────────────── */
.post-hero {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background: var(--rt-dark);
}

.post-hero__image {
    position: absolute;
    inset: 0;
}

.post-hero__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.post-hero__image--placeholder {
    background: linear-gradient(135deg, var(--rt-primary) 0%, var(--rt-dark) 100%);
}

.post-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13,27,22,.92) 0%, rgba(13,27,22,.5) 50%, rgba(13,27,22,.2) 100%);
    pointer-events: none;
}

.post-hero__content {
    position: relative;
    z-index: 2;
    /* Enough top padding to clear fixed header (~70px) + admin bar */
    padding-top: calc(70px + 3rem);
    padding-bottom: 3rem;
    max-width: var(--rt-max-width);
    width: 100%;
    margin: 0 auto;
}

.admin-bar .post-hero__content { padding-top: calc(70px + 32px + 3rem); }
@media screen and (max-width: 782px) {
    .admin-bar .post-hero__content { padding-top: calc(70px + 46px + 2rem); }
}

.post-hero__breadcrumb {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}

.post-hero__breadcrumb a { color: var(--rt-gold-light); }
.post-hero__breadcrumb span { color: rgba(255,255,255,.4); }

.post-hero__title {
    font-size: clamp(1.8rem, 4vw, 3rem);
    color: var(--rt-white);
    max-width: 760px;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 12px rgba(0,0,0,.4);
}

.post-hero__meta {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.post-meta__author {
    display: flex;
    align-items: center;
    gap: .6rem;
    color: rgba(255,255,255,.85);
    font-size: .88rem;
    font-weight: 600;
    text-decoration: none;
}

.post-meta__author:hover { color: var(--rt-gold-light); }

.post-meta__avatar {
    width: 36px !important;
    height: 36px !important;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,.3);
    object-fit: cover;
}

.post-meta__date,
.post-meta__read-time {
    font-size: .82rem;
    color: rgba(255,255,255,.6);
}

/* ── Post Layout (article + sidebar) ────────────────────── */
.post-layout { padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(3rem, 6vw, 5rem); }

.post-layout__inner {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: clamp(2rem, 4vw, 4rem);
    align-items: start;
}

/* ── Article ─────────────────────────────────────────────── */
.post-article { min-width: 0; }

.post-excerpt {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--rt-text-muted);
    border-left: 3px solid var(--rt-gold);
    padding-left: 1.25rem;
    margin-bottom: 2rem;
    font-style: italic;
}

.post-content {
    max-width: none;
    padding: 0;
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--rt-text);
}

.post-content h2 { font-size: 1.6rem; margin: 2.5rem 0 1rem; }
.post-content h3 { font-size: 1.25rem; margin: 2rem 0 .75rem; }
.post-content p  { margin-bottom: 1.25rem; }
.post-content ul, .post-content ol { padding-left: 1.5rem; margin-bottom: 1.25rem; }
.post-content li { margin-bottom: .4rem; }
.post-content blockquote {
    border-left: 3px solid var(--rt-gold);
    padding: 1rem 1.5rem;
    margin: 2rem 0;
    background: var(--rt-bg-alt);
    border-radius: 0 var(--rt-radius) var(--rt-radius) 0;
    font-style: italic;
    color: var(--rt-text-muted);
}
.post-content img {
    border-radius: var(--rt-radius);
    margin: 1.5rem 0;
}
.post-content a { color: var(--rt-secondary); text-decoration: underline; text-underline-offset: 3px; }
.post-content a:hover { color: var(--rt-primary); }

/* ── Tags ────────────────────────────────────────────────── */
.post-tags {
    display: flex;
    align-items: center;
    gap: .5rem;
    flex-wrap: wrap;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--rt-border);
}

.post-tags__label {
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--rt-text-muted);
    margin-right: .25rem;
}

.post-tag {
    background: var(--rt-bg-alt);
    border: 1px solid var(--rt-border);
    color: var(--rt-text-muted);
    padding: .3rem .85rem;
    border-radius: 100px;
    font-size: .82rem;
    font-weight: 600;
    transition: all var(--rt-transition);
}

.post-tag:hover {
    background: var(--rt-primary);
    color: var(--rt-white);
    border-color: var(--rt-primary);
}

/* ── Share ───────────────────────────────────────────────── */
.post-share {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.post-share__label {
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--rt-text-muted);
}

.post-share__btn {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .45rem 1rem;
    border-radius: 100px;
    font-size: .82rem;
    font-weight: 700;
    transition: all var(--rt-transition);
}

.post-share__btn--fb {
    background: #1877F2;
    color: #fff;
}
.post-share__btn--fb:hover {
    background: #0d6efd;
    color: #fff;
}

/* ── Author Bio ──────────────────────────────────────────── */
.post-author-bio {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    background: var(--rt-bg-alt);
    border-radius: var(--rt-radius-lg);
    border: 1px solid var(--rt-border);
    padding: 1.5rem;
    margin-top: 2.5rem;
}

.post-author-bio__avatar img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--rt-border);
}

.post-author-bio__label {
    display: block;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--rt-secondary);
    margin-bottom: .2rem;
}

.post-author-bio__name {
    display: block;
    font-family: var(--rt-font-serif);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--rt-dark);
    margin-bottom: .5rem;
}

.post-author-bio__info p { color: var(--rt-text-muted); font-size: .92rem; margin: 0; }

/* ── Post Navigation ─────────────────────────────────────── */
.post-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--rt-border);
}

.post-nav__item {
    display: flex;
    flex-direction: column;
    gap: .3rem;
    padding: 1rem 1.25rem;
    background: var(--rt-bg-alt);
    border-radius: var(--rt-radius);
    border: 1px solid var(--rt-border);
    transition: all var(--rt-transition);
    text-decoration: none;
}

.post-nav__item:hover {
    border-color: var(--rt-secondary);
    background: var(--rt-white);
}

.post-nav__item--next { text-align: right; }

.post-nav__dir {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--rt-secondary);
}

.post-nav__title {
    font-family: var(--rt-font-serif);
    font-size: .95rem;
    color: var(--rt-dark);
    font-weight: 600;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ── Sidebar ─────────────────────────────────────────────── */
.post-sidebar {
    position: sticky;
    top: calc(80px + 1rem);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.admin-bar .post-sidebar { top: calc(80px + 32px + 1rem); }

.sidebar-widget {
    background: var(--rt-white);
    border: 1px solid var(--rt-border);
    border-radius: var(--rt-radius-lg);
    padding: 1.25rem;
}

.sidebar-widget__title {
    font-family: var(--rt-font-sans);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--rt-secondary);
    margin-bottom: 1rem;
    padding-bottom: .75rem;
    border-bottom: 1px solid var(--rt-border);
}

/* Related posts */
.sidebar-related { display: flex; flex-direction: column; gap: .75rem; }

.sidebar-related__item {
    display: flex;
    gap: .75rem;
    align-items: flex-start;
    text-decoration: none;
    padding: .5rem 0;
    border-bottom: 1px solid var(--rt-border);
}

.sidebar-related__item:last-child { border-bottom: none; padding-bottom: 0; }
.sidebar-related__item:hover .sidebar-related__title { color: var(--rt-secondary); }

.sidebar-related__thumb {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: var(--rt-radius-sm);
    overflow: hidden;
}

.sidebar-related__thumb img { width: 100%; height: 100%; object-fit: cover; }

.sidebar-related__text { display: flex; flex-direction: column; gap: .2rem; }

.sidebar-related__title {
    font-size: .88rem;
    font-weight: 600;
    color: var(--rt-dark);
    line-height: 1.35;
    transition: color var(--rt-transition);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sidebar-related__date { font-size: .75rem; color: var(--rt-text-muted); }

/* Sidebar event items */
.sidebar-event {
    display: flex;
    gap: .75rem;
    align-items: flex-start;
    text-decoration: none;
    padding: .6rem 0;
    border-bottom: 1px solid var(--rt-border);
    transition: opacity var(--rt-transition);
}

.sidebar-event:last-child { border-bottom: none; }
.sidebar-event:hover { opacity: .75; }

.sidebar-event__date {
    flex-shrink: 0;
    min-width: 42px;
    background: var(--rt-primary);
    color: var(--rt-white);
    text-align: center;
    border-radius: var(--rt-radius-sm);
    padding: .35rem .4rem;
    font-size: .7rem;
    font-weight: 700;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.sidebar-event__info { display: flex; flex-direction: column; gap: .15rem; }
.sidebar-event__title { font-size: .88rem; font-weight: 600; color: var(--rt-dark); line-height: 1.3; }
.sidebar-event__location { font-size: .75rem; color: var(--rt-text-muted); }

/* ══════════════════════════════════════════════════════════
   BLOG — Archive / Grid
══════════════════════════════════════════════════════════ */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.blog-card {
    background: var(--rt-white);
    border-radius: var(--rt-radius-lg);
    border: 1px solid var(--rt-border);
    overflow: hidden;
    transition: all var(--rt-transition);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--rt-shadow);
}

.blog-card__image-wrap {
    display: block;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.blog-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
    display: block;
}

.blog-card:hover .blog-card__image { transform: scale(1.04); }

.blog-card__image--placeholder {
    background: linear-gradient(135deg, var(--rt-primary), var(--rt-secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: rgba(255,255,255,.2);
    font-family: var(--rt-font-serif);
}

.blog-card__body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-card__cat {
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--rt-secondary);
    margin-bottom: .6rem;
    display: inline-block;
    transition: color var(--rt-transition);
}
.blog-card__cat:hover { color: var(--rt-primary); }

.blog-card__title {
    font-size: 1.15rem;
    margin-bottom: .6rem;
    line-height: 1.3;
}

.blog-card__title a { color: var(--rt-dark); }
.blog-card__title a:hover { color: var(--rt-secondary); }

.blog-card__meta {
    display: flex;
    gap: .75rem;
    font-size: .78rem;
    color: var(--rt-text-muted);
    margin-bottom: .85rem;
    flex-wrap: wrap;
}

.blog-card__excerpt {
    color: var(--rt-text-muted);
    font-size: .92rem;
    line-height: 1.65;
    margin-bottom: 1.25rem;
    flex: 1;
}

.blog-card__link {
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--rt-secondary);
    transition: gap var(--rt-transition), color var(--rt-transition);
    align-self: flex-start;
    margin-top: auto;
}
.blog-card__link:hover { color: var(--rt-primary); }

/* ── Archive Pagination ──────────────────────────────────── */
.archive-pagination { margin-top: 2rem; text-align: center; }

.archive-pagination .nav-links {
    display: flex;
    justify-content: center;
    gap: .5rem;
    flex-wrap: wrap;
}

.archive-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--rt-radius-sm);
    background: var(--rt-bg-alt);
    border: 1px solid var(--rt-border);
    font-size: .9rem;
    font-weight: 700;
    color: var(--rt-text);
    transition: all var(--rt-transition);
    text-decoration: none;
}

.archive-pagination .page-numbers.current,
.archive-pagination .page-numbers:hover {
    background: var(--rt-primary);
    color: var(--rt-white);
    border-color: var(--rt-primary);
}

.archive-pagination .page-numbers.dots {
    background: none;
    border: none;
}

/* ── Responsive: Blog ────────────────────────────────────── */
@media (max-width: 1024px) {
    .post-layout__inner { grid-template-columns: 1fr 280px; }
}

@media (max-width: 768px) {
    .post-layout__inner { grid-template-columns: 1fr; }
    .post-sidebar { position: static; }
    .post-hero { min-height: 380px; }
    .post-hero__title { font-size: clamp(1.5rem, 5vw, 2rem); }
    .post-nav { grid-template-columns: 1fr; }
    .post-nav__item--next { text-align: left; }
    .blog-grid { grid-template-columns: 1fr; }
    .post-author-bio { flex-direction: column; }
}

/* ── Member profile page ──────────────────────────────────── */
@media (max-width: 640px) {
    .member-profile-inner { grid-template-columns: 1fr !important; }
    .member-profile-inner > div:first-child { position: static !important; }
}

/* ── Members grid (light variant — for voice groups) ─────── */
.members-grid-light {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.member-card-light {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--rt-white);
    border: 1px solid var(--rt-border);
    border-radius: var(--rt-radius);
    padding: .9rem 1.1rem;
    transition: all var(--rt-transition);
}

.member-card-light:hover {
    border-color: var(--rt-secondary);
    box-shadow: var(--rt-shadow-sm);
    transform: translateY(-2px);
}

.member-card-light__avatar {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    overflow: hidden;
}

.member-card-light__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.member-card-light__initials {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--rt-primary), var(--rt-secondary));
    color: rgba(255,255,255,.8);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .04em;
}

.member-card-light__info {
    display: flex;
    flex-direction: column;
    gap: .15rem;
    min-width: 0;
}

.member-card-light__name {
    font-size: .92rem;
    font-weight: 700;
    color: var(--rt-dark);
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color var(--rt-transition);
}

.member-card-light__name:hover { color: var(--rt-secondary); }

.member-card-light__role {
    font-size: .75rem;
    color: var(--rt-text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 640px) {
    .members-grid-light { grid-template-columns: 1fr; }
}

/* ── Ekip page grid ───────────────────────────────────────── */
.ekip-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
}

.ekip-grid--large {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

/* Override member-card-light for ekip page — bigger cards */
.ekip-grid .member-card-light {
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    overflow: hidden;
    border-radius: var(--rt-radius-lg);
}

.ekip-grid .member-card-light__avatar {
    width: 100%;
    height: 220px;
    border-radius: 0;
    overflow: hidden;
    flex-shrink: 0;
    display: block;
}

.ekip-grid--large .member-card-light__avatar { height: 280px; }

.ekip-grid .member-card-light__img {
    width: 100%; height: 100%;
    object-fit: cover;
}

.ekip-grid .member-card-light__initials {
    width: 100%; height: 100%;
    font-size: 3rem;
    border-radius: 0;
}

.ekip-grid .member-card-light__body {
    padding: 1.25rem 1.5rem 1.5rem;
    width: 100%;
}

.ekip-grid .member-card-light__name {
    font-family: var(--rt-font-serif);
    font-size: 1.15rem;
    font-weight: 700;
    white-space: normal;
    margin-bottom: .3rem;
}

.ekip-grid .member-card-light__role {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--rt-secondary);
    display: block;
    margin-bottom: .75rem;
}

.ekip-grid .member-card-light__bio {
    font-size: .88rem;
    color: var(--rt-text-muted);
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ── Fix footer widget title (WordPress adds h2 with own styles) ── */
/* WordPress widgets output <h2 class="widget-title"> — override any
   admin styles that leak into frontend */
.site-footer .widget-title,
.site-footer .widgettitle,
.footer-col .widget-title,
.footer-col h2,
.footer-col h3,
.footer-col h4 {
    font-family: var(--rt-font-sans) !important;
    font-size: .72rem !important;
    font-weight: 700 !important;
    letter-spacing: .15em !important;
    text-transform: uppercase !important;
    color: var(--rt-gold) !important;
    margin: 0 0 1.25rem !important;
    padding: 0 !important;
    border: none !important;
    background: none !important;
    line-height: 1.4 !important;
}

/* Fix any ul/li inside footer widgets (archive widget adds bullets) */
.footer-col .widget ul { list-style: none; margin: 0; padding: 0; }
.footer-col .widget ul li { margin-bottom: .6rem; }
.footer-col .widget ul li a {
    font-size: .9rem;
    color: rgba(255,255,255,.55);
    transition: color var(--rt-transition);
    text-decoration: none;
}
.footer-col .widget ul li a:hover { color: var(--rt-white); }

@media (max-width: 768px) {
    .ekip-grid { grid-template-columns: 1fr 1fr; }
    .ekip-grid--large { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .ekip-grid { grid-template-columns: 1fr; }
}

/* ── Achievements timeline (За нас page) ─────────────────── */
.achievements-timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 820px;
    margin: 0 auto;
    position: relative;
}

.achievements-timeline::before {
    content: '';
    position: absolute;
    left: 72px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--rt-border);
}

.achievement-item {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 1.5rem;
    padding: 1.75rem 0;
    border-bottom: 1px solid var(--rt-border);
    align-items: flex-start;
    position: relative;
}

.achievement-item:last-child { border-bottom: none; }

.achievement-item__year {
    font-family: var(--rt-font-serif);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--rt-primary);
    text-align: center;
    padding-top: .15rem;
    position: relative;
    z-index: 1;
}

.achievement-item__content {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.achievement-item__icon {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    background: var(--rt-white);
    border: 1.5px solid var(--rt-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.achievement-item__title {
    font-family: var(--rt-font-serif);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--rt-dark);
    margin: 0 0 .4rem;
    line-height: 1.3;
}

.achievement-item__text {
    font-size: .92rem;
    color: var(--rt-text-muted);
    line-height: 1.65;
    margin: 0;
}

@media (max-width: 600px) {
    .achievements-timeline::before { display: none; }
    .achievement-item { grid-template-columns: 1fr; gap: .75rem; }
    .achievement-item__year { text-align: left; font-size: 1rem; }
}

/* ══════════════════════════════════════════════════════════
   ACHIEVEMENTS GRID — modern card layout
══════════════════════════════════════════════════════════ */
.ach-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.ach-card {
    background: var(--rt-white);
    border: 1px solid var(--rt-border);
    border-radius: var(--rt-radius-lg);
    padding: 1.75rem;
    position: relative;
    transition: all var(--rt-transition);
    display: flex;
    flex-direction: column;
    gap: .75rem;
}

.ach-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--rt-shadow);
    border-color: var(--rt-secondary);
}

/* Featured card spans full width on first row */
.ach-card--featured {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: flex-start;
    gap: 2rem;
    background: linear-gradient(135deg, var(--rt-dark) 0%, #0a2318 100%);
    border-color: transparent;
    color: var(--rt-white);
}

.ach-card--featured:hover {
    border-color: var(--rt-gold);
    box-shadow: 0 8px 32px rgba(0,102,80,.3);
}

.ach-card--featured .ach-card__icon {
    font-size: 2.5rem;
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    background: rgba(255,255,255,.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: .25rem;
}

.ach-card--featured .ach-card__title { color: var(--rt-white); font-size: 1.3rem; }
.ach-card--featured .ach-card__text  { color: rgba(255,255,255,.7); }

.ach-card__badge {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .12em;
    color: var(--rt-secondary);
    background: rgba(0,122,96,.08);
    border: 1px solid rgba(0,122,96,.2);
    border-radius: 100px;
    padding: .2rem .7rem;
}

.ach-card--featured .ach-card__badge {
    color: var(--rt-gold);
    background: rgba(201,169,110,.12);
    border-color: rgba(201,169,110,.3);
}

.ach-card__icon {
    font-size: 1.6rem;
    width: 48px;
    height: 48px;
    background: rgba(0,122,96,.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ach-card__title {
    font-family: var(--rt-font-serif);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--rt-dark);
    margin: 0;
    line-height: 1.3;
}

.ach-card__text {
    font-size: .9rem;
    color: var(--rt-text-muted);
    line-height: 1.65;
    margin: 0;
    flex: 1;
}

.ach-card__verdict {
    display: flex;
    align-items: center;
    gap: .4rem;
    margin-top: .25rem;
}

.ach-verdict-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--rt-gold);
    flex-shrink: 0;
}

.ach-card__verdict-label {
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .08em;
    color: var(--rt-gold);
    text-transform: uppercase;
}

.ach-card__links {
    display: flex;
    gap: .75rem;
    flex-wrap: wrap;
    margin-top: .5rem;
}

.ach-card__link {
    font-size: .78rem;
    font-weight: 700;
    color: rgba(255,255,255,.5);
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,.2);
    padding-bottom: 1px;
    transition: color var(--rt-transition);
}

.ach-card__link:hover { color: var(--rt-gold-light); }

/* ── Fix member-card-light image display ─────────────────── */
.member-card-light__image-wrap {
    display: block;
    width: 100%;
    height: 220px;
    overflow: hidden;
    flex-shrink: 0;
    border-radius: var(--rt-radius-lg) var(--rt-radius-lg) 0 0;
    background: linear-gradient(135deg, var(--rt-primary), var(--rt-secondary));
}

.ekip-grid--large .member-card-light__image-wrap { height: 260px; }

.member-card-light__image-wrap .member-card-light__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    border-radius: 0;
    transition: transform .5s ease;
}

.member-card-light:hover .member-card-light__img { transform: scale(1.04); }

/* Override old avatar styles in ekip-grid context */
.ekip-grid .member-card-light {
    flex-direction: column;
    padding: 0;
    overflow: hidden;
}

.ekip-grid .member-card-light__body {
    padding: 1.25rem 1.5rem 1.5rem;
}

.ekip-grid .member-card-light__name { white-space: normal; }

/* Responsive achievements */
@media (max-width: 900px) {
    .ach-grid { grid-template-columns: 1fr 1fr; }
    .ach-card--featured { flex-direction: column; }
}

@media (max-width: 600px) {
    .ach-grid { grid-template-columns: 1fr; }
    .ach-card--featured { grid-column: auto; }
}

/* ══════════════════════════════════════════════════════════
   BENTO GRID — Постижения
══════════════════════════════════════════════════════════ */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 220px;
    gap: 1rem;
}

/* ── Size variants ───────────────────────────────────────── */
.bento-card--normal   { grid-column: span 1; }
.bento-card--wide     { grid-column: span 2; }
.bento-card--featured { grid-column: span 3; grid-row: span 1; }

/* ── Base card ───────────────────────────────────────────── */
.bento-card {
    border-radius: var(--rt-radius-lg);
    overflow: hidden;
    position: relative;
    transition: transform .3s ease, box-shadow .3s ease;
    cursor: default;
}

.bento-card:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: var(--rt-shadow-lg);
    z-index: 2;
}

.bento-card__inner {
    position: absolute;
    inset: 0;
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: .5rem;
}

/* ── Color themes ────────────────────────────────────────── */

/* Light */
.bento-card--light {
    background: var(--rt-white);
    border: 1px solid var(--rt-border);
}
.bento-card--light .bento-card__year  { color: var(--rt-secondary); background: rgba(0,122,96,.08); }
.bento-card--light .bento-card__title { color: var(--rt-dark); }
.bento-card--light .bento-card__desc  { color: var(--rt-text-muted); }
.bento-card--light .bento-card__link  { color: var(--rt-secondary); }
.bento-card--light .bento-card__icon  { background: rgba(0,102,80,.07); }

/* Green */
.bento-card--green {
    background: var(--rt-primary);
}
.bento-card--green .bento-card__year  { color: var(--rt-gold); background: rgba(201,169,110,.15); }
.bento-card--green .bento-card__title { color: var(--rt-white); }
.bento-card--green .bento-card__desc  { color: rgba(255,255,255,.75); }
.bento-card--green .bento-card__link  { color: var(--rt-gold-light); }
.bento-card--green .bento-card__icon  { background: rgba(255,255,255,.12); }

/* Dark */
.bento-card--dark {
    background: var(--rt-dark);
}
.bento-card--dark::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at top right, rgba(0,122,96,.35) 0%, transparent 65%);
    pointer-events: none;
}
.bento-card--dark .bento-card__year  { color: var(--rt-gold); background: rgba(201,169,110,.15); }
.bento-card--dark .bento-card__title { color: var(--rt-white); }
.bento-card--dark .bento-card__desc  { color: rgba(255,255,255,.65); }
.bento-card--dark .bento-card__link  { color: var(--rt-gold-light); border-color: rgba(201,169,110,.4); }
.bento-card--dark .bento-card__icon  { background: rgba(255,255,255,.08); }

/* Gold */
.bento-card--gold {
    background: linear-gradient(135deg, #7A5C1E 0%, #B8860B 100%);
}
.bento-card--gold .bento-card__year  { color: #fdf0c0; background: rgba(255,255,255,.12); }
.bento-card--gold .bento-card__title { color: #fdf0c0; }
.bento-card--gold .bento-card__desc  { color: rgba(253,240,192,.75); }
.bento-card--gold .bento-card__link  { color: #fdf0c0; border-color: rgba(253,240,192,.4); }
.bento-card--gold .bento-card__icon  { background: rgba(255,255,255,.12); }

/* ── Card elements ───────────────────────────────────────── */
.bento-card__year {
    display: inline-block;
    align-self: flex-start;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    padding: .25rem .75rem;
    border-radius: 100px;
    margin-bottom: .25rem;
    order: -2;
}

.bento-card__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
    order: -1;
    margin-bottom: .25rem;
}

.bento-card--featured .bento-card__icon,
.bento-card--wide     .bento-card__icon {
    width: 56px;
    height: 56px;
    font-size: 1.8rem;
    border-radius: 16px;
}

.bento-card__title {
    font-family: var(--rt-font-serif);
    font-weight: 700;
    line-height: 1.25;
    margin: 0;
    font-size: 1rem;
}

.bento-card--featured .bento-card__title { font-size: 1.45rem; }
.bento-card--wide     .bento-card__title { font-size: 1.2rem; }

.bento-card__desc {
    font-size: .85rem;
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bento-card--featured .bento-card__desc {
    -webkit-line-clamp: 2;
    font-size: .92rem;
}

.bento-card__link {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .05em;
    text-decoration: none;
    border-bottom: 1px solid currentColor;
    padding-bottom: 1px;
    align-self: flex-start;
    margin-top: .25rem;
    transition: opacity var(--rt-transition);
}

.bento-card__link:hover { opacity: .75; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 900px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 200px;
    }
    .bento-card--featured { grid-column: span 2; }
    .bento-card--wide     { grid-column: span 2; }
}

@media (max-width: 560px) {
    .bento-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
    }
    .bento-card--featured,
    .bento-card--wide,
    .bento-card--normal { grid-column: span 1; }

    .bento-card { position: static; }
    .bento-card__inner {
        position: static;
        padding: 1.5rem;
    }
}
