/*
Theme Name: MNTHC News
Theme URI: https://mnthc.com
Author: Ray
Description: Minnesota THC & Hemp news tracker. FSE block theme with dark editorial design, hybrid RSS/editorial feed, and category-based content sections.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mnthc-news
Tags: full-site-editing, block-patterns, news, blog, dark
*/

/* ============================================================
   MNTHC NEWS — BASE STYLES
   Design tokens live in theme.json; this file handles
   component-level styles that FSE can't express natively.
   ============================================================ */

/* — Imports — */
@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Inter:wght@300;400;500;600;700&display=swap');

/* — Reset & Base — */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

img, video { max-width: 100%; height: auto; display: block; }

/* — Site wrapper — */
.wp-site-blocks { overflow-x: hidden; }

/* ============================================================
   HEADER
   ============================================================ */
.mnthc-header {
  background: var(--wp--preset--color--ink);
  border-bottom: 2px solid var(--wp--preset--color--amber);
  position: sticky;
  top: 0;
  z-index: 100;
}

.mnthc-header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 2rem;
}

.mnthc-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  flex-shrink: 0;
}

.mnthc-logo__mark {
  width: 36px;
  height: 36px;
  background: var(--wp--preset--color--amber);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--wp--preset--font-family--display);
  font-size: 1.1rem;
  color: var(--wp--preset--color--ink);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.mnthc-logo__text {
  font-family: var(--wp--preset--font-family--display);
  font-size: 1.25rem;
  color: var(--wp--preset--color--white);
  letter-spacing: -0.01em;
}

.mnthc-logo__text span {
  color: var(--wp--preset--color--amber);
}

/* Nav */
.mnthc-nav {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
}

.mnthc-nav a {
  display: block;
  padding: 0.4rem 0.9rem;
  font-family: var(--wp--preset--font-family--body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--wp--preset--color--steel);
  text-decoration: none;
  border-radius: 4px;
  transition: color 0.15s, background 0.15s;
}

.mnthc-nav a:hover,
.mnthc-nav a[aria-current="page"] {
  color: var(--wp--preset--color--amber);
  background: rgba(245,166,35,0.08);
}

/* Mobile hamburger */
.mnthc-nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--wp--preset--color--rule);
  color: var(--wp--preset--color--steel);
  padding: 0.4rem 0.6rem;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
}

@media (max-width: 768px) {
  .mnthc-nav-toggle { display: flex; align-items: center; }
  .mnthc-nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--wp--preset--color--ink);
    border-top: 1px solid var(--wp--preset--color--rule);
    flex-direction: column;
    padding: 1rem;
    gap: 0.25rem;
  }
  .mnthc-nav.is-open { display: flex; }
  .mnthc-nav a { padding: 0.6rem 1rem; font-size: 0.875rem; }
}

/* ============================================================
   TICKER BAR
   ============================================================ */
.mnthc-ticker {
  background: var(--wp--preset--color--navy-mid);
  border-bottom: 1px solid var(--wp--preset--color--rule);
  overflow: hidden;
  height: 36px;
  display: flex;
  align-items: center;
}

.mnthc-ticker__label {
  flex-shrink: 0;
  background: var(--wp--preset--color--amber);
  color: var(--wp--preset--color--ink);
  font-family: var(--wp--preset--font-family--body);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0 0.75rem;
  height: 36px;
  display: flex;
  align-items: center;
}

.mnthc-ticker__track {
  display: flex;
  animation: ticker-scroll 40s linear infinite;
  white-space: nowrap;
  gap: 3rem;
  padding-left: 2rem;
}

.mnthc-ticker__track:hover { animation-play-state: paused; }

.mnthc-ticker__item {
  font-size: 0.8rem;
  color: var(--wp--preset--color--mist);
  text-decoration: none;
  flex-shrink: 0;
}

.mnthc-ticker__item:hover { color: var(--wp--preset--color--amber); }

.mnthc-ticker__sep {
  color: var(--wp--preset--color--rule);
  flex-shrink: 0;
}

@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================================
   HERO
   ============================================================ */
