/* ====================================================
   blog.css — Shared styles for blogs.php + blog.php
   Scoped under .blog-page (listing) and .blog-post-page (single post)
   ==================================================== */

/* ---- Shared: Page backgrounds ---- */
.blog-page, .blog-post-page { background: #FAF8F5; min-height: 100vh; }

/* ---- Shared: Breadcrumbs ---- */
.blog-breadcrumbs { background: white; padding: 15px 0; border-bottom: 1px solid #eee; }
.blog-page .blog-breadcrumbs .container      { max-width: 1400px; margin: 0 auto; padding: 0 20px; }
.blog-post-page .blog-breadcrumbs .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

.breadcrumb-list {
    display: flex; align-items: center; gap: 10px;
    list-style: none; margin: 0; padding: 0;
    font-size: 0.9rem; flex-wrap: wrap;
}
.breadcrumb-list li    { display: flex; align-items: center; gap: 10px; }
.breadcrumb-list a     { color: #666; text-decoration: none; transition: color 0.2s; }
.breadcrumb-list a:hover { color: #1a3c34; }
.breadcrumb-list .separator { color: #ccc; }
.breadcrumb-list .current   { color: #1a3c34; font-weight: 600; }


/* ====================================================
   BLOG LISTING PAGE — CINEMATIC DESIGN
   ==================================================== */

/* ── Cinematic Hero ── */
.blog-hero-cinematic {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(160deg, #0a1f19 0%, #132e25 25%, #1a3c34 50%, #0d2820 75%, #071a14 100%);
}
.blog-hero-overlay {
    position: absolute; inset: 0;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(197,160,89,0.12) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(197,160,89,0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 100%, rgba(0,0,0,0.4) 0%, transparent 60%);
    z-index: 1;
}
/* Floating particles */
.blog-hero-particles {
    position: absolute; inset: 0; z-index: 1; pointer-events: none;
}
.blog-hero-particles span {
    position: absolute;
    width: 4px; height: 4px;
    background: rgba(197,160,89,0.4);
    border-radius: 50%;
    animation: blogParticleFloat 8s infinite ease-in-out;
}
.blog-hero-particles span:nth-child(1) { top: 20%; left: 15%; animation-delay: 0s; animation-duration: 7s; }
.blog-hero-particles span:nth-child(2) { top: 60%; left: 75%; animation-delay: 1.5s; animation-duration: 9s; width: 6px; height: 6px; }
.blog-hero-particles span:nth-child(3) { top: 35%; left: 55%; animation-delay: 3s; animation-duration: 6s; }
.blog-hero-particles span:nth-child(4) { top: 75%; left: 25%; animation-delay: 4.5s; animation-duration: 10s; width: 3px; height: 3px; }
.blog-hero-particles span:nth-child(5) { top: 15%; left: 85%; animation-delay: 2s; animation-duration: 8s; width: 5px; height: 5px; }

@keyframes blogParticleFloat {
    0%, 100% { transform: translateY(0) translateX(0); opacity: 0.3; }
    25% { transform: translateY(-30px) translateX(15px); opacity: 0.8; }
    50% { transform: translateY(-10px) translateX(-10px); opacity: 0.5; }
    75% { transform: translateY(-40px) translateX(20px); opacity: 0.9; }
}

.blog-hero-content {
    position: relative; z-index: 2;
    text-align: center;
    padding: 60px 20px 50px;
    max-width: 720px;
    animation: blogHeroFadeIn 1s ease-out;
}
@keyframes blogHeroFadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Badge */
.blog-hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 20px;
    background: rgba(197,160,89,0.15);
    border: 1px solid rgba(197,160,89,0.35);
    border-radius: 50px;
    color: #c5a059;
    font-size: 0.8rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 2px;
    margin-bottom: 25px;
    backdrop-filter: blur(10px);
}
.blog-hero-badge i { font-size: 0.75rem; }

/* Title */
.blog-hero-cinematic h1 {
    font-size: 3.8rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 18px;
    line-height: 1.1;
    letter-spacing: -1px;
    text-shadow: 0 4px 30px rgba(0,0,0,0.4);
}

/* Subtitle */
.blog-hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.7;
    margin: 0 auto 35px;
    max-width: 560px;
    font-weight: 400;
}

/* Search Bar — cinematic */
.blog-hero-cinematic .blog-search-bar {
    max-width: 520px; margin: 0 auto 35px;
    position: relative;
}
.blog-hero-cinematic .blog-search-bar input {
    width: 100%; padding: 16px 60px 16px 50px;
    border: 1px solid rgba(197,160,89,0.3);
    border-radius: 60px; font-size: 0.95rem;
    background: rgba(255,255,255,0.08);
    color: #fff;
    backdrop-filter: blur(15px);
    transition: all 0.3s;
}
.blog-hero-cinematic .blog-search-bar input::placeholder { color: rgba(255,255,255,0.45); }
.blog-hero-cinematic .blog-search-bar input:focus {
    outline: none;
    border-color: #c5a059;
    background: rgba(255,255,255,0.12);
    box-shadow: 0 0 30px rgba(197,160,89,0.15);
}
.blog-hero-cinematic .blog-search-bar > i {
    position: absolute; left: 20px; top: 50%;
    transform: translateY(-50%); color: rgba(255,255,255,0.4);
    font-size: 0.9rem;
}
.blog-hero-cinematic .blog-search-bar button {
    position: absolute; right: 6px; top: 6px; bottom: 6px;
    width: 44px;
    background: linear-gradient(135deg, #c5a059, #d4b06a);
    color: #1a3c34;
    border: none; border-radius: 50%;
    font-size: 0.85rem; font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    display: flex; align-items: center; justify-content: center;
}
.blog-hero-cinematic .blog-search-bar button:hover {
    background: linear-gradient(135deg, #d4b06a, #e0c07a);
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(197,160,89,0.4);
}

/* Hero Stats */
.blog-hero-stats {
    display: flex; align-items: center; justify-content: center;
    gap: 30px;
}
.hero-stat { text-align: center; }
.hero-stat-number {
    display: block; font-size: 1.8rem; font-weight: 800;
    color: #c5a059; line-height: 1.2;
}
.hero-stat-label {
    display: block; font-size: 0.72rem; font-weight: 600;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase; letter-spacing: 1.5px;
    margin-top: 4px;
}
.hero-stat-divider {
    width: 1px; height: 35px;
    background: linear-gradient(180deg, transparent, rgba(197,160,89,0.4), transparent);
}

/* Scroll hint */
.blog-hero-scroll-hint {
    position: absolute; bottom: 25px; left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex; flex-direction: column; align-items: center; gap: 6px;
    color: rgba(255,255,255,0.3);
    font-size: 0.68rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 2px;
    animation: blogScrollBounce 2.5s infinite;
}
.blog-hero-scroll-hint i { font-size: 0.8rem; }
@keyframes blogScrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.3; }
    50% { transform: translateX(-50%) translateY(8px); opacity: 0.7; }
}

/* ── Categories Bar ── */
.blog-categories-bar {
    background: white;
    padding: 18px 0;
    border-bottom: 1px solid #eee;
    overflow-x: auto;
    position: sticky; top: 0; z-index: 50;
    box-shadow: 0 2px 15px rgba(0,0,0,0.04);
}
.blog-categories-bar .container {
    max-width: 1400px; margin: 0 auto; padding: 0 20px;
    display: flex; gap: 10px; flex-wrap: nowrap;
    justify-content: center;
}
.category-pill {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 22px; background: #f8f9fa; color: #555;
    border-radius: 50px; font-size: 0.85rem; font-weight: 600;
    text-decoration: none; white-space: nowrap;
    transition: all 0.3s; border: 1px solid transparent;
}
.category-pill:hover {
    background: #f0ebe3; color: #1a3c34;
    border-color: rgba(197,160,89,0.3);
}
.category-pill.active {
    background: linear-gradient(135deg, #1a3c34, #2d5a4e);
    color: white;
    box-shadow: 0 4px 15px rgba(26,60,52,0.3);
}
.category-pill .count {
    background: rgba(0,0,0,0.08); padding: 2px 8px;
    border-radius: 12px; font-size: 0.75rem;
}
.category-pill.active .count { background: rgba(255,255,255,0.2); }

/* ── Blog Container ── */
.blog-container { max-width: 1300px; margin: 0 auto; padding: 50px 20px 80px; }

/* ── Results Info ── */
.blog-results-info {
    display: flex; justify-content: space-between;
    align-items: center; margin-bottom: 30px;
    flex-wrap: wrap; gap: 15px;
}
.blog-results-info h2 { font-size: 1.5rem; font-weight: 700; color: #1a3c34; margin: 0; }
.blog-results-info span { color: #888; }

/* ── Scroll Reveal Animation ── */
.blog-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1), transform 0.7s cubic-bezier(0.22,1,0.36,1);
}
.blog-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ── Featured Post Card ── */
.blog-featured-card {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    min-height: 420px;
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 8px 40px rgba(0,0,0,0.1);
    transition: all 0.5s cubic-bezier(0.22,1,0.36,1);
    margin-bottom: 50px;
}
.blog-featured-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.18);
}

.blog-featured-image {
    position: relative; overflow: hidden;
    background: linear-gradient(135deg, #1a3c34, #0d2820);
}
.blog-featured-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.22,1,0.36,1);
}
.blog-featured-card:hover .blog-featured-image img {
    transform: scale(1.06);
}
.blog-featured-gradient {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(26,60,52,0.15) 0%, rgba(0,0,0,0.05) 100%);
    pointer-events: none;
}
.featured-placeholder {
    display: flex; align-items: center; justify-content: center;
    width: 100%; height: 100%; color: rgba(255,255,255,0.2); font-size: 5rem;
}

.blog-featured-content {
    padding: 40px 38px;
    display: flex; flex-direction: column; justify-content: center;
}
.blog-featured-top {
    display: flex; align-items: center; gap: 12px;
    margin-bottom: 18px; flex-wrap: wrap;
}
.blog-featured-tag {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 16px;
    background: rgba(197,160,89,0.1);
    color: #c5a059;
    border-radius: 20px; font-size: 0.78rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.5px;
}
.blog-featured-badge {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 5px 14px;
    background: linear-gradient(135deg, #c5a059, #d4b06a);
    color: #1a3c34;
    border-radius: 20px; font-size: 0.72rem; font-weight: 800;
    text-transform: uppercase; letter-spacing: 0.5px;
}
.blog-featured-content h2 {
    font-size: 2rem; font-weight: 800;
    color: #1a3c34; line-height: 1.25;
    margin: 0 0 14px;
    transition: color 0.3s;
}
.blog-featured-card:hover .blog-featured-content h2 { color: #c5a059; }
.blog-featured-content p {
    font-size: 1rem; line-height: 1.7; color: #666;
    margin: 0 0 20px;
    display: -webkit-box; -webkit-line-clamp: 3;
    -webkit-box-orient: vertical; overflow: hidden;
}
.blog-featured-meta {
    display: flex; gap: 18px; flex-wrap: wrap;
    font-size: 0.82rem; color: #999; margin-bottom: 22px;
}
.blog-featured-meta span { display: inline-flex; align-items: center; gap: 5px; }
.blog-featured-meta i { color: #c5a059; font-size: 0.78rem; }
.blog-featured-cta {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 0.9rem; font-weight: 700; color: #1a3c34;
    transition: all 0.3s;
}
.blog-featured-cta i { transition: transform 0.3s; }
.blog-featured-card:hover .blog-featured-cta { color: #c5a059; }
.blog-featured-card:hover .blog-featured-cta i { transform: translateX(6px); }

/* ── Section Header ── */
.blog-section-header {
    display: flex; align-items: center; gap: 20px;
    margin-bottom: 40px;
}
.blog-section-header h3 {
    font-size: 1.1rem; font-weight: 700; color: #1a3c34;
    text-transform: uppercase; letter-spacing: 3px;
    white-space: nowrap; margin: 0;
}
.blog-section-line {
    flex: 1; height: 1px;
    background: linear-gradient(90deg, rgba(197,160,89,0.4), transparent);
}
.blog-section-line:first-child {
    background: linear-gradient(90deg, transparent, rgba(197,160,89,0.4));
}

/* ── Blog Grid ── */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* ── Blog Card — Cinematic Style ── */
.blog-card {
    background: white; border-radius: 20px; overflow: hidden;
    box-shadow: 0 4px 25px rgba(0,0,0,0.06);
    transition: all 0.5s cubic-bezier(0.22,1,0.36,1);
    text-decoration: none; display: flex; flex-direction: column;
    position: relative;
}
.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.blog-image {
    width: 100%; aspect-ratio: 16 / 10;
    background: linear-gradient(135deg, #1a3c34, #0d2820);
    display: flex; align-items: center; justify-content: center;
    overflow: hidden; position: relative;
}
.blog-image img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.22,1,0.36,1);
}
.blog-card:hover .blog-image img { transform: scale(1.08); }
.blog-image .placeholder-icon { font-size: 3rem; color: rgba(255,255,255,0.15); }

/* Card overlay gradient */
.blog-card-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.35) 100%);
    pointer-events: none; opacity: 0;
    transition: opacity 0.4s;
}
.blog-card:hover .blog-card-overlay { opacity: 1; }

/* Card category tag (overlaid on image) */
.blog-card-tag {
    position: absolute; top: 14px; left: 14px;
    padding: 5px 14px;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(10px);
    color: #1a3c34; border-radius: 20px;
    font-size: 0.72rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.5px;
    z-index: 2;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Card content box (listing page) */
.blog-page .blog-content {
    padding: 22px 24px 24px; flex: 1; display: flex; flex-direction: column;
}

/* Card title */
.blog-page .blog-title {
    font-size: 1.15rem; font-weight: 700; color: #1a3c34;
    margin-bottom: 10px; line-height: 1.35;
    transition: color 0.3s;
}
.blog-card:hover .blog-title { color: #c5a059; }

.blog-excerpt {
    font-size: 0.9rem; line-height: 1.6; color: #777;
    margin-bottom: 16px; flex: 1;
    display: -webkit-box; -webkit-line-clamp: 2;
    -webkit-box-orient: vertical; overflow: hidden;
}

/* Card meta */
.blog-page .blog-meta {
    display: flex; align-items: center; gap: 16px;
    font-size: 0.78rem; color: #aaa;
    padding-top: 14px; border-top: 1px solid #f0f0f0;
}
.blog-page .blog-meta-item { display: flex; align-items: center; gap: 5px; }
.blog-page .blog-meta-item i { color: #c5a059; font-size: 0.72rem; }

/* Read more link */
.blog-card-readmore {
    display: flex; align-items: center; gap: 8px;
    margin-top: 14px; padding-top: 14px;
    border-top: 1px solid #f0f0f0;
    font-size: 0.82rem; font-weight: 700; color: #1a3c34;
    transition: all 0.3s;
}
.blog-card-readmore i { font-size: 0.72rem; transition: transform 0.3s; }
.blog-card:hover .blog-card-readmore { color: #c5a059; }
.blog-card:hover .blog-card-readmore i { transform: translateX(5px); }

/* ── Pagination ── */
.blog-pagination { display: flex; justify-content: center; gap: 8px; margin-top: 60px; }
.blog-pagination a, .blog-pagination span {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 46px; height: 46px; padding: 0 15px;
    background: white; color: #555; border-radius: 12px;
    text-decoration: none; font-weight: 600; font-size: 0.9rem;
    transition: all 0.3s;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    border: 1px solid transparent;
}
.blog-pagination a:hover {
    background: #1a3c34; color: white;
    box-shadow: 0 6px 20px rgba(26,60,52,0.25);
}
.blog-pagination .active {
    background: linear-gradient(135deg, #1a3c34, #2d5a4e);
    color: white;
    box-shadow: 0 6px 20px rgba(26,60,52,0.25);
}
.blog-pagination .pagination-arrow { font-size: 0.85rem; }

/* ── Empty State ── */
.empty-state {
    text-align: center; padding: 100px 20px;
    background: white; border-radius: 24px;
    box-shadow: 0 4px 30px rgba(0,0,0,0.06);
}
.empty-state i    { font-size: 5rem; color: #ddd; margin-bottom: 25px; display: block; }
.empty-state h2   { font-size: 1.8rem; color: #333; margin-bottom: 12px; }
.empty-state p    { color: #888; margin-bottom: 30px; font-size: 1rem; }
.empty-state a {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 30px;
    background: linear-gradient(135deg, #1a3c34, #2d5a4e);
    color: white; border-radius: 12px;
    text-decoration: none; font-weight: 700;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(26,60,52,0.3);
}
.empty-state a:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(26,60,52,0.35); }

/* ── Listing Responsive ── */
@media (max-width: 1024px) {
    .blog-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .blog-featured-card { grid-template-columns: 1fr; min-height: auto; }
    .blog-featured-image { aspect-ratio: 16 / 9; }
    .blog-featured-content { padding: 30px 28px; }
    .blog-featured-content h2 { font-size: 1.6rem; }
}
@media (max-width: 768px) {
    .blog-hero-cinematic { min-height: 440px; }
    .blog-hero-cinematic h1 { font-size: 2.4rem; }
    .blog-hero-subtitle { font-size: 1rem; }
    .blog-hero-stats { gap: 20px; }
    .hero-stat-number { font-size: 1.4rem; }
    .blog-hero-scroll-hint { display: none; }
    .blog-grid { grid-template-columns: 1fr; }
    .blog-featured-card { border-radius: 18px; }
    .blog-featured-content h2 { font-size: 1.4rem; }
    .blog-featured-content { padding: 24px 22px; }
    .blog-section-header h3 { font-size: 0.9rem; letter-spacing: 2px; }
    .blog-container { padding: 30px 15px 60px; }
    .blog-categories-bar .container { justify-content: flex-start; }
}
@media (max-width: 480px) {
    .blog-hero-cinematic { min-height: 380px; }
    .blog-hero-cinematic h1 { font-size: 2rem; }
    .blog-hero-content { padding: 40px 15px 35px; }
    .blog-hero-badge { font-size: 0.7rem; padding: 6px 14px; letter-spacing: 1.5px; }
    .blog-hero-subtitle { font-size: 0.9rem; margin-bottom: 25px; }
    .blog-hero-stats { gap: 15px; }
    .hero-stat-number { font-size: 1.2rem; }
    .hero-stat-label { font-size: 0.65rem; }
    .blog-card { border-radius: 16px; }
    .blog-page .blog-content { padding: 18px 18px 20px; }
    .blog-page .blog-title { font-size: 1.05rem; }
    .blog-featured-card { border-radius: 16px; margin-bottom: 35px; }
}


/* ====================================================
   BLOG POST PAGE (.blog-post-page — blog.php)
   ==================================================== */

/* Layout */
.blog-layout {
    max-width: 1200px; margin: 0 auto;
    padding: 40px 20px; display: grid;
    grid-template-columns: 1fr 320px; gap: 40px;
}
@media (max-width: 992px) {
    .blog-layout { grid-template-columns: 1fr; padding: 25px 15px; gap: 25px; }
}
@media (max-width: 480px) {
    .blog-layout { padding: 15px 10px; gap: 20px; }
}

/* Main Content */
.blog-main {
    background: white; border-radius: 20px;
    box-shadow: 0 4px 30px rgba(0,0,0,0.08); overflow: hidden;
}

/* Featured Image */
.blog-featured-image { width: 100%; height: auto; object-fit: contain; max-height: 500px; }
@media (max-width: 768px) { .blog-featured-image { max-height: 300px; } }

/* Blog Header */
.blog-header { padding: 40px 40px 30px; }
@media (max-width: 768px) { .blog-header { padding: 25px 20px 20px; } }

/* Post category tag */
.blog-post-page .blog-category-tag {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 16px; background: rgba(197,160,89,0.1);
    color: #c5a059; border-radius: 25px; font-size: 0.85rem;
    font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px;
    margin-bottom: 20px; text-decoration: none; transition: all 0.2s;
}
.blog-post-page .blog-category-tag:hover {
    background: rgba(197,160,89,0.2); color: #b8933d;
}

/* Post title (H1) */
.blog-post-page .blog-title {
    font-size: 2.5rem; font-weight: 800;
    color: #1a3c34; line-height: 1.2; margin-bottom: 20px;
}
@media (max-width: 768px) { .blog-post-page .blog-title { font-size: 1.8rem; } }

/* Post meta */
.blog-post-page .blog-meta {
    display: flex; align-items: center; gap: 25px;
    flex-wrap: wrap; color: #666; font-size: 0.95rem;
}
.blog-post-page .blog-meta-item { display: flex; align-items: center; gap: 8px; }
.blog-post-page .blog-meta-item i { color: #c5a059; }

.author-avatar {
    width: 40px; height: 40px; border-radius: 50%;
    background: linear-gradient(135deg, #1a3c34, #2d5a4e);
    display: flex; align-items: center; justify-content: center;
    color: white; font-weight: 700; font-size: 1rem;
}

/* ---- Article Content Typography ---- */
.blog-post-page .blog-content {
    padding: 0 40px 40px; font-size: 1.1rem;
    line-height: 1.85; color: #2d2d2d;
    font-family: 'Georgia', 'Times New Roman', serif;
    word-wrap: break-word; overflow-wrap: break-word;
}
@media (max-width: 992px) {
    .blog-post-page .blog-content { padding: 0 30px 30px; font-size: 1.05rem; line-height: 1.8; }
}
@media (max-width: 768px) {
    .blog-post-page .blog-content { padding: 0 18px 25px; font-size: 1rem; line-height: 1.75; }
}
@media (max-width: 480px) {
    .blog-post-page .blog-content { padding: 0 15px 20px; font-size: 0.95rem; }
}

.blog-post-page .blog-content h2 {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1.75rem; font-weight: 700; color: #1a3c34;
    margin: 45px 0 18px; padding-bottom: 10px;
    border-bottom: 2px solid #f0ebe3; line-height: 1.3;
}
@media (max-width: 768px) {
    .blog-post-page .blog-content h2 { font-size: 1.4rem; margin: 35px 0 14px; }
}
@media (max-width: 480px) {
    .blog-post-page .blog-content h2 { font-size: 1.25rem; margin: 28px 0 12px; }
}

.blog-post-page .blog-content h3 {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1.35rem; font-weight: 700; color: #1a3c34;
    margin: 35px 0 14px; line-height: 1.3;
}
@media (max-width: 768px) {
    .blog-post-page .blog-content h3 { font-size: 1.15rem; margin: 28px 0 12px; }
}

.blog-post-page .blog-content p          { margin-bottom: 18px; text-align: left; }
.blog-post-page .blog-content p:last-child { margin-bottom: 0; }
.blog-post-page .blog-content strong     { color: #1a3c34; font-weight: 700; }
.blog-post-page .blog-content a          { color: #c5a059; text-decoration: underline; text-underline-offset: 3px; transition: color 0.2s; }
.blog-post-page .blog-content a:hover    { color: #1a3c34; }

.blog-post-page .blog-content ul,
.blog-post-page .blog-content ol         { margin: 20px 0; padding-left: 25px; }
@media (max-width: 480px) {
    .blog-post-page .blog-content ul,
    .blog-post-page .blog-content ol { padding-left: 20px; }
}
.blog-post-page .blog-content li         { margin-bottom: 10px; padding-left: 5px; }
.blog-post-page .blog-content li::marker { color: #c5a059; }

.blog-post-page .blog-content img {
    max-width: 100%; height: auto; border-radius: 12px;
    margin: 25px 0; display: block;
}
.blog-post-page .blog-content blockquote {
    border-left: 4px solid #c5a059; padding: 20px 25px;
    margin: 30px 0; background: #faf8f5;
    border-radius: 0 12px 12px 0; font-style: italic; color: #555;
}
@media (max-width: 480px) {
    .blog-post-page .blog-content blockquote { padding: 15px 18px; margin: 20px 0; }
}

.blog-post-page .blog-content table {
    width: 100%; border-collapse: collapse;
    margin: 25px 0; font-size: 0.95rem;
    overflow-x: auto; display: block;
}
.blog-post-page .blog-content table th,
.blog-post-page .blog-content table td   { padding: 12px 15px; border: 1px solid #e0e0e0; text-align: left; }
.blog-post-page .blog-content table th   { background: #1a3c34; color: white; font-weight: 600; }
.blog-post-page .blog-content table tr:nth-child(even) { background: #faf8f5; }

/* ---- Table of Contents (auto-injected by JS) ---- */
.blog-toc {
    background: #faf8f5; border-left: 4px solid #c5a059;
    border-radius: 0 12px 12px 0; padding: 20px 25px;
    margin: 0 0 30px; font-size: 0.92rem;
}
.blog-toc-title {
    font-weight: 700; color: #1a3c34;
    margin-bottom: 12px; font-size: 0.97rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
.blog-toc ol   { margin: 0; padding-left: 20px; }
.blog-toc li   { margin-bottom: 7px; }
.blog-toc a    { color: #555; text-decoration: none; transition: color 0.2s; }
.blog-toc a:hover { color: #c5a059; }
@media (max-width: 480px) {
    .blog-toc { padding: 15px 18px; }
}

/* ---- Share Buttons ---- */
.blog-share {
    padding: 30px 40px; border-top: 1px solid #eee;
    display: flex; align-items: center; gap: 15px; flex-wrap: wrap;
}
@media (max-width: 768px) { .blog-share { padding: 20px; } }
.blog-share-label { font-weight: 600; color: #333; }
.share-btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border-radius: 50%;
    text-decoration: none; color: white; font-size: 1.1rem; transition: all 0.3s;
}
.share-btn:hover { transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0,0,0,0.2); }
.share-btn.whatsapp  { background: #25D366; }
.share-btn.facebook  { background: #1877F2; }
.share-btn.twitter   { background: #1DA1F2; }
.share-btn.pinterest { background: #E60023; }
.share-btn.copy      { background: #666; }

/* ---- Product Blocks ---- */
.product-block {
    background: linear-gradient(135deg, #faf8f5 0%, #f5f0e8 100%);
    border-radius: 16px; padding: 30px; margin: 35px 0;
    border: 1px solid rgba(197,160,89,0.2);
}
.product-block-title {
    font-size: 1.1rem; font-weight: 700; color: #1a3c34;
    margin-bottom: 20px; display: flex; align-items: center; gap: 10px;
}
.product-block-title i { color: #c5a059; }
.product-block-grid    { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
@media (max-width: 480px) {
    .product-block-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
}
.product-block-item {
    background: white; border-radius: 12px; padding: 15px;
    text-decoration: none; transition: all 0.3s;
    display: flex; flex-direction: column;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05); border: 1px solid #f0f0f0;
}
.product-block-item:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(0,0,0,0.1); border-color: #c5a059; }
.product-block-item img  { width: 100%; height: auto; max-height: 180px; object-fit: contain; border-radius: 8px; margin-bottom: 12px; background: #faf8f5; padding: 8px; }
@media (max-width: 480px) {
    .product-block-item { padding: 10px; }
    .product-block-item img { max-height: 120px; padding: 5px; }
}
.product-block-item h4 {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 0.95rem; font-weight: 600; color: #1a3c34;
    margin: 0 0 8px; line-height: 1.3;
}
@media (max-width: 480px) { .product-block-item h4 { font-size: 0.85rem; } }
.product-block-item .price { font-size: 1rem; font-weight: 700; color: #c5a059; margin-bottom: 12px; }
@media (max-width: 480px) { .product-block-item .price { font-size: 0.9rem; margin-bottom: 8px; } }
.product-block-item .buy-btn {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 8px; padding: 10px 16px;
    background: linear-gradient(135deg, #1a3c34, #2d5a4e);
    color: white; border: none; border-radius: 8px;
    font-size: 0.85rem; font-weight: 600; cursor: pointer;
    transition: all 0.3s; text-decoration: none; margin-top: auto;
}
@media (max-width: 480px) { .product-block-item .buy-btn { padding: 8px 12px; font-size: 0.8rem; } }
.product-block-item .buy-btn:hover { background: linear-gradient(135deg, #2d5a4e, #1a3c34); }

/* ---- FAQ Section ---- */
.blog-faqs { padding: 40px; border-top: 1px solid #eee; }
@media (max-width: 768px) { .blog-faqs { padding: 25px 20px; } }
.blog-faqs-title {
    font-size: 1.5rem; font-weight: 700; color: #1a3c34;
    margin-bottom: 25px; display: flex; align-items: center; gap: 12px;
}
.blog-faqs-title i { color: #c5a059; }
.faq-accordion   { display: flex; flex-direction: column; gap: 12px; }
.faq-item        { background: #faf8f5; border-radius: 12px; overflow: hidden; border: 1px solid #eee; }
.faq-question    {
    padding: 18px 20px; font-weight: 600; color: #1a3c34;
    cursor: pointer; display: flex; justify-content: space-between;
    align-items: center; transition: background 0.2s;
}
.faq-question:hover      { background: #f5f0e8; }
.faq-question i          { transition: transform 0.3s; color: #c5a059; }
.faq-item.open .faq-question i { transform: rotate(180deg); }
.faq-answer {
    padding: 0 20px; max-height: 0; overflow: hidden;
    transition: all 0.3s; color: #555; line-height: 1.7;
}
.faq-item.open .faq-answer { padding: 0 20px 20px; max-height: 500px; }

/* ---- Author Box ---- */
.author-box {
    padding: 40px; border-top: 1px solid #eee;
    display: flex; gap: 20px; align-items: flex-start;
}
@media (max-width: 768px) {
    .author-box { padding: 25px 20px; flex-direction: column; align-items: center; text-align: center; }
}
.author-box-avatar {
    width: 80px; height: 80px; border-radius: 50%;
    background: linear-gradient(135deg, #1a3c34, #2d5a4e);
    display: flex; align-items: center; justify-content: center;
    color: white; font-size: 2rem; font-weight: 700; flex-shrink: 0;
}
.author-box-info h4  { font-size: 1.2rem; font-weight: 700; color: #1a3c34; margin: 0 0 5px; }
.author-box-info p   { color: #666; margin: 0; line-height: 1.6; }

/* ---- Sidebar ---- */
.blog-sidebar { display: flex; flex-direction: column; gap: 25px; }
.sidebar-card {
    background: white; border-radius: 16px; padding: 25px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.sidebar-title {
    font-size: 1.1rem; font-weight: 700; color: #1a3c34;
    margin-bottom: 20px; padding-bottom: 12px;
    border-bottom: 2px solid #f0f0f0;
    display: flex; align-items: center; gap: 10px;
}
.sidebar-title i { color: #c5a059; }

/* Sidebar Products */
.sidebar-product {
    display: flex; gap: 12px; padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    text-decoration: none; transition: all 0.2s;
}
.sidebar-product:last-child { border-bottom: none; }
.sidebar-product:hover { background: #faf8f5; margin: 0 -15px; padding: 12px 15px; border-radius: 8px; }
.sidebar-product img { width: 60px; height: 60px; border-radius: 8px; object-fit: cover; }
.sidebar-product-info h5 { font-size: 0.9rem; font-weight: 600; color: #1a3c34; margin: 0 0 5px; line-height: 1.3; }
.sidebar-product-info .price { font-size: 0.95rem; font-weight: 700; color: #c5a059; }

/* Related Blogs */
.related-blog {
    display: flex; gap: 12px; padding: 12px 0;
    border-bottom: 1px solid #f0f0f0; text-decoration: none;
}
.related-blog:last-child   { border-bottom: none; }
.related-blog:hover h5     { color: #c5a059; }
.related-blog img          { width: 70px; height: 50px; border-radius: 6px; object-fit: cover; }
.related-blog-info h5      { font-size: 0.85rem; font-weight: 600; color: #1a3c34; margin: 0 0 5px; line-height: 1.3; transition: color 0.2s; }
.related-blog-info span    { font-size: 0.8rem; color: #888; }

/* Newsletter */
.newsletter-form input {
    width: 100%; padding: 12px 15px; border: 1px solid #ddd;
    border-radius: 8px; margin-bottom: 12px; font-size: 0.95rem;
}
.newsletter-form button {
    width: 100%; padding: 12px;
    background: linear-gradient(135deg, #1a3c34, #2d5a4e);
    color: white; border: none; border-radius: 8px;
    font-weight: 600; cursor: pointer; transition: all 0.3s;
}
.newsletter-form button:hover { background: linear-gradient(135deg, #2d5a4e, #1a3c34); }

/* Sticky Sidebar */
@media (min-width: 993px) {
    .blog-sidebar {
        position: sticky; top: 100px;
        max-height: calc(100vh - 120px); overflow-y: auto;
    }
}

/* ---- Inline Related Reading Block (internal linking) ---- */
.related-reading-block {
    background: linear-gradient(135deg, #f5f0e8, #faf8f5);
    border: 1px solid rgba(197,160,89,0.25);
    border-left: 4px solid #c5a059;
    border-radius: 0 12px 12px 0;
    padding: 16px 20px;
    margin: 28px 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
.related-reading-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: #c5a059;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 7px;
}
.related-reading-links { display: flex; flex-direction: column; gap: 6px; }
.related-reading-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none !important;
    color: #1a3c34 !important;
    font-size: 0.92rem;
    font-weight: 500;
    padding: 6px 0;
    border-bottom: 1px solid rgba(0,0,0,0.07);
    transition: color 0.2s;
    line-height: 1.4;
}
.related-reading-link:last-child { border-bottom: none; }
.related-reading-link:hover { color: #c5a059 !important; }
.related-reading-link img {
    width: 52px; height: 36px;
    border-radius: 6px; object-fit: cover;
    flex-shrink: 0;
    /* override .blog-content img styles */
    margin: 0 !important; display: inline-block !important;
    max-width: 52px !important; border: none !important;
}
.related-reading-link span { flex: 1; }
.related-reading-link small {
    color: #888; font-size: 0.78rem;
    font-weight: 400; display: block;
    margin-top: 2px;
}
@media (max-width: 480px) {
    .related-reading-block { padding: 14px 15px; }
    .related-reading-link img { width: 44px; height: 30px; }
}

/* ---- Author E-E-A-T — expertise badge & links ---- */
.author-expertise-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(197,160,89,0.12);
    color: #c5a059;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 10px;
    border-radius: 12px;
    margin: 4px 0 10px;
}
.author-links {
    margin-top: 12px;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}
.author-link {
    font-size: 0.85rem;
    color: #c5a059;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-weight: 600;
    transition: color 0.2s;
}
.author-link:hover { color: #1a3c34; }

/* Table of Contents */
.blog-toc {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-left: 4px solid #1a3c34;
    border-radius: 8px;
    padding: 20px 24px;
    margin: 0 40px 30px;
}
.blog-toc .toc-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    user-select: none;
}
.blog-toc .toc-header h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #1a3c34;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}
.blog-toc .toc-header h4 i { color: #c5a059; }
.blog-toc .toc-toggle { color: #888; transition: transform 0.3s; font-size: 0.8rem; }
.blog-toc.collapsed .toc-toggle { transform: rotate(180deg); }
.blog-toc.collapsed .toc-list { display: none; }
.blog-toc .toc-list {
    margin: 14px 0 0;
    padding: 0 0 0 20px;
    list-style: decimal;
}
.blog-toc .toc-list li {
    margin-bottom: 8px;
    line-height: 1.5;
}
.blog-toc .toc-list li a {
    color: #444;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}
.blog-toc .toc-list li a:hover { color: #1a3c34; text-decoration: underline; }
.blog-toc .toc-level-3 { margin-left: 20px; list-style-type: lower-alpha; }
@media (max-width: 768px) {
    .blog-toc { margin: 0 20px 20px; padding: 16px 18px; }
}

/* Bottom Products Section */
.bottom-products-section { padding: 40px; border-top: 1px solid #eee; }
@media (max-width: 768px) { .bottom-products-section { padding: 25px 20px; } }
.bottom-products-title {
    font-size: 1.5rem; font-weight: 700; color: #1a3c34;
    margin-bottom: 25px; display: flex; align-items: center; gap: 12px;
}
.bottom-products-title i { color: #c5a059; }
