:root {
  --bg: #090a0c;
  --panel: #101114;
  --panel-2: #17191e;
  --text: #f7f7f8;
  --muted: #a7abb3;
  --soft: #6e737d;
  --line: rgba(255, 255, 255, 0.1);
  --red: #e50914;
  --red-2: #b40009;
  --blue: #55b7ef;
  --green: #2ed66f;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.36);
  --radius: 8px;
  --shell: min(1180px, calc(100vw - 44px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.shell {
  width: var(--shell);
  margin: 0 auto;
}

.scroll-progress {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 100;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), #fff);
}

.topline {
  background: linear-gradient(90deg, #b40009, #ea0b16);
  font-size: 0.78rem;
  font-weight: 700;
}

.topline__inner,
.mainbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.topline__inner {
  min-height: 40px;
}

.date::before {
  content: "◷";
  margin-right: 7px;
}

.live-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 9px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--red-2);
  font-size: 0.7rem;
  font-weight: 900;
}

.live-chip span {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--red);
  box-shadow: 0 0 0 6px rgba(229, 9, 20, 0.18);
  animation: pulse 1.35s ease-out infinite;
}

.socials {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 900;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(8, 9, 11, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.mainbar {
  min-height: 86px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 2px solid rgba(85, 183, 239, 0.55);
  border-radius: 50%;
  color: var(--blue);
  font: 900 1.45rem Archivo, sans-serif;
  background:
    radial-gradient(circle at 30% 30%, rgba(85, 183, 239, 0.24), transparent 42%),
    #11161d;
}

.brand strong {
  display: block;
  font: 900 clamp(1.35rem, 3vw, 2rem) Archivo, sans-serif;
  letter-spacing: -0.03em;
  line-height: 0.92;
}

.brand small {
  display: block;
  color: var(--red);
  font: 800 0.82rem Archivo, sans-serif;
  letter-spacing: 0.22em;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 30px);
  font-size: 0.86rem;
  font-weight: 800;
}

.nav a {
  position: relative;
  padding: 12px 0;
  color: #e8e9ec;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 2px;
  height: 2px;
  background: var(--red);
  transition: right 0.24s ease;
}

.nav a:hover::after,
.nav a.active::after {
  right: 0;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.send-news,
.primary-button {
  border: 0;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--red), #ff202b);
  color: #fff;
  padding: 13px 18px;
  font-weight: 900;
  box-shadow: 0 12px 34px rgba(229, 9, 20, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.send-news::before {
  content: "↗ ";
}

.send-news:hover,
.primary-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(229, 9, 20, 0.34);
}

.ghost-button {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  padding: 13px 18px;
  font-weight: 850;
}

.icon-button,
.menu-button {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
}

.icon-button {
  display: grid;
  place-items: center;
  width: 45px;
  height: 45px;
  border-radius: 6px;
}

.icon-button svg {
  width: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.menu-button {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 6px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.menu-button span {
  width: 20px;
  height: 2px;
  background: currentColor;
}

.menu-button em {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.mobile-menu {
  display: none;
}

.hero {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("assets/regional-news-collage.png");
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  animation: slowZoom 16s ease-in-out infinite alternate;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(6, 7, 9, 0.96) 0%, rgba(6, 7, 9, 0.76) 40%, rgba(6, 7, 9, 0.18) 72%, rgba(6, 7, 9, 0.92) 100%),
    linear-gradient(0deg, rgba(6, 7, 9, 0.95), transparent 44%);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 36px;
  align-items: center;
  min-height: 560px;
  padding: 58px 0;
}

.lead-story {
  max-width: 700px;
}

.urgent,
.tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 4px;
  background: var(--red);
  color: #fff;
  padding: 6px 9px;
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.lead-story h1 {
  max-width: 760px;
  margin: 18px 0 16px;
  font: 900 clamp(2.15rem, 5.2vw, 4.8rem) / 0.98 Archivo, sans-serif;
  letter-spacing: -0.055em;
}

.lead-story p {
  max-width: 650px;
  color: #d9dde4;
  font-size: clamp(1rem, 1.45vw, 1.2rem);
  line-height: 1.65;
}

.lead-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.live-panel,
.side-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(14, 15, 18, 0.82);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.live-panel {
  padding: 18px;
}

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

.panel-title h2,
.side-card h2 {
  margin: 0;
  font: 900 1.25rem Archivo, sans-serif;
}

.live-item {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: #e7e8eb;
}

.live-item img {
  width: 76px;
  height: 62px;
  object-fit: cover;
  border-radius: 6px;
}

.live-item:nth-of-type(2) img {
  object-position: right center;
}

.live-item:nth-of-type(3) img {
  object-position: right bottom;
}

.live-item span {
  display: block;
  font-size: 0.82rem;
  line-height: 1.35;
  font-weight: 700;
}

.live-item time {
  display: block;
  margin-bottom: 3px;
  color: var(--muted);
  font-weight: 800;
}

.all-news {
  display: block;
  margin-top: 14px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 6px;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 900;
}

.hero-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.hero-dots span {
  width: 28px;
  height: 3px;
  background: rgba(255, 255, 255, 0.62);
}

.hero-dots span:first-child {
  background: var(--red);
}

.category-strip {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 10px;
  padding: 26px 0 8px;
}

.category {
  min-height: 74px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: #e7e8ea;
  font-weight: 850;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.category span {
  display: block;
  margin-bottom: 7px;
  font-size: 1.2rem;
}

.category:hover,
.category.active {
  transform: translateY(-3px);
  border-color: rgba(229, 9, 20, 0.7);
  background: var(--red);
}

.section-block {
  padding: 38px 0 20px;
}

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

.section-heading h2 {
  margin: 0;
  font: 900 clamp(1.35rem, 3vw, 2.15rem) Archivo, sans-serif;
  letter-spacing: -0.03em;
}

.section-heading a {
  color: #fff;
  font-size: 0.86rem;
  font-weight: 850;
}

.section-heading a::after {
  content: "›";
  margin-left: 8px;
  color: var(--red);
}

.rail {
  display: inline-block;
  width: 5px;
  height: 28px;
  margin-right: 11px;
  vertical-align: middle;
  border-radius: 5px;
  background: var(--red);
}

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

.news-card {
  position: relative;
  min-height: 288px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  isolation: isolate;
}

.news-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease, filter 0.45s ease;
}

.news-card:nth-child(1) img {
  object-position: 80% 18%;
}

.news-card:nth-child(2) img {
  object-position: 96% 96%;
}

.news-card:nth-child(3) img {
  object-position: 95% 53%;
}

.news-card:nth-child(4) img {
  object-position: 62% 8%;
}

.news-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(3, 3, 4, 0.96), rgba(3, 3, 4, 0.1) 66%);
}

.news-card div {
  position: absolute;
  inset: auto 0 0;
  padding: 18px;
}

.news-card h3,
.news-row h3 {
  margin: 10px 0 9px;
  font: 900 1rem/1.22 Archivo, sans-serif;
  letter-spacing: -0.02em;
}

.news-card time,
.news-row small {
  color: var(--muted);
  font-weight: 650;
}

.news-card:hover img {
  transform: scale(1.06);
  filter: saturate(1.12) contrast(1.08);
}

.tag.alt {
  background: #0f8f48;
}

.tag.city {
  background: #2563eb;
}

.tag.health {
  background: #0d9488;
}

.tag.danger {
  background: var(--red);
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
  padding: 34px 0 58px;
}

.news-list {
  display: grid;
  gap: 12px;
}

.news-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 18px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.news-row:hover {
  border-color: rgba(229, 9, 20, 0.55);
  background: rgba(255, 255, 255, 0.055);
}

.news-row img {
  width: 100%;
  height: 134px;
  object-fit: cover;
  border-radius: 6px;
}

.news-row:nth-child(1) img {
  object-position: 28% center;
}

.news-row:nth-child(2) img {
  object-position: right top;
}

.news-row:nth-child(3) img,
.news-row:nth-child(4) img {
  object-position: right bottom;
}

.news-row p {
  margin: 0 0 10px;
  color: var(--muted);
  line-height: 1.5;
}

.sidebar {
  display: grid;
  align-content: start;
  gap: 16px;
}

.side-card {
  padding: 20px;
  background: var(--panel);
}

.side-card p {
  color: var(--muted);
  line-height: 1.55;
}

.social-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.social-grid a {
  border-radius: 6px;
  padding: 13px 12px;
  color: #fff;
  font-size: 0.86rem;
  font-weight: 900;
  text-align: center;
}

.facebook {
  background: #1877f2;
}

.instagram {
  background: linear-gradient(135deg, #7c3aed, #f43f5e);
}

.whatsapp {
  background: #18a957;
}

.youtube {
  background: var(--red);
}

.full {
  display: block;
  width: 100%;
  text-align: center;
  margin-top: 10px;
}

.manifesto {
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  gap: 48px;
  padding: 54px 0 70px;
  border-top: 1px solid var(--line);
}

.manifesto p {
  margin: 0;
  color: var(--red);
  font-weight: 900;
  text-transform: uppercase;
}

.manifesto strong {
  font: 900 clamp(1.5rem, 4vw, 3.5rem) / 1.02 Archivo, sans-serif;
  letter-spacing: -0.05em;
}

.site-footer {
  background: #070708;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 0.8fr 1fr;
  gap: 38px;
  padding: 52px 0;
}

.footer-grid p,
.footer-grid a {
  display: block;
  color: var(--muted);
  line-height: 1.75;
}

.footer-grid h3 {
  margin: 0 0 14px;
  font-size: 0.92rem;
}

.open-status {
  color: var(--green) !important;
  font-weight: 800;
}

.copyright {
  background: var(--red-2);
  color: #fff;
  padding: 14px 0;
  font-size: 0.82rem;
}

.search-overlay,
.news-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(12px);
}

[hidden] {
  display: none !important;
}

.search-panel,
.news-form {
  position: relative;
  width: min(580px, 100%);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #111216;
  padding: clamp(24px, 5vw, 38px);
  box-shadow: var(--shadow);
}

.close-button {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 1.5rem;
}

.search-panel label,
.news-form h2 {
  display: block;
  margin: 0 0 16px;
  font: 900 clamp(1.5rem, 5vw, 2.5rem) Archivo, sans-serif;
}

.search-panel input,
.news-form input,
.news-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #08090b;
  color: #fff;
  padding: 14px 15px;
  outline: none;
}

.search-panel input:focus,
.news-form input:focus,
.news-form textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(229, 9, 20, 0.15);
}

