:root {
  --ink: #101820;
  --muted: #607080;
  --paper: #f7f7f7;
  --surface: #ffffff;
  --line: #e6e6e6;
  --teal: #1e9dc8;
  --amber: #d89220;
  --red: #e33d26;
  --blue: #264f85;
  --shadow: 0 12px 30px rgba(16, 24, 32, 0.1);
  --font-body: "Helvetica Neue", Arial, sans-serif;
  --font-headline: "HelveticaNeue-CondensedBold", "Arial Narrow", "Roboto Condensed", Impact, "Helvetica Neue", Arial, sans-serif;
  --publisher-primary: #0b1665;
  --publisher-secondary: #101820;
  --publisher-accent: #f4f7fb;
  --publisher-link: #1e9dc8;
  --publisher-button: #0b1665;
  --publisher-button-hover: #162481;
  --publisher-hover: #2d6edb;
  --publisher-badge: #d6bd35;
  --publisher-progress: #1e9dc8;
  --publisher-font-headline: var(--font-headline);
  --publisher-font-body: var(--font-body);
  --publisher-font-button: var(--font-body);
  --publisher-headline-weight: 950;
  --publisher-home-headline-scale: 1;
  --publisher-article-title-scale: 1;
  --publisher-section-headline-scale: 1;
  --publisher-body-scale: 1;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--publisher-font-body);
  font-size: 15px;
  line-height: 1.28;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 10;
}

.utility-bar,
.masthead,
.category-nav,
main,
.cms-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.utility-bar {
  min-height: 31px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #767676;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0;
  border-bottom: 1px solid var(--line);
}

.masthead {
  min-height: 118px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0;
  font-family: var(--publisher-font-headline);
  font-size: clamp(2.25rem, 5.2vw, 4.2rem);
  line-height: 0.88;
  text-transform: none;
}

.brand-logo {
  display: block;
  width: auto;
  height: 24px;
}

.compact-campaign-page .site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.compact-campaign-page .masthead {
  min-height: 52px;
  justify-content: flex-start;
}

.compact-campaign-page .brand-logo {
  height: 17px;
}

.compact-campaign-page .main-menu {
  display: none;
}

.brand-wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  color: currentColor;
  white-space: nowrap;
}

.brand-wordmark strong,
.brand-wordmark span,
.brand-wordmark em {
  font-family: var(--publisher-font-headline);
  letter-spacing: 0;
  font-style: normal;
}

.brand-wordmark strong {
  font-weight: 950;
}

.brand-wordmark span,
.brand-wordmark em {
  font-weight: 400;
}

.brand-wordmark em {
  margin-left: 0.28em;
}

.tagline {
  margin: 0 auto 0 12px;
  align-self: end;
  color: #777;
  font-family: var(--publisher-font-body);
  font-size: 1.05rem;
  white-space: nowrap;
}

.search input {
  width: min(280px, 34vw);
  border: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
  padding: 12px 14px;
}

.category-nav {
  display: flex;
  gap: 0;
  overflow-x: auto;
  padding: 0;
  background: #111;
}

.category-nav button,
button {
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--ink);
  color: #fff;
  min-height: 40px;
  padding: 0 14px;
  cursor: pointer;
  font-weight: 700;
}

.category-nav button {
  background: #111;
  border-color: #111;
  color: #fff;
  min-height: 48px;
  white-space: nowrap;
}

.category-nav button.active,
.category-nav button:hover {
  background: var(--publisher-link);
  color: #fff;
}

main {
  padding: 28px 0 56px;
}

.top-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.38fr) minmax(280px, 0.62fr);
  gap: 4px;
  min-height: 464px;
  margin-bottom: 26px;
}

.lead-card,
.stack-card {
  position: relative;
  min-height: 100%;
  background: #111;
  color: #fff;
  overflow: hidden;
}

.story-visual {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: end;
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.76)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.15) 0 1px, transparent 1px 20px),
    linear-gradient(135deg, var(--publisher-link), #21384c 62%, #121212);
}

.story-visual[data-category="KI Generell"],
.story-visual[data-category="Social Media"] {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.76)),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.13) 0 1px, transparent 1px 20px),
    linear-gradient(135deg, #18252e, #842f2d);
}

.story-visual[data-category="Aktien/ETFs"],
.story-visual[data-category="Real Estate"] {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.76)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.13) 0 1px, transparent 1px 20px),
    linear-gradient(135deg, #173f55, var(--amber));
}

.story-visual[data-category="Fashion"],
.story-visual[data-category="Autohändler"],
.story-visual[data-category="Boote/Yachten"] {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.76)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.15) 0 1px, transparent 1px 20px),
    linear-gradient(135deg, #2b5665, #10a6a6);
}

.story-visual span,
.thumb span {
  color: #fff;
  background: #111;
  padding: 6px 8px;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
}

.lead-copy {
  position: absolute;
  left: clamp(18px, 4vw, 34px);
  right: clamp(18px, 4vw, 34px);
  bottom: clamp(20px, 5vw, 38px);
  z-index: 1;
}

.lead-copy h1 {
  max-width: 760px;
  margin: 8px 0 13px;
  font-family: var(--publisher-font-headline);
  font-size: clamp(2.15rem, 5.2vw, 4.8rem);
  line-height: 0.9;
  font-weight: 950;
}

.lead-copy p {
  max-width: 680px;
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.35;
}

.top-stack {
  display: grid;
  gap: 4px;
}

.stack-card {
  min-height: 152px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: end;
}

.stack-card h2 {
  position: relative;
  z-index: 1;
  margin: 0 0 8px;
  font-family: var(--publisher-font-headline);
  font-size: 1.55rem;
  line-height: 0.96;
  font-weight: 950;
}

.stack-card .meta {
  position: relative;
  z-index: 1;
}

.eyebrow,
.meta,
.thumb span,
.pick-list span {
  color: var(--publisher-link);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: inherit;
  opacity: 0.72;
}

.ticker {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
  min-height: 58px;
  margin: 24px 0;
  border-block: 1px solid #111;
  overflow: hidden;
}

.ticker > span {
  background: var(--publisher-link);
  color: #fff;
  padding: 8px 10px;
  border-radius: 3px;
  font-weight: 800;
}

#tickerItems {
  display: flex;
  gap: 28px;
  color: var(--muted);
  white-space: nowrap;
}

.layout,
.cms-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 34px;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  margin-bottom: 18px;
}

.section-heading h1,
.section-heading h2,
.sidebar h2 {
  margin: 0;
  font-family: var(--publisher-font-headline);
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 0.95;
  font-weight: 950;
}

.section-heading span {
  color: var(--muted);
  font-weight: 700;
}

