@charset "utf-8";
/* CSS Document */

 /*:root {
            --primary-color: #3b5249;
            --primary-dark: #2a3b34;
            --accent-color: #c2a68c;
            --text-main: #333333;
            --text-muted: #666666;
            --bg-light: #f9f8f6;
            --bg-card: #ffffff;
            --border-color: #e5e5e5;
            --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
            --shadow-md: 0 6px 20px rgba(0,0,0,0.08);
            --font-heading: 'Playfair Display', serif;
            --font-body: 'Poppins', sans-serif;
        }
*/
:root {
            --primary-color: #304a32;
            --primary-dark: #4f7745;
            --accent-color: #c2a68c;
			--black-heading: #000000;
			--black-light: #333333;
            --text-main: #333333;
            --text-muted: #666666;
            --bg-light: #f9f8f6;
            --bg-card: #ffffff;
            --border-color: #e5e5e5;
            --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
            --shadow-md: 0 4px 15px rgba(0,0,0,0.1);
            --font-heading: 'Playfair Display', serif;
            --font-body: 'Poppins', sans-serif;
        }
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: var(--font-body);
            font-size: 15px;
            color: var(--text-main);
            background-color: var(--bg-light);
            line-height: 1.7;
            overflow-x: hidden;
        }

        a {
            text-decoration: none;
            color: inherit;
            transition: all 0.3s ease;
        }

        ul {
            list-style: none;
        }

        img {
            max-width: 100%;
            height: auto;
            display: block;
            object-fit: cover;
        }

        button {
            cursor: pointer;
            border: none;
            outline: none;
            background: none;
            font-family: inherit;
        }

        .container {
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 20px;
            width: 100%;
        }

        /* ==================== BLOG HEADER ==================== */
        .blog-top-bar {
            background-color: var(--primary-color);
            color: #ffffff;
            font-size: 12px;
            letter-spacing: 1px;
            padding: 8px 0;
            text-align: center;
            text-transform: uppercase;
        }

        .blog-header {
            background: #ffffff;
            border-bottom: 1px solid var(--border-color);
            position: sticky;
            top: 0;
            z-index: 999;
            box-shadow: var(--shadow-sm);
        }

        .header-container {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 18px 20px;
        }

        .logo a {
            font-family: var(--font-heading);
            font-size: 26px;
            font-weight: 700;
            color: var(--primary-color);
            letter-spacing: 1px;
            display: flex;
            flex-direction: column;
            line-height: 1;
        }

        .logo span {
            font-size: 10px;
            letter-spacing: 4px;
            color: var(--text-muted);
            margin-top: 4px;
            font-family: var(--font-body);
            text-transform: uppercase;
        }

        .blog-nav {
            display: flex;
            gap: 25px;
            align-items: center;
        }

        .blog-nav > li {
            position: relative;
        }

        .blog-nav a {
            font-size: 14px;
            font-weight: 500;
            color: var(--text-main);
            padding: 10px 0;
            display: block;
        }

        .blog-nav a:hover,
        .blog-nav a.active {
            color: var(--primary-color);
        }

        /* Header Dropdown Styling */
        .dropdown-menu {
            position: absolute;
            top: 100%;
            left: 0;
            background: #ffffff;
            min-width: 200px;
            box-shadow: var(--shadow-md);
            border: 1px solid var(--border-color);
            border-radius: 6px;
            padding: 10px 0;
            opacity: 0;
            visibility: hidden;
            transform: translateY(10px);
            transition: all 0.3s ease;
            z-index: 1000;
        }

        .dropdown:hover .dropdown-menu {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        .dropdown-menu li a {
            padding: 8px 20px;
            font-size: 13px;
            color: var(--text-main);
        }

        .dropdown-menu li a:hover {
            background-color: var(--bg-light);
            color: var(--primary-color);
        }

        .header-search {
            position: relative;
            display: flex;
            align-items: center;
        }

        .header-search input {
            padding: 8px 35px 8px 15px;
            border: 1px solid var(--border-color);
            border-radius: 20px;
            font-size: 13px;
            outline: none;
            width: 180px;
            transition: width 0.3s ease;
        }

        .header-search input:focus {
            width: 220px;
            border-color: var(--primary-color);
        }

        .header-search button {
            position: absolute;
            right: 12px;
            color: var(--text-muted);
        }

        .mobile-toggle {
            display: none;
            font-size: 22px;
            color: var(--primary-color);
        }

        /* ==================== MOBILE LEFT SLIDER (OFF-CANVAS) ==================== */
        .mobile-drawer-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.5);
            z-index: 1050;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
        }

        .mobile-drawer-overlay.active {
            opacity: 1;
            visibility: visible;
        }

        .mobile-drawer {
            position: fixed;
            top: 0;
            left: -300px;
            width: 280px;
            height: 100%;
            background: #ffffff;
            z-index: 1100;
            transition: left 0.3s ease;
            box-shadow: var(--shadow-md);
            display: flex;
            flex-direction: column;
            padding: 20px;
            overflow-y: auto;
        }

        .mobile-drawer.active {
            left: 0;
        }

        .drawer-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-bottom: 1px solid var(--border-color);
            padding-bottom: 15px;
            margin-bottom: 20px;
        }

        .drawer-close {
            font-size: 22px;
            color: var(--text-main);
            cursor: pointer;
        }

        .drawer-nav {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .drawer-nav a {
            font-size: 15px;
            font-weight: 500;
            color: var(--text-main);
            display: block;
            padding: 8px 0;
        }

        /* Mobile Accordion Styles */
        .accordion-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            width: 100%;
            font-size: 15px;
            font-weight: 500;
            color: var(--text-main);
            padding: 8px 0;
            cursor: pointer;
        }

        .accordion-content {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease;
            padding-left: 15px;
            background-color: var(--bg-light);
            border-radius: 4px;
        }

        .accordion-content a {
            font-size: 13px;
            color: var(--text-muted);
            padding: 6px 0;
        }

        /* ==================== HERO FEATURED POST ==================== */
        .featured-hero {
            padding: 40px 0;
        }

        .hero-card {
            background: #ffffff;
            border-radius: 12px;
            overflow: hidden;
            display: grid;
            grid-template-columns: 1.2fr 1fr;
            box-shadow: var(--shadow-md);
            border: 1px solid var(--border-color);
        }

        .hero-img-box {
            position: relative;
            height: 100%;
            min-height: 400px;
        }

        .hero-img-box img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .hero-badge {
            position: absolute;
            top: 20px;
            left: 20px;
            background: var(--accent-color);
            color: #ffffff;
            font-size: 11px;
            font-weight: 600;
            text-transform: uppercase;
            padding: 5px 12px;
            border-radius: 20px;
            letter-spacing: 1px;
        }

        .hero-content {
            padding: 40px;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .post-meta {
            font-size: 12px;
            color: var(--text-muted);
            margin-bottom: 12px;
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .post-meta i {
            color: var(--accent-color);
        }

        .hero-title {
            font-family: var(--font-heading);
            font-size: 32px;
            line-height: 1.3;
            color: var(--primary-color);
            margin-bottom: 15px;
        }

        .hero-title a:hover {
            color: var(--accent-color);
        }

        .hero-excerpt {
            color: var(--text-muted);
            font-size: 14px;
            margin-bottom: 25px;
        }

        .btn-read-more {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background-color: var(--primary-color);
            color: #ffffff;
            padding: 10px 22px;
            border-radius: 4px;
            font-size: 13px;
            font-weight: 500;
            letter-spacing: 0.5px;
            align-self: flex-start;
        }

        .btn-read-more:hover {
            background-color: var(--primary-dark);
            gap: 12px;
        }

        /* ==================== CATEGORY FILTER BAR ==================== */
        .category-bar {
            margin-bottom: 40px;
            display: flex;
            justify-content: center;
            gap: 12px;
            flex-wrap: wrap;
        }

        .cat-btn {
            background: #ffffff;
            border: 1px solid var(--border-color);
            padding: 8px 20px;
            border-radius: 25px;
            font-size: 13px;
            font-weight: 500;
            color: var(--text-main);
            transition: all 0.3s ease;
        }

        .cat-btn.active, .cat-btn:hover {
            background: var(--primary-color);
            color: #ffffff;
            border-color: var(--primary-color);
        }

        /* ==================== MAIN BLOG LAYOUT (GRID + SIDEBAR) ==================== */
        .blog-main-layout {
            display: grid;
            grid-template-columns: 2.8fr 1.2fr;
            gap: 40px;
            padding-bottom: 60px;
        }

        .blog-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 30px;
        }

        .blog-card {
            background: #ffffff;
            border-radius: 10px;
            overflow: hidden;
            border: 1px solid var(--border-color);
            box-shadow: var(--shadow-sm);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            display: flex;
            flex-direction: column;
        }

        .blog-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-md);
        }

        .card-img-wrap {
            position: relative;
            height: 220px;
            overflow: hidden;
        }

        .card-img-wrap img {
            width: 100%;
            height: 100%;
            transition: transform 0.5s ease;
        }

        .blog-card:hover .card-img-wrap img {
            transform: scale(1.05);
        }

        .card-category {
            position: absolute;
            top: 15px;
            left: 15px;
            background: rgba(255, 255, 255, 0.9);
            color: var(--primary-color);
            font-size: 11px;
            font-weight: 600;
            padding: 4px 10px;
            border-radius: 4px;
            text-transform: uppercase;
        }

        .card-body {
            padding: 22px;
            display: flex;
            flex-direction: column;
            flex-grow: 1;
        }

        .card-title {
            font-family: var(--font-heading);
            font-size: 18px;
            line-height: 1.4;
            color: var(--text-main);
            margin-bottom: 10px;
        }

        .card-title a:hover {
            color: var(--primary-color);
        }

        .card-excerpt {
            font-size: 13px;
            color: var(--text-muted);
            margin-bottom: 20px;
            flex-grow: 1;
        }

        .card-footer {
            border-top: 1px solid var(--bg-light);
            padding-top: 12px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 12px;
            color: var(--text-muted);
        }

        .author-info {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .author-avatar {
            width: 26px;
            height: 26px;
            border-radius: 50%;
        }

        /* ==================== SIDEBAR WIDGETS ==================== */
        .sidebar {
            display: flex;
            flex-direction: column;
            gap: 30px;
        }

        .widget {
            background: #ffffff;
            padding: 25px;
            border-radius: 10px;
            border: 1px solid var(--border-color);
            box-shadow: var(--shadow-sm);
        }

        .widget-title {
            font-family: var(--font-heading);
            font-size: 18px;
            color: var(--primary-color);
            margin-bottom: 18px;
            position: relative;
            padding-bottom: 8px;
        }

        .widget-title::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 40px;
            height: 2px;
            background: var(--accent-color);
        }

        .about-widget {
            text-align: center;
        }

        .author-img {
            width: 90px;
            height: 90px;
            border-radius: 50%;
            margin: 0 auto 15px;
            border: 3px solid var(--bg-light);
        }

        .about-widget p {
            font-size: 13px;
            color: var(--text-muted);
            margin-bottom: 15px;
        }

        .popular-post-item {
            display: flex;
            gap: 12px;
            margin-bottom: 15px;
            align-items: center;
        }

        .popular-post-item:last-child {
            margin-bottom: 0;
        }

        .popular-post-img {
            width: 65px;
            height: 65px;
            border-radius: 6px;
            flex-shrink: 0;
        }

        .popular-post-info h5 {
            font-family: var(--font-heading);
            font-size: 14px;
            line-height: 1.3;
            margin-bottom: 4px;
        }

        .popular-post-info h5 a:hover {
            color: var(--primary-color);
        }

        .popular-post-info span {
            font-size: 11px;
            color: var(--text-muted);
        }

        /* ==================== NEWSLETTER SECTION ==================== */
        .newsletter-section {
            background-color: var(--primary-color);
            color: #ffffff;
            padding: 50px 0;
        }

        .newsletter-box {
            max-width: 650px;
            margin: 0 auto;
            text-align: center;
        }

        .newsletter-box i {
            font-size: 38px;
            color: var(--accent-color);
            margin-bottom: 15px;
        }

        .newsletter-box h3 {
            font-family: var(--font-heading);
            font-size: 26px;
            margin-bottom: 10px;
        }

        .newsletter-box p {
            font-size: 14px;
            color: #e0e0e0;
            margin-bottom: 25px;
        }

        .newsletter-form-inline {
            display: flex;
            gap: 10px;
        }

        .newsletter-form-inline input {
            flex: 1;
            padding: 12px 18px;
            border: none;
            border-radius: 4px;
            outline: none;
            font-size: 14px;
        }

        .newsletter-form-inline button {
            background: var(--accent-color);
            color: #ffffff;
            padding: 12px 25px;
            font-weight: 600;
            border-radius: 4px;
            text-transform: uppercase;
            font-size: 13px;
        }

        .newsletter-form-inline button:hover {
            background: #b0937a;
        }

        /* ==================== CLEAN BLOG FOOTER ==================== */
        .blog-footer {
            background: #ffffff;
            border-top: 1px solid var(--border-color);
            padding: 30px 0;
        }

        .footer-simple-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 15px;
        }

        .footer-copyright {
            font-size: 13px;
            color: var(--text-muted);
        }

        .social-links {
            display: flex;
            gap: 12px;
        }

        .social-links a {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background: var(--bg-light);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--primary-color);
            font-size: 14px;
            transition: all 0.3s ease;
        }

        .social-links a:hover {
            background: var(--primary-color);
            color: #ffffff;
        }

        /* ==================== READ POST MODAL ==================== */
        .modal-overlay {
            position: fixed;
            top: 0; left: 0; width: 100%; height: 100%;
            background: rgba(0,0,0,0.6);
            z-index: 2000;
            display: none;
            justify-content: center;
            align-items: center;
            padding: 20px;
        }

        .modal-overlay.active {
            display: flex;
        }

        .modal-content {
            background: #ffffff;
            border-radius: 10px;
            max-width: 800px;
            width: 100%;
            max-height: 85vh;
            overflow-y: auto;
            position: relative;
            padding: 30px;
        }

        .modal-close {
            position: absolute;
            top: 15px;
            right: 20px;
            font-size: 24px;
            color: var(--text-muted);
            cursor: pointer;
        }

        .modal-body h2 {
            font-family: var(--font-heading);
            color: var(--primary-color);
            margin-bottom: 15px;
        }

        .modal-body img {
            width: 100%;
            height: 300px;
            border-radius: 8px;
            margin-bottom: 20px;
        }

        .modal-body p {
            margin-bottom: 15px;
            color: var(--text-main);
            font-size: 14px;
        }

        /* ==================== RESPONSIVE DESIGN ==================== */
        @media (max-width: 1024px) {
            .blog-main-layout {
                grid-template-columns: 1fr;
            }
            .sidebar {
                grid-template-columns: repeat(2, 1fr);
                display: grid;
            }
        }

        @media (max-width: 768px) {
            .blog-nav, .header-search {
                display: none;
            }
            .mobile-toggle {
                display: block;
            }
            .hero-card {
                grid-template-columns: 1fr;
            }
            .hero-img-box {
                min-height: 250px;
            }
            .hero-content {
                padding: 25px;
            }
            .hero-title {
                font-size: 24px;
            }
            .blog-grid {
                grid-template-columns: 1fr;
            }
            .sidebar {
                grid-template-columns: 1fr;
            }
            .footer-simple-content {
                flex-direction: column;
                text-align: center;
            }
            .newsletter-form-inline {
                flex-direction: column;
            }
        }

 /* ==================== BREADCRUMB & ARTICLE HEADER ==================== */
        .breadcrumb {
            padding: 10px 0 20px;
            font-size: 13px;
            color: var(--text-muted);
        }

        .breadcrumb a:hover {
            color: var(--primary-color);
        }

        .post-detail-header {
            background: #ffffff;
            padding: 35px;
            border-radius: 12px;
            border: 1px solid var(--border-color);
            margin-bottom: 30px;
            box-shadow: var(--shadow-sm);
        }

        .post-cat-badge {
            display: inline-block;
            background: var(--accent-color);
            color: #ffffff;
            font-size: 11px;
            font-weight: 600;
            text-transform: uppercase;
            padding: 4px 14px;
            border-radius: 20px;
            letter-spacing: 1px;
            margin-bottom: 15px;
        }

        .post-main-title {
            font-family: var(--font-heading);
            font-size: 38px;
            line-height: 1.25;
            color: var(--primary-color);
            margin-bottom: 18px;
        }

        .post-meta-details {
            display: flex;
            align-items: center;
            gap: 20px;
            flex-wrap: wrap;
            font-size: 13px;
            color: var(--text-muted);
            border-top: 1px solid var(--border-color);
            padding-top: 18px;
        }

        .post-meta-details i {
            color: var(--accent-color);
            margin-right: 5px;
        }

        .post-author-chip {
            display: flex;
            align-items: center;
            gap: 8px;
            font-weight: 600;
            color: var(--text-main);
        }

        .post-author-chip img {
            width: 32px;
            height: 32px;
            border-radius: 50%;
        }

        /* ==================== ARTICLE DETAIL LAYOUT ==================== */
        .blog-main-layout {
            display: grid;
            grid-template-columns: 2.8fr 1.2fr;
            gap: 40px;
            padding-bottom: 60px;
        }

        .article-container {
            background: #ffffff;
            border-radius: 12px;
            border: 1px solid var(--border-color);
            padding: 35px;
            box-shadow: var(--shadow-sm);
        }

        .article-featured-img {
            width: 100%;
            height: 450px;
            border-radius: 10px;
            margin-bottom: 30px;
        }

        .article-content {
            font-size: 16px;
            color: #444444;
            line-height: 1.8;
        }

        .article-content p {
            margin-bottom: 22px;
        }

        .article-content h2, 
        .article-content h3 {
            font-family: var(--font-heading);
            color: var(--primary-color);
            margin: 30px 0 15px;
        }

        .article-content h2 { font-size: 26px; }
        .article-content h3 { font-size: 21px; }

        .article-content blockquote {
            background: var(--bg-light);
            border-left: 4px solid var(--primary-color);
            padding: 20px 25px;
            margin: 25px 0;
            font-family: var(--font-heading);
            font-style: italic;
            font-size: 18px;
            color: var(--primary-dark);
            border-radius: 0 8px 8px 0;
        }

        .article-content img {
            border-radius: 8px;
            margin: 25px 0;
        }

        /* Share & Tags */
        .post-footer-bar {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 15px;
            padding-top: 25px;
            margin-top: 30px;
            border-top: 1px solid var(--border-color);
        }

        .post-tags {
            display: flex;
            gap: 8px;
            flex-wrap: wrap;
        }

        .tag-item {
            background: var(--bg-light);
            padding: 5px 12px;
            border-radius: 4px;
            font-size: 12px;
            color: var(--text-muted);
            border: 1px solid var(--border-color);
        }

        .share-links {
            display: flex;
            align-items: center;
            gap: 10px;
            font-weight: 500;
            font-size: 14px;
        }

        .share-btn {
            width: 34px;
            height: 34px;
            border-radius: 50%;
            background: var(--bg-light);
            display: inline-flex;
            align-items: center;
            justify-content: center;
            color: var(--primary-color);
            font-size: 13px;
            transition: all 0.3s ease;
        }

        .share-btn:hover {
            background: var(--primary-color);
            color: #ffffff;
        }

        /* Author Box */
        .author-bio-card {
            display: flex;
            gap: 20px;
            background: var(--bg-light);
            padding: 25px;
            border-radius: 10px;
            margin-top: 35px;
            align-items: center;
        }

        .author-bio-card img {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            flex-shrink: 0;
        }

        /* ==================== SIDEBAR WIDGETS ==================== */
        .sidebar {
            display: flex;
            flex-direction: column;
            gap: 30px;
        }

        .widget {
            background: #ffffff;
            padding: 25px;
            border-radius: 10px;
            border: 1px solid var(--border-color);
            box-shadow: var(--shadow-sm);
        }

        .widget-title {
            font-family: var(--font-heading);
            font-size: 18px;
            color: var(--primary-color);
            margin-bottom: 18px;
            position: relative;
            padding-bottom: 8px;
        }

        .widget-title::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 40px;
            height: 2px;
            background: var(--accent-color);
        }

        .about-widget { text-align: center; }

        .author-img {
            width: 90px;
            height: 90px;
            border-radius: 50%;
            margin: 0 auto 15px;
            border: 3px solid var(--bg-light);
        }

        .popular-post-item {
            display: flex;
            gap: 12px;
            margin-bottom: 15px;
            align-items: center;
        }

        .popular-post-img {
            width: 65px;
            height: 65px;
            border-radius: 6px;
            flex-shrink: 0;
        }

        .popular-post-info h5 {
            font-family: var(--font-heading);
            font-size: 14px;
            line-height: 1.3;
            margin-bottom: 4px;
        }

        .popular-post-info span {
            font-size: 11px;
            color: var(--text-muted);
        }

        /* ==================== RELATED POSTS CAROUSEL (7 POSTS SLIDER) ==================== */
        .related-posts-section {
            padding: 50px 0;
            border-top: 1px solid var(--border-color);
            background: #ffffff;
        }

        .section-header-flex {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 30px;
        }

        .section-title {
            font-family: var(--font-heading);
            font-size: 26px;
            color: var(--primary-color);
        }

        .carousel-nav-btns {
            display: flex;
            gap: 10px;
        }

        .nav-btn {
            width: 42px;
            height: 42px;
            border-radius: 50%;
            background: var(--bg-light);
            border: 1px solid var(--border-color);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--primary-color);
            font-size: 16px;
            transition: all 0.3s ease;
        }

        .nav-btn:hover {
            background: var(--primary-color);
            color: #ffffff;
            border-color: var(--primary-color);
        }

        .carousel-wrapper {
            overflow: hidden;
            width: 100%;
        }

        .carousel-track {
            display: flex;
            gap: 24px;
            transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
        }

        .related-card {
            flex: 0 0 calc(33.333% - 16px);
            background: #ffffff;
            border-radius: 10px;
            overflow: hidden;
            border: 1px solid var(--border-color);
            box-shadow: var(--shadow-sm);
            display: flex;
            flex-direction: column;
            transition: transform 0.3s ease;
        }

        .related-card:hover {
            transform: translateY(-4px);
        }

        .related-img-wrap {
            height: 180px;
            position: relative;
        }

        .related-img-wrap img {
            width: 100%;
            height: 100%;
        }

        .related-body {
            padding: 18px;
            display: flex;
            flex-direction: column;
            flex-grow: 1;
        }

        .related-body h4 {
            font-family: var(--font-heading);
            font-size: 16px;
            line-height: 1.4;
            margin-bottom: 10px;
        }

        .related-body h4 a:hover {
            color: var(--primary-color);
        }

        /* ==================== RESPONSIVE DESIGN ==================== */
        @media (max-width: 1024px) {
            .blog-main-layout { grid-template-columns: 1fr; }
            .related-card { flex: 0 0 calc(50% - 12px); }
        }

        @media (max-width: 768px) {
            .post-main-title { font-size: 26px; }
            .article-featured-img { height: 260px; }
            .related-card { flex: 0 0 100%; }
            .author-bio-card { flex-direction: column; text-align: center; }
        }
        /* ==================== SHARED SITE HEADER (ported from the Website's css/style.css
           so Website/Blog/Calculator all use the exact same header markup + styling —
           see includes/site-header-render.php) ==================== */

        #mobileMenuClose {
            width: 44px;
            height: 44px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: none;
            border: none;
            cursor: pointer;
            color: var(--text-main);
        }

        @media (max-width: 768px) {
            input, textarea, select { font-size: 16px !important; }
        }

