/* =========================
   STORIES SECTION
========================= */

.storiess-section{
    padding: 100px 8%;
    overflow:hidden;
}

.storiess-header{
    text-align:center;
    max-width:700px;
    margin:auto;
    margin-bottom:70px;
}

.storiess-tag{
    color:#ff7f11;
    font-weight:700;
    letter-spacing:2px;
    display:block;
    margin-bottom:12px;
}

.storiess-header h2{
    font-size:48px;
    color:#1a1a1a;
    margin-bottom:15px;
}

.storiess-header p{
    color:#666;
    line-height:1.8;
}

.storiess-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(min(100%, 320px),1fr));
    gap:35px;
    align-items:stretch;
}

.storys-card{
    background:#fff;
    border-radius:25px;
    overflow:hidden;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    display:flex;
    flex-direction:column;
    height:100%;
    opacity:0;
    transform:translateY(80px) scale(.9);
    filter:blur(10px);
    transition:
    opacity 1s ease,
    transform 1s ease,
    filter 1s ease,
    box-shadow .4s ease;
}

.storys-card.show{
    opacity:1;
    transform:translateY(0) scale(1);
    filter:blur(0);
}

.storys-card:hover{
    transform:translateY(-12px);
    box-shadow:0 25px 60px rgba(0,0,0,.15);
}

.storys-image{
    position:relative;
    overflow:hidden;
    height:260px;
}

.storys-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:.7s ease;
}

.storys-card:hover img{
    transform:scale(1.1);
}

.storys-image::after{
    content:'';
    position:absolute;
    inset:0;
    background:linear-gradient(
        to top,
        rgba(0,0,0,.65),
        transparent
    );
}


.storys-content{
    padding:28px;
    display:flex;
    flex-direction:column;
    flex:1;
}


.storys-date{
    color:#ff7f11;
    font-size:14px;
    font-weight:600;
    margin-bottom:12px;
}

.storys-content h3{
    font-size:24px;
    color:#1a1a1a;
    margin-bottom:15px;
    line-height:1.4;
}

.storys-content p{
    color:#666;
    line-height:1.8;
    margin-bottom:25px;
    flex-grow:1;
}
.reads-btn{
    display:inline-flex;
    align-items:center;
    gap:10px;
    color:#ff7f11;
    text-decoration:none;
    font-weight:600;
    margin-top:auto;
}

.second-row{
    padding-top:0;
}

.reads-btn span{
    transition:.3s;
}

.reads-btn:hover span{
    transform:translateX(8px);
}

.reads-btn:hover{
    color:#005a24;
}

/* =========================
   HEADER ANIMATION
========================= */

.storiess-tag,
.storiess-header h2,
.storiess-header p{
    opacity:0;
}

.storiess-header.show .storiess-tag{
    animation:fadeUp .8s ease forwards;
}

.storiess-header.show h2{
    animation:fadeUp .8s ease .2s forwards;
}

.storiess-header.show p{
    animation:fadeUp .8s ease .4s forwards;
}

@keyframes fadeUp{
    from{
        opacity:0;
        transform:translateY(40px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}

/* Card Delay */

.storys-card:nth-child(1){transition-delay:.1s;}
.storys-card:nth-child(2){transition-delay:.3s;}
.storys-card:nth-child(3){transition-delay:.5s;}
.storys-card:nth-child(4){transition-delay:.7s;}
.storys-card:nth-child(5){transition-delay:.9s;}
.storys-card:nth-child(6){transition-delay:1.1s;}

/* =========================
   MOBILE
========================= */

@media(max-width:768px){

    .storiess-header h2{
        font-size:36px;
    }

    .storys-content h3{
        font-size:22px;
    }

}



/* =========================
   STORIES PAGE
========================= */

.people-section{
    padding:100px 8%;
}

.person-row{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:50px;
    margin-bottom:120px;
}

.person-image{
    flex:10p;
    display:flex;
    justify-content:center;
    opacity:0;
    transform:translateX(80px);
    transition:1s ease;
}

.person-image.show{
    opacity:1;
    transform:translateX(0);
}

.blob{
    width:300px;
    height:400px;
    position:relative;
    overflow:hidden;
    border-radius:30px;
    background:#fff;
    box-shadow:0 25px 60px rgba(0,0,0,.12);
    transition:all .5s ease;
}

.blob::before{
    content:"";
    position:absolute;
    top:20px;
    left:20px;
    width:100%;
    height:100%;
    border:4px solid #ff7f11;
    border-radius:30px;
    z-index:-1;
    transition:.5s;
}

.blob:hover{
    transform:translateY(-12px);
    box-shadow:0 35px 80px rgba(0,0,0,.18);
}

.blob:hover::before{
    top:12px;
    left:12px;
}

.blob img{
    width:100%;
    height:100%;
    object-fit:cover;
    transform:scale(1.15);
    transition:1.2s ease;
}

.person-image.show .blob img{
    transform:scale(1);
}

.blob:hover img{
    transform:scale(1.08);
}

/* =========================
   CONTENT
========================= */

.person-content{
    flex:1;
    opacity:0;
    transform:translateX(-80px);
    transition:1s ease;
}

.person-content.show{
    opacity:1;
    transform:translateX(0);
}

.person-tag{
    display:inline-block;
    background:#ff7f11;
    color:#fff;
    font-size:16px;
    font-weight:700;
    padding:10px 20px;
    border-radius:8px;
    margin-bottom:20px;
}

.person-content h2{
    font-size:48px;
    line-height:1.2;
    color:#0c2c6a;
    margin-bottom:25px;
}

.person-content p{
    color:#666;
    font-size:17px;
    line-height:1.9;
    margin-bottom:25px;
}

/* =========================
   BACK BUTTON
========================= */

.story-btn-wrap{
    display:flex;
    justify-content:flex-end;
    margin-top:30px;

    opacity:0;
    transform:translateY(50px);
    transition:1s ease;
}

.story-btn-wrap.show{
    opacity:1;
    transform:translateY(0);
}

.back-story-btn{
    display:inline-flex;
    align-items:center;
    gap:10px;
    padding:14px 30px;
    background:#ff7f11;
    color:#fff;
    text-decoration:none;
    font-weight:600;
    border-radius:50px;
    transition:.4s ease;
    box-shadow:0 10px 25px rgba(255,127,17,.25);
}

.back-story-btn:hover{
    background:#005a24;
    transform:translateY(-3px);
    box-shadow:0 15px 35px rgba(0,90,36,.25);
}

/* =========================
   RESPONSIVE
========================= */

@media(max-width:991px){

    .person-row,
    .person-row.reverse{
        flex-direction:column;
        gap:50px;
    }

    .person-content h2{
        font-size:34px;
    }

    .blob{
        width:100%;
        max-width:450px;
        height:550px;
    }
}

@media(max-width:576px){

    .people-section{
        padding:70px 5%;
    }

    .person-content h2{
        font-size:28px;
    }

    .blob{
        height:350px;
        border-radius:20px;
    }

    .blob::before{
        display:none;
    }

    .story-btn-wrap{
        justify-content:center;
    }
}