:root {
    /* Palette extracted (approx) from EPS hex data and image bytes */
    --brand: #0b4f6c;
    /* deep teal (kept as primary) */
    --accent: #f29e4c;
    --albero: #ffab60;
    --grana: #b81626;
    /* warm orange (accent) */

    /* Palette derived from embedded hex bytes */
    --navy: #000033;
    --navy-2: #000066;
    --green-dark: #003300;
    --green: #006600;
    --lime: #66CC00;
    --yellow: #999900;
    --red: #CC0033;
    --bright-red: #FF0033;
    --orange: #FF6600;

    --muted: #666;
    --bg: #ffffff;
    --card-bg: #fbfbfb;
    --max-width: 1100px;
}

* { box-sizing: border-box; }

body {
    font-family: 'Roboto', system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
    line-height: 1.6;
    color: #222;
    background: var(--bg);
    margin: 20;
    -webkit-font-smoothing: antialiased;
}

.main { padding-top: 88px; }

.site-header {
    background: transparent;
    color: #fff;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 20;
}

/* White band under logo/navigation on the homepage */
.index .site-header {
    background: #fff;
    color: #111;
    box-shadow: 0 1px 6px rgba(11,43,51,0.06);
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.header-inner .logo {
    height: 48px;
    margin-right: .75rem;
    display: inline-block;
}

.cards {
    display: block;
    padding: 2rem 0;
}

.card {
    background: var(--card-bg);
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.04);
}

/* collapsible details/summary styling */
details.card > summary {
    list-style: none;
    padding: 1rem 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(180deg, rgba(255,255,255,0.6), rgba(250,250,250,0.6));
}
details.card > summary h3 { margin: 0; font-size: 1.05rem; }
details.card > summary::-webkit-details-marker { display: none; }
details.card > summary::after { content: '+'; font-size: 1.1rem; color: var(--muted); }
details.card[open] > summary::after { content: '-'; }

.card-body { padding: 0 1.25rem 1rem 1.25rem; }
.card-body ul { margin: .5rem 0 0 1rem; 
    padding: .35rem .6rem;
    border-radius: 6px;
    font-size: 0.95rem;
}

/* scholar icon/link styles */
.cards li { display:flex; align-items:center; justify-content:space-between; }
.cards .member { flex:1; }
.scholar-link { margin-left: 0.75rem; color: var(--grana); text-decoration: none; display:inline-flex; align-items:center }
.scholar-icon { font-size:18px }

.main-nav a:hover { background: rgba(255, 255, 255, 0.08); }

.hero {
    min-height: 520px;
    display: flex;
    align-items: center;
    color: #fff;
    background-image: url('../assets/header-bg.jpg');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
}

.hero::before {
    content: "";
    position: absolute;
    left: 0; right: 0; top: 0; bottom: 0;
    background: linear-gradient(rgba(11,79,108,0.35), rgba(11,79,108,0.15));
    z-index: 1;
}

.hero-inner { max-width: 920px; margin: 0 auto; padding: 4rem 1rem; position: relative; z-index: 2; }

.hero h1 { color: #fff; margin: 0 0 .5rem; font-size: 2.25rem; }
.hero h2 { color:var(--albero); margin: 0 0 .5rem; font-size: 3.25rem; font-weight: 700;  height: 72px;}
.hero p { color: rgba(255,255,255,0.95); font-size: 2.05rem; }

.hero .btn {
    background: var(--accent);
    border: 2px solid rgba(255,255,255,0.08);
    padding: .8rem 1.1rem;
    font-weight: 700;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
}

.page-hero {
    background: linear-gradient(180deg, rgba(11, 79, 108, 0.06), rgba(11, 79, 108, 0.02));
    padding: 2.25rem 0;
    margin-top: 0;
    border-bottom: 1px solid rgba(11, 79, 108, 0.06);
}

.btn {
    display: inline-block;
    padding: .6rem 1rem;
    background: var(--brand);
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
}

.cards {
    display: grid;
    grid-template-columns: 50% 50%;
    gap: 1.25rem;
    padding: 2rem 0;
}

.card {
    background: var(--card-bg);
    padding: 1.25rem;
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(11, 43, 51, 0.06);
    color: #222;
    border-left: 6px solid var(--albero);
}

.site-footer {
    border-top: 1px solid #eee;
    padding: 1rem 0;
    margin-top: 2rem;
}

/* Placeholder styles inspired by EPS: provide a simple typographic system */
h1, h2, h3 { font-family: inherit; color: var(--brand); }

/* Utility helpers */
.muted { color: var(--muted); }
.accent { color: var(--accent); }
