:root {
  --green-900: #113a19;
  --green-800: #1f5f27;
  --green-700: #2f7729;
  --green-100: #e7f2e4;
  --orange-600: #f28718;
  --orange-100: #fff0dd;
  --ink: #172018;
  --muted: #5b6c5c;
  --line: rgba(17, 58, 25, .16);
  --surface: #ffffff;
  --soft: #f7faf5;
  --shadow: 0 18px 44px rgba(21, 53, 24, .12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.antena-florida-page {
  margin: 0;
  min-height: 100%;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(231, 242, 228, .85), rgba(255, 255, 255, .96) 42%, rgba(247, 250, 245, 1) 100%);
}

body.modal-open {
  overflow: hidden;
}

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

.shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(14px);
}

.admin-bar .site-header {
  top: 32px;
}

.header__inner {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto minmax(120px, 1fr);
  align-items: center;
  gap: 18px;
  min-height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 0;
}

.brand__logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
  flex: 0 0 auto;
}

.brand__text {
  display: grid;
  min-width: 0;
}

.brand__name {
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
}

.brand__tagline {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.2;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  border-radius: 8px;
  color: var(--green-900);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.nav-links a:hover {
  background: var(--green-100);
}

.social-links {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.social-links a {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--green-800);
  background: var(--surface);
}

.social-links a:hover {
  color: #fff;
  border-color: var(--green-800);
  background: var(--green-800);
}

.ticker {
  position: sticky;
  top: 74px;
  z-index: 20;
  border-bottom: 1px solid rgba(17, 58, 25, .12);
  background: var(--green-900);
  color: #fff;
}

.admin-bar .ticker {
  top: 106px;
}

.ticker__inner {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 42px;
}

.ticker__label {
  flex: 0 0 auto;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--orange-600);
  color: #1d160d;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
}

.ticker__link {
  min-width: 0;
  overflow: hidden;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: opacity .2s ease;
}

.ticker__link.is-changing {
  opacity: .22;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 116px);
  padding: 54px 0 46px;
  background:
    linear-gradient(120deg, rgba(17, 58, 25, .96), rgba(31, 95, 39, .92)),
    var(--green-900);
  color: #fff;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -34% auto;
  width: min(620px, 82vw);
  aspect-ratio: 1;
  background: url("../img/antena-florida-logo.png") center / contain no-repeat;
  opacity: .1;
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  align-items: center;
  gap: 34px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--orange-600);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  font-size: 82px;
  line-height: .95;
  letter-spacing: 0;
}

.hero__slogan {
  max-width: 560px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, .86);
  font-size: 23px;
  line-height: 1.3;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--green-900);
  background: #fff;
  cursor: pointer;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  border-color: var(--orange-600);
  color: #1d160d;
  background: var(--orange-600);
}

.btn--primary:hover {
  background: #ff9a33;
}

.btn--ghost {
  border-color: rgba(255, 255, 255, .32);
  color: #fff;
  background: rgba(255, 255, 255, .1);
}

.btn--small {
  min-height: 38px;
  padding: 0 12px;
  font-size: 13px;
}

.live-panel {
  display: grid;
  gap: 18px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 8px;
  background: rgba(255, 255, 255, .94);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.live-panel__logo {
  width: min(100%, 320px);
  margin: 0 auto;
  aspect-ratio: 1;
  object-fit: contain;
}

.live-panel__content {
  display: grid;
  gap: 8px;
}

.live-panel__status {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--green-900);
  background: var(--green-100);
  font-size: 13px;
  font-weight: 900;
}

.live-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--orange-600);
  box-shadow: 0 0 0 6px rgba(242, 135, 24, .16);
}

.live-panel h2 {
  margin: 0;
  color: var(--green-900);
  font-size: 28px;
  line-height: 1.05;
  letter-spacing: 0;
}

.live-panel p {
  margin: 0;
  color: var(--muted);
}

