/* =========================================================
   Sitezen 3.0 — Magazine template engine
   120 homepage templates = 16 heroes × 28 sections × 8 feeds,
   8 heading styles, 6 typographies, 6 card looks, sidebar L/R/none.
   Blocks adapt to their column with container queries.
   ========================================================= */

/* ---------- Tokens ---------- */
.gm-tpl {
  --gm-bg: #fff;
  --gm-ink: #202020;
  --gm-mut: #8d8d8d;
  --gm-ex: #686868;
  --gm-line: #ececec;
  --gm-soft: #f6f6f4;
  --gm-card: #fff;
  --gm-dark: #141414;
  --gm-r: 0px;
  --gm-r-sm: 0px;
  --gm-gap: 28px;
  --gm-shadow: none;
  background: var(--gm-bg);
  color: var(--gm-ink);
  overflow-x: clip;
}
body { --f-head: var(--f-sans); --f-body: var(--f-sans); }
body.sz-gmt { font-family: var(--f-body); }
.sz-gmt h1, .sz-gmt h2, .sz-gmt h3, .sz-gmt h4, .sz-gmt .site-title,
.sz-gmt .gm-it-title, .sz-gmt .gm-h-title, .sz-gmt .entry-title { font-family: var(--f-head); }

.gm-tpl a { color: inherit; }
.gm-tpl a:hover { color: var(--sz-red); }

/* ---------- Page rhythm ---------- */
.gm-tpl .gm-main { padding-top: 30px; padding-bottom: 56px; }
.gm-hero { margin-bottom: 46px; container-type: inline-size; }
.gm-b { container-type: inline-size; }
.gm-zone > .gm-b, .gm-col-main > .gm-b { margin-bottom: 48px; }
.gm-zone-post { margin-top: 10px; }
.gm-zone-post > .gm-b:last-child { margin-bottom: 0; }
.gm-feed { container-type: inline-size; }

.gm-body { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 44px; align-items: start; }
.gm-body-left { grid-template-columns: 320px minmax(0, 1fr); }
.gm-body-left .gm-sb { order: -1; }
.gm-body-none { grid-template-columns: minmax(0, 1fr); }
.gm-zone-post { margin-top: 48px; }

.gm-page-intro { padding-top: 34px; }
.gm-page-title { font-size: clamp(1.8rem, 4vw, 2.8rem); margin: 0 0 10px; letter-spacing: -.02em; }

/* ---------- The universal story item ---------- */
.gm-it { position: relative; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.gm-it-img {
  position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden;
  background: var(--gm-soft); border-radius: var(--gm-r);
}
.gm-it-img img, .gm-it-img .ph-thumb {
  display: block; width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s cubic-bezier(.2, .7, .2, 1);
}
.gm-it:hover .gm-it-img img { transform: scale(1.045); }
.gm-it-body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.gm-it-title { margin: 0; font-weight: 750; font-size: 1.02rem; line-height: 1.36; letter-spacing: -.005em; color: var(--gm-ink); }
.gm-it-title a { color: inherit; }
.gm-it-title a:hover { color: var(--sz-red); }
.gm-it-meta { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: .72rem; color: var(--gm-mut); }
.gm-it-author { font-weight: 700; color: var(--gm-ink); }
.gm-it-author + time::before { content: "—"; margin-right: 8px; color: var(--gm-mut); }
.gm-it-ex { margin: 2px 0 0; font-size: .88rem; line-height: 1.62; color: var(--gm-ex); }
.gm-read { align-self: flex-start; margin-top: 4px; font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--sz-red) !important; }
.gm-it-num { font: 800 1.9rem/1 var(--f-head); color: var(--sz-red); letter-spacing: -.03em; }
.sz-no-dates .gm-it-meta time { display: none; }

.gm-tpl .cat-badge {
  align-self: flex-start; margin: 0; font-size: .63rem; font-weight: 800; line-height: 1.3;
  letter-spacing: .07em; text-transform: uppercase; padding: 4px 7px; border-radius: var(--gm-r-sm);
}

/* Row item: image beside text */
.gm-row { flex-direction: row; align-items: flex-start; gap: 16px; }
.gm-row > .gm-it-img { flex: 0 0 38%; max-width: 280px; }
.gm-row .gm-it-body { flex: 1; }

/* Text-only item */
.gm-txt { padding-bottom: 14px; border-bottom: 1px solid var(--gm-line); }
.gm-txt:last-child { border-bottom: 0; padding-bottom: 0; }
.gm-txt .gm-it-body { flex-direction: column; }
.gm-txt:has(.gm-it-num) .gm-it-body { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 10px; }
.gm-txt:has(.gm-it-num) .gm-it-num { grid-row: span 3; font-size: 1.6rem; }

/* Overlay item: text on image */
.gm-ov { overflow: hidden; background: var(--gm-dark); border-radius: var(--gm-r); min-height: 220px; isolation: isolate; }
.gm-ov > .gm-it-img { position: absolute; inset: 0; aspect-ratio: auto; height: 100%; border-radius: 0; }
.gm-ov::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 25%, rgba(0, 0, 0, .18) 45%, rgba(0, 0, 0, .86) 100%);
}
.gm-ov > .gm-it-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 16px 18px 17px; }
.gm-ov .gm-it-title { color: #fff; }
.gm-ov .gm-it-title a { color: #fff; }
.gm-ov .gm-it-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.gm-ov .gm-it-title a:hover { color: #fff; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.gm-ov .cat-badge { position: relative; z-index: 3; background: var(--sz-red); color: #fff; }
.gm-ov .gm-it-meta, .gm-ov .gm-it-author { color: rgba(255, 255, 255, .82); }
.gm-ov .gm-it-ex { color: rgba(255, 255, 255, .88); }
.gm-ov .gm-read { position: relative; z-index: 3; color: #fff !important; }
.gm-ov.gm-big .gm-it-body { padding: clamp(18px, 3cqw, 34px); }
.gm-ov.gm-big .gm-it-title { font-size: clamp(1.35rem, 2.7cqw, 2.45rem); font-weight: 800; line-height: 1.16; letter-spacing: -.022em; }
.gm-ov.gm-big .gm-it-ex { max-width: 560px; font-size: .92rem; }

/* ---------- Section headings (8 styles) ---------- */
.gm-h { position: relative; display: flex; align-items: flex-end; gap: 12px; flex-wrap: wrap; margin: 0 0 22px; }
.gm-h-kicker { flex-basis: 100%; font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--sz-red); }
.gm-h-title { margin: 0; font-size: 1.16rem; font-weight: 800; line-height: 1.25; letter-spacing: .015em; text-transform: uppercase; color: var(--gm-ink); }
.gm-h-title a { color: inherit; }
.gm-h-more { margin-left: auto; font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--gm-mut) !important; white-space: nowrap; }
.gm-h-more:hover { color: var(--sz-red) !important; }

/* line — the Graze rule */
.gmt-head-line .gm-h { padding-bottom: 11px; border-bottom: 2px solid var(--gm-ink); }
/* bar */
.gmt-head-bar .gm-h { padding-bottom: 11px; border-bottom: 1px solid var(--gm-line); }
.gmt-head-bar .gm-h-title { display: flex; align-items: center; gap: 10px; }
.gmt-head-bar .gm-h-title::before { content: ""; width: 5px; height: 1.15em; background: var(--sz-red); }
/* boxed */
.gmt-head-boxed .gm-h { border-bottom: 2px solid var(--gm-ink); }
.gmt-head-boxed .gm-h-title { background: var(--gm-ink); color: var(--gm-bg); padding: 8px 13px 7px; font-size: .95rem; }
.gmt-head-boxed .gm-h-title a:hover { color: var(--gm-bg); }
.gmt-head-boxed .gm-h-more { padding-bottom: 8px; }
.gmt-head-boxed .gm-h-kicker { margin-bottom: 4px; }
/* center */
.gmt-head-center .gm-h { justify-content: center; align-items: center; text-align: center; }
.gmt-head-center .gm-h-kicker { text-align: center; }
.gmt-head-center .gm-h-title { display: flex; align-items: center; gap: 18px; flex: 1; justify-content: center; font-size: 1.05rem; letter-spacing: .14em; }
.gmt-head-center .gm-h-title::before, .gmt-head-center .gm-h-title::after { content: ""; flex: 1; height: 1px; background: var(--gm-ink); opacity: .85; }
.gmt-head-center .gm-h-more { display: none; }
/* serif */
.gmt-head-serif .gm-h { padding-top: 12px; border-top: 1px solid var(--gm-ink); }
.gmt-head-serif .gm-h-title { font-family: var(--f-head); text-transform: none; font-style: italic; font-weight: 700; font-size: 1.75rem; letter-spacing: -.015em; }
.gmt-head-serif .gm-h-more { text-transform: none; letter-spacing: 0; font-size: .82rem; font-weight: 600; }
/* tab */
.gmt-head-tab .gm-h { border-bottom: 2px solid var(--sz-red); gap: 0 12px; }
.gmt-head-tab .gm-h-title { background: var(--sz-red); color: #fff; padding: 8px 15px 7px; font-size: .9rem; letter-spacing: .06em; }
.gmt-head-tab .gm-h-title a:hover { color: #fff; }
.gmt-head-tab .gm-h-more { padding-bottom: 8px; }
/* underline */
.gmt-head-underline .gm-h { padding-bottom: 13px; border-bottom: 1px solid var(--gm-line); }
.gmt-head-underline .gm-h::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 48px; height: 4px; background: var(--sz-red); }
.gmt-head-underline .gm-h-title { font-size: 1.3rem; text-transform: none; letter-spacing: -.01em; }
/* dot */
.gmt-head-dot .gm-h-title { display: flex; align-items: center; gap: 10px; font-size: .86rem; letter-spacing: .16em; }
.gmt-head-dot .gm-h-title::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--sz-red); box-shadow: 0 0 0 4px color-mix(in srgb, var(--sz-red) 18%, transparent); }
.gmt-head-dot .gm-h { padding-bottom: 12px; border-bottom: 1px dashed color-mix(in srgb, var(--gm-ink) 30%, transparent); }

/* =========================================================
   HEROES
   ========================================================= */
.gm-hg { display: grid; gap: 14px; }

/* mosaic + mosaic right */
.gm-hero-mosaic .gm-hg, .gm-hero-mosaicr .gm-hg {
  grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr));
  height: clamp(400px, 40cqw, 520px); grid-auto-flow: dense;
}
.gm-hero-mosaic .gm-it:first-child { grid-column: span 2; grid-row: span 2; }
.gm-hero-mosaicr .gm-it:first-child { grid-column: 3 / 5; grid-row: 1 / 3; }
.gm-hero-mosaic .gm-ov, .gm-hero-mosaicr .gm-ov, .gm-hero-mosaic3 .gm-ov { min-height: 0; }

