/*
Theme Name: Affiliate Silo Theme
Theme URI: https://example.com/
Author: OpenAI
Author URI: https://openai.com/
Description: A lightweight, niche-flexible affiliate and blog WordPress theme with silo navigation, fast layouts, featured media styling, review-friendly blocks, and clean archive pages.
Version: 1.1.1
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: affiliate-silo-theme
Tags: blog, affiliate, custom-logo, custom-menu, featured-images, block-styles, wide-blocks, editor-style, one-column, two-columns, right-sidebar
*/

:root {
  --ast-bg: #ffffff;
  --ast-surface: #f7f8fa;
  --ast-text: #1f2937;
  --ast-muted: #6b7280;
  --ast-border: #e5e7eb;
  --ast-accent: #b45309;
  --ast-accent-2: #111827;
  --ast-success: #166534;
  --ast-danger: #991b1b;
  --ast-radius: 16px;
  --ast-shadow: 0 10px 25px rgba(17, 24, 39, 0.06);
  --ast-content: 760px;
  --ast-wide: 1200px;
  --ast-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--ast-bg);
  color: var(--ast-text);
  font-family: var(--ast-font);
  line-height: 1.65;
}

body.ast-lock-scroll {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

a {
  color: var(--ast-accent);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.14em;
}

a:hover,
a:focus {
  color: var(--ast-accent-2);
}

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

.skip-link {
  position: absolute;
  left: -9999px;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  z-index: 1000;
  background: #fff;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  box-shadow: var(--ast-shadow);
}

.ast-container,
.ast-wide-container {
  width: min(100% - 2rem, var(--ast-wide));
  margin-inline: auto;
}

.ast-content-width {
  width: min(100% - 2rem, var(--ast-content));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--ast-border);
}

.site-header__inner,
.site-topbar__inner,
.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
}

.site-header__inner,
.silo-strip__inner {
  position: relative;
}

.site-topbar {
  background: var(--ast-accent-2);
  color: #fff;
  font-size: 0.92rem;
}

.site-topbar a {
  color: #fff;
}

.branding {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}

.branding__logo img {
  max-height: 54px;
  width: auto;
}

.branding__title {
  margin: 0;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.2;
}

.branding__title a {
  color: var(--ast-accent-2);
  text-decoration: none;
}

.branding__tagline {
  margin: 0.15rem 0 0;
  color: var(--ast-muted);
  font-size: 0.92rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.ast-button,
button,
input[type="submit"],
.wp-block-button__link,
.more-link,
.read-more-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 0;
  border-radius: 999px;
  background: var(--ast-accent);
  color: #fff;
  padding: 0.9rem 1.15rem;
  line-height: 1.1;
  font-weight: 700;
  text-decoration: none;
  box-shadow: var(--ast-shadow);
  transition: transform 0.18s ease, opacity 0.18s ease, background 0.18s ease;
}

.ast-button:hover,
button:hover,
input[type="submit"]:hover,
.wp-block-button__link:hover,
.more-link:hover,
.read-more-link:hover {
  transform: translateY(-1px);
  opacity: 0.95;
  color: #fff;
}

.ast-button--ghost {
  background: transparent;
  color: var(--ast-accent-2);
  border: 1px solid var(--ast-border);
  box-shadow: none;
}

.menu-toggle,
.search-toggle {
  display: none;
  background: transparent;
  color: var(--ast-accent-2);
  border: 1px solid var(--ast-border);
  box-shadow: none;
  padding: 0.7rem 0.9rem;
}

.primary-nav,
.silo-nav,
.footer-nav {
  display: flex;
  align-items: center;
}

.primary-nav,
.silo-nav {
  min-width: 0;
}

.primary-nav {
  margin-left: auto;
}

.primary-nav ul,
.silo-nav ul,
.footer-nav ul,
.widget_nav_menu ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.primary-nav > ul,
.primary-nav > div > ul {
  justify-content: flex-end;
}

