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

:root {
    --primary-color: #1a1a1a;
    /* Dark Charcoal */
    --accent-color: #c5a059;
    /* Muted Gold */
    --accent-hover: #b08d45;
    --text-body: #4a4a4a;
    /* Soft Black */
    --bg-color: #fcfbf9;
    /* Warm Cream/White */
    --border-color: #e0e0e0;
    --success-green: #2e7d32;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    line-height: 1.8;
    color: var(--text-body);
    background-color: var(--bg-color);
    font-size: 18px;
}

/* Typography Overrides */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    line-height: 1.3;
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-hover);
    text-decoration: underline;
}

/* Header */
header {
    background-color: #fff;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
    text-align: center;
    position: relative;
    /* z-index removed as not needed for relative */
}

.brand-logo {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--primary-color);
    text-transform: uppercase;
}

.brand-tagline {
    font-size: 12px;
    color: #888;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 5px;
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 2.5fr 1fr;
    /* Main Content | Sidebar */
    gap: 60px;
}

/* Main Content Area */
main {
    width: 100%;
}

.article-header {
    margin-bottom: 40px;
    text-align: center;
}

.article-category {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-color);
    font-weight: 700;
    margin-bottom: 15px;
    display: block;
}

.article-title {
    font-size: 48px;
    margin-bottom: 20px;
}

.article-meta {
    font-size: 14px;
    color: #888;
    font-style: italic;
}

.article-subheadline {
    font-size: 20px;
    color: #666;
    font-family: var(--font-body);
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 15px;
}

.dish-price {
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 400;
    color: var(--accent-color);
    margin-left: 8px;
}

.article-intro {
    font-size: 20px;
    margin-bottom: 50px;
}

.article-intro p {
    margin-bottom: 1.5em;
}

.article-intro p:last-child {
    margin-bottom: 0;
}

.drop-cap::first-letter {
    font-family: var(--font-heading);
    font-size: 3.5em;
    float: left;
    margin-top: -0.2em;
    margin-right: 0.1em;
    line-height: 1;
    color: var(--primary-color);
}

/* The List Items (Vignette Style) */
.restaurant-card {
    margin-bottom: 60px;
    background: #fff;
    border: 1px solid var(--border-color);
    padding: 0;
    /* Clear padding */
}

.restaurant-card.winner {
    border: 2px solid var(--accent-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.card-header {
    padding: 30px;
    background: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f0f0f0;
}

.rank-badge {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 700;
    color: var(--accent-color);
    margin-right: 20px;
}

.restaurant-name {
    flex: 1;
    font-size: 28px;
    margin: 0;
}

.score-badge {
    background: var(--primary-color);
    color: #fff;
    padding: 10px 15px;
    border-radius: 2px;
    font-family: var(--font-heading);
    font-size: 24px;
    text-align: center;
}

.score-badge small {
    display: block;
    font-size: 10px;
    font-family: var(--font-body);
    opacity: 0.8;
    letter-spacing: 1px;
}

.card-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

.card-image-placeholder {
    width: 100%;
    height: 350px;
    background: linear-gradient(135deg, #f5f3ef 0%, #e8e4dd 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 15px;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.card-image-placeholder span {
    font-family: var(--font-heading);
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #999;
}

.card-image-placeholder .placeholder-icon {
    width: 60px;
    height: 60px;
    border: 2px dashed #ccc;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #bbb;
    font-size: 24px;
}

.card-body {
    padding: 40px;
}

.card-body p {
    margin-bottom: 1.1em;
}

.card-body p:last-child {
    margin-bottom: 0;
}

.pro-con-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 30px 0;
    font-size: 16px;
}

.pc-list {
    list-style: none;
}

.pc-list li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.pc-list.pros li::before {
    content: "✓";
    color: var(--accent-color);
    /* Gold Check */
    position: absolute;
    left: 0;
}

.pc-list.cons li::before {
    content: "—";
    /* Em dash instead of X for elegance */
    color: #999;
    position: absolute;
    left: 0;
}

.editorial-verdict {
    margin-top: 30px;
    font-style: italic;
    color: #555;
    border-left: 3px solid var(--accent-color);
    padding-left: 20px;
}

.cta-container {
    margin-top: 30px;
    text-align: center;
}

.btn-primary {
    display: inline-block;
    background-color: var(--primary-color);
    color: #fff;
    padding: 18px 40px;
    font-size: 16px;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 700;
    border: 2px solid var(--primary-color);
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary-color);
    text-decoration: none;
}

.btn-primary:focus,
.btn-secondary:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

.btn-secondary {
    display: inline-block;
    color: #888;
    font-size: 14px;
    text-decoration: underline;
    margin-top: 10px;
    cursor: pointer;
    transition: color 0.2s ease;
}

.btn-secondary:hover {
    color: var(--accent-color);
}

/* Sidebar */
aside {
    position: sticky;
    top: 20px;
    /* Reduced offset since header scrolls away */
    height: fit-content;
}

.sidebar-widget {
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

.widget-title {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    color: #999;
}

.author-widget img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin-bottom: 20px;
    object-fit: cover;
    filter: grayscale(20%);
}

.author-bio {
    font-size: 15px;
    color: #666;
    margin-bottom: 15px;
}

.author-sig {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-style: italic;
}

.popular-posts-list {
    list-style: none;
}

.popular-posts-list li {
    margin-bottom: 15px;
}

.popular-posts-list a {
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-size: 18px;
    text-decoration: none;
    cursor: pointer;
}

.popular-posts-list a:hover {
    color: var(--accent-color);
    text-decoration: none;
}

/* Article Conclusion */
.article-conclusion {
    margin-top: 60px;
    padding: 50px;
    background: linear-gradient(135deg, #faf9f7 0%, #f5f3ef 100%);
    border-top: 3px solid var(--accent-color);
}

.article-conclusion h3 {
    font-size: 28px;
    margin-bottom: 25px;
    color: var(--primary-color);
}

.article-conclusion p {
    font-size: 18px;
    line-height: 1.9;
    margin-bottom: 20px;
}

.article-conclusion p:last-of-type {
    margin-bottom: 0;
}

.final-cta {
    margin-top: 35px;
    text-align: center;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: #fff;
    padding: 60px 0;
    text-align: center;
    margin-top: 80px;
}

.footer-nav a {
    color: #888;
    margin: 0 15px;
    font-size: 14px;
    text-decoration: none;
}

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

/* Accessibility - Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Responsive */
@media (max-width: 900px) {
    .container {
        grid-template-columns: 1fr;
        /* Stack on mobile */
    }

    .article-title {
        font-size: 36px;
    }

    .card-image {
        height: 300px;
    }

    .card-image-placeholder {
        height: 200px;
    }

    .pro-con-grid {
        grid-template-columns: 1fr;
    }

    aside {
        position: static;
        order: 2;
        /* Put sidebar below content on mobile */
        margin-top: 60px;
    }
}