:root {
    --blog-bg: #fffdf7;
    --blog-text: #1b1b18;
    --blog-muted: #68645c;
    --blog-line: #eadfcb;
    --blog-gold: #d99a24;
    --blog-gold-dark: #a86f19;
    --blog-soft: #fff7e7;
    --blog-cream: #fbf2df;
    --blog-card: #ffffff;
    --blog-shadow: 0 24px 60px rgba(38, 29, 10, 0.1);
    --blog-shadow-soft: 0 12px 34px rgba(38, 29, 10, 0.06);
}

.blog-page,
.blog-detail-page,
.blog-listing-page {
    background: var(--blog-bg);
}

.sr-only {
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.blog-hero,
.blog-detail-hero {
    background:
        radial-gradient(circle at 82% 16%, rgba(217, 154, 36, 0.2), transparent 24%),
        linear-gradient(135deg, #fff8e9 0%, #fffdf7 55%, #fff3d9 100%);
    border-bottom: 1px solid rgba(234, 223, 203, 0.85);
    overflow: hidden;
    padding: 58px 0;
    position: relative;
}

.blog-hero-inner,
.blog-detail-hero-inner {
    align-items: center;
    display: grid;
    gap: 62px;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 520px);
    position: relative;
    z-index: 1;
}

.blog-hero-content,
.blog-detail-header {
    max-width: 760px;
}

.blog-eyebrow {
    color: var(--blog-gold-dark);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.6px;
    margin: 0 0 14px;
    text-transform: uppercase;
}

.blog-hero h1,
.blog-detail-header h1 {
    color: var(--blog-text);
    font-family: 'Lexend', sans-serif;
    font-size: 52px;
    font-weight: 600;
    line-height: 1.1;
    margin: 0 0 18px;
}

.blog-hero-content > p:last-child,
.blog-detail-header > p {
    color: var(--blog-muted);
    font-size: 16px;
    line-height: 1.75;
    margin: 0;
    max-width: 650px;
}

.blog-hero-art {
    align-items: center;
    display: flex;
    justify-content: center;
    min-height: 300px;
    position: relative;
}

.blog-hero-art img {
    display: block;
    filter: drop-shadow(0 28px 45px rgba(113, 78, 12, 0.18));
    max-height: 330px;
    max-width: 100%;
    object-fit: contain;
    position: relative;
    z-index: 2;
}

.blog-honeycomb-pattern {
    background-image: none;
    height: 250px;
    opacity: 0.58;
    position: absolute;
    right: -14px;
    top: 8px;
    width: 260px;
    z-index: 1;
}

.blog-list-section {
    padding: 32px 0 88px;
}

.blog-toolbar {
    align-items: center;
    display: flex;
    gap: 18px;
    justify-content: space-between;
    margin-bottom: 30px;
}

.blog-toolbar.is-loading {
    pointer-events: none;
}

.blog-results {
    min-height: 260px;
    position: relative;
}

.blog-results.is-loading {
    cursor: progress;
}

.blog-category-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.blog-filter-pill {
    align-items: center;
    background: #fff;
    border: 1px solid var(--blog-line);
    border-radius: 7px;
    color: var(--blog-text);
    cursor: pointer;
    display: inline-flex;
    font-family: 'Lexend', sans-serif;
    font-size: 13px;
    font-weight: 500;
    min-height: 38px;
    padding: 9px 15px;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.blog-filter-pill:hover,
.blog-filter-pill.active {
    background: var(--blog-gold);
    border-color: var(--blog-gold);
    color: #fff;
    transform: translateY(-1px);
}

.blog-toolbar.is-loading .blog-filter-pill,
.blog-toolbar.is-loading .blog-search {
    opacity: 0.68;
}

.blog-search {
    align-items: center;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid var(--blog-line);
    border-radius: 7px;
    color: var(--blog-muted);
    display: flex;
    gap: 8px;
    min-height: 40px;
    padding: 0 12px;
    width: min(100%, 280px);
}

.blog-search input {
    background: transparent;
    border: 0;
    color: var(--blog-text);
    flex: 1;
    font-family: 'Lexend', sans-serif;
    font-size: 13px;
    min-width: 0;
    outline: 0;
}

.blog-search button {
    align-items: center;
    background: transparent;
    border: 0;
    color: var(--blog-muted);
    cursor: pointer;
    display: inline-flex;
    justify-content: center;
    padding: 0;
}

.blog-search button:hover {
    color: var(--blog-gold-dark);
}

.blog-search-clear {
    border-left: 1px solid var(--blog-line);
    color: var(--blog-gold-dark);
    font-size: 12px;
    font-weight: 700;
    padding-left: 10px;
    text-decoration: none;
}

.blog-grid {
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.blog-skeleton-card {
    pointer-events: none;
}

.blog-skeleton-image,
.blog-skeleton-line {
    background: linear-gradient(90deg, #f4ead7 0%, #fff8eb 45%, #f4ead7 100%);
    background-size: 220% 100%;
    animation: blogSkeletonShimmer 1.25s ease-in-out infinite;
}

.blog-skeleton-image {
    aspect-ratio: 1.34 / 1;
}

.blog-skeleton-line {
    border-radius: 999px;
    height: 12px;
    margin-bottom: 13px;
}

.blog-skeleton-meta {
    height: 10px;
    width: 48%;
}

.blog-skeleton-title {
    height: 22px;
    width: 84%;
}

.blog-skeleton-short {
    width: 62%;
}

.blog-card {
    background: var(--blog-card);
    border: 1px solid rgba(234, 223, 203, 0.9);
    border-radius: 8px;
    box-shadow: var(--blog-shadow-soft);
    display: flex;
    flex-direction: column;
    min-height: 100%;
    overflow: hidden;
    position: relative;
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.blog-card:hover {
    border-color: rgba(217, 154, 36, 0.5);
    box-shadow: var(--blog-shadow);
    transform: translateY(-7px);
}

.blog-card[hidden] {
    display: none;
}

.blog-card-image {
    background: linear-gradient(135deg, var(--blog-cream), #fff);
    display: block;
    overflow: hidden;
    padding: 14px;
}

.blog-card-image img {
    aspect-ratio: 1.34 / 1;
    border-radius: 7px;
    display: block;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.38s ease;
    width: 100%;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.055);
}

.blog-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 22px 22px 24px;
}

.blog-meta {
    color: var(--blog-gold-dark);
    display: flex;
    flex-wrap: wrap;
    font-size: 10px;
    font-weight: 700;
    gap: 7px 10px;
    letter-spacing: 0.15px;
    line-height: 1.35;
    margin-bottom: 13px;
    text-transform: uppercase;
}

.blog-meta span {
    align-items: center;
    display: inline-flex;
    gap: 10px;
}

.blog-meta span:not(:last-child)::after,
.blog-compact-meta span:not(:last-child)::after {
    background: rgba(168, 111, 25, 0.36);
    border-radius: 999px;
    content: "";
    display: inline-block;
    height: 4px;
    width: 4px;
}

.blog-card h2 {
    font-size: 21px;
    font-weight: 600;
    line-height: 1.34;
    margin: 0 0 12px;
}

.blog-card h2 a,
.blog-compact-card h3 a {
    color: var(--blog-text);
    text-decoration: none;
}

.blog-card h2 a:hover,
.blog-compact-card h3 a:hover {
    color: var(--blog-gold-dark);
}

.blog-card p {
    color: var(--blog-muted);
    font-size: 14px;
    line-height: 1.75;
    margin: 0 0 22px;
}

.blog-read-link {
    align-items: center;
    color: var(--blog-gold-dark);
    display: inline-flex;
    font-size: 14px;
    font-weight: 700;
    gap: 8px;
    margin-top: auto;
    position: relative;
    text-decoration: none;
    width: fit-content;
}

.blog-read-link span,
.related-blog-header a span {
    transition: transform 0.2s ease;
}

.blog-read-link:hover span,
.related-blog-header a:hover span {
    transform: translateX(4px);
}

.blog-pagination {
    margin-top: 42px;
}

.blog-empty {
    background: #fff;
    border: 1px solid var(--blog-line);
    border-radius: 8px;
    padding: 48px 24px;
    text-align: center;
}

.blog-filter-empty {
    margin-top: 30px;
}

.blog-empty h2 {
    color: var(--blog-text);
    font-size: 26px;
    margin: 0 0 10px;
}

.blog-empty p {
    color: var(--blog-muted);
    margin: 0;
}

.blog-breadcrumbs {
    align-items: center;
    color: var(--blog-muted);
    display: flex;
    flex-wrap: wrap;
    font-size: 12px;
    gap: 9px;
    margin-bottom: 34px;
}

.blog-breadcrumbs a {
    color: var(--blog-muted);
    text-decoration: none;
}

.blog-breadcrumbs a:hover {
    color: var(--blog-gold-dark);
}

.blog-detail-hero-image {
    background: #fff;
    border: 1px solid rgba(234, 223, 203, 0.95);
    border-radius: 10px;
    box-shadow: var(--blog-shadow);
    overflow: hidden;
    padding: 16px;
}

.blog-detail-hero-image img {
    aspect-ratio: 1.45 / 1;
    border-radius: 8px;
    display: block;
    height: 100%;
    object-fit: contain;
    object-position: center;
    width: 100%;
}

.blog-share-row {
    align-items: center;
    display: flex;
    gap: 12px;
    margin-top: 36px;
}

.blog-share-row > span {
    color: var(--blog-muted);
    font-size: 13px;
}

.blog-share-row a,
.blog-copy-link {
    align-items: center;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(234, 223, 203, 0.9);
    border-radius: 50%;
    color: var(--blog-text);
    cursor: pointer;
    display: inline-flex;
    height: 36px;
    justify-content: center;
    padding: 0;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
    width: 36px;
}

.blog-share-row a:hover,
.blog-copy-link:hover,
.blog-copy-link.copied {
    background: var(--blog-gold);
    color: #fff;
    transform: translateY(-2px);
}

.blog-article-section {
    padding: 64px 0 80px;
}

.blog-article-layout {
    margin: 0 auto;
    max-width: 840px;
    width: 100%;
}

.blog-content {
    color: #3f3b35;
    font-size: 17px;
    line-height: 1.9;
    width: 100%;
}

.blog-content > *:first-child {
    margin-top: 0;
}

.blog-content p {
    margin: 0 0 24px;
}

.blog-content h2,
.blog-content h3 {
    color: var(--blog-text);
    font-weight: 600;
    line-height: 1.3;
}

.blog-content h2 {
    font-size: 30px;
    margin: 44px 0 18px;
}

.blog-content h2::after {
    background: var(--blog-gold);
    border-radius: 999px;
    content: "";
    display: block;
    height: 3px;
    margin-top: 12px;
    width: 42px;
}

.blog-content h3 {
    font-size: 22px;
    margin: 30px 0 12px;
}

.blog-content ul,
.blog-content ol {
    background: rgba(255, 248, 233, 0.72);
    border: 1px solid rgba(234, 223, 203, 0.86);
    border-radius: 8px;
    list-style-position: outside;
    margin: 8px 0 30px;
    padding: 18px 24px 10px 44px;
}

.blog-content ul {
    list-style-type: disc;
}

.blog-content ol {
    list-style-type: decimal;
}

.blog-content li {
    display: list-item;
    margin-bottom: 12px;
    padding-left: 8px;
}

.blog-content li::marker {
    color: var(--blog-gold-dark);
}

.blog-gallery-section {
    border-top: 1px solid var(--blog-line);
    margin-top: 56px;
    padding-top: 36px;
}

.blog-gallery-header {
    margin-bottom: 20px;
}

.blog-gallery-header h2 {
    color: var(--blog-text);
    font-size: 26px;
    font-weight: 600;
    margin: 0;
}

.blog-gallery-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.blog-gallery-item {
    background: #fff;
    border: 1px solid rgba(234, 223, 203, 0.9);
    border-radius: 10px;
    box-shadow: var(--blog-shadow-soft);
    margin: 0;
    overflow: hidden;
}

.blog-gallery-item img {
    aspect-ratio: 4 / 3;
    display: block;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
    width: 100%;
}

.blog-gallery-item:hover img {
    transform: scale(1.035);
}

.related-blog-section {
    background: linear-gradient(180deg, #ffffff 0%, #fffdf7 100%);
    border-top: 1px solid var(--blog-line);
    padding: 56px 0 76px;
}

.related-blog-header {
    align-items: center;
    display: flex;
    gap: 20px;
    justify-content: space-between;
    margin-bottom: 28px;
}

.related-blog-header h2 {
    color: var(--blog-text);
    font-size: 28px;
    font-weight: 600;
    margin: 0;
}

.related-blog-header a {
    align-items: center;
    color: var(--blog-gold-dark);
    display: inline-flex;
    font-size: 14px;
    font-weight: 700;
    gap: 8px;
    text-decoration: none;
}

.blog-grid-related {
    display: grid;
    gap: 22px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.blog-compact-card {
    align-items: stretch;
    background: #fff;
    border: 1px solid rgba(234, 223, 203, 0.9);
    border-radius: 8px;
    box-shadow: var(--blog-shadow-soft);
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    min-height: 116px;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.blog-compact-card:hover {
    border-color: rgba(217, 154, 36, 0.5);
    box-shadow: var(--blog-shadow);
    transform: translateY(-4px);
}

.blog-compact-image {
    background: var(--blog-cream);
    overflow: hidden;
}

.blog-compact-image img {
    display: block;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
    width: 100%;
}

.blog-compact-card:hover .blog-compact-image img {
    transform: scale(1.055);
}

.blog-compact-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 14px 16px;
}

.blog-compact-category {
    color: var(--blog-gold-dark);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.15px;
    margin-bottom: 7px;
    text-transform: uppercase;
}

.blog-compact-card h3 {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.35;
    margin: 0 0 12px;
}

.blog-compact-meta {
    color: var(--blog-gold-dark);
    display: flex;
    flex-wrap: wrap;
    font-size: 10px;
    font-weight: 700;
    gap: 7px 10px;
    line-height: 1.35;
    text-transform: uppercase;
}

.blog-compact-meta span {
    align-items: center;
    display: inline-flex;
    gap: 10px;
}

@keyframes blogFadeUp {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes blogSkeletonShimmer {
    0% {
        background-position: 120% 0;
    }

    100% {
        background-position: -120% 0;
    }
}

.blog-hero-content,
.blog-hero-art,
.blog-toolbar,
.blog-card,
.blog-detail-header,
.blog-detail-hero-image,
.blog-content,
.related-blog-header,
.blog-compact-card {
    animation: blogFadeUp 0.55s ease both;
}

@media (max-width: 1024px) {
    .blog-hero-inner,
    .blog-detail-hero-inner {
        gap: 38px;
        grid-template-columns: 1fr;
    }

    .blog-hero-art {
        justify-content: flex-start;
        min-height: 240px;
    }

    .blog-hero-art img {
        max-height: 260px;
    }

    .blog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .blog-grid-related {
        grid-template-columns: 1fr;
    }

    .blog-detail-hero-image {
        max-width: 620px;
    }
}

@media (max-width: 768px) {
    .blog-hero,
    .blog-detail-hero {
        padding: 42px 0;
    }

    .blog-hero h1,
    .blog-detail-header h1 {
        font-size: 38px;
        line-height: 1.15;
    }

    .blog-hero-content > p:last-child,
    .blog-detail-header > p,
    .blog-content {
        font-size: 15px;
    }

    .blog-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .blog-search {
        width: 100%;
    }

    .blog-list-section {
        padding: 28px 0 58px;
    }

    .blog-article-section,
    .related-blog-section {
        padding: 46px 0 58px;
    }

    .blog-content h2 {
        font-size: 24px;
    }

    .blog-gallery-grid {
        grid-template-columns: 1fr;
    }

    .related-blog-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 640px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .blog-hero-art {
        min-height: 210px;
    }

    .blog-hero-art img {
        max-height: 220px;
    }

    .blog-honeycomb-pattern {
        height: 180px;
        width: 200px;
    }

    .blog-card-body {
        padding: 20px;
    }

    .blog-card h2 {
        font-size: 19px;
    }

    .blog-breadcrumbs {
        margin-bottom: 24px;
    }

    .blog-share-row {
        margin-top: 26px;
    }

    .blog-content ul,
    .blog-content ol {
        padding: 17px 18px 8px 36px;
    }

    .blog-compact-card {
        grid-template-columns: 94px minmax(0, 1fr);
    }
}

@media (max-width: 420px) {
    .blog-hero h1,
    .blog-detail-header h1 {
        font-size: 32px;
    }

    .blog-filter-pill {
        flex: 1 1 auto;
        padding-left: 12px;
        padding-right: 12px;
    }

    .blog-compact-card {
        grid-template-columns: 1fr;
    }

    .blog-compact-image img {
        aspect-ratio: 1.6 / 1;
        height: auto;
    }
}
