/**
 * Youth Rally Page Styles
 *
 * @package LBC_Theme
 * @version 2.0.0
 *
 * Mobile-first responsive design using LBC theme tokens.
 * Includes: Hero, zig-zag layouts, speaker cards, stats, gallery, lightbox.
 *
 * Breakpoints:
 * - Mobile: < 640px (default)
 * - Tablet: >= 640px
 * - Desktop: >= 1024px
 */

/* =============================================================================
   PAGE CONTAINER - Mobile Overflow Protection (v6.0)
   ============================================================================= */

html:has(.yr-page),
body:has(.yr-page) {
    overflow-x: hidden;
}

.yr-page {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    position: relative;
}

.yr-page *,
.yr-page *::before,
.yr-page *::after {
    box-sizing: border-box;
}

/* Prevent any child from exceeding viewport width */
.yr-page .container,
.yr-page .yr-section,
.yr-page .yr-info-bar,
.yr-page .yr-hero,
.yr-page .yr-two-col,
.yr-page .yr-speakers-grid,
.yr-page .yr-flyer-card {
    max-width: 100%;
}

/* Mobile-specific overflow safety and centering (default) */
.yr-page img,
.yr-page iframe,
.yr-page video {
    max-width: 100%;
    height: auto;
}

.yr-page .yr-prose {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Center all content on mobile (default) */
.yr-page .container {
    padding-left: var(--space-4);
    padding-right: var(--space-4);
}

.yr-page .section-header,
.yr-page .yr-section__header {
    text-align: center;
}

.yr-page .yr-two-col__left,
.yr-page .yr-two-col__right {
    align-items: center;
    text-align: center;
}

.yr-page .yr-event-details__content {
    text-align: center;
}

.yr-page .yr-prose {
    text-align: left; /* Keep prose left-aligned for readability */
    margin-left: auto;
    margin-right: auto;
}

.yr-page .yr-speakers-grid {
    justify-items: center;
}

.yr-page .yr-flyer-card {
    margin-left: auto;
    margin-right: auto;
    max-width: 90%;
    width: 100%;
}

.yr-page .cta-content,
.yr-page .yr-cta__content {
    text-align: center;
}

.yr-page .cta-buttons,
.yr-page .yr-cta__buttons {
    align-items: center;
    justify-content: center;
}

/* Tablet and up: adjust alignments */
@media (min-width: 640px) {
    .yr-page .container {
        padding-left: var(--space-6);
        padding-right: var(--space-6);
    }

    .yr-page .yr-two-col__left,
    .yr-page .yr-two-col__right {
        align-items: flex-start;
        text-align: left;
    }

    .yr-page .yr-event-details__content {
        text-align: left;
    }

    .yr-page .yr-flyer-card {
        max-width: 100%;
    }
}

/* =============================================================================
   HERO SECTION
   ============================================================================= */

.yr-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--lbc-navy);
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    padding: var(--space-16) var(--space-4);
    text-align: center;
}

@media (min-width: 640px) {
    .yr-hero {
        background-attachment: fixed;
        padding: var(--space-20) var(--space-6);
    }
}

.yr-hero__overlay {
    position: absolute;
    inset: 0;
    background: var(--yr-hero-overlay);
    z-index: 1;
}

.yr-hero__content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    color: var(--lbc-white);
}

/* Hero Logo */
.yr-hero__logo {
    max-width: 180px;
    height: auto;
    margin-bottom: var(--space-6);
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

@media (min-width: 640px) {
    .yr-hero__logo {
        max-width: 240px;
    }
}

/* Hero Title */
.yr-hero__title {
    font-family: var(--font-heading);
    font-size: var(--font-size-4xl);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-tight);
    letter-spacing: var(--letter-spacing-tight);
    margin: 0 0 var(--space-4);
    text-transform: uppercase;
}

@media (min-width: 640px) {
    .yr-hero__title {
        font-size: var(--font-size-5xl);
    }
}

@media (min-width: 1024px) {
    .yr-hero__title {
        font-size: 4rem;
    }
}

/* Hero Tagline */
.yr-hero__tagline {
    font-family: var(--font-heading);
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-semibold);
    color: var(--yr-secondary);
    margin: 0 0 var(--space-6);
    text-transform: uppercase;
    letter-spacing: var(--letter-spacing-wide);
}

@media (min-width: 640px) {
    .yr-hero__tagline {
        font-size: var(--font-size-2xl);
    }
}

/* Hero Bible Verse */
.yr-hero__verse {
    font-family: var(--font-body);
    font-size: var(--font-size-md);
    font-style: italic;
    line-height: var(--line-height-relaxed);
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 var(--space-8);
    padding: 0 var(--space-4);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.yr-hero__verse cite {
    display: block;
    font-style: normal;
    font-weight: var(--font-weight-medium);
    margin-top: var(--space-2);
    color: var(--yr-secondary);
}

/* Hero Info Grid */
.yr-hero__info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
    margin-bottom: var(--space-8);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 640px) {
    .yr-hero__info-grid {
        grid-template-columns: repeat(4, 1fr);
        max-width: 700px;
        gap: var(--space-6);
    }
}

.yr-info-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-1);
    padding: var(--space-3);
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(8px);
}

.yr-info-item__icon {
    color: var(--yr-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.yr-info-item__label {
    font-size: var(--font-size-xs);
    text-transform: uppercase;
    letter-spacing: var(--letter-spacing-wide);
    color: rgba(255, 255, 255, 0.7);
}

.yr-info-item__value {
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
}

@media (min-width: 640px) {
    .yr-info-item__value {
        font-size: var(--font-size-base);
    }
}

/* Hero Actions */
.yr-hero__actions {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    align-items: center;
    margin-bottom: var(--space-10);
}

@media (min-width: 640px) {
    .yr-hero__actions {
        flex-direction: row;
        justify-content: center;
        gap: var(--space-4);
    }
}

.yr-hero__cta {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 color-mix(in srgb, var(--yr-secondary) 40%, transparent);
    }
    50% {
        box-shadow: 0 0 0 12px color-mix(in srgb, var(--yr-secondary) 0%, transparent);
    }
}

/* =============================================================================
   COUNTDOWN TIMER
   ============================================================================= */

.yr-countdown {
    display: flex;
    justify-content: center;
    gap: var(--space-3);
    flex-wrap: wrap;
}

@media (min-width: 640px) {
    .yr-countdown {
        gap: var(--space-6);
    }
}

.yr-countdown__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 70px;
}

@media (min-width: 640px) {
    .yr-countdown__item {
        min-width: 90px;
    }
}

.yr-countdown__number {
    font-family: var(--font-heading);
    font-size: var(--font-size-3xl);
    font-weight: var(--font-weight-bold);
    color: var(--yr-secondary);
    line-height: 1;
    background: rgba(255, 255, 255, 0.1);
    padding: var(--space-3) var(--space-4);
    border-radius: var(--radius-md);
    min-width: 60px;
    text-align: center;
}

@media (min-width: 640px) {
    .yr-countdown__number {
        font-size: var(--font-size-4xl);
        padding: var(--space-4) var(--space-5);
        min-width: 80px;
    }
}

.yr-countdown__label {
    font-size: var(--font-size-xs);
    text-transform: uppercase;
    letter-spacing: var(--letter-spacing-wide);
    margin-top: var(--space-2);
    color: rgba(255, 255, 255, 0.7);
}

/* =============================================================================
   SECTIONS BASE
   ============================================================================= */

.yr-section {
    padding: var(--space-16) var(--space-4);
}

@media (min-width: 640px) {
    .yr-section {
        padding: var(--space-20) var(--space-6);
    }
}

@media (min-width: 1024px) {
    .yr-section {
        padding: var(--space-24) var(--space-8);
    }
}

.yr-section--white {
    background-color: var(--lbc-white);
}

.yr-section--cream {
    background-color: var(--lbc-cream);
}

.yr-section--navy {
    background-color: var(--lbc-navy);
    color: var(--lbc-white);
}

.yr-section--accent {
    background: linear-gradient(135deg, var(--yr-primary) 0%, var(--yr-primary-hover) 100%);
    color: var(--lbc-white);
}

.yr-section__kicker--light {
    color: var(--yr-secondary);
}

/* Section Headers */
.yr-section__header {
    text-align: center;
    margin-bottom: var(--space-12);
}

.yr-section__header--light {
    color: var(--lbc-white);
}

.yr-section__header--light .yr-section__kicker {
    color: var(--yr-secondary);
}

.yr-section__kicker {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: var(--letter-spacing-widest);
    color: var(--yr-accent);
    margin-bottom: var(--space-2);
}

.yr-section__title {
    font-family: var(--font-heading);
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-tight);
    margin: 0;
}

@media (min-width: 640px) {
    .yr-section__title {
        font-size: var(--font-size-3xl);
    }
}

@media (min-width: 1024px) {
    .yr-section__title {
        font-size: var(--font-size-4xl);
    }
}

/* =============================================================================
   ZIG-ZAG LAYOUT
   ============================================================================= */

.yr-zigzag {
    display: grid;
    gap: var(--space-8);
    align-items: center;
}

