/* RibbonPost public site — ribbon/serif design system (Design 7). */

:root {
  --paper: #ffffff;
  --surface: #f6f6f9;
  --surface-2: #ececf2;
  --ink: #15171e;
  --muted: #62667a;
  --line: #e6e6ee;
  --ribbon: #d61f69;
  --ribbon-deep: #a8124f;
  --ribbon-soft: #fde8f1;
  --ribbon-on-soft: #9d1049;
  --lime: #d4f57a;
  --lime-ink: #2d3a05;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Onest", system-ui, sans-serif;
  --sb-w: 272px;
  color-scheme: light;
}
[data-theme="dark"] {
  --paper: #111218;
  --surface: #1a1b23;
  --surface-2: #252731;
  --ink: #ededf2;
  --muted: #9b9eb0;
  --line: #2a2c37;
  --ribbon: #ff4f9a;
  --ribbon-deep: #ff7ab3;
  --ribbon-soft: #3b1628;
  --ribbon-on-soft: #ffb3d2;
  --lime: #c6ef6a;
  --lime-ink: #1f2903;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { min-height: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 15px/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
img { max-width: 100%; }
:focus-visible { outline: 2px solid var(--ribbon); outline-offset: 2px; border-radius: 8px; }
.ic { flex: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Ribbon announcement banner */
.banner { padding: 12px 20px 0 calc(var(--sb-w) + 28px); }
[data-bar-closed="1"] .banner { display: none; }
.ribbon-bar {
  position: relative; display: flex; align-items: center; justify-content: center; gap: 14px;
  min-height: 44px; padding: 8px 64px; background: #d61f69; color: #fff; font-weight: 500;
  clip-path: polygon(0 0, 100% 0, calc(100% - 16px) 50%, 100% 100%, 0 100%, 16px 50%);
}
.ribbon-bar .label { flex: none; font-weight: 700; }
.ribbon-bar .title { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: .95; }
.ribbon-bar a.cta-pill { flex: none; padding: 4px 14px; border-radius: 999px; background: #fff; color: var(--ribbon-deep); font-weight: 600; font-size: 14px; }
.ribbon-bar a.cta-pill:hover { background: var(--lime); color: var(--lime-ink); }
.ribbon-bar .close { position: absolute; right: 26px; top: 50%; transform: translateY(-50%); display: grid; place-items: center; padding: 4px; border: 0; border-radius: 6px; background: none; color: #fff; cursor: pointer; }
.ribbon-bar .close:hover { background: rgba(255, 255, 255, .18); }

/* Shell: sticky full-height sidebar + scrolling main */
.app-shell { display: flex; align-items: flex-start; }
.sidebar { position: sticky; top: 0; width: var(--sb-w); flex: none; height: 100vh; height: 100dvh; overflow-y: auto; background: var(--surface); display: flex; flex-direction: column; padding: 20px 14px 16px; scrollbar-width: thin; }
.banner + .app-shell .sidebar { margin-top: -56px; }
[data-bar-closed="1"] .app-shell .sidebar { margin-top: 0; }
.sb-head { display: flex; align-items: center; justify-content: space-between; padding: 0 8px 22px; }
.sb-logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; letter-spacing: -.02em; }
.sb-logo-mark { width: 30px; height: 20px; background: var(--ribbon); clip-path: polygon(0 0, 100% 0, 78% 50%, 100% 100%, 0 100%, 22% 50%); }
.round-btn { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 999px; border: 0; background: transparent; cursor: pointer; color: var(--muted); }
.round-btn:hover { background: var(--surface-2); color: var(--ink); }
[data-theme="dark"] .theme-moon, :root:not([data-theme="dark"]) .theme-sun { display: none; }
.nav-label { font-size: 13px; font-weight: 600; color: var(--muted); padding: 16px 12px 8px; }
.side-nav { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; }
.side-nav a { position: relative; display: flex; align-items: center; gap: 12px; height: 40px; padding: 0 12px; border-radius: 10px; font-weight: 500; }
.side-nav a:hover { background: var(--surface-2); }
.side-nav a .ic { color: var(--muted); }
.side-nav a[aria-current="page"] { background: var(--paper); box-shadow: 0 1px 2px rgba(21, 23, 30, .08); font-weight: 600; }
.side-nav a[aria-current="page"] .ic { color: var(--ribbon); }
.side-nav a[aria-current="page"]::before { content: ""; position: absolute; left: -14px; top: 9px; width: 8px; height: 22px; background: var(--ribbon); clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 45% 50%); }
.side-nav .label { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.count-pill { font-size: 12px; font-weight: 600; min-width: 24px; text-align: center; padding: 1px 7px; border-radius: 999px; color: var(--muted); font-variant-numeric: tabular-nums; }
.count-pill.is-new { background: var(--lime); color: var(--lime-ink); }
.side-nav a.is-empty { color: var(--muted); }
.sb-foot { margin-top: auto; padding: 20px 4px 0; }
.sb-foot .card { border-radius: 14px; padding: 16px; background: var(--paper); border: 1px solid var(--line); }
.sb-foot strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 21px; line-height: 1.15; margin-bottom: 4px; }
.sb-foot p { margin: 0; font-size: 13px; color: var(--muted); }
.sb-foot a.card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-weight: 600; font-size: 13px; color: var(--ribbon); }

.main-col { flex: 1; min-width: 0; }
.topbar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 12px; height: 72px; padding: 0 32px; background: var(--paper); border-bottom: 1px solid transparent; transition: border-color .2s; }
.topbar.is-scrolled { border-color: var(--line); }
.menu-btn { display: none; }
.site-search { position: relative; flex: 1; max-width: 560px; }
.site-search .ic { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.site-search input { width: 100%; height: 46px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); color: var(--ink); font: inherit; padding: 0 72px 0 46px; }
.site-search input::placeholder { color: var(--muted); }
.site-search input:focus { outline: none; border-color: var(--ribbon); box-shadow: 0 0 0 4px var(--ribbon-soft); }
.site-search kbd { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font: 600 12px var(--sans); color: var(--muted); border: 1px solid var(--line); border-radius: 6px; padding: 2px 7px; }
.top-actions { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.dd { position: relative; }
.dd summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 4px; padding: 10px 14px; border-radius: 10px; font-weight: 500; }
.dd summary::-webkit-details-marker { display: none; }
.dd summary:hover, .dd[open] summary { background: var(--surface); }
.dd[open] summary .ic { transform: rotate(180deg); }
.dd-menu { position: absolute; right: 0; top: calc(100% + 8px); width: 520px; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 24px 48px rgba(21, 23, 30, .14); padding: 8px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; max-width: calc(100vw - 32px); }
.dd-menu a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; font-size: 14px; font-weight: 500; }
.dd-menu a:hover { background: var(--surface); }
.dd-menu a .ic { color: var(--ribbon); }
.dd-menu a .label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dd-menu a .n { color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.text-link { padding: 10px 14px; border-radius: 10px; font-weight: 500; }
.text-link:hover { background: var(--surface); }
.cta { display: inline-flex; align-items: center; gap: 8px; height: 44px; margin-left: 6px; padding: 0 18px; border-radius: 12px; background: var(--ink); color: var(--paper); font-weight: 600; white-space: nowrap; }
.cta:hover { background: var(--ribbon); color: #fff; }

.content { padding: 20px 32px 120px; max-width: 1260px; }
.page-title { padding: 8px 0 12px; }
.page-title h1 { margin: 0 0 10px; font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 4.6vw, 54px); line-height: 1.05; letter-spacing: -.01em; }
.page-title p { margin: 0; color: var(--muted); font-size: 16px; max-width: 68ch; }
.page-title .facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.fact { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line); }
.fact b { font-weight: 700; }
.fact .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 3px color-mix(in srgb, var(--lime) 35%, transparent); }

