/* ==========================================================================
   TyeePress Main Stylesheet — The Tyee Editorial Design System
   All colors use CSS variables (--tyee-*) controlled by WP Customizer.
   ========================================================================== */

:root {
  /* Fonts */
  --tyee-font-serif: "Newsreader", "Tiempos Headline", Georgia, "Times New Roman", serif;
  --tyee-font-sans: "Source Sans 3", "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Brand & Accent Colors */
  --tyee-yellow: #f7d117;
  --tyee-yellow-hover: #e5bf00;
  --tyee-sage: #d9e3d1;
  --tyee-link: #006699;
  --tyee-link-hover: #004466;
  --tyee-btn-text: #1a1a1a;
  --tyee-sub-bg: #1a1a1a;
  --tyee-sub-text: #ffffff;

  /* Surfaces & Borders */
  --tyee-bg: #ffffff;
  --tyee-surface: #f7f7f5;
  --tyee-border: #d8d8d4;
  --tyee-grey: #666666;

  /* Typography Colors */
  --tyee-heading: #111111;
  --tyee-text: #222222;
  --tyee-meta: #595959;

  /* Header & Navigation */
  --tyee-header-bg: #ffffff;
  --tyee-header-text: #111111;
  --tyee-nav-bg: #ffffff;
  --tyee-nav-link: #111111;
  --tyee-nav-hover: #c41230;
  --tyee-dropdown-bg: #1d1d1b;
  --tyee-dropdown-text: #ffffff;

  /* Category / Section Accents */
  --tyee-cat-news: #c41230;
  --tyee-cat-analysis: #1b5e7a;
  --tyee-cat-culture: #7a3b69;
  --tyee-cat-solutions: #2b6e44;

  /* Weekender / Feature Band */
  --tyee-feature-bg: #1f2421;
  --tyee-feature-text: #f4f4f0;

  /* Footer */
  --tyee-footer-bg: #1d1d1b;
  --tyee-footer-text: #e0e0dc;
  --tyee-footer-heading: #ffffff;
  --tyee-footer-hover: #f7d117;

  /* Layout */
  --tyee-max-width: 1240px;
  --tyee-article-width: 740px;
}

/* Base Reset */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--tyee-bg);
  color: var(--tyee-text);
  font-family: var(--tyee-font-sans);
  font-size: 1rem;
  line-height: 1.6;
}

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

a {
  color: var(--tyee-link);
  text-decoration: none;
  transition: color 0.15s ease, background-color 0.15s ease;
}

a:hover {
  color: var(--tyee-link-hover);
  text-decoration: underline;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--tyee-heading);
  margin-top: 0;
  line-height: 1.2;
}

.tyee-container {
  max-width: var(--tyee-max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ==========================================================================
   Site Header (Logo Block + Tagline + Utilities + Notification Bell)
   ========================================================================== */
.new-site-header {
  background-color: var(--tyee-header-bg);
  color: var(--tyee-header-text);
  border-bottom: 1px solid var(--tyee-border);
  position: relative;
  z-index: 1000;
}

.new-site-header__logo-block-wrapper {
  background-color: var(--tyee-header-bg);
  border-bottom: 1px solid var(--tyee-border);
}

.new-site-header__logo-block {
  max-width: var(--tyee-max-width);
  margin: 0 auto;
  padding: 14px 20px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}

.new-site-header__tagline {
  font-family: var(--tyee-font-sans);
  font-size: 0.8125rem;
  line-height: 1.25;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--tyee-header-text);
}

.new-site-header__logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.new-site-header__logo a {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.new-site-header__logo-img,
.new-site-header__logo .custom-logo {
  height: 44px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}

.new-site-header__utils {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.new-site-header__login {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--tyee-header-text);
  padding: 4px 6px;
  line-height: 1.1;
}

.new-site-header__login i {
  font-size: 1.05rem;
  margin-bottom: 2px;
}

.new-site-header__buttons {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tyee-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  font-family: var(--tyee-font-sans);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border-radius: 3px;
  border: none;
  cursor: pointer;
  text-decoration: none !important;
  white-space: nowrap;
  transition: transform 0.1s ease, opacity 0.15s ease, background-color 0.15s ease;
}

.tyee-btn:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.tyee-btn--yellow {
  background-color: var(--tyee-yellow);
  color: var(--tyee-btn-text) !important;
}

.tyee-btn--black {
  background-color: var(--tyee-sub-bg);
  color: var(--tyee-sub-text) !important;
}

.new-site-header__menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--tyee-border);
  border-radius: 4px;
  color: var(--tyee-header-text);
  padding: 6px 10px;
  font-size: 1.15rem;
  cursor: pointer;
}

