/* ===========================
   RESET
=========================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{

    font-family:Inter,Arial,sans-serif;

    background:#eef2f7;

    color:#222;

    line-height:1.7;

}

/* ===========================
   LINKS
=========================== */

a{

    color:#1f5fbf;

    text-decoration:none;

}

a:hover{

    text-decoration:underline;

}

/* ===========================
   WRAPPER
=========================== */

.wrap{

    max-width:1600px;

    margin:auto;

    padding:25px;

}

/* ===========================
   HEADER
=========================== */

.site-header{

    background:white;

    padding:25px;

    box-shadow:0 2px 10px rgba(0,0,0,.08);

}

.site-header img{

    display:block;

    margin:auto;

    max-width:340px;

    width:100%;

    height:auto;

}

/* ===========================
   LAYOUT
=========================== */

.layout{
    display:grid;
    grid-template-columns:280px minmax(0, 1fr) 320px;
    grid-template-areas:
        "left main right";
    gap:25px;
    margin-top:25px;
}

.sidebar{
    grid-area:left;
}
.right-sidebar{
    grid-area:right;
}
.content{
    grid-area:main;
}



/* ===========================
   CARD
=========================== */

.card{

    background:white;

    border-radius:14px;

    padding:18px;

    box-shadow:0 2px 10px rgba(0,0,0,.08);

    margin-bottom:20px;

}

/* ===========================
   SIDEBARS
=========================== */

.sidebar,
.right-sidebar{

    display:flex;
    flex-direction:column;
    gap:20px;

}

/* ===========================
   CONTENT
=========================== */

.content{

     grid-area:main;
    display:flex;
    flex-direction:column;
    gap:25px;
    min-width:0;
    max-width:100%;

}
.reading-card,
.prayer-card,
.box-one{

    background:#ffffff;

    border-radius:16px;

    padding:22px;

    box-shadow:0 5px 18px rgba(0,0,0,.08);

}

.reading-title{

    font-size:28px;

    color:#1b4f9a;

    margin-bottom:18px;

    border-bottom:2px solid #e8edf4;

    padding-bottom:10px;

}

.reading-block{

    font-size:18px;

    line-height:1.9;

}

.reading-block p{

    margin-bottom:18px;

}

.prayer-title{

    color:#c0392b;

    font-size:24px;

    margin-bottom:15px;

}
.box-one h2{

    color:#9b1c1c;

    font-size:22px;

    margin-bottom:10px;

}

.box-one img{

    width:100%;

    border-radius:10px;

    margin:12px 0;

}
hr{

    border:none;

    height:1px;

    background:#e5e5e5;

    margin:20px 0;

}

/* ===================================================
   HEADER
=================================================== */

.site-header{

    position:relative;

    min-height:430px;

    display:flex;

    align-items:center;

    justify-content:center;

    overflow:hidden;

    background-image:
        linear-gradient(
            rgba(5,35,80,.70),
            rgba(20,70,150,.55)
        ),
        url("/img/header-bg.webp");

    background-size:cover;

    background-position:center center;

    background-repeat:no-repeat;

    box-shadow:0 8px 30px rgba(0,0,0,.18);

}

/* Dark overlay */

.header-overlay{

    width:100%;

    max-width:1200px;

    text-align:center;

    color:white;

    padding:70px 30px;

}

/* Logo */

.logo{

    width:120px;

    height:auto;

    margin-bottom:25px;

    filter:
        drop-shadow(0 3px 8px rgba(0,0,0,.45));

}

/* Site title */

.site-header h1{

    font-size:56px;

    font-weight:800;

    letter-spacing:2px;

    margin-bottom:18px;

    text-shadow:
        0 3px 10px rgba(0,0,0,.45);

}

/* Subtitle */

.subtitle{

    font-size:24px;

    font-weight:500;

    max-width:900px;

    margin:auto;

    line-height:1.7;

    opacity:.97;

}

/* Bible verse */

.verse{

    margin-top:35px;

    font-size:22px;

    font-style:italic;

    color:#ffe7a8;

}

.verse span{

    display:block;

    margin-top:8px;

    font-size:18px;

    color:white;

    opacity:.9;

}

/* HEADER IMAGE */

