/**
 * Blog index — lodge sanctuary shell (aligned with property index + guestbook)
 */

.post-index-page {
    --post-gold: #eead2b;
    --post-gold-bright: #f5d78e;
    --post-gold-deep: #b8860b;
    --post-walnut: #2c1810;
    --post-on-surface: #eae1d4;
    --post-on-muted: rgba(232, 223, 213, 0.72);
    --post-board-bg: #261912;
    --post-board-border: rgba(238, 173, 43, 0.22);
    --post-parchment: #3d3228;
    --post-parchment-border: rgba(238, 173, 43, 0.22);
    --post-text: #eae1d4;
    --post-text-muted: rgba(232, 223, 213, 0.72);
    --post-meta: rgba(244, 192, 37, 0.85);
    --post-primary-dim: rgba(244, 192, 37, 0.14);
    --post-sidebar-bg: rgba(34, 24, 18, 0.92);
    --post-sidebar-border: rgba(238, 173, 43, 0.18);
    --post-sidebar-text: rgba(244, 236, 220, 0.92);
    --post-sidebar-muted: rgba(232, 223, 213, 0.62);
    --post-sidebar-heading: var(--post-gold);
    --post-sidebar-divider: rgba(238, 173, 43, 0.14);
    --post-sidebar-input-bg: rgba(22, 14, 10, 0.85);
    --post-sidebar-input-border: rgba(238, 173, 43, 0.22);
    --post-sidebar-chip-bg: rgba(0, 0, 0, 0.18);
    --post-sidebar-chip-active: rgba(244, 192, 37, 0.18);
    --post-btn-bg: rgba(244, 192, 37, 0.92);
    --post-btn-text: #1a120b;
    --post-btn-hover: #f5d78e;
    --post-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
    --post-shell-max: 72rem;
    --post-font-serif: 'Newsreader', Georgia, 'Times New Roman', serif;
    /* Dark lodge journal cards (default) */
    --post-card-bg: #3d3228;
    --post-card-border: rgba(238, 173, 43, 0.32);
    --post-card-text: #eae1d4;
    --post-card-text-muted: rgba(232, 223, 213, 0.72);
    --post-card-meta: rgba(244, 192, 37, 0.85);
    --post-card-chip-bg: rgba(0, 0, 0, 0.22);
    --post-card-chip-category-bg: rgba(0, 0, 0, 0.28);
    --post-card-footer-border: rgba(238, 173, 43, 0.18);
    --post-card-hover-border: rgba(238, 173, 43, 0.55);
    --post-card-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
    position: relative;
    color: var(--post-text);
    overflow-x: hidden;
}

html[data-theme="light"] .post-index-page,
[data-theme="light"] .post-index-page,
html:not(.dark) .post-index-page {
    --post-gold: #b8860b;
    --post-gold-bright: #8b5a14;
    --post-gold-deep: #8b5a14;
    --post-on-surface: #3e2723;
    --post-on-muted: #6b5a48;
    --post-board-bg: #e8dcc8;
    --post-board-border: rgba(196, 168, 130, 0.65);
    --post-parchment: #faf3dc;
    --post-parchment-border: rgba(196, 168, 130, 0.55);
    --post-text: #3e2723;
    --post-text-muted: #6d5c52;
    --post-meta: #8b6914;
    --post-primary-dim: rgba(238, 184, 104, 0.18);
    --post-sidebar-bg: #faf6f0;
    --post-sidebar-border: #c4b5a5;
    --post-sidebar-text: #3e2723;
    --post-sidebar-muted: #6d4c41;
    --post-sidebar-heading: #b06602;
    --post-sidebar-divider: #e6d5b8;
    --post-sidebar-input-bg: #ffffff;
    --post-sidebar-input-border: #d7ccc8;
    --post-sidebar-chip-bg: rgba(238, 184, 104, 0.12);
    --post-sidebar-chip-active: rgba(238, 184, 104, 0.28);
    --post-btn-bg: #eeb868;
    --post-btn-text: #1a120b;
    --post-btn-hover: #d9a04a;
    --post-shadow: 0 4px 18px rgba(93, 64, 55, 0.1);
    /* Light journal cards (parchment) */
    --post-card-bg: #faf3dc;
    --post-card-border: rgba(196, 168, 130, 0.55);
    --post-card-text: #3e2723;
    --post-card-text-muted: #6d5c52;
    --post-card-meta: #8b6914;
    --post-card-chip-bg: rgba(238, 184, 104, 0.18);
    --post-card-chip-category-bg: rgba(62, 39, 35, 0.08);
    --post-card-footer-border: rgba(196, 168, 130, 0.55);
    --post-card-hover-border: rgba(238, 173, 43, 0.45);
    --post-card-shadow: 0 4px 18px rgba(93, 64, 55, 0.1);
}

