/*
=========================================================
CMS CENTENAIRE AKONO
ACTUALITE.CSS
---------------------------------------------------------
Page de lecture d'un article
Paroisse Notre-Dame des Sept Douleurs d'Akono
---------------------------------------------------------
Développé par :
Pancrace Consulting Group
=========================================================
*/


/*=========================================================
VARIABLES
=========================================================*/

:root {

    --article-bleu: #0F4C81;

    --article-vert: #2E7D32;

    --article-or: #D4AF37;

    --article-bg: #F8FAF8;

    --article-shadow: 0 20px 55px rgba(0, 0, 0, .10);

    --article-radius: 30px;

}


/*=========================================================
HERO
=========================================================*/

.article-hero {

    position: relative;

    min-height: 60vh;

    display: flex;

    justify-content: center;

    align-items: center;

    text-align: center;

    overflow: hidden;

    padding: 120px 20px;

    background:

        linear-gradient(rgba(15, 76, 129, .88),

            rgba(46, 125, 50, .82)),

        url("../images/eglise-akono.jpg");

    background-size: cover;

    background-position: center;

    background-attachment: fixed;

}


.hero-overlay {

    position: absolute;

    inset: 0;

    background:

        radial-gradient(transparent,

            rgba(0, 0, 0, .25));

}


.article-hero::before {

    content: "";

    position: absolute;

    width: 600px;

    height: 600px;

    border-radius: 50%;

    background: rgba(255, 255, 255, .05);

    right: -180px;

    top: -180px;

}


.article-hero::after {

    content: "";

    position: absolute;

    width: 420px;

    height: 420px;

    border-radius: 50%;

    background: rgba(212, 175, 55, .08);

    left: -120px;

    bottom: -120px;

}


.article-hero .hero-content {

    position: relative;

    z-index: 2;

    max-width: 1000px;

}


.hero-badge {

    display: inline-block;

    padding: 12px 30px;

    border-radius: 50px;

    background: rgba(255, 255, 255, .12);

    backdrop-filter: blur(12px);

    color: #FFF;

    font-weight: 600;

    margin-bottom: 30px;

}


.article-hero h1 {

    color: #FFF;

    font-size: 56px;

    line-height: 1.3;

    margin-bottom: 30px;

    text-shadow: 0 10px 30px rgba(0, 0, 0, .30);

}


.article-meta {

    display: flex;

    justify-content: center;

    flex-wrap: wrap;

    gap: 20px;

}


.article-meta span {

    display: flex;

    align-items: center;

    gap: 10px;

    padding: 12px 22px;

    border-radius: 50px;

    background: rgba(255, 255, 255, .12);

    color: #FFF;

    backdrop-filter: blur(10px);

}


.article-meta i {

    color: var(--article-or);

}


/*=========================================================
ARTICLE
=========================================================*/

.article-container {

    width: min(1400px, 92%);

    margin: 90px auto;

    display: grid;

    grid-template-columns: 2fr 380px;

    gap: 45px;

}


.article-main {

    background: #FFF;

    border-radius: var(--article-radius);

    overflow: hidden;

    box-shadow: var(--article-shadow);

}


.article-cover {

    width: 100%;

    height: 520px;

    overflow: hidden;

}


.article-cover img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition: .5s;

}


.article-cover:hover img {

    transform: scale(1.05);

}


.article-content {

    padding: 50px;

    font-size: 18px;

    line-height: 2.1;

    color: #444;

}


.article-content p {

    margin-bottom: 28px;

}


.article-content h2 {

    color: var(--article-bleu);

    margin: 40px 0 20px;

}


.article-content h3 {

    color: var(--article-vert);

    margin: 35px 0 18px;

}
/*=========================================================
SIDEBAR
=========================================================*/

.article-sidebar {

    display: flex;

    flex-direction: column;

    gap: 30px;

}


/*=========================================================
BOITES SIDEBAR
=========================================================*/

.sidebar-box {

    background: #FFF;

    border-radius: 30px;

    padding: 35px;

    box-shadow: var(--article-shadow);

    position: relative;

    overflow: hidden;

    transition: .35s;

}

.sidebar-box:hover {

    transform: translateY(-6px);

    box-shadow: 0 25px 60px rgba(0, 0, 0, .15);

}

.sidebar-box::before {

    content: "";

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 5px;

    background: linear-gradient(90deg,
            var(--article-bleu),
            var(--article-or));

}

.sidebar-box h3 {

    color: var(--article-bleu);

    margin-bottom: 30px;

    font-size: 24px;

}


