:root {
  color-scheme: light;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, system-ui, sans-serif;
  --bg: #fff;
  --page: #f6f6f6;
  --surface: #fff;
  --surface-soft: #f7f7f7;
  --text: #070707;
  --muted: #777;
  --faint: #aaa;
  --border: #e6e6e6;
  --border-dark: #191919;
  --accent: #3046c7;
  --accent-dark: #24329a;
  --max-width: 1140px;
  --content-width: 760px;
  --sidebar-width: 340px;
  --radius: 0;
  --gap: 36px;
}

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

html {
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.55;
}

body:not(.admin-page) {
  padding-top: var(--site-header-height, 64px);
}

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

img {
  height: auto;
  object-fit: cover;
  color: transparent;
  font-size: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--accent);
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: min(100% - 32px, var(--max-width));
  margin-inline: auto;
}

.skip-link,
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  z-index: 999;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  padding: 10px 14px;
  clip: auto;
  background: #111;
  color: #fff;
}

.reading-progress {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 120;
  height: 3px;
  background: transparent;
  pointer-events: none;
}

.reading-progress span {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  background: var(--accent);
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 80;
  background: #fff;
  border-bottom: 1px solid var(--border);
  transform: translateY(0);
  transition: transform 0.24s ease;
  will-change: transform;
}

.site-header.site-header--hidden {
  transform: translateY(calc(-100% - 4px));
}

.site-header__top {
  background: #f3f3f3;
  border-bottom: 1px solid #e9e9e9;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 64px;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #070707;
  font-size: 1.16rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
}

.site-logo::before {
  content: "F";
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #5c35d5, #2d43c5);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 950;
}

.site-logo:hover {
  color: #070707;
}

.site-header-search {
  position: relative;
  width: min(100%, 430px);
  justify-self: center;
}

.site-header-search input {
  width: 100%;
  height: 28px;
  padding: 0 34px 0 17px;
  border: 1px solid #e1e1e1;
  border-radius: 999px;
  background: #fff;
  color: #222;
  font-size: 0.76rem;
  outline: 0;
}

.site-header-search input:focus {
  border-color: #c4c4c4;
}

.site-header-search button {
  position: absolute;
  top: 0;
  right: 8px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #111;
}

.site-header-search button svg {
  fill: none;
  stroke: currentColor;
}

.site-header__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.site-theme-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 62px;
  height: 32px;
  padding: 3px;
  border: 2px solid #d7d7d7;
  border-radius: 999px;
  background: #fff;
  color: #111;
}

.site-theme-toggle::before {
  display: none;
}

.site-theme-toggle__sun,
.site-theme-toggle__moon {
  position: relative;
  display: grid;
  flex: 0 0 24px;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  transition: background 0.18s ease, color 0.18s ease, opacity 0.18s ease;
}

.site-theme-toggle svg {
  display: block;
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-theme-toggle__sun svg {
  width: 15px;
  height: 15px;
}

.site-theme-toggle__sun {
  background: #f7b500;
  color: #fff;
}

.site-theme-toggle__moon {
  background: #fff;
  color: #111;
  border: 1px solid #ededed;
}

html.theme-dark .site-theme-toggle::before {
  transform: translateX(22px);
}

html.theme-dark .site-theme-toggle {
  border-color: #e9e9e9;
  background: #000;
}

html.theme-dark .site-theme-toggle__sun {
  background: transparent;
  color: #8e8e8e;
}

html.theme-dark .site-theme-toggle__moon {
  background: #fff;
  color: #111;
  border-color: #fff;
}

.site-language-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 28px;
  padding: 3px 8px;
  border: 1px solid #d7d7d7;
  border-radius: 999px;
  background: #fff;
  color: #222;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.site-language-toggle__track {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: 38px;
  height: 19px;
  border-radius: 999px;
  background: #eceefe;
}

.site-language-toggle__option {
  flex: 1;
  color: transparent;
  font-size: 0;
}

.site-language-toggle__thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  display: grid;
  place-items: center;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #fff;
  font-size: 0.66rem;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
}

.site-language-toggle.is-tr .site-language-toggle__thumb {
  transform: translateX(19px);
}

.site-category-bar {
  background: #fff;
}

.site-category-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 43px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  min-width: 0;
}

.site-nav__panel-head {
  display: none;
}

.site-nav a {
  color: #111;
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--accent);
}

.site-nav__language--mobile {
  display: none;
}

.site-category-bar__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-category-bar__actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 88px;
  min-height: 29px;
  padding: 0 17px;
  border: 1px solid #e6e6e6;
  border-radius: 999px;
  color: #111;
  font-size: 0.67rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.site-category-bar__actions a.is-primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.site-menu-toggle,
.site-mobile-search,
.site-nav-backdrop,
.site-mobile-search-panel {
  display: none;
}

.site-main {
  min-height: 60vh;
}

.site-main--wide {
  padding: 0 0 44px;
}

.newsplus-ad {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  min-height: 80px;
  margin-top: 13px;
  margin-bottom: 32px;
  padding: 0 24px;
  border: 1px solid #eee;
  background:
    linear-gradient(100deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.78)),
    linear-gradient(135deg, #f8f8f8 0%, #f8f8f8 52%, #e7ebf8 52%, #e7ebf8 100%);
  color: #222;
}

.newsplus-ad span {
  color: #aaa;
  font-size: 1.5rem;
  font-weight: 300;
}

.newsplus-ad p {
  margin: 0;
  color: #777;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.newsplus-ad a {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 0 18px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-size: 0.66rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.newsplus-shell {
  display: grid;
  grid-template-columns: minmax(0, var(--content-width)) var(--sidebar-width);
  gap: var(--gap);
  align-items: start;
}

.newsplus-main {
  min-width: 0;
}

.newsplus-sidebar {
  display: grid;
  gap: 33px;
  min-width: 0;
}

.newsplus-hero-card {
  position: relative;
  min-height: 340px;
  margin-bottom: 34px;
  overflow: hidden;
  background: #eee;
}

.newsplus-hero-card__media,
.newsplus-hero-card__media img {
  width: 100%;
  height: 340px;
}

.newsplus-hero-card__media img {
  object-fit: cover;
}

.newsplus-hero-card__overlay {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 70px 28px 28px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.83));
  color: #fff;
}