.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; color: var(--muted); font-size: 14px; margin-bottom: 10px; }
.crumbs a:hover { color: var(--ribbon); }
.crumbs .sep { opacity: .6; }
.crumbs b { color: var(--ink); font-weight: 500; }

.sec { margin-top: 52px; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 18px; }
.sec-head h2 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 32px; line-height: 1.05; }
.sec-head p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.show-all { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); font-size: 14px; font-weight: 600; white-space: nowrap; padding: 6px 0; border-bottom: 1.5px solid var(--line); }
.show-all:hover { border-color: var(--ribbon); color: var(--ribbon); }

/* Category topic grid, with a meter for each category's share of live deals */
.topics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.topic { display: grid; grid-template-columns: auto 1fr; gap: 2px 14px; align-items: center; padding: 14px; border-radius: 14px; border: 1px solid var(--line); }
.topic:hover { border-color: var(--ribbon); }
.topic:hover .tile { background: var(--ribbon); color: #fff; }
.topic .tile { grid-row: span 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--ribbon-soft); color: var(--ribbon-on-soft); }
.topic strong { font-weight: 600; font-size: 15px; line-height: 1.25; }
.topic .meter-row { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.meter { flex: 1; height: 4px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.meter i { display: block; height: 100%; border-radius: inherit; background: var(--ribbon); }
.topic.is-empty { border-style: dashed; }
.topic.is-empty .tile { background: var(--surface); color: var(--muted); }
.topic.is-empty strong { color: var(--muted); }

.brand-strip { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.brand-strip::-webkit-scrollbar { display: none; }
.brand-chip { display: flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 999px; border: 1px solid var(--line); font-weight: 600; white-space: nowrap; }
.brand-chip:hover { border-color: var(--ink); }
.brand-chip .bl { width: 32px; height: 32px; border-radius: 999px; display: grid; place-items: center; overflow: hidden; background: var(--ink); color: var(--paper); font-weight: 700; font-size: 14px; }
.brand-chip .bl img { width: 100%; height: 100%; object-fit: cover; }

.lg { flex: none; width: 52px; height: 52px; border-radius: 14px; overflow: hidden; display: grid; place-items: center; background: var(--surface-2); font-weight: 700; font-size: 20px; color: var(--ink); }
.lg img { width: 100%; height: 100%; object-fit: cover; }

/* New-arrivals two-up cards */
.arrivals { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.arrival { display: flex; gap: 16px; padding: 18px; border-radius: 16px; background: var(--surface); align-items: flex-start; }
.arrival:hover { background: var(--surface-2); }
.arrival .body { flex: 1; min-width: 0; }
.deal-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; font-size: 13px; color: var(--muted); }
.deal-meta b { color: var(--ink); font-weight: 600; }
.deal-meta a:hover { color: var(--ribbon); }
.fresh-badge { font-size: 11.5px; font-weight: 700; padding: 1px 8px; border-radius: 999px; background: var(--lime); color: var(--lime-ink); }
.arrival h3 { margin: 6px 0 12px; font-size: 17px; font-weight: 600; line-height: 1.35; }

/* Offer value as a notched ribbon label */
.value { display: inline-block; max-width: 100%; font-size: 12.5px; font-weight: 700; padding: 4px 16px 4px 10px; background: var(--ribbon-soft); color: var(--ribbon-on-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 50%, 100% 100%, 0 100%); border-radius: 4px 0 0 4px; }
.badge-free.value, .badge-student.value { background: var(--surface-2); color: var(--ink); }

/* Horizontally scrolling picks */
.carousel-wrap { position: relative; }
.carousel { display: grid; grid-auto-flow: column; grid-auto-columns: 256px; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding-bottom: 6px; scrollbar-width: none; }
.carousel::-webkit-scrollbar { display: none; }
.pick { scroll-snap-align: start; display: flex; flex-direction: column; min-height: 232px; padding: 18px; border-radius: 16px; border: 1px solid var(--line); background: var(--paper); }
.pick:hover { border-color: var(--ribbon); }
.pick-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; margin-bottom: 16px; }
.pick .lg { width: 42px; height: 42px; font-size: 17px; border-radius: 12px; }
.pick .brandname { font-size: 13px; font-weight: 600; color: var(--muted); }
.pick h3 { margin: 2px 0 0; font-size: 16px; font-weight: 600; line-height: 1.35; flex: 1; }
.pick-foot { display: flex; justify-content: space-between; gap: 8px; margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.pick-foot .kind { color: var(--ink); font-weight: 600; }
.arrows { display: flex; gap: 6px; }
.arrows button { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); cursor: pointer; }
.arrows button:hover:not(:disabled) { border-color: var(--ink); }
.arrows button:disabled { opacity: .35; cursor: default; }

/* Filter/sort pills */
.sorts { display: inline-flex; padding: 4px; gap: 2px; border-radius: 12px; background: var(--surface); flex-wrap: wrap; }
.sorts a { padding: 6px 14px; border-radius: 9px; font-size: 14px; font-weight: 600; color: var(--muted); }
.sorts a[aria-current="page"] { background: var(--paper); color: var(--ink); box-shadow: 0 1px 2px rgba(21, 23, 30, .1); }
.sorts a:not([aria-current]):hover { color: var(--ink); }

/* Deal rows (search results, category/brand/tag listings, "more recent") */
.deal-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.deal-row { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 4px 20px; padding: 20px 4px; border-bottom: 1px solid var(--line); }
.deal-row .lg { grid-row: span 3; }
.deal-row .deal-meta { grid-column: 2; }
.deal-row h3 { margin: 0; font-size: 17px; font-weight: 600; line-height: 1.35; grid-column: 2; }
.deal-row h3 a:hover { color: var(--ribbon); }
.deal-row p { grid-column: 2; margin: 2px 0 0; color: var(--muted); font-size: 14px; max-width: 90ch; }
.deal-row .value { grid-column: 3; grid-row: 1 / span 3; align-self: center; max-width: 220px; }
.empty { padding: 40px; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: 16px; }
.scrim { display: none; }

/* Filter toolbar (search page) */
.toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; padding: 18px; margin-bottom: 8px; background: var(--surface); border-radius: 16px; }
.toolbar .field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--muted); min-width: 150px; flex: 1; }
.toolbar .field.grow { flex: 2; min-width: 220px; }
.toolbar input, .toolbar select { font: inherit; font-size: 14px; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; height: 42px; }
.toolbar input:focus, .toolbar select:focus { outline: none; border-color: var(--ribbon); box-shadow: 0 0 0 3px var(--ribbon-soft); }
.toolbar button { flex: none; height: 42px; padding: 0 22px; border: 0; border-radius: 10px; background: var(--ink); color: var(--paper); font-weight: 600; cursor: pointer; }
.toolbar button:hover { background: var(--ribbon); }
.result-count { color: var(--muted); font-size: 14px; margin: 18px 2px 6px; }

