/* ═══════════════════════════════════════════════════════════════
   VINDHYA MILLETS — EDITORIAL BLOG DESIGN (blog.php)
   Matches Reference Mockup: media_1788576112954.jpg
   ═══════════════════════════════════════════════════════════════ */

:root {
    --brand-forest: #143d28;
    --brand-forest-dark: #0e2a1b;
    --brand-terracotta: #c25e1a;
    --brand-amber: #d48806;
    --brand-cream: #faf8f5;
    --brand-card-bg: #ffffff;
    --text-charcoal: #1c2b22;
    --text-muted: #5a6a60;
    --border-soft: #e5dfd5;
}

/* ── 1. ORGANIC HERO SECTION ────────────────────────────── */
.blog-hero-organic {
    position: relative;
    width: 100%;
    min-height: 420px;
    background: linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0.96) 28%, rgba(255, 255, 255, 0.78) 52%, rgba(255, 255, 255, 0.18) 82%, rgba(255, 255, 255, 0) 100%), 
                url('../images/blog-hero-farmer.jpg') center right / cover no-repeat;
    padding: 38px 0 24px;
    overflow: hidden;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.bhero-leaf-left {
    position: absolute;
    left: -35px;
    top: 50px;
    width: 150px;
    height: auto;
    opacity: 0.85;
    pointer-events: none;
    z-index: 2;
    transform: rotate(15deg);
    filter: drop-shadow(2px 6px 12px rgba(0, 0, 0, 0.08));
}

.bhero-cursive-stamp {
    position: absolute;
    right: 48px;
    top: 28px;
    font-family: 'Caveat', cursive;
    font-size: 2.2rem;
    font-weight: 700;
    color: #4b3e34;
    line-height: 1.05;
    text-align: right;
    transform: rotate(12deg);
    pointer-events: none;
    z-index: 3;
    opacity: 0.9;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.bhero-content-wrap {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 28px;
    position: relative;
    z-index: 4;
}

.bhero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 2.2px;
    text-transform: uppercase;
    color: #2d6a4f;
    margin-bottom: 12px;
}

.bhero-eyebrow svg {
    fill: #2d6a4f;
}

.bhero-title {
    font-size: clamp(2.3rem, 4.4vw, 3.6rem);
    font-weight: 900;
    line-height: 1.15;
    color: var(--text-charcoal);
    letter-spacing: -0.025em;
    margin: 0 0 12px 0;
}

.bhero-title .hl-forest {
    color: var(--brand-forest);
}

.bhero-title .hl-terracotta {
    color: var(--brand-terracotta);
}

.bhero-subtitle {
    font-size: 1.05rem;
    color: #4a5850;
    font-weight: 500;
    margin: 0 0 28px 0;
    max-width: 680px;
    line-height: 1.5;
}

/* Category Pills Bar - Seamless Single Row */
.bhero-pills-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 4px 0 8px;
}

.bhero-pills-row::-webkit-scrollbar {
    display: none;
}

.bcat-pill {
    background: #ffffff;
    border: 1.5px solid rgba(0, 0, 0, 0.08);
    border-radius: 999px;
    padding: 8px 18px;
    font-size: 0.88rem;
    font-weight: 600;
    color: #2b3b31;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.04);
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    outline: none;
    user-select: none;
    white-space: nowrap;
    flex-shrink: 0;
}

.bcat-pill .pill-icon {
    font-size: 0.96rem;
    line-height: 1;
}

.bcat-pill:hover {
    transform: translateY(-2px);
    border-color: var(--brand-forest);
    color: var(--brand-forest);
    box-shadow: 0 6px 16px rgba(20, 61, 40, 0.1);
}

.bcat-pill.active {
    background: var(--brand-forest) !important;
    border-color: var(--brand-forest) !important;
    color: #ffffff !important;
    box-shadow: 0 6px 18px rgba(20, 61, 40, 0.25) !important;
}