.badge,
.article-meta .badge,
.badge--sm {
  display: inline-flex;
  align-items: center;
  color: var(--accent);
  font-size: 0.66rem;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.newsplus-hero-card__overlay .badge {
  margin-bottom: 8px;
  padding: 4px 8px;
  background: var(--accent);
  color: #fff;
}

.newsplus-hero-card h1 {
  max-width: 560px;
  margin: 0;
  color: #fff;
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  font-weight: 850;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.newsplus-hero-card h1 a:hover {
  color: #fff;
}

.newsplus-top-list,
.newsplus-stream {
  display: grid;
  gap: 28px;
}

.newsplus-list-card,
.newsplus-stream-card {
  display: grid;
  grid-template-columns: 285px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.newsplus-list-card__media,
.newsplus-list-card__media img,
.newsplus-stream-card__media,
.newsplus-stream-card__media img {
  width: 100%;
  height: 185px;
  background: linear-gradient(90deg, #f4f4f4, #fafafa);
}

.newsplus-list-card__media img,
.newsplus-stream-card__media img,
.card-compact__media img,
.card-featured__media img {
  color: transparent !important;
  font-size: 0 !important;
}

.newsplus-list-card__media,
.newsplus-stream-card__media,
.card-compact__media,
.card-featured__media {
  overflow: hidden;
}

.is-image-missing {
  position: relative;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0)),
    #f1f1f1;
}

.is-image-missing::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.is-image-missing img {
  display: none !important;
}

.newsplus-stream-card__media,
.newsplus-stream-card__media img {
  height: 178px;
}

.newsplus-list-card h2,
.newsplus-stream-card h3,
.newsplus-feature-card h3 {
  margin: 0 0 9px;
  color: #111;
  font-size: 1.15rem;
  font-weight: 850;
  letter-spacing: -0.018em;
  line-height: 1.22;
}

.newsplus-stream-card h3 {
  font-size: 1.12rem;
}

.newsplus-list-card p,
.newsplus-stream-card p,
.newsplus-feature-card p {
  display: -webkit-box;
  margin: 9px 0 0;
  overflow: hidden;
  color: #666;
  font-size: 0.82rem;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: #5e5e5e;
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.article-meta time,
.article-meta__reading {
  color: #5e5e5e;
}

.article-meta time::before,
.article-meta__reading::before {
  content: "";
  display: inline-block;
  width: 3px;
  height: 3px;
  margin: 0 7px 1px 0;
  border-radius: 50%;
  background: #bdbdbd;
}

.newsplus-newsletter {
  margin: 42px 0 50px;
  padding: 28px 46px;
  background: #f7f7f7;
  text-align: center;
}

.newsplus-picks,
.newsplus-tile-section {
  margin: 46px 0 50px;
}

.newsplus-picks__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(220px, 0.75fr);
  gap: 28px;
}

.newsplus-pick-lead {
  display: grid;
  gap: 14px;
}

.newsplus-pick-lead__media,
.newsplus-pick-lead__media img {
  width: 100%;
  height: 260px;
  background: #f3f3f3;
}

.newsplus-pick-lead h3 {
  margin: 8px 0;
  color: #111;
  font-size: 1.55rem;
  font-weight: 850;
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.newsplus-pick-lead p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: #666;
  font-size: 0.88rem;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.newsplus-pick-stack {
  display: grid;
  border-top: 1px solid #e2e2e2;
}

.newsplus-pick-stack article {
  padding: 18px 0;
  border-bottom: 1px solid #e2e2e2;
}

.newsplus-pick-stack span {
  color: var(--accent);
  font-size: 0.66rem;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.newsplus-pick-stack h3 {
  margin: 6px 0 8px;
  color: #111;
  font-size: 1rem;
  font-weight: 850;
  line-height: 1.24;
}

.newsplus-pick-stack time {
  color: #999;
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.newsplus-tile-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.newsplus-tile-card {
  min-width: 0;
  border-bottom: 1px solid #e4e4e4;
}

.newsplus-tile-card--wide {
  grid-column: span 2;
  grid-row: span 2;
}

.newsplus-tile-card__media,
.newsplus-tile-card__media img {
  width: 100%;
  height: 155px;
  margin-bottom: 12px;
  background: #f3f3f3;
}

.newsplus-tile-card--wide .newsplus-tile-card__media,
.newsplus-tile-card--wide .newsplus-tile-card__media img {
  height: 330px;
}

.newsplus-tile-card h3 {
  margin: 8px 0 14px;
  color: #111;
  font-size: 1rem;
  font-weight: 850;
  line-height: 1.22;
}

.newsplus-tile-card--wide h3 {
  font-size: 1.42rem;
  letter-spacing: -0.025em;
}

.newsplus-newsletter h2 {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 800;
}

.newsplus-newsletter p {
  margin: 0 0 17px;
  color: #666;
  font-size: 0.76rem;
}

.newsplus-newsletter form {
  display: grid;
  grid-template-columns: 1fr 138px;
  gap: 10px;
}

.newsplus-newsletter input,
.site-mobile-search-panel input,
.search-form input,
.comment-form input,
.comment-form textarea,
.calculator-form input,
.calculator-form select,
.compare-picker select,
.compare-picker input[type="text"],
.admin-form input,
.admin-form textarea,
.admin-form select {
  width: 100%;
  min-height: 36px;
  padding: 9px 12px;
  border: 1px solid #dedede;
  border-radius: 0;
  background: #fff;
  color: #111;
  outline: 0;
}

.newsplus-newsletter button,
.button,
.site-mobile-search-panel .button,
.search-form .button,
.calculator-form .button,
.comment-form .button,
.ev-newsletter button,
.compare-picker button,
.admin-button,
.admin-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 18px;
  border: 0;
  border-radius: 0;
  background: var(--accent);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.newsplus-newsletter button:hover,
.button:hover,
.admin-button:hover {
  background: var(--accent-dark);
  color: #fff;
}

.newsplus-newsletter__notice {
  margin-top: 12px;
  color: var(--accent);
}

.newsplus-section {
  margin-top: 0;
}

.newsplus-section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
  padding-bottom: 13px;
  border-bottom: 1px solid #e2e2e2;
}

.newsplus-section__head h2,
.newsplus-widget h2,
.related-articles__title,
.comments-section h2 {
  margin: 0;
  color: #111;
  font-size: 0.94rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: capitalize;
}

.newsplus-section__head nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.newsplus-section__head nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #5e5e5e;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.newsplus-section__head nav a:hover {
  background: var(--bg-muted);
  color: var(--accent);
}

.newsplus-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  margin-bottom: 42px;
}

.newsplus-feature-card__media,
.newsplus-feature-card__media img {
  width: 100%;
  height: 180px;
  margin-bottom: 16px;
  background: #f3f3f3;
}

.newsplus-feature-card h3 {
  font-size: 1.05rem;
}

.newsplus-stream {
  padding-top: 3px;
}

.newsplus-tools {
  margin-top: 42px;
  padding: 24px;
  border: 1px solid #e7e7e7;
  background: #fafafa;
}

.newsplus-tools h2 {
  margin: 0 0 14px;
  font-size: 1.05rem;
}

.newsplus-tools div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.newsplus-tools a {
  padding: 7px 11px;
  border: 1px solid #e1e1e1;
  background: #fff;
  color: #222;
  font-size: 0.76rem;
  font-weight: 700;
}

.newsplus-membership {
  padding: 34px 28px;
  background: #f8f8f8;
  text-align: center;
}

.newsplus-membership h2 {
  max-width: 230px;
  margin: 0 auto 12px;
  font-size: 1.42rem;
  font-weight: 400;
  line-height: 1.25;
}

.newsplus-membership p {
  margin: 0 auto 20px;
  color: #777;
  font-size: 0.78rem;
  line-height: 1.55;
}

.newsplus-membership a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.newsplus-widget {
  min-width: 0;
}

.newsplus-widget h2 {
  margin-bottom: 18px;
  padding-bottom: 13px;
  border-bottom: 1px solid #ddd;
  font-weight: 500;
}

.newsplus-widget-list {
  display: grid;
  gap: 16px;
}

.card-compact {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.card-compact__media,
.card-compact__media img {
  width: 92px;
  height: 70px;
}

.card-compact .badge {
  display: none;
}

.card-compact__title {
  margin: 0 0 7px;
  color: #111;
  font-size: 0.8rem;
  font-weight: 850;
  line-height: 1.25;
}

.card-compact time,
.sidebar-plain-link span {
  color: #999;
  font-size: 0.63rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.newsplus-load-more {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  margin-top: 20px;
  border: 1px solid #e1e1e1;
  color: #555;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.newsplus-popular-image,
.newsplus-popular-image img {
  display: block;
  width: 100%;
  height: 190px;
  margin-bottom: 14px;
  background: #f2f2f2;
}

.sidebar-ranked-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sidebar-ranked-list li {
  display: grid;
  grid-template-columns: 25px minmax(0, 1fr);
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid #eee;
}

.sidebar-ranked-list span {
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 850;
}

.sidebar-ranked-list a {
  color: #111;
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.25;
}

.site-main--article {
  padding: 32px 0 56px;
}

.article-detail__hero {
  background: #fff;
}

.article-detail__hero-content {
  width: min(100% - 32px, var(--max-width));
  margin-inline: auto;
}

.breadcrumb {
  margin: 0 0 18px;
  color: #5c5c5c;
  font-size: 0.8rem;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumb li:not(:last-child)::after {
  content: "/";
  margin-left: 8px;
  color: #b5b5b5;
}

.breadcrumb a {
  color: var(--accent);
  font-weight: 750;
}

.article-detail__title {
  max-width: 760px;
  margin: 0 0 15px;
  color: #111;
  font-size: clamp(2rem, 4.3vw, 3rem);
  font-weight: 850;
  letter-spacing: -0.045em;
  line-height: 1.03;
}

.article-detail__excerpt {
  max-width: 760px;
  margin: 0;
  color: #666;
  font-size: 1.15rem;
  line-height: 1.55;
}

.article-detail__hero-author {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: 760px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid #e5e5e5;
  color: #666;
  font-size: 0.95rem;
}

.article-detail__hero-author-main {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 12px;
}

.article-detail__hero-author-copy {
  min-width: 0;
}

.article-detail__author-name {
  display: block;
  color: #111;
  font-weight: 850;
  line-height: 1.15;
  padding: 4px 0;
  margin-bottom: 4px;
}

.article-detail__author-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-top: 8px;
  color: #5c5c5c;
  font-size: 0.66rem;
  font-weight: 780;
  line-height: 1.35;
  text-transform: uppercase;
}

.article-detail__author-meta a {
  color: var(--accent);
  padding: 4px 0;
}

.article-detail__author-meta time,
.article-detail__author-meta span {
  display: inline-flex;
  align-items: center;
}

.article-detail__author-meta time::before,
.article-detail__author-meta span::before {
  content: "";
  display: inline-block;
  width: 3px;
  height: 3px;
  margin-right: 7px;
  border-radius: 50%;
  background: #b8b8b8;
}

.article-detail__author-meta > :first-child::before {
  display: none;
}

.article-detail__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  max-width: 760px;
  margin: 14px 0 0;
  color: #777;
  font-size: 0.78rem;
  line-height: 1.45;
}

.article-detail__trust span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.article-detail__trust span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.article-detail__comment-count {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  margin-left: auto;
  padding: 0 12px;
  border: 1px solid #dedede;
  border-radius: 999px;
  background: #fff;
  color: #111;
  font-size: 0.78rem;
  font-weight: 850;
}

.article-detail__comment-count:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.article-detail__hero-avatar,
.author-box__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.article-detail__layout {
  display: grid;
  grid-template-columns: minmax(0, var(--content-width)) var(--sidebar-width);
  gap: var(--gap);
  align-items: start;
  margin-top: 32px;
}

.article-detail__main {
  min-width: 0;
}

.article-detail__hero-media {
  margin-bottom: 20px;
}

.article-detail__hero-media,
.article-detail__hero-media img {
  width: 100%;
  max-height: 420px;
  background: #f2f2f2;
}

.article-detail__hero-media img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.article-detail__hero-share {
  margin-bottom: 22px;
  padding: 13px 0;
  border-top: 1px solid #e5e5e5;
  border-bottom: 1px solid #e5e5e5;
}

.share-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.share-buttons__label {
  margin-right: 8px;
  color: #5e5e5e;
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.share-buttons__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid #ddd;
  border-radius: 50%;
  background: #fff;
  color: #111;
}

.share-btn--copy {
  width: auto;
  gap: 7px;
  padding: 0 12px;
  border-radius: 999px;
}

.share-btn__hint {
  font-size: 0.78rem;
  font-weight: 750;
}

.share-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.prose {
  color: #181818;
  font-size: 1.03rem;
  line-height: 1.82;
}

.prose p {
  margin: 0 0 1.45rem;
}

.prose h2,
.prose h3 {
  scroll-margin-top: 110px;
  margin: 2.2rem 0 0.9rem;
  color: #111;
  letter-spacing: -0.02em;
  line-height: 1.18;
}

.prose h2 {
  font-size: 1.55rem;
}

.prose h3 {
  font-size: 1.22rem;
}

.article-toc {
  margin-bottom: 24px;
  padding: 16px 18px;
  border: 1px solid #e5e5e5;
  background: #fafafa;
}

.article-toc h2,
.article-sources h2,
.article-faq h2 {
  margin: 0 0 12px;
  color: #111;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.article-toc ol {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.article-toc a {
  color: #333;
  font-size: 0.88rem;
  font-weight: 720;
}

.article-toc__item--level-3 {
  padding-left: 16px;
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 10px;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid #e5e5e5;
}

.article-tags span {
  margin-right: 3px;
  color: #777;
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.article-tags a {
  display: inline-flex;
  align-items: center;
  min-height: 29px;
  padding: 0 11px;
  border: 1px solid #ddd;
  border-radius: 999px;
  background: #fff;
  color: #111;
  font-size: 0.75rem;
  font-weight: 760;
}

.article-tags a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.article-sources,
.article-faq {
  margin-top: 28px;
  padding: 18px;
  border: 1px solid #e5e5e5;
  background: #fafafa;
}

.article-sources ol {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
}

.article-sources a {
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 720;
}

.article-faq {
  display: grid;
  gap: 8px;
}

.article-faq details {
  border-top: 1px solid #e5e5e5;
  padding-top: 11px;
}

.article-faq details:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.article-faq summary {
  cursor: pointer;
  color: #111;
  font-weight: 820;
}

.article-faq p {
  margin: 9px 0 0;
  color: #666;
}

.article-detail__sidebar {
  position: sticky;
  top: 108px;
  display: grid;
  gap: 30px;
}

.article-detail__sidebar .sidebar-card {
  background: #fff;
}

.sidebar-card__title {
  margin: 0 0 18px;
  padding-bottom: 13px;
  border-bottom: 1px solid #ddd;
  color: #111;
  font-size: 0.94rem;
  font-weight: 500;
}

.sidebar-list {
  display: grid;
  gap: 16px;
}

.sidebar-plain-link {
  display: grid;
  gap: 5px;
  padding-bottom: 13px;
  border-bottom: 1px solid #eee;
}

.sidebar-plain-link strong {
  color: #111;
  font-size: 0.86rem;
  line-height: 1.28;
}

.author-box {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  margin-top: 34px;
  padding: 18px;
  border: 1px solid #e6e6e6;
  background: #fff;
}

.author-box__avatar {
  width: 56px;
  height: 56px;
}

.author-box__avatar--placeholder {
  display: grid;
  place-items: center;
  background: #f1f1f1;
  color: #111;
  font-size: 1rem;
  font-weight: 850;
}

.author-box__info {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.author-box__label {
  margin: 0 0 2px;
  color: var(--accent);
  font-size: 0.64rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  line-height: 1.2;
  text-transform: uppercase;
}

.author-box__name {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 850;
}

.author-box__role {
  display: none;
}

.author-box__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 7px;
}

.author-box__meta span,
.author-box__meta a {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 9px;
  border: 1px solid #e3e3e3;
  border-radius: 999px;
  background: #fafafa;
  color: #555;
  font-size: 0.72rem;
  font-weight: 760;
}

.author-box__meta a {
  color: var(--accent);
}

.author-box__bio {
  max-width: 620px;
  margin: 4px 0 0;
  color: #666;
  font-size: 0.9rem;
  line-height: 1.55;
}

.related-articles,
.comments-section {
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid #e1e1e1;
}

.related-articles__title,
.comments-section h2 {
  margin-bottom: 20px;
}

.related-articles__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 25px;
}

.card-featured__media,
.card-featured__media img {
  width: 100%;
  height: 165px;
  background: #f2f2f2;
}

.card-featured__body {
  padding-top: 12px;
}

.card-featured__title {
  margin: 8px 0;
  font-size: 1rem;
  font-weight: 850;
  line-height: 1.25;
}

.card-featured__excerpt {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: #666;
  font-size: 0.82rem;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.comment-form,
.comment-list {
  display: grid;
  gap: 14px;
}

.comment-form {
  padding: 20px;
  border: 1px solid #e6e6e6;
  background: #fafafa;
}

.comment-form label {
  display: grid;
  gap: 6px;
  color: #555;
  font-size: 0.8rem;
  font-weight: 700;
}

.comment-item {
  padding: 16px 0;
  border-bottom: 1px solid #eee;
}

.comment-item__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
  color: #777;
  font-size: 0.8rem;
}

.comment-notice {
  color: #067647;
}

.comment-errors {
  color: #b42318;
}

.listing-hero,
.tool-hero,
.platform-hero {
  margin: 32px 0;
  padding-bottom: 18px;
  border-bottom: 1px solid #e2e2e2;
}

.listing-hero .eyebrow {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.listing-hero > p:not(.eyebrow) {
  max-width: 680px;
  margin: 0;
  color: #666;
}

.listing-hero h1,
.tool-hero h1,
.platform-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.05;
}

.search-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  max-width: 650px;
  margin-top: 20px;
  padding: 10px;
  border: 1px solid #e2e2e2;
  background: #fafafa;
}

.archive-list {
  display: grid;
  gap: 30px;
  max-width: 860px;
}

.card-horizontal {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  padding-bottom: 28px;
  border-bottom: 1px solid #e5e5e5;
}

.card-horizontal__media,
.card-horizontal__media img {
  width: 100%;
  height: 210px;
  background: #f2f2f2;
}

.card-horizontal__title {
  margin: 8px 0 10px;
  color: #111;
  font-size: 1.35rem;
  font-weight: 850;
  letter-spacing: -0.025em;
  line-height: 1.18;
}

.card-horizontal__excerpt {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: #666;
  font-size: 0.9rem;
  line-height: 1.6;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.listing-grid,
.vehicle-grid,
.calculator-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.calculator-card,
.vehicle-card,
.compare-picker,
.tool-notes,
.tool-faq,
.admin-card,
.admin-login {
  padding: 22px;
  border: 1px solid #e6e6e6;
  background: #fff;
}

.calculator-form,
.compare-picker,
.admin-form {
  display: grid;
  gap: 14px;
}

.calculator-result,
.compare-results,
.empty-state {
  margin: 24px 0;
  padding: 18px;
  border: 1px solid #e6e6e6;
  background: #f8f8f8;
}

.static-page {
  max-width: 860px;
  margin: 34px auto 60px;
}

.static-page__header {
  padding-bottom: 22px;
  border-bottom: 1px solid #e3e3e3;
}

.static-page__header h1 {
  max-width: 760px;
  margin: 0 0 14px;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 850;
  letter-spacing: -0.04em;
  line-height: 1.04;
}

.static-page__header p:last-child {
  max-width: 720px;
  margin: 0;
  color: #666;
  font-size: 1.08rem;
  line-height: 1.6;
}

.static-page__content {
  margin-top: 28px;
}

.static-page__content section {
  padding: 20px 0;
  border-bottom: 1px solid #eee;
}

.static-page__content section:last-child {
  border-bottom: 0;
}

.site-footer {
  margin-top: 60px;
  border-top: 1px solid #e2e2e2;
  background: #f8f8f8;
}

.site-footer__inner {
  padding: 34px 0;
}

.site-footer__top {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: start;
  margin-bottom: 28px;
}

.site-footer__eyebrow,
.site-footer__copy {
  margin: 0;
  color: #5a5a5a;
  font-size: 0.8rem;
}

.site-footer__brand {
  margin: 0 0 8px;
  font-size: 1.4rem;
  font-weight: 900;
}

.site-footer__headline {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 750;
}

.site-footer__follow {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 9px 14px;
  border: 1px solid #ddd;
  background: #fff;
  color: #111;
  font-size: 0.78rem;
  font-weight: 750;
}

.site-footer__columns {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.site-footer__group {
  display: grid;
  gap: 7px;
}

.site-footer__group h2 {
  margin: 0 0 6px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer__group a,
.site-footer__bottom {
  color: #666;
  font-size: 0.8rem;
}

.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid #e0e0e0;
}

.site-footer__bottom p {
  margin: 0;
}

.admin-shell,
.admin-login {
  max-width: 1100px;
  margin: 32px auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.author-profile {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  margin: 34px 0 36px;
  padding-bottom: 28px;
  border-bottom: 1px solid #e2e2e2;
}

.author-profile__media img,
.author-profile__placeholder {
  width: 104px;
  height: 104px;
  border-radius: 50%;
}

.author-profile__media img {
  object-fit: cover;
}

.author-profile__placeholder {
  display: grid;
  place-items: center;
  background: #f1f1f1;
  color: #111;
  font-size: 2rem;
  font-weight: 900;
}

.author-profile .eyebrow {
  margin: 0 0 7px;
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.author-profile h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.04;
}

.author-profile__role {
  margin: 8px 0 0;
  color: #555;
  font-weight: 780;
}

.author-profile__bio {
  max-width: 720px;
  margin: 12px 0 0;
  color: #666;
  font-size: 1rem;
}

.author-profile__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 14px;
}

.author-profile__meta span,
.author-profile__meta a {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  border: 1px solid #e0e0e0;
  border-radius: 999px;
  background: #fff;
  color: #333;
  font-size: 0.78rem;
  font-weight: 760;
}

.author-profile__meta a {
  color: var(--accent);
}

.admin-table th,
.admin-table td {
  padding: 10px;
  border-bottom: 1px solid #e6e6e6;
  text-align: left;
}

.admin-mini-list {
  display: grid;
  gap: 10px;
}

.admin-mini-list a {
  display: grid;
  gap: 4px;
  padding: 11px 0;
  border-bottom: 1px solid #ececec;
}

.admin-mini-list a:last-child {
  border-bottom: 0;
}

.admin-mini-list strong {
  color: #111;
  font-size: 0.9rem;
  line-height: 1.3;
}

.admin-mini-list span {
  color: #666;
  font-size: 0.78rem;
}

html.theme-dark {
  color-scheme: dark;
  --bg: #000;
  --page: #000;
  --surface: #000;
  --surface-soft: #080808;
  --text: #f6f7fb;
  --muted: #a8a8a8;
  --faint: #777;
  --border: rgba(255, 255, 255, 0.16);
  --border-dark: #f6f7fb;
}

html.theme-dark body,
html.theme-dark .site-header,
html.theme-dark .site-header__top,
html.theme-dark .site-category-bar,
html.theme-dark .site-header-search input,
html.theme-dark .site-theme-toggle,
html.theme-dark .site-language-toggle,
html.theme-dark .site-mobile-search,
html.theme-dark .site-menu-toggle,
html.theme-dark .site-nav,
html.theme-dark .site-nav__panel-head button,
html.theme-dark .newsplus-membership,
html.theme-dark .newsplus-newsletter,
html.theme-dark .newsplus-tools,
html.theme-dark .article-toc,
html.theme-dark .article-sources,
html.theme-dark .article-faq,
html.theme-dark .site-footer,
html.theme-dark .static-page__header,
html.theme-dark .article-detail__hero,
html.theme-dark .article-detail__sidebar .sidebar-card,
html.theme-dark .author-box,
html.theme-dark .author-profile__meta span,
html.theme-dark .author-profile__meta a,
html.theme-dark .comment-form,
html.theme-dark .search-form,
html.theme-dark .calculator-card,
html.theme-dark .vehicle-card,
html.theme-dark .compare-picker,
html.theme-dark .tool-notes,
html.theme-dark .tool-faq,
html.theme-dark .admin-card,
html.theme-dark .admin-login {
  background: var(--surface);
  color: var(--text);
}

html.theme-dark .newsplus-ad,
html.theme-dark .newsplus-list-card__media,
html.theme-dark .newsplus-stream-card__media,
html.theme-dark .newsplus-feature-card__media,
html.theme-dark .newsplus-pick-lead__media,
html.theme-dark .newsplus-tile-card__media,
html.theme-dark .card-compact__media,
html.theme-dark .card-featured__media,
html.theme-dark .card-horizontal__media,
html.theme-dark .newsplus-popular-image,
html.theme-dark .is-image-missing,
html.theme-dark .calculator-result,
html.theme-dark .compare-results,
html.theme-dark .empty-state {
  background: var(--surface-soft);
  border-color: var(--border);
}

html.theme-dark a,
html.theme-dark h1,
html.theme-dark h2,
html.theme-dark h3,
html.theme-dark .site-logo,
html.theme-dark .site-logo:hover,
html.theme-dark .site-nav a,
html.theme-dark .site-nav__panel-head,
html.theme-dark .newsplus-list-card h2,
html.theme-dark .newsplus-stream-card h3,
html.theme-dark .newsplus-feature-card h3,
html.theme-dark .newsplus-pick-lead h3,
html.theme-dark .newsplus-pick-stack h3,
html.theme-dark .newsplus-tile-card h3,
html.theme-dark .card-compact__title,
html.theme-dark .card-horizontal__title,
html.theme-dark .sidebar-ranked-list a,
html.theme-dark .sidebar-plain-link strong,
html.theme-dark .site-footer__brand,
html.theme-dark .site-footer__headline,
html.theme-dark .article-detail__title,
html.theme-dark .article-detail__author-name,
html.theme-dark .prose h2,
html.theme-dark .prose h3,
html.theme-dark .article-toc h2,
html.theme-dark .article-sources h2,
html.theme-dark .article-faq h2,
html.theme-dark .article-toc a,
html.theme-dark .article-tags a,
html.theme-dark .article-faq summary,
html.theme-dark .author-profile h1,
html.theme-dark .author-box__name,
html.theme-dark .article-detail__comment-count {
  color: var(--text);
}

html.theme-dark .site-header,
html.theme-dark .site-header__top,
html.theme-dark .site-category-bar,
html.theme-dark .newsplus-section__head,
html.theme-dark .newsplus-widget h2,
html.theme-dark .newsplus-pick-stack,
html.theme-dark .newsplus-pick-stack article,
html.theme-dark .newsplus-tile-card,
html.theme-dark .card-horizontal,
html.theme-dark .sidebar-ranked-list li,
html.theme-dark .article-detail__hero-author,
html.theme-dark .article-toc,
html.theme-dark .article-tags,
html.theme-dark .article-sources,
html.theme-dark .article-faq,
html.theme-dark .article-faq details,
html.theme-dark .author-profile,
html.theme-dark .related-articles,
html.theme-dark .comments-section,
html.theme-dark .site-footer,
html.theme-dark .site-footer__bottom {
  border-color: var(--border);
}

html.theme-dark .newsplus-list-card p,
html.theme-dark .newsplus-stream-card p,
html.theme-dark .newsplus-feature-card p,
html.theme-dark .newsplus-pick-lead p,
html.theme-dark .card-horizontal__excerpt,
html.theme-dark .listing-hero > p:not(.eyebrow),
html.theme-dark .newsplus-membership p,
html.theme-dark .article-detail__excerpt,
html.theme-dark .article-detail__trust,
html.theme-dark .article-detail__author-meta,
html.theme-dark .prose,
html.theme-dark .article-tags span,
html.theme-dark .article-faq p,
html.theme-dark .author-profile__role,
html.theme-dark .author-profile__bio,
html.theme-dark .static-page__header p:last-child,
html.theme-dark .author-box__bio,
html.theme-dark .share-buttons__label,
html.theme-dark .site-footer__copy,
html.theme-dark .site-footer__group a,
html.theme-dark .site-footer__bottom {
  color: var(--muted);
}

html.theme-dark .article-detail__hero-share {
  border-color: var(--border);
}

html.theme-dark .share-btn,
html.theme-dark .article-detail__comment-count,
html.theme-dark .article-tags a,
html.theme-dark .author-profile__meta span,
html.theme-dark .author-profile__meta a,
html.theme-dark .author-box__meta span,
html.theme-dark .author-box__meta a,
html.theme-dark .site-footer__follow {
  border-color: var(--border);
  background: #050505;
  color: var(--text);
}

html.theme-dark .share-btn:hover,
html.theme-dark .article-detail__comment-count:hover,
html.theme-dark .article-tags a:hover,
html.theme-dark .site-footer__follow:hover {
  border-color: var(--accent);
  color: var(--accent);
}

html.theme-dark .author-box {
  border-color: var(--border);
  background: #050505;
}

html.theme-dark .author-box__avatar--placeholder {
  background: #111;
  color: var(--text);
}

html.theme-dark .author-profile__placeholder {
  background: #111;
  color: var(--text);
}

html.theme-dark .site-footer__eyebrow,
html.theme-dark .author-box__label {
  color: var(--accent);
}

html.theme-dark .static-page__content section,
html.theme-dark .admin-mini-list a {
  border-color: var(--border);
}

html.theme-dark .admin-mini-list strong {
  color: var(--text);
}

html.theme-dark .admin-mini-list span {
  color: var(--muted);
}

@media (max-width: 1060px) {
  :root {
    --max-width: 940px;
    --content-width: 1fr;
    --sidebar-width: 280px;
    --gap: 28px;
  }

  .site-header__inner {
    grid-template-columns: 190px 1fr auto;
  }

  .site-nav {
    gap: 15px;
    overflow-x: auto;
    padding-bottom: 2px;
  }
}

@media (max-width: 767px) {
  body {
    font-size: 15px;
  }

  body:not(.admin-page) {
    padding-top: var(--site-header-height, 64px);
  }

  .container {
    width: min(100% - 28px, var(--max-width));
  }

  .site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 64px;
  }

  .site-logo {
    gap: 11px;
    font-size: 1.36rem;
  }

  .site-logo::before {
    width: 40px;
    height: 40px;
    font-size: 1.05rem;
  }

  .site-header-search,
  .site-header__actions > .site-language-toggle,
  .site-category-bar__actions,
  .hide-mobile {
    display: none !important;
  }

  .site-header__actions {
    gap: 9px;
  }

  .site-theme-toggle {
    width: 86px;
    height: 42px;
    padding: 4px 5px;
    gap: 10px;
    border-width: 2px;
    border-radius: 999px;
    box-shadow: 0 7px 20px rgba(0, 0, 0, 0.07);
  }

  .site-theme-toggle__sun,
  .site-theme-toggle__moon {
    flex-basis: 30px;
    width: 30px;
    height: 30px;
  }

  .site-theme-toggle svg {
    width: 17px;
    height: 17px;
  }

  .site-theme-toggle__sun svg {
    width: 18px;
    height: 18px;
  }

  .site-mobile-search,
  .site-menu-toggle {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid #d8d8d8;
    border-radius: 16px;
    background: #fff;
    color: #111;
    box-shadow: 0 7px 20px rgba(0, 0, 0, 0.07);
  }

  .site-mobile-search svg,
  .site-menu-toggle svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.25;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  html.theme-dark .site-mobile-search,
  html.theme-dark .site-menu-toggle {
    border-color: var(--border);
    background: #050505;
    color: var(--text);
    box-shadow: none;
  }

  html.theme-dark .site-theme-toggle {
    box-shadow: none;
  }

  .site-menu-toggle {
    padding: 0;
  }

  .site-menu-toggle span {
    display: none;
  }

  .site-category-bar {
    min-height: 0;
    border-top: 1px solid #eee;
  }

  .site-category-bar__inner {
    min-height: 0;
  }

  .site-nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: none;
    background: rgba(0, 0, 0, 0.38);
  }

  .site-nav-backdrop.is-open {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    display: grid;
    align-content: start;
    width: min(84vw, 340px);
    height: 100vh;
    padding: 24px 22px;
    overflow-y: auto;
    background: #fff;
    box-shadow: 18px 0 45px rgba(0, 0, 0, 0.18);
    transform: translateX(-105%);
    visibility: hidden;
    transition: transform 0.22s ease, visibility 0.22s ease;
  }

  html.theme-dark .site-nav {
    background: #050505;
  }

  .site-nav.is-open {
    transform: translateX(0);
    visibility: visible;
  }

  .site-nav__panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    padding-bottom: 16px;
    border-bottom: 1px solid #eee;
    color: #111;
    font-size: 1.05rem;
    font-weight: 900;
  }

  .site-nav__panel-head button {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid #dcdcdc;
    border-radius: 12px;
    background: #f8f8f8;
    color: #111;
    font-size: 1.45rem;
    line-height: 1;
  }

  html.theme-dark .site-nav__panel-head button {
    border-color: var(--border);
    background: #0a0a0a;
    color: var(--text);
  }

  .site-nav a {
    padding: 13px 0;
    border-bottom: 1px solid #f0f0f0;
    color: #111;
    font-size: 0.82rem;
    font-weight: 850;
  }

  .site-nav__language--mobile {
    display: block;
  }

  .site-mobile-search-panel {
    display: none;
    grid-template-columns: 1fr auto;
    gap: 8px;
    padding: 12px 14px;
    border-top: 1px solid #eee;
    background: #fff;
  }

  html.theme-dark .site-mobile-search-panel {
    border-color: var(--border);
    background: #000;
  }

  .site-mobile-search-panel.is-open {
    display: grid;
  }

  .newsplus-ad {
    grid-template-columns: 1fr;
    gap: 8px;
    min-height: 92px;
    margin-top: 10px;
    margin-bottom: 24px;
    text-align: center;
  }

  .newsplus-shell,
  .article-detail__layout {
    grid-template-columns: 1fr;
  }

  .newsplus-sidebar {
    order: 2;
  }

  .newsplus-hero-card,
  .newsplus-hero-card__media,
  .newsplus-hero-card__media img {
    min-height: 260px;
    height: 260px;
  }

  .newsplus-hero-card__overlay {
    padding: 74px 18px 20px;
  }

  .newsplus-list-card,
  .newsplus-stream-card,
  .card-horizontal {
    grid-template-columns: 142px minmax(0, 1fr);
    gap: 15px;
  }

  .newsplus-list-card__media,
  .newsplus-list-card__media img,
  .newsplus-stream-card__media,
  .newsplus-stream-card__media img,
  .card-horizontal__media,
  .card-horizontal__media img {
    height: 104px;
  }

  .newsplus-list-card h2,
  .newsplus-stream-card h3,
  .card-horizontal__title {
    font-size: 0.98rem;
  }

  .newsplus-list-card p,
  .newsplus-stream-card p,
  .card-horizontal__excerpt {
    display: none;
  }

  .archive-list {
    gap: 24px;
  }

  .search-form {
    grid-template-columns: 1fr;
    max-width: none;
  }

  .newsplus-newsletter {
    padding: 22px 16px;
  }

  .newsplus-newsletter form {
    grid-template-columns: 1fr;
  }

  .newsplus-section__head {
    align-items: flex-start;
    flex-direction: column;
  }

  .newsplus-feature-grid,
  .newsplus-picks__grid,
  .newsplus-tile-grid,
  .related-articles__grid,
  .listing-grid,
  .vehicle-grid,
  .calculator-grid {
    grid-template-columns: 1fr;
  }

  .newsplus-pick-lead__media,
  .newsplus-pick-lead__media img,
  .newsplus-tile-card__media,
  .newsplus-tile-card__media img,
  .newsplus-tile-card--wide .newsplus-tile-card__media,
  .newsplus-tile-card--wide .newsplus-tile-card__media img {
    height: 210px;
  }

  .newsplus-tile-card--wide {
    grid-column: auto;
    grid-row: auto;
  }

  .article-detail__title {
    font-size: clamp(2rem, 10vw, 2.7rem);
  }

  .article-detail__excerpt {
    font-size: 1.05rem;
  }

  .article-detail__hero-author {
    align-items: flex-start;
  }

  .article-detail__hero-media,
  .article-detail__hero-media img {
    max-height: none;
  }

  .article-toc,
  .article-sources,
  .article-faq {
    padding: 14px;
  }

  .author-profile {
    grid-template-columns: 1fr;
    gap: 15px;
    text-align: left;
  }

  .site-footer__top,
  .site-footer__columns,
  .site-footer__bottom {
    grid-template-columns: 1fr;
  }

  .site-footer__bottom {
    display: grid;
  }
}

@media (max-width: 480px) {
  .newsplus-list-card,
  .newsplus-stream-card,
  .card-horizontal,
  .card-compact {
    grid-template-columns: 108px minmax(0, 1fr);
    gap: 13px;
  }

  .card-horizontal__media,
  .card-horizontal__media img,
  .card-compact__media,
  .card-compact__media img {
    width: 108px;
    height: 78px;
  }

  .article-meta {
    font-size: 0.6rem;
  }

  .article-detail__hero-author {
    gap: 10px;
  }

  .article-detail__hero-author-main {
    gap: 10px;
  }

  .article-detail__author-meta {
    font-size: 0.6rem;
    gap: 5px;
  }

  .article-detail__comment-count {
    min-height: 32px;
    padding: 0 10px;
  }
}

/* Restored Admin Styling & Variables */
.admin-page {
  --bg: #f5f5f7;
  --bg-elevated: #ffffff;
  --bg-muted: #ececf0;
  --text: #1d1d1f;
  --text-secondary: #6e6e73;
  --border: rgba(0, 0, 0, 0.08);
  --accent: #3046c7;
  --radius: 12px;
  --shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2.5rem;
  --space-2xl: 4rem;
}

html.theme-dark .admin-page {
  --bg: #000000;
  --bg-elevated: #1c1c1e;
  --bg-muted: #2c2c2e;
  --text: #f5f5f7;
  --text-secondary: #a1a1a6;
  --border: rgba(255, 255, 255, 0.12);
  --shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
}

.admin-form input,
.admin-form select,
.admin-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg-elevated);
  color: var(--text);
  padding: 0.75rem 0.85rem;
  font: inherit;
}
.search-form input:focus,
.admin-form input:focus,
.admin-form select:focus,
.admin-form textarea:focus {
  outline: 2px solid color-mix(in srgb, var(--accent) 65%, transparent);
  outline-offset: 2px;
}
.archive-list--cards {
  list-style: none;
}
.setup-error {
  margin-top: var(--space-lg);
  padding: var(--space-md);
  overflow: auto;
  text-align: left;
  color: var(--text);
  background: var(--bg-muted);
  border-radius: var(--radius);
}

