* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(circle at top left, color-mix(in srgb, var(--accent-soft) 24%, white) 0%, transparent 24%),
    linear-gradient(180deg, #fbfbfb 0%, color-mix(in srgb, var(--background) 50%, white) 100%);
}

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

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

input,
button {
  font: inherit;
}

.app-shell {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  min-height: 100vh;
}

.site-sidebar {
  position: sticky;
  top: 0;
  align-self: start;
  min-height: 100vh;
  padding: 1.8rem 1.4rem 1.25rem;
  border-right: 1px solid rgba(22, 27, 31, 0.08);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
}

.sidebar-brand {
  margin-bottom: 1.85rem;
}

.brand-mark {
  display: inline-block;
  margin: 0;
  font-family: var(--font-heading);
  font-size: 2.55rem;
  line-height: 0.9;
  letter-spacing: -0.05em;
  color: #121418;
}

.sidebar-tagline {
  max-width: 18ch;
  margin: 0.7rem 0 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.6;
}

.sidebar-nav,
.sidebar-topic-list {
  display: grid;
  gap: 0.4rem;
}

.sidebar-nav {
  margin-bottom: 1.5rem;
}

.sidebar-nav a,
.sidebar-topic-list a {
  padding: 0.68rem 0.85rem;
  border-radius: 14px;
  color: color-mix(in srgb, var(--secondary) 82%, #434343);
  font-size: 0.92rem;
  transition: background 140ms ease, color 140ms ease, transform 140ms ease;
}

.sidebar-nav a:hover,
.sidebar-topic-list a:hover {
  background: color-mix(in srgb, var(--accent-soft) 52%, white);
  color: #16181c;
  transform: translateX(2px);
}

.sidebar-section {
  margin-top: 1.35rem;
}

.sidebar-label {
  display: inline-block;
  margin-bottom: 0.8rem;
  color: color-mix(in srgb, var(--secondary) 60%, #777);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.sidebar-note {
  padding: 1rem;
  border: 1px solid rgba(18, 24, 28, 0.08);
  border-radius: 22px;
  background: color-mix(in srgb, var(--accent-soft) 18%, white);
}

.sidebar-note p,
.sidebar-social {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.sidebar-social {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(18, 24, 28, 0.08);
  font-size: 0.84rem;
}

.site-shell {
  min-width: 0;
  padding: 1.4rem 1.5rem 1.75rem;
}

.site-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.topbar-search {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: min(420px, 100%);
  max-width: 430px;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(18, 24, 28, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
}

.topbar-search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
}

.topbar-search-icon {
  color: var(--muted);
  font-size: 1rem;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.topbar-link {
  color: color-mix(in srgb, var(--secondary) 85%, #454545);
  font-size: 0.88rem;
  font-weight: 600;
}

.topbar-button,
.story-link,
.button,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.78rem 1.15rem;
  border-radius: 999px;
  border: 0;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
}

.topbar-button,
.story-link,
.button {
  background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 72%, #2f3a46));
  color: white;
  box-shadow: 0 16px 28px rgba(17, 24, 39, 0.12);
}

.button-secondary {
  color: #16181c;
  background: transparent;
  border: 1px solid rgba(18, 24, 28, 0.1);
}

.button-next {
  margin-left: auto;
}

.container {
  width: min(1220px, 100%);
  margin: 0 auto;
}

.site-header {
  margin-bottom: 1.5rem;
}

.masthead {
  padding: 0.35rem 0 0.4rem;
  text-align: center;
}

.masthead-copy {
  display: grid;
  gap: 0.35rem;
}

.masthead-kicker,
.eyebrow,
.meta-rule,
.meta {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.masthead-kicker {
  color: color-mix(in srgb, var(--secondary) 55%, #7d7d7d);
}

.masthead-title,
.page-title,
.feature-title,
.story-card h3,
.content h1,
.content h2,
.sidebar-card h3,
.footer-site-title,
.topic-band h2 {
  font-family: var(--font-heading);
}

.masthead-title {
  margin: 0;
  color: #111317;
  font-size: clamp(3.4rem, 7vw, 5.7rem);
  line-height: 0.9;
  letter-spacing: -0.05em;
}

.masthead-tagline {
  color: color-mix(in srgb, var(--accent) 56%, var(--secondary));
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.page-main-shell {
  padding: 0.25rem 0 0;
}

.hero,
.content-wrap {
  padding-bottom: 2rem;
}

.editorial-top {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.article-detail .editorial-top {
  align-items: flex-end;
  gap: 1.25rem 2rem;
}

.article-detail .editorial-top > div:first-child {
  flex: 1 1 36rem;
  min-width: 0;
}

.article-detail .page-title {
  max-width: min(100%, 22ch);
  font-size: clamp(2.25rem, 4.2vw, 4.5rem);
  line-height: 0.98;
  overflow-wrap: normal;
  text-wrap: balance;
}

.article-detail .toolbar-box {
  flex: 0 0 auto;
  margin-left: auto;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 0.55rem;
  color: color-mix(in srgb, var(--accent) 68%, #7b614b);
}

.page-title,
.content h1 {
  margin: 0;
  max-width: 14ch;
  color: #121418;
  font-size: clamp(2.5rem, 4.6vw, 4.2rem);
  line-height: 0.94;
  letter-spacing: -0.04em;
}

.page-intro,
.feature-panel p,
.story-card p,
.content p,
.content li,
.sidebar-card p,
.footer-copy {
  color: var(--muted);
  line-height: 1.72;
  font-size: 0.98rem;
}

.page-intro {
  max-width: 60ch;
  margin: 0.8rem 0 0;
}

.toolbar-box,
.story-card,
.sidebar-card,
.content-card,
.feature-panel {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(18, 24, 28, 0.08);
  border-radius: 26px;
  box-shadow: 0 24px 40px rgba(17, 24, 39, 0.06);
}

.toolbar-box {
  min-width: 220px;
  padding: 1rem 1.1rem;
  color: var(--muted);
}

.magazine-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(0, 1.5fr) minmax(220px, 0.9fr);
  gap: 1.3rem;
  align-items: start;
  margin-bottom: 1.7rem;
}

.rail {
  display: grid;
  gap: 1.1rem;
}

.rail-stack {
  grid-template-rows: repeat(3, minmax(0, auto));
  align-content: start;
}

.feature-story {
  display: grid;
  gap: 0.8rem;
  color: inherit;
}

.feature-figure {
  display: grid;
  gap: 0.45rem;
}

.center-feature {
  align-self: start;
}

.center-column {
  display: grid;
  gap: 1.1rem;
}

.center-support-grid {
  display: grid;
  gap: 1.1rem;
}

.feature-media,
.story-thumb {
  overflow: hidden;
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.18), rgba(255,255,255,0)),
    linear-gradient(145deg, color-mix(in srgb, var(--accent-soft) 34%, white) 0%, color-mix(in srgb, var(--background) 78%, white) 100%);
}

.feature-media {
  aspect-ratio: 1.1 / 0.88;
}

.story-thumb {
  aspect-ratio: 1 / 0.84;
}

.compact-card .story-thumb {
  aspect-ratio: 1 / 1.02;
}

.feature-media img,
.story-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-credit {
  display: block;
  padding: 0 0.25rem;
  color: color-mix(in srgb, var(--secondary) 68%, #6c6c6c);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.photo-credit a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.15rem;
}

.feature-panel {
  padding: 1.25rem 1.35rem 1.35rem;
}

.feature-title {
  margin: 0.45rem 0 0.65rem;
  color: #121418;
  font-size: clamp(2.1rem, 4vw, 3.3rem);
  line-height: 0.92;
  letter-spacing: -0.04em;
}

.meta-rule,
.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  color: color-mix(in srgb, var(--secondary) 60%, #7a7a7a);
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.story-grid-magazine .story-card {
  align-self: start;
}

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

.story-card {
  overflow: hidden;
  padding: 0.8rem;
}

.no-image {
  min-height: 0;
}

.no-image .story-body,
.no-image .feature-panel {
  padding-top: 0.2rem;
}

.story-body {
  padding: 0.9rem 0.2rem 0.15rem;
}

.story-card h3 {
  margin: 0.7rem 0 0.5rem;
  color: #121418;
  font-size: clamp(1.38rem, 2.1vw, 2rem);
  line-height: 1;
  letter-spacing: -0.03em;
}

.compact-card h3 {
  font-size: clamp(1.2rem, 1.6vw, 1.55rem);
}

.teaser-card {
  padding: 0.8rem;
}

.teaser-art {
  display: grid;
  place-items: center;
  gap: 0.45rem;
  padding: 1.6rem;
  text-align: center;
  color: color-mix(in srgb, var(--secondary) 85%, #555);
  background:
    radial-gradient(circle at top center, color-mix(in srgb, var(--accent-soft) 55%, white) 0%, transparent 44%),
    linear-gradient(145deg, color-mix(in srgb, var(--background) 94%, white) 0%, color-mix(in srgb, var(--accent-soft) 32%, white) 100%);
}

.editorial-layout,
.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 1.3rem;
}

.sidebar-stack {
  display: grid;
  gap: 1rem;
}

.sidebar-card {
  padding: 1.2rem;
}

.sidebar-dark {
  background: linear-gradient(180deg, #1a1d21 0%, #252a31 100%);
  color: #f6f2ea;
}

.sidebar-dark .eyebrow {
  color: color-mix(in srgb, var(--accent-soft) 86%, white);
}

.sidebar-card h3 {
  margin: 0 0 0.8rem;
  color: inherit;
  font-size: 1.7rem;
  line-height: 1;
}

.mini-search {
  width: 100%;
  border: 1px solid rgba(18, 24, 28, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  padding: 0.9rem 1rem;
  color: var(--text);
}

.topic-list,
.benefit-list {
  display: grid;
  gap: 0.7rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.topic-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.topic-band {
  margin-top: 2rem;
}

.topic-band h2 {
  margin: 0 0 1rem;
  color: #121418;
  font-size: 2.15rem;
}

.topic-orbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.topic-orb {
  padding: 0.75rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(18, 24, 28, 0.08);
  background: rgba(255, 255, 255, 0.86);
  color: color-mix(in srgb, var(--secondary) 82%, #4f4f4f);
  font-size: 0.82rem;
  font-weight: 700;
}

.content-card {
  padding: 1.5rem;
}

.content-layout-with-ads {
  grid-template-columns: minmax(0, 1fr) 250px;
  align-items: start;
}

.article-ad-rail {
  position: sticky;
  top: 1.2rem;
  display: grid;
  gap: 1rem;
  align-content: start;
}

.article-ad-slot {
  min-height: 210px;
  border-radius: 24px;
  border: 1px solid rgba(18, 24, 28, 0.08);
  box-shadow: 0 24px 40px rgba(17, 24, 39, 0.08);
  overflow: hidden;
}

.article-ad-slot.is-placeholder {
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 92%, #0f1d9b) 0%, color-mix(in srgb, var(--secondary) 82%, #111827) 100%);
  color: #ffffff;
}

.article-ad-slot.has-ad {
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent-soft) 28%, white) 0%, rgba(255, 255, 255, 0.98) 100%);
}

.article-ad-inner {
  height: 100%;
  padding: 1rem;
  display: flex;
  flex-direction: column;
}

.article-ad-kicker {
  display: inline-block;
  margin-bottom: 0.85rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.article-ad-slot.is-placeholder .article-ad-kicker {
  color: rgba(255, 255, 255, 0.82);
}

.article-ad-slot.has-ad .article-ad-kicker {
  color: color-mix(in srgb, var(--accent) 74%, #425466);
}

.article-ad-placeholder {
  flex: 1;
  display: grid;
  place-items: center;
  text-align: center;
  font-family: var(--font-heading);
  font-size: clamp(1.65rem, 2.4vw, 2.35rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.article-ad-link {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  color: inherit;
  text-decoration: none;
}

.article-ad-link-image-only {
  gap: 0;
}

.article-ad-image {
  width: 100%;
  max-height: none;
  aspect-ratio: 2 / 3;
  object-fit: contain;
  border-radius: 18px;
  background: color-mix(in srgb, var(--background) 72%, white);
}

.article-ad-copy {
  display: grid;
  gap: 0.45rem;
}

.article-ad-copy strong {
  color: #121418;
  font-size: 1rem;
  line-height: 1.28;
}

.article-ad-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.article-ad-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: color-mix(in srgb, var(--accent) 84%, #163a80);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.article-ad-embed {
  flex: 1;
}

.content .article-body-title {
  display: block;
  max-width: 100%;
  margin: 0 0 1.05rem;
  color: #121418;
  font-size: clamp(1.75rem, 3vw, 2.65rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.content .article-body-title + h1 {
  display: none;
}

.content h2 {
  margin: 1.8rem 0 0.85rem;
  color: #121418;
  font-size: 2rem;
  line-height: 0.98;
}

.content h3 {
  margin: 1.35rem 0 0.6rem;
  color: #121418;
  font-size: clamp(1.2rem, 1.8vw, 1.45rem);
  font-weight: 900;
  line-height: 1.14;
}

.article-detail .content strong,
.article-detail .content b {
  color: #121418;
  font-weight: 900;
}

.content ul,
.content ol {
  margin: 1rem 0 1.35rem;
  padding-left: 1.25rem;
}

.content li {
  margin: 0.42rem 0;
}

.article-detail .content a:not(.button):not(.button-secondary):not(.story-link):not(.topbar-button),
.article-detail .content a:not(.button):not(.button-secondary):not(.story-link):not(.topbar-button):visited {
  color: color-mix(in srgb, var(--accent) 86%, #0737a8);
  font-weight: 800;
  text-decoration-line: underline;
  text-decoration-thickness: 0.12em;
  text-underline-offset: 0.2em;
  transition: color 150ms ease, text-decoration-thickness 150ms ease;
}

.article-detail .content a:not(.button):not(.button-secondary):not(.story-link):not(.topbar-button):hover,
.article-detail .content a:not(.button):not(.button-secondary):not(.story-link):not(.topbar-button):focus-visible {
  color: color-mix(in srgb, var(--accent) 70%, #0b1f5d);
  text-decoration-thickness: 0.18em;
}

.article-detail .content a.button,
.article-detail .content a.button:visited {
  color: #ffffff;
  text-decoration: none;
}

.article-detail .content a.button-secondary,
.article-detail .content a.button-secondary:visited {
  color: #16181c;
  text-decoration: none;
}

.content-table-wrap {
  margin: 1.2rem 0 1.6rem;
  overflow-x: auto;
  border: 1px solid color-mix(in srgb, var(--text) 10%, transparent);
  border-radius: 22px;
  background: color-mix(in srgb, var(--card) 92%, white);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.content-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-family: var(--font-body);
  color: var(--text);
}

.content-table th,
.content-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid color-mix(in srgb, var(--text) 10%, transparent);
  text-align: left;
  vertical-align: top;
}

.content-table th {
  background: color-mix(in srgb, var(--accent-soft) 45%, transparent);
  color: var(--text);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.content-table tr:last-child td {
  border-bottom: 0;
}

.highlight {
  padding: 1rem 1.05rem;
  margin: 1.3rem 0 1.5rem;
  border-left: 3px solid var(--accent);
  border-radius: 18px;
  background: color-mix(in srgb, var(--accent-soft) 34%, white);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.share-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.6rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(18, 24, 28, 0.08);
}

.share-panel-copy {
  display: grid;
  gap: 0.3rem;
}

.share-panel-copy .eyebrow {
  margin-bottom: 0;
}

.share-panel-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.share-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.share-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0.65rem 1rem;
  border: 1px solid rgba(18, 24, 28, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: color-mix(in srgb, var(--secondary) 88%, #343434);
  font-size: 0.82rem;
  font-weight: 700;
  transition: transform 140ms ease, border-color 140ms ease, background 140ms ease, color 140ms ease;
}

.share-chip:hover {
  transform: translateY(-1px);
  border-color: color-mix(in srgb, var(--accent) 28%, rgba(18, 24, 28, 0.1));
  background: color-mix(in srgb, var(--accent-soft) 45%, white);
  color: #16181c;
}

.pagination-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  margin-top: 1.35rem;
}

.pagination-status {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.site-footer {
  margin-top: 1rem;
  padding: 1.2rem 0 0.2rem;
}

.footer-grid {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(18, 24, 28, 0.08);
}

.footer-site-title {
  margin-bottom: 0.35rem;
  color: #121418;
  font-size: 1.85rem;
  line-height: 0.96;
}

.footer-copy {
  max-width: 44ch;
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1rem;
  margin-top: 0.8rem;
  color: color-mix(in srgb, var(--secondary) 78%, #5b5b5b);
  font-size: 0.82rem;
  font-weight: 600;
}

body[data-site="affordable-smart-living"] {
  color: #f0f4f8;
  background:
    radial-gradient(circle at top right, rgba(86, 178, 187, 0.22) 0%, transparent 28%),
    radial-gradient(circle at bottom left, rgba(186, 199, 204, 0.1) 0%, transparent 24%),
    linear-gradient(180deg, #0a0f22 0%, #11182b 42%, #151d30 100%);
}

body[data-site="affordable-smart-living"] .site-sidebar {
  border-right-color: rgba(240, 244, 248, 0.08);
  background: rgba(10, 15, 34, 0.9);
}

body[data-site="affordable-smart-living"] .brand-mark,
body[data-site="affordable-smart-living"] .masthead-title,
body[data-site="affordable-smart-living"] .page-title,
body[data-site="affordable-smart-living"] .page-section-title,
body[data-site="affordable-smart-living"] .content h1,
body[data-site="affordable-smart-living"] .content h2,
body[data-site="affordable-smart-living"] .content h3,
body[data-site="affordable-smart-living"] .feature-title,
body[data-site="affordable-smart-living"] .story-card h3,
body[data-site="affordable-smart-living"] .story-card h2,
body[data-site="affordable-smart-living"] .footer-site-title,
body[data-site="affordable-smart-living"] .topic-band h2 {
  color: #f0f4f8;
}

body[data-site="affordable-smart-living"] .sidebar-tagline,
body[data-site="affordable-smart-living"] .sidebar-social,
body[data-site="affordable-smart-living"] .page-intro,
body[data-site="affordable-smart-living"] .feature-panel p,
body[data-site="affordable-smart-living"] .story-card p,
body[data-site="affordable-smart-living"] .content p,
body[data-site="affordable-smart-living"] .content li,
body[data-site="affordable-smart-living"] .sidebar-card p,
body[data-site="affordable-smart-living"] .footer-copy,
body[data-site="affordable-smart-living"] .pagination-status,
body[data-site="affordable-smart-living"] .topbar-search input,
body[data-site="affordable-smart-living"] .photo-credit,
body[data-site="affordable-smart-living"] .meta-rule,
body[data-site="affordable-smart-living"] .meta {
  color: #bac7cc;
}

body[data-site="affordable-smart-living"] .sidebar-label,
body[data-site="affordable-smart-living"] .masthead-kicker,
body[data-site="affordable-smart-living"] .eyebrow,
body[data-site="affordable-smart-living"] .masthead-tagline {
  color: #56b2bb;
}

body[data-site="affordable-smart-living"] .sidebar-nav a,
body[data-site="affordable-smart-living"] .sidebar-topic-list a,
body[data-site="affordable-smart-living"] .topbar-link,
body[data-site="affordable-smart-living"] .footer-links {
  color: #d9e5e8;
}

body[data-site="affordable-smart-living"] strong {
  color: #f0f4f8;
}

body[data-site="affordable-smart-living"] .sidebar-nav a:hover,
body[data-site="affordable-smart-living"] .sidebar-topic-list a:hover {
  background: rgba(86, 178, 187, 0.14);
  color: #f0f4f8;
}

body[data-site="affordable-smart-living"] .topbar-search,
body[data-site="affordable-smart-living"] .toolbar-box,
body[data-site="affordable-smart-living"] .story-card,
body[data-site="affordable-smart-living"] .sidebar-card,
body[data-site="affordable-smart-living"] .content-card,
body[data-site="affordable-smart-living"] .feature-panel,
body[data-site="affordable-smart-living"] .topic-orb,
body[data-site="affordable-smart-living"] .mini-search {
  border-color: rgba(186, 199, 204, 0.12);
  background: linear-gradient(180deg, rgba(29, 34, 51, 0.96) 0%, rgba(20, 27, 45, 0.96) 100%);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.28);
}

body[data-site="affordable-smart-living"] .topbar-search-icon {
  color: #56b2bb;
}

body[data-site="affordable-smart-living"] .feature-media,
body[data-site="affordable-smart-living"] .story-thumb {
  background:
    linear-gradient(135deg, rgba(86, 178, 187, 0.18), rgba(86, 178, 187, 0)),
    linear-gradient(145deg, #11182b 0%, #1d2233 100%);
}

body[data-site="affordable-smart-living"] .topic-orb {
  color: #f0f4f8;
}

body[data-site="affordable-smart-living"] .button-secondary {
  color: #f0f4f8;
  border-color: rgba(186, 199, 204, 0.18);
}

body[data-site="affordable-smart-living"] .article-detail .content a.button-secondary,
body[data-site="affordable-smart-living"] .article-detail .content a.button-secondary:visited {
  color: #f0f4f8;
  border-color: rgba(186, 199, 204, 0.18);
}

body[data-site="affordable-smart-living"] .article-detail .content-card,
body[data-site="affordable-smart-living"] .article-detail .content-card p,
body[data-site="affordable-smart-living"] .article-detail .content-card li,
body[data-site="affordable-smart-living"] .article-detail .content-card h1,
body[data-site="affordable-smart-living"] .article-detail .content-card h2,
body[data-site="affordable-smart-living"] .article-detail .content-card h3,
body[data-site="affordable-smart-living"] .article-detail .content-card h4,
body[data-site="affordable-smart-living"] .article-detail .content-card h5,
body[data-site="affordable-smart-living"] .article-detail .content-card h6,
body[data-site="affordable-smart-living"] .article-detail .content-card strong,
body[data-site="affordable-smart-living"] .article-detail .content-card b,
body[data-site="affordable-smart-living"] .article-detail .content-card em,
body[data-site="affordable-smart-living"] .article-detail .content-card blockquote,
body[data-site="affordable-smart-living"] .article-detail .content-card th,
body[data-site="affordable-smart-living"] .article-detail .content-card td {
  color: #e5edf1;
}

body[data-site="affordable-smart-living"] .article-detail .content-card h1,
body[data-site="affordable-smart-living"] .article-detail .content-card h2,
body[data-site="affordable-smart-living"] .article-detail .content-card h3,
body[data-site="affordable-smart-living"] .article-detail .content-card h4,
body[data-site="affordable-smart-living"] .article-detail .content-card h5,
body[data-site="affordable-smart-living"] .article-detail .content-card h6,
body[data-site="affordable-smart-living"] .article-detail .content-card strong,
body[data-site="affordable-smart-living"] .article-detail .content-card b {
  color: #f0f4f8;
}

body[data-site="affordable-smart-living"] .article-detail .content-card a:not(.button):not(.button-secondary):not(.story-link):not(.topbar-button),
body[data-site="affordable-smart-living"] .article-detail .content-card a:not(.button):not(.button-secondary):not(.story-link):not(.topbar-button):visited {
  color: #7fd8e0;
}

body[data-site="affordable-smart-living"] .breadcrumb-trail .container,
body[data-site="affordable-smart-living"] .breadcrumb-trail a,
body[data-site="affordable-smart-living"] .breadcrumb-separator,
body[data-site="affordable-smart-living"] .toolbar-box,
body[data-site="affordable-smart-living"] .toolbar-box .meta,
body[data-site="affordable-smart-living"] .toolbar-box div,
body[data-site="affordable-smart-living"] .toolbar-box span {
  color: #d9e5e8;
}

body[data-site="affordable-smart-living"] .breadcrumb-trail a:hover,
body[data-site="affordable-smart-living"] .breadcrumb-trail a:focus-visible {
  color: #f0f4f8;
}

body[data-site="affordable-smart-living"] .footer-grid {
  border-top-color: rgba(186, 199, 204, 0.12);
}

body[data-site="affordable-smart-living"] .contact-email {
  color: #56b2bb;
}

body[data-site="affordable-smart-living"] .contact-chips span {
  background: rgba(86, 178, 187, 0.16);
  color: #f0f4f8;
  border: 1px solid rgba(86, 178, 187, 0.24);
}

body[data-site="affordable-smart-living"] .contact-list,
body[data-site="affordable-smart-living"] .about-list,
body[data-site="affordable-smart-living"] .policy-list {
  color: #d6e0e4;
}

body[data-site="affordable-smart-living"] .topic-list a {
  border-bottom-color: rgba(186, 199, 204, 0.16);
  color: #e4edf0;
}

body[data-site="affordable-smart-living"] .about-note {
  background: rgba(86, 178, 187, 0.12);
  border: 1px solid rgba(86, 178, 187, 0.24);
}

body[data-site="affordable-smart-living"] .about-note p,
body[data-site="affordable-smart-living"] .about-note .contact-email {
  color: #e4edf0;
}

body[data-site="affordable-smart-living"] .highlight {
  border-left-color: #56b2bb;
  background: rgba(86, 178, 187, 0.14);
  color: #e7f0f3;
}

body[data-site="affordable-smart-living"] .highlight strong {
  color: #f0f4f8;
}

body[data-site="affordable-smart-living"] .mini-search::placeholder,
body[data-site="affordable-smart-living"] .topbar-search input::placeholder {
  color: #8ea1a9;
}

body[data-site="earth-wise-budget"] {
  color: #4a6163;
  background:
    radial-gradient(circle at top left, rgba(255, 201, 75, 0.22) 0%, transparent 22%),
    radial-gradient(circle at bottom right, rgba(241, 122, 126, 0.18) 0%, transparent 24%),
    linear-gradient(180deg, #f9faf4 0%, #fff6e8 52%, #fff0dd 100%);
}

body[data-site="earth-wise-budget"] .site-sidebar {
  border-right-color: rgba(74, 97, 99, 0.08);
  background: linear-gradient(180deg, rgba(249, 250, 244, 0.96) 0%, rgba(255, 245, 220, 0.92) 100%);
}

body[data-site="earth-wise-budget"] .brand-mark,
body[data-site="earth-wise-budget"] .masthead-title,
body[data-site="earth-wise-budget"] .page-title,
body[data-site="earth-wise-budget"] .page-section-title,
body[data-site="earth-wise-budget"] .content h1,
body[data-site="earth-wise-budget"] .content h2,
body[data-site="earth-wise-budget"] .content h3,
body[data-site="earth-wise-budget"] .feature-title,
body[data-site="earth-wise-budget"] .story-card h3,
body[data-site="earth-wise-budget"] .story-card h2,
body[data-site="earth-wise-budget"] .footer-site-title,
body[data-site="earth-wise-budget"] .topic-band h2 {
  color: #4a6163;
}

body[data-site="earth-wise-budget"] .sidebar-tagline,
body[data-site="earth-wise-budget"] .sidebar-social,
body[data-site="earth-wise-budget"] .page-intro,
body[data-site="earth-wise-budget"] .feature-panel p,
body[data-site="earth-wise-budget"] .story-card p,
body[data-site="earth-wise-budget"] .content p,
body[data-site="earth-wise-budget"] .content li,
body[data-site="earth-wise-budget"] .sidebar-card p,
body[data-site="earth-wise-budget"] .footer-copy,
body[data-site="earth-wise-budget"] .pagination-status,
body[data-site="earth-wise-budget"] .topbar-search input,
body[data-site="earth-wise-budget"] .photo-credit,
body[data-site="earth-wise-budget"] .meta-rule,
body[data-site="earth-wise-budget"] .meta,
body[data-site="earth-wise-budget"] .contact-list,
body[data-site="earth-wise-budget"] .about-list,
body[data-site="earth-wise-budget"] .policy-list {
  color: #6f8486;
}

body[data-site="earth-wise-budget"] .sidebar-label,
body[data-site="earth-wise-budget"] .masthead-kicker,
body[data-site="earth-wise-budget"] .eyebrow {
  color: #f17a7e;
}

body[data-site="earth-wise-budget"] .masthead-tagline {
  color: #f9a66c;
}

body[data-site="earth-wise-budget"] .sidebar-nav a,
body[data-site="earth-wise-budget"] .sidebar-topic-list a,
body[data-site="earth-wise-budget"] .topbar-link,
body[data-site="earth-wise-budget"] .footer-links,
body[data-site="earth-wise-budget"] .topic-list a {
  color: #4a6163;
}

body[data-site="earth-wise-budget"] .sidebar-nav a:hover,
body[data-site="earth-wise-budget"] .sidebar-topic-list a:hover {
  background: rgba(241, 122, 126, 0.12);
  color: #4a6163;
}

body[data-site="earth-wise-budget"] .topbar-search,
body[data-site="earth-wise-budget"] .toolbar-box,
body[data-site="earth-wise-budget"] .story-card,
body[data-site="earth-wise-budget"] .sidebar-card,
body[data-site="earth-wise-budget"] .content-card,
body[data-site="earth-wise-budget"] .feature-panel,
body[data-site="earth-wise-budget"] .topic-orb,
body[data-site="earth-wise-budget"] .mini-search {
  border-color: rgba(74, 97, 99, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(249, 250, 244, 0.96) 100%);
  box-shadow: 0 24px 40px rgba(74, 97, 99, 0.08);
}

body[data-site="earth-wise-budget"] .topbar-search-icon {
  color: #f9a66c;
}

body[data-site="earth-wise-budget"] .feature-media,
body[data-site="earth-wise-budget"] .story-thumb {
  background:
    linear-gradient(135deg, rgba(241, 122, 126, 0.14), rgba(241, 122, 126, 0)),
    linear-gradient(145deg, rgba(255, 245, 220, 0.95) 0%, rgba(255, 201, 75, 0.28) 100%);
}

body[data-site="earth-wise-budget"] .topbar-button,
body[data-site="earth-wise-budget"] .story-link,
body[data-site="earth-wise-budget"] .button {
  background: linear-gradient(135deg, #f17a7e, #f9a66c);
  color: #ffffff;
  box-shadow: 0 16px 28px rgba(241, 122, 126, 0.22);
}

body[data-site="earth-wise-budget"] .button-secondary {
  color: #4a6163;
  border-color: rgba(74, 97, 99, 0.12);
}

body[data-site="earth-wise-budget"] .topic-orb {
  color: #4a6163;
  background: rgba(255, 255, 255, 0.9);
}

body[data-site="earth-wise-budget"] .contact-email {
  color: #f17a7e;
}

body[data-site="earth-wise-budget"] .contact-chips span {
  background: rgba(255, 201, 75, 0.24);
  color: #4a6163;
  border: 1px solid rgba(249, 166, 108, 0.28);
}

body[data-site="earth-wise-budget"] .about-note,
body[data-site="earth-wise-budget"] .highlight {
  border: 1px solid rgba(241, 122, 126, 0.16);
  background: linear-gradient(135deg, rgba(241, 122, 126, 0.12), rgba(255, 201, 75, 0.14));
}

body[data-site="earth-wise-budget"] .highlight {
  border-left: 3px solid #f17a7e;
  color: #4a6163;
}

body[data-site="earth-wise-budget"] .highlight strong,
body[data-site="earth-wise-budget"] strong {
  color: #4a6163;
}

body[data-site="earth-wise-budget"] .topic-list a {
  border-bottom-color: rgba(74, 97, 99, 0.12);
}

body[data-site="earth-wise-budget"] .mini-search::placeholder,
body[data-site="earth-wise-budget"] .topbar-search input::placeholder {
  color: #95a4a5;
}

body[data-site="first-rep-forward"] {
  color: #ffffff;
  background:
    radial-gradient(circle at top center, rgba(92, 124, 137, 0.18) 0%, transparent 20%),
    linear-gradient(180deg, #2f6477 0%, #29586a 24%, #1f4959 58%, #163646 100%);
}

body[data-site="first-rep-forward"] .site-sidebar {
  border-right-color: rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(1, 20, 37, 0.9) 0%, rgba(7, 28, 43, 0.92) 100%);
}

body[data-site="first-rep-forward"] .brand-mark,
body[data-site="first-rep-forward"] .masthead-title,
body[data-site="first-rep-forward"] .page-title,
body[data-site="first-rep-forward"] .page-section-title,
body[data-site="first-rep-forward"] .content h1,
body[data-site="first-rep-forward"] .content h2,
body[data-site="first-rep-forward"] .content h3,
body[data-site="first-rep-forward"] .feature-title,
body[data-site="first-rep-forward"] .story-card h3,
body[data-site="first-rep-forward"] .story-card h2,
body[data-site="first-rep-forward"] .footer-site-title,
body[data-site="first-rep-forward"] .topic-band h2 {
  color: #ffffff;
}

body[data-site="first-rep-forward"] .sidebar-tagline,
body[data-site="first-rep-forward"] .sidebar-social,
body[data-site="first-rep-forward"] .page-intro,
body[data-site="first-rep-forward"] .feature-panel p,
body[data-site="first-rep-forward"] .story-card p,
body[data-site="first-rep-forward"] .content p,
body[data-site="first-rep-forward"] .content li,
body[data-site="first-rep-forward"] .sidebar-card p,
body[data-site="first-rep-forward"] .footer-copy,
body[data-site="first-rep-forward"] .pagination-status,
body[data-site="first-rep-forward"] .topbar-search input,
body[data-site="first-rep-forward"] .photo-credit,
body[data-site="first-rep-forward"] .meta-rule,
body[data-site="first-rep-forward"] .meta,
body[data-site="first-rep-forward"] .contact-list,
body[data-site="first-rep-forward"] .about-list,
body[data-site="first-rep-forward"] .policy-list {
  color: #d5e1e6;
}

body[data-site="first-rep-forward"] .toolbar-box,
body[data-site="first-rep-forward"] .toolbar-box div,
body[data-site="first-rep-forward"] .toolbar-box span,
body[data-site="first-rep-forward"] .toolbar-box br + * {
  color: #eef5f8;
}

body[data-site="first-rep-forward"] .sidebar-label,
body[data-site="first-rep-forward"] .masthead-kicker,
body[data-site="first-rep-forward"] .eyebrow,
body[data-site="first-rep-forward"] .masthead-tagline {
  color: #b8cfd8;
}

body[data-site="first-rep-forward"] .sidebar-nav a,
body[data-site="first-rep-forward"] .sidebar-topic-list a,
body[data-site="first-rep-forward"] .topbar-link,
body[data-site="first-rep-forward"] .footer-links,
body[data-site="first-rep-forward"] .topic-list a {
  color: #edf4f7;
}

body[data-site="first-rep-forward"] .sidebar-nav a:hover,
body[data-site="first-rep-forward"] .sidebar-topic-list a:hover {
  background: rgba(92, 124, 137, 0.18);
  color: #ffffff;
}

body[data-site="first-rep-forward"] .topbar-search,
body[data-site="first-rep-forward"] .toolbar-box,
body[data-site="first-rep-forward"] .story-card,
body[data-site="first-rep-forward"] .sidebar-card,
body[data-site="first-rep-forward"] .content-card,
body[data-site="first-rep-forward"] .feature-panel,
body[data-site="first-rep-forward"] .topic-orb,
body[data-site="first-rep-forward"] .mini-search {
  border-color: rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.07) 100%);
  box-shadow: 0 24px 44px rgba(1, 20, 37, 0.22);
  backdrop-filter: blur(10px);
}

body[data-site="first-rep-forward"] .feature-media,
body[data-site="first-rep-forward"] .story-thumb {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0)),
    linear-gradient(145deg, rgba(92, 124, 137, 0.24) 0%, rgba(1, 20, 37, 0.3) 100%);
}

body[data-site="first-rep-forward"] .topbar-search-icon {
  color: #d5e1e6;
}

body[data-site="first-rep-forward"] .topbar-button,
body[data-site="first-rep-forward"] .story-link,
body[data-site="first-rep-forward"] .button {
  background: linear-gradient(135deg, #ffffff, #d9e6eb);
  color: #011425;
  box-shadow: 0 16px 30px rgba(1, 20, 37, 0.2);
}

body[data-site="first-rep-forward"] .button,
body[data-site="first-rep-forward"] .button:visited,
body[data-site="first-rep-forward"] .story-link,
body[data-site="first-rep-forward"] .story-link:visited,
body[data-site="first-rep-forward"] .topbar-button,
body[data-site="first-rep-forward"] .topbar-button:visited {
  color: #011425;
}

body[data-site="first-rep-forward"] .topbar-button:hover,
body[data-site="first-rep-forward"] .story-link:hover,
body[data-site="first-rep-forward"] .button:hover {
  filter: brightness(0.98);
}

body[data-site="first-rep-forward"] .topbar-search input,
body[data-site="first-rep-forward"] .mini-search,
body[data-site="first-rep-forward"] .mini-search::placeholder,
body[data-site="first-rep-forward"] .topbar-search input::placeholder {
  color: #dbe8ed;
}

body[data-site="first-rep-forward"] .topbar-search,
body[data-site="first-rep-forward"] .mini-search {
  background: rgba(255, 255, 255, 0.08);
}

body[data-site="first-rep-forward"] .button-secondary {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.18);
}

body[data-site="first-rep-forward"] .article-detail .content-card,
body[data-site="first-rep-forward"] .article-detail .content-card p,
body[data-site="first-rep-forward"] .article-detail .content-card li,
body[data-site="first-rep-forward"] .article-detail .content-card h1,
body[data-site="first-rep-forward"] .article-detail .content-card h2,
body[data-site="first-rep-forward"] .article-detail .content-card h3,
body[data-site="first-rep-forward"] .article-detail .content-card h4,
body[data-site="first-rep-forward"] .article-detail .content-card h5,
body[data-site="first-rep-forward"] .article-detail .content-card h6,
body[data-site="first-rep-forward"] .article-detail .content-card strong,
body[data-site="first-rep-forward"] .article-detail .content-card b,
body[data-site="first-rep-forward"] .article-detail .content-card em,
body[data-site="first-rep-forward"] .article-detail .content-card blockquote,
body[data-site="first-rep-forward"] .article-detail .content-card th,
body[data-site="first-rep-forward"] .article-detail .content-card td {
  color: #e7f1f5;
}

body[data-site="first-rep-forward"] .article-detail .content-card h1,
body[data-site="first-rep-forward"] .article-detail .content-card h2,
body[data-site="first-rep-forward"] .article-detail .content-card h3,
body[data-site="first-rep-forward"] .article-detail .content-card h4,
body[data-site="first-rep-forward"] .article-detail .content-card h5,
body[data-site="first-rep-forward"] .article-detail .content-card h6,
body[data-site="first-rep-forward"] .article-detail .content-card strong,
body[data-site="first-rep-forward"] .article-detail .content-card b {
  color: #ffffff;
}

body[data-site="first-rep-forward"] .article-detail .content-card a:not(.button):not(.button-secondary):not(.story-link):not(.topbar-button),
body[data-site="first-rep-forward"] .article-detail .content-card a:not(.button):not(.button-secondary):not(.story-link):not(.topbar-button):visited {
  color: #bfefff;
}

body[data-site="first-rep-forward"] .topic-orb,
body[data-site="first-rep-forward"] .contact-chips span {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

body[data-site="first-rep-forward"] .contact-email {
  color: #ffffff;
}

body[data-site="first-rep-forward"] .about-note,
body[data-site="first-rep-forward"] .highlight {
  border: 1px solid rgba(184, 207, 216, 0.18);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(92, 124, 137, 0.12));
}

body[data-site="first-rep-forward"] .highlight {
  border-left: 3px solid #ffffff;
  color: #eef5f8;
}

body[data-site="first-rep-forward"] .highlight strong,
body[data-site="first-rep-forward"] strong {
  color: #ffffff;
}

body[data-site="first-rep-forward"] .topic-list a {
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

body[data-site="first-rep-forward"] .footer-grid {
  border-top-color: rgba(255, 255, 255, 0.1);
}

body[data-site="first-rep-forward"] .photo-credit a,
body[data-site="first-rep-forward"] .footer-links a,
body[data-site="first-rep-forward"] .topic-list a,
body[data-site="first-rep-forward"] .sidebar-nav a,
body[data-site="first-rep-forward"] .sidebar-topic-list a {
  color: inherit;
}

body[data-site="first-rep-forward"] .story-card p a,
body[data-site="first-rep-forward"] .content a {
  color: #ffffff;
}

body[data-site="first-rep-forward"] .content a.button,
body[data-site="first-rep-forward"] .content a.button:visited,
body[data-site="first-rep-forward"] .content a.story-link,
body[data-site="first-rep-forward"] .content a.story-link:visited,
body[data-site="first-rep-forward"] .content a.topbar-button,
body[data-site="first-rep-forward"] .content a.topbar-button:visited {
  color: #011425;
}

body[data-site="first-rep-forward"] .site-footer {
  color: #d5e1e6;
}

body[data-site="first-rep-forward"] .page-main-shell {
  position: relative;
}

body[data-site="first-rep-forward"] .page-main-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 12%, rgba(255,255,255,0.08), transparent 20%),
    radial-gradient(circle at 50% 18%, rgba(255,255,255,0.08), transparent 12%);
  opacity: 0.7;
  z-index: -1;
}

body[data-site="frame-rate-vault"] {
  color: #161316;
  background:
    radial-gradient(circle at 18% 22%, rgba(255, 142, 79, 0.3) 0%, transparent 10%),
    radial-gradient(circle at 62% 18%, rgba(62, 97, 227, 0.2) 0%, transparent 11%),
    radial-gradient(circle at 72% 34%, rgba(142, 242, 206, 0.22) 0%, transparent 13%),
    radial-gradient(circle at 82% 70%, rgba(240, 53, 70, 0.18) 0%, transparent 12%),
    linear-gradient(180deg, #efeaed 0%, #ddd7db 100%);
}

body[data-site="frame-rate-vault"] .site-sidebar {
  border-right-color: rgba(22, 19, 22, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.78) 0%, rgba(247, 243, 245, 0.72) 100%);
  backdrop-filter: blur(18px);
}

body[data-site="frame-rate-vault"] .brand-mark,
body[data-site="frame-rate-vault"] .masthead-title,
body[data-site="frame-rate-vault"] .page-title,
body[data-site="frame-rate-vault"] .page-section-title,
body[data-site="frame-rate-vault"] .content h1,
body[data-site="frame-rate-vault"] .content h2,
body[data-site="frame-rate-vault"] .content h3,
body[data-site="frame-rate-vault"] .feature-title,
body[data-site="frame-rate-vault"] .story-card h3,
body[data-site="frame-rate-vault"] .story-card h2,
body[data-site="frame-rate-vault"] .sidebar-card h3,
body[data-site="frame-rate-vault"] .footer-site-title,
body[data-site="frame-rate-vault"] .topic-band h2 {
  color: #161316;
}

body[data-site="frame-rate-vault"] .sidebar-tagline,
body[data-site="frame-rate-vault"] .sidebar-social,
body[data-site="frame-rate-vault"] .page-intro,
body[data-site="frame-rate-vault"] .feature-panel p,
body[data-site="frame-rate-vault"] .story-card p,
body[data-site="frame-rate-vault"] .content p,
body[data-site="frame-rate-vault"] .content li,
body[data-site="frame-rate-vault"] .sidebar-card p,
body[data-site="frame-rate-vault"] .footer-copy,
body[data-site="frame-rate-vault"] .pagination-status,
body[data-site="frame-rate-vault"] .topbar-search input,
body[data-site="frame-rate-vault"] .photo-credit,
body[data-site="frame-rate-vault"] .meta-rule,
body[data-site="frame-rate-vault"] .meta,
body[data-site="frame-rate-vault"] .contact-list,
body[data-site="frame-rate-vault"] .about-list,
body[data-site="frame-rate-vault"] .policy-list {
  color: #5d5561;
}

body[data-site="frame-rate-vault"] .sidebar-label,
body[data-site="frame-rate-vault"] .masthead-kicker,
body[data-site="frame-rate-vault"] .eyebrow {
  color: #f03546;
}

body[data-site="frame-rate-vault"] .masthead-tagline {
  color: #3e61e3;
}

body[data-site="frame-rate-vault"] .sidebar-nav a,
body[data-site="frame-rate-vault"] .sidebar-topic-list a,
body[data-site="frame-rate-vault"] .topbar-link,
body[data-site="frame-rate-vault"] .footer-links,
body[data-site="frame-rate-vault"] .topic-list a {
  color: #242424;
}

body[data-site="frame-rate-vault"] .sidebar-nav a:hover,
body[data-site="frame-rate-vault"] .sidebar-topic-list a:hover {
  background: rgba(62, 97, 227, 0.12);
  color: #161316;
}

body[data-site="frame-rate-vault"] .topbar-search,
body[data-site="frame-rate-vault"] .toolbar-box,
body[data-site="frame-rate-vault"] .story-card,
body[data-site="frame-rate-vault"] .sidebar-card,
body[data-site="frame-rate-vault"] .content-card,
body[data-site="frame-rate-vault"] .feature-panel,
body[data-site="frame-rate-vault"] .topic-orb,
body[data-site="frame-rate-vault"] .mini-search {
  border-color: rgba(22, 19, 22, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(249, 246, 248, 0.88) 100%);
  box-shadow: 0 22px 38px rgba(72, 54, 74, 0.08);
}

body[data-site="frame-rate-vault"] .topbar-search {
  background: rgba(255, 255, 255, 0.68);
}

body[data-site="frame-rate-vault"] .topbar-search-icon {
  color: #3e61e3;
}

body[data-site="frame-rate-vault"] .feature-media,
body[data-site="frame-rate-vault"] .story-thumb {
  background:
    radial-gradient(circle at 78% 22%, rgba(240, 53, 70, 0.2) 0%, transparent 12%),
    radial-gradient(circle at 28% 72%, rgba(142, 242, 206, 0.28) 0%, transparent 14%),
    radial-gradient(circle at 55% 45%, rgba(62, 97, 227, 0.22) 0%, transparent 18%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.96) 0%, rgba(216, 210, 214, 0.95) 100%);
}

body[data-site="frame-rate-vault"] .topbar-button,
body[data-site="frame-rate-vault"] .story-link,
body[data-site="frame-rate-vault"] .button {
  background: linear-gradient(135deg, #3e61e3, #6b7df0);
  color: #ffffff;
  box-shadow: 0 16px 30px rgba(62, 97, 227, 0.22);
}

body[data-site="frame-rate-vault"] .button-secondary {
  color: #242424;
  border-color: rgba(22, 19, 22, 0.12);
  background: rgba(255, 255, 255, 0.54);
}

body[data-site="frame-rate-vault"] .topic-orb,
body[data-site="frame-rate-vault"] .contact-chips span {
  color: #161316;
  background: #8ef2ce;
  border: 1px solid rgba(22, 19, 22, 0.08);
}

body[data-site="frame-rate-vault"] .contact-email {
  color: #3e61e3;
}

body[data-site="frame-rate-vault"] .about-note,
body[data-site="frame-rate-vault"] .highlight {
  border: 1px solid rgba(240, 53, 70, 0.16);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(142, 242, 206, 0.18)),
    radial-gradient(circle at top right, rgba(240, 53, 70, 0.1), transparent 34%);
}

body[data-site="frame-rate-vault"] .highlight {
  border-left: 3px solid #f03546;
  color: #242424;
}

body[data-site="frame-rate-vault"] .highlight strong,
body[data-site="frame-rate-vault"] strong {
  color: #161316;
}

body[data-site="frame-rate-vault"] .topic-list a {
  border-bottom-color: rgba(22, 19, 22, 0.1);
}

body[data-site="frame-rate-vault"] .mini-search::placeholder,
body[data-site="frame-rate-vault"] .topbar-search input::placeholder {
  color: #857b85;
}

body[data-site="frame-rate-vault"] .page-main-shell {
  position: relative;
}

body[data-site="frame-rate-vault"] .page-main-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 24%, rgba(255,255,255,0.5), transparent 14%),
    radial-gradient(circle at 44% 58%, rgba(62,97,227,0.16), transparent 12%),
    radial-gradient(circle at 72% 36%, rgba(142,242,206,0.16), transparent 13%);
  opacity: 0.9;
  z-index: -1;
}

body[data-site="hammer-and-home"] {
  color: #efefef;
  background:
    radial-gradient(circle at top right, rgba(255, 80, 1, 0.14) 0%, transparent 18%),
    radial-gradient(circle at bottom left, rgba(179, 174, 168, 0.12) 0%, transparent 20%),
    linear-gradient(180deg, #231f20 0%, #2b2627 40%, #1f1b1c 100%);
}

body[data-site="hammer-and-home"] .site-sidebar {
  border-right-color: rgba(239, 239, 239, 0.08);
  background: linear-gradient(180deg, rgba(35, 31, 32, 0.96) 0%, rgba(29, 25, 26, 0.94) 100%);
}

body[data-site="hammer-and-home"] .brand-mark,
body[data-site="hammer-and-home"] .masthead-title,
body[data-site="hammer-and-home"] .page-title,
body[data-site="hammer-and-home"] .page-section-title,
body[data-site="hammer-and-home"] .content h1,
body[data-site="hammer-and-home"] .content h2,
body[data-site="hammer-and-home"] .content h3,
body[data-site="hammer-and-home"] .feature-title,
body[data-site="hammer-and-home"] .story-card h3,
body[data-site="hammer-and-home"] .story-card h2,
body[data-site="hammer-and-home"] .sidebar-card h3,
body[data-site="hammer-and-home"] .footer-site-title,
body[data-site="hammer-and-home"] .topic-band h2 {
  color: #efefef;
}

body[data-site="hammer-and-home"] .sidebar-tagline,
body[data-site="hammer-and-home"] .sidebar-social,
body[data-site="hammer-and-home"] .page-intro,
body[data-site="hammer-and-home"] .feature-panel p,
body[data-site="hammer-and-home"] .story-card p,
body[data-site="hammer-and-home"] .content p,
body[data-site="hammer-and-home"] .content li,
body[data-site="hammer-and-home"] .sidebar-card p,
body[data-site="hammer-and-home"] .footer-copy,
body[data-site="hammer-and-home"] .pagination-status,
body[data-site="hammer-and-home"] .topbar-search input,
body[data-site="hammer-and-home"] .photo-credit,
body[data-site="hammer-and-home"] .meta-rule,
body[data-site="hammer-and-home"] .meta,
body[data-site="hammer-and-home"] .contact-list,
body[data-site="hammer-and-home"] .about-list,
body[data-site="hammer-and-home"] .policy-list {
  color: #d6d2cf;
}

body[data-site="hammer-and-home"] .sidebar-label,
body[data-site="hammer-and-home"] .masthead-kicker,
body[data-site="hammer-and-home"] .eyebrow,
body[data-site="hammer-and-home"] .masthead-tagline {
  color: #ff5001;
}

body[data-site="hammer-and-home"] .sidebar-nav a,
body[data-site="hammer-and-home"] .sidebar-topic-list a,
body[data-site="hammer-and-home"] .topbar-link,
body[data-site="hammer-and-home"] .footer-links,
body[data-site="hammer-and-home"] .topic-list a {
  color: #f4f1ef;
}

body[data-site="hammer-and-home"] .sidebar-nav a:hover,
body[data-site="hammer-and-home"] .sidebar-topic-list a:hover {
  background: rgba(255, 80, 1, 0.14);
  color: #ffffff;
}

body[data-site="hammer-and-home"] .topbar-search,
body[data-site="hammer-and-home"] .toolbar-box,
body[data-site="hammer-and-home"] .story-card,
body[data-site="hammer-and-home"] .sidebar-card,
body[data-site="hammer-and-home"] .content-card,
body[data-site="hammer-and-home"] .feature-panel,
body[data-site="hammer-and-home"] .topic-orb,
body[data-site="hammer-and-home"] .mini-search {
  border-color: rgba(239, 239, 239, 0.1);
  background: linear-gradient(180deg, rgba(100, 99, 104, 0.82) 0%, rgba(55, 50, 52, 0.86) 100%);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(8px);
}

body[data-site="hammer-and-home"] .topbar-search {
  background: rgba(255, 255, 255, 0.08);
}

body[data-site="hammer-and-home"] .topbar-search-icon {
  color: #ff5001;
}

body[data-site="hammer-and-home"] .feature-media,
body[data-site="hammer-and-home"] .story-thumb {
  background:
    linear-gradient(135deg, rgba(255, 80, 1, 0.16), rgba(255, 80, 1, 0)),
    linear-gradient(145deg, rgba(35, 31, 32, 0.8) 0%, rgba(100, 99, 104, 0.36) 100%);
}

body[data-site="hammer-and-home"] .topbar-button,
body[data-site="hammer-and-home"] .story-link,
body[data-site="hammer-and-home"] .button {
  background: linear-gradient(135deg, #ff5001, #ff6d1f);
  color: #ffffff;
  box-shadow: 0 16px 30px rgba(255, 80, 1, 0.24);
}

body[data-site="hammer-and-home"] .button-secondary {
  color: #efefef;
  border-color: rgba(239, 239, 239, 0.18);
  background: transparent;
}

body[data-site="hammer-and-home"] .article-detail .content-card,
body[data-site="hammer-and-home"] .article-detail .content-card p,
body[data-site="hammer-and-home"] .article-detail .content-card li,
body[data-site="hammer-and-home"] .article-detail .content-card h1,
body[data-site="hammer-and-home"] .article-detail .content-card h2,
body[data-site="hammer-and-home"] .article-detail .content-card h3,
body[data-site="hammer-and-home"] .article-detail .content-card h4,
body[data-site="hammer-and-home"] .article-detail .content-card h5,
body[data-site="hammer-and-home"] .article-detail .content-card h6,
body[data-site="hammer-and-home"] .article-detail .content-card strong,
body[data-site="hammer-and-home"] .article-detail .content-card b,
body[data-site="hammer-and-home"] .article-detail .content-card em,
body[data-site="hammer-and-home"] .article-detail .content-card blockquote,
body[data-site="hammer-and-home"] .article-detail .content-card th,
body[data-site="hammer-and-home"] .article-detail .content-card td {
  color: #e8e2de;
}

body[data-site="hammer-and-home"] .article-detail .content-card h1,
body[data-site="hammer-and-home"] .article-detail .content-card h2,
body[data-site="hammer-and-home"] .article-detail .content-card h3,
body[data-site="hammer-and-home"] .article-detail .content-card h4,
body[data-site="hammer-and-home"] .article-detail .content-card h5,
body[data-site="hammer-and-home"] .article-detail .content-card h6,
body[data-site="hammer-and-home"] .article-detail .content-card strong,
body[data-site="hammer-and-home"] .article-detail .content-card b {
  color: #ffffff;
}

body[data-site="hammer-and-home"] .article-detail .content-card a:not(.button):not(.button-secondary):not(.story-link):not(.topbar-button),
body[data-site="hammer-and-home"] .article-detail .content-card a:not(.button):not(.button-secondary):not(.story-link):not(.topbar-button):visited {
  color: #ffb38b;
}

body[data-site="hammer-and-home"] .topic-orb,
body[data-site="hammer-and-home"] .contact-chips span {
  color: #231f20;
  background: #efefef;
  border: 1px solid rgba(239, 239, 239, 0.2);
}

body[data-site="hammer-and-home"] .contact-email {
  color: #ff8b56;
}

body[data-site="hammer-and-home"] .about-note,
body[data-site="hammer-and-home"] .highlight {
  border: 1px solid rgba(255, 80, 1, 0.22);
  background: linear-gradient(135deg, rgba(255, 80, 1, 0.14), rgba(179, 174, 168, 0.12));
}

body[data-site="hammer-and-home"] .highlight {
  border-left: 3px solid #ff5001;
  color: #f4f1ef;
}

body[data-site="hammer-and-home"] .highlight strong,
body[data-site="hammer-and-home"] strong {
  color: #ffffff;
}

body[data-site="hammer-and-home"] .topic-list a {
  border-bottom-color: rgba(239, 239, 239, 0.12);
}

body[data-site="hammer-and-home"] .footer-grid {
  border-top-color: rgba(239, 239, 239, 0.1);
}

body[data-site="hammer-and-home"] .mini-search::placeholder,
body[data-site="hammer-and-home"] .topbar-search input::placeholder {
  color: #bfb7b2;
}

body[data-site="hammer-and-home"] .page-main-shell {
  position: relative;
}

body[data-site="hammer-and-home"] .page-main-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 78% 16%, rgba(255,80,1,0.08), transparent 14%),
    linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.08) 100%);
  opacity: 0.8;
  z-index: -1;
}

@media (max-width: 1220px) {
  .app-shell {
    grid-template-columns: 240px minmax(0, 1fr);
  }

  .magazine-grid {
    grid-template-columns: 1fr;
  }

  .rail,
  .center-support-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rail-stack {
    grid-template-rows: none;
  }
}

@media (max-width: 1040px) {
  .app-shell {
    grid-template-columns: 1fr;
  }

  .site-sidebar {
    position: static;
    min-height: auto;
    padding-bottom: 1rem;
    border-right: 0;
    border-bottom: 1px solid rgba(18, 24, 28, 0.08);
  }

  .sidebar-nav,
  .sidebar-topic-list {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  }

  .site-shell {
    padding-top: 1rem;
  }

  .site-topbar,
  .editorial-top,
  .footer-grid,
  .editorial-layout,
  .content-layout {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .story-grid,
  .rail,
  .center-support-grid {
    grid-template-columns: 1fr;
  }

  .center-feature {
    order: 1;
  }

  .rail-left {
    order: 2;
  }

  .rail-right {
    order: 3;
  }

  .toolbar-box,
  .topbar-search {
    width: 100%;
    max-width: none;
  }

  .article-ad-rail {
    position: static;
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .feature-media,
  .story-thumb,
  .compact-card .story-thumb {
    aspect-ratio: 1.15 / 0.9;
  }
}

@media (max-width: 720px) {
  .site-shell {
    padding-left: 0.95rem;
    padding-right: 0.95rem;
  }

  .site-sidebar {
    padding: 1.1rem 0.95rem 1rem;
  }

  .sidebar-brand {
    margin-bottom: 1.1rem;
  }

  .sidebar-nav,
  .sidebar-topic-list {
    display: flex;
    gap: 0.55rem;
    overflow-x: auto;
    padding-bottom: 0.2rem;
    scrollbar-width: none;
  }

  .sidebar-nav::-webkit-scrollbar,
  .sidebar-topic-list::-webkit-scrollbar {
    display: none;
  }

  .sidebar-nav a,
  .sidebar-topic-list a {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .topbar-actions {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .footer-links {
    gap: 0.65rem 0.85rem;
  }

  .masthead-title {
    font-size: clamp(2.7rem, 14vw, 4.2rem);
  }

  .page-title,
  .content h1 {
    max-width: none;
    font-size: clamp(2.1rem, 10vw, 3rem);
  }

  .feature-title {
    font-size: clamp(1.8rem, 8vw, 2.55rem);
  }

  .editorial-top {
    margin-bottom: 1.1rem;
  }

  .page-intro,
  .feature-panel p,
  .story-card p,
  .content p,
  .content li,
  .sidebar-card p,
  .footer-copy {
    font-size: 0.94rem;
  }

  .story-card,
  .feature-panel,
  .sidebar-card,
  .content-card {
    padding: 0.9rem;
  }

  .article-ad-rail {
    grid-template-columns: 1fr;
  }

  .article-ad-slot {
    min-height: 180px;
  }

  .story-card,
  .feature-panel,
  .sidebar-card,
  .content-card {
    border-radius: 22px;
  }

  .story-body {
    padding-top: 0.8rem;
  }

  .button-row,
  .footer-links {
    flex-direction: column;
    align-items: flex-start;
  }

  .pagination-nav {
    align-items: stretch;
  }

  .button,
  .button-secondary,
  .story-link {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .site-shell {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .site-sidebar {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .toolbar-box,
  .story-card,
  .sidebar-card,
  .content-card,
  .feature-panel {
    border-radius: 18px;
  }

  .feature-media,
  .story-thumb,
  .compact-card .story-thumb {
    border-radius: 16px;
    aspect-ratio: 1 / 0.9;
  }

  .topic-orbs {
    gap: 0.55rem;
  }

  .topic-orb {
    width: 100%;
    justify-content: center;
  }
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) minmax(280px, 0.9fr);
  gap: 1.25rem;
  align-items: start;
}

.contact-lead-card,
.contact-copy-card,
.contact-side-card {
  height: 100%;
}

.contact-email {
  color: #121418;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.contact-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}

.contact-chips span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent-soft) 42%, white);
  color: var(--secondary);
  font-size: 0.8rem;
  font-weight: 700;
}

.contact-list {
  margin: 0.9rem 0 0;
  padding-left: 1.15rem;
  color: var(--muted);
  line-height: 1.75;
}

.contact-list li + li {
  margin-top: 0.45rem;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) minmax(280px, 0.9fr);
  gap: 1.25rem;
  align-items: start;
}

.about-lead-card,
.about-copy-card,
.about-side-card {
  height: 100%;
}

.about-list {
  margin: 0.9rem 0 0;
  padding-left: 1.15rem;
  color: var(--muted);
  line-height: 1.75;
}

.about-list li + li {
  margin-top: 0.45rem;
}

.about-note {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 20px;
  background: color-mix(in srgb, var(--accent-soft) 30%, white);
}

.about-note p {
  margin: 0.55rem 0 0;
}

.policy-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) minmax(280px, 0.9fr);
  gap: 1.25rem;
  align-items: start;
}

.policy-lead-card,
.policy-copy-card,
.policy-side-card {
  height: 100%;
}

.policy-copy-card .content h2:first-child {
  margin-top: 0;
}

.policy-list {
  margin: 0.9rem 0 0;
  padding-left: 1.15rem;
  color: var(--muted);
  line-height: 1.75;
}

.policy-list li + li {
  margin-top: 0.45rem;
}

.compact-policy-list {
  font-size: 0.94rem;
}

@media (max-width: 1180px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-side-card {
    grid-column: 1 / -1;
  }

  .about-grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-side-card {
    grid-column: 1 / -1;
  }

  .policy-grid {
    grid-template-columns: 1fr 1fr;
  }

  .policy-side-card {
    grid-column: 1 / -1;
  }
}

@media (max-width: 860px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .policy-grid {
    grid-template-columns: 1fr;
  }
}

.breadcrumb-trail {
  padding: 1rem 0 0;
}

.breadcrumb-trail .container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.breadcrumb-trail a {
  color: var(--secondary);
}

.breadcrumb-separator {
  opacity: 0.55;
}