.hero{

    height:280px;

    background:
        linear-gradient(rgba(5,35,80,.35),
                        rgba(5,35,80,.35)),
        url("/img/header-bg.webp");

    background-size:cover;

    background-position:center;

}

/* WHITE BANNER */

.top-banner{

    background:white;

    box-shadow:0 3px 15px rgba(0,0,0,.12);

    padding:20px 30px;

    margin-bottom:30px;

}

/* LOGO + TITLE */

.brand{

    display:flex;

    align-items:center;

    gap:20px;

    justify-content:center;

    margin-bottom:20px;

}

.logo{

    width:80px;

    height:auto;

}

.brand h1{

    font-size:40px;

    color:#184b96;

    margin:0;

}

.brand p{

    margin-top:5px;

    color:#666;

}

.img-holder{
    max-width:100%;
    width:100%;
    overflow:hidden;
}

.img-holder img{
    display:block;
    max-width:100%;
    height:auto;
}

/* MENU */

.tabs{

    display:flex;

    justify-content:center;

    flex-wrap:wrap;

    gap:12px;

}

.tab{

    padding:12px 22px;

    border-radius:30px;

    background:#eef3fb;

    color:#184b96;

    font-weight:600;

    transition:.25s;

}

.tab:hover{

    background:#184b96;

    color:white;

}

.tab.active{

    background:#184b96;

    color:white;

}

.top-banner{
    position:relative;
    margin:-30px auto 30px;
    max-width:1400px;
    border-radius:18px;
}
/* ===========================
   Footer
=========================== */

.site-footer{
    margin-top:40px;
    background:#163b73;
    color:#ffffff;
    padding:35px 20px;
    border-top:4px solid #d4af37;
}

.site-footer .inner{
    max-width:1200px;
    margin:0 auto;
    text-align:center;
}

.site-footer p{
    margin:8px 0;
    line-height:1.7;
    font-size:15px;
}

.site-footer a{
    color:#ffd966;
    text-decoration:none;
    font-weight:600;
    transition:color .25s;
}

.site-footer a:hover{
    color:#ffffff;
    text-decoration:underline;
}

/* Copyright */
.site-footer p:last-child{
    margin-top:18px;
    padding-top:15px;
    border-top:1px solid rgba(255,255,255,.2);
    font-size:14px;
    color:#d7d7d7;
}
.page-container{
    max-width:900px;
    margin:40px auto;
    padding:0 20px;
}

.article-card{
    background:#fff;
    border-radius:14px;
    padding:35px;
    box-shadow:0 8px 25px rgba(0,0,0,.08);
}

.article-card h1{
    color:#173f7a;
    margin-bottom:20px;
}

.article-card h2{
    margin-top:35px;
    color:#173f7a;
}

.lead{
    font-size:20px;
    line-height:1.8;
    color:#444;
}

.prayer-box{
    margin:30px 0;
    background:#f8f9fc;
    border-left:5px solid #d4af37;
    padding:30px;
    border-radius:10px;
    font-size:20px;
    line-height:2;
}

.article-card ul{
    padding-left:22px;
}

.article-card li{
    margin:10px 0;
}
/* Prayer page image */
.article-image{
    display:block;
    width:100%;
    max-width:350px;
    height:auto;
    margin:25px auto 35px;
    border-radius:12px;
    border:4px solid #ffffff;
    box-shadow:0 8px 20px rgba(0,0,0,.15);
    transition:transform .3s ease, box-shadow .3s ease;
}

.article-image:hover{
    transform:scale(1.03);
    box-shadow:0 12px 28px rgba(0,0,0,.22);
}
.main-nav{
    background:#173f7a;
    display:flex;
    justify-content:center;
    align-items:center;
    flex-wrap:wrap;
    gap:8px;
    padding:12px 20px;
}

.main-nav a{
    color:#fff;
    text-decoration:none;
    font-weight:600;
    padding:10px 16px;
    border-radius:6px;
    transition:.3s;
}

.main-nav a:hover{
    background:#fff;
    color:#173f7a;
}
@media (max-width:768px){

.main-nav{
    justify-content:flex-start;
    overflow-x:auto;
    flex-wrap:nowrap;
    -webkit-overflow-scrolling:touch;
}

.main-nav a{
    white-space:nowrap;
    flex:0 0 auto;
}

}


