/* Blog Page - Hero Section */
.blog-hero {
    position: relative;
    height: 80vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.blog-hero-bg {
    position: absolute;
    inset: 0;
}

.blog-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, 
        rgba(0, 0, 0, 0.6) 0%, 
        rgba(0, 0, 0, 0.4) 100%);
    z-index: 10;
}

.blog-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Blog Detail Layout */
body.blog-detail-page {
    padding-top: 140px;
    background: #faf6ee;
}

@media (max-width: 1024px) {
    body.blog-detail-page {
        padding-top: 120px;
    }
}

@media (max-width: 768px) {
    body.blog-detail-page {
        padding-top: 90px;
    }
}

.blog-detail-hero {
    position: relative;
    min-height: clamp(420px, 60vh, 620px);
    background-image: var(--blog-hero, linear-gradient(135deg, #4a7c3e, #3b2f2f));
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.blog-detail-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(10, 10, 10, 0.75) 100%);
}

.blog-detail-hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top, rgba(255, 255, 255, 0.12), transparent 55%);
    pointer-events: none;
}

.blog-detail-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 6rem 0 4rem;
    color: #fff;
}

.blog-detail-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 1.2rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.2em;
}

.blog-detail-hero-badge svg {
    width: 1rem;
    height: 1rem;
    fill: rgba(255, 255, 255, 0.9);
}

.blog-detail-hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 4vw, 4.5rem);
    line-height: 1.2;
    margin: 1.5rem 0;
    text-shadow: 0 15px 30px rgba(0, 0, 0, 0.35);
}

.blog-detail-hero-excerpt {
    max-width: 750px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
}

.blog-detail-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.blog-detail-hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 2rem;
    border-radius: 999px;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.blog-detail-hero-btn svg {
    width: 1.1rem;
    height: 1.1rem;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

.blog-detail-hero-btn.primary {
    background: rgba(255, 255, 255, 0.15);
    border-color: transparent;
}

.blog-detail-hero-btn:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.2);
}

.blog-detail-meta-section {
    background: #fefaf3;
    padding: 2rem 0 1rem;
}

.blog-detail-meta-container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.blog-hero-decorative {
    position: absolute;
    inset: 0;
    z-index: 15;
    pointer-events: none;
    overflow: hidden;
}

.blog-hero-blur {
    position: absolute;
    bottom: 0;
    width: 8rem;
    height: 8rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    filter: blur(64px);
    opacity: 0.3;
}

.blog-hero-blur-1 {
    left: 20%;
    transform: translateY(-180.867px) scale(1.90433);
}

.blog-hero-blur-2 {
    left: 40%;
    transform: translateY(-37.9126px) scale(1.18956);
}

.blog-hero-blur-3 {
    left: 60%;
    transform: translateY(-248.865px) scale(2.24432);
}

.blog-hero-blur-4 {
    left: 80%;
    transform: translateY(-185.379px) scale(1.92689);
}

.blog-hero-blur-5 {
    left: 100%;
    transform: translateY(-129.092px) scale(1.64546);
}

.blog-hero-content {
    position: relative;
    z-index: 20;
    text-align: center;
    color: white;
    padding: 0 1rem;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.blog-hero-title {
    font-family: var(--font-display-vn);
    font-size: 3rem;
    line-height: 1;
    margin-bottom: 1rem;
    color: white;
    font-weight: 400;
}

@media (min-width: 1024px) {
    .blog-hero-title {
        font-size: 3.75rem;
    }
}

.blog-hero-subtitle {
    font-family: var(--font-display-vn);
    font-size: 1.25rem;
    line-height: 1.2;
    color: rgba(245, 245, 220, 0.95);
    font-weight: 400;
}

@media (min-width: 1024px) {
    .blog-hero-subtitle {
        font-size: 1.5rem;
    }
}

/* Blog Filter Section */
.blog-filter {
    position: sticky;
    top: 5rem;
    z-index: 30;
    background-color: white;
    padding: 2rem 0;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
}

@media (min-width: 1024px) {
    .blog-filter {
        top: 5rem;
    }
}

.blog-filter-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 1024px) {
    .blog-filter-container {
        padding: 0 2rem;
    }
}

.blog-filter-header {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    width: 100%;
}

@media (min-width: 768px) {
    .blog-filter-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 2rem;
    }
}

.blog-filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    width: 100%;
}

@media (min-width: 768px) {
    .blog-filter-buttons {
        width: auto;
        flex: 1;
    }
}

.blog-filter-results {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 0.5rem;
}

@media (min-width: 768px) {
    .blog-filter-results {
        margin-top: 0;
    }
}

.blog-filter-count {
    font-size: 0.875rem;
    color: #6b7c5b;
    font-weight: 400;
}

.blog-filter-count strong {
    color: #2c3e2b;
    font-weight: 600;
}

.blog-filter-btn {
    padding: 0.5rem 1.5rem;
    border-radius: 9999px;
    font-family: Inter, Poppins, sans-serif;
    font-size: 1rem;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: #f5f5dc;
    color: #2c3e2b;
}

.blog-filter-btn:hover {
    background-color: #6b7c5b;
    color: white;
}

.blog-filter-btn-active {
    background-color: #6b7c5b;
    color: white;
}

.blog-filter-btn-active:hover {
    background-color: #5a6b4a;
}

/* Blog Posts Section */
.blog-posts {
    padding: 5rem 0;
    background-color: white;
}

.blog-posts-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 1024px) {
    .blog-posts-container {
        padding: 0 2rem;
    }
}

.blog-posts-grid {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    align-items: stretch;
    position: relative;
    min-height: 400px;
}

@media (max-width: 1023px) {
    .blog-posts-grid {
        flex-direction: column;
    }
}

.blog-posts-column {
    display: flex;
    flex-direction: column;
    flex: 1 1 0%;
    gap: 1.5rem;
    min-width: 0;
    align-items: stretch;
}

.blog-posts-column:empty {
    min-height: 0;
}

/* Blog Card */
.blog-card {
    transition: opacity 0.3s ease, transform 0.3s ease;
    width: 100%;
    flex-shrink: 0;
}

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

.blog-card.fade-out {
    opacity: 0;
    transform: scale(0.95);
}

.blog-card.fade-in {
    opacity: 1;
    transform: scale(1);
}

/* Empty State for Filter */
.blog-posts-empty-filter {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    padding: 4rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 100%;
    max-width: 600px;
    z-index: 1;
}

.blog-empty-icon {
    font-size: 4rem;
    opacity: 0.5;
    margin-bottom: 1rem;
}

.blog-empty-title {
    font-size: 1.5rem;
    color: #2c3e2b;
    font-weight: 600;
    margin: 0;
}

.blog-empty-message {
    font-size: 1rem;
    color: #6b7c5b;
    margin: 0;
    max-width: 500px;
}

.blog-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.blog-card-wrapper {
    background-color: white;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    cursor: pointer;
}

.blog-card-link:hover .blog-card-wrapper {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.blog-card-image-container {
    position: relative;
    overflow: hidden;
}

.blog-card-image-square {
    aspect-ratio: 1 / 1;
}

.blog-card-image-video {
    aspect-ratio: 16 / 9;
}

.blog-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card-link:hover .blog-card-image {
    transform: scale(1.1);
}

.blog-card-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #6b7c5b 0%, #2c3e2b 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-card-image-emoji {
    font-size: 4rem;
}

.blog-card-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, 
        rgba(0, 0, 0, 0.7) 0%, 
        rgba(0, 0, 0, 0.2) 50%, 
        transparent 100%);
    pointer-events: none;
}

.blog-card-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: #d4af37;
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 9999px;
    font-family: Inter, Poppins, sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
}

.blog-card-media-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.28rem 0.8rem;
    border-radius: 999px;
    color: #fff;
    background: rgba(20, 20, 20, 0.72);
    backdrop-filter: blur(6px);
    font-size: 0.8rem;
    font-weight: 700;
}

.blog-card-content {
    padding: 1.5rem;
}

.blog-card-title {
    font-family: Inter, Poppins, sans-serif;
    font-size: 1.5rem;
    line-height: 1.3;
    margin-bottom: 0.75rem;
    color: #2c3e2b;
    font-weight: 600;
    transition: color 0.3s ease;
}

.blog-card-link:hover .blog-card-title {
    color: #6b7c5b;
}

.blog-card-excerpt {
    font-family: Inter, Poppins, sans-serif;
    font-size: 1rem;
    line-height: 1.625;
    color: rgba(44, 62, 43, 0.7);
    margin-bottom: 1rem;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-family: Inter, Poppins, sans-serif;
    font-size: 0.875rem;
    color: #6b7c5b;
    margin-bottom: 1rem;
}

