/* ============================================================
   MERIDIAN EXPORTS — BLOG THEME v2 (Premium Editorial)
   Palette: #B3230F / #E8601F / #F4A261 / #2E8B57 / #FBF4EE (Orange-Red)
   Display: Playfair Display · Body/UI: Poppins
   ============================================================ */

.blog-root {
    --blog-primary: #B3230F;
    --blog-primary-dark: #8F1A0F;
    --blog-primary-deep: #6E1205;
    --blog-secondary: #E8601F;
    --blog-secondary-light: #FCEBDE;
    --blog-accent: #F4A261;
    --blog-accent-dark: #F2921F;
    --blog-accent-light: #FFF1E0;
    --blog-success: #2E8B57;
    --blog-bg: #FBF4EE;
    --blog-card: #FFFFFF;
    --blog-text: #2A1C16;
    --blog-text-light: #7D6252;
    --blog-border: #EADFD4;
    --blog-white: #FFFFFF;
    --blog-radius: 22px;
    --blog-radius-sm: 14px;
    --blog-shadow-sm: 0 6px 18px rgba(179, 35, 15, 0.06);
    --blog-shadow: 0 16px 40px rgba(179, 35, 15, 0.10);
    --blog-shadow-lg: 0 30px 70px rgba(179, 35, 15, 0.16);
    --blog-grad: linear-gradient(135deg, #B3230F 0%, #E8601F 100%);
    --blog-grad-accent: linear-gradient(135deg, #F4A261, #F2921F);
    --blog-font-ui: 'Poppins', 'Segoe UI', sans-serif;
    --blog-font-display: 'Playfair Display', Georgia, serif;

    background: var(--blog-bg);
    color: var(--blog-text);
    font-family: var(--blog-font-ui);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.blog-root *,
.blog-root *::before,
.blog-root *::after { box-sizing: border-box; }

.blog-root em { font-style: italic; }

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.blog-root [data-animate] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--anim-delay, 0s);
}
.blog-root [data-animate].in-view {
    opacity: 1;
    transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
    .blog-root [data-animate] { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.blog-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 28px;
    border-radius: 50px;
    font-family: var(--blog-font-ui);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.2px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease, background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.blog-btn:hover { text-decoration: none; transform: translateY(-3px); }
.blog-btn:active { transform: translateY(-1px); }
.blog-btn-primary {
    background: var(--blog-grad-accent);
    color: #3A2410;
    box-shadow: 0 12px 30px rgba(244, 162, 97, 0.38);
}
.blog-btn-primary:hover { background: #F7B878; color: #3A2410; box-shadow: 0 16px 40px rgba(244, 162, 97, 0.5); }
.blog-btn-ghost {
    background: rgba(255, 255, 255, 0.10);
    border: 1.5px solid rgba(255, 255, 255, 0.38);
    color: var(--blog-white);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.blog-btn-ghost:hover { background: rgba(255, 255, 255, 0.22); color: var(--blog-white); }
.blog-btn-ghost-dark {
    background: var(--blog-card);
    border: 1.5px solid var(--blog-border);
    color: var(--blog-text-light);
}
.blog-btn-ghost-dark:hover { border-color: var(--blog-secondary); color: var(--blog-secondary); background: var(--blog-secondary-light); }
.blog-btn-outline {
    background: transparent;
    border: 2px solid var(--blog-secondary);
    color: var(--blog-secondary);
}
.blog-btn-outline:hover { background: var(--blog-grad); border-color: transparent; color: var(--blog-white); box-shadow: 0 12px 30px rgba(232, 107, 31, 0.35); }
.blog-btn-accent {
    background: var(--blog-grad-accent);
    color: #3A2410;
    box-shadow: 0 12px 30px rgba(244, 162, 97, 0.4);
}
.blog-btn-accent:hover { background: #F7B878; color: #3A2410; }
.blog-btn-light { background: var(--blog-white); color: var(--blog-primary); }
.blog-btn-light:hover { background: #FBEADF; color: var(--blog-primary); }
.blog-btn-sm { padding: 9px 18px; font-size: 0.8rem; }
.blog-btn-block { width: 100%; }

/* ============================================================
   HERO
   ============================================================ */
.blog-hero {
    position: relative;
    background: linear-gradient(140deg, #6E1205 0%, #B3230F 48%, #E8601F 100%);
    color: var(--blog-white);
    overflow: hidden;
    padding: 96px 0 130px;
    isolation: isolate;
}
.blog-hero-pattern {
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: radial-gradient(rgba(255, 255, 255, 0.10) 1px, transparent 1px);
    background-size: 30px 30px;
    -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 65%);
    mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 65%);
    opacity: 0.7;
}
.blog-hero-glow {
    position: absolute;
    border-radius: 50%;
    z-index: -1;
    filter: blur(10px);
}
.blog-hero-glow-1 {
    width: 480px; height: 480px;
    top: -160px; right: -120px;
    background: radial-gradient(circle, rgba(232, 107, 31, 0.55) 0%, transparent 62%);
    animation: blogFloat 9s ease-in-out infinite;
}
.blog-hero-glow-2 {
    width: 420px; height: 420px;
    bottom: -180px; left: -100px;
    background: radial-gradient(circle, rgba(244, 162, 97, 0.30) 0%, transparent 60%);
    animation: blogFloat 11s ease-in-out infinite reverse;
}
@keyframes blogFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-24px) scale(1.05); }
}
.blog-hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 56px;
    align-items: center;
}
.blog-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.74rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2.6px;
    color: var(--blog-accent);
    background: rgba(244, 162, 97, 0.13);
    border: 1px solid rgba(244, 162, 97, 0.32);
    padding: 9px 20px;
    border-radius: 50px;
    margin-bottom: 24px;
}
.blog-hero-title {
    font-family: var(--blog-font-display);
    font-size: clamp(2.4rem, 4.6vw, 3.9rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.5px;
    margin: 0 0 22px;
    color: var(--blog-white);
}
.blog-hero-title em {
    background: linear-gradient(120deg, #F4A261, #F9C889);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.blog-hero-sub {
    font-size: 1.05rem;
    font-weight: 300;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.82);
    max-width: 560px;
    margin: 0 0 36px;
}
.blog-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.blog-hero-side { display: flex; flex-direction: column; gap: 22px; }
.blog-hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
}
.blog-hero-stat {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--blog-radius);
    padding: 26px 16px;
    text-align: center;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), background 0.3s ease, border-color 0.3s ease;
}
.blog-hero-stat:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(244, 162, 97, 0.5);
    transform: translateY(-8px);
}
.blog-hero-stat-num {
    display: block;
    font-family: var(--blog-font-display);
    font-size: 2.1rem;
    font-weight: 700;
    line-height: 1;
    color: var(--blog-accent);
    margin-bottom: 12px;
}
.blog-hero-stat-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 500;
}
.blog-hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}
.blog-hero-trust-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.76rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.82);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50px;
    padding: 8px 16px;
}
.blog-hero-trust-item i { color: var(--blog-accent); }

