/* ====== Villa Casa Feliz — Journal styles ====== */
:root {
    --gold: #b8954f;
    --gold-light: #d4b876;
    --gold-dark: #8a6e38;
    --charcoal: #2c2c2c;
    --ink: #1f1f1f;
    --cream: #faf7f2;
    --warm-gray: #5c5c5c;
    --soft-gray: #8a8a8a;
    --hairline: #e8e4dc;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Raleway', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--ink);
    background: var(--cream);
    line-height: 1.65;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
a { color: var(--gold-dark); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color 0.2s; }
a:hover { color: var(--gold); }

/* ====== Header ====== */
.blog-header {
    background: #fff;
    border-bottom: 1px solid var(--hairline);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 50;
}
.blog-header img { height: 52px; width: auto; display: block; }
.blog-header nav { display: flex; gap: 2rem; align-items: center; }
.blog-header nav a {
    color: var(--charcoal);
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 500;
    text-decoration: none;
}
.blog-header nav a:hover { color: var(--gold); }
.blog-header nav a.book-btn {
    background: var(--gold);
    color: #fff;
    padding: 0.75rem 1.4rem;
    border-radius: 2px;
    font-weight: 600;
}
.blog-header nav a.book-btn:hover { background: var(--gold-dark); color: #fff; }

/* ====== Blog index hero ====== */
.blog-hero {
    padding: 6rem 2rem 2rem;
    text-align: center;
    max-width: 820px;
    margin: 0 auto;
}
.blog-hero .eyebrow {
    color: var(--gold);
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    display: block;
    font-weight: 600;
}
.blog-hero h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2.4rem, 5vw, 3.4rem);
    font-weight: 600;
    line-height: 1.15;
    margin-bottom: 1.2rem;
    color: var(--ink);
    letter-spacing: -0.01em;
}
.blog-hero p {
    font-size: 1.15rem;
    color: var(--warm-gray);
    max-width: 620px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ====== Post grid ====== */
.post-grid {
    max-width: 1180px;
    margin: 3.5rem auto 7rem;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2.5rem;
}
.post-card {
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 8px 30px rgba(30,25,15,0.06);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--hairline);
}
.post-card:hover { transform: translateY(-4px); box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 18px 50px rgba(30,25,15,0.12); }
.post-card a { color: inherit; text-decoration: none; display: block; }
.post-card img { width: 100%; height: 240px; object-fit: cover; display: block; }
.post-card .post-body { padding: 1.8rem 1.8rem 2rem; }
.post-card .tag {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.8rem;
    display: block;
    font-weight: 600;
}
.post-card h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.45rem;
    font-weight: 600;
    line-height: 1.25;
    margin-bottom: 0.9rem;
    color: var(--ink);
}
.post-card .excerpt {
    color: var(--warm-gray);
    font-size: 0.97rem;
    margin-bottom: 1.3rem;
    line-height: 1.55;
}
.post-card .meta {
    font-size: 0.75rem;
    color: var(--soft-gray);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 500;
}
.post-card.coming-soon { opacity: 0.65; }
.post-card.coming-soon:hover { transform: none; box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 8px 30px rgba(30,25,15,0.06); }
.post-card.coming-soon .tag { color: var(--soft-gray); }

/* ====== Post hero ====== */
.post-hero {
    position: relative;
    height: 58vh;
    min-height: 440px;
    max-height: 620px;
    overflow: hidden;
}
.post-hero img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.post-hero .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.55) 75%, rgba(0,0,0,0.7) 100%);
}
.post-hero .content {
    position: relative;
    z-index: 1;
    max-width: 860px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 0 2rem 3.5rem;
    color: #fff;
}
.post-hero .tag {
    font-size: 0.72rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 1.2rem;
    font-weight: 600;
}
.post-hero h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2rem, 5vw, 3.4rem);
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 1.2rem;
    max-width: 740px;
    letter-spacing: -0.01em;
}
.post-hero .meta {
    font-size: 0.8rem;
    opacity: 0.88;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 500;
}

