/*
=========================================================
ACTUALITÉS - PREFECTURE DE KINDIA
=========================================================
*/

:root{

    --pk-green:#0A6B35;
    --pk-gold:#C89B2C;
    --pk-dark:#222;
    --pk-grey:#777;
    --pk-border:#E6E6E6;
    --pk-bg:#F8F9FA;

}

/*==================================
Container
==================================*/

.pk-news-wrapper{

    width:100%;

    margin:40px auto;

}

/*==================================
Bloc catégorie
==================================*/

.pk-section{

    margin-bottom:70px;

}

/*==================================
Entête catégorie
==================================*/

.pk-section-header{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:25px;

    border-bottom:3px solid var(--pk-green);

    padding-bottom:12px;

}

.pk-section-header h2{

    margin:0;

    font-size:20px;

    color:var(--pk-green);

    font-weight:900;

    text-transform:uppercase;

}

.pk-view-all{

    color:var(--pk-green);

    text-decoration:none;

    font-weight:800;

    transition:.3s;

}

.pk-view-all:hover{

    color:var(--pk-gold);

}

/*==================================
Disposition
==================================*/

.pk-layout{

    display:grid;

    grid-template-columns:1.3fr 1fr;

    gap:18px;

}

/*==================================
Article principal
==================================*/

.pk-featured{

    background:#fff;

    border-radius:8px;

    overflow:hidden;

    box-shadow:0 8px 24px rgba(0,0,0,.08);

    transition:.35s;

}

.pk-featured:hover{

    transform:translateY(-6px);

    box-shadow:0 16px 38px rgba(0,0,0,.15);

}

.pk-featured-image{

    position:relative;

    display:block;

    overflow:hidden;

}

.pk-featured-image img{

    width:100%;

    height:200px;

    object-fit:cover;

    transition:.5s;

}

.pk-featured:hover img{

    transform:scale(1.06);

}

.pk-badge{

    position:absolute;

    top:13px;

    left:13px;

    background:var(--pk-gold);

    color:#fff;

    padding:5px 15px;

    border-radius:30px;

    font-size:13px;

    font-weight:700;

    text-transform:uppercase;

}

.pk-featured-content{

    padding:18px;

}

.pk-meta{

    margin-bottom:15px;

    font-size:14px;

    color:var(--pk-grey);

}

.pk-author{

    margin-left:18px;

}

.pk-featured-title{

    font-size:20px;

    line-height:1.3;

}

.pk-featured-title a{

    color:var(--pk-dark);

    text-decoration:none;

}

.pk-featured-title a:hover{

    color:var(--pk-green);

}

.pk-featured-excerpt{

    font-size:14px;

    line-height:1.5;

    color:#555;

    margin-bottom:18px;

}

/*==================================
Bouton
==================================*/

.pk-btn{

    display:inline-block;

    padding:14px 28px;

    background:var(--pk-green);

    color:#fff !important;

    border-radius:6px;

    text-decoration:none;

    font-weight:700;

    transition:.3s;

}

.pk-btn:hover{

    background:var(--pk-gold);

}

/*==================================
Colonne droite
==================================*/

.pk-secondary-news{

    display:flex;

    flex-direction:column;

    gap:20px;

}

.pk-small-card{

    display:flex;

    background:#fff;

    border-radius:10px;

    overflow:hidden;

    box-shadow:0 6px 18px rgba(0,0,0,.08);

    transition:.3s;

}

.pk-small-card:hover{

    transform:translateX(5px);

}

.pk-small-image{

    width:140px;

    flex-shrink:0;

}

.pk-small-image img{

    width:100%;

    height:100%;

    object-fit:cover;

}

.pk-small-content{

    padding:18px;

    display:flex;

    flex-direction:column;

    justify-content:center;

}

.pk-small-date{

    font-size:13px;

    color:#888;

    margin-bottom:8px;

}

.pk-small-title{

    margin:0;

    font-size:17px;

    line-height:1.45;

}

.pk-small-title a{

    color:#222;

    text-decoration:none;

}

.pk-small-title a:hover{

    color:var(--pk-green);

}

.pk-small-link{

    margin-top:12px;

    color:var(--pk-green);

    text-decoration:none;

    font-weight:700;

}

.pk-small-link:hover{

    color:var(--pk-gold);

}

/*==================================
Bas de catégorie
==================================*/

.pk-section-footer{

    margin-top:25px;

    text-align:right;

}

.pk-more-btn{

    color:var(--pk-green);

    font-weight:700;

    text-decoration:none;

    font-size:16px;

}

.pk-more-btn:hover{

    color:var(--pk-gold);

}

/*==================================
Responsive
==================================*/

@media(max-width:1100px){

.pk-layout{

grid-template-columns:1fr;

}

.pk-featured-image img{

height:340px;

}

}

@media(max-width:768px){

.pk-section-header{

flex-direction:column;

align-items:flex-start;

gap:12px;

}

.pk-featured-title{

font-size:26px;

}

.pk-small-card{

flex-direction:column;

}

.pk-small-image{

width:100%;

height:220px;

}

}
/*==================================================
ANIMATIONS
==================================================*/

.pk-featured,
.pk-small-card{

opacity:0;

transform:translateY(40px);

}

.pk-show{

opacity:1;

transform:translateY(0);

transition:

opacity .8s ease,

transform .8s ease;

}
/*==================================================
A LA UNE
==================================================*/

.pk-breaking-news{
    margin:30px 0 50px;
}

.pk-breaking-title{
    font-size:18px;
    font-weight:900!important;
    color:#0A6B35;
    border-left:6px solid #C89B2C;
    padding-left:15px;
    margin-bottom:20px;
    text-transform:uppercase;
}

.pk-breaking-card{
    display:grid;
    grid-template-columns:45% 55%;
    background:#fff;
    border-radius:12px;
    overflow:hidden;
    box-shadow:0 10px 30px rgba(0,0,0,.10);
}

.pk-breaking-image img{
    width:100%;
    height:320px;
    object-fit:cover;
    display:block;
}

.pk-breaking-content{
    padding:25px;
    display:flex;
    flex-direction:column;
    justify-content:center;
}

.pk-breaking-category{
    display:inline-block;
    background:#C89B2C;
    color:#fff;
    padding:6px 14px;
    border-radius:20px;
    font-size:13px;
    font-weight:800!important;
    margin-bottom:15px;
}

.pk-breaking-content h2{
    margin:0 0 15px;
    font-size:20px !important;
    line-height:1.1;
}

.pk-breaking-content h2 a{
    color:#222;
    text-decoration:none;
}

.pk-breaking-content h2 a:hover{
    color:#0A6B35;
}

.pk-breaking-content p{
    font-size:16px;
    line-height:1.4;
    color:#555;
    margin-bottom:20px;
}

@media(max-width:980px){

    .pk-breaking-card{
        grid-template-columns:1fr;
    }

    .pk-breaking-image img{
        height:260px;
    }

}