@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600&family=Cinzel:wght@400;500;600;700&display=swap');

:root {
    --primary-blue: #2563eb;
    --primary-hover: #1d4ed8;
    --bg-light: #f4f7fb;
    --bg-white: #ffffff;
    --text-dark: #0f172a;
    --text-body: #475569;
    --border-light: #e2e8f0;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html { font-size: 10pt; scroll-behavior: smooth; }

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-body);
    line-height: 1.6;
    background-color: var(--bg-white);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
    font-family: 'Cinzel', serif;
    color: var(--text-dark);
    margin-top: 0;
    font-weight: 500;
}

h1 { font-size: 3rem; line-height: 1.1; margin-bottom: 1rem; }
h2 { font-size: 1.6rem; line-height: 1.2; margin-bottom: 0.8rem; }

a {
    text-decoration: none;
    color: var(--text-dark);
    transition: color 0.3s ease;
}
a:hover { color: var(--primary-blue); }

img { max-width: 100%; height: auto; display: block; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section { padding: 5rem 0; }

.blue-line {
    width: 40px;
    height: 2px;
    background-color: var(--primary-blue);
    margin-bottom: 1.2rem;
}

.btn {
    display: inline-block;
    background-color: var(--primary-blue);
    color: white;
    padding: 0.8rem 1.8rem;
    border-radius: 4px;
    font-weight: 500;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}
.btn:hover { background-color: var(--primary-hover); color: white; }

/* Header */
.header {
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border-light);
    background: var(--bg-white);
}
.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo-wrap { display: flex; align-items: center; gap: 1rem; }
.logo-wrap img { width: 40px; }
.logo-text {
    font-family: 'Cinzel', serif;
    font-weight: 600;
    font-size: 1.2rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--text-dark);
}
.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a { font-size: 0.95rem; font-weight: 500; }
.nav-links a.active { color: var(--primary-blue); }

/* Page Hero */
.page-hero {
    padding: 4rem 0 3rem;
    border-bottom: 1px solid var(--border-light);
}
.page-hero p {
    font-size: 1.05rem;
    color: var(--text-body);
    max-width: 600px;
    margin-top: 0.5rem;
}

/* Blog post list */
.post-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 780px;
}

.post-card {
    padding: 2.5rem 0;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.post-meta {
    display: flex;
    gap: 1.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary-blue);
}

.post-title {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    font-weight: 500;
    margin: 0;
}
.post-title a { color: var(--text-dark); }
.post-title a:hover { color: var(--primary-blue); }

.post-excerpt {
    font-size: 0.95rem;
    color: var(--text-body);
    max-width: 640px;
    line-height: 1.7;
}

.read-more {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-top: 0.25rem;
}
.read-more:hover { color: var(--primary-hover); }

/* Single post */
.post-container {
    max-width: 780px;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.back-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-blue);
}
.back-link:hover { color: var(--primary-hover); }

.post-body {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
}

.post-heading {
    font-family: 'Cinzel', serif;
    font-size: 2.4rem;
    font-weight: 500;
    color: var(--text-dark);
    line-height: 1.2;
    margin: 0;
}

.post-body p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-body);
}

.post-body h2 {
    font-size: 1.4rem;
    margin-top: 0.5rem;
}

.post-body ul, .post-body ol {
    padding-left: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.post-body li {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-body);
}

.post-body blockquote {
    border-left: 3px solid var(--primary-blue);
    padding-left: 1.2rem;
    margin: 0;
    font-style: italic;
    color: var(--text-dark);
}

.post-body a {
    color: var(--primary-blue);
    text-decoration: underline;
}

/* Footer CTA */
.footer-cta {
    background-color: #213547;
    padding: 5rem 0;
    text-align: center;
    color: white;
}
.footer-cta h2 { color: white; margin-bottom: 1rem; }
.footer-cta p {
    color: #cbd5e1;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer Bottom */
.footer-bottom {
    padding: 2rem 0;
    border-top: 1px solid var(--border-light);
    background: white;
}
.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}
.footer-links { display: flex; gap: 1.5rem; }

/* Post figures / images */
.post-figure {
    margin: 0.5rem 0 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.post-figure img {
    border-radius: 4px;
    width: 100%;
    height: auto;
}

.post-figure figcaption {
    font-size: 0.85rem;
    color: var(--text-body);
    font-style: italic;
    text-align: center;
}

.post-figure--right {
    float: right;
    width: 280px;
    margin: 0 0 1.5rem 2rem;
}

.post-figure--center {
    float: none;
    clear: both;
    max-width: 500px;
    margin: 1rem auto 1.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .header .container { flex-direction: column; gap: 1rem; }
    .nav-links { flex-wrap: wrap; justify-content: center; }
    h1 { font-size: 2rem; }
    .post-heading { font-size: 1.8rem; }
    .footer-bottom .container { flex-direction: column; gap: 1rem; text-align: center; }
    .post-figure--right { float: none; width: 100%; margin: 0 0 1.5rem; }
}