/* ==========================================================================
   Primary Navigation Bar & Mega Dropdown
   ========================================================================== */
.new-site-nav-main {
  background-color: var(--tyee-nav-bg);
  position: relative;
}

#nav-bar {
  max-width: var(--tyee-max-width);
  margin: 0 auto;
  padding: 0 20px;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-wrap: wrap;
}

#nav-bar > li > a,
#nav-bar > li > button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 16px;
  font-family: var(--tyee-font-sans);
  font-size: 0.9375rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--tyee-nav-link);
  background: transparent;
  border: none;
  cursor: pointer;
  text-decoration: none;
  border-bottom: 3px solid transparent;
}

#nav-bar > li > a:hover,
#nav-bar > li > button:hover,
#nav-bar > li.current-menu-item > a {
  color: var(--tyee-nav-hover);
  border-bottom-color: var(--tyee-nav-hover);
  text-decoration: none;
}

#nav-bar > li > a.nav-bar__link--join {
  background-color: var(--tyee-yellow);
  color: var(--tyee-btn-text);
  border-radius: 3px;
  padding: 6px 12px;
  margin: 0 6px;
  border-bottom: none;
}

/* Dropdown Panel */
.new-site-nav__dropdown {
  display: none;
  background-color: var(--tyee-dropdown-bg);
  color: var(--tyee-dropdown-text);
  padding: 28px 20px;
  border-top: 3px solid var(--tyee-yellow);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 999;
}

.new-site-nav__dropdown.is-open {
  display: block;
}

.new-site-nav__dropdown-inner {
  max-width: var(--tyee-max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1.5fr 1fr;
  gap: 28px;
}

.new-site-nav__dropdown h4 {
  color: var(--tyee-yellow);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.new-site-nav__dropdown ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.new-site-nav__dropdown ul li {
  margin-bottom: 6px;
}

.new-site-nav__dropdown ul a {
  color: var(--tyee-dropdown-text);
  font-size: 0.9375rem;
  font-weight: 600;
}

.new-site-nav__dropdown ul a:hover {
  color: var(--tyee-yellow);
}

.new-site-nav__topics-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 16px;
}

.new-site-nav__search-form {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}

.new-site-nav__search-form input[type="search"] {
  flex: 1;
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 0.95rem;
}

.new-site-nav__search-form input[type="search"]::placeholder {
  color: rgba(255, 255, 255, 0.65);
}

.new-site-nav__search-form button {
  padding: 9px 18px;
  background-color: var(--tyee-yellow);
  color: var(--tyee-btn-text);
  border: none;
  border-radius: 3px;
  font-weight: 700;
  cursor: pointer;
}

.new-site-nav__social {
  display: flex;
  gap: 12px;
  margin-top: 14px;
}

.new-site-nav__social a {
  color: var(--tyee-dropdown-text);
  font-size: 1.2rem;
}

.new-site-nav__social a:hover {
  color: var(--tyee-yellow);
}

/* ==========================================================================
   Category Labels / Section Badges
   ========================================================================== */
.category-label {
  display: inline-block;
  font-family: var(--tyee-font-sans);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 6px 8px 0;
}

.category-label a {
  display: inline-block;
  padding: 2px 8px;
  background-color: var(--tyee-surface);
  color: var(--tyee-cat-news);
  border-left: 3px solid var(--tyee-cat-news);
  text-decoration: none;
}

.category-label--analysis a {
  color: var(--tyee-cat-analysis);
  border-left-color: var(--tyee-cat-analysis);
}

.category-label--culture a {
  color: var(--tyee-cat-culture);
  border-left-color: var(--tyee-cat-culture);
}

.category-label--solutions a {
  color: var(--tyee-cat-solutions);
  border-left-color: var(--tyee-cat-solutions);
}

/* ==========================================================================
   Homepage Layout (Hero Split Feature + Secondary Grid + Latest + Sections)
   ========================================================================== */
.hmpg-wrapper {
  padding: 24px 0 40px;
}

.hmpg-hero-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 28px;
  padding-bottom: 28px;
  border-bottom: 2px solid var(--tyee-heading);
  margin-bottom: 32px;
}

