:root {
  --ink: #17231e;
  --paper: #f7f5ee;
  --orange: #d84d1c;
  --pine: #215442;
  --line: #d6d4cb;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  padding-bottom: 82px;
  background: var(--paper);
  color: var(--ink);
  font:
    16px/1.55 Arial,
    sans-serif;
}
.wrap {
  width: min(960px, calc(100% - 40px));
  margin: auto;
}
header {
  background: var(--pine);
  color: white;
  padding: 56px 0 48px;
}
.eyebrow,
.meta {
  font-size: 0.72rem;
  letter-spacing: 0.09em;
  font-weight: 700;
  margin: 0 0 10px;
}
h1 {
  margin: 0;
  font:
    700 clamp(2.6rem, 8vw, 5.2rem)/0.92 Georgia,
    serif;
  letter-spacing: -0.05em;
}
h1 span {
  color: #ffcb70;
}
.intro {
  max-width: 600px;
  font-size: 1.1rem;
  margin: 24px 0 0;
}
.emergency {
  margin: 28px 0;
  padding: 17px 20px;
  background: #ffe2bd;
  border-left: 6px solid var(--orange);
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.emergency strong {
  color: #8c2c11;
}
.weather {
  margin: 0 0 28px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  background: #eef3ef;
}
.weather-title { display: flex; justify-content: space-between; gap: 10px; color: var(--pine); font-size: .72rem; font-weight: bold; letter-spacing: .07em; }
.weather-title small { color: #5c655e; letter-spacing: 0; font-weight: normal; }
.weather-values { display: flex; align-items: baseline; flex-wrap: wrap; gap: 12px 25px; margin-top: 10px; }
.weather-values strong { font: 700 2rem/1 Georgia, serif; }
.weather-values span { font-size: .9rem; }
.weather p, .weather-unavailable { margin: 10px 0 0; font-size: .84rem; }
.weather-unavailable { color: #687169; }
.videos { margin: 0 0 28px; padding: 24px 0; border-bottom: 1px solid var(--line); }.section-title { display: flex; justify-content: space-between; align-items: end; gap: 15px; margin-bottom: 16px; }.section-title .eyebrow { color: var(--pine); }.section-title h2 { margin: 0; font: 700 1.7rem/1 Georgia, serif; }.section-title small { color: #687169; }.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }.video-card { position: relative; }.video-card a { color: var(--ink); text-decoration: none; }.video-card img { display: block; width: 100%; aspect-ratio: 16/9; object-fit: cover; background: #ddd; }.video-card .play { position: absolute; top: 7px; left: 7px; padding: 5px 8px; background: var(--orange); color: white; font-size: .78rem; }.video-card h3 { margin: 9px 0 4px; font: 700 1rem/1.2 Georgia, serif; }.video-card p { margin: 0; color: #687169; font-size: .76rem; } @media (max-width: 650px) { .video-grid { grid-template-columns: 1fr; } }
body[data-tab="news"] .videos { display: none; } body[data-tab="videos"] .news-only, body[data-tab="videos"] .method { display: none; } .bottom-tabs { position: fixed; z-index: 10; left: 50%; bottom: max(14px, env(safe-area-inset-bottom)); transform: translateX(-50%); display: flex; width: min(360px, calc(100% - 28px)); padding: 5px; gap: 5px; background: var(--pine); border-radius: 6px; box-shadow: 0 8px 24px rgba(23,35,30,.28); }.tab { flex: 1; border: 0; border-radius: 3px; padding: 11px 16px; background: transparent; color: white; font: 700 .9rem Arial, sans-serif; cursor: pointer; }.tab.active { background: #ffcb70; color: var(--ink); }
.controls {
  position: relative;
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
}
.source-select {
  position: relative;
  width: min(100%, 380px);
}
.source-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  border: 1px solid var(--pine);
  background: white;
  color: var(--ink);
  padding: 11px 13px;
  border-radius: 2px;
  font-weight: 700;
  font-size: 0.9rem;
  text-align: left;
}
.source-trigger span {
  display: flex;
  align-items: center;
  height: 1em;
  color: var(--pine);
  font-size: 1.2rem;
  line-height: 1;
  transform: translateY(-4px);
}
.source-menu {
  position: absolute;
  z-index: 4;
  top: calc(100% + 7px);
  width: 100%;
  max-height: 390px;
  overflow: auto;
  padding: 7px;
  background: white;
  border: 1px solid var(--pine);
  box-shadow: 0 12px 26px rgba(23, 35, 30, 0.16);
}
.source-option {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 9px 7px;
  cursor: pointer;
  font-size: 0.88rem;
}
.source-option:hover {
  background: #edf2ed;
}
.source-option input {
  margin-top: 3px;
  accent-color: var(--pine);
}
.source-option em {
  color: var(--orange);
  font-style: normal;
  font-size: 0.7rem;
  font-weight: bold;
  text-transform: uppercase;
  white-space: nowrap;
}
.select-all {
  font-weight: 700;
}
.source-divider {
  height: 1px;
  margin: 2px 0;
  background: var(--line);
}
.loading {
  height: 3px;
  margin-top: -1px;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.15s ease;
}
.loading span {
  display: block;
  width: 36%;
  height: 100%;
  background: var(--orange);
  transform: translateX(-110%);
}
.loading.visible {
  opacity: 1;
}
.loading.visible span {
  animation: loading 1s ease-in-out infinite;
}
@keyframes loading {
  from {
    transform: translateX(-110%);
  }
  to {
    transform: translateX(390%);
  }
}
.status {
  color: #5c655e;
  font-size: 0.82rem;
  margin: 18px 0;
}
.feed {
  display: grid;
  gap: 0;
}
.item {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.item.official {
  border-left: 4px solid var(--orange);
  padding-left: 18px;
}
.article-image {
  display: block;
  width: min(100%, 540px);
  max-height: 310px;
  margin: 0 0 17px;
  object-fit: cover;
  border-radius: 2px;
  background: #e5e3db;
}
.item h2,
.empty h2,
.method h2 {
  font:
    700 clamp(1.25rem, 3vw, 1.65rem)/1.15 Georgia,
    serif;
  margin: 0 0 14px;
}
.item h2 a {
  color: var(--ink);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.origin {
  color: var(--pine);
  font-weight: bold;
  font-size: 0.88rem;
}
.empty,
.method {
  padding: 28px 0;
}
.empty {
  color: #59625b;
}
.method {
  margin-top: 18px;
  border-top: 4px solid var(--pine);
}
.method p {
  max-width: 720px;
}
footer {
  color: #687169;
  padding: 34px 0 50px;
  font-size: 0.82rem;
}
footer a { color: var(--pine); }
@media (max-width: 600px) {
  .wrap {
    width: min(100% - 28px, 960px);
  }
  header {
    padding: 42px 0 36px;
  }
  .controls {
    display: block;
  }
  .filters {
    margin-bottom: 12px;
  }
}
