/* South Texas Network landing page: the owner-approved changes only (Nov 25 2026).
   Loaded after the mirrored stylesheet (bundle/page.css). Everything not named here is the
   mirrored page, untouched. --stn-sophie-h is the real Sophie bar's height (set by stn-page.mjs). */

/* The mirrored page never loaded a web font; its text used the device's own font. The
   site's Inter is loaded for Sophie's bar only, so the page text keeps its original look. */
:root { --body: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; --stn-sophie-h: 0px; }

/* Sophie's bar inherits nothing from this page that the rest of the site does not give it. */
#amStickySophieRoot { line-height: normal; }

/* Trusted page notes for Sophie (read as headings by her runtime); never shown. */
.stn-sophie-brief { position: absolute; left: -10000px; top: 0; width: 640px; }

/* Room for the real Sophie bar: the page ends above it, and the phone booking bar sits on top of it. */
body { padding-bottom: var(--stn-sophie-h); }
@media (max-width: 760px) {
  body { padding-bottom: calc(64px + var(--stn-sophie-h)); }
  .mobile-booking-bar { bottom: var(--stn-sophie-h); min-height: 52px; padding: 8px 18px; }
}
/* Short phones: the red bar steps aside while the map or the TV group is on screen, so the
   group has the whole screen above Sophie. It returns as soon as the visitor scrolls on. */