.mnthc-hero {
  background: linear-gradient(160deg, #111827 60%, #1E2A3A 100%);
  padding: 4rem 1.5rem 3.5rem;
  position: relative;
  overflow: hidden;
}

.mnthc-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 70% 50%, rgba(245,166,35,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.mnthc-hero__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 3rem;
  align-items: start;
}

.mnthc-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--wp--preset--color--amber);
  margin-bottom: 1rem;
}

.mnthc-hero__eyebrow::before {
  content: '';
  display: block;
  width: 18px;
  height: 2px;
  background: var(--wp--preset--color--amber);
}

.mnthc-hero__headline {
  font-family: var(--wp--preset--font-family--display);
  font-size: clamp(1.75rem, 4vw, 3rem);
  color: var(--wp--preset--color--white);
  line-height: 1.15;
  margin-bottom: 1rem;
  font-weight: 400;
}

.mnthc-hero__headline em {
  color: var(--wp--preset--color--amber);
  font-style: italic;
}

.mnthc-hero__meta {
  font-size: 0.75rem;
  color: var(--wp--preset--color--steel);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.mnthc-hero__meta time { color: var(--wp--preset--color--amber); font-weight: 500; }

.mnthc-hero__excerpt {
  font-size: 1rem;
  color: #B0BBCC;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  max-width: 62ch;
}

.mnthc-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--wp--preset--color--amber);
  color: var(--wp--preset--color--ink);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.65rem 1.25rem;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.15s, transform 0.1s;
}

.mnthc-hero__cta:hover { background: #E09500; transform: translateY(-1px); }

/* Hero sidebar — latest headlines */
.mnthc-hero__sidebar {
  border-left: 1px solid var(--wp--preset--color--rule);
  padding-left: 2rem;
}

.mnthc-hero__sidebar-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--wp--preset--color--steel);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--wp--preset--color--rule);
}

.mnthc-hero__headlines { list-style: none; display: flex; flex-direction: column; gap: 0; }

.mnthc-hero__headline-item {
  padding: 0.875rem 0;
  border-bottom: 1px solid var(--wp--preset--color--rule);
}

.mnthc-hero__headline-item:last-child { border-bottom: none; }

.mnthc-hero__headline-item a {
  font-family: var(--wp--preset--font-family--display);
  font-size: 0.95rem;
  color: var(--wp--preset--color--mist);
  text-decoration: none;
  line-height: 1.35;
  display: block;
  margin-bottom: 0.3rem;
  transition: color 0.15s;
}

.mnthc-hero__headline-item a:hover { color: var(--wp--preset--color--amber); }

.mnthc-hero__headline-time {
  font-size: 0.7rem;
  color: var(--wp--preset--color--steel);
}

@media (max-width: 900px) {
  .mnthc-hero__inner { grid-template-columns: 1fr; }
  .mnthc-hero__sidebar { border-left: none; border-top: 1px solid var(--wp--preset--color--rule); padding-left: 0; padding-top: 2rem; margin-top: 2rem; }
}

/* ============================================================
   CATEGORY STRIP
   ============================================================ */
.mnthc-cat-strip {
  background: var(--wp--preset--color--white);
  border-bottom: 1px solid var(--wp--preset--color--mist);
  position: sticky;
  top: 64px;
  z-index: 90;
}

.mnthc-cat-strip__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  overflow-x: auto;
  scrollbar-width: none;
  height: 48px;
}

.mnthc-cat-strip__inner::-webkit-scrollbar { display: none; }

.mnthc-cat-pill {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  transition: all 0.15s;
  color: var(--wp--preset--color--steel);
  white-space: nowrap;
}

.mnthc-cat-pill:hover {
  background: var(--wp--preset--color--cloud);
  color: var(--wp--preset--color--ink);
  border-color: var(--wp--preset--color--mist);
}

.mnthc-cat-pill.is-active {
  background: var(--wp--preset--color--leaf);
  color: var(--wp--preset--color--white);
  border-color: var(--wp--preset--color--leaf);
}