/* ── 2. MAIN CONTENT AREA & WATERMARKS ──────────────────── */
.blog-main-wrapper {
    position: relative;
    background: var(--brand-cream);
    padding: 36px 0 80px;
    min-height: 800px;
    overflow: hidden;
}

/* Background Botanical / Cursive Watermarks */
.blog-watermark-side {
    position: absolute;
    pointer-events: none;
    z-index: 1;
    user-select: none;
    font-family: 'Caveat', cursive;
    color: rgba(160, 136, 118, 0.52);
    font-weight: 700;
}

.blog-watermark-side.wm-right-top {
    right: 28px;
    top: 140px;
    font-size: 2.4rem;
    line-height: 1.05;
    transform: rotate(14deg);
    text-align: center;
}

.blog-watermark-side.wm-right-bot {
    right: 36px;
    bottom: 90px;
    font-size: 2.1rem;
    line-height: 1.1;
    transform: rotate(-6deg);
    text-align: center;
}

.blog-watermark-wheat {
    position: absolute;
    pointer-events: none;
    z-index: 1;
    opacity: 0.18;
}

.blog-watermark-wheat.wm-bot-left {
    left: -20px;
    bottom: 20px;
    width: 220px;
}

.blog-watermark-wheat.wm-bot-right {
    right: -10px;
    bottom: 10px;
    width: 180px;
}

.blog-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

/* ── 3. TOOLBAR CONTROLS (SEARCH, SORT, VIEW) ───────────── */
.blog-toolbar-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 34px;
    flex-wrap: wrap;
}

.blog-search-pill {
    position: relative;
    flex: 1;
    max-width: 600px;
    min-width: 280px;
    display: flex;
    align-items: center;
}

.blog-search-pill .search-icon {
    position: absolute;
    left: 18px;
    width: 19px;
    height: 19px;
    color: #6a7970;
    pointer-events: none;
}

.blog-search-pill input {
    width: 100%;
    height: 50px;
    padding: 0 44px 0 50px;
    border-radius: 999px;
    border: 1.5px solid var(--border-soft);
    background: #ffffff;
    font-size: 0.95rem;
    color: var(--text-charcoal);
    font-family: inherit;
    outline: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    transition: all 0.22s ease;
}

.blog-search-pill input::placeholder {
    color: #8c9b92;
}

.blog-search-pill input:focus {
    border-color: var(--brand-forest);
    box-shadow: 0 0 0 4px rgba(20, 61, 40, 0.1);
}

.blog-search-clear {
    position: absolute;
    right: 16px;
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 4px;
    font-size: 1rem;
    line-height: 1;
}

.blog-search-pill.has-value .blog-search-clear {
    display: flex;
}

.blog-toolbar-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.blog-sort-ctrl {
    display: flex;
    align-items: center;
    gap: 9px;
}

.blog-sort-ctrl .sort-label {
    font-size: 0.92rem;
    font-weight: 500;
    color: #6a7970;
}

.sort-select-pill {
    position: relative;
}

.sort-select-pill select {
    appearance: none;
    -webkit-appearance: none;
    background: #ffffff;
    border: 1.5px solid var(--border-soft);
    border-radius: 999px;
    padding: 9px 38px 9px 18px;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-charcoal);
    cursor: pointer;
    outline: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
    transition: border-color 0.2s;
}

.sort-select-pill select:focus {
    border-color: var(--brand-forest);
}

.sort-select-pill .sort-chev {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #6a7970;
}

.blog-view-toggle-grp {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.bview-btn {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1.5px solid var(--border-soft);
    background: #ffffff;
    color: #6a7970;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
    transition: all 0.2s ease;
}

.bview-btn:hover {
    border-color: var(--brand-forest);
    color: var(--brand-forest);
}

.bview-btn.active {
    background: var(--brand-forest) !important;
    border-color: var(--brand-forest) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(20, 61, 40, 0.22) !important;
}

/* ── 4. EDITORIAL ARTICLE CARDS GRID ────────────────────── */
.blog-editorial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 24px;
}