.blog-hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    line-height: 0;
    z-index: 3;
    pointer-events: none;
}
.blog-hero-wave svg { display: block; width: 100%; height: 74px; }

/* ============================================================
   SEARCH TOOLBAR
   ============================================================ */
.blog-toolbar {
    position: relative;
    z-index: 20;
    margin-top: -42px;
    padding-bottom: 6px;
}
.blog-search-box {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--blog-card);
    border-radius: var(--blog-radius);
    box-shadow: var(--blog-shadow-lg);
    border: 1px solid var(--blog-border);
    padding: 8px 22px;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}
.blog-search-box:focus-within {
    border-color: rgba(232, 107, 31, 0.45);
    box-shadow: 0 30px 70px rgba(179, 35, 15, 0.18);
}
.blog-search-box > i.fa-search { color: var(--blog-secondary); font-size: 1.05rem; }
.blog-search-box input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-family: var(--blog-font-ui);
    font-size: 0.98rem;
    color: var(--blog-text);
    padding: 16px 0;
}
.blog-search-box input::placeholder { color: var(--blog-text-light); opacity: 0.75; }
.blog-search-kbd {
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--blog-text-light);
    background: var(--blog-bg);
    border: 1px solid var(--blog-border);
    border-radius: 6px;
    padding: 3px 8px;
    letter-spacing: 1px;
    flex-shrink: 0;
}
.blog-search-results {
    position: absolute;
    top: calc(100% + 14px);
    left: 0;
    right: 0;
    background: var(--blog-card);
    border-radius: var(--blog-radius);
    box-shadow: var(--blog-shadow-lg);
    border: 1px solid var(--blog-border);
    padding: 8px;
    display: none;
    max-height: 440px;
    overflow-y: auto;
    z-index: 40;
}
.blog-search-results.show { display: block; animation: blogDrop 0.28s cubic-bezier(0.22, 1, 0.36, 1); }
@keyframes blogDrop {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
.blog-search-result {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 11px 12px;
    border-radius: var(--blog-radius-sm);
    text-decoration: none;
    color: var(--blog-text);
    transition: background 0.2s ease;
}
.blog-search-result:hover { background: var(--blog-bg); text-decoration: none; }
.blog-search-result img {
    width: 56px; height: 44px;
    object-fit: cover;
    border-radius: 9px;
    flex-shrink: 0;
}
.blog-search-result-thumb {
    width: 56px; height: 44px;
    border-radius: 9px;
    background: var(--blog-grad);
    color: var(--blog-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}
.blog-search-result-body { min-width: 0; }
.blog-search-result-body h5 {
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0 0 3px;
    color: var(--blog-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.blog-search-result-body span { font-size: 0.76rem; color: var(--blog-text-light); }
.blog-search-empty { padding: 22px; text-align: center; color: var(--blog-text-light); font-size: 0.9rem; }

/* ============================================================
   CATEGORY PILLS
   ============================================================ */
.blog-cats-wrap { padding: 28px 0 8px; }
.blog-cats {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 14px;
    scrollbar-width: none;
}
.blog-cats::-webkit-scrollbar { display: none; }
.blog-cat {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    white-space: nowrap;
    padding: 11px 22px;
    border-radius: 50px;
    background: var(--blog-card);
    border: 1.5px solid var(--blog-border);
    color: var(--blog-text-light);
    font-size: 0.86rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}
.blog-cat i { font-size: 0.75rem; color: var(--blog-secondary); }
.blog-cat:hover {
    border-color: var(--blog-secondary);
    color: var(--blog-secondary);
    transform: translateY(-3px);
    box-shadow: var(--blog-shadow-sm);
    text-decoration: none;
}
.blog-cat.active {
    background: var(--blog-grad);
    border-color: transparent;
    color: var(--blog-white);
    box-shadow: 0 14px 30px rgba(232, 107, 31, 0.35);
}
.blog-cat.active i { color: var(--blog-accent); }
.blog-cat-count {
    background: rgba(110, 18, 5, 0.08);
    border-radius: 50px;
    padding: 2px 10px;
    font-size: 0.72rem;
    font-weight: 600;
    color: inherit;
}
.blog-cat.active .blog-cat-count { background: rgba(255, 255, 255, 0.22); }

/* ============================================================
   SECTION HEADS
   ============================================================ */
.blog-featured-section,
.blog-main-section,
.blog-related-section { padding: 58px 0 26px; }
.blog-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 32px;
}
.blog-section-eyebrow {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2.6px;
    color: var(--blog-secondary);
    margin-bottom: 8px;
}
.blog-section-title {
    font-family: var(--blog-font-display);
    font-size: clamp(1.6rem, 2.6vw, 2.1rem);
    font-weight: 800;
    color: var(--blog-text);
    letter-spacing: -0.4px;
    margin: 0;
    line-height: 1.2;
}
.blog-section-title em {
    background: linear-gradient(120deg, var(--blog-secondary), var(--blog-primary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.blog-section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--blog-accent-light);
    color: var(--blog-accent-dark);
    padding: 9px 18px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* ============================================================
   FEATURED STORY
   ============================================================ */
.blog-featured {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    background: var(--blog-card);
    border-radius: var(--blog-radius);
    overflow: hidden;
    box-shadow: var(--blog-shadow);
    border: 1px solid var(--blog-border);
    text-decoration: none;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
    margin-bottom: 46px;
}
.blog-featured:hover {
    transform: translateY(-8px);
    box-shadow: var(--blog-shadow-lg);
    text-decoration: none;
}
.blog-featured-media {
    position: relative;
    min-height: 360px;
    overflow: hidden;
}
.blog-featured-media img {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.blog-featured:hover .blog-featured-media img { transform: scale(1.07); }
.blog-featured-placeholder {
    position: absolute;
    inset: 0;
    background: var(--blog-grad);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 4.5rem;
}
.blog-featured-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(110, 18, 5, 0.05) 40%, rgba(110, 18, 5, 0.75));
}
.blog-featured-badges {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    z-index: 2;
    flex-wrap: wrap;
    gap: 8px;
}
.blog-featured-cat {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--blog-grad-accent);
    color: #3A2410;
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 8px 18px;
    border-radius: 50px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
}
.blog-featured-cat-dark {
    background: rgba(110, 18, 5, 0.72);
    color: var(--blog-white);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.blog-featured-body {
    padding: 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.blog-featured-body h3 {
    font-family: var(--blog-font-display);
    font-size: clamp(1.5rem, 2.4vw, 2.05rem);
    font-weight: 800;
    color: var(--blog-text);
    line-height: 1.28;
    margin: 14px 0 16px;
    letter-spacing: -0.3px;
}
.blog-featured-body p {
    color: var(--blog-text-light);
    font-size: 0.97rem;
    line-height: 1.85;
    margin: 0 0 26px;
}
.blog-featured-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    border-top: 1px dashed var(--blog-border);
    padding-top: 20px;
}
.blog-featured-author {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.86rem;
    font-weight: 500;
    color: var(--blog-text);
}
.blog-featured-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--blog-secondary);
    font-weight: 600;
    font-size: 0.9rem;
    transition: gap 0.3s ease;
}
.blog-featured:hover .blog-featured-cta { gap: 16px; }

/* ============================================================
   TRENDING
   ============================================================ */
.blog-trending {
    background: var(--blog-card);
    border: 1px solid var(--blog-border);
    border-radius: var(--blog-radius);
    padding: 32px;
    box-shadow: var(--blog-shadow-sm);
}
.blog-trending-head {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
.blog-trending-head .blog-section-eyebrow { margin-bottom: 6px; }
.blog-trending-title {
    font-family: var(--blog-font-display);
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0;
    color: var(--blog-text);
    display: flex;
    align-items: center;
    gap: 10px;
}
.blog-trending-title i { color: var(--blog-accent); }
.blog-trending-nav { margin-left: auto; display: flex; gap: 10px; }
.blog-trend-arrow {
    width: 42px; height: 42px;
    border-radius: 50%;
    border: 1.5px solid var(--blog-border);
    background: var(--blog-card);
    color: var(--blog-secondary);
    cursor: pointer;
    transition: all 0.28s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.blog-trend-arrow:hover { background: var(--blog-grad); border-color: transparent; color: var(--blog-white); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(232, 107, 31, 0.3); }
.blog-trending-track {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding: 4px 2px 6px;
}
.blog-trending-track::-webkit-scrollbar { display: none; }
.blog-trend-item {
    min-width: 300px;
    max-width: 300px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 20px;
    border-radius: var(--blog-radius-sm);
    background: var(--blog-bg);
    border: 1px solid var(--blog-border);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
}
.blog-trend-item:hover {
    border-color: var(--blog-secondary);
    background: var(--blog-card);
    transform: translateY(-5px);
    box-shadow: var(--blog-shadow-sm);
    text-decoration: none;
}
.blog-trend-num {
    font-family: var(--blog-font-display);
    font-size: 1.9rem;
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(120deg, var(--blog-accent), var(--blog-accent-dark));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    flex-shrink: 0;
}
.blog-trend-content { min-width: 0; flex: 1; }
.blog-trend-cat {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    color: var(--blog-secondary);
    margin-bottom: 8px;
}
.blog-trend-content h4 {
    font-size: 0.94rem;
    font-weight: 600;
    color: var(--blog-text);
    line-height: 1.5;
    margin: 0 0 10px;
    transition: color 0.2s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.blog-trend-item:hover .blog-trend-content h4 { color: var(--blog-secondary); }
.blog-trend-meta {
    font-size: 0.76rem;
    color: var(--blog-text-light);
    display: flex;
    align-items: center;
    gap: 6px;
}
.blog-trend-meta i { color: var(--blog-accent); }
.blog-trend-go {
    align-self: center;
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--blog-card);
    border: 1px solid var(--blog-border);
    color: var(--blog-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}
.blog-trend-item:hover .blog-trend-go { background: var(--blog-grad); border-color: transparent; color: var(--blog-white); transform: rotate(45deg); }

/* ============================================================
   MAIN GRID + CARDS
   ============================================================ */
.blog-main-grid {
    display: grid;
    grid-template-columns: 1fr 344px;
    gap: 42px;
    align-items: start;
}
.blog-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}
.blog-grid-3 { grid-template-columns: repeat(3, 1fr); gap: 28px; }
.blog-card {
    background: var(--blog-card);
    border-radius: var(--blog-radius);
    overflow: hidden;
    border: 1px solid var(--blog-border);
    box-shadow: var(--blog-shadow-sm);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--blog-shadow-lg);
    border-color: rgba(232, 107, 31, 0.3);
}
.blog-card-media {
    position: relative;
    display: block;
    height: 218px;
    overflow: hidden;
}
.blog-card-media-inner { position: absolute; inset: 0; display: block; }
.blog-card-media img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.blog-card:hover .blog-card-media img { transform: scale(1.1); }
.blog-card-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%; height: 100%;
    background: var(--blog-grad);
    color: rgba(255, 255, 255, 0.65);
    font-size: 2.8rem;
}
.blog-card-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(110, 18, 5, 0.12) 0%, transparent 42%);
    pointer-events: none;
}
.blog-card-chip {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(255, 255, 255, 0.94);
    color: var(--blog-primary);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 7px 15px;
    border-radius: 50px;
    box-shadow: 0 6px 18px rgba(110, 18, 5, 0.2);
    z-index: 2;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.blog-card-flag {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--blog-grad-accent);
    color: #3A2410;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 7px 14px;
    border-radius: 50px;
    z-index: 2;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}
