/*
Theme Name: AI Pulse Editorial
Theme URI: https://example.com/
Author: Codex
Author URI: https://openai.com/
Description: A premium dark editorial WordPress theme for global AI news, deep dives, policy analysis, and practical AI tips.
Version: 1.0.6
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ai-pulse-editorial
*/

:root {
  --background: #16130e;
  --ink-black: #050505;
  --surface-lowest: #110e09;
  --surface-low: #1e1b16;
  --surface: #231f1a;
  --surface-high: #2d2924;
  --surface-bright: #3d3933;
  --on-surface: #e9e1d8;
  --on-muted: #d1c5b4;
  --outline: #9a8f80;
  --outline-soft: rgba(154, 143, 128, 0.26);
  --primary: #e9c176;
  --primary-deep: #c5a059;
  --primary-fixed: #ffdea5;
  --secondary: #b6c4ff;
  --container: 1120px;
  --content: 720px;
  --radius: 6px;
  --font-serif: "Newsreader", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--on-surface);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body.admin-bar .site-header {
  top: 32px;
}

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

a:hover,
a:focus-visible {
  color: var(--primary-fixed);
}

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

img,
video {
  height: auto;
}

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

button {
  cursor: pointer;
}

::selection {
  background: var(--primary-deep);
  color: #211704;
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -64px;
  z-index: 1000;
  padding: 10px 14px;
  border: 1px solid var(--primary);
  border-radius: var(--radius);
  background: var(--ink-black);
  color: var(--primary);
  text-decoration: none;
}

.skip-link:focus,
.skip-link:focus-visible {
  top: 16px;
  width: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
}

.reading-progress {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 100;
  width: 0;
  height: 2px;
  background: var(--primary);
  box-shadow: 0 0 8px rgba(233, 193, 118, 0.5);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: #000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-inner {
  width: min(100% - 48px, 1280px);
  min-height: 80px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.custom-logo {
  width: auto;
  max-height: 42px;
}

.site-title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 25px;
  font-style: italic;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
}

.site-title a {
  color: var(--primary-deep);
  text-decoration: none;
}

.site-title a:hover,
.site-title a:focus-visible {
  color: var(--primary-fixed);
}

.main-navigation {
  display: flex;
  align-items: stretch;
  justify-content: center;
  min-height: 80px;
}

.primary-menu,
.footer-menu {
  display: flex;
  align-items: center;
  gap: 30px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.primary-menu a,
.footer-menu a {
  display: inline-flex;
  align-items: center;
  min-height: 80px;
  color: #b7c0ce;
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
  border-bottom: 1px solid transparent;
}

.primary-menu a:hover,
.primary-menu a:focus-visible,
.primary-menu .current-menu-item > a,
.primary-menu .current_page_item > a,
.primary-menu .current-menu-ancestor > a {
  color: var(--primary);
  border-color: var(--primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.icon-button,
.menu-toggle {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: transparent;
  color: #9aa6b8;
}

.icon-button:hover,
.icon-button:focus-visible,
.menu-toggle:hover,
.menu-toggle:focus-visible {
  border-color: var(--outline-soft);
  color: var(--on-surface);
}

.search-icon {
  position: relative;
  width: 18px;
  height: 18px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.search-icon::after {
  content: "";
  position: absolute;
  right: -6px;
  bottom: -5px;
  width: 8px;
  height: 2px;
  background: currentColor;
  transform: rotate(45deg);
  transform-origin: left center;
}

.menu-toggle {
  display: none;
}

.menu-toggle span:not(.screen-reader-text) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 3px 0;
  background: currentColor;
}

.subscribe-link,
.button,
.search-submit,
.comment-form input[type="submit"],
.wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 10px 18px;
  border: 1px solid var(--primary-deep);
  border-radius: var(--radius);
  background: var(--primary);
  color: #2c210d;
  font-family: var(--font-serif);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
}

.subscribe-link:hover,
.subscribe-link:focus-visible,
.button:hover,
.button:focus-visible,
.search-submit:hover,
.search-submit:focus-visible,
.comment-form input[type="submit"]:hover,
.comment-form input[type="submit"]:focus-visible,
.wp-block-button__link:hover,
.wp-block-button__link:focus-visible {
  background: var(--primary-fixed);
  color: #211704;
}

.search-panel {
  display: none;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #050505;
}

.search-panel.is-open {
  display: block;
}

.search-panel .search-form {
  width: min(100% - 48px, var(--container));
  margin: 0 auto;
  padding: 18px 0;
}

.site-main {
  width: min(100% - 48px, var(--container));
  margin: 0 auto;
}

.home-shell {
  padding: 48px 0 96px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(280px, 4fr);
  gap: 24px;
  align-items: stretch;
}

.lead-article {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.lead-media,
.post-media,
.featured-image,
.media-placeholder {
  overflow: hidden;
  border: 1px solid var(--outline-soft);
  border-radius: var(--radius);
  background: var(--surface-low);
}

.lead-media {
  aspect-ratio: 2 / 1;
}

.lead-media img,
.post-media img,
.featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.88;
  transition: transform 700ms ease, opacity 300ms ease, filter 300ms ease;
}

.lead-article:hover img,
.post-card:hover img,
.featured-image:hover img {
  opacity: 1;
  transform: scale(1.035);
}

.media-placeholder {
  position: relative;
  min-height: 240px;
  display: grid;
  place-items: end start;
  padding: 24px;
  isolation: isolate;
}

.media-placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(233, 193, 118, 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(182, 196, 255, 0.06) 1px, transparent 1px),
    radial-gradient(circle at 70% 35%, rgba(182, 196, 255, 0.15), transparent 36%),
    linear-gradient(135deg, #0c1012, #211b12 64%, #090806);
  background-size: 36px 36px, 36px 36px, auto, auto;
}

.media-placeholder::after {
  content: "";
  position: absolute;
  inset: 18px;
  z-index: -1;
  border: 1px solid rgba(233, 193, 118, 0.16);
  border-radius: var(--radius);
}

.placeholder-label {
  color: var(--primary);
  font-family: var(--font-serif);
  font-size: 24px;
  font-style: italic;
}

.eyebrow,
.entry-kicker,
.cat-chip,
.post-tags a,
.sector-card small,
.reading-time,
.byline,
.archive-label {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
}

.cat-chip,
.post-tags a {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 24px;
  padding: 5px 8px;
  border: 1px solid rgba(233, 193, 118, 0.22);
  border-radius: 4px;
  background: rgba(233, 193, 118, 0.08);
  color: var(--primary);
  text-decoration: none;
}

.entry-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  color: var(--on-muted);
}

.entry-meta .dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--outline);
}