.article-grid {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.fallback-section {
  margin: 28px 0 36px;
}

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

.fallback-card {
  padding: 18px;
  background: var(--publisher-accent);
  border: 1px solid var(--line);
  border-left: 4px solid var(--publisher-primary);
}

.fallback-card span {
  color: var(--publisher-primary);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.fallback-card h2 {
  margin: 9px 0;
  font-family: var(--publisher-font-headline);
  font-size: 1.7rem;
  line-height: 1;
}

.fallback-card p {
  color: #555;
  line-height: 1.42;
}

.fallback-card > a:last-child {
  color: var(--publisher-link);
  font-weight: 950;
}

.article-card,
.sidebar section,
.editor,
.article-manager {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.article-card {
  overflow: hidden;
  border-width: 0 0 1px 0;
  border-radius: 0;
  padding: 20px 0;
  background: transparent;
}

.article-card-link {
  display: grid;
  grid-template-columns: minmax(260px, 34%) 1fr;
  gap: 20px;
  min-height: 170px;
}

.thumb {
  min-height: 150px;
  aspect-ratio: 3 / 2;
  position: relative;
  display: flex;
  align-items: end;
  padding: 16px;
  background: #101820;
}

.thumb[data-category="KI Generell"],
.thumb[data-category="Social Media"] {
  background: #101820;
}

.thumb[data-category="Aktien/ETFs"],
.thumb[data-category="Real Estate"] {
  background: #101820;
}

.thumb[data-category="Fashion"],
.thumb[data-category="Autohändler"],
.thumb[data-category="Boote/Yachten"] {
  background: #101820;
}

.article-card-body {
  padding: 0 20px 0 0;
}

.article-card h2 {
  margin: 8px 0 10px;
  font-family: var(--publisher-font-headline);
  font-size: calc(1.72rem * var(--publisher-section-headline-scale));
  line-height: 1.06;
  font-weight: var(--publisher-headline-weight);
}

.article-card p,
.newsletter p {
  color: var(--muted);
  line-height: 1.35;
}

.empty-state {
  border-top: 1px solid var(--line);
  padding: 34px 0;
}

.empty-state h2 {
  margin: 0 0 8px;
  font-family: var(--publisher-font-headline);
  font-size: calc(2rem * var(--publisher-section-headline-scale));
  line-height: 1.08;
  font-weight: var(--publisher-headline-weight);
}

.empty-state p {
  max-width: 560px;
  color: var(--muted);
}

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.sidebar section {
  padding: 20px;
  border-radius: 0;
}

.pick-list article {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.pick-list article a {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
}

.pick-list article:last-child {
  border-bottom: 0;
}

.pick-list strong {
  color: var(--amber);
  font-size: 1.4rem;
}

.pick-list h3 {
  margin: 4px 0 0;
  font-family: var(--publisher-font-headline);
  font-size: calc(1rem * var(--publisher-section-headline-scale));
  line-height: 1.18;
  font-weight: var(--publisher-headline-weight);
}

.newsletter form {
  display: grid;
  gap: 10px;
}

.newsletter input,
.editor input,
.editor textarea,
.editor select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
  padding: 12px;
  color: var(--publisher-secondary);
  font-family: var(--publisher-font-body);
  font-weight: 400;
}

.editor textarea {
  line-height: 1.45;
}

.image-field-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.image-field-row input {
  min-width: 0;
}

.image-field-row .compact {
  min-height: 45px;
  padding-inline: 14px;
}

.site-footer {
  width: 100%;
  margin: 60px 0 0;
  border-top: 0;
  background: var(--publisher-primary);
  color: rgba(255, 255, 255, 0.82);
  padding: 34px max(16px, calc((100vw - 1180px) / 2)) 44px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.82rem;
  font-weight: 750;
}

.footer-logo {
  display: block;
  width: auto;
  height: 21px;
}

.site-footer p {
  margin: 5px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer-rich {
  display: grid;
  grid-template-columns: minmax(180px, 0.9fr) minmax(0, 2.2fr) minmax(120px, auto);
  align-items: flex-start;
  gap: 24px;
}

.site-footer-rich nav:first-of-type {
  gap: 8px 14px;
}

.site-footer nav[aria-label="Rechtliches"] {
  justify-self: end;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  opacity: 0.82;
}

.footer-login-link {
  width: 20px;
  height: 20px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.72rem;
  line-height: 1;
  opacity: 0.72;
}

.footer-login-link:hover,
.footer-login-link:focus-visible {
  border-color: #fff;
  opacity: 1;
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.compact-campaign-page .site-footer {
  margin-top: 42px;
  padding-top: 18px;
  padding-bottom: 18px;
}

.compact-campaign-page .site-footer-rich {
  grid-template-columns: auto 1fr auto;
  align-items: center;
}

.compact-campaign-page .footer-logo {
  height: 15px;
  opacity: 0.86;
}

.compact-campaign-page .site-footer nav[aria-label="Bereiche"] {
  display: none;
}

.cms-shell {
  align-items: start;
  padding-top: 28px;
}

.theme-admin-shell,
.analytics-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 28px auto 70px;
}

.login-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: var(--publisher-primary);
}

.login-shell {
  width: min(420px, calc(100% - 32px));
}

.login-card {
  display: grid;
  gap: 18px;
  padding: 34px;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.login-logo {
  width: auto;
  height: 28px;
  padding: 7px 9px;
  background: var(--publisher-primary);
}

.login-card h1 {
  margin: 0;
  color: var(--publisher-secondary);
  font-family: var(--publisher-font-headline);
  font-size: 2.35rem;
  line-height: 0.95;
}

.login-card p {
  margin: 0;
  color: #b12020;
  font-weight: 800;
}

.login-card label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 850;
}

.login-card input {
  min-height: 44px;
  border: 1px solid var(--line);
  padding: 0 12px;
}

.login-card button {
  min-height: 44px;
  border: 0;
  background: var(--publisher-primary);
  color: #fff;
  font-weight: 900;
  text-transform: uppercase;
}

.analytics-shell {
  margin-top: 0;
}

.theme-admin-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 34px;
}

.editor,
.article-manager {
  padding: 22px;
}

.editor form {
  display: grid;
  gap: 16px;
}

.editor label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-weight: 700;
}

.body-editor-label small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 500;
}

.editor-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 8px;
  background: var(--publisher-accent);
  border: 1px solid var(--line);
}

.editor-toolbar button {
  min-height: 32px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--publisher-secondary);
  padding: 0 11px;
  font-size: 0.82rem;
  font-weight: 800;
}

