*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}


body{

    font-family:Arial, sans-serif;
    background:#f6f6f6;
    color:#333;
    line-height:1.7;

}



/* =========================
   HERO
========================= */


.hero{

    height:350px;

    background:
    linear-gradient(
        rgba(103,3,47,.85),
        rgba(103,3,47,.85)
    ),
    url('../../img/resources.jpg');

    background-size:cover;
    background-position:center;

    display:flex;
    align-items:center;
    justify-content:center;

    text-align:center;

    color:white;

}



.hero-content h1{

    font-size:45px;
    margin-bottom:10px;

}



.hero-content p{

    font-size:18px;
    opacity:.9;

}



/* =========================
   CONTAINER
========================= */


.container{

    width:95%;
    max-width:1300px;

    margin:50px auto;

}



.layout{

    display:grid;

    grid-template-columns:
    3fr 1fr;

    gap:30px;

    align-items:start;

}



/* =========================
   IMAGE CARD
========================= */


.image-card{

    background:white;

    border-radius:20px;

    overflow:hidden;

    box-shadow:
    0 10px 30px rgba(0,0,0,.08);

    animation:fadeUp .8s ease;

}



.image-card img{

    width:100%;

    max-height:650px;

    object-fit:cover;

    display:block;

    transform:scale(1.05);

    opacity:0;

    transition:1s ease;

}



.image-card img.show{

    transform:scale(1);

    opacity:1;

}




.details{

    padding:35px;

}



.details h2{

    color:#67032F;

    font-size:32px;

    margin-bottom:15px;

}



.date{

    color:#777;

    font-size:14px;

    margin-bottom:20px;

}



.details p{

    color:#555;

    font-size:17px;

}



/* =========================
 BUTTON
========================= */


.back-btn{

    display:inline-block;

    margin-top:25px;

    background:#67032F;

    color:white;

    padding:12px 25px;

    border-radius:30px;

    text-decoration:none;

    font-weight:bold;

    transition:.3s;

}


.back-btn:hover{

    background:#000;

    transform:translateY(-3px);

}



/* =========================
 RELATED
========================= */


.related{

    margin-top:50px;

}



.related h2{

    color:#67032F;

    margin-bottom:25px;

    font-size:28px;

}



.related-grid{

    display:grid;

    grid-template-columns:
    repeat(3,1fr);

    gap:20px;

}



.related-grid a{

    overflow:hidden;

    border-radius:15px;

    display:block;

}



.related-grid img{

    width:100%;

    height:220px;

    object-fit:cover;

    transition:.4s;

}



.related-grid img:hover{

    transform:scale(1.08);

}



/* =========================
 SIDEBAR
========================= */


.sidebar{

    position:sticky;

    top:20px;

}



.sidebar-card{

    background:white;

    padding:25px;

    border-radius:18px;

    margin-bottom:25px;

    box-shadow:
    0 5px 20px rgba(0,0,0,.07);

}



.sidebar-card h3{

    color:#67032F;

    margin-bottom:15px;

    font-size:22px;

}



.sidebar-card a{

    display:block;

    padding:12px 0;

    border-bottom:1px solid #eee;

    text-decoration:none;

    color:#333;

    transition:.3s;

}



.sidebar-card a:hover{

    color:#67032F;

    padding-left:8px;

}



/* =========================
 DONATE
========================= */


.donate{

    background:#67032F;

    color:white;

}



.donate h3{

    color:white;

}



.donate p{

    color:white;

}



.donate a{

    margin-top:15px;

    background:white;

    color:#67032F;

    text-align:center;

    padding:12px;

    border-radius:30px;

    font-weight:bold;

}



.donate a:hover{

    background:#000;

    color:white;

}





/* =========================
 ANIMATION
========================= */


@keyframes fadeUp{


from{

    opacity:0;

    transform:translateY(40px);

}


to{

    opacity:1;

    transform:translateY(0);

}


}





/* =========================
 MOBILE
========================= */


@media(max-width:950px){


.layout{

    grid-template-columns:1fr;

}



.sidebar{

    position:static;

}



.related-grid{

    grid-template-columns:
    repeat(2,1fr);

}



}



@media(max-width:600px){


.hero{

    height:260px;

}



.hero-content h1{

    font-size:32px;

}



.details{

    padding:25px;

}



.details h2{

    font-size:25px;

}



.related-grid{

    grid-template-columns:1fr;

}


}