.top-bar {
            background-color: var(--primary-color);
            color: #ffffff;
            font-size: 13px;
            padding: 8px 0;
            border-bottom: 1px solid rgba(255,255,255,0.1);
        }

.top-bar .container {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

.top-bar-item {
            display: flex;
            align-items: center;
            gap: 8px;
        }

.mobile-top-line {
            display: none;
            height: 5px;
            background-color: var(--primary-color);
            width: 100%;
        }

.header {
            background: #ffffff;
            border-bottom: 1px solid var(--border-color);
            position: relative;
            z-index: 100;
        }

.header-main {
            padding: 20px 0;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 30px;
        }

.logo a {
            font-family: var(--font-heading);
            font-size: 26px;
            font-weight: 700;
            color: var(--primary-color);
            letter-spacing: 1px;
            display: flex;
            flex-direction: column;
            line-height: 1;
        }

.logo span {
            font-size: 10px;
            letter-spacing: 4px;
            color: var(--text-muted);
            margin-top: 4px;
            font-family: var(--font-body);
            text-transform: uppercase;
        }

.search-box {
            flex: 1;
            max-width: 600px;
            display: flex;
            border: 1px solid var(--border-color);
            border-radius: 4px;
            overflow: hidden;
        }

.search-box select {
            padding: 0 15px;
            border: none;
            border-right: 1px solid var(--border-color);
            background-color: #fcfcfc;
            font-size: 14px;
            color: var(--text-muted);
            outline: none;
            cursor: pointer;
        }

.search-box input {
            flex: 1;
            padding: 12px 15px;
            border: none;
            outline: none;
            font-size: 14px;
        }

.search-box button {
            background-color: var(--primary-dark);
            color: #ffffff;
            padding: 0 22px;
            font-size: 16px;
            transition: background 0.3s;
        }

.header-actions {
            display: flex;
            align-items: center;
            gap: 25px;
        }

.action-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            font-size: 12px;
            color: var(--text-main);
            position: relative;
            cursor: pointer;
        }

