/*
Theme Name: VIVENT Portal
Theme URI: https://vivent.com.br/
Author: GLOBAL TICKETS SERVICOS DE MARKETING LTDA
Author URI: https://vivent.com.br/
Description: Tema editorial do VIVENT para eventos, turismo, gastronomia e experiencias em Minas Gerais.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 8.0
License: Proprietary
Text Domain: vivent
*/

:root {
  --night: #050816;
  --ink: #16181d;
  --soft-ink: #343946;
  --muted: #747b88;
  --paper: #ffffff;
  --surface: #ffffff;
  --line: rgba(22, 24, 29, 0.14);
  --pink: #ff176b;
  --orange: #ff9c1a;
  --yellow: #ffc21a;
  --blue: #20a8df;
  --green: #23b557;
  --radius: 8px;
  --radius-lg: 8px;
  --shadow: none;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Montserrat, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.45;
}

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

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

input,
button {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid #e8e8e8;
  backdrop-filter: blur(12px);
}

.site-header::before {
  display: block;
  height: 7px;
  content: "";
  background: linear-gradient(
    90deg,
    #ff1e2b 0 22%,
    #ff9c1a 22% 47%,
    #23b557 47% 73%,
    #20a8df 73% 100%
  );
}

.header-inner,
.section-nav,
.breaking-strip,
.lead-grid,
.section,
.newsletter,
.site-footer,
.ad-slot {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
  padding: 24px 0;
}

.menu-button {
  justify-self: start;
  width: 48px;
  height: 48px;
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 34px;
  height: 4px;
  background: var(--soft-ink);
  border-radius: 999px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 950;
}

.brand img {
  width: min(310px, 48vw);
  height: auto;
  border-radius: 0;
}

.search {
  justify-self: end;
  display: flex;
  align-items: center;
  min-height: 48px;
  width: 48px;
  overflow: visible;
  background: transparent;
  border: 0;
}

.search input {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  opacity: 0;
  pointer-events: none;
}

.search button,
.commercial-link,
.newsletter button,
.sponsored a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  color: var(--night);
  background: var(--orange);
  border: 0;
  border-radius: 999px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 180ms var(--ease), box-shadow 180ms var(--ease);
}

.search button {
  width: 48px;
  min-height: 48px;
  padding: 0;
  background: transparent;
  color: var(--soft-ink);
  border-radius: 0;
  font-size: 0;
}

.search button::before {
  content: "";
  width: 18px;
  height: 18px;
  border: 3px solid currentColor;
  border-radius: 50%;
  box-shadow: 11px 11px 0 -8px currentColor;
  transform: rotate(-8deg);
}

.commercial-link {
  background: var(--night);
  color: white;
}

.search button:hover,
.commercial-link:hover,
.newsletter button:hover,
.sponsored a:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(22, 24, 29, 0.12);
}

.section-nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 3vw, 36px);
  padding: 18px 0;
  overflow-x: auto;
  color: var(--soft-ink);
  font-size: 0.98rem;
  font-weight: 850;
  white-space: nowrap;
  border-top: 1px solid #ededed;
}

.section-nav a {
  position: relative;
  padding-left: 18px;
}

.section-nav a::before {
  position: absolute;
  left: 0;
  top: 50%;
  width: 9px;
  height: 9px;
  content: "";
  background: var(--pink);
  transform: translateY(-50%) rotate(45deg);
}

.section-nav a:nth-child(2n)::before {
  background: var(--orange);
}

.section-nav a:nth-child(3n)::before {
  background: var(--green);
}

.section-nav a:nth-child(4n)::before {
  background: var(--blue);
}

.section-nav a:hover {
  color: var(--pink);
}