.primary-nav li,
.silo-nav li,
.footer-nav li,
.widget_nav_menu li {
  position: relative;
}

.primary-nav a,
.silo-nav a,
.footer-nav a,
.widget_nav_menu a {
  display: block;
  text-decoration: none;
  color: var(--ast-accent-2);
  padding: 0.8rem 0.95rem;
  border-radius: 999px;
  font-weight: 600;
}

.primary-nav .current-menu-item > a,
.primary-nav a:hover,
.silo-nav .current-menu-item > a,
.silo-nav a:hover,
.footer-nav a:hover,
.widget_nav_menu a:hover {
  background: var(--ast-surface);
}

.primary-nav ul ul,
.silo-nav ul ul,
.widget_nav_menu ul ul {
  position: absolute;
  left: 0;
  top: calc(100% + 0.25rem);
  min-width: 220px;
  display: none;
  flex-direction: column;
  background: #fff;
  padding: 0.5rem;
  border: 1px solid var(--ast-border);
  border-radius: 16px;
  box-shadow: var(--ast-shadow);
}

.primary-nav li:hover > ul,
.primary-nav li:focus-within > ul,
.silo-nav li:hover > ul,
.silo-nav li:focus-within > ul,
.widget_nav_menu li:hover > ul,
.widget_nav_menu li:focus-within > ul {
  display: flex;
}

.silo-strip {
  border-bottom: 1px solid var(--ast-border);
  background: #fff;
}

.silo-strip__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0;
}

.silo-strip__label {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--ast-muted);
  text-transform: uppercase;
  white-space: nowrap;
}

.hero {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 2rem;
  background: linear-gradient(180deg, #fff 0%, #fbfbfc 100%);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
  align-items: stretch;
}

.hero__panel,
.card,
.widget,
.archive-intro,
.post-navigation,
.author-box,
.disclosure-box,
.notice-box,
.pros-cons,
.comparison-box,
.table-wrap,
.pagination,
.ast-sidebar section {
  background: #fff;
  border: 1px solid var(--ast-border);
  border-radius: var(--ast-radius);
  box-shadow: var(--ast-shadow);
}

.hero__panel {
  padding: clamp(1.5rem, 3vw, 2.4rem);
}

.hero__eyebrow,
.section-eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ast-accent);
  margin-bottom: 0.8rem;
}

.hero h1,
.page-title,
.entry-title {
  line-height: 1.1;
  margin: 0 0 0.85rem;
}

.hero h1 {
  font-size: clamp(2rem, 4.6vw, 3.7rem);
}

.hero__text,
.archive-description,
.entry-summary {
  color: var(--ast-muted);
  font-size: 1.03rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.2rem;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1.4rem;
}

.hero__stat {
  background: var(--ast-surface);
  border-radius: 14px;
  padding: 1rem;
}

.hero__stat strong {
  display: block;
  font-size: 1.3rem;
  line-height: 1.1;
}

.hero__media {
  overflow: hidden;
  min-height: 100%;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.section {
  padding: 1rem 0 2rem;
}

.section__header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.post-grid,
.silo-grid,
.media-grid,
.related-grid,
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.card {
  overflow: hidden;
}

.card__thumb,
.entry-featured-media {
  display: block;
  background: var(--ast-surface);
}

.card__thumb img,
.entry-featured-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.card__content {
  padding: 1rem 1rem 1.15rem;
}

.card__meta,
.entry-meta,
.breadcrumbs,
.tax-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
  color: var(--ast-muted);
  font-size: 0.92rem;
}

.card__title {
  margin: 0.55rem 0 0.5rem;
  font-size: 1.2rem;
  line-height: 1.25;
}

.card__excerpt {
  color: var(--ast-muted);
  margin: 0 0 0.9rem;
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 1.5rem;
  align-items: start;
  padding: 1.6rem 0 2rem;
}

.content-layout--full {
  display: block;
}

.entry-header,
.archive-intro,
.page-header {
  padding: 1rem 0 0;
}