.lead-title,
.entry-title,
.page-title,
.section-title,
.sector-card h2,
.sector-card h3,
.related-card h3 {
  margin: 0;
  color: var(--on-surface);
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.lead-title {
  max-width: 820px;
  font-size: clamp(42px, 6vw, 64px);
  line-height: 1.04;
}

.lead-title a,
.entry-title a,
.sector-card a,
.related-card a {
  color: inherit;
  text-decoration: none;
}

.lead-title a:hover,
.lead-title a:focus-visible,
.entry-title a:hover,
.entry-title a:focus-visible,
.sector-card a:hover,
.sector-card a:focus-visible,
.related-card a:hover,
.related-card a:focus-visible {
  color: var(--primary);
}

.lead-summary {
  max-width: 760px;
  margin: 0;
  color: var(--on-muted);
  font-size: 18px;
  line-height: 1.7;
}

.trend-panel,
.widget,
.related-panel,
.newsletter-card,
.post-card,
.sector-card {
  border: 1px solid var(--outline-soft);
  border-radius: var(--radius);
  background: var(--surface-low);
}

.trend-panel {
  display: flex;
  flex-direction: column;
  padding: 24px;
}

.panel-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(154, 143, 128, 0.18);
  color: var(--on-surface);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.panel-title::before {
  content: "";
  width: 12px;
  height: 12px;
  border: 2px solid var(--primary);
  transform: rotate(45deg);
}

.trend-list,
.related-list {
  display: grid;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.trend-item {
  display: grid;
  gap: 8px;
}

.trend-item .archive-label,
.related-card .archive-label {
  color: var(--primary);
}

.trend-item h3 {
  margin: 0;
  color: var(--on-surface);
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.22;
}

.trend-item h3 a {
  color: inherit;
  text-decoration: none;
}

.trend-item h3 a:hover,
.trend-item h3 a:focus-visible {
  color: var(--primary);
}

.trend-item time,
.related-card time {
  color: var(--on-muted);
  font-size: 12px;
}

.section-divider {
  margin: 64px 0 48px;
  border: 0;
  border-top: 1px solid rgba(154, 143, 128, 0.18);
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.section-title {
  font-size: 29px;
  line-height: 1.2;
}

.archive-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
}

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

.post-grid .not-found {
  grid-column: 1 / -1;
}

.post-card {
  grid-column: span 4;
  min-height: 260px;
  overflow: hidden;
  transition: border-color 200ms ease, background 200ms ease;
}

.post-card:hover {
  border-color: rgba(233, 193, 118, 0.34);
  background: var(--surface);
}

.post-card--wide {
  grid-column: span 8;
  display: grid;
  grid-template-columns: minmax(220px, 2fr) minmax(0, 3fr);
}

.post-media {
  min-height: 230px;
  border-width: 0;
  border-right: 1px solid rgba(154, 143, 128, 0.18);
  border-radius: 0;
}

.post-card:not(.post-card--wide) .post-media {
  min-height: 170px;
  border-right: 0;
  border-bottom: 1px solid rgba(154, 143, 128, 0.18);
}

.post-card-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 100%;
  padding: 24px;
}

.post-card .entry-title {
  font-size: 25px;
  line-height: 1.26;
}

.post-card--wide .entry-title {
  font-size: 32px;
}

.entry-summary {
  color: var(--on-muted);
  font-size: 15px;
}

.entry-summary p {
  margin: 0;
}

.card-foot {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  color: var(--outline);
  font-size: 13px;
}

.archive-header,
.single-header,
.page-header {
  max-width: 860px;
  padding: 80px 0 46px;
}

.page-title {
  font-size: clamp(42px, 7vw, 64px);
  line-height: 1.05;
}

.archive-description,
.page-intro,
.single-deck {
  max-width: 790px;
  margin: 24px 0 0;
  color: var(--on-muted);
  font-size: 18px;
  line-height: 1.7;
}

.archive-accent {
  width: 64px;
  height: 2px;
  margin-top: 34px;
  background: var(--primary-deep);
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 48px;
  padding-bottom: 96px;
}

.article-grid {
  display: grid;
  grid-template-columns: minmax(0, 760px) 300px;
  gap: 72px;
  align-items: start;
  padding-bottom: 96px;
}

.single-header {
  border-bottom: 1px solid var(--outline-soft);
}

.single-title {
  margin: 18px 0 0;
  color: var(--on-surface);
  font-family: var(--font-serif);
  font-size: clamp(44px, 7vw, 72px);
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.02;
}

.author-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
}