.admin-page {
  background: var(--bg);
  color: var(--text);
}
.wp-admin-container {
  display: flex;
  min-height: 100vh;
}
.wp-sidebar {
  width: 240px;
  background: #1d2327;
  color: #c3c4c7;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
  z-index: 100;
  flex-shrink: 0;
  transition: transform 0.3s ease;
  scrollbar-width: none; /* Firefox */
}
.wp-sidebar::-webkit-scrollbar {
  display: none; /* Safari and Chrome */
}
html.theme-dark .wp-sidebar {
  background: #111112;
  border-right: 1px solid var(--border);
}
.wp-sidebar-brand {
  height: 60px;
  padding: 0 var(--space-md);
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  background: #101416;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
html.theme-dark .wp-sidebar-brand {
  background: #09090a;
}
.wp-sidebar-brand-icon {
  font-size: 1.25rem;
}
.wp-sidebar-menu {
  flex-grow: 1;
  overflow-y: auto;
  padding-block: var(--space-sm);
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.1) transparent;
}
.wp-sidebar-menu::-webkit-scrollbar {
  width: 6px;
}
.wp-sidebar-menu::-webkit-scrollbar-track {
  background: transparent;
}
.wp-sidebar-menu::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
}
.wp-sidebar-menu::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.2);
}
.wp-sidebar-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.wp-sidebar-menu li {
  margin: 0;
}
.wp-sidebar-menu a {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 10px var(--space-md);
  color: #c3c4c7;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.15s ease;
  border-left: 4px solid transparent;
}
.wp-sidebar-menu a:hover {
  background: #2c3338;
  color: #72aee6;
  text-decoration: none;
}
html.theme-dark .wp-sidebar-menu a:hover {
  background: #1c1c1e;
  color: var(--accent);
}
.wp-sidebar-menu li.active a {
  background: #2271b1;
  color: #fff;
  border-left-color: #72aee6;
}
html.theme-dark .wp-sidebar-menu li.active a {
  background: var(--bg-muted);
  color: #fff;
  border-left-color: var(--accent);
}
.wp-sidebar-menu .wp-icon {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2;
  flex-shrink: 0;
}
.wp-badge {
  background: #e02424;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 10px;
  margin-left: auto;
  line-height: 1;
}
.wp-main {
  flex-grow: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.wp-header {
  height: 60px;
  background: #1d2327; /* Unified dark header bar */
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--space-lg);
  position: sticky;
  top: 0;
  z-index: 90;
  color: #f0f0f1;
}
html.theme-dark .wp-header {
  background: #111112;
  border-bottom: 1px solid var(--border);
}
.wp-header-left {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}
.wp-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  color: #f0f0f1;
  padding: var(--space-xs);
  border-radius: var(--radius);
  transition: background 0.15s ease;
}
.wp-menu-toggle:hover {
  background: #2c3338;
}
html.theme-dark .wp-menu-toggle:hover {
  background: var(--bg-muted);
}
.wp-menu-toggle svg {
  width: 24px;
  height: 24px;
}
.wp-visit-site-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #c3c4c7;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.15s ease;
}
.wp-visit-site-btn:hover {
  background: #2c3338;
  color: #fff;
  border-color: #72aee6;
  text-decoration: none;
}
html.theme-dark .wp-visit-site-btn {
  border-color: var(--border);
  color: var(--text-secondary);
}
html.theme-dark .wp-visit-site-btn:hover {
  background: var(--bg-muted);
  color: var(--text);
  border-color: var(--text-secondary);
}
.wp-visit-site-btn .wp-icon {
  width: 14px;
  height: 14px;
  stroke-width: 2.5;
  stroke: currentColor;
}
.wp-header-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0;
  color: var(--text);
  display: none;
}
.wp-header-right {
  display: flex;
  align-items: center;
}
.wp-user-menu {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  font-size: 0.9rem;
}
.wp-greeting {
  color: #c3c4c7;
}
.wp-greeting strong {
  color: #fff;
}
.wp-logout-form {
  margin: 0;
}
.wp-logout-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #c3c4c7;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}
.wp-logout-btn:hover {
  background: #2c3338;
  color: #fff;
  border-color: #72aee6;
}
html.theme-dark .wp-logout-btn {
  border-color: var(--border);
  color: var(--text-secondary);
}
html.theme-dark .wp-logout-btn:hover {
  background: var(--bg-muted);
  color: var(--text);
  border-color: var(--text-secondary);
}
.wp-body {
  padding: var(--space-lg);
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

/* Dashboard Statistics & Analytics Premium styling */
.admin-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}
.admin-metrics article {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-md);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.admin-metrics article:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}
html.theme-dark .admin-metrics article:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}
.admin-metrics article span {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
  font-weight: 750;
}
.admin-metrics article strong {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
}
.admin-dashboard-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}
@media (min-width: 992px) {
  .admin-dashboard-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .admin-dashboard-grid__wide {
    grid-column: span 2;
  }
}
.admin-bars {
  display: grid;
  gap: var(--space-md);
}
.admin-bars--columns {
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .admin-bars--columns {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md) var(--space-lg);
  }
}
.admin-bar {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-xs);
  position: relative;
  padding-bottom: 12px;
}
.admin-bar span {
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 600;
}
.admin-bar strong {
  color: var(--text);
  font-weight: 700;
  font-size: 0.875rem;
}
.admin-bar i {
  grid-column: span 2;
  height: 6px;
  background: var(--accent);
  border-radius: 3px;
  display: block;
  width: var(--bar, 0%);
  transition: width 0.3s ease;
}
.admin-logout button,
.admin-table__actions button {
  border: none;
  padding: 0;
  color: var(--accent);
  background: transparent;
  cursor: pointer;
  font: inherit;
}
.admin-auth {
  min-height: calc(100vh - 160px);
  display: grid;
  place-items: center;
}
.admin-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: var(--space-lg);
}
.admin-auth .admin-card {
  width: min(100%, 420px);
}
.admin-section {
  display: grid;
  gap: var(--space-lg);
}
.admin-titlebar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: var(--space-md);
}
.admin-titlebar h1,
.admin-auth h1 {
  margin: 0;
  font-size: clamp(1.75rem, 3vw, 2.3rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.admin-table-wrap {
  overflow-x: auto;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}
.admin-table th,
.admin-table td {
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}
.admin-table th {
  color: var(--text-secondary);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.admin-table td span {
  display: block;
  margin-top: 0.2rem;
  color: var(--text-secondary);
  font-size: 0.8125rem;
}
.admin-table tr:last-child td {
  border-bottom: none;
}
.admin-table__actions {
  display: flex;
  gap: var(--space-sm);
  align-items: center;
  white-space: nowrap;
}
.admin-table__actions form {
  margin: 0;
}
.status-pill {
  display: inline-flex !important;
  margin: 0 !important;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  font-size: 0.75rem !important;
  font-weight: 700;
  text-transform: capitalize;
  color: var(--text) !important;
  background: var(--bg-muted);
}
.status-pill--published {
  color: #096b32 !important;
  background: #dff7e8;
}
.admin-form {
  display: grid;
  gap: var(--space-md);
}
.admin-form--wide {
  max-width: 920px;
}
.admin-form label {
  display: grid;
  gap: 0.4rem;
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 650;
}
.admin-form input,
.admin-form select,
.admin-form textarea {
  color: var(--text);
  font-weight: 400;
}
.admin-form textarea {
  resize: vertical;
}
.form-grid {
  display: grid;
  gap: var(--space-md);
}
@media (min-width: 720px) {
  .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.admin-errors,
.admin-flash {
  padding: var(--space-md);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.admin-errors {
  color: #9f1239;
  background: #fff1f2;
  border-color: #fecdd3;
}
.admin-errors p {
  margin: 0;
}
.admin-errors p + p {
  margin-top: 0.35rem;
}
.admin-flash {
  margin-bottom: var(--space-lg);
  color: #075985;
  background: #e0f2fe;
  border-color: #bae6fd;
}

@media (max-width: 782px) {
  .wp-sidebar {
    position: fixed;
    transform: translateX(-100%);
    box-shadow: 4px 0 16px rgba(0, 0, 0, 0.1);
  }
  .wp-sidebar.is-visible {
    transform: translateX(0);
  }
  .wp-menu-toggle {
    display: block;
  }
  .wp-header {
    padding: 0 var(--space-md);
  }
  .wp-body {
    padding: var(--space-md);
  }
  .wp-user-menu {
    gap: var(--space-sm);
  }
  .wp-greeting {
    display: none;
  }
  .admin-titlebar {
    align-items: stretch;
    flex-direction: column;
  }
}

/* Quill editor customization */
.ql-toolbar.ql-snow {
  border: 1px solid var(--border) !important;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  background: var(--bg-elevated);
  padding: 8px var(--space-md) !important;
}
.ql-container.ql-snow {
  border: 1px solid var(--border) !important;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  background: var(--bg-elevated);
  font-family: inherit;
  font-size: 1rem;
}
.ql-editor {
  min-height: 350px;
  line-height: 1.6;
}
html.theme-dark .ql-toolbar.ql-snow {
  border-color: var(--border) !important;
  background: #1c1c1e;
}
html.theme-dark .ql-toolbar .ql-stroke {
  stroke: var(--text) !important;
}
html.theme-dark .ql-toolbar .ql-fill {
  fill: var(--text) !important;
}
html.theme-dark .ql-toolbar .ql-picker {
  color: var(--text) !important;
}
html.theme-dark .ql-toolbar .ql-picker-options {
  background-color: #1c1c1e !important;
  border-color: var(--border) !important;
}
html.theme-dark .ql-container.ql-snow {
  border-color: var(--border) !important;
  background: #121214;
}

/* Toast Notifications */
.wp-toast-container {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 380px;
  width: 100%;
}
.wp-toast {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--bg-elevated);
  border-left: 4px solid var(--primary);
  border-radius: 8px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  color: var(--text);
  font-size: 0.925rem;
  font-weight: 500;
  opacity: 0;
  transform: translateX(120%);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-left-width: 4px;
}
.wp-toast.is-active {
  opacity: 1;
  transform: translateX(0);
}
.wp-toast--success {
  border-left-color: #10b981;
}
.wp-toast--error {
  border-left-color: #ef4444;
}
.wp-toast--info {
  border-left-color: #3b82f6;
}
.wp-toast-icon {
  font-size: 1.15rem;
  flex-shrink: 0;
}
.wp-toast-message {
  line-height: 1.4;
}

/* Dashboard Premium Grid & Widgets */
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}
.dashboard-widget {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: var(--space-lg);
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
}
.dashboard-widget h2 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: var(--space-md);
  color: var(--text);
  border-bottom: 1px solid var(--border);
  padding-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 0;
}
.dashboard-widget-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

/* Quick Draft Form */
.quick-draft-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.quick-draft-form input[type="text"],
.quick-draft-form textarea {
  width: 100%;
  padding: 10px 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.9rem;
  transition: border-color 0.2s ease;
}
.quick-draft-form input[type="text"]:focus,
.quick-draft-form textarea:focus {
  outline: none;
  border-color: var(--primary);
}
.quick-draft-form textarea {
  min-height: 110px;
  resize: vertical;
}

/* System Status List */
.system-status-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.system-status-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--border);
  font-size: 0.9rem;
}
.system-status-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.system-status-label {
  color: var(--text-muted);
  font-weight: 500;
}
.system-status-value {
  color: var(--text);
  font-weight: 600;
}