.mnthc-cat-pill--policy.is-active  { background: #1A56DB; border-color: #1A56DB; }
.mnthc-cat-pill--products.is-active { background: var(--wp--preset--color--leaf); }
.mnthc-cat-pill--retailers.is-active { background: #7E3AF2; border-color: #7E3AF2; }
.mnthc-cat-pill--ocm.is-active { background: #E3A008; border-color: #E3A008; color: #111; }

/* ============================================================
   MAIN CONTENT LAYOUT
   ============================================================ */
.mnthc-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 960px) {
  .mnthc-main { grid-template-columns: 1fr; }
}

/* ============================================================
   NEWS FEED
   ============================================================ */
.mnthc-feed__section-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--wp--preset--color--steel);
  margin-bottom: 1.25rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--wp--preset--color--mist);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mnthc-feed__section-label a {
  color: var(--wp--preset--color--amber);
  text-decoration: none;
  font-size: 0.7rem;
}

/* News card */
.mnthc-card {
  display: grid;
  grid-template-columns: 1fr;
  border-bottom: 1px solid var(--wp--preset--color--mist);
  padding: 1.5rem 0;
  gap: 0.5rem;
}

.mnthc-card:first-child { padding-top: 0; }

.mnthc-card__cat {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--wp--preset--color--leaf);
}