.blog-card-zoom {
    position: absolute;
    right: 16px;
    bottom: 16px;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--blog-white);
    color: var(--blog-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    box-shadow: 0 10px 24px rgba(110, 18, 5, 0.25);
    transform: translateY(16px);
    opacity: 0;
    transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 2;
}
.blog-card:hover .blog-card-zoom { transform: translateY(0); opacity: 1; }
.blog-card-body {
    padding: 24px 24px 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 0.76rem;
    color: var(--blog-text-light);
    margin-bottom: 12px;
}
.blog-card-meta i { color: var(--blog-accent); font-size: 0.72rem; }
.blog-card-date { display: inline-flex; align-items: center; gap: 7px; }
.blog-card-read { display: inline-flex; align-items: center; gap: 7px; }
.blog-card-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--blog-accent); display: inline-block; }
.blog-card-title {
    font-size: 1.06rem;
    font-weight: 700;
    line-height: 1.5;
    margin: 0 0 10px;
    letter-spacing: -0.2px;
}
.blog-card-title a {
    color: var(--blog-text);
    text-decoration: none;
    background-image: linear-gradient(var(--blog-secondary), var(--blog-secondary));
    background-size: 0% 2px;
    background-repeat: no-repeat;
    background-position: left bottom;
    transition: background-size 0.35s ease, color 0.3s ease;
}
.blog-card-title a:hover {
    color: var(--blog-secondary);
    background-size: 100% 2px;
    text-decoration: none;
}
.blog-card-excerpt {
    color: var(--blog-text-light);
    font-size: 0.87rem;
    line-height: 1.75;
    margin: 0 0 18px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.blog-card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-top: 1px dashed var(--blog-border);
    padding-top: 16px;
}
.blog-card-author {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--blog-text);
    min-width: 0;
}
.blog-card-author span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.blog-card-author img {
    width: 34px; height: 34px;
    border-radius: 50%;
    object-fit: cover;
}
.blog-card-avatar {
    width: 34px; height: 34px;
    border-radius: 50%;
    background: var(--blog-secondary-light);
    color: var(--blog-secondary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    flex-shrink: 0;
}
.blog-card-stats {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.76rem;
    color: var(--blog-text-light);
    flex-shrink: 0;
}
.blog-card-stats i { color: var(--blog-accent); }

/* Empty state */
.blog-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 64px 30px;
    background: var(--blog-card);
    border-radius: var(--blog-radius);
    border: 1px dashed var(--blog-border);
}
.blog-empty i { font-size: 2.8rem; color: var(--blog-secondary); margin-bottom: 14px; }
.blog-empty h3 { font-size: 1.2rem; font-weight: 700; margin: 0 0 6px; }
.blog-empty p { color: var(--blog-text-light); margin: 0 0 22px; }