.news-form {
  display: grid;
  gap: 13px;
}

.news-form label {
  display: grid;
  gap: 7px;
  color: #e6e7e9;
  font-size: 0.9rem;
  font-weight: 800;
}

.check-line {
  display: flex !important;
  grid-template-columns: none;
  align-items: center;
  gap: 10px;
}

.check-line input {
  width: 18px;
  height: 18px;
}

.form-kicker,
.file-note {
  color: var(--muted);
  font-size: 0.85rem;
}

.bottom-nav {
  display: none;
}

.section-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.section-reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes pulse {
  to {
    box-shadow: 0 0 0 12px rgba(229, 9, 20, 0);
  }
}

@keyframes slowZoom {
  from {
    transform: scale(1.04);
  }
  to {
    transform: scale(1.1);
  }
}

@media (max-width: 1024px) {
  .desktop-nav,
  .desktop-only {
    display: none;
  }

  .menu-button {
    display: flex;
  }

  .mainbar {
    min-height: 76px;
  }

  .mobile-menu {
    position: fixed;
    top: 116px;
    left: 0;
    right: 0;
    z-index: 70;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    padding: 1px;
    background: var(--line);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.22s ease, opacity 0.22s ease;
  }

  .mobile-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-menu a,
  .mobile-menu button {
    border: 0;
    background: #111216;
    color: #fff;
    padding: 15px;
    text-align: center;
    font-weight: 850;
  }

  .hero-grid,
  .content-layout,
  .manifesto {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 22px;
  }

  .live-panel {
    max-width: 560px;
  }

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

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

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

@media (max-width: 680px) {
  :root {
    --shell: min(100% - 28px, 1180px);
  }

  body {
    padding-bottom: 68px;
  }

  .topline__inner {
    min-height: 36px;
    justify-content: center;
  }

  .date,
  .socials {
    display: none;
  }

  .mainbar {
    gap: 10px;
  }

  .brand {
    flex: 1;
    justify-content: center;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .brand strong {
    font-size: 1.25rem;
  }

  .brand small {
    font-size: 0.68rem;
  }

  .send-news {
    display: none;
  }

  .icon-button,
  .menu-button {
    width: 44px;
    height: 44px;
  }

  .mobile-menu {
    top: 112px;
    grid-template-columns: 1fr 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-media {
    background-position: 34% center;
  }

  .hero-shade {
    background:
      linear-gradient(0deg, rgba(6, 7, 9, 0.96), rgba(6, 7, 9, 0.18) 55%),
      linear-gradient(90deg, rgba(6, 7, 9, 0.9), rgba(6, 7, 9, 0.34));
  }

  .hero-grid {
    min-height: 660px;
    padding: 54px 0 74px;
    align-items: end;
  }

  .lead-story h1 {
    font-size: clamp(2.05rem, 12vw, 3.45rem);
  }

  .lead-story p {
    font-size: 0.98rem;
  }

  .lead-actions {
    display: grid;
  }

  .live-panel {
    display: none;
  }

  .hero-dots {
    bottom: 20px;
  }

  .category-strip {
    display: flex;
    overflow-x: auto;
    padding: 18px 14px 4px;
    width: 100%;
    margin: 0;
    scrollbar-width: none;
  }

  .category {
    min-width: 112px;
    min-height: 66px;
  }

  .section-heading {
    align-items: start;
  }

  .featured-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .news-card {
    min-height: 250px;
  }

  .news-row {
    grid-template-columns: 116px 1fr;
    gap: 12px;
    padding: 10px;
  }

  .news-row img {
    height: 116px;
  }

  .news-row h3 {
    font-size: 0.95rem;
  }

  .news-row p {
    display: none;
  }

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

  .manifesto {
    gap: 18px;
    padding: 40px 0 48px;
  }

  .bottom-nav {
    position: fixed;
    inset: auto 0 0;
    z-index: 75;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    background: rgba(8, 9, 11, 0.94);
    border-top: 1px solid var(--line);
    backdrop-filter: blur(18px);
  }

  .bottom-nav a,
  .bottom-nav button {
    min-height: 58px;
    border: 0;
    background: transparent;
    color: #e5e7eb;
    font-size: 0.78rem;
    font-weight: 800;
  }

  .bottom-nav .active {
    color: #fff;
    background: var(--red);
  }
}

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