.blog-card-meta-item {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.blog-card-meta-item svg {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
}

.blog-card-readmore {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #f5f5dc;
    font-family: Inter, Poppins, sans-serif;
    font-size: 1rem;
    color: #6b7c5b;
    transition: color 0.3s ease;
}

.blog-card-link:hover .blog-card-readmore {
    color: #d4af37;
}

body.blog-page {
    background:
        radial-gradient(circle at top left, rgba(232, 196, 105, 0.14), transparent 28%),
        linear-gradient(180deg, #f7f1e6 0%, #fffdf8 22%, #ffffff 100%);
}

.blog-hero-shell,
.blog-magazine-intro-container,
.blog-spotlight-container,
.blog-magazine-overview-container {
    width: min(1280px, calc(100% - 2rem));
    margin: 0 auto;
}

.blog-hero {
    min-height: 900px;
    padding: 9rem 0 4rem;
    align-items: stretch;
}

.blog-hero-shell {
    position: relative;
    z-index: 20;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
    gap: 1.5rem;
    align-items: end;
}

.blog-hero-copy {
    text-align: left;
    padding: 1.5rem 0 0;
    max-width: 760px;
}

.blog-hero-kicker,
.blog-section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.24);
    color: #f5e6b3;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.78rem;
    font-weight: 700;
}

.blog-hero-subtitle {
    max-width: 720px;
    margin: 0;
    line-height: 1.75;
    font-size: 1.16rem;
}

.blog-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.75rem;
}

.blog-hero-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0.9rem 1.5rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.blog-hero-button:hover {
    transform: translateY(-2px);
}

.blog-hero-button-primary {
    background: #f0d27a;
    color: #1f2817;
}

.blog-hero-button-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.26);
}

.blog-hero-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.9rem;
    margin-top: 1.75rem;
}

.blog-hero-stat {
    padding: 1rem 1.05rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.blog-hero-stat span,
.blog-hero-stat strong {
    display: block;
}

.blog-hero-stat span {
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.78rem;
    margin-bottom: 0.35rem;
}

.blog-hero-stat strong {
    color: #ffffff;
    font-size: 1.06rem;
    line-height: 1.35;
}

.blog-hero-featured {
    display: grid;
    gap: 1rem;
    padding: 1.1rem;
    border-radius: 1.4rem;
    background: rgba(12, 18, 12, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    color: #ffffff;
}

.blog-hero-featured-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.blog-hero-featured-media {
    overflow: hidden;
    border-radius: 1.15rem;
    aspect-ratio: 16 / 10;
    background: rgba(255, 255, 255, 0.08);
}

.blog-hero-featured-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-hero-featured-fallback {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    font-size: 4rem;
}

.blog-hero-featured-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.32rem 0.8rem;
    border-radius: 999px;
    background: rgba(240, 210, 122, 0.14);
    color: #f3dd9c;
    font-size: 0.78rem;
}

.blog-hero-featured-body h2 {
    margin: 0.8rem 0 0.7rem;
    font-family: var(--font-display-vn);
    font-size: 1.75rem;
    line-height: 1.3;
}

.blog-hero-featured-body p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

.blog-hero-featured-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.84rem;
}

.blog-hero-featured-link {
    display: inline-flex;
    margin-top: 1rem;
    color: #f0d27a;
    font-weight: 700;
    text-decoration: none;
}

.blog-magazine-intro,
.blog-spotlight,
.blog-magazine-overview {
    padding: 4.5rem 0 0;
}

.blog-magazine-intro-container,
.blog-magazine-overview-container {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    gap: 1.5rem;
}

.blog-magazine-editorial,
.blog-companion-card,
.blog-category-rail,
.blog-reading-promise,
.blog-newsletter-box {
    border-radius: 1.4rem;
    border: 1px solid rgba(44, 62, 43, 0.08);
    box-shadow: 0 18px 50px rgba(44, 62, 43, 0.06);
}

.blog-magazine-editorial,
.blog-reading-promise {
    padding: 1.65rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), #ffffff);
}

.blog-section-kicker {
    background: rgba(74, 124, 62, 0.08);
    border-color: rgba(74, 124, 62, 0.12);
    color: #4a7c3e;
}

.blog-section-title,
.blog-filter-title {
    margin: 0.8rem 0 0;
    color: #223125;
    font-family: var(--font-display-vn);
    font-size: clamp(1.9rem, 3vw, 3rem);
    line-height: 1.28;
}

.blog-editorial-notes,
.blog-companion-list,
.blog-category-list {
    display: grid;
    gap: 0.85rem;
    margin-top: 1.25rem;
}

.blog-editorial-note,
.blog-companion-item,
.blog-category-item {
    display: flex;
    gap: 0.8rem;
    align-items: flex-start;
    padding: 1rem 1.05rem;
    border-radius: 1rem;
    background: rgba(74, 124, 62, 0.04);
}

.blog-editorial-note p,
.blog-companion-item p {
    margin: 0;
    color: rgba(34, 49, 37, 0.72);
    line-height: 1.7;
}

.blog-editorial-note-dot {
    width: 0.65rem;
    height: 0.65rem;
    margin-top: 0.45rem;
    flex-shrink: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, #4a7c3e 0%, #d4af37 100%);
}

