/* ============================================
   HOME PAGE — HERO
   ============================================ */

.hero {
    position: relative;
    background: linear-gradient(135deg, var(--color-cream) 0%, var(--color-gold-light) 100%);
    border-bottom: 4px solid var(--color-gold);
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: start;
    max-width: var(--content-max-width);
    margin: 0 auto;
    padding: 3rem 2rem 4rem;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: 3px;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--color-red), var(--color-gold));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description p {
    margin-bottom: 1rem;
    font-size: 1.05rem;
    line-height: 1.7;
}

.hero-description ul {
    list-style: none;
    margin: 1rem 0;
}

.hero-description li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
    line-height: 1.7;
}

.hero-description li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--color-gold-dark);
    font-weight: bold;
}

.hero-join-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
    margin-top: 2rem;
}

.hero-join-links-mobile {
    display: none;
}

.hero-join-link {
    display: inline-block;
    padding: 0.65rem 1.5rem;
    border-radius: 999px;
    font-size: 0.9rem;
    text-decoration: none;
    white-space: nowrap;
}

.hero-join-link-primary {
    background: var(--color-dark);
    color: var(--color-red-light);
    font-weight: 700;
    border: 2px solid var(--color-red);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
}

.hero-join-link-primary:hover {
    background: var(--color-black);
    border-color: var(--color-red-dark);
}

.hero-join-link-secondary {
    background: var(--color-dark);
    color: var(--color-gold);
    font-weight: 700;
    border: 2px solid var(--color-gold);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
}

.hero-join-link-secondary:hover {
    background: var(--color-black);
}

/* -- Retro radio illustration -- */

.hero-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
    padding-top: 4rem;
}

.vintage-radio {
    position: relative;
    z-index: 0;
    width: 360px;
    max-width: 100%;
    height: 250px;
    background: linear-gradient(160deg, #4a3826 0%, var(--color-dark) 55%, var(--color-black) 100%);
    border-radius: 1.25rem;
    border: 4px solid var(--color-gold);
    box-shadow: var(--shadow-brand), inset 0 2px 0 rgba(255, 255, 255, 0.08);
}

/* Centered on the antenna's tip — right:34px, height:60px, rotate(12deg)
   from the bottom puts the actual tip at roughly x=93%, y=-59px of the
   radio box, so this targets that point directly rather than the middle
   of the unit. Percentage-based left so it stays aligned even when
   .vintage-radio shrinks under max-width:100%. Also sized down from the
   original — a 250px ring was too large to read as "coming from" a small
   corner antenna and made precise alignment mostly meaningless. Pushed
   behind the body (z-index: -1) so it reads as emanating from behind. */
.radio-waves {
    position: absolute;
    z-index: -1;
    top: -59px;
    left: 93%;
    transform: translateX(-50%);
    width: 180px;
    height: 180px;
}

.wave {
    position: absolute;
    top: 0;
    left: 50%;
    border: 3px solid var(--color-red);
    border-radius: 50%;
    opacity: 0.3;
    animation: waveExpand 4s ease-in-out infinite;
}

.wave-1 { width: 50px; height: 50px; animation-delay: 0s; }
.wave-2 { width: 95px; height: 95px; animation-delay: 1.3s; }
.wave-3 { width: 140px; height: 140px; animation-delay: 2.6s; }

@keyframes waveExpand {
    0% { transform: translate(-50%, -50%) scale(0); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(2); opacity: 0; }
}

/* Silver, not gold, so it reads as a metal antenna rather than another
   brass control like the knobs. */
.antenna-stem {
    position: absolute;
    top: -60px;
    right: 34px;
    width: 8px;
    height: 60px;
    background: linear-gradient(to right, #9ca3af, #f3f4f6);
    border-radius: 6px 6px 0 0;
    transform: rotate(12deg);
    transform-origin: bottom center;
    box-shadow: 0 0 6px rgba(156, 163, 175, 0.7);
}

/* Small glowing ball tip so the antenna reads clearly at a glance */
.antenna-stem::after {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #e5e7eb;
    box-shadow: 0 0 8px rgba(229, 231, 235, 0.9);
}

.radio-body {
    display: flex;
    align-items: stretch;
    gap: 1rem;
    height: 100%;
    padding: 1.25rem;
    /* Lighter than the outer shell (and opaque, so the waves at
       z-index: -1 don't show through the gaps between the grille and
       face) — dark-on-dark was hiding the grille entirely. */
    background: var(--color-gray);
    border-radius: 0.75rem;
}

/* Speaker grille: recessed panel with vertical slats + a power LED */
.radio-grille {
    position: relative;
    flex: 0 0 32%;
    border-radius: 0.65rem;
    background:
        repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.4) 0 3px, transparent 3px 9px),
        linear-gradient(180deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.1));
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.6);
}

.grille-led {
    position: absolute;
    top: 0.6rem;
    right: 0.6rem;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-red);
    box-shadow: 0 0 8px var(--color-red);
    animation: ledBlink 2s ease-in-out infinite;
}

@keyframes ledBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.35; }
}

