/* =====================================================================
   Mech-Tech Noticias / News — listing + single post
   spaciaz-child/assets/css/mt-news.css  (enqueue 'mt-news', ver = MTN_VER in
   mt-news-functions.php; bump it when this file changes). KEEP.
   Everything is scoped to .mtn so it can't leak into the theme.
   Layout: boxed 1290 column like the rest of the site, single 760
   reading column on posts. Brand = live site: black, Involve display,
   Switzer body, #CF0103 accents.
   ===================================================================== */
.mtn {
  --mtn-bg: #000;
  --mtn-surface: #121212;
  --mtn-surface-2: #1a1a1a;
  --mtn-ink: #fff;
  --mtn-text: #efefef;
  --mtn-mute: rgba(255, 255, 255, .64);
  --mtn-line: rgba(255, 255, 255, .16);
  --mtn-red: #cf0103;
  --mtn-red-deep: #870000;
  --mtn-display: "Involve", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mtn-body: "Switzer", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mtn-wrap: 1290px;
  --mtn-gutter: 30px;
  --mtn-top: 172px;            /* clears the absolute header */
  --mtn-radius: 24px;
  --mtn-glow: radial-gradient(1100px 620px at 92% 0%, rgba(135, 0, 0, .42), transparent 70%),
              radial-gradient(900px 700px at 0% 38%, rgba(110, 0, 0, .26), transparent 72%),
              radial-gradient(1000px 640px at 100% 82%, rgba(110, 0, 0, .22), transparent 72%);
  background: var(--mtn-bg);
  color: var(--mtn-text);
  font-family: var(--mtn-body);
  font-size: 18px;
  line-height: 1.55;
  padding-top: var(--mtn-top);
  padding-bottom: 96px;
}
.mtn *, .mtn *::before, .mtn *::after { box-sizing: border-box; }
.mtn a, .mtn a:hover, .mtn a:focus, .mtn a:visited { color: inherit; text-decoration: none; }
.mtn img { display: block; max-width: 100%; height: auto; }
.mtn :focus-visible { outline: 2px solid var(--mtn-ink); outline-offset: 3px; border-radius: 6px; }

.mtn-wrap { max-width: calc(var(--mtn-wrap) + var(--mtn-gutter) * 2); margin: 0 auto; padding-inline: var(--mtn-gutter); }

/* ---------- shared bits ---------- */
.mtn-meta { min-height: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: 14px; font-weight: 600; line-height: 1; color: var(--mtn-mute); }
.mtn-cat { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 999px; background: var(--mtn-red); color: var(--mtn-ink); font-size: 13px; font-weight: 600; white-space: nowrap; }
.mtn-meta time, .mtn time { font-variant-numeric: tabular-nums; }

.mtn-media { position: relative; overflow: hidden; border-radius: var(--mtn-radius); background: var(--mtn-surface); aspect-ratio: 3 / 2; }
.mtn-media img { width: 100%; height: 100%; object-fit: cover; }
.mtn-media.is-empty, .is-empty { display: grid; place-items: center; background: var(--mtn-surface); }
.is-empty > img.mtn-logo { width: 46%; height: auto; object-fit: contain; opacity: .28; }

/* round arrow button, same shape as the live site's round CTAs */
.mtn .mtn-arrow { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; gap: 0; padding: 0; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .28); color: var(--mtn-ink); transition: background-color .25s, border-color .25s, transform .25s; }
.mtn .mtn-arrow svg { display: block; flex: 0 0 18px; width: 18px; height: 18px; margin: 0; }

