﻿.stories-hero {
    position: relative;
    width: 100%;
    min-height: 500px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #123d37;
}

.stories-hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    z-index: 1;
}

.stories-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient( 90deg, rgba(7,39,35,.58) 0%, rgba(7,39,35,.42) 35%, rgba(7,39,35,.20) 62%, rgba(7,39,35,.03) 100% );
}

.stories-hero-container {
    position: relative;
    z-index: 3;
    width: 100%;
}

.stories-hero-content {
    width: 100%;
    max-width: 680px;
    padding: 70px 0;
    margin: 0;
    text-align: left;
}

.stories-label {
    display: inline-block;
    margin-bottom: 12px;
    color: #167d6b;
    font-size: 19px;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.stories-hero .stories-label {
    color: #b8eee3;
}

.stories-hero h1 {
    margin-bottom: 20px;
    color: #fff;
    font-size: clamp(44px,5vw,68px);
    font-weight: 800;
    line-height: 1.08;
}
.stories-hero p {
    max-width: 600px;
    margin: 0 0 28px;
    color: rgba(255,255,255,.92);
    font-size: 19px;
    font-weight: 600;
    line-height: 1.75;
}

.stories-hero-actions {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 12px;
}

.stories-primary-btn,
.stories-secondary-btn,
.share-story-btn {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 23px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: .25s ease;
}

.stories-primary-btn,
.share-story-btn {
    border: 2px solid #167d6b;
    background: #167d6b;
    color: #fff;
}

.stories-secondary-btn {
    border: 2px solid #167d6b;
    background: #fff;
    color: #167d6b;
}

.stories-primary-btn:hover,
.share-story-btn:hover {
    background: #106b5c;
    color: #fff;
    transform: translateY(-2px);
}

.stories-secondary-btn:hover {
    background: #167d6b;
    color: #fff;
    transform: translateY(-2px);
}

.stories-hero .stories-primary-btn {
    border-color: #fff;
    background: #fff;
    color: #167d6b;
}

    .stories-hero .stories-primary-btn:hover {
        border-color: #167d6b;
        background: #167d6b;
        color: #fff;
    }

.stories-hero .stories-secondary-btn {
    border-color: rgba(255,255,255,.9);
    background: rgba(255,255,255,.08);
    color: #fff;
    backdrop-filter: blur(4px);
}

    .stories-hero .stories-secondary-btn:hover {
        border-color: #fff;
        background: #fff;
        color: #167d6b;
    }

.featured-story-section {
    padding: 70px 0;
    background: #fff;
}

.featured-story-visual {
    min-height: 390px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 35px;
    border-radius: 25px;
    background: linear-gradient(145deg,#167d6b,#215e55);
    color: #fff;
    box-shadow: 0 18px 45px rgba(23,85,75,.18);
}

.featured-story-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: auto;
    border-radius: 18px;
    background: rgba(255,255,255,.14);
    font-size: 26px;
}

.featured-story-visual span {
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.featured-story-visual h2 {
    margin-bottom: 13px;
    font-size: 32px;
    font-weight: 800;
    line-height: 1.25;
}

.featured-story-visual p {
    margin: 0;
    color: rgba(255,255,255,.86);
    font-size: 17px;
    font-weight: 600;
    line-height: 1.7;
}

.featured-story-content h2 {
    margin-bottom: 17px;
    color: #183b38;
    font-size: 38px;
    font-weight: 800;
    line-height: 1.2;
}

.featured-story-content p {
    color: #60736f;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.75;
}

.featured-story-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 22px 0;
}

    .featured-story-meta span {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 8px 12px;
        border-radius: 50px;
        background: #eff8f5;
        color: #167d6b;
        font-size: 15px;
        font-weight: 700;
    }

.stories-text-btn,
.story-read-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #167d6b;
    font-size: 15px;
    font-weight: 800;
}

.parent-stories-section,
.video-stories-section {
    padding: 70px 0;
    background: #f5faf8;
}