.breaking-strip {
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 16px 0;
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.breaking-strip strong {
  padding: 6px 10px;
  color: white;
  background: var(--pink);
  border-radius: 999px;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.breaking-strip a {
  color: var(--soft-ink);
  font-size: 0.94rem;
}

.ad-slot {
  display: grid;
  place-items: center;
  gap: 4px;
  inline-size: min(1180px, calc(100% - 32px));
  color: var(--muted);
  background: #f5f5f5;
  border: 1px solid #ececec;
  border-radius: 0;
  text-align: center;
  overflow: hidden;
}

.ad-slot span {
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ad-slot strong {
  color: var(--soft-ink);
  font-size: 0.95rem;
}

.ad-slot-leaderboard {
  min-height: 250px;
  margin-top: 28px;
}

.ad-slot-infeed {
  min-height: 280px;
  margin-block: 32px;
}

.ad-slot-sidebar {
  width: 100%;
  min-height: 300px;
}

.side-column .ad-slot-sidebar,
.sidebar-stack .ad-slot-sidebar,
.two-columns > .ad-slot-sidebar {
  inline-size: 100%;
  margin-inline: 0;
}

.lead-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.72fr) minmax(280px, 0.62fr);
  gap: 18px;
  padding: 22px 0 34px;
}

.story-card {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease);
}

.story-card:hover {
  transform: translateY(-2px);
  box-shadow: none;
}

.story-card a {
  display: grid;
  min-height: 100%;
  align-content: start;
  padding: 0;
}

.lead-story {
  min-height: 0;
  color: var(--ink);
  background: var(--surface);
}

