/* 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: 'Lobster', cursive;
    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: 'Lobster', cursive;
    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-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;
}

/* 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-title {
        font-size: 2.5rem;
    }
    
    .blog-hero-subtitle {
        font-size: 1.125rem;
    }
    
    .blog-filter {
        top: 4rem;
        padding: 1.5rem 0;
    }
    
    .blog-filter-btn {
        padding: 0.5rem 1.25rem;
        font-size: 0.875rem;
    }
    
    .blog-posts {
        padding: 3rem 0;
    }
    
    .blog-posts-grid {
        gap: 1rem;
        min-height: 300px;
    }
    
    .blog-posts-column {
        gap: 1rem;
    }
    
    .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(1000px, calc(100% - 2rem));
}

.blog-detail-image-wrapper {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    background: #111;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.15),
        0 0 0 8px rgba(250, 246, 238, 0.7),
        0 0 0 14px rgba(74, 124, 62, 0.08);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    min-height: clamp(260px, 45vh, 460px);
}

.blog-detail-featured-image:hover .blog-detail-image-wrapper {
    transform: translateY(-6px);
    box-shadow: 
        0 30px 80px rgba(0, 0, 0, 0.2),
        0 0 0 10px rgba(250, 246, 238, 0.8),
        0 0 0 16px rgba(74, 124, 62, 0.1);
}

.blog-detail-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    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-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(
        to bottom,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.05) 100%
    );
    pointer-events: none;
}

.blog-detail-image-decoration {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    border: 2px solid rgba(74, 124, 62, 0.2);
    border-radius: 1.5rem;
    pointer-events: none;
    opacity: 0;
    animation: decorationFadeIn 1.5s ease-out 0.5s forwards;
}

@keyframes decorationFadeIn {
    to {
        opacity: 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 {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-detail-gallery-card:hover img {
    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-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;
    }
}
