/* Noosphere Landing Page Styles */

/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:wght@400;700&family=Manrope:wght@400;500;600;700;800&display=swap');

/* iOS Safari safe area support - ensures black background extends into status bar and home indicator areas */
@supports (padding: env(safe-area-inset-top)) {
    html {
        background-color: #000000;
    }
    
    body {
        /* Extend content into safe areas */
        padding-top: env(safe-area-inset-top);
        padding-bottom: env(safe-area-inset-bottom);
        padding-left: env(safe-area-inset-left);
        padding-right: env(safe-area-inset-right);
    }
}

/* Landing viewport override - reset Ghost's default flex container behavior */
/* Placeholder image styles (for images that haven't been added yet) */
.landing-hero-card img[src*="landing/"],
.landing-journalist-card-bg img[src*="landing/"],
.landing-video-thumbnail img[src*="landing/"],
.landing-story-image img[src*="landing/"] {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    min-height: 100%;
}

/* CSS Custom Properties */
:root {
    --landing-black: #000000;
    --landing-white: #ffffff;
    --landing-gray: #c3c3c3;
    --landing-gray-light: rgba(255, 255, 255, 0.6);
    --landing-border: rgba(255, 255, 255, 0.2);
    --font-serif: 'Libre Baskerville', Georgia, serif;
    --font-sans: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Landing Page Container */
.landing-page {
    min-height: 100vh;
    width: 100%;
    background-color: var(--landing-black);
    color: var(--landing-white);
}

/* Override navigation background on landing page to match black theme */
.landing-page .gh-navigation {
    background-color: var(--landing-black);
}

.landing-page .gh-navigation-actions {
    background-color: var(--landing-black);
}

/* Main Content */
.landing-content {
    padding-top: 80px;
}

@media (min-width: 768px) {
    .landing-content {
        padding-top: 72px;
    }
}

/* Hero Section */
.landing-hero {
    position: relative;
    width: 100%;
    background-color: var(--landing-black);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow-x: clip;
    overflow-y: visible;
}

.landing-hero-desktop {
    display: block;
    overflow-x: clip; /* Prevent horizontal scroll from positioned cards */
    overflow-y: visible;
}

.landing-hero-mobile {
    display: none;
}

/* Hero Cards Container */
.landing-hero-cards-container {
    width: 100%;
    margin-top: 3rem; /* Gap between content and cards */
    position: relative;
    min-height: 800px; /* Needs height for sticky to work */
}

.landing-hero-cards-inner {
    width: 100%;
    margin: 0 auto;
    position: relative;
    height: 600px; /* Height for the cards section */
    overflow: clip; /* Clip cards that extend past boundaries */
}

.landing-hero-mobile .landing-hero-cards-inner {
    overflow: visible;
}

/* Hero Background Images - Simple cards with borders */
.landing-hero-card {
    position: absolute;
    border-radius: 32px;
    pointer-events: none;
    opacity: 0;
    transform: translateY(48px);
    transition: opacity 1s ease, transform 1s ease;
}

.landing-hero-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.landing-hero-card img {
    position: absolute;
    inset: 0;
    max-width: none;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 32px;
}

.landing-hero-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 32px;
    pointer-events: none;
}

/* Desktop Card Positions - Centered around middle card, positioned from top of cards container */
.landing-hero-desktop .landing-hero-card-1 { 
    left: calc(50% - 770.5px); 
    top: 160px; 
    width: 270px; 
    height: 477.313px; 
    transition-delay: 100ms; 
}
.landing-hero-desktop .landing-hero-card-2 { 
    left: calc(50% - 468.5px); 
    top: 122px; 
    width: 270px; 
    height: 514.925px; 
    transition-delay: 200ms; 
}
.landing-hero-desktop .landing-hero-card-3 { 
    left: calc(50% - 166.5px); 
    top: 0; 
    width: 333px; 
    height: 587px; 
    transition-delay: 300ms; 
}
.landing-hero-desktop .landing-hero-card-4 { 
    left: calc(50% + 198.5px); 
    top: 160px; 
    width: 270px; 
    height: 477px; 
    transition-delay: 400ms; 
}
.landing-hero-desktop .landing-hero-card-5 { 
    left: calc(50% + 500.5px); 
    top: 122px; 
    width: 270px; 
    height: 514.925px; 
    transition-delay: 500ms; 
}