.mtn-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px; border-radius: 999px; font-family: var(--mtn-body); font-size: 16px; font-weight: 600; line-height: 1; white-space: nowrap; border: 1px solid transparent; transition: background-color .2s, color .2s, border-color .2s; cursor: pointer; }
.mtn .mtn-btn--light, .mtn .mtn-btn--light:visited { background: var(--mtn-ink); color: #000; }
.mtn .mtn-btn--light:hover { background: #e6e6e6; }
.mtn .mtn-btn--ghost, .mtn .mtn-btn--ghost:visited { border-color: rgba(255, 255, 255, .55); color: var(--mtn-ink); background: transparent; }
.mtn .mtn-btn--ghost:hover { border-color: var(--mtn-ink); background: rgba(255, 255, 255, .08); }
.mtn .mtn-btn--red, .mtn .mtn-btn--red:visited { background: var(--mtn-red); color: var(--mtn-ink); }
.mtn .mtn-btn--red:hover { background: var(--mtn-red-deep); }

/* ---------- listing: page glow (los posts tienen el suyo al final del archivo, 1.0.6) ---------- */
.mtn[data-site] { background: var(--mtn-glow), var(--mtn-bg); }

/* ---------- listing: head ---------- */
.mtn-head { display: flex; flex-direction: column; gap: 18px; padding-bottom: 44px; }
.mtn-head > div { min-width: 0; }
.mtn-label { margin: 0 0 18px; font-size: 16px; font-weight: 600; color: var(--mtn-mute); }
.mtn-label b { color: var(--mtn-red); font-weight: 600; }
.mtn-title { margin: 0; font-family: var(--mtn-display); font-weight: 700; font-size: clamp(52px, 5.4vw, 78px); line-height: .98; letter-spacing: -.028em; color: var(--mtn-ink); text-wrap: balance; }
.mtn-lede { margin: 0; max-width: 54ch; font-size: 19px; line-height: 1.5; color: var(--mtn-mute); text-wrap: pretty; }

/* ---------- listing: bento of the three newest (page 1, "Todo") ---------- */
.mtn-bento { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); grid-template-rows: repeat(2, minmax(clamp(250px, 21vw, 310px), auto)); gap: 16px; margin-bottom: 80px; }
.mtn-tile { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-width: 0; padding-top: 72px; overflow: hidden; border-radius: 28px; background: var(--mtn-surface); isolation: isolate; }
.mtn-tile--lead { grid-row: 1 / span 2; }
.mtn-tile > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.mtn-tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, .42) 0, rgba(0, 0, 0, 0) 22%, rgba(0, 0, 0, 0) 38%, rgba(0, 0, 0, .62) 64%, rgba(0, 0, 0, .94) 100%); transition: opacity .4s; }
.mtn-tile.is-empty > img { position: absolute; inset: 0; margin: auto; width: 46%; height: auto; object-fit: contain; z-index: -2; }
.mtn-tag { position: absolute; top: 20px; left: 20px; display: inline-flex; align-items: center; height: 30px; padding: 0 13px; border-radius: 999px; background: rgba(0, 0, 0, .45); border: 1px solid rgba(255, 255, 255, .18); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: 13px; font-weight: 600; color: var(--mtn-ink); white-space: nowrap; }
.mtn-tile-body { position: relative; display: flex; flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 20px; padding: 28px; }
.mtn-tile h2, .mtn-tile h3 { margin: 0; font-family: var(--mtn-display); font-weight: 700; color: var(--mtn-ink); letter-spacing: -.015em; text-wrap: balance; text-shadow: 0 1px 24px rgba(0, 0, 0, .35); }
.mtn-tile h2 { font-size: clamp(30px, 2.7vw, 40px); line-height: 1.05; max-width: 20ch; }
.mtn-tile h3 { font-size: clamp(19px, 1.5vw, 22px); line-height: 1.18; }
.mtn-tile:not(.mtn-tile--lead)::before { background: linear-gradient(180deg, rgba(0, 0, 0, .4) 0, rgba(0, 0, 0, .05) 22%, rgba(0, 0, 0, .55) 48%, rgba(0, 0, 0, .95) 100%); }
.mtn-tile:not(.mtn-tile--lead) .mtn-tile-body { padding: 24px; gap: 12px; }
.mtn-tile-foot { flex: 0 0 auto; display: flex; align-items: center; justify-content: flex-end; gap: 16px; font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, .78); }
.mtn-tile:hover > img { transform: scale(1.045); }
.mtn-tile:hover .mtn-arrow, .mtn-card:hover .mtn-arrow { background: var(--mtn-red); border-color: var(--mtn-red); transform: rotate(45deg); }
.mtn-tile .mtn-arrow { background: rgba(0, 0, 0, .25); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }

/* ---------- listing: carousel indicator (phones only) ---------- */
.mtn-dots { display: none; }

@media (max-width: 680px) and (hover: hover) and (pointer: fine) {
  .mtn-bento, .mtn-bento a, .mtn-tabs ul { cursor: grab; }
}

