:root {
  --primary: #E74C3C;
  --primary-light: #EC7063;
  --primary-dark: #CB4335;
  --secondary: #2C3E50;
  --secondary-light: #34495E;
  --secondary-dark: #1A252F;
  --accent: #F39C12;
  --accent-light: #F8B739;
  --accent-dark: #D68910;
  --bg-white: #FFFFFF;
  --bg-light: #FAFBFC;
  --bg-gray: #ECF0F1;
  --bg-dark: #2C3E50;
  --text-dark: #1a1f2e;
  --text-gray: #7F8C8D;
  --text-light: #BDC3C7;
  --text-white: #FFFFFF;
  --success: #27AE60;
  --warning: #F39C12;
  --error: #E74C3C;
  --info: #3498DB;
  --font-family: 'Manrope', 'Segoe UI', sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.5rem;
  --font-size-2xl: 2rem;
  --font-size-3xl: 2.5rem;
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --line-height-tight: 1.2;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.75;
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;
  --spacing-3xl: 4rem;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1);
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 12px;
  --border-radius-full: 9999px;
  --border-color: #ECF0F1;
  --border-color-light: #F5F7FA;
  --border-color-dark: #BDC3C7;
  --accent-hover: var(--primary-light);
  --accent-warm: var(--accent);
  --bg-base: var(--bg-light);
  --bg-card: var(--bg-white);
  --bg-section: var(--bg-white);
  --border: var(--border-color);
  --text: var(--text-dark);
  --text-muted: var(--text-gray);
  --surface-tint: #FFF7E8;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg-white: #1A1F2E;
    --bg-light: #252B38;
    --bg-gray: #34495E;
    --text-dark: #FFFFFF;
    --text-gray: #BDC3C7;
    --border-color: #34495E;
  }
}

body,
#wrapper {
  background-color: var(--bg-base) !important;
  color: var(--text) !important;
}

#header,
.header-container,
#site-header,
#header-container {
  background:
    linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%) !important;
  border-bottom: 1px solid #d8dde4 !important;
  box-shadow: 0 8px 24px rgba(15, 23, 42, .06) !important;
  position: relative;
}

#header::before,
.header-container::before,
#site-header::before,
#header-container::before {
  background: linear-gradient(90deg, var(--accent), #111827 62%, #c25a00);
  content: "";
  display: block;
  height: 4px;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.header-container-in,
.header-in,
.logo-header {
  padding-bottom: 12px !important;
  padding-top: 16px !important;
}

#site-name a,
.site-name a,
.header-logo a {
  color: #0f172a !important;
  display: inline-block;
  font-size: clamp(1.35rem, 5vw, 2.05rem) !important;
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1.18 !important;
  max-width: min(92vw, 620px);
  overflow-wrap: anywhere;
}

#site-catch,
.tagline,
.header-description {
  color: #4c5563 !important;
  display: block !important;
  font-size: clamp(.82rem, 3.4vw, .98rem) !important;
  font-weight: 800 !important;
  line-height: 1.5 !important;
  margin-top: .38em !important;
  max-width: min(92vw, 640px);
  overflow-wrap: anywhere;
}

#navi,
.navi,
nav.navi,
#navi-list,
.navi-list {
  background-color: #ffffff !important;
  border-top: 1px solid #edf0f4 !important;
}

#navi .menu-item a,
.navi .menu-item a,
#navi-list li a {
  color: #263241 !important;
  font-weight: 900 !important;
  transition: color .2s;
}

#navi .menu-item a:hover,
.navi .current-menu-item > a,
#navi-list li a:hover {
  color: var(--accent) !important;
}

#main,
.main,
#content,
.content-area,
#primary {
  background-color: var(--bg-base) !important;
}

.entry-card,
.a-entry-card,
.related-entry-card,
.popular-entry-card {
  background-color: var(--bg-card) !important;
  border: 1px solid var(--border) !important;
  border-radius: 8px !important;
  transition: transform .2s, box-shadow .2s !important;
}