/* Hero Gradient */
.landing-hero-desktop .landing-hero-gradient {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 225px;
    background: linear-gradient(to bottom, rgba(0,0,0,0), #000000);
    pointer-events: none;
}

/* Hero Content */
.landing-hero-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 3rem 1.5rem 0;
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
}

.landing-hero-title {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 95px;
    line-height: 1;
    text-align: center;
    color: var(--landing-white);
    letter-spacing: -0.5px;
    margin: 0;
    margin-bottom: 2rem;
    max-width: 900px;
}

.landing-hero-subtitle {
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 26px;
    line-height: 1.1;
    text-align: center;
    color: var(--landing-white);
    letter-spacing: -0.5px;
    margin: 0;
    margin-bottom: 1rem;
}

/* Mobile Only Callout */
.landing-mobile-callout {
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 14px;
    text-align: center;
    color: var(--landing-gray);
    letter-spacing: 0.5px;
    margin: 0;
}

/* App Store Badges */
.landing-badges {
    display: flex;
    gap: 1rem;
    align-items: center;
    padding: 0;
}

.landing-badges img {
    height: 48px;
    width: auto;
}

/* Video Prompt Card */
.landing-video-card {
    position: sticky;
    bottom: 2rem;
    left: 0;
    right: 0;
    z-index: 10;
}

.landing-video-card-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2.5rem;
    pointer-events: none;
}

.landing-video-card-content {
    background-color: var(--landing-white);
    display: flex;
    gap: 1rem;
    align-items: center;
    padding: 0.5rem 2rem 0.5rem 0.5rem;
    border-radius: 32px;
    box-shadow: 0 11px 10.3px rgba(0,0,0,0.11);
    max-width: fit-content;
    pointer-events: auto;
}

.landing-video-thumbnail {
    position: relative;
    width: 120px;
    height: 120px;
    border-radius: 28px;
    overflow: hidden;
    flex-shrink: 0;
}

.landing-video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.landing-video-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.landing-video-play svg {
    width: 64px;
    height: 64px;
}

.landing-video-text {
    color: var(--landing-black);
}

.landing-video-text h3 {
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 25px;
    letter-spacing: -0.5px;
    margin: 0 0 0.5rem 0;
}

.landing-video-text p {
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 17px;
    margin: 0;
}

/* Reporters Section */
.landing-reporters {
    position: relative;
    width: 100%;
    background-color: var(--landing-black);
    padding-bottom: 4rem;
}

@media (max-width: 767px) {
    .landing-reporters {
        padding-bottom: 3rem;
    }
}

/* Desktop Reporters */
.landing-reporters-desktop {
    display: none;
}

.landing-reporters-header {
    max-width: 1280px;
    margin: 0 auto;
    padding: 4rem 5rem 3rem;
}

.landing-reporters-header-inner {
    display: flex;
    gap: 136px;
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(48px);
    transition: opacity 1s ease, transform 1s ease;
}

.landing-reporters-header-inner.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.landing-reporters-title {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 56px;
    line-height: 1.1;
    color: var(--landing-white);
    letter-spacing: -0.5px;
    margin: 0;
}

.landing-reporters-subtitle {
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 26px;
    line-height: 1.1;
    color: var(--landing-gray);
    letter-spacing: -0.5px;
    max-width: 372px;
    margin: 0;
}

/* Desktop Carousel - Full width, no clipping */
.landing-carousel {
    overflow: hidden;
    padding: 3rem 0 10rem 0;
}

.landing-carousel-track {
    display: flex;
    gap: 1.5rem;
    padding-left: 5rem;
    cursor: grab;
}

.landing-carousel-track:active {
    cursor: grabbing;
}

/* Mobile Reporters */
.landing-reporters-mobile {
    display: block;
}