.editor-toolbar button:hover,
.editor-toolbar button:focus-visible {
  border-color: var(--publisher-hover);
  color: var(--publisher-hover);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.checkbox-row {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.color-row {
  grid-template-columns: repeat(3, 1fr);
}

.checkbox-label {
  display: flex !important;
  grid-template-columns: auto !important;
  align-items: center;
  gap: 10px !important;
}

.checkbox-label input {
  width: auto;
}

.theme-preview-card {
  padding: 18px;
  background: var(--preview-accent, var(--publisher-accent));
  border: 1px solid var(--line);
}

.theme-preview-card small {
  display: block;
  margin-bottom: 12px;
  color: #6f7884;
  font-size: 0.72rem;
  font-weight: 750;
}

.theme-preview-card span {
  display: inline-block;
  padding: 5px 8px;
  background: var(--preview-badge, var(--publisher-badge));
  color: #fff;
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.theme-preview-card h2 {
  margin: 12px 0 8px;
  color: var(--preview-secondary, var(--publisher-secondary));
  font-family: var(--preview-headline-font, var(--publisher-font-headline));
  font-size: calc(2rem * var(--preview-title-scale, 1));
  font-weight: var(--preview-headline-weight, 900);
  line-height: 1;
}

.theme-preview-card p {
  color: var(--preview-secondary, #555);
  font-family: var(--preview-body-font, var(--publisher-font-body));
  font-size: calc(1rem * var(--preview-body-scale, 1));
}

.theme-preview-card .cta-button {
  background: var(--preview-button, var(--publisher-button));
  color: #fff;
  font-family: var(--preview-button-font, var(--publisher-font-button));
}

.theme-preview-card .cta-button:hover,
.theme-preview-card .cta-button:focus-visible {
  background: var(--preview-button-hover, var(--publisher-button-hover));
}

.button-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.button-link {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  padding: 0 18px;
  font-family: var(--publisher-font-button);
  font-weight: 900;
  text-transform: uppercase;
}

.ghost {
  background: transparent;
  color: var(--ink);
}

.danger {
  border-color: var(--publisher-hover);
  color: var(--publisher-hover);
}

.danger:disabled {
  opacity: 0.45;
}

.admin-list {
  display: grid;
  gap: 10px;
}

.admin-list button {
  display: grid;
  gap: 6px;
  width: 100%;
  min-height: auto;
  padding: 14px;
  text-align: left;
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
}

.admin-list button.active {
  border-color: var(--publisher-link);
  box-shadow: inset 4px 0 0 var(--publisher-link);
}

.admin-list span {
  color: var(--muted);
  font-size: 0.76rem;
  text-transform: uppercase;
  font-weight: 800;
}

.data-tools {
  margin-top: 24px;
  border-top: 4px solid #111;
  padding-top: 18px;
}

.data-tools h3 {
  margin: 0 0 12px;
  font-family: var(--publisher-font-headline);
  font-size: 1.6rem;
  line-height: 0.95;
}

.data-tools label {
  display: grid;
  gap: 7px;
  margin-top: 12px;
  color: var(--muted);
  font-weight: 800;
}

.data-tools input,
.data-tools select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
  padding: 12px;
}

.data-tools textarea {
  width: 100%;
  margin-top: 12px;
  border: 1px solid var(--line);
  padding: 12px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.78rem;
  line-height: 1.45;
  resize: vertical;
}

.admin-hint {
  min-height: 18px;
  margin: 8px 0 0;
  color: var(--muted);
  font-weight: 800;
}

.analytics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.analytics-grid article {
  border: 1px solid var(--line);
  background: #fff;
  padding: 18px;
}

.analytics-grid span {
  display: block;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.analytics-grid strong {
  display: block;
  margin-top: 8px;
  font-family: var(--publisher-font-headline);
  font-size: 2.6rem;
  line-height: 0.9;
}

.analytics-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  background: #fff;
}

.analytics-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.analytics-table th,
.analytics-table td {
  border-bottom: 1px solid var(--line);
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
}

.analytics-table th {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.analytics-table td {
  font-size: 0.9rem;
  font-weight: 700;
}

/* StockRadar-inspired CMS shell */
.admin-page {
  --admin-bg: #070809;
  --admin-subtle: #0d0f12;
  --admin-surface: #13161b;
  --admin-raised: #1a1e25;
  --admin-border: #252a33;
  --admin-brand: #13cfbf;
  --admin-brand-soft: rgba(19, 207, 191, 0.1);
  --admin-text: #f4f4f5;
  --admin-muted: #8b949e;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 264px minmax(0, 1fr);
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(19, 207, 191, 0.08), transparent),
    linear-gradient(rgba(19, 207, 191, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(19, 207, 191, 0.025) 1px, transparent 1px),
    var(--admin-bg);
  background-size: auto, 32px 32px, 32px 32px;
  color: var(--admin-text);
}

.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--admin-border);
  background: rgba(13, 15, 18, 0.92);
  backdrop-filter: blur(12px);
}

.admin-sidebar-brand {
  height: 66px;
  display: flex;
  align-items: center;
  padding: 0 18px;
  border-bottom: 1px solid var(--admin-border);
}

.admin-sidebar-brand .brand-logo {
  height: 25px;
}

.admin-nav {
  flex: 1;
  overflow-y: auto;
  padding: 22px 12px;
}

.admin-nav span {
  display: block;
  margin: 18px 10px 8px;
  color: #525a65;
  font-size: 0.66rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-nav span:first-child {
  margin-top: 0;
}

.admin-nav a {
  display: flex;
  align-items: center;
  min-height: 38px;
  margin: 2px 0;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 12px;
  color: #a1a1aa;
  font-size: 0.9rem;
  font-weight: 750;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.admin-nav a:hover,
.admin-nav a:focus-visible {
  background: var(--admin-raised);
  color: #fff;
}

.admin-nav a.active {
  border-color: rgba(19, 207, 191, 0.22);
  background: var(--admin-brand-soft);
  color: var(--admin-brand);
}

.admin-sidebar-footer {
  margin: 0 12px 12px;
  border-top: 1px solid rgba(37, 42, 51, 0.75);
  padding: 14px 10px 4px;
}

.admin-sidebar-footer p {
  margin: 0 0 10px;
  color: #5f6874;
  font-size: 0.72rem;
  line-height: 1.35;
}

.admin-sidebar-footer a {
  display: block;
  padding: 5px 0;
  color: #8b949e;
  font-size: 0.78rem;
  font-weight: 750;
}

.admin-sidebar-footer a:hover,
.admin-sidebar-footer a:focus-visible {
  color: var(--admin-brand);
}

.admin-app {
  min-width: 0;
}

.admin-topbar {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid rgba(37, 42, 51, 0.85);
  padding: 0 28px;
  background: rgba(7, 8, 9, 0.64);
  backdrop-filter: blur(10px);
}

.admin-topbar span {
  display: block;
  color: #5f6874;
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-topbar h1 {
  margin: 2px 0 0;
  color: #fff;
  font-family: var(--publisher-font-body);
  font-size: 1.25rem;
  line-height: 1.1;
}

.admin-topbar-link {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(19, 207, 191, 0.28);
  border-radius: 8px;
  padding: 0 14px;
  color: var(--admin-brand);
  font-size: 0.84rem;
  font-weight: 850;
  background: var(--admin-brand-soft);
}

.admin-page .cms-shell,
.admin-page .theme-admin-shell,
.admin-page .analytics-shell,
.admin-page .admin-panel-page {
  width: min(1440px, calc(100% - 56px));
  margin: 0 auto;
}

.admin-view[hidden] {
  display: none !important;
}

.admin-page .cms-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 22px;
  align-items: start;
  padding: 28px 0;
}

.admin-page .theme-admin-shell,
.admin-page .analytics-shell,
.admin-page .admin-panel-page {
  padding: 0 0 28px;
}

.admin-page .admin-panel-page {
  display: grid;
  gap: 22px;
  align-items: start;
}

.admin-page .admin-panel-page .data-tools {
  max-width: 900px;
}

.admin-page .theme-admin-grid {
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 22px;
}

.admin-page .editor,
.admin-page .article-manager,
.admin-page .data-tools,
.admin-page .theme-preview-card,
.admin-page .analytics-grid article,
.admin-page .analytics-table-wrap {
  border: 1px solid var(--admin-border);
  border-radius: 12px;
  background: var(--admin-surface);
  box-shadow: 0 1px 0 rgba(255,255,255,0.04) inset, 0 8px 32px -8px rgba(0,0,0,0.6);
}

.admin-page .editor,
.admin-page .article-manager {
  padding: 22px;
}

.admin-page .data-tools {
  margin-top: 0;
  border-top: 1px solid var(--admin-border);
  padding: 18px;
}

.admin-page .section-heading {
  align-items: center;
  border-bottom: 1px solid var(--admin-border);
  padding-bottom: 16px;
  margin-bottom: 18px;
}

.admin-page .section-heading > div {
  min-width: 0;
}

.admin-page .section-heading h1,
.admin-page .section-heading h2,
.admin-page .data-tools h3 {
  color: #fff;
  font-family: var(--publisher-font-body);
  font-size: 1.1rem;
  line-height: 1.15;
  font-weight: 850;
}

.admin-page .section-heading h1 {
  font-size: 1.35rem;
}

.admin-page .section-intro,
.admin-page .tool-description {
  max-width: 760px;
  margin: 7px 0 0;
  color: var(--admin-muted);
  font-size: 0.84rem;
  line-height: 1.45;
  font-weight: 550;
}

.admin-page .tool-description {
  margin-bottom: 18px;
}

.admin-page label,
.admin-page .editor label,
.admin-page .data-tools label {
  color: var(--admin-muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.admin-page input,
.admin-page textarea,
.admin-page select,
.admin-page .data-tools input,
.admin-page .data-tools select,
.admin-page .data-tools textarea,
.admin-page .editor input,
.admin-page .editor textarea,
.admin-page .editor select {
  border: 1px solid var(--admin-border);
  border-radius: 8px;
  background: var(--admin-subtle);
  color: var(--admin-text);
  padding: 11px 12px;
  font-weight: 500;
}

.admin-page textarea {
  min-height: 108px;
}

.admin-page input::placeholder,
.admin-page textarea::placeholder {
  color: #59616d;
}

.admin-page input:focus,
.admin-page textarea:focus,
.admin-page select:focus {
  border-color: rgba(19, 207, 191, 0.6);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(19, 207, 191, 0.14);
}

.admin-page button,
.admin-page .button-link {
  min-height: 40px;
  border: 1px solid var(--admin-border);
  border-radius: 8px;
  background: var(--admin-raised);
  color: #e4e4e7;
  padding: 0 14px;
  font-family: var(--publisher-font-body);
  font-size: 0.86rem;
  font-weight: 850;
  text-transform: none;
}

.admin-page button[type="submit"],
.admin-page #newArticle,
.admin-page #newTheme {
  border-color: rgba(19, 207, 191, 0.32);
  background: var(--admin-brand);
  color: #061010;
}

.admin-page button:hover,
.admin-page .button-link:hover,
.admin-page button:focus-visible,
.admin-page .button-link:focus-visible {
  border-color: rgba(19, 207, 191, 0.5);
  color: #fff;
}

.admin-page button[type="submit"]:hover,
.admin-page #newArticle:hover,
.admin-page #newTheme:hover {
  color: #061010;
  filter: brightness(1.08);
}

.admin-page .ghost {
  background: transparent;
  color: #a1a1aa;
}

.admin-page .danger {
  border-color: rgba(239, 68, 68, 0.34);
  color: #ef4444;
}

.admin-page .admin-list {
  gap: 8px;
}

.admin-page .admin-list button {
  border: 1px solid var(--admin-border);
  border-radius: 10px;
  background: var(--admin-subtle);
  color: #f4f4f5;
  padding: 12px;
}

.admin-page .admin-list button:hover,
.admin-page .admin-list button.active {
  border-color: rgba(19, 207, 191, 0.34);
  background: var(--admin-brand-soft);
  box-shadow: inset 3px 0 0 var(--admin-brand);
}

.admin-page .admin-list span {
  color: #6f7884;
  font-size: 0.66rem;
}

.admin-page .admin-list strong {
  color: #e4e4e7;
  font-size: 0.92rem;
  line-height: 1.25;
}

.admin-page .editor-toolbar {
  border-color: var(--admin-border);
  border-radius: 8px;
  background: var(--admin-subtle);
}

.admin-page .editor-toolbar button {
  border-radius: 7px;
  background: var(--admin-raised);
  color: #d4d4d8;
}

.admin-page .checkbox-row {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-page .checkbox-label {
  min-height: 42px;
  border: 1px solid var(--admin-border);
  border-radius: 8px;
  background: rgba(13, 15, 18, 0.58);
  padding: 0 10px;
}

.admin-page .checkbox-label input {
  accent-color: var(--admin-brand);
}

.admin-page .admin-hint,
.admin-page .body-editor-label small {
  color: #6f7884;
  font-size: 0.76rem;
  font-weight: 650;
}

.admin-page .save-status {
  min-height: 20px;
  margin: 12px 0 0;
  color: #087f76;
  font-size: 0.82rem;
  font-weight: 850;
  opacity: 0;
  transform: translateY(-2px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.admin-page .save-status.visible {
  opacity: 1;
  transform: translateY(0);
}

.admin-page .theme-preview-card {
  border-color: var(--preview-primary, var(--admin-border));
  background: var(--preview-accent, var(--admin-subtle));
}

.admin-page .theme-preview-card p {
  color: var(--preview-secondary, var(--admin-muted));
}

.admin-page .analytics-grid article {
  padding: 18px;
}

.admin-page .analytics-grid span,
.admin-page .analytics-table th {
  color: #6f7884;
}

.admin-page .analytics-grid strong {
  color: #fff;
  font-family: var(--publisher-font-body);
  font-size: 2rem;
}

.admin-page .analytics-table-wrap {
  background: var(--admin-surface);
}

.admin-page .analytics-table th,
.admin-page .analytics-table td {
  border-bottom-color: rgba(37, 42, 51, 0.78);
}

.admin-page .analytics-table td {
  color: #d4d4d8;
}

.admin-footer {
  width: min(1440px, calc(100% - 56px));
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin: 0 auto;
  border-top: 1px solid var(--admin-border);
  padding: 18px 0 28px;
  color: #5f6874;
  font-size: 0.76rem;
}

.admin-footer nav {
  display: flex;
  gap: 14px;
}

.admin-footer a:hover,
.admin-footer a:focus-visible {
  color: var(--admin-brand);
}

/* Light CMS variant with StockRadar structure */
.admin-page {
  --admin-bg: #f5f7f9;
  --admin-subtle: #f8fafc;
  --admin-surface: #ffffff;
  --admin-raised: #eef3f6;
  --admin-border: #dfe6ec;
  --admin-brand: #0da99d;
  --admin-brand-soft: rgba(13, 169, 157, 0.1);
  --admin-text: #101820;
  --admin-muted: #647282;
  background:
    radial-gradient(ellipse 80% 44% at 50% -20%, rgba(13, 169, 157, 0.12), transparent),
    linear-gradient(rgba(13, 169, 157, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 169, 157, 0.035) 1px, transparent 1px),
    var(--admin-bg);
  color: var(--admin-text);
}

.admin-sidebar {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 1px 0 0 rgba(255, 255, 255, 0.7) inset;
}

.admin-sidebar-brand {
  background: #fff;
}

.admin-nav span {
  color: #9aa7b4;
}

.admin-nav a {
  color: #526171;
}

.admin-nav a:hover,
.admin-nav a:focus-visible {
  background: var(--admin-raised);
  color: #101820;
}

.admin-nav a.active {
  border-color: rgba(13, 169, 157, 0.26);
  background: var(--admin-brand-soft);
  color: #087f76;
}

.admin-sidebar-footer {
  border-top-color: rgba(223, 230, 236, 0.9);
}

.admin-sidebar-footer p {
  color: #8a97a5;
}

.admin-sidebar-footer a {
  color: #526171;
}

.admin-topbar {
  border-bottom-color: rgba(223, 230, 236, 0.95);
  background: rgba(255, 255, 255, 0.78);
}

.admin-topbar span {
  color: #8a97a5;
}

.admin-topbar h1,
.admin-page .section-heading h1,
.admin-page .section-heading h2,
.admin-page .data-tools h3 {
  color: #101820;
}

.admin-topbar-link {
  border-color: rgba(13, 169, 157, 0.26);
  color: #087f76;
  background: rgba(13, 169, 157, 0.08);
}

.admin-page .editor,
.admin-page .article-manager,
.admin-page .data-tools,
.admin-page .theme-preview-card,
.admin-page .analytics-grid article,
.admin-page .analytics-table-wrap {
  background: var(--admin-surface);
  box-shadow: 0 1px 0 rgba(255,255,255,0.9) inset, 0 10px 30px -18px rgba(16,24,32,0.34);
}

.admin-page input,
.admin-page textarea,
.admin-page select,
.admin-page .data-tools input,
.admin-page .data-tools select,
.admin-page .data-tools textarea,
.admin-page .editor input,
.admin-page .editor textarea,
.admin-page .editor select {
  background: var(--admin-subtle);
  color: var(--admin-text);
}

.admin-page input::placeholder,
.admin-page textarea::placeholder {
  color: #9aa7b4;
}

.admin-page button,
.admin-page .button-link {
  background: #fff;
  color: #263442;
}

.admin-page button[type="submit"],
.admin-page #newArticle,
.admin-page #newTheme {
  background: var(--admin-brand);
  color: #fff;
}

.admin-page button:hover,
.admin-page .button-link:hover,
.admin-page button:focus-visible,
.admin-page .button-link:focus-visible {
  color: #101820;
  background: var(--admin-raised);
}

.admin-page button[type="submit"]:hover,
.admin-page #newArticle:hover,
.admin-page #newTheme:hover {
  color: #fff;
}

.admin-page .ghost {
  background: #fff;
  color: #526171;
}

.admin-page .admin-list button {
  background: #fff;
  color: #101820;
}

.admin-page .admin-list button:hover,
.admin-page .admin-list button.active {
  border-color: rgba(13, 169, 157, 0.32);
  background: rgba(13, 169, 157, 0.08);
  box-shadow: inset 3px 0 0 var(--admin-brand);
}

.admin-page .admin-list span {
  color: #7b8794;
}

.admin-page .admin-list strong {
  color: #101820;
}

.admin-page .editor-toolbar {
  background: var(--admin-subtle);
}

.admin-page .theme-preview-card {
  border-color: var(--preview-primary, var(--admin-border));
  background: var(--preview-accent, var(--admin-subtle));
}

.admin-page .editor-toolbar button {
  background: #fff;
  color: #263442;
}

.admin-page .checkbox-label {
  background: #fff;
}

.admin-page .admin-hint,
.admin-page .body-editor-label small {
  color: #7b8794;
}

.admin-page .analytics-table td {
  color: #526171;
}

.admin-page .theme-preview-card p {
  color: var(--preview-secondary, #526171);
}

.admin-page .analytics-grid strong {
  color: #101820;
}

.admin-page .analytics-table-wrap {
  background: #fff;
}

.admin-page .analytics-table th,
.admin-page .analytics-table td {
  border-bottom-color: rgba(223, 230, 236, 0.9);
}

.admin-footer {
  color: #7b8794;
}

@media (max-width: 1120px) {
  .admin-page {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: static;
    height: auto;
  }

  .admin-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 10px 14px 14px;
    border-bottom: 1px solid var(--admin-border);
    overflow: visible;
  }

  .admin-nav span {
    display: none;
  }

  .admin-nav a {
    min-height: 34px;
    margin: 0;
    white-space: nowrap;
  }

  .admin-sidebar-footer {
    display: none;
  }

  .admin-page .cms-shell,
  .admin-page .theme-admin-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .utility-bar,
  .masthead {
    align-items: flex-start;
    flex-direction: column;
    padding: 12px 0;
  }

  .search,
  .search input {
    width: 100%;
  }

  .top-grid,
  .layout,
  .cms-shell,
  .site-footer-rich {
    grid-template-columns: 1fr;
  }

  .top-grid {
    min-height: auto;
  }

  .lead-card {
    min-height: 430px;
  }

  .article-card {
    grid-template-columns: 1fr;
  }

  .article-card-link {
    grid-template-columns: 1fr;
  }

  .article-grid,
  .form-row,
  .analytics-grid {
    grid-template-columns: 1fr;
  }

  .ticker {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 12px 0;
  }

  #tickerItems {
    flex-wrap: wrap;
    white-space: normal;
  }
}

/* Downtown Magazine PRO adaptation */
.utility-bar.downtown-topbar {
  display: none;
}

.weather-line,
.top-links {
  display: flex;
  align-items: center;
  gap: 14px;
}

.top-links a {
  font-weight: 700;
}

.downtown-nav {
  width: 100%;
  min-height: 60px;
  padding: 0 max(24px, calc((100vw - 1232px) / 2));
  background: var(--publisher-primary);
  color: #fff;
}

.downtown-nav .brand {
  min-width: 330px;
  color: #fff;
  line-height: 0.9;
  text-transform: none;
}

.main-menu {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-right: auto;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.main-menu a:hover {
  color: #e3c64f;
}

.downtown-nav .search {
  position: relative;
  width: 42px;
  height: 42px;
  transition: width 160ms ease;
}

.downtown-nav .search:focus-within {
  width: 190px;
}

.downtown-nav .search::before {
  content: "⌕";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 30px;
  pointer-events: none;
}

.downtown-nav .search input {
  width: 100%;
  padding: 9px 0;
  border: 0;
  background: transparent;
  color: #fff;
  opacity: 0;
  outline: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
  transition: opacity 160ms ease;
}

.downtown-nav .search:focus-within input {
  opacity: 1;
  padding-left: 30px;
}

.account-link {
  margin-left: 18px;
  font-size: 13px;
  font-weight: 800;
}

.subscribe-link {
  background: #fff;
  color: var(--publisher-primary);
  padding: 12px 17px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.sr-filter {
  display: none;
}

.sr-filter button {
  min-height: 34px;
  border: 0;
  background: #fff;
  color: #111;
  font-size: 11px;
}

.sr-filter button.active,
.sr-filter button:hover {
  background: #111;
  color: #fff;
}

.downtown-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 36px;
  align-items: start;
  padding-top: 38px;
}

.hero-main {
  display: grid;
  grid-template-columns: minmax(300px, 0.45fr) minmax(420px, 1fr);
  gap: 36px;
  align-items: start;
}

.downtown-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 28px;
}

.downtown-title h1,
.popular-column h2 {
  margin: 0;
  font-family: var(--publisher-font-headline);
  font-size: 24px;
  font-weight: var(--publisher-headline-weight);
  line-height: 0.95;
  text-decoration: underline;
  text-decoration-color: var(--publisher-badge);
  text-decoration-thickness: 5px;
  text-underline-offset: 8px;
}

.downtown-title button {
  min-height: 32px;
  padding: 0 14px;
  border: 0;
  background: #070707;
  font-size: 12px;
  text-transform: uppercase;
}

.section-action {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 0 14px;
  background: #070707;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.breaking-lead > a,
.feature-story > a,
.popular-card > a,
.breaking-list article > a,
.fallback-card > a {
  display: block;
}

.read-link {
  display: inline-flex;
  margin-top: 12px;
  color: var(--publisher-link);
  font-weight: 950;
}

.breaking-lead h2 {
  margin: 10px 0 12px;
  font-family: var(--publisher-font-headline);
  font-size: clamp(
    calc(1.85rem * var(--publisher-home-headline-scale)),
    calc(2.1vw * var(--publisher-home-headline-scale)),
    calc(2.45rem * var(--publisher-home-headline-scale))
  );
  line-height: 1.05;
  font-weight: var(--publisher-headline-weight);
  overflow-wrap: anywhere;
}

.breaking-lead time,
.mini-meta,
.feature-copy .meta {
  color: #555;
  font-size: 12px;
}

.breaking-lead p {
  max-width: 310px;
  color: #4c4c4c;
  font-size: 15px;
  line-height: 1.42;
}

.category-gold,
.mini-meta span {
  color: var(--publisher-badge);
  font-size: 13px;
  font-weight: 900;
}

.label-row,
.mini-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px 10px;
}

.breaking-list {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 36px;
  margin-top: 8px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.breaking-list article {
  border-top: 0;
}

.breaking-list a {
  display: block;
}

.breaking-list h3 {
  margin: 0 0 6px;
  font-family: var(--publisher-font-headline);
  font-size: clamp(
    calc(1.05rem * var(--publisher-section-headline-scale)),
    calc(1.25vw * var(--publisher-section-headline-scale)),
    calc(1.32rem * var(--publisher-section-headline-scale))
  );
  line-height: 1.08;
  font-weight: var(--publisher-headline-weight);
}

.mini-meta {
  display: flex;
  gap: 8px;
}

.feature-image {
  position: relative;
  min-height: 430px;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.08)),
    linear-gradient(135deg, #1d2f52, #d8c26a);
  background-size: cover;
  background-position: center;
}

.feature-copy {
  display: none;
  width: min(760px, 92%);
  margin: 24px auto 0;
  text-align: center;
}

.feature-copy h2 {
  margin: 8px 0 10px;
  font-family: var(--publisher-font-headline);
  font-size: clamp(
    calc(1.75rem * var(--publisher-home-headline-scale)),
    calc(1.85vw * var(--publisher-home-headline-scale)),
    calc(2.25rem * var(--publisher-home-headline-scale))
  );
  line-height: 1.04;
  font-weight: var(--publisher-headline-weight);
  max-width: 22ch;
  margin-left: auto;
  margin-right: auto;
  overflow-wrap: anywhere;
}

.feature-copy .meta {
  justify-content: center;
}

.popular-column h2 {
  margin-bottom: 18px;
}

.popular-card {
  margin-bottom: 32px;
}

.popular-image {
  position: relative;
  height: 150px;
  margin-bottom: 12px;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.12)),
    linear-gradient(135deg, #1d2f52, #d8c26a);
  background-size: cover;
  background-position: center;
}

.popular-card h3 {
  margin: 5px 0 0;
  font-family: var(--publisher-font-headline);
  font-size: calc(20px * var(--publisher-section-headline-scale));
  line-height: 1.08;
  font-weight: var(--publisher-headline-weight);
  overflow-wrap: anywhere;
}

.downtown-section {
  align-items: center;
  border-top: 4px solid #111;
  padding-top: 12px;
}

.downtown-section h1 {
  font-family: var(--publisher-font-headline);
  font-size: calc(28px * var(--publisher-section-headline-scale));
  font-weight: var(--publisher-headline-weight);
}

.thumb {
  overflow: hidden;
}

.thumb-bg {
  position: absolute;
  inset: 0;
  display: block;
  background-color: #101820;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  filter: saturate(0.96);
}

.thumb::after,
.popular-image::after,
.feature-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 48%, rgba(0, 0, 0, 0.28));
  pointer-events: none;
}

.thumb > span:not(.thumb-bg) {
  position: relative;
  z-index: 1;
}

.sidebar-cta {
  background: #101820 !important;
  color: #fff;
  border-color: #101820 !important;
}

.sidebar-cta span {
  color: var(--publisher-badge);
  font-weight: 900;
  text-transform: uppercase;
}

.sidebar-cta h2 {
  margin: 8px 0 10px;
}

.sidebar-cta p {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.45;
}

.sidebar-cta .text-link {
  color: #fff;
}

.editorial-note {
  background: #101820 !important;
}

@media (max-width: 1120px) {
  .downtown-hero {
    grid-template-columns: 1fr;
  }

  .hero-main {
    grid-template-columns: minmax(280px, 0.45fr) minmax(360px, 1fr);
  }

  .popular-column {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 20px;
  }

  #popularCards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .breaking-lead h2 {
    font-size: clamp(1.75rem, 4.4vw, 2.35rem);
  }

  .feature-copy h2 {
    max-width: 24ch;
    font-size: clamp(1.65rem, 4.2vw, 2.25rem);
  }
}

