/* SIGMOD/PODS conference site: the one stylesheet.
   Part 1: tokens, page text, dates, people, news. Part 2 (below): the Heritage layout. */
:root {
  --ink: #111827; --body: #374151; --muted: #6b7280; --line: #e5e7eb; --bg2: #f6f7f9; --bg3: #eef2fb;
  --navy: #1f4fa3; --navy-dk: #163a78; --warm: #c2410c; --rust: #9a3412; --cream: #fff7ed;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 8px;
  /* --accent is set per year from site.yml (conference.accent_color) */
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 16px; }
body { margin: 0; font: 16px/1.65 var(--sans); color: var(--body); background: #fff; }
img, svg { max-width: 100%; }
a { color: var(--navy); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--navy-dk); }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 99; background: #fff; padding: 8px 12px; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
[hidden] { display: none !important; }

.announce { background: var(--cream); border-bottom: 1px solid #fed7aa; font-size: 14.5px; color: #7c2d12; }
.announce .wrap { padding-top: 8px; padding-bottom: 8px; }
.announce a { color: var(--rust); font-weight: 500; }

.btn { display: inline-block; background: var(--navy); color: #fff; font-weight: 600; font-size: 14.5px; line-height: 1.2; padding: 10px 18px; border-radius: 6px; text-decoration: none; white-space: nowrap; border: 0; }
.btn:hover { background: var(--navy-dk); color: #fff; }
.btn.ghost { background: #fff; color: var(--navy); box-shadow: inset 0 0 0 1px #c7d2e8; }
.btn.ghost:hover { background: var(--bg3); }
.menubtn { display: none; font: 600 14.5px var(--sans); color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 9px 14px; cursor: pointer; }
.new { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--warm); margin-left: 4px; }
.ext { color: var(--muted); font-size: 12px; }

/* Breadcrumbs */
.crumbs { font-size: 13.5px; color: var(--muted); margin-bottom: 8px; }
.crumbs a { color: var(--muted); }
.crumbs span { margin: 0 4px; color: #c0c4cc; }

/* Page text */
main { min-width: 0; outline: none; }
.title { font: 500 38px/1.15 var(--serif); color: var(--ink); margin: 0 0 18px; letter-spacing: -.01em; }
.prose h2 { font: 500 26px/1.25 var(--serif); color: var(--ink); margin: 40px 0 12px; }
.prose h3 { font-size: 16px; color: var(--ink); margin: 24px 0 8px; }
.prose p, .prose ul, .prose ol { margin: 0 0 16px; }
.prose > :first-child { margin-top: 0; }
.prose blockquote { margin: 0 0 20px; padding: 10px 16px; background: var(--cream); border-left: 3px solid var(--warm); color: #7c2d12; }
.prose blockquote p { margin: 0; }
.prose table { border-collapse: collapse; width: 100%; font-size: 15px; margin-bottom: 20px; }
.prose th, .prose td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose thead th { font-size: 12.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; }
.soon { padding: 16px 18px; background: var(--bg2); border-radius: var(--radius); }
.warn { color: #b91c1c; }

.news { list-style: none; padding: 0; margin: 0 0 8px; }
.news li { padding: 12px 0 12px 18px; border-bottom: 1px solid var(--line); position: relative; margin: 0; }
.news li::before { content: ""; position: absolute; left: 0; top: 21px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; margin: 0 0 16px; }
.people div { padding: 10px 0; border-bottom: 1px solid var(--line); }
.people dt { font-size: 13px; color: var(--muted); }
.people dd { margin: 0; color: var(--ink); font-weight: 500; }
.people dd small { color: var(--muted); font-weight: 400; font-size: 14px; }
.sponsors a { display: inline-block; margin: 0 16px 8px 0; }

/* Dates */
.tscroll { overflow-x: auto; margin-bottom: 16px; }
table.dates { border-collapse: collapse; width: 100%; font-size: 15px; font-variant-numeric: tabular-nums; margin: 0; }
table.dates th, table.dates td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
table.dates thead th { font-size: 12.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; }
table.dates tbody th { font-weight: 500; color: var(--ink); white-space: normal; min-width: 160px; }
.dlist { list-style: none; margin: 0 0 16px; padding: 0; font-variant-numeric: tabular-nums; }
.dlist li { display: flex; justify-content: space-between; gap: 16px; padding: 9px 12px; border-bottom: 1px solid var(--line); margin: 0; }
.dlist time { white-space: nowrap; color: var(--ink); font-weight: 500; }
.past, .past time, .past span, .past a, td.past { color: #a1a7b0 !important; }
td.next, li.next { background: var(--cream); box-shadow: inset 3px 0 0 var(--warm); font-weight: 600; color: var(--ink); }
.callink { font-size: 14.5px; }
.narrow-only { display: none; }
details.round { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 10px; }
details.round summary { padding: 10px 12px; font-weight: 600; color: var(--ink); cursor: pointer; }
details.round .closed { display: none; font-weight: 400; color: var(--muted); margin-left: 6px; font-size: 13px; }
details.round.is-closed .closed { display: inline; }
details.round .dlist { margin: 0; border-top: 1px solid var(--line); }
details.round .dlist li:last-child { border-bottom: 0; }

/* Upcoming-dates box */
.upbox { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; background: #fff; }
.upbox h2 { font: 600 12px var(--sans); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0 0 6px; }
.upbox .dlist { margin: 0; }
.upbox .dlist li { padding: 7px 0; font-size: 13.5px; line-height: 1.4; }
.upbox .dlist li:last-of-type { border-bottom: 0; }
.upbox .dlist a { font-weight: 600; text-decoration: none; }
.upbox li.next { padding-left: 9px; padding-right: 6px; margin: 0 -6px; border-radius: 4px; }
.upbox .none { margin: 4px 0 0; font-size: 14px; }
.small { font-size: 13px; color: var(--muted); margin: 8px 0 0; }

/* Shared nav list pieces */
.parent > span { display: block; color: var(--ink); font-weight: 500; }

@media (max-width: 760px) {
  .wrap { padding: 0 16px; }
  .title { font-size: 31px; }
  .prose h2 { font-size: 23px; }
  .people { grid-template-columns: minmax(0, 1fr); }
  .wide-only { display: none; }
  .narrow-only { display: block; }
  .dlist li { padding: 9px 10px; }
}
@media print {
  .announce, .menubtn, .drawer, .btn, nav, aside, footer { display: none !important; }
  .narrow-only { display: none !important; }
  .wide-only { display: block !important; }
}

/* Logo bar above every footer: ACM left, SIGMOD/PODS right (as on the 2024–2027 sites) */
.logobar { background: #fff; border-top: 1px solid var(--line); }
.logobar-in { max-width: 1240px; margin: 0 auto; padding: 18px 24px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.logobar a { display: block; line-height: 0; }
.lb-acm img { height: 46px; width: auto; }
.lb-sig img { height: 54px; width: auto; }
.datesnote, .upnote { color: var(--rust); }
.datesnote { background: var(--cream); border-left: 3px solid var(--warm); padding: 8px 14px; font-size: 14.5px; }
.upnote { margin: -2px 0 6px; font-size: 12.5px; }
@media (max-width: 760px) {
  .logobar-in { padding: 14px 16px; }
  .lb-acm img { height: 38px; }
  .lb-sig img { height: 46px; }
}

/* Menu entries whose page is not published yet (no file in content/pages) */
a.is-soon { font-style: italic; color: #9aa1ab !important; }
a.is-soon:hover { color: var(--muted) !important; }
.foot a.is-soon, .utility a.is-soon { color: #8797b5 !important; }

/* Round tables: a long date may wrap before the year */
table.dates td { white-space: normal; }
table.dates td .dd { white-space: normal; }
table.dates th, table.dates td { padding-left: 8px; padding-right: 8px; }
table.dates tbody th { min-width: 112px; }

/* Organizers with photos ({{people}}); the homepage {{chairs}} block stays text-only */
.org-role { margin: 0 0 26px; }
.prose .org-role h3 { margin: 0 0 10px; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); }
.pcards { list-style: none; margin: 0 !important; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.pcards li { margin: 0; display: flex; align-items: center; gap: 14px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.pcards img, .pinit { width: 72px; height: 72px; border-radius: 50%; flex: none; object-fit: cover; background: var(--bg2); }
.pinit { display: grid; place-items: center; font: 600 22px var(--sans); color: var(--navy); background: var(--bg3); }
.pcards b { display: block; color: var(--ink); font-size: 15.5px; line-height: 1.3; }
.pcards small { display: block; color: var(--muted); font-size: 14px; line-height: 1.35; margin-top: 2px; }
@media (max-width: 480px) { .pcards img, .pinit { width: 60px; height: 60px; } }

/* ===================== Heritage layout =====================
   The 2026 site's structure: banner, left menu, page, right menu.
   Wide screens: 3 columns. Laptops: both menus stacked on the left. Phones: one column + Menu drawer. */
.wrap { max-width: 1320px; }

.masthead { border-bottom: 1px solid var(--line); background: #fff; }
.masthead .wrap { display: flex; align-items: center; gap: 24px; padding-top: 16px; padding-bottom: 16px; }
.brand { display: flex; align-items: center; gap: 16px; text-decoration: none; color: var(--ink); margin-right: auto; min-width: 0; }
.brand .logo svg { height: 56px; width: auto; display: block; }
.brand .name { display: block; font: 500 32px/1.05 var(--serif); letter-spacing: -.01em; white-space: nowrap; }
.brand .name em { font-style: normal; color: var(--accent); }
.brand .full { display: block; font-size: 13.5px; color: var(--muted); margin-top: 4px; }
.when { text-align: right; font-size: 14.5px; line-height: 1.4; }
.when b { display: block; color: var(--ink); font-weight: 600; }
.when span { color: var(--muted); }

.banner { height: 420px; position: relative; overflow: hidden; border-bottom: 1px solid var(--line); background: var(--bg2); }
.banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.banner .cap { position: absolute; right: 16px; bottom: 10px; font-size: 12px; color: var(--muted); background: rgba(255,255,255,.85); padding: 2px 8px; border-radius: 4px; }

.page { display: grid; grid-template-columns: 230px minmax(0, 1fr) 280px; gap: 48px; padding-top: 32px; padding-bottom: 72px; align-items: start; min-height: 55vh; }
.col { font-size: 14.5px; }
.col .upbox { margin-bottom: 26px; }
.grp { margin-bottom: 26px; }
.grp h2 { font: 600 15px var(--sans); color: var(--navy); margin: 0 0 6px; padding-bottom: 6px; border-bottom: 2px solid var(--navy); }
.grp.cur h2 { color: var(--accent); border-bottom-color: var(--accent); }
.col ul { list-style: none; margin: 0; padding: 0; }
.grp li a { display: block; padding: 5px 8px; margin: 0 -8px; border-radius: 5px; color: var(--body); text-decoration: none; line-height: 1.35; }
.grp li a:hover { background: var(--bg2); color: var(--navy); }
.grp li a[aria-current] { background: var(--bg3); color: var(--navy); font-weight: 600; box-shadow: inset 3px 0 0 var(--navy); }
.grp .parent > span { padding: 5px 0 2px; }
.grp .parent ul { padding-left: 12px; border-left: 1px solid var(--line); margin: 0 0 4px 2px; }

.drawer, .insection, .phone-only { display: none; }

.foot { background: #0f172a; color: #94a3b8; font-size: 14px; padding: 28px 0; }
.foot .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.foot .fl { display: flex; gap: 16px; align-items: center; }
.foot .logo { background: #fff; border-radius: 10px; padding: 6px 8px; display: inline-flex; }
.foot .logo svg { height: 38px; width: auto; display: block; }
.foot b { color: #fff; }
.foot a { color: #dbe3f0; }

@media (max-width: 1180px) {
  .page { grid-template-columns: 270px minmax(0, 1fr); grid-template-rows: auto 1fr; }
  .left { grid-column: 1; grid-row: 1; }
  .right { grid-column: 1; grid-row: 2; }
  main { grid-column: 2; grid-row: 1 / span 2; }
  .when { display: none; }
}
@media (max-width: 860px) {
  .wrap { padding: 0 16px; }
  .page { display: block; padding-top: 20px; }
  .col { display: none; }
  .menubtn { display: block; }
  .masthead .wrap { gap: 12px; padding-top: 12px; padding-bottom: 12px; }
  .masthead .reg { display: none; }
  .brand { gap: 10px; }
  .brand .logo svg { height: 38px; }
  .brand .name { font-size: 23px; }
  .brand .full { font-size: 12px; }
  .banner { height: 210px; }
  .banner .cap { display: none; }
  .menu-open .drawer { display: block; background: var(--bg2); border-bottom: 1px solid var(--line); }
  .drawer .wrap { padding-top: 8px; padding-bottom: 16px; }
  .drawer details { border-bottom: 1px solid var(--line); }
  .drawer summary { padding: 12px 0; font-weight: 600; color: var(--navy); cursor: pointer; }
  .drawer ul { list-style: none; margin: 0 0 10px; padding: 0 0 0 4px; }
  .drawer li a { display: block; padding: 7px 0; color: var(--ink); text-decoration: none; }
  .drawer li a[aria-current] { color: var(--navy); font-weight: 600; }
  .drawer .parent > span { padding: 7px 0 2px; color: var(--muted); font-size: 14px; font-weight: 400; }
  .drawer .parent ul { padding-left: 14px; }
  .drawer-cta { margin: 14px 0 0; }
  .insection { display: block; margin: 0 0 16px; border: 1px solid var(--line); border-radius: 8px; font-size: 15px; }
  .insection summary { padding: 10px 14px; cursor: pointer; color: var(--muted); }
  .insection summary b { color: var(--ink); }
  .insection ul { list-style: none; margin: 0; padding: 4px 0 8px; border-top: 1px solid var(--line); }
  .insection li a { display: block; padding: 7px 14px; text-decoration: none; color: var(--ink); }
  .insection li a[aria-current] { color: var(--navy); font-weight: 600; box-shadow: inset 3px 0 0 var(--navy); }
  .insection .parent > span { padding: 7px 14px 0; color: var(--muted); font-size: 14px; font-weight: 400; }
  .insection .parent ul { padding-left: 14px; border: 0; }
  .phone-only { display: block; margin-bottom: 20px; }
}
@media (max-width: 420px) { .brand .full { display: none; } .brand .name { font-size: 20px; } .brand .logo svg { height: 32px; } }
.foot .credit { margin-top: 16px; font-size: 12.5px; color: #7c879a; display: block; }
/* Long links (e.g. submission URLs) wrap instead of widening the page on phones */
.prose { overflow-wrap: break-word; }
.prose td, .prose th { overflow-wrap: anywhere; }
.nowrap { white-space: nowrap; }
table.dates td, table.dates th { overflow-wrap: normal; }
/* The round table needs about 600px; in a narrower column, show the round-by-round lists instead */
.dates-block { container-type: inline-size; }
@container (max-width: 599px) {
  .dates-block .wide-only { display: none; }
  .dates-block .narrow-only { display: block; }
}

/* Label/value tables written as HTML in a page (e.g. the submission guidelines) */
.prose table.specs th[scope="row"] { width: 28%; min-width: 130px; font-weight: 600; color: var(--ink); }
.prose table.specs td ul { margin: 6px 0 0; padding-left: 20px; }
.prose table.specs td li { margin: 2px 0; }

/* Brush title on the banner (Edo SZ + brush taegeuk for the O's) */
@font-face { font-family: "EdoSZ"; src: url("/assets/fonts/edosz.woff2") format("woff2"); font-display: swap; }
.banner .shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,12,34,.62) 0%, rgba(8,12,34,.30) 40%, rgba(8,12,34,0) 64%); pointer-events: none; }
.banner .btitle { position: absolute; inset: 0; pointer-events: none; }
.banner .btitle .wrap { height: 100%; display: flex; flex-direction: column; align-items: flex-end; padding-top: 30px; color: #fff; text-shadow: 0 2px 14px rgba(0,0,0,.55); }
.banner .t1 { font: 400 clamp(34px, 4.4vw, 66px)/1 "EdoSZ", var(--serif); white-space: nowrap; display: flex; align-items: center; }
.banner .t1 img { position: static; inset: auto; object-fit: contain; width: .74em; height: .74em; margin: 0 .04em 0 .06em; max-width: none; filter: drop-shadow(0 2px 8px rgba(0,0,0,.45)); }
.banner .t3 { font: 400 clamp(18px, 2vw, 31px)/1 "EdoSZ", var(--serif); margin-top: .4em; letter-spacing: .02em; }
@media (max-width: 860px) {
  .banner .btitle .wrap { padding-top: 14px; }
  .banner .t1 { font-size: clamp(26px, 7.4vw, 44px); }
  .banner .t3 { font-size: clamp(14px, 3.8vw, 22px); }
}