.author-avatar {
  width: 52px;
  height: 52px;
  overflow: hidden;
  border: 1px solid var(--outline-soft);
  border-radius: 50%;
  background: var(--surface);
}

.author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
}

.author-name {
  color: var(--on-surface);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.author-meta {
  color: var(--on-muted);
  font-size: 13px;
}

.featured-image {
  margin: 0 0 36px;
}

.featured-image img {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
}

.entry-content {
  color: var(--on-muted);
  font-size: 18px;
  line-height: 1.78;
}

.single .entry-content > p:first-of-type::first-letter {
  float: left;
  margin: 0.08em 0.1em 0 0;
  color: var(--primary);
  font-family: var(--font-serif);
  font-size: 4.6rem;
  line-height: 0.78;
}

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

.entry-content p,
.entry-content ul,
.entry-content ol {
  margin: 0 0 1.45em;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
  margin: 2.2em 0 0.8em;
  color: var(--on-surface);
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.22;
}

.entry-content h2 {
  font-size: 32px;
}

.entry-content h3 {
  font-size: 25px;
}

.entry-content a {
  color: var(--primary);
}

.entry-content blockquote {
  position: relative;
  margin: 2.8em 0;
  padding: 4px 0 4px 24px;
  border-left: 3px solid var(--primary);
  color: var(--primary-fixed);
  font-family: var(--font-serif);
  font-size: 27px;
  font-style: italic;
  line-height: 1.35;
}

.entry-content blockquote p:last-child {
  margin-bottom: 0;
}

.entry-content pre {
  overflow-x: auto;
  margin: 2em 0;
  padding: 22px;
  border: 1px solid var(--outline-soft);
  border-radius: var(--radius);
  background: var(--surface-lowest);
  color: var(--secondary);
  font-size: 14px;
  line-height: 1.65;
}

.entry-content code {
  padding: 0.16em 0.3em;
  border-radius: 4px;
  background: var(--surface-high);
  color: var(--secondary);
  font-size: 0.9em;
}

.entry-content pre code {
  padding: 0;
  background: transparent;
}

.entry-content figure {
  margin: 2.4em 0;
}

.entry-content figcaption,
.wp-caption-text {
  margin-top: 10px;
  color: var(--outline);
  font-size: 13px;
}

.post-footer {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--outline-soft);
}

.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.post-tags a {
  color: var(--on-surface);
}

.related-panel {
  position: sticky;
  top: 112px;
  padding-left: 28px;
  border-width: 0 0 0 1px;
  border-radius: 0;
  background: transparent;
}

.related-card {
  display: block;
  padding: 16px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: var(--surface-low);
  text-decoration: none;
}

.related-card:hover,
.related-card:focus-visible {
  border-color: var(--outline-soft);
  background: var(--surface);
}

.related-card h3 {
  margin-top: 8px;
  font-size: 18px;
  line-height: 1.25;
}

.newsletter-card {
  margin-top: 28px;
  padding: 24px;
  text-align: center;
}

.newsletter-card h3 {
  margin: 10px 0 8px;
  color: var(--on-surface);
  font-family: var(--font-serif);
  font-size: 22px;
}

.newsletter-card p {
  margin: 0 0 16px;
  color: var(--on-muted);
  font-size: 14px;
}

.sidebar {
  position: sticky;
  top: 112px;
}

.widget {
  margin-bottom: 22px;
  padding: 22px;
}

.widget-title,
.widget h2,
.widget h3 {
  margin: 0 0 16px;
  color: var(--on-surface);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.widget ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.widget li + li {
  margin-top: 10px;
}

.widget a {
  color: var(--on-muted);
  text-decoration: none;
}

.widget a:hover,
.widget a:focus-visible {
  color: var(--primary);
}

.search-form {
  display: flex;
  gap: 10px;
}

.search-field,
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea,
.newsletter-input {
  min-width: 0;
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--outline-soft);
  border-radius: var(--radius);
  background: var(--surface-high);
  color: var(--on-surface);
}

.search-field:focus,
.comment-form input:focus,
.comment-form textarea:focus,
.newsletter-input:focus {
  outline: 2px solid rgba(233, 193, 118, 0.28);
  border-color: var(--primary);
}