/* Load more */
.blog-load-wrap { text-align: center; margin-top: 40px; }
#blogLoadMore.loading i { animation: blogSpin 0.8s linear infinite; }
@keyframes blogSpin { to { transform: rotate(360deg); } }

/* Pagination */
.blog-pagination { margin-top: 30px; }
.blog-pagination .pagination { justify-content: center; gap: 8px; margin: 0; }
.blog-pagination .page-link {
    border: 1px solid var(--blog-border);
    color: var(--blog-text);
    border-radius: 12px;
    padding: 9px 16px;
    font-weight: 500;
    font-size: 0.88rem;
    background: var(--blog-card);
    transition: all 0.25s ease;
}
.blog-pagination .page-item.active .page-link {
    background: var(--blog-grad);
    border-color: transparent;
    color: var(--blog-white);
    box-shadow: 0 10px 26px rgba(232, 107, 31, 0.32);
}
.blog-pagination .page-link:hover {
    background: var(--blog-secondary-light);
    color: var(--blog-secondary);
    border-color: transparent;
}

/* ============================================================
   SIDEBAR
   ============================================================ */
.blog-sidebar { display: flex; flex-direction: column; gap: 26px; position: sticky; top: 120px; }
.blog-widget {
    background: var(--blog-card);
    border: 1px solid var(--blog-border);
    border-radius: var(--blog-radius);
    padding: 26px;
    box-shadow: var(--blog-shadow-sm);
}
.blog-widget h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--blog-text);
    margin: 0 0 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--blog-bg);
}
.blog-widget h4 i {
    width: 34px; height: 34px;
    border-radius: 10px;
    background: var(--blog-secondary-light);
    color: var(--blog-secondary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
}
.blog-popular-list { display: flex; flex-direction: column; }
.blog-popular-item {
    display: flex;
    gap: 14px;
    padding: 13px 0;
    border-bottom: 1px dashed var(--blog-border);
    text-decoration: none;
    align-items: flex-start;
}
.blog-popular-item:last-child { border-bottom: none; padding-bottom: 0; }
.blog-popular-item:hover { text-decoration: none; }
.blog-popular-rank {
    font-family: var(--blog-font-display);
    font-size: 1.4rem;
    font-weight: 800;
    line-height: 1.15;
    background: linear-gradient(120deg, var(--blog-accent), var(--blog-accent-dark));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    flex-shrink: 0;
}
.blog-popular-body { min-width: 0; }
.blog-popular-body h5 {
    font-size: 0.86rem;
    font-weight: 600;
    line-height: 1.5;
    color: var(--blog-text);
    margin: 0 0 6px;
    transition: color 0.2s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.blog-popular-item:hover .blog-popular-body h5 { color: var(--blog-secondary); }
.blog-popular-body span { font-size: 0.76rem; color: var(--blog-text-light); }

.blog-cat-list { display: flex; flex-direction: column; }
.blog-cat-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 11px 0;
    border-bottom: 1px dashed var(--blog-border);
    color: var(--blog-text);
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease, padding-left 0.2s ease;
}
.blog-cat-row:last-child { border-bottom: none; }
.blog-cat-row:hover { color: var(--blog-secondary); padding-left: 8px; text-decoration: none; }
.blog-cat-row-name { display: inline-flex; align-items: center; gap: 9px; }
.blog-cat-row-name i { color: var(--blog-accent); font-size: 0.75rem; }
.blog-cat-row .blog-cat-count { background: var(--blog-secondary-light); color: var(--blog-secondary); }

.blog-tags { display: flex; flex-wrap: wrap; gap: 9px; }
.blog-tag {
    padding: 7px 15px;
    background: var(--blog-bg);
    border: 1px solid var(--blog-border);
    border-radius: 50px;
    font-size: 0.8rem;
    color: var(--blog-text-light);
    text-decoration: none;
    transition: all 0.25s ease;
}
.blog-tag:hover {
    background: var(--blog-grad);
    color: var(--blog-white);
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(232, 107, 31, 0.25);
    text-decoration: none;
}

.blog-latest-list { display: flex; flex-direction: column; gap: 16px; }
.blog-latest-item {
    display: flex;
    gap: 12px;
    text-decoration: none;
    align-items: center;
}
.blog-latest-item:hover { text-decoration: none; }
.blog-latest-item img {
    width: 64px; height: 54px;
    object-fit: cover;
    border-radius: 11px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}
.blog-latest-item:hover img { transform: scale(1.06); }
.blog-latest-thumb {
    width: 64px; height: 54px;
    border-radius: 11px;
    background: var(--blog-grad);
    color: var(--blog-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.blog-latest-body { min-width: 0; }
.blog-latest-body h5 {
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.5;
    color: var(--blog-text);
    margin: 0 0 4px;
    transition: color 0.2s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.blog-latest-item:hover .blog-latest-body h5 { color: var(--blog-secondary); }
.blog-latest-body span { font-size: 0.74rem; color: var(--blog-text-light); }

.blog-widget-cta {
    background: var(--blog-grad);
    border: none;
    text-align: center;
    color: var(--blog-white);
    position: relative;
    overflow: hidden;
}
.blog-widget-cta::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1px);
    background-size: 24px 24px;
    pointer-events: none;
}
.blog-widget-cta > * { position: relative; z-index: 2; }
.blog-widget-cta > i {
    font-size: 2.3rem;
    color: var(--blog-accent);
    margin-bottom: 12px;
}
.blog-widget-cta h4 { color: var(--blog-white); border-color: rgba(255, 255, 255, 0.16); }
.blog-widget-cta h4 i { background: rgba(255, 255, 255, 0.14); color: var(--blog-accent); }
.blog-widget-cta p { font-size: 0.85rem; color: rgba(255, 255, 255, 0.82); margin: 0 0 18px; }
.blog-widget-empty { color: var(--blog-text-light); font-size: 0.85rem; margin: 0; }

/* ============================================================
   NEWSLETTER
   ============================================================ */
.blog-newsletter {
    position: relative;
    background: linear-gradient(140deg, #6E1205 0%, #B3230F 60%, #E8601F 100%);
    margin-top: 54px;
    padding: 84px 0;
    overflow: hidden;
}
.blog-newsletter-glow {
    position: absolute;
    width: 620px; height: 620px;
    top: -300px; right: -140px;
    background: radial-gradient(circle, rgba(244, 162, 97, 0.28) 0%, transparent 58%);
    animation: blogFloat 10s ease-in-out infinite;
}
.blog-newsletter-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
    background-size: 26px 26px;
    -webkit-mask-image: radial-gradient(ellipse at 20% 90%, #000 0%, transparent 60%);
    mask-image: radial-gradient(ellipse at 20% 90%, #000 0%, transparent 60%);
}
.blog-newsletter-box {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
    color: var(--blog-white);
}
.blog-eyebrow-light {
    background: rgba(244, 162, 97, 0.14);
    border-color: rgba(244, 162, 97, 0.34);
    color: var(--blog-accent);
}
.blog-newsletter-text h2,
.blog-newsletter-box > h2 {
    font-family: var(--blog-font-display);
    font-size: clamp(1.8rem, 3.2vw, 2.5rem);
    font-weight: 800;
    margin: 0 0 14px;
    color: var(--blog-white);
}
.blog-newsletter-box > h2 em {
    background: linear-gradient(120deg, #F4A261, #F9C889);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.blog-newsletter-box > p {
    color: rgba(255, 255, 255, 0.74);
    margin: 0 0 32px;
    font-size: 0.99rem;
    line-height: 1.8;
}
.blog-newsletter-form {
    display: flex;
    gap: 12px;
    background: var(--blog-white);
    padding: 9px 9px 9px 22px;
    border-radius: 60px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}
.blog-newsletter-input-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
}
.blog-newsletter-input-wrap i { color: var(--blog-secondary); font-size: 0.95rem; }
.blog-newsletter-form input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    padding: 13px 0;
    font-family: var(--blog-font-ui);
    font-size: 0.95rem;
    color: var(--blog-text);
    min-width: 0;
}
.blog-newsletter-form input::placeholder { color: var(--blog-text-light); opacity: 0.8; }
.blog-newsletter-note {
    margin-top: 18px;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.62);
}
.blog-newsletter-note i { color: var(--blog-success); margin-right: 6px; }

/* ============================================================
   DETAIL PAGE
   ============================================================ */
.blog-detail-hero {
    position: relative;
    background: linear-gradient(140deg, #6E1205 0%, #B3230F 60%, #E8601F 100%);
    color: var(--blog-white);
}
.blog-detail-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}
.blog-detail-hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(110, 18, 5, 0.82), rgba(110, 18, 5, 0.95));
}
.blog-detail-head {
    position: relative;
    z-index: 2;
    padding: 74px 0 84px;
    max-width: 900px;
}
.blog-detail-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 0.82rem;
    margin-bottom: 20px;
}
.blog-detail-breadcrumb a { color: rgba(255, 255, 255, 0.72); text-decoration: none; transition: color 0.2s ease; }
.blog-detail-breadcrumb a:hover { color: var(--blog-accent); }
.blog-detail-breadcrumb i { color: rgba(255, 255, 255, 0.4); font-size: 0.6rem; }
.blog-detail-tags-hero {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}
.blog-detail-tags-hero a {
    background: rgba(244, 162, 97, 0.14);
    border: 1px solid rgba(244, 162, 97, 0.35);
    color: var(--blog-accent);
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 0.78rem;
    text-decoration: none;
    transition: all 0.25s ease;
}
.blog-detail-tags-hero a:hover { background: var(--blog-accent); color: #3A2410; }
.blog-detail-head h1 {
    font-family: var(--blog-font-display);
    font-size: clamp(1.8rem, 3.8vw, 2.9rem);
    font-weight: 800;
    line-height: 1.22;
    letter-spacing: -0.5px;
    margin: 0 0 26px;
    color: var(--blog-white);
}
.blog-detail-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}
.blog-detail-author { display: flex; align-items: center; gap: 14px; }
.blog-detail-author img {
    width: 52px; height: 52px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--blog-accent);
}
.blog-detail-author strong { display: block; font-size: 0.92rem; color: var(--blog-white); }
.blog-detail-author span { font-size: 0.8rem; color: rgba(255, 255, 255, 0.65); }
.blog-detail-stats {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
    font-size: 0.84rem;
    color: rgba(255, 255, 255, 0.75);
}
.blog-detail-stats span { display: inline-flex; align-items: center; gap: 8px; }
.blog-detail-stats i { color: var(--blog-accent); }