[data-theme="dark"] .post-index-page,
html.dark .post-index-page {
    --post-parchment: #3d3228;
    --post-parchment-border: rgba(238, 173, 43, 0.22);
    --post-sidebar-bg: rgba(34, 24, 18, 0.94);
}

/* Shell */
.post-index-shell {
    width: 100%;
    max-width: var(--post-shell-max);
    margin-inline: auto;
    padding: 0.75rem 0.85rem 1rem;
}

@media (min-width: 640px) {
    .post-index-shell {
        padding: 1rem 1.15rem 1.5rem;
    }
}

@media (min-width: 992px) {
    .post-index-shell {
        padding: 1.15rem 1.35rem 1.75rem;
    }
}

/* Hero */
.post-index-hero {
    margin-bottom: 1rem;
    text-align: center;
}

@media (min-width: 768px) {
    .post-index-hero {
        text-align: start;
        margin-bottom: 1.15rem;
    }
}

.post-index-hero__tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.55rem;
    padding: 0.28rem 0.75rem;
    border-radius: 999px;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--post-gold-bright);
    background: rgba(238, 173, 43, 0.1);
    border: 1px solid rgba(238, 173, 43, 0.28);
}

html[data-theme="light"] .post-index-hero__tag,
html:not(.dark) .post-index-hero__tag {
    color: var(--post-gold-deep);
    background: rgba(255, 255, 255, 0.55);
    border-color: rgba(196, 168, 130, 0.55);
}

.post-index-hero__tag i {
    font-size: 0.72rem;
    color: var(--post-gold);
}

.post-index-hero__title {
    margin: 0 0 0.4rem;
    font-family: var(--post-font-serif);
    font-size: clamp(1.45rem, 2.8vw + 0.5rem, 2rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--post-gold);
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

html[data-theme="light"] .post-index-hero__title,
html:not(.dark) .post-index-hero__title {
    color: var(--post-gold-deep);
    text-shadow: none;
}

.post-index-hero__subtitle {
    margin: 0 auto;
    max-width: 40rem;
    font-size: clamp(0.875rem, 1.1vw + 0.5rem, 1rem);
    line-height: 1.6;
    color: var(--post-on-muted);
}

@media (min-width: 768px) {
    .post-index-hero__subtitle {
        margin-inline: 0;
    }
}

.post-index-hero__divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    margin-top: 0.85rem;
    opacity: 0.75;
}

@media (min-width: 768px) {
    .post-index-hero__divider {
        justify-content: flex-start;
    }
}

.post-index-hero__divider-line {
    height: 1px;
    width: min(5rem, 18vw);
    background: linear-gradient(to var(--divider-dir, right), transparent, var(--post-gold), transparent);
}

[dir="rtl"] .post-index-hero__divider-line {
    --divider-dir: left;
}

.post-index-hero__divider i {
    font-size: 0.65rem;
    color: var(--post-gold);
}

/* Layout */
.post-index-layout {
    align-items: flex-start;
}

/* Lodge board (post list area) */
.post-index-board {
    position: relative;
    border-radius: 0.65rem;
    overflow: hidden;
    border: 1px solid var(--post-board-border);
    background-color: var(--post-board-bg);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 8px 24px rgba(0, 0, 0, 0.22);
}

.post-index-board-pattern {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: url("/images/patterns/home-properties-plank.svg");
    background-size: 200px 200px;
    background-repeat: repeat;
    opacity: 0.92;
}

html[data-theme="light"] .post-index-board-pattern,
html:not(.dark) .post-index-board-pattern {
    background-image: url("/images/patterns/home-properties-plank-light.svg");
    opacity: 0.88;
}