.entry-card:hover,
.a-entry-card:hover {
  border-color: var(--accent) !important;
  box-shadow: 0 8px 24px rgba(0, 191, 255, .15) !important;
  transform: translateY(-3px) !important;
}

.entry-card-title,
.entry-title,
.card-title {
  color: var(--text) !important;
  font-weight: 600;
}

.entry-card-content,
.card-content {
  color: var(--text-muted) !important;
}

.entry-content,
.article-body,
.entry-body {
  background-color: var(--bg-section) !important;
  border-radius: 8px;
  color: var(--text) !important;
  padding: 2em !important;
}

.entry-content h2 {
  background: none !important;
  border-bottom: none !important;
  border-left: 4px solid var(--accent) !important;
  color: var(--text) !important;
  margin-top: 2em;
  padding-left: .8em !important;
}

.entry-content h3 {
  border-bottom: 1px solid var(--border) !important;
  color: var(--accent) !important;
}

.entry-content h4,
.entry-content h5 {
  color: var(--text) !important;
}

.entry-content a {
  color: var(--accent) !important;
}

.entry-content a:hover {
  color: var(--accent-hover) !important;
}

.entry-content p {
  color: #252a31 !important;
  line-height: 1.9;
}

#sidebar,
.sidebar,
#widget-area {
  background-color: var(--bg-base) !important;
}

.widget,
.sidebar-widget,
.widget-area-wrap {
  background-color: var(--bg-section) !important;
  border: 1px solid var(--border) !important;
  border-radius: 8px !important;
  margin-bottom: 1.5em !important;
  padding: 1em !important;
}

.widget-title,
.sidebar-title,
.widgettitle {
  background: none !important;
  border-bottom: 2px solid var(--accent) !important;
  color: var(--text) !important;
  font-size: 1em !important;
  padding-bottom: .5em !important;
}

#footer,
.footer,
#site-footer {
  background-color: #101318 !important;
  border-top: 1px solid #252b34 !important;
  color: #dce5ef !important;
}

#footer a,
.footer a {
  color: #dce5ef !important;
}

#footer a:hover,
.footer a:hover {
  color: var(--accent) !important;
}

.breadcrumb,
#breadcrumb,
.breadcrumbs {
  background-color: var(--bg-section) !important;
  border-radius: 4px;
  color: var(--text-muted) !important;
  font-size: .85em !important;
  padding: .5em 1em !important;
}

.breadcrumb a,
.breadcrumbs a {
  color: var(--accent) !important;
}

.cat-label,
.tag-label,
.entry-cat-label {
  background-color: var(--accent) !important;
  border-radius: 4px !important;
  color: #000 !important;
  font-size: .75em !important;
  font-weight: 700 !important;
}

.btn,
.button,
input[type=submit],
button[type=submit],
.wp-block-button__link {
  background-color: var(--accent) !important;
  border: none !important;
  border-radius: 6px !important;
  color: #000 !important;
  font-weight: 700 !important;
  padding: .6em 1.4em !important;
}

table {
  background-color: var(--bg-card) !important;
  border-color: var(--border) !important;
  color: var(--text) !important;
  width: 100%;
}

th {
  background-color: var(--bg-section) !important;
  border-color: var(--border) !important;
  color: var(--accent) !important;
  padding: .6em !important;
}

td {
  border-color: var(--border) !important;
  color: var(--text) !important;
  padding: .6em !important;
}

.search-form input[type=text],
.search-form input[type=search],
.wp-block-search__input {
  background-color: var(--bg-card) !important;
  border: 1px solid var(--border) !important;
  border-radius: 6px 0 0 6px !important;
  color: var(--text) !important;
}

.page-numbers,
.pagination a {
  background-color: var(--bg-card) !important;
  border: 1px solid var(--border) !important;
  border-radius: 4px !important;
  color: var(--text) !important;
  padding: .3em .7em !important;
}