.blog-card-editorial {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    height: 470px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
    cursor: pointer;
    background: #1a2a20;
}

.blog-card-editorial:hover {
    transform: translateY(-7px);
    box-shadow: 0 20px 42px rgba(0, 0, 0, 0.16);
}

/* Card Background Image Wrap */
.bcard-bg-wrap {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.bcard-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    display: block;
}

.blog-card-editorial:hover .bcard-bg-img {
    transform: scale(1.06);
}

/* Deep cinematic bottom gradient - softened blackish bottom for vibrant image clarity */
.bcard-gradient-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, 
                rgba(12, 20, 16, 0.12) 0%, 
                rgba(12, 20, 16, 0.00) 28%, 
                rgba(10, 18, 14, 0.35) 62%, 
                rgba(8, 14, 11, 0.68) 100%);
    pointer-events: none;
}

/* Card Top Bar */
.bcard-top-bar {
    position: relative;
    z-index: 3;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.bcard-cat-badge {
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    line-height: 1.2;
    max-height: 28px;
}

.bcard-cat-badge .bcard-cat-icon,
.bcard-cat-badge .cat-icon {
    font-size: 0.78rem !important;
    line-height: 1 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.bcard-cat-badge.cat-farmer-stories {
    background: rgba(22, 60, 35, 0.88);
}

.bcard-cat-badge.cat-recipes {
    background: rgba(125, 52, 20, 0.88);
}

.bcard-cat-badge.cat-health,
.bcard-cat-badge.cat-millet-health {
    background: rgba(38, 86, 52, 0.88);
}

.bcard-cat-badge.cat-news {
    background: rgba(28, 44, 62, 0.88);
}

.bcard-cat-badge.cat-default {
    background: rgba(40, 50, 44, 0.88);
}

.bcard-bookmark-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #ffffff;
    color: #1a1a1a;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.bcard-bookmark-btn:hover {
    transform: scale(1.12);
    background: #f7f7f7;
}

.bcard-bookmark-btn.bookmarked {
    background: var(--brand-forest);
    color: #ffffff;
}

/* Card Bottom Content */
.bcard-bottom-content {
    position: relative;
    z-index: 3;
    padding: 20px 22px;
    color: #ffffff;
}

.bcard-title {
    font-size: 1.32rem;
    font-weight: 800;
    line-height: 1.32;
    color: #ffffff;
    margin: 0 0 8px 0;
    letter-spacing: -0.015em;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.65), 0 1px 3px rgba(0, 0, 0, 0.4);
}

.bcard-title a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.2s;
}

.bcard-title a:hover {
    color: #8be4b5;
}

.bcard-desc {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.48;
    margin: 0 0 16px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-weight: 400;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.55);
}

/* Meta & Arrow Link Row */
.bcard-footer-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    padding-top: 14px;
}

.bcard-meta-left {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.86);
    font-weight: 500;
}

.bcard-meta-left span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.bcard-meta-left svg {
    stroke: rgba(255, 255, 255, 0.85);
}

.bcard-arrow-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ffffff;
    color: #111111;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.22);
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-card-editorial:hover .bcard-arrow-link {
    transform: scale(1.12);
    background: #ffffff;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.32);
}

.bcard-arrow-link svg {
    stroke: #111111;
}

/* ── 5. LOAD MORE BUTTON ────────────────────────────────── */
.blog-load-more-wrap {
    text-align: center;
    margin-top: 42px;
}

.btn-load-more {
    background: #ffffff;
    border: 1.5px solid var(--border-soft);
    border-radius: 999px;
    padding: 13px 38px;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-charcoal);
    display: inline-flex;
    align-items: center;
    gap: 9px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
    transition: all 0.24s cubic-bezier(0.16, 1, 0.3, 1);
    outline: none;
}

