/* ── ROOT WRAPPER ───────────────────────────────────── */
.wireRoot {
  background: #FAFAF5;
  color: #1a1a1a;
  font-family: var(--wire-font-body), 'Courier New', monospace;
  font-size: 13px;
  line-height: 1.45;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 12px 32px;
  min-height: 100vh;
}

.wireRoot a            { color: #1a1a1a; text-decoration: none; }
.wireRoot a:hover      { color: #cc0000; }
.wireRoot a:visited    { color: #555; }

/* ── TICKER ─────────────────────────────────────────── */
.tickerBar {
  background: #111;
  color: #FFD700;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 6px 16px;
  margin: 0 -12px;
  overflow: hidden;
  white-space: nowrap;
}
.tickerScroll {
  display: inline-block;
  animation: wireTicker 60s linear infinite;
}
@keyframes wireTicker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── MASTHEAD ────────────────────────────────────────── */
.masthead {
  text-align: center;
  padding: 18px 0 10px;
  border-bottom: 3px solid #1a1a1a;
}
.mastheadTitle {
  font-family: var(--wire-font-display), serif;
  font-size: 52px;
  letter-spacing: 2px;
  line-height: 1;
  color: #1a1a1a;
}
.mastheadTitle span { color: #cc0000; }
.mastheadTagline {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #888;
  margin-top: 2px;
}
.mastheadDate {
  font-size: 12px;
  color: #888;
  margin-top: 4px;
}

/* ── LEAD STORY ─────────────────────────────────────── */
.leadStory {
  text-align: center;
  padding: 22px 40px 18px;
  border-bottom: 2px solid #ccc;
}
.breakingFlag {
  display: inline-block;
  background: #cc0000;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 3px 8px;
  margin-bottom: 10px;
}
.leadTitle {
  font-family: var(--wire-font-display), serif;
  font-size: 46px;
  line-height: 1.08;
  font-weight: 700;
  text-transform: uppercase;
}
.leadTitle a            { color: #1a1a1a; text-decoration: underline; }
.leadTitle a:hover      { color: #cc0000; }
.leadBreaking .leadTitle a { color: #cc0000; }
.leadSub {
  font-size: 14px;
  font-style: italic;
  color: #888;
  margin-top: 10px;
}
.leadImg {
  display: block;
  max-width: 460px;
  width: 100%;
  height: auto;
  margin: 14px auto 0;
}

/* ── SECONDARY LEADS ────────────────────────────────── */
.secondaryLeads {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0 10px;
  padding: 14px 0;
  border-bottom: 1px solid #ccc;
}
.secondaryLeads a          { font-size: 14px; font-weight: 700; color: #cc0000; text-transform: uppercase; letter-spacing: 0.5px; }
.secondaryLeads a:visited  { color: #cc0000; }
.secondaryLeads a:hover    { color: #a30000; }
.sep { color: #ccc; margin: 0 4px; }

/* ── THREE COLUMNS ──────────────────────────────────── */
.wireColumns {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
  padding: 16px 0;
}
.wireCol {
  padding: 0 14px;
  border-right: 1px solid #ccc;
}
.wireCol:first-child { padding-left: 0; }
.wireCol:last-child  { border-right: 0; padding-right: 0; }

/* ── SECTION LABEL ──────────────────────────────────── */
.sectionLabel {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #fff;
  padding: 5px 10px;
  margin-bottom: 8px;
  margin-top: 18px;
}
.sectionLabelFirst { margin-top: 0; }

/* ── WIRE DIVIDER ───────────────────────────────────── */
.wireDivider {
  border: 0;
  border-top: 1px solid #ccc;
  margin: 10px 0;
}

/* ── WIRE ITEM ──────────────────────────────────────── */
.wireItem { font-size: 13px; margin-bottom: 10px; }
.wireItem .headline           { color: #1a1a1a; text-decoration: underline; }
.wireItem .headline:hover     { color: #cc0000; }
.wireItem .headline:visited   { color: #555; }
.wireItem .categoryLink       { font-weight: 700; text-transform: uppercase; text-decoration: underline; letter-spacing: 0.5px; }
.wireItem .categoryLink:visited { color: inherit; }
.wireItem .catSep             { color: #888; }
.wireItemHot .headline        { font-weight: 700; font-size: 14px; }
.wireItemRelated .headline    { font-style: italic; }
.wireItemWithImage            { margin-bottom: 14px; margin-top: 6px; }
.thumb                        { display: block; text-decoration: none; margin-bottom: 6px; }
.thumb img                    { display: block; width: 100%; max-width: 280px; height: auto; margin: 0 auto; }

/* ── FOOTER ─────────────────────────────────────────── */
.footer {
  text-align: center;
  padding: 28px 0 36px;
  border-top: 2px solid #ccc;
  margin-top: 20px;
}
.footerLogo    { font-family: var(--wire-font-display), serif; font-size: 28px; color: #1a1a1a; display: inline-block; margin-bottom: 8px; }
.footerTagline { font-size: 11px; color: #888; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 14px; }
.footerCta     { display: inline-block; background: #cc0000; color: #fff; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; padding: 10px 22px; }
.footerCta:hover   { background: #a30000; color: #fff; }
.footerCta:visited { color: #fff; }

/* ── LOADING ────────────────────────────────────────── */
.loading { text-align: center; padding: 60px 0; color: #888; font-style: italic; }

/* ── SKELETON SHIMMER ───────────────────────────────── */
@keyframes wireShimmer {
  0%   { background-position: -400px 0; }
  100% { background-position:  400px 0; }
}
.skeletonBlock {
  background: linear-gradient(90deg, #e8e8e0 25%, #f0f0e6 50%, #e8e8e0 75%);
  background-size: 800px 100%;
  animation: wireShimmer 1.5s ease-in-out infinite;
  border-radius: 2px;
}

/* ── ICON CYCLE ANIMATION ───────────────────────────── */
@keyframes wireIconPop {
  0%,18%  { opacity: 1; transform: scale(1.15) translateY(-3px); }
  25%,100%{ opacity: 0; transform: scale(0.85) translateY(0);    }
}
.loadingBanner {
  text-align: center;
  padding: 32px 0 20px;
}
.loadingIcons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  height: 40px;
  position: relative;
  margin-bottom: 10px;
}
.loadingIcon {
  font-size: 26px;
  opacity: 0;
  animation: wireIconPop 2.8s ease-in-out infinite;
  position: absolute;
}
.loadingIcon:nth-child(1) { animation-delay: 0s;    }
.loadingIcon:nth-child(2) { animation-delay: 0.7s;  }
.loadingIcon:nth-child(3) { animation-delay: 1.4s;  }
.loadingIcon:nth-child(4) { animation-delay: 2.1s;  }
.loadingText {
  font-family: var(--wire-font-display), serif;
  font-size: 18px;
  letter-spacing: 2px;
  color: #888;
  text-transform: uppercase;
}

/* ── SKELETON TICKER ────────────────────────────────── */
.tickerSkeleton {
  height: 28px;
  background: #111;
  margin: 0 -12px;
  opacity: 0.85;
}

/* ── SKELETON MASTHEAD ──────────────────────────────── */
.mastheadSkeleton {
  text-align: center;
  padding: 18px 0 10px;
  border-bottom: 3px solid #ddd;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.skeletonTitle    { width: 280px; height: 52px; }
.skeletonTagline  { width: 360px; height: 12px; margin-top: 4px; }
.skeletonDate     { width: 220px; height: 11px; }

/* ── SKELETON LEAD ──────────────────────────────────── */
.leadSkeleton {
  padding: 22px 40px 18px;
  border-bottom: 2px solid #ddd;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.skeletonLeadTitle      { width: 70%; height: 44px; }
.skeletonLeadTitleShort { width: 45%; height: 44px; }
.skeletonLeadSub        { width: 55%; height: 13px; }
.skeletonLeadImg        { width: 360px; max-width: 100%; height: 200px; margin-top: 4px; }

/* ── SKELETON SECONDARY ─────────────────────────────── */
.secondaryLeadsSkeleton {
  display: flex;
  justify-content: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid #ddd;
}
.skeletonSecondary { width: 160px; height: 13px; }

/* ── SKELETON COLUMN ITEMS ──────────────────────────── */
.skeletonSectionLabel { width: 100%; height: 22px; }
.skeletonItem         { margin-bottom: 10px; display: flex; flex-direction: column; gap: 5px; }
.skeletonItemLine     { width: 100%; height: 12px; }
.skeletonItemLineShort{ width: 70%;  height: 12px; }

/* ── MOBILE ─────────────────────────────────────────── */
@media (max-width: 768px) {
  .mastheadTitle { font-size: 36px; }
  .leadStory     { padding: 18px 12px 14px; }
  .leadTitle     { font-size: 30px; }
  .wireColumns   { grid-template-columns: 1fr; }
  .wireCol {
    border-right: 0;
    border-bottom: 1px solid #ccc;
    padding: 0 0 14px;
    margin-bottom: 14px;
  }
  .wireCol:last-child { border-bottom: 0; margin-bottom: 0; }
}
