/* Futuristic visual layer for Media PGRI Neo. */

:root {
  --neo-cyan: #00d8ff;
  --neo-cyan-soft: #91efff;
  --neo-blue: #2f6bff;
  --neo-violet: #7d5cff;
  --neo-magenta: #ff3f8d;
  --neo-night: #030915;
  --neo-night-2: #071526;
  --neo-panel: #0a1c31;
  --neo-text: #102238;
  --neo-muted: #65778d;
  --neo-surface: rgba(255, 255, 255, .82);
  --neo-line: rgba(21, 61, 91, .12);
  --neo-glow: 0 0 0 1px rgba(0, 216, 255, .12), 0 24px 70px rgba(6, 34, 58, .12);
  --wn-accent-dark: #0098ba;
  --wn-ink: var(--neo-text);
  --wn-muted: var(--neo-muted);
  --wn-soft: #f2f7fb;
  --wn-line: #dfe9f1;
  --wn-navy: var(--neo-night-2);
  --wn-navy-2: #102b48;
  --wn-radius: 24px;
  --wn-radius-sm: 16px;
  --wn-shadow: 0 28px 78px rgba(5, 30, 54, .14);
  --wn-shadow-sm: 0 15px 42px rgba(5, 30, 54, .1);
  --wn-container: 1240px;
}

body {
  color: var(--neo-text);
  background:
    radial-gradient(circle at 8% 8%, rgba(0, 216, 255, .09), transparent 25rem),
    radial-gradient(circle at 94% 22%, rgba(125, 92, 255, .08), transparent 28rem),
    #f7fafc;
  font-family: "Segoe UI Variable", "Aptos", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.site-main { overflow: hidden; }

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: .24;
  background-image:
    linear-gradient(rgba(27, 77, 112, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27, 77, 112, .055) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, #000, transparent 72%);
}

::selection { color: #02111d; background: var(--neo-cyan-soft); }

:focus-visible {
  outline-color: var(--neo-cyan);
  box-shadow: 0 0 0 5px rgba(0, 216, 255, .14);
}

.topbar {
  position: relative;
  overflow: hidden;
  color: #9fb6c9;
  background: var(--neo-night);
  border-bottom: 1px solid rgba(0, 216, 255, .13);
}

.topbar::after {
  position: absolute;
  right: -8%;
  bottom: 0;
  width: 45%;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--neo-cyan), transparent);
  box-shadow: 0 0 14px var(--neo-cyan);
}

.topbar__inner { min-height: 40px; }

.topbar__dot {
  background: var(--neo-cyan);
  box-shadow: 0 0 0 4px rgba(0, 216, 255, .1), 0 0 16px var(--neo-cyan);
  animation: neo-pulse 2s ease-in-out infinite;
}