.btn-load-more:hover {
    border-color: var(--brand-forest);
    color: var(--brand-forest);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(20, 61, 40, 0.12);
}

.btn-load-more:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.btn-load-more.is-loading {
    background: #f4f8f5;
    border-color: var(--brand-forest);
    color: var(--brand-forest);
    pointer-events: none;
}

.btn-load-spinner {
    width: 16px;
    height: 16px;
    border: 2.5px solid rgba(45, 106, 79, 0.22);
    border-top-color: var(--brand-forest, #2d6a4f);
    border-radius: 50%;
    animation: bcardSpin 0.7s linear infinite;
    display: inline-block;
}

@keyframes bcardSpin {
    to { transform: rotate(360deg); }
}

/* ── Newly Arrived Cards Entrance Animation ─────────── */
.blog-card-editorial.bcard-new-arrival {
    opacity: 0;
    animation: bcardArrival 0.65s cubic-bezier(0.16, 1, 0.3, 1) forwards,
               bcardNewGlow 2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes bcardArrival {
    0% {
        opacity: 0;
        transform: translateY(42px) scale(0.94);
        filter: blur(6px);
    }
    65% {
        opacity: 0.98;
        transform: translateY(-4px) scale(1.01);
        filter: blur(0);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

@keyframes bcardNewGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(82, 183, 136, 0.55);
    }
    35% {
        box-shadow: 0 0 0 4px rgba(82, 183, 136, 0.42), 0 18px 40px rgba(45, 106, 79, 0.22);
    }
    100% {
        box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
    }
}

.bcard-top-left {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.bcard-new-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: #ffffff;
    background: linear-gradient(135deg, #1b4332, #2d6a4f);
    box-shadow: 0 4px 12px rgba(27, 67, 50, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.35);
    animation: bcardNewPillPop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}

.bcard-new-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #52b788;
    box-shadow: 0 0 8px #52b788;
    animation: bcardDotPulse 1.6s infinite ease-in-out;
}

@keyframes bcardDotPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.45); opacity: 0.65; }
}

@keyframes bcardNewPillPop {
    0% { opacity: 0; transform: scale(0.6) translateY(-4px); }
    100% { opacity: 1; transform: scale(1) translateY(0); }
}

/* ── 6. LIST VIEW LAYOUT ────────────────────────────────── */
.blog-editorial-grid.list-view {
    grid-template-columns: 1fr;
    gap: 22px;
}

.blog-editorial-grid.list-view .blog-card-editorial {
    flex-direction: row;
    height: 250px;
    background: #ffffff;
    border: 1.5px solid var(--border-soft);
}

.blog-editorial-grid.list-view .bcard-bg-wrap {
    position: relative;
    width: min(360px, 100%);
    flex-shrink: 0;
}

.blog-editorial-grid.list-view .bcard-top-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}

.blog-editorial-grid.list-view .bcard-gradient-overlay {
    background: linear-gradient(90deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.3) 100%);
}

.blog-editorial-grid.list-view .bcard-bottom-content {
    flex: 1;
    background: #ffffff;
    color: var(--text-charcoal);
    padding: 24px 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.blog-editorial-grid.list-view .bcard-title {
    color: var(--text-charcoal);
}

.blog-editorial-grid.list-view .bcard-title a {
    color: var(--text-charcoal);
}

.blog-editorial-grid.list-view .bcard-title a:hover {
    color: var(--brand-forest);
}

.blog-editorial-grid.list-view .bcard-desc {
    color: #4a5568;
    -webkit-line-clamp: 3;
}

.blog-editorial-grid.list-view .bcard-footer-meta {
    border-top-color: var(--border-soft);
}

.blog-editorial-grid.list-view .bcard-meta-left {
    color: #64748b;
}

.blog-editorial-grid.list-view .bcard-meta-left svg {
    stroke: #64748b;
}

.blog-editorial-grid.list-view .bcard-arrow-link {
    background: var(--brand-forest);
    color: #ffffff;
}

.blog-editorial-grid.list-view .bcard-arrow-link svg {
    stroke: #ffffff;
}

/* ── 7. EMPTY STATE & SKELETON ──────────────────────────── */
.blog-empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 70px 20px;
    background: #ffffff;
    border-radius: 20px;
    border: 1.5px dashed var(--border-soft);
}