.story-card a::before {
  display: block;
  aspect-ratio: 16 / 9;
  content: "";
  background:
    linear-gradient(180deg, rgba(5, 8, 22, 0.02), rgba(5, 8, 22, 0.18)),
    linear-gradient(135deg, #f04f31, #ffb31a 45%, #20a8df);
}

.compact:nth-child(1) a::before {
  background:
    linear-gradient(180deg, rgba(5, 8, 22, 0.02), rgba(5, 8, 22, 0.18)),
    linear-gradient(135deg, #1d8f68, #20a8df);
}

.compact:nth-child(2) a::before {
  background:
    linear-gradient(180deg, rgba(5, 8, 22, 0.02), rgba(5, 8, 22, 0.18)),
    linear-gradient(135deg, #ff9c1a, #ff176b);
}

.lead-story h1 {
  margin: 8px 22px 12px;
  color: #ff1e2b;
  font-size: clamp(2rem, 3.2vw, 3.25rem);
  line-height: 1.03;
}

.lead-story p {
  margin: 0 22px 24px;
  color: var(--muted);
  font-size: 1.04rem;
}

.category {
  display: inline-flex;
  width: fit-content;
  margin: 18px 22px 8px;
  padding: 0;
  color: var(--pink);
  background: transparent;
  border-radius: 0;
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.top-stories {
  display: grid;
  gap: 18px;
}

.compact {
  min-height: 0;
}

.compact:nth-child(1) {
  color: var(--ink);
  background: var(--surface);
}

.compact:nth-child(2) {
  background: var(--surface);
}

.compact h2 {
  margin: 0 18px 20px;
  font-size: clamp(1.22rem, 1.7vw, 1.55rem);
  line-height: 1.13;
}

.side-column {
  display: grid;
  gap: 24px;
}

.most-read {
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  color: var(--ink);
}

.most-read h2 {
  margin: 0 0 18px;
  font-size: 1.4rem;
}

.most-read ol {
  display: grid;
  gap: 14px;
  margin: 0;
  padding-left: 22px;
}

.most-read li::marker {
  color: var(--orange);
  font-weight: 950;
}

.most-read a {
  color: var(--soft-ink);
  font-weight: 760;
}

.section {
  padding: 46px 0;
}

.page-hero {
  width: min(1180px, calc(100% - 32px));
  min-height: 360px;
  margin: 28px auto 0;
  padding: clamp(32px, 6vw, 72px);
  color: white;
  background:
    linear-gradient(180deg, rgba(5, 8, 22, 0.04), rgba(5, 8, 22, 0.82)),
    radial-gradient(circle at 82% 18%, rgba(255, 156, 26, 0.76), transparent 22%),
    linear-gradient(135deg, var(--blue), var(--night));
  border-radius: var(--radius-lg);
  display: grid;
  align-content: end;
}

.page-hero h1 {
  max-width: 900px;
  margin: 8px 0 14px;
  font-size: clamp(2.7rem, 6vw, 6rem);
  line-height: 0.92;
}

.page-hero p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.15rem;
}

.tourism-hero {
  background:
    linear-gradient(180deg, rgba(5, 8, 22, 0.02), rgba(5, 8, 22, 0.8)),
    radial-gradient(circle at 22% 18%, rgba(66, 217, 255, 0.8), transparent 23%),
    linear-gradient(135deg, #1b8f68, var(--blue));
}

.food-hero {
  background:
    linear-gradient(180deg, rgba(5, 8, 22, 0.02), rgba(5, 8, 22, 0.78)),
    radial-gradient(circle at 74% 20%, rgba(255, 23, 107, 0.78), transparent 24%),
    linear-gradient(135deg, var(--orange), #6b1b00);
}

.guide-hero {
  background:
    linear-gradient(180deg, rgba(5, 8, 22, 0.02), rgba(5, 8, 22, 0.8)),
    radial-gradient(circle at 76% 18%, rgba(201, 255, 101, 0.64), transparent 22%),
    linear-gradient(135deg, #394052, var(--night));
}

.commercial-hero {
  background:
    linear-gradient(180deg, rgba(5, 8, 22, 0.02), rgba(5, 8, 22, 0.82)),
    radial-gradient(circle at 76% 22%, rgba(255, 156, 26, 0.74), transparent 24%),
    linear-gradient(135deg, var(--pink), var(--night));
}

.directory-list,
.sidebar-stack {
  display: grid;
  gap: 16px;
}

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

.guide-directory article {
  min-height: 220px;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.guide-directory h2 {
  margin: 0 0 12px;
  font-size: 1.45rem;
  line-height: 1.02;
}

.guide-directory p {
  color: var(--muted);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--ink);
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3.2vw, 3rem);
  line-height: 1;
}

.section-heading a {
  margin-bottom: 10px;
  color: var(--pink);
  font-weight: 900;
}

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

.news-list article,
.event-row,
.guide-box,
.sponsored,
.free-grid article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.news-list article {
  padding: 20px;
}

.news-list h3,
.event-row h3 {
  margin: 0 0 8px;
  font-size: 1.14rem;
  line-height: 1.12;
}

.news-list p,
.event-row p,
.sponsored p,
.newsletter p {
  color: var(--muted);
}

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

.event-feed {
  display: grid;
  gap: 14px;
}

.event-row {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 18px;
  padding: 18px;
}

.date-box {
  display: grid;
  place-items: center;
  min-height: 112px;
  color: var(--night);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.date-box span,
.event-row small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.date-box strong {
  font-size: 1.7rem;
  line-height: 1;
}

.guide-box {
  padding: 24px;
  background: var(--night);
  color: white;
}

.guide-box h2 {
  margin: 0 0 18px;
}

.guide-box ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.guide-box li {
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

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

.image-card {
  min-height: 300px;
  padding: 24px;
  display: grid;
  align-content: end;
  color: white;
}

.image-card h3 {
  margin: 0;
  font-size: clamp(1.45rem, 2.6vw, 2.4rem);
  line-height: 0.98;
}

.image-card > a {
  padding: 0;
  align-content: end;
}

.blue-card {
  background:
    linear-gradient(180deg, rgba(5, 8, 22, 0.04), rgba(5, 8, 22, 0.78)),
    linear-gradient(135deg, #42d9ff, #3157ff);
}

.orange-card {
  background:
    linear-gradient(180deg, rgba(5, 8, 22, 0.04), rgba(5, 8, 22, 0.72)),
    linear-gradient(135deg, #ff9c1a, #d43d00);
}

.pink-card {
  background:
    linear-gradient(180deg, rgba(5, 8, 22, 0.04), rgba(5, 8, 22, 0.72)),
    linear-gradient(135deg, #ff176b, #3157ff);
}

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

.sponsored {
  padding: 24px;
  background:
    radial-gradient(circle at 100% 0, rgba(255, 156, 26, 0.24), transparent 30%),
    var(--surface);
}

.sponsored span {
  color: var(--pink);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.sponsored h2 {
  margin: 14px 0 12px;
  font-size: 2.1rem;
  line-height: 1;
}

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

.free-grid article {
  display: grid;
  gap: 12px;
  min-height: 148px;
  padding: 20px;
}

.free-grid strong {
  color: var(--blue);
  font-size: 0.82rem;
  text-transform: uppercase;
}

.free-grid span {
  font-size: 1.2rem;
  font-weight: 850;
  line-height: 1.12;
}

.newsletter {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(280px, 0.6fr);
  gap: 32px;
  align-items: center;
  margin-block: 48px;
  padding: 32px;
  color: white;
  background: var(--night);
  border-radius: var(--radius-lg);
}

.newsletter h2 {
  max-width: 720px;
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 4.4rem);
  line-height: 0.92;
}

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

.newsletter input {
  min-height: 48px;
  padding: 0 16px;
  color: white;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  outline: 0;
}

.newsletter input::placeholder {
  color: rgba(255, 255, 255, 0.58);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 36px 0;
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 10px 0 0;
  color: var(--muted);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--soft-ink);
  font-weight: 800;
}

.text-page {
  width: min(860px, calc(100% - 32px));
  margin: 40px auto 64px;
  padding: clamp(28px, 5vw, 56px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.text-page h1 {
  margin: 10px 0 20px;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: 0.94;
}

.text-page h2 {
  margin: 34px 0 10px;
  font-size: 1.5rem;
}

.text-page p {
  color: var(--soft-ink);
  font-size: 1.06rem;
}

.text-page a {
  color: var(--blue);
  font-weight: 850;
}

.article-page {
  display: grid;
  grid-template-columns: minmax(0, 740px) 320px;
  gap: 40px;
  width: min(1120px, calc(100% - 32px));
  margin: 40px auto 72px;
  align-items: start;
}

.article-page article {
  padding: clamp(26px, 5vw, 56px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.article-page h1 {
  margin: 10px 0 18px;
  font-size: clamp(2.25rem, 5.2vw, 5.3rem);
  line-height: 0.94;
}

.article-page h2 {
  margin: 34px 0 10px;
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  line-height: 1.04;
}

.article-page p,
.article-page li {
  color: var(--soft-ink);
  font-size: 1.07rem;
}

.article-page ul {
  display: grid;
  gap: 10px;
  padding-left: 22px;
}

.article-page a {
  color: var(--blue);
  font-weight: 850;
}

.article-lead {
  margin: 0 0 26px;
  color: var(--ink) !important;
  font-size: clamp(1.18rem, 2.1vw, 1.5rem) !important;
  line-height: 1.34;
}

.article-aside {
  position: sticky;
  top: 130px;
  display: grid;
  gap: 14px;
}

.article-aside h2 {
  margin: 12px 0 0;
  font-size: 1.35rem;
}

.article-aside > a {
  display: block;
  padding: 16px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 850;
}

.article-aside > a:hover {
  border-color: rgba(49, 87, 255, 0.38);
}

.contact-card {
  margin: 24px 0;
  padding: 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

@media (max-width: 1020px) {
  .lead-grid,
  .two-columns,
  .newsletter,
  .article-page {
    grid-template-columns: 1fr;
  }

  .article-aside {
    position: static;
  }

  .side-column {
    grid-template-columns: 1fr 280px;
  }

  .news-list,
  .free-grid,
  .guide-directory {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .search {
    grid-column: 1 / -1;
    order: 3;
  }

  .lead-grid {
    padding-top: 20px;
  }

  .ad-slot {
    inline-size: calc(100% - 24px);
    border-radius: var(--radius);
  }

  .ad-slot-leaderboard {
    min-height: 100px;
    margin-top: 14px;
    margin-bottom: 18px;
  }

  .ad-slot-infeed,
  .ad-slot-sidebar {
    min-height: 250px;
    margin-block: 28px;
  }

  .side-column .ad-slot-sidebar,
  .sidebar-stack .ad-slot-sidebar,
  .two-columns > .ad-slot-sidebar {
    inline-size: 100%;
    margin-block: 0 24px;
  }

  .lead-story {
    min-height: 420px;
  }

  .top-stories,
  .side-column,
  .news-list,
  .card-grid,
  .free-grid,
  .guide-directory {
    grid-template-columns: 1fr;
  }

  .event-row {
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 14px;
  }

  .date-box {
    min-height: 96px;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
  }

  .site-footer {
    align-items: start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}

/* Portal clean: mais editorial, menos hero artificial. */
:root {
  --night: #202126;
  --ink: #292a31;
  --soft-ink: #444650;
  --muted: #777b85;
  --paper: #ffffff;
  --surface: #ffffff;
  --line: rgba(32, 33, 38, 0.12);
  --pink: #f32335;
  --orange: #f4a51c;
  --yellow: #ffd21a;
  --blue: #1aa6d9;
  --green: #24a956;
  --shadow: none;
}

body {
  background: #ffffff;
}

.site-header {
  position: sticky;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid #e7e7e7;
  backdrop-filter: none;
}

.site-header::before {
  content: "";
  display: block;
  height: 20px;
  background: linear-gradient(
    90deg,
    #ff176b 0 24%,
    #ff7a1a 24% 48%,
    #ffd21a 48% 63%,
    #061326 63% 100%
  );
}

.header-inner {
  grid-template-columns: 1fr auto 1fr;
  min-height: 92px;
  padding: 18px 0;
}

.header-inner:has(.menu-button) {
  grid-template-columns: 1fr auto 1fr;
}

.header-inner:not(:has(.menu-button))::before {
  content: "";
  justify-self: start;
  width: 44px;
  height: 32px;
  background:
    linear-gradient(#34343a, #34343a) 0 3px / 44px 4px no-repeat,
    linear-gradient(#34343a, #34343a) 0 14px / 44px 4px no-repeat,
    linear-gradient(#34343a, #34343a) 0 25px / 44px 4px no-repeat;
}

.header-inner:has(.menu-button) .brand {
  grid-column: 2;
}

.header-inner:has(.menu-button) .search {
  grid-column: 3;
}

.header-inner:not(:has(.menu-button)) .brand {
  grid-column: 2;
}

.header-inner:not(:has(.menu-button)) .search {
  grid-column: 3;
}

.menu-button {
  display: inline-grid;
  gap: 6px;
  justify-self: start;
  width: 44px;
  padding: 6px;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.menu-button span {
  display: block;
  height: 4px;
  background: #34343a;
  border-radius: 999px;
}

.brand {
  justify-self: center;
  color: #2e3038;
  letter-spacing: 0;
}

.brand img {
  width: min(310px, 48vw);
  height: auto;
}

.site-footer .brand {
  justify-self: start;
}

.site-footer .brand img {
  width: min(220px, 54vw);
}

.header-inner .search {
  justify-self: end;
  display: block;
  min-height: 44px;
  width: 44px;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.header-inner .search input {
  display: none;
}

.header-inner .search button {
  width: 44px;
  min-height: 44px;
  padding: 0;
  color: #34343a;
  background: transparent;
  border-radius: 0;
  font-size: 0;
  box-shadow: none;
}

.header-inner .search button::before {
  content: "⌕";
  font-size: 2.2rem;
  line-height: 1;
}

.header-inner:not(:has(.menu-button)) .search {
  display: grid;
  grid-template-columns: 1fr auto;
  width: min(520px, 100%);
  background: #ffffff;
  border: 1px solid #dedede;
  border-radius: 999px;
}

.header-inner:not(:has(.menu-button)) .search input {
  display: block;
}

.header-inner:not(:has(.menu-button)) .search button {
  width: auto;
  min-height: 40px;
  padding: 0 16px;
  color: var(--night);
  background: var(--orange);
  border-radius: 999px;
  font-size: 0.9rem;
}

.header-inner:not(:has(.menu-button)) .search button::before {
  content: none;
}

.header-inner .search button:hover,
.menu-button:hover {
  transform: none;
  box-shadow: none;
}

.commercial-link {
  border-radius: 4px;
}

.site-header .commercial-link {
  display: none;
}

.site-header .header-inner:not(:has(.menu-button)) .search {
  display: block;
  width: 44px;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.site-header .header-inner:not(:has(.menu-button)) .search input {
  display: none;
}

.site-header .header-inner:not(:has(.menu-button)) .search button {
  width: 44px;
  min-height: 44px;
  padding: 0;
  color: #34343a;
  background: transparent;
  border-radius: 0;
  font-size: 0;
}

.site-header .header-inner:not(:has(.menu-button)) .search button::before {
  content: "⌕";
  font-size: 2.2rem;
  line-height: 1;
}

.section-nav {
  justify-content: center;
  gap: clamp(18px, 3.2vw, 38px);
  min-height: 76px;
  padding: 0;
  color: #444650;
  border-top: 1px solid #efefef;
  border-bottom: 1px solid #e2e2e2;
  font-size: 1rem;
}

.section-nav a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.section-nav a::before {
  content: "";
  width: 10px;
  height: 10px;
  background: var(--pink);
  transform: rotate(45deg);
}

.section-nav a:nth-child(2)::before,
.section-nav a:nth-child(7)::before {
  background: #c64b1d;
}

.section-nav a:nth-child(3)::before,
.section-nav a:nth-child(5)::before {
  background: var(--orange);
}

.section-nav a:nth-child(4)::before {
  background: var(--green);
}

.section-nav a:nth-child(6)::before {
  background: var(--blue);
}

.section-nav ul {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 3.2vw, 38px);
  width: 100%;
  min-height: 76px;
  margin: 0;
  padding: 0;
  overflow-x: auto;
  list-style: none;
  white-space: nowrap;
}

.section-nav li {
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
}

.section-nav li a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding-left: 0;
  color: #444650;
  font-size: 1rem;
  font-weight: 850;
  line-height: 1;
}

.section-nav li a::before {
  position: static;
  width: 10px;
  height: 10px;
  content: "";
  background: var(--pink);
  transform: rotate(45deg);
}

.section-nav li:nth-child(2) a::before,
.section-nav li:nth-child(7) a::before {
  background: #ff7a1a;
}

.section-nav li:nth-child(3) a::before,
.section-nav li:nth-child(5) a::before {
  background: #ffd21a;
}

.section-nav li:nth-child(4) a::before {
  background: #061326;
}

.breaking-strip {
  justify-content: center;
  padding: 18px 0;
  border-bottom: 1px solid #e8e8e8;
}

.breaking-strip strong {
  color: var(--pink);
  background: transparent;
  border-radius: 0;
}

.breaking-strip a {
  color: #4b4c54;
  font-weight: 750;
}

.ad-slot {
  background: #f6f6f6;
  border: 0;
  border-radius: 0;
  color: #777;
}

.ad-slot-leaderboard {
  width: min(970px, calc(100% - 32px));
  min-height: 190px;
  margin-top: 24px;
}

.ad-slot-infeed {
  min-height: 170px;
}

.lead-grid {
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.72fr) minmax(270px, 0.64fr);
  gap: 28px;
  padding-top: 24px;
}

.story-card,
.news-list article,
.event-row,
.guide-box,
.free-grid article,
.article-page article,
.text-page {
  border-radius: 0;
  box-shadow: none;
}

.story-card {
  border: 0;
  border-bottom: 1px solid #e7e7e7;
}

.story-card:hover {
  transform: none;
  box-shadow: none;
}

.story-card a {
  padding: 0 0 18px;
}

.lead-story {
  min-height: 470px;
  color: var(--ink);
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(90deg, #ff176b, #ff7a1a, #ffd21a, #061326) border-box;
  border: 0;
  border-top: 10px solid transparent;
}

.lead-story::before {
  content: "";
  display: block;
  min-height: 260px;
  margin-bottom: 22px;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.12) 1px, transparent 1px),
    linear-gradient(rgba(0, 0, 0, 0.1) 1px, transparent 1px),
    linear-gradient(135deg, #f7f7f7, #eeeeee);
  background-size: 22px 22px, 22px 22px, auto;
}

.lead-story h1 {
  margin: 8px 0 12px;
  color: var(--pink);
  font-size: clamp(2.3rem, 4.8vw, 4.8rem);
  line-height: 1;
}

.lead-story p {
  color: var(--muted);
}

.category {
  padding: 0;
  color: var(--pink);
  background: transparent;
  border-radius: 0;
}

.compact {
  min-height: 0;
}

.compact:nth-child(1),
.compact:nth-child(2),
.blue-card,
.orange-card,
.pink-card {
  color: var(--ink);
  background: transparent;
}

.compact h2,
.image-card h3 {
  color: var(--ink);
  font-size: clamp(1.35rem, 2.1vw, 2rem);
  line-height: 1.08;
}

.top-stories {
  gap: 26px;
}

.most-read {
  color: var(--ink);
  background: #ffffff;
  border: 1px solid #e7e7e7;
  border-radius: 0;
}

.most-read h2 {
  color: var(--green);
}

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

.section {
  padding: 38px 0;
}

.section-heading {
  border-bottom: 1px solid #dfdfdf;
}

.section-heading h2 {
  color: var(--pink);
  font-size: clamp(2rem, 3.8vw, 3.6rem);
  line-height: 1;
}

.news-list {
  gap: 26px;
}

.news-list article {
  padding: 0 0 18px;
  border: 0;
  border-bottom: 1px solid #e7e7e7;
}

.news-list h3,
.event-row h3 {
  font-size: 1.24rem;
  line-height: 1.16;
}

.event-row {
  border: 0;
  border-bottom: 1px solid #e7e7e7;
}

.date-box {
  background: #f7f7f7;
  border: 0;
  border-radius: 0;
}

.guide-box {
  background: #f7f7f7;
  color: var(--ink);
  border: 0;
}

.guide-box li {
  border-bottom-color: #dedede;
}

.image-card {
  min-height: 220px;
  padding: 0 0 18px;
  border-bottom: 1px solid #e7e7e7;
}

.image-card::before {
  content: "";
  display: block;
  min-height: 145px;
  margin-bottom: 18px;
  background: #f4f4f4;
}

.blue-card::before {
  border-top: 8px solid var(--blue);
}

.orange-card::before {
  border-top: 8px solid var(--orange);
}

.pink-card::before {
  border-top: 8px solid var(--green);
}

.newsletter {
  color: var(--ink);
  background: #f7f7f7;
  border-radius: 0;
}

.newsletter input {
  color: var(--ink);
  background: #ffffff;
  border-color: #dedede;
  border-radius: 4px;
}

.newsletter input::placeholder {
  color: #8a8d95;
}

@media (max-width: 720px) {
  .site-header::before {
    height: 14px;
  }

  .header-inner {
    grid-template-columns: 44px 1fr 44px;
    min-height: 78px;
  }

  .brand {
    justify-self: center;
  }

  .brand img {
    width: min(220px, 52vw);
    height: auto;
  }

  .header-inner .search {
    grid-column: auto;
    order: initial;
  }

  .section-nav {
    justify-content: start;
    padding: 14px 0;
    min-height: 58px;
  }

  .section-nav ul {
    justify-content: start;
    gap: 18px;
    min-height: 44px;
  }

  .breaking-strip {
    justify-content: start;
  }

  .lead-story {
    min-height: 0;
  }

  .lead-story::before {
    min-height: 180px;
  }
}