.sector-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
  padding-bottom: 120px;
}

.sector-card {
  grid-column: span 4;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  gap: 18px;
  padding: 32px;
}

.sector-card--large {
  grid-column: span 8;
  min-height: 430px;
}

.sector-card--wide {
  grid-column: span 8;
  min-height: 260px;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
}

.sector-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: rgba(233, 193, 118, 0.1);
  color: var(--primary);
  font-weight: 800;
}

.sector-card h2 {
  font-size: 36px;
  line-height: 1.1;
}

.sector-card h3 {
  font-size: 26px;
  line-height: 1.2;
}

.sector-card p {
  max-width: 640px;
  margin: 0;
  color: var(--on-muted);
  font-size: 16px;
}

.newsletter-page {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  background: #000;
}

.newsletter-hero {
  min-height: calc(100vh - 80px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 1fr);
}

.newsletter-visual {
  position: relative;
  display: flex;
  align-items: end;
  padding: 7vw;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(233, 193, 118, 0.05) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent),
    #181611;
  background-size: 24px 100%, auto, auto;
}

.newsletter-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.045) 0 2px, transparent 2px 42px),
    linear-gradient(90deg, transparent 0 66%, #000 100%);
  opacity: 0.5;
}

.quote-panel {
  position: relative;
  max-width: 560px;
  padding: 44px;
  border: 1px solid var(--outline-soft);
  border-radius: var(--radius);
  background: rgba(17, 14, 9, 0.78);
  backdrop-filter: blur(14px);
}

.quote-panel::before {
  content: "";
  display: block;
  width: 76px;
  height: 6px;
  margin-bottom: 34px;
  background: var(--primary);
}

.quote-panel p {
  margin: 0;
  color: var(--on-surface);
  font-family: var(--font-serif);
  font-size: clamp(30px, 4vw, 44px);
  font-style: italic;
  line-height: 1.2;
}

.quote-panel cite {
  display: block;
  margin-top: 32px;
  color: var(--primary);
  font-style: normal;
}

.newsletter-copy {
  display: flex;
  align-items: center;
  padding: 7vw;
  background: #000;
}

.newsletter-copy-inner {
  width: min(100%, 640px);
}

.newsletter-brand {
  margin: 0 0 56px;
  color: var(--primary);
  font-family: var(--font-serif);
  font-size: 32px;
  font-style: italic;
}

.newsletter-copy h1 {
  margin: 0;
  color: var(--on-surface);
  font-family: var(--font-serif);
  font-size: clamp(54px, 6vw, 78px);
  line-height: 1;
}

.newsletter-copy p {
  margin: 28px 0 44px;
  color: var(--on-muted);
  font-size: 24px;
  line-height: 1.55;
}

.newsletter-form {
  display: grid;
  gap: 18px;
}

.newsletter-form label {
  color: var(--on-muted);
}

.newsletter-disclaimer {
  max-width: 520px;
  margin-top: 32px;
  color: rgba(209, 197, 180, 0.62);
  text-align: center;
}

.comments-area {
  max-width: var(--content);
  margin-bottom: 96px;
  padding-top: 36px;
  border-top: 1px solid var(--outline-soft);
}

.comments-title,
.comment-reply-title {
  margin: 0 0 22px;
  color: var(--on-surface);
  font-family: var(--font-serif);
  font-size: 30px;
}

.comment-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.comment-body {
  margin-bottom: 18px;
  padding: 18px;
  border: 1px solid var(--outline-soft);
  border-radius: var(--radius);
  background: var(--surface-low);
}

.comment-metadata,
.comment-notes,
.logged-in-as {
  color: var(--outline);
  font-size: 13px;
}

.comment-form label {
  display: block;
  margin-bottom: 6px;
  color: var(--on-muted);
  font-weight: 700;
}

.not-found {
  max-width: 700px;
  padding: 96px 0;
}

.site-footer {
  background: #000;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-inner {
  width: min(100% - 48px, 1280px);
  min-height: 126px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  color: #7f8da2;
}

.footer-brand {
  display: grid;
  gap: 8px;
}

.footer-title {
  color: var(--on-surface);
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  text-decoration: none;
}

.footer-inner p {
  margin: 0;
  font-size: 13px;
}

.footer-menu {
  gap: 26px;
  flex-wrap: wrap;
}

.footer-menu a {
  min-height: auto;
  color: #8fa0bb;
  font-family: var(--font-serif);
  text-transform: none;
  border-bottom: 0;
}

.nav-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 36px;
}

.nav-previous a,
.nav-next a {
  display: block;
  min-height: 78px;
  padding: 18px;
  border: 1px solid var(--outline-soft);
  border-radius: var(--radius);
  background: var(--surface-low);
  color: var(--on-surface);
  font-family: var(--font-serif);
  font-weight: 600;
  text-decoration: none;
}

.nav-next {
  text-align: right;
}