/* ====== Post body ====== */
.post-body-wrap {
    max-width: 680px;
    margin: 0 auto;
    padding: 4.5rem 2rem 3rem;
    font-size: 1.12rem;
    line-height: 1.75;
    color: #2b2a26;
}
.post-body-wrap p { margin-bottom: 1.5rem; }
.post-body-wrap .lede {
    font-size: 1.35rem;
    line-height: 1.55;
    color: var(--ink);
    font-weight: 400;
    margin-bottom: 2.8rem;
    padding-bottom: 2.2rem;
    border-bottom: 1px solid var(--hairline);
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
}
.post-body-wrap h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.95rem;
    font-weight: 600;
    line-height: 1.25;
    margin: 3.5rem 0 1.2rem;
    color: var(--ink);
    letter-spacing: -0.01em;
}
.post-body-wrap h2:first-of-type { margin-top: 0; }
.post-body-wrap h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.3rem;
    font-weight: 600;
    margin: 2.5rem 0 0.9rem;
    color: var(--ink);
}
.post-body-wrap ul, .post-body-wrap ol {
    margin: 0 0 1.8rem 0;
    padding-left: 1.3rem;
}
.post-body-wrap li {
    margin-bottom: 0.8rem;
    padding-left: 0.3rem;
}
.post-body-wrap li::marker { color: var(--gold); }
.post-body-wrap strong { font-weight: 600; color: var(--ink); }

.post-body-wrap .pull {
    border-left: 3px solid var(--gold);
    padding: 0.2rem 0 0.2rem 1.8rem;
    margin: 2.5rem 0;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.45rem;
    line-height: 1.4;
    color: var(--ink);
    font-style: italic;
    font-weight: 400;
}

.post-body-wrap figure { margin: 2.5rem 0; }
.post-body-wrap figure img { width: 100%; border-radius: 4px; display: block; }
.post-body-wrap figcaption {
    font-size: 0.82rem;
    color: var(--soft-gray);
    margin-top: 0.6rem;
    text-align: center;
    font-style: italic;
}

/* ====== Post CTA ====== */
.post-cta {
    max-width: 680px;
    margin: 4rem auto 5rem;
    background: var(--ink);
    color: #fff;
    padding: 3rem 2.5rem;
    border-radius: 4px;
    text-align: center;
    position: relative;
}
.post-cta::before {
    content: "";
    display: block;
    width: 40px;
    height: 2px;
    background: var(--gold);
    margin: 0 auto 1.5rem;
}
.post-cta h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 0.7rem;
    color: #fff;
}
.post-cta p {
    color: #c8c6c0;
    margin-bottom: 1.8rem;
    font-size: 1rem;
    line-height: 1.6;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}
.post-cta a {
    display: inline-block;
    background: var(--gold);
    color: #fff !important;
    padding: 1rem 2.4rem;
    border-radius: 2px;
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s;
}
.post-cta a:hover { background: var(--gold-dark); color: #fff !important; }

/* ====== Footer ====== */
.blog-footer {
    background: var(--ink);
    color: #9a9894;
    padding: 2.5rem 2rem;
    text-align: center;
    font-size: 0.82rem;
}
.blog-footer p { margin: 0; }
.blog-footer a { color: var(--gold-light); margin: 0 0.5rem; text-decoration: none; }
.blog-footer a:hover { color: var(--gold); }

/* ====== Responsive ====== */
@media (max-width: 720px) {
    .blog-header { padding: 0.8rem 1.2rem; }
    .blog-header img { height: 42px; }
    .blog-header nav { gap: 0.8rem; }
    .blog-header nav a:not(.book-btn) { display: none; }
    .blog-header nav a.book-btn { padding: 0.6rem 1rem; font-size: 0.7rem; }

    .blog-hero { padding: 3.5rem 1.5rem 1.5rem; }
    .post-grid { padding: 0 1.5rem; margin-bottom: 4rem; gap: 1.8rem; }

    .post-hero { min-height: 360px; }
    .post-hero .content { padding: 0 1.5rem 2.5rem; }

    .post-body-wrap {
        padding: 3rem 1.5rem 2rem;
        font-size: 1.05rem;
    }
    .post-body-wrap .lede { font-size: 1.2rem; }
    .post-body-wrap h2 { font-size: 1.6rem; margin-top: 2.5rem; }
    .post-body-wrap h3 { font-size: 1.15rem; }
    .post-body-wrap .pull { font-size: 1.2rem; padding-left: 1.2rem; }

    .post-cta { margin: 3rem 1.5rem 4rem; padding: 2.5rem 1.8rem; }
    .post-cta h3 { font-size: 1.5rem; }
}