.action-item i {
            font-size: 20px;
            margin-bottom: 3px;
            color: var(--primary-color);
        }

.action-item .badge {
            position: absolute;
            top: -5px;
            right: 0px;
            background: var(--primary-dark);
            color: white;
            font-size: 10px;
            width: 16px;
            height: 16px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
        }

.cart-wrapper {
            position: relative;
        }

.cart-shutter {
            position: absolute;
            top: 100%;
            right: 0;
            width: 340px;
            background: #ffffff;
            border: 1px solid var(--border-color);
            box-shadow: var(--shadow-md);
            border-radius: 6px;
            padding: 20px;
            display: none;
            z-index: 1000;
        }

.cart-wrapper:hover .cart-shutter,
        .cart-shutter.active {
            display: block;
        }

.cart-shutter-header {
            font-weight: 600;
            border-bottom: 1px solid var(--border-color);
            padding-bottom: 10px;
            margin-bottom: 15px;
            display: flex;
            justify-content: space-between;
        }

.cart-item {
            display: flex;
            gap: 12px;
            margin-bottom: 15px;
            align-items: center;
        }

.cart-item img {
            width: 50px;
            height: 50px;
            border-radius: 4px;
        }

.cart-item-details {
            flex: 1;
            font-size: 13px;
        }

