/* GameLab RMIT VN — public styles */
:root {
  --blue: #2747D6;        /* nav bar, primary actions (from the brief) */
  --blue-deep: #1D36A8;
  --ink: #10204F;         /* headings */
  --text: #2B3350;
  --muted: #5B6585;
  --page: #F6F8FE;        /* cool white page */
  --panel: #E8EDFC;       /* pale blue panels (from the brief) */
  --line: #D3DBF5;
  --white: #FFFFFF;
  --marigold: #FFC23D;    /* single accent: Join the network */
  --ok: #1E7A4C; --warn: #8A5A00; --err: #B3261E;
  --wrap: 1180px;
  --r-sm: 4px; --r: 10px;
  --font: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--page); color: var(--text); font: 400 17px/1.6 var(--font); }
img { max-width: 100%; display: block; }
a { color: var(--blue); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--blue-deep); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--marigold); outline-offset: 2px; border-radius: 2px; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.015em; }
h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.05rem); font-weight: 700; }
h3, .h3 { font-size: 1.28rem; font-weight: 700; }
.h4 { font-size: 1.05rem; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.mt { margin-top: 2.5rem; }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--marigold); color: var(--ink); padding: .5rem 1rem; z-index: 10; }
.skip:focus { left: 1rem; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }

/* ---------- top bar (blue, as in the brief) */
.topbar { background: var(--blue); color: var(--white); position: sticky; top: 0; z-index: 5; }
.topbar-in { display: flex; align-items: center; gap: 1rem; min-height: 64px; }
.brand { display: flex; align-items: center; gap: .6rem; color: var(--white); text-decoration: none; font-weight: 700; font-size: 1.05rem; margin-right: auto; }
.brand:hover { color: var(--white); }
.brand-mark { width: 26px; height: 26px; fill: var(--white); }
.brand-mark .mark-accent { fill: var(--marigold); }
.mainnav { display: flex; align-items: center; gap: .35rem; }
.mainnav a { color: var(--white); text-decoration: none; padding: .45rem .85rem; border: 1px solid transparent; border-radius: var(--r-sm); font-weight: 500; font-size: .95rem; }
.mainnav a:hover { border-color: rgba(255,255,255,.45); color: var(--white); }
.mainnav a[aria-current] { background: var(--white); color: var(--blue); }
.mainnav .btn-join { margin-left: .5rem; }
.nav-toggle { display: none; background: none; border: 1px solid rgba(255,255,255,.5); color: var(--white); padding: .4rem .8rem; border-radius: var(--r-sm); font: inherit; font-size: .9rem; cursor: pointer; }
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .mainnav { display: none; position: absolute; left: 0; right: 0; top: 64px; background: var(--blue); flex-direction: column; align-items: stretch; padding: .5rem 24px 1rem; }
  .mainnav.open { display: flex; }
  .mainnav .btn-join { margin: .5rem 0 0; text-align: center; }
}

/* ---------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; background: var(--blue); color: var(--white); border: 1px solid var(--blue); padding: .62rem 1.15rem; border-radius: var(--r-sm); font: 600 .95rem/1.2 var(--font); text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--blue-deep); border-color: var(--blue-deep); color: var(--white); text-decoration: none; }
.btn-ghost { background: transparent; color: var(--blue); border-color: var(--line); }
.btn-ghost:hover { background: var(--panel); color: var(--blue-deep); border-color: var(--blue); }
.btn-join { background: var(--marigold); border-color: var(--marigold); color: var(--ink) !important; font-weight: 700; }
.btn-join:hover { background: #F5B21A; border-color: #F5B21A; color: var(--ink) !important; }
.mainnav a.btn-join[aria-current] { background: var(--marigold); }
.btn-danger { background: var(--white); color: var(--err); border-color: #E7B8B4; }
.btn-danger:hover { background: var(--err); color: var(--white); border-color: var(--err); }
.btn-lg { padding: .85rem 1.5rem; font-size: 1.02rem; }
.btn-sm { padding: .45rem .85rem; font-size: .875rem; }
.btn-xs { padding: .25rem .6rem; font-size: .8rem; }
.actions { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; margin: 1.25rem 0 0; }

/* ---------- landing hero */
.hero { padding: clamp(3rem, 8vw, 6rem) 0 3rem; }
.hero-title { font-size: clamp(2.3rem, 5.6vw, 4.4rem); font-weight: 800; line-height: 1.04; letter-spacing: -0.03em; max-width: 15ch; margin-bottom: .45em; }
.hero-intro { font-size: 1.2rem; color: var(--muted); max-width: 54ch; }
.cat-buttons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 2.5rem; border: 1px solid var(--blue); border-radius: var(--r); overflow: hidden; background: var(--white); }
.cat-buttons a { display: flex; flex-direction: column; padding: 1.4rem 1.5rem; text-decoration: none; border-right: 1px solid var(--line); }
.cat-buttons a:last-child { border-right: 0; }
.cat-buttons a:hover { background: var(--blue); }
.cat-buttons a:hover .cat-btn-n, .cat-buttons a:hover .cat-btn-d { color: var(--white); }
.cat-btn-n { font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 800; color: var(--blue); letter-spacing: -0.02em; }
.cat-btn-d { color: var(--muted); font-size: .92rem; }
@media (max-width: 680px) { .cat-buttons { grid-template-columns: 1fr; } .cat-buttons a { border-right: 0; border-bottom: 1px solid var(--line); } .cat-buttons a:last-child { border-bottom: 0; } }