.page-numbers.current,
.page-numbers:hover,
.pagination a:hover {
  background-color: var(--accent) !important;
  border-color: var(--accent) !important;
  color: #000 !important;
}

::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg-base);
}

::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

.navi-toggle,
.menu-btn {
  background-color: var(--bg-section) !important;
  border: 1px solid var(--border) !important;
  color: var(--text) !important;
}

.search-box,
.search-btn {
  background-color: var(--accent) !important;
  color: #000 !important;
}

.entry-header,
.article-header {
  background-color: var(--bg-section) !important;
  border-radius: 8px !important;
  margin-bottom: 1em !important;
  padding: 1.5em !important;
}

.entry-title.entry-header-title,
.article-title {
  color: var(--text) !important;
  font-size: 1.6em !important;
  line-height: 1.5 !important;
}

.post-meta,
.entry-meta,
.article-meta {
  color: var(--text-muted) !important;
  font-size: .85em !important;
}

.related-entry-heading,
.popular-entry-heading {
  border-bottom: 2px solid var(--accent) !important;
  color: var(--text) !important;
}

.sns-share-buttons .btn-share {
  opacity: .9;
}

.wp-block-quote,
blockquote {
  background-color: var(--bg-card) !important;
  border-left: 4px solid var(--accent) !important;
  color: var(--text-muted) !important;
  padding: 1em 1.5em !important;
}

pre,
code {
  background-color: #111 !important;
  border: 1px solid var(--border) !important;
  border-radius: 4px !important;
  color: #e0e0e0 !important;
}

/* Block-theme header polish for local WordPress preview. */
body {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.wp-site-blocks > header.wp-block-template-part {
  background: linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(248, 250, 252, .98)) !important;
  border-bottom: 1px solid rgba(15, 23, 42, .08) !important;
  box-shadow: 0 10px 30px rgba(15, 23, 42, .07) !important;
  position: relative;
  z-index: 20;
}