.cart-item-title {
            font-weight: 500;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            max-width: 180px;
        }

.cart-item-price {
            color: var(--primary-color);
            font-weight: 600;
        }

.cart-total {
            border-top: 1px solid var(--border-color);
            padding-top: 15px;
            display: flex;
            justify-content: space-between;
            font-weight: 600;
            font-size: 15px;
            margin-bottom: 15px;
        }

.btn-checkout {
            display: block;
            width: 100%;
            background: var(--primary-color);
            color: white;
            text-align: center;
            padding: 10px;
            border-radius: 4px;
            font-weight: 600;
            font-size: 14px;
            text-transform: uppercase;
        }

.btn-checkout:hover {
            background: var(--primary-dark);
        }

.navbar {
            background: #ffffff;
            border-top: 1px solid var(--border-color);
            border-bottom: 1px solid var(--border-color);
        }

.navbar .container {
            display: flex;
            align-items: center;
            height: 50px;
        }

.all-categories-btn {
            background-color: var(--primary-color);
            color: #ffffff;
            padding: 0 20px;
            height: 100%;
            display: flex;
            align-items: center;
            gap: 12px;
            font-weight: 500;
            font-size: 15px;
            cursor: pointer;
            position: relative;
            width: 260px;
            justify-content: space-between;
        }