/* ---------- split panels (image + pale blue text panel, from the brief) */
.split { padding: 1.5rem 0; scroll-margin-top: 70px; }
.split-in { display: grid; grid-template-columns: 1.1fr 1fr; align-items: stretch; }
.split-media { margin: 0; position: relative; min-height: 340px; background: var(--panel); border-radius: var(--r) 0 0 var(--r); overflow: hidden; }
.split-media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.split-media figcaption, .feature-img figcaption { position: absolute; left: 12px; bottom: 10px; font-size: .72rem; color: var(--white); background: rgba(16,32,79,.6); padding: 2px 8px; border-radius: 3px; }
.split-text { background: var(--panel); padding: clamp(1.75rem, 4vw, 3.25rem); display: flex; flex-direction: column; justify-content: center; border-radius: 0 var(--r) var(--r) 0; }
.split-text p { max-width: 58ch; }
.split-flip .split-in { grid-template-columns: 1fr 1.1fr; }
.split-flip .split-media { order: 2; border-radius: 0 var(--r) var(--r) 0; }
.split-flip .split-text { border-radius: var(--r) 0 0 var(--r); }
@media (max-width: 820px) {
  .split-in, .split-flip .split-in { grid-template-columns: 1fr; }
  .split-media, .split-flip .split-media { order: 0; min-height: 230px; border-radius: var(--r) var(--r) 0 0; }
  .split-text, .split-flip .split-text { border-radius: 0 0 var(--r) var(--r); }
}

/* ---------- generic sections */
.band { padding: 4rem 0; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
@media (max-width: 820px) { .two-col { grid-template-columns: 1fr; gap: 2.5rem; } }
.page-head { padding: clamp(2.5rem, 6vw, 4rem) 0 2rem; }
.page-head-row { display: flex; gap: 2rem; align-items: flex-end; justify-content: space-between; }
.page-head-row > div:first-child { max-width: 720px; }
@media (max-width: 820px) { .page-head-row { flex-direction: column; align-items: stretch; } }
.crumbs { font-size: .875rem; color: var(--muted); margin-bottom: 1rem; }
.crumbs a { color: var(--muted); }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 66ch; }
.section { padding: 3rem 0; scroll-margin-top: 70px; }
.section-tint { background: var(--panel); }
.section-head { margin-bottom: 1.75rem; max-width: 70ch; }
.section-head-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; max-width: none; flex-wrap: wrap; }
.section-head-row .actions { margin: 0; }
.subnav { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }
.subnav a { padding: .45rem .9rem; border: 1px solid var(--line); border-radius: var(--r-sm); text-decoration: none; background: var(--white); font-size: .92rem; }
.subnav a:hover { border-color: var(--blue); }
.join-box { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 1.25rem 1.4rem; max-width: 330px; }
.join-box p { font-size: .95rem; color: var(--muted); }