.post-index-board-vignette {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 85% 70% at 50% 45%, transparent 35%, rgba(0, 0, 0, 0.35) 100%),
        linear-gradient(to bottom, rgba(0, 0, 0, 0.18) 0%, transparent 22%, transparent 78%, rgba(0, 0, 0, 0.22) 100%);
}

html[data-theme="light"] .post-index-board-vignette,
html:not(.dark) .post-index-board-vignette {
    background:
        radial-gradient(ellipse 90% 75% at 50% 40%, transparent 40%, rgba(62, 39, 35, 0.06) 100%),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.35) 0%, transparent 25%, transparent 75%, rgba(62, 39, 35, 0.05) 100%);
}

.post-index-board-inner {
    position: relative;
    z-index: 1;
    padding: 0.85rem 0.75rem 1rem;
}

@media (min-width: 768px) {
    .post-index-board-inner {
        padding: 1rem 1rem 1.15rem;
    }
}

/* Active filters */
.post-active-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.75rem;
    margin-bottom: 0.85rem;
    padding: 0.65rem 0.85rem;
    background: var(--post-parchment);
    border: 1px solid var(--post-parchment-border);
    border-radius: 0.5rem;
    box-shadow: var(--post-shadow);
}

.post-active-filters__label {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    color: var(--post-meta);
}

.post-active-filters__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    flex: 1;
}

.post-filter-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.65rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    background: var(--post-primary-dim);
    color: var(--post-meta);
    border: 1px solid rgba(238, 184, 104, 0.35);
}

.post-clear-filters-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    border: none;
    background: transparent;
    color: var(--post-meta);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    cursor: pointer;
    border-radius: 0.25rem;
}

.post-clear-filters-btn:hover {
    background: var(--post-primary-dim);
    color: var(--post-text);
}

/* Loading & empty */
.post-list-loading {
    text-align: center;
    padding: 2.5rem 1rem;
    color: var(--post-on-muted);
}

.post-list-empty {
    text-align: center;
    padding: 2.5rem 1.25rem;
    color: var(--post-text-muted);
    background: var(--post-parchment);
    border: 1px dashed var(--post-parchment-border);
    border-radius: 0.65rem;
    box-shadow: var(--post-shadow);
}

.post-list-empty i {
    font-size: 1.75rem;
    opacity: 0.45;
    display: block;
    margin-bottom: 0.65rem;
    color: var(--post-meta);
}

/* Post grid */
.post-list-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

@media (min-width: 768px) {
    .post-list-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

/* Journal post card — dark lodge timber by default; light parchment via theme vars */
.post-card {
    display: flex;
    flex-direction: column;
    background:
        linear-gradient(165deg, rgba(255, 248, 235, 0.04) 0%, transparent 42%),
        linear-gradient(165deg, #4a3228 0%, #2d1e17 52%, #1a120e 100%);
    border-radius: 0.65rem;
    overflow: hidden;
    border: 1px solid var(--post-card-border);
    box-shadow: var(--post-card-shadow);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s;
    height: 100%;
}

html[data-theme="light"] .post-index-page .post-card,
[data-theme="light"] .post-index-page .post-card,
html:not(.dark) .post-index-page .post-card {
    background: var(--post-card-bg);
}

.post-card:hover {
    transform: translateY(-2px);
    border-color: var(--post-card-hover-border);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}

html[data-theme="light"] .post-index-page .post-card:hover,
[data-theme="light"] .post-index-page .post-card:hover,
html:not(.dark) .post-index-page .post-card:hover {
    box-shadow: 0 10px 28px rgba(93, 64, 55, 0.14);
}

.post-card__media {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.06);
    flex-shrink: 0;
}

.post-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.post-card:hover .post-card__media img {
    transform: scale(1.03);
}

.post-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 0.85rem 0.95rem 0.95rem;
    gap: 0.45rem;
    min-width: 0;
}

.post-card__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.28rem;
}

.post-card-chip {
    border: none;
    cursor: pointer;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    padding: 0.12rem 0.45rem;
    border-radius: 999px;
    background: var(--post-card-chip-bg);
    color: var(--post-card-meta);
    transition: background 0.15s;
}

.post-card-chip:hover {
    background: var(--post-sidebar-chip-active);
}

.post-card-chip--category {
    background: var(--post-card-chip-category-bg);
}

.post-card__title {
    font-family: var(--post-font-serif);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.35;
    margin: 0;
}