.categories-dropdown {
            position: absolute;
            top: 100%;
            left: 0;
            width: 260px;
            background: #ffffff;
            box-shadow: var(--shadow-md);
            border: 1px solid var(--border-color);
            display: none;
            z-index: 1000;
            text-align: left;
        }

.all-categories-btn:hover .categories-dropdown,
        .categories-dropdown.active {
            display: block;
        }

.categories-dropdown > li {
            position: relative;
            border-bottom: 1px solid #f5f5f5;
        }

.categories-dropdown a {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 12px 18px;
            font-size: 14px;
            color: var(--text-main);
            text-align: left;
        }

.categories-dropdown a .cat-left {
            display: flex;
            align-items: center;
            gap: 12px;
            text-align: left;
        }

.categories-dropdown a i {
            width: 18px;
            color: var(--primary-dark);
            text-align: center;
        }

.categories-dropdown > li:hover {
            background-color: var(--bg-light);
        }

.sub-categories-menu {
            position: absolute;
            top: 0;
            left: 100%;
            width: 240px;
            background: #ffffff;
            border: 1px solid var(--border-color);
            box-shadow: var(--shadow-md);
            display: none;
            z-index: 1001;
            text-align: left;
        }

.categories-dropdown > li:hover .sub-categories-menu {
            display: block;
        }