/* Responsive */

@media(max-width:900px){

.site-header{

    min-height:340px;

}

.logo{

    width:90px;

}

.site-header h1{

    font-size:38px;

}

.subtitle{

    font-size:19px;

}

.verse{

    font-size:18px;

}

}
/* Tablet and mobile */
@media (max-width:992px){

    .layout{
        grid-template-columns:1fr;
        grid-template-areas:
            "main"
            "left"
            "right";
        gap:20px;
    }

}

/* =====================================
   PRAYER ARTICLE WITH EXPLORER SIDEBAR
===================================== */

.page-with-sidebar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 25px;
    max-width: 1250px;
    width: 100%;
    align-items: start;
}

.page-with-sidebar > .article-card {
    min-width: 0;
}

.page-with-sidebar > .sidebar-box {
    min-width: 0;
    background: #ffffff;
    border-radius: 14px;
    padding: 22px;
    box-shadow: 0 8px 25px rgba(0,0,0,.08);
}

.sidebar-box h3 {
    color: #173f7a;
    font-size: 20px;
    margin-bottom: 18px;
}

.sidebar-section {
    border-top: 1px solid #e5eaf1;
    padding: 16px 0;
}

.sidebar-section h4 {
    color: #173f7a;
    font-size: 16px;
    margin-bottom: 9px;
}

.prayer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.prayer-list li {
    margin: 7px 0;
}

.prayer-list a {
    display: block;
    color: #40536b;
    padding: 4px 7px;
    border-radius: 6px;
    transition: background .2s, color .2s;
}

.prayer-list a:hover {
    background: #eef4fc;
    color: #173f7a;
    text-decoration: none;
}

.prayer-list a strong {
    color: #173f7a;
}

@media (max-width: 992px) {
    .page-with-sidebar {
        grid-template-columns: minmax(0, 1fr);
    }

    .page-with-sidebar > .sidebar-box {
        width: 100%;
    }
}


/* =========================================
   THREE-COLUMN PRAYER PAGE LAYOUT
========================================= */

.page-container.page-with-sidebar {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr) 290px;
    grid-template-areas: "left main right";
    gap: 22px;
    width: 100%;
    max-width: 1500px;
    margin: 40px auto;
    padding: 0 20px;
    align-items: start;
}

.page-with-sidebar > .sidebar {
    grid-area: left;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.page-with-sidebar > .article-card {
    grid-area: main;
    min-width: 0;
}

.page-with-sidebar > .sidebar-box {
    grid-area: right;
    min-width: 0;
    background: #ffffff;
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,.08);
}

.page-with-sidebar > .sidebar .prayer-card,
.page-with-sidebar > .sidebar .box-one {
    width: 100%;
    max-width: none;
    margin: 0;
}

@media (max-width: 1100px) {
    .page-container.page-with-sidebar {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas:
            "main"
            "left"
            "right";
    }
}

@media (max-width: 600px) {
    .page-container.page-with-sidebar {
        padding: 0 12px;
        gap: 16px;
    }

    .page-with-sidebar > .article-card {
        padding: 20px;
    }
}


/* =========================================
   PRIERES DU JOUR PURPLE GOLD THEME
   Shared prayer pages
========================================= */

:root {
    --pdj-purple: #4b0875;
    --pdj-purple-dark: #270044;
    --pdj-purple-light: #7c2399;
    --pdj-gold: #d69b19;
    --pdj-gold-light: #f7df9c;
    --pdj-cream: #fff8eb;
    --pdj-bg: #f7f5fb;
    --pdj-text: #17132d;
}

body {
    font-family: Georgia, "Times New Roman", serif;
    background: var(--pdj-bg);
    color: var(--pdj-text);
}

/* Branding banner */