/* Activity Log timeline */
.activity-log-timeline {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-height: 380px;
  overflow-y: auto;
  padding-right: 6px;
}
.activity-log-item {
  display: flex;
  gap: 12px;
  font-size: 0.875rem;
  line-height: 1.4;
  position: relative;
}
.activity-log-item:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 11px;
  top: 24px;
  bottom: -16px;
  width: 2px;
  background: var(--border);
}
.activity-log-badge {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.75rem;
  z-index: 1;
}
.activity-log-details {
  flex-grow: 1;
}
.activity-log-meta {
  display: flex;
  justify-content: space-between;
  margin-top: 4px;
  font-size: 0.75rem;
  color: var(--text-muted);
}
.activity-log-user {
  font-weight: 600;
}

/* AJAX comment list transitions */
.comment-row-fade {
  transition: all 0.5s ease;
}
.comment-row-fade.row-fade-out {
  opacity: 0;
  transform: translateX(-20px);
}

/* Admin Panel Button Casing Override */
.admin-page button,
.admin-page .button,
.admin-page .admin-button,
.admin-page input[type="submit"] {
  text-transform: none !important;
  letter-spacing: normal !important;
  font-weight: 600 !important;
}

/* Split Layout for Article Form */
.admin-form-split {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: var(--space-lg);
  align-items: start;
}
.admin-form-main {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}
.admin-form-sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}
.sidebar-widget {
  padding: 0;
  overflow: hidden;
}
.sidebar-widget .widget-title {
  margin: 0;
  padding: 0.85rem var(--space-md);
  font-size: 0.95rem;
  font-weight: 700;
  border-bottom: 1px solid var(--border);
  background: var(--bg-muted);
}
.sidebar-widget .widget-content {
  padding: var(--space-md);
}
.admin-image-preview.is-empty img {
  display: none;
}
.admin-image-preview.is-empty .preview-placeholder {
  display: block !important;
}
.admin-image-preview:not(.is-empty) .preview-placeholder {
  display: none !important;
}

