/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: 'EB Garamond', Georgia, serif;
  color: #333;
  line-height: 1.65;
  background: #f4f4f4;
}

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

.container {
  max-width: 840px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== Header ===== */
.site-header {
  background: #fff;
  padding: 15px 0 5px;
  text-align: center;
}

.site-branding {
  margin-bottom: 10px;
}

.site-title {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 22px;
  font-weight: 300;
  color: #24282d;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 3px;
  line-height: 1.1;
  display: block;
}
.site-title:hover { text-decoration: none; color: #e06d5e; }

.site-tagline {
  display: block;
  font-size: 14px;
  font-style: italic;
  color: #b1b2b3;
  margin-top: 4px;
}

/* ===== Navigation ===== */
.nav-list {
  list-style: none;
  display: flex;
  gap: 0;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.nav-list > li > a {
  display: block;
  padding: 6px 10px;
  padding-bottom: 7px;
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 0.73em;
  font-weight: 900;
  color: #24282d;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav-list > li > a:hover,
.nav-list > li > a.active {
  color: #e06d5e;
  text-decoration: none;
}

/* Dropdowns */
.has-dropdown { position: relative; }

.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border-top: 2px solid #333;
  box-shadow: 0 3px 12px rgba(0,0,0,0.15);
  min-width: 200px;
  list-style: none;
  padding: 6px 0;
  z-index: 200;
}

.has-dropdown:hover .dropdown { display: block; }

.dropdown li a {
  display: block;
  padding: 8px 16px;
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 14px;
  font-weight: 400;
  color: #24282d;
  text-transform: none;
}
.dropdown li a:hover {
  color: #e06d5e;
  text-decoration: none;
}

/* Mobile menu */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
  margin: 0 auto;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #333;
  border-radius: 2px;
}

@media (max-width: 768px) {
  .menu-toggle { display: flex; }

  .site-nav {
    display: none;
    width: 100%;
  }
  .site-nav.is-open { display: block; }

  .nav-list {
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding-top: 12px;
  }

  .nav-list > li > a {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
  }

  .dropdown {
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    border-top: none;
    padding-left: 16px;
  }
  .has-dropdown:hover .dropdown { display: block; }

  .about-columns { flex-direction: column !important; }
  .about-photo { max-width: 200px !important; margin: 0 auto 20px; }
}

/* ===== Main Content ===== */
.site-content {
  background: #fff;
  padding: 40px 0 60px;
  min-height: 60vh;
}

/* ===== Page Title (matching Illustratr .entry-title) ===== */
h1 {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 1.2em;
  font-weight: 900;
  color: #24282d;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.2;
  margin-bottom: 5px;
}

/* Section headings (matching WordPress custom CSS: small uppercase labels) */
h2 {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 13px;
  font-weight: 600;
  color: #24282d;
  text-transform: uppercase;
  letter-spacing: 2px;
  line-height: 1.3;
  margin: 30px 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #ddd;
}

h3 {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 13px;
  font-weight: 600;
  color: #2c5282;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  line-height: 1.4;
  margin: 30px 0 15px;
}

h4 {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 1.2em;
  font-weight: bold;
  color: #24282d;
  margin-bottom: 20px;
}

hr {
  border: none;
  border-top: 1px solid #e0e0e0;
  margin: 0 0 20px;
}

/* ===== About Page ===== */
.social-icons {
  text-align: center;
  margin-bottom: 24px;
}
.social-icons a {
  display: inline-block;
  margin: 0 8px;
}
.social-icons img,
.social-icons svg {
  width: 36px;
  height: 36px;
  vertical-align: middle;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.social-icons a:hover img,
.social-icons a:hover svg { opacity: 1; }

.about-columns {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-top: 40px;
}

.about-photo {
  flex: 0 0 35%;
}
.about-photo img {
  width: 100%;
  max-width: 350px;
  border-radius: 4px;
}

.about-text {
  flex: 1;
}
.about-text p {
  font-size: 16px;
  line-height: 1.65;
  margin-bottom: 20px;
}

/* ===== Publication Entries ===== */
.publication-entry {
  line-height: 1.65;
  margin-bottom: 1.8em;
}

.pub-title {
  margin: 0 0 0.25em;
  font-size: 1.1em;
  font-weight: 600;
}
.pub-title a { color: #1a73e8; }

.pub-authors {
  margin: 0 0 0.5em;
  color: #555;
  font-size: 0.95rem;
}

.pub-journal {
  margin: 0 0 0.75em;
  font-style: italic;
  font-weight: 600;
  font-size: 0.95rem;
}

.pub-links {
  margin: 0;
  font-size: 0.9rem;
}

details {
  margin: 0 0 0.75em;
}
details summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  color: #444;
}
details p {
  margin-top: 0.5em;
  font-size: 0.93rem;
  line-height: 1.65;
  color: #555;
}

/* ===== Teaching ===== */
.course-entry {
  margin-bottom: 22px;
}
.course-title {
  margin: 0 0 2px;
  font-size: 16px;
  font-weight: 600;
}
.course-meta {
  margin: 0 0 2px;
  font-size: 14px;
  color: #666;
}
.course-desc {
  margin: 0 0 4px;
  font-size: 15px;
  line-height: 1.65;
  color: #444;
}
.course-link {
  margin: 0;
  font-size: 14px;
}
.course-link a { color: #1a73e8; }

/* ===== Policy Writing / Broader Audience ===== */
.writing-entry {
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid #f0f0f0;
}
.writing-entry:last-child { border-bottom: none; }

.writing-title {
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.3;
}
.writing-title a { color: #1a73e8; }

.writing-meta {
  font-size: 12px;
  color: #aaa;
  margin-top: 3px;
}

.writing-desc {
  font-size: 14px;
  color: #777;
  margin: 6px 0 0;
  line-height: 1.45;
}

/* ===== Policy Engagements ===== */
.engagement-entry {
  margin-bottom: 28px;
}
.engagement-title {
  font-size: 15.5px;
  font-weight: 600;
  color: #1a5276;
}
.engagement-partner {
  font-size: 12px;
  color: #aaa;
  margin-top: 2px;
}
.engagement-desc {
  font-size: 15px;
  color: #444;
  line-height: 1.65;
  margin-top: 6px;
}

/* ===== For Students ===== */
.student-info {
  max-width: 680px;
  color: #2c5282;
  line-height: 1.5;
}
.student-info p { color: #666; line-height: 1.65; margin-bottom: 14px; font-size: 15px; }
.student-info ul { list-style: none; padding: 0; }
.student-info li {
  margin-bottom: 8px;
  padding-left: 18px;
  position: relative;
  font-size: 0.95rem;
}
.student-info li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: #aaa;
}
.student-info li strong { color: #2c5282; }

/* ===== Footer ===== */
.site-footer {
  border-top: 1px solid #e8e8e8;
  padding: 24px 0;
  text-align: center;
  font-size: 0.85rem;
  color: #999;
}