.blog-companion-card,
.blog-category-rail {
    padding: 1.45rem;
    background: linear-gradient(180deg, #f6f1e6, #fffdf8);
}

.blog-companion-item,
.blog-category-item {
    flex-direction: column;
    gap: 0.35rem;
}

.blog-companion-item strong,
.blog-category-item strong {
    color: #223125;
}

.blog-category-item span {
    color: rgba(34, 49, 37, 0.6);
}

.blog-section-head {
    margin-bottom: 1.35rem;
}

.blog-section-head.compact .blog-section-title {
    font-size: 2rem;
}

.blog-spotlight-container {
    padding: 0;
}

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

.blog-spotlight-card {
    border-radius: 1.25rem;
    overflow: hidden;
    border: 1px solid rgba(44, 62, 43, 0.08);
    background: linear-gradient(180deg, #fffdfa, #f7f2e7);
    box-shadow: 0 14px 32px rgba(44, 62, 43, 0.06);
}

.blog-spotlight-link {
    display: flex;
    gap: 1rem;
    height: 100%;
    padding: 1.2rem;
    text-decoration: none;
    color: inherit;
}

.blog-spotlight-order {
    min-width: 3rem;
    height: 3rem;
    border-radius: 1rem;
    background: linear-gradient(135deg, #214430 0%, #d4af37 100%);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.blog-spotlight-content h3 {
    margin: 0.5rem 0 0.65rem;
    color: #223125;
    font-size: 1.24rem;
    line-height: 1.45;
}

.blog-spotlight-content p {
    margin: 0;
    color: rgba(34, 49, 37, 0.7);
    line-height: 1.7;
}

.blog-spotlight-tag,
.blog-card-reading-moment,
.blog-card-reading-time {
    color: #6f5a1a;
    font-size: 0.8rem;
    font-weight: 700;
}

.blog-spotlight-meta {
    display: flex;
    gap: 0.7rem;
    flex-wrap: wrap;
    margin-top: 0.9rem;
    color: rgba(34, 49, 37, 0.58);
    font-size: 0.83rem;
}

.blog-filter {
    top: 5.3rem;
    background: rgba(255, 253, 248, 0.82);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    transition: transform 0.28s ease, padding 0.28s ease, background 0.28s ease, box-shadow 0.28s ease;
}

.blog-filter.is-condensed {
    padding: 0.8rem 0;
    background: rgba(255, 253, 248, 0.94);
    box-shadow: 0 10px 28px rgba(34, 49, 37, 0.08);
}

.blog-filter.is-condensed .blog-filter-container {
    transform: scale(0.97);
    transform-origin: center top;
}

.blog-filter.is-condensed .blog-filter-title {
    font-size: clamp(1.45rem, 2.4vw, 2rem);
}

.blog-filter.is-condensed .blog-filter-toolbar {
    gap: 0.8rem;
}

.blog-filter.is-condensed .blog-search {
    min-height: 48px;
    padding: 0.65rem 0.9rem;
}

.blog-filter.is-condensed .blog-filter-btn {
    padding: 0.55rem 1rem;
}

.blog-filter-container {
    width: min(1280px, calc(100% - 2rem));
    transition: transform 0.28s ease;
}

.blog-filter-copy {
    min-width: 0;
}

.blog-filter-toolbar {
    display: grid;
    grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
    gap: 1rem;
    align-items: center;
}

.blog-search {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    min-height: 54px;
    padding: 0.8rem 1rem;
    border-radius: 1rem;
    background: #ffffff;
    border: 1px solid rgba(44, 62, 43, 0.08);
}

.blog-search svg {
    width: 1rem;
    height: 1rem;
    stroke: #4a7c3e;
    fill: none;
    stroke-width: 2;
    flex-shrink: 0;
}

.blog-search input {
    width: 100%;
    border: 0;
    outline: none;
    background: transparent;
    color: #223125;
    font-size: 0.95rem;
}

.blog-magazine-overview-container {
    align-items: stretch;
}

.blog-reading-promise {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(135deg, #233827 0%, #6f5a1a 100%);
}

.blog-reading-promise .blog-section-kicker {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.18);
    color: #f5e6b3;
}

.blog-reading-promise .blog-section-title {
    color: #ffffff;
}

.blog-posts {
    background: transparent;
}

.blog-posts-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 1.25rem;
    align-items: stretch;
}

.blog-posts-column {
    display: contents;
}

.blog-card {
    grid-column: span 4;
    transition: transform 0.32s ease, opacity 0.3s ease;
}

.blog-card-wrapper {
    border-radius: 1.2rem;
    box-shadow: 0 16px 40px rgba(44, 62, 43, 0.08);
    border: 1px solid rgba(44, 62, 43, 0.06);
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.blog-card-link:hover .blog-card-wrapper {
    transform: translateY(-4px);
    box-shadow: 0 26px 50px rgba(44, 62, 43, 0.14);
    border-color: rgba(111, 90, 26, 0.18);
}

.blog-card-content {
    padding: 1.3rem;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

.blog-card-serial {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 0.8rem;
}

.blog-card-serial-line {
    width: 2rem;
    height: 1px;
    background: rgba(111, 90, 26, 0.45);
    transition: width 0.28s ease, background 0.28s ease;
}

.blog-card-serial-text {
    color: rgba(111, 90, 26, 0.78);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.blog-card-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    margin-bottom: 0.75rem;
}

.blog-card-title {
    font-family: var(--font-display-vn);
    font-size: 1.65rem;
    line-height: 1.35;
    transition: color 0.28s ease, transform 0.28s ease;
}

.blog-card-excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 4.9em;
}

.blog-card-storyline {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-bottom: 1rem;
}

.blog-card-story-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.36rem 0.72rem;
    border-radius: 999px;
    background: rgba(74, 124, 62, 0.07);
    color: #4a7c3e;
    font-size: 0.78rem;
    font-weight: 600;
    transition: background 0.28s ease, color 0.28s ease;
}

.blog-card-meta {
    margin-top: auto;
}

.blog-card-link:hover .blog-card-serial-line {
    width: 3rem;
    background: rgba(212, 175, 55, 0.7);
}

.blog-card-link:hover .blog-card-title {
    color: #4a7c3e;
    transform: translateX(2px);
}

.blog-card-link:hover .blog-card-story-chip {
    background: rgba(212, 175, 55, 0.14);
    color: #6f5a1a;
}

.blog-card-featured .blog-card-wrapper {
    background:
        radial-gradient(circle at top right, rgba(212, 175, 55, 0.14), transparent 30%),
        linear-gradient(180deg, #fffefb 0%, #f8f1e3 100%);
}

.blog-card-editorial,
.blog-card-featured {
    grid-column: span 8;
}

.blog-card-compact {
    grid-column: span 4;
}

.blog-card-standard,
.blog-card-tall {
    grid-column: span 6;
}

.blog-card-editorial .blog-card-wrapper,
.blog-card-featured .blog-card-wrapper {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.78fr);
    min-height: 100%;
    background:
        radial-gradient(circle at top right, rgba(212, 175, 55, 0.14), transparent 30%),
        linear-gradient(180deg, #fffefb 0%, #f8f1e3 100%);
}

.blog-card-editorial .blog-card-wrapper {
    position: relative;
    isolation: isolate;
}

.blog-card-editorial .blog-card-wrapper::after {
    content: '';
    position: absolute;
    right: -10px;
    bottom: -10px;
    width: 130px;
    height: 130px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.22), transparent 70%);
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.blog-card-editorial .blog-card-link:hover .blog-card-wrapper::after {
    transform: scale(1.08);
}

.blog-card-editorial .blog-card-image-container,
.blog-card-featured .blog-card-image-container {
    aspect-ratio: 4 / 3;
    height: 100%;
    min-width: 0;
}

.blog-card-editorial .blog-card-content,
.blog-card-featured .blog-card-content {
    position: relative;
    z-index: 1;
    min-width: 0;
    padding: 1.35rem 1.45rem 1.4rem;
    background:
        linear-gradient(180deg, rgba(255, 252, 246, 0.98) 0%, rgba(247, 240, 228, 0.98) 100%);
    border-left: 1px solid rgba(111, 90, 26, 0.08);
    box-shadow: -18px 0 30px rgba(247, 240, 228, 0.38);
}

.blog-card-editorial .blog-card-title,
.blog-card-featured .blog-card-title {
    font-size: clamp(1.75rem, 2.3vw, 2.1rem);
    color: #2c3e2b;
}

.blog-card-editorial .blog-card-excerpt,
.blog-card-featured .blog-card-excerpt {
    -webkit-line-clamp: 4;
    min-height: 6.4em;
    color: rgba(44, 62, 43, 0.74);
}

.blog-card-editorial .blog-card-meta,
.blog-card-featured .blog-card-meta {
    flex-wrap: wrap;
    gap: 0.7rem 0.9rem;
}

.blog-card-editorial .blog-card-image-overlay,
.blog-card-featured .blog-card-image-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.08) 52%, transparent 100%);
}

.blog-card-editorial .blog-card-topline,
.blog-card-featured .blog-card-topline {
    align-items: flex-start;
}

.blog-card-editorial .blog-card-readmore,
.blog-card-featured .blog-card-readmore {
    margin-top: 1.1rem;
}

.blog-card-editorial .blog-card-serial,
.blog-card-featured .blog-card-serial {
    justify-content: flex-end;
}

.blog-card-editorial .blog-card-title,
.blog-card-featured .blog-card-title,
.blog-card-editorial .blog-card-excerpt,
.blog-card-featured .blog-card-excerpt {
    word-break: break-word;
}

.blog-card-tall .blog-card-image-container {
    aspect-ratio: 4 / 5;
}

.blog-card-compact .blog-card-wrapper {
    min-height: 100%;
    background: linear-gradient(180deg, #fffdfa, #f5eee0);
    position: relative;
}

.blog-card-compact .blog-card-title {
    font-size: 1.32rem;
}

.blog-card-compact .blog-card-excerpt {
    -webkit-line-clamp: 2;
    min-height: 3.4em;
}

.blog-card-compact .blog-card-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(74, 124, 62, 0.04), transparent 40%);
    opacity: 0;
    transition: opacity 0.28s ease;
    pointer-events: none;
}

.blog-card-compact .blog-card-link:hover .blog-card-wrapper::before {
    opacity: 1;
}

.blog-card-tall .blog-card-title {
    font-size: 1.48rem;
}

.blog-card-standard .blog-card-title {
    font-size: 1.58rem;
}

.blog-card-tall .blog-card-wrapper,
.blog-card-standard .blog-card-wrapper {
    background: linear-gradient(180deg, #ffffff 0%, #fcf8f0 100%);
}

.blog-load-more-button {
    min-width: 220px;
    min-height: 52px;
    padding: 0.9rem 1.5rem;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, #214430 0%, #6f5a1a 100%);
    color: #ffffff;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 18px 38px rgba(33, 68, 48, 0.18);
    transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
}

.blog-load-more-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 44px rgba(33, 68, 48, 0.24);
}

.blog-posts-actions {
    display: grid;
    justify-items: center;
    gap: 0.85rem;
    margin-top: 2rem;
}

.blog-load-more-note {
    margin: 0;
    color: rgba(34, 49, 37, 0.56);
    text-align: center;
    line-height: 1.6;
}