@media (max-width: 860px) {
  .downtown-nav {
    gap: 14px;
  }

  .main-menu,
  .account-link {
    display: none;
  }

  .downtown-hero,
  .hero-main,
  .popular-column {
    grid-template-columns: 1fr;
  }

  .breaking-list {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .feature-image {
    min-height: 330px;
  }

  .feature-copy {
    width: min(560px, 94%);
    margin-top: 20px;
  }

  .feature-copy h2 {
    max-width: 24ch;
    font-size: clamp(1.6rem, 6vw, 2.05rem);
    line-height: 1.04;
  }

  .breaking-lead h2 {
    font-size: clamp(1.7rem, 6.5vw, 2.25rem);
    line-height: 1;
  }

  #popularCards {
    grid-template-columns: 1fr;
  }
}

/* Interaction layer inspired by bild.de: sharp, quick, high-contrast feedback. */
:where(a, button, .article-card, .popular-card, .breaking-list article, .pick-list article, .feature-story) {
  transition:
    color 120ms ease,
    background-color 120ms ease,
    border-color 120ms ease,
    box-shadow 140ms ease,
    transform 140ms ease,
    opacity 120ms ease;
}

.top-links a,
.main-menu a,
.account-link,
.brand,
.article-card,
.popular-card,
.breaking-list article,
.feature-story,
.pick-list article {
  cursor: pointer;
}

