/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Lato:wght@300;400;700&display=swap');

:root {
    --primary-gold: #eebb4d;
    --dark-bg: #121212;
    --dark-panel: #1e1e1e;
    --text-main: #e0e0e0;
    --text-muted: #aaaaaa;
    --border: #333333;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-main);
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-gold);
    margin-top: 0;
}

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

a:hover {
    color: #fff;
}

/* Header & Nav */
header {
    background: #000;
    padding: 1rem 0;
    border-bottom: 2px solid var(--primary-gold);
    position: relative;
    width: 100%;
}

.container {
    max-width: 900px;
    /* Reduced width for reading measure */
    margin: 0 auto;
    padding: 0 1.5rem;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
    color: var(--primary-gold);
}

.nav-links a {
    margin-left: 1.5rem;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Blog Layout */
main {
    padding: 3rem 0;
    min-height: 80vh;
}

.blog-post {
    background: var(--dark-panel);
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    margin-bottom: 3rem;
}

.article-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #333;
}

.article-title {
    font-size: 3rem;
    color: var(--primary-gold);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.article-meta {
    color: var(--text-muted);
    font-size: 0.9rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.article-content h2 {
    font-size: 2rem;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px dashed #444;
}

.article-content p {
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #ccc;
}

.article-content ul,
.article-content ol {
    margin-bottom: 2rem;
    padding-left: 2rem;
    font-size: 1.1rem;
}

.article-content li {
    margin-bottom: 0.8rem;
}

/* Images in content */
figure {
    margin: 2.5rem 0;
}

figcaption {
    text-align: center;
    color: #777;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    font-style: italic;
}

.content-image-full {
    width: 100%;
    border-radius: 8px;
    border: 1px solid #333;
}


/* Content Sections */
section {
    padding: 5rem 0;
}

section:nth-child(even) {
    background: var(--dark-panel);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: var(--primary-gold);
    margin: 1rem auto 0;
}

.content-block {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 3rem;
}

.content-text {
    flex: 1;
    font-size: 1.1rem;
}

.content-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.content-image img {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Degrees Chart */
.degrees-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.degree-item {
    background: #252525;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #333;
    transition: border-color 0.3s;
}

.degree-item:hover {
    border-color: var(--primary-gold);
}

.degree-item h3 {
    margin-bottom: 0.5rem;
}

.degree-temp {
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
    margin-bottom: 1rem;
    display: block;
}

.chart-img {
    width: 100%;
    border-radius: 8px;
    margin-top: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

/* Footer */
footer {
    background: #000;
    padding: 3rem 0;
    text-align: center;
    border-top: 1px solid #333;
    color: #777;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    /* Simplified mobile nav for now */
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .content-block {
        flex-direction: column;
    }

    .content-block.reverse {
        flex-direction: column-reverse;
    }
}