@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;
    --bg-dark: #1e293b;
    --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: 2rem; line-height: 1.2; margin-bottom: 1rem; }

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; }
.bg-light { background-color: var(--bg-light); }

.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;
}

/* Section headers */
.section-header {
    margin-bottom: 2.5rem;
}

/* Card Grid */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.2rem;
}

.card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 5px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.07);
}

.card.open {
    background: var(--bg-light);
    border-color: var(--border-light);
    opacity: 0.7;
}

.role {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary-blue);
}

.name {
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    color: var(--text-dark);
    margin-top: 2px;
}

.open-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    font-style: italic;
    color: var(--text-body);
}

.card a {
    font-size: 0.85rem;
    color: var(--primary-blue);
    word-break: break-all;
}
.card a:hover { color: var(--primary-hover); text-decoration: underline; }

.note {
    font-size: 0.8rem;
    color: var(--text-body);
    font-style: italic;
}

/* 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; }

/* Responsive */
@media (max-width: 768px) {
    .header .container { flex-direction: column; gap: 1rem; }
    .nav-links { flex-wrap: wrap; justify-content: center; }
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    .footer-bottom .container { flex-direction: column; gap: 1rem; text-align: center; }
}