/* ---------- listing: transition into the archive ---------- */
.mtn-more-h { margin: 0 0 22px; font-family: var(--mtn-display); font-weight: 700; font-size: clamp(28px, 2.6vw, 38px); line-height: 1.05; letter-spacing: -.02em; color: var(--mtn-ink); text-wrap: balance; }

/* ---------- listing: topic tabs ---------- */
.mtn-tabs { position: relative; margin-bottom: 40px; border-bottom: 1px solid var(--mtn-line); }
.mtn-tabs ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 36px; }
.mtn-tabs a { position: relative; display: inline-flex; align-items: baseline; gap: 7px; padding: 4px 0 18px; font-family: var(--mtn-display); font-size: 17px; font-weight: 600; color: var(--mtn-mute); white-space: nowrap; transition: color .2s; }
.mtn-tabs a span { font-family: var(--mtn-body); font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; opacity: .7; }
.mtn .mtn-tabs a:hover { color: var(--mtn-ink); }
.mtn .mtn-tabs a.is-active { color: var(--mtn-ink); }
.mtn-tabs a.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; border-radius: 2px; background: var(--mtn-red); }

/* ---------- listing: card grid ---------- */
.mtn-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.mtn-grid--few { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mtn-card { min-width: 0; }
.mtn-card > a { display: flex; flex-direction: column; height: 100%; overflow: hidden; border-radius: 24px; background: var(--mtn-surface); transition: background-color .3s, transform .3s; }
.mtn-card-media { position: relative; overflow: hidden; aspect-ratio: 3 / 2; background: var(--mtn-surface-2); isolation: isolate; }
.mtn-card-media > img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.mtn-card-media.is-contain > img:not(.mtn-bg) { position: relative; z-index: 1; object-fit: contain; }
.mtn-card-media > img.mtn-bg { position: absolute; inset: -24px; width: calc(100% + 48px); height: calc(100% + 48px); object-fit: cover; filter: blur(22px) saturate(1.1) brightness(.42); z-index: 0; }
.mtn-card-body { flex: 1; display: flex; flex-direction: column; gap: 20px; padding: 22px 24px 24px; }
.mtn-card h3 { margin: 0; font-family: var(--mtn-display); font-weight: 700; font-size: 22px; line-height: 1.2; letter-spacing: -.01em; color: var(--mtn-ink); text-wrap: balance; }
.mtn-card-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 14px; font-weight: 600; color: var(--mtn-mute); }
.mtn-card-foot.no-topic { justify-content: flex-end; }
.mtn-topic { color: #ff5052; }
.mtn-card:hover > a { background: var(--mtn-surface-2); transform: translateY(-4px); }
.mtn-card:hover .mtn-card-media > img:not(.mtn-bg) { transform: scale(1.04); }

/* ---------- listing: admissions band (sits inside the grid) ---------- */
.mtn-band { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); overflow: hidden; margin-block: 32px; border-radius: 30px; background: var(--mtn-red); color: var(--mtn-ink); }
.mtn-band--plain { grid-template-columns: minmax(0, 1fr); }
.mtn-band-copy { display: flex; flex-direction: column; justify-content: center; gap: 28px; padding: 56px 60px; }
.mtn-band h2 { margin: 0 0 12px; font-family: var(--mtn-display); font-weight: 700; font-size: clamp(30px, 3vw, 46px); line-height: 1.02; letter-spacing: -.02em; color: var(--mtn-ink); text-wrap: balance; }
.mtn-band p { margin: 0; max-width: 46ch; color: rgba(255, 255, 255, .9); }
.mtn-band p a { text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.mtn-band-photo { position: relative; min-height: 320px; }
.mtn-band-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.mtn-band-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.mtn .mtn-band .mtn-btn--ghost { border-color: rgba(255, 255, 255, .7); }

/* ---------- listing: pager ---------- */
.mtn-pager { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-top: 64px; }
.mtn-pager-status { font-size: 15px; color: var(--mtn-mute); font-variant-numeric: tabular-nums; }
.mtn-pager ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.mtn-pager ol a, .mtn-pager ol span { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 14px; border-radius: 999px; font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--mtn-mute); }
.mtn .mtn-pager ol a:hover { color: var(--mtn-ink); background: var(--mtn-surface); }
.mtn-pager ol [aria-current] { background: var(--mtn-ink); color: #000; }
.mtn-pager ol .mtn-step { border: 1px solid var(--mtn-line); color: var(--mtn-ink); }
.mtn-pager ol .is-off { opacity: .3; }

.mtn-empty { padding: 48px 0; color: var(--mtn-mute); }

/* ---------- single post ---------- */
.mtn-post { --mtn-col: 760px; }
.mtn-col { max-width: calc(var(--mtn-col) + var(--mtn-gutter) * 2); margin: 0 auto; padding-inline: var(--mtn-gutter); }
.mtn .mtn-back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 28px; font-size: 15px; font-weight: 600; color: var(--mtn-mute); }
.mtn .mtn-back:hover { color: var(--mtn-ink); }
.mtn-post-head h1 { margin: 22px 0 0; font-family: var(--mtn-display); font-weight: 700; font-size: clamp(36px, 4.6vw, 60px); line-height: 1.04; letter-spacing: -.02em; color: var(--mtn-ink); text-wrap: balance; }
.mtn-post-hero { margin: 44px auto 0; }
.mtn-post-hero .mtn-media { aspect-ratio: auto; }
.mtn-post-hero img { width: 100%; height: auto; }

