
/* -------------------------------------------------
   Fonts
-------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Raleway:wght@300;400;500;600&display=swap');

/* Base text */
html,
body {
  height: 100%;
}

body,
.navbar,
.nav-link {
  font-family: 'Raleway', sans-serif;
  font-weight: 400;
  color: #222;
  margin: 0;
}

/* -------------------------------------------------
   Light blue header (title block)
-------------------------------------------------- */
.quarto-title-block .quarto-title-banner {
  background-color: #d4ecff;        /* light blue */
  color: #003366;                    /* dark blue text */
  padding: 3rem 1.5rem;
  border-bottom: 1px solid #c0d8f0;
  position: relative;
}

/* Main title – back to standard font */
.quarto-title-block .title {
  font-family: 'Raleway', sans-serif;   /* standard theme font */
  font-weight: 700;
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: 0.5px;
  text-align: center;
  margin: 0;
}

/* Subtitle (if you add one later) */
.quarto-title-block .subtitle {
  font-family: 'Raleway', sans-serif;
  font-weight: 400;
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  text-align: center;
  margin-top: 0.4rem;
  color: #12406a;
}

/* Navbar */
.navbar {
  position: static !important;
  background: linear-gradient(90deg, #003366, #0066cc) !important;
  box-shadow: 0 2px 4px rgba(0,0,0,.06) !important;
}

.navbar .navbar-brand,
.navbar .nav-link {
  color: #ffffff !important;
}

/* -------------------------------------------------
   Two-column layout: sidebar left, text right
-------------------------------------------------- */

/* Sidebar layout */
.page-wrapper {
  display: flex;
  align-items: stretch;
  gap: 2rem;
  margin-top: 2rem;
  width: 100%;              /* stretch full window width */
  padding: 0 2rem;          /* little breathing room at left/right */
  box-sizing: border-box;   /* padding doesn’t cause overflow */
  min-height: calc(100vh - 150px);
}



/* ICC image as background panel */
.sidebar-image {
  width: 100%;                  /* stay inside the sidebar */
  height: 250%;                 /* keep your chosen height */
  display: block;
  object-fit: cover;
  object-position: top center;
  border-radius: 0;
}


/* Profile photo overlaid on ICC image */
.profile-photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  position: absolute;
  top: 0.1rem;          /* move up/down as desired */
  left: 75%;            /* center horizontally */
  transform: translateX(-50%);
  z-index: 2;
  box-shadow: 0 0 0 4px #fff, 0 8px 20px rgba(0,0,0,0.25);
}

/* Right column with your profile text */
.main-content {
  flex: 1;
}


/* -------------------------------------------------
   Profile content
-------------------------------------------------- */
.profile-container {
  max-width: 40rem;
}

.contact-section {
  margin-top: 1rem;
}

/* Link colors */
a,
a:visited {
  color: #003366;          /* dark blue */
}

a:hover,
a:focus {
  color: #001f4d;          /* slightly darker on hover */
  text-decoration: underline;
}

/* Right column inner container – spacing from ICC image */
.main-column {
  margin-top: 4rem;      /* how far down the text starts */
  margin-left: 2.5rem;   /* horizontal gap between image and text */
}

/* Main title – use body font and blue color */
.quarto-title-block .title {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: 0.5px;
  text-align: center;
  margin: 0;
  color: #003366;    /* dark blue to match ICC + links */
}

/* Layout for research + working papers pages only */
.research-text,
.workingpapers-text {
  max-width: 900px;        /* readable line length */
  margin: 3rem auto 4rem;  /* centered, same top/bottom spacing */
  padding: 0 2rem;         /* side padding */
  box-sizing: border-box;
}