.wp-site-blocks > header.wp-block-template-part::before {
  background: linear-gradient(90deg, var(--accent), #211817 58%, var(--accent-warm));
  content: "";
  display: block;
  height: 3px;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.wp-site-blocks > header.wp-block-template-part > .wp-block-group {
  padding-bottom: 0 !important;
  padding-top: 0 !important;
}

.wp-site-blocks > header.wp-block-template-part .wp-block-group.has-global-padding {
  padding-left: clamp(14px, 4vw, 28px) !important;
  padding-right: clamp(14px, 4vw, 28px) !important;
}

.wp-site-blocks > header.wp-block-template-part .wp-block-group.alignwide.is-layout-flex {
  gap: 16px !important;
  min-height: 58px;
  padding-bottom: 8px !important;
  padding-top: 10px !important;
}

.wp-block-site-title {
  line-height: 1 !important;
  margin: 0 !important;
}

.wp-block-site-title a {
  color: #1b1716 !important;
  display: inline-block;
  font-size: clamp(1.08rem, 4.2vw, 1.48rem) !important;
  font-weight: 950 !important;
  letter-spacing: 0;
  line-height: 1.05 !important;
  max-width: min(58vw, 330px);
  overflow-wrap: anywhere;
  text-decoration: none !important;
}

.wp-block-site-title a::after {
  background: var(--accent-warm);
  border-radius: 999px;
  content: "";
  display: inline-block;
  height: .44em;
  margin-left: .2em;
  width: .44em;
}

.wp-block-navigation {
  font-size: .86rem !important;
  font-weight: 850 !important;
  gap: 6px !important;
}

.wp-block-navigation .wp-block-navigation-item__content {
  border-radius: 999px;
  color: #344154 !important;
  padding: 8px 11px !important;
  transition: background-color .2s, color .2s, box-shadow .2s;
}

.wp-block-navigation .current-menu-item > .wp-block-navigation-item__content,
.wp-block-navigation .wp-block-navigation-item__content:hover {
  background: var(--surface-tint) !important;
  color: var(--accent) !important;
}

.wp-block-navigation .wp-block-page-list > li:has(a[href*="/privacy-policy/"]),
.wp-block-navigation .wp-block-page-list > li:has(a[href*="/profile/"]),
.wp-block-navigation .wp-block-page-list > li:has(a[href*="/disclaimer/"]),
.wp-block-navigation .wp-block-page-list > li:has(a[href*="/terms/"]),
.wp-block-navigation .wp-block-page-list > li:has(a[href*="/contact/"]) {
  display: none !important;
}

.wp-block-navigation .wp-block-page-list > li:has(a[href*="/plans/"]) > a {
  background: var(--accent) !important;
  box-shadow: 0 8px 18px rgba(159, 29, 46, .2);
  color: #fff !important;
}

.wp-block-navigation__responsive-container-open {
  background: #211817 !important;
  border: 0 !important;
  border-radius: 8px;
  color: #fff !important;
  min-height: 38px;
  min-width: 42px;
}

.wp-block-navigation__responsive-container-open svg {
  fill: currentColor;
}

.wp-site-blocks main {
  background: var(--bg-base) !important;
  padding-top: clamp(12px, 3vw, 22px);
}

.wp-block-button__link,
.btn,
.button,
input[type=submit],
button[type=submit],
.search-btn {
  background-color: var(--accent) !important;
  color: #fff !important;
}

.cat-label,
.tag-label,
.entry-cat-label,
.page-numbers.current,
.page-numbers:hover,
.pagination a:hover {
  color: #fff !important;
}

@media (max-width: 720px) {
  .wp-site-blocks > header.wp-block-template-part .wp-block-group.alignwide.is-layout-flex {
    min-height: 52px;
    padding-bottom: 7px !important;
    padding-top: 8px !important;
  }

  .wp-block-site-title a {
    max-width: 68vw;
  }

  .wp-block-navigation__responsive-container.is-menu-open {
    background: #ffffff !important;
    padding: 20px !important;
  }

  .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
    border-radius: 8px;
    font-size: 1rem;
    padding: 12px 10px !important;
  }
}

/* Minimal fdatabank-style base: simple white surfaces, black text, red links. */
:root {
  --primary: #b30000;
  --accent: #b30000;
  --accent-hover: #8f0000;
  --bg-base: #f7f7f7;
  --bg-card: #ffffff;
  --bg-section: #ffffff;
  --border: #dcdcdc;
  --border-color: #dcdcdc;
  --text: #222222;
  --text-dark: #111111;
  --text-muted: #666666;
  --text-gray: #666666;
  --surface-tint: #f4f4f4;
  --shadow-sm: none;
  --shadow-md: none;
  --shadow-lg: none;
  --shadow-xl: none;
}

body,
#wrapper,
.wp-site-blocks,
.wp-site-blocks main {
  background: #f7f7f7 !important;
  color: #222 !important;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Yu Gothic", YuGothic, Meiryo, sans-serif !important;
}

#header,
.header-container,
#site-header,
#header-container,
.wp-site-blocks > header.wp-block-template-part {
  background: #fff !important;
  border-bottom: 1px solid #d9d9d9 !important;
  box-shadow: none !important;
}

#header::before,
.header-container::before,
#site-header::before,
#header-container::before,
.wp-site-blocks > header.wp-block-template-part::before {
  display: none !important;
}

#site-name a,
.site-name a,
.header-logo a,
.wp-block-site-title a {
  color: #9f001e !important;
  font-size: clamp(1.18rem, 4vw, 1.72rem) !important;
  font-weight: 900 !important;
  letter-spacing: 0 !important;
}

.wp-block-site-title a::after {
  display: none !important;
}

#site-catch,
.tagline,
.header-description,
.site-description,
.wp-block-site-tagline {
  color: #3b252b !important;
  font-weight: 800 !important;
  opacity: 1 !important;
}

#navi,
.navi,
nav.navi,
#navi-list,
.navi-list,
.menu-header,
.menu-top,
.menu-drawer,
.mobile-menu-buttons {
  background: #fff6f0 !important;
  background-color: #fff6f0 !important;
  background-image: none !important;
  border-top: 1px solid #e5e5e5 !important;
  opacity: 1 !important;
}

#header,
.header-container,
#header-container,
#site-header {
  position: relative !important;
}