.landing-reporters-header-mobile {
    padding: 3rem 1.5rem 2rem;
}

.landing-reporters-header-inner-mobile {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.landing-reporters-title-mobile {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 44px;
    line-height: 1.1;
    text-align: center;
    color: var(--landing-white);
    letter-spacing: -0.5px;
    margin: 0;
}

.landing-reporters-subtitle-mobile {
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 19px;
    line-height: 1.3;
    text-align: center;
    color: var(--landing-gray);
    letter-spacing: -0.5px;
    margin: 0;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
}

/* Mobile Carousel - Full width, no clipping */
.landing-carousel-mobile {
    overflow: hidden;
    padding: 5rem 0 3rem 0;
}

.landing-carousel-track-mobile {
    display: flex;
    gap: 1rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    cursor: grab;
}

.landing-carousel-track-mobile:active {
    cursor: grabbing;
}

/* Desktop Journalist Card */
.landing-journalist-card {
    flex-shrink: 0;
    width: 320px;
    height: 480px;
    border-radius: 40px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding: 1rem 0;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
}

.landing-journalist-card-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: 40px;
}

.landing-journalist-card-bg img {
    position: absolute;
    max-width: none;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 40px;
}

.landing-journalist-card-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,0.7));
    border-radius: 40px;
}

.landing-journalist-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 40px;
    pointer-events: none;
    z-index: 1;
}

.landing-journalist-name {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 22px;
    line-height: 1.1;
    color: var(--landing-white);
    text-align: center;
    position: relative;
    z-index: 10;
    margin: 0 0 0.5rem 0;
}

.landing-journalist-location {
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 19px;
    line-height: 1.1;
    color: rgba(255,255,255,0.8);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    z-index: 10;
    margin: 0;
}

/* Mobile Journalist Card */
.landing-journalist-card-mobile {
    flex-shrink: 0;
    width: 220px;
    height: 330px;
    border-radius: 24px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding: 1.25rem 0.75rem;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
}

.landing-journalist-card-bg-mobile {
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: 24px;
}

.landing-journalist-card-bg-mobile img {
    position: absolute;
    max-width: none;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 24px;
}

.landing-journalist-card-bg-mobile::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,0.75));
    border-radius: 24px;
}

.landing-journalist-card-mobile::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 24px;
    pointer-events: none;
    z-index: 1;
}

.landing-journalist-name-mobile {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 20px;
    line-height: 1.2;
    color: var(--landing-white);
    text-align: center;
    position: relative;
    z-index: 10;
    margin: 0 0 0.25rem 0;
}

.landing-journalist-location-mobile {
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 14px;
    line-height: 1.1;
    color: rgba(255,255,255,0.8);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    position: relative;
    z-index: 10;
    margin: 0;
}

/* Placeholder for authors without profile images */
.landing-journalist-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    border-radius: inherit;
}

/* Our Story Section */
.landing-story {
    width: 100%;
    background-color: var(--landing-white);
}

.landing-story-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 6rem 5rem;
}

.landing-story-content {
    display: flex;
    gap: 5rem;
    align-items: flex-start;
    opacity: 0;
    transform: translateY(48px);
    transition: opacity 1s ease, transform 1s ease;
}

.landing-story-content.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.landing-story-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.landing-story-title {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 72px;
    line-height: 1.1;
    color: var(--landing-black);
    letter-spacing: -2px;
    margin: 0;
}

.landing-story-description {
    font-family: var(--font-serif);
    font-weight: 500;
    font-size: 20px;
    line-height: 1.5;
    color: var(--landing-black);
    margin: 0;
}

.landing-story-image {
    flex: 0 0 auto;
    width: 400px;
    height: 550px;
    display: flex;
    align-items: center;
    border-radius: 24px;
    overflow: hidden;
}

.landing-story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Footer */
.landing-footer {
    background-color: var(--landing-black);
    color: var(--landing-white);
}

