:root {
    --navy-blue: #0f172a;
    --gold: #f59e0b;
    --gold-darker: #d97706;
    --white: #ffffff;
    --light-gray: #f1f5f9;
    --medium-gray: #94a3b8;
    --dark-gray: #334155;
    --font-headline: 'Merriweather', serif;
    --font-body: 'Inter', sans-serif;
}

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

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

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

h1, h2, h3, h4 {
    font-family: var(--font-headline);
    color: var(--navy-blue);
    line-height: 1.2;
}

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

a:hover {
    color: var(--gold);
}

img.article-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

/* Header */
#main-header {
    background-color: var(--navy-blue);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-svg {
    height: 50px;
    width: auto;
}

#main-header nav a {
    color: var(--white);
    margin-left: 2rem;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 5px;
}

#main-header nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--gold);
    transition: width 0.3s ease;
}

#main-header nav a:hover::after, #main-header nav a.active::after {
    width: 100%;
}

/* Hero Section */
#hero {
    position: relative;
    color: var(--white);
    text-align: center;
    padding: 8rem 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--navy-blue);
    background-image: linear-gradient(rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.8)), url('https://images.unsplash.com/photo-1639322537228-f710d846310a?q=80&w=1920&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.hero-content {
    max-width: 800px;
}

#hero h1 {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 1rem;
}

#hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--light-gray);
}

.btn-neutral {
    background-color: var(--gold);
    color: var(--navy-blue);
    padding: 0.8rem 1.8rem;
    border-radius: 5px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    border: 2px solid var(--gold);
    transition: all 0.3s ease;
}

.btn-neutral:hover {
    background-color: transparent;
    color: var(--gold);
}

/* Main Layout */
.main-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    max-width: 1400px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.content-section article {
    margin-bottom: 4rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--light-gray);
}

.content-section article:last-child {
    border-bottom: none;
}

.article-category {
    display: inline-block;
    background-color: var(--light-gray);
    color: var(--dark-gray);
    padding: 0.2rem 0.6rem;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 4px;
    margin-bottom: 0.5rem;
}

.content-section h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.content-section p {
    margin-bottom: 1rem;
}

/* Sidebar */
.sidebar-column {
    position: sticky;
    top: 100px; /* Header height + margin */
    align-self: start;
}

.sidebar-widget {
    background-color: var(--light-gray);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.sidebar-widget h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--gold);
    padding-bottom: 0.5rem;
}

/* News Ticker */
.news-ticker {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.news-ticker ul {
    list-style: none;
    position: absolute;
    width: 100%;
}

.news-ticker li {
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--dark-gray);
}

.news-ticker li span {
    font-weight: 700;
    color: var(--navy-blue);
    margin-right: 0.5rem;
}

/* Resources */
.resource-section {
    margin-bottom: 1.5rem;
}

.resource-section h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--navy-blue);
}

.resource-section dl dt {
    font-weight: 700;
}

.resource-section dl dd {
    font-size: 0.9rem;
    margin-left: 0;
    margin-bottom: 0.5rem;
    color: var(--dark-gray);
}

.resource-section ul {
    list-style: none;
}

.resource-section ul li a {
    display: block;
    padding: 0.3rem 0;
    font-weight: 600;
}

/* Contact Section */
.contact-section {
    background-color: var(--light-gray);
    padding: 4rem 2rem;
}

.contact-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.contact-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-form {
    margin-top: 2rem;
    text-align: left;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--navy-blue);
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--medium-gray);
    border-radius: 5px;
    font-family: var(--font-body);
    font-size: 1rem;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.3);
}

/* Map */
.map-container {
    width: 100%;
    height: 450px;
}

/* Footer */
#main-footer {
    background-color: var(--navy-blue);
    color: var(--light-gray);
    padding: 3rem 2rem 1rem;
}

.footer-grid {
    max-width: 1400px;
    margin: 0 auto 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-col h4 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li a {
    color: var(--medium-gray);
    padding: 0.3rem 0;
    display: inline-block;
}

.footer-col ul li a:hover {
    color: var(--white);
}

.footer-info p {
    font-size: 0.9rem;
    color: var(--medium-gray);
    margin-top: 1rem;
}

.logo-svg-footer {
    height: 40px;
    width: auto;
}

.footer-col address {
    font-style: normal;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--medium-gray);
}

.footer-col address a {
    color: var(--medium-gray);
}

.footer-disclaimer {
    max-width: 1400px;
    margin: 2rem auto;
    padding: 1.5rem;
    border: 1px solid var(--dark-gray);
    border-radius: 8px;
    background-color: #1e293b; /* Slightly lighter navy */
}

.footer-disclaimer p {
    font-size: 0.8rem;
    color: var(--medium-gray);
    text-align: justify;
}

.footer-disclaimer strong {
    color: var(--gold);
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--dark-gray);
    font-size: 0.8rem;
    color: var(--medium-gray);
}

/* Cookie Banner */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--navy-blue);
    color: var(--white);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 2000;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.3);
    transform: translateY(100%);
    transition: transform 0.5s ease-in-out;
}

#cookie-banner.show {
    transform: translateY(0);
}

#cookie-banner p {
    margin: 0;
    margin-right: 1rem;
}

#cookie-banner a {
    color: var(--gold);
    text-decoration: underline;
}

#cookie-banner button {
    background-color: var(--gold);
    border: none;
    color: var(--navy-blue);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    margin-left: 0.5rem;
    transition: background-color 0.3s ease;
}

#cookie-banner button:hover {
    background-color: var(--gold-darker);
}

#cookie-banner #cookie-decline, #cookie-banner #cookie-settings {
    background-color: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
}

#cookie-banner #cookie-decline:hover, #cookie-banner #cookie-settings:hover {
    background-color: var(--gold);
    color: var(--navy-blue);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .main-layout {
        grid-template-columns: 1fr;
    }

    .sidebar-column {
        position: static;
        top: auto;
    }

    #hero h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    #main-header {
        padding: 1rem;
    }
    
    .header-container {
        flex-direction: column;
        gap: 1rem;
    }

    #main-header nav a {
        margin: 0 0.8rem;
    }

    .main-layout {
        padding: 0 1rem;
        gap: 2rem;
        margin-top: 2rem;
    }

    .content-section h2 {
        font-size: 1.8rem;
    }

    #cookie-banner {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}