:root {
  --bg: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --line: #e2e8f0;
  --accent: #2563eb;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}
.container { width: min(100% - 2rem, 72rem); margin-inline: auto; }
.skip-link {
  position: absolute; left: -9999px; top: auto;
}
.skip-link:focus {
  left: 1rem; top: 1rem; background: #000; color: #fff; padding: .5rem .75rem; z-index: 1000;
}
.site-header, .site-footer { border-bottom: 1px solid var(--line); }
.site-footer { border-top: 1px solid var(--line); border-bottom: none; margin-top: 3rem; padding: 1rem 0; }
.author-card { display: grid; grid-template-columns: 72px 1fr; gap: 1rem; align-items: start; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.author-card-image { width: 72px; height: 72px; border-radius: 999px; object-fit: cover; background: var(--line); }
.author-card-body p { margin: 0.35rem 0 0; }
.author-links { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.author-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  background: #fff;
  transition: transform 120ms ease, border-color 120ms ease, color 120ms ease;
}
.author-links a:hover,
.author-links a:focus-visible {
  color: var(--accent);
  border-color: var(--accent);
  transform: translateY(-1px);
}
.author-links svg {
  width: 1rem;
  height: 1rem;
  display: block;
}
.social-icon-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.header-top { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1rem 0; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  color: inherit;
  text-decoration: none;
}
.brand-logo {
  width: 52px;
  height: auto;
  flex: 0 0 auto;
}
.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}
.brand-title {
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.1;
  color: var(--text);
}
.brand-tagline {
  font-size: 0.85rem;
  line-height: 1.25;
  color: var(--muted);
}
.top-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 728px;
  width: min(100%, 728px);
}
.top-banner img {
  width: 100%;
  max-width: 728px;
  height: auto;
  border: 1px solid #e5d9d8;
  border-radius: 0.75rem;
  box-shadow: 0 12px 28px rgba(36, 14, 50, 0.08);
}
.category-nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.25rem;
  width: 3rem;
  height: 3rem;
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--text);
  cursor: pointer;
}
.category-nav-toggle-line {
  display: block;
  width: 1.2rem;
  height: 2px;
  background: currentColor;
}
.category-bar {
  background: #1c2127;
  border-top: 1px solid #111827;
}
.category-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.category-nav > ul {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  overflow: visible;
}
.category-nav li {
  position: relative;
  flex: 0 0 auto;
}
.category-nav a {
  display: block;
  padding: 0.9rem 1rem;
  color: #f8fafc;
  text-decoration: none;
  white-space: nowrap;
}
.category-nav a:hover,
.category-nav a:focus-visible {
  background: #ec230d;
  color: #ffffff;
}
.category-nav-parent {
  display: flex;
  align-items: stretch;
}
.category-nav-parent > a {
  flex: 1 1 auto;
}
.category-submenu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.8rem;
  border: 0;
  border-left: 1px solid rgba(248, 250, 252, 0.15);
  background: transparent;
  color: #f8fafc;
  cursor: pointer;
}
.category-submenu-toggle span {
  font-size: 1rem;
  line-height: 1;
}
.category-nav-item.has-children:hover .category-submenu,
.category-nav-item.has-children:focus-within .category-submenu {
  display: block;
}
.category-nav-item.is-submenu-open .category-submenu {
  display: block;
}
.category-nav .category-submenu {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  min-width: 13rem;
  background: #111827;
  border: 1px solid #0f172a;
  z-index: 20;
  list-style: none;
  margin: 0;
  padding: 0;
}
.category-submenu li {
  width: 100%;
}
.category-submenu a {
  padding: 0.75rem 1rem;
}
.nav-search {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 0 0 auto;
  padding: 0.55rem 0;
}
.nav-search input[type="search"] {
  width: 14rem;
  padding: 0.55rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #f8fafc;
}
.nav-search input[type="search"]::placeholder {
  color: rgba(248, 250, 252, 0.72);
}
.nav-search button {
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  border: 0;
  background: #ec230d;
  color: #ffffff;
  cursor: pointer;
  font-size: 0.95rem;
  line-height: 1;
}
a { color: var(--accent); }
a:focus-visible, button:focus-visible { outline: 3px solid #93c5fd; outline-offset: 2px; }
.hero { padding: 1rem 0 0.75rem; }
.hero.hero-compact {
  padding: 0.6rem 0 0.35rem;
}
.hero.hero-compact h1 {
  margin: 0;
  line-height: 1.1;
}
.home-section-header {
  margin: 0.35rem 0 0.6rem;
  padding: 0 0 0.45rem;
  border-bottom: 3px solid #0f172a;
}
.home-section-header h1 {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.featured-story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 1rem;
  margin: 0 0 2rem;
  align-items: stretch;
}
.featured-stories {
  margin: 0 0 1.85rem;
}
.featured-stories-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.7rem;
}
.featured-stories-header h2 {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.15;
}
.featured-stories-controls {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.featured-stories-control {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: #0f172a;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.featured-stories-control:hover,
.featured-stories-control:focus-visible {
  border-color: #0f172a;
  background: #f8fafc;
  outline: none;
}
.featured-stories-control:disabled {
  opacity: 0.4;
  cursor: default;
}
.featured-stories-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(12.5rem, 14.25rem);
  gap: 0.7rem;
  overflow-x: auto;
  padding-bottom: 0.2rem;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
}
.featured-stories-card {
  border: 1px solid var(--line);
  border-radius: 0.6rem;
  overflow: hidden;
  background: #ffffff;
  scroll-snap-align: start;
}
.featured-stories-card a {
  display: block;
  color: inherit;
  text-decoration: none;
}
.featured-stories-thumb {
  aspect-ratio: 1 / 1;
  background: #0f172a;
}
.featured-stories-thumb img,
.featured-stories-thumb-fallback {
  width: 100%;
  height: 100%;
}
.featured-stories-thumb img {
  object-fit: cover;
}
.featured-stories-thumb-fallback {
  background: linear-gradient(135deg, #0f172a, #2563eb);
}
.featured-stories-body {
  padding: 0.75rem;
}
.featured-stories-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin: 0 0 0.45rem;
}
.featured-stories-cats span {
  display: inline-flex;
  align-items: center;
  padding: 0.14rem 0.4rem;
  border-radius: 999px;
  background: #f1f5f9;
  color: #334155;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
}
.featured-stories-body h3 {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.28;
}
.featured-stories-stat {
  margin: 0.45rem 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.25;
}
.home-videos {
  margin: 1.75rem 0 2.25rem;
}
.home-videos-header {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
  margin-bottom: 0.9rem;
}
.home-videos-header h2 {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.1;
}
.home-videos-header p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}
.home-videos-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
}
.home-videos-featured {
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  overflow: hidden;
  background: #ffffff;
}
.home-videos-featured-link {
  display: block;
  color: inherit;
  text-decoration: none;
}
.home-videos-media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #111827;
}
.home-videos-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.home-videos-play {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.82);
  color: #f8fafc;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.home-videos-copy {
  padding: 1rem;
}
.home-videos-kicker {
  margin: 0 0 0.45rem;
  color: #dc2626;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.home-videos-copy h3 {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.28;
}
.home-videos-meta {
  margin: 0.6rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}