.mtn-prose { margin-top: 44px; font-size: 19px; line-height: 1.72; color: var(--mtn-text); }
.mtn-prose > :first-child { margin-top: 0; }
.mtn-prose p { margin: 0 0 1.15em; }
.mtn-prose h2, .mtn-prose h3, .mtn-prose h4 { font-family: var(--mtn-display); font-weight: 700; color: var(--mtn-ink); letter-spacing: -.01em; text-wrap: balance; }
.mtn-prose h2 { margin: 1.9em 0 .55em; font-size: 31px; line-height: 1.15; }
.mtn-prose h3 { margin: 1.7em 0 .5em; font-size: 24px; line-height: 1.2; }
.mtn-prose h4 { margin: 1.5em 0 .5em; font-size: 20px; line-height: 1.25; }
.mtn-prose strong, .mtn-prose b { color: var(--mtn-ink); font-weight: 600; }
.mtn-prose a { color: var(--mtn-ink); text-decoration: underline; text-decoration-color: var(--mtn-red); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.mtn-prose ul, .mtn-prose ol { margin: 0 0 1.2em; padding-left: 1.3em; }
.mtn-prose li { margin: 0 0 .5em; padding-left: .2em; }
.mtn-prose li::marker { color: var(--mtn-mute); font-weight: 600; }
.mtn-prose img { display: block; width: auto; max-width: 100%; height: auto; max-height: 640px; margin: 1.6em auto; border-radius: 18px; }
.mtn-prose p > img:only-child { margin-block: .4em; }
.mtn-prose figure { margin: 1.6em 0; }
.mtn-prose figcaption { margin-top: -.8em; font-size: 15px; color: var(--mtn-mute); }
.mtn-prose blockquote { margin: 1.6em 0; padding: 0; font-family: var(--mtn-display); font-size: 26px; line-height: 1.3; color: var(--mtn-ink); }
.mtn-prose iframe { max-width: 100%; }

.mtn-post-cta { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; margin-top: 64px; padding: 40px 44px; border-radius: 28px; background: var(--mtn-surface); }
.mtn-post-cta .mtn-kicker { margin: 0; font-size: 15px; font-weight: 600; color: var(--mtn-mute); }
.mtn-post-cta h2 { margin: 6px 0 0; font-family: var(--mtn-display); font-weight: 700; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.1; color: var(--mtn-ink); text-wrap: balance; }
.mtn-post-cta p.mtn-cta-text { margin: 10px 0 0; color: var(--mtn-mute); font-size: 17px; }
.mtn-post-cta .mtn-band-actions { margin-top: 4px; }
.mtn-post-cta .mtn-call { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 0; font-size: 15px; color: var(--mtn-mute); }
.mtn-post-cta .mtn-call > a { color: var(--mtn-ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--mtn-red); text-underline-offset: 4px; }
.mtn-post-cta .mtn-call a { color: var(--mtn-ink); font-weight: 600; white-space: nowrap; }

.mtn-related { margin-top: 112px; }
.mtn-related-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 36px; }
.mtn-related-head h2 { margin: 0; font-family: var(--mtn-display); font-weight: 700; font-size: clamp(32px, 3.4vw, 48px); line-height: 1; letter-spacing: -.02em; color: var(--mtn-ink); }
.mtn-related-head a { font-weight: 600; color: var(--mtn-ink); display: inline-flex; gap: 8px; align-items: center; }