@media (max-width: 1040px) {
  .main-navigation {
    position: absolute;
    left: 24px;
    right: 24px;
    top: calc(100% + 10px);
    display: none;
    min-height: 0;
    border: 1px solid var(--outline-soft);
    border-radius: var(--radius);
    background: var(--surface-lowest);
  }

  .main-navigation.is-open {
    display: block;
  }

  .primary-menu {
    display: block;
    padding: 10px;
  }

  .primary-menu a {
    width: 100%;
    min-height: 44px;
    padding: 0 10px;
  }

  .menu-toggle {
    display: inline-grid;
  }

  .subscribe-link {
    display: none;
  }

  .hero-grid,
  .content-layout,
  .article-grid,
  .newsletter-hero {
    grid-template-columns: 1fr;
  }

  .related-panel,
  .sidebar {
    position: static;
  }

  .related-panel {
    padding-left: 0;
    border-left: 0;
  }
}

@media (max-width: 820px) {
  body.admin-bar .site-header {
    top: 46px;
  }

  .header-inner,
  .site-main,
  .footer-inner,
  .search-panel .search-form {
    width: min(100% - 32px, var(--container));
  }

  .header-inner {
    min-height: 68px;
  }

  .site-title {
    font-size: 22px;
  }

  .home-shell {
    padding-top: 32px;
  }

  .lead-media {
    aspect-ratio: 16 / 10;
  }

  .lead-title,
  .single-title,
  .page-title {
    font-size: 42px;
  }

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

  .post-card,
  .post-card--wide,
  .sector-card,
  .sector-card--large,
  .sector-card--wide {
    grid-column: auto;
  }

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

  .post-media {
    min-height: 210px;
    border-right: 0;
    border-bottom: 1px solid rgba(154, 143, 128, 0.18);
  }

  .section-heading,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .newsletter-copy,
  .newsletter-visual {
    padding: 48px 24px;
  }

  .newsletter-copy h1 {
    font-size: 48px;
  }

  .newsletter-copy p {
    font-size: 19px;
  }

  .quote-panel {
    padding: 28px;
  }

  .search-form {
    flex-direction: column;
  }

  .nav-links {
    grid-template-columns: 1fr;
  }

  .nav-next {
    text-align: left;
  }
}

@media (max-width: 520px) {
  .site-header {
    width: 100vw;
    max-width: 100vw;
    overflow: visible;
  }

  .header-inner {
    position: relative;
    width: 100%;
    margin: 0;
    padding-inline: 20px;
  }

  .header-actions {
    gap: 0;
  }

  .search-toggle {
    display: none;
  }

  .menu-toggle {
    position: fixed !important;
    top: 16px;
    right: 16px;
    display: inline-grid !important;
    visibility: visible !important;
    opacity: 1 !important;
    color: #d8deea !important;
    border-color: rgba(216, 222, 234, 0.2);
    background: rgba(255, 255, 255, 0.03);
    z-index: 95;
  }

  .menu-toggle span:not(.screen-reader-text) {
    display: none;
  }

  .menu-toggle::before {
    content: "";
    width: 20px;
    height: 2px;
    background: currentColor;
    box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor;
  }

  .icon-button,
  .menu-toggle {
    width: 36px;
    height: 36px;
  }

  .lead-title,
  .single-title,
  .page-title {
    font-size: 36px;
  }

  .post-card-body,
  .trend-panel,
  .widget,
  .sector-card {
    padding: 20px;
  }
}

/* Elementor page polish */
body.elementor-page {
  background: #0a0b0d;
  overflow-x: hidden;
}

body.elementor-page .site-header {
  background: rgba(5, 5, 5, 0.88);
  backdrop-filter: blur(18px);
}

body.elementor-page .site-main {
  width: 100%;
  max-width: none;
  overflow-x: hidden;
}

body.elementor-page .site-main > article,
body.elementor-page .entry-content,
body.elementor-page .entry-content > .elementor {
  width: 100%;
  max-width: none;
}

body.elementor-page .page-header,
body.elementor-page .featured-image {
  display: none;
}

body.elementor-page .entry-content {
  color: var(--on-surface);
  font-size: 16px;
  line-height: 1.65;
}

body.elementor-page .entry-content > * {
  max-width: none;
}

body.elementor-page .hostinger-ai-background-video {
  position: relative;
  min-height: clamp(560px, 76vh, 780px);
  overflow: hidden;
  isolation: isolate;
  background: #050505;
}

body.elementor-page .hostinger-ai-background-video::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.92) 0%, rgba(5, 5, 5, 0.58) 46%, rgba(5, 5, 5, 0.72) 100%),
    linear-gradient(180deg, rgba(233, 193, 118, 0.12) 0%, rgba(5, 5, 5, 0) 42%, rgba(5, 5, 5, 0.72) 100%);
}

body.elementor-page .hostinger-ai-background-video > .e-con-inner {
  position: relative;
  z-index: 1;
  align-content: center;
  padding-block: clamp(96px, 12vw, 168px);
}

body.elementor-page .hostinger-ai-title .elementor-heading-title {
  color: var(--on-surface);
  font-family: var(--font-serif);
  letter-spacing: 0;
}

