/* ==========================================
   EVERYDAY INSIGHT
   FINANCIAL WISDOM ARTICLE
========================================== */


/* ==========================================
   ARTICLE HERO
========================================== */

.article-hero {
    padding: 90px 0 65px;

    background: linear-gradient(
        180deg,
        #faf8f4 0%,
        #ffffff 100%
    );

    text-align: center;
}

.article-hero .container {
    max-width: 900px;
    margin: 0 auto;
}


/* ==========================================
   ARTICLE CATEGORY
========================================== */

.article-category {
    display: inline-block;

    padding: 8px 18px;

    background: #f0e9df;
    color: #9c8061;

    border-radius: 999px;

    font-family: "Inter", sans-serif;
    font-size: 0.85rem;
    font-weight: 600;

    letter-spacing: 0.08em;
    text-transform: uppercase;
}


/* ==========================================
   ARTICLE TITLE
========================================== */

.article-hero h1 {
    font-family: "Playfair Display", serif;

    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;

    color: #3d3a36;

    max-width: 850px;

    margin: 25px auto 20px;
}


/* ==========================================
   ARTICLE SUBTITLE
========================================== */

.article-subtitle {
    max-width: 760px;

    margin: 0 auto;

    font-family: "Inter", sans-serif;

    font-size: 1.1rem;
    font-weight: 400;

    line-height: 1.8;

    color: #6f6a64;
}


/* ==========================================
   ARTICLE META
========================================== */

.article-meta {
    display: flex;

    justify-content: center;
    align-items: center;

    flex-wrap: wrap;

    gap: 10px;

    margin-top: 25px;

    font-family: "Inter", sans-serif;

    font-size: 0.9rem;

    color: #77736e;
}


/* ==========================================
   FEATURE IMAGE
========================================== */

.article-image {
    padding: 0 0 50px;

    background: #ffffff;
}

.article-image .container {
    max-width: 1000px;

    margin: 0 auto;
}

.article-image img {
    display: block;

    width: 100%;
    height: auto;

    max-height: 520px;

    object-fit: cover;

    border-radius: 18px;

    border: 1px solid #ebe6df;

    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}


/* ==========================================
   FULL ARTICLE
========================================== */

article.article-content {
    padding: 30px 0 80px;

    background: #ffffff;

    font-family: "Inter", sans-serif;

    color: #3d3a36;
}


/* ==========================================
   ARTICLE WIDTH
========================================== */

article.article-content .article-container {
    width: 90%;

    max-width: 850px;

    margin: 0 auto;

    padding: 0;
}


/* ==========================================
   ARTICLE PARAGRAPHS
========================================== */

article.article-content p {
    font-family: "Inter", sans-serif;

    font-size: 1.05rem;
    font-weight: 400;

    line-height: 1.85;

    color: #5f5a54;

    margin: 0 0 26px;
}


/* ==========================================
   ARTICLE HEADINGS
========================================== */

article.article-content h2 {
    font-family: "Playfair Display", serif;

    font-size: 2rem;
    font-weight: 700;

    line-height: 1.3;

    color: #3d3a36;

    margin: 48px 0 18px;
}

article.article-content h3 {
    font-family: "Playfair Display", serif;

    font-size: 1.5rem;
    font-weight: 700;

    line-height: 1.4;

    color: #3d3a36;

    margin: 25px 0 15px;
}


/* ==========================================
   ARTICLE LISTS
========================================== */

article.article-content ul {
    margin: 5px 0 30px;

    padding-left: 25px;
}

article.article-content li {
    font-family: "Inter", sans-serif;

    font-size: 1rem;

    line-height: 1.8;

    color: #5f5a54;

    margin-bottom: 8px;
}


/* ==========================================
   ARTICLE LINKS
========================================== */

article.article-content a {
    color: #9c8061;

    font-weight: 600;

    text-decoration: none;

    transition: 0.3s ease;
}

article.article-content a:hover {
    color: #7f674e;

    text-decoration: underline;
}


/* ==========================================
   BIBLE VERSES
========================================== */