.entry-header__inner,
.page-header__inner {
  width: min(100%, var(--ast-content));
  margin-inline: auto;
}

.entry-main,
.page-main {
  min-width: 0;
}

.entry-main .entry-content,
.page-main .entry-content {
  width: min(100%, var(--ast-content));
  margin-inline: auto;
}

.entry-main .entry-content > * {
  max-width: 100%;
}

.entry-content {
  font-size: 1.05rem;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
  line-height: 1.18;
  margin-top: 1.8em;
  margin-bottom: 0.6em;
  color: var(--ast-accent-2);
}

.entry-content p,
.entry-content ul,
.entry-content ol,
.entry-content table,
.entry-content blockquote,
.entry-content .wp-block-image,
.entry-content .wp-block-gallery,
.entry-content .wp-block-embed,
.entry-content .wp-block-columns,
.entry-content .wp-block-group,
.entry-content pre {
  margin-bottom: 1.1rem;
}

.entry-content ul,
.entry-content ol {
  padding-left: 1.2rem;
}

.entry-content blockquote {
  margin-inline: 0;
  padding: 1rem 1.2rem;
  border-left: 4px solid var(--ast-accent);
  background: var(--ast-surface);
  border-radius: 0 14px 14px 0;
}

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

.entry-content th,
.entry-content td {
  border: 1px solid var(--ast-border);
  padding: 0.8rem;
  text-align: left;
}

.entry-content th {
  background: var(--ast-surface);
}

.entry-content .wp-block-image img,
.entry-content .wp-block-gallery img,
.entry-content iframe,
.entry-content video {
  border-radius: 14px;
}

.entry-content .wp-block-embed iframe,
.entry-content iframe {
  width: 100%;
}

.notice-box,
.disclosure-box,
.pros-cons,
.comparison-box,
.author-box,
.post-navigation {
  padding: 1rem 1.15rem;
  margin: 1rem auto 1.25rem;
  width: min(100%, var(--ast-content));
}

.disclosure-box {
  background: #fff7ed;
  border-color: #fed7aa;
}

.notice-box--info {
  background: #eff6ff;
  border-color: #bfdbfe;
}

.notice-box--success {
  background: #f0fdf4;
  border-color: #bbf7d0;
}

.notice-box--warn {
  background: #fff7ed;
  border-color: #fed7aa;
}

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

.pros-cons__column ul {
  margin: 0;
  padding-left: 1.1rem;
}

.pros-cons__column h3 {
  margin-top: 0;
}

.table-wrap {
  overflow-x: auto;
}

.review-cta {
  padding: 1.2rem;
  border-radius: var(--ast-radius);
  background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
  color: #fff;
}

.review-cta a {
  color: #fff;
}

.ast-sidebar {
  position: sticky;
  top: 110px;
}

.ast-sidebar section {
  padding: 1rem 1rem 1.1rem;
  margin-bottom: 1rem;
}

.ast-sidebar h2,
.ast-sidebar h3,
.widget-title {
  margin: 0 0 0.7rem;
  font-size: 1.02rem;
}

.search-form {
  display: flex;
  gap: 0.5rem;
}

.search-form input[type="search"] {
  flex: 1;
  border: 1px solid var(--ast-border);
  border-radius: 999px;
  padding: 0.8rem 1rem;
}

.tax-badge,
.category-pill,
.tag-cloud-link,
.entry-tags a {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid var(--ast-border);
  background: var(--ast-surface);
  color: var(--ast-accent-2);
  padding: 0.45rem 0.7rem;
  margin: 0 0.4rem 0.4rem 0;
  text-decoration: none;
  font-size: 0.86rem;
}

.pagination,
.posts-navigation,
.post-navigation {
  padding: 1rem 1.15rem;
}

.pagination .nav-links,
.posts-navigation .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
}

.pagination .page-numbers,
.posts-navigation a,
.posts-navigation span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--ast-border);
  text-decoration: none;
  color: var(--ast-accent-2);
}