.stories-section-heading {
    max-width: 780px;
    margin: 0 auto 38px;
    text-align: center;
}

    .stories-section-heading h2 {
        margin-bottom: 14px;
        color: #183b38;
        font-size: clamp(32px,4vw,44px);
        font-weight: 800;
    }

        .stories-section-heading h2 span {
            color: #167d6b;
        }

    .stories-section-heading p {
        margin: 0;
        color: #60736f;
        font-size: 17px;
        font-weight: 600;
        line-height: 1.7;
    }

.stories-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 35px;
}

.stories-filter-btn {
    padding: 9px 15px;
    border: 1px solid #cfe3de;
    border-radius: 50px;
    background: #fff;
    color: #54706a;
    font-size: 15px;
    font-weight: 700;
    transition: .25s ease;
}

    .stories-filter-btn:hover,
    .stories-filter-btn.active {
        border-color: #167d6b;
        background: #167d6b;
        color: #fff;
    }

.parent-story-card {
    height: 100%;
    overflow: hidden;
    border: 1px solid #dfebe8;
    border-radius: 20px;
    background: #fff;
    transition: transform .3s ease,box-shadow .3s ease;
}

    .parent-story-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 15px 35px rgba(23,73,65,.10);
    }

.parent-story-top {
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 23px;
}

