:root {
  --ud-red: #A6192E;
  --ud-red-dark: #7C1324;
  --ink: #242424;
  --muted: #626262;
  --ivory: #FBF7F0;
  --paper: #FFFFFF;
  --line: #E5DED3;
  --accent: #B08A45;
}

body {
  color: var(--ink);
  background: var(--ivory);
}

.navbar {
  box-shadow: 0 2px 10px rgba(0,0,0,.08);
}

.navbar-title {
  font-weight: 700;
}

/* Responsive page width
   Use most of the browser window on normal screens, but stop growing
   on very wide displays so the site remains comfortable to read. */
#quarto-content.quarto-container {
  display: block;
  width: min(88vw, 1100px);
  max-width: none;
  margin-left: auto;
  margin-right: auto;
}

main.content {
  width: 100%;
  max-width: none;
  margin-left: auto;
  margin-right: auto;
}

.hero {
  padding: 4.8rem 1.5rem 4.2rem;
  text-align: center;
  background:
    radial-gradient(circle at 85% 20%, rgba(166,25,46,.08), transparent 24%),
    linear-gradient(180deg, #fff 0%, var(--ivory) 100%);
  border-bottom: 1px solid var(--line);
  margin-bottom: 2.5rem;
}

.hero-kicker {
  color: var(--ud-red);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 800;
  font-size: .95rem;
}

.hero h1 {
  font-size: clamp(2.4rem, 4.5vw, 4rem);
  line-height: 1.08;
  margin: .55rem 0 1rem;
  color: var(--ud-red-dark);
}

.hero .date {
  font-size: 1.35rem;
  font-weight: 700;
}

.hero .tagline {
  font-size: 1.45rem;
  font-weight: 600;
  margin-top: 1.3rem;
}

.hero .subtagline {
  color: var(--muted);
  font-size: 1.08rem;
}

.button-row {
  display: flex;
  justify-content: center;
  gap: .8rem;
  flex-wrap: wrap;
  margin-top: 1.7rem;
}

.btn-event {
  display: inline-block;
  padding: .72rem 1.05rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 700;
}

.btn-primary-event {
  background: var(--ud-red);
  color: white !important;
}

.btn-secondary-event {
  border: 1px solid var(--ud-red);
  color: var(--ud-red) !important;
  background: white;
}

.section-title {
  text-align: center;
  margin-top: 2.5rem;
  color: var(--ud-red-dark);
}

.event-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
  margin: 1.5rem 0 3rem;
}

.event-card {
  background: var(--paper);
  border-top: 5px solid var(--ud-red);
  border-radius: 8px;
  padding: 1.35rem;
  box-shadow: 0 5px 18px rgba(0,0,0,.06);
}

.event-card h3 {
  margin-top: 0;
  color: var(--ud-red-dark);
}

.event-card .eyebrow {
  color: var(--accent);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .05em;
  font-size: .82rem;
}

.schedule {
  max-width: 820px;
  margin: 1.5rem auto 3rem;
  border-left: 3px solid var(--ud-red);
  padding-left: 1.5rem;
}

.schedule-item {
  position: relative;
  padding: 0 0 1.6rem 1rem;
}

.schedule-item::before {
  content: "";
  position: absolute;
  left: -1.72rem;
  top: .35rem;
  width: .8rem;
  height: .8rem;
  background: var(--ud-red);
  border: 3px solid var(--ivory);
  border-radius: 50%;
}

.schedule-time {
  color: var(--ud-red);
  font-weight: 800;
}

.schedule-item h3 {
  margin: .15rem 0 .2rem;
}

.notice {
  background: #fff;
  border-left: 4px solid var(--accent);
  padding: 1rem 1.15rem;
  margin: 1.5rem 0;
}

.lecture-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
  margin-top: 1.3rem;
}

.photo-placeholder {
  aspect-ratio: 4 / 5;
  border: 2px dashed #C8BFB2;
  border-radius: 8px;
  background: #F1ECE4;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--muted);
  padding: 1rem;
}

.speaker-photo {
  width: 240px;
  flex: 0 0 240px;
}

.speaker-photo img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.bio-placeholder {
  background: #F4F0EA;
  color: var(--muted);
  padding: .85rem 1rem;
  border-radius: 6px;
  font-style: italic;
}

.signature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.signature-card {
  background: white;
  padding: 1.25rem;
  border-radius: 7px;
  border: 1px solid var(--line);
}

.signature-card h3 {
  color: var(--ud-red-dark);
  margin-top: 0;
}

.cadence {
  display: inline-block;
  margin-top: .4rem;
  color: var(--ud-red);
  font-weight: 700;
  font-size: .92rem;
}

.small-note {
  color: var(--muted);
  font-size: .93rem;
}

@media (max-width: 800px) {
  .event-grid,
  .signature-list,
  .lecture-layout {
    grid-template-columns: 1fr;
  }

  .photo-placeholder {
    max-width: 280px;
  }
}