.pagination .current {
  background: var(--ast-accent);
  border-color: var(--ast-accent);
  color: #fff;
}

.site-footer {
  margin-top: 2rem;
  border-top: 1px solid var(--ast-border);
  background: #fff;
}

.site-footer__cols {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 0.9fr;
  gap: 1rem;
  padding: 2rem 0 1rem;
}

.site-footer__bottom {
  border-top: 1px solid var(--ast-border);
  padding: 1rem 0 2rem;
  color: var(--ast-muted);
  font-size: 0.92rem;
}

.breadcrumbs {
  padding-top: 0.5rem;
}

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

.wp-caption,
.gallery-caption {
  max-width: 100%;
  color: var(--ast-muted);
  font-size: 0.92rem;
}

.sticky .card,
.sticky.card {
  border-color: color-mix(in srgb, var(--ast-accent) 35%, var(--ast-border));
}

.alignwide {
  width: min(100%, calc(var(--ast-wide) - 2rem));
  max-width: none;
  margin-left: 50%;
  transform: translateX(-50%);
}

.alignfull {
  width: 100vw;
  max-width: none;
  margin-left: 50%;
  transform: translateX(-50%);
}

.has-ast-accent-color {
  color: var(--ast-accent);
}

.has-ast-accent-background-color {
  background-color: var(--ast-accent);
}

@media (max-width: 1024px) {
  .hero__grid,
  .content-layout,
  .site-footer__cols,
  .post-grid,
  .silo-grid,
  .media-grid,
  .related-grid,
  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .content-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .ast-sidebar {
    position: static;
  }
}