.top-banner {
    max-width: none;
    margin: 0;
    padding: 20px;
    border-radius: 0;
    background: linear-gradient(120deg, #fff8eb, #ffffff 48%, #f5eaff);
    border-bottom: 3px solid var(--pdj-gold);
    box-shadow: 0 3px 15px rgba(43, 0, 65, .12);
}

.brand {
    justify-content: center;
    align-items: center;
    gap: 0;
    margin: 0;
}

.brand > a {
    display: none;
}

.brand-text {
    text-align: center;
}

.brand-text h1 {
    color: var(--pdj-purple);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(34px, 5vw, 58px);
    font-weight: bold;
    margin: 0;
    letter-spacing: -1px;
}

.brand-text p {
    color: #715b78;
    font-size: 16px;
    margin: 5px 0 0;
}

/* Purple navigation */

.main-nav {
    background: linear-gradient(90deg, var(--pdj-purple-dark), var(--pdj-purple), #65128a);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
    padding: 10px 15px;
    border-bottom: 3px solid var(--pdj-gold);
    box-shadow: 0 4px 12px rgba(43, 0, 65, .18);
}

.main-nav a {
    color: #fff;
    padding: 11px 15px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    transition: background .2s, color .2s;
}

.main-nav a:hover {
    background: rgba(255,255,255,.15);
    color: var(--pdj-gold-light);
    text-decoration: none;
}

/* Main background and spacing */

.wrap {
    max-width: 1600px;
    padding: 25px;
}

.page-container.page-with-sidebar {
    max-width: 1500px;
    grid-template-columns: 260px minmax(0, 1fr) 290px;
    gap: 22px;
    margin: 28px auto;
}

/* Article card */

.article-card {
    background: #fff;
    border: 1px solid #eee3f3;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 8px 28px rgba(48, 12, 65, .09);
}

.article-card h1 {
    color: var(--pdj-purple);
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.25;
}

.article-card h2,
.sidebar-box h3,
.sidebar-section h4 {
    color: var(--pdj-purple);
}

.lead {
    color: #292238;
    font-size: 19px;
}

.article-image {
    width: 100%;
    max-width: 100%;
    max-height: 380px;
    object-fit: cover;
    border: 0;
    border-radius: 15px;
    box-shadow: 0 5px 18px rgba(48, 12, 65, .12);
}

.prayer-box {
    background: linear-gradient(135deg, #fff8eb, #fffdf8);
    border: 1px solid var(--pdj-gold);
    border-left: 5px solid var(--pdj-gold);
    border-radius: 16px;
    color: #30203c;
}

/* Left sidebar */

.page-with-sidebar > .sidebar .prayer-card,
.page-with-sidebar > .sidebar .box-one {
    background: #fff;
    border: 1px solid #eee3f3;
    border-radius: 17px;
    padding: 18px;
    box-shadow: 0 5px 18px rgba(48, 12, 65, .09);
}

.prayer-title,
.box-one h2 {
    color: var(--pdj-purple);
}

.box-one img {
    border-radius: 12px;
}

/* Right sidebar */

.page-with-sidebar > .sidebar-box {
    background: #fff;
    border: 1px solid #eee3f3;
    border-radius: 18px;
    padding: 20px;
    box-shadow: 0 5px 18px rgba(48, 12, 65, .09);
}

.sidebar-section {
    border-color: #eee3f3;
}

.prayer-list a {
    color: #30203c;
    border-radius: 8px;
    padding: 7px 9px;
}

.prayer-list a:hover {
    background: #f5eaff;
    color: var(--pdj-purple);
}

.prayer-list a strong {
    color: var(--pdj-purple);
}

/* Footer */

.site-footer {
    background: linear-gradient(90deg, var(--pdj-purple-dark), var(--pdj-purple));
    border-top: 4px solid var(--pdj-gold);
}

.site-footer a {
    color: var(--pdj-gold-light);
}

/* Responsive layout */

@media (max-width: 1100px) {
    .page-container.page-with-sidebar {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas:
            "main"
            "left"
            "right";
        padding: 0 18px;
    }
}

@media (max-width: 768px) {
    .top-banner {
        padding: 16px 10px;
    }

    .brand-text h1 {
        font-size: 34px;
    }

    .brand-text p {
        font-size: 13px;
    }

    .main-nav {
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .main-nav a {
        flex: 0 0 auto;
        white-space: nowrap;
        font-size: 14px;
    }

    .article-card {
        padding: 20px;
    }

    .page-container.page-with-sidebar {
        padding: 0 12px;
    }
}

