/* ==========================================
   EVERYDAY INSIGHT
   ARTICLES.CSS
   Article Directory Page
========================================== */


/* ==========================================
   PAGE HERO
========================================== */

.page-hero{

    padding:100px 0;

    background:linear-gradient(
        180deg,
        #faf8f4 0%,
        #ffffff 100%
    );

    text-align:center;

}

.page-hero .container{

    max-width:900px;

    margin:auto;

}

.page-hero h1{

    font-family:'Playfair Display',serif;

    font-size:3rem;

    color:var(--secondary);

    margin:25px 0;

}

.page-hero p{

    font-size:1.1rem;

    color:var(--text-light);

    line-height:1.8;

}


/* ==========================================
   SECTION TAG
========================================== */

.section-tag{

    display:inline-block;

    padding:8px 18px;

    background:#f0e9df;

    color:var(--primary);

    border-radius:999px;

    font-size:.85rem;

    font-weight:600;

    letter-spacing:.08em;

    text-transform:uppercase;

}


/* ==========================================
   SEARCH
========================================== */

.article-search{

    padding:40px 0;

    background:var(--background);

}

.article-search input{

    width:100%;

    max-width:600px;

    display:block;

    margin:auto;

    padding:18px 22px;

    border:1px solid var(--border);

    border-radius:var(--radius);

    font-size:1rem;

    outline:none;

    transition:var(--transition);

}

.article-search input:focus{

    border-color:var(--primary);

    box-shadow:0 0 0 4px rgba(156,128,97,.12);

}


/* ==========================================
   FEATURED ARTICLE
========================================== */

.featured-article{

    padding:100px 0;

    background:var(--surface);

}

.featured-card{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:50px;

    align-items:center;

    background:var(--surface);

    border:1px solid var(--border);

    border-radius:var(--radius);

    overflow:hidden;

    box-shadow:var(--shadow);

}

.featured-card img{

    width:100%;

    height:100%;

    object-fit:cover;

    display:block;

}

.featured-content{

    padding:45px;

}

.featured-content h2{

    font-family:'Playfair Display',serif;

    font-size:2rem;

    margin:20px 0;

    color:var(--secondary);

}

.featured-content p{

    color:var(--text-light);

    line-height:1.8;

    margin-bottom:30px;

}


/* ==========================================
   ARTICLE SECTIONS
========================================== */

.article-section{

    padding:90px 0;

}

.article-section:nth-child(even){

    background:var(--background);

}

.article-section h2{

    font-family:'Playfair Display',serif;

    font-size:2.3rem;

    color:var(--secondary);

    margin-bottom:40px;

}


/* ==========================================
   ARTICLE GRID
========================================== */

.article-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));

    gap:35px;

}


/* ==========================================
   ARTICLE CARD
========================================== */

.article-card{

    background:var(--surface);

    border:1px solid var(--border);

    border-radius:var(--radius);

    overflow:hidden;

    box-shadow:var(--shadow);

    transition:var(--transition);

}

.article-card:hover{

    transform:translateY(-8px);

    box-shadow:0 20px 45px rgba(0,0,0,.12);

}

.article-card img{

    width:100%;

    height:220px;

    object-fit:cover;

    display:block;

}

.article-content{

    padding:28px;

}

.article-content h3{

    font-family:'Playfair Display',serif;

    font-size:1.45rem;

    color:var(--secondary);

    margin-bottom:15px;

}

.article-content p{

    color:var(--text-light);

    line-height:1.8;

    margin-bottom:25px;

}

.article-content a{

    color:var(--primary);

    text-decoration:none;

    font-weight:600;

    transition:var(--transition);

}

.article-content a:hover{

    color:var(--primary-dark);

}


/* ==========================================
   NEWSLETTER
========================================== */

.newsletter{

    padding:100px 0;

    text-align:center;

    background:var(--surface);

}

.newsletter h2{

    font-family:'Playfair Display',serif;

    font-size:2.4rem;

    color:var(--secondary);

    margin-bottom:20px;

}

.newsletter p{

    max-width:650px;

    margin:0 auto 40px;

    color:var(--text-light);

    line-height:1.8;

}

#kit-newsletter{

    max-width:600px;

    margin:auto;

}

/* ========= CONTAINER ========= */

.newsletter-container{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:60px;

    align-items:center;

    margin-top:60px;

}

/* ========= BENEFITS ========= */

.newsletter-benefits{

    background:var(--background);

    padding:40px;

    border:1px solid var(--border);

    border-radius:var(--radius);

    box-shadow:var(--shadow);

    transition:var(--transition);

}

.newsletter-benefits:hover{

    transform:translateY(-5px);

    box-shadow:0 18px 40px rgba(0,0,0,.10);

}

.newsletter-benefits h3{

    font-family:'Playfair Display',serif;

    font-size:1.8rem;

    color:var(--secondary);

    margin-bottom:25px;

}

.newsletter-benefits ul{

    list-style:none;

    margin:0;

    padding:0;

}

.newsletter-benefits li{

    display:flex;

    align-items:flex-start;

    gap:10px;

    padding:14px 0;

    color:var(--text);

    line-height:1.7;

    border-bottom:1px solid var(--border);

}

