:root {
  --ink: #182018;
  --muted: #5d675d;
  --paper: #f6f4ef;
  --panel: #ffffff;
  --line: #d8ddd4;
  --accent: #2f5d3a;
  --accent-soft: #e7efe8;
  --max: 1120px;
  --sidebar: 270px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Manrope", system-ui, sans-serif;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  min-height: 100vh;
  overflow-x: clip;
}

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

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

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

.eyebrow {
  margin: 0 0 0.55rem;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.site-header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.5rem 1.25rem 1rem;
}

.brand {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--header-ink, var(--ink));
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.brand-logo {
  display: block;
  max-height: var(--header-logo-height, 48px);
  height: var(--header-logo-height, 48px);
  width: auto;
  max-width: min(var(--header-logo-max-width, 220px), 70vw);
  object-fit: contain;
}

.footer-logo-link {
  display: inline-block;
  margin-bottom: 0.45rem;
  text-decoration: none;
}

.footer-logo {
  display: block;
  max-height: var(--footer-logo-height, 40px);
  height: var(--footer-logo-height, 40px);
  width: auto;
  max-width: min(var(--footer-logo-max-width, 180px), 70vw);
  object-fit: contain;
}

.layout {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.5rem 1.25rem 4rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--sidebar);
  gap: 3rem;
  align-items: start;
}

.content-column {
  min-width: 0;
}

.home-intro {
  margin: 0.25rem 0 2.25rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}