.blog-newsletter-box {
    background:
        radial-gradient(circle at top right, rgba(212, 175, 55, 0.16), transparent 28%),
        linear-gradient(180deg, #ffffff, #faf6ee);
}

.blog-newsletter-note {
    margin: 1rem 0 0;
    color: rgba(34, 49, 37, 0.56);
    font-size: 0.88rem;
}

[data-reveal] {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.7s ease, transform 0.7s ease;
    transition-delay: var(--reveal-delay, 0ms);
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

.lvq-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.lvq-reveal.lvq-reveal--up {
    transform: translateY(24px);
}

.lvq-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 1023px) {
    .blog-hero {
        min-height: 450px;
        height: 80vh;
    }
}

@media (max-width: 767px) {
    .blog-hero {
        min-height: 400px;
        height: 80vh;
    }
}

@media (max-width: 768px) {
    .blog-hero {
        min-height: 350px;
        height: 80vh;
    }

    .blog-hero-shell,
    .blog-magazine-intro-container,
    .blog-magazine-overview-container,
    .blog-filter-toolbar,
    .blog-spotlight-grid,
    .blog-hero-stats {
        grid-template-columns: 1fr;
    }

    .blog-hero {
        min-height: auto;
        height: auto;
        padding: 7.5rem 0 3rem;
    }

    .blog-hero-copy {
        text-align: left;
    }
    
    .blog-hero-title {
        font-size: 2.5rem;
    }
    
    .blog-hero-subtitle {
        font-size: 1.125rem;
    }
    
    .blog-filter {
        top: 4rem;
        padding: 1.5rem 0;
    }

    .blog-filter.is-condensed {
        padding: 0.95rem 0;
    }

    .blog-filter.is-condensed .blog-filter-container {
        transform: none;
    }

    .blog-hero-actions,
    .blog-card-topline,
    .blog-spotlight-link {
        flex-direction: column;
        align-items: flex-start;
    }

    .blog-card-featured .blog-card-title,
    .blog-card-standard .blog-card-title,
    .blog-card-tall .blog-card-title {
        font-size: 1.35rem;
    }

    .blog-hero-featured,
    .blog-magazine-editorial,
    .blog-companion-card,
    .blog-category-rail,
    .blog-reading-promise,
    .blog-newsletter-box {
        padding: 1.15rem;
    }
    
    .blog-filter-btn {
        padding: 0.5rem 1.25rem;
        font-size: 0.875rem;
    }
    
    .blog-posts {
        padding: 3rem 0;
    }
    
    .blog-posts-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        min-height: 300px;
    }
    
    .blog-card,
    .blog-card-editorial,
    .blog-card-compact,
    .blog-card-standard,
    .blog-card-tall,
    .blog-card-featured {
        grid-column: span 1;
    }

    .blog-card-editorial .blog-card-wrapper,
    .blog-card-featured .blog-card-wrapper {
        grid-template-columns: 1fr;
    }

    .blog-card-editorial .blog-card-content,
    .blog-card-featured .blog-card-content {
        border-left: 0;
        border-top: 1px solid rgba(111, 90, 26, 0.08);
    }
    
    .blog-filter-header {
        gap: 1rem;
    }
    
    .blog-filter-buttons {
        gap: 0.5rem;
    }
    
    .blog-filter-btn {
        padding: 0.4rem 1rem;
        font-size: 0.8rem;
    }
    
    .blog-card-content {
        padding: 1rem;
    }
    
    .blog-card-title {
        font-size: 1.25rem;
    }
    
    .blog-card-excerpt {
        font-size: 0.875rem;
    }
    
    .blog-card-meta {
        font-size: 0.75rem;
        gap: 0.75rem;
    }
}

/* Blog Newsletter Section */
.blog-newsletter {
    padding: 5rem 0;
    background: linear-gradient(to bottom, white 0%, #f5f5dc 100%);
}

.blog-newsletter-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 1024px) {
    .blog-newsletter-container {
        padding: 0 2rem;
    }
}

.blog-newsletter-box {
    max-width: 42rem;
    margin: 0 auto;
    text-align: center;
    background-color: white;
    padding: 3rem;
    border-radius: 1rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    animation: fadeInUp 0.8s ease-out;
}

@media (min-width: 640px) {
    .blog-newsletter-box {
        padding: 3rem;
    }
}

.blog-newsletter-title {
    font-family: Inter, Poppins, sans-serif;
    font-size: 1.875rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #2c3e2b;
    font-weight: 600;
}

@media (min-width: 1024px) {
    .blog-newsletter-title {
        font-size: 2.25rem;
    }
}

.blog-newsletter-description {
    font-family: Inter, Poppins, sans-serif;
    font-size: 1.125rem;
    line-height: 1.5;
    color: rgba(44, 62, 43, 0.7);
    margin-bottom: 2rem;
}

.blog-newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

@media (min-width: 640px) {
    .blog-newsletter-form {
        flex-direction: row;
    }
}

.blog-newsletter-input {
    flex: 1;
    padding: 0.75rem 1.5rem;
    border: 2px solid rgba(107, 124, 91, 0.3);
    border-radius: 9999px;
    font-family: Inter, Poppins, sans-serif;
    font-size: 1rem;
    color: #2c3e2b;
    background-color: white;
    transition: border-color 0.3s ease;
    outline: none;
}

.blog-newsletter-input::placeholder {
    color: rgba(44, 62, 43, 0.5);
}

.blog-newsletter-input:focus {
    border-color: #6b7c5b;
}

.blog-newsletter-button {
    background-color: #6b7c5b;
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    border: none;
    font-family: Inter, Poppins, sans-serif;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
    white-space: nowrap;
}

.blog-newsletter-button:hover {
    background-color: #2c3e2b;
}

.blog-newsletter-button:active {
    transform: scale(0.98);
}

/* Responsive */
@media (max-width: 640px) {
    .blog-newsletter {
        padding: 3rem 0;
    }
    
    .blog-newsletter-box {
        padding: 2rem 1.5rem;
    }
    
    .blog-newsletter-title {
        font-size: 1.5rem;
    }
    
    .blog-newsletter-description {
        font-size: 1rem;
    }
    
    .blog-newsletter-input,
    .blog-newsletter-button {
        width: 100%;
    }
}

/* Blog CTA Section */
.blog-cta {
    padding: 4rem 0;
    background: linear-gradient(to bottom, #f5f5dc 0%, white 100%);
}

.blog-cta-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
    text-align: center;
}

@media (min-width: 1024px) {
    .blog-cta-container {
        padding: 0 2rem;
    }
}

.blog-cta-content {
    max-width: 48rem;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease-out;
}

.blog-cta-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.blog-cta-divider-line {
    height: 1px;
    width: 6rem;
}

