/* FriuliTv Magazine — layout, componenti, responsive */

:root {
  --ftv-red: #C70909;
  --ftv-red-dark: #9a0707;
  --ftv-navy: #0c1222;
  --ftv-navy-2: #161d2e;
  --ftv-paper: #f1f2f4;
  --ftv-white: #fff;
  --ftv-ink: #1a1a1a;
  --ftv-muted: #5c6370;
  --ftv-line: #e2e4e8;
  --ftv-container: 1220px;
  --ftv-display: "Oswald", sans-serif;
  --ftv-head: "Source Serif 4", Georgia, serif;
  --ftv-body: "Source Sans 3", system-ui, sans-serif;
  --ftv-shadow: 0 8px 24px rgba(12, 18, 34, 0.08);
  --ftv-radius: 4px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--ftv-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ftv-ink);
  background: var(--ftv-paper);
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--ftv-red); }
button, input, textarea { font-family: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 10000;
  width: auto;
  height: auto;
  clip: auto;
  padding: 10px 16px;
  background: var(--ftv-red);
  color: #fff;
}

.ftv-container {
  width: min(100% - 32px, var(--ftv-container));
  margin-inline: auto;
}

/* Progress */
.ftv-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 80;
  pointer-events: none;
}
.ftv-progress__bar {
  display: block;
  width: 0;
  height: 100%;
  background: var(--ftv-red);
}

/* Header */
.ftv-header {
  background: var(--ftv-navy);
  color: #fff;
  position: relative;
  z-index: 40;
}

.ftv-topbar {
  background: #080c16;
  font-size: 12px;
  letter-spacing: 0.04em;
}
.ftv-topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 34px;
  gap: 12px;
}
.ftv-topbar__date {
  background: var(--ftv-red);
  color: #fff;
  padding: 6px 12px;
  font-family: var(--ftv-display);
  text-transform: uppercase;
  font-weight: 600;
}