@media (max-width: 800px) {
  .menu-toggle,
  .search-toggle {
    display: inline-flex;
  }

  .site-header__inner {
    flex-wrap: nowrap;
  }

  .header-actions {
    margin-left: auto;
  }

  .primary-nav,
  .silo-nav {
    display: block;
    position: fixed;
    top: 0;
    right: 0;
    width: min(320px, 100vw);
    height: 100vh;
    padding: 5rem 1rem 2rem;
    background: #fff;
    border-left: 1px solid var(--ast-border);
    box-shadow: -12px 0 30px rgba(17, 24, 39, 0.12);
    overflow-y: auto;
    overscroll-behavior: contain;
    z-index: 1000;
    transform: translateX(100%);
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.22s ease, visibility 0.22s ease;
  }

  .primary-nav.is-open,
  .silo-nav.is-open {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }

  .primary-nav ul,
  .silo-nav ul {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .primary-nav li,
  .silo-nav li {
    width: 100%;
  }

  .primary-nav a,
  .silo-nav a {
    border-radius: 12px;
    padding-inline: 0.9rem;
  }

  .primary-nav ul ul,
  .silo-nav ul ul {
    position: static;
    display: block;
    min-width: 0;
    border: 0;
    box-shadow: none;
    padding: 0 0 0 0.8rem;
    margin-top: 0.2rem;
  }

  .hero__grid,
  .hero__stats,
  .post-grid,
  .silo-grid,
  .media-grid,
  .related-grid,
  .category-grid,
  .site-footer__cols,
  .pros-cons {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}


/* v1.0.2 layout cleanup */
.site-topbar__inner {
  justify-content: center;
}

.site-topbar .footer-nav {
  display: none;
}

.site-footer__menu-band {
  border-top: 1px solid var(--ast-border);
  border-bottom: 1px solid var(--ast-border);
  background: var(--ast-surface);
  padding: 0.75rem 0;
}

.footer-nav--bottom {
  justify-content: center;
}

.footer-nav--bottom ul {
  justify-content: center;
}

.footer-nav--bottom a {
  font-weight: 700;
}

@media (max-width: 800px) {
  .site-topbar {
    display: none;
  }

  .site-footer__bottom .site-footer__inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-nav--bottom ul {
    flex-direction: column;
    align-items: stretch;
  }
}


/* v1.0.4 footer menu fallback */
.site-footer__menu-band .menu,
.site-footer__menu-band .sub-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer__menu-band .menu-item {
  margin: 0;
}


/* v1.1.0 visual refresh */
:root {
  --ast-bg: #fcf8f3;
  --ast-surface: #fffdf9;
  --ast-surface-2: #f6ede4;
  --ast-text: #231a12;
  --ast-muted: #6f6258;
  --ast-border: rgba(93, 68, 45, 0.12);
  --ast-accent: #c76a11;
  --ast-accent-2: #1d140f;
  --ast-accent-3: #7c2d12;
  --ast-shadow: 0 18px 40px rgba(31, 22, 15, 0.10);
  --ast-shadow-lg: 0 28px 60px rgba(31, 22, 15, 0.16);
  --ast-radius: 22px;
  --ast-font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  background:
    radial-gradient(circle at top left, rgba(199, 106, 17, 0.08), transparent 28%),
    radial-gradient(circle at top right, rgba(124, 45, 18, 0.06), transparent 24%),
    linear-gradient(180deg, #fffaf5 0%, #fcf8f3 100%);
  color: var(--ast-text);
}

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

a:hover,
a:focus {
  color: var(--ast-accent-3);
}

.site-header {
  background: linear-gradient(180deg, rgba(30, 21, 16, 0.96) 0%, rgba(38, 27, 20, 0.94) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px rgba(14, 10, 8, 0.25);
}

.site-header__inner {
  padding: 1rem 0;
  gap: 1.25rem;
}

.branding {
  gap: 1rem;
}

.branding__logo img {
  max-height: 62px;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.18));
}

.branding__title {
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.branding__title a,
.branding__tagline,
.primary-nav a,
.menu-toggle,
.search-toggle {
  color: #fff;
}

.branding__tagline {
  color: rgba(255, 255, 255, 0.72);
}

.header-actions {
  gap: 0.85rem;
}

.ast-button,
button,
input[type="submit"],
.wp-block-button__link,
.more-link,
.read-more-link {
  border-radius: 999px;
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
  color: #fff;
  padding: 0.95rem 1.2rem;
  box-shadow: 0 14px 28px rgba(180, 83, 9, 0.24);
}

.ast-button--ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.ast-button--ghost:hover {
  background: rgba(255, 255, 255, 0.14);
}

.menu-toggle,
.search-toggle {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.primary-nav {
  margin-left: auto;
}

.primary-nav > ul,
.primary-nav > div > ul {
  gap: 0.45rem;
}

.primary-nav a,
.footer-nav a,
.widget_nav_menu a {
  font-weight: 700;
  letter-spacing: -0.01em;
}

.primary-nav > ul > li > a,
.primary-nav > div > ul > li > a {
  border-radius: 999px;
  padding: 0.85rem 1rem;
  color: rgba(255, 255, 255, 0.92);
}

.primary-nav .current-menu-item > a,
.primary-nav a:hover,
.primary-nav li:hover > a,
.primary-nav li:focus-within > a {
  background: rgba(255, 255, 255, 0.10);
  color: #fff;
}

.primary-nav ul ul,
.silo-nav ul ul,
.widget_nav_menu ul ul {
  background: #fffaf6;
  border: 1px solid rgba(93, 68, 45, 0.12);
  border-radius: 18px;
  box-shadow: var(--ast-shadow-lg);
}

.primary-nav ul ul a,
.silo-nav ul ul a,
.widget_nav_menu ul ul a {
  color: var(--ast-text);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3rem, 6vw, 5rem) 0 2.5rem;
  background:
    radial-gradient(circle at 15% 20%, rgba(217, 119, 6, 0.20), transparent 25%),
    radial-gradient(circle at 85% 10%, rgba(124, 45, 18, 0.24), transparent 28%),
    linear-gradient(135deg, #1d140f 0%, #2a1c13 45%, #3b2518 100%);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: auto;
  pointer-events: none;
}

.hero::before {
  right: -8rem;
  bottom: -8rem;
  width: 24rem;
  height: 24rem;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.22), transparent 64%);
  filter: blur(6px);
}

.hero::after {
  top: -3rem;
  left: -3rem;
  width: 14rem;
  height: 14rem;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.10), transparent 66%);
}