.bible-verse {
    padding: 20px 24px !important;

    margin: 20px 0 30px !important;

    background: #faf8f4;

    border-left: 4px solid #9c8061;

    border-radius: 0 10px 10px 0;

    font-family: "Playfair Display", serif !important;

    font-size: 1.08rem !important;

    font-style: italic;

    line-height: 1.75 !important;

    color: #6f5945 !important;
}


/* ==========================================
   KEY TAKEAWAYS
========================================== */

.article-highlight {
    margin: 60px 0;

    padding: 35px 40px;

    background: #faf8f4;

    border: 1px solid #ebe6df;

    border-left: 4px solid #9c8061;

    border-radius: 14px;
}

.article-highlight h3 {
    margin-top: 0 !important;

    margin-bottom: 20px !important;

    font-family: "Playfair Display", serif;

    font-size: 1.6rem;

    color: #3d3a36;
}

.article-highlight ul {
    margin-bottom: 0 !important;
}

.article-highlight li:last-child {
    margin-bottom: 0;
}


/* ==========================================
   RELATED ARTICLES
========================================== */

.related-articles {
    margin-top: 70px;

    padding-top: 55px;

    border-top: 1px solid #ebe6df;
}

.related-articles > h2 {
    text-align: center;

    font-family: "Playfair Display", serif;

    font-size: 2.2rem;

    color: #3d3a36;

    margin: 0 0 40px !important;
}


/* ==========================================
   RELATED ARTICLE GRID
========================================== */

.related-articles .cards-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 25px;
}


/* ==========================================
   RELATED ARTICLE CARD
========================================== */

.related-articles .card {
    overflow: hidden;

    background: #ffffff;

    border: 1px solid #ebe6df;

    border-radius: 14px;

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);

    transition: 0.3s ease;
}

.related-articles .card:hover {
    transform: translateY(-5px);

    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.10);
}

.related-articles .card img {
    display: block;

    width: 100%;

    height: 180px;

    object-fit: cover;
}

.related-articles .card h3 {
    padding: 20px 20px 8px;

    margin: 0 !important;

    font-family: "Playfair Display", serif;

    font-size: 1.25rem;

    line-height: 1.4;

    color: #3d3a36;
}

.related-articles .card a {
    display: inline-block;

    padding: 5px 20px 22px;

    color: #9c8061;

    font-family: "Inter", sans-serif;

    font-size: 0.95rem;

    font-weight: 600;

    text-decoration: none;
}

.related-articles .card a:hover {
    color: #7f674e;
}


/* ==========================================
   TABLET
========================================== */

@media (max-width: 900px) {

    .article-hero {
        padding: 75px 0 55px;
    }

    .article-hero h1 {
        font-size: 2.5rem;
    }

    .related-articles .cards-grid {
        grid-template-columns: 1fr 1fr;
    }

}


/* ==========================================
   MOBILE
========================================== */

@media (max-width: 768px) {

    .article-hero {
        padding: 65px 0 45px;
    }

    .article-hero .container {
        width: 90%;
    }

    .article-hero h1 {
        font-size: 2.15rem;
    }

    .article-subtitle {
        font-size: 1rem;
    }

    .article-image {
        padding-bottom: 35px;
    }

    .article-image .container {
        width: 90%;
    }

    article.article-content {
        padding: 20px 0 60px;
    }

    article.article-content .article-container {
        width: 90%;
    }

    article.article-content p {
        font-size: 1rem;
        line-height: 1.8;
    }

    article.article-content h2 {
        font-size: 1.7rem;

        margin-top: 40px;
    }

    .article-highlight {
        padding: 28px;
    }

    .related-articles .cards-grid {
        grid-template-columns: 1fr;
    }

}


/* ==========================================
   SMALL MOBILE
========================================== */

@media (max-width: 480px) {

    .article-hero h1 {
        font-size: 1.9rem;
    }

    .article-category {
        font-size: 0.75rem;
    }

    article.article-content p {
        font-size: 0.98rem;
    }

    article.article-content h2 {
        font-size: 1.55rem;
    }

    .article-highlight {
        padding: 22px;
    }

}