/* =========================
   General layout
   ========================= */

* {
    box-sizing: border-box;
}


:root {
    --max-width: 1040px;

    --queen-purple-deep: #3d2863;
    --queen-purple: #3d2863;
    --queen-gold: #d5a928;

    --surface: #ffffff;
    --surface-soft: #f6f6f6;

    --muted: #666;

    --radius: 8px;
    --link-color: #0645ad;
}


body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont,
                 "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 17px;
    color: #222;
    line-height: 1.65;  /* ==== line-height: 1.75; ==== */
    background: white;
}


.inner,
main {
    max-width: var(--max-width);
    margin: 0 auto;
}

/* =========================
   Institution bar
   ========================= */

.institution-bar {

    background:#3d2863;
    color: white;
    width: 100%;
    padding: 10px 0;

}


.institution-bar .inner {

    display: flex;
    justify-content: space-between;
    padding: 0 30px;

}


.institution-bar a {

    color: white;
    text-decoration: none;
    font-weight: bold;

}


.institution-bar a:hover {

    text-decoration: underline;

}



/* =========================
   Header
   ========================= */

.site-header {
    background: white;
    border-bottom: none;
}

.site-title {
    margin: 0;
    color: #3d2863;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.1rem, 5vw, 3.1rem);
    line-height: 1.08;
    letter-spacing: -0.025em;
    font-weight: 500;
}

.site-subtitle {
    margin: 0.38rem 0 0;
    color: #62636b;
    font-size: 1.02rem;
    font-weight: 400;
}



/* =========================
   Navigation
   ========================= */

.site-nav {
    max-width: 1040px;
    margin: 0 auto;
    background: var(--surface-soft);  /* === background: #f8f8f8; or background: #f7f6f9; ===*/
    border-top: 1px solid #dedde3;
    border-bottom: 1px solid #dedde3;
}


.site-nav ul {
    list-style: none;
    display: flex;
    gap: .15rem;
    margin: 0;
    padding: 0 1.35rem;
    flex-wrap: wrap;
}


.site-nav li {

    position: relative;

}

.site-nav a,
.site-nav a:visited {
    display: block;
    padding: .75rem .85rem;
    color: #24242a;
    text-decoration: none;
    border-bottom: 3px solid transparent;
    font-weight: 600;
}

.site-nav a:hover,
.site-nav a:focus {
    color: #3d2863;
    background: transparent;
    border-bottom-color: #d5a928;
}

.site-nav a[aria-current="page"] {
    color: #3d2863;
    border-bottom-color: #d5a928;
    font-weight: 700;
}


/* =================
.site-nav a {
    display:block;
    padding:.75rem .85rem;
    color:#24242a;
    text-decoration:none;
    border-bottom:3px solid transparent;
    font-weight:600;
}

.site-nav a:hover,
.site-nav a:focus {
    color: #3d2863;
    background: transparent;
    border-bottom-color: #d5a928;
}

.site-nav a[aria-current="page"] {
    color: #3d2863;
    border-bottom-color: #d5a928;
    font-weight: 700;
}

.site-nav a,
.site-nav a:visited {
    color: #24242a;
}
==================== */

/* Dropdown */

.dropdown {

    position: relative;

}


.dropdown-content {

    display: none;
    position: absolute;
    background: white;
    border: 1px solid #ccc;
    min-width: 220px;
    padding: 10px;
    z-index: 10;

}


.dropdown-content a {

    display: block;
    padding: 7px;

}


.dropdown:hover .dropdown-content {

    display: block;

}



/* =========================
   Main homepage grid
   ========================= */
main {
    max-width: 1040px;
    margin: 0 auto;
    padding: 3.5rem 1.35rem 3.7rem;
}


.home-grid {

    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;

}


.home-photo {

    text-align: right;
    margin: 0;

}

.home-photo img {
    width: 230px;
    height: auto;
    display: inline-block;
    border: 1px solid #c9c7d0;
    border-radius: 8px;
    box-shadow: 0 10px 28px rgba(38, 28, 56, 0.10);
}

.contact-block {
    font-style: normal;
}

.contact-block p {
    margin: 0 0 1.08rem;
}

/* =========================
   Typography
   ========================= */

.page-heading {
    margin: 0 0 1.65rem;
    padding-bottom: 0.58rem;
    color: var(--queen-purple-deep);
    border-bottom: 2px solid var(--queen-gold);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.75rem, 4vw, 2.3rem);
    line-height: 1.2;
}

