/*
Theme Name: Makedonija Local Network
Author: Makedonija.mk
Description: Светла уредничка тема со распоред според избраната Postimees референца.
Version: 4.1.4
Requires at least: 6.6
Requires PHP: 8.0
Text Domain: makedonija
*/

@font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 300 800; font-stretch: 100%; font-display: swap; src: url(assets/open-sans-unified-v1.woff2) format('woff2'); }





/* Base components and interaction states. */
:root {
  --accent: #D7244D;
  --header-soft-red: #FFB1BB;
  --masthead-red: var(--accent);
  --ink: #242526;
  --line: #aab1b8;
  --muted: #64707c;
  --gold: #FDCA40;
  --detail: #242526;
  --rule: #555b63;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: 'Open Sans', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  touch-action: manipulation;
}

a:hover {
  color: var(--accent);
}

button {
  font: inherit;
  cursor: pointer;
  touch-action: manipulation;
}

input {
  font: inherit;
  touch-action: manipulation;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a:focus-visible {
  outline: 3px solid #e6a918;
  outline-offset: 3px;
}

button:focus-visible {
  outline: 3px solid #e6a918;
  outline-offset: 3px;
}

input:focus-visible {
  outline: 3px solid #e6a918;
  outline-offset: 3px;
}

.wrap {
  width: 92%;
  max-width: 1280px;
  padding: 0 16px;
  margin: auto;
}

.skip {
  position: absolute;
  left: -10000px;
}

.skip:focus {
  left: 10px;
  top: 10px;
  z-index: 99;
  background: white;
  padding: 10px;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
}

[hidden] {
  display: none!important;
}

.top-ad {
  height: 300px;
  background: #f5f6f7;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #93a0b5;
  font-size: 12px;
}



.ad-slot { grid-column:1 / -1; width:100%; margin:28px 0; display:grid; justify-items:center; gap:7px; font-family:inherit; }
.ad-slot-label { font-size:10px; letter-spacing:1px; text-transform:uppercase; color:var(--muted); }
.ad-creative { width:100%; max-width:728px; min-height:90px; padding:15px 24px; display:flex; flex-direction:column; justify-content:center; gap:8px; background:linear-gradient(115deg,#242526 0%,#242526 65%,#532835 100%); color:#fff; border:1px solid #555b63; border-radius:5px; text-decoration:none; }
.ad-creative:hover { color:#fff; border-color:var(--accent); }
.ad-creative-kicker { color:#FDCA40; font-size:10px; letter-spacing:1.5px; }
.ad-creative strong { font-size:clamp(18px,2.2vw,29px); line-height:1.2; }
.ad-creative-details { display:flex; justify-content:space-between; align-items:center; gap:12px; color:#c7c9cd; font-size:10px; }
.ad-creative-details span { color:#FDCA40; font-size:12px; font-weight:600; }
.ad-creative-billboard { max-width:970px; min-height:250px; padding:30px; }
.ad-creative-billboard strong { max-width:650px; font-size:clamp(25px,3vw,42px); }
.ad-creative-rectangle { max-width:300px; min-height:250px; padding:22px; gap:20px; }
.ad-creative-rectangle .ad-creative-details { flex-direction:column; align-items:flex-start; }
.top-ad .ad-slot { margin:0; padding:12px; }

.masthead {
  background: var(--header-background);
  border-bottom: 3px solid var(--portal-secondary);
  color: var(--header-text);
  position: sticky;
  top: -39px;
  z-index: 50;
  --header-background: var(--portal-header-background, var(--masthead-red));
  --header-text: var(--portal-header-text, #fff);
  --header-brand: var(--portal-header-logo, var(--portal-secondary));
  --toggle-background: #fff;
  --toggle-text: var(--accent);
  transition: background-color .12s ease, color .12s ease;
}

/* Decorative flag stays behind the controls and fades before the right edge. */
.header-flag {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0;
  mask-image: linear-gradient(90deg,#000 0%,#000 12%,transparent 72%);
  transition: opacity .2s ease;
}

.masthead.has-3d-flag .header-flag {
  opacity: var(--flag-opacity, .32);
  transition-duration: 2s;
}

.masthead.is-stuck .header-flag {
  opacity: 0;
  transition-duration: .2s;
}



/* Cached observations: no network work during page rendering. */
.header-weather { position: relative; width: max-content; margin-left: 0; transition: width .18s ease; }
.header-weather summary { display: grid; grid-template-columns: minmax(0,1fr); align-items: center; justify-content: end; gap: 5px; cursor: pointer; list-style: none; color: var(--header-text); }
.header-weather summary::-webkit-details-marker { display: none; }
.header-weather [data-weather-current] { text-align: right; font-variant-numeric: tabular-nums; }
.weather-current-group { grid-area: 1 / 1; justify-self: end; width: max-content; display: flex; align-items: center; gap: 5px; }
.weather-width-reserve { grid-area: 1 / 1; padding-left: 23px; display: grid; visibility: hidden; pointer-events: none; font-variant-numeric: tabular-nums; }
.weather-width-reserve>span { grid-area: 1 / 1; }
.weather-panel { --dropdown-title-size: 13px; --dropdown-title-padding: 0 0 10px; --dropdown-link-size: 10px; --dropdown-link-padding: 8px 0; width: 285px; max-height: min(370px, 60vh); overflow: auto; white-space: normal; }
.weather-panel>div { display: grid; grid-template-columns: 1fr auto 40px; gap: 10px; padding: 7px 0; font-size: 11px; border-bottom: 1px solid var(--line); }
.weather-panel time { color: var(--muted); }


.utility {
  height: 39px;
  display: grid;
  grid-template-columns: auto minmax(0,1fr) auto;
  align-items: center;
  color: var(--header-text);
  gap: 18px;
  padding-block: 4px;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}

.utility-links {
  grid-column: 1;
  grid-row: 1;
  color: var(--portal-utility);
  background: transparent;
  height: 100%;
  align-items: center;
  padding: 3px 0;
  border-radius: 12px;
  display: flex;
  gap: 14px;
  white-space: nowrap;
  font-size: 11px;
  font-weight: 500;
}

.network-home { display: inline-flex; align-items: center; flex: 0 0 var(--network-logo-width, 22px); width: var(--network-logo-width, 22px); height: 24px; margin-right: 3px; }
.network-home span { display: block; width: 100%; height: 23px; transform: translateY(var(--network-logo-offset, 1px)); background: var(--network-logo-color, var(--header-text)); mask: var(--network-logo-image, url(assets/makedonija-initial.svg)) center / contain no-repeat; }

.utility-links a:hover,
.utility-links a:focus-visible {
  color: var(--header-text);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.masthead.is-stuck .utility-links {
  visibility: hidden;
  pointer-events: none;
}

.utility>span {
  grid-column: 3;
  grid-row: 1;
  display: flex;
  justify-content: space-between;
  flex-shrink: 0;
  align-items: center;
  column-gap: 0;
  --metadata-gap: 24px;
  color: var(--header-text);
  line-height: 1.25;
  white-space: nowrap;
  transition: opacity .35s ease;
}

.utility>span::before,
.utility>span::after {
  content: "";
  flex: 1 0 var(--metadata-gap);
  height: 12px;
  background: linear-gradient(rgba(255,255,255,.24),rgba(255,255,255,.24)) center / 1px 100% no-repeat;
}
.utility>span::before { order: 2; }
.utility>span::after { order: 4; }
.utility>span>time { order: 3; color: var(--header-text); }
.utility>span>.header-weather { order: 5; }


.utility>span>a {
  order: 1;
  color: var(--header-text);
  margin: 0;
}

.utility>span>a:hover,
.utility>span>a:focus-visible {
  color: var(--gold);
}


.subscription {
  grid-column: 2;
  grid-row: 1;
  border-radius: 0 0 12px 12px;
  overflow: hidden;
  min-width: 0;
  height: calc(100% + 4px);
  align-self: start;
  margin-top: -4px;
  padding-top: 4px;
  background: var(--gold);
}


.header-main {
  min-height: 63px;
  height: auto;
  display: flex;
  align-items: center;
  padding-block: 10px;
  position: relative;
  --menu-gap: var(--menu-rest-gap, 18px);
  gap: var(--menu-gap);
  transition: gap .18s ease .12s;
}

.brand {
  width: var(--logo-rest-width, 216px);
  flex-shrink: 0;
  align-self: center;
  display: flex;
  align-items: center;
  overflow: visible;
  transition: width .18s ease .12s;
}

.brand-mark {
  display: block;
  width: 100%;
  aspect-ratio: var(--portal-logo-ratio, 5 / 1);
  transform: translateY(var(--portal-logo-offset, 4px));
  background-color: var(--header-brand);
  mask: var(--portal-logo) center / contain no-repeat;
  transition: background-color .12s ease, transform .12s ease;
}

.brand img {
  max-height: 51px;
  width: auto;
  transition: max-height .12s ease;
}

.main-nav {
  flex: 1 1 auto;
  min-width: 0;
  align-self: center;
  display: flex;
  align-items: center;
  border-top: 0;
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: auto;
  flex-wrap: wrap;
  white-space: nowrap;
  gap: 4px var(--menu-gap);
  transition: gap .18s ease .12s;
}

.main-nav>ul>li>a {
  font-weight: 500;
  color: var(--header-text);
  font-size: 20px;
  transition: color .4s ease;
}

.main-nav>ul>li>a:hover,
.main-nav>ul>li>a:focus-visible,
.main-nav .dropdown-trigger:hover,
.main-nav .dropdown-trigger:focus-visible {
  color: var(--gold);
}

.header-actions {
  margin-left: auto;
  flex-shrink: 0;
  align-self: center;
  display: flex;
  align-items: center;
  gap: 12px;
}

.icon-button {
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: var(--header-text);
  padding: 0;
  font-size: 23px;
  min-width: 25px;
  min-height: 34px;
  transition: color .4s ease;
}

.edition-button {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--gold);
  border-radius: 12px;
  padding: 5px 13px;
  color: #141414;
  white-space: nowrap;
  font-size: 14px;
  border: 0;
}

.edition-button svg {
  display: block;
  flex-shrink: 0;
}

.search-panel {
  padding: 12px 0 18px;
}

.search-form {
  display: flex;
  max-width: 650px;
  width: min(650px,100%);
  margin-left: auto;
  gap: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  background: white;
}

.search-form input {
  min-width: 0;
  background: white;
  color: #222;
  width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  padding: 12px 16px;
}

.search-form button {
  width: auto;
  flex: 0 0 auto;
  background: var(--gold);
  color: #242526;
  border: 0;
  padding: 12px 22px;
}

.secondary-row {
  --network-logo-color: var(--ink);
  --network-logo-width: 103.5px;
  --network-logo-image: url(assets/makedonija-white.png);
  --network-logo-offset: 2px;
  display: flex;
  gap: 24px;
  align-items: center;
  padding: 15px 0;
  margin: 0 0 8px;
  background: transparent;
  color: var(--ink);
  min-height: 66px;
  border-bottom: 2px solid var(--ink);
}

.topic-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 0;
  color: var(--ink);
  font-weight: 650;
  white-space: nowrap;
  font-size: 17px;
}

.topic-pill:hover {
  color: var(--accent);
}


.topic-pill svg {
  color: var(--accent);
  flex-shrink: 0;
}

.is-dark .secondary-row {
  background: transparent;
}

.secondary nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 20px;
  flex: 0 0 auto;
  margin-left: auto;
  min-width: 0;
}

.editor-line {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  font-size: 10px;
  min-height: 24px;
}

.editor-line b {
  color: var(--editor-label, var(--accent));
}

.editor-line>a {
  background: var(--accent);
  color: white;
  padding: 4px 12px;
  border-radius: 7px;
  font-size: 10px;
}

.reference-home {
  padding-top: 22px;
}

.section-title {
  border-bottom: 2px dotted #aab0b5;
  margin-bottom: 18px;
  padding-bottom: 8px;
}

.section-title h2 {
  font-size: 24px;
  font-weight: 600;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  line-height: 1.3;
}

.red-dot {
  height: 16px;
  width: 16px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
}

.opinions {
  border-bottom: 1.5px solid var(--rule);
  padding-bottom: 22px;
  margin-bottom: 30px;
}

.opinion-grid {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  cursor: grab;
  padding-bottom: 2px;
}

.opinion-grid article>a {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.opinion-grid h3 {
  font-weight: 650;
  margin: 0 0 12px;
  letter-spacing: -.2px;
  font-size: 20px;
  line-height: 24px;
}

.opinion-author {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: auto;
}

.author-avatar {
  width: 66px;
  height: 66px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid var(--accent);
  display: grid;
  place-items: center;
  font-family: Georgia,serif;
  font-size: 30px;
  color: #fff;
  background: #565d74;
}

.avatar-1 {
  background: #907a62;
}

.avatar-2 {
  background: #72836e;
}

.avatar-3 {
  background: #876c73;
}

.opinion-author strong {
  font-size: 14px;
  font-weight: 600;
  display: block;
}

.opinion-author small {
  font-size: 12px;
  display: block;
  line-height: 1.2;
}

.sponsored {
  margin: 28px 0 44px;
}

.sponsor-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.sponsor-heading h2 {
  font-size: 23px;
  font-weight: 500;
  margin: 0;
}

.sponsor-heading>span {
  background: var(--gold);
  border-radius: 8px;
  padding: 1px 6px;
  font-size: 10px;
  color: #262626;
  font-weight: 600;
}

.sponsor-grid {
  display: grid;
  grid-template-columns: repeat(5,minmax(0,1fr));
  gap: 16px;
}

.sponsor-grid .photo {
  width: 100%;
  aspect-ratio: 2.05;
  object-fit: cover;
  object-position: center var(--photo-position-y, 20%);
  border-radius: 7px;
}

.sponsor-meta {
  font-size: 10px;
  font-weight: 500;
  margin: 8px 0 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sponsor-meta b {
  background: #7a7e80;
  color: white;
  border-radius: 50%;
  width: 19px;
  height: 19px;
  display: grid;
  place-items: center;
  font-size: 10px;
}

.sponsor-grid h3 {
  font-weight: 500;
  font-size: 15px;
  line-height: 1.2;
  margin: 0;
}

.ruled {
  border-bottom: 1px solid var(--line);
  padding-bottom: 20px;
  margin-bottom: 32px;
}

.lead-row {
  display: grid;
  grid-template-columns: repeat(6,minmax(0,1fr));
  gap: 16px;
}

.lead-primary {
  grid-column: span 3;
}

.reference-card {
  min-width: 0;
  overflow-wrap: anywhere;
}

.reference-card .photo {
  width: 100%;
  object-fit: cover;
  object-position: center var(--photo-position-y, 20%);
  border-radius: 5px;
}

.lead-row .photo {
  height: 300px;
}

.category-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  line-height: 1.2;
  margin: 12px 0 7px;
}

.reference-card h2 {
  font-size: 19px;
  line-height: 1.18;
  letter-spacing: -.2px;
  margin: 0;
  font-weight: 600;
}

.lead-primary h2 {
  font-size: 28px;
  font-weight: 600;
  line-height: 1.13;
}

.round-mark {
  display: inline-grid;
  place-items: center;
  background: var(--accent);
  width: 29px;
  height: 29px;
  border-radius: 50%;
  color: white;
  font-size: 15px;
}

.feature-section {
  margin-top: 36px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 20px;
  margin-bottom: 32px;
}

.feature-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: repeat(6, auto);
  gap: 0 16px;
}

.feature-primary .photo {
  height: 0;
  min-height: 100%;
}

.feature-primary h2 {
  font-size: 28px;
  line-height: 1.13;
}

.feature-small-grid {
  display: contents;
}

.feature-small-grid .photo {
  height: 151px;
}

.mosaic-section {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px 20px;
}

.mosaic-section>.section-title {
  grid-column: 1 / -1;
}

.mosaic-section .photo {
  height: auto;
  aspect-ratio: 16 / 9;
}





.regional-row {
  margin-top: 0;
}

.live-section {
  background: #f3f3f2;
  border-radius: 12px;
  padding: 18px 16px 16px;
  margin: 32px 0 46px;
}

.live-section .section-title h2 {
  color: var(--accent);
}

.live-layout {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 18px;
}

.live-main {
  display: grid;
  grid-template-columns: 1fr 1.9fr;
  gap: 16px;
}

.live-image {
  position: relative;
}

.live-image .photo {
  height: 345px;
  width: 100%;
  object-fit: cover;
  object-position: center var(--photo-position-y, 20%);
  border-radius: 4px;
}

.live-image>span {
  position: absolute;
  bottom: -8px;
  left: 40%;
  font-size: 10px;
  color: white;
  background: var(--accent);
  padding: 1px 7px;
  border-radius: 2px;
}

.live-main .category-label {
  margin-top: 0;
}

.live-main h2 {
  font-size: 27px;
  line-height: 1.2;
  margin: 0 0 20px;
  font-weight: 600;
}

.live-button {
  display: inline-block;
  padding: 9px 15px;
  background: var(--accent);
  color: white;
  font-size: 12px;
  border-radius: 8px;
}

.live-button:hover {
  color: var(--gold);
}

.live-list {
  border-left: 1px solid var(--line);
  padding-left: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.live-list article a {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 10px;
}

.live-list .photo {
  height: 100px;
  width: 100%;
  object-fit: cover;
  object-position: center var(--photo-position-y, 20%);
  border-radius: 4px;
}

.live-list .category-label {
  font-size: 10px;
  margin: 0 0 5px;
}

.live-list h3 {
  font-size: 14px;
  line-height: 1.15;
  font-weight: 600;
  margin: 0;
}

.footer {
  background: #f3f3f2;
  padding: 30px 0 18px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 28px;
  min-height: 310px;
  overflow-wrap: anywhere;
}

.footer h3 {
  font-size: 14px;
  margin: 0 0 29px;
  font-weight: 600;
}

.footer p {
  font-size: 13px;
  line-height: 1.75;
  margin: 0 0 25px;
}

.footer a {
  color: var(--ink);
}

.footer-brand {
  display: inline-block;
  width: 250px;
  max-width: 100%;
  aspect-ratio: var(--portal-logo-ratio, 5 / 1);
  margin: 5px 0 30px;
  background: currentColor;
  mask: var(--portal-logo) center / contain no-repeat;
}

.footer-social {
  margin-bottom: 42px;
}

.footer .footer-subhead {
  margin: 0 0 15px;
}

.footer-bottom {
  border-top: 1px solid #647487;
  padding-top: 17px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 12px;
}

.footer-bottom a {
  color: #242526;
}

.article-shell {
  display: grid;
  grid-template-columns: 15% 58% 1fr;
  column-gap: 2%;
  margin: 30px 0 60px;
}

.breadcrumb {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 28px;
}

.breadcrumb ol {
  display: flex;
  align-items: center;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
  min-width: 0;
}

.breadcrumb li {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.breadcrumb li+li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: rotate(45deg);
  flex-shrink: 0;
  opacity: .65;
}

.article-title {
  font-size: clamp(36px,3.2vw,54px);
  line-height: 1.18;
  margin: 0 0 26px;
  font-weight: 700;
  letter-spacing: -.8px;
  overflow-wrap: break-word;
}

.article-deck {
  font-size: var(--deck-size,22px);
  line-height: 1.5;
  font-weight: 600;
  margin: 24px 0 0;
  max-width: 620px;
  color: var(--ink);
}

.article-meta-row {
  grid-column: 2 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 20px 28px;
  min-width: 0;
  margin-bottom: 26px;
}

.article-byline {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

.article-byline a {
  color: var(--accent);
  font-weight: 600;
}

.article-share {
  display: flex;
  align-items: center;
  gap: 9px;
  position: relative;
  padding-bottom: 0;
}

.article-comments-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 40px;
  padding: 0 18px 0 14px;
  margin-right: 8px;
  border-left: 1px solid var(--line);
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
}

.article-comments-link svg {
  width: 24px;
  height: 24px;
  stroke: var(--ink);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.share-button {
  display: inline-flex;
  flex: 0 0 40px;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 0;
  padding: 10px;
  color: var(--ink);
  background: color-mix(in srgb,var(--ink) 7%,transparent);
  cursor: pointer;
  transition: transform .15s ease;
}

.share-button:hover {
  transform: translateY(-2px);
}

.share-button svg {
  display: block;
  width: 100%;
  height: 100%;
}

.share-button[data-network="facebook"] { background: #0866ff; color: #fff; padding: 7px; }
.share-button[data-network="whatsapp"] { background: #25d366; color: #fff; padding: 7px; }
.share-button[data-network="viber"] { background: #7360f2; color: #fff; padding: 8px; }
.share-button[data-network="x"] { background: #fff; color: #111; border: 1px solid #dedede; padding: 9px; }
.share-button[data-network="messenger"] { background: #0084ff; color: #fff; padding: 7px; }

.share-status {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  max-width: 340px;
  color: var(--ink);
  font-size: 12px;
  overflow-wrap: anywhere;
  background: inherit;
}

.article-share:has(.share-status:not(:empty)) {
  margin-bottom: 38px;
}

.reading-tools {
  grid-column: 1;
  grid-row: 3 / span 4;
  position: sticky;
  top: var(--reading-sticky-top,132px);
  max-height: calc(100dvh - var(--reading-sticky-top,132px) - 16px);
  overflow-y: auto;
  align-self: start;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  min-width: 0;
  padding: 10px 12px 0 0;
  font-size: 12px;
  color: var(--muted);
}

.reading-time,
.reading-tools>button,
.reading-tools>a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.reading-tools button {
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  padding: 0;
  cursor: pointer;
  min-height: 32px;
}

.reading-tools svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.reading-size {
  display: flex;
  gap: 4px;
  border-block: 1px dotted var(--line);
  padding: 5px 0;
}

.reading-size button { width: 42px; font-size: 16px; font-weight: 600; }
.reading-tools button:disabled { opacity: .4; cursor: default; }
.reading-tools button[aria-pressed="true"] { color: var(--accent); }
.reading-tools button[aria-pressed="true"] svg { fill: currentColor; }
.reading-saved { width: 100%; }
.reading-saved summary { cursor: pointer; }
.reading-saved ul { list-style: none; margin: 12px 0 0; padding: 0; }
.reading-saved li { margin-bottom: 10px; line-height: 1.5; }
.reading-saved a { overflow-wrap: anywhere; }
.reading-status:empty { display: none; }

.article-key-points {
  margin-top: 24px;
  padding: 20px 0;
  border-top: 2px solid var(--accent);
  border-bottom: 1px solid var(--line);
}

.article-key-points ul {
  display: grid;
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.article-key-points li {
  display: grid;
  grid-template-columns: 8px minmax(0,1fr);
  align-items: start;
  gap: 12px;
  font-size: 15px;
  line-height: 1.6;
}

.article-key-points li::before {
  content: '';
  width: 6px;
  height: 6px;
  margin-top: 9px;
  border-radius: 50%;
  background: var(--accent);
}

.article-comments {
  grid-column: 2;
  width: 100%;
  max-width: 620px;
  min-width: 0;
  border-top: 2px dotted var(--line);
  margin-top: 32px;
  padding-top: 20px;
  scroll-margin-top: 150px;
}

.article-comments h2 { margin: 0 0 20px; font-size: 24px; }
.article-comments h2 span { color: var(--muted); font-weight: 400; }
.article-comments .comment-list { padding-left: 0; list-style: none; }
.article-comments .children { padding-left: 20px; list-style: none; }
.article-comments .comment-body { border-bottom: 1px solid var(--line); padding: 16px 0; overflow-wrap: anywhere; }
.article-comments .avatar { border-radius: 50%; vertical-align: middle; margin-right: 8px; }
.article-comments .comment-metadata { color: var(--muted); font-size: 12px; margin: 8px 0; }
.article-comments .comment-form label { display: block; margin-bottom: 6px; }
.article-comments .comment-form input:not([type="checkbox"]):not([type="submit"]),
.article-comments .comment-form textarea { width: 100%; padding: 12px; border: 1px solid var(--line); border-radius: 6px; background: transparent; color: inherit; font: inherit; }
.article-comments .comment-form textarea { resize: vertical; }
.article-comments .comment-form-cookies-consent label { display: inline; }
.article-comments .submit { background: var(--accent); color: #fff; border: 0; border-radius: 6px; padding: 12px 20px; font: inherit; cursor: pointer; }

.article-video { margin: 0; width: 100%; }
.article-video-player { position: relative; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 4px; background: #161616; }
.article-video-player img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.article-video iframe { position: absolute; inset: 0; display: block; width: 100%; height: 100%; border: 0; }
.article-video-play { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: transparent; cursor: pointer; }
.article-video-play-icon { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: #000; color: #fff; box-shadow: 0 2px 12px #0005; }
.article-video-play-icon svg { width: 32px; height: 32px; fill: currentColor; }
.article-video-play:focus-visible { outline: 3px solid var(--brand); outline-offset: -4px; }
.article-video-play:hover .article-video-play-icon { background: #222; }


.article-photo {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  aspect-ratio: var(--article-photo-ratio, 4 / 3);
  border-radius: 4px;
  background: #f0f0f0;
}

.article-photo::before {
  content: "";
  position: absolute;
  inset: -24px;
  background-image: var(--article-photo-image);
  background-size: cover;
  background-position: center;
  filter: blur(24px) brightness(1.18) saturate(.85);
  opacity: .72;
  pointer-events: none;
}

.article-hero {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.caption {
  font-size: 12px;
  color: var(--muted);
}

.article-content {
  grid-column: 2;
  font-size: var(--reading-size,19px);
  line-height: 1.6;
  width: 100%;
  max-width: 620px;
  margin: 0;
  min-width: 0;
}

.article-content h2 {
  font-size: 25px;
  line-height: 1.25;
  margin: 28px 0 14px;
}

.submission-form { display:grid; gap:18px; font-size:15px; line-height:1.5; }
.submission-fields { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr)); gap:18px; }
.submission-form p { margin:0; }
.submission-form label { display:block; font-weight:600; }
.submission-form input:not([type="checkbox"]):not([type="submit"]), .submission-form textarea { display:block; width:100%; min-width:0; margin-top:7px; padding:11px 12px; border:1px solid var(--line); border-radius:6px; background:transparent; color:var(--ink); font:inherit; }
.submission-form textarea { min-height:180px; resize:vertical; }
.submission-form input:focus-visible, .submission-form textarea:focus-visible { outline:2px solid var(--accent); outline-offset:2px; }
.submission-form input[type="submit"] { padding:12px 24px; border:0; border-radius:6px; background:var(--accent); color:#fff; font:inherit; font-weight:700; cursor:pointer; }
.submission-form input[type="submit"]:disabled { opacity:.55; cursor:not-allowed; }
.submission-form .wpcf7-acceptance label { font-size:13px; font-weight:400; }
.submission-form .wpcf7-list-item { margin:0; }
.submission-form input[type="checkbox"] { accent-color:var(--accent); }
.submission-form .wpcf7-not-valid-tip { color:var(--accent); font-size:13px; }

.demo-note {
  font-size: 13px;
  padding: 14px;
  border-left: 3px solid var(--accent);
  background: #eef2f6;
}

.section-head {
  border-bottom: 2px dotted var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 30px 0 20px;
  padding-bottom: 12px;
}

.section-head h1 {
  font-size: 28px;
  margin: 0;
}

.section-head h2 {
  font-size: 28px;
  margin: 0;
}

.section-kicker {
  font-size: 12px;
  color: var(--accent);
}

.four-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 25px 16px;
  margin-bottom: 35px;
}

.archive-grid {
  display: grid;
  gap: 25px 16px;
  margin-bottom: 35px;
  grid-template-columns: repeat(3,minmax(0,1fr));
}

.news-card .photo {
  width: 100%;
  aspect-ratio: 1.7;
  object-fit: cover;
  object-position: center var(--photo-position-y, 20%);
  border-radius: 5px;
}

.news-card h3 {
  font-size: 22px;
  line-height: 1.2;
  font-weight: 600;
  margin: 0 0 10px;
}

.meta {
  font-size: 12px;
  color: var(--muted);
  display: flex;
  gap: 8px;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 30px;
}

.page-numbers {
  padding: 8px 15px;
  border: 1px solid var(--line);
}

.page-numbers.current {
  background: var(--accent);
  color: white;
}

.empty {
  padding-block: 70px;
}

.header-inner {
  position: relative;
  z-index: 1;
}

.demokritika-logo {
  display: block;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  width: 108px;
  height: 43px;
}

.demokritika-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.opinions .section-title {
  padding-bottom: 12px;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 2px dotted var(--rule);
}

.opinions .section-title h2 {
  align-items: center;
  gap: 18px;
}


.author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.lead-secondary h2 {
  font-size: 18px;
  line-height: 22px;
}

.feature-small-grid h2 {
  font-size: 20px;
  line-height: 24px;
}

.theme-toggle {
  border-radius: 20px;
  color: var(--header-text);
  font-size: 26px;
  line-height: 26px;
  position: relative;
  flex-shrink: 0;
  width: 52px;
  height: 33px;
  border: 1.25px solid currentColor;
  background: transparent;
  padding: 0;
  text-align: left;
  transition: color .4s ease;
}

.is-dark {
  --editor-label: var(--portal-secondary);
  --video-cutout: #000;
  background: #161616;
  color: #ededed;
  --ink: #ededed;
  --line: #62656a;
  --rule: #adb2b9;
  --muted: #b5bac1;
}

.is-dark .top-ad {
  background: #24262b;
}

.is-dark .footer {
  background: #252525;
}

.is-dark .live-section {
  background: #252525;
}

.is-dark .footer-bottom a {
  color: #eee;
}

.is-dark .demo-note {
  background: #282828;
}


.is-dark .category-label {
  color: var(--gold);
}

.is-dark .footer a {
  color: #eee;
}

.masthead.is-stuck {
  box-shadow: 0 1px 0 #ddd;
  --header-background: #fff;
  --header-text: #242526;
  --header-brand: var(--masthead-red);
  --toggle-background: #242526;
  --toggle-text: #fff;
}

.masthead.is-stuck .header-main {
  --menu-gap: calc(var(--menu-rest-gap, 18px) * .8);
}

.masthead.is-stuck .brand {
  width: var(--logo-compact-width, 180px);
}

/* Align the main letter bodies optically; Д and Ј extend below them. */
.masthead.is-stuck .brand-mark {
  transform: translateY(var(--portal-logo-compact-offset, 3px));
}


.edition-button:hover {
  color: var(--detail);
}



.footer a:hover {
  color: var(--accent);
}


.is-dark .footer a:hover {
  color: var(--gold);
}

.header-main::before {
  content: "";
  position: absolute;
  top: 0;
  left: calc(var(--logo-rest-width, 216px) + var(--menu-rest-gap, 18px));
  right: 0;
  border-top: 0;
  pointer-events: none;
  transition: opacity .35s ease;
}

.masthead.is-stuck .header-main::before {
  opacity: 0;
}

.toggle-thumb {
  position: absolute;
  left: 2px;
  top: 2px;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  background: var(--toggle-background);
  color: var(--toggle-text);
  border-radius: 50%;
  transition: transform .2s ease, background-color .4s ease, color .4s ease;
}

.theme-toggle[aria-checked="true"] .toggle-thumb {
  transform: translateX(19.5px);
}

.sun-icon {
  display: none;
}

.theme-toggle[aria-checked="true"] .moon-icon {
  display: none;
}

.theme-toggle[aria-checked="true"] .sun-icon {
  display: block;
}

body.drawer-open {
  overflow: hidden;
}

.site-drawer {
  position: fixed;
  inset: 0 0 0 auto;
  margin: 0;
  width: min(410px,100%);
  max-width: 100%;
  height: 100dvh;
  max-height: 100dvh;
  padding: 26px 32px;
  border: 0;
  background: white;
  color: #242526;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.site-drawer::backdrop {
  background: rgb(0 0 0 / .43);
}

.site-drawer[open] {
  animation: drawer-enter .22s ease-out;
}

.drawer-top {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 38px;
}

.drawer-close {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 0;
  background: none;
  padding: 0;
  font-size: 17px;
  font-weight: 600;
  color: inherit;
}

.drawer-close span {
  font-family: Arial,sans-serif;
  font-size: 31px;
  font-weight: 300;
  line-height: 1;
}

.drawer-editor {
  display: flex;
  align-items: center;
  gap: 15px;
  justify-content: space-between;
  margin-bottom: 20px;
}

.drawer-editor b {
  display: block;
  font-size: 12px;
  line-height: 1.5;
  color: var(--accent);
}

.drawer-editor strong {
  display: block;
  font-size: 12px;
  line-height: 1.5;
}

.drawer-editor span {
  display: block;
  font-size: 12px;
  line-height: 1.5;
}

.drawer-editor>a {
  padding: 12px 15px;
  border-radius: 13px;
  background: var(--accent);
  color: white;
  font-size: 15px;
  white-space: nowrap;
}

.drawer-search {
  display: flex;
  background: #f1f1f0;
  border-radius: 13px;
  align-items: center;
  margin-bottom: 25px;
  border: 2px solid transparent;
}

.drawer-search input {
  border: 0;
  background: transparent;
  min-width: 0;
  padding: 14px 16px;
  font-size: 17px;
  color: inherit;
  flex: 1;
  width: 0;
  outline: none;
}

.drawer-search button {
  background: none;
  border: 0;
  color: inherit;
  flex: 0 0 auto;
  width: 48px;
  padding: 10px;
}

.drawer-nav {
  border-top: 1px solid #d7d7d7;
}

.drawer-nav h3 {
  font-size: 17px;
  font-weight: 600;
  padding: 30px 0 20px;
  border-bottom: 1px solid #d7d7d7;
  margin: 0;
}

.drawer-nav>a {
  display: block;
  padding: 20px 15px;
  font-size: 18px;
  cursor: pointer;
}

.drawer-nav summary {
  padding: 20px 15px;
  font-size: 18px;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.drawer-nav summary::-webkit-details-marker {
  display: none;
}

.drawer-nav summary:after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 1.5px solid;
  border-bottom: 1.5px solid;
  transform: rotate(45deg);
  margin-right: 6px;
}

.drawer-nav details[open] summary:after {
  transform: rotate(225deg);
}

.drawer-nav details>div {
  padding: 0 20px 15px;
  display: grid;
  gap: 10px;
}

.drawer-nav details a {
  font-size: 15px;
  padding: 4px 12px;
}

.is-dark .site-drawer {
  background: #222;
  color: #eee;
}

.is-dark .drawer-search {
  background: #333;
}

.is-dark .drawer-editor b {
  color: var(--gold);
}

.carousel-controls {
  display: flex;
  align-items: center;
  gap: 7px;
}

.carousel-status {
  font-size: 11px;
  color: #777;
  min-width: 55px;
  text-align: center;
}

.carousel-controls button {
  width: 30px;
  height: 30px;
  border: 1px solid #ccc;
  background: white;
  color: #242526;
  border-radius: 50%;
  font-size: 24px;
  line-height: 1;
  display: grid;
  place-items: center;
  padding: 0 0 3px;
}

.carousel-controls button:hover:not(:disabled) {
  border-color: var(--accent);
  color: var(--accent);
}

.carousel-controls button:disabled {
  opacity: .3;
  cursor: default;
}

.opinion-grid::-webkit-scrollbar {
  display: none;
}

.opinion-grid>article {
  flex: 0 0 calc((100% - 48px)/4);
  scroll-snap-align: start;
  scroll-snap-stop: normal;
}

.opinion-grid.dragging {
  scroll-snap-type: none;
  cursor: grabbing;
  user-select: none;
}

.opinion-grid img {
  pointer-events: none;
}

.is-dark .carousel-controls button {
  background: #292929;
  color: #eee;
  border-color: #555;
}

.secondary nav>a {
  font-size: 15px;
  white-space: nowrap;
  padding: 9px 0;
  color: var(--ink);
  font-weight: 500;
}

.secondary .dropdown-trigger {
  font-size: 17px;
  font-weight: 600;
  background: none;
  border: 0;
  padding: 7px 0;
  color: inherit;
  white-space: nowrap;
  display: flex;
  gap: 10px;
  align-items: center;
}

.header-dropdown {
  position: relative;
}

.dropdown-trigger {
  cursor: pointer;
}

.main-nav .dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--header-text);
  font: inherit;
  font-size: 20px;
  font-weight: 500;
  transition: color .4s ease;
}

.dropdown-panel {
  position: absolute;
  top: 100%;
  right: 0;
  z-index: 70;
  min-width: 240px;
  background: #fff;
  color: #242526;
  padding: 16px;
  border: 1px solid #ddd;
  border-radius: 0 0 10px 10px;
  box-shadow: 0 12px 30px #0002;
}

.dropdown-panel strong {
  display: block;
  font-size: var(--dropdown-title-size, 19px);
  padding: var(--dropdown-title-padding, 6px 10px 12px);
}

.dropdown-panel a {
  display: block;
  padding: var(--dropdown-link-padding, 11px 10px);
  font-size: var(--dropdown-link-size, 17px);
  border-radius: 5px;
}

.dropdown-panel a:hover {
  background: #f5f5f4;
  color: var(--accent);
}


.secondary .dropdown-trigger svg {
  display: block;
  flex-shrink: 0;
}

.secondary .dropdown-trigger[aria-expanded="true"] {
  color: var(--accent);
}

.cities-dropdown .dropdown-panel {
  left: 0;
  right: auto;
  width: 340px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-height: 60vh;
  overflow-y: auto;
}


.drawer-search:focus-within {
  border-color: var(--accent);
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.is-dark .dropdown-panel {
  background: #252525;
  color: #eee;
  border-color: #555;
}

.is-dark .dropdown-panel a:hover {
  background: #333;
}

.is-dark .secondary .dropdown-trigger {
  color: #eee;
}

.search-form:focus-within {
  border-color: var(--gold);
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.is-dark .secondary nav>a {
  color: #eee;
}

.secondary nav>a:hover {
  color: var(--accent);
}

.is-dark .secondary nav>a:hover {
  color: var(--gold);
}


.masthead.is-stuck .subscription {
  visibility: hidden;
  pointer-events: none;
}

.masthead.is-stuck .utility>span {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

.masthead.is-stuck .brand img {
  max-height: 38px;
}

.is-dark .masthead.is-stuck {
  --header-background: #222;
  --header-text: #eee;
  --header-brand: var(--portal-secondary);
  --toggle-background: #eee;
  --toggle-text: #222;
}


.sticky-promo {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 36px;
  overflow: hidden;
  pointer-events: none;
  visibility: hidden;
  transition: visibility 0s linear .16s;
}

.sticky-promo>.news-ticker {
  height: 36px;
  transform: translateY(-100%);
  transition: transform .16s ease;
}


.masthead.is-stuck .sticky-promo {
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}

.masthead.is-stuck .sticky-promo>.news-ticker {
  transform: translateY(0);
  transition-delay: .24s;
}

/* A shared headline ticker in the utility row and sticky reveal. */
.news-ticker {
  display: flex;
  align-items: center;
  height: 100%;
  min-width: 0;
  color: #242526;
  background: var(--gold);
}

.ticker-label {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 5px 9px;
  margin: 0 8px 0 5px;
  color: #242526;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.ticker-label>span {
  color: #242526;
  font-size: 9px;
}

.ticker-window {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  mask-image: linear-gradient(90deg,#000 0%,#000 calc(100% - 24px),transparent);
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker-scroll 90s linear infinite;
}

.ticker-items {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.ticker-items a {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 6px 24px 6px 0;
  color: #242526;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.ticker-items a:hover {
  text-decoration: underline;
}

.ticker-items a>span {
  font-size: 7px;
  opacity: .5;
}

.ticker-pause {
  flex-shrink: 0;
  border: 0;
  background: none;
  color: inherit;
  padding: 0;
  margin: 0 5px;
  width: 23px;
  height: 23px;
  border-radius: 7px;
  box-shadow: inset 0 0 0 1px #24252626;
  font-size: 12px;
  cursor: pointer;
}

.news-ticker:hover .ticker-track,
.news-ticker:focus-within .ticker-track,
.ticker-paused .ticker-track {
  animation-play-state: paused;
}

@keyframes ticker-scroll {
  to { transform: translateX(-50%); }
}

/* Featured editorial coverage: lead, compact news list, and side story. */
.focus-section {
  padding: 18px;
  margin: 30px 0;
  border-radius: 18px;
  background: #eef3f5;
  --video-cutout: #eef3f5;
}
.focus-section .section-title {
  border-bottom: 2px dotted var(--rule);
  padding-bottom: 12px;
  margin-bottom: 18px;
}
.focus-grid {
  display: grid;
  grid-template-columns: 1.65fr 1.35fr .95fr;
  gap: 18px;
  align-items: start;
}
/* Incomplete focus selections keep a balanced layout without empty columns. */
@media (min-width: 801px) {
  .feature-grid .reference-card { display: grid; grid-template-rows: subgrid; }
  .feature-grid .reference-card>a { display: grid; grid-template-rows: subgrid; grid-row: 1 / -1; }
  .feature-primary { grid-column: 1; grid-row: 1 / 7; }
  .feature-primary .photo { grid-row: 1 / 5; contain: size; }
  .feature-small-grid>.reference-card:nth-child(odd) { grid-column: 2; }
  .feature-small-grid>.reference-card:nth-child(even) { grid-column: 3; }
  .feature-small-grid>.reference-card:nth-child(-n+2) { grid-row: 1 / 4; }
  .feature-small-grid>.reference-card:nth-child(n+3) { grid-row: 4 / 7; margin-top: 16px; }

  .masthead { --flag-opacity: .352; }
  .focus-grid[data-count="1"] { grid-template-columns: minmax(0,1fr); }
  .focus-grid[data-count="1"] .reference-card > a { display: grid; grid-template-columns: minmax(0,1.3fr) minmax(0,1fr); column-gap: 24px; }
  .focus-grid[data-count="1"] .photo { grid-row: 1 / 3; }
  .focus-grid[data-count="1"] .category-label { align-self: end; }
  .focus-grid[data-count="1"] h2 { align-self: start; }
  .focus-grid[data-count="2"], .focus-grid[data-count="3"], .focus-grid[data-count="4"] { grid-template-columns: minmax(0,1.3fr) minmax(0,1fr); }
}
.category-home > section { margin-bottom: 36px; }
.category-empty { color: var(--muted); margin: 0; line-height: 1.6; }
.focus-primary .photo {
  width: 100%;
  aspect-ratio: 1.85;
  height: auto;
  object-fit: cover;
  object-position: center var(--photo-position-y, 20%);
}
.focus-primary h2 {
  font-size: clamp(23px,2.2vw,30px);
  line-height: 1.22;
}
.focus-side .photo {
  width: 100%;
  aspect-ratio: 1.55;
  height: auto;
  object-fit: cover;
  object-position: center var(--photo-position-y, 20%);
}
.focus-side h2 {
  font-size: 23px;
  line-height: 1.28;
}
.focus-list {
  display: grid;
  gap: 18px;
}
.focus-list article>a {
  display: grid;
  grid-template-columns: 100px minmax(0,1fr);
  gap: 12px;
  align-items: start;
}
.focus-list .photo {
  border-radius: 8px;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center var(--photo-position-y, 20%);
}
.focus-list h3 {
  margin: 0;
  font-size: 17px;
  line-height: 1.32;
  font-weight: 700;
}
.focus-list .category-label {
  margin-top: 0;
}
.video-marker {
  position: relative;
  display: inline-block;
  width: .95em;
  height: .95em;
  vertical-align: -.08em;
  margin-right: .3em;
}
.video-marker svg {
  display: block;
  width: 100%;
  height: 100%;
}
.is-dark .focus-section {
  background: #25292c;
  --video-cutout: #000;
}

/* Compact end-of-day Macedonian equity tape. */
.stock-strip { display:grid; grid-template-columns:125px minmax(0,1fr); margin:18px 0 28px; border:1px solid var(--line); border-radius:10px; overflow:hidden; background:#f5f6f7; }
.stock-strip-heading { display:flex; align-items:center; justify-content:center; gap:9px; border-right:2px dotted var(--rule); padding:10px; }
.stock-strip-heading a { display:grid; flex-shrink:0; font-size:14px; white-space:nowrap; }
.stock-strip-heading a>span { font-size:10px; color:var(--accent); }
.stock-pause { border:0; padding:6px; background:transparent; color:inherit; cursor:pointer; }
.stock-window { display:flex; overflow:hidden; min-width:0; mask-image:linear-gradient(90deg,transparent,#000 8px,#000 96%,transparent); }
.stock-track { display:flex; width:max-content; animation:stock-scroll 55s linear infinite; }
.stock-items { display:flex; flex-shrink:0; }
.stock-items a { display:flex; align-items:center; gap:10px; padding:16px; border-right:2px dotted var(--rule); font-size:13px; white-space:nowrap; }
.stock-items b { font-size:11px; padding:3px 5px; border-radius:4px; }
.stock-up { color:#126331; background:#e0f3e5; }
.stock-down { color:#a11c36; background:#fbe5e9; }
.stock-flat { color:#42474b; background:#e5e8eb; }
.stock-source { grid-column:1/-1; margin:0; padding:6px 12px; border-top:1px solid var(--line); font-size:10px; }
.stock-source a { text-decoration:underline; }
.stock-strip:hover .stock-track, .stock-strip:focus-within .stock-track, .stock-paused .stock-track { animation-play-state:paused; }
.is-dark .stock-strip { background:#25292c; }
@keyframes stock-scroll { to { transform:translateX(-50%); } }
@media(prefers-reduced-motion:reduce) {
  .stock-track { animation:none; }
  .stock-window { overflow-x:auto; }
  .stock-items[aria-hidden] { display:none; }
}

/* Compact, sourced public energy prices. */
.market-panel { display:grid; grid-template-columns:1.2fr 1fr; gap:20px; margin:36px 0; }
.market-card { min-width:0; padding:20px; border:1px solid var(--line); border-radius:14px; }
.market-card header { display:flex; justify-content:space-between; align-items:center; gap:12px; border-bottom:2px dotted var(--line); padding-bottom:10px; }
.market-card h2 { margin:0; font-size:21px; }
.market-card header>span { font-size:12px; }
.market-summary { display:flex; align-items:baseline; gap:10px; margin-top:12px; }
.market-summary strong { font-size:29px; color:var(--accent); }
.market-summary span { font-size:12px; }
.market-chart { display:block; width:100%; height:130px; margin:6px 0; touch-action:pan-y; }
.market-chart-grid { fill:none; stroke:var(--line); stroke-width:.5; }
.market-chart-price { fill:none; stroke:var(--accent); stroke-width:2.5; stroke-linejoin:round; }
.market-chart text { fill:var(--ink); font-size:10px; }
.market-chart:focus-visible { outline:2px solid var(--accent); outline-offset:3px; border-radius:4px; }
.market-chart-cursor { pointer-events:none; }
.market-chart-guide { fill:none; stroke:var(--rule); stroke-width:1; stroke-dasharray:3 3; }
.market-chart-cursor circle { fill:var(--accent); stroke:#fff; stroke-width:1.5; }
.market-chart-tooltip rect { fill:var(--accent); }
.market-chart-tooltip text { fill:#fff; font-size:10px; font-weight:600; }
.market-card summary { cursor:pointer; font-size:12px; }
.market-hours { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:8px; margin-top:12px; font-size:11px; }
.market-hours span { display:flex; justify-content:space-between; gap:4px; }
.market-card footer { display:grid; gap:4px; font-size:11px; line-height:1.5; margin-top:14px; }
.market-card footer a { color:var(--accent); font-weight:700; }
.market-notice { font-size:12px; font-weight:600; }
.fuel-prices { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin-top:16px; }
.fuel-prices>div { padding:10px 12px; background:#f3f3f2; border-radius:8px; }
.fuel-prices span { display:block; font-size:12px; }
.fuel-prices strong { font-size:25px; }
.is-dark .fuel-prices>div { background:#25292c; }

/* Article composition: reading column, author rail and full-width partner row. */
.article-heading {
  grid-column: 2 / -1;
  min-width: 0;
}

.article-shell>.ad-slot {
  grid-column: 2;
  min-width: 0;
  max-width: 620px;
}

.article-opening {
  grid-column: 2;
  min-width: 0;
  width: 100%;
  max-width: 620px;
  margin-bottom: 24px;
}

.article-news {
  grid-column: 3;
  grid-row: 3 / span 3;
  min-width: 0;
  align-self: start;
}

.article-news section + section { margin-top: 32px; }
.article-news h2 {
  margin: 0;
  padding-bottom: 12px;
  border-bottom: 2px dotted var(--muted);
  font-size: 19px;
  line-height: 1.3;
  font-weight: 700;
}
.article-news ol,
.article-news ul { list-style: none; padding: 0; margin: 0; }
.article-news li { border-bottom: 1px dotted var(--muted); }
.article-news a {
  display: block;
  padding: 13px 0;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 400;
  overflow-wrap: anywhere;
}
.article-news a:hover,
.article-news a:focus-visible { color: var(--accent); }
.article-news-empty { font-size: 13px; line-height: 1.5; color: var(--muted); margin: 14px 0 0; }

.article-figure {
  margin: 0;
}

.article-figure .caption {
  margin-top: 8px;
}

.article-shell>.sponsored {
  grid-column: 1 / -1;
  margin: 36px 0 52px;
}

.article-content p {
  margin: 0 0 20px;
}

.article-content figure {
  margin: 24px 0;
}

.article-content img {
  width: 100%;
  height: auto;
  border-radius: 3px;
}

.article-content figcaption {
  font-size: 12px;
  line-height: 1.4;
  color: var(--muted);
  margin-top: 8px;
}

.video-gallery {
  margin: 40px 0;
  padding-top: 24px;
  border-top: 2px dotted var(--line);
}

.video-gallery > .section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.video-gallery > .section-title > a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  white-space: nowrap;
}

.video-gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

.video-gallery-grid article {
  min-width: 0;
}

.video-gallery-poster {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  aspect-ratio: 1 / 1;
}

.video-gallery-poster .photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-gallery-play {
  position: absolute;
  inset: 8px 8px auto auto;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #111;
  color: #fff;
  font-size: 15px;
}

.video-gallery-caption {
  position: absolute;
  inset: auto 0 0;
  padding: 28px 10px 10px;
  background: linear-gradient(transparent, rgba(0, 0, 0, .86) 45%, rgba(0, 0, 0, .94));
}

.video-gallery-grid time {
  display: block;
  margin-top: 5px;
  font-size: 10px;
  font-weight: 600;
  color: var(--accent);
}

.video-gallery-grid h3 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  margin: 0;
  font-size: 13px;
  line-height: 1.25;
  font-weight: 400;
  color: #fff;
}

.article-source-note {
  font-size: 11px;
  line-height: 1.5;
  font-weight: 400;
  color: var(--muted);
}

.article-disclosure-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.article-disclosure-links button {
  padding: 5px 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.article-disclosure-links button:hover,
.article-disclosure-links button[aria-expanded="true"] {
  color: var(--accent);
}

.article-disclosure-links button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.article-disclosure-panel {
  margin-top: 8px;
  padding: 12px 0;
  border-block: 1px dotted var(--line);
  overflow-wrap: anywhere;
}

.article-endnote {
  background: #f1f3f3;
  padding: 24px;
  font-size: 15px;
  margin-top: 36px;
}

.article-endnote a {
  color: var(--accent);
  text-decoration: underline;
}

.article-related {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 28px;
  margin-bottom: 50px;
}

.article-partners {
  background: #f4f4f3;
  padding: 16px;
}

.article-partners .sponsor-heading h2 {
  font-size: 18px;
}

.article-partners .news-card {
  margin-bottom: 24px;
}

.is-dark .article-endnote,
.is-dark .article-partners {
  background: #292929;
}

@media(max-width:1150px) {
  .video-gallery-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .secondary-row {
    flex-wrap: wrap;
  }


  .header-main {
    --menu-gap: 10px;
    gap: var(--menu-gap);
  }

  .brand {
    width: var(--logo-rest-width, 188px);
  }


  .main-nav>ul>li>a,
  .main-nav .dropdown-trigger {
    font-size: 18px;
  }

  .account-dropdown {
    display: none;
  }



  .header-actions {
    gap: 8px;
  }



  .secondary nav {
    flex-basis: 100%;
    grid-column: 1 / -1;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 18px;
    overflow-x: auto;
    padding-top: 10px;
    border-top: 1px solid var(--line);
  }

  .topic-pill {
    font-size: 15px;
  }

  .opinion-grid h3 {
    font-size: 18px;
  }

  .author-avatar {
    width: 56px;
    height: 56px;
  }

  .opinion-author strong {
    font-size: 12px;
  }

  .opinion-author small {
    font-size: 10px;
  }

  .live-list article a {
    grid-template-columns: 75px 1fr;
  }

  .live-list .photo {
    height: 85px;
  }

  .lead-row .photo {
    height: 260px;
  }


  .feature-small-grid .photo {
    height: 140px;
  }





  .secondary nav>a {
    font-size: 14px;
    padding: 6px 0;
  }

  .secondary .dropdown-trigger {
    font-size: 15px;
  }

  .utility {
    font-size: 11px;
  }
}

@media(max-width:800px) {
  .stock-strip { grid-template-columns:120px minmax(0,1fr); }
  .stock-items a { padding:13px 12px; font-size:12px; }
  .market-panel { grid-template-columns:minmax(0,1fr); gap:14px; }
  .market-card { padding:14px; }
  .market-hours { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .focus-section {
    padding: 14px;
    border-radius: 14px;
  }
  .focus-grid {
    grid-template-columns: minmax(0,1fr);
    gap: 22px;
  }
  .focus-list article>a {
    grid-template-columns: 88px minmax(0,1fr);
  }
  .focus-side .photo {
    aspect-ratio: 1.85;
  }

  .topic-pill svg {
    display: none;
  }

  .utility-links { display: flex; }
  .network-home { margin-right: 0; }

  .utility-links a:not(.network-home) {
    display: none;
  }

  .subscription {
    display: none;
  }

  .sticky-promo {
    position: relative;
    top: auto;
    visibility: visible;
    pointer-events: auto;
    transition: none;
  }

  .sticky-promo>.news-ticker {
    transform: none;
    transition: none;
    background: var(--gold);
  }

  .ticker-label {
    font-size: 9px;
    padding-inline: 8px;
    gap: 4px;
  }

  .ticker-items a {
    font-size: 11px;
  }

  .secondary-row>.cities-dropdown {
    grid-column: auto;
    min-width: 0;
    justify-self: end;
  }

  .article-shell {
    grid-template-columns: minmax(0,1fr);
    margin: 24px 0 36px;
  }

  .article-heading,
  .article-shell>.ad-slot,
  .article-meta-row,
  .article-comments,
  .article-opening {
    grid-column: 1;
  }

  .article-news {
    grid-column: 1;
    grid-row: auto;
    margin: 28px 0;
  }

  .article-related {
    grid-template-columns: minmax(0,1fr);
  }

  .article-related .archive-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }


  .wrap {
    width: 100%;
  }

  .top-ad {
    height: 150px;
  }
  .ad-creative-banner, .ad-creative-billboard { max-width:320px; min-height:100px; padding:12px 16px; gap:6px; }
  .ad-creative-billboard strong, .ad-creative-banner strong { font-size:18px; }
  .ad-creative-details { font-size:9px; gap:6px; }
  .ad-creative-details span { font-size:10px; }
  .ad-slot { margin:22px 0; }

  .utility>span { grid-column: 2; justify-self: end; justify-content: flex-end; --metadata-gap: 8px; }
  .utility>span::before { flex: 0 0 var(--metadata-gap); }
  .utility>span::after { flex: 0 0 var(--metadata-gap); transform: translateX(calc(var(--weather-empty, 0px) / 2)); transition: transform .18s ease; }
  .header-weather { display: block; transition: none; }
  .weather-panel { width: min(285px, calc(100vw - 24px)); }
  .utility {
    padding-block: 0;
    font-size: 10px;
    height: 30px;
    grid-template-columns: auto minmax(0,1fr);
    gap: 6px;
  }




  .header-main {
    height: 62px;
    padding-block: 0;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 0;
  }

  .brand {
    width: 212px;
    flex-shrink: 1;
    min-width: 0;
  }


  .main-nav {
    display: none;
  }

  .edition-button {
    font-size: 12px;
    padding: 4px 9px;
    display: none;
  }


  .secondary-row {
    --network-logo-width: 82.8px;
    display: grid;
    grid-template-columns: max-content max-content max-content;
    justify-content: space-between;
    column-gap: 0;
    row-gap: 10px;
    padding: 12px 0;
  }

  .topic-pill {
    font-size: clamp(11px,3.3vw,15px);
  }

  .secondary nav {
    width: 100%;
    justify-content: space-between;
    gap: clamp(7px, 2vw, 16px);
    margin-left: 0;
  }

  .editor-line {
    font-size: 9px;
    justify-content: flex-end;
    gap: 12px;
    line-height: 1.4;
    padding-top: 6px;
    min-height: 32px;
  }

  .reference-home {
    padding-top: 22px;
  }

  .section-title h2 {
    font-size: 21px;
  }

  .opinion-grid {
    gap: 20px 16px;
  }

  .opinion-grid h3 {
    margin-bottom: 12px;
    font-size: 17px;
    line-height: 21px;
  }

  .opinion-author {
    gap: 7px;
  }

  .author-avatar {
    width: 43px;
    height: 43px;
    font-size: 23px;
  }

  .opinions {
    margin-bottom: 24px;
  }

  .sponsored {
    margin: 22px 0 28px;
  }

  .sponsor-heading h2 {
    font-size: 20px;
  }

  .sponsor-heading>span {
    font-size: 8px;
  }

  .sponsor-grid {
    display: flex;
    overflow: auto;
    gap: 12px;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px;
  }

  .sponsor-grid article {
    min-width: 175px;
    width: 175px;
    scroll-snap-align: start;
  }

  .sponsor-grid h3 {
    font-size: 14px;
  }

  .sponsor-meta {
    font-size: 9px;
  }

  .lead-row {
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 16px 12px;
  }

  .lead-primary {
    grid-column: 1/-1;
  }

  .lead-row .photo {
    height: 180px;
  }

  .lead-row .lead-primary .photo {
    height: auto;
    aspect-ratio: 1.9;
  }

  .lead-primary h2 {
    font-size: 26px;
  }

  .reference-card:where(:not(.focus-primary, .focus-side)) h2 {
    font-size: 17px;
  }

  .reference-card.lead-primary h2 {
    font-size: 26px;
  }

  .category-label {
    font-size: 9px;
    margin: 9px 0 5px;
  }

  .feature-section {
    margin-top: 24px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 20px;
  }

  .feature-primary .photo {
    min-height: 0;
    height: auto;
    aspect-ratio: 1.4;
  }

  .feature-primary h2 {
    font-size: 26px;
  }

  .feature-small-grid .photo {
    height: auto;
    aspect-ratio: 1.8;
  }

  .feature-small-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 12px;
  }

  .mosaic-section {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 12px;
  }





  .live-layout {
    grid-template-columns: 1fr;
  }

  .live-main {
    grid-template-columns: 1fr 1.4fr;
    gap: 13px;
  }

  .live-image .photo {
    height: 220px;
  }

  .live-main h2 {
    font-size: 21px;
  }

  .live-button {
    font-size: 11px;
    padding: 7px 9px;
  }

  .live-list {
    padding: 16px 0 0;
    border-left: 0;
    border-top: 1px solid var(--line);
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 12px;
  }

  .live-list article a {
    display: block;
  }

  .live-list .photo {
    height: 90px;
  }

  .live-list .category-label {
    margin-top: 7px;
  }

  .live-list h3 {
    font-size: 13px;
  }

  .footer-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 25px 20px;
  }

  .footer h3 {
    margin-bottom: 18px;
  }

  .footer p {
    font-size: 12px;
  }

  .footer-bottom {
    flex-wrap: wrap;
    justify-content: flex-start;
    font-size: 11px;
    gap: 12px 20px;
  }

  .article-title {
    font-size: 35px;
  }

  .article-deck {
    font-size: var(--deck-size,20px);
  }

  .article-content {
    grid-column: 1;
    font-size: var(--reading-size,19px);
  }

  .reading-tools {
    position: static;
    max-height: none;
    overflow: visible;
    grid-column: 1;
    grid-row: auto;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    justify-content: space-between;
    font-size: clamp(10px, 2.8vw, 12px);
    padding: 0 0 18px;
  }

  .reading-time,
  .reading-tools>button,
  .reading-tools>a {
    gap: 4px;
    white-space: nowrap;
  }

  .reading-tools svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
  }

  .reading-size {
    border: 0;
    padding: 0;
    gap: 0;
  }

  .reading-size button {
    width: 28px;
    font-size: 15px;
  }

  .article-byline {
    font-size: 13px;
  }

  .article-meta-row {
    gap: 18px;
  }

  .breadcrumb {
    font-size: 12px;
    margin-bottom: 22px;
    overflow-x: auto;
  }

  .breadcrumb ol {
    width: max-content;
  }



  .four-grid {
    grid-template-columns: 1fr 1fr;
  }

  .archive-grid {
    grid-template-columns: 1fr 1fr;
  }

  .news-card h3 {
    font-size: 19px;
  }

  .lead-secondary h2 {
    font-size: 16px;
    line-height: 20px;
  }

  .feature-small-grid h2 {
    font-size: 18px;
    line-height: 22px;
  }

  .masthead {
    top: -30px;
  }

  .masthead.is-stuck .brand {
    width: 176px;
  }


  .header-main::before {
    left: 0;
    border-top: 1px solid #ffffff80;
  }



  .opinion-grid>article {
    flex-basis: calc((100% - 16px)/2);
  }

  .opinions .section-title h2 {
    gap: 10px;
  }


  .carousel-status {
    display: none;
  }

  .secondary nav>a {
    font-size: clamp(11px, 3vw, 14px);
    padding: 6px 0;
    flex-shrink: 0;
  }


  .secondary .dropdown-trigger {
    font-size: clamp(11px,3.3vw,15px);
    gap: 5px;
    max-width: 100%;
    min-width: 0;
    white-space: normal;
    text-align: right;
    justify-content: flex-end;
  }

  .cities-dropdown .dropdown-panel {
    left: auto;
    right: 0;
    transform: none;
    width: min(340px,calc(100vw - 24px));
  }



  .search-form {
    width: 100%;
  }

  .search-form button {
    padding-inline: 15px;
  }
}

@media(max-width:480px) {
  .mosaic-section { grid-template-columns: 1fr; }
  .video-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }




  .opinion-grid>article {
    flex-basis: 86%;
  }

  .opinion-grid h3 {
    font-size: 19px;
    line-height: 24px;
  }

  .author-avatar {
    width: 56px;
    height: 56px;
  }

  .opinion-author strong {
    font-size: 13px;
  }

  .opinion-author small {
    font-size: 11px;
  }

  .site-drawer {
    width: min(370px,100%);
    padding: 22px;
  }

  .drawer-editor span {
    font-size: 11px;
  }

  .drawer-editor>a {
    font-size: 13px;
    padding: 11px;
  }

  .carousel-controls {
    gap: 5px;
  }

  .carousel-controls button {
    width: 28px;
    height: 28px;
  }
}

@media(max-width:420px) {
  .wrap {
    padding-inline: 12px;
  }

  .brand {
    width: min(200px, calc(100% - 126px));
  }


  .edition-button {
    display: none;
  }



  .lead-row .photo {
    height: 158px;
  }

  .reference-card:where(:not(.focus-primary, .focus-side)) h2 {
    font-size: 15px;
  }

  .reference-card.lead-primary h2 {
    font-size: 24px;
  }

  .feature-primary h2 {
    font-size: 24px;
  }


  .live-main h2 {
    font-size: 19px;
  }

  .live-section {
    padding: 14px 12px;
  }

  .article-title {
    font-size: 31px;
    letter-spacing: -.5px;
    margin-bottom: 20px;
  }

  .article-share {
    gap: 7px;
  }

  .article-comments-link {
    padding: 0 8px 0 0;
    margin-right: 0;
    border-left: 0;
  }

  .share-button {
    flex-basis: 34px;
    width: 34px;
    height: 34px;
  }

}

@media(prefers-reduced-motion:reduce) {
  .header-flag {
    display: none;
  }

  .ticker-track {
    animation: none;
  }

  .ticker-items[aria-hidden="true"],
  .ticker-pause {
    display: none;
  }

  .ticker-window {
    overflow-x: auto;
  }

  .masthead,
  .masthead *,
  .masthead *::before {
    transition: none;
  }

  .site-drawer[open] {
    animation: none;
  }

  .toggle-thumb {
    transition: none;
  }
}

@keyframes drawer-enter {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

/* Parliament: compact member cards and expandable statistics. */
.mp-count {
  color: var(--accent);
  font-size: 13px;
  margin-left: 8px;
}
.mp-sort {
  position: relative;
  z-index: 5;
}
.mp-sort summary {
  cursor: pointer;
  list-style: none;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.mp-sort summary::-webkit-details-marker {
  display: none;
}
.mp-sort-options {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  width: 210px;
  max-height: min(65vh, 440px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 6px;
  background: var(--mp-surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 8px 24px #0002;
}
.mp-sort-direction {
  padding-bottom: 6px;
  margin-bottom: 6px;
  border-bottom: 1px solid var(--line);
}
.mp-sort-options button {
  display: block;
  width: 100%;
  height: auto;
  padding: 9px 10px;
  border: 0;
  border-radius: 0;
  color: var(--ink);
  background: transparent;
  text-align: left;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}
.mp-sort-options button[aria-pressed="true"],
.mp-sort-options button:hover {
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 8%, transparent);
}
.parliament {
  --mp-surface: #fff;
  border-bottom: 0;
  padding-bottom: 0;
  margin-bottom: 0;
}
.is-dark .parliament {
  --mp-surface: #1c1c1c;
}
.mp-directory {
  position: relative;
}
.mp-card {
  min-width: 0;
  position: relative;
  border: 1px solid color-mix(in srgb, var(--ink) 14%, transparent);
  border-radius: 14px;
  overflow: hidden;
  background: var(--mp-surface);
}
.mp-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 120px;
  padding: 16px 14px;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  font: inherit;
  cursor: pointer;
  transition: background-color .18s ease;
}
.mp-toggle[aria-expanded="true"],
.mp-toggle:hover {
  background: color-mix(in srgb, var(--accent) 6%, transparent);
}
.mp-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -3px;
}
.mp-toggle .author-avatar {
  width: 48px;
  height: 48px;
  display: block;
  overflow: hidden;
  border: 2px solid color-mix(in srgb, var(--accent) 22%, var(--mp-surface));
}
.mp-toggle .author-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}
.mp-person {
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: column;
  gap: 7px;
}
.mp-person strong {
  font-size: 14px;
  font-weight: 650;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.mp-rank {
  align-self: flex-start;
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .3px;
}
.mp-score {
  flex: 0 0 62px;
  padding: 9px 5px 5px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--accent) 7%, transparent);
  text-align: center;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.mp-score b {
  display: block;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -.7px;
  line-height: 1;
}
.mp-score small {
  display: block;
  font-size: 9px;
  line-height: 1.25;
  margin-top: 5px;
  overflow-wrap: anywhere;
}
.mp-score > span {
  display: block;
  font-size: 13px;
  line-height: 1;
  margin-top: 3px;
}
.mp-details {
  position: relative;
  margin-top: 12px;
  padding: 20px 24px 16px;
  border: 1px solid color-mix(in srgb, var(--ink) 14%, transparent);
  border-top: 2px solid var(--accent);
  border-radius: 12px;
  background: var(--mp-surface);
}
.mp-details::before {
  content: '';
  position: absolute;
  left: var(--mp-pointer, 30px);
  top: -7px;
  width: 10px;
  height: 10px;
  border-top: 2px solid var(--accent);
  border-left: 2px solid var(--accent);
  transform: translateX(-50%) rotate(45deg);
  background: var(--mp-surface);
}
.mp-close {
  position: absolute;
  right: 7px;
  top: 7px;
  width: 32px;
  height: 32px;
  background: transparent;
  border: 0;
  color: inherit;
  font-size: 24px;
  cursor: pointer;
}
.mp-detail-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding-right: 24px;
  margin-bottom: 16px;
}
.mp-detail-heading h3 {
  margin: 0 0 4px;
  font-size: 18px;
  line-height: 1.3;
}
.mp-party {
  margin: 0;
  font-size: 12px;
  line-height: 1.4;
}
.mp-detail-total {
  flex-shrink: 0;
  color: var(--accent);
  text-align: right;
  font-size: 26px;
  font-weight: 700;
}
.mp-detail-total small {
  display: block;
  font-size: 10px;
  font-weight: 400;
}
.mp-metrics {
  display: grid;
  grid-template-columns: repeat(5,minmax(0,1fr));
  gap: 16px;
  margin: 0 0 12px;
}
.mp-metrics div {
  padding-top: 8px;
  border-top: 1px solid var(--line);
}
.mp-metrics dt {
  font-size: 11px;
  line-height: 1.4;
}
.mp-metrics dd {
  margin: 4px 0 0;
  font-size: 20px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}
.mp-breakdown {
  font-size: 11px;
  line-height: 1.6;
  margin: 8px 0;
}
.mp-detail-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  margin-top: 14px;
  font-size: 11px;
}
.mp-profile {
  color: var(--accent);
  font-weight: 600;
}
.mp-source {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px 16px;
  margin-top: 6px;
  font-size: 11px;
  line-height: 1.7;
}
.mp-source details[open] {
  flex-basis: 100%;
}
.mp-source summary {
  cursor: pointer;
  color: var(--accent);
}
.mp-source a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (max-width: 600px) {
  .mp-metrics {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 10px 16px;
  }
  .mp-details {
    padding: 16px 14px;
  }
  .mp-detail-heading {
    align-items: flex-start;
  }
  .mp-detail-heading h3 {
    font-size: 16px;
  }
  .parliament .section-title {
    flex-wrap: wrap;
    gap: 10px;
  }
  .parliament .carousel-controls {
    margin-left: auto;
  }
  .mp-sort summary {
    font-size: 10px;
    max-width: 95px;
  }
}


/* Parliamentary questions: cards and source conversation. */
.qa-section { margin-block: 18px 28px; }
.qa-heading-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.qa-heading-row h2 { flex: 1; min-width: 0; }
.qa-actions { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.qa-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 40px) / 3); gap: 20px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; }
.qa-track::-webkit-scrollbar { display: none; }
.qa-track > .qa-card { scroll-snap-align: start; }
.qa-track:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 18px; }
.qa-section-intro { margin: -4px 0 22px; color: var(--muted); font-size: 14px; }
.qa-all { color: var(--accent); font-size: 13px; font-weight: 600; white-space: nowrap; }
.qa-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.qa-card { min-width: 0; border: 1px solid color-mix(in srgb,var(--ink) 14%,transparent); border-radius: 18px; overflow: hidden; background: var(--qa-card-surface, #fff); transition: border-color .18s,box-shadow .18s; }
.is-dark .qa-section { --qa-card-surface: #1c1c1c; }
.qa-card:hover { border-color: color-mix(in srgb,var(--accent) 45%,transparent); box-shadow: 0 8px 25px color-mix(in srgb,var(--ink) 6%,transparent); }
.qa-card-link { height: 100%; display: flex; flex-direction: column; padding: 23px; color: var(--ink); }
.qa-card-link:hover { color: var(--ink); }
.qa-card-link:focus-visible { outline: 2px solid var(--accent); outline-offset: -3px; border-radius: 18px; }
.qa-card-top { display: flex; align-items: center; gap: 11px; }
.qa-avatar { width: 48px; height: 48px; flex: 0 0 48px; border: 2px solid color-mix(in srgb,var(--accent) 30%,var(--paper,#fff)); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; overflow: hidden; background: color-mix(in srgb,var(--ink) 3%,transparent); color: var(--accent); font-size: 23px; }
.qa-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.qa-card-person { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 4px; }
.qa-card-person strong { font-size: 13px; line-height: 1.35; }
.qa-card-person time { font-size: 11px; color: var(--muted); }
.qa-state { flex: 0 0 auto; font-size: 10px; font-weight: 600; padding: 5px 7px; border-radius: 20px; background: color-mix(in srgb,var(--muted) 10%,transparent); color: var(--muted); }
.qa-card h3 { margin: 23px 0 12px; font-size: 20px; line-height: 1.4; font-weight: 700; letter-spacing: -.35px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.qa-card-excerpt { font-size: 13px; line-height: 1.65; color: var(--muted); margin: 0 0 25px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.qa-card-bottom { display: flex; align-items: center; gap: 16px; justify-content: space-between; padding-top: 15px; border-top: 1px solid color-mix(in srgb,var(--ink) 10%,transparent); margin-top: auto; font-size: 11px; line-height: 1.5; color: var(--muted); }
.qa-card-arrow { color: var(--accent); font-size: 24px; }
.qa-single { max-width: 1000px; padding-bottom: 56px; }
.qa-breadcrumb { display: flex; gap: 10px; flex-wrap: wrap; font-size: 12px; color: var(--muted); margin: 25px 0 36px; }
.qa-eyebrow { color: var(--accent); font-size: 11px; font-weight: 700; letter-spacing: 1.5px; }
.qa-hero h1 { font-size: clamp(28px,4vw,46px); line-height: 1.2; letter-spacing: -1px; margin: 14px 0 25px; max-width: 900px; }
.qa-byline { display: flex; align-items: center; gap: 13px; margin-bottom: 30px; }
.qa-byline>div { flex: 1; display: flex; flex-direction: column; gap: 5px; font-size: 14px; }
.qa-byline>div>span,.qa-byline time { color: var(--muted); font-size: 12px; }
.qa-summary { padding: 0; margin-bottom: 44px; }
.qa-summary-heading { margin-bottom: 14px; }
.qa-summary-heading h2 { margin: 0; font-size: 19px; font-weight: 600; }
.qa-summary p { font-size: 17px; line-height: 1.85; margin: 0 0 14px; }
.qa-conversation { display: flex; flex-direction: column; gap: 36px; }
.qa-message { margin-right: 64px; min-width: 0; }
.qa-message>header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.qa-message>header>div>span { font-size: 10px; letter-spacing: .8px; color: var(--muted); font-weight: 600; }
.qa-message h2 { font-size: 16px; line-height: 1.4; margin: 3px 0 0; max-width: 560px; }
.qa-message-body { font-size: 16px; line-height: 1.8; overflow-wrap: anywhere; padding: 24px 28px; border: 1px solid color-mix(in srgb,var(--ink) 8%,transparent); border-radius: 5px 22px 22px 22px; background: color-mix(in srgb,var(--ink) 2.5%,transparent); }
.qa-message-body p { margin: 0 0 16px; }
.qa-message-body p:last-child { margin-bottom: 0; }
.qa-message footer { display: flex; flex-wrap: wrap; gap: 14px; padding: 12px 4px 0; font-size: 11px; color: var(--muted); }
.qa-answer { margin-right: 0; margin-left: 64px; }
.qa-answer>header { flex-direction: row-reverse; text-align: right; }
.qa-answer .qa-message-body { border-radius: 22px 5px 22px 22px; background: color-mix(in srgb,var(--ink) 5%,transparent); }
.qa-answer footer { justify-content: flex-end; }
.qa-institution-icon { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; flex: 0 0 48px; border-radius: 50%; border: 1px solid color-mix(in srgb,var(--ink) 12%,transparent); color: var(--muted); background: color-mix(in srgb,var(--ink) 4%,transparent); }
.qa-waiting { color: var(--muted); font-size: 15px; line-height: 1.8; padding: 22px 26px; border-radius: 20px 5px 20px 20px; background: color-mix(in srgb,var(--ink) 4%,transparent); }
.qa-provenance { color: var(--muted); font-size: 12px; line-height: 1.7; margin: 30px 0; padding-top: 20px; border-top: 1px solid color-mix(in srgb,var(--ink) 13%,transparent); }
.qa-provenance a { text-decoration: underline; text-underline-offset: 3px; }
.qa-back { color: var(--accent); font-size: 14px; font-weight: 600; }
@media (max-width: 1000px) {
  .qa-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .qa-track { grid-auto-columns: calc((100% - 20px) / 2); }
}
@media (max-width: 620px) {
  .qa-grid { grid-template-columns: minmax(0,1fr); gap: 16px; }
  .qa-track { grid-auto-columns: 100%; gap: 16px; }
  .qa-heading-row { gap: 10px; }
  .qa-heading-row h2 { font-size: 20px; }
  .qa-actions { gap: 9px; }
  .qa-all { font-size: 12px; }
  .qa-card-link { padding: 21px; }
  .qa-card h3 { font-size: 20px; margin-top: 19px; }
  .qa-summary { margin-bottom: 32px; }
  .qa-summary p { font-size: 16px; }
  .qa-message { margin-right: 12px; }
  .qa-answer { margin-left: 12px; margin-right: 0; }
  .qa-message-body { font-size: 15px; line-height: 1.8; padding: 19px 18px; }
  .qa-byline { flex-wrap: wrap; }
  .qa-byline time { flex-basis: 100%; padding-left: 61px; }
  .qa-breadcrumb { margin-bottom: 26px; }
}

.ui-arrow {
  display: inline-block;
  vertical-align: -.12em;
  flex-shrink: 0;
}

/* Music charts */
.music-charts { margin: 0 0 36px; }
.music-chart { min-width: 0; }
.is-dark .music-charts { --music-surface: #1c1c1c; }
.music-chart-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 17px; }
.music-eyebrow { display: block; font-size: 9px; font-weight: 700; letter-spacing: 1.5px; color: var(--accent); margin-bottom: 7px; }
.music-chart-head h2 { font-size: clamp(19px,2.2vw,28px); line-height: 1.15; margin: 0; letter-spacing: -.6px; }
.music-provider { font-size: 10px; font-weight: 600; color: var(--muted); }
.music-chart-caption { font-size: 11px; color: var(--muted); margin-bottom: 9px; }
.music-list { list-style: none; padding: 0; margin: 0; }
.music-row { position: relative; display: flex; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); min-height: 81px; }
.music-row:last-child { border-bottom: 0; }
.music-rank { font-size: 15px; font-weight: 500; color: var(--accent); font-variant-numeric: tabular-nums; width: 23px; flex-shrink: 0; }
.music-track-body { flex: 1; min-width: 0; }
.music-song { display: flex; align-items: center; gap: 12px; min-width: 0; flex: 1; color: var(--ink); }
.music-song-button { width: 100%; padding: 0; border: 0; background: none; text-align: left; font: inherit; cursor: pointer; }
.music-song-button:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 8px; }
.music-art { width: 72px; height: 54px; border-radius: 8px; overflow: hidden; position: relative; flex-shrink: 0; background: var(--line); }
.music-art img { width: 100%; height: 100%; object-fit: cover; }
.music-play { position: absolute; inset: 0; display: grid; place-items: center; color: white; background: #0003; }
.music-play svg { display: block; width: 20px; height: 20px; }
.music-song-text { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.music-song-text strong { font-size: 14px; font-weight: 600; line-height: 1.35; }
.music-song-text>span { color: var(--muted); font-size: 11px; line-height: 1.4; }
.music-metric { font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; flex-shrink: 0; }
.music-score { flex-shrink: 0; text-align: right; }
.music-score .music-score-value { min-width: 48px; border-radius: 6px; padding: 5px 2px; color: var(--ink); }
.music-score .music-score-value strong { display: block; font-size: 19px; font-weight: 500; font-variant-numeric: tabular-nums; }
.music-score .music-score-value small { display: block; font-size: 9px; color: var(--muted); }
/* Chart ranking badge. */
.music-leader-badge { display: block; width: 48px; height: 48px; object-fit: contain; pointer-events: none; }
.top100-rank>.music-leader-badge { margin: 6px auto 0; }
.music-all { cursor: pointer; display: flex; justify-content: space-between; padding: 15px 0; font-size: 12px; color: var(--accent); }
.music-method { font-size: 11px; line-height: 1.7; color: var(--muted); margin-top: 14px; }
.music-method summary { cursor: pointer; width: fit-content; }
.music-method p { margin: 12px 0; }
.music-method ul { padding-left: 18px; }
.music-method a { text-decoration: underline; text-underline-offset: 2px; }
.music-unavailable { min-height: 280px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: var(--muted); padding: 30px 20px; }
.music-unavailable>span { font-size: 42px; color: var(--accent); opacity: .45; margin-bottom: 16px; }
.music-unavailable p { font-size: 15px; margin: 0 0 10px; }
.music-unavailable small { font-size: 12px; line-height: 1.7; max-width: 280px; }
.music-empty { font-size: 14px; color: var(--muted); padding: 24px 0; }
@media (max-width: 800px) {
  .music-chart-head h2 { font-size: 23px; }
  .music-unavailable { min-height: 170px; }
}
@media (max-width: 420px) {
  .music-row { gap: 8px; }
  .music-song { gap: 9px; }
  .music-art { width: 56px; height: 44px; }
  .music-song-text strong { font-size: 13px; }
  .music-metric { font-size: 10px; }
}

/* Category music carousels: independent photo cards without a shared panel. */
.music-carousel .music-list { display: grid; grid-auto-flow: column; grid-auto-columns: var(--music-slide-width,calc((100% - 48px) / 5)); gap: 12px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--accent) transparent; padding: 4px 0 12px; }
.music-carousel .music-row { display: block; aspect-ratio: var(--music-slide-ratio,16 / 9); padding: 0; border: 0; min-width: 0; border-radius: 12px; overflow: hidden; background: #242424; color: #fff; scroll-snap-align: start; }
.music-carousel .music-track-body { height: 100%; }
.music-carousel .music-song { display: block; position: relative; width: 100%; height: 100%; color: #fff; text-align: left; }
.music-carousel .music-art { display: block; position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 0; }
.music-carousel .music-art img { transform: translate(var(--music-image-x,0px),var(--music-image-y,0px)) scale(var(--music-image-zoom,1)); }
.music-carousel .music-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg,#0005,#0002 20%,#000e); }
.music-carousel .music-song-text { position: absolute; bottom: 10px; left: 10px; right: 10px; gap: 3px; }
.music-carousel .music-song-text strong { font-size: 14px; line-height: 1.2; }
.music-carousel .music-song-text>span { color: #fff; font-size: 10px; }
.music-carousel .music-rank { position: absolute; z-index: 1; left: 10px; top: 8px; width: auto; font-size: 21px; font-weight: 700; color: #fff; pointer-events: none; text-shadow: 0 1px 5px #0008; }
.music-carousel .music-score, .music-carousel .music-metric { position: absolute; left: 42px; top: 10px; right: auto; bottom: auto; color: #fff; pointer-events: none; }
.music-carousel .music-score .music-score-value { min-width: 0; padding: 0; color: #fff; }
.music-carousel .music-score .music-score-value strong { font-size: 13px; }
.music-carousel .music-score .music-score-value small { color: #fff; }
.music-carousel .music-play { z-index: 1; inset: 8px 10px auto auto; width: 26px; height: 26px; border-radius: 50%; background: #0008; }
.music-carousel .music-all { padding: 8px 0 0; }
.music-carousel-track { position: relative; min-width: 0; }
.music-carousel-controls { position: absolute; inset: 0 7px 12px; display: flex; align-items: center; justify-content: space-between; pointer-events: none; }
.music-carousel-controls button { display: grid; place-items: center; width: 30px; height: 30px; padding: 0; border: 1px solid #ffffff80; border-radius: 50%; color: #fff; background: #0009; cursor: pointer; pointer-events: auto; }
.music-carousel-controls button:disabled { opacity: .3; cursor: default; }
.music-carousel-controls button:focus-visible, .music-carousel .music-list:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.music-carousel-controls button[data-music-step="1"] svg { transform: rotate(180deg); }

.music-carousel[data-chart="regional"] { --music-slide-width: calc((100% - 60px) / 6); --music-slide-ratio: 2 / 1; }

.music-carousel[data-chart="regional"] .music-chart-head { justify-content: flex-start; gap: 16px; margin-bottom: 8px; flex-wrap: wrap; }
.music-carousel[data-chart="regional"] .music-chart-head h2 { font-size: 16px; letter-spacing: 0; }
.music-carousel[data-chart="regional"] .music-chart-head .music-all { padding: 0; }

/* The domestic chart brand is outside the scrolling track. */
.music-carousel[data-chart="domestic"] .music-chart { display: grid; grid-template-columns: 100px minmax(0,1fr); column-gap: 18px; align-items: start; }
.music-carousel[data-chart="domestic"] .music-chart-head { grid-column: 1; grid-row: 1; align-self: stretch; display: flex; flex-direction: column; gap: 8px; margin: 4px 0 12px; }
.music-chart-brand { display: block; position: relative; width: 100%; height: 100%; }
.music-chart-brand .top100-logo { display: block; position: absolute; left: 50%; top: -21.03%; width: auto; max-width: none; height: 135.92%; margin: 0; transform: translateX(-50%); animation: none; }
.music-carousel[data-chart="domestic"] .music-carousel-track { grid-column: 2; grid-row: 1; }
.music-carousel[data-chart="domestic"] .music-all { grid-column: 2; }
@media (max-width: 1000px) {
 .music-carousel .music-list { grid-auto-columns: 200px; }
 .music-carousel[data-chart="domestic"] .music-chart { grid-template-columns: 90px minmax(0,1fr); column-gap: 10px; }
}

/* Dedicated music chart and playlist */
.top100 { --chart-red: #be3450; --chart-gold: #f6cd50; --chart-surface: #fff; --chart-soft: #f5f3f3; margin-top: 24px; background: var(--chart-soft); padding-bottom: 60px; }
.is-dark .top100,.is-dark .top100-player { --chart-surface: #202020; --chart-soft: #151515; }
.top100-banner { position: relative; height: 370px; margin-bottom: 72px; background: #45121e; isolation: isolate; }
.top100-collage { display: grid; grid-template-columns: minmax(0,3fr) repeat(9,minmax(0,1fr)); height: 100%; gap: 1px; }
.top100-slice { position: relative; min-width: 0; overflow: hidden; background: #36131a; }
.top100-slice img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.34); filter: saturate(.65); }
.top100-slice span { position: absolute; top: 16px; left: 0; width: 100%; text-align: center; font-size: 12px; font-weight: 700; color: white; text-shadow: 0 1px 6px #000; }
.top100-slice.is-first { border-top: 4px solid var(--chart-gold); }
.top100-slice.is-first img { filter: none; }
.top100-slice.is-first span { font-size: 24px; color: var(--chart-gold); top: 9px; }
.top100-banner::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg,#00000015 0%,#00000033 25%,#000000d9 68%,#000 100%); pointer-events: none; }
.top100-banner h1 { position: absolute; z-index: 2; inset: auto 20px -85px; margin: 0; display: flex; justify-content: center; }
.top100-logo { display: block; width: 420px; height: 420px; object-fit: contain; filter: drop-shadow(0 3px 10px #00000026); }
.top100-content { max-width: 1060px; padding: 26px 24px; margin: auto; }
.top100-back { display: inline-block; font-size: 11px; color: var(--muted); margin-bottom: 25px; }
.top100-heading { display: flex; justify-content: space-between; align-items: center; gap: 22px; margin-bottom: 25px; }
.top100-heading h2 { margin: 0 0 8px; font-size: clamp(22px,3vw,34px); font-weight: 800; letter-spacing: -1px; line-height: 1.1; }
.top100-heading p:not(.music-eyebrow) { margin: 0; color: var(--muted); font-size: 11px; }
.top100-actions { display: flex; gap: 10px; flex-shrink: 0; }
.top100 button { font: inherit; cursor: pointer; }
.top100 button:focus-visible,.top100 a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.top100-primary { display: inline-flex; align-items: center; justify-content: center; gap: 9px; border: 0; border-radius: 5px; padding: 12px 16px; background: var(--chart-red); color: white; font-size: 12px; font-weight: 600; }
.top100-icon { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 5px; color: var(--ink); background: var(--chart-surface); flex-shrink: 0; }
.top100-icon:disabled { opacity: .3; cursor: default; }
.top100-columns { display: grid; grid-template-columns: 64px minmax(0,1fr) 72px 210px 42px; gap: 12px; padding: 10px 18px; color: var(--muted); font-size: 8px; letter-spacing: .5px; text-align: center; line-height: 1.5; }
.top100-columns>span:nth-child(2) { text-align: left; }
.top100-stat-headings { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.top100-list { list-style: none; padding: 0; margin: 0; }
.top100-row { position: relative; display: grid; grid-template-columns: 64px minmax(0,1fr) 72px 210px 42px; gap: 12px; align-items: center; padding: 15px 18px; margin-bottom: 3px; background: var(--chart-surface); scroll-margin-top: 120px; }
.top100-row.is-leader { border-top: 3px solid var(--chart-red); padding-top: 26px; padding-bottom: 26px; min-height: 170px; }
.top100-row.is-leader .top100-cover { width: 168px; height: 126px; }
.top100-row.is-leader .top100-cover svg { width: 36px; height: 36px; }
.top100-row.is-leader .top100-rank>strong { font-size: 52px; color: var(--chart-red); letter-spacing: -3px; }
.top100-row.is-leader .top100-name>button { font-size: 26px; line-height: 1.15; }
.top100-row.is-leader .top100-name>span:not(.top100-new):not(.top100-return) { font-size: 14px; }
.top100-row.is-leader .music-score .music-score-value strong { font-size: 26px; }
.top100-row.is-playing,.top100-row:target { box-shadow: inset 4px 0 var(--chart-red); }
.top100-rank { text-align: center; }
.top100-rank>strong { display: block; font-size: 29px; line-height: 1; font-weight: 750; letter-spacing: -1px; font-variant-numeric: tabular-nums; }
.top100-rank>span { display: block; min-height: 12px; font-size: 10px; margin-top: 5px; }
.top100-rank .is-up { color: #19824c; }
.top100-rank .is-down { color: var(--chart-red); }
.top100-song { display: flex; align-items: center; min-width: 0; gap: 16px; }
.top100-cover { position: relative; width: 78px; height: 64px; padding: 0; overflow: hidden; border: 0; background: #222; flex-shrink: 0; border-radius: 3px; }
.top100-cover img { display: block; width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.top100-cover svg { position: absolute; width: 25px; height: 25px; top: 50%; left: 50%; transform: translate(-50%,-50%); color: white; filter: drop-shadow(0 1px 4px #000); }
.top100-leader-label { display: none; }
.top100-name { display: flex; flex-direction: column; align-items: start; gap: 5px; min-width: 0; }
.top100-name>button { border: 0; background: none; padding: 0; color: var(--ink); font-weight: 650; font-size: 15px; text-align: left; line-height: 1.3; overflow-wrap: anywhere; }
.top100-name>span:not(.top100-new):not(.top100-return) { color: var(--muted); font-size: 11px; line-height: 1.4; }
.top100-new,.top100-return { font-size: 8px; font-weight: 700; line-height: 1; letter-spacing: .7px; padding: 4px 6px; border-radius: 2px; background: var(--chart-gold); color: #392710; }
.top100-return { background: var(--chart-soft); color: var(--muted); }
.top100-row .music-score { text-align: center; }
.top100-row .music-score .music-score-value strong { font-size: 18px; }
.top100-history { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); grid-column: 4; grid-row: 1; gap: 12px; padding: 0; }
.top100-history[hidden] { display: none; }
.top100-icon[data-history-toggle] { display: none; }
.top100-icon[data-history-toggle][aria-expanded="true"] svg { transform: rotate(45deg); }
.top100-stat { position: relative; text-align: center; font-variant-numeric: tabular-nums; }
.top100-stat small { display: block; position: absolute; bottom: calc(100% + 6px); left: 0; right: 0; color: var(--muted); font-size: 9px; line-height: 1.3; margin: 0; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .15s ease; }
@media (min-width: 801px) and (hover: hover) {
 .top100-row:hover .top100-stat small { opacity: 1; visibility: visible; }
}
.top100-stat strong { font-size: 16px; font-weight: 500; }
.top100-feedback { position: fixed; left: 20px; bottom: 20px; z-index: 120; max-width: calc(100vw - 40px); overflow-wrap: anywhere; background: var(--chart-surface); box-shadow: 0 4px 24px #0003; border-radius: 6px; font-size: 12px; padding: 12px 16px; }
.top100-feedback:empty { display: none; }
.top100-player { --chart-red: #be3450; --chart-surface: #fff; position: fixed; right: 18px; top: 90px; bottom: 18px; width: 410px; max-width: calc(100vw - 24px); z-index: 110; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 12px; background: var(--chart-surface); box-shadow: 0 12px 70px #0005; overflow: hidden; }
.top100-player[hidden] { display: none; }
.top100-player>header { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 16px; }
.top100-player h2 { margin: 0; font-size: 17px; }
.top100-video { height: 230px; flex-shrink: 0; background: #111; }
.top100-video iframe { display: block; width: 100%; height: 100%; border: 0; }
.top100-playing { font-size: 13px; font-weight: 600; padding: 14px 16px 0; margin: 0; }
.top100-player-status { margin: 0; padding: 8px 16px 0; font-size: 11px; line-height: 1.5; color: var(--muted); }
.top100-player-status:empty { display: none; }
.top100-controls { display: flex; gap: 8px; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.top100-controls>a { margin-left: auto; font-size: 10px; color: var(--muted); }
.top100-queue { list-style: none; padding: 0; margin: 0; overflow-y: auto; flex: 1; min-height: 70px; }
.top100-queue button { display: flex; gap: 10px; align-items: center; width: 100%; border: 0; border-radius: 0; padding: 12px 16px; background: none; text-align: left; color: var(--ink); }
.top100-queue button[aria-current] { background: color-mix(in srgb,var(--chart-red) 14%,var(--chart-surface)); box-shadow: inset 3px 0 var(--chart-red); }
.top100-queue button>span:first-child { font-size: 10px; width: 22px; color: var(--muted); }
.top100-queue img { width: 48px; height: 36px; object-fit: cover; border-radius: 3px; }
.top100-queue strong { display: block; font-weight: 600; font-size: 12px; }
.top100-queue small { display: block; color: var(--muted); font-size: 10px; margin-top: 4px; }
@media (max-width: 800px) {
 .top100-banner { height: 280px; margin-bottom: 60px; }
 .top100-logo { width: 330px; height: 330px; }
 .top100-content { padding: 24px 14px; }
 .top100-heading { align-items: start; flex-direction: column; gap: 18px; }
 .top100-columns { display: none; }
 .top100-row { grid-template-columns: 30px minmax(0,1fr) 48px 30px 30px; gap: 10px; padding: 14px 10px; }
 .top100-row.is-leader { display: block; min-height: 320px; padding: 0; border: 0; border-radius: 12px; overflow: hidden; margin-bottom: 10px; }
 .top100-row.is-leader .top100-rank { position: absolute; top: 12px; left: 20px; z-index: 2; color: white; pointer-events: none; }
 .top100-rank>.music-leader-badge { position: absolute; top: 14px; left: 58px; margin: 0; transform: none; }
 .top100-row.is-leader .top100-rank>strong { font-size: 76px; line-height: 1; letter-spacing: -4px; color: white; }
 .top100-row.is-leader .top100-song { position: relative; display: block; height: 320px; padding: 0; background: #111; }
 .top100-row.is-leader .top100-cover { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 0; }
 .top100-row.is-leader .top100-cover img { transform: scale(1.34); opacity: 1; }
 .top100-row.is-leader .top100-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg,#0003 0%,#0001 25%,#000b 65%,#000f 100%); }
 .top100-row.is-leader .top100-cover svg { top: 20px; right: 20px; left: auto; transform: none; width: 42px; height: 42px; padding: 11px; border: 1px solid #ffffff70; border-radius: 50%; background: #0004; z-index: 1; }
 .top100-row.is-leader .top100-name { position: absolute; left: 22px; right: 22px; bottom: 76px; gap: 6px; pointer-events: none; }
 .top100-leader-label { display: block; color: #fff; font-size: 9px; letter-spacing: 2px; font-weight: 700; }
 .top100-row.is-leader .top100-name>button { font-size: clamp(23px,6vw,32px); color: white; pointer-events: auto; }
 .top100-row.is-leader .top100-name>span:not(.top100-new):not(.top100-return) { font-size: 13px; color: #ffffffd9; }
 .top100-row.is-leader .music-score { position: absolute; top: 262px; right: 108px; color: white; }
 .top100-row.is-leader .music-score .music-score-value { min-width: 54px; }
 .top100-row.is-leader .music-score .music-score-value strong { font-size: 21px; color: white; }
 .top100-row.is-leader .music-score .music-score-value small { color: #ffffffb3; }
 .top100-row.is-leader>.top100-icon { position: absolute; top: 262px; width: 36px; height: 40px; color: white; background: #ffffff17; border-color: #ffffff40; }
 .top100-row.is-leader>.top100-icon[data-share] { right: 62px; }
 .top100-row.is-leader>.top100-icon[data-history-toggle] { right: 18px; }
 .top100-row>.top100-icon[data-share] { grid-column: 4; }
 .top100-row>.top100-icon[data-history-toggle] { grid-column: 5; }
 .top100-row.is-leader .top100-history { padding: 18px 12px; }
 .top100-rank { grid-column: 1; grid-row: 1; }
 .top100-rank>strong { font-size: 23px; }
 .top100-song { grid-column: 2; grid-row: 1; gap: 10px; }
 .top100-cover { width: 54px; height: 54px; }
 .top100-name>button { font-size: 13px; }
 .top100-row .music-score { grid-column: 3; grid-row: 1; }
 .top100-row .music-score .music-score-value { min-width: 0; }
 .top100-row .music-score .music-score-value strong { font-size: 16px; }
 .top100-row>.top100-icon { grid-row: 1; width: 28px; height: 36px; }
 .top100-history { grid-column: 1 / -1; grid-row: 2; gap: 10px; padding: 12px 0 4px; border-top: 1px solid var(--line); }
 .top100-icon[data-history-toggle] { display: inline-flex; }
 .top100-stat { display: flex; flex-direction: column; gap: 4px; }
 .top100-stat small { display: inline; position: static; opacity: 1; visibility: visible; color: var(--muted); font-size: 9px; }
 .top100-stat strong { font-size: 12px; }
 .top100-player { top: auto; bottom: 8px; right: 12px; height: min(720px,calc(100dvh - 24px)); }
 .top100-video { height: max(200px,calc((100vw - 24px) * .5625)); max-height: 230px; }
}
@media (max-width: 420px) {
 .top100-banner { height: 240px; }
 .top100-logo { width: 300px; height: 300px; max-width: 100%; }
 .top100-banner h1 { inset: auto 8px -75px; }
 .top100-slice span { font-size: 9px; }
 .top100-content { padding-inline: 10px; }
 .top100-row { gap: 7px; grid-template-columns: 26px minmax(0,1fr) 40px 28px 28px; }
 .top100-cover { width: 45px; height: 48px; }
 .top100-song { gap: 8px; }
 .top100-name>button { font-size: 12px; }
 .top100-name>span:not(.top100-new):not(.top100-return) { font-size: 10px; }
}

/* Full-color original wordmark; other editions use the shared adaptive mask. */
.brand .portal-wordmark { display: block; width: 100%; height: auto; max-height: 62px; object-fit: contain; }
.masthead.is-stuck .portal-wordmark { filter: brightness(0) saturate(100%) invert(24%) sepia(75%) saturate(1454%) hue-rotate(189deg) brightness(90%) contrast(95%); }

.is-dark .masthead.is-stuck .portal-wordmark { filter: none; }

/* Local utility and article sharing alignment — 2026-11-10. */
.utility>span::before,.utility>span::after { display:none; content:none; }
.utility>span { column-gap:12px; --metadata-gap:6px; }
.utility>span>time,.utility>span>.header-weather { border-left:0; border-right:0; }
.article-share .article-comments-link { border-left:0; border-right:1px solid var(--line); padding-left:0; padding-right:14px; margin-right:8px; }