@media (min-width: 1024px) {
    .yr-zigzag {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-12);
    }

    .yr-zigzag--right .yr-zigzag__media {
        order: 1;
    }

    .yr-zigzag--right .yr-zigzag__content {
        order: 2;
    }

    .yr-zigzag--left .yr-zigzag__content {
        order: 1;
    }

    .yr-zigzag--left .yr-zigzag__media {
        order: 2;
    }
}

.yr-zigzag__content {
    max-width: 560px;
}

@media (min-width: 1024px) {
    .yr-zigzag--right .yr-zigzag__content {
        margin-left: auto;
    }

    .yr-zigzag--left .yr-zigzag__content {
        margin-right: auto;
    }
}

.yr-zigzag__media {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* =============================================================================
   EVENT DETAILS SECTION
   ============================================================================= */

.yr-details__decoration svg {
    width: 100%;
    max-width: 300px;
    height: auto;
    opacity: 0.8;
}

@media (min-width: 1024px) {
    .yr-details__decoration svg {
        max-width: 400px;
    }
}

.yr-details__checkin {
    font-size: var(--font-size-lg);
    color: var(--yr-accent);
    margin-bottom: var(--space-4);
}

.yr-details__content {
    font-size: var(--font-size-md);
    line-height: var(--line-height-relaxed);
}

.yr-details__content p {
    margin-bottom: var(--space-4);
}

/* =============================================================================
   SPEAKERS SECTION (Pastor-style zig-zag layout)
   ============================================================================= */

/* Speakers wrapper */
.yr-speakers-wrap {
    width: 100%;
}

/* Section header */
.yr-speakers-header {
    text-align: center;
    padding: 3rem 0 2rem;
    background: #fff;
}

/* Individual speaker section */
.yr-speaker-section {
    padding: 3rem 0;
    background: #fff;
}

.yr-speaker-section--alt {
    background: var(--lbc-cream);
}

/* Speaker card row (mobile: stacked column) */
.yr-speaker-card-row {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Speaker Image */
.yr-speaker-image {
    width: 100%;
    text-align: center;
}

.yr-speaker-image__frame {
    position: relative;
    display: inline-block;
    max-width: 400px;
}

.yr-speaker-image__photo {
    display: block;
    width: 100%;
    height: auto;
    max-height: 550px;
    object-fit: contain;
    border-radius: var(--radius-lg);
    position: relative;
    z-index: 2;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.yr-speaker-image__placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    width: 100%;
    min-height: 300px;
    background: linear-gradient(135deg, #e5e7eb 0%, #f3f4f6 100%);
    border-radius: var(--radius-lg);
    position: relative;
    z-index: 2;
    color: #9ca3af;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: 2px dashed #d1d5db;
}

/* Gold accent frame */
.yr-speaker-image__accent {
    position: absolute;
    top: 12px;
    left: 12px;
    right: -12px;
    bottom: -12px;
    border: 2px solid var(--lbc-gold);
    border-radius: var(--radius-lg);
    z-index: 1;
    pointer-events: none;
}

/* Speaker Content */
.yr-speaker-content {
    text-align: center;
}

.yr-speaker-content__role {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--lbc-gold);
    margin-bottom: 0.5rem;
}

.yr-speaker-content__name {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--lbc-navy);
    margin: 0 0 0.25rem;
    line-height: 1.2;
}

.yr-speaker-content__church {
    font-size: 1rem;
    color: var(--lbc-text-soft);
    font-style: italic;
    margin: 0 0 1.5rem;
}

.yr-speaker-content__bio {
    text-align: left;
    margin-bottom: 1.5rem;
}

.yr-speaker-content__bio p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--lbc-text-soft);
    margin: 0 0 1rem;
}

.yr-speaker-content__bio p:last-child {
    margin-bottom: 0;
}

/* Tablet (640px+) */
@media (min-width: 640px) {
    .yr-speakers-header {
        padding: 4rem 0 2rem;
    }

    .yr-speaker-section {
        padding: 4rem 0;
    }

    .yr-speaker-content__name {
        font-size: 2rem;
    }
}

/* Desktop (900px+): Side-by-side zig-zag */
@media (min-width: 900px) {
    .yr-speaker-card-row {
        display: grid;
        grid-template-columns: 1fr 1.3fr;
        gap: 4rem;
        align-items: start;
    }

    .yr-speaker-card-row--reverse {
        grid-template-columns: 1.3fr 1fr;
    }

    .yr-speaker-card-row--reverse .yr-speaker-image {
        order: 2;
    }

    .yr-speaker-card-row--reverse .yr-speaker-content {
        order: 1;
    }

    .yr-speaker-image__frame {
        position: sticky;
        top: 120px;
        max-width: none;
    }

    .yr-speaker-content {
        text-align: left;
        padding-top: 0.5rem;
    }
}

/* Large Desktop (1100px+) */
@media (min-width: 1100px) {
    .yr-speaker-section {
        padding: 5rem 0;
    }

    .yr-speaker-card-row {
        gap: 5rem;
    }

    .yr-speaker-content__name {
        font-size: 2.5rem;
    }

    .yr-speaker-content__bio p {
        font-size: 1.05rem;
    }
}

/* =============================================================================
   STATS SECTION
   ============================================================================= */

.yr-stats__intro {
    font-size: var(--font-size-md);
    color: var(--lbc-text-soft);
    margin-top: var(--space-4);
}

.yr-stats__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
}

@media (min-width: 640px) {
    .yr-stats__grid {
        gap: var(--space-6);
    }
}

.yr-stat {
    background: var(--lbc-cream);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    text-align: center;
}

.yr-stat__number {
    display: block;
    font-family: var(--font-heading);
    font-size: var(--font-size-3xl);
    font-weight: var(--font-weight-bold);
    color: var(--yr-accent);
    line-height: 1;
    margin-bottom: var(--space-2);
}

@media (min-width: 640px) {
    .yr-stat__number {
        font-size: var(--font-size-4xl);
    }
}

.yr-stat__label {
    font-size: var(--font-size-sm);
    color: var(--lbc-text-soft);
    text-transform: uppercase;
    letter-spacing: var(--letter-spacing-wide);
}

/* =============================================================================
   GALLERY SECTION
   ============================================================================= */

.yr-gallery__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-3);
}

@media (min-width: 640px) {
    .yr-gallery__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-4);
    }
}

@media (min-width: 1024px) {
    .yr-gallery__grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.yr-gallery__item {
    position: relative;
    display: block;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: var(--radius-md);
    cursor: pointer;
}

.yr-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.yr-gallery__item:hover img {
    transform: scale(1.03);
}

.yr-gallery__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    color: var(--lbc-white);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.yr-gallery__item:hover .yr-gallery__overlay,
.yr-gallery__item:focus .yr-gallery__overlay {
    opacity: 1;
}

/* =============================================================================
   REGISTRATION SECTION
   ============================================================================= */

.yr-registration__layout {
    display: grid;
    gap: var(--space-10);
}

@media (min-width: 1024px) {
    .yr-registration__layout {
        grid-template-columns: 1fr 1.2fr;
        gap: var(--space-12);
        align-items: start;
    }
}

.yr-registration__info {
    max-width: 480px;
}

.yr-registration__details {
    margin: var(--space-6) 0;
    padding: var(--space-4);
    background: var(--lbc-white);
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--yr-accent);
}

.yr-registration__details p {
    margin: var(--space-2) 0;
}

.yr-registration__payment {
    margin-top: var(--space-8);
}

.yr-registration__payment h3 {
    font-family: var(--font-heading);
    font-size: var(--font-size-lg);
    margin: 0 0 var(--space-3);
}

.yr-registration__payment-note {
    font-size: var(--font-size-sm);
    color: var(--lbc-text-muted);
    margin-top: var(--space-2);
}

.yr-registration__form {
    background: var(--lbc-white);
    border-radius: var(--radius-xl);
    padding: var(--space-4);
    box-shadow: var(--shadow-lg);
    min-height: 500px;
}

@media (min-width: 640px) {
    .yr-registration__form {
        padding: var(--space-6);
    }
}

.yr-registration__form-wrapper {
    width: 100%;
}

.yr-registration__form-wrapper iframe {
    width: 100%;
    min-height: 600px;
    border: none;
}

/* Registration Closed */
.yr-registration-closed__content {
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}

.yr-registration-closed__content p {
    font-size: var(--font-size-md);
    color: var(--lbc-text-soft);
    margin: var(--space-4) 0 var(--space-6);
}

/* =============================================================================
   CTA SECTION
   ============================================================================= */

.yr-cta__content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.yr-cta__title {
    font-family: var(--font-heading);
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-bold);
    margin: 0 0 var(--space-4);
}

@media (min-width: 640px) {
    .yr-cta__title {
        font-size: var(--font-size-3xl);
    }
}

.yr-cta__text {
    font-size: var(--font-size-md);
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 var(--space-8);
}

.yr-cta__buttons {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    align-items: center;
}

@media (min-width: 640px) {
    .yr-cta__buttons {
        flex-direction: row;
        justify-content: center;
        gap: var(--space-4);
    }
}

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

