/**
Theme Name: astra child theme
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child-theme
Template: astra
*/



/* =========================================
   ASTRA FULL WIDTH FIX & HOME STYLES
   ========================================= */

/* 1. FORCE FULL WIDTH (This breaks Astra's Container) */
.home-page-wrapper {
    background: #FEF9F3;
    font-family: system-ui, -apple-system, sans-serif !important;
    color: #4A2C2A;
    /* The Magic Code */
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    overflow-x: hidden;
}

/* 2. INNER CONTAINER (Keeps content centered) */
.home-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}

/* --- HERO SECTION --- */
.hero-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #FEF9F3 0%, rgba(230, 216, 195, 0.3) 100%);
    overflow: hidden;
}
.hero-grid { display: grid; gap: 48px; align-items: center; }
@media(min-width: 1024px) { .hero-grid { grid-template-columns: 1fr 1fr; } }

.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 16px; background: rgba(255,255,255,0.8);
    border: 1px solid #E6D8C3; border-radius: 99px;
    font-size: 14px; font-weight: 500; margin-bottom: 24px;
}
.hero-title {
    font-size: 48px; font-weight: 800; line-height: 1.1; margin-bottom: 24px; color: #4A2C2A;
}
@media(min-width: 1024px) { .hero-title { font-size: 64px; } }
.highlight { color: #7C5243; display: block; }
.hero-desc { font-size: 18px; color: rgba(124, 82, 67, 0.8); max-width: 500px; margin-bottom: 32px; line-height: 1.6; }

.hero-btns { display: flex; gap: 16px; margin-bottom: 48px; flex-wrap: wrap; }
.btn-primary {
    display: inline-flex; align-items: center; gap: 8px;
    background: #4A2C2A; color: white; padding: 16px 32px;
    border-radius: 99px; font-weight: 600; text-decoration: none;
    transition: 0.3s;
}
.btn-primary:hover { transform: translateY(-4px); box-shadow: 0 10px 20px rgba(74,44,42,0.2); }
.btn-outline {
    display: inline-flex; align-items: center;
    border: 2px solid #7C5243; color: #7C5243; padding: 14px 32px;
    border-radius: 99px; font-weight: 600; text-decoration: none;
    transition: 0.3s;
}
.btn-outline:hover { background: #7C5243; color: white; }

.hero-stats { display: flex; gap: 32px; padding-top: 32px; border-top: 1px solid #E6D8C3; }
.hero-stats strong { font-size: 30px; display: block; }

.hero-image-box { position: relative; padding-left: 24px; }
.hero-img { width: 100%; border-radius: 48px; box-shadow: 0 25px 50px -12px rgba(74,44,42,0.2); position: relative; z-index: 1; }
.float-card {
    position: absolute; bottom: -24px; left: -24px; background: white;
    padding: 16px; border-radius: 16px; border: 1px solid #E6D8C3;
    display: flex; gap: 12px; align-items: center; z-index: 2;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.float-icon {
    width: 48px; height: 48px; background: rgba(97, 118, 75, 0.1);
    border-radius: 12px; display: flex; align-items: center; justify-content: center; color: #61764B;
}
.fc-title { font-weight: 700; margin: 0; color: #4A2C2A; }
.fc-sub { font-size: 13px; margin: 0; }

/* --- CATEGORIES --- */
.cat-section { padding: 96px 0; background: #FEF9F3; }
.sec-header.center { text-align: center; max-width: 700px; margin: 0 auto 64px; }
.sec-pill { color: #61764B; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; font-size: 14px; display: block; margin-bottom: 12px; }
.sec-header h2 { font-size: 40px; font-weight: 800; margin: 0 0 16px; color: #4A2C2A; }

.cat-grid-home { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media(min-width: 768px) { .cat-grid-home { grid-template-columns: repeat(2, 1fr); } }
@media(min-width: 1024px) {
    .cat-grid-home { grid-template-columns: repeat(3, 1fr); }
    .big-cat { grid-column: span 2; grid-row: span 2; }
}
.cat-card {
    position: relative; border-radius: 24px; overflow: hidden; background: white;
    min-height: 250px; transition: 0.5s; text-decoration: none; display: block;
}
.big-cat { min-height: 524px; }
.cat-card:hover { transform: translateY(-8px); }
.cat-card img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; transition: 0.7s; }
.cat-card:hover img { transform: scale(1.1); }
.cat-overlay { position: absolute; inset: 0; background: linear-gradient(to top, #4A2C2A 0%, rgba(74,44,42,0.4) 50%, transparent 100%); }
.cat-info { position: absolute; bottom: 0; left: 0; right: 0; padding: 24px; z-index: 2; color: white; }
.cat-badge span { background: rgba(255,255,255,0.2); padding: 4px 12px; border-radius: 8px; font-size: 12px; backdrop-filter: blur(4px); }
.cat-info h3 { font-size: 24px; margin: 12px 0 8px; color: white; }
.big-cat h3 { font-size: 32px; }
.cat-info p { color: rgba(255,255,255,0.8); margin: 0; }

/* --- LATEST POSTS --- */
.latest-section { padding: 96px 0; background: white; }
.sec-header.flex-between { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 48px; flex-wrap: wrap; gap: 20px; }
.btn-outline-dark { border: 2px solid #4A2C2A; color: #4A2C2A; padding: 10px 24px; border-radius: 99px; font-weight: 600; text-decoration: none; }
.latest-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px; }
.post-card {
    background: #FEF9F3; border-radius: 24px; overflow: hidden;
    border: 1px solid rgba(230, 216, 195, 0.5); transition: 0.3s; cursor: pointer; text-decoration: none; display: block;
}
.post-card:hover { transform: translateY(-8px); }
.pc-img { height: 220px; position: relative; overflow: hidden; }
.pc-img img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.post-card:hover img { transform: scale(1.05); }
.pc-cat { position: absolute; top: 16px; left: 16px; background: rgba(255,255,255,0.9); color: #4A2C2A; padding: 4px 12px; border-radius: 99px; font-size: 12px; font-weight: 700; }
.pc-body { padding: 24px; }
.pc-meta { font-size: 13px; color: rgba(124, 82, 67, 0.6); margin-bottom: 12px; }
.pc-body h3 { font-size: 20px; font-weight: 700; margin: 0 0 12px; color: #4A2C2A; }
.pc-body p { font-size: 15px; color: rgba(124, 82, 67, 0.7); margin-bottom: 20px; }
.read-link { font-weight: 600; color: #4A2C2A; font-size: 14px; }

/* --- POPULAR POSTS --- */
.popular-section { padding: 96px 0; background: linear-gradient(to bottom, #FEF9F3, rgba(230, 216, 195, 0.3)); }
.pop-grid-layout { display: grid; gap: 32px; }
@media(min-width: 1024px) { .pop-grid-layout { grid-template-columns: 1fr 1fr; } }
.pop-feat-card { position: relative; border-radius: 24px; overflow: hidden; min-height: 500px; cursor: pointer; }
.pop-bg { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; transition: 0.7s; }
.pop-feat-card:hover .pop-bg { transform: scale(1.05); }
.pop-overlay { position: absolute; inset: 0; background: linear-gradient(to top, #4A2C2A, transparent); }
.pop-content { position: absolute; bottom: 0; left: 0; right: 0; padding: 32px; color: white; }
.pop-badge { background: #61764B; padding: 4px 12px; border-radius: 99px; font-size: 12px; font-weight: 600; }
.pop-content h3 { font-size: 32px; margin: 16px 0; color: white; }
.pop-content p { color: rgba(255,255,255,0.8); margin-bottom: 24px; }
.pop-list { display: flex; flex-direction: column; gap: 24px; }
.pop-item {
    display: flex; gap: 20px; background: white; padding: 16px; border-radius: 16px;
    border: 1px solid rgba(230, 216, 195, 0.5); cursor: pointer; transition: 0.3s;
}
.pop-item:hover { transform: translateX(-8px); }
.pop-img { width: 120px; height: 120px; border-radius: 12px; overflow: hidden; flex-shrink: 0; }
.pop-img img { width: 100%; height: 100%; object-fit: cover; }
.pop-info { display: flex; flex-direction: column; justify-content: center; }
.tiny-cat { font-size: 12px; font-weight: 600; color: #61764B; margin-bottom: 4px; }
.pop-info h4 { font-size: 18px; margin: 0; color: #4A2C2A; }

/* =========================================
   FOOTER SECTION CSS
   ========================================= */
.coffee-footer-section {
    background-color: #FEF9F3 !important;
    border-top: 1px solid #E6D8C3 !important;
    font-family: inherit;
    padding-top: 64px !important;
    
    /* Full Width Fix */
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    box-sizing: border-box;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- GRID LAYOUT --- */
.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    padding-bottom: 64px;
}
@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    }
}

/* --- BRAND COLUMN --- */
.footer-brand-col {
    display: flex;
    flex-direction: column;
}

.footer-logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.footer-logo-box {
    width: 48px;
    height: 48px;
    background-color: #4A2C2A !important;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white !important;
}

.footer-brand-name {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #4A2C2A !important;
    margin: 0 !important;
    line-height: 1.2;
}

.footer-brand-sub {
    font-size: 14px !important;
    color: rgba(124, 82, 67, 0.6) !important;
    margin: 0 !important;
}

.footer-desc {
    color: rgba(124, 82, 67, 0.7) !important;
    margin-bottom: 24px !important;
    max-width: 350px;
    font-size: 16px !important;
    line-height: 1.6;
}

/* Contact Info */
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(124, 82, 67, 0.7) !important;
    font-size: 14px !important;
}
.contact-item svg {
    color: #4A2C2A;
}

/* Social Icons */
.footer-socials {
    display: flex;
    gap: 12px;
}

.social-btn {
    width: 40px;
    height: 40px;
    background-color: rgba(230, 216, 195, 0.5) !important;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7C5243 !important;
    transition: all 0.3s ease;
}

.social-btn:hover {
    background-color: #4A2C2A !important;
    color: white !important;
}

/* --- LINKS COLUMNS --- */
.footer-links-col h4.footer-col-title {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #4A2C2A !important;
    margin-bottom: 16px !important;
}

.footer-menu {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-menu li a {
    text-decoration: none !important;
    color: rgba(124, 82, 67, 0.7) !important;
    font-size: 14px !important;
    transition: color 0.2s;
}

.footer-menu li a:hover {
    color: #4A2C2A !important;
}

/* --- AFFILIATE BOX --- */
.footer-affiliate-wrap {
    border-top: 1px solid #E6D8C3 !important;
    padding: 24px 0;
}

.footer-affiliate-box {
    background-color: rgba(230, 216, 195, 0.3) !important;
    border-radius: 16px;
    padding: 24px;
}

.affiliate-title {
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #4A2C2A !important;
    margin-bottom: 8px !important;
}

.affiliate-text {
    font-size: 14px !important;
    color: rgba(124, 82, 67, 0.7) !important;
    margin: 0 !important;
    line-height: 1.5;
}

/* --- BOTTOM BAR --- */
.footer-bottom-bar {
    border-top: 1px solid #E6D8C3 !important;
    padding: 24px 0;
}

.footer-bottom-flex {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    text-align: center;
    font-size: 14px !important;
    color: rgba(124, 82, 67, 0.6) !important;
}
.footer-bottom-flex p {
    margin: 0 !important;
}

@media (min-width: 768px) {
    .footer-bottom-flex {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

/* =========================================
   COFFEE BEAN TEMPLATE (FIXED CSS)
   ========================================= */

/* Global Reset */
.coffee-bean-template {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    font-family: system-ui, -apple-system, sans-serif !important;
    color: #4A2C2A;
    background: #FEF9F3;
}

.cb-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}

.cb-section {
    padding: 64px 0;
    position: relative;
}
/* এই অংশটুকু আপনার CSS ফাইলে যোগ করুন বা রিপ্লেস করুন */

/* Breadcrumb-কে উপরে আনার জন্য z-index দেওয়া হলো */
.cb-breadcrumb {
    position: relative;
    z-index: 10; /* এটি লিংকগুলোকে ব্যাকগ্রাউন্ডের উপরে রাখবে */
    display: flex; 
    align-items: center; 
    gap: 8px; 
    font-size: 14px;
    color: #7C5243; 
    margin-bottom: 32px;
    flex-wrap: wrap; /* মোবাইল রেসপন্সিভনেস এর জন্য */
}

/* Breadcrumb এর লিংকগুলোর স্টাইল */
.cb-breadcrumb a { 
    color: #7C5243; 
    text-decoration: none; 
    display: flex; 
    align-items: center; 
    gap: 4px; 
    transition: color 0.3s;
}

.cb-breadcrumb a:hover {
    color: #4A2C2A; /* হোভার করলে কালার চেঞ্জ হবে */
    text-decoration: underline;
}

.cb-breadcrumb .active { 
    color: #4A2C2A; 
    font-weight: 600; 
}

/* --- 1. Hero Section --- */
.hero-bg { background-color: #FEF9F3; overflow: hidden; padding-top: 40px; }
.cb-pattern-overlay {
    position: absolute; inset: 0; opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%234A2C2A' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cb-breadcrumb {
    display: flex; align-items: center; gap: 8px; font-size: 14px;
    color: #7C5243; margin-bottom: 32px;
}
.cb-breadcrumb a { color: #7C5243; text-decoration: none; display: flex; align-items: center; gap: 4px; }
.cb-breadcrumb .active { color: #4A2C2A; font-weight: 600; }

.cb-hero-grid { display: grid; gap: 48px; align-items: center; }
@media(min-width: 1024px) { .cb-hero-grid { grid-template-columns: 1fr 1fr; } }

.cb-pill {
    display: inline-block; background: #E6D8C3; color: #4A2C2A;
    padding: 6px 16px; border-radius: 999px; font-size: 14px; font-weight: 600;
    margin-bottom: 16px;
}

.cb-hero-title {
    font-size: 40px !important; font-weight: 800; color: #4A2C2A;
    line-height: 1.1; margin-bottom: 16px;
}
@media(min-width: 1024px) { .cb-hero-title { font-size: 56px !important; } }

.cb-hero-desc { font-size: 18px; color: #7C5243; line-height: 1.6; margin-bottom: 24px; }

.cb-hero-stats { display: flex; gap: 12px; flex-wrap: wrap; }
.stat-badge {
    padding: 6px 12px; border: 1px solid #E6D8C3; border-radius: 999px;
    color: #7C5243; font-size: 14px; font-weight: 500;
}

.cb-hero-img-wrap { position: relative; }
.glow-effect {
    position: absolute; inset: -16px; background: #E6D8C3;
    opacity: 0.2; filter: blur(24px); border-radius: 32px;
}
.hero-card-img {
    position: relative; border-radius: 24px; overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
    height: 300px;
}
@media(min-width: 1024px) { .hero-card-img { height: 400px; } }
.hero-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s; }
.hero-card-img:hover img { transform: scale(1.05); }
.img-overlay-text {
    position: absolute; bottom: 0; left: 0; right: 0; padding: 24px;
    background: linear-gradient(to top, rgba(74,44,42,0.9), transparent);
    color: rgba(255,255,255,0.9); font-weight: 500;
}

/* --- 2. Featured Article --- */
.featured-bg { background: #FEF9F3; }
.section-label { display: flex; align-items: center; gap: 12px; margin-bottom: 32px; }
.section-label .bar { width: 48px; height: 2px; background: #61764B; }
.section-label span { color: #61764B; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; font-size: 14px; }

.featured-card {
    background: #fff; border-radius: 24px; overflow: hidden;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}
.featured-card:hover { transform: translateY(-4px); }
.feat-grid { display: grid; }
@media(min-width: 1024px) { .feat-grid { grid-template-columns: 1fr 1fr; } }

.feat-img-wrap { position: relative; height: 300px; overflow: hidden; }
@media(min-width: 1024px) { .feat-img-wrap { height: auto; } }
.feat-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s; }
.featured-card:hover img { transform: scale(1.05); }
.feat-badge {
    position: absolute; top: 16px; left: 16px; background: #61764B; color: white;
    padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 600;
    display: flex; align-items: center; gap: 4px;
}

.feat-content { padding: 48px; display: flex; flex-direction: column; justify-content: center; }
.feat-meta { display: flex; align-items: center; gap: 16px; color: #7C5243; font-size: 14px; margin-bottom: 24px; }
.dot { width: 4px; height: 4px; background: #7C5243; border-radius: 50%; }
.feat-content h3 { font-size: 32px; margin: 0 0 16px; line-height: 1.2; }
.feat-content h3 a { color: #4A2C2A; text-decoration: none; }
.feat-content p { color: #7C5243; font-size: 18px; line-height: 1.6; margin-bottom: 32px; }
.feat-btn {
    display: inline-flex; align-items: center; gap: 8px; background: #4A2C2A;
    color: white; padding: 12px 24px; border-radius: 999px; font-weight: 600;
    text-decoration: none; width: fit-content; transition: gap 0.3s;
}
.feat-btn:hover { gap: 16px; }

/* --- 3. Article Grid --- */
.grid-header {
    display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 48px;
    flex-wrap: wrap; gap: 24px;
}
.grid-header h2 { font-size: 36px; color: #4A2C2A; margin: 0 0 12px; }
.grid-header p { font-size: 18px; color: #7C5243; margin: 0; }
.view-all { color: #61764B; font-weight: 600; text-decoration: none; display: flex; align-items: center; gap: 8px; }

.cb-article-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 32px; margin-bottom: 48px; }
.grid-card {
    background: #fff; border-radius: 16px; overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1); transition: all 0.5s; cursor: pointer;
}
.grid-card:hover { transform: translateY(-8px); box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1); }
.grid-img { position: relative; height: 200px; overflow: hidden; }
.grid-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s; }
.grid-card:hover img { transform: scale(1.1); }
.grid-badge {
    position: absolute; top: 12px; left: 12px; background: #E6D8C3; color: #4A2C2A;
    padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 600;
}
.grid-body { padding: 24px; }
.grid-meta { font-size: 14px; color: #7C5243; display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.grid-body h3 { font-size: 20px; font-weight: 700; color: #4A2C2A; margin: 0 0 12px; line-height: 1.4; }
.grid-body p { font-size: 14px; color: #7C5243; line-height: 1.6; margin-bottom: 24px; }
.grid-link { color: #4A2C2A !important; font-weight: 600; font-size: 14px; display: flex; align-items: center; gap: 8px; }

/* --- 4. Author --- */
.author-bg { background: #FEF9F3; }
.narrow { max-width: 896px; }
.author-card { background: #E6D8C3; border-radius: 24px; padding: 40px; position: relative; overflow: hidden; }
.author-deco { position: absolute; top: -40px; right: -40px; width: 160px; height: 160px; background: #7C5243; opacity: 0.2; border-radius: 50%; }
.author-flex { display: flex; gap: 32px; align-items: flex-start; position: relative; }
@media(max-width: 640px) { .author-flex { flex-direction: column; } }
.author-img-box { position: relative; flex-shrink: 0; }
.author-img-box img { width: 128px; height: 128px; border-radius: 16px; object-fit: cover; border: 4px solid #FEF9F3; }
.coffee-badge {
    position: absolute; bottom: -8px; right: -8px; width: 32px; height: 32px;
    background: #61764B; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white;
}
.author-info .role { color: #61764B; font-weight: 600; text-transform: uppercase; font-size: 12px; letter-spacing: 1px; }
.author-info h3 { font-size: 30px; color: #4A2C2A; margin: 4px 0 12px; }
.author-info p { color: #7C5243; margin-bottom: 24px; line-height: 1.6; }
.author-stats { display: flex; gap: 32px; text-align: center; }
.author-stats strong { display: block; font-size: 24px; color: #4A2C2A; }
.author-stats small { color: #7C5243; }

/* --- 5. RELATED CATEGORIES (FIXED DESIGN) --- */
.related-bg { background: #FEF9F3; padding-bottom: 96px; }
.sec-heading { font-size: 32px !important; font-weight: 800; color: #4A2C2A; margin-bottom: 40px; }

.related-grid-react {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
}
@media(min-width: 768px) { .related-grid-react { grid-template-columns: repeat(4, 1fr); gap: 24px; } }

.rel-react-card {
    position: relative; height: 300px; border-radius: 20px; overflow: hidden;
    display: block; cursor: pointer; box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: all 0.5s ease;
}
.rel-react-card:hover { transform: translateY(-8px); box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1); }

.rel-bg-img {
    width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0;
    transition: transform 0.7s;
}
.rel-react-card:hover .rel-bg-img { transform: scale(1.1); }

.rel-overlay-gradient {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(74, 44, 42, 0.95) 0%, rgba(74, 44, 42, 0.4) 50%, rgba(74, 44, 42, 0.2) 100%);
    z-index: 1;
}

.rel-content-box {
    position: absolute; inset: 0; padding: 24px; z-index: 2;
    display: flex; flex-direction: column; justify-content: flex-end;
}

.rel-icon-container {
    width: 48px; height: 48px; background: #61764B; border-radius: 12px;
    display: flex; align-items: center; justify-content: center; color: white;
    margin-bottom: 16px; transition: transform 0.3s;
}
.rel-react-card:hover .rel-icon-container { transform: scale(1.1); }

.rel-content-box h3 { color: white; font-size: 20px; font-weight: 700; margin: 0 0 8px; }
.rel-content-box p { color: rgba(255,255,255,0.8); font-size: 13px; line-height: 1.5; margin-bottom: 16px; }

.rel-footer { display: flex; justify-content: space-between; align-items: center; }
.rel-footer span { color: rgba(255,255,255,0.7); font-size: 13px; }
.rel-arrow-circle {
    width: 32px; height: 32px; background: rgba(255,255,255,0.2); border-radius: 50%;
    display: flex; align-items: center; justify-content: center; color: white;
    transition: transform 0.3s;
}
.rel-react-card:hover .rel-arrow-circle { transform: translateX(4px); }

/* Pagination */
.cb-pagination { display: flex; justify-content: center; margin-top: 48px; }
.cb-pagination .page-numbers {
    padding: 10px 18px; margin: 0 4px; background: #fff; color: #4A2C2A;
    border-radius: 8px; text-decoration: none; font-weight: 600;
}
.cb-pagination .current { background: #4A2C2A; color: white; }

/* =========================================
   SINGLE ARTICLE TEMPLATE CSS (Full Width)
   ========================================= */

/* Global Wrapper - Forces Full Width */
.coffee-single-article {
    background-color: #ffffff;
    font-family: system-ui, -apple-system, sans-serif !important;
    color: #4A2C2A;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden; /* Prevents horizontal scroll */
}

/* Container for reading content */
.art-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}

/* --- 1. Hero Section --- */
.article-hero-bg {
    background-color: #FEF9F3;
    padding: 64px 0 80px; /* Increased padding slightly */
    margin-bottom: 48px;
    width: 100%; /* Ensures background spans full width */
}

.art-breadcrumb {
    display: flex; align-items: center; gap: 8px; font-size: 14px;
    color: #7C5243; margin-bottom: 32px; justify-content: center;
    flex-wrap: wrap;
}
.art-breadcrumb a { text-decoration: none; color: rgba(124, 82, 67, 0.6); }
.art-breadcrumb a:hover { color: #4A2C2A; }
.art-breadcrumb .sep { opacity: 0.4; }
.art-breadcrumb .curr { font-weight: 500; }

.hero-center { text-align: center; max-width: 800px; margin: 0 auto 40px; }
.art-main-title {
    font-size: 36px !important; font-weight: 800; line-height: 1.2;
    color: #4A2C2A; margin-bottom: 24px;
}
@media(min-width: 768px) { .art-main-title { font-size: 35px !important; } }

.art-subtitle {
    font-size: 20px; color: rgba(124, 82, 67, 0.8); line-height: 1.6;
    margin-bottom: 24px;
}
.art-meta {
    display: flex; justify-content: center; align-items: center; gap: 16px;
    font-size: 14px; color: rgba(124, 82, 67, 0.6);
}
.art-meta .dot { width: 4px; height: 4px; background: #7C5243; border-radius: 50%; opacity: 0.4; }

.hero-feat-img {
    position: relative; border-radius: 24px; overflow: hidden;
    box-shadow: 0 20px 40px rgba(74, 44, 42, 0.1);
    background: #fff; /* Placeholder bg */
}
.hero-feat-img img { width: 100%; height: auto; display: block; }
.deco-circle { position: absolute; border-radius: 50%; z-index: -1; }
.c1 { width: 128px; height: 128px; background: rgba(97, 118, 75, 0.1); bottom: -16px; right: -16px; }
.c2 { width: 160px; height: 160px; background: rgba(230, 216, 195, 0.5); top: -16px; left: -16px; }

/* --- 2. Content & Prose --- */
.content-wrapper { margin-bottom: 64px; }
.art-prose { font-size: 18px; line-height: 1.8; color: #7C5243; }
.art-prose p { margin-bottom: 24px; }
.art-prose h2 { font-size: 30px; font-weight: 700; color: #4A2C2A; margin: 48px 0 24px; }
.art-prose h3 { font-size: 24px; font-weight: 600; color: #4A2C2A; margin: 32px 0 16px; }
.art-prose ul { margin-bottom: 24px; list-style: disc; padding-left: 20px; }
.art-prose li { margin-bottom: 8px; }
.art-prose img { border-radius: 16px; width: 100%; height: auto; margin: 32px 0; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }

/* --- 3. Author Box --- */
.art-author-box {
    background: #FEF9F3; border: 1px solid #E6D8C3; 
    border-radius: 24px; padding: 32px; margin: 48px 0;
}
.auth-flex { display: flex; align-items: flex-start; gap: 24px; flex-direction: column; }
@media(min-width: 600px) { .auth-flex { flex-direction: row; } }

.auth-avatar img { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; border: 4px solid #fff; }
.auth-label { font-size: 12px; font-weight: 700; color: #61764B; text-transform: uppercase; letter-spacing: 1px; }
.auth-info h3 { font-size: 24px; margin: 4px 0 8px; color: #4A2C2A; }
.auth-desc { font-size: 15px; color: rgba(124, 82, 67, 0.8); margin: 0; line-height: 1.6; }

/* --- 4. Related Articles --- */
.art-related-bg { background: rgba(230, 216, 195, 0.2); padding: 64px 0; margin-top: 64px; width: 100%; }
.rel-header { text-align: center; margin-bottom: 40px; }
.rel-header h2 { font-size: 32px; font-weight: 700; color: #4A2C2A; margin-bottom: 8px; }
.art-rel-grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
@media(min-width: 768px) { .art-rel-grid { grid-template-columns: repeat(3, 1fr); } }

.rel-article-card {
    background: #ffffff; border-radius: 16px; overflow: hidden;
    text-decoration: none; transition: transform 0.3s; display: block;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}
.rel-article-card:hover { transform: translateY(-8px); box-shadow: 0 10px 30px rgba(0,0,0,0.08); }
.rel-img-wrap { height: 200px; overflow: hidden; }
.rel-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.rel-article-card:hover img { transform: scale(1.05); }
.rel-body { padding: 24px; }
.rel-body h3 { font-size: 18px; font-weight: 700; color: #4A2C2A; margin: 0 0 12px; line-height: 1.4; }
.rel-body p { font-size: 14px; color: #7C5243; margin-bottom: 16px; }
.rel-link { font-size: 14px; font-weight: 600; color: #61764B; }



/* =========================================
   NEWSLETTER SECTION STYLES
   ========================================= */

/* Main Section Wrapper - Forces Full Width */
.newsletter-section {
    position: relative;
    background-color: #4A2C2A !important;
    padding: 96px 0 !important;
    overflow: hidden;
    font-family: inherit;
    
    /* Full Width Hack to break container */
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

/* Background Blob Effects */
.newsletter-blob {
    position: absolute;
    width: 384px;
    height: 384px;
    border-radius: 50%;
    filter: blur(64px);
    z-index: 1;
    pointer-events: none;
}

.blob-top {
    top: 0;
    left: 0;
    background-color: rgba(124, 82, 67, 0.3);
    transform: translate(-50%, -50%);
}

.blob-bottom {
    bottom: 0;
    right: 0;
    background-color: rgba(97, 118, 75, 0.2);
    transform: translate(50%, 50%);
}

/* Container & Layout */
.newsletter-container {
    position: relative;
    z-index: 10;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

.newsletter-content-wrapper {
    max-width: 768px;
    margin: 0 auto;
    text-align: center;
}

/* Icon Box Style */
.newsletter-icon-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background-color: rgba(255, 255, 255, 0.1) !important;
    border-radius: 16px;
    margin-bottom: 32px;
    backdrop-filter: blur(4px);
}

/* Typography */
.newsletter-title {
    font-size: 32px !important; /* Mobile First */
    font-weight: 700 !important;
    color: #ffffff !important;
    margin-bottom: 16px !important;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .newsletter-title {
        font-size: 48px !important;
    }
}

.newsletter-desc {
    font-size: 18px !important;
    color: rgba(255, 255, 255, 0.8) !important;
    margin-bottom: 40px !important;
    max-width: 576px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Form Layout */
.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 512px;
    margin: 0 auto;
}

@media (min-width: 640px) {
    .newsletter-form {
        flex-direction: row;
        align-items: stretch;
    }
}

/* Input Field Styling */
.newsletter-input-group {
    position: relative;
    flex: 1;
}

.input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    z-index: 2;
    color: #7C5243;
}

.newsletter-input {
    width: 100%;
    height: 56px !important;
    padding-left: 48px !important;
    padding-right: 16px !important;
    background-color: #ffffff !important;
    border: 2px solid transparent !important;
    border-radius: 12px !important;
    color: #4A2C2A !important;
    font-size: 16px !important;
    outline: none;
    transition: all 0.3s ease;
}

.newsletter-input::placeholder {
    color: rgba(74, 44, 42, 0.5) !important;
}

.newsletter-input:focus {
    background-color: #fff !important;
    border-color: #61764B !important;
    box-shadow: 0 0 0 4px rgba(97, 118, 75, 0.2) !important;
}

/* Submit Button */
.newsletter-submit-btn {
    height: 56px !important;
    padding: 0 32px !important;
    background-color: #61764B !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    border: none !important;
    border-radius: 12px !important;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.newsletter-submit-btn:hover {
    background-color: #4f613c !important; /* Darker Green */
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.newsletter-submit-btn:active {
    transform: translateY(0);
}

/* Success Message */
.newsletter-success {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background-color: rgba(97, 118, 75, 0.2) !important;
    border: 1px solid rgba(97, 118, 75, 0.4);
    padding: 16px 24px;
    border-radius: 12px;
    color: #e2e8f0 !important;
    font-size: 16px !important;
    font-weight: 500;
    margin-top: 20px;
    animation: fadeIn 0.5s ease-in-out;
}

.newsletter-success svg {
    color: #8dbf68 !important; /* Bright Green Icon */
    flex-shrink: 0;
}

/* Footer Link */
.newsletter-footer {
    font-size: 14px !important;
    color: rgba(255, 255, 255, 0.4) !important;
    margin-top: 24px !important;
}

/* Animation Keyframes */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}