/* SEO Score Badge */
.seo-score-badge {
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
}
.seo-score-badge.score-poor {
  color: #c53030;
  background: #fff5f5;
}
.seo-score-badge.score-ok {
  color: #dd6b20;
  background: #fffaf0;
}
.seo-score-badge.score-good {
  color: #2f855a;
  background: #f0fff4;
}

/* SEO Checklist Items */
.seo-checklist-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.seo-checklist-item.passed::before {
  content: "✓";
  color: #2f855a;
  font-weight: bold;
}
.seo-checklist-item.failed::before {
  content: "⚠";
  color: #c53030;
  font-weight: bold;
}

/* Responsiveness */
@media (max-width: 1024px) {
  .admin-form-split {
    grid-template-columns: 1fr;
  }
}

/* Sun and Moon icon micro-animations */
.site-theme-toggle__sun,
.site-theme-toggle__moon {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.25s ease, color 0.25s ease, border-color 0.25s ease, opacity 0.25s ease !important;
}
.site-theme-toggle:active .site-theme-toggle__sun,
.site-theme-toggle:active .site-theme-toggle__moon {
  transform: scale(0.8);
}
html:not(.theme-dark) .site-theme-toggle__sun {
  transform: rotate(360deg);
}
html.theme-dark .site-theme-toggle__moon {
  transform: rotate(-360deg);
}