/* Lead Split Feature */
.story-item--split-feature {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  align-items: start;
}

.story-item--split-feature .story-item__image {
  overflow: hidden;
  border-radius: 2px;
  background: var(--tyee-surface);
}

.story-item--split-feature .story-item__image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.story-item--split-feature:hover .story-item__image img {
  transform: scale(1.02);
}

.story-item--split-feature .story-item__headline {
  font-family: var(--tyee-font-serif);
  font-size: 2.15rem;
  font-weight: 700;
  line-height: 1.12;
  margin-bottom: 12px;
}

.story-item--split-feature .story-item__headline a {
  color: var(--tyee-heading);
}

.story-item--split-feature .story-item__headline a:hover {
  color: var(--tyee-nav-hover);
  text-decoration: none;
}

.story-item__teaser {
  font-size: 1.05rem;
  line-height: 1.5;
  color: var(--tyee-text);
  margin: 0 0 12px;
}

.story-item__byline {
  font-size: 0.85rem;
  color: var(--tyee-meta);
  font-weight: 600;
}

.story-item__byline a {
  color: var(--tyee-heading);
  font-weight: 700;
}

/* Secondary Column in Hero */
.hmpg-hero-side {
  border-left: 1px solid var(--tyee-border);
  padding-left: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.story-item--compact {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--tyee-border);
}

.story-item--compact:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.story-item--compact .story-item__headline {
  font-family: var(--tyee-font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.22;
  margin-bottom: 6px;
}

.story-item--compact .story-item__headline a {
  color: var(--tyee-heading);
}

.story-item--compact .story-item__headline a:hover {
  color: var(--tyee-nav-hover);
  text-decoration: none;
}

/* Builder / Reader Support Strip */
.tyee-support-strip {
  background-color: var(--tyee-yellow);
  color: var(--tyee-btn-text);
  padding: 16px 24px;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 36px;
}

.tyee-support-strip__text {
  font-family: var(--tyee-font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0;
}

/* Module Header */
.hmpg-module-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-top: 3px solid var(--tyee-heading);
  padding-top: 10px;
  margin-bottom: 20px;
}

.hmpg-module-header__main-label {
  font-family: var(--tyee-font-sans);
  font-size: 1.125rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0;
}

.hmpg-module-header__more {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* 4-Column Story Grid */
.hmpg-story-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.hmpg-story-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.story-card {
  display: flex;
  flex-direction: column;
}

.story-card__thumb {
  overflow: hidden;
  border-radius: 2px;
  margin-bottom: 10px;
  background-color: var(--tyee-surface);
}

.story-card__thumb img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.story-card:hover .story-card__thumb img {
  transform: scale(1.03);
}

.story-card__headline {
  font-family: var(--tyee-font-serif);
  font-size: 1.18rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 6px;
}

.story-card__headline a {
  color: var(--tyee-heading);
}

.story-card__headline a:hover {
  color: var(--tyee-nav-hover);
  text-decoration: none;
}

.story-card__excerpt {
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--tyee-meta);
  margin: 0 0 8px;
}

/* Dark Feature Band (Weekender / Special Series) */
.hmpg-feature-band {
  background-color: var(--tyee-feature-bg);
  color: var(--tyee-feature-text);
  padding: 36px 0;
  margin: 20px 0 40px;
}

.hmpg-feature-band .hmpg-module-header {
  border-top-color: var(--tyee-yellow);
}

.hmpg-feature-band .hmpg-module-header__main-label,
.hmpg-feature-band .story-card__headline a,
.hmpg-feature-band .story-item__byline,
.hmpg-feature-band .story-item__byline a {
  color: var(--tyee-feature-text);
}

.hmpg-feature-band .story-card__excerpt {
  color: rgba(255, 255, 255, 0.78);
}

/* ==========================================================================
   Most Popular / Most Commented / Most Emailed (3-Col Counter List)
   ========================================================================== */
.hmpg-org-most {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  padding: 28px 0 36px;
  border-top: 1px solid var(--tyee-border);
}

.counter-list--story-items {
  counter-reset: tyee-most;
}

.counter-list--story-items .story-item--minimum {
  counter-increment: tyee-most;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--tyee-border);
}