.blog-cta-divider-line-left {
    background: linear-gradient(to right, transparent 0%, #6b7c5b 100%);
}

.blog-cta-divider-line-right {
    background: linear-gradient(to left, transparent 0%, #6b7c5b 100%);
}

.blog-cta-icon {
    width: 2.5rem;
    height: 2.5rem;
    color: #6b7c5b;
    flex-shrink: 0;
}

.blog-cta-quote {
    font-family: 'Dancing Script', cursive;
    font-size: 1.5rem;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    color: #2c3e2b;
    font-style: italic;
}

@media (min-width: 1024px) {
    .blog-cta-quote {
        font-size: 1.875rem;
    }
}

.blog-cta-description {
    font-family: Inter, Poppins, sans-serif;
    font-size: 1.125rem;
    line-height: 1.5;
    color: rgba(44, 62, 43, 0.7);
    margin-bottom: 2rem;
}

.blog-cta-button {
    display: inline-block;
    background-color: #6b7c5b;
    color: white;
    padding: 1rem 3rem;
    border-radius: 9999px;
    font-family: Inter, Poppins, sans-serif;
    font-size: 1.125rem;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

.blog-cta-button:hover {
    background-color: #2c3e2b;
}

.blog-cta-button:active {
    transform: scale(0.98);
}

/* Responsive */
@media (max-width: 640px) {
    .blog-cta {
        padding: 3rem 0;
    }
    
    .blog-cta-quote {
        font-size: 1.25rem;
    }
    
    .blog-cta-description {
        font-size: 1rem;
    }
    
    .blog-cta-button {
        padding: 0.875rem 2rem;
        font-size: 1rem;
        width: 100%;
    }
    
    .blog-cta-divider-line {
        width: 4rem;
    }
    
    .blog-cta-icon {
        width: 2rem;
        height: 2rem;
    }
}

/* Blog Detail Page - Traditional Design with Rich Effects */

/* Traditional Background */
.blog-detail-traditional-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.blog-detail-bg-pattern {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(74, 124, 62, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(212, 160, 84, 0.03) 0%, transparent 50%),
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 2px,
            rgba(74, 124, 62, 0.02) 2px,
            rgba(74, 124, 62, 0.02) 4px
        ),
        linear-gradient(135deg, #fef9e7 0%, #faf6ee 50%, #f4efe5 100%);
    background-size: 100% 100%, 100% 100%, 40px 40px, 100% 100%;
    animation: bgShift 20s ease-in-out infinite;
}

@keyframes bgShift {
    0%, 100% {
        background-position: 0% 0%, 0% 0%, 0 0, 0% 0%;
    }
    50% {
        background-position: 100% 100%, -100% -100%, 40px 40px, 0% 0%;
    }
}

.blog-detail-bg-overlay {
    position: absolute;
    inset: 0;
    background: 
        url("data:image/svg+xml,%3Csvg width='100' height='100' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cpattern id='tea-pattern' x='0' y='0' width='100' height='100' patternUnits='userSpaceOnUse'%3E%3Cpath d='M20,20 Q30,10 40,20 T60,20' stroke='rgba(74,124,62,0.05)' fill='none' stroke-width='1'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='100' height='100' fill='url(%23tea-pattern)'/%3E%3C/svg%3E") repeat,
        linear-gradient(to bottom, transparent 0%, rgba(250, 246, 238, 0.3) 50%, transparent 100%);
    opacity: 0.6;
}

/* Floating Leaves Animation */
.blog-detail-floating-leaves {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.floating-leaf {
    position: absolute;
    font-size: 2rem;
    opacity: 0.15;
    animation: floatLeaf 15s ease-in-out infinite;
}

.leaf-1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 18s;
}

.leaf-2 {
    top: 30%;
    right: 15%;
    animation-delay: 3s;
    animation-duration: 20s;
    transform: scaleX(-1);
}

.leaf-3 {
    bottom: 20%;
    left: 20%;
    animation-delay: 6s;
    animation-duration: 16s;
}

.leaf-4 {
    top: 50%;
    right: 30%;
    animation-delay: 9s;
    animation-duration: 22s;
    transform: scaleX(-1);
}

.leaf-5 {
    bottom: 40%;
    right: 10%;
    animation-delay: 12s;
    animation-duration: 19s;
}

@keyframes floatLeaf {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0.1;
    }
    25% {
        transform: translate(30px, -50px) rotate(90deg);
        opacity: 0.2;
    }
    50% {
        transform: translate(-20px, -100px) rotate(180deg);
        opacity: 0.15;
    }
    75% {
        transform: translate(40px, -150px) rotate(270deg);
        opacity: 0.2;
    }
}

.blog-detail-header-section {
    position: relative;
    padding: 3rem 0 2rem;
    background: transparent;
    z-index: 1;
}

.blog-detail-header-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.blog-detail-featured-image {
    margin: 0 auto;
    position: relative;
    z-index: 2;
    width: min(1080px, calc(100% - 2rem));
}

.blog-detail-image-wrapper {
    position: relative;
    isolation: isolate;
    padding: clamp(1rem, 1.8vw, 1.4rem);
}

.blog-detail-featured-image:hover .blog-detail-image-wrapper {
    transform: none;
}

.blog-detail-image-shell {
    position: relative;
    overflow: hidden;
    border-radius: 2rem;
    padding: clamp(1rem, 2vw, 1.3rem);
    background:
        linear-gradient(145deg, rgba(255, 252, 245, 0.96), rgba(247, 238, 220, 0.92)),
        radial-gradient(circle at top left, rgba(232, 196, 105, 0.24), transparent 42%);
    border: 1px solid rgba(147, 119, 72, 0.12);
    box-shadow:
        0 30px 70px rgba(53, 42, 25, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(10px);
}

.blog-detail-image-shell::before {
    content: '';
    position: absolute;
    inset: 1rem;
    border-radius: 1.45rem;
    border: 1px solid rgba(74, 124, 62, 0.08);
    pointer-events: none;
}

.blog-detail-image-aura {
    position: absolute;
    top: 50%;
    width: 260px;
    height: 260px;
    border-radius: 999px;
    filter: blur(14px);
    opacity: 0.72;
    pointer-events: none;
    z-index: -1;
}

.blog-detail-image-aura-left {
    left: -3rem;
    transform: translateY(-50%);
    background: radial-gradient(circle, rgba(74, 124, 62, 0.18), rgba(74, 124, 62, 0));
}

.blog-detail-image-aura-right {
    right: -3rem;
    transform: translateY(-50%);
    background: radial-gradient(circle, rgba(232, 196, 105, 0.2), rgba(232, 196, 105, 0));
}

.blog-detail-image-topbar,
.blog-detail-image-footer {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.blog-detail-image-topbar {
    margin-bottom: 1rem;
}

.blog-detail-image-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    color: #4d4230;
    font-size: 0.82rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 700;
}

.blog-detail-image-kicker-dot {
    width: 0.65rem;
    height: 0.65rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #4a7c3e, #e8c469);
    box-shadow: 0 0 0 6px rgba(74, 124, 62, 0.08);
}

.blog-detail-image-type {
    display: inline-flex;
    align-items: center;
    padding: 0.55rem 0.95rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.68);
    border: 1px solid rgba(147, 119, 72, 0.12);
    color: #355842;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.blog-detail-image-stage {
    position: relative;
    min-height: clamp(280px, 52vh, 600px);
    border-radius: 1.5rem;
    overflow: hidden;
    background:
        radial-gradient(circle at top, rgba(255, 255, 255, 0.1), transparent 36%),
        linear-gradient(135deg, #231d17, #13110f 58%, #2a2116);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.05),
        0 18px 40px rgba(31, 23, 15, 0.22);
}

.blog-detail-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center center;
    opacity: 0;
    animation: fadeInScale 1.2s ease-out forwards;
    filter: brightness(1.03) contrast(1.02);
    transition: opacity 0.45s ease, transform 0.45s ease;
}

.blog-detail-video {
    background: #0f0f0f;
}

.blog-detail-image.fade-ready {
    opacity: 1;
}

.blog-detail-image.fade-out {
    opacity: 0;
    transform: scale(1.01);
}

@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: scale(1.1);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.blog-detail-image-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(16, 12, 8, 0.02), rgba(16, 12, 8, 0.24)),
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.14), transparent 28%);
    pointer-events: none;
}

.blog-detail-image-decoration {
    position: absolute;
    inset: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 1.2rem;
    pointer-events: none;
    opacity: 0;
    animation: decorationFadeIn 1.5s ease-out 0.5s forwards;
}

.blog-detail-image-glow {
    position: absolute;
    left: 50%;
    bottom: -5rem;
    width: 60%;
    height: 9rem;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(232, 196, 105, 0.22), rgba(232, 196, 105, 0));
    pointer-events: none;
    filter: blur(10px);
}

@keyframes decorationFadeIn {
    to {
        opacity: 1;
    }
}

.blog-detail-image-footer {
    margin-top: 1rem;
    padding: 0.25rem 0.1rem 0;
}

.blog-detail-image-footer-copy {
    display: grid;
    gap: 0.35rem;
}

.blog-detail-image-footer-label {
    font-size: 0.8rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #8a7253;
    font-weight: 700;
}

.blog-detail-image-footer-copy strong {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.1rem, 1.6vw, 1.4rem);
    color: #2f261d;
    line-height: 1.35;
}

.blog-detail-image-footer-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.75rem;
    color: #5f503e;
    font-size: 0.92rem;
}

.blog-detail-image-footer-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.58);
    border: 1px solid rgba(147, 119, 72, 0.1);
}

.blog-detail-gallery {
    padding: 3rem 0 1rem;
    background: #faf6ee;
}

.blog-detail-gallery-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.blog-detail-gallery-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.25rem;
    text-align: center;
    color: #2e5939;
    margin-bottom: 2rem;
}

.blog-detail-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.75rem;
    align-items: start;
    grid-auto-flow: dense;
}

.blog-detail-gallery-card {
    border-radius: 1.1rem;
    overflow: hidden;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.08);
    background: #fff;
    aspect-ratio: 4 / 3;
    cursor: pointer;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.blog-detail-gallery-card:nth-child(8n+1),
.blog-detail-gallery-card:nth-child(8n+4) {
    grid-column: span 2;
    aspect-ratio: 5 / 3;
}

.blog-detail-gallery-card:nth-child(4n+2) {
    transform: translateY(-20px);
}

.blog-detail-gallery-card:nth-child(4n) {
    transform: translateY(20px);
}

.blog-detail-gallery-card:nth-child(5n+3) {
    grid-row: span 2;
    aspect-ratio: 3 / 5;
}

@media (max-width: 768px) {
    .blog-detail-gallery-card:nth-child(8n+1),
    .blog-detail-gallery-card:nth-child(8n+4),
    .blog-detail-gallery-card:nth-child(5n+3) {
        grid-column: span 1;
        grid-row: span 1;
        aspect-ratio: 4 / 3;
    }
    .blog-detail-gallery-card {
        transform: none !important;
    }
}

.blog-detail-gallery-card img,
.blog-detail-gallery-card video,
.blog-detail-gallery-media {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center center;
    transition: transform 0.3s ease;
}

.blog-detail-gallery-card:hover img,
.blog-detail-gallery-card:hover video {
    transform: scale(1.05);
}

.blog-detail-header-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.blog-detail-title-decoration {
    margin: 1.5rem auto;
    width: 200px;
    opacity: 0.4;
}

.title-decoration-svg {
    width: 100%;
    height: auto;
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    animation: drawPath 2s ease-out forwards;
}

@keyframes drawPath {
    to {
        stroke-dashoffset: 0;
    }
}

.blog-detail-main-title {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    line-height: 1.3;
    color: #2E5939;
    margin: 2rem 0;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-shadow: 
        2px 2px 4px rgba(0, 0, 0, 0.1),
        0 0 20px rgba(74, 124, 62, 0.1);
    position: relative;
}

.blog-detail-main-title::before,
.blog-detail-main-title::after {
    content: '「';
    font-family: 'Noto Sans', sans-serif;
    color: rgba(74, 124, 62, 0.3);
    font-size: 2.5rem;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    animation: quoteFadeIn 1s ease-out 0.8s forwards;
    opacity: 0;
    font-weight: 300;
}

.blog-detail-main-title::before {
    left: -3rem;
}