/* ---------- cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.25rem; }
.card { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; }
.card:hover { border-color: var(--blue); }
.card-img { aspect-ratio: 16 / 10; background: var(--panel); overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-img-empty { display: grid; place-items: center; background:
  linear-gradient(var(--panel), var(--panel)) padding-box,
  repeating-linear-gradient(0deg, transparent 0 19px, var(--line) 19px 20px),
  repeating-linear-gradient(90deg, transparent 0 19px, var(--line) 19px 20px); background-blend-mode: multiply; }
.card-img-empty span { font-size: 3rem; font-weight: 800; color: var(--blue); opacity: .35; }
.card-body { padding: 1.1rem 1.2rem 1.25rem; }
.card-body p:last-child { margin-bottom: 0; }
.card h3 { font-size: 1.12rem; margin-bottom: .35rem; }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a:hover { color: var(--blue); }
.stretch::after { content: ""; position: absolute; inset: 0; }
.card-meta { font-size: .82rem; font-weight: 600; color: var(--blue); margin-bottom: .45rem; }
.card-people { font-size: .9rem; color: var(--muted); margin-bottom: .5rem; }
.card-when { font-weight: 600; color: var(--ink); font-size: .95rem; }
.card-construct { border-style: dashed; background: transparent; }
.pill-ph { display: inline-block; font-size: .7rem; font-weight: 600; color: var(--warn); background: #FFF3D6; border-radius: 3px; padding: 1px 6px; vertical-align: middle; }
.empty { color: var(--muted); padding: 2rem; text-align: center; border: 1px dashed var(--line); border-radius: var(--r); background: var(--white); }
.tag { display: inline-block; font-size: .78rem; font-weight: 600; color: var(--blue-deep); background: var(--panel); border-radius: 3px; padding: 2px 8px; }
.tag-closed { background: #E9EBF0; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.chip { padding: .3rem .75rem; border: 1px solid var(--line); border-radius: 999px; background: var(--white); text-decoration: none; font-size: .88rem; }
.chip:hover { border-color: var(--blue); }

/* ---------- feature (event) */
.feature { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.feature:hover { border-color: var(--blue); }
.feature-img { margin: 0; position: relative; min-height: 300px; }
.feature-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feature-body { padding: clamp(1.5rem, 3vw, 2.5rem); align-self: center; }
.feature-title { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.feature-title a { color: var(--ink); text-decoration: none; }
.link-like { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; margin: 0; }
@media (max-width: 760px) { .feature { grid-template-columns: 1fr; } .feature-img { min-height: 220px; } }
.event-feature { display: block; text-decoration: none; color: var(--text); background: var(--white); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; padding-bottom: 1.1rem; }
.event-feature:hover { border-color: var(--blue); color: var(--text); }
.event-feature img { aspect-ratio: 16 / 8; object-fit: cover; width: 100%; margin-bottom: 1rem; }
.event-feature > :not(img) { margin-left: 1.2rem; margin-right: 1.2rem; }
.event-feature-title { display: block; color: var(--ink); font-size: 1.3rem; margin: .5rem 1.2rem .2rem; line-height: 1.2; }
.board-mini { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.board-mini a { display: flex; flex-direction: column; gap: .15rem; padding: .9rem 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); align-items: flex-start; }
.board-mini a:hover strong { color: var(--blue); }
.board-mini .muted { font-size: .9rem; }

/* ---------- research keyword map (the signature element) */
.section-map { padding-top: 1rem; }
.kwmap { position: relative; background-color: var(--white); background-image: radial-gradient(var(--line) 1.2px, transparent 1.3px); background-size: 22px 22px; border: 1px solid var(--line); border-radius: var(--r); padding: clamp(1.5rem, 4vw, 3.5rem); }
.kwmap-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.kwmap-lines path { fill: none; stroke: var(--blue); opacity: .18; transition: opacity .2s, stroke .2s; }
.kwmap-lines path.on { opacity: .9; stroke: var(--blue); }
.kwmap-nodes { position: relative; list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: clamp(1.4rem, 3.4vw, 3rem) clamp(1.2rem, 3vw, 2.8rem); }
.kwmap-nodes li:nth-child(3n+2) { transform: translateY(18px); }
.kwmap-nodes li:nth-child(4n+1) { transform: translateY(-10px); }
.kwmap-nodes a { display: inline-flex; flex-direction: column; align-items: center; text-align: center; text-decoration: none; background: var(--white); border: 2px solid var(--blue); border-radius: 999px; padding: calc(.45rem + .5rem * var(--w)) calc(.95rem + .9rem * var(--w)); transition: background .15s, color .15s, opacity .2s; }
.kw-name { font-weight: 700; color: var(--ink); font-size: calc(.95rem + .75rem * var(--w)); line-height: 1.1; letter-spacing: -0.01em; }
.kw-n { font-size: .75rem; color: var(--muted); }
.kwmap-nodes a:hover, .kwmap-nodes a:focus-visible { background: var(--blue); }
.kwmap-nodes a:hover .kw-name, .kwmap-nodes a:focus-visible .kw-name, .kwmap-nodes a:hover .kw-n, .kwmap-nodes a:focus-visible .kw-n { color: var(--white); }
.kwmap.is-focus .kwmap-nodes a:not(.linked) { opacity: .35; }
.kwmap.is-focus .kwmap-nodes a.linked:not(:hover):not(:focus-visible) { background: var(--panel); }
@media (max-width: 600px) { .kwmap-nodes li { transform: none !important; } }

/* ---------- profile carousel */
.carousel { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, calc((100% - 48px) / 3)); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .75rem; scrollbar-width: thin; }
@media (max-width: 860px) { .carousel { grid-auto-columns: minmax(250px, 80%); } }
.profile-card { position: relative; scroll-snap-align: start; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 1rem 1rem 1.3rem; }
.profile-card:hover { border-color: var(--blue); }
.profile-card h3 a { color: var(--ink); text-decoration: none; }
.profile-card p:last-child { margin: 0; color: var(--muted); font-size: .95rem; }
.profile-img { aspect-ratio: 4 / 3; border-radius: 6px; overflow: hidden; background: var(--panel); display: grid; place-items: center; margin-bottom: 1rem; }
.profile-img img { width: 100%; height: 100%; object-fit: cover; }
.profile-img span { font-size: 3.5rem; font-weight: 800; color: var(--blue); opacity: .35; }
.profile-head { display: flex; gap: 1.5rem; align-items: center; }
.profile-img-lg { width: 160px; flex: none; aspect-ratio: 1; margin: 0; }
.carousel-ctrl { display: flex; gap: .4rem; }
.icon-btn { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); color: var(--blue); font-size: 1.4rem; line-height: 1; cursor: pointer; }
.icon-btn:hover { border-color: var(--blue); background: var(--blue); color: var(--white); }

