/* ── Fonts & base reset ── */
@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@400;700&family=Inter:wght@400;500;600&display=swap');

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

body {
    font-family: 'Inter', sans-serif;
    background-color: #f5f4f0;
    color: #1a1a2e;
    line-height: 1.7;
}

/* ── Header ── */
header {
    background-color: #0d2137;
    background-image: url('Banner.png');
    background-size: cover;
    background-position: center;
    color: #ffffff;
    padding: 80px 40px;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

header h1 {
    font-family: 'Merriweather', serif;
    font-size: 2.2rem;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

header .tagline {
    color: #ffffff;
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.8);
}

/* ── Navigation ── */
nav {
    background-color: #16324f;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    padding: 0 24px;
}

nav a {
    color: #c9dce8;
    text-decoration: none;
    padding: 14px 18px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background-color 0.2s, color 0.2s;
}

nav a:hover,
nav a.active {
    background-color: #c8922a;
    color: #ffffff;
}

/* ── Dropdown nav ── */
.dropdown {
    position: relative;
    display: flex;
    align-items: stretch;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #16324f;
    min-width: 220px;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.dropdown-menu a {
    display: block;
    padding: 12px 18px;
    color: #c9dce8;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.2s, color 0.2s;
}

.dropdown-menu a:hover {
    background-color: #c8922a;
    color: #ffffff;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

/* ── Main content area ── */
main {
    max-width: 1100px;
    margin: 48px auto;
    padding: 0 24px;
}

/* ── Welcome section ── */
.intro {
    margin-bottom: 48px;
}

.intro h2 {
    font-family: 'Merriweather', serif;
    font-size: 1.6rem;
    margin-bottom: 12px;
    color: #0d2137;
}

.intro p {
    max-width: 720px;
    color: #3a3a4a;
    font-size: 1.05rem;
}

/* ── Topic cards ── */
.categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.card {
    background-color: #ffffff;
    border: 1px solid #dde3ea;
    border-top: 4px solid #c8922a;
    border-radius: 4px;
    padding: 28px;
    transition: box-shadow 0.2s;
}

.card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.card h3 {
    font-family: 'Merriweather', serif;
    font-size: 1.1rem;
    color: #0d2137;
    margin-bottom: 10px;
}

.card p {
    color: #555566;
    font-size: 0.95rem;
    margin-bottom: 18px;
}

.card a {
    color: #c8922a;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
}

.card a:hover {
    text-decoration: underline;
}

/* ── Topic pages ── */
.topic-intro {
    margin-bottom: 48px;
    padding-bottom: 32px;
    border-bottom: 1px solid #dde3ea;
}

.topic-intro h2 {
    font-family: 'Merriweather', serif;
    font-size: 1.8rem;
    color: #0d2137;
    margin-bottom: 12px;
}

.topic-intro p {
    max-width: 760px;
    color: #3a3a4a;
    font-size: 1.05rem;
    line-height: 1.75;
}

.content-section {
    margin-bottom: 48px;
}

.content-section h3 {
    font-family: 'Merriweather', serif;
    font-size: 1.2rem;
    color: #0d2137;
    border-bottom: 2px solid #c8922a;
    padding-bottom: 8px;
    margin-bottom: 20px;
}

.content-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.content-item {
    background: #ffffff;
    border: 1px solid #dde3ea;
    border-radius: 4px;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
}

.content-item-info {
    flex: 1;
}

.content-item-info h4 {
    font-family: 'Merriweather', serif;
    font-size: 1rem;
    color: #0d2137;
    margin-bottom: 6px;
}

.content-item-info p {
    font-size: 0.9rem;
    color: #555566;
    line-height: 1.6;
}

.content-item-meta {
    font-size: 0.8rem;
    color: #7a96aa;
    margin-top: 6px;
}

.content-item-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-shrink: 0;
}

.btn-read, .btn-download {
    display: inline-block;
    padding: 8px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    text-align: center;
    white-space: nowrap;
}

.btn-read {
    background-color: #0d2137;
    color: #ffffff;
}

.btn-read:hover {
    background-color: #c8922a;
}

.btn-download {
    background-color: #f5f4f0;
    color: #0d2137;
    border: 1px solid #dde3ea;
}

.btn-download:hover {
    background-color: #dde3ea;
}

.content-item.placeholder {
    background: #fafafa;
    border-style: dashed;
}

.placeholder-text {
    color: #aaa;
    font-style: italic;
    font-size: 0.9rem;
}

/* ── Article pages ── */
.article-body {
    max-width: 780px;
}

.article-header {
    margin-bottom: 40px;
    padding-bottom: 24px;
    border-bottom: 1px solid #dde3ea;
}

.article-label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #c8922a;
    margin-bottom: 10px;
}

.article-header h2 {
    font-family: 'Merriweather', serif;
    font-size: 1.7rem;
    color: #0d2137;
    margin-bottom: 12px;
    line-height: 1.4;
}

.article-author {
    font-weight: 600;
    color: #0d2137;
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.article-source {
    font-size: 0.85rem;
    color: #7a96aa;
}

.article-section {
    margin-bottom: 36px;
}

.article-section h3 {
    font-family: 'Merriweather', serif;
    font-size: 1.05rem;
    color: #c8922a;
    margin-bottom: 12px;
}

.article-section p {
    color: #3a3a4a;
    font-size: 0.97rem;
    line-height: 1.8;
    margin-bottom: 14px;
}

.policy-box {
    background-color: #f0f4f8;
    border-left: 4px solid #16324f;
    padding: 14px 18px;
    margin-top: 16px;
    border-radius: 0 4px 4px 0;
}

.policy-box p {
    font-size: 0.92rem;
    color: #1a1a2e;
    margin-bottom: 0;
    line-height: 1.7;
}

/* ── Breadcrumb ── */
.breadcrumb {
    margin-bottom: 32px;
}

.breadcrumb a {
    color: #7a96aa;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
}

.breadcrumb a:hover {
    color: #c8922a;
}

/* ── Subpage link button ── */
.subpage-link {
    display: inline-block;
    margin-top: 8px;
    padding: 10px 20px;
    background-color: #0d2137;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.subpage-link:hover {
    background-color: #c8922a;
}

/* ── Biography page ── */
.bio-header {
    margin-bottom: 48px;
    padding-bottom: 32px;
    border-bottom: 1px solid #dde3ea;
}

.bio-header h2 {
    font-family: 'Merriweather', serif;
    font-size: 1.8rem;
    color: #0d2137;
    margin-bottom: 8px;
}

.credentials {
    font-size: 1rem;
    color: #7a96aa;
    font-weight: 400;
    margin-left: 8px;
}

.bio-tagline {
    color: #c8922a;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 16px;
}

.bio-intro p {
    color: #3a3a4a;
    max-width: 760px;
}

.bio-section {
    margin-bottom: 56px;
}

.bio-section > h3 {
    font-family: 'Merriweather', serif;
    font-size: 1.3rem;
    color: #0d2137;
    border-bottom: 2px solid #c8922a;
    padding-bottom: 8px;
    margin-bottom: 24px;
}

.section-intro {
    color: #555566;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

/* Expertise stacked */
.expertise-stack {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.expertise-item {
    border-left: 4px solid #c8922a;
    padding: 4px 0 4px 20px;
}

.expertise-item h4 {
    font-family: 'Merriweather', serif;
    font-size: 1rem;
    color: #0d2137;
    margin-bottom: 10px;
}

.expertise-item p {
    font-size: 0.95rem;
    color: #3a3a4a;
    line-height: 1.75;
    max-width: 820px;
}

.expertise-item a {
    color: #c8922a;
    text-decoration: none;
}

.expertise-item a:hover {
    text-decoration: underline;
}

/* Timeline */
.timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.timeline-item {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid #eee;
}

.timeline-year {
    font-size: 0.85rem;
    color: #7a96aa;
    font-weight: 600;
    padding-top: 2px;
    white-space: nowrap;
}

.timeline-content {
    font-size: 0.95rem;
    color: #3a3a4a;
    line-height: 1.6;
}

.timeline-content strong {
    color: #0d2137;
}

/* Publications */
.publications-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pub-category {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: #16324f;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 28px 0 12px;
}

.publications-list li {
    font-size: 0.92rem;
    color: #3a3a4a;
    padding-left: 16px;
    border-left: 3px solid #dde3ea;
    line-height: 1.6;
}

/* ── Footer ── */
footer {
    background-color: #0d2137;
    color: #7a96aa;
    text-align: center;
    padding: 24px;
    font-size: 0.85rem;
    margin-top: 80px;
}