.sub-categories-menu li a {
            padding: 11px 18px;
            font-size: 13px;
            display: flex;
            align-items: center;
            justify-content: flex-start;
            gap: 12px;
            text-align: left;
        }

.sub-categories-menu li a i {
            color: var(--primary-color);
            width: 18px;
        }

.sub-categories-menu li {
            position: relative;
        }

.sub-categories-menu li:hover > .sub-categories-menu {
            display: block;
        }

.nav-links {
            display: flex;
            align-items: center;
            height: 100%;
            margin-left: 20px;
            flex: 1;
            justify-content: space-between;
        }

.nav-links li a {
            padding: 0 15px;
            font-weight: 500;
            font-size: 15px;
            color: var(--text-main);
            display: flex;
            align-items: center;
            height: 100%;
        }

.nav-links li a:hover {
            color: var(--primary-color);
        }

.mobile-hamburger-btn {
            display: none;
            align-items: center;
            justify-content: center;
            width: 44px;
            height: 44px;
            font-size: 24px;
            color: var(--primary-color);
            cursor: pointer;
            background: none;
            border: none;
        }

.mobile-drawer-overlay {
            position: fixed;
            top: 0; left: 0; width: 100%; height: 100%;
            background: rgba(0,0,0,0.5);
            z-index: 2000;
            display: none;
        }

