/* ─── Blog Hero ─────────────────────────────────────── */
.blog-hero {
    background-color: #45483C;
    background-image: linear-gradient(135deg, #45483C 0%, #5a5e50 100%);
    color: #fff;
    text-align: center;
    padding: 200px 20px 60px;
}

.blog-hero__inner h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    color: #c8a564;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.blog-hero__inner p {
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.75);
    max-width: 480px;
    margin: 0 auto;
}

/* ─── Blog Section ───────────────────────────────────── */
.blog-section {
    background-color: #faf5ec;
    padding: 60px 20px 80px;
    min-height: 400px;
}

.blog-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* ─── Blog Grid ──────────────────────────────────────── */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 32px;
}

/* ─── Blog Card ──────────────────────────────────────── */
.blog-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.13);
}

.blog-card__thumb {
    display: block;
    overflow: hidden;
    height: 210px;
}

.blog-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.blog-card:hover .blog-card__thumb img {
    transform: scale(1.05);
}

.blog-card__body {
    padding: 22px 24px 28px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 10px;
}

.blog-card__date {
    font-size: 0.8rem;
    color: #c8a564;
    font-family: 'Inter', sans-serif;
    display: flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-card__title {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: #333;
    margin: 0;
    line-height: 1.4;
}

.blog-card__title a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

.blog-card__title a:hover {
    color: #c8a564;
}

.blog-card__excerpt {
    font-family: 'Inter', sans-serif;
    font-size: 0.92rem;
    color: #666;
    line-height: 1.6;
    flex: 1;
}

.blog-card__btn {
    display: inline-block;
    margin-top: 6px;
    padding: 9px 22px;
    background-color: #c8a564;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    align-self: flex-start;
    transition: background-color 0.25s ease, transform 0.2s ease;
}

.blog-card__btn:hover {
    background-color: #b08f4f;
    transform: translateY(-1px);
}

/* ─── Pagination ─────────────────────────────────────── */
.blog-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 48px;
    flex-wrap: wrap;
}

.blog-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: #fff;
    color: #45483C;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    transition: background 0.2s ease, color 0.2s ease;
}

.blog-pagination .page-numbers:hover,
.blog-pagination .page-numbers.current {
    background: #c8a564;
    color: #fff;
}

/* ─── Empty state ────────────────────────────────────── */
.blog-empty {
    text-align: center;
    padding: 80px 20px;
    color: #999;
}

.blog-empty i {
    font-size: 3rem;
    color: #c8a564;
    margin-bottom: 16px;
    display: block;
}

.blog-empty p {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
}

/* ─── Responsive (lista) ─────────────────────────────── */
@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .blog-hero {
        padding: 140px 20px 40px;
    }

    .post-hero {
        padding: 140px 20px 40px;
    }
}

/* ══════════════════════════════════════════════════════
   SINGLE POST
══════════════════════════════════════════════════════ */

/* ─── Post Hero ──────────────────────────────────────── */
.post-hero {
    background-color: #45483C;
    background-image: linear-gradient(135deg, #45483C 0%, #5a5e50 100%);
    padding: 200px 20px 55px;
    text-align: center;
}

.post-hero__inner {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.post-back {
    align-self: flex-start;
    color: rgba(255, 255, 255, 0.65);
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 7px;
    transition: color 0.2s ease;
}

.post-back:hover {
    color: #c8a564;
}

.post-hero__title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 4.5vw, 2.9rem);
    color: #fff;
    line-height: 1.3;
    margin: 0;
}

.post-hero__meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
    color: rgba(255, 255, 255, 0.6);
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
}

.post-hero__meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.post-hero__meta i {
    color: #c8a564;
}

/* ─── Post Section ───────────────────────────────────── */
.post-section {
    background-color: #faf5ec;
    padding: 60px 20px 80px;
}

.post-container {
    max-width: 820px;
    margin: 0 auto;
}

/* ─── Featured Image ─────────────────────────────────── */
.post-featured-img {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 40px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
}

.post-featured-img img {
    width: 100%;
    height: auto;
    display: block;
}

/* ─── Post Content typography ────────────────────────── */
.post-content {
    background: #fff;
    border-radius: 12px;
    padding: 44px 52px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.07);
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    line-height: 1.85;
    color: #3a3a3a;
}

.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4 {
    font-family: 'Playfair Display', serif;
    color: #2d2d2d;
    margin: 1.6em 0 0.5em;
    line-height: 1.3;
}

.post-content h2 { font-size: 1.6rem; }
.post-content h3 { font-size: 1.3rem; }
.post-content h4 { font-size: 1.1rem; }

.post-content p {
    margin: 0 0 1.3em;
}

.post-content a {
    color: #c8a564;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}

.post-content a:hover {
    color: #a07a40;
}

.post-content ul,
.post-content ol {
    padding-left: 1.6em;
    margin: 0 0 1.3em;
}

.post-content li {
    margin-bottom: 0.4em;
}

.post-content blockquote {
    border-left: 4px solid #c8a564;
    background: #faf5ec;
    margin: 1.6em 0;
    padding: 16px 24px;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: #666;
}

.post-content img {
    max-width: 100%;
    border-radius: 8px;
    margin: 1em 0;
}

.post-content hr {
    border: none;
    border-top: 1px solid #e8dfd2;
    margin: 2em 0;
}

.post-content strong { color: #2d2d2d; }

/* ─── Post Footer (tags + nav) ───────────────────────── */
.post-footer {
    margin-top: 36px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: #999;
}

.post-tags i {
    color: #c8a564;
}

.post-tag {
    background: #fff;
    border: 1px solid #e8dfd2;
    color: #555;
    padding: 4px 12px;
    border-radius: 20px;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.post-tag:hover {
    background: #c8a564;
    border-color: #c8a564;
    color: #fff;
}

/* ─── Prev / Next navigation ─────────────────────────── */
.post-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.post-nav__prev,
.post-nav__next {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.07);
    overflow: hidden;
}

.post-nav__prev a,
.post-nav__next a {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 18px 22px;
    text-decoration: none;
    transition: background 0.2s ease;
}

.post-nav__prev a:hover,
.post-nav__next a:hover {
    background: #faf5ec;
}

.post-nav__next {
    text-align: right;
}

.post-nav__label {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    color: #c8a564;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.post-nav__name {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    color: #333;
    line-height: 1.35;
}

/* ─── Responsive (single) ────────────────────────────── */
@media (max-width: 768px) {
    .post-content {
        padding: 28px 22px;
    }

    .post-nav {
        grid-template-columns: 1fr;
    }

    .post-nav__next {
        text-align: left;
    }

    .post-hero {
        padding: 50px 20px 40px;
    }
}