.yr-lightbox {
    position: fixed;
    inset: 0;
    z-index: var(--z-modal);
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-4);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

.yr-lightbox[data-active="true"] {
    opacity: 1;
    visibility: visible;
}

.yr-lightbox[hidden] {
    display: none;
}

.yr-lightbox__close {
    position: absolute;
    top: var(--space-4);
    right: var(--space-4);
    background: none;
    border: none;
    color: var(--lbc-white);
    cursor: pointer;
    padding: var(--space-2);
    transition: opacity var(--transition-fast);
    z-index: 10;
}

.yr-lightbox__close:hover {
    opacity: 0.7;
}

.yr-lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--lbc-white);
    cursor: pointer;
    padding: var(--space-3);
    border-radius: var(--radius-full);
    transition: background var(--transition-fast);
    z-index: 10;
}

.yr-lightbox__nav:hover {
    background: rgba(255, 255, 255, 0.2);
}

.yr-lightbox__nav--prev {
    left: var(--space-4);
}

.yr-lightbox__nav--next {
    right: var(--space-4);
}

.yr-lightbox__content {
    max-width: 90vw;
    max-height: 90vh;
    position: relative;
}

.yr-lightbox__content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: var(--radius-md);
}

/* Bio Modal in Lightbox */
.yr-lightbox__content .yr-speaker-bio {
    background: var(--lbc-white);
    padding: var(--space-8);
    border-radius: var(--radius-xl);
    max-width: 500px;
    color: var(--lbc-text);
}

/* =============================================================================
   ANIMATIONS REMOVED - Content displays immediately without scroll reveals
   Minor hover/transition effects only for interactive elements
   ============================================================================= */

/* =============================================================================
   BUTTON OVERRIDES (Youth Rally specific)
   ============================================================================= */

.yr-page .btn-primary,
.yr-page .btn--primary {
    background-color: var(--yr-secondary);
    color: var(--yr-primary);
    border-color: var(--yr-secondary);
}

.yr-page .btn-primary:hover,
.yr-page .btn--primary:hover {
    background-color: color-mix(in srgb, var(--yr-secondary) 85%, var(--lbc-navy));
    border-color: color-mix(in srgb, var(--yr-secondary) 85%, var(--lbc-navy));
}

.yr-page .btn-outline {
    background: transparent;
    color: var(--lbc-white);
    border: 2px solid var(--lbc-white);
}

.yr-page .btn-outline:hover {
    background: var(--lbc-white);
    color: var(--lbc-navy);
}

.yr-section--cream .btn-outline,
.yr-section--white .btn-outline {
    color: var(--lbc-navy);
    border-color: var(--lbc-navy);
}

.yr-section--cream .btn-outline:hover,
.yr-section--white .btn-outline:hover {
    background: var(--lbc-navy);
    color: var(--lbc-white);
}

/* =============================================================================
   ACCESSIBILITY: REDUCED MOTION
   ============================================================================= */

@media (prefers-reduced-motion: reduce) {
    .yr-hero__cta {
        animation: none;
    }

    .yr-countdown__number {
        transition: none;
    }

    .yr-speaker-card,
    .yr-speaker-card--stacked,
    .yr-gallery__item,
    .yr-payment-option {
        transition: none;
    }
}

/* =============================================================================
   BANNER HERO (Simple full-width banner)
   ============================================================================= */

.yr-hero--banner {
    min-height: 250px;
    max-height: 400px;
    height: 35vh;
    padding: 0;
    display: block;
}

@media (min-width: 640px) {
    .yr-hero--banner {
        min-height: 300px;
        height: 40vh;
        max-height: 450px;
    }
}

@media (min-width: 1024px) {
    .yr-hero--banner {
        min-height: 350px;
        height: 45vh;
        max-height: 500px;
    }
}

/* Hero Overlay - positioned absolutely over the image */
.yr-hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    /* Default fallback - can be overridden by inline style */
    background: linear-gradient(to bottom, rgba(11, 16, 33, 0.2), rgba(11, 16, 33, 0.4));
}

/* =============================================================================
   FLYER SECTION (Main Content - displays the flyer image)
   ============================================================================= */

.yr-flyer {
    padding: var(--space-10) 0;
}

@media (min-width: 640px) {
    .yr-flyer {
        padding: var(--space-12) 0;
    }
}

.yr-flyer__wrapper {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.yr-flyer__image {
    margin-bottom: var(--space-6);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    background: var(--lbc-cream);
}

.yr-flyer__image img {
    display: block;
    width: 100%;
    height: auto;
}

.yr-flyer__download {
    margin-top: var(--space-4);
}

.yr-flyer__download .btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
}

/* =============================================================================
   SPEAKERS SECTION (Simplified grid) - DEPRECATED
   Replaced by pastor-style zig-zag layout above.
   ============================================================================= */

/* =============================================================================
   STICKY INFO BAR
   ============================================================================= */

.yr-info-bar {
    background: linear-gradient(135deg, var(--yr-primary) 0%, var(--yr-primary-hover) 100%);
    color: var(--lbc-white);
    padding: var(--space-4) 0;
    position: relative;
    z-index: 50;
}

@media (min-width: 900px) {
    .yr-info-bar {
        position: sticky;
        top: 0;
        z-index: 100;
    }
}

.yr-info-bar__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: var(--space-3);
    text-align: center;
}

@media (min-width: 900px) {
    .yr-info-bar__inner {
        flex-wrap: nowrap;
        gap: var(--space-5);
        justify-content: center;
    }
}

.yr-info-bar__logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    flex-shrink: 0;
    border-radius: var(--radius-sm);
}

@media (min-width: 640px) {
    .yr-info-bar__logo {
        width: 56px;
        height: 56px;
    }
}

.yr-info-bar__title-block {
    width: 100%;
    text-align: center;
}

@media (min-width: 900px) {
    .yr-info-bar__title-block {
        width: auto;
        flex-shrink: 0;
    }
}

.yr-info-bar__title {
    font-family: var(--font-heading);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-bold);
    margin: 0;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--lbc-white);
}

@media (min-width: 640px) {
    .yr-info-bar__title {
        font-size: var(--font-size-lg);
    }
}

@media (min-width: 900px) {
    .yr-info-bar__title {
        font-size: var(--font-size-xl);
    }
}

.yr-info-bar__tagline {
    font-size: var(--font-size-xs);
    color: var(--yr-secondary);
    display: block;
    margin-top: var(--space-1);
}

.yr-info-bar__details {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 0;
    padding: 0 var(--space-1);
}

@media (min-width: 480px) {
    .yr-info-bar__details {
        gap: var(--space-2) var(--space-3);
        padding: 0 var(--space-2);
    }
}

@media (min-width: 640px) {
    .yr-info-bar__details {
        gap: var(--space-3) var(--space-4);
        padding: 0;
    }
}

@media (min-width: 900px) {
    .yr-info-bar__details {
        gap: var(--space-5);
        width: auto;
    }
}

.yr-info-bar__item {
    display: flex;
    align-items: center;
    gap: var(--space-1);
    font-size: 0.7rem;
    white-space: nowrap;
}

@media (min-width: 480px) {
    .yr-info-bar__item {
        font-size: var(--font-size-xs);
        gap: var(--space-2);
    }
}

@media (min-width: 640px) {
    .yr-info-bar__item {
        font-size: var(--font-size-sm);
    }
}

.yr-info-bar__item svg {
    color: var(--yr-secondary);
    flex-shrink: 0;
    width: 14px;
    height: 14px;
}

@media (min-width: 480px) {
    .yr-info-bar__item svg {
        width: 16px;
        height: 16px;
    }
}

@media (min-width: 640px) {
    .yr-info-bar__item svg {
        width: 18px;
        height: 18px;
    }
}

.yr-info-bar__countdown {
    display: flex;
    gap: var(--space-1);
    align-items: center;
    font-family: var(--font-heading);
    font-size: var(--font-size-sm);
    background: rgba(255, 255, 255, 0.1);
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius-md);
    margin-left: auto;
}

.yr-info-bar__countdown-item {
    display: flex;
    align-items: baseline;
    gap: 2px;
}

.yr-info-bar__countdown-value {
    font-weight: var(--font-weight-bold);
    color: var(--yr-secondary);
    min-width: 2ch;
    text-align: center;
}

.yr-info-bar__countdown-label {
    font-size: var(--font-size-xs);
    opacity: 0.7;
    text-transform: lowercase;
}

.yr-info-bar__countdown-sep {
    opacity: 0.4;
    margin: 0 var(--space-1);
}

/* =============================================================================
   TWO-COLUMN LAYOUT (Speakers + Event Info)
   ============================================================================= */

.yr-two-column {
    display: grid;
    gap: var(--space-10);
}

@media (min-width: 900px) {
    .yr-two-column {
        grid-template-columns: 38% 1fr;
        gap: var(--space-12);
        align-items: start;
    }
}

.yr-two-column__speakers {
    order: 1;
}

.yr-two-column__info {
    order: 2;
}

/* Mobile: reorder speakers after info (default) */
.yr-two-column__speakers {
    order: 2;
}

.yr-two-column__info {
    order: 1;
}