.live-panel__track {
  min-height: 42px;
  overflow: hidden;
  padding: 12px;
  border-left: 4px solid var(--orange-600);
  border-radius: 8px;
  background: var(--soft);
  color: var(--green-900);
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.section {
  padding: 64px 0;
}

.section__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.section h2 {
  margin: 0;
  color: var(--green-900);
  font-size: 34px;
  line-height: 1.05;
  letter-spacing: 0;
}

.section__text {
  max-width: 520px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

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

.news-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 8px 24px rgba(21, 53, 24, .08);
}

.news-card__image {
  display: block;
  width: 100%;
  height: 162px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: var(--green-100);
  cursor: pointer;
}

.news-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-card__body {
  display: grid;
  gap: 8px;
  padding: 14px;
}

.news-card__title {
  padding: 0;
  border: 0;
  color: var(--green-900);
  background: transparent;
  cursor: pointer;
  font-weight: 900;
  line-height: 1.25;
  text-align: left;
}

.news-card__title:hover {
  text-decoration: underline;
}

.news-card p {
  display: -webkit-box;
  min-height: 58px;
  margin: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.news-card span {
  color: #708071;
  font-size: 12px;
}

.section--contact {
  background: linear-gradient(180deg, var(--soft), #fff);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 460px;
  gap: 38px;
  align-items: start;
}

.contact-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.contact-socials a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--green-900);
  background: #fff;
  font-weight: 900;
  text-decoration: none;
}

.contact-form {
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.contact-form label {
  color: var(--green-900);
  font-size: 13px;
  font-weight: 900;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  color: var(--ink);
  background: var(--soft);
}

.contact-form input:focus,
.contact-form textarea:focus,
.playerbar input:focus,
.btn:focus-visible,
.news-card__title:focus-visible,
.news-card__image:focus-visible {
  outline: 3px solid rgba(242, 135, 24, .32);
  outline-offset: 2px;
}

.honeypot {
  position: absolute;
  left: -9999px;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
}

.form-status,
.muted {
  color: var(--muted);
}

.playerbar {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 40;
  border-top: 1px solid rgba(17, 58, 25, .18);
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 -18px 44px rgba(21, 53, 24, .16);
  backdrop-filter: blur(14px);
}

.playerbar__inner {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.playerbar__meta {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
}

.playerbar__badge {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  color: #fff;
  background: var(--green-800);
  font-size: 12px;
  font-weight: 900;
}

.playerbar__meta div {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.playerbar__meta strong,
.playerbar__meta span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.playerbar__meta span {
  color: var(--muted);
  font-size: 13px;
}

.playerbar__controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
}

#volRange {
  width: 150px;
  accent-color: var(--green-800);
}

.go-top {
  position: fixed;
  right: 18px;
  bottom: 98px;
  z-index: 35;
  display: flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--green-900);
  background: #fff;
  box-shadow: var(--shadow);
  font-weight: 900;
  opacity: 0;
  pointer-events: none;
  text-decoration: none;
  transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease;
}

.go-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
}

.modal.is-open {
  display: block;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 20, 13, .68);
}

.modal__panel {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(900px, calc(100% - 28px));
  max-height: calc(100vh - 28px);
  overflow: auto;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 28px 70px rgba(0, 0, 0, .28);
  transform: translate(-50%, -50%);
}

.modal__head {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.modal__body {
  padding: 18px;
}

.modal__body h2 {
  margin: 0 0 8px;
  color: var(--green-900);
  font-size: 28px;
  line-height: 1.12;
  letter-spacing: 0;
}

.modal-image {
  display: block;
  width: 100%;
  max-height: 360px;
  margin-bottom: 14px;
  border-radius: 8px;
  object-fit: cover;
}

.modal-meta {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 13px;
}

.article-bullets {
  margin: 12px 0 0;
  padding-left: 20px;
  color: var(--ink);
  line-height: 1.65;
}

.article-bullets li {
  margin-bottom: 8px;
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.site-footer {
  padding: 28px 0 calc(108px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

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

.footer__brand img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.footer__brand div {
  display: grid;
  gap: 3px;
}

.footer__brand span {
  color: var(--muted);
  font-size: 13px;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer__links a {
  color: var(--green-800);
  font-weight: 900;
  text-decoration: none;
}

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

@media (max-width: 920px) {
  .header__inner {
    grid-template-columns: 1fr auto;
    padding: 10px 0;
  }

  .nav-links {
    grid-column: 1 / -1;
    order: 3;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .ticker {
    top: 118px;
  }

  .admin-bar .ticker {
    top: 150px;
  }

  .hero {
    min-height: auto;
  }

  .hero__inner,
  .contact-layout {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 620px) {
  .shell {
    width: min(100% - 24px, 1120px);
  }

  .brand__logo {
    width: 48px;
    height: 48px;
  }

  .brand__tagline {
    display: none;
  }

  .social-links a {
    width: 38px;
    height: 38px;
  }

  .ticker__label {
    display: none;
  }

  .hero {
    padding: 40px 0 34px;
  }

  .hero h1 {
    font-size: 48px;
  }

  .hero__slogan {
    font-size: 20px;
  }

  .hero__actions,
  .section__head,
  .playerbar__inner,
  .playerbar__controls {
    align-items: stretch;
    flex-direction: column;
  }

  .section {
    padding: 46px 0;
  }

  .section h2 {
    font-size: 30px;
  }

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

  .news-card__image {
    height: 190px;
  }

  .playerbar__inner {
    padding: 10px 0;
  }

  .playerbar__controls .btn,
  #volRange {
    width: 100%;
  }

  .go-top {
    bottom: 178px;
  }

  .site-footer {
    padding-bottom: calc(190px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }

  .admin-bar .ticker {
    top: 164px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
