@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:wght@700&family=Lato:wght@400;700&display=swap');
@import url('font-awesome.min.css');

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

html {
    font-size: 18px;
}

body {
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    line-height: 1.75;
    color: #2a2a2a;
    background: #d4cfc7;
}

a {
    color: #2c5282;
    text-decoration: none;
}

a:hover {
    color: #1a3a6b;
    text-decoration: underline;
}

/* Layout */

.page {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 0 5rem;
    background: #ffffff;
    box-shadow: 0 2px 40px rgba(0,0,0,0.12);
    min-height: 100vh;
}

/* ── Header ─────────────────────────────────── */

.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 3.5rem;
    background:
        linear-gradient(rgba(10, 22, 40, 0.88), rgba(15, 37, 64, 0.7)),
        url('../../images/gent.jpg') center/cover no-repeat;
    color: #fff;
    border-bottom: 2px solid #c9a84c;
}

.site-header h1 {
    font-family: 'Libre Baskerville', Georgia, serif;
    font-size: 1.75rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    line-height: 1.15;
    margin-bottom: 0.2rem;
    color: #fff;
}

.site-header .subtitle {
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(255,255,255,0.7);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.social-links {
    display: flex;
    gap: 1.25rem;
    align-items: center;
}

.social-links a {
    color: rgba(255,255,255,0.8);
    font-size: 1.05rem;
    transition: color 0.15s;
}

.social-links a:hover {
    color: #e8cc80;
    text-decoration: none;
}

/* ── Nav ─────────────────────────────────────── */

nav {
    padding: 0 3.5rem;
    border-bottom: 1px solid #ddd5c8;
    background: #f5efe6;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 0;
}

nav a {
    display: block;
    padding: 0.85rem 1.1rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #7a6e62;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-bottom: 2px solid transparent;
    transition: color 0.15s, border-color 0.15s;
}

nav a:hover {
    color: #0f2540;
    border-bottom-color: #c9a84c;
    text-decoration: none;
}

/* ── Content area ────────────────────────────── */

.content {
    padding: 3rem 3.5rem 0;
}

/* ── About ───────────────────────────────────── */

.about {
    margin-bottom: 3rem;
    padding-left: 0.25rem;
    /* border-left: 3px solid #e8cc80; */
}

.about p {
    color: #3a3a3a;
}

.about p + p {
    margin-top: 0.75rem;
}

/* ── Sections ────────────────────────────────── */

section {
    margin-bottom: 3.5rem;
}

section h2 {
    font-family: 'Libre Baskerville', Georgia, serif;
    font-size: 1.35rem;
    font-weight: 600;
    color: #0f2540;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #c9a84c;
    letter-spacing: 0.01em;
}

/* ── Publication entries ─────────────────────── */

.pub {
    margin-bottom: 1.1rem;
}

.pub-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #111;
    line-height: 1.35;
    margin-bottom: 0.1rem;
}

.pub-authors {
    font-size: 0.8rem;
    color: #777;
    margin-bottom: 0.05rem;
}

.pub-venue {
    font-size: 0.8rem;
    color: #2c5282;
    font-style: italic;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.pub-links {
    display: flex;
    gap: 0.3rem;
    flex-wrap: wrap;
}

.pub-links a {
    padding: 0.05rem 0.45rem;
    background: #eef3fb;
    border: 1px solid #b8c9e0;
    border-radius: 2px;
    color: #1e4080;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    transition: background 0.15s, border-color 0.15s;
}

.pub-links a:hover {
    background: #d8e6f7;
    border-color: #1e4080;
    text-decoration: none;
}

/* ── Footer ──────────────────────────────────── */

footer {
    margin: 0 3.5rem;
    padding: 1.5rem 0;
    border-top: 1px solid #ddd5c8;
    font-size: 0.78rem;
    color: #a89f94;
    letter-spacing: 0.02em;
}

/* ── Responsive ──────────────────────────────── */

@media (max-width: 640px) {
    .site-header {
        flex-direction: column;
        gap: 1rem;
        padding: 2.25rem 1.5rem 1.75rem;
        align-items: flex-start;
    }

    nav {
        padding: 0 1.5rem;
    }

    nav ul {
        flex-wrap: wrap;
    }

    .content {
        padding: 2rem 1.5rem 0;
    }

    .about {
        padding-left: 1rem;
    }

    footer {
        margin: 0 1.5rem;
    }
}