.landing-footer-inner {
    min-height: 50vh;
    max-width: 1280px;
    margin: 0 auto;
    padding: 3rem 1.5rem 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 2rem;
    opacity: 0;
    transform: translateY(48px);
    transition: opacity 1s ease, transform 1s ease;
}

.landing-footer-inner.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Big Logo */
.landing-footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    padding: 2rem 0;
}

.landing-footer-logo svg {
    width: 100%;
    max-width: 1200px;
    height: auto;
}

/* Landing footer overrides for nested gh-footer component */
.landing-footer .gh-footer {
    margin-top: 0;
    background-color: transparent;
    color: var(--landing-white);
}

.landing-footer .gh-footer-inner {
    padding: 0;
}

.landing-footer .gh-social-icon {
    color: var(--landing-white);
}

.landing-footer .gh-social-icons {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
}

.landing-footer .gh-social-icons .gh-social-icon svg {
    display: block !important;
    width: 24px !important;
    height: 24px !important;
    min-width: 24px !important;
    min-height: 24px !important;
    max-width: 24px !important;
    max-height: 24px !important;
}

.landing-footer .gh-footer-legal a,
.landing-footer .gh-footer-legal p {
    color: var(--landing-gray-light);
}

/* Desktop Footer Styles */
@media (min-width: 768px) {
    .landing-footer-inner {
        min-height: 65vh;
        padding: 6rem 2.5rem 0;
    }

    .landing-footer-logo {
        padding: 3rem 0;
    }

    .landing-footer .gh-footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }

    .landing-footer .gh-footer-legal {
        flex-direction: row;
        gap: 2rem;
    }

    .landing-footer .gh-footer-legal .nav {
        flex-direction: row;
        gap: 2rem;
    }
}

/* Responsive */
@media (min-width: 768px) {
    .landing-reporters-desktop {
        display: block;
    }

    .landing-reporters-mobile {
        display: none;
    }
}

@media (max-width: 767px) {
    .landing-hero-desktop {
        display: none;
    }

    .landing-hero-mobile {
        display: flex;
        flex-direction: column;
        position: relative;
    }

    .landing-hero-mobile .landing-hero-cards-container {
        margin-top: 0.5rem;
        min-height: 600px;
    }

    .landing-hero-mobile .landing-hero-cards-inner {
        height: 450px;
    }

    .landing-hero-mobile .landing-hero-card {
        border-radius: 16px;
    }

    .landing-hero-mobile .landing-hero-card img {
        border-radius: 16px;
    }

    .landing-hero-mobile .landing-hero-card::after {
        border-radius: 16px;
        border-width: 1px;
    }

    .landing-hero-mobile .landing-hero-card-1 { 
        left: -80px; 
        top: 30%; 
        width: 180px; 
        height: 318px;
        z-index: 2;
    }
    .landing-hero-mobile .landing-hero-card-2 { 
        left: 10%; 
        top: 28%; 
        width: 180px; 
        height: 343px;
        z-index: 4;
    }
    .landing-hero-mobile .landing-hero-card-3 { 
        left: 50%;
        transform: translateX(-50%);
        top: 23%; 
        width: 220px; 
        height: 388px;
        z-index: 5;
    }
    .landing-hero-mobile .landing-hero-card-4 { 
        right: 10%;
        left: auto;
        top: 28%; 
        width: 180px; 
        height: 318px;
        z-index: 3;
    }
    .landing-hero-mobile .landing-hero-card-5 { 
        right: -80px;
        left: auto;
        top: 30%; 
        width: 180px; 
        height: 343px;
        z-index: 1;
    }

    .landing-hero-mobile .landing-hero-gradient {
        position: absolute;
        top: 0;
        height: 35%;
        left: 0;
        transform: none;
        width: 100%;
        background: linear-gradient(to bottom, #000000 0%, rgba(0,0,0,0.85) 60%, rgba(0,0,0,0) 100%);
    }

    .landing-hero-mobile::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 40%;
        background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.6) 50%, #000000 100%);
        pointer-events: none;
        z-index: 6;
    }

    .landing-hero-mobile .landing-hero-content {
        position: relative;
        padding: 2rem 1.5rem 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .landing-hero-mobile .landing-video-card {
        position: sticky;
        bottom: 2rem;
        margin: 0 1rem;
    }

    .landing-hero-mobile .landing-video-card-inner {
        padding: 0;
        pointer-events: none;
    }

    .landing-hero-mobile .landing-video-card-content {
        margin: 0 auto;
        pointer-events: auto;
    }

    .landing-hero-title {
        font-size: 48px;
        line-height: 1.1;
        margin-bottom: 1rem;
    }

    .landing-hero-subtitle {
        font-size: 20px;
        line-height: 1.3;
        margin-bottom: 2rem;
    }

    .landing-badges {
        flex-direction: row;
        gap: 0.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .landing-badges img {
        height: 48px;
    }

    .landing-video-card-content {
        padding: 0.75rem;
        border-radius: 24px;
        gap: 1.25rem;
    }

    .landing-video-thumbnail {
        border-radius: 18px;
        width: 100px;
        height: 100px;
    }

    .landing-video-play svg {
        width: 56px;
        height: 56px;
    }

    .landing-video-text h3 {
        font-size: 19px;
        line-height: 1.2;
        margin-bottom: 0.25rem;
    }

    .landing-video-text p {
        font-size: 15px;
        line-height: 1.3;
    }

    .landing-story-inner {
        padding: 3rem 1.5rem;
    }

    .landing-story-content {
        flex-direction: column;
        gap: 2rem;
    }

    .landing-story-title {
        font-size: 48px;
    }

    .landing-story-description {
        font-size: 17px;
        line-height: 1.6;
    }

    .landing-story-image {
        width: 100%;
        height: 450px;
    }

    .landing-story-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}


/* Video Modal */
.landing-video-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
}