/* Desktop: natural order */
@media (min-width: 900px) {
    .yr-two-column__speakers {
        order: 0;
    }
    .yr-two-column__info {
        order: 0;
    }
}

/* Speakers Stack (vertical list) */
.yr-speakers-stack {
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
}

.yr-speaker-card--stacked {
    display: flex;
    gap: var(--space-4);
    padding: var(--space-4);
    background: var(--lbc-cream);
    border-radius: var(--radius-lg);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.yr-speaker-card--stacked:hover {
    box-shadow: var(--shadow-md);
}

.yr-speaker-card--stacked .yr-speaker-card__photo {
    width: 90px;
    height: 90px;
    flex-shrink: 0;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--lbc-sand);
}

@media (min-width: 640px) {
    .yr-speaker-card--stacked .yr-speaker-card__photo {
        width: 110px;
        height: 110px;
    }
}

.yr-speaker-card--stacked .yr-speaker-card__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.yr-speaker-card--stacked .yr-speaker-card__photo--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--yr-secondary);
}

.yr-speaker-card--stacked .yr-speaker-card__info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.yr-speaker-card--stacked .yr-speaker-card__name {
    font-family: var(--font-heading);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-bold);
    color: var(--lbc-navy);
    margin: 0 0 var(--space-1);
}

@media (min-width: 640px) {
    .yr-speaker-card--stacked .yr-speaker-card__name {
        font-size: var(--font-size-lg);
    }
}

.yr-speaker-card--stacked .yr-speaker-card__title {
    font-size: var(--font-size-sm);
    color: var(--yr-secondary);
    margin: 0 0 var(--space-1);
}

.yr-speaker-card--stacked .yr-speaker-card__church {
    font-size: var(--font-size-sm);
    color: var(--lbc-text-soft);
    margin: 0 0 var(--space-3);
}

.yr-speaker-card--stacked .yr-speaker-card__bio-btn {
    font-family: var(--font-heading);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-semibold);
    color: var(--yr-primary);
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color var(--transition-fast);
    align-self: flex-start;
}

.yr-speaker-card--stacked .yr-speaker-card__bio-btn:hover {
    color: var(--yr-secondary);
}

/* Event Info Column */
.yr-two-column__info .yr-section__title {
    margin-bottom: var(--space-6);
}

.yr-event-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.yr-event-detail {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    padding: var(--space-3);
    background: var(--lbc-cream);
    border-radius: var(--radius-md);
}

.yr-event-detail__icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    color: var(--yr-secondary);
}

.yr-event-detail__content {
    flex: 1;
}

.yr-event-detail__label {
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: var(--letter-spacing-wide);
    color: var(--lbc-text-soft);
    margin-bottom: var(--space-1);
}

.yr-event-detail__value {
    font-size: var(--font-size-base);
    color: var(--lbc-text);
}

.yr-event-description {
    margin-top: var(--space-6);
}

.yr-event-description .prose {
    font-size: var(--font-size-base);
    line-height: 1.8;
    color: var(--lbc-text);
    max-width: none;
}

@media (min-width: 640px) {
    .yr-event-description .prose {
        font-size: 1.0625rem;
    }
}

/* =============================================================================
   PROSE STYLES - Auto-formatting for plain text content
   Paragraphs, headings, lists, quotes all styled beautifully by default
   ============================================================================= */

/* Paragraphs - good spacing and readability */
.yr-event-description .prose p {
    margin-bottom: var(--space-5);
}

.yr-event-description .prose p:last-child {
    margin-bottom: 0;
}

/* First paragraph - slightly larger as intro */
.yr-event-description .prose > p:first-child {
    font-size: 1.125rem;
    color: var(--lbc-text);
}

/* Headings - clear hierarchy with accent colors */
.yr-event-description .prose h2,
.yr-event-description .prose h3,
.yr-event-description .prose h4 {
    font-family: var(--font-heading);
    font-weight: var(--font-weight-bold);
    color: var(--lbc-navy);
    margin-top: var(--space-10);
    margin-bottom: var(--space-4);
    line-height: 1.3;
}

.yr-event-description .prose > h2:first-child,
.yr-event-description .prose > h3:first-child,
.yr-event-description .prose > h4:first-child {
    margin-top: 0;
}

.yr-event-description .prose h2 {
    font-size: var(--font-size-xl);
    padding-bottom: var(--space-3);
    border-bottom: 3px solid var(--yr-secondary);
}

@media (min-width: 640px) {
    .yr-event-description .prose h2 {
        font-size: var(--font-size-2xl);
    }
}

.yr-event-description .prose h3 {
    font-size: var(--font-size-lg);
    color: var(--yr-primary);
}

@media (min-width: 640px) {
    .yr-event-description .prose h3 {
        font-size: var(--font-size-xl);
    }
}

.yr-event-description .prose h4 {
    font-size: var(--font-size-base);
    text-transform: uppercase;
    letter-spacing: var(--letter-spacing-wide);
    color: var(--yr-secondary);
}

/* Strong/Bold - accent color for emphasis */
.yr-event-description .prose strong {
    font-weight: var(--font-weight-semibold);
    color: var(--yr-primary);
}

/* Italic/Emphasis */
.yr-event-description .prose em {
    font-style: italic;
    color: var(--lbc-text-soft);
}

/* Links - underlined with hover effect */
.yr-event-description .prose a {
    color: var(--yr-primary);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 2px;
    text-decoration-color: var(--yr-secondary);
    transition: all var(--transition-fast);
}

.yr-event-description .prose a:hover {
    color: var(--yr-secondary);
    text-decoration-color: var(--yr-primary);
}

/* Blockquotes - styled callout boxes */
.yr-event-description .prose blockquote {
    margin: var(--space-8) 0;
    padding: var(--space-5) var(--space-6);
    background: linear-gradient(135deg, var(--lbc-cream) 0%, #fdf8ee 100%);
    border-left: 5px solid var(--yr-secondary);
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    font-style: italic;
    font-size: 1.0625rem;
    color: var(--lbc-text);
}

.yr-event-description .prose blockquote p {
    margin-bottom: var(--space-3);
}

.yr-event-description .prose blockquote p:last-child {
    margin-bottom: 0;
}

.yr-event-description .prose blockquote strong {
    color: var(--lbc-navy);
}

/* Lists - clear formatting with custom bullets */
.yr-event-description .prose ul,
.yr-event-description .prose ol {
    margin: var(--space-5) 0;
    padding-left: 0;
    list-style: none;
}

.yr-event-description .prose ul li,
.yr-event-description .prose ol li {
    position: relative;
    padding-left: var(--space-6);
    margin-bottom: var(--space-3);
}

.yr-event-description .prose ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 8px;
    height: 8px;
    background: var(--yr-secondary);
    border-radius: 50%;
}

.yr-event-description .prose ol {
    counter-reset: list-counter;
}

.yr-event-description .prose ol li {
    counter-increment: list-counter;
}

.yr-event-description .prose ol li::before {
    content: counter(list-counter) ".";
    position: absolute;
    left: 0;
    font-weight: var(--font-weight-bold);
    color: var(--yr-secondary);
}

/* Horizontal Rules - decorative dividers */
.yr-event-description .prose hr {
    margin: var(--space-10) auto;
    border: none;
    height: 3px;
    width: 80px;
    background: linear-gradient(90deg, var(--yr-primary), var(--yr-secondary));
    border-radius: var(--radius-full);
}

/* Scripture/Bible verse styling - detect common patterns */
.yr-event-description .prose p em:only-child {
    display: block;
    padding: var(--space-4);
    background: color-mix(in srgb, var(--yr-primary) 5%, transparent);
    border-radius: var(--radius-md);
    text-align: center;
    font-size: 1.0625rem;
}

/* Theme/Title callout - centered bold text */
.yr-event-description .prose p strong:only-child {
    display: block;
    text-align: center;
    font-size: var(--font-size-lg);
    color: var(--yr-primary);
    padding: var(--space-4) 0;
}

/* Cost/Price highlight */
.yr-event-description .prose p:has(strong:first-child) {
    padding: var(--space-3) var(--space-4);
    background: var(--lbc-cream);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--yr-secondary);
}

.yr-event-verse {
    margin-top: var(--space-6);
    padding: var(--space-5);
    background: linear-gradient(135deg, var(--yr-primary) 0%, var(--yr-primary-hover) 100%);
    border-radius: var(--radius-lg);
    color: var(--lbc-white);
}

.yr-event-verse__text {
    font-family: var(--font-heading);
    font-size: var(--font-size-lg);
    font-style: italic;
    line-height: var(--line-height-relaxed);
    margin: 0;
}

.yr-event-verse__citation {
    display: block;
    margin-top: var(--space-3);
    font-size: var(--font-size-sm);
    color: var(--yr-secondary);
}

/* =============================================================================
   PAYMENT METHOD SELECTOR
   ============================================================================= */

.yr-payment-selector {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    max-width: 700px;
    margin: 0 auto var(--space-8);
}

@media (min-width: 640px) {
    .yr-payment-selector {
        flex-direction: row;
        gap: var(--space-4);
    }
}