/* mosaic 3 */
.gm-hero-mosaic3 .gm-hg { grid-template-columns: 1.75fr 1fr; grid-template-rows: 1fr 1fr; height: clamp(400px, 40cqw, 520px); }
.gm-hero-mosaic3 .gm-it:first-child { grid-row: span 2; }

/* cover */
.gm-hero-cover .gm-ov { height: clamp(420px, 46cqw, 610px); }
.gm-hero-cover .gm-ov .gm-it-body { max-width: 820px; padding: clamp(22px, 4cqw, 52px); }
.gm-hero-cover .gm-ov.gm-big .gm-it-title { font-size: clamp(1.7rem, 4cqw, 3.4rem); }
.gm-hero-cover .gm-ov::after { background: linear-gradient(90deg, rgba(0, 0, 0, .72) 0%, rgba(0, 0, 0, .25) 60%, rgba(0, 0, 0, 0) 100%), linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, .55)); }

/* split */
.gm-hero-split .gm-hg { grid-template-columns: 1fr 1fr; }
.gm-hero-split .gm-ov { height: clamp(360px, 36cqw, 480px); }
.gm-hero-split .gm-ov.gm-big .gm-it-title { font-size: clamp(1.25rem, 2.2cqw, 1.95rem); }

/* trio */
.gm-hero-trio .gm-hg { grid-template-columns: 1fr 1.25fr 1fr; }
.gm-hero-trio .gm-ov { height: clamp(420px, 42cqw, 540px); }
.gm-hero-trio .gm-ov.gm-big .gm-it-title { font-size: clamp(1.3rem, 2.3cqw, 2.05rem); }