.mnthc-card__cat--policy   { color: #1A56DB; }
.mnthc-card__cat--products { color: var(--wp--preset--color--leaf); }
.mnthc-card__cat--retailers{ color: #7E3AF2; }
.mnthc-card__cat--ocm      { color: #D97706; }

.mnthc-card__title {
  font-family: var(--wp--preset--font-family--display);
  font-size: 1.2rem;
  line-height: 1.3;
  color: var(--wp--preset--color--ink);
  text-decoration: none;
  display: block;
  transition: color 0.15s;
}

.mnthc-card__title:hover { color: var(--wp--preset--color--amber-dim); }

.mnthc-card__excerpt {
  font-size: 0.875rem;
  color: var(--wp--preset--color--steel);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mnthc-card__footer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.7rem;
  color: var(--wp--preset--color--steel);
  margin-top: 0.25rem;
}

.mnthc-card__source {
  font-weight: 600;
  color: var(--wp--preset--color--ink);
}

.mnthc-card__dot { color: var(--wp--preset--color--mist); }

/* Card with image */
.mnthc-card--has-image {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 0;
  padding: 0;
  overflow: hidden;
}

.mnthc-card__image {
  display: block;
  flex-shrink: 0;
  overflow: hidden;
}

.mnthc-card__image img {
  width: 140px;
  height: 100%;
  min-height: 110px;
  object-fit: cover;
  display: block;
  transition: transform 0.2s;
}

.mnthc-card--has-image:hover .mnthc-card__image img {
  transform: scale(1.04);
}

.mnthc-card__body {
  padding: 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

/* Cards without images keep existing padding */
.mnthc-card:not(.mnthc-card--has-image) .mnthc-card__body {
  padding: 0;
}

@media (max-width: 600px) {
  .mnthc-card--has-image {
    grid-template-columns: 1fr;
  }
  .mnthc-card__image img {
    width: 100%;
    height: 180px;
    min-height: unset;
  }
}

/* Featured card (larger) */
.mnthc-card--featured {
  grid-template-columns: 1fr;
  background: var(--wp--preset--color--navy);
  border-radius: 8px;
  border: none;
  padding: 1.75rem;
  margin-bottom: 1rem;
}

.mnthc-card--featured .mnthc-card__title {
  font-size: 1.5rem;
  color: var(--wp--preset--color--white);
}

.mnthc-card--featured .mnthc-card__excerpt { color: #8A9AB5; -webkit-line-clamp: 3; }
.mnthc-card--featured .mnthc-card__footer { color: #5A6A85; }
.mnthc-card--featured .mnthc-card__source { color: #8A9AB5; }

/* ============================================================
   RAY'S TAKE — Editorial callout
   ============================================================ */
.mnthc-sams-take {
  background: linear-gradient(135deg, #111827 0%, #1A2540 100%);
  border: 1px solid var(--wp--preset--color--amber);
  border-left: 4px solid var(--wp--preset--color--amber);
  border-radius: 6px;
  padding: 1.5rem;
  margin: 2rem 0;
}

.mnthc-sams-take__label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--wp--preset--color--amber);
  margin-bottom: 0.75rem;
}

.mnthc-sams-take__icon {
  width: 22px;
  height: 22px;
  background: var(--wp--preset--color--amber);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: var(--wp--preset--color--ink);
  font-weight: 700;
}

.mnthc-sams-take__text {
  font-family: var(--wp--preset--font-family--display);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--wp--preset--color--mist);
  line-height: 1.6;
}

.mnthc-sams-take__attribution {
  margin-top: 0.75rem;
  font-size: 0.7rem;
  color: var(--wp--preset--color--steel);
}

/* ============================================================
   SIDEBAR
   ============================================================ */
.mnthc-sidebar { display: flex; flex-direction: column; gap: 2rem; }

.mnthc-widget {
  background: var(--wp--preset--color--white);
  border: 1px solid var(--wp--preset--color--mist);
  border-radius: 8px;
  overflow: hidden;
}

.mnthc-widget__header {
  background: var(--wp--preset--color--navy);
  padding: 0.75rem 1.25rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--wp--preset--color--amber);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.mnthc-widget__body { padding: 1rem 1.25rem; }

/* OCM status widget */
.mnthc-ocm-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--wp--preset--color--mist);
  font-size: 0.8rem;
}

.mnthc-ocm-item:last-child { border-bottom: none; }

.mnthc-ocm-item__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--wp--preset--color--leaf);
  flex-shrink: 0;
  margin-top: 0.3rem;
}

.mnthc-ocm-item__dot--pending { background: #E3A008; }
.mnthc-ocm-item__dot--alert   { background: #E02424; }

.mnthc-ocm-item__text { color: var(--wp--preset--color--ink); line-height: 1.4; }
.mnthc-ocm-item__date { font-size: 0.7rem; color: var(--wp--preset--color--steel); margin-top: 0.2rem; }

/* Newsletter widget */
.mnthc-newsletter {
  background: linear-gradient(135deg, #111827, #1E2A3A);
  border: 1px solid var(--wp--preset--color--rule);
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
}

.mnthc-newsletter__icon { font-size: 2rem; margin-bottom: 0.75rem; }

.mnthc-newsletter__title {
  font-family: var(--wp--preset--font-family--display);
  font-size: 1.1rem;
  color: var(--wp--preset--color--white);
  margin-bottom: 0.5rem;
}

.mnthc-newsletter__sub {
  font-size: 0.8rem;
  color: var(--wp--preset--color--steel);
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

.mnthc-newsletter__form { display: flex; flex-direction: column; gap: 0.5rem; }

.mnthc-newsletter__input {
  width: 100%;
  padding: 0.65rem 0.875rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--wp--preset--color--rule);
  border-radius: 4px;
  color: var(--wp--preset--color--white);
  font-size: 0.875rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s;
}

.mnthc-newsletter__input::placeholder { color: var(--wp--preset--color--steel); }
.mnthc-newsletter__input:focus { border-color: var(--wp--preset--color--amber); }

.mnthc-newsletter__btn {
  width: 100%;
  padding: 0.65rem;
  background: var(--wp--preset--color--amber);
  color: var(--wp--preset--color--ink);
  border: none;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s;
}

.mnthc-newsletter__btn:hover { background: #E09500; }

/* ============================================================
   CATEGORY SECTION PAGES
   ============================================================ */
.mnthc-archive-header {
  background: var(--wp--preset--color--navy);
  padding: 3rem 1.5rem;
  border-bottom: 2px solid var(--wp--preset--color--amber);
}

.mnthc-archive-header__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.mnthc-archive-header__cat {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--wp--preset--color--amber);
  margin-bottom: 0.5rem;
}

.mnthc-archive-header__title {
  font-family: var(--wp--preset--font-family--display);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  color: var(--wp--preset--color--white);
  margin-bottom: 0.5rem;
}

.mnthc-archive-header__desc {
  font-size: 0.9rem;
  color: var(--wp--preset--color--steel);
  max-width: 56ch;
}

/* ============================================================
   SINGLE POST
   ============================================================ */
.mnthc-single-header {
  background: var(--wp--preset--color--navy);
  padding: 3.5rem 1.5rem 2.5rem;
}

.mnthc-single-header__inner {
  max-width: 740px;
  margin: 0 auto;
}

.mnthc-single-header__cat {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--wp--preset--color--amber);
  text-decoration: none;
  margin-bottom: 1rem;
}

.mnthc-single-header__title {
  font-family: var(--wp--preset--font-family--display);
  font-size: clamp(1.5rem, 3.5vw, 2.75rem);
  color: var(--wp--preset--color--white);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.mnthc-single-header__meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.75rem;
  color: var(--wp--preset--color--steel);
  flex-wrap: wrap;
}

.mnthc-single-body {
  max-width: 740px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
  font-size: 1.05rem;
  line-height: 1.75;
  color: #1A1F2E;
}

.mnthc-single-body h2,
.mnthc-single-body h3 { margin: 2rem 0 1rem; }

.mnthc-single-body p { margin-bottom: 1.25rem; }

.mnthc-single-body a {
  color: var(--wp--preset--color--leaf);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.mnthc-single-body blockquote {
  border-left: 3px solid var(--wp--preset--color--amber);
  padding: 0.5rem 0 0.5rem 1.5rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: var(--wp--preset--color--steel);
}

/* External source callout */
.mnthc-source-callout {
  background: var(--wp--preset--color--cloud);
  border: 1px solid var(--wp--preset--color--mist);
  border-radius: 6px;
  padding: 1rem 1.25rem;
  margin: 2rem 0;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--wp--preset--color--steel);
}

.mnthc-source-callout__icon { font-size: 1.25rem; flex-shrink: 0; }
.mnthc-source-callout a { color: var(--wp--preset--color--leaf); font-weight: 600; }

/* ============================================================
   FOOTER
   ============================================================ */
.mnthc-footer {
  background: var(--wp--preset--color--ink);
  border-top: 1px solid var(--wp--preset--color--rule);
  padding: 3rem 1.5rem 1.5rem;
}

.mnthc-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.mnthc-footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--wp--preset--color--rule);
}

@media (max-width: 768px) {
  .mnthc-footer__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .mnthc-footer__top { grid-template-columns: 1fr; }
}

.mnthc-footer__brand-desc {
  font-size: 0.8rem;
  color: var(--wp--preset--color--steel);
  line-height: 1.6;
  margin-top: 0.75rem;
}

.mnthc-footer__col-title {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--wp--preset--color--white);
  margin-bottom: 1rem;
}

