/* MadRobot — layout and type measured against 9to5mac.com (Sept 2026) */

:root {
  --c-primary: #8b1a1a;
  --c-secondary: #d62f2f;
  --c-tertiary: #f3a5a0;
  --c-black: #000;
  --c-black-alt: #2e2d2d;
  --c-black-alt-darker: #121212;
  --c-gray-xlight: #ebebeb;
  --c-gray: #d9d9d9;
  --c-gray-dark: #939598;
  --c-white: #fff;
  --c-white-alt: #fbf9f9;

  --bg: var(--c-white);
  --text: var(--c-black);
  --link: var(--c-primary);
  --rule: var(--c-gray);
  --panel: #f7f5f5;
  --pod-bg: #f7eeee;
  --pod-ink: #3e1d1d;
  --header-bg: var(--c-white);
  --grad: linear-gradient(90deg, var(--c-tertiary) 0, var(--c-secondary) 100%);

  --font: proxima-nova, 'Figtree', -apple-system, BlinkMacSystemFont, helvetica, arial, sans-serif;
  --fs-52: 3.25rem; --fs-38: 2.375rem; --fs-32: 2rem; --fs-29: 1.8125rem; --fs-26: 1.625rem;
  --fs-24: 1.5rem; --fs-22: 1.375rem; --fs-20: 1.25rem; --fs-18: 1.125rem; --fs-16: 1rem;
  --fs-14: 0.875rem; --fs-12: 0.75rem;

  --gutter: 16px;
  --maxw: 1248px;
}
@media (min-width: 48em) { :root { --gutter: 32px; } }