/* quad */
.gm-hero-quad .gm-hg { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.gm-hero-quad .gm-ov { height: clamp(380px, 38cqw, 500px); }
.gm-hero-quad .gm-it-title { font-size: 1.12rem; }

/* grid6 */
.gm-hero-grid6 .gm-hg { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: clamp(200px, 19cqw, 255px); }
.gm-hero-grid6 .gm-ov { min-height: 0; }
.gm-hero-grid6 .gm-it-title { font-size: 1.08rem; }

/* editor */
.gm-hero-editor .gm-hg { grid-template-columns: 1.65fr 1fr; gap: 0 36px; align-items: start; }
.gm-hero-editor .gm-lead { grid-row: span 4; }
.gm-hero-editor .gm-lead .gm-it-img { aspect-ratio: 16 / 9.5; }
.gm-hero-editor .gm-lead .gm-it-title, .gm-hero-headline .gm-lead .gm-it-title,
.gm-hero-columns .gm-lead .gm-it-title, .gm-hero-center .gm-lead .gm-it-title,
.gm-hero-ribbon .gm-lead .gm-it-title { font-size: clamp(1.55rem, 3cqw, 2.5rem); font-weight: 800; line-height: 1.16; letter-spacing: -.022em; }
.gm-hero-editor .gm-lead .gm-it-ex { font-size: .98rem; }
.gm-hero-editor .gm-row { padding: 16px 0; border-bottom: 1px solid var(--gm-line); }
.gm-hero-editor .gm-row:nth-child(2) { padding-top: 0; }
.gm-hero-editor .gm-row:last-child { border-bottom: 0; }
.gm-hero-editor .gm-row > .gm-it-img { flex-basis: 112px; aspect-ratio: 1.25; }

/* newspaper columns: sides | lead | headlines */
.gm-hero-columns .gm-hg { grid-template-columns: 1fr 2fr 1fr; gap: 0; }
.gm-hero-columns .gm-col { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.gm-hero-columns .gm-col-b { order: 1; padding-right: 26px; }
.gm-hero-columns .gm-col-a { order: 2; padding: 0 26px; border-left: 1px solid var(--gm-line); border-right: 1px solid var(--gm-line); }
.gm-hero-columns .gm-col-c { order: 3; padding-left: 26px; gap: 14px; }
.gm-col-label { margin: 0; font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--sz-red); padding-bottom: 8px; border-bottom: 2px solid var(--gm-ink); }
.gm-hero-columns .gm-lead .gm-it-img { aspect-ratio: 16 / 10; }
.gm-hero-columns .gm-side .gm-it-title { font-size: 1rem; }
.gm-hero-columns .gm-txt .gm-it-title { font-size: .93rem; }

/* headline */
.gm-hero-headline .gm-hg { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 30px; }
.gm-hero-headline .gm-lead { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; align-items: center; padding-bottom: 30px; margin-bottom: 24px; border-bottom: 2px solid var(--gm-ink); }
.gm-hero-headline .gm-lead .gm-it-img { order: 2; aspect-ratio: 4 / 3; }
.gm-hero-headline .gm-lead .gm-it-title { font-size: clamp(1.9rem, 4.2cqw, 3.5rem); line-height: 1.06; }
.gm-hero-headline .gm-lead .gm-it-ex { font-size: 1rem; }
.gm-hero-headline .gm-txt { border-bottom: 0; padding: 0 0 0 18px; border-left: 3px solid var(--sz-red); }
.gm-hero-headline .gm-txt .gm-it-title { font-size: 1.08rem; }

/* slider */
.gm-slider { position: relative; }
.gm-slides { grid-auto-flow: column; grid-auto-columns: 100%; gap: 0; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: var(--gm-r); }
.gm-slides::-webkit-scrollbar { display: none; }
.gm-slides .gm-ov { height: clamp(380px, 44cqw, 560px); scroll-snap-align: start; border-radius: 0; }
.gm-slides .gm-ov .gm-it-body { padding-bottom: 64px; max-width: 760px; }
.gm-slider-nav { position: absolute; right: 22px; bottom: 20px; z-index: 5; display: flex; align-items: center; gap: 10px; }
.gm-slider-nav button { width: 40px; height: 40px; border: 0; border-radius: var(--gm-r-sm); background: rgba(255, 255, 255, .92); color: #111; font-size: 1rem; cursor: pointer; transition: background .2s, color .2s; }
.gm-slider-nav button:hover { background: var(--sz-red); color: #fff; }
.gm-dots { display: flex; gap: 6px; }
.gm-dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .5); transition: width .25s, background .25s; }
.gm-dots i.on { width: 22px; border-radius: 4px; background: #fff; }

/* ribbon */
.gm-hero-ribbon .gm-hg { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; }
.gm-hero-ribbon .gm-lead { grid-column: 1 / -1; gap: 0; }
.gm-hero-ribbon .gm-lead .gm-it-img { aspect-ratio: auto; height: clamp(340px, 42cqw, 540px); }
.gm-hero-ribbon .gm-lead .gm-it-body { position: relative; z-index: 2; margin: -130px 0 0 clamp(16px, 4cqw, 48px); max-width: 620px; padding: 26px 30px 24px; background: var(--gm-card); border-top: 4px solid var(--sz-red); box-shadow: 0 18px 40px rgba(0, 0, 0, .12); border-radius: 0 0 var(--gm-r) var(--gm-r); }
.gm-hero-ribbon .gm-sm .gm-it-title { font-size: .98rem; }

/* band (dark full-width stage) */
.gm-band-bg { background: var(--gm-dark); color: #fff; padding: 38px 0 40px; container-type: inline-size; }
.gm-hero-band { margin-bottom: 0; }
.gm-hero-band .gm-hg { grid-template-columns: 1.55fr 1fr; gap: 0 34px; }
.gm-hero-band .gm-ov { grid-row: span 3; height: clamp(400px, 38cqw, 500px); }
.gm-hero-band .gm-row { padding: 16px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); align-items: center; }
.gm-hero-band .gm-row:nth-child(2) { padding-top: 0; }
.gm-hero-band .gm-row:last-child { border-bottom: 0; }
.gm-hero-band .gm-row > .gm-it-img { flex-basis: 132px; background: #222; }
.gm-hero-band .gm-row .gm-it-title { color: #fff; font-size: 1.02rem; }
.gm-hero-band .gm-row .gm-it-meta { color: rgba(255, 255, 255, .6); }
.gm-hero-band .gm-row .gm-it-num { font-size: 1.1rem; }
.gm-hero-band .gm-row .cat-badge { display: none; }
.gmt-hero-band .gm-main { padding-top: 44px; }

/* stack */
.gm-hero-stack .gm-hg { grid-template-columns: 1.6fr 1fr; gap: 0 30px; align-items: start; }
.gm-hero-stack .gm-ov { grid-row: span 3; height: clamp(420px, 40cqw, 520px); }
.gm-hero-stack .gm-row { padding: 0 0 18px; margin-bottom: 18px; border-bottom: 1px solid var(--gm-line); }
.gm-hero-stack .gm-row:last-child { border-bottom: 0; margin-bottom: 0; }
.gm-hero-stack .gm-row > .gm-it-img { flex-basis: 42%; }
.gm-hero-stack .gm-row .gm-it-title { font-size: 1rem; }

/* center */
.gm-hero-center .gm-hg { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.gm-hero-center .gm-lead { grid-column: 1 / -1; flex-direction: column-reverse; align-items: center; text-align: center; gap: 28px; }
.gm-hero-center .gm-lead .gm-it-body { max-width: 860px; align-items: center; }
.gm-hero-center .gm-lead .cat-badge { align-self: center; }
.gm-hero-center .gm-lead .gm-it-meta { justify-content: center; }
.gm-hero-center .gm-lead .gm-it-title { font-size: clamp(1.9rem, 4.6cqw, 3.6rem); line-height: 1.08; }
.gm-hero-center .gm-lead .gm-it-ex { font-size: 1.02rem; max-width: 680px; }
.gm-hero-center .gm-lead .gm-it-img { width: 100%; aspect-ratio: 21 / 9; }

/* =========================================================
   SECTIONS
   ========================================================= */
/* What's new strip */
.gm-top .gm-b { background: var(--gm-soft); border-bottom: 1px solid var(--gm-line); }
.gm-top .gm-b-in { max-width: 1250px; margin: 0 auto; padding: 13px max(20px, env(safe-area-inset-left)); }
.gm-wn { display: flex; align-items: stretch; gap: 26px; }
.gm-wn-label { margin: 0; display: flex; align-items: center; flex: 0 0 100px; font: 800 .76rem var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: var(--gm-ink); }
.gm-wn-list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); flex: 1; gap: 19px; }
.gm-wn-list a { display: block; padding-left: 14px; border-left: 2px solid var(--gm-line); color: var(--gm-ink); }
.gm-wn-list a:first-child { border-left-color: var(--sz-red); }
.gm-wn-list span { font-size: .78rem; line-height: 1.45; font-weight: 750; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.gm-wn-list time { display: block; color: var(--gm-mut); font-size: .68rem; margin-top: 4px; }

/* Trending bar */
.gm-trend { display: flex; align-items: center; gap: 16px; }
.gm-trend-label { flex: none; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #fff; background: var(--sz-red); padding: 6px 11px; border-radius: var(--gm-r-sm); }
.gm-trend-list { display: flex; gap: 8px 18px; overflow-x: auto; scrollbar-width: none; white-space: nowrap; }
.gm-trend-list::-webkit-scrollbar { display: none; }
.gm-trend-list a { font-size: .82rem; font-weight: 700; color: var(--gm-ink); }

/* Multi category columns */
.gm-mc { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.gm-mc-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; }
.gm-mc-col { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.gm-mc-col .gm-h { margin-bottom: 6px; }
.gm-mc .gm-first .gm-it-title { font-size: 1.04rem; }
.gm-mc .gm-txt .gm-it-title { font-size: .93rem; }
.gm-mc .gm-first { padding-bottom: 14px; border-bottom: 1px solid var(--gm-line); }

/* Grids */
.gm-grid { display: grid; gap: var(--gm-gap) 24px; }
.gm-g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gm-g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gm-g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 20px; }
.gm-g4 .gm-it-title { font-size: .96rem; }
.gm-md .gm-it-img { aspect-ratio: 16 / 9; }
.gm-md .gm-it-title { font-size: clamp(1.15rem, 2.3cqw, 1.45rem); font-weight: 800; line-height: 1.25; }
.gm-ovg .gm-ov { aspect-ratio: 3 / 4; min-height: 0; }

/* Feature */
.gm-feat { display: grid; grid-template-columns: 1.35fr 1fr; gap: 0 30px; align-items: start; }
.gm-feat .gm-lead { grid-row: span 4; }
.gm-feat .gm-lead .gm-it-img { aspect-ratio: 16 / 10; }
.gm-feat .gm-lead .gm-it-title { font-size: clamp(1.2rem, 2.4cqw, 1.6rem); font-weight: 800; line-height: 1.25; }
.gm-feat .gm-row { padding: 14px 0; border-bottom: 1px solid var(--gm-line); }
.gm-feat .gm-row:nth-child(2) { padding-top: 0; }
.gm-feat .gm-row:last-child { border-bottom: 0; }
.gm-feat .gm-row > .gm-it-img, .gm-rank .gm-it-img, .gm-cmp .gm-it-img, .gm-two .gm-row > .gm-it-img { flex-basis: 96px; aspect-ratio: 1.25; }
.gm-feat .gm-row .gm-it-title { font-size: .94rem; }

/* List */
.gm-lst { display: grid; gap: 24px; }
.gm-lst .gm-row { padding-bottom: 24px; border-bottom: 1px solid var(--gm-line); gap: 22px; }
.gm-lst .gm-row:last-child { border-bottom: 0; padding-bottom: 0; }
.gm-lst .gm-row > .gm-it-img { aspect-ratio: 1.42; }
.gm-lst .gm-it-title { font-size: 1.24rem; font-weight: 800; }

/* Ranked (most read) */
.gm-rank { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 22px; counter-reset: rk; }
.gm-rk { flex-direction: column; gap: 10px; }
.gm-rk .gm-it-img { aspect-ratio: 4 / 3; flex-basis: auto; }
.gm-rk .gm-it-body { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 12px; align-items: start; }
.gm-rk .gm-it-num { grid-row: span 3; font-size: 2.4rem; color: transparent; -webkit-text-stroke: 1.5px var(--sz-red); }
.gm-rk .gm-it-title { font-size: .93rem; }

/* Strip */
.gm-strip { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 60px) / 4); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; scrollbar-width: thin; scrollbar-color: var(--sz-red) var(--gm-line); }
.gm-strip > .gm-it { scroll-snap-align: start; }
.gm-strip .gm-it-title { font-size: .95rem; }

/* Headlines */
.gm-hl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 34px; }
.gm-hl .gm-txt { padding: 13px 0; border-bottom: 1px solid var(--gm-line); }
.gm-hl .gm-txt:nth-last-child(-n+2) { border-bottom: 0; }
.gm-hl .gm-it-title { font-size: .98rem; }
.gm-hl .gm-txt .gm-it-title::before { content: "▸"; color: var(--sz-red); margin-right: 8px; }

/* Banner */
.gm-bnr .gm-ov { aspect-ratio: 21 / 8; min-height: 320px; }
.gm-bnr .gm-ov .gm-it-body { max-width: 760px; }

/* Mosaic */
.gm-mos { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; height: clamp(360px, 44cqw, 480px); }
.gm-mos .gm-it:first-child { grid-row: span 2; }
.gm-mos .gm-ov { min-height: 0; }

/* Big left + 4 */
.gm-bl { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 22px 20px; }
.gm-bl .gm-ov { grid-row: span 2; min-height: 420px; }
.gm-bl .gm-it:not(.gm-ov) .gm-it-title { font-size: .93rem; }

/* Timeline */
.gm-tl { list-style: none; margin: 0; padding: 0; position: relative; }
.gm-tl::before { content: ""; position: absolute; left: 31px; top: 8px; bottom: 8px; width: 2px; background: var(--gm-line); }
.gm-tl li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 20px; padding-bottom: 22px; position: relative; }
.gm-tl li:last-child { padding-bottom: 0; }
.gm-tl-d { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 64px; height: 64px; background: var(--gm-bg); border: 2px solid var(--sz-red); border-radius: var(--gm-r); font-size: .66rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--sz-red); }
.gm-tl-d b { font: 800 1.35rem/1 var(--f-head); color: var(--gm-ink); letter-spacing: -.02em; }
.gm-tl .gm-row > .gm-it-img { flex-basis: 150px; }
.gm-tl .gm-it-title { font-size: 1.08rem; }