.blog-detail-main-title::after {
    content: '」';
    right: -3rem;
}

@keyframes quoteFadeIn {
    to {
        opacity: 1;
    }
}

.blog-detail-meta-info {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    font-size: 1rem;
    color: rgba(46, 89, 57, 0.8);
    margin-top: 2rem;
    padding: 1.5rem 2rem;
    background: rgba(250, 246, 238, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 2rem;
    border: 1px solid rgba(74, 124, 62, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.blog-detail-divider {
    color: rgba(74, 124, 62, 0.4);
    font-size: 1.2rem;
}

.blog-detail-date,
.blog-detail-author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-detail-date svg,
.blog-detail-author svg {
    width: 1.1rem;
    height: 1.1rem;
    stroke: rgba(59, 47, 47, 0.6);
    fill: none;
    stroke-width: 2;
}

/* Article Content */
.blog-detail-article {
    position: relative;
    padding: 5rem 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1;
}

.blog-detail-article::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, transparent, rgba(250, 246, 238, 0.3));
    pointer-events: none;
}

.blog-detail-article-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

.blog-detail-intro {
    margin-bottom: 4rem;
    padding: 2.5rem;
    background: linear-gradient(135deg, rgba(250, 246, 238, 0.8) 0%, rgba(244, 239, 229, 0.6) 100%);
    border-radius: 1.5rem;
    border: 2px solid rgba(74, 124, 62, 0.15);
    box-shadow: 
        0 8px 30px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    position: relative;
    overflow: hidden;
}

.blog-detail-intro::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(74, 124, 62, 0.05) 0%, transparent 70%);
    animation: introGlow 8s ease-in-out infinite;
}

@keyframes introGlow {
    0%, 100% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(20px, 20px);
    }
}

.blog-detail-intro-text {
    font-size: 1.4rem;
    line-height: 2;
    color: rgba(46, 89, 57, 0.9);
    font-style: italic;
    margin: 0;
    text-align: center;
    position: relative;
    z-index: 1;
    font-family: 'Playfair Display', serif;
    font-weight: 500;
}

.blog-detail-content {
    margin-bottom: 3rem;
}

.blog-detail-text {
    font-size: 1.1rem;
    line-height: 1.9;
    color: rgba(59, 47, 47, 0.85);
}

.blog-detail-text p {
    margin-bottom: 1.5rem;
}

.blog-detail-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.25rem;
    color: #3B2F2F;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    border-bottom: 2px solid rgba(74, 124, 62, 0.2);
    padding-bottom: 0.5rem;
}

.blog-detail-text h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    color: #3B2F2F;
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
    font-weight: 600;
}

.blog-detail-text h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: #3B2F2F;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.blog-detail-text img {
    max-width: 100%;
    height: auto;
    border-radius: 0.75rem;
    margin: 2.5rem auto;
    display: block;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.blog-detail-inline-media {
    width: min(100%, 860px);
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.4rem;
    margin: 3rem auto;
    padding: 0.4rem 0;
    text-align: center;
}

.blog-detail-inline-media::before,
.blog-detail-inline-media::after {
    content: '';
    flex: 1 1 0;
    height: 1px;
    min-width: 2rem;
    background: linear-gradient(90deg, transparent, rgba(74, 124, 62, 0.22), rgba(232, 196, 105, 0.45), transparent);
    opacity: 0.95;
}

.blog-detail-inline-media > a,
.blog-detail-inline-media > img,
.blog-detail-inline-media > video,
.blog-detail-inline-media picture {
    position: relative;
    z-index: 1;
    display: inline-flex;
    justify-content: center;
    max-width: 100%;
}

.blog-detail-inline-media img,
.blog-detail-inline-media video,
.blog-detail-inline-media picture img {
    display: block !important;
    width: min(100%, 720px) !important;
    max-width: min(100%, 720px) !important;
    height: auto !important;
    margin: 0 auto !important;
    border-radius: 1.35rem;
    object-fit: contain;
    object-position: center center;
    border: 1px solid rgba(147, 119, 72, 0.14);
    background: rgba(255, 250, 243, 0.92);
    padding: 0.45rem;
    box-shadow:
        0 14px 32px rgba(38, 30, 21, 0.09),
        0 3px 10px rgba(38, 30, 21, 0.05);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.blog-detail-inline-media:hover img,
.blog-detail-inline-media:hover video,
.blog-detail-inline-media:hover picture img {
    transform: translateY(-4px);
    border-color: rgba(74, 124, 62, 0.22);
    box-shadow:
        0 20px 42px rgba(38, 30, 21, 0.13),
        0 6px 16px rgba(38, 30, 21, 0.06);
}

.blog-detail-text ul,
.blog-detail-text ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.blog-detail-text li {
    margin-bottom: 0.75rem;
    line-height: 1.8;
}

.blog-detail-text blockquote {
    border-left: 4px solid #4A7C3E;
    padding: 1.5rem 2rem;
    margin: 2.5rem 0;
    background: #faf6ee;
    border-radius: 0.5rem;
    font-style: italic;
    color: rgba(59, 47, 47, 0.8);
    font-size: 1.15rem;
}

.blog-detail-text a {
    color: #4A7C3E;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.blog-detail-text a:hover {
    color: #2E5939;
}

/* Quote Box */
.blog-detail-quote {
    margin: 5rem 0;
    padding: 4rem 3rem;
    background: 
        linear-gradient(135deg, rgba(254, 249, 231, 0.95) 0%, rgba(254, 245, 231, 0.95) 100%),
        url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30,30 Q20,20 10,30 Q20,40 30,30' stroke='rgba(74,124,62,0.05)' fill='none'/%3E%3C/svg%3E") repeat;
    border: 3px solid rgba(74, 124, 62, 0.25);
    border-radius: 2rem;
    text-align: center;
    position: relative;
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.1),
        inset 0 2px 10px rgba(255, 255, 255, 0.5);
    overflow: hidden;
    transform: perspective(1000px) rotateY(-1deg);
    transition: transform 0.5s ease;
}

.blog-detail-quote:hover {
    transform: perspective(1000px) rotateY(0deg) scale(1.02);
}

.blog-detail-quote::before,
.blog-detail-quote::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 100px;
    border: 3px solid rgba(74, 124, 62, 0.15);
    border-radius: 50%;
    pointer-events: none;
}

.blog-detail-quote::before {
    top: -50px;
    left: -50px;
    animation: quoteOrbit 20s linear infinite;
}

.blog-detail-quote::after {
    bottom: -50px;
    right: -50px;
    animation: quoteOrbit 25s linear infinite reverse;
}

@keyframes quoteOrbit {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.blog-detail-quote-icon {
    width: 3rem;
    height: 3rem;
    fill: rgba(74, 124, 62, 0.3);
    margin-bottom: 1rem;
}

.blog-detail-quote-text {
    font-size: 1.4rem;
    line-height: 1.8;
    color: #3B2F2F;
    font-style: italic;
    margin: 0;
    font-family: 'Playfair Display', serif;
}

/* Closing Section */
.blog-detail-closing {
    position: relative;
    padding: 6rem 0;
    background: 
        linear-gradient(135deg, rgba(250, 246, 238, 0.95) 0%, rgba(244, 239, 229, 0.95) 100%),
        radial-gradient(circle at 50% 50%, rgba(74, 124, 62, 0.05) 0%, transparent 70%);
    text-align: center;
    z-index: 1;
    overflow: hidden;
}

.blog-detail-closing::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        url("data:image/svg+xml,%3Csvg width='80' height='80' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M40,40 Q30,30 20,40 Q30,50 40,40' stroke='rgba(74,124,62,0.03)' fill='none'/%3E%3C/svg%3E") repeat;
    opacity: 0.5;
    animation: patternMove 30s linear infinite;
}

@keyframes patternMove {
    from {
        background-position: 0 0;
    }
    to {
        background-position: 80px 80px;
    }
}

.blog-detail-closing-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

.blog-detail-closing-text {
    font-size: 1.3rem;
    line-height: 1.8;
    color: #3B2F2F;
    margin-bottom: 2.5rem;
    font-family: 'Playfair Display', serif;
    font-weight: 500;
}

.blog-detail-cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.blog-detail-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.blog-detail-cta-primary {
    background: #4A7C3E;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(74, 124, 62, 0.3);
}

.blog-detail-cta-primary:hover {
    background: #2E5939;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 124, 62, 0.4);
}

.blog-detail-cta-secondary {
    background: #ffffff;
    color: #4A7C3E;
    border: 2px solid #4A7C3E;
}

.blog-detail-cta-secondary:hover {
    background: #4A7C3E;
    color: #ffffff;
    transform: translateY(-2px);
}

.blog-detail-cta-btn svg {
    width: 1.2rem;
    height: 1.2rem;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

/* Related Posts */
.blog-detail-related {
    padding: 4rem 0;
    background: #ffffff;
}

.blog-detail-related-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.blog-detail-related-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #3B2F2F;
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 600;
}