/* Search suggestions dropdown styling */
.search-suggestions {
  display: flex;
  flex-direction: column;
  background: var(--bg-card) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
}

.search-suggestion-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem var(--space-md);
  text-decoration: none !important;
  color: var(--text) !important;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s ease;
}

.search-suggestion-item:last-child {
  border-bottom: none;
}

.search-suggestion-item:hover,
.search-suggestion-item:focus {
  background: var(--bg-muted);
  outline: none;
}

.search-suggestion-item__image {
  flex: 0 0 50px;
  width: 50px;
  height: 32px;
  border-radius: var(--radius-xs);
  object-fit: cover;
  background: var(--bg-muted);
}

.search-suggestion-item__content {
  flex: 1;
  min-width: 0;
}

.search-suggestion-item__title {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
}

.search-suggestion-item__meta {
  display: block;
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-top: 0.15rem;
  text-transform: uppercase;
}

.search-suggestion-empty {
  padding: 1rem;
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.85rem;
}

/* Compare Drawer Styling */
.compare-drawer {
  background: var(--bg-card) !important;
  border-top: 1px solid var(--border) !important;
}

.compare-drawer-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--bg-muted);
  border: 1px solid var(--border);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.8rem;
  color: var(--text);
}

.compare-drawer-item__remove {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-secondary);
  font-weight: bold;
  padding: 0;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
}