/* Dark band */
.gm-dk { background: var(--gm-dark); color: #fff; padding: 34px; border-radius: var(--gm-r); }
.gm-zone .gm-dk { margin-inline: calc(50% - 50vw); padding: 46px calc(50vw - 50%); border-radius: 0; }
.gm-dk .gm-h { border-color: rgba(255, 255, 255, .85) !important; }
.gm-dk .gm-h-title, .gm-dk .gm-it-title { color: #fff; }
.gmt-head-boxed .gm-dk .gm-h-title { background: #fff; color: #111; }
.gm-dk .gm-it-meta { color: rgba(255, 255, 255, .6); }
.gm-dk .gm-it-ex { color: rgba(255, 255, 255, .75); }
.gm-dk .gm-it-img { background: #262626; }
.gm-dk .gm-h-more { color: rgba(255, 255, 255, .7) !important; }
.gmt-head-center .gm-dk .gm-h-title::before, .gmt-head-center .gm-dk .gm-h-title::after { background: #fff; }

/* Spotlight */
.gm-spot .gm-lead { display: grid; grid-template-columns: 1fr 1.15fr; gap: 0; align-items: stretch; background: color-mix(in srgb, var(--sz-red) 7%, var(--gm-bg)); border-radius: var(--gm-r); overflow: hidden; }
.gm-spot .gm-lead .gm-it-img { order: 2; aspect-ratio: auto; min-height: 340px; height: 100%; border-radius: 0; }
.gm-spot .gm-lead .gm-it-body { justify-content: center; padding: clamp(24px, 4.5cqw, 52px); gap: 10px; }
.gm-spot .gm-lead .gm-it-title { font-size: clamp(1.5rem, 3.4cqw, 2.6rem); font-weight: 800; line-height: 1.14; letter-spacing: -.02em; }
.gm-spot .gm-lead .gm-it-ex { font-size: .98rem; }

/* Explore topics */
.gm-cl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.gm-cl a { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 16px 40px 16px 18px; border: 1px solid var(--gm-line); border-left: 4px solid var(--cat, var(--sz-red)); border-radius: var(--gm-r); color: var(--gm-ink); transition: background .2s, transform .2s; }
.gm-cl a:hover { background: var(--gm-soft); transform: translateY(-2px); color: var(--gm-ink); }
.gm-cl-n { font-size: .86rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.gm-cl-c { font-size: .74rem; color: var(--gm-mut); }
.gm-cl-a { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: var(--cat, var(--sz-red)); font-weight: 800; }

/* Masonry */
.gm-mas { columns: 3 240px; column-gap: 24px; }
.gm-mas > .gm-it { break-inside: avoid; margin-bottom: 26px; display: inline-flex; width: 100%; }
.gm-mas .gm-mas-0 .gm-it-img { aspect-ratio: 4 / 5; }
.gm-mas .gm-mas-1 .gm-it-img { aspect-ratio: 1; }
.gm-mas .gm-mas-2 .gm-it-img { aspect-ratio: 16 / 11; }

/* Numbered grid */
.gm-ng .gm-it { padding-top: 16px; border-top: 3px solid var(--gm-ink); }
.gm-ng .gm-it-num { font-size: 2.7rem; margin-bottom: 6px; }
.gm-ng .gm-it-title { font-size: 1.04rem; }

/* Gallery */
.gm-gal { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: clamp(150px, 20cqw, 230px); gap: 10px; }
.gm-gal .gm-it:first-child { grid-column: span 2; grid-row: span 2; }
.gm-gal .gm-ov { min-height: 0; }
.gm-gal .gm-ov .gm-it-title { font-size: .92rem; }
.gm-gal .gm-ov:first-child .gm-it-title { font-size: clamp(1.1rem, 2.3cqw, 1.6rem); }
.gm-gal .gm-ov:not(:first-child)::after { opacity: .0; transition: opacity .3s; }
.gm-gal .gm-ov:not(:first-child) .gm-it-body { opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s; }
.gm-gal .gm-ov:hover::after, .gm-gal .gm-ov:focus-within::after { opacity: 1; }
.gm-gal .gm-ov:hover .gm-it-body, .gm-gal .gm-ov:focus-within .gm-it-body { opacity: 1; transform: none; }
@media (hover: none) { .gm-gal .gm-ov::after { opacity: 1 !important; } .gm-gal .gm-ov .gm-it-body { opacity: 1 !important; transform: none !important; } }

/* Two categories */
.gm-two { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.gm-two-col { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.gm-two-col .gm-h { margin-bottom: 6px; }
.gm-two .gm-first .gm-it-title { font-size: 1.2rem; font-weight: 800; }
.gm-two .gm-row { padding-top: 14px; border-top: 1px solid var(--gm-line); }
.gm-two .gm-row .gm-it-title { font-size: .93rem; }

/* Follow band */
.gm-fw { display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; padding: clamp(24px, 4cqw, 40px) clamp(22px, 4cqw, 46px); background: var(--gm-dark); color: #fff; border-radius: var(--gm-r); position: relative; overflow: hidden; }
.gm-fw::before { content: ""; position: absolute; right: -60px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: var(--sz-red); opacity: .22; }
.gm-fw-txt { position: relative; max-width: 560px; }
.gm-fw h2 { color: #fff; margin: 0 0 6px; font-size: clamp(1.3rem, 2.6cqw, 1.9rem); font-weight: 800; letter-spacing: -.015em; }
.gm-fw p { margin: 0; color: rgba(255, 255, 255, .72); font-size: .92rem; }
.gm-fw-act { position: relative; }
.gm-fw .social-links a { color: #fff; border-color: rgba(255, 255, 255, .25); }

/* Subscribe form / social fallback (shared with footers) */
.gm-sub { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
form.gm-sub input[type="email"] { flex: 1 1 220px; min-width: 0; height: 46px; padding: 0 16px; border: 1px solid rgba(127, 127, 127, .35); background: #fff; color: #111; border-radius: var(--gm-r-sm, 0); font-size: .9rem; }
form.gm-sub button, .gm-btn { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 20px; border: 0; background: var(--sz-red); color: #fff !important; font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; border-radius: var(--gm-r-sm, 0); cursor: pointer; transition: filter .2s; }
form.gm-sub button:hover, .gm-btn:hover { filter: brightness(.9); }
.gm-btn svg { width: 16px; height: 16px; fill: currentColor; }
.gm-sub .social-links { display: flex; gap: 8px; }
.gm-sub .social-links a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid rgba(127, 127, 127, .3); border-radius: 50%; }
.gm-sub .social-links svg { width: 17px; height: 17px; }

/* Editor's picks */
.gm-pk { background: var(--gm-soft); padding: 32px; border-radius: var(--gm-r); }
.gm-zone .gm-pk { margin-inline: calc(50% - 50vw); padding: 46px calc(50vw - 50%); border-radius: 0; }
.gm-pk .gm-ov { aspect-ratio: 4 / 3.2; min-height: 0; }
.gm-pk .gm-it-title { font-size: 1.1rem; }

/* Minimal text rows */
.gm-min { display: grid; }
.gm-min .gm-txt { padding: 20px 0; }
.gm-min .gm-txt:first-child { padding-top: 0; }
.gm-min .gm-it-title { font-size: clamp(1.15rem, 2.2cqw, 1.45rem); font-weight: 700; line-height: 1.28; }
.gm-min .gm-it-ex { max-width: 760px; }

/* Compact 3 */
.gm-cmp { gap: 18px 26px; }
.gm-cmp .gm-row { padding-bottom: 18px; border-bottom: 1px solid var(--gm-line); }
.gm-cmp .gm-it-title { font-size: .92rem; }

/* =========================================================
   FEEDS (paginated latest posts)
   ========================================================= */
.gm-feed-list { display: grid; gap: 26px; }
.gm-feed-list > .gm-it { min-width: 0; }
.gm-feed-list .gm-row { padding-bottom: 26px; border-bottom: 1px solid var(--gm-line); gap: 24px; }
.gm-feed-list .gm-row:last-child { border-bottom: 0; }
.gm-feed-list .gm-row > .gm-it-img { aspect-ratio: 1.42; flex-basis: 260px; }
.gm-feed-list .gm-row .gm-it-title { font-size: 1.3rem; font-weight: 800; line-height: 1.3; }

.gm-feed-grid2 .gm-feed-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 26px; }
.gm-feed-grid3 .gm-feed-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px 24px; }
.gm-feed-grid2 .gm-it-title { font-size: 1.16rem; font-weight: 800; }
.gm-feed-grid3 .gm-it-title { font-size: 1.04rem; font-weight: 800; }

.gm-feed-classic .gm-feed-list { gap: 44px; }
.gm-classic { padding-bottom: 40px; border-bottom: 1px solid var(--gm-line); gap: 18px; }
.gm-classic:last-child { border-bottom: 0; }
.gm-classic .gm-it-img { aspect-ratio: 16 / 9; }
.gm-classic .gm-it-title { font-size: clamp(1.4rem, 3cqw, 2rem); font-weight: 800; line-height: 1.2; letter-spacing: -.018em; }
.gm-classic .gm-it-ex { font-size: .98rem; }

.gm-feed-compact .gm-feed-list { gap: 18px; }
.gm-feed-compact .gm-row { padding-bottom: 18px; }
.gm-feed-compact .gm-row > .gm-it-img { flex-basis: 130px; }
.gm-feed-compact .gm-row .gm-it-title { font-size: 1.05rem; }

.gm-feed-overlay .gm-feed-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.gm-feed-overlay .gm-ov { aspect-ratio: 4 / 3; min-height: 0; }
.gm-feed-overlay .gm-it-title { font-size: 1.12rem; }

.gm-feed-alt .gm-row:nth-child(even) { flex-direction: row-reverse; }
.gm-feed-alt .gm-row > .gm-it-img { flex-basis: 46%; max-width: none; aspect-ratio: 16 / 10; }
.gm-feed-alt .gm-row { align-items: center; }

.gm-feed-text .gm-feed-list { gap: 0; }
.gm-feed-text .gm-txt { padding: 22px 0; }
.gm-feed-text .gm-txt:first-child { padding-top: 0; }
.gm-feed-text .gm-it-title { font-size: 1.32rem; font-weight: 800; line-height: 1.28; }

.gm-pager .page-numbers { display: flex; flex-wrap: wrap; list-style: none; gap: 8px; padding: 0; margin: 34px 0 0; }
.gm-pager .page-numbers li { margin: 0; }
.gm-pager a.page-numbers, .gm-pager span.page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 12px; border: 1px solid var(--gm-line); border-radius: var(--gm-r-sm); background: transparent; color: var(--gm-ink); font-weight: 700; font-size: .88rem; }
.gm-pager a.page-numbers:hover { border-color: var(--sz-red); color: var(--sz-red); }
.gm-pager span.page-numbers.current { background: var(--sz-red); border-color: var(--sz-red); color: #fff; }
.gm-empty { color: var(--gm-mut); }

/* =========================================================
   SIDEBAR
   ========================================================= */
.gm-sb { container-type: inline-size; min-width: 0; }
.gm-sb-box { margin-bottom: 38px; }
.gm-sb-list { display: flex; flex-direction: column; gap: 15px; }
.gm-sb .gm-row { padding-bottom: 15px; border-bottom: 1px solid var(--gm-line); gap: 13px; }
.gm-sb .gm-row:last-child { border-bottom: 0; padding-bottom: 0; }
.gm-sb .gm-row > .gm-it-img { flex: 0 0 100px; aspect-ratio: 1.28; }
.gm-sb .gm-it-title { font-size: .88rem; }
.gm-sb-ranked .gm-txt .gm-it-num { -webkit-text-stroke: 1.2px var(--sz-red); color: transparent; font-size: 1.9rem; }
.gm-sb-cards .gm-ov { aspect-ratio: 4 / 3; min-height: 0; margin-bottom: 4px; }
.gm-sb-cards .gm-ov .gm-it-title { font-size: 1.05rem; }
.gm-sb-follow { background: var(--gm-soft); padding: 22px; border-radius: var(--gm-r); }
.gm-sb-follow .gm-h { margin-bottom: 12px; }
.gm-sb-follow p { margin: 0 0 14px; font-size: .86rem; color: var(--gm-ex); line-height: 1.6; }
.gm-sb-follow .gm-sub { gap: 8px; }
.gm-sb-cats ul { list-style: none; margin: 0; padding: 0; }
.gm-sb-cats li { margin: 0; border-bottom: 1px solid var(--gm-line); }
.gm-sb-cats a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0; font-size: .88rem; font-weight: 700; color: var(--gm-ink); }
.gm-sb-cats a span::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 10px; background: var(--cat, var(--sz-red)); border-radius: 2px; }
.gm-sb-cats em { font-style: normal; font-size: .7rem; min-width: 28px; text-align: center; padding: 2px 7px; background: var(--gm-soft); border-radius: 20px; color: var(--gm-mut); }
.gm-sb-widgets .widget { margin-bottom: 30px; }

/* =========================================================
   LOOKS (6)
   ========================================================= */
/* rounded */
.gmt-look-rounded { --gm-r: 14px; --gm-r-sm: 999px; }
.gmt-look-rounded .gm-row > .gm-it-img, .gmt-look-rounded .gm-tl-d { border-radius: 12px; }
.gmt-look-rounded form.gm-sub input[type="email"], .gmt-look-rounded .gm-slider-nav button { border-radius: 999px; }
.gmt-look-rounded .gm-trend-list a { background: var(--gm-soft); padding: 5px 12px; border-radius: 999px; }

/* paper */
.gmt-look-paper { --gm-bg: #f6f2ea; --gm-soft: #ede6d8; --gm-line: #e0d7c5; --gm-card: #fbf8f2; --gm-ex: #5f5a52; }

/* outline cards */
.gmt-look-outline { --gm-r: 4px; --gm-r-sm: 3px; }
.gmt-look-outline :is(.gm-grid, .gm-strip, .gm-mas, .gm-feed-grid2 .gm-feed-list, .gm-feed-grid3 .gm-feed-list) > .gm-it:not(.gm-ov):not(.gm-noimg) {
  border: 1px solid var(--gm-line); border-radius: var(--gm-r); background: var(--gm-card); overflow: hidden; gap: 0;
}
.gmt-look-outline :is(.gm-grid, .gm-strip, .gm-mas, .gm-feed-grid2 .gm-feed-list, .gm-feed-grid3 .gm-feed-list) > .gm-it:not(.gm-ov):not(.gm-noimg) > .gm-it-img { border-radius: 0; }
.gmt-look-outline :is(.gm-grid, .gm-strip, .gm-mas, .gm-feed-grid2 .gm-feed-list, .gm-feed-grid3 .gm-feed-list) > .gm-it:not(.gm-ov):not(.gm-noimg) > .gm-it-body { padding: 15px 16px 17px; }
.gmt-look-outline .gm-dk :is(.gm-grid) > .gm-it { background: #1d1d1d; border-color: #2c2c2c; }

/* shadow cards */
.gmt-look-shadow { --gm-bg: #f3f4f6; --gm-r: 10px; --gm-r-sm: 4px; --gm-soft: #e9ebef; --gm-line: #e3e5e9; }
.gmt-look-shadow :is(.gm-grid, .gm-strip, .gm-mas, .gm-feed-grid2 .gm-feed-list, .gm-feed-grid3 .gm-feed-list) > .gm-it:not(.gm-ov):not(.gm-noimg),
.gmt-look-shadow .gm-sb-box, .gmt-look-shadow .gm-feed-list > .gm-row, .gmt-look-shadow .gm-feed-list > .gm-classic, .gmt-look-shadow .gm-feed-list > .gm-txt {
  background: #fff; border-radius: var(--gm-r); box-shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 8px 24px rgba(16, 24, 40, .07); overflow: hidden; border: 0;
}
.gmt-look-shadow :is(.gm-grid, .gm-strip, .gm-mas, .gm-feed-grid2 .gm-feed-list, .gm-feed-grid3 .gm-feed-list) > .gm-it:not(.gm-ov):not(.gm-noimg) { gap: 0; }
.gmt-look-shadow :is(.gm-grid, .gm-strip, .gm-mas, .gm-feed-grid2 .gm-feed-list, .gm-feed-grid3 .gm-feed-list) > .gm-it:not(.gm-ov):not(.gm-noimg) > .gm-it-img { border-radius: 0; }
.gmt-look-shadow :is(.gm-grid, .gm-strip, .gm-mas, .gm-feed-grid2 .gm-feed-list, .gm-feed-grid3 .gm-feed-list) > .gm-it:not(.gm-ov):not(.gm-noimg) > .gm-it-body { padding: 15px 17px 18px; }
.gmt-look-shadow .gm-sb-box { padding: 22px; }
.gmt-look-shadow .gm-feed-list > .gm-row, .gmt-look-shadow .gm-feed-list > .gm-txt, .gmt-look-shadow .gm-feed-list > .gm-classic { padding: 16px; }
.gmt-look-shadow .gm-feed-list > .gm-classic { padding: 0 0 22px; }
.gmt-look-shadow .gm-feed-list > .gm-classic > .gm-it-body { padding: 0 22px; }
.gmt-look-shadow .gm-feed-list > .gm-classic > .gm-it-img { border-radius: 0; }
.gmt-look-shadow .gm-ov { box-shadow: 0 10px 26px rgba(16, 24, 40, .14); }
.gmt-look-shadow .gm-dk :is(.gm-grid) > .gm-it { background: #1f1f1f; }

/* bold / brutalist */
.gmt-look-bold { --gm-r: 0px; --gm-line: #1d1d1d; }
.gmt-look-bold :is(.gm-grid, .gm-strip, .gm-feed-grid2 .gm-feed-list, .gm-feed-grid3 .gm-feed-list) > .gm-it:not(.gm-ov):not(.gm-noimg) {
  border: 3px solid var(--gm-ink); background: var(--gm-card); box-shadow: 6px 6px 0 var(--gm-ink); gap: 0; transition: transform .15s, box-shadow .15s;
}
.gmt-look-bold :is(.gm-grid, .gm-strip, .gm-feed-grid2 .gm-feed-list, .gm-feed-grid3 .gm-feed-list) > .gm-it:not(.gm-ov):not(.gm-noimg):hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--sz-red); }
.gmt-look-bold :is(.gm-grid, .gm-strip, .gm-feed-grid2 .gm-feed-list, .gm-feed-grid3 .gm-feed-list) > .gm-it:not(.gm-ov):not(.gm-noimg) > .gm-it-img { border-bottom: 3px solid var(--gm-ink); }
.gmt-look-bold :is(.gm-grid, .gm-strip, .gm-feed-grid2 .gm-feed-list, .gm-feed-grid3 .gm-feed-list) > .gm-it:not(.gm-ov):not(.gm-noimg) > .gm-it-body { padding: 14px 15px 16px; }
.gmt-look-bold .gm-ov { border: 3px solid var(--gm-ink); }
.gmt-look-bold .gm-it-title { text-transform: uppercase; letter-spacing: .005em; }
.gmt-look-bold .gm-strip { padding: 4px 10px 16px 2px; }
.gmt-look-bold .gm-dk .gm-grid > .gm-it { border-color: #fff !important; box-shadow: 6px 6px 0 var(--sz-red) !important; background: #111 !important; }
.gmt-look-bold .gm-dk .gm-grid > .gm-it > .gm-it-img { border-color: #fff !important; }

/* =========================================================
   TYPOGRAPHY FLAVOURS
   ========================================================= */
.sz-gmt-type-condensed .gm-it-title, .sz-gmt-type-condensed .gm-h-title, .sz-gmt-type-condensed .site-title { text-transform: uppercase; letter-spacing: .01em; font-weight: 700; }
.sz-gmt-type-condensed .gm-it-title { font-size: 1.12em; line-height: 1.12; }
.sz-gmt-type-condensed .gm-it-num { font-weight: 800; }
.sz-gmt-type-serif .gm-it-title, .sz-gmt-type-classic .gm-it-title, .sz-gmt-type-elegant .gm-it-title { font-weight: 700; letter-spacing: -.008em; }
.sz-gmt-type-serif .gm-ov.gm-big .gm-it-title, .sz-gmt-type-classic .gm-ov.gm-big .gm-it-title, .sz-gmt-type-elegant .gm-ov.gm-big .gm-it-title { font-weight: 700; }
.sz-gmt-type-grotesk .gm-it-title { letter-spacing: -.02em; font-weight: 700; }
.sz-gmt .site-title { letter-spacing: -.04em; }
.sz-gmt-type-condensed .site-title { letter-spacing: 0; }
.sz-gmt-type-serif .site-title, .sz-gmt-type-classic .site-title, .sz-gmt-type-elegant .site-title { letter-spacing: -.02em; }

/* =========================================================
   DARK MODE (palette dark or visitor switch)
   ========================================================= */
.sz-dark .gm-tpl.gm-tpl {
  --gm-bg: var(--sz-paper, #0b0f15); --gm-ink: #e8edf4; --gm-mut: #8c97a8; --gm-ex: #a9b3c1;
  --gm-line: #232d3b; --gm-soft: #151c28; --gm-card: #121826; --gm-dark: #05080c;
}
.sz-dark .gmt-look-shadow :is(.gm-grid, .gm-strip, .gm-mas, .gm-feed-grid2 .gm-feed-list, .gm-feed-grid3 .gm-feed-list) > .gm-it:not(.gm-ov):not(.gm-noimg),
.sz-dark .gmt-look-shadow .gm-sb-box, .sz-dark .gmt-look-shadow .gm-feed-list > * { background: var(--gm-card); box-shadow: none; }
.sz-dark .gm-tpl form.gm-sub input[type="email"] { background: var(--gm-card); color: var(--gm-ink); }

/* =========================================================
   RESPONSIVE — container queries (per block width)
   ========================================================= */
@container (max-width: 900px) {
  .gm-rank { grid-template-columns: 1fr; gap: 0; }
  .gm-rk { flex-direction: row; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--gm-line); }
  .gm-rk:last-child { border-bottom: 0; }
  .gm-rk .gm-it-img { flex: 0 0 96px; order: 2; }
  .gm-rk .gm-it-body { flex: 1; }
  .gm-mc-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gm-cl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@container (max-width: 760px) {
  .gm-hero-mosaic .gm-hg, .gm-hero-mosaicr .gm-hg { grid-template-columns: 1fr 1fr; grid-template-rows: none; grid-auto-rows: 180px; height: auto; }
  .gm-hero-mosaic .gm-it:first-child, .gm-hero-mosaicr .gm-it:first-child { grid-column: 1 / -1; grid-row: span 2; }
  .gm-hero-mosaic3 .gm-hg { grid-template-columns: 1fr 1fr; grid-template-rows: 300px 190px; height: auto; }
  .gm-hero-mosaic3 .gm-it:first-child { grid-column: 1 / -1; grid-row: auto; }
  .gm-hero-trio .gm-hg, .gm-hero-quad .gm-hg { grid-template-columns: 1fr 1fr; }
  .gm-hero-trio .gm-it:nth-child(2) { grid-column: 1 / -1; order: -1; }
  .gm-hero-trio .gm-ov, .gm-hero-quad .gm-ov { height: 280px; }
  .gm-hero-grid6 .gm-hg { grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; }
  .gm-hero-editor .gm-hg, .gm-hero-stack .gm-hg, .gm-hero-band .gm-hg { grid-template-columns: 1fr; }
  .gm-hero-editor .gm-lead { grid-row: auto; margin-bottom: 20px; }
  .gm-hero-stack .gm-ov, .gm-hero-band .gm-ov { grid-row: auto; height: 360px; margin-bottom: 20px; }
  .gm-hero-band .gm-row:nth-child(2) { padding-top: 16px; }
  .gm-hero-columns .gm-hg { grid-template-columns: 1fr 1fr; gap: 28px 0; }
  .gm-hero-columns .gm-col-a { order: 0; grid-column: 1 / -1; padding: 0; border: 0; }
  .gm-hero-columns .gm-col-b { padding-right: 14px; }
  .gm-hero-columns .gm-col-c { padding-left: 14px; }
  .gm-hero-headline .gm-lead { grid-template-columns: 1fr; gap: 20px; }
  .gm-hero-headline .gm-lead .gm-it-img { order: -1; }
  .gm-hero-headline .gm-hg { grid-template-columns: 1fr; gap: 18px; }
  .gm-hero-ribbon .gm-hg, .gm-hero-center .gm-hg { grid-template-columns: 1fr 1fr; gap: 22px 18px; }
  .gm-hero-ribbon .gm-sm:nth-child(n+4), .gm-hero-center .gm-sm:nth-child(n+4) { display: none; }
  .gm-hero-ribbon .gm-sm:nth-child(n+4) { display: flex; }
  .gm-hero-ribbon .gm-lead .gm-it-body { margin: -60px 14px 0; padding: 20px 20px 18px; }
  .gm-hero-center .gm-lead .gm-it-img { aspect-ratio: 16 / 10; }
  .gm-g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gm-mc { grid-template-columns: 1fr 1fr; }
  .gm-mc > .gm-mc-col:nth-child(3):last-child { grid-column: 1 / -1; }
  .gm-strip { grid-auto-columns: calc((100% - 20px) / 2.3); }
  .gm-bl { grid-template-columns: 1fr 1fr; }
  .gm-bl .gm-ov { grid-column: 1 / -1; grid-row: auto; min-height: 320px; }
  .gm-feed-grid3 .gm-feed-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gm-gal { grid-template-columns: 1fr 1fr; grid-auto-rows: 170px; }
}
@container (max-width: 640px) {
  .gm-feat { grid-template-columns: 1fr; }
  .gm-feat .gm-lead { grid-row: auto; margin-bottom: 18px; }
  .gm-feat .gm-row:nth-child(2) { padding-top: 14px; border-top: 1px solid var(--gm-line); }
  .gm-g3, .gm-two { grid-template-columns: 1fr; }
  .gm-g3.gm-cmp { grid-template-columns: 1fr; }
  .gm-hl { grid-template-columns: 1fr; }
  .gm-hl .gm-txt:nth-last-child(2) { border-bottom: 1px solid var(--gm-line); }
  .gm-spot .gm-lead { grid-template-columns: 1fr; }
  .gm-spot .gm-lead .gm-it-img { order: -1; min-height: 220px; aspect-ratio: 16 / 10; }
  .gm-mos { grid-template-columns: 1fr 1fr; grid-template-rows: 260px 170px; height: auto; }
  .gm-mos .gm-it:first-child { grid-column: 1 / -1; grid-row: auto; }
  .gm-bnr .gm-ov { aspect-ratio: auto; min-height: 340px; }
  .gm-feed-list .gm-row > .gm-it-img { flex-basis: 38%; }
  .gm-feed-list .gm-row .gm-it-title { font-size: 1.05rem; }
  .gm-feed-alt .gm-row, .gm-feed-alt .gm-row:nth-child(even) { flex-direction: column; align-items: stretch; }
  .gm-feed-alt .gm-row > .gm-it-img { max-width: none; flex-basis: auto; }
  .gm-lst .gm-row > .gm-it-img { flex-basis: 38%; }
  .gm-lst .gm-it-title { font-size: 1.05rem; }
  .gm-lst .gm-it-ex { display: none; }
  .gm-tl .gm-row > .gm-it-img { display: none; }
  .gm-hero-split .gm-hg { grid-template-columns: 1fr; }
  .gm-hero-split .gm-ov { height: 300px; }
  .gm-slider-nav { right: 14px; bottom: 14px; }
  .gm-slides .gm-ov .gm-it-body { padding-bottom: 70px; }
  .gm-slides .gm-ov .gm-it-ex { display: none; }
}
@container (max-width: 480px) {
  .gm-hero-mosaic .gm-hg, .gm-hero-mosaicr .gm-hg { grid-auto-rows: 160px; gap: 10px; }
  .gm-hero-mosaic .gm-it:first-child, .gm-hero-mosaicr .gm-it:first-child { grid-row: auto; min-height: 260px; }
  .gm-hero-mosaic .gm-it:first-child .gm-it-ex, .gm-hero-mosaicr .gm-it:first-child .gm-it-ex, .gm-hero-mosaic3 .gm-it-ex, .gm-hero-trio .gm-it-ex, .gm-hero-split .gm-it-ex, .gm-hero-stack .gm-ov .gm-it-ex, .gm-hero-band .gm-ov .gm-it-ex { display: none; }
  .gm-hero-trio .gm-hg, .gm-hero-quad .gm-hg { grid-template-columns: 1fr 1fr; gap: 10px; }
  .gm-hero-trio .gm-ov, .gm-hero-quad .gm-ov { height: 220px; }
  .gm-hero-trio .gm-it:nth-child(2) .gm-it-title { font-size: 1.3rem; }
  .gm-hero-grid6 .gm-hg { grid-auto-rows: 170px; gap: 10px; }
  .gm-hero-cover .gm-ov { height: 440px; }
  .gm-hero-columns .gm-hg { grid-template-columns: 1fr; }
  .gm-hero-columns .gm-col { padding: 0 !important; border: 0 !important; }
  .gm-hero-ribbon .gm-hg, .gm-hero-center .gm-hg { grid-template-columns: 1fr 1fr; gap: 18px 12px; }
  .gm-hero-ribbon .gm-lead .gm-it-body { margin: -40px 10px 0; }
  .gm-ov .gm-it-body { padding: 12px 14px 14px; }
  .gm-it-title { font-size: .95rem; }
  .gm-g4 .gm-it-title, .gm-ovg .gm-it-title { font-size: .86rem; }
  .gm-g4 { gap: 18px 12px; }
  .gm-g2 { grid-template-columns: 1fr; }
  .gm-mc { grid-template-columns: 1fr; }
  .gm-mc-4 { grid-template-columns: 1fr; }
  .gm-cl { grid-template-columns: 1fr 1fr; gap: 8px; }
  .gm-cl a { padding: 12px 30px 12px 13px; }
  .gm-strip { grid-auto-columns: 72%; }
  .gm-bl { grid-template-columns: 1fr 1fr; gap: 16px 12px; }
  .gm-dk, .gm-pk { padding: 24px 18px; }
  .gm-zone .gm-dk, .gm-zone .gm-pk { padding: 34px calc(50vw - 50%); }
  .gm-feed-grid2 .gm-feed-list, .gm-feed-grid3 .gm-feed-list, .gm-feed-overlay .gm-feed-list { grid-template-columns: 1fr; }
  .gm-feed-list .gm-row { gap: 14px; padding-bottom: 20px; }
  .gm-feed-list .gm-row .gm-it-title { font-size: .98rem; }
  .gm-feed-list .gm-row .gm-it-ex, .gm-feed-list .gm-row .gm-read { display: none; }
  .gm-feed-alt .gm-row .gm-it-ex { display: block; }
  .gm-gal { grid-auto-rows: 140px; gap: 8px; }
  .gm-sb .gm-row > .gm-it-img { flex-basis: 92px; }
  .gm-fw { flex-direction: column; align-items: flex-start; }
}

/* Viewport-level layout */
@media (max-width: 1080px) {
  .gm-body { grid-template-columns: minmax(0, 1fr) 280px; gap: 30px; }
  .gm-body-left { grid-template-columns: 280px minmax(0, 1fr); }
  .gm-body-none { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 900px) {
  .gm-body, .gm-body-left { grid-template-columns: minmax(0, 1fr); }
  .gm-body-left .gm-sb { order: 0; }
  .gm-sb { padding-top: 30px; border-top: 2px solid var(--gm-ink); }
  .gm-sb-in { display: grid; grid-template-columns: 1fr 1fr; gap: 0 30px; }
}
@media (max-width: 767px) {
  .gm-wn { gap: 12px; }
  .gm-wn-label { flex-basis: 70px; font-size: .68rem; }
  .gm-wn-list { grid-template-columns: 1fr; }
  .gm-wn-list a:not(:first-child) { display: none; }
  .gm-hero { margin-bottom: 34px; }
  .gm-zone > .gm-b, .gm-col-main > .gm-b { margin-bottom: 38px; }
  .gm-tpl .gm-main { padding-top: 18px; }
}
@media (max-width: 600px) {
  .gm-sb-in { grid-template-columns: 1fr; }
  .gmt-head-serif .gm-h-title { font-size: 1.4rem; }
}
@media (min-width: 1024px) and (max-width: 1250px) {
  .gm-wn-list a:nth-child(5) { display: none; }
  .gm-wn-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* =========================================================
   Sidebar position on posts, archives & pages
   ========================================================= */
.sz-sb-left .layout { grid-template-columns: 336px minmax(0, 1fr); }
.sz-sb-left .layout > .sidebar { order: -1; }
.sz-sb-none .layout { grid-template-columns: minmax(0, 1fr); }
.sz-sb-none .layout > .sidebar { display: none; }
.sz-sb-none .layout > .main-col { width: 100%; max-width: 860px; margin: 0 auto; }
.sz-sb-none.archive .layout > .main-col, .sz-sb-none.search .layout > .main-col { max-width: none; }
@media (max-width: 1080px) { .sz-sb-left .layout { grid-template-columns: 300px minmax(0, 1fr); } }
@media (max-width: 920px) { .sz-sb-left .layout { grid-template-columns: minmax(0, 1fr); } .sz-sb-left .layout > .sidebar { order: 0; } }

/* Reveal */
@media (prefers-reduced-motion: no-preference) {
  .sz-anim .gm-tpl .gm-it.gm-pre { opacity: 0; transform: translateY(14px); }
  .sz-anim .gm-tpl .gm-it.gm-in { opacity: 1; transform: none; transition: opacity .6s ease, transform .6s ease; }
}
@media print {
  .gm-sb, .gm-slider-nav, .gm-fw, .gm-top { display: none !important; }
  .gm-body { display: block; }
}

/* Reset the base theme's .page-numbers box on the list wrapper */
.gm-pager ul.page-numbers { display: flex; border: 0; background: none; min-width: 0; height: auto; padding: 0; border-radius: 0; }
@container (max-width: 480px) {
  .sz-gmt-type-condensed .gm-it-title { font-size: 1em; }
  .sz-gmt-type-condensed .gm-hero .gm-ov:not(.gm-big) .gm-it-title { font-size: .95rem; }
}

/* =========================================================
   SITE-WIDE STYLE — posts, categories, pages, search, 404
   take the active homepage template's look + heading style
   (accent colour and fonts come from body.sz-gmt variables).
   ========================================================= */
body.sz-gmt { --radius: 0px; }
body.sz-gmt .sec-title, body.sz-gmt .site-content .widget-title { font-family: var(--f-head); text-transform: uppercase; letter-spacing: .02em; }
body.sz-gmt .archive-title, body.sz-gmt .entry-title { letter-spacing: -.02em; }

/* Looks */
body.sz-gmt-look-paper:not(.sz-dark) { --sz-paper: #f6f2ea; --sz-card: #fbf8f2; --sz-line: #e0d7c5; background: #f6f2ea; }
body.sz-gmt-look-paper:not(.sz-dark) .masthead, body.sz-gmt-look-paper:not(.sz-dark) .navbar { background: #f6f2ea; }
body.sz-gmt-look-rounded { --radius: 14px; }
body.sz-gmt-look-rounded .cat-badge, body.sz-gmt-look-rounded .tag-links a { border-radius: 999px; }
body.sz-gmt-look-outline { --radius: 4px; }
body.sz-gmt-look-shadow { --radius: 10px; }
body.sz-gmt-look-shadow:not(.sz-dark) { --sz-paper: #f3f4f6; background: #f3f4f6; }
body.sz-gmt-look-shadow:not(.sz-dark) :is(.single-post-article, .page-article, .comments-area, .site-content .widget, .card, .post-navigation a, .no-results) { border: 0; box-shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 8px 24px rgba(16, 24, 40, .07); }
body.sz-gmt-look-flat :is(.single-post-article, .page-article, .comments-area) { border: 0; padding-left: 0; padding-right: 0; background: transparent; }
body.sz-gmt-look-flat .site-content .widget { border: 0; padding: 0; background: transparent; }
body.sz-gmt-look-bold :is(.single-post-article, .page-article, .comments-area, .site-content .widget, .card) { border: 3px solid var(--sz-ink); box-shadow: 6px 6px 0 var(--sz-ink); }
body.sz-gmt-look-bold .entry-title, body.sz-gmt-look-bold .card-title { text-transform: uppercase; }

/* Heading styles on inner pages (.sec-title + sidebar widget titles) */
body[class*="sz-gmt-head-"] .sec-title, body[class*="sz-gmt-head-"] .site-content .widget-title { position: relative; }
body.sz-gmt-head-line :is(.sec-title, .site-content .widget-title)::before { display: none; }
body.sz-gmt-head-line :is(.sec-title, .site-content .widget-title) { border-bottom: 2px solid var(--sz-ink); }
body.sz-gmt-head-bar :is(.sec-title, .site-content .widget-title) { border-bottom: 1px solid var(--sz-line); }
body.sz-gmt-head-bar :is(.sec-title, .site-content .widget-title)::before { width: 5px; border-radius: 0; }
body.sz-gmt-head-boxed :is(.sec-title, .site-content .widget-title),
body.sz-gmt-head-tab :is(.sec-title, .site-content .widget-title) { border-bottom: 2px solid var(--sz-ink); padding-bottom: 0; }
body.sz-gmt-head-tab :is(.sec-title, .site-content .widget-title) { border-bottom-color: var(--sz-red); }
body.sz-gmt-head-boxed :is(.sec-title, .site-content .widget-title)::before,
body.sz-gmt-head-tab :is(.sec-title, .site-content .widget-title)::before { display: none; }
body.sz-gmt-head-boxed :is(.sec-title, .site-content .widget-title) { display: table; padding: 8px 14px 7px; background: var(--sz-ink); color: var(--sz-paper, #fff); border-bottom: 0; box-shadow: 0 2px 0 var(--sz-ink); }
body.sz-gmt-head-tab :is(.sec-title, .site-content .widget-title) { display: table; padding: 8px 14px 7px; background: var(--sz-red); color: #fff; border-bottom: 0; }
body.sz-gmt-head-boxed :is(.sec-title, .site-content .widget-title) a, body.sz-gmt-head-tab :is(.sec-title, .site-content .widget-title) a { color: inherit; }
body.sz-gmt-head-center :is(.sec-title, .site-content .widget-title) { justify-content: center; border-bottom: 0; letter-spacing: .14em; gap: 16px; }
body.sz-gmt-head-center :is(.sec-title, .site-content .widget-title)::before,
body.sz-gmt-head-center :is(.sec-title, .site-content .widget-title)::after { content: ""; flex: 1; width: auto; height: 1px; background: var(--sz-ink); border-radius: 0; }
body.sz-gmt-head-serif :is(.sec-title, .site-content .widget-title) { text-transform: none; font-style: italic; letter-spacing: -.01em; border-bottom: 0; border-top: 1px solid var(--sz-ink); padding: 10px 0 0; }
body.sz-gmt-head-serif :is(.sec-title, .site-content .widget-title)::before { display: none; }
body.sz-gmt-head-underline :is(.sec-title, .site-content .widget-title) { border-bottom: 1px solid var(--sz-line); text-transform: none; letter-spacing: -.005em; }
body.sz-gmt-head-underline :is(.sec-title, .site-content .widget-title)::before { position: absolute; left: 0; bottom: -2px; width: 48px; height: 4px; border-radius: 0; }
body.sz-gmt-head-dot :is(.sec-title, .site-content .widget-title) { border-bottom: 1px dashed var(--sz-line); letter-spacing: .14em; font-size: .9rem; }
body.sz-gmt-head-dot :is(.sec-title, .site-content .widget-title)::before { width: 10px; height: 10px; border-radius: 50%; box-shadow: 0 0 0 4px color-mix(in srgb, var(--sz-red) 18%, transparent); }

/* Dark mode for the Graze header/body (base refresh hard-codes white) */
.sz-dark body, body.sz-dark, .sz-dark .masthead, .sz-dark .navbar, .sz-dark .gm-home { background: var(--sz-paper); }
.sz-dark .navbar { border-top-color: var(--sz-line); border-bottom-color: var(--sz-ink); }
.sz-dark .site-title a, .sz-dark .site-nav .menu > li > a, .sz-dark .mode-toggle { color: var(--sz-ink); }
.sz-dark .gm-whatsnew { background: var(--sz-card); border-color: var(--sz-line); }
.sz-dark .gm-whatsnew h2, .sz-dark .gm-whatsnew-list a { color: var(--sz-ink); }
.sz-dark .gm-page-title { color: var(--sz-ink); }