.top-links a:hover,
.top-links a:focus-visible {
  color: var(--publisher-hover);
}

.main-menu a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 60px;
}

.main-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--publisher-badge);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 160ms ease;
}

.main-menu a:hover,
.main-menu a:focus-visible,
.main-menu a.active {
  color: #fff;
}

.main-menu a:hover::after,
.main-menu a:focus-visible::after,
.main-menu a.active::after {
  transform: scaleX(1);
}

.account-link:hover,
.account-link:focus-visible {
  color: var(--publisher-badge);
}

.subscribe-link:hover,
.subscribe-link:focus-visible {
  background: var(--publisher-badge);
  color: var(--publisher-primary);
  transform: translateY(-0.5px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.14);
}

.downtown-title button:hover,
.downtown-title button:focus-visible,
.section-action:hover,
.section-action:focus-visible,
.newsletter button:hover,
.newsletter button:focus-visible,
.section-heading button:hover,
.section-heading button:focus-visible,
.button-row button:hover,
.button-row button:focus-visible,
.button-link:hover,
.button-link:focus-visible {
  background: var(--publisher-hover);
  border-color: var(--publisher-hover);
  color: #fff;
  transform: translateY(-0.5px);
}

.breaking-lead:hover h2,
.breaking-lead:focus-within h2,
.feature-story:hover h2,
.popular-card:hover h3,
.article-card:hover h2,
.breaking-list article:hover h3,
.pick-list article:hover h3,
.admin-list button:hover strong {
  color: var(--publisher-hover);
}