.mobile-drawer {
            position: fixed;
            top: 0; left: -300px; width: 300px; height: 100%;
            background: #ffffff;
            z-index: 2001;
            transition: left 0.3s ease;
            overflow-y: auto;
        }

.mobile-drawer.open { left: 0; }

.mobile-drawer-overlay.open { display: block; }

.drawer-header {
            padding: 20px;
            background: var(--bg-light);
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-bottom: 1px solid var(--border-color);
        }

.drawer-categories-list a {
            display: flex;
            align-items: center;
            gap: 15px;
            padding: 12px 20px;
            font-size: 15px;
            border-bottom: 1px solid #f0f0f0;
            text-align: left;
        }

.drawer-categories-list a i {
            color: var(--primary-color);
            width: 20px;
        }

@media (max-width: 768px) {
.top-bar { display: none; }

.mobile-top-line { display: block; }

.navbar { display: none; }

.header-main {
                flex-direction: column;
                align-items: center;
                gap: 15px;
            }

.mobile-header-top {
                width: 100%;
                display: flex;
                align-items: center;
                justify-content: space-between;
            }

.mobile-hamburger-btn { display: flex; order: 1; }

.logo { order: 2; margin: 0 auto; text-align: center; }

.search-box { width: 100%; order: 3; }

.header-actions {
                order: 4;
                width: 100%;
                justify-content: center;
                gap: 30px;
                border-top: 1px dashed var(--border-color);
                padding-top: 10px;
            }

.cart-shutter {
                right: -50px;
                width: 300px;
            }

}