#header::after,
.header-container::after,
#header-container::after,
#site-header::after {
  background: linear-gradient(90deg, #9f001e, #1b0f13 56%, #c79a45) !important;
  content: "" !important;
  display: block !important;
  height: 3px !important;
  left: 0 !important;
  position: absolute !important;
  right: 0 !important;
  top: 0 !important;
}

#navi .menu-item a,
.navi .menu-item a,
#navi-list li a,
.wp-block-navigation .wp-block-navigation-item__content {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border-radius: 0 !important;
  color: #24171b !important;
  font-size: .88rem !important;
  font-weight: 800 !important;
  opacity: 1 !important;
  text-shadow: none !important;
}

#navi .menu-item a:hover,
.navi .current-menu-item > a,
#navi-list li a:hover,
.wp-block-navigation .current-menu-item > .wp-block-navigation-item__content,
.wp-block-navigation .wp-block-navigation-item__content:hover {
  background: #f5e3d6 !important;
  background-color: #f5e3d6 !important;
  background-image: none !important;
  color: #9f001e !important;
  opacity: 1 !important;
}

.entry-card,
.a-entry-card,
.related-entry-card,
.popular-entry-card,
.entry-content,
.article-body,
.entry-body,
.entry-header,
.article-header,
.widget,
.sidebar-widget,
.widget-area-wrap,
.breadcrumb,
#breadcrumb,
.breadcrumbs {
  background: #fff !important;
  border: 1px solid #dcdcdc !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.entry-card:hover,
.a-entry-card:hover {
  border-color: #b30000 !important;
  box-shadow: none !important;
  transform: none !important;
}

.entry-card-title,
.entry-title,
.card-title,
.entry-title.entry-header-title,
.article-title,
.widget-title,
.sidebar-title,
.widgettitle {
  color: #111 !important;
  font-weight: 800 !important;
}

.widget-title,
.sidebar-title,
.widgettitle,
.related-entry-heading,
.popular-entry-heading {
  background: none !important;
  border-bottom: 2px solid #222 !important;
  color: #111 !important;
}

.entry-content h2 {
  border-bottom: 2px solid #222 !important;
  border-left: 0 !important;
  color: #111 !important;
  padding: 0 0 .35em !important;
}

.entry-content h3 {
  border-bottom: 1px solid #dcdcdc !important;
  color: #111 !important;
}

.entry-content a,
.breadcrumb a,
.breadcrumbs a,
#footer a:hover,
.footer a:hover {
  color: #b30000 !important;
}

.btn,
.button,
input[type=submit],
button[type=submit],
.wp-block-button__link,
.search-box,
.search-btn {
  background: #222 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: #fff !important;
}

.cat-label,
.tag-label,
.entry-cat-label {
  background: #b30000 !important;
  border-radius: 0 !important;
  color: #fff !important;
}

#footer,
.footer,
#site-footer {
  background: #fff !important;
  border-top: 1px solid #d9d9d9 !important;
  color: #333 !important;
}

#footer a,
.footer a {
  color: #333 !important;
}

/* Desire-led premium polish: still simple, but warmer and more seductive. */
:root {
  --primary: #c00024;
  --accent: #c00024;
  --accent-hover: #8e001a;
  --bg-base: #130d10;
  --bg-card: #fffafa;
  --bg-section: #fffafa;
  --border: #ead7dd;
  --border-color: #ead7dd;
  --text: #24171b;
  --text-dark: #160d10;
  --text-on-dark: #f7e9ed;
  --text-muted: #6f555d;
  --text-gray: #6f555d;
}