/* Deal detail page */
.deal-hero { display: flex; gap: 20px; align-items: flex-start; margin-bottom: 8px; flex-wrap: wrap; }
.deal-hero .lg { width: 68px; height: 68px; border-radius: 18px; font-size: 26px; }
.deal-hero h1 { margin: 0 0 10px; font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 4.4vw, 46px); line-height: 1.08; }
.deal-hero .deal-meta { margin-bottom: 10px; }
.deal-values { display: flex; flex-wrap: wrap; gap: 8px; }
.deal-values .value { clip-path: none; border-radius: 999px; padding: 5px 14px; }
.deal-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; margin-top: 32px; align-items: start; }
.deal-lede { font-size: 17px; color: var(--muted); margin: 0 0 20px; }
.deal-body { font-size: 15.5px; line-height: 1.7; }
.deal-body :where(p, ul, ol, dl, table) { margin: 0 0 16px; }
.deal-body h2, .deal-body h3, .deal-body h4 { font-family: var(--serif); font-weight: 400; margin: 32px 0 12px; line-height: 1.2; }
.deal-body h2 { font-size: 26px; }
.deal-body h3 { font-size: 21px; }
.deal-body h4 { font-size: 18px; }
.deal-body a { color: var(--ribbon-deep); text-decoration: underline; text-underline-offset: 2px; }
.deal-body ul, .deal-body ol { padding-left: 22px; }
.deal-body li { margin-bottom: 6px; }
.deal-body dt { font-weight: 600; margin-top: 10px; }
.deal-body dd { margin: 4px 0 0; color: var(--muted); }
.deal-body figure { margin: 0 0 16px; }
.deal-body img { border-radius: 12px; border: 1px solid var(--line); }
.deal-body table { border-collapse: collapse; width: 100%; }
.deal-body th, .deal-body td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.deal-side { position: sticky; top: 92px; display: flex; flex-direction: column; gap: 16px; }
.deal-side .card { border: 1px solid var(--line); border-radius: 16px; padding: 20px; background: var(--surface); }
.deal-side .cta-block { display: block; text-align: center; height: 48px; line-height: 48px; border-radius: 12px; background: var(--ink); color: var(--paper); font-weight: 600; margin-bottom: 16px; }
.deal-side .cta-block:hover { background: var(--ribbon); color: #fff; }
.meta-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.meta-list li { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; padding-top: 10px; border-top: 1px solid var(--line); }
.meta-list li:first-child { border-top: 0; padding-top: 0; }
.meta-list dt, .meta-list .k { color: var(--muted); }
.meta-list dd, .meta-list .v { margin: 0; font-weight: 600; text-align: right; }
.tag-pills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 24px; }
.tag-pills a { font-size: 13px; font-weight: 600; padding: 5px 12px; border-radius: 999px; background: var(--surface); }
.tag-pills a:hover { background: var(--ribbon-soft); color: var(--ribbon-on-soft); }

