/* ==========================================================================
   Webcam Directory — /webcams
   All sizes in px (site base: html { font-size: 62.5% }, 1rem = 10px).
   ========================================================================== */

/* --- Hero --- */
.wc-hero {
  position: relative;
  border-radius: 80px 80px 80px 20px;
  overflow: hidden;
  margin: 10px 0 0;
  min-height: 240px;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center center;
  background-color: #1a3a4a;
}
/* Translucent back-button pill anchored inside the hero's top-left.
   Matches the pattern used on /weather-forecast. */
.wc-hero-back {
  position: absolute;
  top: 34px;
  left: 38px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px 7px 12px;
  background: rgba(0, 0, 0, 0.42);
  color: #fff !important;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2px;
  text-decoration: none !important;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  line-height: 1;
  transition: background 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
}
.wc-hero-back:hover,
.wc-hero-back:focus {
  background: rgba(0, 0, 0, 0.62);
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.45);
  transform: translateX(-2px);
}
.wc-hero-back i {
  font-size: 11px;
  opacity: 0.9;
}
@media (max-width: 540px) {
  .wc-hero-back {
    top: 24px;
    left: 26px;
    font-size: 12px;
    padding: 6px 12px 6px 10px;
  }
}
.wc-hero-overlay {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 60px 5% 28px;
  background: linear-gradient(0deg, rgba(0,0,0,.62) 0%, rgba(0,0,0,.25) 60%, transparent 100%);
}
.wc-hero h1 {
  color: #fff;
  font-size: 34px;
  margin: 0 0 8px;
  text-shadow: 0 2px 8px rgba(0,0,0,.45);
  line-height: 1.15;
}
.wc-hero h1 i { margin-right: 8px; }
.wc-hero p {
  color: rgba(255,255,255,.92);
  font-size: 19px;
  margin: 0;
  max-width: 640px;
  text-shadow: 0 1px 4px rgba(0,0,0,.4);
  line-height: 1.5;
}
@media (min-width: 768px) {
  .wc-hero { min-height: 340px; }
  .wc-hero h1 { font-size: 42px; }
  .wc-hero p { font-size: 21px; }
}

/* --- Island Tabs --- */
.wc-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px auto 6px;
  padding: 0 12px;
  max-width: 780px;
}
.wc-tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 12px 24px;
  border: 2px solid #ddd;
  border-radius: 40px;
  background: #fff;
  color: #555;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s ease;
  white-space: nowrap;
}
.wc-tab:hover {
  border-color: #bbb;
  color: #333;
  background: #f8f8f8;
}
.wc-tab.is-active {
  background: #2a7b5b;
  border-color: #2a7b5b;
  color: #fff;
}
.wc-tab .fa {
  font-size: 14px;
  vertical-align: middle;
  margin-right: 2px;
}
.wc-tab.is-active .fa {
  color: #fff !important;
}

/* --- Category filter pills --- */
.wc-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px auto 28px;
  padding: 0 12px;
}
.wc-filter {
  padding: 8px 18px;
  border: 1.5px solid #ddd;
  border-radius: 30px;
  background: #fff;
  color: #666;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s ease;
}
.wc-filter:hover {
  border-color: #bbb;
  color: #333;
}
.wc-filter.is-active {
  background: #e8f4ec;
  border-color: #2a7b5b;
  color: #2a7b5b;
}

/* --- Section labels --- */
.wc-section-label {
  font-size: 16px;
  font-weight: 700;
  color: #777;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin: 32px 0 18px;
  padding: 0 4px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.wc-section-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #e0e0e0;
}

/* --- Webcam Card Grid --- */
.wc-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 560px) {
  .wc-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .wc-grid { grid-template-columns: repeat(3, 1fr); }
}

/* --- Webcam Card --- */
.wc-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e8e8e8;
  transition: transform .22s ease, box-shadow .22s ease;
  text-decoration: none;
  color: inherit;
}
.wc-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,.10);
}
.wc-card-img {
  position: relative;
  height: 180px;
  overflow: hidden;
  background: #1a2a3a;
}
.wc-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.wc-card:hover .wc-card-img img {
  transform: scale(1.04);
}
.wc-card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  padding: 6px 12px;
  border-radius: 8px;
}
.wc-card-badge i { font-size: 13px; }
.wc-card-live {
  position: absolute;
  top: 10px;
  right: 10px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(220,38,38,.85);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 5px 10px;
  border-radius: 6px;
}
.wc-card-live::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  animation: wc-pulse 1.5s ease-in-out infinite;
}
.wc-card-access {
  position: absolute;
  top: 10px;
  right: 10px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 9px;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 6px;
  background: rgba(120,72,8,.9);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .45px;
  line-height: 1.2;
  text-transform: uppercase;
  white-space: nowrap;
}
.wc-card-access i { font-size: 11px; }
.wc-card--limited { border-color: #e4d3b2; }
@keyframes wc-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .3; }
}