.yr-payment-option {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    padding: var(--space-4);
    background: var(--lbc-white);
    border: 2px solid var(--lbc-border-soft, #e2e8f0);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-normal);
    flex: 1;
    position: relative;
}

.yr-payment-option:hover {
    border-color: var(--yr-secondary);
}

.yr-payment-option:has(input:checked) {
    border-color: var(--yr-secondary);
    background: color-mix(in srgb, var(--yr-secondary) 8%, white);
}

.yr-payment-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.yr-payment-option__radio {
    width: 20px;
    height: 20px;
    border: 2px solid var(--lbc-border-soft, #cbd5e1);
    border-radius: 50%;
    flex-shrink: 0;
    position: relative;
    margin-top: 2px;
    transition: all var(--transition-fast);
}

.yr-payment-option:has(input:checked) .yr-payment-option__radio {
    border-color: var(--yr-secondary);
}

.yr-payment-option:has(input:checked) .yr-payment-option__radio::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: var(--yr-secondary);
    border-radius: 50%;
}

.yr-payment-option__content {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}

.yr-payment-option__title {
    font-family: var(--font-heading);
    font-weight: var(--font-weight-semibold);
    font-size: var(--font-size-base);
    color: var(--lbc-text);
}

.yr-payment-option__desc {
    font-size: var(--font-size-sm);
    color: var(--lbc-text-soft);
    line-height: var(--line-height-relaxed);
}

/* Registration Form Container */
.yr-registration__form-container {
    max-width: 800px;
    margin: 0 auto;
}

.yr-form-section,
.yr-stripe-section {
    background: var(--lbc-white);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    box-shadow: var(--shadow-lg);
}

.yr-stripe-section {
    text-align: center;
    padding: var(--space-10);
}

.yr-stripe-section__title {
    font-family: var(--font-heading);
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
    color: var(--lbc-navy);
    margin: 0 0 var(--space-4);
}

.yr-stripe-section__desc {
    font-size: var(--font-size-base);
    color: var(--lbc-text-soft);
    margin: 0 0 var(--space-6);
}

.yr-form-section iframe {
    width: 100%;
    min-height: 600px;
    max-width: 100%;
    border: none;
    border-radius: var(--radius-md);
    background: var(--lbc-white);
}

/* Google Form specific styling */
.yr-form-section iframe[src*="docs.google.com/forms"] {
    min-height: 700px;
}

@media (min-width: 640px) {
    .yr-form-section iframe {
        min-height: 650px;
    }
    .yr-form-section iframe[src*="docs.google.com/forms"] {
        min-height: 750px;
    }
}

@media (min-width: 1024px) {
    .yr-form-section iframe[src*="docs.google.com/forms"] {
        min-height: 800px;
    }
}

/* =============================================================================
   RALLY MEMORIES CAROUSEL
   ============================================================================= */

.yr-memories {
    padding: var(--space-12) 0;
    background: var(--lbc-navy);
}

.yr-memories .yr-section__header--light .yr-section__kicker {
    color: var(--yr-secondary);
}

.yr-memories .yr-section__header--light .yr-section__title {
    color: var(--lbc-white);
}

.yr-memories-carousel {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.yr-memories-carousel__track {
    position: relative;
    aspect-ratio: 16 / 9;
    background: var(--lbc-navy-soft, #1e293b);
}

.yr-memories-carousel__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.yr-memories-carousel__slide.active {
    opacity: 1;
}

.yr-memories-carousel__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Carousel Navigation Arrows */
.yr-memories-carousel__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: all var(--transition-fast);
    opacity: 0;
    color: var(--lbc-navy);
}

.yr-memories-carousel:hover .yr-memories-carousel__nav,
.yr-memories-carousel:focus-within .yr-memories-carousel__nav {
    opacity: 1;
}

.yr-memories-carousel__nav:hover {
    background: var(--yr-secondary);
    color: var(--lbc-white);
}

.yr-memories-carousel__nav--prev {
    left: var(--space-4);
}

.yr-memories-carousel__nav--next {
    right: var(--space-4);
}

/* Carousel Dots */
.yr-memories-carousel__dots {
    position: absolute;
    bottom: var(--space-4);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: var(--space-2);
    z-index: 10;
}

.yr-memories-carousel__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    padding: 0;
    transition: all var(--transition-fast);
}

.yr-memories-carousel__dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

.yr-memories-carousel__dot.active {
    background: var(--yr-secondary);
    transform: scale(1.3);
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .yr-memories-carousel__slide {
        transition: none;
    }
}

/* Single slide - hide navigation */
.yr-memories-carousel[data-slide-count="1"] .yr-memories-carousel__nav,
.yr-memories-carousel[data-slide-count="1"] .yr-memories-carousel__dots {
    display: none;
}

/* =============================================================================
   FOCUS STYLES
   ============================================================================= */

.yr-page a:focus-visible,
.yr-page button:focus-visible {
    outline: 2px solid var(--yr-secondary);
    outline-offset: 2px;
}

.yr-gallery__item:focus-visible {
    outline: 3px solid var(--yr-secondary);
    outline-offset: 3px;
}

/* =============================================================================
   YOUTH RALLY THEME OVERRIDES
   Apply Youth Rally colors to standard theme classes within .yr-page
   ============================================================================= */

/* Section Headers - Centered by default */
.yr-page .section-header {
    text-align: center;
    margin-bottom: var(--space-10);
    margin-left: auto;
    margin-right: auto;
    max-width: 700px;
}

.yr-page .section-kicker {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: var(--letter-spacing-widest);
    color: var(--yr-secondary);
    margin-bottom: var(--space-2);
}

.yr-page .section-title {
    font-family: var(--font-heading);
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-tight);
    color: var(--lbc-navy);
    margin: 0;
}

@media (min-width: 640px) {
    .yr-page .section-title {
        font-size: var(--font-size-3xl);
    }
}

/* Light section headers (for dark backgrounds) */
.yr-page .section-header--light .section-kicker {
    color: var(--yr-secondary);
}

.yr-page .section-header--light .section-title {
    color: var(--lbc-white);
}

/* CTA Section Override */
.yr-page .cta-section {
    background: linear-gradient(135deg, var(--yr-primary) 0%, color-mix(in srgb, var(--yr-primary) 85%, black) 100%);
    padding: var(--space-16) var(--space-4);
}

@media (min-width: 640px) {
    .yr-page .cta-section {
        padding: var(--space-20) var(--space-6);
    }
}

.yr-page .cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    /* Override global card styles - YR CTA is on dark gradient, not cream */
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
}

.yr-page .cta-kicker {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: var(--letter-spacing-widest);
    color: var(--yr-secondary);
    margin-bottom: var(--space-2);
}

.yr-page .cta-title {
    font-family: var(--font-heading);
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-bold);
    color: var(--lbc-white);
    margin: 0 0 var(--space-4);
}

@media (min-width: 640px) {
    .yr-page .cta-title {
        font-size: var(--font-size-3xl);
    }
}

.yr-page .cta-text {
    font-size: var(--font-size-md);
    color: rgba(255, 255, 255, 0.85);
    margin: 0 0 var(--space-8);
    line-height: var(--line-height-relaxed);
}

.yr-page .cta-buttons {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    align-items: center;
}

@media (min-width: 640px) {
    .yr-page .cta-buttons {
        flex-direction: row;
        justify-content: center;
        gap: var(--space-4);
    }
}

/* Button overrides for CTA section */
.yr-page .cta-section .btn-primary {
    background-color: var(--yr-secondary);
    color: var(--yr-primary);
    border-color: var(--yr-secondary);
}

.yr-page .cta-section .btn-primary:hover {
    background-color: color-mix(in srgb, var(--yr-secondary) 85%, black);
    border-color: color-mix(in srgb, var(--yr-secondary) 85%, black);
}

.yr-page .cta-section .btn-outline {
    background: transparent;
    color: var(--lbc-white);
    border: 2px solid var(--lbc-white);
}

.yr-page .cta-section .btn-outline:hover {
    background: var(--lbc-white);
    color: var(--yr-primary);
}

/* =============================================================================
   HERO BANNER - Full View (v5.0)
   ============================================================================= */

.yr-hero--banner {
    min-height: auto;
    max-height: none;
    height: auto;
    padding: 0;
    display: block;
    background: var(--lbc-navy);
}

.yr-hero__banner-wrapper {
    position: relative;
    width: 100%;
    max-height: 500px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--lbc-navy);
}

.yr-hero__banner-img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
    object-position: center;
    display: block;
}

.yr-hero__placeholder {
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--yr-primary), var(--lbc-navy));
    color: var(--lbc-white);
    font-family: var(--font-heading);
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-bold);
    padding: var(--space-8);
    text-align: center;
}

.yr-hero__placeholder-logo {
    max-width: 60%;
    max-height: 200px;
    object-fit: contain;
}

/* Logo Overlay on Hero Banner */
.yr-hero__logo-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40%;
    max-width: 400px;
    min-width: 150px;
    pointer-events: none;
    z-index: 2;
}

.yr-hero__logo-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.3));
}

@media (min-width: 640px) {
    .yr-hero__logo-overlay {
        width: 35%;
        max-width: 450px;
    }
}

