/* Ever Wonder Wine — Public Styles */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Source+Sans+3:wght@300;400;600&display=swap');

body {
    font-family: 'Source Sans 3', 'Source Sans Pro', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #333;
    background-color: #fff;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, serif;
}

.navbar-brand {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
}

/* Blog Post */
.post-title {
    margin-bottom: 0.25rem;
}

.post-title a {
    color: #333;
    text-decoration: none;
}

.post-title a:hover {
    color: #722f37;
}

.post-meta {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.post-body {
    font-size: 1.1rem;
    line-height: 1.8;
    padding-top: 3rem;
}

.post-body a { color: #0d6efd; text-decoration: underline; }
.post-body a:hover { color: #0a58ca; }

.post-body img {
    max-width: 100%;
    height: auto;
}

/* Keep floated photos/headings from colliding mid-page, and make sure the
   body container always wraps fully around any floated photo inside it. */
.post-body::after {
    content: '';
    display: table;
    clear: both;
}
.post-body h2, .post-body h3 { clear: both; }
.post-body p:has(> a[href^="/"]) { clear: both; }

.post-tags {
    margin-top: 1.5rem;
}

.post-tags a {
    color: #722f37;
}

/* Wine Review Card */
.wine-details {
    background: #f8f5f0;
    border: 1px solid #e8e0d6;
    border-radius: 0.5rem;
    padding: 1.25rem;
    margin-top: 1.5rem;
}

.wine-details dt {
    color: #666;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.wine-details dd {
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

/* Category Badge */
.category-badge {
    display: inline-block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #722f37;
    border: 1px solid #722f37;
    padding: 0.15rem 0.5rem;
    border-radius: 3px;
}

/* Featured Image */
.featured-image {
    float: left;
    width: 180px;
    height: 240px;
    object-fit: cover;
    border-radius: 0.5rem;
    margin: 0 1.5rem 1rem 0;
}
/* Hub pages (short intro + links to sub-pages) show their featured image as a
   full-width banner instead of the small floated thumbnail above. */
.featured-image-full {
    float: none;
    width: 100%;
    margin: 0 0 1.5rem 0;
}
/* Fermentation Temperatures is a wide infographic (white wine info on the
   left, red wine info on the right) — cropping it to the portrait thumbnail
   box hides both sides. Show it uncropped instead. */
img.featured-image[src*="Fermentation-Temperatures"] {
    object-fit: contain;
    background: #f8f9fa;
}
/* Happy New Year 2017 is a wide vineyard photo — cropping it to the
   portrait thumbnail box cuts off both sides. Show it uncropped instead. */
img.featured-image[src*="image-asset-10.jpeg"] {
    object-fit: contain;
    background: #f8f9fa;
}
/* Behind the Cork is a wide logo graphic (cork on the left, text on the
   right) — cropping it to the portrait thumbnail box cuts off both sides. */
img.featured-image[src*="behind-the-cork-square.jpg"] {
    object-fit: contain;
    background: #f8f9fa;
}
/* El Paso de Robles flag is a wide graphic — cropping it to the portrait
   thumbnail box cuts off both sides. Show it uncropped instead. */
img.featured-image[src*="pasoroblesflag.png"] {
    object-fit: contain;
    background: #f8f9fa;
}
/* Keep it Simple sign photo is wider than the portrait thumbnail box —
   cropping it cuts off both sides. Show it uncropped instead. */
img.featured-image[src*="keepitsimple.jpg"] {
    object-fit: contain;
    background: #f8f9fa;
}
/* EWW logo graphic is square, which is wider than the portrait thumbnail
   box — cropping it cuts off both sides. Show it uncropped instead. */
img.featured-image[src*="eww-and-bottle.jpg"] {
    object-fit: contain;
    background: #f8f9fa;
}
/* Better Not To Do is a wide flat-lay photo — cropping it to the portrait
   thumbnail box cuts off both sides. Show it uncropped instead. */
img.featured-image[src*="better-not-to-do.jpg"] {
    object-fit: contain;
    background: #f8f9fa;
}
.section-img-wrap {
    float: left;
    width: 220px;
    margin: 0 1.5rem 1rem 0;
}
.section-img-wrap img {
    width: 100%;
    height: auto;
    border-radius: 0.5rem;
    display: block;
}
.section-img-wrap small {
    display: block;
    font-size: 0.75rem;
    color: #6c757d;
    text-align: center;
    margin-top: 0.3rem;
}
article::after {
    content: '';
    display: table;
    clear: both;
}
.image-pair {
    float: left;
    display: flex;
    gap: 0.5rem;
    margin: 0 1.5rem 1rem 0;
}
.image-pair img {
    width: 120px;
    height: auto;
    border-radius: 0.5rem;
}
/* Photo with caption as a single float block */
.photo-float {
    float: left;
    width: 220px;
    margin: 0 1.5rem 1rem 0;
}
.photo-float img {
    width: 220px;
    height: auto;
    border-radius: 0.5rem;
    display: block;
}
.photo-credit {
    font-size: 0.8rem;
    color: #6c757d;
    text-align: center;
    margin-top: 0.3rem;
    margin-bottom: 0;
}

@media (max-width: 576px) {
    .featured-image {
        float: none;
        width: 100%;
        margin: 0 0 1rem 0;
    }
    .image-pair {
        float: none;
        flex-wrap: wrap;
        margin: 0 0 1rem 0;
    }
    .image-pair img {
        width: calc(50% - 0.25rem);
    }
    .photo-float {
        float: none;
        width: 100%;
        margin: 0 0 1rem 0;
    }
    .photo-float img {
        width: 100%;
    }
    .section-img-wrap {
        float: none;
        width: 100%;
        margin: 0 0 1rem 0;
    }
    /* Keep exactly 13 columns but let each shrink to fit the screen instead
       of a fixed rem width, so the two rows never overflow on a phone.
       Selectors are scoped under .glossary-nav so they reliably outrank
       the desktop rule below regardless of where each appears in the file. */
    .glossary-nav .glossary-nav-letters {
        grid-template-columns: repeat(13, minmax(0, 1fr));
        gap: 0.15rem;
    }
    .glossary-nav .glossary-nav-letters a,
    .glossary-nav .glossary-nav-letters span.disabled {
        width: 100%;
        height: auto;
        aspect-ratio: 1;
        font-size: 0.8rem;
    }
}

.featured-image-listing {
    width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: cover;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

/* Archive Sidebar */
.archive-years a {
    color: #555;
    text-decoration: none;
}

.archive-years a:hover {
    color: #722f37;
}

/* Footer */
footer a {
    color: #888;
    text-decoration: none;
}

footer a:hover {
    color: #722f37;
}

/* Page subtitle, e.g. under the Glossary heading */
.page-subtitle {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.25rem;
    font-style: italic;
    color: #722f37;
    margin: -0.25rem 0 1.25rem 0;
}

/* Glossary live search (filters entries; see /assets/js/glossary.js) */
.glossary-search {
    max-width: 420px;
    margin: 0 0 1.5rem 0;
}
.glossary-search .form-control {
    border-color: #e8e0d6;
}
.glossary-search .form-control:focus {
    border-color: #722f37;
    box-shadow: 0 0 0 0.25rem rgba(114, 47, 55, 0.15);
}
.glossary-no-results {
    color: #888;
    font-style: italic;
    padding: 1rem 0;
}
.glossary-clear-search {
    color: #722f37;
    font-style: normal;
    text-decoration: underline;
}

/* Glossary alphabet navigation (built by /assets/js/glossary.js) */
.glossary-nav {
    position: sticky;
    top: 0;
    z-index: 10;
    padding: 0.5rem;
    margin-bottom: 1.5rem;
    background: #fff;
    border-bottom: 1px solid #e8e0d6;
}

.glossary-nav-letters {
    display: grid;
    grid-template-columns: repeat(13, 1.9rem);
    justify-content: center;
    gap: 0.25rem;
}

.glossary-nav a,
.glossary-nav span.disabled {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.9rem;
    height: 1.9rem;
    border-radius: 0.25rem;
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
}

.glossary-nav a {
    color: #722f37;
    border: 1px solid #e8e0d6;
}

.glossary-nav a:hover,
.glossary-nav a:focus {
    background: #722f37;
    border-color: #722f37;
    color: #fff;
}

.glossary-nav span.disabled {
    color: #ccc;
    cursor: default;
}

/* Table of contents (Wine 101 pages etc.) */
.eww-toc { background:#f8f9fa; border-left:4px solid #c8a96e; padding:1rem 1.5rem; margin:1.5rem 0; border-radius:4px; clear:both; }
.eww-toc strong { display:block; margin-bottom:0.5rem; }
.eww-toc ul { margin:0; padding-left:0; list-style:none; display:flex; flex-wrap:wrap; }
.eww-toc li { width:50%; padding-left:1.25rem; margin-bottom:0.3rem; box-sizing:border-box; }
.eww-toc a { color:#5a3e2b; text-decoration:underline; }
@media(max-width:576px){ .eww-toc li { width:100%; } }

/* Back to top */
.back-to-top { text-align:right; margin-top:1.5rem; margin-bottom:0; font-size:0.85rem; }
.back-to-top a { color:#6c757d; text-decoration:none; }
.back-to-top a:hover { color:#333; text-decoration:underline; }

/* Blog sidebar */
.sidebar-heading {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #888;
    border-bottom: 1px solid #e8e0d6;
    padding-bottom: 0.4rem;
    margin-bottom: 0.75rem;
}
.sidebar-list li {
    padding: 0.3rem 0;
    border-bottom: 1px solid #f0ebe4;
    font-size: 0.9rem;
    line-height: 1.35;
}
.sidebar-list li:last-child { border-bottom: none; }
.sidebar-list a { color: #5a3e2b; text-decoration: none; }
.sidebar-list a:hover { text-decoration: underline; }
.sidebar-taglist {
    font-size: 0.9rem;
    line-height: 1.9;
}
.sidebar-taglist a { color: #5a3e2b; text-decoration: none; }
.sidebar-taglist a:hover { text-decoration: underline; }
.sidebar-taglist .tag-dot { color: #c2b3a0; }
.sidebar-taglist-toggle {
    appearance: none;
    -webkit-appearance: none;
    display: inline;
    background: transparent;
    border: none;
    padding: 0;
    color: #8a7a68;
    font-family: inherit;
    font-size: 0.85rem;
    text-decoration: underline;
    cursor: pointer;
}
.sidebar-taglist-toggle:hover { color: #3a2518; }

.glossary-nav-label {
    display: block;
    text-align: center;
    margin: 0 0 0.25rem 0;
    color: #888;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Offset jump targets so the sticky bar doesn't cover the letter heading.
   glossary.js overrides this with the bar's actual (possibly multi-row) height. */
.glossary-letter {
    scroll-margin-top: 5rem;
}

html {
    scroll-behavior: smooth;
}

/* ── BREADCRUMBS ─────────────────────────────────────────────────────────── */
.eww-breadcrumb { margin-bottom: 1.25rem; }
.eww-breadcrumb .breadcrumb { font-size: 0.83rem; background: transparent; padding: 0; margin: 0; }
.eww-breadcrumb .breadcrumb-item + .breadcrumb-item::before { color: #aaa; }
.eww-breadcrumb .breadcrumb-item a { color: #6c757d; text-decoration: none; }
.eww-breadcrumb .breadcrumb-item a:hover { color: #333; text-decoration: underline; }
.eww-breadcrumb .breadcrumb-item.active { color: #999; }

/* ── NAVBAR LOGO ─────────────────────────────────────────────────────────── */
.navbar { min-height: 104px; }
.page-home .navbar { margin-bottom: 0; }

/* ── AWARD STRIP ─────────────────────────────────────────────────────────── */
.eww-award-strip {
    background: #f8f3eb;
    border-bottom: 1px solid #e6d9c8;
    text-align: center;
    padding: 9px 24px;
    font-family: 'Source Sans 3', sans-serif;
    font-size: 0.82rem;
    color: #6b4f30;
    letter-spacing: 0.04em;
}

/* ── HERO ────────────────────────────────────────────────────────────────── */
.eww-hero {
    position: relative;
    width: 100%;
    height: 580px;
    overflow: hidden;
    background: #c4a87a;
}

.eww-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 55%;
    display: block;
}

.eww-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 20%, rgba(0,0,0,0.62) 100%);
}

.eww-hero-text {
    position: absolute;
    bottom: 64px;
    left: 64px;
    right: 64px;
    max-width: 800px;
}

.eww-hero-text h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 3.4rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 14px 0;
    line-height: 1.15;
    text-shadow: 0 2px 10px rgba(0,0,0,0.4);
}

.eww-hero-sub {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.55rem;
    font-style: italic;
    color: rgba(255,255,255,0.93);
    margin: 0 0 8px 0;
    line-height: 1.4;
    text-shadow: 0 1px 6px rgba(0,0,0,0.35);
}

.eww-hero-tagline {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 1rem;
    font-weight: 300;
    color: rgba(255,255,255,0.78);
    margin: 0;
    letter-spacing: 0.04em;
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

/* ── QUOTE SECTION ───────────────────────────────────────────────────────── */
.eww-quote-section {
    background: #faf8f5;
    padding: 72px 32px;
    border-bottom: 1px solid #e8e0d6;
}

.eww-quote-inner {
    max-width: 740px;
    margin: 0 auto;
    text-align: center;
}

.eww-quote-rule {
    width: 40px;
    height: 2px;
    background: #722f37;
    margin: 0 auto 32px;
}

.eww-quote-section blockquote {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.45rem;
    font-style: italic;
    color: #2a2a2a;
    line-height: 1.75;
    margin: 0 0 28px;
    border: none;
    padding: 0;
}

.eww-quote-attr {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 0.82rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #999;
    margin: 0;
}

/* ── EXPLORE SECTION ─────────────────────────────────────────────────────── */
.eww-explore-section {
    padding: 80px 32px;
    background: #fff;
}

.eww-explore-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.eww-section-heading {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2rem;
    color: #2a2a2a;
    text-align: center;
    margin: 0 0 8px 0;
    font-weight: 600;
}

.eww-section-sub {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 1rem;
    color: #999;
    text-align: center;
    margin: 0 0 52px 0;
}

.eww-card-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 24px;
}

.eww-card {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e8e0d6;
    border-top: 3px solid #722f37;
    border-radius: 6px;
    padding: 36px 28px 32px;
    transition: box-shadow 0.18s ease;
}

.eww-card:hover {
    box-shadow: 0 8px 28px rgba(114,47,55,0.10);
    border-color: #d4c8c0;
    border-top-color: #722f37;
}

.eww-card-icon {
    width: 44px;
    height: 44px;
    background: #f8f3eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    flex-shrink: 0;
}

.eww-card h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: #2a2a2a;
    margin: 0 0 10px 0;
}

.eww-card p {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 0.92rem;
    color: #666;
    line-height: 1.65;
    margin: 0 0 20px 0;
    flex: 1;
}

.eww-card-cta {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 0.85rem;
    color: #722f37;
    font-weight: 600;
}

/* ── NEW TO WINE CALLOUT ─────────────────────────────────────────────────── */
.eww-new-to-wine {
    background: #faf8f5;
    border: 1px solid #e8e0d6;
    border-radius: 6px;
    padding: 24px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.eww-ntw-heading {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.4rem;
    font-style: italic;
    color: #2a2a2a;
    margin: 0 0 3px 0;
}

.eww-ntw-sub {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 0.9rem;
    color: #777;
    margin: 0;
}

.eww-ntw-btn {
    display: inline-block;
    background: #722f37;
    color: #fff;
    font-family: 'Source Sans 3', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
}

.eww-ntw-btn:hover {
    background: #5c2530;
    color: #fff;
}

/* ── RECENT POSTS ────────────────────────────────────────────────────────── */
.eww-posts-section {
    padding: 80px 32px;
    background: #faf8f5;
    border-top: 1px solid #e8e0d6;
}

.eww-posts-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.eww-posts-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 44px;
}

.eww-posts-header h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2rem;
    color: #2a2a2a;
    margin: 0;
    font-weight: 600;
}

.eww-posts-header a {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 0.875rem;
    color: #722f37;
    text-decoration: none;
    font-weight: 600;
    white-space: nowrap;
}

.eww-posts-header a:hover { text-decoration: underline; }

.eww-posts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.eww-post-card {
    background: #fff;
    border: 1px solid #e8e0d6;
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.eww-post-thumb {
    width: 100%;
    height: 168px;
    object-fit: cover;
    display: block;
    flex-shrink: 0;
}

.eww-post-thumb-placeholder {
    width: 100%;
    height: 168px;
    background: #f0ebe4;
    flex-shrink: 0;
}

.eww-post-card-body {
    padding: 18px 18px 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.eww-post-card-body .category-badge { margin-bottom: 10px; }

.eww-post-card-body h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 0.98rem;
    line-height: 1.45;
    margin: 0 0 10px 0;
    flex: 1;
}

.eww-post-card-body h3 a { color: #2a2a2a; text-decoration: none; }
.eww-post-card-body h3 a:hover { color: #722f37; }

.eww-post-date {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 0.8rem;
    color: #aaa;
    margin: 0;
}

/* ── HOMEPAGE SUBSCRIBE SECTION ──────────────────────────────────────────── */
.eww-subscribe-section {
    background: #722f37;
    padding: 60px 32px;
    text-align: center;
}

.eww-subscribe-inner {
    max-width: 520px;
    margin: 0 auto;
}

.eww-subscribe-section h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.9rem;
    color: #fff;
    margin: 0 0 12px 0;
    font-weight: 600;
}

.eww-subscribe-section .eww-subscribe-body {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.65;
    margin: 0 0 32px 0;
}

.eww-subscribe-form {
    display: flex;
    gap: 8px;
    max-width: 400px;
    margin: 0 auto;
}

.eww-subscribe-form input[type="email"] {
    flex: 1;
    padding: 12px 16px;
    border: none;
    border-radius: 4px;
    font-family: 'Source Sans 3', sans-serif;
    font-size: 0.92rem;
    color: #333;
    outline: none;
    min-width: 0;
}

.eww-subscribe-form button {
    background: #fff;
    color: #722f37;
    font-family: 'Source Sans 3', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 12px 22px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    white-space: nowrap;
}

.eww-subscribe-form button:hover { background: #f8f3eb; }

.eww-subscribe-privacy {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.5);
    margin: 16px 0 0 0;
}

.eww-subscribe-msg {
    border-radius: 4px;
    padding: 10px 16px;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.eww-subscribe-ok  { background: rgba(255,255,255,0.15); color: #fff; }
.eww-subscribe-err { background: rgba(0,0,0,0.2); color: #fff; }

/* ── DARK FOOTER ─────────────────────────────────────────────────────────── */
footer.eww-footer {
    background: #1e1e1e;
    border-top: none;
    margin-top: 0;
    padding: 40px 32px;
}

.eww-footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.eww-footer-brand p { margin: 0; }

.eww-footer-name {
    font-family: 'Playfair Display', Georgia, serif;
    color: #fff;
    font-size: 0.95rem;
}

.eww-footer-copy {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 0.78rem;
    color: #666;
}

.eww-footer-links {
    display: flex;
    gap: 24px;
    align-items: center;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
}

.eww-footer-links a {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 0.82rem;
    color: #888;
    text-decoration: none;
}

.eww-footer-links a:hover { color: #fff; }

.eww-footer-social {
    display: flex;
    gap: 16px;
    align-items: center;
}

.eww-footer-social a { color: #666; text-decoration: none; line-height: 0; }
.eww-footer-social a:hover { color: #ccc; }

/* ── FOOTER SUBSCRIBE (all pages except homepage) ────────────────────────── */
.eww-footer-subscribe {
    background: #2a2a2a;
    padding: 32px;
    text-align: center;
}

.eww-footer-subscribe h5 {
    font-family: 'Playfair Display', Georgia, serif;
    color: #fff;
    font-size: 1.1rem;
    margin: 0 0 6px;
}

.eww-footer-subscribe .eww-fts-tagline {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 0.85rem;
    color: #888;
    margin: 0 0 16px;
}

.eww-footer-sub-form {
    display: flex;
    gap: 8px;
    max-width: 360px;
    margin: 0 auto;
}

.eww-footer-sub-form input[type="email"] {
    flex: 1;
    padding: 9px 14px;
    border: 1px solid #444;
    border-radius: 4px;
    background: #333;
    color: #eee;
    font-family: 'Source Sans 3', sans-serif;
    font-size: 0.88rem;
    outline: none;
    min-width: 0;
}

.eww-footer-sub-form input[type="email"]::placeholder { color: #777; }

.eww-footer-sub-form button {
    background: #722f37;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 9px 18px;
    font-family: 'Source Sans 3', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}

.eww-footer-sub-form button:hover { background: #5c2530; }

.eww-footer-subscribe .eww-fts-alert {
    max-width: 360px;
    margin: 0 auto 12px;
    font-size: 0.85rem;
    border-radius: 4px;
    padding: 8px 14px;
}

.eww-footer-subscribe .eww-fts-ok  { background: rgba(255,255,255,0.1); color: #ccc; }
.eww-footer-subscribe .eww-fts-err { background: rgba(180,0,0,0.3); color: #fcc; }

/* ── RESPONSIVE ──────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
    .eww-card-grid { grid-template-columns: 1fr; }
    .eww-posts-grid { grid-template-columns: repeat(2, 1fr); }
    .eww-new-to-wine { flex-direction: column; align-items: flex-start; }
    .eww-footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 600px) {
    .eww-hero { height: 420px; }
    .eww-hero-text { left: 24px; right: 24px; bottom: 32px; }
    .eww-hero-text h1 { font-size: 2.2rem; }
    .eww-hero-sub { font-size: 1.1rem; }
    .eww-posts-grid { grid-template-columns: 1fr; }
    .eww-explore-section,
    .eww-quote-section,
    .eww-posts-section,
    .eww-subscribe-section { padding: 48px 16px; }
    .eww-subscribe-form { flex-direction: column; }
    .eww-footer-sub-form { flex-direction: column; }
}