/*=========================================================
INFORMATIONS
=========================================================*/

.info-item {

    display: flex;

    align-items: flex-start;

    gap: 18px;

    margin-bottom: 25px;

    padding-bottom: 20px;

    border-bottom: 1px solid #EEE;

}

.info-item:last-child {

    border-bottom: none;

    margin-bottom: 0;

    padding-bottom: 0;

}

.info-item i {

    width: 50px;

    height: 50px;

    display: flex;

    justify-content: center;

    align-items: center;

    border-radius: 50%;

    background: rgba(46, 125, 50, .10);

    color: var(--article-vert);

    font-size: 18px;

    flex-shrink: 0;

}

.info-item strong {

    display: block;

    color: var(--article-bleu);

    margin-bottom: 6px;

}

.info-item p {

    color: #666;

    margin: 0;

    line-height: 1.7;

}


/*=========================================================
PARTAGE
=========================================================*/

.share-buttons {

    display: flex;

    justify-content: center;

    flex-wrap: wrap;

    gap: 15px;

    margin-top: 15px;

}

.share {

    width: 60px;

    height: 60px;

    display: flex;

    justify-content: center;

    align-items: center;

    border-radius: 50%;

    color: #FFF;

    text-decoration: none;

    font-size: 22px;

    transition: .35s;

}

.share:hover {

    transform: translateY(-5px) scale(1.08);

}

.whatsapp {

    background: #25D366;

}

.facebook {

    background: #1877F2;

}

.twitter {

    background: #111;

}


/*=========================================================
BOUTON RETOUR
=========================================================*/

.sidebar-box .btn {

    width: 100%;

    text-align: center;

}


/*=========================================================
EFFETS
=========================================================*/

.sidebar-box {

    animation: fadeArticle .8s ease;

}

@keyframes fadeArticle {

    from {

        opacity: 0;

        transform: translateY(40px);

    }

    to {

        opacity: 1;

        transform: translateY(0);

    }

}


/*=========================================================
RESPONSIVE
=========================================================*/

@media(max-width:1100px) {

    .article-container {

        grid-template-columns: 1fr;

    }

}

@media(max-width:768px) {

    .sidebar-box {

        padding: 25px;

    }

    .info-item {

        gap: 15px;

    }

}
.galerie-grid {

    width: 100%;

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));

    gap: 30px;

    margin-top: 50px;

}

.galerie-item {

    background: #FFF;

    border-radius: 25px;

    overflow: hidden;

    box-shadow: var(--article-shadow);

    transition: .35s;

}

.galerie-item:hover {

    transform: translateY(-8px);

    box-shadow: 0 25px 60px rgba(0, 0, 0, .15);

}

.galerie-item img {

    width: 100%;

    height: 260px;

    object-fit: cover;

    display: block;

    transition: .5s;

}

.galerie-item:hover img {

    transform: scale(1.08);

}

.galerie-caption {

    padding: 18px;

    text-align: center;

    color: var(--article-bleu);

    font-weight: 600;

    font-size: 16px;

}


/*=========================================================
MEDIA GRID
=========================================================*/

.media-grid {

    width: 100%;

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));

    gap: 30px;

    margin-top: 50px;

}

.media-card {

    background: #FFF;

    border-radius: 25px;

    padding: 30px;

    box-shadow: var(--article-shadow);

    transition: .35s;

}

.media-card:hover {

    transform: translateY(-8px);

    box-shadow: 0 25px 60px rgba(0, 0, 0, .15);

}

.media-card h3 {

    color: var(--article-bleu);

    margin-bottom: 20px;

    font-size: 22px;

}


/*=========================================================
LECTEUR AUDIO
=========================================================*/

.media-card audio {

    width: 100%;

    border-radius: 12px;

}


/*=========================================================
VIDEO
=========================================================*/

.video-container {

    width: 100%;

    overflow: hidden;

    border-radius: 18px;

}

.video-container video {

    width: 100%;

    display: block;

    border-radius: 18px;

}


/*=========================================================
SECTION TITRES
=========================================================*/

.section-title {

    width: min(900px, 92%);

    margin: auto;

    margin-bottom: 60px;

    text-align: center;

}

.section-title h2 {

    font-size: 42px;

    color: var(--article-bleu);

    margin-bottom: 18px;

}

.section-title p {

    color: #666;

    line-height: 1.9;

}

.section-badge {

    display: inline-block;

    padding: 10px 24px;

    border-radius: 40px;

    background: rgba(46, 125, 50, .10);

    color: var(--article-vert);

    font-weight: 600;

    margin-bottom: 20px;

}


