/* Frevo — tabloid editorial, black / yellow / red */
:root {
  --frv-black: #0a0a0a;
  --frv-yellow: #ffd600;
  --frv-red: #e63946;
  --frv-white: #fafafa;
  --frv-gray: #6b6b6b;
  --frv-gray-light: #e8e8e8;
  --frv-font: "Segoe UI", system-ui, -apple-system, sans-serif;
  --frv-radius: 0;
  --frv-gap: 0.5rem;
  --frv-container: 72rem;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--frv-font);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--frv-black);
  background: var(--frv-white);
}

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

a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--frv-red); }

.frv-container {
  width: 100%;
  max-width: var(--frv-container);
  margin: 0 auto;
  padding: 0 0.75rem;
}

/* Cookie top strip */
.frv-cookie {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--frv-black);
  color: var(--frv-white);
  transform: translateY(-100%);
  transition: transform 0.3s ease;
}
.frv-cookie--visible { transform: translateY(0); }
.frv-cookie__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  max-width: var(--frv-container);
  margin: 0 auto;
  padding: 0.5rem 0.75rem;
}
.frv-cookie__text { font-size: 0.8rem; flex: 1; min-width: 200px; }
.frv-cookie__text a { color: var(--frv-yellow); }
.frv-cookie__btn {
  background: var(--frv-yellow);
  color: var(--frv-black);
  border: none;
  padding: 0.35rem 0.85rem;
  font-weight: 700;
  font-size: 0.8rem;
  cursor: pointer;
  border-radius: var(--frv-radius);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.frv-cookie__btn:hover { background: var(--frv-red); color: var(--frv-white); }

body.frv-cookie-active .frv-header { margin-top: 2.5rem; }

/* Stacked header */
.frv-header {
  background: var(--frv-black);
  color: var(--frv-white);
  border-bottom: 4px solid var(--frv-yellow);
}
.frv-header__stack {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.frv-header__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0.75rem;
  max-width: var(--frv-container);
  margin: 0 auto;
  width: 100%;
}
.frv-logo { text-decoration: none; display: flex; flex-direction: column; gap: 0; }
.frv-logo__mark {
  font-size: 1.75rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--frv-yellow);
  line-height: 1;
}
.frv-logo__tagline {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--frv-gray-light);
}
.frv-nav-toggle {
  background: transparent;
  border: 2px solid var(--frv-yellow);
  color: var(--frv-yellow);
  padding: 0.3rem 0.6rem;
  font-weight: 700;
  font-size: 0.75rem;
  cursor: pointer;
  text-transform: uppercase;
  border-radius: var(--frv-radius);
}
.frv-nav-toggle:hover { background: var(--frv-yellow); color: var(--frv-black); }

/* Category tags row */
.frv-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-top: 1px solid #333;
  max-width: var(--frv-container);
  margin: 0 auto;
  width: 100%;
  padding: 0 0.75rem;
}
.frv-tags__link {
  display: block;
  padding: 0.45rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
  color: var(--frv-white);
  border-right: 1px solid #333;
}
.frv-tags__link:first-child { border-left: 1px solid #333; }
.frv-tags__link:hover,
.frv-tags__link--active {
  background: var(--frv-red);
  color: var(--frv-white);
}

.frv-nav {
  display: none;
  background: #111;
  border-top: 1px solid #333;
}
.frv-nav--open { display: block; }
.frv-nav__list { list-style: none; }
.frv-nav__link {
  display: block;
  padding: 0.6rem 0.75rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--frv-white);
  border-bottom: 1px solid #222;
  font-size: 0.85rem;
}
.frv-nav__link:hover { background: var(--frv-red); }

/* Main */
.frv-main { padding: 0.75rem 0 2rem; }