.compare-drawer-item__remove:hover {
  color: #c53030;
}

/* Synced slider thumb adjustments */
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  border-radius: 999px;
  background: var(--border);
  outline: none;
  transition: background 0.3s;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  transition: transform 0.1s ease;
}

input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

input[type="range"]::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border: none;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  transition: transform 0.1s ease;
}

input[type="range"]::-moz-range-thumb:hover {
  transform: scale(1.15);
}

/* site-header-search-trigger sleek styling */
.site-header-search-trigger {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid #e6e6e6;
  border-radius: 50%;
  background: #fff;
  color: #111;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
}
.site-header-search-trigger:hover {
  border-color: var(--accent);
  color: var(--accent);
}
html.theme-dark .site-header-search-trigger {
  border-color: var(--border);
  background: #000;
  color: var(--text);
}
html.theme-dark .site-header-search-trigger:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* AJAX Search Modal Popup */
.search-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.search-modal.is-open {
  opacity: 1;
}
.search-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
}
.search-modal__container {
  position: absolute;
  top: 12%;
  left: 50%;
  transform: translate(-50%, -20px);
  width: min(90vw, 560px);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow: hidden;
}
.search-modal.is-open .search-modal__container {
  transform: translate(-50%, 0);
}
.search-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
}
.search-modal__header h2 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 850;
  color: var(--text);
}
.search-modal__close {
  background: none;
  border: none;
  font-size: 1.75rem;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 0;
  line-height: 1;
}
.search-modal__close:hover {
  color: var(--accent);
}
.search-modal__body {
  padding: 1.5rem;
}
.search-modal__form {
  display: flex;
  gap: 12px;
  margin-bottom: 1.5rem;
}
.search-modal__form input {
  flex: 1;
  height: 44px;
  padding: 0 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-body);
  color: var(--text);
  font-size: 0.95rem;
  outline: none;
}
.search-modal__form input:focus {
  border-color: var(--accent);
}
.search-modal__form button {
  height: 44px;
  padding: 0 20px;
  border: none;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}
.search-modal__results {
  max-height: 300px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

/* Circular Ripple Theme Transition (View Transitions) */
::view-transition-old(root),
::view-transition-new(root) {
  animation: none;
  mix-blend-mode: normal;
}
::view-transition-old(root) {
  z-index: 1;
}
::view-transition-new(root) {
  z-index: 9999;
}



