.blog-page {
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.03) 0%, rgba(212, 165, 116, 0.05) 100%);
    min-height: calc(100vh - 200px);
    padding: 4rem 0;
}

.blog-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 4.5rem 2rem;
    border-radius: 24px;
    margin-bottom: 4rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(139, 69, 19, 0.3);
    text-align: center;
}

.blog-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.blog-hero-icon {
    font-size: 3.5rem;
    margin-bottom: 1.25rem;
    opacity: 0.95;
}

.blog-hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.25rem, 4.5vw, 3.75rem);
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 0.03em;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.blog-hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.95;
    line-height: 1.7;
}

.blog-hero-rss {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 2;
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    background: rgba(255, 255, 255, 0.15);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}

.blog-hero-rss:hover {
    background: rgba(255, 255, 255, 0.3);
    color: white;
    transform: scale(1.08);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.post-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
}

.post-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(139, 69, 19, 0.18);
    border-color: var(--wine-gold);
}

.post-card-media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}

.post-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.post-card:hover .post-card-media img {
    transform: scale(1.06);
}

.post-card-media-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 3rem;
}

.post-card-body {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.post-card-date {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    align-self: flex-start;
    background: linear-gradient(135deg, var(--wine-red) 0%, var(--terracotta) 100%);
    color: white;
    padding: 0.35rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    box-shadow: 0 4px 12px rgba(114, 47, 55, 0.25);
}

.post-card-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.3;
    margin-bottom: 0.75rem;
}

.post-card-title a {
    color: inherit;
    text-decoration: none;
}

.post-card-title a:hover {
    color: var(--wine-red);
}

.post-card-author {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.post-card-summary {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1.25rem;
    flex: 1;
}

.post-card-readmore {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--wine-red);
    font-weight: 600;
    text-decoration: none;
    align-self: flex-start;
    transition: gap 0.2s ease;
}

.post-card-readmore:hover {
    gap: 0.8rem;
    color: var(--primary);
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0 0 1rem;
}

.post-tags a {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: rgba(139, 69, 19, 0.08);
    color: var(--primary);
    padding: 0.3rem 0.85rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.post-tags a:hover,
.post-tags a.label-success {
    background: var(--primary);
    color: white;
}

.blog-empty {
    text-align: center;
    background: white;
    border-radius: 20px;
    padding: 4rem 2rem;
    color: var(--text-light);
    font-size: 1.1rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
}

.blog-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
}

.blog-pagination li a,
.blog-pagination li span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    min-width: 44px;
    height: 44px;
    padding: 0 1rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    color: var(--primary);
    background: white;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
    transition: all 0.2s ease;
    justify-content: center;
}

.blog-pagination li a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.blog-pagination li.active span {
    background: var(--primary);
    color: white;
}

.blog-pagination li.disabled span {
    opacity: 0.4;
    box-shadow: none;
}

/* Single post page */
.post-page-header {
    max-width: 900px;
    margin: 0 auto 2.5rem;
    text-align: center;
}

.post-page-cover {
    max-width: 1100px;
    margin: 0 auto 2.5rem;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(139, 69, 19, 0.2);
}

.post-page-cover img {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    display: block;
}

.post-page-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.post-page-meta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.post-page-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.post-page-edit {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.25rem;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    background: var(--primary);
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.post-page-edit:hover {
    background: var(--primary-dark);
    color: white;
    transform: translateY(-2px);
}

.post-content-card {
    max-width: 900px;
    margin: 0 auto 2.5rem;
    background: white;
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
}

.post-content {
    color: var(--text);
    font-size: 1.1rem;
    line-height: 1.85;
}

.post-content h1,
.post-content h2,
.post-content h3 {
    font-family: 'Cormorant Garamond', serif;
    color: var(--primary);
    margin: 2rem 0 1rem;
    line-height: 1.3;
}

.post-content p {
    margin-bottom: 1.25rem;
}

.post-content img {
    max-width: 100%;
    border-radius: 12px;
    margin: 1.5rem 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.post-content blockquote {
    border-left: 4px solid var(--wine-gold);
    background: rgba(212, 165, 116, 0.08);
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0 12px 12px 0;
    color: var(--text-light);
    font-style: italic;
}

.post-content ul,
.post-content ol {
    margin: 0 0 1.25rem 1.5rem;
}

.post-content a {
    color: var(--wine-red);
}

.post-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 0 1.5rem;
    font-size: 1rem;
}

.post-content th,
.post-content td {
    padding: 0.6rem 1rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    text-align: left;
}

.post-content th {
    background: rgba(212, 165, 116, 0.12);
    color: var(--primary);
}

.post-comments-card {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
}

.post-comments-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.75rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.post-comment-add {
    background: rgba(139, 69, 19, 0.04);
    border-radius: 16px;
    padding: 1.75rem;
    margin-bottom: 2rem;
}

.post-comment {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding: 1.25rem 0;
    border-bottom: 1px solid rgba(139, 69, 19, 0.1);
}

.post-comment:last-child {
    border-bottom: none;
}

.post-comment-author {
    color: var(--primary);
    font-weight: 700;
}

.post-comment-date {
    color: var(--text-light);
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .blog-hero {
        padding: 3rem 1.5rem;
    }

    .blog-grid {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }

    .post-content-card,
    .post-comments-card {
        padding: 1.75rem;
        border-radius: 18px;
    }
}