.blog-detail-section { padding: 46px 0 20px; }
.blog-detail-grid {
    display: grid;
    grid-template-columns: 1fr 344px;
    gap: 42px;
    align-items: start;
}
.blog-detail-main { min-width: 0; }
.blog-detail-cover {
    margin: 0 0 34px;
    border-radius: var(--blog-radius);
    overflow: hidden;
    position: relative;
    box-shadow: var(--blog-shadow);
}
.blog-detail-cover img {
    width: 100%;
    max-height: 460px;
    object-fit: cover;
    display: block;
}
.blog-detail-cover .blog-featured-cat {
    position: absolute;
    top: 20px;
    left: 20px;
}

/* TOC */
.blog-detail-toc {
    background: var(--blog-card);
    border: 1px solid var(--blog-border);
    border-left: 4px solid var(--blog-secondary);
    border-radius: var(--blog-radius-sm);
    padding: 20px 24px;
    margin-bottom: 30px;
    box-shadow: var(--blog-shadow-sm);
}
.blog-detail-toc-head {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--blog-primary);
    cursor: pointer;
}
.blog-detail-toc-head button {
    margin-left: auto;
    background: var(--blog-bg);
    border: 1px solid var(--blog-border);
    color: var(--blog-text-light);
    border-radius: 8px;
    width: 28px; height: 28px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
}
.blog-detail-toc.collapsed .blog-detail-toc-head button i { transform: rotate(180deg); }
.blog-detail-toc.collapsed ul { display: none; }
.blog-detail-toc ul { list-style: none; margin: 14px 0 0; padding: 0; }
.blog-detail-toc li { margin-bottom: 4px; }
.blog-detail-toc a {
    display: block;
    padding: 7px 12px;
    color: var(--blog-text-light);
    font-size: 0.88rem;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
}
.blog-detail-toc a:hover {
    color: var(--blog-secondary);
    background: var(--blog-bg);
    padding-left: 18px;
}
.blog-detail-toc a.toc-h2 { font-weight: 600; color: var(--blog-text); }
.blog-detail-toc a.toc-h3 { padding-left: 26px; }