body.elementor-page .hostinger-ai-background-video .hostinger-ai-title .elementor-heading-title {
  max-width: 900px;
  font-size: clamp(46px, 7vw, 86px);
  font-weight: 650;
  line-height: 0.98;
}

body.elementor-page .hostinger-ai-description {
  max-width: 720px;
  color: var(--on-muted);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.7;
}

body.elementor-page .elementor-button {
  min-height: 46px;
  border: 1px solid var(--primary-deep);
  border-radius: var(--radius);
  background: var(--primary);
  color: #211704;
  font-family: var(--font-serif);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.25);
}

body.elementor-page .elementor-button:hover,
body.elementor-page .elementor-button:focus-visible {
  background: var(--primary-fixed);
  color: #211704;
}

body.elementor-page .hostinger-ai-our-blog-1,
body.elementor-page .hostinger-ai-background-video + .e-con,
body.elementor-page .elementor > .e-con:not(.hostinger-ai-background-video) {
  background: var(--background);
}

body.elementor-page .elementor > .e-con:not(.hostinger-ai-background-video) {
  padding-block: clamp(56px, 8vw, 96px);
}

body.elementor-page .elementor > .e-con:not(.hostinger-ai-background-video) .e-con-inner {
  width: min(100% - 48px, var(--container));
}