.blog-detail-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.blog-detail-related-card {
    background: #ffffff;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.blog-detail-related-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.blog-detail-related-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.blog-detail-related-image-wrapper {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #f5f5f5;
}

.blog-detail-related-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-detail-related-card:hover .blog-detail-related-image {
    transform: scale(1.1);
}

.blog-detail-related-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #faf6ee 0%, #f4efe5 100%);
}

.blog-detail-related-emoji {
    font-size: 3rem;
}

.blog-detail-related-content {
    padding: 1.5rem;
}

.blog-detail-related-card-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    color: #3B2F2F;
    margin: 0 0 0.75rem 0;
    font-weight: 600;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-detail-related-card-date {
    font-size: 0.9rem;
    color: rgba(59, 47, 47, 0.6);
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .blog-detail-header-section {
        padding: 3rem 0 2rem;
    }

    .blog-detail-main-title {
        font-size: 2.5rem;
    }

    .blog-detail-meta-info {
        flex-direction: column;
        gap: 1rem;
    }

    .blog-detail-intro-text {
        font-size: 1.1rem;
    }

    .blog-detail-text {
        font-size: 1rem;
    }

    .blog-detail-text h2 {
        font-size: 1.75rem;
    }

    .blog-detail-text h3 {
        font-size: 1.5rem;
    }

    .blog-detail-quote {
        padding: 2rem 1.5rem;
        margin: 3rem 0;
    }

    .blog-detail-quote-text {
        font-size: 1.2rem;
    }

    .blog-detail-closing-text {
        font-size: 1.1rem;
    }

    .blog-detail-cta-buttons {
        flex-direction: column;
    }

    .blog-detail-cta-btn {
        width: 100%;
        justify-content: center;
    }

    .blog-detail-related-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .blog-detail-related-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        padding-bottom: 1rem;
    }

    .blog-detail-related-card {
        min-width: 280px;
        scroll-snap-align: start;
    }
}

@media (max-width: 390px) {
    .blog-hero-title {
        font-size: 2rem;
    }
    
    .blog-hero-subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 350px) {
    .blog-hero-title {
        font-size: 1.75rem;
    }
    
    .blog-hero-subtitle {
        font-size: 0.95rem;
    }
}

@media (max-width: 300px) {
    .blog-hero-title {
        font-size: 1.5rem;
    }
    
    .blog-hero-subtitle {
        font-size: 0.875rem;
    }
}

@media (max-width: 290px) {
    .blog-hero-title {
        font-size: 1.35rem;
    }
    
    .blog-hero-subtitle {
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    .blog-detail-main-title {
        font-size: 2rem;
    }

    .blog-detail-featured-image {
        margin-bottom: 2rem;
    }

    .blog-detail-article {
        padding: 3rem 0;
    }

    .blog-detail-closing {
        padding: 3rem 0;
    }
}

/* Blog Detail Redesign */
body.blog-detail-page {
    background:
        radial-gradient(circle at top, rgba(232, 196, 105, 0.12), transparent 22%),
        linear-gradient(180deg, #fbf7ef 0%, #f5efe5 54%, #fbf7ef 100%);
}

.blog-detail-hero {
    min-height: clamp(460px, 72vh, 760px);
}

.blog-detail-hero::before {
    background:
        linear-gradient(180deg, rgba(8, 10, 8, 0.18) 0%, rgba(9, 10, 8, 0.38) 30%, rgba(10, 10, 10, 0.82) 100%);
}

.blog-detail-hero-overlay {
    background:
        radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.24), transparent 22%),
        radial-gradient(circle at 84% 16%, rgba(232, 196, 105, 0.24), transparent 24%);
}

.blog-detail-hero-content {
    padding: 7rem 0 4.5rem;
}

.blog-detail-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.72fr);
    gap: 2rem;
    align-items: end;
}

.blog-detail-hero-copy {
    max-width: 820px;
}

.blog-detail-hero-badge {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.22);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.blog-detail-hero-title {
    max-width: 13ch;
    margin-bottom: 1.1rem;
    line-height: 1.05;
    text-wrap: balance;
}

.blog-detail-hero-excerpt {
    max-width: 62ch;
    font-size: 1.08rem;
    line-height: 1.85;
}

.blog-detail-hero-excerpt > *:first-child,
.blog-detail-intro-text > *:first-child {
    margin-top: 0;
}

.blog-detail-hero-excerpt > *:last-child,
.blog-detail-intro-text > *:last-child {
    margin-bottom: 0;
}

.blog-detail-hero-excerpt p,
.blog-detail-intro-text p {
    margin: 0;
}

.blog-detail-hero-meta-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
    margin-top: 2rem;
    max-width: 620px;
}

.blog-detail-meta-pill {
    padding: 1rem 1.1rem;
    border-radius: 1.25rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.12);
}

.blog-detail-meta-label {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 248, 232, 0.72);
}

.blog-detail-meta-pill strong {
    color: #fff7e7;
    font-size: 0.96rem;
    line-height: 1.55;
}

.blog-detail-hero-panel {
    position: relative;
    padding: 1.5rem;
    border-radius: 1.7rem;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06)),
        linear-gradient(135deg, rgba(232, 196, 105, 0.1), rgba(74, 124, 62, 0.08));
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.16);
    color: #fff9ee;
}

.blog-detail-panel-kicker,
.blog-detail-sidebar-kicker,
.blog-detail-related-kicker {
    margin: 0 0 0.85rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #cfae65;
}

.blog-detail-panel-text {
    margin: 0;
    line-height: 1.8;
    color: rgba(255, 248, 232, 0.84);
}

.blog-detail-panel-stats {
    display: grid;
    gap: 0.9rem;
    margin-top: 1.25rem;
}

.blog-detail-panel-stats div {
    padding-top: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.blog-detail-panel-stats span {
    display: block;
    margin-bottom: 0.25rem;
    font-size: 0.75rem;
    color: rgba(255, 248, 232, 0.65);
}

.blog-detail-panel-stats strong {
    font-size: 1rem;
    color: #fff9ee;
}

.blog-detail-header-section {
    padding: 0 0 2rem;
    margin-top: -2.2rem;
    z-index: 3;
}

.blog-detail-featured-image {
    width: min(1180px, calc(100% - 2rem));
}

.blog-detail-image-wrapper {
    padding: clamp(1.1rem, 2vw, 1.5rem);
}

.blog-detail-image-decoration {
    inset: 1rem;
    border-radius: 1.2rem;
}

.blog-detail-gallery {
    padding: 2rem 0 0;
    background: transparent;
}

.blog-detail-gallery-head {
    max-width: 720px;
    margin: 0 auto 1.8rem;
    text-align: center;
}

.blog-detail-gallery-title {
    margin-bottom: 0.75rem;
}

.blog-detail-gallery-caption {
    margin: 0;
    color: rgba(59, 47, 47, 0.68);
    line-height: 1.75;
}

.blog-detail-gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.blog-detail-gallery-card {
    position: relative;
    border-radius: 1.15rem;
    box-shadow: 0 18px 36px rgba(50, 37, 25, 0.08);
}

.blog-detail-gallery-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 2px solid transparent;
    transition: border-color 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}

.blog-detail-gallery-card.active::after,
.blog-detail-gallery-card:hover::after {
    border-color: rgba(232, 196, 105, 0.82);
}

.blog-detail-article {
    padding: 4.5rem 0 5rem;
    background: transparent;
    backdrop-filter: none;
}

.blog-detail-article::before {
    display: none;
}

.blog-detail-article-shell {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
    gap: 2rem;
    align-items: start;
}

.blog-detail-sidebar {
    position: sticky;
    top: 145px;
    display: grid;
    gap: 1rem;
}

.blog-detail-sidebar-card {
    padding: 1.35rem 1.25rem;
    border-radius: 1.4rem;
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid rgba(74, 124, 62, 0.09);
    box-shadow:
        0 18px 34px rgba(47, 38, 29, 0.07),
        0 1px 0 rgba(255, 255, 255, 0.75) inset;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.blog-detail-sidebar-title {
    margin: 0 0 0.85rem;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    line-height: 1.2;
    color: #2d4737;
}

.blog-detail-outline.is-empty .blog-detail-outline-empty {
    margin: 0;
    color: rgba(59, 47, 47, 0.62);
    line-height: 1.7;
}

.blog-detail-outline-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.55rem;
}

