/* ─────────────────────────────────────────────────────────────────── */
/* limbitless.css 
/* ─────────────────────────────────────────────────────────────────── */
/* ===================== HERO SECTION ===================== */

/* Layout for side-by-side hero columns */
.hero-columns {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    align-items: stretch;
}

.hero-columns>.hero-video,
.hero-columns>.hero-text {
    flex: 1 1 0;
    min-width: 0;
}

.hero-columns>.hero-video {
    max-width: 65%;
}

.hero-columns>.hero-text {
    max-width: 35%;
}

/* Position hero section closer to the top of the page */
section.hero {
    padding-top: 1px;
    padding-bottom: 20px;
}

/* Typography styling for hero text */
.hero-columns .hero-text .open-sans-medium.white {
    font-size: 20px;
    line-height: 1.7;
}

/* Background and layout of the hero section */
.hero.bg-light-blue {
    min-height: 100vh;
    height: 100vh;
    display: flex;
    align-items: flex-start;
    background-color: #2A94D4;
    padding-top: 260px;
    padding-bottom: 0;
}

/* Style the main hero heading */
h1.display-2 {
    font-size: 60px;
    font-weight: bold;
    margin-top: -70px;
    margin-bottom: 50px;
    line-height: 1.1;
    letter-spacing: 5px !important;
}

/* ===================== VIDEO STYLES ===================== */

/* Wrapper to constrain and style embedded video */
.video-fixed {
    width: 100%;
    max-width: 1000px;
    height: auto;
    aspect-ratio: 16/9;
    margin-left: -15px;
    margin-right: auto;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.video-fixed iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* ===================== CARD GRID ===================== */

/* Container for layout of news cards */
.card-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 24px;
    justify-content: center;
    margin-bottom: 150px;
    width: 100%;
    padding: 0 32px;
}

/* Individual news card styling */
.limbitless-card {
    background: linear-gradient(135deg, #1AC0E5 0%, #167EC1 100%);
    color: #fff;
    border-radius: 8px;
    border: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    flex: 0 0 400px;
    max-width: 400px;
    min-width: 400px;
    height: 500px;
    margin: 0;
    padding: 24px;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease;
}

.limbitless-card:hover {
    transform: translateY(-4px);
}

/* ===================== IMAGE STYLES ===================== */

/* Thumbnail image inside cards */
.news-thumbnail {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 16px;
}

/* ===================== TYPOGRAPHY ===================== */

.klavika,
.klavika.primaryBlue4,
h2.klavika {
    font-size: 2rem;
}

h2.klavika.blue-dark {
    font-size: 2.5rem;
    margin-bottom: 60px;
    font-weight: bold;
    color: #024273;
    text-align: left;
    margin-left: 32px;
}

.limbitless-card h3.news-title {
    font-size: 1.25rem;
    line-height: 1.2;
    text-decoration: underline;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.open-sans-medium {
    font-size: 1rem;
}

h2.klavika {
    margin-bottom: 2rem;
}

/* ===================== CONTAINER ===================== */

.container {
    padding-left: 2rem;
    padding-right: 2rem;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    max-width: 1200px;
}

/* Learn More section styling */
section.learn-more {
    padding-top: 20px;
    align-items: flex-start;
    background: #fff;
}

/* ===================== RESPONSIVE: TABLETS ===================== */

@media (max-width: 992px) {
    .card-grid {
        flex-wrap: wrap;
        gap: 32px;
    }

    .limbitless-card {
        flex: 0 0 100%;
        min-width: 300px;
        max-width: 400px;
        height: auto;
        min-height: 400px;
    }

    .news-thumbnail {
        height: 200px;
    }
}

/* ===================== RESPONSIVE: MOBILE ===================== */

@media (max-width: 600px) {

    /* Hero section stacking and spacing adjustments */
    .hero.bg-light-blue {
        padding-top: 120px;
        padding-bottom: 40px;
        height: auto;
        min-height: 100vh;
    }

    h1.display-2 {
        font-size: 40px;
        margin-top: 5px;
        margin-bottom: 30px;
        letter-spacing: 3px !important;
    }

    .hero-columns {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-columns>.hero-video,
    .hero-columns>.hero-text {
        max-width: 100%;
        width: 100%;
    }

    .hero-video {
        order: 1;
    }

    .hero-text {
        order: 2;
    }

    .hero-columns .hero-text .open-sans-medium.white {
        font-size: 16px;
        line-height: 1.5;
        padding-bottom: 80px;
    }

    .video-fixed {
        max-width: 100%;
        aspect-ratio: 16 / 9;
        margin-bottom: 20px;
    }

    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .card-grid {
        padding: 0 16px;
    }

    .limbitless-card {
        min-width: 100%;
        padding: 16px;
    }

    h2.klavika.blue-dark {
        font-size: 30px;
        margin-bottom: 40px;
        margin-left: 16px;
    }
}