:root {
    --primary-color: #1A2A4A;
    --accent-color: #6A8BAA;
    --background-color: #F8F8F8;
    --text-color: #333333;
    --text-muted: #666;
    --border-color: #e0e0e0;
    --white: #FFFFFF;
    --header-height: 80px;
    --font-heading: 'Source Serif 4', serif;
    --font-body: 'Source Sans 3', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    background-color: var(--white);
    line-height: 1.7;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-weight: 600;
    line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 5vw, 2.75rem); margin-bottom: 1.5rem; }
h3 { font-size: clamp(1.25rem, 4vw, 1.5rem); margin-bottom: 1rem; }
p { margin-bottom: 1rem; }
a { color: var(--accent-color); text-decoration: none; transition: color 0.3s ease; }
a:hover { color: var(--primary-color); }

ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

/* Header & Navigation */
.main-header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    height: var(--header-height);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-muted);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: var(--primary-color);
}

.mobile-nav-toggle { display: none; }

/* Editorial Hero */
.hero-editorial {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
    background-color: var(--white);
}

.short-hero { padding: 4rem 0; }

.hero-editorial-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    align-items: center;
}

.hero-editorial .subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 45ch;
    margin-top: 1.5rem;
}

.hero-accent-image-wrapper {
    width: 100%;
    max-width: 300px;
    justify-self: end;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: 8px;
}
.hero-accent-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1) contrast(0.9) brightness(0.9);
}

/* Sections */
.values-section, .landscape-section, .mission-section, .latest-articles-section, .page-content-section, .contact-section, .map-section, .articles-archive-section, .cta-section-minimal {
    padding: 6rem 0;
}

.section-grey { background-color: var(--background-color); }
.section-header { text-align: center; margin-bottom: 4rem; max-width: 700px; margin-left: auto; margin-right: auto; }
.section-header p { font-size: 1.1rem; color: var(--text-muted); }
.eyebrow { display: block; font-weight: 700; color: var(--accent-color); margin-bottom: 0.5rem; text-transform: uppercase; font-size: 0.8rem; letter-spacing: 1px; }

/* Values section */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}
.value-item {
    text-align: center;
}
.value-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 1.5rem;
    color: var(--accent-color);
}
.value-icon svg { width: 100%; height: 100%; }

/* Newspaper-style columns */
.landscape-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
}

.text-link {
    font-weight: 700;
    color: var(--accent-color);
    display: inline-block;
    margin-top: 1rem;
}

/* Mission Section */
.mission-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.mission-image img {
    border-radius: 8px;
    filter: grayscale(1) contrast(0.9) brightness(0.9);
}

/* Latest Articles */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}
.article-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}
.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}
.article-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    filter: grayscale(1) contrast(0.9) brightness(0.9);
}
.article-card-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.article-category {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent-color);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}
.article-card-content h3 { font-size: 1.25rem; }
.article-card-content p { color: var(--text-muted); font-size: 0.95rem; margin-top: 0.5rem; flex-grow: 1; }
.read-more-link {
    margin-top: 1rem;
    font-weight: 700;
    color: var(--accent-color);
}
.centered-link-wrapper {
    text-align: center;
    margin-top: 3rem;
}
.large-link { font-size: 1.1rem; }

/* Article Page / Content Columns */
.content-columns {
    display: grid;
    grid-template-columns: 2.5fr 1fr;
    gap: 4rem;
}
.main-content-column .intro-paragraph {
    font-size: 1.2rem;
    font-family: var(--font-heading);
    font-weight: 400;
    color: var(--text-muted);
    border-left: 3px solid var(--accent-color);
    padding-left: 1.5rem;
    margin-bottom: 2rem;
}
.pull-quote {
    margin: 2.5rem 0;
    padding-left: 2rem;
    position: relative;
    border-left: 3px solid var(--accent-color);
}
.pull-quote blockquote {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--primary-color);
}
.image-in-content {
    margin: 2.5rem 0;
}
.image-in-content img { border-radius: 8px; filter: grayscale(1) contrast(0.9) brightness(0.9); }
.image-in-content figcaption {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 0.5rem;
}
.text-link-inline { font-weight: 600; }

.sidebar-column .sidebar-widget {
    background: var(--background-color);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}
.sidebar-column .sidebar-widget h4 { font-size: 1.1rem; }
.sidebar-column ul { list-style-type: disc; padding-left: 1.5rem; }
.sidebar-column li { margin-bottom: 0.75rem; }

.definitions-list li { margin-bottom: 1rem; }
.definitions-list strong { color: var(--primary-color); }
.related-links li { list-style: none; }
.related-links li a { font-weight: 600; }

.faq-item summary { font-weight: 700; cursor: pointer; position: relative; padding-right: 1.5rem; }
.faq-item summary::after { content: '+'; position: absolute; right: 0; font-size: 1.5rem; color: var(--accent-color); }
.faq-item[open] summary::after { content: '-'; }
.faq-item p { font-size: 0.9rem; padding-top: 0.5rem; color: var(--text-muted);}