/* ---------- article / prose */
.prose { padding-bottom: 4rem; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: .35rem; }
.entry-img { margin: 0 0 2rem; border-radius: var(--r); overflow: hidden; }
.byline { font-weight: 600; color: var(--muted); }
.facts { display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; margin: 1.25rem 0 0; }
.facts dt { font-size: .8rem; color: var(--muted); font-weight: 600; }
.facts dd { margin: 0; font-weight: 600; color: var(--ink); }
.facts-stack { flex-direction: column; gap: 1rem; margin: 0; }
.construct { margin-top: 2rem; border: 2px dashed var(--blue); border-radius: var(--r); padding: 2rem; background: var(--white); color: var(--blue); }
.construct svg { width: 140px; margin-bottom: 1rem; }
.construct p { color: var(--text); }

/* ---------- partners */
.partners { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1rem; }
.partners li { display: flex; gap: 1rem; padding: 1.1rem 1.2rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); }
.partners img { width: 64px; height: 64px; object-fit: contain; flex: none; }
.partners strong { display: block; color: var(--ink); }
.partners p { margin: .4rem 0 0; font-size: .93rem; }
.split-about { padding-top: 3rem; }

/* ---------- board */
.board-cta { display: flex; justify-content: space-between; align-items: center; gap: 2rem; background: var(--ink); color: #DCE3FA; border-radius: var(--r); padding: clamp(1.75rem, 4vw, 2.75rem); }
.board-cta h2 { color: var(--white); }
.board-cta p { max-width: 60ch; margin: 0; }
.board-cta .actions { margin: 0; flex: none; }
.board-cta .btn-ghost { color: var(--white); border-color: rgba(255,255,255,.4); }
.board-cta .btn-ghost:hover { background: rgba(255,255,255,.1); color: var(--white); }
@media (max-width: 760px) { .board-cta { flex-direction: column; align-items: flex-start; } }
.board-layout { display: grid; grid-template-columns: 260px 1fr; gap: 2.5rem; align-items: start; }
@media (max-width: 860px) { .board-layout { grid-template-columns: 1fr; } }
.board-filter { position: sticky; top: 84px; }
.board-filter form { display: grid; gap: .75rem; margin-bottom: 1.5rem; }
.kind-list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.kind-list a { display: flex; justify-content: space-between; gap: .5rem; padding: .6rem .2rem; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--text); font-size: .93rem; }
.kind-list a span { color: var(--muted); }
.kind-list a[aria-current] { color: var(--blue); font-weight: 700; }
.kind-list a:hover { color: var(--blue); }
@media (max-width: 860px) { .board-filter { position: static; } .kind-list { flex-direction: row; flex-wrap: wrap; gap: .4rem; border: 0; } .kind-list a { border: 1px solid var(--line); border-radius: 999px; padding: .3rem .8rem; background: var(--white); } }
.posts { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.post { position: relative; background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--blue); border-radius: var(--r-sm); padding: 1.2rem 1.4rem; }
.post:hover { border-color: var(--blue); }
.post.is-closed { border-left-color: #B8BFD3; opacity: .75; }
.post h2 { margin: .4rem 0 .4rem; }
.post h2 a { color: var(--ink); text-decoration: none; }
.post p { margin-bottom: .5rem; }
.post-top { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin: 0; }
.post-wanted strong { color: var(--ink); }
.post-meta { margin: .6rem 0 0 !important; display: flex; flex-wrap: wrap; gap: .3rem 1.2rem; }
.post-detail { display: grid; grid-template-columns: 1fr 260px; gap: 2.5rem; align-items: start; padding-bottom: 4rem; }
.post-detail .prose { padding: 0; }
.contact-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 1.25rem; word-break: break-word; }
@media (max-width: 760px) { .post-detail { grid-template-columns: 1fr; } }
.pager { display: flex; gap: .5rem; justify-content: center; margin-top: 2rem; }
.manage-link { word-break: break-all; background: var(--white); padding: .75rem; border-radius: var(--r-sm); font-size: .9rem; }