@media (max-width: 820px) {
  body.elementor-page .site-main {
    width: 100%;
  }

  body.elementor-page .hostinger-ai-background-video {
    min-height: 620px;
  }

  body.elementor-page .hostinger-ai-background-video > .e-con-inner,
  body.elementor-page .elementor > .e-con:not(.hostinger-ai-background-video) .e-con-inner {
    width: min(100% - 32px, var(--container));
    max-width: 100%;
  }

  body.elementor-page .hostinger-ai-background-video .hostinger-ai-title .elementor-heading-title {
    max-width: 330px;
    margin-inline: auto;
    font-size: clamp(32px, 10vw, 44px);
    line-height: 1.08;
    text-align: center;
    white-space: normal !important;
    word-break: normal;
    overflow-wrap: break-word;
  }

  body.elementor-page .hostinger-ai-description {
    max-width: 340px;
    margin-inline: auto;
    font-size: 16px;
    text-align: center;
    white-space: normal !important;
    word-break: normal;
    overflow-wrap: break-word;
  }

  body.elementor-page .hostinger-ai-cta-button,
  body.elementor-page .elementor-button-wrapper {
    width: min(100%, 310px);
    max-width: 100%;
    margin-inline: auto;
  }

  body.elementor-page .elementor-button {
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 520px) {
  body.elementor-page .hostinger-ai-background-video {
    min-height: 590px;
  }

  body.elementor-page .hostinger-ai-background-video > .e-con-inner {
    width: min(100% - 28px, var(--container));
    max-width: 100%;
  }

  body.elementor-page .hostinger-ai-background-video .hostinger-ai-title .elementor-heading-title {
    max-width: 280px !important;
    font-size: clamp(28px, 7.8vw, 30px) !important;
    word-break: keep-all !important;
    overflow-wrap: normal !important;
  }

  body.elementor-page .hostinger-ai-background-video .hostinger-ai-description,
  body.elementor-page .hostinger-ai-background-video .hostinger-ai-description .elementor-widget-container {
    width: min(100%, 300px) !important;
    max-width: 300px !important;
    margin-inline: auto !important;
    font-size: 14px !important;
    line-height: 1.75 !important;
    word-break: keep-all !important;
    overflow-wrap: normal !important;
  }

  body.elementor-page .hostinger-ai-background-video .hostinger-ai-description p {
    width: 100% !important;
    max-width: 300px !important;
    margin-inline: auto !important;
    white-space: normal !important;
  }

  body.elementor-page .hostinger-ai-background-video .e-con,
  body.elementor-page .hostinger-ai-background-video .e-con-inner,
  body.elementor-page .hostinger-ai-background-video .elementor-element,
  body.elementor-page .hostinger-ai-background-video .elementor-widget-container {
    max-width: 100% !important;
    box-sizing: border-box;
    white-space: normal !important;
  }

  body.elementor-page .hostinger-ai-background-video .elementor-widget__width-initial,
  body.elementor-page .hostinger-ai-background-video .elementor-widget-mobile__width-inherit {
    width: 100% !important;
    max-width: 100% !important;
  }

  body.elementor-page .hostinger-ai-background-video .hostinger-ai-cta-button {
    width: min(100%, 310px) !important;
    max-width: 310px !important;
  }

  body.elementor-page .hostinger-ai-background-video .elementor-button-wrapper,
  body.elementor-page .hostinger-ai-background-video .elementor-button {
    width: 100% !important;
    max-width: 100% !important;
  }

  body.elementor-page .hostinger-ai-background-video .elementor-button {
    white-space: normal;
  }
}
/* Tovren design polish */
:root {
  --surface-low: #24211c;
  --surface: #2b2721;
  --surface-high: #38332b;
  --on-muted: #ded4c5;
  --outline: #b3a58f;
  --outline-soft: rgba(190, 176, 150, 0.34);
  --radius: 8px;
  --ease-soft: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

.site-header {
  background: rgba(5, 5, 5, 0.92);
  border-bottom-color: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(16px);
}

a,
.primary-menu a,
.subscribe-link,
.button,
.search-submit,
.comment-form input[type="submit"],
.wp-block-button__link,
.cat-chip,
.post-tags a {
  transition:
    color 260ms var(--ease-soft),
    background-color 260ms var(--ease-soft),
    border-color 260ms var(--ease-soft),
    box-shadow 320ms var(--ease-soft),
    transform 320ms var(--ease-out);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
.primary-menu a:focus-visible,
.subscribe-link:focus-visible,
.cat-chip:focus-visible,
.post-tags a:focus-visible,
.entry-title a:focus-visible,
.lead-title a:focus-visible {
  outline: 2px solid var(--primary-fixed);
  outline-offset: 3px;
  border-radius: var(--radius);
  box-shadow: 0 0 0 4px rgba(255, 222, 165, 0.16);
}

.lead-media,
.post-media,
.featured-image,
.media-placeholder,
.trend-panel,
.widget,
.related-panel,
.newsletter-card,
.post-card,
.sector-card,
.search-panel,
.main-navigation,
.button,
.search-submit,
.comment-form input[type="submit"],
.wp-block-button__link,
.cat-chip,
.post-tags a,
.search-field,
input,
textarea,
select {
  border-radius: var(--radius);
}

.trend-panel,
.widget,
.related-panel,
.newsletter-card,
.post-card,
.sector-card {
  background: var(--surface-low);
  border-color: var(--outline-soft);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.14);
  transition:
    transform 380ms var(--ease-out),
    border-color 320ms var(--ease-soft),
    background-color 320ms var(--ease-soft),
    box-shadow 420ms var(--ease-soft);
}

.post-card:hover,
.sector-card:hover,
.related-card:hover {
  transform: translateY(-3px);
  border-color: rgba(233, 193, 118, 0.44);
  background: var(--surface);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.24);
}

.lead-article {
  transition: transform 420ms var(--ease-out);
}

.lead-article:hover {
  transform: translateY(-2px);
}

.lead-media img,
.post-media img,
.featured-image img {
  opacity: 0.92;
  transition:
    transform 920ms var(--ease-out),
    opacity 420ms var(--ease-soft),
    filter 420ms var(--ease-soft);
}

.lead-article:hover img,
.post-card:hover img,
.featured-image:hover img {
  opacity: 1;
  transform: scale(1.035);
  filter: saturate(1.06) contrast(1.04);
}

.media-placeholder::before {
  transition:
    transform 920ms var(--ease-out),
    opacity 420ms var(--ease-soft),
    filter 420ms var(--ease-soft);
}

.post-card:hover .media-placeholder::before,
.lead-article:hover .media-placeholder::before {
  transform: scale(1.035);
  filter: brightness(1.08) saturate(1.08);
}

.button,
.search-submit,
.comment-form input[type="submit"],
.wp-block-button__link {
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.subscribe-link:hover,
.subscribe-link:focus-visible,
.button:hover,
.button:focus-visible,
.search-submit:hover,
.search-submit:focus-visible,
.comment-form input[type="submit"]:hover,
.comment-form input[type="submit"]:focus-visible,
.wp-block-button__link:hover,
.wp-block-button__link:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(233, 193, 118, 0.18);
}

.cat-chip,
.post-tags a {
  border-color: rgba(233, 193, 118, 0.38);
  background: rgba(233, 193, 118, 0.13);
  color: var(--primary-fixed);
}

.cat-chip:hover,
.cat-chip:focus-visible,
.post-tags a:hover,
.post-tags a:focus-visible {
  border-color: rgba(255, 222, 165, 0.62);
  background: rgba(233, 193, 118, 0.2);
  color: #fff2d8;
}

.entry-summary,
.entry-meta,
.card-foot,
.archive-description,
.page-intro,
.single-deck,
.entry-content {
  color: var(--on-muted);
}

.search-panel {
  background: rgba(12, 11, 9, 0.98);
  border-top-color: rgba(190, 176, 150, 0.2);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
}

.search-panel.is-open,
.main-navigation.is-open {
  animation: tovren-soft-drop 280ms var(--ease-out) both;
}

@keyframes tovren-soft-drop {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1040px) {
  .main-navigation {
    background: rgba(17, 14, 9, 0.98);
    border-color: var(--outline-soft);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.32);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
}
/* End Tovren design polish */
/* Tovren hover motion upgrade */
.lead-article,
.post-card,
.sector-card,
.related-card,
.trend-panel,
.newsletter-card,
.button,
.search-submit,
.wp-block-button__link,
.cat-chip,
.post-tags a,
.primary-menu a,
.subscribe-link,
.icon-button,
.menu-toggle {
  will-change: transform;
}

.post-card,
.sector-card,
.related-card,
.trend-panel,
.newsletter-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.post-card::after,
.sector-card::after,
.related-card::after,
.trend-panel::after,
.newsletter-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(135deg, transparent 0%, rgba(255, 222, 165, 0.10) 46%, transparent 72%);
  opacity: 0;
  transform: translateX(-18%) scale(1.04);
  transition:
    opacity 520ms var(--ease-soft),
    transform 620ms var(--ease-out);
}