@media (max-width: 760px) and (max-height: 700px) {
  .mobile-booking-bar { transition: transform .2s ease, visibility .2s; }
  body.stn-group-active .mobile-booking-bar { transform: translateY(120%); visibility: hidden; }
}
@media (prefers-reduced-motion: reduce) { .mobile-booking-bar { transition: none; } }
/* Booking and question windows stay clear of the bar. */
.conversion-dialog { padding-bottom: calc(24px + var(--stn-sophie-h)); }
.conversion-dialog__panel { max-height: calc(100svh - 48px - var(--stn-sophie-h)); }
@media (max-width: 760px) {
  .conversion-dialog { padding-bottom: var(--stn-sophie-h); }
  .conversion-dialog__panel { max-height: calc(94svh - var(--stn-sophie-h)); }
}
.stn-booking-lengths { display: flex; flex-wrap: wrap; gap: 10px; padding: 0 clamp(24px, 6vw, 68px) 18px; }
.stn-booking-lengths button { min-height: 44px; padding: 0 18px; border: 2px solid #111312; border-radius: 999px; background: transparent; color: #111312; font: inherit; font-weight: 800; cursor: pointer; }
.stn-booking-lengths button[aria-pressed="true"] { background: #111312; color: #fff; }
.stn-booking-lengths button:focus-visible { outline: 3px solid #ff0000; outline-offset: 3px; }
.question-form [data-form-status] { margin: 0 0 14px; font-weight: 700; }
.question-form [data-form-status]:empty { display: none; }

/* ---------- Tap the TV: the parts of the picture are tappable ---------- */
.interactive-proof .screen-layout .screen-region { pointer-events: auto; cursor: pointer; z-index: 2; }
.interactive-proof .screen-layout .screen-region--qr { z-index: 3; }
.interactive-proof .screen-layout .screen-region::after { content: ""; position: absolute; inset: -2px; }
.interactive-proof .screen-layout .screen-region:hover,
.interactive-proof .screen-layout .screen-region:focus-visible,
.interactive-proof .screen-layout:has(.hotspot--main:is(:hover, :focus-visible)) .screen-region--main,
.interactive-proof .screen-layout:has(.hotspot--banner:is(:hover, :focus-visible)) .screen-region--banner,
.interactive-proof .screen-layout:has(.hotspot--cta:is(:hover, :focus-visible)) .screen-region--ticker,
.interactive-proof .screen-layout:has(.hotspot--qr:is(:hover, :focus-visible)) .screen-region--qr {
  opacity: 1; border-color: #ff0000; background: #ff000024; box-shadow: inset 0 0 0 1px #ffffffbf, 0 0 0 3px #ff000059;
}
.interactive-proof .screen-layout .screen-region:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.interactive-proof .screen-layout .screen-region:active { background: #ff00003d; }
/* The QR picture on the TV starts above its outline box; a tap anywhere on the picture counts. */
.interactive-proof .screen-layout .screen-region--qr::after { top: -55%; }
@media (max-width: 760px) {
  /* Thin strips get a finger-sized target that reaches the edge of the TV frame. */
  .interactive-proof .screen-layout .screen-region--banner::after { inset: -2px -9px -2px -14px; }
  .interactive-proof .screen-layout .screen-region--qr::after { inset: -55% -9px -9px -14px; }
  .interactive-proof .screen-layout .screen-region--ticker::after { inset: -14px -2px -9px; }
}

/* ---------- Tap the TV: the picture and its panel share one screen ---------- */
.interactive-proof .screen-layout { width: min(1340px, 100% - 170px, var(--stn-tv-width, 1340px)); }
.interactive-proof .hotspot-copy {
  min-height: var(--stn-copy-height, 0px); margin-top: 22px;
  padding: clamp(16px, 2.2vw, 28px) clamp(24px, 4vw, 52px);
}
.interactive-proof .hotspot-copy h3 { font-size: clamp(1.9rem, 2.7vw, 3rem); }
.interactive-proof .hotspot-copy p { font-size: clamp(.95rem, 1.2vw, 1.1rem); line-height: 1.5; }
@media (max-width: 900px) {
  .interactive-proof .screen-layout { width: min(100%, 920px, var(--stn-tv-width, 920px)); }
}
@media (max-width: 760px) {
  .interactive-proof .hotspot-copy { margin-top: 12px; padding: 30px 16px 12px; gap: 4px; }
  .interactive-proof .hotspot-copy h3 { font-size: 1.45rem; }
  .interactive-proof .hotspot-copy p { font-size: .9rem; line-height: 1.4; }
  .interactive-proof .hotspot-copy small { padding-top: 6px; }
}
/* Wide but short screens: the panel moves beside the picture so the picture stays large. */
.interactive-proof .screen-explainer[data-stn-layout="side"] {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 380px); align-items: center; gap: 12px; max-width: none;
}
.interactive-proof .screen-explainer[data-stn-layout="side"] .screen-layout { width: min(100% - 290px, var(--stn-tv-width, 1340px)); margin: 0 auto; }
.interactive-proof .screen-explainer[data-stn-layout="side"] .hotspot-copy {
  display: flex; flex-direction: column; justify-content: center; gap: 8px; width: 100%; margin: 0; padding: 22px 24px; border-radius: 18px;
}
.interactive-proof .screen-explainer[data-stn-layout="side"] .hotspot-copy h3 { font-size: clamp(1.6rem, 2.2vw, 2.3rem); }

/* ---------- Map explorer: package buttons, layers, map and list share one screen ---------- */
.package-map-section .ampm-explorer { grid-template-rows: minmax(0, 1fr); height: var(--stn-map-height, 650px); min-height: 0; }
.package-map-section .ampm-map { height: 100%; min-height: 0; }
.package-map-section .ampm-map-panel { height: 100%; }
.package-map-section .ampm-directory { height: 100%; min-height: 0; overflow: hidden; }
.package-map-section .ampm-list { max-height: none; min-height: 0; }
@media (min-width: 761px) and (max-height: 900px) {
  .package-map-section .ampm-packages { margin-bottom: 8px; }
  .package-map-section .ampm-package { min-height: 64px; padding: 6px 12px; }
  .package-map-section .ampm-toolbar { padding: 6px 14px; }
}
@media (max-width: 760px) {
  .package-map-section .ampm-packages { padding-bottom: 6px; margin-bottom: 6px; }
  .package-map-section .ampm-package { min-height: 64px; padding: 6px 12px; }
  .package-map-section .ampm-tabs { margin-bottom: 6px; }
  .package-map-section .ampm-tabs button { padding: 7px; }
  .package-map-section .ampm-toolbar { gap: 6px; padding: 8px 12px; }
  .package-map-section .ampm-layers { flex-wrap: nowrap; overflow-x: auto; }
  .package-map-section .ampm-layer { flex: none; }
}

/* ---------- Videos: the site's tap-to-play no-cookie player, opening in place ---------- */
.commercial-showcase .stn-yt { position: relative; display: block; aspect-ratio: 16 / 9; width: 100%; overflow: hidden; background: #000; }
.commercial-showcase .stn-yt > summary { position: absolute; inset: 0; display: block; cursor: pointer; list-style: none; }
.commercial-showcase .stn-yt > summary::-webkit-details-marker { display: none; }
.commercial-showcase .stn-yt > summary img { width: 100%; height: 100%; object-fit: cover; display: block; }
.commercial-showcase .stn-yt > summary i { position: absolute; top: 50%; left: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; transition: transform .2s; filter: drop-shadow(0 12px 24px #0000007a); }
.commercial-showcase .stn-yt > summary svg { width: 100%; height: 100%; display: block; }
.commercial-showcase .stn-yt > summary svg circle { fill: #ff0000; }
.commercial-showcase .stn-yt > summary svg path { fill: #fff; }
.commercial-showcase .stn-yt > summary:is(:hover, :focus-visible) i { transform: scale(1.1); }
.commercial-showcase .stn-yt > summary:focus-visible { outline: 3px solid #ff0000; outline-offset: -3px; }
.commercial-showcase .stn-yt[open] > summary { display: none; }
.commercial-showcase .stn-yt > iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