/* ---------- forms */
.form { display: grid; gap: 1.1rem; padding-bottom: 4rem; }
.form label { display: grid; gap: .35rem; font-weight: 600; color: var(--ink); font-size: .95rem; }
.form .opt, .help { font-weight: 400; color: var(--muted); font-size: .82rem; }
input[type=text], input:not([type]), input[type=email], input[type=url], input[type=date], input[type=number], input[type=search], input[type=password], select, textarea {
  width: 100%; font: 400 1rem/1.4 var(--font); color: var(--text); background: var(--white); border: 1px solid #B9C4E8; border-radius: var(--r-sm); padding: .65rem .75rem; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(39,71,214,.2); }
textarea { resize: vertical; }
fieldset { border: 1px solid var(--line); border-radius: var(--r); padding: 1rem 1.2rem 1.2rem; margin: 0; background: var(--white); }
legend { font-weight: 700; color: var(--ink); padding: 0 .4rem; }
.form .check, .check { display: flex !important; gap: .55rem; align-items: center; font-weight: 400; color: var(--text); margin: .35rem 0; }
.check input { width: 18px; height: 18px; accent-color: var(--blue); }
.row2, .row3 { display: grid; gap: 1.1rem; grid-template-columns: 1fr 1fr; }
.row3 { grid-template-columns: 1fr 1fr 1fr; }
@media (max-width: 680px) { .row2, .row3 { grid-template-columns: 1fr; } }
.radio-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .5rem; }
.radio-card { display: flex !important; flex-direction: row !important; align-items: center; gap: .55rem !important; border: 1px solid var(--line); border-radius: var(--r-sm); padding: .65rem .8rem; font-weight: 500 !important; cursor: pointer; }
.radio-card:has(input:checked) { border-color: var(--blue); background: var(--panel); }
.radio-card input { accent-color: var(--blue); }

/* ---------- notices */
.notice { border-radius: var(--r-sm); padding: .85rem 1.1rem; margin: 0 0 1.25rem; border: 1px solid; }
.notice ul { margin: .25rem 0 0; padding-left: 1.2rem; }
.notice p:last-child { margin-bottom: 0; }
.notice-ok { background: #E8F5EE; border-color: #B5DCC6; color: #134D30; }
.notice-warn { background: #FFF6DE; border-color: #F1D58C; color: #5E3E00; }
.notice-err { background: #FDECEA; border-color: #F2B8B3; color: #7A1A14; }
.big-notice { padding: 2rem; margin-bottom: 4rem; }
.big-notice h2 { color: inherit; }
.flash-wrap { padding-top: 1.25rem; }

/* ---------- footer */
.footer { background: var(--ink); color: #C4CCEA; padding: 3rem 0; margin-top: 2rem; }
.footer-in { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2rem; }
.footer a { color: var(--white); }
.footer nav { display: grid; grid-template-columns: 1fr 1fr; gap: .4rem 1rem; align-content: start; }
.footer nav a { text-decoration: none; }
.footer nav a:hover { text-decoration: underline; }
.footer .muted { color: #9AA6D0; }
.footer-name { color: var(--white); font-weight: 700; font-size: 1.1rem; margin-bottom: .3rem; }
@media (max-width: 760px) { .footer-in { grid-template-columns: 1fr; } }

.split-text > .btn { align-self: flex-start; }
.event-feature > .muted { display: block; }