.landing-video-modal.is-open {
    opacity: 1;
    visibility: visible;
}

.landing-video-modal-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.9);
    cursor: pointer;
}

.landing-video-modal-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.3s ease, transform 0.3s ease;
    padding: 0 1rem;
}

.landing-video-modal.is-open .landing-video-modal-content {
    opacity: 1;
    transform: scale(1);
    transition-delay: 0.1s;
}

.landing-video-modal-player-wrapper {
    position: relative;
    width: 100%;
    max-width: min(600px, 90vw);
    aspect-ratio: 9 / 16;
    max-height: 90vh;
    border-radius: 16px;
    background: #000;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    margin: 0 auto;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.landing-video-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10;
}

.landing-video-modal-close:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.05);
}

.landing-video-modal-close:active {
    transform: scale(0.95);
}

.landing-video-modal-close svg {
    width: 24px;
    height: 24px;
    stroke-width: 2.5;
}

.landing-video-modal-player {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.landing-video-modal-player mux-player {
    width: 100%;
    height: 100%;
    max-height: 90vh;
    --media-object-fit: contain;
    --media-object-position: center;
    --controls-backdrop-color: rgba(0, 0, 0, 0.7);
    font-family: var(--font-sans);
}

/* Mobile-specific modal styles */
@media (max-width: 767px) {
    .landing-video-modal-content {
        max-width: 95vw;
        max-height: 90vh;
        padding: 0 0.5rem;
    }

    .landing-video-modal-player-wrapper {
        max-height: 90vh;
        border-radius: 12px;
    }

    .landing-video-modal-close {
        top: 8px;
        right: 8px;
        width: 40px;
        height: 40px;
    }

    .landing-video-modal-close svg {
        width: 22px;
        height: 22px;
    }
}

/* Tablet and up */
@media (min-width: 768px) {
    .landing-video-modal-player-wrapper {
        border-radius: 20px;
    }
}

/* Make video card clickable */
.landing-video-card-content[data-video-trigger] {
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.landing-video-card-content[data-video-trigger]:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 13px rgba(0,0,0,0.15);
}

.landing-video-card-content[data-video-trigger]:active {
    transform: translateY(0);
}

/* Prevent body scroll when modal is open */
body.video-modal-open {
    overflow: hidden;
}