.counter-list--story-items .story-item--minimum:last-child {
  border-bottom: none;
}

.counter-list--story-items .story-item--minimum::before {
  content: counter(tyee-most);
  font-family: var(--tyee-font-serif);
  font-size: 1.65rem;
  font-weight: 800;
  line-height: 1;
  color: var(--tyee-grey);
  min-width: 24px;
}

.counter-list--story-items .story-item__headline {
  font-family: var(--tyee-font-serif);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
}

.counter-list--story-items .story-item__headline a {
  color: var(--tyee-heading);
}

/* ==========================================================================
   Single Article Page (The Tyee Article Layout)
   ========================================================================== */
.article-wrap {
  padding: 28px 0 48px;
}

.article__header {
  max-width: var(--tyee-article-width);
  margin: 0 auto 24px;
}

.article__header h1 {
  font-family: var(--tyee-font-serif);
  font-size: 2.65rem;
  font-weight: 800;
  line-height: 1.12;
  margin: 8px 0 14px;
}

.article__header h4.article__teaser {
  font-family: var(--tyee-font-sans);
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.45;
  color: var(--tyee-meta);
  margin: 0 0 20px;
}

.author-info {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--tyee-border);
  border-bottom: 1px solid var(--tyee-border);
  margin-bottom: 14px;
}

.author-headshot {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.author-info__text {
  font-size: 0.92rem;
  line-height: 1.45;
}

.author-info__text .contrib-link {
  font-weight: 700;
  color: var(--tyee-heading);
}

.author-info__date {
  color: var(--tyee-meta);
  margin-left: 8px;
  font-size: 0.85rem;
}

.author-info__text p {
  margin: 4px 0 0;
  color: var(--tyee-meta);
}

.byline_cta {
  width: 100%;
  background: var(--tyee-yellow);
  color: var(--tyee-btn-text);
  padding: 9px 14px;
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: 2px;
  text-align: center;
  margin-bottom: 16px;
}

/* Share Toolbar */
.tool-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 6px 0 12px;
}

.tool-bar__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid var(--tyee-border);
  border-radius: 20px;
  background: var(--tyee-surface);
  color: var(--tyee-heading);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
}

.tool-bar__btn:hover {
  background: var(--tyee-yellow);
  color: var(--tyee-btn-text);
  text-decoration: none;
}

.featured-media {
  max-width: 920px;
  margin: 0 auto 28px;
}

.featured-media img {
  width: 100%;
  border-radius: 2px;
}

.featured-media__caption {
  font-size: 0.85rem;
  color: var(--tyee-meta);
  padding-top: 8px;
  border-bottom: 1px solid var(--tyee-border);
  padding-bottom: 8px;
}

.article-layout-grid {
  display: grid;
  grid-template-columns: minmax(0, var(--tyee-article-width)) 300px;
  gap: 44px;
  justify-content: center;
  align-items: start;
}

.article__body {
  font-family: var(--tyee-font-serif);
  font-size: 1.18rem;
  line-height: 1.72;
}