/*=========================================================
ANIMATION
=========================================================*/

.galerie-item,

.media-card {

    animation: fadeMedia .8s ease;

}

@keyframes fadeMedia {

    from {

        opacity: 0;

        transform: translateY(40px);

    }

    to {

        opacity: 1;

        transform: translateY(0);

    }

}


/*=========================================================
RESPONSIVE
=========================================================*/

@media(max-width:992px) {

    .media-grid {

        grid-template-columns: 1fr;

    }

}

@media(max-width:768px) {

    .galerie-grid {

        grid-template-columns: 1fr;

    }

    .media-card {

        padding: 22px;

    }

}
/*=========================================================
ARTICLES SIMILAIRES
=========================================================*/

.similar-grid {

    width: min(1400px, 92%);

    margin: 70px auto;

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));

    gap: 35px;

}

.similar-card {

    background: #FFF;

    border-radius: 30px;

    overflow: hidden;

    box-shadow: var(--article-shadow);

    transition: .35s;

}

.similar-card:hover {

    transform: translateY(-10px);

    box-shadow: 0 30px 70px rgba(0, 0, 0, .15);

}

.similar-card img {

    width: 100%;

    height: 240px;

    object-fit: cover;

    transition: .5s;

}

.similar-card:hover img {

    transform: scale(1.08);

}

.similar-content {

    padding: 28px;

}

.similar-content h3 {

    color: var(--article-bleu);

    font-size: 24px;

    margin-bottom: 18px;

    line-height: 1.5;

}

.similar-content p {

    color: #666;

    line-height: 1.8;

    margin-bottom: 25px;

}

.similar-content .btn {

    min-width: 180px;

}


/*=========================================================
NAVIGATION
=========================================================*/

.article-navigation {

    width: min(1400px, 92%);

    margin: 80px auto;

    display: flex;

    justify-content: space-between;

    gap: 30px;

}

.nav-article {

    flex: 1;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    background: #FFF;

    padding: 30px;

    border-radius: 25px;

    text-decoration: none;

    color: #333;

    box-shadow: var(--article-shadow);

    transition: .35s;

}

.nav-article:hover {

    transform: translateY(-6px);

}

.nav-article h4 {

    color: var(--article-bleu);

    margin-top: 8px;

    line-height: 1.5;

}

.nav-article small {

    color: #888;

}

.nav-article i {

    font-size: 28px;

    color: var(--article-or);

}


/*=========================================================
CALL TO ACTION
=========================================================*/

.don-section {

    position: relative;

    overflow: hidden;

    padding: 120px 20px;

    background: linear-gradient(135deg,
            var(--article-bleu),
            var(--article-vert));

}

.don-section::before {

    content: "";

    position: absolute;

    width: 600px;

    height: 600px;

    border-radius: 50%;

    background: rgba(255, 255, 255, .05);

    top: -220px;

    right: -220px;

}

.don-card {

    position: relative;

    z-index: 2;

    width: min(1000px, 92%);

    margin: auto;

    text-align: center;

}

.don-card h2 {

    color: #FFF;

    font-size: 48px;

    margin: 25px 0;

    line-height: 1.4;

}

.don-card p {

    color: #F5F5F5;

    line-height: 2;

    font-size: 18px;

    max-width: 760px;

    margin: auto;

}

.hero-buttons {

    display: flex;

    justify-content: center;

    flex-wrap: wrap;

    gap: 20px;

    margin-top: 45px;

}

.hero-buttons .btn,

.hero-buttons .btn-or,

.hero-buttons .btn-vert {

    min-width: 220px;

}


/*=========================================================
ANIMATIONS
=========================================================*/

.similar-card,

.nav-article,

.don-card {

    animation: fadeArticle .8s ease;

}


/*=========================================================
RESPONSIVE
=========================================================*/

@media(max-width:992px) {

    .article-navigation {

        flex-direction: column;

    }

}

@media(max-width:768px) {

    .article-hero h1 {

        font-size: 38px;

    }

    .article-meta {

        flex-direction: column;

        align-items: center;

    }

    .article-cover {

        height: 320px;

    }

    .article-content {

        padding: 30px;

        font-size: 17px;

    }

    .don-card h2 {

        font-size: 34px;

    }

}

@media(max-width:576px) {

    .hero-buttons {

        flex-direction: column;

    }

    .hero-buttons .btn,

    .hero-buttons .btn-or,

    .hero-buttons .btn-vert {

        width: 100%;

    }

}