.wc-card-body {
  padding: 16px 18px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.wc-card-body h3 {
  font-size: 19px;
  margin: 0 0 6px;
  color: #1a1a1a;
  line-height: 1.3;
}
.wc-card-body p {
  font-size: 15px;
  color: #555;
  margin: 0;
  line-height: 1.55;
  flex: 1;
}
.wc-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid #f0f0f0;
}
.wc-card-source {
  font-size: 13px;
  color: #999;
}
.wc-card-cta {
  font-size: 14px;
  font-weight: 700;
  color: #2a7b5b;
  white-space: nowrap;
}
.wc-card:hover .wc-card-cta { color: #1a5a3a; }

/* --- Hidden state for filtering --- */
.wc-card.is-hidden { display: none; }

/* --- Camera access guide --- */
.wc-access-guide {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 18px 0 26px;
  padding: 12px 14px;
  border: 1px solid #d8e8dd;
  border-left: 4px solid #2a7b5b;
  border-radius: 10px;
  background: #f8faf9;
}
.wc-access-title {
  display: flex;
  align-items: center;
  flex: 0 0 174px;
  gap: 9px;
  min-width: 0;
}
.wc-access-title > i {
  flex: 0 0 auto;
  color: #2a7b5b;
  font-size: 17px;
}
.wc-access-title strong {
  display: block;
  color: #17313b;
  font-size: 14px;
  line-height: 1.25;
}
.wc-access-title span {
  display: block;
  margin-top: 1px;
  color: #556660;
  font-size: 11px;
  line-height: 1.35;
}
.wc-access-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  flex: 1 1 auto;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.wc-access-list li {
  min-width: 0;
  padding: 8px 9px;
  border: 1px solid #e2e9e6;
  border-radius: 8px;
  background: #fff;
  color: #64716c;
  font-size: 11px;
  line-height: 1.35;
}
.wc-access-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.wc-access-label i {
  color: #2a7b5b;
  font-size: 12px;
}
.wc-access-list li.is-limited {
  border-color: #ead8b5;
  background: #fffbf3;
}
.wc-access-list li.is-limited .wc-access-label i { color: #9a620e; }
.wc-access-list strong {
  color: #31463e;
  font-size: 12px;
  line-height: 1.25;
}
.wc-access-detail {
  display: block;
  margin-top: 2px;
}
@media (max-width: 760px) {
  .wc-access-guide {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
  }
  .wc-access-title { flex-basis: auto; }
}
@media (max-width: 620px) {
  .wc-access-guide { padding: 11px 12px; }
  .wc-access-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wc-access-list li.is-limited { grid-column: 1 / -1; }
}
@media (max-width: 340px) {
  .wc-access-list { grid-template-columns: 1fr; }
  .wc-access-list li.is-limited { grid-column: auto; }
}

/* --- Bottom Links --- */
.wc-bottom-links {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin: 44px 0 30px;
}
@media (min-width: 560px) {
  .wc-bottom-links { grid-template-columns: repeat(2, 1fr); }
}
.wc-bottom-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 26px;
  background: linear-gradient(135deg, #f0f7f4 0%, #e8f4ec 100%);
  border: 1px solid #d0e8db;
  border-radius: 16px;
  text-decoration: none;
  color: #333;
  font-size: 17px;
  transition: box-shadow .2s ease, transform .2s ease;
}
.wc-bottom-link:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,.08);
  transform: translateY(-2px);
}
.wc-bottom-link i {
  font-size: 28px;
  color: #2a7b5b;
  flex-shrink: 0;
}
.wc-bottom-link strong {
  color: #2a7b5b;
}

/* --- Intro --- */
.wc-intro {
  max-width: 820px;
  margin: 22px auto 4px;
  padding: 0 4px;
}
.wc-intro p {
  font-size: 17px;
  line-height: 1.6;
  color: #444;
  margin: 0 0 12px;
}
.wc-intro p:last-child { margin-bottom: 0; }

