/* getyourexback.org — Burgundy (#722F37) + Cream (#FFFDD0) */
/* Fonts: Cardo (headings) + Assistant (body) */
/* Layout: Traditional blog with sidebar */

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

:root {
    --burgundy: #722F37;
    --burgundy-dark: #5A252C;
    --burgundy-light: #8E3A44;
    --cream: #FFFDD0;
    --cream-dark: #F5F3C0;
    --text-primary: #2D2D2D;
    --text-secondary: #5A5A5A;
    --text-light: #888888;
    --white: #FFFFFF;
    --border: #E0DCC0;
    --shadow: rgba(114, 47, 55, 0.1);
}

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

body {
    font-family: 'Assistant', sans-serif;
    font-weight: 400;
    line-height: 1.8;
    color: var(--text-primary);
    background-color: var(--cream);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cardo', serif;
    font-weight: 700;
    color: var(--burgundy);
    line-height: 1.3;
}

h1 {
    font-size: 2.6rem;
    margin-bottom: 1rem;
    border-bottom: 3px solid var(--burgundy);
    padding-bottom: 0.75rem;
}

h2 {
    font-size: 1.9rem;
    margin-top: 2.5rem;
    margin-bottom: 0.75rem;
    padding-left: 0.75rem;
    border-left: 4px solid var(--burgundy);
}

h3 {
    font-size: 1.4rem;
    margin-top: 2rem;
    margin-bottom: 0.5rem;
    color: var(--burgundy-dark);
}

h4 {
    font-size: 1.15rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--burgundy-light);
}

a {
    color: var(--burgundy);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--burgundy-dark);
    text-decoration-thickness: 2px;
}

p {
    margin-bottom: 1.2rem;
}

ul, ol {
    margin-bottom: 1.2rem;
    padding-left: 1.5rem;
}

li {
    margin-bottom: 0.4rem;
}

blockquote {
    border-left: 4px solid var(--burgundy);
    background: var(--white);
    padding: 1.25rem 1.5rem;
    margin: 1.5rem 0;
    font-family: 'Cardo', serif;
    font-style: italic;
    font-size: 1.1rem;
    color: var(--text-secondary);
    box-shadow: 2px 2px 8px var(--shadow);
}

strong {
    font-weight: 700;
    color: var(--burgundy-dark);
}

/* HEADER */
.site-header {
    background-color: var(--burgundy);
    color: var(--cream);
    padding: 0;
    box-shadow: 0 2px 12px var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 2rem;
}

.site-logo {
    font-family: 'Cardo', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--cream);
    text-decoration: none;
}

.site-logo:hover {
    color: var(--white);
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    padding: 0;
    margin: 0;
}

.main-nav a {
    color: var(--cream);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    transition: opacity 0.2s ease;
}

.main-nav a:hover {
    opacity: 0.8;
    color: var(--cream);
}

/* BLOG LAYOUT — MAIN + SIDEBAR */
.blog-layout {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 3rem;
    padding: 2.5rem 2rem;
}

/* MAIN CONTENT */
.main-content {
    min-width: 0;
}

.article-header {
    margin-bottom: 2rem;
}

.article-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    font-style: italic;
    font-family: 'Cardo', serif;
    line-height: 1.6;
}

.article-body {
    font-size: 1rem;
}

.article-nav {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--border);
}

/* SIDEBAR */
.sidebar {
    position: sticky;
    top: 80px;
    align-self: start;
}

.sidebar-widget {
    background: var(--white);
    border: 1px solid var(--border);
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 1px 1px 6px var(--shadow);
}

.sidebar-widget h3 {
    font-family: 'Cardo', serif;
    font-size: 1.1rem;
    color: var(--burgundy);
    border-bottom: 2px solid var(--burgundy);
    padding-bottom: 0.5rem;
    margin-bottom: 0.75rem;
    margin-top: 0;
}

.sidebar-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-widget li {
    padding: 0.35rem 0;
    border-bottom: 1px solid var(--cream-dark);
}

.sidebar-widget li:last-child {
    border-bottom: none;
}

.sidebar-widget a {
    font-size: 0.9rem;
    text-decoration: none;
}

.sidebar-widget a:hover {
    text-decoration: underline;
}

.sidebar-cta {
    background: var(--burgundy);
    color: var(--cream);
    border-color: var(--burgundy-dark);
}

.sidebar-cta h3 {
    color: var(--cream);
    border-bottom-color: var(--cream);
}

.sidebar-cta p {
    color: var(--cream);
    font-size: 0.9rem;
}

.sidebar-cta a {
    color: var(--cream);
    font-weight: 600;
}

/* FOOTER */
.site-footer {
    background-color: var(--burgundy-dark);
    color: var(--cream);
    padding: 3rem 2rem 2rem;
    margin-top: 4rem;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 2fr;
    gap: 2rem;
}

.footer-inner h3 {
    color: var(--cream);
    font-size: 1rem;
    margin-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 253, 208, 0.3);
    padding-bottom: 0.5rem;
}

.footer-inner p {
    font-size: 0.85rem;
    color: rgba(255, 253, 208, 0.85);
    line-height: 1.6;
}

.footer-categories ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-categories li {
    margin-bottom: 0.35rem;
}

.footer-categories a {
    color: var(--cream);
    text-decoration: none;
    font-size: 0.85rem;
}

.footer-categories a:hover {
    text-decoration: underline;
}

.footer-legal p {
    font-size: 0.8rem;
    color: rgba(255, 253, 208, 0.6);
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .blog-layout {
        grid-template-columns: 1fr;
        padding: 1.5rem 1rem;
    }

    .sidebar {
        position: static;
    }

    .header-inner {
        flex-direction: column;
        gap: 0.75rem;
        padding: 1rem;
    }

    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.75rem;
    }

    .footer-inner {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 600px) {
    html {
        font-size: 16px;
    }

    .blog-layout {
        padding: 1rem 0.75rem;
    }

    h1 {
        font-size: 1.75rem;
    }
}