.mnthc-footer__links { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }

.mnthc-footer__links a {
  font-size: 0.8rem;
  color: var(--wp--preset--color--steel);
  text-decoration: none;
  transition: color 0.15s;
}

.mnthc-footer__links a:hover { color: var(--wp--preset--color--amber); }

.mnthc-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.75rem;
  color: var(--wp--preset--color--rule);
}

.mnthc-footer__disclaimer {
  font-size: 0.7rem;
  color: #3A4459;
  margin-top: 1.5rem;
  line-height: 1.5;
  border-top: 1px solid var(--wp--preset--color--rule);
  padding-top: 1.5rem;
}

/* ============================================================
   UTILITIES
   ============================================================ */
.mnthc-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mnthc-badge--new     { background: rgba(42,122,75,0.15); color: var(--wp--preset--color--leaf); }
.mnthc-badge--alert   { background: rgba(224,36,36,0.12); color: #E02424; }
.mnthc-badge--ocm     { background: rgba(227,160,8,0.15); color: #D97706; }
.mnthc-badge--thca    { background: rgba(126,58,242,0.12); color: #7E3AF2; }

.mnthc-divider {
  border: none;
  border-top: 1px solid var(--wp--preset--color--mist);
  margin: 2rem 0;
}

/* Loading state */
.mnthc-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  gap: 0.5rem;
  color: var(--wp--preset--color--steel);
  font-size: 0.875rem;
}

.mnthc-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid var(--wp--preset--color--mist);
  border-top-color: var(--wp--preset--color--amber);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* Pagination */
.mnthc-pagination {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2.5rem;
  justify-content: center;
}

.mnthc-pagination a,
.mnthc-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--wp--preset--color--steel);
  border: 1px solid var(--wp--preset--color--mist);
  transition: all 0.15s;
}

.mnthc-pagination a:hover { border-color: var(--wp--preset--color--amber); color: var(--wp--preset--color--amber); }
.mnthc-pagination .current { background: var(--wp--preset--color--amber); color: var(--wp--preset--color--ink); border-color: var(--wp--preset--color--amber); }

/* ============================================================
   ACCESSIBILITY
   ============================================================ */
:focus-visible {
  outline: 2px solid var(--wp--preset--color--amber);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .mnthc-ticker__track { animation: none; }
}