.hero__grid {
  position: relative;
  z-index: 1;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  gap: 1.35rem;
}

.hero__panel {
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--ast-shadow-lg);
}

.hero__panel--content {
  background: linear-gradient(180deg, rgba(255, 250, 245, 0.10), rgba(255, 250, 245, 0.06));
  backdrop-filter: blur(12px);
  color: #fff;
}

.hero__eyebrow,
.hero__panel--content .section-eyebrow {
  color: #ffca80;
}

.hero__panel--content h1,
.hero__panel--content .hero__text {
  color: #fff;
}

.hero h1 {
  font-size: clamp(2.25rem, 4.8vw, 4.2rem);
  letter-spacing: -0.04em;
  max-width: 12ch;
}

.hero__text {
  color: rgba(255, 255, 255, 0.82);
  max-width: 60ch;
}

.hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.1rem;
}

.hero__chip {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
}

.hero__chip:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.hero__actions {
  margin-top: 1.35rem;
}

.hero__stats {
  margin-top: 1.5rem;
  gap: 0.95rem;
}

.hero__stat {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.80);
  border-radius: 18px;
}

.hero__stat strong {
  color: #fff;
  font-size: 1.45rem;
}

.hero__media {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 250, 245, 0.98), rgba(248, 239, 228, 0.95));
  border: 0;
}