body,
#wrapper,
.wp-site-blocks {
  background:
    linear-gradient(180deg, #130d10 0, #201116 220px, #f7f1f3 520px, #f7f1f3 100%) !important;
  color: var(--text-on-dark) !important;
}

.wp-site-blocks main {
  background: #f7f1f3 !important;
  color: var(--text) !important;
}

#header,
.header-container,
#site-header,
#header-container,
.wp-site-blocks > header.wp-block-template-part {
  background: rgba(255, 250, 250, .98) !important;
  border-bottom: 1px solid rgba(192, 0, 36, .22) !important;
}

#header::after,
.header-container::after,
#site-header::after,
#header-container::after,
.wp-site-blocks > header.wp-block-template-part::after {
  background: linear-gradient(90deg, #c00024, #1b0f13 56%, #c79a45);
  content: "";
  display: block;
  height: 3px;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

#site-name a,
.site-name a,
.header-logo a,
.wp-block-site-title a {
  color: #9f001e !important;
  font-weight: 900 !important;
}

#site-catch,
.tagline,
.header-description,
.site-description,
.wp-block-site-tagline {
  color: #3b252b !important;
  font-weight: 800 !important;
  opacity: 1 !important;
}

#navi .menu-item a:hover,
.navi .current-menu-item > a,
#navi-list li a:hover,
.wp-block-navigation .current-menu-item > .wp-block-navigation-item__content,
.wp-block-navigation .wp-block-navigation-item__content:hover,
.entry-content a,
.breadcrumb a,
.breadcrumbs a {
  color: #9f001e !important;
}

#navi a,
#navi a:link,
#navi a:visited,
#navi .menu-item a,
#navi-list li a,
.navi a,
.navi a:link,
.navi a:visited,
.navi .menu-item a,
.menu-header a,
.menu-header a:link,
.menu-header a:visited,
.menu-top a,
.menu-top a:link,
.menu-top a:visited,
.caption-wrap,
.item-label,
.menu-drawer,
.menu-drawer a,
.menu-drawer a:link,
.menu-drawer a:visited,
.mobile-menu-buttons,
.mobile-menu-buttons a,
.mobile-menu-buttons .menu-button,
.mobile-menu-buttons .menu-caption,
.wp-block-navigation a,
.wp-block-navigation a:link,
.wp-block-navigation a:visited,
.wp-block-navigation .wp-block-navigation-item__content,
.wp-block-navigation .wp-block-navigation-item__label,
.footer,
#footer,
.footer a,
#footer a,
.widget,
.widget a,
.sidebar,
.sidebar a {
  color: #24171b !important;
  fill: #24171b !important;
  font-weight: 800 !important;
  opacity: 1 !important;
  text-shadow: none !important;
}

.entry-card,
.a-entry-card,
.related-entry-card,
.popular-entry-card,
.entry-content,
.article-body,
.entry-body,
.entry-header,
.article-header,
.widget,
.sidebar-widget,
.widget-area-wrap,
.breadcrumb,
#breadcrumb,
.breadcrumbs {
  background: #fffafa !important;
  border-color: #ead7dd !important;
}

.entry-card:hover,
.a-entry-card:hover {
  border-color: #c00024 !important;
}

.widget-title,
.sidebar-title,
.widgettitle,
.related-entry-heading,
.popular-entry-heading,
.entry-content h2 {
  border-bottom-color: #160d10 !important;
}

.btn,
.button,
input[type=submit],
button[type=submit],
.wp-block-button__link,
.search-box,
.search-btn {
  background: linear-gradient(135deg, #c00024, #7d0017) !important;
  color: #fff !important;
}

.cat-label,
.tag-label,
.entry-cat-label {
  background: #c00024 !important;
}

/* Readability guardrails: keep text legible across old Cocoon/snippet layers. */
body,
#wrapper {
  color: var(--text-on-dark) !important;
}

#content,
#main,
.main,
.content,
.content-area,
#primary {
  background: #f7f1f3 !important;
  color: #24171b !important;
}

.entry-content,
.article-body,
.entry-body,
.entry-header,
.article-header,
.widget,
.sidebar-widget,
.widget-area-wrap,
.breadcrumb,
#breadcrumb,
.breadcrumbs,
.entry-card,
.a-entry-card,
.related-entry-card,
.popular-entry-card {
  background: #fffafa !important;
  color: #24171b !important;
}

.entry-content p,
.entry-content li,
.entry-content td,
.entry-content dd,
.entry-content blockquote,
.article-body p,
.article-body li,
.entry-body p,
.entry-body li,
.widget,
.widget p,
.widget li,
.sidebar-widget,
.sidebar-widget p,
.sidebar-widget li,
.breadcrumb,
.breadcrumbs,
.post-meta,
.entry-meta,
.article-meta,
.entry-card-content,
.card-content {
  color: #4d3940 !important;
}

.entry-title,
.article-title,
.entry-card-title,
.card-title,
.widget-title,
.sidebar-title,
.widgettitle,
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6,
.article-body h1,
.article-body h2,
.article-body h3 {
  color: #8f001b !important;
  text-shadow: none !important;
}

.entry-header,
.article-header {
  background:
    linear-gradient(135deg, #fff 0%, #fff6e8 64%, #fdf9f3 100%) !important;
  border-color: rgba(143, 0, 27, .16) !important;
}

.entry-header .post-date,
.article-header .post-date,
.entry-header .entry-date,
.article-header .entry-date,
.entry-header .post-update,
.article-header .post-update,
.entry-header .post-meta,
.article-header .post-meta {
  color: #5e3d45 !important;
}

.entry-content a,
.article-body a,
.entry-body a,
.widget a,
.breadcrumb a,
.breadcrumbs a {
  color: #b00021 !important;
  font-weight: 700;
}

.entry-content a:hover,
.article-body a:hover,
.entry-body a:hover,
.widget a:hover {
  color: #7d0017 !important;
}

.entry-content table,
.article-body table,
.entry-body table {
  background: #fffafa !important;
  color: #24171b !important;
}

.entry-content th,
.article-body th,
.entry-body th {
  background: #2b121a !important;
  color: #fff7f9 !important;
}

.entry-content td,
.article-body td,
.entry-body td {
  background: #fffafa !important;
  color: #24171b !important;
}

.cat-label,
.tag-label,
.entry-cat-label,
.badge,
.badge--new,
.badge--premium {
  color: #fff !important;
}

.page-numbers,
.pagination a {
  background: #fffafa !important;
  color: #24171b !important;
}

.page-numbers.current,
.page-numbers:hover,
.pagination a:hover {
  background: #c00024 !important;
  color: #fff !important;
}

#footer,
.footer,
#site-footer {
  background: #160d10 !important;
  color: #f7e9ed !important;
}

#footer a,
.footer a,
#site-footer a {
  color: #fff7f9 !important;
}

body:not(.home) .entry-content > .wp-block-post-title:first-child,
body:not(.home) main > .wp-block-group > .wp-block-post-title:first-child {
  display: none !important;
}

.wp-block-query-title {
  color: #160d10 !important;
  font-size: clamp(1.18rem, 4vw, 1.8rem) !important;
}

.wp-block-comments,
.wp-block-comments-title,
.wp-block-comment-template,
.comment-respond,
#respond {
  display: none !important;
}

.wp-block-heading.alignwide.has-small-font-size {
  border-bottom: 2px solid #160d10 !important;
  color: #160d10 !important;
  font-size: .92rem !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

body.search .wp-block-post-template {
  display: grid !important;
  gap: 12px !important;
}

body.search .wp-block-post-template > li {
  background: #fffafa !important;
  border: 1px solid #ead7dd !important;
  padding: 14px !important;
}

body.search .wp-block-post-title {
  font-size: clamp(1rem, 2.8vw, 1.24rem) !important;
  margin: 0 !important;
}

body.search .wp-block-post-title a {
  color: #160d10 !important;
  font-weight: 800 !important;
}

body.search .wp-block-post-content {
  display: none !important;
}