.blog-detail-outline-item a {
    display: block;
    padding: 0.72rem 0.85rem;
    border-radius: 0.9rem;
    color: #4d3d30;
    text-decoration: none;
    background: rgba(247, 243, 234, 0.9);
    border: 1px solid rgba(74, 124, 62, 0.07);
    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.blog-detail-outline-item.level-h3 a {
    margin-left: 0.75rem;
    font-size: 0.94rem;
}

.blog-detail-outline-item a:hover {
    transform: translateX(4px);
    background: rgba(232, 196, 105, 0.14);
    color: #2d4737;
}

.blog-detail-sidebar-facts {
    display: grid;
    gap: 0.85rem;
}

.blog-detail-sidebar-fact {
    display: grid;
    gap: 0.22rem;
}

.blog-detail-sidebar-fact span {
    font-size: 0.74rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(59, 47, 47, 0.52);
}

.blog-detail-sidebar-fact strong {
    color: #2f261d;
    line-height: 1.55;
}

.blog-detail-share-btn,
.blog-detail-side-cta {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    padding: 0.95rem 1rem;
    border-radius: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.blog-detail-share-btn {
    margin-top: 0.1rem;
    border: 1px solid rgba(74, 124, 62, 0.16);
    background: rgba(255, 255, 255, 0.85);
    color: #2f261d;
    cursor: pointer;
}

.blog-detail-side-cta {
    margin-top: 0.85rem;
    background: linear-gradient(135deg, #355842, #213527);
    color: #fff8eb;
    box-shadow: 0 16px 28px rgba(33, 53, 39, 0.18);
}

.blog-detail-share-btn:hover,
.blog-detail-side-cta:hover {
    transform: translateY(-2px);
}

.blog-detail-share-btn svg,
.blog-detail-side-cta svg {
    width: 1rem;
    height: 1rem;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

.blog-detail-article-main {
    min-width: 0;
}

.blog-detail-intro,
.blog-detail-content,
.blog-detail-quote {
    margin-left: auto;
    margin-right: auto;
}

.blog-detail-intro {
    margin-bottom: 2rem;
    padding: 2rem 2rem 1.85rem;
    border-radius: 1.7rem;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.76), rgba(247, 241, 228, 0.9)),
        radial-gradient(circle at top, rgba(232, 196, 105, 0.16), transparent 50%);
    border: 1px solid rgba(74, 124, 62, 0.1);
}

.blog-detail-intro-text {
    text-align: left;
    font-size: 1.28rem;
    line-height: 1.9;
}

.blog-detail-content {
    padding: 2.4rem 2.4rem 2rem;
    border-radius: 2rem;
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(74, 124, 62, 0.08);
    box-shadow:
        0 24px 50px rgba(47, 38, 29, 0.08),
        0 1px 0 rgba(255, 255, 255, 0.8) inset;
}

.blog-detail-text {
    font-size: 1.08rem;
    line-height: 1.95;
}

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

.blog-detail-text p {
    margin-bottom: 1.35rem;
}

.blog-detail-text h2 {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-top: 3.2rem;
    margin-bottom: 1.2rem;
    padding-bottom: 0;
    border-bottom: 0;
    font-size: 2rem;
}

.blog-detail-text h2::before {
    content: '';
    width: 2.5rem;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, #4a7c3e, #e8c469);
    box-shadow: 0 0 18px rgba(232, 196, 105, 0.35);
}

.blog-detail-text h3 {
    margin-top: 2.4rem;
    margin-bottom: 1rem;
    font-size: 1.55rem;
    color: #2f261d;
}

.blog-detail-text h4 {
    color: #355842;
}

.blog-detail-text img {
    margin: 2.2rem auto;
    border-radius: 1rem;
    box-shadow: 0 18px 36px rgba(38, 30, 21, 0.1);
}

.blog-detail-text figure {
    text-align: center;
}

.blog-detail-inline-media + .blog-detail-inline-media {
    margin-top: 1.8rem;
}

@media (max-width: 768px) {
    .blog-detail-inline-media {
        width: 100%;
        gap: 0.75rem;
        margin: 2.4rem auto;
    }

    .blog-detail-inline-media::before,
    .blog-detail-inline-media::after {
        min-width: 1.2rem;
        opacity: 0.65;
    }

    .blog-detail-inline-media img,
    .blog-detail-inline-media video,
    .blog-detail-inline-media picture img {
        width: min(100%, 100%) !important;
        max-width: 100% !important;
        border-radius: 1rem;
        padding: 0.3rem;
    }
}

.blog-detail-text blockquote {
    margin: 2.1rem 0;
    padding: 1.6rem 1.8rem;
    border-left: 0;
    border-radius: 1.25rem;
    background: linear-gradient(135deg, rgba(232, 196, 105, 0.12), rgba(74, 124, 62, 0.06));
    box-shadow: inset 0 0 0 1px rgba(74, 124, 62, 0.08);
}

.blog-detail-quote {
    margin: 2rem auto 0;
    padding: 3rem 2.5rem;
    background:
        linear-gradient(135deg, rgba(255, 251, 240, 0.96), rgba(249, 242, 223, 0.96)),
        radial-gradient(circle at top, rgba(232, 196, 105, 0.16), transparent 50%);
    border: 1px solid rgba(74, 124, 62, 0.12);
    box-shadow: 0 22px 50px rgba(47, 38, 29, 0.08);
    transform: none;
}

.blog-detail-quote:hover {
    transform: translateY(-2px);
}

.blog-detail-quote::before,
.blog-detail-quote::after {
    width: 84px;
    height: 84px;
}

.blog-detail-quote-text {
    max-width: 22ch;
    margin: 0 auto;
}

.blog-detail-closing {
    padding: 5rem 0;
    background:
        linear-gradient(180deg, rgba(247, 241, 228, 0.52), rgba(255, 255, 255, 0));
}

.blog-detail-closing-container {
    max-width: 860px;
}

.blog-detail-cta-buttons {
    gap: 1rem;
}

.blog-detail-cta-btn {
    border-radius: 999px;
}

.blog-detail-related {
    padding: 4.5rem 0 5rem;
    background: transparent;
}

.blog-detail-related-head {
    margin-bottom: 2.2rem;
    text-align: center;
}

.blog-detail-related-title {
    margin-bottom: 0;
}

.blog-detail-related-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.4rem;
}

.blog-detail-related-card {
    border-radius: 1.4rem;
    border: 1px solid rgba(74, 124, 62, 0.08);
    box-shadow: 0 18px 34px rgba(47, 38, 29, 0.08);
}

.blog-detail-related-content {
    padding: 1.2rem 1.2rem 1.35rem;
}

.blog-detail-related-category {
    margin: 0 0 0.5rem;
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #6a8768;
}

@media (max-width: 1100px) {
    .blog-detail-hero-grid {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .blog-detail-hero-panel {
        max-width: 520px;
    }

    .blog-detail-article-shell {
        grid-template-columns: 1fr;
    }

    .blog-detail-sidebar {
        position: static;
        order: 2;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .blog-detail-article-main {
        order: 1;
    }

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

@media (max-width: 768px) {
    .blog-detail-hero-content {
        padding: 6rem 0 3.25rem;
    }

    .blog-detail-hero-meta-grid {
        grid-template-columns: 1fr;
        max-width: 100%;
    }

    .blog-detail-header-section {
        margin-top: -1.2rem;
    }

    .blog-detail-featured-image {
        width: calc(100% - 1.2rem);
    }

    .blog-detail-image-wrapper {
        padding: 0.65rem;
    }

    .blog-detail-image-decoration {
        inset: 0.75rem;
        border-radius: 1rem;
    }

    .blog-detail-image-shell {
        border-radius: 1.35rem;
        padding: 0.8rem;
    }

    .blog-detail-image-shell::before {
        inset: 0.7rem;
        border-radius: 1rem;
    }

    .blog-detail-image-stage {
        min-height: 260px;
        border-radius: 1rem;
    }

    .blog-detail-image-topbar,
    .blog-detail-image-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .blog-detail-image-type,
    .blog-detail-image-footer-meta span {
        font-size: 0.78rem;
    }

    .blog-detail-image-footer-meta {
        justify-content: flex-start;
    }

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

    .blog-detail-article {
        padding: 3rem 0 4rem;
    }

    .blog-detail-article-shell {
        padding: 0 1rem;
    }

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

    .blog-detail-intro,
    .blog-detail-content,
    .blog-detail-quote {
        padding-left: 1.2rem;
        padding-right: 1.2rem;
    }

    .blog-detail-intro-text {
        font-size: 1.1rem;
        text-align: center;
    }

    .blog-detail-content {
        padding-top: 1.6rem;
        padding-bottom: 1.4rem;
        border-radius: 1.45rem;
    }

    .blog-detail-text {
        font-size: 1rem;
    }

    .blog-detail-text h2 {
        font-size: 1.56rem;
    }

    .blog-detail-text h3 {
        font-size: 1.3rem;
    }

    .blog-detail-quote {
        padding-top: 2rem;
        padding-bottom: 2rem;
        border-radius: 1.4rem;
    }

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

@media (max-width: 480px) {
    .blog-detail-hero-title {
        max-width: none;
        font-size: clamp(2rem, 9vw, 2.8rem);
    }

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

    .blog-detail-text h2 {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.6rem;
    }
}