.post-card__title a {
    color: var(--post-card-text);
    text-decoration: none;
}

.post-card__title a:hover {
    color: var(--post-gold-bright);
}

html[data-theme="light"] .post-index-page .post-card__title a:hover,
[data-theme="light"] .post-index-page .post-card__title a:hover,
html:not(.dark) .post-index-page .post-card__title a:hover {
    color: var(--post-gold-deep);
}

.post-card__excerpt {
    color: var(--post-card-text-muted);
    font-size: 0.85rem;
    line-height: 1.55;
    margin: 0;
    flex: 1;
}

.post-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
    margin-top: 0.15rem;
    padding-top: 0.55rem;
    border-top: 1px solid var(--post-card-footer-border);
}

.post-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.65rem;
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--post-card-meta);
}

.post-card__meta i {
    margin-inline-end: 0.2rem;
    opacity: 0.85;
}

.post-card__read {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: var(--post-btn-bg);
    color: var(--post-btn-text);
    padding: 0.35rem 0.7rem;
    border-radius: 0.35rem;
    font-size: 0.72rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s;
    white-space: nowrap;
}

.post-card__read:hover {
    background: var(--post-btn-hover);
    color: var(--post-btn-text);
}

/* Mobile: compact horizontal journal rows */
@media (max-width: 767px) {
    .post-card {
        flex-direction: row;
        align-items: stretch;
        border-radius: 0.55rem;
    }

    .post-card__media {
        width: 6.75rem;
        min-width: 6.75rem;
        aspect-ratio: 1;
        border-radius: 0.55rem 0 0 0.55rem;
    }

    .post-card__body {
        padding: 0.55rem 0.65rem 0.6rem;
        gap: 0.3rem;
    }

    .post-card__title {
        font-size: 0.88rem;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .post-card__excerpt {
        font-size: 0.74rem;
        line-height: 1.45;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .post-card__chips {
        display: none;
    }

    .post-card__footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.35rem;
        padding-top: 0.35rem;
        border-top: none;
        margin-top: 0;
    }

    .post-card__meta {
        font-size: 0.62rem;
    }

    .post-card__read {
        padding: 0.28rem 0.55rem;
        font-size: 0.68rem;
    }
}

[dir="rtl"] .post-card__read i {
    transform: scaleX(-1);
}

/* Pagination */
.post-pagination {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

.post-index-page .pagination .page-link {
    color: var(--post-meta);
    border-color: var(--post-parchment-border);
    background: var(--post-parchment);
}

.post-index-page .pagination .page-link:hover {
    background: var(--post-primary-dim);
    color: var(--post-text);
    border-color: rgba(238, 184, 104, 0.45);
}

/* Sidebar */
.post-sidebar {
    background: var(--post-sidebar-bg);
    border: 1px solid var(--post-sidebar-border);
    border-radius: 0.65rem;
    padding: 1rem;
    color: var(--post-sidebar-text);
    box-shadow: var(--post-shadow);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

@media (min-width: 992px) {
    .post-sidebar {
        position: sticky;
        top: 5.25rem;
    }
}

.post-sidebar__section + .post-sidebar__section {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px dashed var(--post-sidebar-divider);
}

.post-sidebar h3 {
    font-size: 0.78rem;
    font-weight: 700;
    margin-bottom: 0.65rem;
    letter-spacing: 0.04em;
    color: var(--post-sidebar-heading);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.post-sidebar h3 i {
    opacity: 0.85;
    width: 1rem;
    text-align: center;
}

.post-sidebar__search {
    background: var(--post-sidebar-input-bg) !important;
    border: 1px solid var(--post-sidebar-input-border) !important;
    color: var(--post-sidebar-text) !important;
    border-radius: 0.45rem !important;
    font-size: 0.88rem;
}

.post-sidebar__search::placeholder {
    color: var(--post-sidebar-muted);
    opacity: 0.75;
}

.post-sidebar__search:focus {
    box-shadow: 0 0 0 2px rgba(238, 184, 104, 0.28);
    border-color: var(--post-gold) !important;
}

/* Mobile: horizontal category scroll */
@media (max-width: 991px) {
    .post-sidebar__section--categories {
        border-top: none;
        margin-top: 0;
        padding-top: 0;
    }

    .post-category-list {
        flex-direction: row;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 0.35rem;
        padding-bottom: 0.15rem;
        scrollbar-width: thin;
        -webkit-overflow-scrolling: touch;
    }

    .post-category-list li {
        flex: 0 0 auto;
    }

    .post-category-item {
        white-space: nowrap;
        padding: 0.4rem 0.75rem;
        font-size: 0.78rem;
        border: 1px solid var(--post-sidebar-border);
        background: var(--post-sidebar-chip-bg);
    }
}

.post-category-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.post-category-item {
    display: block;
    width: 100%;
    text-align: start;
    border: none;
    background: transparent;
    color: var(--post-sidebar-text);
    padding: 0.5rem 0.65rem;
    border-radius: 0.4rem;
    font-size: 0.86rem;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}

.post-category-item:hover,
.post-category-item.is-active {
    background: var(--post-sidebar-chip-active);
    color: var(--post-gold-deep);
}

.post-category-item.is-active {
    font-weight: 700;
}

[data-theme="dark"] .post-category-item:hover,
[data-theme="dark"] .post-category-item.is-active,
html.dark .post-category-item:hover,
html.dark .post-category-item.is-active {
    color: var(--post-gold);
}

.post-tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.post-tag-cloud--scroll {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 0.2rem;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
}

.post-tag-cloud--scroll .post-tag-pill {
    flex: 0 0 auto;
}

.post-tag-pill {
    border: 1px solid var(--post-parchment-border);
    background: var(--post-sidebar-chip-bg);
    color: var(--post-sidebar-text);
    font-size: 0.74rem;
    font-weight: 600;
    padding: 0.28rem 0.65rem;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
    white-space: nowrap;
}

.post-tag-pill:hover,
.post-tag-pill.is-active {
    background: var(--post-sidebar-chip-active);
    border-color: var(--post-gold);
    color: var(--post-gold-deep);
}

[data-theme="dark"] .post-tag-pill:hover,
[data-theme="dark"] .post-tag-pill.is-active,
html.dark .post-tag-pill:hover,
html.dark .post-tag-pill.is-active {
    color: var(--post-gold);
}

.post-featured-list {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.post-featured-list--scroll {
    flex-direction: row;
    overflow-x: auto;
    gap: 0.5rem;
    padding-bottom: 0.2rem;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
}

.post-featured-list--scroll .post-featured-item {
    flex: 0 0 min(78vw, 16rem);
}

.post-featured-item {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding: 0.55rem 0.65rem;
    border-radius: 0.45rem;
    background: var(--post-sidebar-chip-bg);
    border: 1px solid transparent;
    text-decoration: none;
    color: var(--post-sidebar-text);
    transition: background 0.15s, border-color 0.15s;
}

.post-featured-item:hover {
    background: var(--post-sidebar-chip-active);
    border-color: rgba(238, 173, 43, 0.35);
    color: var(--post-gold-deep);
}

[data-theme="dark"] .post-featured-item:hover,
html.dark .post-featured-item:hover {
    color: var(--post-gold);
}

.post-featured-item__title {
    font-family: var(--post-font-serif);
    font-size: 0.84rem;
    font-weight: 600;
    line-height: 1.35;
}

.post-featured-item__meta {
    font-size: 0.68rem;
    color: var(--post-sidebar-muted);
}

.post-sidebar__empty {
    font-size: 0.82rem;
    color: var(--post-sidebar-muted);
}

/* Mobile extras below board */
.post-mobile-extras {
    margin-top: 0.85rem;
    padding: 0.85rem;
    border-radius: 0.55rem;
    background: var(--post-sidebar-bg);
    border: 1px solid var(--post-sidebar-border);
}

.post-mobile-extras__title {
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--post-sidebar-heading);
    margin: 0 0 0.55rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.post-mobile-extras__title + .post-tag-cloud,
.post-mobile-extras__title + .post-featured-list {
    margin-bottom: 0.85rem;
}

.post-mobile-extras__title:not(:first-child) {
    margin-top: 0.35rem;
}

/* Page layout: avoid footer / bottom-nav gap on mobile */
@media (max-width: 767px) {
    .client-main.post-index-page-layout {
        min-height: auto;
    }

    .post-index-page {
        min-height: auto;
    }

    .post-index-sidebar-col {
        margin-bottom: 0.15rem;
    }
}
