
/* --- Google Font Import --- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Roboto:wght@400;700&display=swap');

/* --- CSS Variables: Retro / Vintage --- */
:root {
    --font-family-headings: 'Playfair Display', serif;
    --font-family-body: 'Roboto', sans-serif;
    --color-bg: #FDF6E3; /* Cream background */
    --color-surface: #FFFFFF; /* White surface for cards */
    --color-text-primary: #333333; /* Dark Gray for text */
    --color-text-secondary: #5c5c5c; /* Lighter Gray */
    --color-accent: #D9534F; /* Vintage Red/Orange */
    --color-accent-hover: #C9302C; /* Darker Red/Orange */
    --color-border: #EAE3D9; /* Light border color */
    --color-footer-bg: #F5EFE6; /* Slightly darker cream for footer */
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.07);
}

/* --- Base & Reset --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family-body);
    background-color: var(--color-bg);
    color: var(--color-text-secondary);
    line-height: 1.7;
    font-size: 16px;
}

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

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

h1, h2, h3, h4 {
    font-family: var(--font-family-headings);
    color: var(--color-text-primary);
    line-height: 1.3;
    font-weight: 700;
}

h1 { font-size: 2.75rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

img {
    max-width: 100%;
    display: block;
}

/* --- Utility Classes --- */
.container {
    width: 100%;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

/* --- Header & Navigation --- */
.site-header {
    background-color: var(--color-bg);
    border-bottom: 2px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 10;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.site-title a {
    font-family: var(--font-family-headings);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-text-primary);
    text-decoration: none;
}

.main-nav a {
    color: var(--color-text-secondary);
    font-weight: 700;
    text-decoration: none;
    padding: 0.5rem 1rem;
    transition: color 0.2s ease;
}

.main-nav a:hover {
    color: var(--color-accent);
    text-decoration: none;
}

/* --- Main Layout --- */
.main-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.main-content {
    grid-column: span 1;
}

.sidebar {
    grid-column: span 1;
}

.sidebar-inner {
    background-color: transparent;
    border: 2px solid var(--color-border);
    padding: 1.5rem;
    position: sticky;
    top: 7rem;
}

.sidebar-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--color-border);
    text-align: center;
}

.sidebar-list {
    list-style: none;
    padding-left: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.sidebar-promo {
    margin-top: 2rem;
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    padding: 1rem;
    text-align: center;
}
.sidebar-promo a {
    font-weight: 700;
}

/* --- Homepage Specific --- */
.hero-section {
    text-align: center;
    padding: 4rem 0 3rem 0;
}
.hero-section h1 {
    margin-bottom: 1rem;
}
.hero-section p {
    font-size: 1.125rem;
    max-width: 48rem;
    margin: 0 auto;
}

.articles-section-title {
    text-align: center;
    margin-bottom: 2.5rem;
}

.articles-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.article-card {
    background-color: var(--color-surface);
    padding: 2rem;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.08);
}

.article-card h3 {
    margin-bottom: 0.5rem;
}
.article-card h3 a {
    color: var(--color-text-primary);
}
.article-card h3 a:hover {
    color: var(--color-accent);
    text-decoration: none;
}
.article-card p {
    margin-bottom: 1.5rem;
    flex-grow: 1;
}
.read-more-link {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.5px;
}

.seo-content-section {
    margin-top: 4rem;
    background-color: var(--color-surface);
    padding: 2.5rem;
    border: 1px solid var(--color-border);
    text-align: center;
}

/* --- Generic Page Styles --- */
.page-container {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.page-content {
    background-color: var(--color-surface);
    padding: 2.5rem;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
}

.page-content h1 {
    margin-bottom: 1.5rem;
    text-align: center;
}

.prose-style p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.btn {
    display: inline-block;
    background-color: var(--color-accent);
    color: #fff;
    font-family: var(--font-family-body);
    font-weight: 700;
    padding: 0.75rem 1.5rem;
    border: 1px solid var(--color-accent);
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}
.btn:hover {
    background-color: var(--color-surface);
    color: var(--color-accent);
    text-decoration: none;
}

/* Country Page */
.country-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
}
.country-card {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    text-align: center;
    transition: all 0.3s ease;
}
.country-card:hover {
    background-color: var(--color-bg);
    border-color: var(--color-accent);
}
.country-card:hover h2 {
    color: var(--color-accent);
}

/* Contact Page */
.contact-wrapper {
    max-width: 42rem;
    margin: 0 auto;
    text-align: center;
}
.contact-email {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 1rem 0;
}

/* --- Article Page Specific --- */
.article-header {
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 1.5rem;
    text-align: center;
}
.article-meta {
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}
.article-meta .category {
    font-weight: 700;
    color: var(--color-accent);
}
.article-title {
    font-size: 2.5rem;
}
.article-content h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}
.article-content h3 {
    font-size: 1.375rem;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}
.article-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}
.article-content a {
    text-decoration: underline;
}
.article-content ol, .article-content ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    font-size: 1.1rem;
}

.cta-box {
    margin-top: 3rem;
    padding: 2rem;
    text-align: center;
    background-color: var(--color-footer-bg);
    border: 1px solid var(--color-border);
}
.cta-box h3 {
    color: var(--color-accent);
}
.cta-box p {
    margin-bottom: 1.5rem;
}

/* --- Footer --- */
.site-footer {
    background-color: var(--color-footer-bg);
    color: var(--color-text-secondary);
    margin-top: 4rem;
    border-top: 2px solid var(--color-border);
}

.footer-container {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
    text-align: center;
}

/* --- Responsive Design --- */

@media (min-width: 768px) {
    h1 { font-size: 3rem; }
    h2 { font-size: 2.5rem; }
    .articles-grid { grid-template-columns: repeat(2, 1fr); }
    .article-title { font-size: 2.75rem; }
}

@media (min-width: 1024px) {
    .main-layout { grid-template-columns: 2fr 1fr; }
    .main-content { grid-column: 1 / 2; }
    .sidebar { grid-column: 2 / 3; }
}