.topbar a { color: #b8cbda; }
.topbar a:hover { color: var(--neo-cyan-soft); }

.brandbar {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% -30%, rgba(47, 107, 255, .32), transparent 35%),
    radial-gradient(circle at 8% 120%, rgba(0, 216, 255, .16), transparent 33%),
    linear-gradient(120deg, #061323, #0a2139 56%, #08172a);
}

.brandbar::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: .16;
  background-image:
    linear-gradient(115deg, transparent 0 48%, rgba(255,255,255,.13) 49%, transparent 50%),
    linear-gradient(rgba(0,216,255,.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,216,255,.18) 1px, transparent 1px);
  background-size: 240px 100%, 46px 46px, 46px 46px;
  mask-image: linear-gradient(90deg, transparent, #000 42%, #000);
}

.brandbar__inner { position: relative; min-height: 112px; }

.site-logo__image { filter: drop-shadow(0 10px 24px rgba(0, 0, 0, .18)); }
.site-logo--drawer .site-logo__image,
.site-logo--footer .site-logo__image { filter: drop-shadow(0 8px 22px rgba(0, 216, 255, .12)); }

.brand-mark {
  position: relative;
  flex-basis: 58px;
  width: 58px;
  height: 58px;
  color: #03111f;
  background: linear-gradient(140deg, #d6fbff, var(--neo-cyan) 52%, #2f6bff);
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 18px 8px 18px 8px;
  font-size: 15px;
  letter-spacing: -.08em;
  box-shadow: 0 0 0 5px rgba(0,216,255,.08), 0 0 38px rgba(0,216,255,.3);
  transform: rotate(-3deg);
}

.brand-mark::after {
  position: absolute;
  inset: 6px;
  content: "";
  border: 1px solid rgba(3,17,31,.35);
  border-radius: 12px 5px 12px 5px;
}

.site-title,
.site-title a { color: #f2f9ff; }

.site-title {
  font-size: clamp(27px, 3vw, 39px);
  letter-spacing: -.055em;
  text-shadow: 0 0 30px rgba(0, 216, 255, .14);
}

.site-title a:hover { color: #fff; }

.site-tagline {
  color: #7ceaff;
  font-size: 10px;
  letter-spacing: .17em;
}

.nav-shell {
  background: rgba(3, 12, 24, .92);
  border-bottom: 1px solid rgba(0,216,255,.3);
  box-shadow: 0 12px 36px rgba(1,9,18,.23);
  backdrop-filter: blur(18px) saturate(145%);
}

.site-header.is-scrolled { box-shadow: 0 18px 48px rgba(1,9,18,.3); }
.site-header.is-scrolled .brandbar { box-shadow: inset 0 -1px rgba(0,216,255,.12); }
.site-header.is-scrolled .nav-shell { box-shadow: 0 15px 42px rgba(1,9,18,.34), 0 0 0 1px rgba(0,216,255,.06); }

.social-link { background: rgba(8,29,48,.7); border-color: rgba(117,220,244,.2); box-shadow: inset 0 1px rgba(255,255,255,.055), 0 8px 24px rgba(1,8,18,.16); backdrop-filter: blur(10px); }
.social-link:hover { box-shadow: 0 0 24px rgba(0,216,255,.25); }

.nav-shell::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent 5%, var(--neo-cyan) 40%, var(--neo-violet) 65%, transparent 95%);
  opacity: .7;
}

.nav-shell__inner { min-height: 58px; }

.main-navigation a {
  position: relative;
  color: #c4d6e5;
  font-size: 12px;
  letter-spacing: .015em;
}

.main-navigation a:hover,
.main-navigation .current-menu-item > a,
.main-navigation .current-menu-ancestor > a {
  color: #fff;
  text-shadow: 0 0 16px rgba(0,216,255,.55);
}

.main-navigation .current-menu-item > a::after,
.main-navigation .current-menu-ancestor > a::after {
  height: 2px;
  bottom: -1px;
  background: var(--neo-cyan);
  box-shadow: 0 0 14px var(--neo-cyan);
}

.main-navigation .sub-menu {
  background: rgba(5, 18, 34, .96);
  border-color: rgba(0,216,255,.18);
  box-shadow: 0 22px 55px rgba(1,8,19,.4);
  backdrop-filter: blur(18px);
}

.main-navigation .sub-menu a { color: #d7e6f0; }
.main-navigation .sub-menu a:hover { color: var(--neo-cyan-soft); background: rgba(0,216,255,.08); }

.icon-button {
  color: #dff9ff;
  background: rgba(0,216,255,.08);
  border: 1px solid rgba(0,216,255,.15);
}

.icon-button:hover {
  color: #02111b;
  background: var(--neo-cyan);
  border-color: var(--neo-cyan);
  box-shadow: 0 0 24px rgba(0,216,255,.32);
}

.search-panel {
  background:
    radial-gradient(circle at 50% 20%, rgba(0,216,255,.14), transparent 30%),
    rgba(1, 6, 14, .93);
}

.search-panel__dialog {
  color: #eaf8ff;
  background: linear-gradient(145deg, rgba(12,34,56,.98), rgba(5,17,31,.98));
  border: 1px solid rgba(0,216,255,.22);
  box-shadow: 0 0 0 1px rgba(255,255,255,.03), 0 35px 90px rgba(0,0,0,.5), 0 0 80px rgba(0,216,255,.09);
}

.search-panel__top h2 { color: #fff; }
.search-close { color: #dff9ff; background: rgba(255,255,255,.06); }

.search-field,
.form-control {
  border-color: #cbdce8;
  box-shadow: inset 0 1px 3px rgba(4,30,49,.04);
}

.button,
.search-submit,
input[type="submit"] {
  color: #03111d;
  background: linear-gradient(135deg, var(--neo-cyan-soft), var(--neo-cyan));
  border-color: var(--neo-cyan);
  border-radius: 12px 6px 12px 6px;
  box-shadow: 0 10px 28px rgba(0, 167, 206, .2);
}

.button:hover,
.search-submit:hover,
input[type="submit"]:hover {
  color: #001018;
  background: #fff;
  border-color: #fff;
  box-shadow: 0 0 32px rgba(0,216,255,.34);
}

.button--ghost { color: var(--neo-text); background: transparent; border-color: rgba(15,65,96,.22); box-shadow: none; }
.button--ghost:hover { color: #001018; background: var(--neo-cyan); border-color: var(--neo-cyan); }

/* Interactive live ticker. */
.news-ticker {
  position: relative;
  padding: 0;
  overflow: hidden;
  color: #dcebf5;
  background: #06111f;
  border-bottom: 1px solid rgba(0,216,255,.13);
}

.news-ticker::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background: linear-gradient(90deg, rgba(0,216,255,.08), transparent 25%, transparent 70%, rgba(125,92,255,.08));
}

.news-ticker__inner {
  position: relative;
  min-height: 58px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 15px;
}

.news-ticker__label {
  position: relative;
  padding: 8px 12px 8px 25px;
  color: #02101a;
  background: var(--neo-cyan);
  border-radius: 9px 4px 9px 4px;
  box-shadow: 0 0 24px rgba(0,216,255,.25);
}

.news-ticker__label::before {
  position: absolute;
  top: 50%;
  left: 10px;
  width: 7px;
  height: 7px;
  content: "";
  background: #06111f;
  border-radius: 50%;
  transform: translateY(-50%);
  animation: neo-pulse-dark 1.8s ease-in-out infinite;
}

.news-ticker__viewport {
  position: relative;
  min-width: 0;
  height: 30px;
  overflow: hidden;
}

.news-ticker__track { position: relative; display: block; height: 100%; overflow: visible; }

.news-ticker__item {
  position: absolute;
  inset: 0;
  max-width: none;
  display: flex;
  align-items: center;
  visibility: hidden;
  opacity: 0;
  color: #d8e7f1;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
  transform: translateY(16px);
  transition: opacity .38s ease, transform .38s ease, visibility .38s;
}

.news-ticker__item.is-active {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.news-ticker__item:hover { color: var(--neo-cyan-soft); }
.news-ticker__item + .news-ticker__item::before { display: none; }

.news-ticker__controls { display: flex; align-items: center; gap: 5px; }
.ticker-button { width: 30px; height: 30px; display: grid; place-items: center; padding: 0; color: #afc5d5; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); border-radius: 8px; }
.ticker-button:hover { color: #03111d; background: var(--neo-cyan); border-color: var(--neo-cyan); }
.ticker-button svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; }
.ticker-count { min-width: 38px; color: #71899d; font-size: 9px; font-variant-numeric: tabular-nums; text-align: center; }
.news-ticker__progress { position: absolute; right: 0; bottom: 0; left: 0; height: 2px; overflow: hidden; background: rgba(255,255,255,.035); }
.news-ticker__progress span { display: block; width: 0; height: 100%; background: linear-gradient(90deg, var(--neo-cyan), var(--neo-violet)); box-shadow: 0 0 12px var(--neo-cyan); }
.news-ticker.is-running .news-ticker__progress span { animation: ticker-progress 6s linear forwards; }

/* Compact editorial channel console. */
.signal-hero {
  position: relative;
  padding: 26px 0 0;
}

.signal-hero::before {
  position: absolute;
  top: -230px;
  right: -170px;
  width: 460px;
  height: 460px;
  pointer-events: none;
  content: "";
  background: radial-gradient(circle, rgba(125,92,255,.13), transparent 66%);
}

.signal-hero__inner {
  position: relative;
  display: block;
}

.signal-console {
  position: relative;
  display: grid;
  grid-template-columns: minmax(170px, .24fr) minmax(0, 1fr);
  gap: 19px;
  align-items: stretch;
  padding: 16px 18px;
  overflow: hidden;
  color: #dbeaf4;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(26,76,110,.12);
  border-radius: 18px 6px 18px 6px;
  box-shadow: var(--neo-glow);
  backdrop-filter: blur(18px);
}

.signal-console::after { position: absolute; top: -68px; right: 5%; width: 210px; height: 145px; pointer-events: none; content: ""; border: 1px solid rgba(0,216,255,.1); border-radius: 50%; box-shadow: 0 0 0 22px rgba(0,216,255,.025), 0 0 0 44px rgba(125,92,255,.018); transform: rotate(-12deg); }
.signal-console__top { position: relative; z-index: 1; display: flex; align-items: flex-start; justify-content: center; flex-direction: column; gap: 7px; padding-right: 19px; color: #405b71; border-right: 1px solid rgba(22,66,96,.11); font-size: 9px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.signal-console__top::before { width: 8px; height: 8px; content: ""; background: var(--neo-cyan); border-radius: 50%; box-shadow: 0 0 0 5px rgba(0,216,255,.09), 0 0 14px rgba(0,216,255,.8); animation: neo-pulse 2s ease-in-out infinite; }
.signal-console__time { color: var(--neo-blue); font-variant-numeric: tabular-nums; }
.signal-console__grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.signal-link { position: relative; min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 12px 14px; overflow: hidden; color: var(--neo-text); background: rgba(245,250,253,.78); border: 1px solid rgba(25,70,100,.1); border-radius: 13px 5px 13px 5px; font-size: 12px; font-weight: 850; }
.signal-link span { position: relative; z-index: 1; }
.signal-link small { position: relative; z-index: 1; color: #8194a5; font-size: 8px; letter-spacing: .1em; text-transform: uppercase; }
.signal-link::before { position: absolute; inset: 0; content: ""; background: linear-gradient(90deg, rgba(0,216,255,.12), transparent); transform: translateX(-105%); transition: transform .3s ease; }
.signal-link:hover { color: #03111d; border-color: rgba(0,216,255,.45); box-shadow: 0 8px 24px rgba(0,158,198,.12); }
.signal-link:hover::before { transform: translateX(0); }

/* Bento hero news cards. */
.hero { position: relative; padding: 26px 0 28px; }
.hero-grid { gap: 16px; min-height: 590px; }

.hero-carousel {
  position: relative;
  min-width: 0;
  min-height: 100%;
  overflow: hidden;
  background: var(--neo-night-2);
  border: 1px solid rgba(0,216,255,.15);
  border-radius: 28px 8px 28px 8px;
  box-shadow: 0 26px 70px rgba(4,25,43,.2);
  isolation: isolate;
}

.hero-grid--side-count-0 .hero-carousel { grid-column: 1 / -1; }
.hero-grid--side-count-1 .hero-card--small { grid-row: 1 / 3; }
.hero-carousel__slides { position: absolute; inset: 0; }
.hero-carousel__slide { position: absolute; inset: 0; min-height: 100%; visibility: hidden; opacity: 0; pointer-events: none; transform: scale(1.035); transition: opacity .58s ease, transform .9s cubic-bezier(.2,.7,.2,1), visibility 0s linear .6s; }
.hero-carousel__slide.is-active { z-index: 2; visibility: visible; opacity: 1; pointer-events: auto; transform: scale(1); transition-delay: 0s; }
.hero-carousel__slide .hero-card__media img { transform: scale(1.055); transition: transform 7.8s cubic-bezier(.18,.65,.28,1); }
.hero-carousel__slide.is-active .hero-card__media img { transform: scale(1); }
.hero-carousel__slide.is-active:hover .hero-card__media img { transform: scale(1.035); }

.hero-carousel__controls {
  position: absolute;
  z-index: 8;
  top: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px;
  color: #dcecf6;
  background: rgba(3,14,27,.72);
  border: 1px solid rgba(0,216,255,.17);
  border-radius: 13px 5px 13px 5px;
  box-shadow: 0 13px 32px rgba(0,0,0,.26);
  backdrop-filter: blur(15px);
}

.hero-carousel__button { width: 33px; height: 33px; display: grid; place-items: center; padding: 0; color: #c9dce8; background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.08); border-radius: 8px 3px 8px 3px; }
.hero-carousel__button:hover { color: #02111b; background: var(--neo-cyan); border-color: var(--neo-cyan); box-shadow: 0 0 18px rgba(0,216,255,.28); }
.hero-carousel__button svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; }
.hero-carousel__dots { display: flex; align-items: center; gap: 5px; padding: 0 3px; }
.hero-carousel__dot { width: 7px; height: 7px; padding: 0; background: #6d8395; border: 0; border-radius: 999px; box-shadow: none; transition: width .28s ease, background .28s ease, box-shadow .28s ease; }
.hero-carousel__dot:hover { background: #fff; }
.hero-carousel__dot.is-active { width: 23px; background: var(--neo-cyan); box-shadow: 0 0 13px rgba(0,216,255,.75); }
.hero-carousel__progress { position: absolute; z-index: 9; right: 0; bottom: 0; left: 0; height: 3px; overflow: hidden; background: rgba(255,255,255,.05); }
.hero-carousel__progress span { display: block; width: 0; height: 100%; background: linear-gradient(90deg, var(--neo-cyan), var(--neo-blue), var(--neo-violet)); box-shadow: 0 0 14px var(--neo-cyan); }
.hero-carousel.is-running .hero-carousel__progress span { animation: hero-carousel-progress var(--hero-carousel-interval, 7s) linear forwards; }

.hero-card {
  border: 1px solid rgba(0,216,255,.12);
  border-radius: 28px 8px 28px 8px;
  box-shadow: 0 26px 70px rgba(4,25,43,.2);
}

.hero-card::after {
  position: absolute;
  z-index: 3;
  top: 0;
  right: 0;
  width: 72px;
  height: 72px;
  pointer-events: none;
  content: "";
  border-top: 2px solid var(--neo-cyan);
  border-right: 2px solid var(--neo-cyan);
  border-radius: 0 8px 0 0;
  opacity: .55;
}

.hero-card__media::after { background: linear-gradient(180deg, rgba(2,8,17,.03) 10%, rgba(2,8,17,.35) 44%, rgba(2,8,17,.96) 100%); }
.hero-card__placeholder { color: rgba(255,255,255,.05); background:
  radial-gradient(circle at 78% 18%, rgba(0,216,255,.24), transparent 25%),
  radial-gradient(circle at 22% 82%, rgba(125,92,255,.19), transparent 28%),
  linear-gradient(140deg, #153c5b, #081829 62%, #050b15); }
.hero-card__placeholder::before { position: absolute; inset: 0; content: ""; opacity: .18; background-image: linear-gradient(rgba(0,216,255,.2) 1px, transparent 1px), linear-gradient(90deg, rgba(0,216,255,.2) 1px, transparent 1px); background-size: 34px 34px; mask-image: linear-gradient(135deg, #000, transparent 70%); }
.hero-card__content { z-index: 4; }
.hero-card .post-kicker { color: var(--neo-cyan-soft); }
.hero-card .post-kicker::before { box-shadow: 0 0 10px currentColor; }
.hero-card__title { text-shadow: 0 8px 28px rgba(0,0,0,.45); }
.hero-card--lead .hero-card__title { max-width: 790px; }
.hero-card--small:nth-child(2) .hero-card__placeholder { background: radial-gradient(circle at 80% 18%, rgba(255,63,141,.24), transparent 28%), linear-gradient(140deg, #293456, #0b182a 70%); }
.hero-card--small:nth-child(3) .hero-card__placeholder { background: radial-gradient(circle at 20% 12%, rgba(125,92,255,.28), transparent 28%), linear-gradient(140deg, #24366c, #081523 70%); }

.empty-hero { border: 1px solid rgba(0,216,255,.2); border-radius: 28px 8px 28px 8px; background: radial-gradient(circle at 75% 18%, rgba(0,216,255,.22), transparent 25%), radial-gradient(circle at 15% 75%, rgba(125,92,255,.18), transparent 28%), var(--neo-night-2); box-shadow: 0 28px 75px rgba(5,29,49,.2); }
.empty-hero__eyebrow { color: var(--neo-cyan); }

.content-section { position: relative; padding: 66px 0; }
.content-section--soft { background: linear-gradient(180deg, rgba(234,243,249,.76), rgba(247,250,252,.9)); border-top: 1px solid rgba(20,71,103,.06); border-bottom: 1px solid rgba(20,71,103,.06); }
.content-section--dark { background:
  radial-gradient(circle at 90% 15%, rgba(125,92,255,.2), transparent 26%),
  radial-gradient(circle at 7% 90%, rgba(0,216,255,.12), transparent 27%),
  linear-gradient(145deg, #06111f, #0a1d32 65%, #081425); }

.content-section--dark::before { position: absolute; inset: 0; pointer-events: none; content: ""; opacity: .1; background-image: linear-gradient(rgba(0,216,255,.2) 1px, transparent 1px), linear-gradient(90deg, rgba(0,216,255,.2) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(90deg, transparent, #000, transparent); }
.content-section > .container { position: relative; }

.section-heading__eyebrow { color: #087b96; letter-spacing: .18em; }
.section-heading h2,
.archive-header h1 { color: #0b2238; font-size: clamp(30px, 4vw, 46px); }
.content-section--dark .section-heading__eyebrow { color: var(--neo-cyan); }
.section-heading__line { width: 92px; height: 3px; background: linear-gradient(90deg, var(--neo-cyan) 0 56%, var(--neo-violet) 56% 78%, rgba(34,78,108,.18) 78%); box-shadow: -12px 0 22px rgba(0,216,255,.15); }
.section-link { padding: 9px 13px; color: #26465f; border: 1px solid rgba(22,71,104,.12); border-radius: 9px 4px 9px 4px; }
.section-link:hover { color: #001018; background: var(--neo-cyan); border-color: var(--neo-cyan); box-shadow: 0 0 25px rgba(0,216,255,.2); }
.content-section--dark .section-link { color: #c7dce9; border-color: rgba(0,216,255,.16); }

.post-card {
  position: relative;
  padding: 10px;
  background: var(--neo-surface);
  border: 1px solid rgba(18,65,96,.09);
  border-radius: 21px 7px 21px 7px;
  box-shadow: 0 13px 36px rgba(10,44,69,.075);
  backdrop-filter: blur(14px);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.post-card:hover { border-color: rgba(0,178,219,.3); box-shadow: 0 22px 58px rgba(7,39,64,.14), 0 0 0 1px rgba(0,216,255,.06); transform: translateY(-6px); }
.post-card__media { border-radius: 16px 5px 16px 5px; }
.post-card__placeholder { position: relative; overflow: hidden; color: rgba(8,53,82,.2); background:
  radial-gradient(circle at 78% 18%, rgba(0,216,255,.25), transparent 25%),
  linear-gradient(135deg, #d8ebf3, #edf4f8 55%, #d5e5ee); }
.post-card__placeholder::after { position: absolute; inset: 0; content: ""; opacity: .24; background-image: linear-gradient(rgba(20,76,108,.15) 1px, transparent 1px), linear-gradient(90deg, rgba(20,76,108,.15) 1px, transparent 1px); background-size: 24px 24px; mask-image: linear-gradient(135deg, #000, transparent 78%); }
.post-card__category { color: #00131c; background: var(--neo-cyan); border-radius: 7px 3px 7px 3px; box-shadow: 0 0 20px rgba(0,216,255,.26); }
.post-card__content { padding: 16px 7px 8px; }
.post-card__title { color: #10273e; }
.post-card__title a:hover { color: #007f9c; }
.post-meta__dot { color: var(--neo-cyan); box-shadow: 0 0 7px var(--neo-cyan); }

.post-card--opinion {
  padding: 29px;
  overflow: hidden;
  background: linear-gradient(150deg, rgba(255,255,255,.96), rgba(238,248,252,.9));
  border-color: rgba(0,216,255,.14);
}

.post-card--opinion::before { top: -18px; left: auto; right: -18px; width: 86px; height: 86px; background: transparent; border: 17px solid rgba(0,216,255,.09); border-radius: 50%; }
.post-card--opinion::after { position: absolute; right: 24px; bottom: 15px; content: "“"; color: rgba(0,111,142,.08); font-family: Georgia, serif; font-size: 110px; line-height: 1; }
.post-card--opinion .post-card__content { position: relative; z-index: 1; }
.opinion-author img { box-shadow: 0 0 0 3px rgba(0,216,255,.12); }

.widget,
.sidebar-card {
  background: rgba(255,255,255,.78);
  border-color: rgba(17,65,96,.1);
  border-radius: 20px 7px 20px 7px;
  box-shadow: var(--neo-glow);
  backdrop-filter: blur(16px);
}

.widget-title,
.sidebar-card__title { color: #0b253b; }
.widget-title::after,
.sidebar-card__title::after { height: 2px; background: linear-gradient(90deg, var(--neo-cyan), var(--neo-violet)); box-shadow: 0 0 12px rgba(0,216,255,.25); }
.popular-item::before { color: #008caa; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }

.ad-card {
  min-height: 285px;
  background:
    radial-gradient(circle at 80% 12%, rgba(0,216,255,.28), transparent 28%),
    radial-gradient(circle at 15% 90%, rgba(255,63,141,.2), transparent 30%),
    linear-gradient(145deg, #071728, #102f4d);
  border: 1px solid rgba(0,216,255,.2);
  border-radius: 26px 7px 26px 7px;
  box-shadow: 0 25px 65px rgba(4,28,48,.24);
}
.ad-card::before { border-color: rgba(0,216,255,.1); }
.ad-card__label { color: #001018; background: var(--neo-cyan); }
.ad-card p { color: #9eb8ca; }

.content-ad-card {
  background:
    radial-gradient(circle at 88% 20%, rgba(0,216,255,.22), transparent 24%),
    radial-gradient(circle at 15% 110%, rgba(125,92,255,.18), transparent 27%),
    linear-gradient(125deg, #061423, #0b2943 62%, #091a30);
  border: 1px solid rgba(0,216,255,.18);
  box-shadow: 0 20px 55px rgba(4,28,48,.17);
}
.content-ad-card::before { position: absolute; inset: 0; pointer-events: none; content: ""; opacity: .15; background-image: linear-gradient(rgba(0,216,255,.18) 1px, transparent 1px), linear-gradient(90deg, rgba(0,216,255,.18) 1px, transparent 1px); background-size: 38px 38px; mask-image: linear-gradient(90deg, transparent, #000); }
.content-ad-card::after { position: absolute; top: -95px; right: 8%; width: 230px; height: 180px; pointer-events: none; content: ""; border: 1px solid rgba(0,216,255,.12); border-radius: 50%; box-shadow: 0 0 0 25px rgba(0,216,255,.025), 0 0 0 50px rgba(125,92,255,.018); transform: rotate(-12deg); }
.content-ad-card:hover { border-color: rgba(0,216,255,.4); box-shadow: 0 24px 62px rgba(4,28,48,.22), 0 0 34px rgba(0,216,255,.08); }
.content-ad-card__label { background: var(--neo-cyan); box-shadow: 0 0 20px rgba(0,216,255,.28); }
.content-ad-card__action { color: var(--neo-cyan-soft); background: rgba(0,216,255,.055); }
.content-ad-card:hover .content-ad-card__action { color: #03111d; background: var(--neo-cyan); border-color: var(--neo-cyan); }

.archive-hero {
  color: #e9f7ff;
  background:
    radial-gradient(circle at 85% 15%, rgba(0,216,255,.2), transparent 26%),
    linear-gradient(135deg, #061424, #0d2b48);
  border-bottom-color: rgba(0,216,255,.2);
}
.archive-header h1 { color: #fff; }
.archive-header .archive-description { color: #a7bdcd; }
.archive-hero .breadcrumb { color: #8ba5b7; }

.single-shell,
.page-shell { position: relative; }
.single-shell::before,
.page-shell::before { position: absolute; top: -160px; right: -200px; width: 520px; height: 520px; pointer-events: none; content: ""; background: radial-gradient(circle, rgba(0,216,255,.1), transparent 65%); }
.entry-title,
.page-title { color: #0b2238; }
.entry-featured img { border-radius: 26px 7px 26px 7px; box-shadow: 0 24px 60px rgba(6,34,56,.14); }
.entry-content a { color: #007f9c; }
.entry-content blockquote { border-image: linear-gradient(var(--neo-cyan), var(--neo-violet)) 1; }
.article-tags a:hover { color: #001018; background: var(--neo-cyan); }
.share-button { background: #0b263f; border: 1px solid rgba(0,216,255,.13); }
.share-button:hover { color: #001018; background: var(--neo-cyan); }
.share-button--whatsapp:hover { color: #fff; background: #20b86a; border-color: #20b86a; }
.share-button--facebook:hover { color: #fff; background: #1877f2; border-color: #1877f2; }
.share-button--x:hover { color: #fff; background: #05080c; border-color: #05080c; }
.author-box { background: linear-gradient(135deg, rgba(0,216,255,.07), rgba(125,92,255,.055)); border: 1px solid rgba(20,71,103,.08); border-radius: 22px 7px 22px 7px; }

.contact-form {
  background: rgba(255,255,255,.82);
  border-color: rgba(0,135,170,.14);
  border-radius: 26px 8px 26px 8px;
  box-shadow: var(--neo-glow);
  backdrop-filter: blur(18px);
}
.contact-info__item { position: relative; overflow: hidden; background: linear-gradient(135deg, rgba(0,216,255,.08), rgba(125,92,255,.045)); border: 1px solid rgba(18,67,99,.09); border-radius: 17px 6px 17px 6px; }
.contact-info__item::after { position: absolute; top: -28px; right: -28px; width: 70px; height: 70px; content: ""; border: 12px solid rgba(0,216,255,.08); border-radius: 50%; }
.contact-info__label { color: #007e9a; }

.map-section { margin-top: 42px; }
.map-shell { position: relative; padding: 9px; overflow: hidden; background: linear-gradient(135deg, rgba(0,216,255,.7), rgba(125,92,255,.6), rgba(255,63,141,.48)); border-radius: 30px 9px 30px 9px; box-shadow: 0 28px 75px rgba(4,31,52,.18); }
.map-shell::before { position: absolute; inset: 1px; z-index: 0; content: ""; background: #fff; border-radius: 29px 8px 29px 8px; }
.map-shell iframe { position: relative; z-index: 1; width: 100%; height: 440px; display: block; border: 0; border-radius: 22px 5px 22px 5px; filter: saturate(.8) contrast(1.04); }
.map-meta { position: absolute; z-index: 2; right: 25px; bottom: 25px; left: 25px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 20px; color: #dcecf6; background: rgba(3,14,26,.9); border: 1px solid rgba(0,216,255,.18); border-radius: 15px 5px 15px 5px; box-shadow: 0 18px 40px rgba(0,0,0,.3); backdrop-filter: blur(16px); }
.map-meta strong { display: block; color: #fff; font-size: 14px; }
.map-meta span { color: #93acbe; font-size: 11px; }
.map-meta a { flex: 0 0 auto; color: var(--neo-cyan-soft); font-size: 11px; font-weight: 850; }

.pricing-card { border-color: rgba(0,135,170,.12); border-radius: 24px 7px 24px 7px; box-shadow: var(--neo-glow); }
.pricing-card--featured { background: linear-gradient(145deg, #071727, #0d2b47); border-color: rgba(0,216,255,.24); box-shadow: 0 25px 70px rgba(4,30,51,.26), 0 0 45px rgba(0,216,255,.08); }
.pricing-card__label { color: #0088a7; }

.about-hero { background: radial-gradient(circle at 82% 16%, rgba(0,216,255,.24), transparent 26%), radial-gradient(circle at 18% 100%, rgba(125,92,255,.2), transparent 25%), linear-gradient(145deg, #061424, #0e2f4e); border: 1px solid rgba(0,216,255,.17); border-radius: 32px 9px 32px 9px; box-shadow: 0 30px 80px rgba(4,31,53,.22); }
.about-hero::after { border-color: rgba(0,216,255,.1); }
.value-card { background: rgba(255,255,255,.76); border: 1px solid rgba(18,66,98,.09); border-radius: 20px 6px 20px 6px; box-shadow: 0 14px 38px rgba(7,42,67,.07); backdrop-filter: blur(15px); }
.value-card__number { color: #0087a4; font-family: ui-monospace, monospace; }

.cta-band {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 90% 0, rgba(0,216,255,.25), transparent 26%),
    linear-gradient(115deg, #091a2d, #103959 62%, #112542);
  border-top: 1px solid rgba(0,216,255,.19);
}
.cta-band::before { position: absolute; top: -110px; left: 28%; width: 360px; height: 220px; content: ""; border: 1px solid rgba(0,216,255,.14); border-radius: 50%; box-shadow: 0 0 0 30px rgba(0,216,255,.025), 0 0 0 60px rgba(125,92,255,.02); }
.cta-band__inner { position: relative; }

.site-footer { position: relative; overflow: hidden; background: #020812; }
.site-footer::before { position: absolute; inset: 0; pointer-events: none; content: ""; opacity: .11; background-image: linear-gradient(rgba(0,216,255,.17) 1px, transparent 1px), linear-gradient(90deg, rgba(0,216,255,.17) 1px, transparent 1px); background-size: 46px 46px; mask-image: linear-gradient(to bottom, #000, transparent); }
.footer-main,
.footer-bottom { position: relative; }
.footer-brand .site-title { color: #fff; }
.footer-brand .site-branding { position: relative; }
.footer-contact a { color: var(--neo-cyan-soft); }
.social-links--footer .social-link { background: rgba(0,216,255,.055); border-color: rgba(0,216,255,.17); }
.footer-widget .widget-title::after { background: var(--neo-cyan); }
.back-to-top { color: #001018; background: var(--neo-cyan); border: 1px solid #9befff; border-radius: 12px 4px 12px 4px; box-shadow: 0 0 28px rgba(0,216,255,.3); }

.empty-state { background: rgba(255,255,255,.65); border-color: rgba(0,145,178,.25); border-radius: 22px 7px 22px 7px; backdrop-filter: blur(12px); }

@keyframes neo-pulse {
  0%, 100% { opacity: .55; transform: scale(.88); }
  50% { opacity: 1; transform: scale(1.08); }
}

@keyframes neo-pulse-dark {
  0%, 100% { opacity: .45; box-shadow: 0 0 0 0 rgba(3,17,31,.3); }
  50% { opacity: 1; box-shadow: 0 0 0 5px rgba(3,17,31,.13); }
}

@keyframes ticker-progress {
  from { width: 0; }
  to { width: 100%; }
}

@keyframes hero-carousel-progress {
  from { width: 0; }
  to { width: 100%; }
}

@media (max-width: 1080px) {
  .signal-console { grid-template-columns: minmax(150px, .22fr) minmax(0, 1fr); }
  .signal-link { align-items: flex-start; flex-direction: column; justify-content: center; gap: 4px; }
}

@media (max-width: 860px) {
  body::before { opacity: .14; }
  .brandbar__inner { min-height: 96px; }
  .nav-shell { backdrop-filter: none; }
  .nav-shell__inner { min-height: 52px; }
  .main-navigation { background: linear-gradient(160deg, rgba(4,16,30,.99), rgba(8,35,58,.99)); border-left: 1px solid rgba(0,216,255,.18); }
  .main-navigation a { color: #dce8f1; font-size: 14px; }
  .main-navigation .current-menu-item > a,
  .main-navigation .current-menu-ancestor > a { color: #03111d; background: var(--neo-cyan); border-color: var(--neo-cyan); text-shadow: none; }
  .main-navigation .sub-menu a { color: #b8c5d3; }
  .mobile-menu-heading span { color: var(--neo-cyan); }
  .signal-hero { padding-top: 22px; }
  .signal-console { grid-template-columns: 1fr; }
  .signal-console__top { align-items: center; justify-content: space-between; flex-direction: row; padding: 0 0 13px; border-right: 0; border-bottom: 1px solid rgba(22,66,96,.11); }
  .signal-console__top::before { margin-right: auto; }
  .signal-console__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-carousel { min-height: 440px; }
  .hero-grid--side-count-1 .hero-card--small { grid-column: 1 / -1; grid-row: auto; }
  .news-ticker__inner { grid-template-columns: auto minmax(0, 1fr) auto; }
  .map-shell iframe { height: 390px; }
}

@media (max-width: 600px) {
  .container { width: min(calc(100% - 24px), var(--wn-container)); }
  .topbar__inner { min-height: 31px; }
  .brandbar__inner { min-height: 92px; }
  .brand-mark { flex-basis: 50px; width: 50px; height: 50px; }
  .site-title { font-size: clamp(19px, 6.2vw, 24px); }
  .site-tagline { max-width: 230px; letter-spacing: .1em; }
  .nav-shell__inner { min-height: 50px; }
  .main-navigation { width: min(380px, 91vw); padding-inline: 16px; }
  .main-navigation a { min-height: 50px; padding: 11px 13px; font-size: 14px; }
  .news-ticker__inner { min-height: 0; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "label controls" "viewport viewport"; gap: 8px 10px; padding-block: 10px 12px; }
  .news-ticker__label { grid-area: label; align-self: center; padding: 7px 10px 7px 23px; font-size: 8px; }
  .news-ticker__controls { position: static; grid-area: controls; justify-self: end; gap: 4px; transform: none; }
  .ticker-button { width: 34px; height: 34px; }
  .ticker-count { min-width: 35px; font-size: 8px; }
  .news-ticker__viewport { grid-area: viewport; height: 38px; }
  .news-ticker__item { display: -webkit-box; padding: 2px 3px 0 0; overflow: hidden; font-size: 11px; line-height: 1.45; white-space: normal; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
  .signal-console { gap: 13px; padding: 15px; }
  .signal-console__top { padding-bottom: 11px; }
  .signal-console__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
  .signal-link { min-height: 54px; align-items: center; justify-content: center; flex-direction: row; padding: 8px 5px; font-size: 10px; line-height: 1.2; text-align: center; }
  .signal-link small { display: none; }
  .hero-grid { min-height: 0; }
  .hero-carousel { height: 430px; min-height: 430px; margin-bottom: 12px; border-radius: 22px 6px 22px 6px; }
  .hero-carousel__controls { top: 12px; right: 12px; left: 12px; justify-content: space-between; gap: 4px; padding: 6px; }
  .hero-carousel__button { width: 34px; height: 34px; flex: 0 0 auto; }
  .hero-carousel__dots { flex: 1; justify-content: center; }
  .hero-carousel__dot { width: 6px; height: 6px; }
  .hero-carousel__dot.is-active { width: 17px; }
  .hero-carousel__slide { margin-bottom: 0; }
  .hero-card { border-radius: 22px 6px 22px 6px; }
  .hero-card--lead .hero-card__content { padding: 22px 20px 24px; }
  .hero-card--lead .hero-card__title { font-size: clamp(24px, 7.6vw, 30px); line-height: 1.12; }
  .hero-card--lead .post-meta > span:first-child,
  .hero-card--lead .post-meta > span:nth-child(2) { display: none; }
  .hero-card--lead .post-meta { gap: 7px; margin-top: 10px; font-size: 9px; }
  .hero-card--small { min-height: 190px; }
  .hero-card--small .hero-card__content { padding: 18px; }
  .content-section { padding: 36px 0; }
  .post-card { padding: 7px; border-radius: 18px 6px 18px 6px; }
  .post-card--opinion { padding: 23px; }
  .single-shell,
  .page-shell { padding: 38px 0 52px; }
  .page-title { font-size: clamp(32px, 9.5vw, 42px); }
  .page-intro { margin-bottom: 25px; font-size: 16px; }
  .contact-form { padding: 20px; }
  .map-section { margin-top: 30px; }
  .map-shell { padding: 6px; }
  .map-shell iframe { height: 330px; }
  .map-meta { position: relative; right: auto; bottom: auto; left: auto; align-items: flex-start; flex-direction: column; gap: 10px; margin: 7px; }
  .map-meta a { min-height: 40px; display: inline-flex; align-items: center; }
}

@media (max-width: 380px) {
  .brand-mark { flex-basis: 44px; width: 44px; height: 44px; font-size: 14px; }
  .site-title,
  .site-tagline { max-width: calc(100vw - 94px); }
  .ticker-button { width: 32px; height: 32px; }
  .ticker-count { min-width: 29px; }
  .signal-console { padding: 13px 10px; }
  .signal-link { padding-inline: 3px; font-size: 9px; }
  .hero-carousel { height: 410px; min-height: 410px; }
  .hero-carousel__controls { right: 9px; left: 9px; }
  .hero-carousel__button { width: 31px; height: 31px; }
  .hero-card--lead .hero-card__content { padding-inline: 18px; }
  .posts-grid > .post-card:not(.post-card--opinion) { grid-template-columns: 98px minmax(0, 1fr); gap: 10px; }
  .posts-grid > .post-card:not(.post-card--opinion) .post-card__media { min-height: 98px; }
  .footer-widget:last-child .footer-nav { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .topbar__dot,
  .signal-console__top::before,
  .news-ticker__label::before,
  .news-ticker.is-running .news-ticker__progress span,
  .hero-carousel.is-running .hero-carousel__progress span { animation: none !important; }
  .hero-carousel__slide,
  .hero-carousel__slide .hero-card__media img { transition: none; }
}

@media print {
  body { background: #fff; }
  body::before,
  .signal-hero { display: none; }
}