@media (min-width: 1024px) {
    .yr-hero__logo-overlay {
        width: 40%;
        max-width: 500px;
    }
}

@media (min-width: 640px) {
    .yr-hero__banner-wrapper {
        max-height: 550px;
    }
    .yr-hero__banner-img {
        max-height: 550px;
    }
}

@media (min-width: 1024px) {
    .yr-hero__banner-wrapper {
        max-height: 600px;
    }
    .yr-hero__banner-img {
        max-height: 600px;
    }
}

/* =============================================================================
   INFO BAR - Days Countdown Badge
   ============================================================================= */

.yr-info-bar__item--countdown {
    background: var(--yr-secondary);
    color: var(--yr-primary);
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-full);
    font-weight: var(--font-weight-bold);
}

.yr-info-bar__item--countdown svg {
    color: var(--yr-primary);
}

/* =============================================================================
   EVENT DETAILS SECTION (v6.2)
   Two-column split layout, stacked on mobile, condensed spacing
   ============================================================================= */

.yr-event-details {
    padding: var(--space-8) var(--space-4);
    background: var(--lbc-cream);
}

@media (min-width: 640px) {
    .yr-event-details {
        padding: var(--space-10) var(--space-6);
    }
}

@media (min-width: 1024px) {
    .yr-event-details {
        padding: var(--space-12) var(--space-8);
    }
}

.yr-event-details__content {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
}

@media (min-width: 768px) {
    .yr-event-details__content {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-8);
    }
}

/* Individual columns */
.yr-event-details__column {
    padding: var(--space-4);
    background: var(--lbc-white);
    border-radius: var(--radius-lg);
    border-top: 3px solid var(--yr-secondary);
}

@media (min-width: 768px) {
    .yr-event-details__column {
        padding: var(--space-5);
    }
}

.yr-event-details__column-title {
    font-family: var(--font-heading);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--yr-primary);
    margin: 0 0 var(--space-3);
    padding-bottom: var(--space-2);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

/* When using single prose block (backwards compatibility) */
.yr-event-details__content > .yr-prose:only-child {
    grid-column: 1 / -1;
    max-width: 800px;
    margin: 0 auto;
}

/* =============================================================================
   SMART PROSE STYLING (v6.2)
   Condensed formatting for two-column layout

   Formatting Tips for Editors:
   - Use **Bold:** for labels (Schedule:, What to Bring:)
   - Use bullet lists for items
   - Use H2/H3 for section headers
   ============================================================================= */

.yr-prose {
    font-size: var(--font-size-sm);
    line-height: 1.6;
    color: var(--lbc-text);
}

@media (min-width: 640px) {
    .yr-prose {
        font-size: var(--font-size-base);
        line-height: 1.65;
    }
}

.yr-prose > *:first-child {
    margin-top: 0;
}

.yr-prose > *:last-child {
    margin-bottom: 0;
}

/* --- PARAGRAPHS: Condensed --- */
.yr-prose p {
    margin: 0 0 var(--space-2);
}

/* --- HEADINGS: Compact Section Dividers --- */
.yr-prose h2,
.yr-prose h3,
.yr-prose h4 {
    font-family: var(--font-heading);
    font-weight: var(--font-weight-bold);
    color: var(--yr-primary);
    margin: var(--space-4) 0 var(--space-2);
    padding-bottom: var(--space-1);
    border-bottom: 2px solid var(--yr-secondary);
    display: inline-block;
    width: auto;
}

.yr-prose h2 {
    font-size: var(--font-size-lg);
}

.yr-prose h3 {
    font-size: var(--font-size-base);
}

.yr-prose h4 {
    font-size: var(--font-size-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Reset margin for first headings */
.yr-prose > h2:first-child,
.yr-prose > h3:first-child,
.yr-prose > h4:first-child {
    margin-top: 0;
}

/* --- BOLD TEXT: Accent Labels --- */
.yr-prose strong {
    font-weight: 700;
    color: var(--yr-primary);
}

/* Bold followed by colon = Label styling */
.yr-prose p > strong:first-child,
.yr-prose li > strong:first-child {
    display: inline-block;
    color: var(--yr-primary);
    font-weight: 700;
}

/* If the paragraph STARTS with bold text, add small top margin */
.yr-prose p:has(> strong:first-child) {
    margin-top: var(--space-2);
}

/* --- LISTS: Condensed Compact Bullets --- */
.yr-prose ul,
.yr-prose ol {
    margin: var(--space-2) 0;
    padding-left: 0;
    list-style: none;
}

.yr-prose ul li,
.yr-prose ol li {
    position: relative;
    padding-left: var(--space-5);
    margin-bottom: var(--space-1);
    line-height: 1.5;
}

/* Custom bullet points - smaller */
.yr-prose ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 6px;
    height: 6px;
    background: var(--yr-secondary);
    border-radius: 50%;
}

/* Numbered list styling */
.yr-prose ol {
    counter-reset: list-counter;
}

.yr-prose ol li {
    counter-increment: list-counter;
}

.yr-prose ol li::before {
    content: counter(list-counter) ".";
    position: absolute;
    left: 0;
    top: 0;
    font-weight: 700;
    font-size: var(--font-size-sm);
    color: var(--yr-secondary);
}

/* Nested lists */
.yr-prose ul ul,
.yr-prose ol ol,
.yr-prose ul ol,
.yr-prose ol ul {
    margin: var(--space-1) 0;
    padding-left: var(--space-3);
}

.yr-prose ul ul li::before {
    width: 5px;
    height: 5px;
    background: transparent;
    border: 1px solid var(--yr-secondary);
}

/* --- LINKS --- */
.yr-prose a {
    color: var(--yr-secondary);
    text-decoration: underline;
    text-underline-offset: 2px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.yr-prose a:hover {
    color: var(--yr-primary);
}

/* --- TIME/EMPHASIS --- */
.yr-prose em {
    font-style: italic;
    color: var(--lbc-text-soft);
}

/* --- BLOCKQUOTES: Compact Callouts --- */
.yr-prose blockquote {
    margin: var(--space-3) 0;
    padding: var(--space-3) var(--space-4);
    background: color-mix(in srgb, var(--yr-secondary) 8%, white);
    border-left: 3px solid var(--yr-secondary);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-style: italic;
    font-size: var(--font-size-sm);
}

.yr-prose blockquote p {
    margin: 0;
    color: var(--lbc-text);
}

.yr-prose blockquote p:not(:last-child) {
    margin-bottom: var(--space-2);
}

/* --- HORIZONTAL RULES --- */
.yr-prose hr {
    border: none;
    height: 1px;
    background: color-mix(in srgb, var(--yr-secondary) 40%, transparent);
    margin: var(--space-4) 0;
}

/* --- TABLES (if used) --- */
.yr-prose table {
    width: 100%;
    border-collapse: collapse;
    margin: var(--space-4) 0;
    font-size: var(--font-size-sm);
}

.yr-prose th,
.yr-prose td {
    padding: var(--space-2) var(--space-3);
    text-align: left;
    border-bottom: 1px solid color-mix(in srgb, var(--yr-primary) 15%, transparent);
}

.yr-prose th {
    background: var(--yr-primary);
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    font-size: var(--font-size-xs);
    letter-spacing: 0.05em;
}

.yr-prose tr:hover td {
    background: color-mix(in srgb, var(--yr-secondary) 8%, white);
}

/* --- IMAGES (if media enabled) --- */
.yr-prose img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    margin: var(--space-3) 0;
}

/* --- SCHEDULE-LIKE CONTENT ---
   When content has patterns like "6:00 PM" */
.yr-prose p > strong:first-child + br,
.yr-prose p > strong:first-child + em {
    display: inline;
}

/* --- RESPONSIVE ADJUSTMENTS --- */
@media (min-width: 640px) {
    .yr-prose ul li,
    .yr-prose ol li {
        padding-left: var(--space-8);
    }
}

/* --- DARK MODE SUPPORT (for Bold Statement style) --- */
.yr-event-details__card[style*="background"] .yr-prose,
.yr-event-details__card[style*="background"] .yr-prose p,
.yr-event-details__card[style*="background"] .yr-prose li {
    color: inherit;
}

/* =============================================================================
   TWO-COLUMN LAYOUT (v5.2)
   ============================================================================= */

.yr-content {
    padding: var(--space-10) 0;
}

@media (min-width: 640px) {
    .yr-content {
        padding: var(--space-12) 0;
    }
}

.yr-two-col {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-10);
}

@media (min-width: 900px) {
    .yr-two-col {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-12);
        align-items: start;
    }
}

/* =============================================================================
   BALANCED TWO-COLUMN: Speakers centered alongside Flyer (v5.3)
   ============================================================================= */

.yr-two-col--equal {
    /* Default stacked on mobile */
}

@media (min-width: 900px) {
    .yr-two-col--equal {
        align-items: center; /* Vertically center both columns */
    }

    .yr-two-col--equal .yr-two-col__left {
        display: flex;
        flex-direction: column;
        justify-content: center; /* Center speakers vertically */
    }

    .yr-two-col--equal .yr-two-col__right {
        display: flex;
        flex-direction: column;
    }

    /* Speakers don't need to stretch - they center naturally */
    .yr-two-col--equal .yr-speakers-grid {
        flex: none;
    }

    /* Flyer takes its natural height */
    .yr-two-col--equal .yr-flyer-card {
        flex: none;
    }
}