.page-empty { padding: 90px 20px; text-align: center; }
.page-empty h1 { font-family: var(--serif); font-weight: 400; font-size: 40px; margin: 0 0 12px; }
.page-empty p { color: var(--muted); margin: 0 0 24px; }

.site-footer-mini { padding: 40px 32px 60px; color: var(--muted); font-size: 13px; border-top: 1px solid var(--line); margin-top: 20px; }
.site-footer-mini a:hover { color: var(--ribbon); }

@media (max-width: 1200px) { .topics { grid-template-columns: repeat(3, minmax(0, 1fr)); } .top-actions .text-link { display: none; } .deal-layout { grid-template-columns: 1fr; } .deal-side { position: static; } }
@media (max-width: 960px) {
  .banner { padding: 10px 12px 0; }
  .banner + .app-shell .sidebar { margin-top: 0; }
  .sidebar { position: fixed; z-index: 60; top: 0; left: 0; transform: translateX(-100%); transition: transform .2s ease; }
  .nav-open .sidebar { transform: none; box-shadow: 0 0 40px rgba(0, 0, 0, .25); }
  .nav-open .scrim { display: block; position: fixed; inset: 0; z-index: 50; background: rgba(10, 11, 16, .45); }
  .menu-btn { display: grid; }
  .arrivals { grid-template-columns: 1fr; }
  .topics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dd { display: none; }
}
@media (max-width: 640px) {
  .topbar { padding: 0 14px; gap: 8px; height: 64px; }
  .content { padding: 8px 14px 110px; }
  .cta span, .site-search kbd { display: none; }
  .cta { width: 44px; padding: 0; justify-content: center; margin-left: 0; }
  .ribbon-bar { padding: 8px 44px 8px 30px; justify-content: flex-start; font-size: 14px; }
  .ribbon-bar .title { flex: 1 1 0%; }
  .ribbon-bar .label { display: none; }
  .ribbon-bar .close { right: 20px; }
  .sec-head h2 { font-size: 27px; }
  .sec-head .arrows { display: none; }
  .topic { grid-template-columns: 1fr; gap: 8px; }
  .topic .tile { grid-row: auto; width: 40px; height: 40px; }
  .deal-row { grid-template-columns: 44px minmax(0, 1fr); gap: 4px 14px; }
  .deal-row .lg { width: 44px; height: 44px; grid-row: span 4; }
  .deal-row .value { grid-column: 2; grid-row: auto; justify-self: start; margin-top: 6px; }
  .deal-row p { grid-column: 2; }
  .toolbar { flex-direction: column; align-items: stretch; }
  .toolbar .field { min-width: 0; }
  .deal-hero .lg { width: 56px; height: 56px; }
}
@media (max-width: 420px) { .topics { grid-template-columns: 1fr; } .topic { grid-template-columns: auto 1fr; } .topic .tile { grid-row: span 2; } }
@media (prefers-reduced-motion: reduce) { .sidebar, .topbar { transition: none; } .carousel { scroll-behavior: auto; } }