.home-heading {
    width: 112%;
}

h2 {
    color: #3d2863;   /* === color: #24143f; === */
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 700;
    padding-bottom: 0.35rem;
    border-bottom: 1px solid #dedde3;  /* ==== border-bottom: 1px solid #ddd; ==== */
}


/*====
a {
    color: var(--link-color);
    text-decoration: none;
}

a:hover,
a:focus {
    color: var(--link-color);
    text-decoration: underline;
}


a:visited {
    color: var(--link-color);
}

===*/

a {
    color: var(--link-color);
    text-decoration: none;
}

a:hover,
a:focus {
    color: var(--link-color);
    text-decoration: underline;
}

a:visited {
    color: var(--link-color);
}

/* Keep the institution bar links white */
.institution-bar a,
.institution-bar a:visited {
    color: white;
}

.institution-bar a:hover,
.institution-bar a:focus {
    color: white;
    text-decoration: underline;
}


.lead {

    font-size: 18px;

}



/* =========================
   Research/content cards
   ========================= */

.section-card {
    margin-top: 0.8rem;
    padding: 0;
    background: transparent;
}

.research-card {
    margin-top: 2rem;
    padding: 1.3rem 1.45rem;
    background: #f3eff8;
    border: 1px solid #e5ddee;
    border-left: 4px solid #613f99;
    border-radius: 0 8px 8px 0;
}

/* =========================
   Bottom quick links
   ========================= */


.quick-links {

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 40px;

}


.quick-links a {

    display: block;
    border: 1px solid #ccc;
    padding: 18px;
    text-decoration: none;
    color: #003366;
    font-size: 18px;
    background: #fafafa;

}


.quick-links a::after {

    content: " →";
    float: right;
    font-size: 22px;

}


.quick-links a:hover {

    border-color: #e6c200;
    background: #f8f8f8;

}



/* =========================
   Footer
   ========================= */

.site-footer {
    background: var(--surface-soft);     /* == background: #f6f6f6; ==*/
    border-top: 1px solid #dedde3;      /* === border-top: 1px solid #ddd; ==*/
    margin-top: 40px;
    padding: 20px 0;
}

.site-footer .inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.35rem;
    font-size: 14px;
    color: #666;
}


/* =========================
   Mobile
   ========================= */

@media (max-width: 750px) {
    .home-heading {
        width: 100%;
    }
}

@media (max-width: 750px) {


.home-grid {

    grid-template-columns: 1fr;

}


.home-photo {

    text-align: center;

}


.site-title {

    font-size: 28px;

}


.site-nav ul {

    flex-direction: column;

}


.quick-links {

    grid-template-columns: 1fr;

}


.institution-bar .inner {

    flex-direction: column;
    gap: 5px;

}


}


.site-title-row {
    max-width: 1040px;
    margin: 0 auto;
    padding: 1.55rem 1.35rem 1.2rem;
}


#main-content {
    padding-top: 2.5rem;
}


.subtitle-note {
    font-size: 0.55em;
    font-style: italic;
    font-weight: normal;
    color: #666;
}



/* =========================
   Publication copyright notice
   ========================= */

.copyright-notice {

    max-width: 1040px;
    margin: -1.75rem auto 0; /* Changed from 2.5rem to -1.75rem */
    padding: 1rem 1.35rem 0;
    border-top: 1px solid #ccc;
    text-align: left;
    font-size: 0.85rem;
    color: #555;

}

.publication-section {
    margin-top: 2.5rem;
}


.publication-section li {
    line-height: 1.7;
    margin-bottom: 1.2rem;
}



/* =========================
   Publication navigation bar
   ========================= */

.publication-nav {
    max-width: 1040px;
    margin: 1.5rem auto 2rem;
    background: #f7f6f9;
    border-top: 1px solid #dedde3;
    border-bottom: 1px solid #dedde3;
    padding: 0.35rem 1.35rem;
}

.publication-nav a {
    color: #0645ad;
    text-decoration: none;
    font-weight: 600;
}

.publication-nav a:hover,
.publication-nav a:focus {
    text-decoration: underline;
}

/* ====
.publication-nav span {
    color: #777;
    margin: 0 0.45rem;
}
=== */

.publication-nav span {
    color:#bbb;
    margin:0 .6rem;
}

/* Smooth scrolling for internal page links */
html {
    scroll-behavior: smooth;
}