/* Article typography */
.blog-detail-content {
    font-size: 1.03rem;
    line-height: 1.9;
    color: var(--blog-text);
}
.blog-detail-content h2,
.blog-detail-content h3,
.blog-detail-content h4 {
    color: var(--blog-primary);
    font-family: var(--blog-font-display);
    font-weight: 800;
    line-height: 1.35;
    margin: 1.8em 0 0.7em;
    scroll-margin-top: 120px;
}
.blog-detail-content h2 { font-size: 1.55rem; }
.blog-detail-content h3 { font-size: 1.28rem; }
.blog-detail-content p { margin: 0 0 1.3em; }
.blog-detail-content img {
    max-width: 100%;
    border-radius: var(--blog-radius-sm);
    margin: 1.4em 0;
    box-shadow: var(--blog-shadow-sm);
}
.blog-detail-content a { color: var(--blog-secondary); text-decoration: underline; text-underline-offset: 3px; }
.blog-detail-content ul,
.blog-detail-content ol { padding-left: 1.4em; margin: 0 0 1.3em; }
.blog-detail-content li { margin-bottom: 0.5em; }
.blog-detail-content blockquote {
    border-left: 4px solid var(--blog-accent);
    background: var(--blog-accent-light);
    border-radius: 0 var(--blog-radius-sm) var(--blog-radius-sm) 0;
    padding: 20px 28px;
    margin: 1.6em 0;
    font-style: italic;
    color: var(--blog-text);
}
.blog-detail-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.4em 0;
    border-radius: var(--blog-radius-sm);
    overflow: hidden;
    box-shadow: var(--blog-shadow-sm);
}
.blog-detail-content th,
.blog-detail-content td {
    border: 1px solid var(--blog-border);
    padding: 12px 16px;
    text-align: left;
}
.blog-detail-content th { background: var(--blog-grad); color: var(--blog-white); font-weight: 600; }
.blog-detail-content tr:nth-child(even) td { background: var(--blog-bg); }