.newsletter-benefits li:last-child{

    border-bottom:none;

}

/* ========= NEWSLETTER FORM ========= */

.newsletter-form{

    display:flex;

    justify-content:center;

    align-items:center;

    background:var(--surface);

    padding:40px;

    border:1px solid var(--border);

    border-radius:var(--radius);

    box-shadow:var(--shadow);

    transition:var(--transition);

}

.newsletter-form:hover{

    transform:translateY(-5px);

    box-shadow:0 18px 40px rgba(0,0,0,.10);

}

/* ========= KIT FORM ========= */

#kit-newsletter{

    width:100%;

}

.newsletter-form iframe,

.newsletter-form form{

    width:100%;

    max-width:100%;

    border:none;

}

/* ========= RESPONSIVE ========= */

@media (max-width:768px){

    .newsletter{

        padding:70px 0;

    }

    .newsletter-container{

        grid-template-columns:1fr;

        gap:35px;

    }

    .newsletter-benefits,

    .newsletter-form{

        padding:30px;

    }

    .newsletter-benefits h3{

        font-size:1.6rem;

    }

}

@media (max-width:480px){

    .newsletter{

        padding:60px 0;

    }

    .newsletter-benefits,

    .newsletter-form{

        padding:22px;

    }

    .newsletter-benefits h3{

        font-size:1.4rem;

    }

    .newsletter-benefits li{

        padding:12px 0;

        font-size:.95rem;

    }

}


/* ==========================================
   RESPONSIVE
========================================== */

@media (max-width:768px){

    .page-hero{

        padding:70px 0;

    }

    .page-hero h1{

        font-size:2.2rem;

    }

    .featured-card{

        grid-template-columns:1fr;

    }

    .featured-content{

        padding:30px;

    }

    .article-grid{

        grid-template-columns:1fr;

    }

}

@media (max-width:480px){

    .page-hero h1{

        font-size:1.9rem;

    }

    .article-section{

        padding:70px 0;

    }

    .featured-content{

        padding:25px;

    }

    .article-content{

        padding:22px;

    }

}
/* ==========================================
   FACEBOOK SHARE
========================================== */

.share-section{

    margin:80px 0;

    text-align:center;

    padding:40px;

    background:var(--background);

    border:1px solid var(--border);

    border-radius:var(--radius);

}

.share-section h3{

    font-family:'Playfair Display',serif;

    color:var(--secondary);

    margin-bottom:15px;

}

.share-section p{

    color:var(--text-light);

    margin-bottom:25px;

}

.share-facebook{

    background:#1877F2;

    color:#fff;

    border:none;

    padding:15px 28px;

    border-radius:999px;

    font-size:1rem;

    font-weight:600;

    cursor:pointer;

    transition:.3s ease;

}

.share-facebook:hover{

    background:#166FE5;

    transform:translateY(-2px);

}
/* ==========================================
   FULL ARTICLE PAGE
========================================== */

article.article-content {
    padding: 60px 0;
    background: #ffffff;
    font-family: "Inter", sans-serif;
    color: #3d3a36;
}

article.article-content .article-container {
    max-width: 850px;
    margin: 0 auto;
}

article.article-content p {
    font-family: "Inter", sans-serif;
    font-size: 1.05rem;
    line-height: 1.85;
    color: #3d3a36;
    margin-bottom: 24px;
}

article.article-content h2 {
    font-family: "Playfair Display", serif;
    font-size: 2rem;
    line-height: 1.3;
    color: #3d3a36;
    margin: 45px 0 18px;
}

article.article-content h3 {
    font-family: "Playfair Display", serif;
    color: #3d3a36;
}

article.article-content ul {
    margin: 15px 0 30px 25px;
}

article.article-content li {
    font-family: "Inter", sans-serif;
    color: #3d3a36;
    line-height: 1.8;
    margin-bottom: 8px;
}
/* ==========================================
   FULL ARTICLE HERO
========================================== */

.article-hero {
    padding: 90px 0 60px;
    background: linear-gradient(
        180deg,
        #faf8f4 0%,
        #ffffff 100%
    );
    text-align: center;
}

.article-hero .container {
    max-width: 900px;
    margin: 0 auto;
}

.article-hero h1 {
    font-family: "Playfair Display", serif;
    font-size: 3rem;
    line-height: 1.2;
    color: #3d3a36;
    margin: 20px 0;
}

.article-category {
    font-family: "Inter", sans-serif;
    color: #9c8061;
    font-weight: 600;
}

.article-subtitle {
    font-family: "Inter", sans-serif;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #6f6a64;
}

.article-meta {
    font-family: "Inter", sans-serif;
    color: #77736e;
    margin-top: 20px;
}
/* ==========================================
   ARTICLE TOOLS BUTTON
========================================== */

.article-content .btn-primary {
    display: inline-block;
    background-color: #9c8061;
    color: #ffffff !important;

    padding: 14px 28px;
    margin-top: 18px;

    border-radius: 8px;

    font-family: "Inter", sans-serif;
    font-size: 15px;
    font-weight: 600;

    text-decoration: none !important;

    transition: all 0.3s ease;
}

.article-content .btn-primary:hover {
    background-color: #846b50;
    color: #ffffff !important;
    transform: translateY(-2px);
}