/* Single column mode (when only speakers OR flyer exists) */
.yr-two-col--single {
    max-width: 600px;
    margin: 0 auto;
}

@media (min-width: 900px) {
    .yr-two-col--single {
        grid-template-columns: 1fr;
        max-width: 700px;
    }
}

.yr-two-col__left,
.yr-two-col__right {
    display: flex;
    flex-direction: column;
    align-items: center; /* Center content on mobile */
}

@media (min-width: 900px) {
    .yr-two-col__left,
    .yr-two-col__right {
        align-items: stretch; /* Full width on desktop */
    }
}

/* Centered section headers in two-column */
.yr-two-col .section-header {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

/* =============================================================================
   SPEAKERS GRID - Portrait Card Layout (v6.2)
   Cards display vertically (image top, info below) in responsive grid
   Large cards on desktop for maximum visual impact
   ============================================================================= */

.yr-speakers-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
    justify-content: center;
    justify-items: center;
    max-width: 320px;
    margin: 0 auto;
}

/* Tablet: side by side */
@media (min-width: 640px) {
    .yr-speakers-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        max-width: 640px;
        gap: var(--space-6);
    }
}

/* Desktop: LARGE cards - 450-550px each */
@media (min-width: 1024px) {
    .yr-speakers-grid {
        grid-template-columns: repeat(auto-fit, minmax(450px, 550px));
        max-width: 1200px;
        gap: var(--space-12);
        justify-content: center;
    }
}

/* Single speaker: even larger, centered */
.yr-speakers-grid:has(.yr-speaker-card--vertical:only-child) {
    max-width: 400px;
}

@media (min-width: 1024px) {
    .yr-speakers-grid:has(.yr-speaker-card--vertical:only-child) {
        max-width: 550px;
    }
}

/* =============================================================================
   SPEAKER CARD - Portrait Layout (v6.0)
   True portrait style: image on top, info stacked below
   ============================================================================= */

.yr-speaker-card--vertical {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0;
    background: var(--lbc-white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.yr-speaker-card--vertical:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

/* Portrait Photo - 4:5 aspect ratio for professional headshot feel */
.yr-speaker-card--vertical .yr-speaker-card__photo {
    width: 100%;
    aspect-ratio: 4 / 5;
    position: relative;
    margin-bottom: 0;
    border: none;
    border-radius: 0;
    background: linear-gradient(135deg, var(--lbc-cream) 0%, var(--lbc-sand, #e8dcc8) 100%);
    overflow: hidden;
}

.yr-speaker-card--vertical .yr-speaker-card__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.4s ease;
}

.yr-speaker-card--vertical:hover .yr-speaker-card__photo img {
    transform: scale(1.03);
}

.yr-speaker-card--vertical .yr-speaker-card__photo--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
}

.yr-speaker-card--vertical .yr-speaker-card__photo--placeholder svg {
    color: var(--lbc-text-muted);
    width: 64px;
    height: 64px;
}

/* Info section - stacked below photo */
.yr-speaker-card--vertical .yr-speaker-card__info {
    padding: var(--space-5) var(--space-4) var(--space-6);
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-1);
}

.yr-speaker-card--vertical .yr-speaker-card__name {
    font-family: var(--font-heading);
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-bold);
    color: var(--yr-primary);
    margin: 0 0 var(--space-1);
    line-height: 1.3;
}

@media (min-width: 640px) {
    .yr-speaker-card--vertical .yr-speaker-card__name {
        font-size: var(--font-size-xl);
    }
}

.yr-speaker-card--vertical .yr-speaker-card__title {
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    color: var(--yr-secondary);
    margin: 0;
}

.yr-speaker-card--vertical .yr-speaker-card__church {
    font-size: var(--font-size-sm);
    color: var(--lbc-text);
    margin: 0;
}

.yr-speaker-card--vertical .yr-speaker-card__location {
    font-size: var(--font-size-xs);
    color: var(--lbc-text-soft);
    margin: 0;
}

.yr-speaker-card--vertical .yr-speaker-card__bio-btn {
    margin-top: var(--space-3);
    padding: var(--space-2) var(--space-5);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    color: var(--yr-primary);
    background: transparent;
    border: 2px solid var(--yr-primary);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all 0.2s ease;
}

.yr-speaker-card--vertical .yr-speaker-card__bio-btn:hover {
    background: var(--yr-primary);
    color: var(--lbc-white);
}

/* =============================================================================
   SPEAKER CARD - Large Spotlight Layout (v8.0)
   Full-bleed hero style with side-by-side photo + info on desktop
   Used on single Youth Rally pages for featured speakers
   ============================================================================= */

.yr-speaker-card--large {
    display: grid;
    grid-template-columns: 1fr;
    padding: 0;
    background: transparent;
    border-radius: 0;
    overflow: visible;
    box-shadow: none;
    max-width: none;
    margin: 0;
}

/* Large Photo - natural proportions, no cropping */
.yr-speaker-card--large .yr-speaker-card__photo {
    width: 100%;
    aspect-ratio: unset;
    overflow: visible;
    position: relative;
    margin-bottom: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    line-height: 0;
}

.yr-speaker-card--large .yr-speaker-card__photo img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}

.yr-speaker-card--large:hover .yr-speaker-card__photo img {
    transform: scale(1.02);
}

.yr-speaker-card--large .yr-speaker-card__photo--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
}

.yr-speaker-card--large .yr-speaker-card__photo--placeholder svg {
    color: var(--lbc-text-muted);
    width: 80px;
    height: 80px;
    opacity: 0.4;
}

/* Info section - generous padding below photo */
.yr-speaker-card--large .yr-speaker-card__info {
    padding: var(--space-6) var(--space-5) var(--space-8);
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-1);
}

.yr-speaker-card--large .yr-speaker-card__name {
    font-family: var(--font-heading);
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
    color: var(--yr-primary);
    margin: 0 0 var(--space-2);
    line-height: 1.3;
}

@media (min-width: 640px) {
    .yr-speaker-card--large .yr-speaker-card__name {
        font-size: var(--font-size-2xl);
    }
}

.yr-speaker-card--large .yr-speaker-card__title {
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-semibold);
    color: var(--yr-secondary);
    margin: 0;
}

.yr-speaker-card--large .yr-speaker-card__church {
    font-size: var(--font-size-sm);
    color: var(--lbc-text);
    margin: var(--space-1) 0 0;
    line-height: 1.5;
}

.yr-speaker-card--large .yr-speaker-card__location {
    font-size: var(--font-size-xs);
    color: var(--lbc-text-soft);
    margin: var(--space-1) 0 0;
}

.yr-speaker-card--large .yr-speaker-card__bio-btn {
    margin-top: var(--space-4);
    padding: var(--space-3) var(--space-6);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    color: var(--yr-primary);
    background: transparent;
    border: 2px solid var(--yr-primary);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all 0.2s ease;
}

.yr-speaker-card--large .yr-speaker-card__bio-btn:hover {
    background: var(--yr-primary);
    color: var(--lbc-white);
}

/* Responsive sizing for large cards */
@media (min-width: 768px) {
    .yr-speaker-card--large {
        max-width: 450px;
    }
}

@media (min-width: 1024px) {
    .yr-speaker-card--large {
        max-width: 500px;
    }
}

/* Legacy: keep horizontal cards for backwards compatibility */
.yr-speakers-stack {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.yr-speaker-card--horizontal {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    padding: var(--space-4);
    gap: var(--space-4);
}

.yr-speaker-card--horizontal .yr-speaker-card__photo {
    width: 80px;
    height: 80px;
    min-width: 80px;
    margin-bottom: 0;
    border-width: 3px;
}

@media (min-width: 640px) {
    .yr-speaker-card--horizontal .yr-speaker-card__photo {
        width: 100px;
        height: 100px;
        min-width: 100px;
    }
}

.yr-speaker-card--horizontal .yr-speaker-card__info {
    flex: 1;
}

.yr-speaker-card--horizontal .yr-speaker-card__name {
    font-size: var(--font-size-md);
}

@media (min-width: 640px) {
    .yr-speaker-card--horizontal .yr-speaker-card__name {
        font-size: var(--font-size-lg);
    }
}

/* =============================================================================
   FLYER CARD (For two-column layout)
   ============================================================================= */

.yr-flyer-card {
    background: var(--lbc-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

@media (min-width: 640px) {
    .yr-flyer-card {
        max-width: 450px;
    }
}

@media (min-width: 900px) {
    .yr-flyer-card {
        max-width: none;
        margin: 0;
    }
}

.yr-flyer-card__image {
    background: var(--lbc-navy);
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    overflow: hidden;
}

.yr-flyer-card__image img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: contain; /* Show full flyer without cropping */
    object-position: center;
    transition: transform 0.4s ease;
}

/* Subtle zoom on hover */
.yr-flyer-card:hover .yr-flyer-card__image img {
    transform: scale(1.02);
}

@media (min-width: 640px) {
    .yr-flyer-card__image img {
        max-height: 650px;
    }
}

@media (min-width: 900px) {
    .yr-flyer-card__image img {
        max-height: 700px;
    }
}

.yr-flyer-card__download {
    padding: var(--space-4);
    text-align: center;
    background: var(--lbc-cream);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.yr-flyer-card__download .btn {
    width: 100%;
    justify-content: center;
}

@media (min-width: 640px) {
    .yr-flyer-card__download {
        padding: var(--space-6);
    }
    .yr-flyer-card__download .btn {
        width: auto;
    }
}

/* =============================================================================
   PRINT STYLES
   ============================================================================= */

@media print {
    .yr-hero {
        min-height: auto;
        padding: var(--space-8);
        background: none;
        color: var(--lbc-text);
    }

    .yr-hero__overlay {
        display: none;
    }

    .yr-countdown,
    .yr-hero__actions,
    .yr-lightbox,
    .yr-speaker-card__bio-btn {
        display: none;
    }

    .yr-section {
        padding: var(--space-8) 0;
    }
}

/* =============================================================================
   REGISTRATION FORM - PROXY FORM STYLES (v7.0)
   Styled native form that posts to Google Forms
   ============================================================================= */

/* Form wrapper */
.yr-registration__form-wrapper {
    max-width: 700px;
    margin: 0 auto;
}

/* Honeypot field - hidden from humans, visible to bots */
.yr-hp-field {
    position: absolute;
    left: -9999px;
    top: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

/* Form grid layout */
.yr-form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-4);
}

@media (min-width: 640px) {
    .yr-form-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-5);
    }
}