/* ---------- tablet ---------- */
@media (max-width: 1024px) {
  .mtn { --mtn-top: 150px; }
  .mtn-bento { grid-template-rows: repeat(2, minmax(240px, auto)); }
  .mtn-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .mtn-band { grid-template-columns: minmax(0, 1fr); }
  .mtn-band-photo { min-height: 0; aspect-ratio: 16 / 7; order: -1; }
  .mtn-band-copy { padding: 44px 40px; }
}

/* ---------- phone ---------- */
@media (max-width: 680px) {
  .mtn { --mtn-gutter: 16px; --mtn-top: 120px; --mtn-radius: 20px; font-size: 17px; padding-bottom: 64px; }
  .mtn-head { padding-bottom: 28px; gap: 14px; }
  .mtn-label { margin-bottom: 12px; font-size: 15px; }
  .mtn-title { font-size: 50px; }
  .mtn-lede { font-size: 17px; }

  /* the three newest become a swipeable rail */
  .mtn-bento { display: flex; height: auto; gap: 12px; margin: 0 calc(var(--mtn-gutter) * -1) 36px; padding: 0 var(--mtn-gutter); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--mtn-gutter); scrollbar-width: none; }
  .mtn-bento::-webkit-scrollbar { display: none; }
  .mtn-bento { margin-bottom: 16px; }
  .mtn-dots { display: flex; justify-content: center; align-items: center; gap: 6px; margin: 0 0 36px; }
  .mtn-dots span { width: 6px; height: 6px; border-radius: 999px; background: rgba(255, 255, 255, .3); transition: width .25s ease, background-color .25s ease; }
  .mtn-dots span.is-on { width: 22px; background: var(--mtn-red); }
  .mtn-bento.is-dragging, .mtn-tabs ul.is-dragging { scroll-snap-type: none; scroll-behavior: auto; cursor: grabbing; user-select: none; -webkit-user-select: none; }
  .mtn-bento.is-dragging a, .mtn-tabs ul.is-dragging a { cursor: grabbing; }
  .mtn-tile { flex: 0 0 84%; justify-content: flex-start; padding-top: 0; scroll-snap-align: start; border-radius: 24px; background: var(--mtn-surface); }
  .mtn-tile::before { display: none; }
  .mtn-tile > img { position: static; flex: 0 0 auto; width: 100%; height: auto; aspect-ratio: 3 / 2; z-index: 0; }
  .mtn-tile.is-empty > img { position: static; width: 100%; aspect-ratio: 3 / 2; padding: 0 22%; }
  .mtn-tile:hover > img { transform: none; }
  .mtn-tile h2, .mtn-tile h3 { font-size: 21px; line-height: 1.18; text-shadow: none; }
  .mtn-tile-body, .mtn-tile:not(.mtn-tile--lead) .mtn-tile-body { padding: 18px 20px 22px; gap: 12px; }
  .mtn-tile-foot { display: none; }  /* el tile entero es tap; el título usa todo el ancho */
  .mtn-tag { top: 16px; left: 16px; }

  .mtn-more-h { font-size: 26px; margin-bottom: 14px; }
  .mtn-tabs { margin: 0 calc(var(--mtn-gutter) * -1) 8px; }
  .mtn-tabs ul { gap: 26px; overflow-x: auto; padding: 0 var(--mtn-gutter); scrollbar-width: none; }
  .mtn-tabs ul::-webkit-scrollbar { display: none; }
  .mtn-tabs a { font-size: 16px; padding-bottom: 14px; }

  /* compact rows: thumb + title, ~5 stories per screen */
  .mtn-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .mtn-card > a { flex-direction: row; align-items: center; gap: 16px; padding: 16px 0; border-radius: 0; background: none; border-bottom: 1px solid var(--mtn-line); }
  .mtn-card:hover > a { background: none; transform: none; }
  .mtn-card-media { flex: 0 0 96px; width: 96px; aspect-ratio: 1; border-radius: 16px; }
  .mtn-card-body { padding: 0; gap: 8px; min-width: 0; }
  .mtn-card h3 { font-size: 17px; line-height: 1.25; }
  .mtn-card-foot { margin-top: 0; font-size: 13px; order: -1; }
  .mtn-card-foot.no-topic { display: none; }
  .mtn-card .mtn-arrow { display: none; }
  .is-empty > img.mtn-logo { width: 70%; }

  .mtn-band { margin-block: 28px; border-radius: 24px; }
  .mtn-band-photo { aspect-ratio: 16 / 9; }
  .mtn-band-copy { padding: 28px 22px 26px; gap: 22px; }
  .mtn-band h2 { font-size: 28px; }
  .mtn-band p { font-size: 16px; }
  .mtn-band-actions { flex-direction: column; }
  .mtn-band-actions .mtn-btn { width: 100%; }
  .mtn-pager { margin-top: 36px; justify-content: center; }
  .mtn-pager-status { width: 100%; text-align: center; }

  .mtn .mtn-back { margin-bottom: 20px; }
  .mtn-post-head h1 { font-size: 34px; margin-top: 18px; }
  .mtn-post-hero { margin-top: 28px; }
  .mtn-prose { margin-top: 32px; font-size: 18px; line-height: 1.68; }
  .mtn-prose h2 { font-size: 26px; }
  .mtn-prose h3 { font-size: 21px; }
  .mtn-prose img { border-radius: 14px; }
  .mtn-post-cta { margin-top: 48px; padding: 28px 22px; border-radius: 22px; }
  .mtn-post-cta .mtn-band-actions { flex-direction: column; }
  .mtn-post-cta .mtn-btn { width: 100%; }
  .mtn-related { margin-top: 72px; }
  .mtn-related-head { margin-bottom: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .mtn-tile > img, .mtn-card-media > img, .mtn-card > a, .mtn-arrow, .mtn-dots span { transition: none; }
  .mtn-tile:hover > img, .mtn-card:hover .mtn-card-media > img { transform: none; }
  .mtn-card:hover > a { transform: none; }
}