@media (max-width: 768px) {
.top-bar { display: none; }

.mobile-top-line { display: block; }

.navbar { display: none; }

.header-main {
                flex-direction: column;
                align-items: center;
                gap: 15px;
            }

.mobile-header-top {
                width: 100%;
                display: flex;
                align-items: center;
                justify-content: space-between;
            }

.mobile-hamburger-btn { display: flex; order: 1; }

.logo { order: 2; margin: 0 auto; text-align: center; }

.search-box { width: 100%; order: 3; }

.header-actions {
                order: 4;
                width: 100%;
                justify-content: center;
                gap: 30px;
                border-top: 1px dashed var(--border-color);
                padding-top: 10px;
            }

}

.mobile-drawer-overlay {
            position: fixed;
            top: 0; left: 0; width: 100%; height: 100%;
            background: rgba(0,0,0,0.5);
            z-index: 2000;
            display: none;
        }

.mobile-drawer {
            position: fixed;
            top: 0; left: -300px; width: 300px; height: 100%;
            background: #ffffff;
            z-index: 2001;
            transition: left 0.3s ease;
            overflow-y: auto;
        }

.mobile-drawer.open { left: 0; }

.mobile-drawer-overlay.open { display: block; }

.drawer-header {
            padding: 20px;
            background: var(--bg-light);
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-bottom: 1px solid var(--border-color);
        }

.drawer-categories-list a {
            display: flex;
            align-items: center;
            gap: 15px;
            padding: 12px 20px;
            font-size: 15px;
            border-bottom: 1px solid #f0f0f0;
        }

.drawer-categories-list a i {
            color: var(--primary-color);
            width: 20px;
        }


/* Async form submission (newsletter, and any future [data-async-form]) */
.form-async-message {
    padding: 10px 14px;
    border-radius: 6px;
    margin-bottom: 14px;
    font-size: 13.5px;
}
.form-async-message[data-type="success"] { background: #e8f5e9; color: #2e7d32; border: 1px solid #c8e6c9; }
.form-async-message[data-type="error"] { background: #fdecea; color: #b3261e; border: 1px solid #f5c6cb; }
[data-async-submit-btn][disabled] { opacity: 0.75; cursor: not-allowed; }
.btn-spinner {
    display: inline-block;
    width: 13px;
    height: 13px;
    border: 2px solid rgba(255,255,255,0.4);
    border-top-color: #fff;
    border-radius: 50%;
    margin-right: 8px;
    vertical-align: -2px;
    animation: btnSpin 0.7s linear infinite;
}
@keyframes btnSpin { to { transform: rotate(360deg); } }