.breaking-list article {
  padding: 7px 0 8px;
  border-top: 1px solid transparent;
}

.breaking-list article:hover {
  border-top-color: #111;
  transform: translateX(3px);
}

.feature-story {
  padding-bottom: 10px;
}

.feature-story:hover {
  transform: translateY(-1px);
}

.feature-image,
.popular-image,
.thumb-bg,
.story-visual {
  transition: transform 180ms ease, filter 160ms ease, opacity 160ms ease;
}

.feature-story:hover .feature-image,
.popular-card:hover .popular-image,
.article-card:hover .thumb-bg {
  transform: scale(1.01);
  filter: saturate(0.96) brightness(0.95);
}

.feature-story:hover .feature-copy,
.popular-card:hover,
.article-card:hover .article-card-body {
  transform: translateY(-0.5px);
}

.feature-copy,
.article-card-body {
  transition: transform 140ms ease;
}

.popular-card:hover {
  box-shadow: inset 2px 0 0 var(--publisher-badge);
  padding-left: 5px;
}

.popular-card {
  transition: padding-left 140ms ease, box-shadow 140ms ease, transform 140ms ease;
}

.article-card {
  position: relative;
}

.article-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 20px;
  bottom: 20px;
  width: 2px;
  background: var(--publisher-hover);
  transform: scaleY(0);
  transform-origin: top center;
  transition: transform 120ms ease;
}

