/* JuliaCon 2026 Minisymposium – Symbolic and Numerical Methods in (Nonlinear) Algebra */

:root {
  --bg: #ffffff;
  --bg-alt: #ffffff;
  --accent: #92278f;
  --accent-soft: #f9e8fb;
  --accent-strong: #92278f;
  --text: #111111;
  --muted: #4b4b5a;
  --border: #e5e5ef;
  --highlight: #92278f;
  --link: #92278f;
  --link-hover: #c03ba5;
  --shadow-soft: none;
  --radius-lg: 8px;
  --radius-md: 4px;
  --radius-pill: 999px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  min-height: 100%;
}

/* Avoid horizontal shift when navigating between pages
   by always reserving space for the vertical scrollbar. */
html {
  overflow-y: scroll;
}

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

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

.page-shell {
  max-width: 760px;
  margin: 0 auto;
  padding: 12px 14px 28px;
}

@media (min-width: 900px) {
  .page-shell {
    padding: 20px 12px 56px;
  }
}

/* Top navigation */

.site-header {
  position: static;
  background: #ffffff;
  border-bottom: none;
}

.hero-banner {
  border-bottom: none;
  background: #ffffff;
  overflow: visible;
}

.hero-banner picture {
  display: block;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 14px;
}

.hero-banner img {
  display: block;
  width: 100%;
  height: auto;
}

.site-header-inner {
  /* Match main column width so header is "squeezed" into it */
  max-width: 760px;
  margin: 0 auto;
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px; /* tighter space between title and nav */
}

.site-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-title {
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}

.brand-subtitle {
  font-size: 1.63rem;
  line-height: 1.25;
  font-weight: 600;
  color: var(--text);
}

.brand-highlight {
  color: var(--highlight);
  font-weight: 600;
}

.site-nav {
  display: flex;
  gap: 6px;
  align-items: center;
  width: 100%;
  justify-content: flex-end; /* align navigation to the right, under the title */
  border-bottom: 1px solid var(--border); /* horizontal line just under the nav */
  padding-bottom: 8px;
}

.nav-link {
  padding: 4px 11px;
  border-radius: 4px;
  font-size: 1.05rem;
  color: var(--muted);
  border: 1px solid transparent;
  transition: background 0.12s ease, color 0.12s ease, border-color 0.12s ease;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link:focus {
  background: transparent;
  border-color: transparent;
  text-decoration: underline;
  color: var(--link-hover);
}

.nav-link.active {
  background: transparent;
  border-color: transparent;
  font-weight: 600;
  color: var(--highlight);
}

@media (max-width: 720px) {

  .brand-subtitle {
    font-size: 0.8rem;
  }

  .brand-subtitle {
    font-size: 1.3rem;
  }
  
  .site-header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-header-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav {
    width: 100%;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .nav-link {
    flex: 0 0 auto;
    text-align: right;
  }
}

.nav-logo-link {
  padding: 0;
  border: none;
}

.nav-logo-link:hover,
.nav-logo-link:focus {
  text-decoration: none;
}

.nav-logo {
  display: block;
  height: 30px;
}

/* Main layout */

main {
  margin-top: 4px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.card {
  background: var(--bg-alt);
  border-radius: 4px;
  padding: 6px 12px 8px;
  box-shadow: none;
  border: 1px solid var(--border);
}

.card + .card {
  margin-top: 2px;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 2px;
}

.card-title {
  font-size: 1.1rem;
  letter-spacing: 0;
  text-transform: none;
  margin: 0 0 2px;
}

.card-kicker {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(0, 1.4fr);
  gap: 22px;
  align-items: center;
}

@media (max-width: 840px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
  }
}

.hero-main-title {
  font-size: 1.6rem;
  line-height: 1.25;
  margin: 0 0 10px;
}

.hero-main-title span {
  color: var(--accent);
}

.hero-meta {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 14px;
}

.hero-meta strong {
  color: var(--highlight);
}

.hero-abstract {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.55;
}

.hero-aside {
  border-radius: 4px;
  border: 1px solid var(--border);
  padding: 12px;
  background: #f9fafb;
}

.hero-badge {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
  margin-bottom: 6px;
}

.hero-conf-title {
  font-size: 1.02rem;
  font-weight: 600;
}

.hero-conf-meta {
  font-size: 0.88rem;
  color: var(--muted);
  margin-top: 6px;
}

.hero-cta {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  border-radius: 4px;
  border: 1px solid transparent;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.12s ease, color 0.12s ease, border-color 0.12s ease;
}

.button-primary {
  background: var(--accent);
  color: #ffffff;
  border-color: rgba(0, 0, 0, 0.06);
}

.button-secondary {
  background: #ffffff;
  border-color: var(--border);
  color: var(--accent);
}

.button:hover,
.button:focus {
  background: #e5e7eb;
}

.button-primary:hover,
.button-primary:focus {
  background: #b235a7;
}

.section-title {
  font-size: 1.1rem;
  margin-top: 0;
  margin-bottom: 6px;
}

.section-subtitle {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 12px;
}

p {
  margin-top: 0.3em;
  margin-bottom: 0.7em;
  line-height: 1.6;
  font-size: 0.9rem;
}

ul {
  margin: 0.3em 0 0.7em 1.2em;
  padding-left: 0.8em;
}

li {
  margin-bottom: 0.25em;
  font-size: 0.9rem;
}

.meta-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.meta-pill {
  font-size: 0.9rem;
  text-transform: none;
  letter-spacing: 0;
  padding: 0;
  border-radius: 0;
  border: none;
  color: var(--muted);
}

.organizer-list {
  margin-top: 8px;
}

.organizer-chip {
  padding: 0;
  border-radius: 0;
  border: none;
  background: none;
  font-size: 0.9rem;
}

.definition-list {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 14px;
  row-gap: 4px;
  font-size: 0.9rem;
}

.definition-list dt {
  color: var(--muted);
}

.definition-list dd {
  margin: 0;
}

.status-pill {
  display: inline;
  padding: 0;
  border-radius: 0;
  border: none;
  background: none;
  font-size: 0.9rem;
  text-transform: none;
  letter-spacing: 0;
  color: var(--muted);
}

.status-pill-dot {
  display: none;
}

.program-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 8px;
  font-size: 0.9rem;
}

.program-table th,
.program-table td {
  padding: 8px 10px;
  border-bottom: 1px solid rgba(61, 75, 122, 0.7);
}

.program-table th {
  text-align: left;
  font-weight: 500;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
}

.program-placeholder {
  font-size: 0.93rem;
  color: var(--muted);
  margin-top: 10px;
}

footer {
  margin-top: 20px;
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
  opacity: 0.9;
}