.hero__media::before {
  content: "Featured preview";
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: rgba(35, 26, 18, 0.84);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero__media img {
  aspect-ratio: 16 / 12;
}

.feature-strip {
  margin-top: -0.6rem;
  padding-bottom: 0.85rem;
}

.feature-strip__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.feature-card {
  position: relative;
  overflow: hidden;
  padding: 1.35rem 1.35rem 1.4rem;
  border-radius: 22px;
  background: linear-gradient(180deg, #fffdf9 0%, #fff7ee 100%);
  border: 1px solid var(--ast-border);
  box-shadow: var(--ast-shadow);
}

.feature-card::after {
  content: "";
  position: absolute;
  inset: auto -2rem -2rem auto;
  width: 8rem;
  height: 8rem;
  background: radial-gradient(circle, rgba(217, 119, 6, 0.13), transparent 65%);
}

.feature-card__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  background: rgba(199, 106, 17, 0.12);
  color: var(--ast-accent-3);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.feature-card h2 {
  margin: 0.9rem 0 0.55rem;
  font-size: 1.2rem;
  line-height: 1.15;
}

.feature-card p {
  margin: 0;
  color: var(--ast-muted);
}

.section {
  padding: 1.35rem 0 2.5rem;
}

.section--posts {
  padding-top: 0.75rem;
}

.section__header {
  margin-bottom: 1.2rem;
}

.section__header h2 {
  margin: 0.15rem 0 0;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.card,
.widget,
.archive-intro,
.post-navigation,
.author-box,
.disclosure-box,
.notice-box,
.pros-cons,
.comparison-box,
.table-wrap,
.pagination,
.ast-sidebar section {
  border-radius: 22px;
  background: linear-gradient(180deg, #fffdfb 0%, #fff 100%);
  border: 1px solid rgba(93, 68, 45, 0.10);
  box-shadow: var(--ast-shadow);
}

.card {
  position: relative;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #d97706, #f59e0b, #fb923c);
  opacity: 0;
  transition: opacity 0.22s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--ast-shadow-lg);
  border-color: rgba(199, 106, 17, 0.18);
}

.card:hover::before {
  opacity: 1;
}

.card__thumb {
  overflow: hidden;
}

.card__thumb img,
.entry-featured-media img {
  transition: transform 0.5s ease;
}

.card:hover .card__thumb img {
  transform: scale(1.04);
}

.card__content {
  padding: 1.15rem 1.15rem 1.25rem;
}

.card__meta {
  gap: 0.45rem;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.card__meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.card__title {
  margin: 0.7rem 0 0.55rem;
  font-size: 1.28rem;
  line-height: 1.16;
  letter-spacing: -0.02em;
}

.card__title a {
  color: var(--ast-accent-2);
  text-decoration: none;
}

.card__excerpt {
  color: var(--ast-muted);
  margin-bottom: 1rem;
}

.card--hub {
  background: linear-gradient(180deg, #fff8ef 0%, #fffdfb 100%);
}

.tax-badge,
.category-pill,
.tag-cloud-link,
.entry-tags a {
  background: rgba(199, 106, 17, 0.08);
  border-color: rgba(199, 106, 17, 0.14);
  color: var(--ast-accent-3);
  font-weight: 700;
}

.archive-intro,
.entry-header,
.page-header {
  padding-top: 1.25rem;
}

.page-title,
.entry-title {
  font-size: clamp(2rem, 4vw, 3.1rem);
  letter-spacing: -0.04em;
}

.entry-summary,
.archive-description {
  color: var(--ast-muted);
}

.entry-main .entry-content,
.page-main .entry-content {
  background: rgba(255, 255, 255, 0.52);
}

.entry-content {
  font-size: 1.07rem;
}

.entry-content h2 {
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  letter-spacing: -0.03em;
}

.entry-content h3 {
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  letter-spacing: -0.02em;
}

.entry-content blockquote {
  background: linear-gradient(180deg, #fff8ef 0%, #fff 100%);
  border-left: 4px solid var(--ast-accent);
}

.entry-content table {
  overflow: hidden;
  border-radius: 18px;
}

.review-cta {
  background: linear-gradient(135deg, #2b1d14 0%, #4a2e1b 100%);
  box-shadow: var(--ast-shadow-lg);
}

.ast-sidebar section {
  background: linear-gradient(180deg, #fffefb 0%, #fff8f1 100%);
}

.search-form input[type="search"] {
  background: #fff;
}

.site-footer {
  margin-top: 2.5rem;
  background:
    radial-gradient(circle at top left, rgba(217, 119, 6, 0.16), transparent 24%),
    linear-gradient(135deg, #1d140f 0%, #281b13 100%);
  border-top: 0;
  color: rgba(255, 255, 255, 0.82);
}

.site-footer a,
.site-footer .widget-title {
  color: #fff;
}

.site-footer__cols {
  gap: 1.25rem;
  padding: 2.4rem 0 1.2rem;
}

.site-footer__cols section {
  padding: 1.25rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.site-footer__menu-band {
  background: rgba(255, 255, 255, 0.06);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-nav--bottom a,
.site-footer .widget_nav_menu a {
  color: rgba(255, 255, 255, 0.92);
}

.footer-nav--bottom a:hover,
.site-footer .widget_nav_menu a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.68);
}

@media (max-width: 1024px) {
  .feature-strip__grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 800px) {
  .site-header__inner {
    padding: 0.9rem 0;
  }

  .primary-nav,
  .silo-nav {
    background: linear-gradient(180deg, #201611 0%, #2a1c13 100%);
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: -12px 0 40px rgba(0, 0, 0, 0.34);
  }

  .primary-nav a,
  .silo-nav a {
    color: rgba(255, 255, 255, 0.92);
    background: rgba(255, 255, 255, 0.04);
  }

  .primary-nav ul ul,
  .silo-nav ul ul {
    background: transparent;
  }

  .hero {
    padding-top: 2.4rem;
  }

  .hero__panel,
  .feature-card,
  .card,
  .ast-sidebar section,
  .site-footer__cols section {
    border-radius: 20px;
  }

  .hero h1 {
    max-width: none;
  }

  .hero__chips {
    gap: 0.55rem;
  }

  .site-footer__cols {
    padding-top: 1.8rem;
  }
}