html.darkmode--activated {
  --bg: var(--c-black-alt-darker);
  --text: var(--c-white);
  --link: var(--c-secondary);
  --rule: #3a3a3a;
  --panel: #1e1e1e;
  --pod-bg: #2e1f1f;
  --pod-ink: #d62f2f;
  --header-bg: #1a1a1a;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font); font-size: var(--fs-18); line-height: 1.5; font-weight: 400;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); font-weight: 600; text-decoration: none; }
a:hover { color: var(--c-secondary); }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.1; }
p, ul, ol, figure, blockquote { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul { padding: 0; list-style: none; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 0; z-index: 1000; background: var(--c-primary); color: #fff; padding: 8px 16px; }
.skip-link:focus { left: 8px; }
.wrap { width: 100%; max-width: calc(var(--maxw) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.icon { flex: none; }
.h1 { font-size: var(--fs-26); }
@media (min-width: 48em) { .h1 { font-size: var(--fs-38); } }

@media (max-width: 47.99em) { .hide-sm { display: none !important; } }
@media (min-width: 48em) { .show-sm { display: none !important; } }
@media (min-width: 60em) { .hide-lg { display: none !important; } }

/* ---------- logo ---------- */
.logo { display: inline-flex; align-items: center; font-family: 'Jost', var(--font); font-weight: 400; font-size: 29px; line-height: 1; letter-spacing: -0.2px; white-space: nowrap; }
.logo__a { color: var(--c-primary); display: inline-flex; align-items: baseline; }
.logo__b { color: var(--c-secondary); }
.logo__mark { width: 1.2em; height: 1.2em; margin-right: 0.28em; flex: none; --bot-head: var(--c-primary); }
.logo__mark .bot-bolt { fill: var(--c-secondary); }
.logo__mark .bot-head { fill: var(--bot-head); }
.logo__mark .bot-eye { fill: var(--c-tertiary); }
.logo__mark .bot-brow { stroke: #fff; stroke-width: 2.6; stroke-linecap: round; }
.logo__mark .bot-teeth { fill: #fff; }
.logo__mark .bot-gaps { stroke: var(--bot-head); stroke-width: 1.2; }
/* The navy head disappears on dark backgrounds, so lift it a shade there. */
html.darkmode--activated .logo__mark, .logo--light .logo__mark { --bot-head: #b52a2a; }
.logo--sm { font-size: 22px; vertical-align: -1px; }
.logo--light .logo__a { color: #fff; }
html.darkmode--activated .logo__a { color: #fff; }

/* ---------- header ---------- */
.header-top { position: sticky; top: 0; z-index: 101; background: var(--header-bg); box-shadow: 0 2px 10px rgba(0, 0, 0, .1); }
.site-header { display: contents; }
.header-top__inner { display: flex; align-items: center; justify-content: space-between; height: 48px; }
@media (min-width: 48em) { .header-top__inner { height: 66px; } }
.header-left { display: flex; align-items: center; gap: 4px; }
.header-logo { display: flex; margin-left: -8px; padding: 4px 8px; color: inherit; }
.header-right { display: flex; align-items: center; gap: 12px; margin-right: -4px; }
.hdr-icon { width: 30px; height: 30px; display: grid; place-items: center; color: var(--text); }
.hdr-icon:hover { color: var(--c-secondary); }
.search-toggle .icon-close { display: none; }
.search-toggle[aria-expanded="true"] > .icon { display: none; }
.search-toggle[aria-expanded="true"] .icon-close { display: grid; }

.header-search { position: relative; display: none; }
.header-search.is-open { display: block; }
.header-search input {
  width: 260px; font: inherit; font-size: var(--fs-16); color: var(--text); background: var(--bg);
  border: 2px solid; border-image: var(--grad) 1; padding: 6px 10px; outline: 0;
}
.search-results { position: absolute; right: 0; top: calc(100% + 8px); width: 380px; background: var(--bg); box-shadow: 0 8px 24px rgba(0,0,0,.15); max-height: 70vh; overflow: auto; }
.search-results a { display: flex; gap: 12px; padding: 12px; color: var(--text); font-size: var(--fs-14); line-height: 1.25; border-bottom: 1px solid var(--rule); }
.search-results a:hover { background: var(--panel); }
.search-results img { width: 80px; height: 40px; object-fit: cover; }
.search-results small { display: block; font-weight: 400; color: var(--c-gray-dark); margin-top: 4px; }
.search-results .empty { padding: 12px; font-size: var(--fs-14); }
.search-results .search-all { display: block; padding: 12px; font-weight: 600; color: var(--link); border-bottom: 0; }
mark { background: #ffe0dc; color: inherit; padding: 0 1px; }
html.darkmode--activated mark { background: #5a1f1f; }
.search-page__form { display: flex; margin-top: 32px; }
.search-page__form input { flex: 1; min-width: 0; font: inherit; font-size: var(--fs-18); color: var(--text); background: transparent; border: 2px solid; border-image: var(--grad) 1; border-right: 0; padding: 10px 14px; outline: 0; }
.search-page__count { margin-top: 20px; font-size: var(--fs-16); color: var(--c-gray-dark); }
.search-page__results { margin-top: 8px; }
.search-page__results > li + li { margin-top: 24px; border-top: 1px solid var(--rule); padding-top: 8px; }
.search-page__snippet { font-size: var(--fs-16); line-height: 1.5; margin-top: 8px; }
.search-page__tags { margin-left: 12px; text-transform: uppercase; letter-spacing: 1px; font-weight: 600; font-size: var(--fs-12); }
@media (min-width: 48em) { .search-page .feature.sidebar .article__image { flex-basis: 180px; margin-right: 24px; } .search-page .feature.sidebar h3 { font-size: var(--fs-20); } }
@media (max-width: 47.99em) {
  .header-search.is-open { position: absolute; left: 0; right: 0; top: 48px; background: var(--header-bg); padding: 8px var(--gutter) 12px; box-shadow: 0 6px 10px rgba(0,0,0,.08); }
  .header-search input { width: 100%; }
  .search-results { position: static; width: auto; box-shadow: none; }
}


.main-menu-toggle { display: none; width: 30px; height: 30px; position: relative; margin-right: 8px; }
.burger, .burger::before, .burger::after { position: absolute; left: 4px; width: 22px; height: 2px; background: var(--text); transition: transform .2s, opacity .2s; }
.burger { top: 14px; }
.burger::before, .burger::after { content: ''; left: 0; }
.burger::before { top: -7px; }
.burger::after { top: 7px; }
.main-menu-toggle[aria-expanded="true"] .burger { background: transparent; }
.main-menu-toggle[aria-expanded="true"] .burger::before { transform: translateY(7px) rotate(45deg); }
.main-menu-toggle[aria-expanded="true"] .burger::after { transform: translateY(-7px) rotate(-45deg); }

.header-bottom { background: var(--c-primary); position: relative; z-index: 99; }
.primary-menu { display: flex; flex-wrap: wrap; margin-left: -16px; }
.primary-menu > li { position: relative; }
.primary-menu > li > a, .primary-menu > li > .menu-item-button {
  display: flex; align-items: center; gap: 8px; padding: 16px; font-size: var(--fs-14); font-weight: 400; line-height: 21px; color: #fff;
  background: linear-gradient(180deg, hsla(0, 0%, 100%, .1) 50%, transparent 0) 100%; background-size: 100% 200%; background-position: bottom; transition: background-position .25s;
}
.primary-menu > li:hover > a, .primary-menu > li:hover > .menu-item-button, .primary-menu > li > [aria-expanded="true"] { background-position: top; color: #fff; }
.menu-item-button .icon { width: 10px; height: 10px; stroke-width: 3; transition: transform .2s; }
.menu-item-button[aria-expanded="true"] .icon { transform: rotate(180deg); }
.sub-menu { position: absolute; left: 0; top: 100%; min-width: 200px; background: var(--c-primary); padding: 8px 0; display: none; box-shadow: 0 8px 16px rgba(0,0,0,.15); }
.has-children:hover .sub-menu, .has-children:focus-within .sub-menu, .menu-item-button[aria-expanded="true"] + .sub-menu { display: block; }
.sub-menu a { display: block; padding: 8px 16px; color: #fff; font-size: var(--fs-14); font-weight: 400; }
.sub-menu a:hover { background: hsla(0, 0%, 100%, .1); color: #fff; }

/* Below ~1140px the 12 menus no longer fit on one row, so switch to the slide-out menu. */
@media (min-width: 71.25em) and (max-width: 79.99em) {
  .primary-menu { margin-left: -11px; }
  .primary-menu > li > a, .primary-menu > li > .menu-item-button { padding: 16px 11px; gap: 6px; }
}
@media (max-width: 71.24em) {
  .main-menu-toggle { display: block; }
  .header-left { gap: 0; }
  .header-bottom { display: none; }
  .header-bottom.is-open { display: block; position: fixed; top: 66px; left: 0; right: 0; bottom: 0; overflow: auto; }
  .primary-menu { flex-direction: column; flex-wrap: nowrap; margin: 0 calc(var(--gutter) * -1); }
  .primary-menu > li > a, .primary-menu > li > .menu-item-button { width: 100%; justify-content: space-between; font-size: var(--fs-18); padding: 16px var(--gutter); border-bottom: 1px solid hsla(0,0%,100%,.12); }
  .sub-menu { position: static; box-shadow: none; background: rgba(0,0,0,.15); }
  .has-children:hover .sub-menu, .has-children:focus-within .sub-menu { display: none; }
  .menu-item-button[aria-expanded="true"] + .sub-menu { display: block; }
  .sub-menu a { padding: 12px calc(var(--gutter) + 16px); font-size: var(--fs-16); }
}
@media (max-width: 47.99em) {
  .logo { font-size: 24px; }
  .header-bottom.is-open { top: 48px; }
}

/* ---------- section titles ("Featured", "Latest"…) ---------- */
.attr-title {
  display: flex; align-items: center; position: relative; isolation: isolate;
  font-size: var(--fs-38); line-height: 1.1; font-weight: 700; color: var(--text); margin-top: 2rem;
}
@media (min-width: 48em) { .attr-title { font-size: var(--fs-52); margin-top: 3rem; } }
.attr-title::before {
  content: attr(data-title); position: absolute; top: 2px; left: -2px; z-index: -1; width: 100%; max-width: calc(100% - 4px); height: 100%;
  color: var(--bg); -webkit-text-fill-color: var(--bg); -webkit-text-stroke: 1px var(--text); white-space: nowrap; overflow: hidden;
}
.attr-title::after { content: ''; flex: 1 1 0%; height: 2px; margin-left: .5rem; background: var(--grad); min-width: 24px; }

/* ---------- the offset gradient frame behind images ---------- */
.img-border { display: block; position: relative; isolation: isolate; line-height: 0; margin: 1em 0 1em .5rem; }
.img-border::before {
  content: ''; position: absolute; left: -8px; top: 8px; width: 100%; height: 100%; z-index: -1;
  border: 2px solid; border-image: var(--grad) 1;
}
@media (min-width: 48em) {
  .img-border { margin-left: 1rem; }
  .img-border::before { left: -16px; top: 16px; }
}
.img-border img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }

/* ---------- article meta ---------- */
.article__meta-guides { display: flex; flex-wrap: wrap; column-gap: 20px; font-size: var(--fs-14); font-weight: 600; line-height: 21px; letter-spacing: 1px; text-transform: uppercase; }
.article__meta-guides.center { justify-content: center; }
.article__meta-guides a { color: var(--text); }
.article__meta-guides a:hover { color: var(--c-secondary); }

.post-meta { display: flex; flex-wrap: wrap; align-items: center; font-size: var(--fs-14); line-height: 21px; margin-top: 14px; }
.post-meta .avatar { width: 18px; height: 18px; border-radius: 50%; margin-right: 4px; }
.post-meta .author__image-link { display: flex; }
.author__link a, .author-name a { font-weight: 600; }
.meta__post-date { margin-left: 8px; }
.meta__post-date::before { content: '|'; margin-right: 8px; }
.article__title-link { color: var(--text); font-weight: 700; }
.article__title-link:hover { color: var(--text); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* ---------- homepage featured grid ---------- */
.featured-grid { margin-top: 1.5rem; }
@media (min-width: 60em) {
  .featured-grid { display: grid; grid-template-columns: minmax(0, 711fr) minmax(0, 480fr); column-gap: 53px; margin-top: 48px; }
}
.feature-large .img-border { margin: 0 0 18px 16px; }
.feature-large .article__meta-guides { margin-top: 32px; }
.feature-large h2 { text-align: center; margin-top: 8px; }
.feature-large .post-meta { justify-content: center; }

.featured-head { display: flex; align-items: center; }
.featured-head .attr-title { flex: 1; margin-top: 0; }
.featured-grid .attr-title { margin-top: -9px; margin-bottom: 2rem; }
@media (min-width: 48em) and (max-width: 59.99em) { .featured-grid .attr-title { margin-top: 2rem; } }

.feature.sidebar { display: flex; align-items: flex-start; padding-top: 16px; position: relative; }
.feature.sidebar .article__image { flex: 0 0 140px; margin-right: 16px; line-height: 0; }
.feature.sidebar .article__image img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
.feature.sidebar h3 { font-size: var(--fs-16); line-height: 1.2; }
.feature.sidebar .post-meta { margin-top: 10px; font-size: var(--fs-12); line-height: 18px; }
.feature.sidebar .post-meta .avatar { width: 16px; height: 16px; }
.is-clickable-card .article__title-link::after { content: ''; position: absolute; inset: 0; }
.is-clickable-card .post-meta a { position: relative; z-index: 1; }
.featured-items__list > li + li { margin-top: 24px; }
@media (min-width: 60em) { .featured-items__list > li.hide-lg + li { margin-top: 0; } }
@media (min-width: 80em) {
  .featured-grid .feature.sidebar .article__image { flex-basis: 180px; margin-right: 24px; }
  .feature.sidebar .article__image { flex-basis: 140px; margin-right: 24px; }
  .featured-grid .feature.sidebar h3 { font-size: var(--fs-18); }
  .featured-grid .feature.sidebar .post-meta { margin-top: 14px; font-size: var(--fs-14); line-height: 21px; }
  .featured-grid .feature.sidebar .post-meta .avatar { width: 18px; height: 18px; }
}

@media (max-width: 47.99em) {
  .featured-grid--solo { background: none; padding-bottom: 0; }
  .featured-grid--solo .feature-large .img-border { margin: 0 0 18px 8px; }
  .featured-grid--solo .feature-large .article__meta-guides { margin-top: 24px; }
  .featured-grid--solo .featured-grid__widgets .widget .attr-title { margin-top: 48px; margin-bottom: 1.5rem; }
}
.archive-empty { margin-top: 32px; }
.featured-grid__widgets .widget + .widget .attr-title { margin-top: 48px; }

/* mobile: featured becomes a swipeable carousel on a tinted band */
@media (max-width: 47.99em) {
  .featured-grid { background: var(--c-white-alt); padding-top: 16px; padding-bottom: 32px; margin-top: 0; }
  html.darkmode--activated .featured-grid { background: var(--panel); }
  .featured-grid .attr-title { margin: 0 0 12px; }
  .carousel-arrows { display: flex; gap: 12px; position: absolute; right: var(--gutter); margin-top: 84px; color: var(--c-secondary); }
  .featured-head { position: relative; flex-wrap: wrap; }
  .carousel-arrows { position: static; width: 100%; justify-content: flex-end; margin: 0 0 8px; }
  .carousel-arrows button { color: var(--c-tertiary); }
  .carousel-arrows button:not(:disabled) { color: var(--c-secondary); }
  .featured-grid .featured-items__list { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; margin-right: calc(var(--gutter) * -1); padding-right: var(--gutter); scrollbar-width: none; }
  .featured-grid .featured-items__list::-webkit-scrollbar { display: none; }
  .featured-grid .featured-items__list > li { flex: 0 0 82%; margin: 0; scroll-snap-align: start; }
  .featured-grid .hide-lg { display: block !important; }
  .featured-grid .feature.sidebar { flex-direction: column; padding: 0; }
  .featured-grid .feature.sidebar .article__image { flex: none; width: 100%; margin: 0 0 8px; }
  .featured-grid .feature.sidebar h3 { font-size: var(--fs-18); }
  .featured-grid .feature.sidebar .post-meta { font-size: var(--fs-14); }
}

/* ---------- banner ---------- */
.featured-banner {
  position: relative; isolation: isolate; margin-top: 32px; padding: 32px; min-height: 175px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  background: var(--banner-img) center 40% / cover no-repeat;
}
.featured-banner::after { content: ''; position: absolute; inset: 0; background: #000; opacity: .55; z-index: -1; }
.featured-banner__title { color: #fff; font-size: var(--fs-22); line-height: 1.2; }
@media (min-width: 48em) { .featured-banner__title { font-size: var(--fs-26); } }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-size: var(--fs-16); font-weight: 600; line-height: 24px; letter-spacing: 1px;
  color: #fff; background: var(--c-primary); border: 2px solid var(--c-primary); padding: 12px 24px; cursor: pointer;
}
.btn:hover { background: var(--c-secondary); border-color: var(--c-secondary); color: #fff; }
.btn--banner { margin-top: 16px; padding: 16px 32px; }
.btn--outline { background: transparent; color: var(--text); border: 2px solid; border-image: var(--grad) 1; }
.btn--outline:hover { background: transparent; color: var(--c-secondary); }

/* ---------- river (Latest) ---------- */
.river { margin-top: 0; }
@media (min-width: 60em) {
  .river { display: grid; grid-template-columns: minmax(0, 786fr) minmax(0, 414fr); column-gap: 48px; align-items: start; }
  .sidebar { padding: 0 7px; }
}
.river__posts > .attr-title { margin-top: 48px; }
.article.standard { padding-top: 32px; margin-bottom: 48px; }
.article.standard + .article.standard, .river__more > .article.standard:first-child, .river__more + .load-more { border-top: 1px solid var(--rule); }
.river__more .article.standard + .article.standard { border-top: 1px solid var(--rule); }
.article.standard .article__meta-guides + h2 { margin-top: 16px; }
.article.standard > h2:first-child, .article.standard > .article__meta-guides:first-child { margin-top: 16px; }
.article.standard > .article__meta-guides:first-child + h2 { margin-top: 16px; }
.article.standard .img-border:not(.sm) { margin: 18px 0 18px .5rem; }
@media (min-width: 48em) { .article.standard .img-border:not(.sm) { margin: 18px 0 18px 1rem; } }
.article.standard .img-border.sm { float: left; width: calc(45% - 16px); margin: 16px 24px 16px 16px; }
@media (max-width: 47.99em) { .article.standard .img-border.sm { float: none; width: auto; margin: 16px 0 24px 8px; } }
.article.standard.has-float .article__meta-guides { margin-top: 16px; }
.article.standard.has-float .h1 { font-size: var(--fs-24); line-height: 1.1; }
.article.standard.has-float .article__excerpt { clear: none; }
.article.standard.has-float::after { content: ''; display: table; clear: both; }

.article__excerpt { margin-top: 0; }
.article__excerpt p, .entry p { margin-top: 18px; }
.article__excerpt > p:first-child { margin-top: 36px; }
.has-float .article__excerpt > p:first-child { margin-top: 16px; }
.article__rest { overflow: hidden; }
.more-link {
  display: flex; flex-direction: column; align-items: center; margin: 32px auto 0; clear: both;
  font-size: var(--fs-12); font-weight: 600; line-height: 18px; text-transform: uppercase; color: var(--text);
}
.more-link .icon { color: var(--c-primary); }
html.darkmode--activated .more-link .icon { color: var(--c-secondary); }
.more-link span { margin-top: .25rem; }
.more-link .close, .more-link .icon-minus { display: none; }
.more-link[aria-expanded="true"] .open, .more-link[aria-expanded="true"] .icon-plus { display: none; }
.more-link[aria-expanded="true"] .close, .more-link[aria-expanded="true"] .icon-minus { display: block; }
.more-link:hover { color: var(--c-secondary); }
.load-more { display: flex; margin: 0 auto 48px; }
.river__more + .load-more { border-top: 2px solid; }

/* ---------- body copy ---------- */
.entry h2 { font-size: var(--fs-24); line-height: 1.1; margin-top: 29px; }
@media (min-width: 48em) { .entry h2 { font-size: var(--fs-29); } }
.article__rest h2 { font-size: var(--fs-24); margin-top: 29px; }
.entry h4 { font-size: var(--fs-22); margin-top: 29px; font-weight: 400; }
.entry ul, .article__rest ul { list-style: disc; padding-left: 40px; margin-top: 18px; }
.entry li, .article__rest li { margin-top: 18px; padding-left: 0; }
.entry li::marker, .article__rest li::marker { color: var(--c-primary); }
blockquote { position: relative; padding: 4px 0 4px 24px; margin-top: 29px; font-size: var(--fs-20); line-height: 1.45; font-style: italic; }
blockquote::before { content: ''; position: absolute; left: 0; top: 0; width: 2px; height: 100%; background: linear-gradient(to bottom, var(--c-tertiary) 0, var(--c-secondary) 100%); }
blockquote p { margin-top: 0 !important; }
blockquote cite { display: block; margin-top: 10px; font-size: var(--fs-14); font-style: normal; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }
blockquote cite::before { content: '— '; }

/* ---------- sidebar widgets ---------- */
.sidebar .widget:first-child .attr-title { margin-top: 48px; }
@media (min-width: 60em) { .river--single .sidebar .widget:first-child .attr-title { margin-top: -8px; } }
.sidebar .attr-title { margin-bottom: 2rem; }

.poll { background: var(--c-white-alt); padding: 24px; }
html.darkmode--activated .poll { background: var(--panel); }
.poll__q { font-size: var(--fs-18); line-height: 1.5; margin-bottom: 16px; }
.poll__options li + li { margin-top: 6px; }
.poll__options label { display: grid; grid-template-columns: 20px 1fr auto; align-items: center; column-gap: 12px; font-size: var(--fs-16); font-weight: 600; line-height: 24px; cursor: pointer; }
.poll__options input { position: absolute; opacity: 0; pointer-events: none; }
.poll__radio { width: 20px; height: 20px; border: 1.5px solid var(--text); border-radius: 50%; display: grid; place-items: center; }
.poll__options input:checked + .poll__radio::after { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--c-primary); }
.poll__options input:focus-visible + .poll__radio { outline: 2px solid var(--c-secondary); outline-offset: 2px; }
.poll__bar, .poll__pct { display: none; }
.poll.is-voted label { grid-template-columns: 1fr auto; cursor: default; }
.poll.is-voted .poll__radio { display: none; }
.poll.is-voted .poll__bar { display: block; grid-column: 1 / -1; height: 6px; background: var(--c-gray-xlight); margin: 4px 0 8px; }
html.darkmode--activated .poll.is-voted .poll__bar { background: #333; }
.poll.is-voted .poll__bar span { display: block; height: 100%; width: 0; background: var(--grad); transition: width .6s ease; }
.poll.is-voted .poll__pct { display: block; grid-row: 1; grid-column: 2; font-weight: 400; font-size: var(--fs-14); }
.poll.is-voted .is-mine .poll__label::after { content: ' ✓'; color: var(--c-secondary); }
.poll__status { font-size: var(--fs-14); color: var(--c-gray-dark); margin-top: 16px; min-height: 21px; }
.poll__status:empty { display: none; }
.poll__footer { display: flex; justify-content: flex-end; align-items: center; gap: 14px; margin-top: 24px; font-size: var(--fs-16); font-weight: 600; }
.poll__submit { display: inline-flex; align-items: center; gap: 6px; color: var(--link); font-weight: 600; }
.poll__submit:disabled { color: var(--c-gray-dark); cursor: default; }
.poll__story { display: inline-flex; align-items: center; gap: 6px; }

.newsletter p { font-size: var(--fs-16); line-height: 1.5; }
.newsletter__form { display: flex; margin-top: 16px; }
.newsletter__form input { flex: 1; min-width: 0; font: inherit; font-size: var(--fs-16); color: var(--text); background: transparent; border: 2px solid; border-image: linear-gradient(90deg, var(--c-primary), var(--c-primary)) 1; border-right: 0; padding: 10px 12px; outline: 0; }
.newsletter__form input:focus { border-image: var(--grad) 1; }
.newsletter__form .btn { padding: 10px 18px; font-size: var(--fs-14); }
.newsletter__done { margin-top: 16px; font-weight: 600; color: var(--link); }

.pod__list { display: grid; gap: 8px; }
.pod { display: flex; align-items: center; gap: 8px; background: var(--pod-bg); border-radius: 8px; padding: 4px 12px 4px 4px; }
.pod__art { flex: 0 0 56px; height: 56px; border-radius: 4px; background: radial-gradient(circle at 80% 90%, var(--c-tertiary) 0, transparent 38%), linear-gradient(135deg, #450e0e 0, var(--c-primary) 55%, var(--c-secondary) 100%); display: grid; place-items: center; overflow: hidden; }
.pod__art--alt { background: radial-gradient(circle at 20% 15%, #ff9a6a 0, transparent 40%), linear-gradient(135deg, #2b1a3d 0, #5b2c6f 60%, #c85a5a 100%); }
.pod__art span { color: #fff; font: 700 6.5px/1.2 var(--font); letter-spacing: .6px; text-align: center; opacity: .9; }
.pod__art--lg { flex-basis: 88px; height: 88px; }
.pod__art--lg span { font-size: 10px; letter-spacing: 1.5px; }
.pod__body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.pod__show { font-size: var(--fs-12); line-height: 1.4; color: var(--link); }
.pod__show b { font-weight: 600; }
.pod__title { font-size: var(--fs-14); font-weight: 600; line-height: 1.4; }
.pod__play { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; background: var(--pod-ink); color: #fff; font-size: var(--fs-14); font-weight: 600; padding: 3px 8px 3px 6px; border-radius: 4px; }
.pod__btn { flex: 0 0 34px; height: 34px; border-radius: 6px; background: var(--pod-ink); color: #fff; display: grid; place-items: center; }
.pod__play:hover, .pod__btn:hover { background: var(--c-secondary); }
.pod.is-playing .pod__btn, .pod.is-playing .pod__play { background: var(--c-secondary); }

.featured__from { font-size: var(--fs-18); font-weight: 400; margin: -16px 0 8px; display: flex; align-items: baseline; gap: 6px; }

/* ---------- single article ---------- */
.article-head { margin-top: 32px; }
@media (min-width: 48em) { .article-head { margin-top: 48px; } }
@media (min-width: 60em) { .article-head__inner { width: calc((100% - 48px) * 786 / 1200); } }
.article-head h1 { margin-top: 24px; }
.post-meta--single { margin-top: 14px; }
.post-meta--single .avatar { width: 30px; height: 30px; margin-right: 12px; }
.post-meta--single .author-image { display: flex; }
.river--single { margin-top: 24px; }
.featured-image { margin: 0 0 18px 16px !important; }
.scheduled-note { margin-top: 16px; padding: 10px 14px; background: #fff4d6; color: #5c4400; font-size: var(--fs-14); font-weight: 600; }
.updated { color: var(--text); }
.correction { margin-top: 24px; padding: 12px 16px; background: var(--panel); border-left: 3px solid var(--c-secondary); font-size: var(--fs-16); }
.photo-credit { font-size: var(--fs-12); color: var(--c-gray-dark); margin-top: 20px; line-height: 1.4; }
.photo-credit a { color: inherit; font-weight: 400; text-decoration: underline; }
.entry > p:first-child { margin-top: 18px; }
.disclaimer { margin-top: 32px; font-size: var(--fs-16); }

.guides-grid { display: grid; grid-template-columns: 1fr; gap: 24px 32px; }
@media (min-width: 48em) { .guides-grid { grid-template-columns: 1fr 1fr; } }
.guides-grid a { display: flex; align-items: flex-start; gap: 16px; color: var(--text); font-weight: 700; }
.guide-tile { flex: 0 0 140px; height: 70px; background: #f1f1f1; display: grid; place-items: center; color: var(--c-primary); }
html.darkmode--activated .guide-tile { background: #242424; color: var(--c-secondary); }
.guide-name { font-size: var(--fs-18); }
.post-content > .attr-title { margin-bottom: 2rem; }

.author-box { display: grid; grid-template-columns: 82px 1fr; gap: 0 24px; }
.author-box .avatar { width: 82px; height: 82px; border-radius: 50%; }
.author-box p + p { margin-top: 16px; }
.author-box__name { font-size: var(--fs-18); }
.author-box__name a { font-weight: 400; }
.author-box__name .sep { margin: 0 8px; }
.author-box__handle { display: inline-flex; align-items: center; gap: 6px; color: var(--text); font-weight: 400; }
.author-box__handle:hover { color: var(--c-secondary); }

.related .feature.sidebar + .feature.sidebar { margin-top: 24px; }
@media (min-width: 48em) { .related .feature.sidebar .article__image { flex-basis: 180px; margin-right: 24px; } .related .feature.sidebar h3 { font-size: var(--fs-18); } }


/* ---------- archives ---------- */
.archive-head { margin-top: 16px; }
.archive-head .attr-title { margin-top: 32px; }
.archive-desc { margin-top: 16px; max-width: 786px; }

/* ---------- footer ---------- */
.site-footer { background: #000; color: #fff; margin-top: 64px; padding: 48px 0 24px; }
.site-footer a { color: #fff; font-weight: 400; }
.site-footer a:hover { color: var(--c-tertiary); }
.footer-top { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; padding-bottom: 32px; border-bottom: 1px solid #2e2d2d; }
.footer-tag { color: var(--c-gray-dark); font-size: var(--fs-16); }
.footer-cols { display: grid; gap: 32px; padding: 32px 0; }
@media (min-width: 48em) { .footer-cols { grid-template-columns: 1fr 1fr 2fr; } }
.footer-cols h3 { font-size: var(--fs-14); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 12px; }
.footer-cols li { font-size: var(--fs-16); line-height: 2; }
.footer-note { font-size: var(--fs-14); color: var(--c-gray-dark); max-width: 420px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; border-top: 1px solid #2e2d2d; padding-top: 24px; font-size: var(--fs-14); color: var(--c-gray-dark); }
.footer-bottom a { color: var(--c-gray-dark); }

.entry code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.88em; background: var(--panel); padding: 1px 5px; border-radius: 3px; }