.article-card:hover {
  background: #fff;
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.04);
}

.article-card:hover::before {
  transform: scaleY(1);
}

.article-card:hover .article-card-body {
  padding-left: 5px;
}

.article-card-body {
  transition: transform 140ms ease, padding-left 140ms ease;
}

.thumb,
.popular-image,
.feature-image {
  position: relative;
  overflow: hidden;
}

.ticker {
  position: relative;
}

.ticker > span {
  transition: background-color 140ms ease, transform 140ms ease;
}

.ticker:hover > span {
  background: var(--publisher-hover);
  transform: skewX(-2deg);
}

#tickerItems a {
  transition: color 140ms ease, transform 140ms ease;
}

#tickerItems a:hover,
#tickerItems a:focus-visible {
  color: var(--publisher-hover);
  transform: translateY(-0.5px);
}

.pick-list article:hover {
  transform: translateX(3px);
}

.pick-list article:hover strong {
  color: var(--publisher-hover);
}

.sidebar section:hover {
  border-color: #cfcfcf;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.035);
}

.newsletter input:focus,
.editor input:focus,
.editor textarea:focus,
.editor select:focus {
  outline: 2px solid var(--publisher-badge);
  outline-offset: 0;
  border-color: #111;
}

.admin-list button:hover,
.admin-list button:focus-visible {
  border-color: #111;
  box-shadow: inset 2px 0 0 var(--publisher-hover);
  transform: translateX(1.5px);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}

/* Fixed article funnel layout with publisher theme variables. */
.article-page {
  background: #fff;
}

.legal-shell {
  width: min(840px, calc(100% - 32px));
  margin: 0 auto;
  padding: 44px 0 70px;
}

.legal-content h1 {
  margin: 0 0 18px;
  color: var(--publisher-secondary);
  font-family: var(--publisher-font-headline);
  font-size: clamp(2.5rem, 7vw, 4.4rem);
  line-height: 0.95;
}

.legal-content h2 {
  margin: 30px 0 8px;
  color: var(--publisher-secondary);
  font-family: var(--publisher-font-headline);
  font-size: 1.8rem;
  line-height: 1;
}