/* --- Hawaii Right Now live context --- */
.wc-now {
  margin: 28px 0 34px;
  padding: 28px;
  border: 1px solid #d8e7e1;
  border-radius: 22px;
  background:
    radial-gradient(circle at 100% 0, rgba(42,123,91,.12), transparent 34%),
    linear-gradient(145deg, #f9fcfb 0%, #eef7f3 100%);
  box-shadow: 0 12px 36px rgba(23,65,50,.08);
}
.wc-now-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 22px;
}
.wc-now-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 5px;
  color: #247052;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.1px;
  text-transform: uppercase;
}
.wc-now-pulse {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #21a66b;
  box-shadow: 0 0 0 5px rgba(33,166,107,.13);
}
.wc-now h2 {
  margin: 0 0 7px;
  color: #163b2d;
  font-size: 27px;
  line-height: 1.2;
}
.wc-now-head p {
  max-width: 740px;
  margin: 0;
  color: #50635b;
  font-size: 15px;
  line-height: 1.55;
}
.wc-now-dashboard {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 17px;
  border: 1px solid #2a7b5b;
  border-radius: 999px;
  background: #2a7b5b;
  color: #fff !important;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none !important;
  white-space: nowrap;
  transition: background .18s ease, transform .18s ease;
}
.wc-now-dashboard:hover,
.wc-now-dashboard:focus {
  background: #1e6047;
  transform: translateY(-1px);
}
.wc-now-dashboard i { font-size: 10px; }
.wc-now-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.wc-now-swipe { display: none; }
.wc-now-card {
  --wc-island-accent: #2a7b5b;
  --wc-island-ink: #1e6047;
  --wc-island-tint: rgba(42,123,91,.09);
  --wc-island-border: rgba(42,123,91,.24);
  min-width: 0;
  padding: 17px;
  border: 1px solid var(--wc-island-border);
  border-top: 4px solid var(--wc-island-accent);
  border-radius: 16px;
  background:
    linear-gradient(180deg, var(--wc-island-tint) 0, rgba(255,255,255,.96) 72px),
    #fff;
  box-shadow: 0 4px 14px rgba(23,65,50,.05);
}
.wc-now-card[data-now-island="oahu"] {
  --wc-island-accent: #F27A24;
  --wc-island-ink: #9A4300;
  --wc-island-tint: rgba(242,122,36,.11);
  --wc-island-border: rgba(242,122,36,.28);
}
.wc-now-card[data-now-island="maui"] {
  --wc-island-accent: #1866B4;
  --wc-island-ink: #0E569A;
  --wc-island-tint: rgba(24,102,180,.10);
  --wc-island-border: rgba(24,102,180,.27);
}
.wc-now-card[data-now-island="big-island"] {
  --wc-island-accent: #C3232F;
  --wc-island-ink: #991A23;
  --wc-island-tint: rgba(195,35,47,.09);
  --wc-island-border: rgba(195,35,47,.25);
}
.wc-now-card[data-now-island="kauai"] {
  --wc-island-accent: #1D9771;
  --wc-island-ink: #147558;
  --wc-island-tint: rgba(29,151,113,.10);
  --wc-island-border: rgba(29,151,113,.27);
}
.wc-now-card:focus-within {
  outline: 2px solid var(--wc-island-accent);
  outline-offset: 2px;
}
.wc-now-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 13px;
  border-bottom: 1px solid #edf2ef;
}
.wc-now-card-head > i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 11px;
  background: var(--wc-island-tint);
  color: var(--wc-island-accent);
  box-shadow: inset 0 0 0 1px var(--wc-island-border);
  font-size: 17px;
}
.wc-now-card-head h3 {
  margin: 0;
  color: var(--wc-island-ink);
  font-size: 17px;
  line-height: 1.15;
}
.wc-now-card-head span {
  display: block;
  margin-top: 2px;
  color: #76857f;
  font-size: 12px;
  line-height: 1.2;
}
.wc-now-signals {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 15px 0 12px;
}
.wc-now-signal { min-width: 0; }
.wc-now-label {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 4px;
  color: #718078;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .45px;
  line-height: 1.2;
  text-transform: uppercase;
  white-space: nowrap;
}
.wc-now-label i {
  color: var(--wc-island-accent);
  font-size: 11px;
}
.wc-now-signal strong {
  display: block;
  overflow: hidden;
  color: #192b24;
  font-size: 17px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.wc-now-signal > span:last-child {
  display: block;
  margin-top: 3px;
  color: #75817c;
  font-size: 11px;
  line-height: 1.4;
}
.wc-now-card-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  padding-top: 11px;
  border-top: 1px solid #edf2ef;
}
.wc-now-card-links a {
  color: var(--wc-island-ink);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.25;
  text-decoration: underline;
  text-decoration-color: var(--wc-island-border);
  text-underline-offset: 3px;
}
.wc-now-card-links a:hover,
.wc-now-card-links a:focus {
  color: var(--wc-island-ink);
  text-decoration-color: currentColor;
}
.wc-now-meta {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin: 13px 2px 0;
}
.wc-now-meta p {
  margin: 0;
  color: #68766f;
  font-size: 12px;
  line-height: 1.5;
}
.wc-now-meta p:first-child {
  flex: 0 0 auto;
  color: #3d5c50;
  font-weight: 700;
}
.wc-now-meta p:last-child {
  max-width: 680px;
  text-align: right;
}
.wc-now-next {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 16px;
}
.wc-now-next a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid rgba(42,123,91,.16);
  border-radius: 12px;
  background: rgba(255,255,255,.64);
  color: #29463a;
  text-decoration: none;
  transition: border-color .18s ease, background .18s ease;
}
.wc-now-next a:hover,
.wc-now-next a:focus {
  border-color: rgba(42,123,91,.48);
  background: #fff;
}
.wc-now-next i {
  flex: 0 0 auto;
  color: #2a7b5b;
  font-size: 19px;
}
.wc-now-next span {
  min-width: 0;
  color: #718078;
  font-size: 11px;
  line-height: 1.35;
}
.wc-now-next strong {
  display: block;
  overflow: hidden;
  margin-bottom: 1px;
  color: #29463a;
  font-size: 13px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* --- Active weather / eruption events --- */
.wc-active {
  margin: -8px 0 34px;
  padding: 24px 26px;
  border: 1px solid #ead7ad;
  border-radius: 20px;
  background: linear-gradient(145deg, #fffdf7 0%, #fff8e8 100%);
  box-shadow: 0 10px 28px rgba(92,67,16,.08);
}
.wc-active[hidden],
.wc-active-card[hidden] { display: none !important; }
.wc-active-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 17px;
}
.wc-active-kicker {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 5px;
  color: #9a5a09;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.wc-active h2 {
  margin: 0 0 6px;
  color: #3f2b0d;
  font-size: 25px;
  line-height: 1.2;
}
.wc-active-head p {
  max-width: 760px;
  margin: 0;
  color: #66583f;
  font-size: 14px;
  line-height: 1.5;
}
.wc-active-all {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 7px;
  color: #7b4808 !important;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none !important;
  white-space: nowrap;
}
.wc-active-all i { font-size: 9px; }
.wc-active-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.wc-active-card {
  display: flex;
  gap: 14px;
  min-width: 0;
  padding: 18px;
  border: 1px solid #e8c994;
  border-left: 5px solid #d97706;
  border-radius: 15px;
  background: #fff;
}
.wc-active-card:only-child,
.wc-active-grid.has-weather:not(.has-eruption) .wc-active-card--weather { grid-column: 1 / -1; }
.wc-active-card.is-red,
.wc-active-card--eruption {
  border-color: #e6b5b9;
  border-left-color: #c3232f;
  background: linear-gradient(145deg, #fff6f7 0%, #fff 80%);
}
.wc-active-card.is-yellow { border-left-color: #d29b15; }
.wc-active-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 12px;
  background: #fff0d4;
  color: #a65f05;
  font-size: 18px;
}
.wc-active-card.is-red .wc-active-card-icon,
.wc-active-card--eruption .wc-active-card-icon {
  background: #fde6e8;
  color: #c3232f;
}
.wc-active-card-copy { min-width: 0; }
.wc-active-label {
  display: block;
  margin-bottom: 3px;
  color: #8a5b1d;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .75px;
  text-transform: uppercase;
}
.wc-active-card.is-red .wc-active-label,
.wc-active-card--eruption .wc-active-label { color: #9f2730; }
.wc-active-card h3 {
  margin: 0 0 6px;
  color: #382a16;
  font-size: 17px;
  line-height: 1.3;
}
.wc-active-card p {
  margin: 0 0 9px;
  color: #665f52;
  font-size: 13px;
  line-height: 1.48;
}
.wc-active-card a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #774708;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.3;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.wc-active-card.is-red a,
.wc-active-card--eruption a { color: #9b222b; }
.wc-active-card a i { font-size: 9px; }
.wc-active-card-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}
@media (min-width: 961px) and (max-width: 1375px) {
  .wc-now-signals {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .wc-now-label { font-size: 11px; }
  .wc-now-signal strong { font-size: 18px; }
  .wc-now-signal + .wc-now-signal {
    padding-top: 10px;
    border-top: 1px solid #edf2ef;
  }
}
@media (max-width: 960px) {
  .wc-now-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .wc-now {
    margin-top: 22px;
    padding: 22px 18px;
    border-radius: 18px;
  }
  .wc-now-head {
    display: block;
    margin-bottom: 18px;
  }
  .wc-now h2 { font-size: 23px; }
  .wc-now-dashboard { margin-top: 15px; }
  .wc-now-swipe {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin: 0 0 9px;
    color: #547064;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
  }
  .wc-now-swipe span { font-size: 14px; }
  .wc-now-grid {
    display: flex;
    overflow-x: auto;
    padding: 1px 2px 10px;
    scroll-padding-inline: 2px;
    scroll-snap-type: x mandatory;
    scrollbar-color: rgba(42,123,91,.35) transparent;
    scrollbar-width: thin;
  }
  .wc-now-card {
    flex: 0 0 min(84vw, 310px);
    scroll-snap-align: start;
  }
  .wc-now-meta { display: block; }
  .wc-now-meta p:last-child {
    margin-top: 4px;
    text-align: left;
  }
  .wc-now-next { grid-template-columns: 1fr; }
  .wc-active {
    margin-top: -10px;
    padding: 20px 18px;
    border-radius: 18px;
  }
  .wc-active-head { display: block; }
  .wc-active h2 { font-size: 22px; }
  .wc-active-all { margin-top: 12px; }
  .wc-active-grid { grid-template-columns: 1fr; }
}
@media (max-width: 470px) {
  .wc-now-card { flex-basis: 86vw; }
  .wc-now-signals { gap: 10px; }
  .wc-now-signal strong { font-size: 18px; }
}
@media (max-width: 360px) {
  .wc-now { padding: 20px 14px; }
  .wc-now-card { flex-basis: 100%; }
  .wc-now-signals {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .wc-now-label { font-size: 10px; }
  .wc-now-signal strong { font-size: 18px; }
  .wc-now-signal + .wc-now-signal {
    padding-top: 10px;
    border-top: 1px solid #edf2ef;
  }
  .wc-active { padding: 18px 14px; }
  .wc-active-card {
    display: block;
    padding: 15px;
  }
  .wc-active-card-icon {
    width: 34px;
    height: 34px;
    margin-bottom: 9px;
  }
}

/* --- Embedded media (YouTube facade + USGS image) ---
   16:9 media box; reset the global img border-radius so the card clip wins. */
.wc-grid--embed,
.wc-grid--usgs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 560px) {
  .wc-grid--embed { grid-template-columns: repeat(2, 1fr); }
  .wc-grid--usgs  { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .wc-grid--embed { grid-template-columns: repeat(3, 1fr); }
  .wc-grid--usgs  { grid-template-columns: repeat(3, 1fr); }
}

.wc-embed-media {
  position: relative;
  width: 100%;
  padding-top: 56.25%;            /* 16:9 */
  overflow: hidden;
  background: #0e1a26;
  display: block;
}
.wc-embed-media img,
.wc-embed-media iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 0;               /* defeat global img radius inside the card clip */
}
.wc-embed-media img { object-fit: cover; }

/* Click-to-play facades */
.wc-embed-facade { cursor: pointer; }
.wc-embed-thumb { transition: transform .4s ease, filter .2s ease; }
.wc-embed-facade:hover .wc-embed-thumb { transform: scale(1.04); filter: brightness(.92); }
.wc-embed-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 64px; height: 64px;
  border: none;
  border-radius: 50%;
  background: rgba(220, 38, 38, .92);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,.4);
  transition: background .2s ease, transform .2s ease;
}
.wc-embed-play i { font-size: 24px; margin-left: 4px; }
.wc-embed-facade:hover .wc-embed-play { background: #dc2626; transform: translate(-50%, -50%) scale(1.08); }
.wc-embed-ozolio .wc-embed-play { background: rgba(24, 102, 180, .94); }
.wc-embed-ozolio:hover .wc-embed-play { background: #1866B4; }
.wc-embed-media.is-playing .wc-embed-thumb,
.wc-embed-media.is-playing .wc-embed-play { display: none; }

/* USGS image cards — live still that refreshes */
.wc-usgs-media { text-decoration: none; }
.wc-usgs-img { background: #0e1a26; }

/* --- Empty state --- */
.wc-empty {
  text-align: center;
  color: #777;
  font-size: 16px;
  padding: 40px 16px;
}

/* --- Print --- */
@media print {
  .wc-tabs, .wc-filters, .wc-bottom-links, .wc-now, .wc-active { display: none; }
  .wc-hero { min-height: 80px; border-radius: 0; }
  .wc-embed-play { display: none; }
}