.ftv-social {
  display: flex;
  gap: 6px;
}
.ftv-social__link {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 2px;
  font-size: 11px;
  font-weight: 700;
  color: #fff !important;
  text-transform: uppercase;
}
.ftv-social__link--facebook { background: #1877f2; }
.ftv-social__link--twitter { background: #111; }
.ftv-social__link--instagram { background: #e1306c; }
.ftv-social__link--youtube { background: #ff0000; }

.ftv-brand {
  background:
    linear-gradient(180deg, rgba(12, 18, 34, 0.35), rgba(12, 18, 34, 0.72)),
    radial-gradient(1200px 280px at 50% 0%, rgba(199, 9, 9, 0.35), transparent 60%),
    var(--ftv-navy);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.ftv-brand__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 108px;
  gap: 16px;
  padding: 18px 0;
}

.ftv-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #fff !important;
}
.ftv-logo__mark {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  background: var(--ftv-red);
  font-family: var(--ftv-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.ftv-logo__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ftv-logo__text strong {
  font-family: var(--ftv-display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  text-transform: uppercase;
}
.ftv-logo__text small {
  color: rgba(255,255,255,0.72);
  font-size: 13px;
  font-weight: 400;
}
.custom-logo-link img { max-height: 72px; width: auto; }

.ftv-search-toggle,
.ftv-menu-toggle {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.18);
  color: #fff;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.ftv-menu-toggle { display: none; }
.ftv-menu-toggle__bars,
.ftv-menu-toggle__bars::before,
.ftv-menu-toggle__bars::after {
  display: block;
  width: 18px;
  height: 2px;
  background: #fff;
  position: relative;
  content: "";
}
.ftv-menu-toggle__bars::before { top: -6px; position: absolute; }
.ftv-menu-toggle__bars::after { top: 6px; position: absolute; }

.ftv-navwrap {
  background: var(--ftv-navy-2);
  border-top: 1px solid rgba(255,255,255,0.06);
}
.ftv-navwrap__inner { display: flex; align-items: center; min-height: 48px; }
.ftv-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 0;
}
.ftv-menu > li > a {
  display: block;
  color: #fff;
  padding: 14px 16px;
  font-family: var(--ftv-display);
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}
.ftv-menu > li > a:hover,
.ftv-menu > .current-menu-item > a,
.ftv-menu > .current_page_item > a {
  color: #fff;
  background: var(--ftv-red);
}
.ftv-menu .sub-menu {
  display: none;
  position: absolute;
  background: #fff;
  color: var(--ftv-ink);
  min-width: 220px;
  box-shadow: var(--ftv-shadow);
  z-index: 20;
}
.ftv-menu > li { position: relative; }
.ftv-menu > li:hover > .sub-menu,
.ftv-menu > li:focus-within > .sub-menu { display: block; }
.ftv-menu .sub-menu a {
  display: block;
  padding: 10px 14px;
  border-bottom: 1px solid var(--ftv-line);
}

.ftv-navwrap:not(:has(.ftv-menu li)) { display: none; }

/* Breaking */
.ftv-breaking {
  background: var(--ftv-red);
  color: #fff;
  width: 100%;
}
.ftv-breaking__inner {
  display: flex;
  align-items: stretch;
  width: 100%;
  min-height: 52px;
  overflow: hidden;
}
.ftv-breaking__label {
  font-family: var(--ftv-display);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  background: #8f0606;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  z-index: 1;
}
.ftv-breaking__track-wrap {
  flex: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.ftv-breaking__track {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0;
  width: max-content;
  animation: ftv-marquee 38s linear infinite;
}
.ftv-breaking:hover .ftv-breaking__track {
  animation-play-state: paused;
}
.ftv-breaking__track li {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.ftv-breaking__track li::after {
  content: "•";
  margin: 0 18px;
  opacity: 0.7;
}
.ftv-breaking__track a {
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.35;
  white-space: nowrap;
}
.ftv-breaking__track a:hover { text-decoration: underline; color: #fff; }
@keyframes ftv-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Search overlay */
.ftv-search {
  background: #fff;
  border-bottom: 3px solid var(--ftv-red);
  padding: 18px 0;
}
.ftv-search .ftv-container {
  display: flex;
  gap: 12px;
  align-items: center;
}
.ftv-searchform { display: flex; gap: 8px; flex: 1; }
.ftv-searchform__input,
.comment-form input,
.comment-form textarea {
  width: 100%;
  border: 1px solid var(--ftv-line);
  padding: 12px 14px;
  background: #fff;
}
.ftv-searchform__btn,
.ftv-btn,
.comment-form .submit {
  background: var(--ftv-red);
  color: #fff !important;
  border: 0;
  padding: 12px 18px;
  font-family: var(--ftv-display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  font-weight: 600;
}
.ftv-search__close {
  background: transparent;
  border: 0;
  cursor: pointer;
  color: var(--ftv-muted);
}

/* Main */
.ftv-main { padding: 28px 0 64px; }
.ftv-magazine { display: grid; gap: 36px; }

/* Hero — 3 banner del giorno */
.ftv-hero__grid {
  display: grid;
  grid-template-columns: 1.65fr 1fr;
  gap: 12px;
  min-height: 460px;
}
.ftv-hero__main,
.ftv-hero__main .ftv-overlay { height: 100%; min-height: 460px; }
.ftv-hero__side {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
  background: transparent;
  padding: 0;
  min-height: 460px;
}
.ftv-hero__side:empty { display: none; }
.ftv-hero__side .ftv-overlay {
  min-height: 0;
  height: 100%;
}
.ftv-hero__side .ftv-overlay__content { padding: 16px; }
.ftv-hero__side .ftv-overlay__title {
  font-size: clamp(16px, 1.6vw, 22px);
  margin: 6px 0 8px;
}

.ftv-overlay {
  position: relative;
  min-height: 220px;
  height: 100%;
  overflow: hidden;
  background: #111;
  display: block;
}
.ftv-overlay .ftv-thumb {
  position: absolute;
  inset: 0;
}
.ftv-overlay .ftv-thumb__img,
.ftv-overlay .ftv-thumb__placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ftv-overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(8, 10, 16, 0.92));
  pointer-events: none;
}
.ftv-overlay__content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 24px;
  color: #fff;
}
.ftv-overlay__title {
  font-family: var(--ftv-head);
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.15;
  margin: 8px 0 10px;
}
.ftv-overlay__title a { color: #fff; }
.ftv-overlay .ftv-kicker { background: var(--ftv-red); color: #fff; }
.ftv-overlay .ftv-meta { color: rgba(255,255,255,0.8); }

/* Cards */
.ftv-thumb {
  position: relative;
  display: block;
  overflow: hidden;
  background: #d9dce3;
  aspect-ratio: 16 / 10;
}
.ftv-thumb__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.ftv-card:hover .ftv-thumb__img,
.ftv-overlay:hover .ftv-thumb__img { transform: scale(1.04); }
.ftv-thumb__placeholder {
  display: block;
  width: 100%;
  height: 100%;
  background:
    repeating-linear-gradient(135deg, #cfd3db 0 12px, #dfe2e8 12px 24px);
}

.ftv-badge {
  position: absolute;
  left: 8px;
  bottom: 8px;
  z-index: 2;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  background: var(--ftv-red);
  color: #fff;
  font-size: 12px;
}

.ftv-kicker {
  display: inline-block;
  font-family: var(--ftv-display);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ftv-red);
  font-weight: 700;
}
.ftv-overlay .ftv-kicker { padding: 4px 8px; }

.ftv-card {
  background: #fff;
  display: flex;
  flex-direction: column;
}
.ftv-card__body { padding: 14px 14px 16px; }
.ftv-card__title {
  font-family: var(--ftv-head);
  font-size: 1.15rem;
  line-height: 1.25;
  margin: 6px 0 8px;
}
.ftv-card__excerpt {
  color: var(--ftv-muted);
  font-size: 0.95rem;
  margin: 0 0 10px;
}
.ftv-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  color: var(--ftv-muted);
  font-size: 12px;
}

.ftv-mini {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 12px;
  align-items: start;
}
.ftv-mini__thumb img {
  width: 84px;
  height: 64px;
  object-fit: cover;
}
.ftv-mini__title {
  font-size: 0.95rem;
  line-height: 1.3;
  margin: 0 0 6px;
  font-family: var(--ftv-head);
}

.ftv-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.ftv-grid--archive { grid-template-columns: repeat(2, 1fr); }
.ftv-grid--related { grid-template-columns: repeat(3, 1fr); }

.ftv-section__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 16px;
  border-bottom: 3px solid var(--ftv-navy);
}
.ftv-section__title {
  font-family: var(--ftv-display);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 18px;
  margin: 0;
  background: var(--ftv-navy);
  color: #fff;
  padding: 8px 14px;
}
.ftv-section__more {
  font-size: 13px;
  font-weight: 700;
  color: var(--ftv-red);
}

/* Channels */
.ftv-channels {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.ftv-channel {
  position: relative;
  min-height: 210px;
  color: #fff !important;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--ftv-navy);
}
.ftv-channel__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ftv-channel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(12,18,34,0.15) 20%, rgba(12,18,34,0.92) 100%);
}
.ftv-channel__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 16px 16px;
}
.ftv-channel__kicker {
  font-family: var(--ftv-display);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #f3b4b4;
}
.ftv-channel__title {
  font-family: var(--ftv-display);
  font-size: 22px;
  text-transform: uppercase;
  line-height: 1.1;
}
.ftv-channel__text { font-size: 13px; color: rgba(255,255,255,0.82); }

/* Category blocks */
.ftv-cats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.ftv-catblock { background: #fff; padding: 0 0 8px; }
.ftv-catblock .ftv-section__head { margin: 0 0 0; }
.ftv-catblock .ftv-card { box-shadow: none; }
.ftv-catblock__list { padding: 0 12px 8px; }
.ftv-catblock__list .ftv-mini { padding: 10px 0; border-top: 1px solid var(--ftv-line); }

/* Inner layout */
.ftv-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: start;
}
.ftv-content { min-width: 0; }
.no-sidebar .ftv-layout { grid-template-columns: 1fr; }

.ftv-breadcrumbs {
  font-size: 13px;
  color: var(--ftv-muted);
  margin-bottom: 16px;
}
.ftv-breadcrumbs__sep { margin: 0 6px; }
.ftv-archive-head { margin-bottom: 22px; }
.ftv-archive-head__title {
  font-family: var(--ftv-display);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: clamp(26px, 4vw, 36px);
  margin: 0;
}

/* Article */
.ftv-article { background: #fff; padding: 28px 32px 36px; }
.ftv-article__title {
  font-family: var(--ftv-head);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
  margin: 10px 0 12px;
}
.ftv-article__meta { margin-bottom: 16px; }
.ftv-article__media { margin: 0 -32px 24px; }
.ftv-article__img { width: 100%; height: auto; }
.ftv-article__media figcaption {
  padding: 8px 32px;
  font-size: 13px;
  color: var(--ftv-muted);
}
.ftv-article__body {
  font-size: 1.125rem;
  line-height: 1.75;
}
.ftv-article__body p { margin: 0 0 1.1em; }
.ftv-article__body h2,
.ftv-article__body h3 { font-family: var(--ftv-head); }
.ftv-article__body a { color: var(--ftv-red); text-decoration: underline; }
.ftv-article__body iframe,
.ftv-article__body video,
.ftv-article__body .wp-block-embed {
  max-width: 100%;
}
.ftv-article__footer { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--ftv-line); }

.ftv-share { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 8px 0 16px; }
.ftv-share__label { font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ftv-muted); }
.ftv-share__btn {
  border: 1px solid var(--ftv-line);
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 700;
}
.ftv-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.ftv-tags a,
.ftv-tags__label {
  background: var(--ftv-paper);
  padding: 4px 8px;
  font-size: 12px;
}
.ftv-related { margin-top: 36px; }
.ftv-related .ftv-section__title { margin-bottom: 16px; display: inline-block; }

/* Sidebar */
.ftv-sidebar { display: grid; gap: 18px; }
.ftv-widget { background: #fff; padding: 16px; }
.ftv-widget__title {
  font-family: var(--ftv-display);
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--ftv-red);
  color: #fff;
  margin: -16px -16px 14px;
  padding: 10px 16px;
}
.ftv-list { display: grid; }
.ftv-list__item { padding: 10px 0; border-bottom: 1px dashed var(--ftv-line); }
.ftv-list__item:last-child { border-bottom: 0; }

/* Footer */
.ftv-footer {
  background: var(--ftv-navy);
  color: rgba(255,255,255,0.82);
  padding: 56px 0 0;
}
.ftv-footer a { color: #fff; }
.ftv-footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.3fr 0.9fr;
  gap: 36px;
  align-items: start;
}
.ftv-footer .ftv-widget { background: transparent; padding: 0; }
.ftv-footer .ftv-widget__title {
  background: transparent;
  margin: 0 0 16px;
  padding: 0 0 10px;
  border-bottom: 2px solid var(--ftv-red);
  display: inline-block;
}
.ftv-footer__legal {
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
  max-width: 36ch;
}
.ftv-footer__credits {
  display: grid;
  gap: 12px;
}
.ftv-footer__credits li {
  padding-left: 12px;
  border-left: 2px solid var(--ftv-red);
  line-height: 1.4;
  font-size: 14px;
}
.ftv-footer__channels { display: grid; gap: 12px; }
.ftv-footer__channels a {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 10px;
  align-items: center;
}
.ftv-footer__channels img {
  width: 56px;
  height: 40px;
  object-fit: cover;
}
.ftv-footer__channels strong {
  display: block;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.ftv-footer__channels small {
  display: block;
  color: rgba(255,255,255,0.62);
  font-size: 12px;
  line-height: 1.35;
}
.ftv-footer__email {
  margin: 0 0 18px;
  font-size: 15px;
  word-break: break-word;
}
.ftv-footer__follow {
  margin: 0 0 8px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.ftv-footer__bar {
  margin-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 16px 0 20px;
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.ftv-footer__bar p { margin: 0; }
.ftv-footer .ftv-social { margin-top: 0; }

.ftv-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff !important;
  display: grid;
  place-items: center;
  z-index: 30;
}

.ftv-empty { background: #fff; padding: 48px 28px; text-align: center; }
.ftv-empty__code {
  font-family: var(--ftv-display);
  font-size: 72px;
  color: var(--ftv-red);
  margin: 0;
  line-height: 1;
}
.ftv-empty .ftv-searchform { max-width: 480px; margin: 20px auto; }

.nav-links,
.ftv-pages {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.nav-links a,
.nav-links span,
.page-numbers {
  background: #fff;
  padding: 8px 12px;
  border: 1px solid var(--ftv-line);
}
.nav-links .current { background: var(--ftv-red); color: #fff; border-color: var(--ftv-red); }

.ftv-comments { background: #fff; margin-top: 28px; padding: 24px; }
.ftv-comments__list { list-style: none; }
.ftv-comments__list .comment { padding: 16px 0; border-bottom: 1px solid var(--ftv-line); }
.comment-form p { margin-bottom: 12px; }

.ftv-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 35;
}

/* Alignments / WP */
.alignwide { margin-left: -16px; margin-right: -16px; }
.wp-block-image img { height: auto; }
.wp-caption-text { font-size: 13px; color: var(--ftv-muted); }

@media (max-width: 1100px) {
  .ftv-grid { grid-template-columns: repeat(3, 1fr); }
  .ftv-channels { grid-template-columns: repeat(2, 1fr); }
  .ftv-cats { grid-template-columns: 1fr 1fr; }
  .ftv-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .ftv-hero__grid,
  .ftv-layout { grid-template-columns: 1fr; }
  .ftv-hero__main,
  .ftv-hero__main .ftv-overlay,
  .ftv-overlay { min-height: 280px; height: auto; }
  .ftv-hero__side {
    grid-template-rows: none;
    min-height: 0;
  }
  .ftv-hero__side .ftv-overlay { min-height: 220px; }
  .ftv-grid,
  .ftv-grid--archive,
  .ftv-grid--related { grid-template-columns: 1fr 1fr; }
  .ftv-menu-toggle { display: grid; }
  .ftv-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(86vw, 320px);
    background: var(--ftv-navy);
    z-index: 45;
    padding: 72px 0 24px;
    transform: translateX(100%);
    transition: transform 0.25s ease;
    overflow: auto;
  }
  body.is-nav-open .ftv-nav { transform: translateX(0); }
  .ftv-menu { flex-direction: column; }
  .ftv-menu .sub-menu { position: static; display: block; background: transparent; box-shadow: none; }
  .ftv-menu .sub-menu a { color: #fff; border-color: rgba(255,255,255,0.08); }
  .ftv-article { padding: 20px 18px 28px; }
  .ftv-article__media { margin: 0 -18px 18px; }
}

@media (max-width: 640px) {
  .ftv-container { width: min(100% - 20px, var(--ftv-container)); }
  .ftv-brand__inner { min-height: 84px; padding: 12px 0; }
  .ftv-logo__text strong { font-size: 22px; }
  .ftv-logo__text small { display: none; }
  .ftv-grid,
  .ftv-grid--archive,
  .ftv-grid--related,
  .ftv-channels,
  .ftv-cats,
  .ftv-footer__grid { grid-template-columns: 1fr; }
  .ftv-footer__bar { flex-wrap: wrap; }
  .ftv-breaking__label { margin-left: 0; }
  .ftv-topbar__date { font-size: 11px; }
  .ftv-main { padding-top: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .ftv-breaking__track { animation: none; }
  .ftv-thumb__img { transition: none; }
  html { scroll-behavior: auto; }
}