.post-card:hover,
.post-card:focus-within {
  transform: translateY(-6px);
}

.sector-card:hover,
.sector-card:focus-within,
.related-card:hover,
.related-card:focus-within {
  transform: translateY(-5px);
}

.trend-panel:hover,
.trend-panel:focus-within,
.newsletter-card:hover,
.newsletter-card:focus-within {
  transform: translateY(-4px);
}

.lead-article:hover,
.lead-article:focus-within {
  transform: translateY(-4px);
}

.post-card:hover::after,
.post-card:focus-within::after,
.sector-card:hover::after,
.sector-card:focus-within::after,
.related-card:hover::after,
.related-card:focus-within::after,
.trend-panel:hover::after,
.trend-panel:focus-within::after,
.newsletter-card:hover::after,
.newsletter-card:focus-within::after {
  opacity: 1;
  transform: translateX(0) scale(1);
}

.lead-title a,
.entry-title a,
.trend-item h3 a,
.related-card h3 {
  display: inline-block;
  transition:
    color 260ms var(--ease-soft),
    transform 340ms var(--ease-out);
}

.lead-title a:hover,
.lead-title a:focus-visible,
.entry-title a:hover,
.entry-title a:focus-visible,
.trend-item h3 a:hover,
.trend-item h3 a:focus-visible {
  transform: translateX(3px);
}

.primary-menu a:hover,
.primary-menu a:focus-visible,
.subscribe-link:hover,
.subscribe-link:focus-visible,
.button:hover,
.button:focus-visible,
.search-submit:hover,
.search-submit:focus-visible,
.wp-block-button__link:hover,
.wp-block-button__link:focus-visible,
.cat-chip:hover,
.cat-chip:focus-visible,
.post-tags a:hover,
.post-tags a:focus-visible {
  transform: translateY(-2px);
}

.icon-button:hover,
.icon-button:focus-visible,
.menu-toggle:hover,
.menu-toggle:focus-visible {
  transform: translateY(-2px);
  background: rgba(255, 222, 165, 0.08);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.22);
}

.post-card-body {
  transition: transform 420ms var(--ease-out);
}

.post-card:hover .post-card-body,
.post-card:focus-within .post-card-body {
  transform: translateY(-1px);
}

@media (prefers-reduced-motion: reduce) {
  .post-card::after,
  .sector-card::after,
  .related-card::after,
  .trend-panel::after,
  .newsletter-card::after {
    display: none;
  }
}
/* End Tovren hover motion upgrade */
/* Tovren header logo typography sync */
.site-title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
}
/* End Tovren header logo typography sync */
/* Tovren compact menu bar */
.site-header {
  background: rgba(5, 5, 5, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

.header-inner {
  width: min(100% - 32px, 1440px);
  min-height: 56px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
}

.site-branding {
  flex: 0 0 auto;
}

.site-title {
  font-size: 22px;
  line-height: 1;
  white-space: nowrap;
}

.main-navigation {
  min-height: 56px;
  align-items: center;
  justify-content: flex-start;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
}

.main-navigation::-webkit-scrollbar {
  display: none;
}

.primary-menu {
  flex-wrap: nowrap;
  gap: 8px;
  min-width: max-content;
}

.primary-menu a {
  min-height: 56px;
  padding: 0 9px;
  white-space: nowrap;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  border-bottom-width: 2px;
}

.header-actions {
  gap: 10px;
  flex: 0 0 auto;
}

.icon-button,
.menu-toggle {
  width: 34px;
  height: 34px;
}

.subscribe-link {
  min-height: 34px;
  padding: 8px 12px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.search-panel {
  border-top-color: rgba(255, 255, 255, 0.08);
}

@media (max-width: 1180px) {
  .header-inner {
    position: relative;
    display: flex;
    min-height: 58px;
  }

  .main-navigation {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 8px);
    display: none;
    min-height: 0;
    max-height: calc(100vh - 96px);
    overflow-y: auto;
    border: 1px solid var(--outline-soft);
    border-radius: var(--radius);
    background: rgba(17, 14, 9, 0.98);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.32);
  }

  .main-navigation.is-open {
    display: block;
  }

  .primary-menu {
    display: grid;
    gap: 0;
    min-width: 0;
    padding: 8px;
  }

  .primary-menu a {
    min-height: 42px;
    width: 100%;
    padding: 0 12px;
    border-bottom: 0;
    border-radius: var(--radius);
    justify-content: flex-start;
  }

  .primary-menu a:hover,
  .primary-menu a:focus-visible,
  .primary-menu .current-menu-item > a,
  .primary-menu .current_page_item > a,
  .primary-menu .current-menu-ancestor > a {
    background: rgba(255, 222, 165, 0.08);
  }

  .menu-toggle {
    display: inline-grid;
  }
}

@media (max-width: 640px) {
  .header-inner {
    width: 100%;
    padding-inline: 16px;
    gap: 10px;
  }

  .subscribe-link {
    display: none;
  }
}
/* End Tovren compact menu bar */