/* Stacked headlines hero (no image) */
.frv-hero-stack {
  background: var(--frv-black);
  color: var(--frv-white);
  padding: 1rem 0.75rem 1.25rem;
  margin-bottom: 0.5rem;
}
.frv-hero-stack__inner { max-width: var(--frv-container); margin: 0 auto; }
.frv-hero-stack__label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--frv-yellow);
  margin-bottom: 0.75rem;
}
.frv-hero-item {
  padding: 0.65rem 0;
  border-bottom: 1px solid #333;
}
.frv-hero-item:last-child { border-bottom: none; }
.frv-hero-item__kicker {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--frv-red);
  margin-bottom: 0.2rem;
}
.frv-hero-item__title {
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.frv-hero-item__title a { color: var(--frv-white); text-decoration: none; }
.frv-hero-item__title a:hover { color: var(--frv-yellow); }
.frv-hero-item--lead .frv-hero-item__title { font-size: clamp(1.5rem, 4.5vw, 2.25rem); }
.frv-hero-item__meta {
  font-size: 0.7rem;
  color: var(--frv-gray-light);
  margin-top: 0.3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}

/* Bento grid — full-bleed overlay cards */
.frv-bento {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--frv-gap);
  margin-bottom: 1rem;
}
@media (min-width: 640px) {
  .frv-bento {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto auto;
  }
  .frv-bento__card--wide { grid-column: span 2; }
}
@media (min-width: 900px) {
  .frv-bento {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
  }
  .frv-bento__card--wide { grid-column: span 2; }
  .frv-bento__card--tall { grid-row: span 2; }
}

.frv-card-overlay {
  position: relative;
  overflow: hidden;
  min-height: 200px;
  border-radius: var(--frv-radius);
  background: var(--frv-black);
}
.frv-card-overlay--bleed {
  margin-left: -0.75rem;
  margin-right: -0.75rem;
  width: calc(100% + 1.5rem);
}
@media (min-width: 72rem) {
  .frv-card-overlay--bleed {
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    width: 100vw;
  }
}
.frv-card-overlay__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 220px;
  opacity: 0.55;
}
.frv-card-overlay__body {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1rem;
  background: linear-gradient(transparent 20%, rgba(0,0,0,0.85) 70%);
}
.frv-card-overlay__kicker {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--frv-yellow);
  margin-bottom: 0.25rem;
}
.frv-card-overlay__title {
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--frv-white);
}
.frv-card-overlay__title a { color: inherit; text-decoration: none; }
.frv-card-overlay__title a:hover { color: var(--frv-yellow); }
.frv-card-overlay__meta {
  font-size: 0.7rem;
  color: #ccc;
  margin-top: 0.35rem;
}

/* Section */
.frv-section-title {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.5rem 0;
  border-bottom: 3px solid var(--frv-red);
  margin-bottom: 0.75rem;
  display: inline-block;
}

/* Standard cards grid */
.frv-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--frv-gap);
}
@media (min-width: 600px) {
  .frv-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .frv-grid { grid-template-columns: repeat(3, 1fr); }
}

.frv-card {
  border: 2px solid var(--frv-black);
  border-radius: var(--frv-radius);
  overflow: hidden;
  background: var(--frv-white);
}
.frv-card__img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.frv-card__body { padding: 0.5rem 0.6rem 0.65rem; }
.frv-card__kicker {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--frv-red);
  letter-spacing: 0.08em;
}
.frv-card__title {
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.25;
  margin-top: 0.2rem;
}
.frv-card__title a { text-decoration: none; }
.frv-card__meta {
  font-size: 0.7rem;
  color: var(--frv-gray);
  margin-top: 0.35rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* Typography */
.frv-kicker {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--frv-red);
}
.frv-headline { font-weight: 900; line-height: 1.1; letter-spacing: -0.02em; }
.frv-headline--lg { font-size: clamp(1.75rem, 5vw, 2.5rem); }
.frv-headline--sm { font-size: 1.25rem; }
.frv-deck {
  font-size: 1.05rem;
  line-height: 1.45;
  color: #333;
  margin-top: 0.5rem;
}
.frv-meta {
  font-size: 0.75rem;
  color: var(--frv-gray);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-top: 0.4rem;
}
.frv-meta span::after { content: "·"; margin-left: 1rem; color: var(--frv-gray-light); }
.frv-meta span:last-child::after { content: none; }