.blog-empty-icon {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: rgba(20, 61, 40, 0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    color: var(--brand-forest);
}

.blog-empty-state h3 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-charcoal);
    margin-bottom: 8px;
}

.blog-empty-state p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.bcard-skeleton {
    height: 470px;
    border-radius: 22px;
    background: linear-gradient(90deg, #e9e5de 25%, #f4f0e9 50%, #e9e5de 75%);
    background-size: 200% 100%;
    animation: skelShimmer 1.5s infinite;
}

@keyframes skelShimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ── 8. RESPONSIVE MEDIA QUERIES ────────────────────────── */
@media (max-width: 1080px) {
    .blog-editorial-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 22px;
    }
    .bhero-leaf-left {
        width: 110px;
        left: -25px;
    }
    .bhero-cursive-stamp {
        font-size: 1.7rem;
        right: 20px;
    }
    .blog-watermark-side {
        display: none;
    }
}

@media (max-width: 768px) {
    .blog-editorial-grid {
        grid-template-columns: 1fr;
    }
    .blog-editorial-grid.list-view .blog-card-editorial {
        flex-direction: column;
        height: auto;
    }
    .blog-editorial-grid.list-view .bcard-bg-wrap {
        width: 100%;
        height: 240px;
    }
    .blog-hero-organic {
        min-height: auto;
        padding: 22px 0 16px;
        background: linear-gradient(180deg, #FFFFFF 0%, #FAF8F5 100%);
        border-bottom: 1px solid rgba(45, 106, 79, 0.10);
    }
    .bhero-leaf-left {
        display: none;
    }
    .bhero-cursive-stamp {
        display: none;
    }
    .bhero-content-wrap {
        padding: 0 18px;
    }
    .bhero-eyebrow {
        font-size: 0.74rem;
        letter-spacing: 1.8px;
        margin-bottom: 8px;
        gap: 6px;
    }
    .bhero-eyebrow svg {
        width: 15px;
        height: 15px;
    }
    .bhero-title {
        font-size: 1.75rem;
        line-height: 1.2;
        letter-spacing: -0.02em;
        margin: 0 0 8px 0;
    }
    .bhero-subtitle {
        font-size: 0.88rem;
        line-height: 1.45;
        color: #55655b;
        margin: 0 0 18px 0;
    }
    .bhero-pills-row {
        gap: 8px;
        padding: 4px 18px 8px;
        margin: 0 -18px;
        -webkit-overflow-scrolling: touch;
    }
    .bcat-pill {
        padding: 7px 15px;
        font-size: 0.82rem;
        border-radius: 999px;
        gap: 6px;
    }
    .bcat-pill .pill-icon {
        font-size: 0.88rem;
    }
    .blog-toolbar-row {
        flex-direction: column;
        align-items: stretch;
    }
    .blog-toolbar-right {
        justify-content: space-between;
    }
    .blog-search-pill {
        max-width: 100%;
    }
    .bcard-title {
        font-size: 1.22rem;
    }
    .blog-editorial-grid.list-view .blog-card-editorial {
        flex-direction: column !important;
        height: auto !important;
    }
    .blog-editorial-grid.list-view .bcard-bg-wrap {
        width: 100% !important;
        height: 200px !important;
    }
}

@media (max-width: 480px) {
    .bhero-title {
        font-size: 1.60rem;
    }
    .bhero-subtitle {
        font-size: 0.85rem;
        margin-bottom: 16px;
    }
    .bcat-pill {
        padding: 6px 13px;
        font-size: 0.79rem;
    }
}