/* Gallery */
.blog-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin: 30px 0;
}
.blog-gallery-item {
    border-radius: var(--blog-radius-sm);
    overflow: hidden;
    display: block;
    height: 150px;
}
.blog-gallery-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.blog-gallery-item:hover img { transform: scale(1.08); }

/* Tags under article */
.blog-detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 30px 0;
    padding: 22px 0;
    border-top: 1px solid var(--blog-border);
    border-bottom: 1px solid var(--blog-border);
}

/* Share */
.blog-share {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 34px;
    flex-wrap: wrap;
}
.blog-share > span { font-weight: 600; font-size: 0.9rem; color: var(--blog-text); }
.blog-share-btn {
    width: 44px; height: 44px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--blog-white);
    text-decoration: none;
    transition: all 0.25s ease;
    font-size: 0.95rem;
}
.blog-share-btn:hover { transform: translateY(-4px); box-shadow: var(--blog-shadow-sm); text-decoration: none; color: var(--blog-white); }
.blog-share-fb { background: #1877F2; }
.blog-share-tw { background: #0F1419; }
.blog-share-li { background: #0A66C2; }
.blog-share-wa { background: #25D366; }
.blog-share-link { background: var(--blog-secondary); }
.blog-share-link.copied { background: var(--blog-success); }

/* Author box */
.blog-author-box {
    display: flex;
    gap: 22px;
    align-items: flex-start;
    background: linear-gradient(135deg, var(--blog-bg), var(--blog-secondary-light));
    border: 1px solid var(--blog-border);
    border-radius: var(--blog-radius);
    padding: 28px;
    margin-bottom: 34px;
}
.blog-author-box img {
    width: 80px; height: 80px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 3px solid var(--blog-white);
    box-shadow: var(--blog-shadow-sm);
}
.blog-author-avatar-lg {
    width: 80px; height: 80px;
    font-size: 1.6rem;
    border: 3px solid var(--blog-white);
    box-shadow: var(--blog-shadow-sm);
}
.blog-author-box-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--blog-secondary);
    font-weight: 600;
}
.blog-author-box h4 { font-size: 1.15rem; font-weight: 700; color: var(--blog-text); margin: 4px 0 8px; }
.blog-author-box p { margin: 0; color: var(--blog-text-light); font-size: 0.9rem; line-height: 1.7; }

/* Prev / Next */
.blog-prevnext {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 10px;
}
.blog-prevnext-item {
    background: var(--blog-card);
    border: 1px solid var(--blog-border);
    border-radius: var(--blog-radius);
    padding: 22px;
    text-decoration: none;
    transition: all 0.3s ease;
}
.blog-prevnext-item:hover {
    border-color: var(--blog-secondary);
    transform: translateY(-4px);
    box-shadow: var(--blog-shadow-sm);
    text-decoration: none;
}
.blog-prevnext-item:hover h5 { color: var(--blog-secondary); }
.blog-prevnext-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--blog-text-light);
    font-weight: 600;
    margin-bottom: 8px;
}
.blog-prevnext-item h5 {
    font-size: 0.94rem;
    font-weight: 600;
    color: var(--blog-text);
    margin: 0;
    transition: color 0.2s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.blog-prevnext-next { text-align: right; }
.blog-prevnext-empty { border-style: dashed; }

/* Related section */
.blog-related-section {
    border-top: 1px solid var(--blog-border);
    background: var(--blog-card);
    margin-top: 20px;
    padding: 62px 0;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1199px) {
    .blog-grid-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 991px) {
    .blog-hero { padding: 76px 0 110px; }
    .blog-hero-inner { grid-template-columns: 1fr; gap: 44px; }
    .blog-main-grid,
    .blog-detail-grid { grid-template-columns: 1fr; }
    .blog-sidebar {
        position: static;
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }
    .blog-featured { grid-template-columns: 1fr; }
    .blog-featured-media { min-height: 300px; }
    .blog-widget-cta { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
    .blog-hero { padding: 60px 0 96px; }
    .blog-hero-stats { grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
    .blog-hero-stat { padding: 18px 8px; }
    .blog-hero-stat-num { font-size: 1.5rem; }
    .blog-grid,
    .blog-grid-3,
    .blog-gallery { grid-template-columns: 1fr; }
    .blog-card-media { height: 210px; }
    .blog-sidebar { grid-template-columns: 1fr; }
    .blog-newsletter-form { flex-direction: column; border-radius: var(--blog-radius); padding: 14px; }
    .blog-newsletter-input-wrap { justify-content: center; }
    .blog-newsletter-form input { text-align: center; }
    .blog-newsletter-form .blog-btn { width: 100%; }
    .blog-prevnext { grid-template-columns: 1fr; }
    .blog-author-box { flex-direction: column; align-items: center; text-align: center; }
    .blog-featured-section, .blog-main-section { padding: 42px 0 20px; }
    .blog-detail-head { padding: 50px 0 60px; }
    .blog-trending { padding: 22px; }
    .blog-trend-item { min-width: 264px; max-width: 264px; }
    .blog-hero-wave svg { height: 50px; }
}
@media (max-width: 400px) {
    .blog-hero-stats { grid-template-columns: 1fr; }
    .blog-section-head { flex-direction: column; align-items: flex-start; }
}