.frv-prose { max-width: 42rem; }
.frv-prose p { margin-bottom: 0.85rem; }
.frv-prose h2 {
  font-size: 1.15rem;
  font-weight: 800;
  margin: 1.25rem 0 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.frv-prose ul, .frv-prose ol { margin: 0 0 0.85rem 1.25rem; }
.frv-prose li { margin-bottom: 0.35rem; }

.frv-breadcrumb {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
  color: var(--frv-gray);
}
.frv-breadcrumb a { text-decoration: none; }

/* Article */
.frv-article-hero { margin-bottom: 1rem; }
.frv-article-hero__img {
  width: 100%;
  margin-top: 0.75rem;
  border-radius: var(--frv-radius);
}
.frv-article-hero__img--bleed {
  margin-left: -0.75rem;
  margin-right: -0.75rem;
  width: calc(100% + 1.5rem);
  max-width: none;
  border-radius: 0;
}
@media (min-width: 72rem) {
  .frv-article-hero__img--bleed {
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    width: 100vw;
  }
}

.frv-author {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  padding: 0.75rem;
  margin-top: 1.5rem;
  border: 2px solid var(--frv-black);
  border-radius: var(--frv-radius);
  max-width: 42rem;
}
.frv-author__avatar { width: 56px; height: 56px; border-radius: var(--frv-radius); flex-shrink: 0; }
.frv-author__name { font-weight: 800; font-size: 0.9rem; }
.frv-author__role { font-size: 0.75rem; color: var(--frv-gray); margin-top: 0.15rem; }

.frv-updated {
  font-size: 0.7rem;
  color: var(--frv-gray);
  font-style: italic;
  margin-top: 0.25rem;
}

/* Page header */
.frv-page-header { margin-bottom: 1rem; padding-top: 0.5rem; }
.frv-page-header .frv-headline { margin-top: 0.35rem; }

/* Contact form */
.frv-form { max-width: 32rem; }
.frv-form__group { margin-bottom: 0.65rem; }
.frv-form__label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.2rem;
}
.frv-form__input,
.frv-form__textarea {
  width: 100%;
  padding: 0.45rem 0.5rem;
  border: 2px solid var(--frv-black);
  border-radius: var(--frv-radius);
  font-family: inherit;
  font-size: 0.9rem;
  background: var(--frv-white);
}
.frv-form__textarea { min-height: 120px; resize: vertical; }
.frv-form__btn {
  background: var(--frv-red);
  color: var(--frv-white);
  border: none;
  padding: 0.5rem 1.25rem;
  font-weight: 800;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
  border-radius: var(--frv-radius);
}
.frv-form__btn:hover { background: var(--frv-black); }

/* Stacked-links footer */
.frv-footer {
  background: var(--frv-black);
  color: var(--frv-white);
  padding: 1.25rem 0.75rem 1rem;
  margin-top: 1.5rem;
  border-top: 4px solid var(--frv-yellow);
}
.frv-footer__brand {
  font-size: 1.25rem;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--frv-yellow);
  margin-bottom: 0.35rem;
}
.frv-footer__text {
  font-size: 0.8rem;
  color: var(--frv-gray-light);
  margin-bottom: 1rem;
  max-width: 36rem;
  line-height: 1.45;
}
.frv-footer__stack { list-style: none; }
.frv-footer__stack li { border-bottom: 1px solid #333; }
.frv-footer__stack a {
  display: block;
  padding: 0.45rem 0;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--frv-white);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.frv-footer__stack a:hover { color: var(--frv-yellow); }
.frv-footer__bottom {
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid #333;
  font-size: 0.7rem;
  color: var(--frv-gray);
}

.frv-related {
  margin-top: 1.5rem;
  padding-top: 0.75rem;
  border-top: 3px solid var(--frv-black);
}
.frv-related__title {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}
.frv-related__list { list-style: none; }
.frv-related__list li { margin-bottom: 0.35rem; }
.frv-related__list a { font-weight: 600; font-size: 0.9rem; text-decoration: none; }
.frv-related__list a:hover { color: var(--frv-red); }