.article__body p {
  margin: 0 0 1.35em;
}

.article__body h2,
.article__body h3 {
  font-family: var(--tyee-font-sans);
  margin-top: 1.8em;
  margin-bottom: 0.6em;
}

.article__body blockquote {
  margin: 1.6em 0;
  padding: 12px 20px;
  border-left: 4px solid var(--tyee-yellow);
  background: var(--tyee-surface);
  font-style: italic;
}

/* Builder Ask & Messaging Blocks */
.article-footer--builder-ask {
  background: var(--tyee-sage);
  padding: 20px 24px;
  border-top: 2px solid var(--tyee-border);
  border-radius: 3px;
  margin: 28px 0;
}

.article-footer--builder-ask p {
  margin: 0 0 12px;
  font-family: var(--tyee-font-sans);
  font-size: 0.98rem;
}

.messaging-block {
  background: var(--tyee-surface);
  border: 1px solid var(--tyee-border);
  padding: 20px 24px;
  border-radius: 3px;
  margin-bottom: 20px;
}

.messaging-block h3 {
  font-family: var(--tyee-font-sans);
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

/* Sidebar */
.article-sidebar .widget {
  background: var(--tyee-surface);
  border-top: 3px solid var(--tyee-heading);
  padding: 16px 18px;
  margin-bottom: 24px;
}

.article-sidebar .widget-title {
  font-family: var(--tyee-font-sans);
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

/* ==========================================================================
   Archive, Author & Search Pages
   ========================================================================== */
.archive-header {
  border-bottom: 3px solid var(--tyee-heading);
  padding: 28px 0 18px;
  margin-bottom: 28px;
}

.archive-header__title {
  font-family: var(--tyee-font-serif);
  font-size: 2.25rem;
  margin: 0 0 8px;
}

.archive-header__desc {
  color: var(--tyee-meta);
  font-size: 1.05rem;
  max-width: 720px;
  margin: 0;
}

.archive-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-bottom: 36px;
}

.tyee-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 20px 0 40px;
}

.tyee-pagination .page-numbers {
  display: inline-block;
  padding: 8px 14px;
  border: 1px solid var(--tyee-border);
  border-radius: 3px;
  font-weight: 700;
  color: var(--tyee-heading);
}

.tyee-pagination .page-numbers.current {
  background: var(--tyee-yellow);
  color: var(--tyee-btn-text);
  border-color: var(--tyee-yellow);
}

/* Dynamic Editorial Wordmark */
.tyee-wordmark {
  display: inline-block;
  font-family: var(--tyee-font-serif);
  font-size: clamp(1.5rem, 2.8vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--tyee-header-text);
  text-decoration: none;
}

.site-footer__logo-container {
  text-decoration: none !important;
  display: inline-block;
}

.tyee-wordmark--rev {
  color: var(--tyee-footer-heading);
  font-size: 1.55rem;
  line-height: 1.1;
  max-width: 200px;
}

/* Archive Block 1: Distinct Featured Top Block */
.archive-featured-block {
  background-color: var(--tyee-feature-bg);
  color: var(--tyee-feature-text);
  border-top: 5px solid var(--tyee-yellow);
  border-radius: 4px;
  padding: 24px;
  margin-bottom: 36px;
}

.archive-featured-block__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--tyee-yellow);
  color: var(--tyee-btn-text);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 2px;
  margin-bottom: 16px;
}

.archive-featured-lead {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 28px;
  align-items: center;
}

.archive-featured-lead__img {
  overflow: hidden;
  border-radius: 3px;
}

.archive-featured-lead__img img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.archive-featured-lead__title {
  font-family: var(--tyee-font-serif);
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1.14;
  margin: 6px 0 12px;
}

.archive-featured-lead__title a,
.archive-featured-block .story-item__byline,
.archive-featured-block .story-item__byline a {
  color: var(--tyee-feature-text);
}

.archive-featured-lead__excerpt {
  font-size: 1.05rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 14px;
}