.legal-content p {
  color: #333;
  font-size: 1.02rem;
  line-height: 1.65;
}

.legal-content a {
  color: var(--publisher-link);
  font-weight: 800;
}

.legal-content code {
  padding: 2px 5px;
  background: var(--publisher-accent);
}

.article-shell {
  display: grid;
  grid-template-columns: minmax(0, 740px) 320px;
  gap: 44px;
  align-items: start;
  padding-top: 38px;
}

.publisher-article {
  position: relative;
}

.article-progress {
  position: sticky;
  top: 0;
  z-index: 5;
  height: 4px;
  margin-bottom: 24px;
  background: linear-gradient(90deg, var(--publisher-progress), transparent 70%);
}

.article-category {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  background: var(--publisher-badge);
  color: #fff;
  font-family: var(--publisher-font-button);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.article-label-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.article-title {
  margin: 18px 0 12px;
  color: var(--publisher-secondary);
  font-family: var(--publisher-font-headline);
  font-size: clamp(
    calc(2.4rem * var(--publisher-article-title-scale)),
    calc(6vw * var(--publisher-article-title-scale)),
    calc(4.8rem * var(--publisher-article-title-scale))
  );
  font-weight: var(--publisher-headline-weight);
  line-height: 1.02;
}

.article-subheadline {
  margin: 0 0 16px;
  color: #555;
  font-size: 1.2rem;
  line-height: 1.45;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
  color: #6b7280;
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
}

.article-hero {
  aspect-ratio: 16 / 9;
  margin-bottom: 28px;
  background-color: var(--publisher-accent);
  background-position: center;
  background-size: cover;
}

.article-body {
  color: #222;
  font-family: var(--publisher-font-body);
  font-size: calc(1.08rem * var(--publisher-body-scale));
  line-height: 1.68;
}

.article-body h2 {
  margin: 34px 0 10px;
  color: var(--publisher-secondary);
  font-family: var(--publisher-font-headline);
  font-size: clamp(
    calc(1.8rem * var(--publisher-section-headline-scale)),
    calc(4vw * var(--publisher-section-headline-scale)),
    calc(2.6rem * var(--publisher-section-headline-scale))
  );
  line-height: 1.08;
  font-weight: var(--publisher-headline-weight);
}

.article-body a {
  color: var(--publisher-link);
  font-weight: 800;
}

.article-body strong {
  font-weight: 900;
}

.article-inline-image,
.article-image-block img {
  display: block;
  width: 100%;
  height: auto;
}

.article-inline-image {
  margin: 18px 0;
}

.article-image-block {
  margin: 30px 0;
}

.article-image-block figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.35;
}

.article-bottom-recommendations {
  margin-top: 42px;
  padding-top: 24px;
  border-top: 6px solid #111;
}

.article-bottom-recommendations h2 {
  margin: 0 0 18px;
  color: var(--publisher-secondary);
  font-family: var(--publisher-font-headline);
  font-size: clamp(
    calc(1.65rem * var(--publisher-section-headline-scale)),
    calc(3vw * var(--publisher-section-headline-scale)),
    calc(2.25rem * var(--publisher-section-headline-scale))
  );
  line-height: 1;
  font-weight: var(--publisher-headline-weight);
}

.article-bottom-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.article-bottom-grid article {
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
}

.article-bottom-grid a {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 16px;
  align-items: center;
}

.recommendation-image {
  display: block;
  aspect-ratio: 3 / 2;
  background-color: var(--publisher-accent);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.article-bottom-grid h3 {
  margin: 0;
  color: var(--publisher-secondary);
  font-family: var(--publisher-font-headline);
  font-size: clamp(
    calc(1.08rem * var(--publisher-section-headline-scale)),
    calc(1.5vw * var(--publisher-section-headline-scale)),
    calc(1.35rem * var(--publisher-section-headline-scale))
  );
  line-height: 1.08;
  font-weight: var(--publisher-headline-weight);
}

.article-infobox,
.recommendation-card {
  border: 1px solid var(--line);
  background: var(--publisher-accent);
}

.article-infobox {
  margin: 28px 0;
  padding: 18px;
  border-left: 5px solid var(--publisher-primary);
}

.article-infobox strong,
.recommendation-card span {
  color: var(--publisher-primary);
  font-weight: 950;
  text-transform: uppercase;
}

.product-soft-note {
  background: #f7f8fa;
  border-left-color: var(--publisher-badge);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--publisher-link);
  font-family: var(--publisher-font-button);
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--publisher-button-hover);
}

.article-sidebar {
  position: sticky;
  top: 24px;
  display: grid;
  gap: 18px;
}

.recommendation-card {
  padding: 22px;
}

.recommendation-card h2 {
  margin: 8px 0 10px;
  color: var(--publisher-secondary);
  font-family: var(--publisher-font-headline);
  font-size: calc(1.65rem * var(--publisher-section-headline-scale));
  line-height: 1.08;
  font-weight: var(--publisher-headline-weight);
}

.sidebar-link-list {
  display: grid;
  gap: 0;
}

.sidebar-link-list a {
  display: block;
  padding: 13px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.sidebar-link-list a:last-child {
  border-bottom: 0;
}

.sidebar-link-list strong {
  display: block;
  color: var(--publisher-secondary);
  font-family: var(--publisher-font-headline);
  font-size: calc(1rem * var(--publisher-section-headline-scale));
  line-height: 1.12;
  font-weight: var(--publisher-headline-weight);
}

.sidebar-link-list span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.72rem;
}

.product-note-card {
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.84rem;
}

.product-note-card span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0;
}

.product-note-card h2 {
  margin: 0 0 6px;
  color: var(--muted);
  font-family: var(--publisher-font-body);
  font-size: 0.92rem;
  line-height: 1.25;
  font-weight: 850;
}

.product-note-card p {
  margin: 0 0 6px;
  color: var(--muted);
  line-height: 1.38;
}

.product-note-card .text-link {
  margin-top: 0;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 850;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin-top: 10px;
  padding: 0 18px;
  background: var(--publisher-button);
  color: #fff;
  font-family: var(--publisher-font-button);
  font-weight: 950;
  text-transform: uppercase;
}

.cta-button:hover,
.cta-button:focus-visible {
  background: var(--publisher-button-hover);
}

.theme-loader {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.78);
}

.loader-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.loader-card span {
  width: 18px;
  height: 18px;
  border: 3px solid var(--publisher-accent);
  border-top-color: var(--publisher-primary);
  border-radius: 50%;
  animation: spin 800ms linear infinite;
}

.loader-card p {
  margin: 0;
  font-weight: 800;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 980px) {
  .article-shell {
    grid-template-columns: 1fr;
  }

  .article-sidebar {
    position: static;
  }
}

@media (max-width: 680px) {
  .article-bottom-grid {
    grid-template-columns: 1fr;
  }

  .article-bottom-grid a {
    grid-template-columns: 112px 1fr;
  }
}
