/* IFDS Research Expo — styled to match ifds.info
   White header with logo, purple title bar, Open Sans typography. */

:root {
  --purple:       #4b2e83;
  --purple-dark:  #3a2466;
  --uw-red:       #b9252f;
  --ink:          #333;
  --muted:        #6b6b6b;
  --rule:         #e5e7eb;
  --bg:           #ffffff;
  --band:         #f2f2f2;   /* ifds.info content-area gray */
  --maxw:         960px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--band);
  font-family: "Open Sans", "Segoe UI", -apple-system, BlinkMacSystemFont,
               Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 1.5rem;
}

a { color: var(--purple); text-decoration: none; }
a:hover { color: var(--uw-red); text-decoration: underline; }

/* ---- Header (logo bar) ---- */

.site-header {
  background: #fff;
  padding: 1.5rem 0 1.25rem;
  text-align: center;
  border-bottom: 1px solid var(--rule);
}

.site-header .logo {
  max-width: 360px;
  width: 60%;
  height: auto;
}

/* ---- Title bar (purple band) ---- */

.title-bar {
  background: var(--purple);
  color: #fff;
  padding: 1.5rem 0 1.6rem;
}

.title-bar h1 {
  margin: 0 0 .35rem;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: .005em;
  line-height: 1.2;
  color: #fff;
}

.title-bar .tagline {
  margin: 0 0 1.1rem;
  color: #e9e3f5;
  font-size: 1.02rem;
}

.title-bar .cta { margin: 0; }

.button {
  display: inline-block;
  background: #fff;
  color: var(--purple) !important;
  padding: .65rem 1.25rem;
  border-radius: 3px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-size: .85rem;
  transition: background .15s ease, color .15s ease;
  border: 2px solid #fff;
}
.button:hover {
  background: var(--purple-dark);
  color: #fff !important;
  border-color: var(--purple-dark);
  text-decoration: none;
}

/* Variant used inside the white content area */
section .button {
  background: var(--purple);
  color: #fff !important;
  border-color: var(--purple);
}
section .button:hover {
  background: var(--purple-dark);
  border-color: var(--purple-dark);
  color: #fff !important;
}

.cta-note {
  margin-left: .9rem;
  color: #e9e3f5;
  font-size: .9rem;
  font-style: italic;
}

/* ---- Main content area (white card on gray) ---- */

main {
  background: #fff;
  margin: 1.5rem auto 2.5rem;
  max-width: var(--maxw);
  padding: 2rem 1.5rem 2.5rem;
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
}

main.wrap { padding-left: 2rem; padding-right: 2rem; }

section { margin: 0 0 2.25rem; }
section:last-child { margin-bottom: 0; }

h2 {
  font-size: 1.45rem;
  color: var(--purple);
  margin: 0 0 1rem;
  padding-bottom: .4rem;
  border-bottom: 1px solid var(--rule);
  font-weight: 700;
  letter-spacing: .005em;
}

p { margin: 0 0 .95rem; }

ul { margin: 0 0 .95rem 1.25rem; padding: 0; }
ul.plain { list-style: none; margin-left: 0; }
ul.plain li { margin-bottom: .3rem; }

.muted { color: var(--muted); font-style: italic; font-size: .94rem; }

/* Speakers */
ul.speakers {
  list-style: none;
  margin-left: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: .8rem 1.4rem;
}
ul.speakers li {
  padding: .7rem .9rem;
  background: var(--band);
  border-left: 3px solid var(--purple);
}
ul.speakers .name {
  font-weight: 700;
  color: var(--ink);
}
ul.speakers .affil {
  color: var(--muted);
  display: block;
  font-size: .9rem;
  margin-top: .1rem;
}

/* Committee */
ul.committee {
  list-style: none;
  margin-left: 0;
}
ul.committee li {
  padding: .25rem 0;
  border-bottom: 1px solid var(--rule);
}
ul.committee li:last-child { border-bottom: none; }

/* ---- Footer ---- */

.site-footer {
  background: var(--purple);
  color: #e9e3f5;
  padding: 1.75rem 0;
  font-size: .9rem;
}
.site-footer p { margin: 0 0 .35rem; }
.site-footer a { color: #fff; text-decoration: underline; }
.site-footer a:hover { color: #fff; text-decoration: none; }
.site-footer .muted { color: #c8bde0; }

/* ---- Narrow screens ---- */

@media (max-width: 600px) {
  .site-header .logo { width: 78%; max-width: 320px; }
  .title-bar h1 { font-size: 1.55rem; }
  body { font-size: 15.5px; }
  .cta-note { display: block; margin: .6rem 0 0; }
  h2 { font-size: 1.2rem; }
  main { padding: 1.25rem 1.25rem 1.75rem; margin: 1rem auto 1.5rem; }
}