@media (max-width: 768px) {
  .archive-featured-lead {
    grid-template-columns: 1fr;
  }
  .archive-featured-lead__title {
    font-size: 1.6rem;
  }
}

/* Live Subscribe Modal */
.tyee-sub-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.tyee-sub-modal.is-open {
  display: flex;
}

.tyee-sub-modal__box {
  position: relative;
  width: 100%;
  max-width: 440px;
  background: var(--tyee-bg);
  color: var(--tyee-text);
  border-top: 5px solid var(--tyee-yellow);
  border-radius: 6px;
  padding: 28px 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.tyee-sub-modal__close {
  position: absolute;
  top: 10px;
  right: 14px;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--tyee-meta);
  cursor: pointer;
}

.tyee-sub-modal__title {
  font-family: var(--tyee-font-serif);
  font-size: 1.55rem;
  margin-bottom: 8px;
}

.tyee-sub-modal__desc {
  font-size: 0.94rem;
  color: var(--tyee-meta);
  margin: 0 0 18px;
}

.tyee-sub-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tyee-sub-form input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--tyee-border);
  border-radius: 3px;
  font-size: 0.95rem;
}

.tyee-sub-feedback {
  font-size: 0.88rem;
  font-weight: 600;
  margin-top: 4px;
}

.tyee-sub-feedback.is-success { color: #2b6e44; }
.tyee-sub-feedback.is-error { color: #c41230; }

/* ==========================================================================
   Site Footer (The Tyee Dark Footer)
   ========================================================================== */
.site-footer--homepage {
  background-color: var(--tyee-footer-bg);
  color: var(--tyee-footer-text);
  padding: 48px 20px 32px;
  margin-top: 40px;
}

.site-footer__inner {
  max-width: var(--tyee-max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 200px repeat(3, 1fr) auto;
  gap: 32px;
  align-items: start;
}

.site-footer__logo {
  width: 150px;
  height: auto;
}

.site-footer .links-group h2 {
  color: var(--tyee-footer-heading);
  font-family: var(--tyee-font-sans);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.site-footer .links-group ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer .links-group li {
  margin-bottom: 6px;
}

.site-footer .links-group a {
  color: var(--tyee-footer-text);
  font-size: 0.9rem;
}

.site-footer .links-group a:hover {
  color: var(--tyee-footer-hover);
}

.site-footer .social ul {
  display: flex;
  gap: 14px;
  align-items: center;
}

.site-footer .social a {
  font-size: 1.35rem;
}

.site-footer__bottom {
  max-width: var(--tyee-max-width);
  margin: 32px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.65);
}

.site-footer__bottom a {
  color: var(--tyee-footer-hover);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .hmpg-hero-grid {
    grid-template-columns: 1fr;
  }
  .hmpg-hero-side {
    border-left: none;
    border-top: 1px solid var(--tyee-border);
    padding-left: 0;
    padding-top: 20px;
  }
  .hmpg-story-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .article-layout-grid {
    grid-template-columns: 1fr;
  }
  .site-footer__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .new-site-nav__dropdown-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .new-site-header__logo-block {
    grid-template-columns: auto 1fr auto;
  }
  .new-site-header__tagline {
    display: none;
  }
  .new-site-header__buttons .hide-on-phone {
    display: none;
  }
  .new-site-header__menu-toggle {
    display: inline-flex;
  }
  #nav-bar {
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 8px 20px 14px;
  }
  #nav-bar.is-mobile-open {
    display: flex;
  }
  .story-item--split-feature {
    grid-template-columns: 1fr;
  }
  .hmpg-story-grid,
  .hmpg-story-grid--3,
  .hmpg-org-most,
  .archive-list {
    grid-template-columns: 1fr;
  }
  .article__header h1 {
    font-size: 2rem;
  }
  .tyee-support-strip {
    flex-direction: column;
    align-items: flex-start;
  }
  .site-footer__inner,
  .new-site-nav__dropdown-inner {
    grid-template-columns: 1fr;
  }
}