/* ---------- page shell: our pages run edge to edge, no theme sidebar ---------- */
body.mtn-page #page .site-content { margin-top: 0; margin-bottom: 0; }
body.mtn-page #content > .col-full { max-width: none; padding-left: 0; padding-right: 0; }
body.mtn-page .content-area { width: 100%; float: none; margin: 0; }
body.mtn-page .content-area::before, body.mtn-page .content-area::after { content: none; display: none; }
body.mtn-page #secondary { display: none; }

/* ---------- single post: resplandor + grano (1.0.6) ----------
   Mismo lenguaje que el listado: rojo profundo arriba (detrás del título y la foto),
   un eco suave a mitad del texto y otro detrás del CTA, más un grano fino para que
   el negro no se vea plano. El texto queda sobre casi-negro (contraste AA de sobra). */
body.mtn-single .mtn {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(1300px 820px at 78% -80px, rgba(160, 0, 0, .70), transparent 70%),
    radial-gradient(900px 640px at 6% 40px, rgba(130, 0, 0, .34), transparent 70%),
    radial-gradient(1000px 1100px at -12% 45%, rgba(120, 0, 0, .28), transparent 70%),
    radial-gradient(1200px 900px at 108% 78%, rgba(130, 0, 0, .28), transparent 70%),
    var(--mtn-bg);
}
body.mtn-single .mtn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .09;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}
body.mtn-single .mtn-post-hero .mtn-media {
  box-shadow: 0 60px 140px -40px rgba(207, 1, 3, .38), 0 0 0 1px rgba(255, 255, 255, .06);
}
body.mtn-single .mtn-post-cta {
  background:
    radial-gradient(640px 340px at 100% 0%, rgba(207, 1, 3, .30), transparent 70%),
    linear-gradient(180deg, #180202 0%, #0f0f0f 100%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .08);
}

/* ---------- listado: mismo resplandor + grano que los posts (1.0.8) ----------
   Los dos de arriba en px (no en % de la altura de la página, que en un listado
   largo los subía fuera de la pantalla). */
.mtn[data-site] {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(1300px 820px at 78% -80px, rgba(160, 0, 0, .70), transparent 70%),
    radial-gradient(1000px 700px at 4% 60px, rgba(130, 0, 0, .36), transparent 70%),
    radial-gradient(1000px 1100px at -12% 52%, rgba(120, 0, 0, .28), transparent 70%),
    radial-gradient(1200px 900px at 108% 86%, rgba(130, 0, 0, .28), transparent 70%),
    var(--mtn-bg);
}
.mtn[data-site]::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .09;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}