.home-videos-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 3px solid #0f172a;
}
.home-videos-list li {
  border-bottom: 1px solid var(--line);
}
.home-videos-list a {
  display: block;
  padding: 0.9rem 0;
  color: inherit;
  text-decoration: none;
}
.home-videos-list-title {
  display: block;
  font-weight: 700;
  line-height: 1.3;
}
.home-videos-list-meta {
  display: block;
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.9rem;
}
.featured-story-rail {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  height: 31rem;
}
.featured-story-card {
  position: relative;
  min-height: 15rem;
  overflow: hidden;
  border-radius: 0.75rem;
  background: #0f172a;
}
.featured-story-card-lead {
  min-height: 31rem;
}
.featured-story-card-small {
  min-height: 0;
  height: 100%;
}
.featured-story-link {
  display: block;
  position: relative;
  min-height: inherit;
  color: inherit;
  text-decoration: none;
}
.featured-story-media {
  position: absolute;
  inset: 0;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-size: cover;
}
.featured-story-fallback {
  width: 100%;
  height: 100%;
}
.featured-story-fallback {
  background: linear-gradient(135deg, #0f172a, #2563eb);
}
.featured-story-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.08) 0%, rgba(15, 23, 42, 0.86) 100%);
}
.featured-story-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: inherit;
  padding: 1rem;
  color: #f8fafc;
}
.featured-story-category {
  align-self: flex-start;
  margin-bottom: 0.65rem;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: rgba(28, 33, 39, 0.9);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.featured-story-card h2 {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.22;
}
.featured-story-card-lead h2 {
  font-size: clamp(1.7rem, 2.4vw, 2.55rem);
}
.featured-story-card-small h2 {
  font-size: 0.95rem;
  line-height: 1.18;
}
.featured-story-meta {
  margin: 0.65rem 0 0;
  color: rgba(248, 250, 252, 0.88);
  font-size: 0.9rem;
}
.featured-story-card-small .featured-story-meta {
  margin-top: 0.45rem;
  font-size: 0.78rem;
}
.featured-story-card-small .featured-story-content {
  padding: 0.8rem;
}
.featured-story-card-small .featured-story-category {
  margin-bottom: 0.45rem;
  padding: 0.18rem 0.45rem;
  font-size: 0.68rem;
}
.all-posts-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 20rem;
  gap: 2rem;
  align-items: start;
  margin: 0 0 2rem;
}
.all-posts-section {
  margin: 0;
}
.all-posts-rail {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-self: stretch;
  min-height: 100%;
}
.all-posts-sticky-slot {
  position: sticky;
  top: 1.25rem;
  align-self: start;
}
.all-posts-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.7rem;
  border-bottom: 3px solid #0f172a;
}
.all-posts-header h2 {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.1;
}
.all-posts-header p {
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}
.all-posts-controls {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--muted);
  font-size: 0.9rem;
}
.all-posts-controls select {
  padding: 0.45rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--text);
  font: inherit;
}
.all-posts-list {
  margin-top: 0.35rem;
}
.post-list.all-posts-list li {
  padding: 1.15rem 0 1.35rem;
}
.all-posts-card {
  display: grid;
  gap: 1rem;
}
.all-posts-thumb {
  overflow: hidden;
  border-radius: 0.3rem;
  background: #0f172a;
}
.all-posts-thumb-link,
.all-posts-thumb-fallback {
  display: block;
  aspect-ratio: 2.56 / 1;
}
.all-posts-thumb-link img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.all-posts-thumb-fallback {
  background: linear-gradient(135deg, #0f172a, #2563eb);
}
.all-posts-body {
  display: grid;
  gap: 0.65rem;
}
.all-posts-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.all-posts-cats span,
.all-posts-cat-link {
  display: inline-flex;
  align-items: center;
  padding: 0.18rem 0.46rem;
  border-radius: 999px;
  background: #eef2ff;
  color: #334155;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
}
.all-posts-cat-link:hover,
.all-posts-cat-link:focus-visible {
  background: #dbe7ff;
  color: #1e293b;
}
.all-posts-body h3 {
  margin: 0;
  font-size: 1.6rem;
  line-height: 1.22;
}
.all-posts-body h3 a {
  color: var(--text);
  text-decoration: none;
}
.all-posts-excerpt {
  color: #334155;
}
.all-posts-excerpt p {
  margin: 0;
}
.all-posts-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.92rem;
}
.all-posts-author {
  font-weight: 700;
}
.all-posts-author-link {
  color: inherit;
  text-decoration: none;
}
.all-posts-author-link:hover,
.all-posts-author-link:focus-visible {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 0.12em;
}
.all-posts-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem;
  list-style: none;
  padding: 0;
  margin: 0.25rem 0 0;
}
.all-posts-tags li {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.58rem;
  color: var(--muted);
}
.all-posts-tags li[hidden] {
  display: none;
}
.all-posts-tag-link {
  display: inline-flex;
  align-items: center;
  padding: 0.06rem 0.24rem;
  color: inherit;
  font-weight: 700;
  text-decoration: none;
}
.all-posts-tag-link:hover,
.all-posts-tag-link:focus-visible {
  color: var(--text);
}
.all-posts-tags-more-item {
  border-style: dashed;
}
.all-posts-tags-toggle {
  display: inline-flex;
  align-items: center;
  padding: 0.06rem 0.24rem;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.all-posts-tags-toggle:hover,
.all-posts-tags-toggle:focus-visible {
  color: var(--text);
}
.all-posts-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
}
.all-posts-footer > p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}
.all-posts-pagination {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}
.all-posts-page-numbers {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.all-posts-page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  min-height: 2.25rem;
  padding: 0.45rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--text);
  text-decoration: none;
  font-size: 0.9rem;
}
.all-posts-page-link.is-current {
  border-color: #0f172a;
  background: #0f172a;
  color: #ffffff;
}
.all-posts-page-link.is-disabled {
  opacity: 0.45;
  pointer-events: none;
}
.post-list { list-style: none; padding: 0; margin: 0; }
.post-list li { padding: 1rem 0; border-bottom: 1px solid var(--line); }
.meta { color: var(--muted); font-size: 0.95rem; }
.meta-category-links {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  vertical-align: middle;
}
.meta-author-link {
  color: inherit;
  text-decoration: none;
  font-weight: 700;
}
.meta-author-link:hover,
.meta-author-link:focus-visible {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 0.12em;
}
.meta-category-link {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(100, 116, 139, 0.45);
  text-underline-offset: 0.12em;
}
.meta-category-link:hover,
.meta-category-link:focus-visible {
  color: var(--text);
  text-decoration-color: currentColor;
}
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0;
}
.tag-list li {
  padding: 0.2rem 0.55rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.9rem;
  color: var(--muted);
}
.tag-list a {
  color: inherit;
  text-decoration: none;
  font-weight: 700;
}
.tag-list a:hover,
.tag-list a:focus-visible {
  color: var(--text);
}
.post {
  padding: 2rem 0;
}
.post-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 20rem;
  gap: 2rem;
  align-items: start;
}
.post-sidebar-column {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-self: stretch;
  min-height: 100%;
}
.post-sidebar-stack {
  display: grid;
  gap: 1rem;
}
.post-sidebar-sticky-slot {
  position: sticky;
  top: 1rem;
  align-self: start;
}
.post-body {
  display: grid;
  gap: 1rem;
}
.post-body h2,
.post-body h3,
.post-body h4,
.post-body h5,
.post-body h6 {
  margin: 1.25rem 0 0;
  line-height: 1.25;
}
.post-body p,
.post-body ul,
.post-body ol,
.post-body blockquote {
  margin: 0;
}
.post-body ul,
.post-body ol {
  padding-left: 1.5rem;
}
.post-body blockquote {
  padding-left: 1rem;
  border-left: 4px solid var(--line);
  color: var(--muted);
}
.post-body img {
  border-radius: 0.5rem;
}
.post-sidebar,
.post-sidebar-ad,
.post-sidebar-recent,
.post-sidebar-tall-ad {
  padding: 0;
}
.youtube-widget {
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
}
.youtube-widget-header,
.youtube-widget-body {
  padding: 1rem;
}
.youtube-widget-kicker {
  margin: 0 0 0.25rem;
  color: #dc2626;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.youtube-widget h2,
.youtube-widget h3 {
  margin: 0;
  line-height: 1.2;
}
.youtube-widget-frame {
  aspect-ratio: 16 / 9;
  background: #0f172a;
}
.youtube-widget-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.youtube-widget-body {
  display: grid;
  gap: 0.75rem;
}
.youtube-widget-meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}
.sidebar-ad-widget {
  border: 1px solid #eadedb;
  border-radius: 0.75rem;
  background: #fbf8f0;
  box-shadow: 0 16px 36px rgba(36, 14, 50, 0.08);
  padding: 0.9rem;
}
.sidebar-ad-kicker {
  margin: 0 0 0.75rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.sidebar-ad-link {
  display: block;
  border-radius: 0.65rem;
  overflow: hidden;
  background: #f6f6ec;
}
.sidebar-ad-link img {
  display: block;
  width: 100%;
  height: auto;
}
.recent-posts-widget {
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: #ffffff;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
  padding: 1rem;
}
.recent-posts-widget h2 {
  margin: 0 0 0.9rem;
  line-height: 1.2;
}
.recent-posts-widget ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.recent-posts-widget li + li {
  border-top: 1px solid var(--line);
  margin-top: 0.85rem;
  padding-top: 0.85rem;
}
.recent-posts-widget li p {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}
.sidebar-ad-widget-tall {
  padding: 0.9rem;
}
.sidebar-ad-widget-tall .sidebar-ad-link {
  border-radius: 0.85rem;
}
.post-pager {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}
.post-pager-item {
  display: grid;
  gap: 0.35rem;
  min-height: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: #ffffff;
  color: inherit;
  text-decoration: none;
}
.post-pager-item strong {
  line-height: 1.35;
}
.post-pager-item.is-empty {
  visibility: hidden;
}
.post-pager-label {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.post-tags {
  margin-top: 1.5rem;
}
.ad-slot {
  margin: 2rem 0;
  min-height: 280px;
  border: 1px dashed var(--line);
  display: grid;
  place-items: center;
  color: var(--muted);
}
img { max-width: 100%; height: auto; }

@media (max-width: 720px) {
  .all-posts-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
  }

  .all-posts-sticky-slot {
    position: static;
  }

  .all-posts-header,
  .all-posts-footer {
    align-items: start;
    flex-direction: column;
  }

  .all-posts-controls,
  .all-posts-pagination,
  .all-posts-page-numbers {
    flex-wrap: wrap;
  }

  .all-posts-body h3 {
    font-size: 1.2rem;
  }

  .header-top {
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
  }

  .category-nav-toggle {
    display: inline-flex;
    align-self: auto;
    margin-left: auto;
  }

  .brand {
    flex: 1 1 auto;
    min-width: 0;
  }

  .brand-logo {
    width: 44px;
  }

  .brand-tagline {
    display: none;
  }

  .top-banner {
    width: 100%;
    flex: 1 0 100%;
    order: 3;
  }

  .category-bar {
    display: none;
    width: 100%;
  }

  .site-header.is-menu-open .category-bar {
    display: block;
  }

  .category-nav > ul {
    display: block;
    overflow-x: visible;
    overflow-y: visible;
  }

  .category-bar .container {
    display: block;
  }

  .category-nav li {
    width: 100%;
  }

  .category-nav a {
    padding: 0.9rem 1rem;
  }

  .category-nav-parent {
    width: 100%;
  }

  .category-submenu-toggle {
    display: inline-flex;
  }

  .category-nav-item.has-children:hover .category-submenu,
  .category-nav-item.has-children:focus-within .category-submenu {
    display: none;
  }

  .category-nav-item.is-submenu-open .category-submenu {
    display: block !important;
  }

  .category-nav .category-submenu {
    position: static;
    min-width: 0;
    border: 0;
    border-top: 1px solid rgba(248, 250, 252, 0.08);
    background: #111827;
  }

  .category-submenu a {
    padding-left: 2rem;
  }

  .nav-search {
    width: 100%;
    padding: 0.85rem 1rem 1rem;
  }

  .nav-search input[type="search"] {
    width: 100%;
  }

  .featured-story-grid {
    grid-template-columns: 1fr;
  }

  .featured-stories-track {
    grid-auto-columns: minmax(11.5rem, 78%);
  }

  .home-videos-grid {
    grid-template-columns: 1fr;
  }

  .post-layout {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .post-sidebar-column {
    min-height: auto;
  }

  .post-sidebar-sticky-slot {
    position: static;
    top: auto;
  }

  .post-pager {
    grid-template-columns: 1fr;
  }

  .featured-story-card-lead {
    min-height: 23rem;
  }

  .featured-story-rail {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    height: auto;
  }

  .featured-story-card-small {
    min-height: 12rem;
  }
}