.mobility-story {
    background: linear-gradient(135deg,#dff4ef,#eefaf7);
}

.communication-story {
    background: linear-gradient(135deg,#e8f1fb,#f4f8fc);
}

.education-story {
    background: linear-gradient(135deg,#fff3dc,#fffaf0);
}

.parent-story-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    background: #fff;
    color: #167d6b;
    font-size: 23px;
    transition: .3s ease;
}

.parent-story-card:hover .parent-story-icon {
    background: #167d6b;
    color: #fff;
    transform: scale(1.05);
}

.parent-story-top > span {
    color: #183b38;
    font-size: 14px;
    font-weight: 800;
}

.parent-story-body {
    padding: 23px;
}

.parent-story-meta {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
    color: #748983;
    font-size: 16px;
    font-weight: 700;
}

.parent-story-body h3 {
    margin-bottom: 11px;
    color: #183b38;
    font-size: 21px;
    font-weight: 800;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.parent-story-body p {
    color: #637773;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.milestone-section {
    padding: 70px 0;
    background: #fff;
}

.milestone-card {
    height: auto;
    padding: 20px;
    border: 1px solid #e0ece8;
    border-radius: 18px;
    background: #fff;
    transition: .3s ease;
}

    .milestone-card:hover {
        transform: translateY(-6px);
        border-color: rgba(22,125,107,.35);
        box-shadow: 0 15px 35px rgba(23,73,65,.09);
    }

.milestone-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    border-radius: 16px;
    background: #eaf6f3;
    color: #167d6b;
    font-size: 24px;
    transition: .3s ease;
}

.milestone-card:hover .milestone-icon {
    background: #167d6b;
    color: #fff;
    transform: scale(1.05);
}

.milestone-card h3 {
    color: #183b38;
    font-size: 20px;
    font-weight: 800;
}

.milestone-card p {
    margin: 0;
    color: #637773;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.7;
}

.video-story-card {
    height: 100%;
    overflow: hidden;
    border: 1px solid #dfebe8;
    border-radius: 20px;
    background: #fff;
    transition: transform .3s ease,box-shadow .3s ease;
}

    .video-story-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 15px 35px rgba(23,73,65,.10);
    }

.video-story-preview {
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg,#dcefeb,#edf8f5);
}

.video-play-btn {
    width: 68px;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background: #167d6b;
    color: #fff;
    font-size: 30px;
    box-shadow: 0 10px 25px rgba(22,125,107,.23);
    transition: .25s ease;
}

    .video-play-btn:hover {
        transform: scale(1.08);
        background: #106b5c;
    }

.video-story-content {
    padding: 22px;
}

    .video-story-content span {
        color: #167d6b;
        font-size: 12px;
        font-weight: 800;
        text-transform: uppercase;
    }

    .video-story-content h3 {
        margin: 8px 0;
        color: #183b38;
        font-size: 20px;
        font-weight: 800;
    }

.video-story-content p {
        margin: 0;
        color: #637773;
        font-size: 17px;
        font-weight: 600;
    }

.share-story-section {
    padding: 65px 0;
    background: #fff;
}

/* Video showcase */
.video-stories-section { background:#edf8fc; }
.video-showcase-layout { display:grid; grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr); gap:clamp(2.5rem,6vw,6.5rem); align-items:center; }
.video-showcase-copy { max-width:40rem; }
.video-showcase-copy h2 { margin:.55rem 0 1.2rem; color:#101b57; font-size:clamp(2.4rem,4vw,4.25rem); font-weight:850; letter-spacing:-.045em; line-height:1.12; }
.video-showcase-copy p { margin:0 0 1.15rem; color:#17233d; font-size:17px; font-weight:600; line-height:1.75; }
.video-showcase-signoff { font-weight:800 !important; }
.video-subscribe-btn { display:inline-flex; align-items:center; gap:.65rem; margin-top:1.15rem; padding:.85rem 1.55rem; border:2px solid #111747; border-radius:.25rem; background:#e92d25; color:#fff; font-size:17px; font-weight:800; text-decoration:none; transition:transform .2s ease,background .2s ease; }
.video-subscribe-btn:hover { transform:translateY(-2px); background:#c8201b; color:#fff; }
.video-featured-frame { overflow:hidden; border-radius:.75rem; background:#152132; box-shadow:0 1rem 2.4rem rgba(16,27,87,.16); aspect-ratio:16/9; }
.video-featured-frame iframe { display:block; width:100%; height:100%; border:0; }
.video-carousel { position:relative; display:flex; align-items:center; gap:.55rem; margin-top:.9rem; }
.video-thumbnail-row { display:flex; flex:1; gap:.8rem; overflow-x:auto; scroll-behavior:smooth; scrollbar-width:none; }
.video-thumbnail-row::-webkit-scrollbar { display:none; }
.video-thumbnail { position:relative; display:block; flex:0 0 calc((100% - 1.6rem) / 3); overflow:hidden; border-radius:.65rem; aspect-ratio:16/9; background:#1b2230; }
.video-thumbnail img { width:100%; height:100%; object-fit:cover; transition:transform .25s ease; }
.video-thumbnail::after { content:""; position:absolute; inset:0; background:rgba(6,10,25,.25); }
.video-thumbnail i { position:absolute; z-index:1; top:50%; left:50%; display:grid; width:2.5rem; height:2.5rem; place-items:center; border-radius:50%; background:#f12720; color:#fff; font-size:1.25rem; transform:translate(-50%,-50%); }
.video-thumbnail:hover img { transform:scale(1.06); }
.video-carousel-arrow { display:grid; width:2.4rem; height:2.4rem; flex:0 0 auto; place-items:center; border:0; border-radius:50%; background:#101b57; color:#fff; font-size:1.15rem; box-shadow:0 .45rem 1rem rgba(16,27,87,.18); transition:transform .2s ease,background .2s ease; }
.video-carousel-arrow:hover { background:#e92d25; transform:scale(1.06); }
@media (max-width:991.98px) { .video-showcase-layout { grid-template-columns:1fr; gap:2rem; }.video-showcase-copy { max-width:48rem; }.video-showcase-media { max-width:48rem; } }
@media (max-width:575.98px) { .video-showcase-copy h2 { font-size:2.45rem; }.video-subscribe-btn { width:100%; justify-content:center; }.video-thumbnail-row { gap:.5rem; }.video-thumbnail { flex-basis:78%; }.video-thumbnail i { width:2rem; height:2rem; font-size:1rem; }.video-carousel-arrow { width:2.1rem; height:2.1rem; font-size:1rem; } }

.share-story-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 38px;
    border-radius: 24px;
    background: #edf8f5;
}

    .share-story-box h2 {
        margin-bottom: 10px;
        color: #183b38;
        font-size: 32px;
        font-weight: 800;
    }

    .share-story-box p {
        max-width: 700px;
        margin: 0;
        color: #60736f;
        font-size: 17px;
        font-weight: 600;
        line-height: 1.7;
    }

.share-story-btn {
    flex-shrink: 0;
    border: 0;
}

.stories-disclaimer-section {
    padding: 0 0 65px;
    background: #fff;
}

.stories-disclaimer {
    max-width: 950px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin: 0 auto;
    padding: 23px 25px;
    border: 1px solid #d7e8e4;
    border-radius: 16px;
    background: #f9fcfb;
}

.stories-disclaimer-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 14px;
    background: #eaf6f3;
    color: #167d6b;
    font-size: 21px;
}

.stories-disclaimer h3 {
    margin-bottom: 5px;
    color: #183b38;
    font-size: 18px;
    font-weight: 800;
}

.stories-disclaimer p {
    margin: 0;
    color: #687d78;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.65;
}

@media (max-width:991.98px) {
    .stories-hero {
        min-height: 680px;
    }

    .stories-hero-overlay {
        background: linear-gradient(90deg,rgba(7,39,35,.84) 0%,rgba(7,39,35,.66) 60%,rgba(7,39,35,.28) 100%);
    }

    .stories-hero-content {
        max-width: 620px;
        padding: 60px 0;
    }

    .share-story-box {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width:767.98px) {
    .stories-hero {
        min-height: 560px;
    }

    .stories-hero-overlay {
        background: linear-gradient(90deg,rgba(7,39,35,.76) 0%,rgba(7,39,35,.60) 58%,rgba(7,39,35,.32) 100%);
    }

    .stories-hero-content {
        max-width: 100%;
        padding: 48px 0;
        text-align: left;
    }

    .stories-hero h1 {
        font-size: 40px;
    }

    .stories-hero-image {
        object-position: 58% center;
    }

    .stories-hero-actions,
    .stories-filter {
        justify-content: flex-start;
    }

    .stories-section-heading {
        text-align: left;
    }

    .featured-story-section,
    .parent-stories-section,
    .milestone-section,
    .video-stories-section {
        padding: 55px 0;
    }

    .featured-story-content h2 {
        font-size: 31px;
    }

    .share-story-box {
        padding: 28px 23px;
    }
}

@media (max-width:575.98px) {
    .stories-hero {
        min-height: 540px;
    }

        .stories-hero h1 {
            font-size: 34px;
        }

        .stories-hero p {
            font-size: 15px;
        }

    .stories-hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .stories-primary-btn,
    .stories-secondary-btn,
    .share-story-btn {
        width: auto;
    }

    .stories-hero .stories-primary-btn,
    .stories-hero .stories-secondary-btn {
        min-height: 38px;
        padding: 7px 14px;
        font-size: 13px;
    }

    .stories-hero-actions {
        flex-direction: row;
        align-items: center;
        gap: 8px;
    }

    .featured-story-visual {
        min-height: 340px;
        padding: 27px;
    }

        .featured-story-visual h2 {
            font-size: 27px;
        }

    .stories-disclaimer {
        padding: 19px;
    }
}



.stories-empty-message {
    width: 100%;
    padding: 45px 20px;
    text-align: center;
}

    .stories-empty-message i {
        display: block;
        margin-bottom: 12px;
        color: #167d6b;
        font-size: 42px;
    }

    .stories-empty-message h3 {
        margin-bottom: 8px;
        color: #183b38;
        font-size: 22px;
        font-weight: 800;
    }

    .stories-empty-message p {
        margin: 0;
        color: #637773;
        font-size: 16px;
        font-weight: 600;
    }



.video-channel-preview {
    position: relative;
    display: block;
    overflow: hidden;
    text-decoration: none;
}

    .video-channel-preview img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.video-channel-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: .75rem;
    background: rgba(0,0,0,.18);
    color: #fff;
}

.video-channel-play {
    display: grid;
    width: 64px;
    height: 64px;
    place-items: center;
    border-radius: 50%;
    background: #ff0033;
    font-size: 2rem;
}

.video-channel-overlay span {
    font-weight: 800;
}