.radio-face {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.frequency-display {
    background: var(--color-red);
    border-radius: 0.5rem;
    padding: 0.75rem;
    text-align: center;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

.display-screen {
    background: var(--color-black);
    border-radius: 0.25rem;
    padding: 0.5rem;
    font-family: var(--font-display);
    color: var(--color-red);
    box-shadow: inset 0 0 10px rgba(220, 38, 38, 0.5);
}

.freq-text {
    font-size: 1.25rem;
}

.freq-unit {
    display: block;
    font-size: 0.65rem;
    color: var(--color-gold);
    margin-top: 0.35rem;
}

.knob-group {
    display: flex;
    justify-content: space-around;
}

.knob {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
}

.knob-mark {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, var(--color-gold-light), var(--color-gold) 55%, var(--color-gold-dark) 100%);
    border: 3px solid var(--color-brown);
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.4);
}

.knob-label {
    font-size: 0.55rem;
    font-family: var(--font-display);
    color: var(--color-gold-dark);
    text-transform: uppercase;
}

/* ============================================
   HOME PAGE — ARTICLES
   ============================================ */

.articles-section {
    padding: 4rem 0;
    background: var(--color-cream);
}

.articles-feed {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 900px;
    margin: 0 auto;
}

.article-item {
    display: flex;
    gap: 1.25rem;
    padding: 1.25rem;
    background: var(--color-cream);
    border: 2px solid var(--border-color);
    border-radius: 0.75rem;
    color: inherit;
    text-decoration: none;
    transition: border-color 0.2s ease;
}

.article-item:hover {
    border-color: var(--color-red);
}

.article-date {
    flex-shrink: 0;
    width: 60px;
    text-align: center;
    color: var(--color-red);
}

.article-day {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1;
}

.article-month {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.article-title {
    font-size: 1.05rem;
    margin-bottom: 0.35rem;
    color: var(--text-primary);
}

.article-excerpt {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.articles-see-more {
    text-align: center;
    margin-top: 2rem;
}

/* Pagination on the full /newsletter-articles listing page. */
.articles-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

.articles-pagination-link {
    padding: 0.6rem 1.25rem;
    border: 2px solid var(--color-red);
    border-radius: 8px;
    color: var(--color-red);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background 0.2s ease, color 0.2s ease;
}

.articles-pagination-link:hover {
    background: var(--color-red);
    color: var(--color-white);
}

.articles-pagination-link.is-disabled {
    opacity: 0.4;
    pointer-events: none;
}

.articles-pagination-status {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.see-more-link {
    display: inline-block;
    padding: 0.85rem 2rem;
    border: 3px solid var(--color-red);
    border-radius: 8px;
    color: var(--color-red);
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
}

/* ============================================
   HOME PAGE — EVENTS
   ============================================ */

.events {
    padding: 1rem 0 4rem;
    background: var(--color-gold-light);
}

.events-feed,
.events-list-feed {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 900px;
    margin: 0 auto;
}

.event-item {
    display: flex;
    gap: 1.25rem;
    padding: 1.25rem;
    background: var(--color-white);
    border: 2px solid var(--border-color);
    border-radius: 0.75rem;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

.event-item:hover {
    border-color: var(--color-red);
}

.event-date {
    flex-shrink: 0;
    width: 60px;
    text-align: center;
    color: var(--color-red);
}

.event-day {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1;
}

.event-month {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.event-title {
    font-size: 1.05rem;
    color: var(--text-primary);
    margin-bottom: 0.35rem;
}

/* Same bold "date/time" treatment used in the sidebar (.net-date,
   .calendar-datetime) — the date itself lives in .event-date on the left,
   so this is just the time (plus location, if there is one). */
.event-time-location {
    font-size: 0.83rem;
    color: var(--text-primary);
    font-weight: 600;
}

.event-notes {
    margin-top: 0.35rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* ============================================
   HOME PAGE — FIND US
   ============================================ */

.findus {
    padding: 1rem 0 5rem;
    background: var(--color-white);
}

.findus-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.findus-card {
    background: var(--color-cream);
    border: 3px solid var(--color-red);
    border-radius: 1rem;
    padding: 2rem;
}

.findus-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.25rem;
}

.detail-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.7;
}

.detail-row:last-child {
    margin-bottom: 0;
}

.detail-label {
    flex-shrink: 0;
    font-weight: 700;
    min-width: 100px;
}

.findus-image-card {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.findus-image {
    width: 100%;
    max-width: 420px;
    border-radius: 0.5rem;
    border: 2px solid var(--color-red);
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.findus-image:hover {
    opacity: 0.9;
}

/* ============================================
   IMAGE LIGHTBOX
   ============================================ */

.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9500;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: rgba(17, 24, 39, 0.85);
    cursor: pointer;
}

.lightbox.active {
    display: flex;
}

.lightbox-image {
    max-width: 100%;
    max-height: 100%;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-brand);
    cursor: default;
}

.lightbox-close {
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    font-size: 2rem;
    line-height: 1;
    color: var(--color-white);
    cursor: pointer;
}

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

/* ============================================
   RESPONSIVE
   ============================================ */

@media screen and (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        display: none;
    }

    .hero-join-links-mobile {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
        align-items: center;
        margin-top: 1.5rem;
    }
}

@media screen and (max-width: 768px) {
    .hero-inner {
        padding: 2rem 1.25rem 3rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .article-item,
    .event-item {
        padding: 1rem;
        gap: 1rem;
    }

    .findus-card {
        padding: 1.5rem;
    }
}
