/* 1. IMPORTS & VARIABLES */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700&family=Lato:wght@400;700&family=Open+Sans:wght@700;800&display=swap');

:root {
    --font-open-sans: 'Open Sans', sans-serif;
    --font-inter: 'Inter', sans-serif;
    --font-lato: 'Lato', sans-serif;
}

/* 2. BASE RESET */
body {
    margin: 0;
    background-color: #ffffff;
    color: #171717;
    font-family: var(--font-inter);
    -webkit-font-smoothing: antialiased;
}

/* 3. NAVIGATION BAR */
.nav-ft-container {
    width: 100%;
    background-color: #ffffff;
    border-bottom: 1px solid #f8fafc;
    padding: 1rem 1.5rem;
    box-sizing: border-box;
}

.inner-wrap {
    max-width: 1152px;
    margin: 0 auto;
    display: flex;
}

.nav-inner {
    flex-direction: column;
    align-items: flex-start;
}

@media (min-width: 640px) {
    .nav-inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

/* 4. LOGO & BRANDING (No Underlines) */
.logo-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

a.logo-text {
    font-family: var(--font-open-sans);
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: -0.05em;
    color: #0f172a;
    text-transform: lowercase;
    text-decoration: none !important;
    display: inline-block;
}

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

/* 5. NAV LINKS */
.nav-links-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 1rem;
    font-family: var(--font-open-sans);
    font-size: 14px;
    text-transform: lowercase;
}

@media (min-width: 640px) { .nav-links-wrap { margin-top: 0; } }

.nav-link {
    text-decoration: none;
    color: #1e293b;
    transition: color 0.2s;
}

.nav-link:hover { color: #94a3b8; }

/* 6. CONTENT AREA & GRID */
.view-container {
    max-width: 1152px;
    margin: 0 auto;
    padding: 1.5rem 1.5rem;
}

.grid-two-one {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: start;
}

@media (min-width: 768px) {
    .grid-two-one { grid-template-columns: 2fr 1fr; }
}

/* 7. CARDS & TYPOGRAPHY */
.view-card {
    padding: 1.5rem 2rem 2rem;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    background: white;
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
}

.view-title {
    font-family: var(--font-open-sans);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.05em;
    color: #1e293b;
    margin-bottom: 1.5rem;
}

.view-content {
    font-family: var(--font-lato);
    font-size: 14px;
    line-height: 1.625;
    color: #334155;
    text-align: justify;
}

/* 8. LINKS INSIDE BODY TEXT */
.view-content p a {
    color: inherit;
    text-decoration: none;
    font-weight: 700;
    transition: color 0.2s ease;
}

.view-content p a:hover { color: #64748b; }

/* Utility: Remove bold when needed */
.view-content p a.plain-link {
    font-weight: 400 !important;
}

/* 9. SIDEBAR (The clean fix) */
.right-col-links {
    display: flex;
    flex-direction: column;
    border: 1px solid #f1f5f9;
    border-radius: 1rem;
    background: white;
    overflow: hidden;
}

.right-col-link-h2 {
    font-family: var(--font-open-sans);
    font-size: 11px;
    font-weight: bold;
    color: #94a3b8;
    text-transform: lowercase;
    padding: 1.5rem 1rem 0.5rem;
}

.right-col-links a {
    padding: 1rem;
    font-family: var(--font-inter);
    font-size: 14px;
    text-decoration: none !important; /* Forces removal of blue underline */
    color: #475569 !important;      /* Forces clean grey color */
    border-bottom: 1px solid #f8fafc;
    text-transform: lowercase;
}

.right-col-links a:hover {
    background-color: #f8fafc;
    color: #64748b !important;
}

/* Footer Logic */
.footer-inner {
    display: flex;         /* MUST have this for space-between to work */
    justify-content: space-between;
    align-items: center;
    width: 100%;
    box-sizing: border-box; /* Prevents padding from breaking width */
}

/* Ensure footer links match the clean, no-underline style */
footer a {
    text-decoration: none !important;
}

footer .logo-text {
    font-size: 14px !important;
}