/* Article Filters */
.filters-toolbar {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}
.filter-button {
    background: none;
    border: 1px solid var(--border-color);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}
.filter-button:hover { background-color: var(--background-color); }
.filter-button.active { background-color: var(--primary-color); color: var(--white); border-color: var(--primary-color); }

/* Contact Page */
.contact-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
}
.form-group {
    margin-bottom: 1.5rem;
}
.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}
.form-group input, .form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 1rem;
}
.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgba(106, 139, 170, 0.2);
}
.submit-button {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 1rem 2rem;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-decoration: none;
    display: inline-block;
}
.submit-button:hover {
    background-color: #2c4475;
}
.contact-info-wrapper address {
    font-style: normal;
    line-height: 1.8;
}
.contact-info-wrapper h3 { border-top: 1px solid var(--border-color); padding-top: 2rem; margin-top: 2rem; }
.contact-info-wrapper h3:first-of-type { border-top: none; padding-top: 0; margin-top: 0; }
.contact-note { font-size: 0.9rem; color: var(--text-muted); margin-top: 1rem; }

.map-container {
  width: 100%;
  height: 450px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border-color);
}
.map-container iframe { width: 100%; height: 100%; border: none; }

/* Thank You Page */
.thank-you-section {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
}
.thank-you-icon {
  width: 80px;
  height: 80px;
  background: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
}
.thank-you-icon svg { width: 40px; height: 40px; color: white; }
.thank-you-section h1 { font-size: clamp(2rem, 5vw, 3.5rem); margin-bottom: 20px; }
.thank-you-section p { font-size: 1.2rem; color: var(--text-muted); max-width: 600px; margin-bottom: 30px; }

/* Footer */
.main-footer {
    background-color: var(--primary-color);
    color: rgba(255,255,255,0.7);
    padding: 2rem 0;
    font-size: 0.9rem;
}
.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}
.footer-contact p { margin-bottom: 0.5rem; }
.footer-contact a, .footer-links a { color: var(--white); }
.footer-links { text-align: right; }
.footer-links span { display: block; margin-top: 0.5rem; }

/* Cookie Banner */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(26, 42, 74, 0.95);
    color: var(--white);
    padding: 1rem 0;
    z-index: 9999;
    display: none;
    align-items: center;
    backdrop-filter: blur(5px);
}
.cookie-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}
#cookie-banner p { margin-bottom: 0; font-size: 0.9rem; }
.cookie-link { color: var(--white); text-decoration: underline; }
.cookie-buttons { display: flex; gap: 1rem; }
.cookie-button-accept, .cookie-button-decline {
    border: none;
    border-radius: 4px;
    padding: 0.5rem 1rem;
    cursor: pointer;
    font-weight: 600;
}
.cookie-button-accept { background-color: var(--accent-color); color: var(--white); }
.cookie-button-decline { background-color: transparent; color: var(--white); border: 1px solid var(--accent-color); }

/* Responsive */
@media (max-width: 1024px) {
    .content-columns { grid-template-columns: 1fr; }
    .sidebar-column { margin-top: 3rem; }
    .contact-container { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    .container { padding: 0 1rem; }
    .main-header { height: 70px; }
    
    .nav-links {
        position: fixed;
        top: 70px;
        right: 0;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--white);
        flex-direction: column;
        align-items: center;
        padding-top: 4rem;
        gap: 2.5rem;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
    }
    .nav-links.active { transform: translateX(0); }
    .nav-link { font-size: 1.5rem; }

    .mobile-nav-toggle {
        display: block;
        background: none;
        border: none;
        width: 30px;
        height: 30px;
        cursor: pointer;
        position: relative;
        z-index: 1001;
    }
    .hamburger, .hamburger::before, .hamburger::after {
        content: '';
        position: absolute;
        width: 30px;
        height: 3px;
        background-color: var(--primary-color);
        border-radius: 2px;
        transition: all 0.3s ease;
    }
    .hamburger { top: 13.5px; }
    .hamburger::before { top: -10px; }
    .hamburger::after { top: 10px; }

    .nav-open .hamburger { background-color: transparent; }
    .nav-open .hamburger::before { transform: rotate(45deg); top: 0; }
    .nav-open .hamburger::after { transform: rotate(-45deg); top: 0; }
    
    .hero-editorial { padding: 4rem 0; }
    .hero-editorial-container { grid-template-columns: 1fr; text-align: center; }
    .hero-editorial .subtitle { margin-left: auto; margin-right: auto; }
    .hero-accent-image-wrapper { display: none; }
    
    .mission-container { grid-template-columns: 1fr; }
    .mission-image { order: -1; }
    
    .footer-container { flex-direction: column; text-align: center; }
    .footer-links { text-align: center; }
    .cookie-container { flex-direction: column; text-align: center; }
}