/* Full width form group */
.yr-form-group--full {
    grid-column: 1 / -1;
}

/* Form group */
.yr-form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}

/* Labels */
.yr-form-label {
    font-family: var(--font-heading);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    color: var(--lbc-text);
}

.yr-required {
    color: #dc2626;
    margin-left: 2px;
}

/* Input fields */
.yr-form-input {
    width: 100%;
    padding: var(--space-3) var(--space-4);
    font-family: var(--font-body);
    font-size: var(--font-size-md);
    color: var(--lbc-text);
    background: var(--lbc-white);
    border: 2px solid var(--lbc-border-soft);
    border-radius: var(--radius-lg);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.yr-form-input:focus {
    outline: none;
    border-color: var(--yr-primary);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--yr-primary) 20%, transparent);
}

.yr-form-input::placeholder {
    color: var(--lbc-text-muted, #9ca3af);
}

/* Number input styling */
.yr-form-input[type="number"] {
    -moz-appearance: textfield;
}

.yr-form-input[type="number"]::-webkit-inner-spin-button,
.yr-form-input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Form actions */
.yr-form-actions {
    margin-top: var(--space-6);
    text-align: center;
}

.yr-form-actions .btn {
    width: 100%;
    max-width: 320px;
}

/* =============================================================================
   SUBMIT BUTTON STATES
   ============================================================================= */

/* Base submit button */
#yr-submit-btn {
    position: relative;
    min-width: 220px;
    gap: var(--space-2, 0.5rem);
    transition: background-color 0.2s ease, transform 0.1s ease;
}

#yr-submit-btn:disabled {
    opacity: 0.85;
    cursor: not-allowed;
}

/* CRITICAL: Force hidden elements to not display */
/* The [hidden] attribute should hide elements, but CSS display properties override it */
/* High specificity selector ensures hidden elements stay hidden */
#yr-submit-btn [hidden],
#yr-submit-btn .yr-btn-text[hidden],
#yr-submit-btn .yr-btn-icon[hidden],
#yr-submit-btn .yr-btn-loading[hidden] {
    display: none;
    visibility: hidden;
}

/* Button content - default visible state */
.yr-btn-text {
    display: inline;
}

.yr-btn-icon {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

/* Loading state wrapper - only visible when not hidden */
.yr-btn-loading {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2, 0.5rem);
}

/* Spinner animation */
.yr-spinner {
    animation: yr-spin 1s linear infinite;
    flex-shrink: 0;
}

@keyframes yr-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Success state - green button */
#yr-submit-btn.yr-btn--success {
    background: #22c55e;
    background-image: none;
    border-color: #22c55e;
}

/* Error state - red button */
#yr-submit-btn.yr-btn--error {
    background: #ef4444;
    background-image: none;
    border-color: #ef4444;
}

/* Privacy note */
.yr-form-privacy {
    margin-top: var(--space-4);
    text-align: center;
    font-size: var(--font-size-sm);
    color: var(--lbc-text-muted);
}

/* =============================================================================
   REGISTRATION FORM - SUCCESS STATE
   ============================================================================= */

.yr-form-success {
    text-align: center;
    padding: var(--space-8) var(--space-4);
    background: linear-gradient(135deg, color-mix(in srgb, var(--yr-primary) 5%, white) 0%, white 100%);
    border-radius: var(--radius-xl);
    border: 2px solid color-mix(in srgb, var(--yr-primary) 20%, transparent);
}

.yr-form-success__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--yr-primary), var(--yr-secondary));
    border-radius: 50%;
    margin-bottom: var(--space-4);
}

.yr-form-success__icon svg {
    color: white;
}

.yr-form-success__title {
    font-family: var(--font-heading);
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-bold);
    color: var(--yr-primary);
    margin: 0 0 var(--space-2);
}

.yr-form-success__message {
    font-size: var(--font-size-md);
    color: var(--lbc-text-soft);
    margin: 0 0 var(--space-4);
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.yr-form-success__payment {
    font-size: var(--font-size-sm);
    color: var(--lbc-text-muted);
    margin-bottom: var(--space-3);
}

.yr-form-success__actions {
    margin-top: var(--space-6);
    padding-top: var(--space-4);
    border-top: 1px solid color-mix(in srgb, var(--yr-primary) 15%, transparent);
}

.yr-form-success__actions .btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
}

.yr-form-success__actions .btn-outline-dark {
    background: transparent;
    color: var(--lbc-text);
    border: 2px solid color-mix(in srgb, var(--lbc-text) 30%, transparent);
}

.yr-form-success__actions .btn-outline-dark:hover {
    background: var(--lbc-navy);
    color: white;
    border-color: var(--lbc-navy);
}

/* =============================================================================
   REGISTRATION FORM - ERROR STATE
   ============================================================================= */

.yr-form-error {
    text-align: center;
    padding: var(--space-6) var(--space-4);
    background: #fef2f2;
    border-radius: var(--radius-lg);
    border: 2px solid #fecaca;
}

.yr-form-error p {
    color: #991b1b;
    margin: 0 0 var(--space-4);
}

/* =============================================================================
   REGISTRATION CLOSED STATE
   ============================================================================= */

.yr-registration-closed {
    text-align: center;
    padding: var(--space-10) var(--space-4);
    max-width: 500px;
    margin: 0 auto;
}

.yr-registration-closed__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    background: var(--lbc-cream);
    border-radius: 50%;
    margin-bottom: var(--space-4);
}

.yr-registration-closed__icon svg {
    color: var(--yr-secondary);
}

.yr-registration-closed__message {
    font-size: var(--font-size-lg);
    color: var(--lbc-text-soft);
    margin: 0 0 var(--space-6);
    line-height: 1.7;
}

/* =============================================================================
   NOSCRIPT FALLBACK
   ============================================================================= */

.yr-noscript-notice {
    text-align: center;
    padding: var(--space-6);
    background: var(--lbc-cream);
    border-radius: var(--radius-lg);
    margin-top: var(--space-4);
}

.yr-noscript-notice p {
    margin: 0 0 var(--space-2);
    color: var(--lbc-text-soft);
}

.yr-noscript-notice a {
    color: var(--yr-primary);
    text-decoration: underline;
}

/* =============================================================================
   FORM VALIDATION STATES
   ============================================================================= */

.yr-form-input:invalid:not(:placeholder-shown) {
    border-color: #dc2626;
}

.yr-form-input:valid:not(:placeholder-shown) {
    border-color: #16a34a;
}

/* Disable validation styling until form is submitted */
.yr-registration-form:not(.yr-form--submitted) .yr-form-input:invalid:not(:placeholder-shown) {
    border-color: var(--lbc-border-soft);
}

/* =============================================================================
   RESPONSIVE: FORM MOBILE ADJUSTMENTS
   ============================================================================= */

/* Mobile defaults */
.yr-form-actions .btn {
    width: 100%;
    max-width: none;
}

.yr-form-success,
.yr-form-error {
    padding: var(--space-6) var(--space-3);
}

.yr-form-success__icon {
    width: 64px;
    height: 64px;
}

.yr-form-success__icon svg {
    width: 32px;
    height: 32px;
}

/* Tablet and up: wider buttons, more padding */
@media (min-width: 640px) {
    .yr-form-actions .btn {
        width: auto;
        max-width: 300px;
    }

    .yr-form-success,
    .yr-form-error {
        padding: var(--space-8) var(--space-6);
    }

    .yr-form-success__icon {
        width: 80px;
        height: 80px;
    }

    .yr-form-success__icon svg {
        width: 40px;
        height: 40px;
    }
}
