
.nm-app { max-width: 480px; height: 100vh; height: 100dvh; margin: auto; display: flex; flex-direction: column; background: white; }
.nm-app [hidden] { display: none !important; }
.nm-header { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 7px 14px; border-bottom: 3px solid var(--blue); }
.nm-header img { width: min(190px, 49vw); height: auto; display: block; }
.nm-header > span { color: #43545b; font-size: 12px; }
.nm-surface { min-height: 0; flex: 1; overflow-y: auto; }
.nm-feed { container-type: size; scroll-snap-type: y proximity; scrollbar-width: none; overflow-anchor: none; }
.nm-feed-item { display: flex; flex-direction: column; min-height: 100%; scroll-snap-align: start; overflow: clip; background: #fff; }
.nm-rail {
  --slide-room: max(0px, calc(100cqh - 48px));
  flex: 1 0 auto; min-height: 0; block-size: var(--active-slide-height, auto);
  display: flex; align-items: flex-start; overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none;
}
.nm-slide {
  flex: 0 0 100%; min-width: 0; min-height: var(--slide-room);
  scroll-snap-align: start; overflow-wrap: anywhere;
}
.nm-cover {
  position: relative; isolation: isolate; display: grid; grid-template-rows: 1fr auto;
  background: #153342; color: white;
}
.nm-cover-media { position: absolute; inset: 0; overflow: hidden; z-index: -1; }
.nm-cover-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, #102b3800 22%, #102b3852 54%, #102b38d9 80%, #102b38 100%);
}
.nm-cover-image, .nm-cover-backdrop {
  position: absolute; inset: 0; display: block; width: 100%; height: 100%;
}
.nm-cover-image {
  z-index: 1; height: auto; min-height: min(100%, 210px); max-height: 100%;
  object-fit: cover; object-position: center top;
  -webkit-mask-image: linear-gradient(#000 69%, transparent 100%);
  mask-image: linear-gradient(#000 69%, transparent 100%);
}
.nm-cover-image.nm-portrait {
  height: 100%; object-fit: cover; object-position: center 40%;
  -webkit-mask-image: none; mask-image: none;
}
.nm-cover-backdrop { object-fit: cover; filter: blur(22px); opacity: .5; transform: scale(1.14); }
.nm-cover-copy, .nm-slide-content { padding: clamp(14px, 5vw, 23px); }
.nm-cover-copy { align-self: end; padding-block-end: 0; }
.nm-cover-photo .nm-cover-copy { padding-block-start: clamp(124px, 36cqh, 300px); }
.nm-cover-photo::after {
  content: ""; position: absolute; z-index: -1; inset: 0;
  background: linear-gradient(to bottom, transparent 33%, #102b3840 51%, #102b38c9 72%, #102b38 93%);
}
.nm-cover h1 {
  font-size: clamp(24px, 7.2vw, 38px); line-height: 1.06; margin: 5px 0 0;
  text-wrap: pretty; text-shadow: 0 1px 6px #102b38c9;
}
.nm-cover h1.nm-long-title { font-size: clamp(22px, 6.5vw, 33px); }
.nm-label { color: #006b8a; font-weight: 700; text-transform: uppercase; font-size: 11px; letter-spacing: .09em; }
.nm-cover .nm-label, .nm-panel-feature .nm-label { color: #bce45c; }
.nm-deck { font-size: 14px; line-height: 1.42; margin: 8px 0 0; }
.nm-credit { font-size: 10px; line-height: 1.25; margin: 0 0 7px; color: #e6f1f3; }
.nm-reading-intro { border-bottom: 1px solid #d8e7eb; margin: 0 0 12px; padding: 0 0 10px; }
.nm-summary { font-size: .95rem; line-height: 1.45; margin: 0; }
.nm-quick-caption { font-size: .8rem; line-height: 1.4; margin: 5px 0 0; color: #43545b; }
.nm-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 12px; }
.nm-actions > :is(a, button), .nm-primary { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; font-size: 13px; font-weight: 650; }
.nm-actions > a:not(.nm-primary) { text-decoration: underline; }
.nm-primary { gap: 7px; padding: 7px 11px; background: var(--blue); color: #102b33; border: 0; border-radius: 4px; }
.nm-text, .nm-end { background: #fff; }
.nm-end { background: #eef9fc; }
.nm-body { font-size: clamp(16px, 4.9vw, 20px); line-height: 1.55; margin-top: 12px; }
.nm-body :is(p, ul, ol, blockquote) { margin: 0 0 .75em; }
.nm-body table { display: block; overflow-x: auto; overflow-y: hidden; max-width: 100%; }
.nm-body a { text-decoration: underline; color: #006b8a; }
.nm-end h2, .nm-ad h2 { margin: 7px 0; font-size: 25px; }
.nm-upcoming { margin-block-start: 1rem; }
.nm-upcoming h3 { margin: 0 0 .35rem; font-size: .95rem; color: #153342; }
.nm-upcoming ul { margin: 0; padding: 0; list-style: none; }
.nm-upcoming a {
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  min-height: 44px; padding: .55rem 0; border-top: 1px solid #c7dde3;
  color: #153342; font-weight: 650; line-height: 1.2;
}
.nm-upcoming a::after { content: "↓"; flex: none; color: #006b8a; }
.nm-actions button:not(.nm-primary) { border: 0; background: transparent; padding: 0; text-decoration: underline; }
.nm-controls { flex: 0 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 6px; min-height: 48px; padding: 0 10px; background: #edf4f6; }
.nm-controls button, .nm-controls a { display: grid; place-items: center; min-width: 44px; min-height: 44px; background: transparent; border: 0; color: #153342; font-size: 12px; }
.nm-controls button { font-size: 18px; }
.nm-controls a { display: inline-flex; justify-content: center; gap: 4px; }
.nm-controls button:disabled { opacity: .45; }
.nm-controls [data-progress] { font-size: 12px; white-space: nowrap; }
.nm-ad { background: #eff5e4; justify-content: center; align-items: stretch; padding: 20px; }
.nm-ad > div { padding: 18px; border-top: 4px solid var(--green); background: white; }
.nm-panel { scrollbar-width: none; container-type: size; }
.nm-panel-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 10px; }
.nm-panel-feature, .nm-panel-promo { grid-column: 1 / -1; }
.nm-panel-feature { position: relative; isolation: isolate; overflow: hidden; background: #153342; color: #fff; min-height: 145px; display: grid; align-items: end; padding: 12px; }
.nm-panel-feature::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(transparent, #112d39f5); }
.nm-panel-feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.nm-panel-feature strong { display: block; margin: 4px 0; font-size: clamp(19px, 5vw, 26px); line-height: 1.09; }
.nm-panel-feature small { font-size: 12px; }
.nm-tile { min-height: 88px; display: flex; justify-content: space-between; align-items: end; gap: 7px; padding: 11px; font-size: clamp(16px, 5vw, 21px); font-weight: 650; line-height: 1.12; color: #153342; background: #e2f4f8; }
.nm-tile:nth-of-type(odd) { background: #edf3db; }
.nm-tile .nm-arrow, .nm-panel-promo .nm-arrow { color: #006b8a; font-size: 20px; }
.nm-panel-promo { display: flex; justify-content: space-between; align-items: center; gap: 6px; min-height: 64px; padding: 9px 12px; background: #e3f4f9; }
.nm-panel-promo strong { display: block; font-size: 15px; }
.nm-feature-slot {
  grid-column: 1 / -1; min-height: 88px; padding: 12px;
  border-inline-start: 4px solid var(--green); background: #e3f4f9;
}
.nm-feature-slot:not(a) { display: grid; place-items: center; }
.nm-arrow {
  position: relative; display: inline-block; flex: none; width: 1em; height: 1em;
  vertical-align: -.14em;
}
.nm-arrow::before, .nm-arrow::after { content: ""; position: absolute; top: 50%; }
.nm-arrow::before {
  left: .12em; width: .70em; height: 1.5px; background: currentColor;
  transform: translateY(-50%);
}
.nm-arrow::after {
  right: .18em; width: .43em; height: .43em;
  border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}
.nm-arrow--left { transform: rotate(180deg); }
.nm-arrow--down { transform: rotate(90deg); }
.nm-nav {
  flex: 0 0 auto; position: relative; z-index: 1; display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: center;
  margin: 12px 9px max(7px, env(safe-area-inset-bottom)); padding: 4px;
  border: 1px solid #008ab1; border-radius: 26px; background: var(--blue);
  box-shadow: 0 5px 16px #1533423d;
}
.nm-nav a {
  display: grid; justify-items: center; align-content: center; gap: 4px;
  min-height: 49px; border-radius: 20px; color: #102b33; font-size: 11px; font-weight: 650;
}
.nm-nav a[aria-current] { background: #e2f7fc; }
.nm-nav .nm-home { position: relative; align-content: end; padding-bottom: 3px; font-weight: 750; }
.nm-home .nm-icon-house {
  position: absolute; top: -18px; left: 50%; transform: translateX(-50%);
  width: 46px; height: 46px; border: 3px solid #fff; border-radius: 50%;
  background: var(--green); color: #102b33; box-shadow: 0 3px 8px #15334236;
}
.nm-icon { display: block; position: relative; width: 19px; height: 19px; box-sizing: border-box; }
.nm-icon::before, .nm-icon::after { content: ""; position: absolute; box-sizing: border-box; }
.nm-icon-clock { border: 1.7px solid currentColor; border-radius: 50%; }
.nm-icon-clock::before { left: 7px; top: 3px; width: 5px; height: 6px; border-left: 1.7px solid; border-bottom: 1.7px solid; }
.nm-icon-grid::before, .nm-icon-grid::after { left: 1px; width: 7px; height: 7px; border: 1.7px solid; border-radius: 2px; box-shadow: 10px 0 currentColor; }
.nm-icon-grid::before { top: 1px; }
.nm-icon-grid::after { bottom: 1px; }
.nm-icon-house::before { left: 13px; top: 10px; width: 13px; height: 13px; border: 2px solid; border-right: 0; border-bottom: 0; transform: rotate(45deg); border-radius: 2px; }
.nm-icon-house::after { left: 12px; top: 18px; width: 16px; height: 12px; border: 2px solid; border-top: 0; border-radius: 0 0 3px 3px; }
.nm-icon-search::before { left: 1px; top: 1px; width: 13px; height: 13px; border: 1.7px solid; border-radius: 50%; }
.nm-icon-search::after { left: 12px; top: 12px; width: 7px; height: 1.7px; border-radius: 2px; background: currentColor; transform: rotate(45deg); transform-origin: left; }
.nm-icon-case::before { inset: 5px 0 1px; border: 1.7px solid; border-radius: 3px; background: linear-gradient(currentColor,currentColor) center / 100% 1px no-repeat; }
.nm-icon-case::after { top: 2px; left: 6px; width: 7px; height: 5px; border: 1.7px solid; border-radius: 3px 3px 0 0; }

.nm-feed-footer, .nm-pagination { scroll-snap-align: end; }
.nm-footer {
  display: grid; gap: 10px; padding: 20px 14px 12px;
  border-top: 3px solid var(--blue); color: #153342; background: #f0f7f7;
}
.nm-footer-brand { justify-self: start; }
.nm-footer-brand img { display: block; max-width: 100%; height: auto; }
.nm-footer p { margin: 0; font-size: 13px; }
.nm-footer nav { display: flex; flex-wrap: wrap; gap: 0 14px; }
.nm-footer nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; text-decoration: underline; }
.nm-pagination { display: grid; place-items: center; padding: 10px; background: #edf4f6; }
.nm-pagination a { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; color: #005d75; font-weight: 650; }

.nm-utility { padding: 18px; }
.nm-utility label { display: block; }
.nm-utility :is(a, button, input) { min-height: 44px; }
.nm-utility a { display: inline-flex; align-items: center; gap: 6px; text-decoration: underline; }
.nm-utility input[type=search] { flex: 1; min-width: 110px; border: 1px solid #759097; padding: 5px 8px; font-size: 16px; }
.nm-status { position: fixed; inset: auto 10px 74px; max-width: 430px; width: calc(100% - 20px); margin: auto; padding: 8px 12px; background: #153342; color: white; pointer-events: none; }
@media (max-height: 650px) {
  .nm-cover-photo .nm-cover-copy { padding-block-start: clamp(90px, 32cqh, 200px); }
  .nm-cover h1 { font-size: clamp(22px, 6.5vw, 29px); }
  .nm-cover h1.nm-long-title { font-size: clamp(20px, 6vw, 26px); }
}

.nm-reading-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.nm-reading-actions > a { padding: 6px 8px; text-align: center; line-height: 1.2; }
.nm-reading-actions > a:not(.nm-primary) { border: 1px solid currentColor; border-radius: 4px; text-decoration: none; }


/* Editorial headings appear once, at the start of their own section. */
.nm-reading-heading { margin: 0 0 12px; }
.nm-reading-heading h2 {
  margin: 5px 0 0; font-size: clamp(20px, 5.6vw, 26px); line-height: 1.16;
  text-wrap: balance;
}
.nm-text .nm-body { margin-top: 0; }
.nm-media-content { padding: 16px 0; }
.nm-media-content .nm-reading-heading { padding: 0 clamp(14px, 5vw, 23px); }
.nm-body figure { width: 100%; max-width: 100%; margin: 0 0 .75em; }
.nm-body :is(img, video, iframe) {
  display: block; box-sizing: border-box; width: 100%; max-width: 100%;
  height: auto; object-fit: contain; object-position: center; margin: 0 auto;
}
.nm-body img.nm-portrait { aspect-ratio: 4 / 5; object-fit: cover; object-position: center 65%; }
.nm-body iframe { aspect-ratio: 16 / 9; }
.nm-body video.nm-portrait { aspect-ratio: 4 / 5; }
.nm-body figcaption { margin: 10px clamp(14px, 5vw, 23px) 0; font-size: 12px; line-height: 1.4; }
.nm-cover-details { padding: 8px clamp(14px, 5vw, 23px) 12px; }


.cl-feed { display:none; --blue:#007488; --green:#f6c85b; }
@media(max-width:767px) {
  body.home:has(.cl-feed):not(.cl-tradicional) .cl-desktop,
  body.home:has(.cl-feed):not(.cl-tradicional) .footer { display:none; }
  body.home:has(.cl-feed):not(.cl-tradicional) .site-masthead { position:relative; margin:0; }
  body.home:has(.cl-feed):not(.cl-tradicional) .main { margin:0; padding:0; width:100%; max-width:none; }
  body:not(.cl-tradicional) .cl-feed { display:flex; max-width:none; height:calc(100vh - 78px); height:calc(100dvh - var(--cl-mast-height,78px)); }
  .cl-feed .nm-cover { background:var(--sea-dark); }
  .cl-feed .nm-cover h1 { font-family:var(--reading); letter-spacing:-.025em; font-size:clamp(32px,9vw,45px); font-weight:500; line-height:1.02; }
  .cl-feed .nm-primary { background:var(--yellow); color:var(--ink); }
  .cl-feed .nm-reading-actions a { display:grid; align-content:center; }
  .cl-feed .nm-body { font-family:var(--reading); font-size:21px; line-height:1.45; }
  .cl-feed .nm-actions a:hover { color:inherit; }
  .cl-feed .nm-controls { gap:8px; }
  .cl-feed-nav { display:flex; justify-content:space-evenly; align-items:center; gap:4px; padding:3px 5px max(3px,env(safe-area-inset-bottom)); background:var(--sand); border-top:1px solid var(--line); }
  .cl-feed-nav a { padding:12px 4px; font-size:12px; font-weight:750; color:var(--sea-dark); }
}

.cl-feed-art {grid-template-rows:auto 1fr auto;}
.cl-feed-illustration {background:#f7eed9;}
.cl-feed-illustration .cl-arte {display:block; position:static; height:auto; max-height:42dvh; width:100%; object-fit:contain;}
.cl-feed-art .nm-cover-copy {padding-top:1.25rem;}