.home-title {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4vw, 2.85rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.home-tagline {
  margin: 0;
  color: var(--muted);
  max-width: 42ch;
}

.post-feed {
  display: flex;
  flex-direction: column;
  gap: 2.75rem;
}

.feed-item {
  display: grid;
  gap: 1.05rem;
  padding-bottom: 2.75rem;
  border-bottom: 1px solid var(--line);
}

.feed-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.feed-image-link {
  display: block;
  overflow: hidden;
  width: 100%;
  border-radius: 3px;
  background: color-mix(in srgb, var(--line) 55%, transparent);
}

.feed-image,
.single-image {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  border-radius: 3px;
  transition: transform 0.45s ease;
}

.archive-feed-product {
  gap: 1.5rem;
}

.archive-feed-product .archive-item {
  grid-template-columns: 180px minmax(0, 1fr);
  align-items: start;
  gap: 1.15rem 1.35rem;
  padding-bottom: 1.5rem;
}

.archive-feed-product .feed-image-link {
  width: 180px;
  max-width: 100%;
  border-radius: 10px;
  flex-shrink: 0;
}

.archive-feed-product .feed-image {
  aspect-ratio: 1;
  border-radius: 10px;
  display: block;
  width: 100%;
  height: auto;
}

.archive-feed-product .feed-body {
  min-width: 0;
}

.archive-feed-product .archive-meta {
  margin-bottom: 0.35rem;
}

.archive-feed-product .archive-meta .feed-date {
  display: inline;
  margin-bottom: 0;
}

.archive-feed-product .feed-title {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  margin-bottom: 0.4rem;
}

.archive-feed-product .feed-excerpt {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
  margin-bottom: 0.65rem;
  font-size: 0.95rem;
}

.archive-feed-product .tag-cloud {
  margin-bottom: 0.55rem;
}

@media (max-width: 900px) {
  .archive-feed-product .archive-item {
    grid-template-columns: 148px minmax(0, 1fr);
    gap: 1rem 1.15rem;
  }

  .archive-feed-product .feed-image-link {
    width: 148px;
  }
}

@media (max-width: 640px) {
  .archive-feed-product {
    gap: 1.15rem;
  }

  .archive-feed-product .archive-item {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 0.75rem 0.85rem;
    padding-bottom: 1.15rem;
  }

  .archive-feed-product .feed-image-link {
    width: 96px;
    border-radius: 8px;
  }

  .archive-feed-product .feed-image {
    border-radius: 8px;
  }

  .archive-feed-product .feed-title {
    font-size: 1rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
  }

  .archive-feed-product .feed-excerpt {
    -webkit-line-clamp: 2;
    line-clamp: 2;
    font-size: 0.88rem;
    margin-bottom: 0.45rem;
  }

  .archive-feed-product .tag-cloud {
    display: none;
  }

  .archive-feed-product .type-pill {
    font-size: 0.68rem;
    padding: 0.18rem 0.5rem;
  }

  .archive-feed-product .feed-more {
    font-size: 0.85rem;
  }
}

@media (max-width: 420px) {
  .archive-feed-product .archive-item {
    grid-template-columns: 80px minmax(0, 1fr);
    gap: 0.65rem 0.75rem;
  }

  .archive-feed-product .feed-image-link {
    width: 80px;
  }

  .archive-feed-product .feed-excerpt {
    display: none;
  }

  .archive-feed-product .feed-title {
    -webkit-line-clamp: 4;
    line-clamp: 4;
    margin-bottom: 0.35rem;
  }
}

/* Keep product cards compact across layout themes */
.theme-magazine .archive-feed-product,
.theme-spotlight .archive-feed-product {
  display: flex;
  flex-direction: column;
  grid-template-columns: none;
  gap: 1.5rem;
}

.theme-magazine .archive-feed-product .archive-item,
.theme-spotlight .archive-feed-product .archive-item,
.theme-spotlight .archive-feed-product .feed-item:first-child,
.theme-spotlight .archive-feed-product .feed-item:not(:first-child) {
  display: grid;
  grid-column: auto;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 1.15rem 1.35rem;
  align-items: start;
  padding: 0 0 1.5rem;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.theme-magazine .archive-feed-product .feed-image-link,
.theme-magazine .archive-feed-product .feed-image,
.theme-spotlight .archive-feed-product .feed-image-link,
.theme-spotlight .archive-feed-product .feed-image {
  width: 180px;
  max-width: 100%;
  border-radius: 10px;
}

.theme-magazine .archive-feed-product .feed-body,
.theme-spotlight .archive-feed-product .feed-body,
.theme-spotlight .archive-feed-product .feed-item:not(:first-child) .feed-body {
  padding: 0;
}

.theme-spotlight .archive-feed-product .feed-item:first-child .feed-title,
.theme-spotlight .archive-feed-product .feed-item:not(:first-child) .feed-title,
.theme-magazine .archive-feed-product .feed-title {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

@media (max-width: 900px) {
  .theme-magazine .archive-feed-product .archive-item,
  .theme-spotlight .archive-feed-product .archive-item,
  .theme-spotlight .archive-feed-product .feed-item:first-child,
  .theme-spotlight .archive-feed-product .feed-item:not(:first-child) {
    grid-template-columns: 148px minmax(0, 1fr);
  }

  .theme-magazine .archive-feed-product .feed-image-link,
  .theme-magazine .archive-feed-product .feed-image,
  .theme-spotlight .archive-feed-product .feed-image-link,
  .theme-spotlight .archive-feed-product .feed-image {
    width: 148px;
  }
}

@media (max-width: 640px) {
  .theme-magazine .archive-feed-product .archive-item,
  .theme-spotlight .archive-feed-product .archive-item,
  .theme-spotlight .archive-feed-product .feed-item:first-child,
  .theme-spotlight .archive-feed-product .feed-item:not(:first-child),
  .theme-newspaper .archive-feed-product .archive-item {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 0.75rem 0.85rem;
  }

  .theme-magazine .archive-feed-product .feed-image-link,
  .theme-magazine .archive-feed-product .feed-image,
  .theme-spotlight .archive-feed-product .feed-image-link,
  .theme-spotlight .archive-feed-product .feed-image,
  .theme-newspaper .archive-feed-product .feed-image-link,
  .theme-newspaper .archive-feed-product .feed-image {
    width: 96px;
  }
}

@media (max-width: 420px) {
  .theme-magazine .archive-feed-product .archive-item,
  .theme-spotlight .archive-feed-product .archive-item,
  .theme-spotlight .archive-feed-product .feed-item:first-child,
  .theme-spotlight .archive-feed-product .feed-item:not(:first-child),
  .theme-newspaper .archive-feed-product .archive-item {
    grid-template-columns: 80px minmax(0, 1fr);
  }

  .theme-magazine .archive-feed-product .feed-image-link,
  .theme-magazine .archive-feed-product .feed-image,
  .theme-spotlight .archive-feed-product .feed-image-link,
  .theme-spotlight .archive-feed-product .feed-image,
  .theme-newspaper .archive-feed-product .feed-image-link,
  .theme-newspaper .archive-feed-product .feed-image {
    width: 80px;
  }
}

.single-image-wrap {
  display: block;
  width: 100%;
  max-width: 100%;
  margin-bottom: 1.4rem;
  overflow: hidden;
  border-radius: 3px;
  background: color-mix(in srgb, var(--line) 55%, transparent);
}

.single-image {
  margin-bottom: 0;
  display: block;
}

.feed-image-link:hover .feed-image {
  transform: scale(1.02);
}

.feed-date,
.single-date {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.feed-title {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 1.95rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.feed-title a {
  color: inherit;
  text-decoration: none;
}

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

.feed-excerpt {
  margin: 0 0 0.85rem;
  color: var(--muted);
  max-width: 62ch;
}

.feed-more {
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
}

.single-header {
  margin-bottom: 1.4rem;
}

.single-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.05rem, 4vw, 2.95rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.single-content {
  max-width: 65ch;
  color: var(--ink);
}

.single-content p {
  margin: 0 0 1.25rem;
  color: var(--ink);
}

.related-content {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.related-head {
  margin-bottom: 1.15rem;
}

.related-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 500;
}

.related-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.related-item a {
  display: grid;
  gap: 0.75rem;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.related-thumb {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  border-radius: 3px;
}

.related-copy {
  display: grid;
  gap: 0.25rem;
}

.related-item-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.3;
}

.related-item a:hover .related-item-title {
  color: var(--accent);
}

.related-item-meta {
  font-size: 0.72rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
}

.related-item-excerpt {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.sidebar {
  position: sticky;
  top: 1.25rem;
}

.sidebar-widget {
  background: color-mix(in srgb, var(--panel) 82%, transparent);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1.15rem 1.1rem 1.25rem;
}

.sidebar-title {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
}

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

.sidebar-list a {
  color: inherit;
  text-decoration: none;
  font-size: 0.95rem;
  line-height: 1.35;
  display: inline-block;
  border-bottom: 1px solid transparent;
}

.sidebar-list a:hover {
  color: var(--accent);
  border-bottom-color: color-mix(in srgb, var(--accent) 35%, transparent);
}

.sidebar-empty,
.empty-state {
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--line);
}

.site-footer:not(.site-footer-wp) .site-footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.4rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 0.85rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer:not(.site-footer-wp) .site-footer-inner p {
  margin: 0;
}

.footer-copy {
  display: grid;
  gap: 0.2rem;
}

.footer-nav a {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid color-mix(in srgb, var(--muted) 35%, transparent);
}

.footer-nav a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.single-content a {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1.5px;
  word-break: break-word;
}

.single-content strong,
.single-content b {
  font-weight: 700;
}

.single-content em,
.single-content i {
  font-style: italic;
}

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

.single-content li {
  margin-bottom: 0.35rem;
}

.single-content h2,
.single-content h3,
.single-content h4 {
  margin: 1.6rem 0 0.7rem;
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.single-content h2 { font-size: 1.45rem; }
.single-content h3 { font-size: 1.25rem; }
.single-content h4 { font-size: 1.1rem; }

.single-content blockquote {
  margin: 1.2rem 0;
  padding: 0.4rem 0 0.4rem 1rem;
  border-left: 3px solid var(--accent);
  color: var(--muted);
}

.single-content hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 1.6rem 0;
}

.single-content .table-scroll {
  width: 100%;
  overflow-x: auto;
  margin: 1.35rem 0;
  border: 1px solid var(--line);
  border-radius: 4px;
  -webkit-overflow-scrolling: touch;
}

.single-content table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  background: color-mix(in srgb, var(--panel, #fff) 92%, transparent);
}

.single-content th,
.single-content td {
  border: 1px solid var(--line);
  padding: 0.65rem 0.75rem;
  text-align: left;
  vertical-align: top;
}

.single-content th {
  background: color-mix(in srgb, var(--accent) 10%, var(--paper));
  font-weight: 700;
}

@media (max-width: 700px) {
  .single-content table {
    min-width: 420px;
    font-size: 0.95rem;
  }
}

@media (max-width: 920px) {
  .related-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .sidebar {
    position: static;
  }
}

/* --------------------------------------------------------------------------
   Layout packs (Store templates) ÃÂ¢ÃÂÃÂ structural differences, not just colors
   -------------------------------------------------------------------------- */

/* Magazine: card grid feed */
.theme-magazine .site-header-inner {
  padding-top: 1.75rem;
  padding-bottom: 1.25rem;
}

.theme-magazine .brand {
  font-size: 1.55rem;
  font-weight: 600;
}

.theme-magazine .layout {
  gap: 2.25rem;
}

.theme-magazine .home-intro {
  border-bottom: 0;
  margin-bottom: 1.5rem;
  padding-bottom: 0;
}

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

.theme-magazine .feed-item {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: color-mix(in srgb, var(--panel, #fff) 88%, transparent);
  box-shadow: 0 12px 28px color-mix(in srgb, var(--ink) 6%, transparent);
}

.theme-magazine .feed-image-link,
.theme-magazine .feed-image {
  border-radius: 0;
}

.theme-magazine .feed-body {
  padding: 0 1rem 1.15rem;
}

.theme-magazine .feed-title {
  font-size: clamp(1.2rem, 2vw, 1.45rem);
}

.theme-magazine .sidebar-widget {
  border-radius: 16px;
  padding: 1.25rem;
  box-shadow: 0 10px 24px color-mix(in srgb, var(--ink) 5%, transparent);
}

.theme-magazine .related-item a {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: color-mix(in srgb, var(--panel, #fff) 90%, transparent);
}

.theme-magazine .related-copy {
  padding: 0.85rem 0.95rem 1rem;
}

@media (max-width: 720px) {
  .theme-magazine .post-feed {
    grid-template-columns: 1fr;
  }
}

/* Newspaper: dense horizontal rows */
.theme-newspaper .site-header {
  border-bottom: 3px double var(--ink);
}

.theme-newspaper .site-header-inner {
  padding-top: 1.1rem;
  padding-bottom: 0.9rem;
}

.theme-newspaper .brand {
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.theme-newspaper .home-intro {
  text-align: center;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 1rem;
}

.theme-newspaper .home-title {
  font-size: clamp(1.8rem, 3.5vw, 2.35rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.theme-newspaper .eyebrow {
  letter-spacing: 0.18em;
}

.theme-newspaper .post-feed {
  gap: 0;
}

.theme-newspaper .feed-item {
  display: grid;
  grid-template-columns: minmax(140px, 220px) minmax(0, 1fr);
  gap: 1.1rem;
  align-items: start;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--ink);
}

.theme-newspaper .feed-item:last-child {
  border-bottom: 1px solid var(--ink);
}

.theme-newspaper .feed-image-link,
.theme-newspaper .feed-image,
.theme-newspaper .single-image-wrap,
.theme-newspaper .single-image {
  border-radius: 0;
}

.theme-newspaper .feed-title {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-weight: 700;
}

.theme-newspaper .feed-more {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.78rem;
}

.theme-newspaper .sidebar-widget {
  border-radius: 0;
  border: 1px solid var(--ink);
  background: transparent;
}

.theme-newspaper .site-footer {
  border-top: 3px double var(--ink);
}

.theme-newspaper .feed-item:not(:has(.feed-image-link)) {
  grid-template-columns: 1fr;
}

.theme-spotlight .feed-item:first-child:not(:has(.feed-image-link)) {
  grid-template-columns: 1fr;
}

@media (max-width: 640px) {
  .theme-newspaper .feed-item {
    grid-template-columns: 1fr;
  }
}

/* Spotlight: oversized first story, then compact grid */
.theme-spotlight .layout {
  grid-template-columns: minmax(0, 1fr);
  max-width: 980px;
}

.theme-spotlight .sidebar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  position: static;
}

.theme-spotlight .sidebar-widget {
  grid-column: 1 / -1;
  border-radius: 18px;
  background: color-mix(in srgb, var(--accent) 8%, var(--paper));
  border-color: color-mix(in srgb, var(--accent) 22%, var(--line));
}

.theme-spotlight .home-intro {
  border-bottom: 0;
  margin-bottom: 1.75rem;
}

.theme-spotlight .post-feed {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.35rem;
}

.theme-spotlight .feed-item:first-child {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: center;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: color-mix(in srgb, var(--panel, #fff) 80%, transparent);
}

.theme-spotlight .feed-item:first-child .feed-title {
  font-size: clamp(1.85rem, 3.5vw, 2.55rem);
}

.theme-spotlight .feed-item:not(:first-child) {
  padding: 0;
  border: 0;
  border-radius: 14px;
  overflow: hidden;
  background: color-mix(in srgb, var(--panel, #fff) 85%, transparent);
  box-shadow: 0 8px 22px color-mix(in srgb, var(--ink) 6%, transparent);
}

.theme-spotlight .feed-item:not(:first-child) .feed-body {
  padding: 0.85rem 0.95rem 1.05rem;
}

.theme-spotlight .feed-item:not(:first-child) .feed-title {
  font-size: 1.2rem;
}

.theme-spotlight .single-content {
  max-width: 70ch;
  margin-inline: auto;
}

@media (max-width: 800px) {
  .theme-spotlight .feed-item:first-child,
  .theme-spotlight .post-feed,
  .theme-spotlight .sidebar {
    grid-template-columns: 1fr;
  }
}

/* Noir: dark cinema, sidebar on the left */
.theme-noir {
  background-image:
    radial-gradient(ellipse 70% 45% at 80% -10%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 55%);
}

.theme-noir .layout {
  grid-template-columns: var(--sidebar) minmax(0, 1fr);
}

.theme-noir .content-column {
  order: 2;
}

.theme-noir .sidebar {
  order: 1;
}

.theme-noir .site-header-inner {
  padding-top: 2rem;
}

.theme-noir .brand {
  font-size: 1.7rem;
  font-weight: 600;
}

.theme-noir .home-intro {
  border-bottom-color: color-mix(in srgb, var(--accent) 35%, transparent);
}

.theme-noir .feed-item {
  gap: 1.2rem;
  padding-bottom: 2.4rem;
  border-bottom-color: color-mix(in srgb, var(--line) 70%, transparent);
}

.theme-noir .feed-image-link,
.theme-noir .feed-image,
.theme-noir .single-image-wrap,
.theme-noir .single-image {
  border-radius: 18px;
}

.theme-noir .sidebar-widget,
.theme-scheme-dark .sidebar-widget,
.theme-scheme-dark .admin-panel,
.theme-scheme-dark .product-usage-panel,
.theme-scheme-dark .product-faq-panel,
.theme-scheme-dark .product-related,
.theme-scheme-dark .product-author-panel,
.theme-scheme-dark .product-offer-box,
.theme-scheme-dark .support-page-nav nav,
.theme-scheme-dark .nav-dropdown-panel {
  color: var(--on-panel, var(--ink));
}

.theme-scheme-dark .feed-title,
.theme-scheme-dark .home-title,
.theme-scheme-dark .single-title,
.theme-scheme-dark .product-h1,
.theme-scheme-dark h1,
.theme-scheme-dark h2,
.theme-scheme-dark h3 {
  color: var(--ink);
}

.theme-scheme-dark .feed-excerpt,
.theme-scheme-dark .eyebrow,
.theme-scheme-dark .feed-date,
.theme-scheme-dark time {
  color: var(--muted);
}

.theme-noir .feed-more,
.theme-noir .sidebar-list a:hover {
  color: var(--accent);
}

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

  .theme-noir .content-column,
  .theme-noir .sidebar {
    order: initial;
  }
}

/* Bulletin: soft community notice board */
.theme-bulletin .site-header-inner {
  padding-bottom: 1.4rem;
}

.theme-bulletin .brand {
  font-weight: 700;
  letter-spacing: -0.03em;
}

.theme-bulletin .layout {
  gap: 1.75rem;
}

.theme-bulletin .home-intro {
  border: 0;
  padding: 1.2rem 1.3rem;
  border-radius: 20px;
  background: color-mix(in srgb, var(--accent) 10%, var(--panel, #fff));
  margin-bottom: 1.5rem;
}

.theme-bulletin .post-feed {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.theme-bulletin .feed-item {
  padding: 1rem;
  border: 0;
  border-radius: 18px;
  background: color-mix(in srgb, var(--panel, #fff) 92%, transparent);
  box-shadow: 0 10px 26px color-mix(in srgb, var(--ink) 7%, transparent);
}

.theme-bulletin .feed-date {
  display: inline-block;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  color: var(--accent);
  letter-spacing: 0.04em;
}

.theme-bulletin .feed-image-link,
.theme-bulletin .feed-image {
  border-radius: 14px;
}

.theme-bulletin .sidebar-widget {
  border: 0;
  border-radius: 18px;
  background: color-mix(in srgb, var(--accent) 12%, var(--panel, #fff));
  box-shadow: 0 8px 20px color-mix(in srgb, var(--ink) 6%, transparent);
}

.theme-bulletin .feed-more {
  display: inline-flex;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-size: 0.84rem;
}

.theme-bulletin .feed-more:hover {
  filter: brightness(1.05);
  color: #fff;
}

@media (max-width: 720px) {
  .theme-bulletin .post-feed {
    grid-template-columns: 1fr;
  }
}

/* ÃÂÃÂÃÂ WordPress-style header / footer / archives ÃÂÃÂÃÂ */
.visually-hidden,
.admin-sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

.site-header-wp {
  border-bottom: 1px solid color-mix(in srgb, var(--header-ink, var(--ink)) 12%, transparent);
  background: color-mix(in srgb, var(--header-bg, var(--panel)) 92%, transparent);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header-wp .site-header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
}
.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0.15rem;
  flex: 1;
  min-width: 0;
}
.site-nav > a,
.nav-dropdown-toggle {
  color: var(--header-muted, var(--muted));
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 650;
  padding: 0.45rem 0.7rem;
  border-radius: 8px;
  border: 0;
  background: transparent;
  font: inherit;
  cursor: pointer;
  white-space: nowrap;
}
.site-nav > a:hover,
.site-nav > a.is-current,
.nav-dropdown.is-current > .nav-dropdown-toggle,
.nav-dropdown-toggle:hover {
  color: var(--header-ink, var(--ink));
  background: color-mix(in srgb, var(--accent) 10%, transparent);
}
.nav-dropdown { position: relative; }
.nav-dropdown-panel {
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 0;
  min-width: 220px;
  padding: 0.45rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  box-shadow: 0 14px 34px rgba(24,32,24,0.12);
  display: grid;
  gap: 0.15rem;
  z-index: 60;
}
.nav-dropdown-panel[hidden] { display: none !important; }
.nav-dropdown-panel a {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--ink);
  padding: 0.55rem 0.65rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
}
.nav-dropdown-panel a:hover { background: var(--accent-soft); }
.nav-dropdown-panel em {
  font-style: normal;
  color: var(--muted);
  font-size: 0.8rem;
}
.nav-dropdown-empty {
  margin: 0;
  padding: 0.65rem;
  color: var(--muted);
  font-size: 0.88rem;
}
.site-search {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: auto;
}
.site-search input {
  width: min(220px, 42vw);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.5rem 0.85rem;
  font: inherit;
  background: var(--panel);
  color: var(--ink);
}
.site-search button,
.archive-search button {
  border: 0;
  border-radius: 999px;
  padding: 0.5rem 0.9rem;
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.nav-toggle {
  display: none;
  border: 1px solid color-mix(in srgb, var(--header-ink, var(--ink)) 16%, transparent);
  background: color-mix(in srgb, var(--header-bg, var(--panel)) 88%, transparent);
  color: var(--header-ink, var(--ink));
  border-radius: 8px;
  padding: 0.45rem 0.75rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.site-footer-wp {
  margin-top: 3rem;
  padding: 0;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--footer-bg, var(--ink)) 88%, var(--accent)) 0%, var(--footer-bg, #121816) 100%);
  color: var(--footer-ink, #d5ddd6);
}
.site-footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.5rem 1.25rem 1.35rem;
}
.site-footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 1.75rem 1.5rem;
  align-items: start;
}
.footer-brand-col {
  min-width: 0;
  padding-right: 0.5rem;
}
.footer-brand-name {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--footer-heading, #fff);
  margin: 0 0 0.65rem;
  text-decoration: none;
  letter-spacing: -0.02em;
}
.footer-brand-name:hover { color: var(--footer-heading, #fff); }
.footer-logo-link {
  display: inline-block;
  margin-bottom: 0.7rem;
  text-decoration: none;
}
.footer-logo {
  display: block;
  max-height: var(--footer-logo-height, 40px);
  height: var(--footer-logo-height, 40px);
  width: auto;
  max-width: min(var(--footer-logo-max-width, 180px), 70vw);
  object-fit: contain;
}
.footer-note {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--footer-muted, rgba(245, 248, 245, 0.78));
  max-width: 28ch;
}
.footer-col {
  min-width: 0;
}
.footer-col h3 {
  margin: 0 0 0.85rem;
  color: var(--footer-heading, #fff);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
}
.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}
.footer-col a {
  color: var(--footer-ink, rgba(220, 228, 222, 0.9));
  text-decoration: none;
  font-size: 0.92rem;
  line-height: 1.35;
}
.footer-col a:hover {
  color: var(--footer-heading, #fff);
}
.footer-empty {
  color: var(--footer-muted, rgba(220, 228, 222, 0.55));
  font-size: 0.88rem;
}
.footer-search-lead {
  margin: 0 0 0.7rem;
  font-size: 0.88rem;
  color: var(--footer-muted, rgba(245, 248, 245, 0.7));
  line-height: 1.45;
}
.footer-search {
  display: flex;
  align-items: stretch;
  gap: 0.4rem;
  max-width: 280px;
}
.footer-search input {
  flex: 1;
  min-width: 0;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 10px;
  padding: 0.6rem 0.8rem;
  background: rgba(255,255,255,0.07);
  color: #fff;
  font: inherit;
}
.footer-search input::placeholder {
  color: rgba(255,255,255,0.45);
}
.footer-search input:focus {
  outline: none;
  border-color: color-mix(in srgb, var(--accent) 55%, #fff);
  box-shadow: 0 0 0 3px rgba(255,255,255,0.08);
}
.footer-search button {
  border: 0;
  border-radius: 10px;
  padding: 0.6rem 0.95rem;
  background: var(--accent);
  color: var(--on-accent, #fff);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}
.footer-search button:hover {
  filter: brightness(1.08);
}
.site-footer-bottom {
  margin-top: 2rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.footer-mini {
  margin: 0;
  opacity: 0.7;
  font-size: 0.82rem;
  line-height: 1.45;
}

.archive-intro { margin-bottom: 1.5rem; }
.archive-title {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  line-height: 1.15;
}
.archive-lead { margin: 0; color: var(--muted); max-width: 40rem; }
.archive-search {
  display: flex;
  gap: 0.45rem;
  margin-top: 1rem;
  max-width: 420px;
}
.archive-search input {
  flex: 1;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.65rem 0.85rem;
  font: inherit;
}
.archive-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.75rem;
  align-items: center;
  margin-bottom: 0.35rem;
  font-size: 0.84rem;
  color: var(--muted);
}
.archive-cat, .single-cat {
  color: var(--accent);
  text-decoration: none;
  font-weight: 700;
}
.type-pill {
  display: inline-flex;
  padding: 0.12rem 0.5rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--accent-soft);
  color: var(--accent);
}
.type-pill.type-product {
  background: color-mix(in srgb, #b45309 14%, #fff);
  color: #9a3412;
}
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.55rem 0 0;
}
.tag-cloud a {
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 650;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  background: var(--panel);
}
.tag-cloud a:hover {
  color: var(--accent);
  border-color: color-mix(in srgb, var(--accent) 40%, var(--line));
}
.single-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.85rem;
  align-items: center;
  margin-bottom: 0.55rem;
}
.single-deck {
  margin: 0.65rem 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 40rem;
}
.single-tags {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.product-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 1rem;
}
.product-breadcrumb a { color: var(--muted); text-decoration: none; }

@media (max-width: 900px) {
  .site-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem 1.25rem;
  }
  .footer-brand-col {
    grid-column: 1 / -1;
    padding-right: 0;
    padding-bottom: 0.35rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    margin-bottom: 0.25rem;
  }
  .footer-note { max-width: 40ch; }
  .footer-search { max-width: none; }
  .site-header-wp .site-header-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.55rem 0.65rem;
    padding: 0.75rem 1rem;
  }
  .site-header-wp .brand {
    order: 1;
    flex: 1 1 auto;
    min-width: 0;
    max-width: calc(100% - 5.5rem);
  }
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    order: 2;
    flex: 0 0 auto;
    margin-left: auto;
  }
  .site-nav {
    display: none;
    order: 3;
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
    margin: 0;
    padding: 0.45rem 0 0;
    border-top: 1px solid var(--line);
  }
  .site-nav.is-open {
    display: flex;
  }
  .site-nav > a,
  .nav-dropdown,
  .nav-dropdown-toggle {
    width: 100%;
    max-width: 100%;
    text-align: left;
    justify-content: flex-start;
    padding: 0.7rem 0.8rem;
    white-space: normal;
  }
  .site-search {
    order: 4;
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
    margin-left: 0;
  }
  .site-search input {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
  }
  .nav-dropdown-panel {
    position: static;
    box-shadow: none;
    margin-top: 0.25rem;
    min-width: 0;
    width: 100%;
  }
  .product-hero-grid,
  .support-page-layout,
  .product-related-grid {
    grid-template-columns: 1fr;
  }
  .support-page-nav { position: static; }
  .support-page-nav nav {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.4rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0.55rem;
    scrollbar-width: thin;
  }
  .support-page-nav .support-nav-link {
    flex: 0 0 auto;
    white-space: nowrap;
  }
  .product-cta {
    flex: 1 1 calc(50% - 0.55rem);
    min-width: 0;
  }
  .product-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .layout,
  .product-page-shell,
  .support-page-shell {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .related-list {
    grid-template-columns: 1fr;
  }
  .archive-search {
    max-width: none;
    width: 100%;
  }
  .product-h1,
  .support-page-main header h1 {
    font-size: clamp(1.45rem, 7vw, 1.9rem);
  }
  .product-media-empty { min-height: 220px; }
  .site-footer-inner { padding: 2rem 1rem 1.2rem; }
  .site-footer-bottom { margin-top: 1.5rem; }
}

@media (max-width: 640px) {
  .site-footer-grid {
    grid-template-columns: 1fr;
    gap: 1.35rem;
  }
  .footer-brand-col {
    grid-column: auto;
    border-bottom: 0;
    margin-bottom: 0;
    padding-bottom: 0;
  }
  .footer-col-search {
    padding-top: 0.35rem;
    border-top: 1px solid rgba(255,255,255,0.08);
  }
  .footer-search {
    max-width: none;
  }
  body { font-size: 1rem; }
  .brand { font-size: 1.2rem; }
  .brand-logo {
    max-width: min(var(--header-logo-max-width, 220px), 58vw);
  }
  .product-cta-row {
    flex-direction: column;
  }
  .product-cta {
    width: 100%;
    flex: 1 1 auto;
  }
  .product-related-grid {
    grid-template-columns: 1fr;
  }
  .product-breadcrumb {
    font-size: 0.8rem;
    gap: 0.25rem 0.35rem;
  }
  .product-page-shell,
  .support-page-shell {
    padding: 0.75rem 0.9rem 3rem;
  }
  .product-usage-panel,
  .product-faq-panel,
  .product-related,
  .product-author-panel {
    border-radius: 12px;
  }
  .product-section-head,
  .product-usage-body,
  .product-faq-list,
  .product-related-grid,
  .product-faq-more,
  .product-author-panel {
    padding-left: 0.95rem;
    padding-right: 0.95rem;
  }
  .single-content,
  .feed-excerpt {
    max-width: none;
  }
  .site-search button { flex-shrink: 0; }
}

@media (max-width: 420px) {
  .site-header-wp .site-header-inner {
    padding: 0.65rem 0.75rem;
  }
  .nav-toggle { padding: 0.4rem 0.65rem; font-size: 0.88rem; }
  .archive-search {
    flex-direction: column;
  }
  .archive-search button { width: 100%; }
}

/* ÃÂÃÂÃÂ Product pages (no sidebar) ÃÂÃÂÃÂ */
.product-page-shell,
.support-page-shell {
  max-width: 1080px;
  margin: 0 auto;
  padding: 1rem 1.25rem 4rem;
}
.product-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
  margin-bottom: 1.75rem;
}
.product-media {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #f3f3f1;
  aspect-ratio: 1;
}
.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-media-empty {
  height: 100%;
  min-height: 280px;
  display: grid;
  place-items: center;
  color: var(--muted);
}
.product-h1 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.15;
}
.product-short {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.55;
}
.product-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1rem;
}
.product-cta {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 140px;
  padding: 0.8rem 1.1rem;
  border-radius: 10px;
  font-weight: 800;
  text-decoration: none;
}
.product-cta-login {
  background: color-mix(in srgb, var(--accent) 12%, var(--panel));
  color: var(--accent) !important;
  border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
}
.product-cta-register {
  background: var(--accent);
  color: var(--on-accent, #fff) !important;
}
.product-offer-box {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem 1.1rem;
  background: color-mix(in srgb, var(--accent) 5%, var(--panel));
}
.product-offer-box h2 {
  margin: 0 0 0.85rem;
  font-size: 1rem;
  font-family: var(--font-display);
  font-weight: 650;
}
.product-info-table-wrap {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
}
.product-info-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}
.product-info-table th,
.product-info-table td {
  padding: 0.72rem 0.9rem;
  vertical-align: top;
  font-size: 0.92rem;
  line-height: 1.4;
  border-bottom: 1px solid var(--line);
}
.product-info-table tr:last-child th,
.product-info-table tr:last-child td {
  border-bottom: 0;
}
.product-info-table th {
  width: 42%;
  text-align: left;
  font-weight: 700;
  color: var(--on-panel, var(--ink));
  background: color-mix(in srgb, var(--accent-soft) 55%, var(--panel));
}
.product-info-table td {
  color: var(--ink);
  font-weight: 550;
  word-break: break-word;
}
.product-info-table tr:nth-child(even) td {
  background: color-mix(in srgb, var(--accent) 3%, var(--panel));
}
.product-offer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: none;
}
.product-usage-panel,
.product-faq-panel,
.product-related,
.product-author-panel {
  margin-top: 1.5rem;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  overflow: hidden;
}
.product-section-head {
  margin: 0;
  padding: 0.85rem 1.2rem;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--accent-soft) 70%, var(--panel));
  color: var(--on-panel, var(--ink));
}
.product-section-head h2,
.product-usage-panel h2,
.product-faq-panel h2,
.product-related h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.35;
  font-weight: 600;
}
.product-usage-body {
  padding: 1rem 1.2rem 1.15rem;
  max-width: none;
  width: 100%;
  color: var(--ink);
}
.product-usage-body p {
  margin: 0 0 0.85rem;
  max-width: none;
}
.product-usage-body h2,
.product-usage-body h3,
.product-usage-body h4 {
  margin: 1.1rem 0 0.45rem;
  font-family: var(--font-display);
  line-height: 1.3;
}
.product-usage-body > :first-child { margin-top: 0; }
.product-usage-body > :last-child { margin-bottom: 0; }
.product-faq-list,
.product-related-grid,
.product-faq-more {
  padding: 1rem 1.2rem 1.15rem;
}
.product-faq-more { margin: 0; padding-top: 0; }

.supporting-pages {
  margin-top: 1.5rem;
  padding: 1rem 0 0;
  border-top: 1px solid var(--line);
}
.supporting-pages.is-embedded {
  margin-top: 1.35rem;
  padding-top: 1.1rem;
}
.product-page-shell .supporting-pages:not(.is-embedded) {
  margin-top: 1.25rem;
  padding: 1.1rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
}
.supporting-pages h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
}
.supporting-pages-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}
.supporting-pages-list a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--accent) 28%, var(--line));
  background: color-mix(in srgb, var(--accent) 8%, var(--panel));
  color: var(--accent);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1.2;
}
.supporting-pages-list a:hover,
.supporting-pages-list a:focus-visible {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--on-accent, #fff);
}
.product-author-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  padding: 0.95rem 1.2rem;
}
.product-author-panel p { margin: 0; }
.product-related-grid { padding-top: 0.15rem; }
.product-faq-list { display: grid; gap: 0.5rem; }
.product-faq-item {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.7rem 0.9rem;
}
.product-faq-item summary { cursor: pointer; font-weight: 700; }
.product-faq-item p { margin: 0.5rem 0 0; color: var(--muted); }
.product-related-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}
.product-related-card {
  display: grid;
  gap: 0.35rem;
  text-decoration: none;
  color: var(--on-panel, var(--ink));
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--panel);
  padding-bottom: 0.75rem;
}
.product-related-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}
.product-related-card strong,
.product-related-card span { padding: 0 0.7rem; font-size: 0.9rem; }
.product-related-card span { color: var(--muted); }

.support-page-layout {
  display: grid;
  grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}
.support-page-nav {
  position: sticky;
  top: 5rem;
  display: grid;
  gap: 0.85rem;
}
.support-page-nav h2 { margin: 0; font-size: 0.95rem; font-family: var(--font-display); }
.support-page-nav nav {
  display: grid;
  gap: 0.35rem;
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
}
.support-page-nav .support-nav-link {
  display: block;
  text-decoration: none;
  color: var(--on-panel, var(--ink));
  padding: 0.55rem 0.7rem;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--panel);
  font-weight: 650;
  font-size: 0.92rem;
  line-height: 1.3;
}
.support-page-nav .support-nav-link:hover {
  color: var(--on-panel, var(--ink));
  border-color: color-mix(in srgb, var(--accent) 35%, var(--line));
  background: color-mix(in srgb, var(--accent) 8%, var(--panel));
}
.support-page-nav .support-nav-link.is-current,
.support-page-nav .support-nav-link[aria-current="page"] {
  color: var(--on-panel, var(--ink));
  border-color: color-mix(in srgb, var(--accent) 50%, var(--line));
  background: var(--accent-soft);
  box-shadow: inset 3px 0 0 var(--accent);
}
.support-page-main header h1 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}
.support-lead { color: var(--muted); }
.support-page-body { margin-top: 1rem; }
.support-page-body ul,
.support-page-body ol,
.product-usage-body ul,
.product-usage-body ol {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}
.support-page-body li,
.product-usage-body li {
  margin: 0.25rem 0;
}

.product-layout-cards .product-info-table th {
  width: 40%;
}
.product-layout-split .product-offer-box,
.product-layout-split .product-info-box {
  background: transparent;
  border-style: dashed;
}
.product-layout-trust .product-usage-panel {
  border-color: color-mix(in srgb, var(--accent) 35%, var(--line));
  box-shadow: 0 10px 28px rgba(0,0,0,0.04);
}

@media (max-width: 900px) {
  .product-hero-grid {
    grid-template-columns: 1fr;
    gap: 1.15rem;
  }
  .support-page-layout {
    grid-template-columns: 1fr;
    gap: 1.1rem;
  }
  .product-info-table th,
  .product-info-table td {
    display: block;
    width: 100%;
  }
  .product-info-table th {
    padding-bottom: 0.25rem;
    border-bottom: 0;
  }
  .product-info-table td {
    padding-top: 0.2rem;
  }
  .product-info-table tr {
    display: block;
    border-bottom: 1px solid var(--line);
    padding: 0.35rem 0;
  }
  .product-info-table tr:last-child {
    border-bottom: 0;
  }
}
