/*
Theme Name: Rivmedia Base Theme
Theme URI: https://www.rivmedia.co.uk
Author: You
Description: Light, mobile-first variant of the Crypto Tools theme with a wellness-friendly palette (white/light grey surfaces with brand accents).
Version: 1.0.0
Text Domain: crypto-tools-light-wellness
*/

:root {
  /*
    Light Wellness Variant
    - Primary canvas: white & soft greys
    - Brand colors: used as accents (update these to match your logo)
  */
  --ct-bg: #ffffff;
  --ct-surface: #ffffff;
  --ct-surface-soft: #f3f4f6;
  --ct-border-subtle: rgba(15, 23, 42, 0.14);

  /* Brand accents (defaults picked to suit health & wellbeing) */
  --ct-accent: #7a9730;            /* primary brand accent (olive) */
  --ct-accent-soft: rgba(122, 151, 48, 0.14);
  --ct-accent-2: #f0a06d;          /* secondary accent (peach) */
  --ct-accent-2-soft: rgba(240, 160, 109, 0.18);

  --ct-text-main: #0f172a;
  --ct-text-muted: #64748b;
  --ct-text-soft: #334155;
}

/* Global reset-ish */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #ffffff 0, #ffffff 35%, #f3f4f6 100%);
  color: var(--ct-text-main);
  line-height: 1.5;
  overflow-x: hidden;
}

/* Links */
a {
  color: var(--ct-accent);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* Layout shells */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.site-header-inner {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0.75rem clamp(1rem, 4vw, 2.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-logo a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ct-accent);
  text-decoration: none;
}

.site-logo-mark {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: radial-gradient(circle at 25% 25%, #fff, var(--ct-accent) 55%, transparent 70%);
  box-shadow: 0 0 18px rgba(122, 151, 48, 0.28);
}

/* Navigation */
.site-nav {
  display: flex;
  align-items: center;
}

.site-nav .menu-primary-container ul,
.site-nav ul.menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.25rem;
}

.site-nav a {
  color: var(--ct-text-main);
  font-size: 0.9rem;
  text-decoration: none;
  position: relative;
  padding-bottom: 0.2rem;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.25rem;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--ct-accent);
  transition: width 0.18s ease-out;
}

.site-nav a:hover::after,
.site-nav .current-menu-item > a::after {
  width: 100%;
}

/* Mobile nav toggle */
.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(15, 23, 42, 0.18);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  color: var(--ct-text-main);
  font-size: 0.9rem;
  align-items: center;
  gap: 0.45rem;
  cursor: pointer;
}

.menu-toggle-icon {
  width: 18px;
  height: 14px;
  position: relative;
}
.menu-toggle-icon span {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--ct-text-main);
  transition: transform 0.18s ease, opacity 0.18s ease, top 0.18s ease, bottom 0.18s ease;
}
.menu-toggle-icon span:nth-child(1) { top: 0; }
.menu-toggle-icon span:nth-child(2) { top: 6px; }
.menu-toggle-icon span:nth-child(3) { bottom: 0; }

.menu-toggle.is-open .menu-toggle-icon span:nth-child(1) {
  top: 6px;
  transform: rotate(45deg);
}
.menu-toggle.is-open .menu-toggle-icon span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.is-open .menu-toggle-icon span:nth-child(3) {
  bottom: 6px;
  transform: rotate(-45deg);
}

/* Main content area */
.site-main {
  width: 100%;
  max-width: none;
  margin: 1.5rem 0 2.5rem;
  padding-inline: clamp(1rem, 0vw, 2.5rem);
}

/* Generic grid layout helper for pages that want multi-column cards */
.ct-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.1fr);
  gap: 1.5rem;
}

/* If someone wants three columns in future: .ct-main-grid--three */

/* Utility class to let plugin cards stretch full width in grid */
.ct-main-grid > .cth-dashboard-wrapper,
.ct-main-grid > .cth-top-table-wrapper,
.ct-main-grid > .cth-coin-card-wrapper,
.ct-main-grid > .cth-richlist-wrapper {
  margin: 0;
}



/* Site logo container & custom logo image */
.site-logo {
  display: flex;
  align-items: center;
}

.site-logo .custom-logo-link {
  display: inline-flex;
  align-items: center;
}

.site-logo .custom-logo {
  height: auto;
  max-height: 48px;
  width: auto;
}
/* Footer */
.site-footer {
  border-top: 1px solid rgba(15, 23, 42, 0.10);
  padding: 1rem 1.25rem 1.5rem;
  color: var(--ct-text-muted);
  font-size: 0.85rem;
}
.site-footer-inner {
  width: 100%;
  max-width: none;
  margin: 0;
  text-align: center;
  padding-inline: clamp(1rem, 4vw, 2.5rem);
}

/* Plugin wrappers: add a bit of spacing when not in grid */
.cth-top-table-wrapper,
.cth-dashboard-wrapper,
.cth-coin-card-wrapper,
.cth-richlist-wrapper {
  margin: 1.5rem auto;
}

/* Mobile responsiveness */
@media (max-width: 900px) {
  .site-header-inner {
    padding-inline: 1rem;
  }

  .site-nav {
    position: fixed;
    inset: 56px 0 auto 0;
    padding: 0.75rem 1rem 1rem;
    background: rgba(15, 23, 42, 0.97);
    box-shadow: 0 18px 35px rgba(0,0,0,0.6);
    transform: translateY(-140%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.2s ease-out, opacity 0.2s ease-out;
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
	  z-index:999;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 0.75rem;
  }

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

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

@media (max-width: 640px) {
  .site-main {
    margin-top: 1rem;
    padding-inline: 0.85rem;
  }

  .cth-top-table-wrapper,
  .cth-dashboard-wrapper,
  .cth-coin-card-wrapper,
  .cth-richlist-wrapper {
    margin: 1.25rem auto;
  }
}

@media (max-width: 420px) {
  .site-main {
    margin-top: 1rem;
    padding-inline: 0rem;
  }
}


/* Blog Archive */
.ct-blog-archive .ct-archive-header {
  margin: 2rem 0;
}
.ct-article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill,minmax(280px,1fr));
  gap: 1.5rem;
}
.ct-article-card {
  background: var(--ct-surface);
  border-radius: 14px;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.ct-article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0,0,0,.4);
}
.ct-article-thumb img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.ct-article-body {
  padding: 1.2rem;
}
.ct-article-meta {
  font-size: .75rem;
  color: #94a3b8;
}

/* Single Post */
.ct-single-post {
  max-width: 860px;
}
.ct-post-header h1 {
  margin-bottom: .5rem;
}
.ct-post-meta {
  font-size: .8rem;
  color: #94a3b8;
}
.ct-post-hero img {
  width: 100%;
  border-radius: 16px;
  margin: 1.5rem 0;
}
.ct-post-content {
  line-height: 1.8;
}
.ct-post-content h2,
.ct-post-content h3 {
  margin-top: 2.5rem;
}

/* ===============================
   SINGLE POST – GUTENBERG RESET
================================ */

.ct-single-post {
  max-width: 900px;
  margin: 0 auto;
}

.ct-post-content {
  color: #cbd5f5;
  font-size: 1.05rem;
  line-height: 1.85;
}

/* Paragraphs */
.ct-post-content p {
  margin: 1.2rem 0;
}

/* Headings */
.ct-post-content h1,
.ct-post-content h2,
.ct-post-content h3,
.ct-post-content h4 {
  color: #f8fafc;
  margin-top: 2.6rem;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.ct-post-content h2 {
  font-size: 1.75rem;
}

.ct-post-content h3 {
  font-size: 1.4rem;
}

/* Links */
.ct-post-content a {
  color: var(--ct-accent);
  text-decoration: none;
}

.ct-post-content a:hover {
  text-decoration: underline;
}

/* Images */
.ct-post-content img {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  margin: 1.8rem 0;
}

/* Block images */
.ct-post-content .wp-block-image {
  margin: 2.2rem 0;
}

/* Lists */
.ct-post-content ul,
.ct-post-content ol {
  margin: 1.5rem 0 1.5rem 1.5rem;
}

.ct-post-content li {
  margin-bottom: 0.6rem;
}

/* Quotes */
.ct-post-content blockquote {
  background: var(--ct-surface-soft);
  border-left: 4px solid var(--ct-accent);
  padding: 1.4rem 1.6rem;
  margin: 2.2rem 0;
  border-radius: 12px;
  color: #e5e7eb;
}

/* Code */
.ct-post-content code {
  background: rgba(255,255,255,0.08);
  padding: 0.2rem 0.4rem;
  border-radius: 6px;
  font-size: 0.95rem;
}

.ct-post-content pre {
  background: #020617;
  padding: 1.4rem;
  border-radius: 14px;
  overflow-x: auto;
}
/* ===============================
   SINGLE POST LAYOUT + SIDEBAR
================================ */

.ct-single-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 3rem;
  align-items: start;
}

/* Main article */
.ct-post {
  max-width: 100%;
}

/* Sidebar */
.ct-sidebar {
  position: sticky;
  top: 110px;
}

.ct-sidebar-box {
  background: var(--ct-surface);
  border-radius: 16px;
  padding: 1.4rem 1.6rem;
  margin-bottom: 1.8rem;
}

.ct-sidebar-box h3 {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: #f8fafc;
}

.ct-sidebar-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ct-sidebar-box li {
  margin-bottom: 0.75rem;
}

.ct-sidebar-box a {
  color: #cbd5f5;
  font-size: 0.95rem;
  text-decoration: none;
}

.ct-sidebar-box a:hover {
  color: var(--ct-accent);
}

/* Category count */
.ct-sidebar-box .count {
  color: #64748b;
  font-size: 0.75rem;
  margin-left: 4px;
}

/* Mobile */
@media (max-width: 1024px) {
  .ct-single-layout {
    grid-template-columns: 1fr;
  }

  .ct-sidebar {
    position: static;
  }
}
/* ===============================
   SINGLE BLOG WIDTH OVERRIDE
================================ */

.single-post .ct-single-layout {
  max-width: 1260px !important;
  margin-left: auto;
  margin-right: auto;
}

/* ===============================
   CONTENT IMAGES CLEANUP
================================ */

.ct-post-content img,
.ct-post-content figure img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 14px;
}

/* Gutenberg full-width/image-size alignment */
.ct-post-content .wp-block-image.alignwide img,
.ct-post-content .wp-block-image.alignfull img {
  width: 100%;
  max-width: 100%;
}

/* Prevent overflow on galleries */
.ct-post-content .wp-block-gallery .blocks-gallery-image img {
  max-width: 100%;
  height: auto;
}

/* ===============================
   FIX WP CAPTION INLINE WIDTH
================================ */

.ct-post-content .wp-caption {
  width: auto !important;      /* override inline width: ####px */
  max-width: 100% !important;  /* never exceed container */
}

.ct-post-content .wp-caption img {
  width: 100% !important;      /* fill caption box */
  max-width: 100% !important;
  height: auto !important;
  display: block;
}

.ct-post-content .wp-caption-text {
  margin-top: 0.6rem;
  color: #94a3b8;
  font-size: 0.85rem;
  text-align: center;
}
/* ===============================
   FOOTER – ADVANCED
================================ */

.ct-footer-posts li {
  margin-bottom: 0.6rem;
}

.ct-footer-posts a {
  color: #cbd5f5;
  font-size: 0.9rem;
  line-height: 1.4;
}

.ct-footer-posts a:hover {
  color: var(--ct-accent);
}

/* Newsletter */
.ct-footer-newsletter {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

.ct-footer-newsletter input {
  flex: 1;
  background: #020617;
  border: 1px solid rgba(148,163,184,0.25);
  color: #f8fafc;
  padding: 0.55rem 0.7rem;
  border-radius: 8px;
  font-size: 0.85rem;
}

.ct-footer-newsletter input::placeholder {
  color: #64748b;
}

.ct-footer-newsletter button {
  background: var(--ct-accent);
  border: none;
  color: #020617;
  padding: 0.55rem 0.9rem;
  border-radius: 8px;
  font-size: 0.85rem;
  cursor: pointer;
}

.ct-footer-newsletter button:hover {
  opacity: 0.9;
}

/* Socials */
.ct-footer-socials {
  display: flex;
  gap: 0.9rem;
  margin-bottom: 1rem;
}

.ct-footer-socials a {
  font-size: 0.85rem;
  color: #94a3b8;
  text-decoration: none;
}

.ct-footer-socials a:hover {
  color: var(--ct-accent);
}

/* Legal links */
.ct-footer-legal {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ct-footer-legal li {
  margin-bottom: 0.5rem;
}

.ct-footer-legal a {
  font-size: 0.8rem;
  color: #64748b;
}

.ct-footer-legal a:hover {
  color: var(--ct-accent);
}

/* ===============================
   FOOTER FORCE STYLES (FIX)
================================ */

body footer.ct-footer {
  background: #fff;
  border-top: 1px solid rgba(148,163,184,0.15);
  width: 100%;
}

body footer.ct-footer * {
  box-sizing: border-box;
}

body .ct-footer-inner {
  max-width: 100%;
  margin: 0 auto;
  padding: 3.75rem clamp(4rem, 4vw, 2.5rem);
}
/* ===============================
   FOOTER GRID FIX (DESKTOP)
================================ */

footer.ct-footer .ct-footer-inner {
  display: grid !important;
  grid-template-columns: 1.5fr 1fr 1fr 1fr !important;
  gap: 2.5rem;
}

/* Only stack on actual mobile */
@media (max-width: 900px) {
  footer.ct-footer .ct-footer-inner {
    grid-template-columns: 1fr !important;
  }
}

.ct-footer-bottom {
  max-width: 100%;
  width: 100%;
  margin: 0 auto;
  font-size: 13px;
  border-top: 1px solid rgba(148,163,184,0.15);
  padding: 0.5rem clamp(4rem, 4vw, 2.5rem);
}

/* ===============================
   HOME PAGE
================================ */

.ct-home section {
  padding: 3rem 1rem;
}
/* HERO */
.ct-home-hero {
  background: radial-gradient(circle at top, #0b1020, #020617);
  text-align: center;
	padding:4rem 1rem!important;
}

.ct-home-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  max-width: 900px;
  margin: 0 auto 1rem;
}

.ct-home-hero p {
  max-width: 680px;
  margin: 0 auto 2rem;
  color: #94a3b8;
}

.ct-hero-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

/* BUTTONS */
.ct-btn-primary {
  background: var(--ct-accent);
  color: #020617;
  padding: 0.7rem 1.2rem;
  border-radius: 10px;
  text-decoration: none;
}

.ct-btn-secondary {
  border: 1px solid var(--ct-border-subtle);
  padding: 0.7rem 1.2rem;
  border-radius: 10px;
  color: #e5e7eb;
  text-decoration: none;
}

/* TOOLS */
.ct-tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.ct-tool-card {
  background: var(--ct-surface);
  border-radius: 16px;
  padding: 1.6rem;
  text-decoration: none;
  color: inherit;
  transition: transform .2s ease;
}

.ct-tool-card:hover {
  transform: translateY(-4px);
}

.ct-tool-disabled {
  opacity: 0.5;
  pointer-events: none;
}
/* ===============================
   HOME PAGE CONTAINER WIDTH
================================ */

/* Constrain homepage content */
.home .ct-container {
  max-width: 1260px;
  margin-left: auto;
  margin-right: auto;
}

/* Widgets & Enhancements */
.ct-reading-progress {
 position: fixed;
 top: 0;
 left: 0;
 height: 3px;
 background: var(--ct-accent);
 width: 0;
 z-index: 9999;
}
.ct-widget {
 background: var(--ct-surface);
 border-radius: 14px;
 padding: 1rem;
}
.ct-top-coins ul { list-style:none; padding:0; margin:0; }
.ct-top-coins li { display:flex; justify-content:space-between; font-size:.9rem; margin-bottom:.4rem; }


/* ===============================
   ENHANCEMENTS: TICKER, TRUST, PROGRESS, WIDGETS
================================ */

/* Reading progress bar */
.ct-reading-progress-wrap{
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  z-index: 99999;
  pointer-events: none;
}
.ct-reading-progress{
  display:block;
  height: 100%;
  width: 0%;
  background: var(--ct-accent);
  opacity: .95;
}

/* Offset progress bar under WP admin bar */
html.admin-bar .ct-reading-progress-wrap{ top: 32px; }
@media (max-width: 782px){
  html.admin-bar .ct-reading-progress-wrap{ top: 46px; }
}

/* Market ticker */
.ct-market-ticker-wrap{
  border-top: 1px solid rgba(148,163,184,0.15);
  border-bottom: 1px solid rgba(148,163,184,0.12);
  background: rgba(2,6,23,0.75);
  backdrop-filter: blur(10px);
}
.ct-market-ticker{
  overflow:hidden;
}
.ct-market-ticker-track{
  display:flex;
  gap: 1.25rem;
  padding: .65rem 1rem;
  width: max-content;
  animation: ctTicker 28s linear infinite;
}
@media (prefers-reduced-motion: reduce){
  .ct-market-ticker-track{ animation: none; flex-wrap: wrap; width: auto; }
}
@keyframes ctTicker{
  0%{ transform: translateX(0); }
  100%{ transform: translateX(-50%); }
}
.ct-ticker-item{
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  padding:.35rem .6rem;
  border: 1px solid rgba(148,163,184,0.18);
  background: rgba(11,16,32,0.55);
  border-radius: 999px;
  white-space: nowrap;
}
.ct-ticker-symbol{ color:#e5e7eb; font-weight:600; letter-spacing:.02em; }
.ct-ticker-price{ color:#cbd5f5; font-variant-numeric: tabular-nums; }
.ct-ticker-change{ font-size:.82rem; font-variant-numeric: tabular-nums; }
.ct-ticker-change.is-up{ color:#34d399; }
.ct-ticker-change.is-down{ color:#fb7185; }
.ct-ticker-change.is-neutral{ color:#94a3b8; }

/* Trust strip */
.ct-trust{ padding: 1.5rem 0 0; }
.ct-trust-strip{
  display:flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .75rem;
  padding: .85rem 1rem;
  border: 1px solid rgba(148,163,184,0.16);
  border-radius: 14px;
  background: rgba(11,16,32,0.55);
}
.ct-trust-strip span{
  color:#cbd5f5;
  font-size:.9rem;
  padding: .35rem .65rem;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.14);
  background: rgba(2,6,23,0.35);
}

/* Homepage featured split */
.ct-hero-feature{
  margin-top: 2.25rem;
  display:grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.5rem;
  align-items: stretch;
}
@media (max-width: 1024px){
  .ct-hero-feature{ grid-template-columns: 1fr; }
}

.ct-featured-tool{
  background: linear-gradient(180deg, rgba(56,189,248,0.10), rgba(11,16,32,0.55));
  border: 1px solid rgba(56,189,248,0.22);
  border-radius: 18px;
  padding: 1.6rem;
}
.ct-featured-tag{
  display:inline-block;
  font-size:.75rem;
  color:#7dd3fc;
  background: rgba(56,189,248,0.12);
  border: 1px solid rgba(56,189,248,0.18);
  padding: .25rem .55rem;
  border-radius: 999px;
  margin-bottom: .8rem;
}
.ct-btn-tertiary{
  display:inline-block;
  margin-top: .8rem;
  color: var(--ct-accent);
  text-decoration:none;
  font-weight:600;
}
.ct-btn-tertiary:hover{ text-decoration: underline; }

/* Widget: Top coins */
.ct-widget{
  background: var(--ct-surface);
  border: 1px solid rgba(148,163,184,0.18);
  border-radius: 18px;
  overflow: hidden;
}
.ct-widget-head{
  padding: 1rem 1.1rem;
  border-bottom: 1px solid rgba(148,163,184,0.12);
}
.ct-widget h3{ margin:0; font-size:1rem; color:#f8fafc; }
.ct-top-coins-list{
  list-style:none;
  margin:0;
  padding: .35rem 0;
}
.ct-top-coins-row{
  display:grid;
  grid-template-columns: 28px 1fr auto auto;
  gap: .75rem;
  align-items:center;
  padding: .7rem 1.1rem;
  border-top: 1px solid rgba(148,163,184,0.08);
}
.ct-top-coins-row:first-child{ border-top: none; }
.ct-top-rank{ color:#64748b; font-variant-numeric: tabular-nums; }
.ct-top-name{ color:#e5e7eb; font-weight:600; }
.ct-top-symbol{ color:#94a3b8; font-weight:500; margin-left:.35rem; font-size:.85rem; }
.ct-top-price{ color:#cbd5f5; font-variant-numeric: tabular-nums; }
.ct-top-chg{ font-variant-numeric: tabular-nums; font-size:.9rem; }
.ct-top-chg.is-up{ color:#34d399; }
.ct-top-chg.is-down{ color:#fb7185; }
.ct-top-chg.is-neutral{ color:#94a3b8; }

/* Micro-interactions */
.ct-tool-card, .ct-article-card, .ct-widget, .ct-featured-tool {
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
}
.ct-tool-card:hover, .ct-article-card:hover{
  box-shadow: 0 14px 40px rgba(0,0,0,.45);
  border-color: rgba(56,189,248,0.25);
}
.ct-btn-primary, .ct-btn-secondary{
  transition: transform .15s ease, opacity .15s ease, box-shadow .2s ease;
}
.ct-btn-primary:hover{
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(56,189,248,0.18);
}
.ct-btn-secondary:hover{
  transform: translateY(-1px);
}

/* Reveal on scroll */
.ct-reveal{
  opacity: 0;
  transform: translateY(10px);
}
.ct-reveal.is-visible{
  opacity: 1;
  transform: translateY(0);
  transition: opacity .55s ease, transform .55s ease;
}
@media (prefers-reduced-motion: reduce){
  .ct-reveal{ opacity:1; transform:none; }
}

/* ===============================
   FORCE READING PROGRESS BAR SIZE
================================ */

.ct-reading-progress-wrap {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px !important;
  max-height: 3px !important;
  overflow: hidden !important;
  z-index: 99999;
  pointer-events: none;
}

.ct-reading-progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 3px !important;
  max-height: 3px !important;
  width: 0%;
  background: var(--ct-accent);
  display: block;
}

/* Respect admin bar */
html.admin-bar .ct-reading-progress-wrap {
  top: 32px;
}

@media (max-width: 782px) {
  html.admin-bar .ct-reading-progress-wrap {
    top: 46px;
  }
}

/* Pause ticker on hover */
.ct-market-ticker:hover .ct-market-ticker-track {
  animation-play-state: paused;
}

/* Clickable ticker */
.ct-ticker-item {
  cursor: pointer;
}

/* Sparkline */
.ct-sparkline {
  width: 60px;
  height: 18px;
  background: linear-gradient(90deg, rgba(56,189,248,.8), rgba(56,189,248,.2));
  border-radius: 4px;
  opacity: .6;
}
/* ===============================
   HOMEPAGE ARTICLES (EDITORIAL)
================================ */

.ct-home-articles {
  margin-top: 1rem;
}

.ct-article-featured {
  margin-bottom: 2rem;
}

.ct-article-featured img {
  width: 100%;
  height: auto;
  border-radius: 18px;
  display: block;
}

.ct-article-featured h3 {
  margin-top: 1rem;
  font-size: 1.4rem;
  line-height: 1.35;
}

.ct-article-secondary {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

@media (max-width: 768px) {
  .ct-article-secondary {
    grid-template-columns: 1fr;
  }
}

.ct-article-secondary article {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--ct-surface);
  border: 1px solid rgba(148,163,184,0.15);
  border-radius: 14px;
  padding: .75rem;
}

.ct-article-secondary img {
  width: 96px;
  height: 64px;
  object-fit: cover;
  border-radius: 8px;
}

.ct-article-secondary h4 {
  margin: 0;
  font-size: .95rem;
  line-height: 1.4;
}

/* ===============================
   HOMEPAGE ARTICLES – COMPACT LIST
================================ */

.ct-home-articles {
  margin-top: 0rem;
}

.ct-article-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.ct-article-row {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: .75rem;
  background: var(--ct-surface);
  border: 1px solid rgba(148,163,184,0.14);
  border-radius: 14px;
  transition: background .2s ease, border-color .2s ease;
}

.ct-article-row:hover {
  background: rgba(15,23,42,0.9);
  border-color: rgba(56,189,248,0.25);
}

/* Homepage compact article list ONLY */
.ct-home-articles .ct-article-thumb img {
  width: 110px;
  height: 74px;
  object-fit: cover;
}


.ct-article-meta h3 {
  margin: 0 0 .25rem;
  font-size: 1rem;
  line-height: 1.4;
}

.ct-article-meta a {
  color: #e5e7eb;
  text-decoration: none;
}

.ct-article-meta a:hover {
  color: var(--ct-accent);
}

.ct-article-date {
  font-size: .8rem;
  color: #94a3b8;
}

@media (max-width: 640px) {
  .ct-article-row {
    align-items: flex-start;
  }

  .ct-article-thumb img {
    width: 100%;
    height: auto;
  }
}
/* Prevent CTA overlap with article list */
.ct-article-list {
  margin-bottom: 1.75rem;
}

.ct-home-more {
  margin-top: .5rem;
}

.ct-article-body h2 { font-size:15px;}

.ct-container.ct-blog-archive {
  padding: 1rem 2rem;
}

/* ===============================
   CORE TOOL ICONS – UNBOXED
================================ */

.ct-tool-icon {
  width: 64px;
  height: 64px;
  margin-bottom: .75rem;
  display: block;
  transition: transform .25s ease, filter .25s ease;
}

/* Hover motion */
.ct-tool-card:hover .ct-tool-icon {
  transform: translateY(-4px) scale(1.05);
  filter: drop-shadow(0 10px 22px rgba(0,0,0,.45));
}

.ct-tool-bubbles .ct-tool-icon {
  fill: url(#ct-gradient-bubbles);
}

.ct-tool-icon {
  width: 64px;
  height: 64px;
  margin-bottom: .75rem;
  display: block;
  transition: transform .25s ease, filter .25s ease;
}

.ct-tool-card:hover .ct-tool-icon {
  transform: translateY(-4px) scale(1.05);
  filter: drop-shadow(0 10px 22px rgba(0,0,0,.45));
}

.ct-tool-soon {
  opacity: .75;
}

.ct-tool-soon:hover {
  opacity: .9;
}

/* =========================
   Key Takeaways
   ========================= */

.key-takeaways {
  margin: 2.5rem 0;
  padding: 1.75rem 2rem;
  background: #faefff;
  border: 1px solid #fb7185;

  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.key-takeaways strong {
  display: block;

  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #1e293b;
}

.key-takeaways p {
  padding: 0 !important;
  margin: 0 0 10px;
}

.key-takeaways ul {
  margin: 0;
  padding-left: 1.25rem;
}

.key-takeaways li {
  margin-bottom: 0.6rem;
  line-height: 1.6;
  color: #334155;
	font-size: 15px;
}

.key-takeaways li:last-child {
  margin-bottom: 0;
}

/* =========================
   FAQ Section
   ========================= */

.faq {
  margin:  0;
  padding: 2.5rem 2rem;
  background:#cbd5f5;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06);
	
}

.faq h2 {
  margin-top: 0;
  font-size: 30px;
  font-weight: 700;
  color: #0f172a;
}

.faq h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  color: #1e293b;
	padding:20px 0;
}
.faq li { color:#0f172a}

.faq p {
  margin: 0;
  line-height: 1.65;
  color: #374151;
}

.faq h3:first-of-type {
  margin-top: 0;
}

/* =========================
   HOME – DIFFERENCE SECTION
   ========================= */

.ct-home-difference {
  position: relative;
  padding: clamp(4rem, 6vw, 6rem) 0;
  background:
    radial-gradient(
      1200px 400px at 50% -10%,
      rgba(56, 189, 248, 0.08),
      transparent 60%
    ),
    linear-gradient(
      to bottom,
      rgba(15, 23, 42, 0.6),
      rgba(15, 23, 42, 0.9)
    );
  border-top: 1px solid rgba(148, 163, 184, 0.08);
  border-bottom: 1px solid rgba(148, 163, 184, 0.08);
}

.ct-home-difference .ct-section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3rem;
}

.ct-home-difference .ct-section-head h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  letter-spacing: -0.02em;
}

.ct-home-difference-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.ct-home-difference-grid > div {
  position: relative;
  padding: 1.75rem 1.75rem 2rem;
  border-radius: 16px;
  background:
    linear-gradient(
      180deg,
      rgba(30, 41, 59, 0.9),
      rgba(15, 23, 42, 0.9)
    );
  border: 1px solid rgba(148, 163, 184, 0.12);
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.ct-home-difference-grid > div:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 189, 248, 0.35);
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.ct-home-difference-grid h3 {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.ct-home-difference-grid p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(226, 232, 240, 0.85);
}

/* Subtle accent bar */
.ct-home-difference-grid > div::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 16px 16px 0 0;
  background: linear-gradient(
    90deg,
    #38bdf8,
    #22d3ee,
    #2dd4bf
  );
  opacity: 0.6;
}
/* =========================
   HOME – DISCLAIMER
   ========================= */

.ct-home-disclaimer {
  position: relative;
  padding: clamp(2.5rem, 4vw, 3.5rem) 0;
  margin-top: 4rem;
  background:
    radial-gradient(
      800px 200px at 50% 0%,
      rgba(250, 204, 21, 0.08),
      transparent 60%
    ),
    linear-gradient(
      to bottom,
      rgba(15, 23, 42, 0.85),
      rgba(2, 6, 23, 0.95)
    );
  border-top: 1px solid rgba(148, 163, 184, 0.15);
}

.ct-home-disclaimer::before {
  content: "⚠";
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    #facc15,
    #f97316
  );
  color: #020617;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.45);
}

.ct-home-disclaimer .ct-container {
  max-width: 900px;
}

.ct-home-disclaimer p {
  position: relative;
  margin: 0 auto;
  padding: 1.25rem 1.75rem;
  border-radius: 14px;
  background: rgba(2, 6, 23, 0.6);
  border: 1px dashed rgba(250, 204, 21, 0.35);
  font-size: 0.9rem;
  line-height: 1.6;
  text-align: center;
  color: rgba(226, 232, 240, 0.85);
}

/* Optional emphasis */
.ct-home-disclaimer p strong {
  color: #facc15;
  font-weight: 600;
}

/* =========================
   BLOG – PAGINATION
   ========================= */

.ct-pagination {
  margin: 3rem 0 1rem;
}

.ct-pagination .navigation.pagination {
  display: flex;
  justify-content: center;
}

.ct-pagination .nav-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(148, 163, 184, 0.15);
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

/* Page numbers */
.ct-pagination .page-numbers {
  min-width: 38px;
  height: 38px;
  padding: 0 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  color: rgba(226, 232, 240, 0.85);
  background: rgba(2, 6, 23, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.15);
  transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease,
    border-color 0.2s ease;
}

/* Hover */
.ct-pagination a.page-numbers:hover {
  background: rgba(56, 189, 248, 0.15);
  border-color: rgba(56, 189, 248, 0.4);
  color: #e0f2fe;
  transform: translateY(-1px);
}

/* Current page */
.ct-pagination .page-numbers.current {
  background: linear-gradient(
    135deg,
    #38bdf8,
    #22d3ee,
    #2dd4bf
  );
  color: #020617;
  font-weight: 600;
  border-color: transparent;
  box-shadow:
    0 6px 18px rgba(34, 211, 238, 0.45);
}

/* Next / Prev */
.ct-pagination .page-numbers.next,
.ct-pagination .page-numbers.prev {
  padding: 0 1rem;
  font-weight: 600;
}

/* Disabled states (if WP adds them later) */
.ct-pagination .page-numbers.dots {
  background: transparent;
  border: none;
  color: rgba(148, 163, 184, 0.6);
}

.ct-pagination {
  animation: ctFadeUp 0.4s ease both;
}

@keyframes ctFadeUp {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================================================
   LIGHT WELLNESS OVERRIDES
   ---------------------------------------------------------
   This section intentionally comes LAST so it can override
   any legacy dark styles without having to refactor the
   entire file.
   ========================================================= */

/* General surfaces */
body { background-color: var(--ct-bg); }

.site-header {
  background: #fff!important;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08) !important;
}

/* Nav */
.site-nav a { color: var(--ct-text-main) !important; }
.menu-toggle { border-color: rgba(15, 23, 42, 0.18) !important; color: var(--ct-text-main) !important; }
.menu-toggle-icon span { background: var(--ct-text-main) !important; }

@media (max-width: 900px) {
  .site-nav {
    background: rgba(255, 255, 255, 0.96) !important;
    box-shadow: 0 18px 35px rgba(15, 23, 42, 0.12) !important;
  }
}

/* Cards / blocks */
.ct-article-card,
.ct-tool-card,
.ct-sidebar-box,
.ct-widget,
.ct-article-secondary article,
.ct-article-row {
  background: var(--ct-surface) !important;
  border: 1px solid rgba(15, 23, 42, 0.10) !important;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.ct-article-card:hover,
.ct-tool-card:hover {
  box-shadow: 0 16px 45px rgba(15, 23, 42, 0.10) !important;
}

/* Text */
.ct-post-content { color: var(--ct-text-soft) !important; }
.ct-post-content h1,
.ct-post-content h2,
.ct-post-content h3,
.ct-post-content h4,
.ct-sidebar-box h3,
.ct-widget h3 { color: var(--ct-text-main) !important; }

.ct-article-meta,
.ct-post-meta,
.ct-article-date,
.ct-top-rank,
.ct-sidebar-box .count,
.ct-post-content .wp-caption-text { color: var(--ct-text-muted) !important; }

.ct-article-meta a,
.ct-top-name,
.ct-top-price,
.ct-sidebar-box a { color: var(--ct-text-main) !important; }

.ct-sidebar-box a:hover,
.ct-article-meta a:hover { color: var(--ct-accent) !important; }

/* Post blocks */
.ct-post-content blockquote {
  background: var(--ct-surface-soft) !important;
  color: var(--ct-text-soft) !important;
  border-left-color: var(--ct-accent) !important;
}

.ct-post-content code {
  background: rgba(15, 23, 42, 0.06) !important;
  color: var(--ct-text-main) !important;
}

.ct-post-content pre {
  background: var(--ct-surface-soft) !important;
  border: 1px solid rgba(15, 23, 42, 0.10);
}

/* Home hero */
.ct-home-hero {
  background: radial-gradient(circle at top, #ffffff, #f3f4f6) !important;
}

.ct-home-hero p { color: var(--ct-text-muted) !important; }

/* Buttons */
.ct-btn-primary {
  background: var(--ct-accent) !important;
  color: #ffffff !important;
  box-shadow: 0 10px 22px rgba(122, 151, 48, 0.18);
}

.ct-btn-secondary {
  background: #ffffff !important;
  border: 1px solid rgba(15, 23, 42, 0.16) !important;
  color: var(--ct-text-main) !important;
}

.ct-btn-primary:hover { box-shadow: 0 14px 32px rgba(122, 151, 48, 0.22) !important; }

/* Featured tool block */
.ct-featured-tool {
  background: linear-gradient(180deg, var(--ct-accent-soft), rgba(15, 23, 42, 0.03)) !important;
  border-color: rgba(122, 151, 48, 0.22) !important;
}

.ct-featured-tag {
  color: var(--ct-accent) !important;
  background: var(--ct-accent-soft) !important;
  border-color: rgba(122, 151, 48, 0.22) !important;
}

/* Ticker + trust strip */
.ct-market-ticker-wrap {
  background: rgba(255, 255, 255, 0.85) !important;
  border-top: 1px solid rgba(15, 23, 42, 0.08) !important;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06) !important;
}

.ct-ticker-item {
  background: rgba(15, 23, 42, 0.03) !important;
  border-color: rgba(15, 23, 42, 0.10) !important;
}

.ct-ticker-symbol,
.ct-ticker-price { color: var(--ct-text-main) !important; }

.ct-trust-strip,
.ct-trust-strip span {
  background: rgba(255, 255, 255, 0.75) !important;
  border-color: rgba(15, 23, 42, 0.10) !important;
  color: var(--ct-text-soft) !important;
}

/* Compact article row hover (remove dark hover) */
.ct-article-row:hover {
  background: rgba(122, 151, 48, 0.06) !important;
  border-color: rgba(122, 151, 48, 0.22) !important;
}

/* Difference section (convert to light) */
.ct-home-difference {
  background:
    radial-gradient(1200px 400px at 50% -10%, rgba(122, 151, 48, 0.10), transparent 60%),
    linear-gradient(to bottom, #ffffff, #f3f4f6) !important;
  border-top-color: rgba(15, 23, 42, 0.06) !important;
  border-bottom-color: rgba(15, 23, 42, 0.06) !important;
}

.ct-home-difference-grid > div {
  background: #ffffff !important;
  border-color: rgba(15, 23, 42, 0.10) !important;
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.08) !important;
}

.ct-home-difference-grid p { color: var(--ct-text-muted) !important; }

.ct-home-difference-grid > div::before {
  background: linear-gradient(90deg, var(--ct-accent), var(--ct-accent-2)) !important;
  opacity: 0.75 !important;
}

/* Disclaimer section (convert to light) */
.ct-home-disclaimer {
  background:
    radial-gradient(800px 200px at 50% 0%, rgba(240, 160, 109, 0.16), transparent 60%),
    linear-gradient(to bottom, #ffffff, #f3f4f6) !important;
  border-top-color: rgba(15, 23, 42, 0.08) !important;
}

.ct-home-disclaimer::before {
  color: #ffffff !important;
  background: linear-gradient(135deg, var(--ct-accent-2), #f59e0b) !important;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.10) !important;
}

.ct-home-disclaimer p {
  background: #ffffff !important;
  border-color: rgba(240, 160, 109, 0.45) !important;
  color: var(--ct-text-soft) !important;
}

.ct-home-disclaimer p strong { color: var(--ct-accent) !important; }

/* Pagination */
.ct-pagination .nav-links {
  background: rgba(255, 255, 255, 0.9) !important;
  border-color: rgba(15, 23, 42, 0.10) !important;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08) !important;
}

.ct-pagination .page-numbers {
  background: rgba(15, 23, 42, 0.03) !important;
  border-color: rgba(15, 23, 42, 0.10) !important;
  color: var(--ct-text-main) !important;
}

.ct-pagination a.page-numbers:hover {
  background: rgba(122, 151, 48, 0.10) !important;
  border-color: rgba(122, 151, 48, 0.35) !important;
  color: var(--ct-text-main) !important;
}

.ct-pagination .page-numbers.current {
  background: linear-gradient(135deg, var(--ct-accent), var(--ct-accent-2)) !important;
  color: #ffffff !important;
  box-shadow: 0 10px 22px rgba(122, 151, 48, 0.18) !important;
}

/* Footer */
body footer.ct-footer {
  background: #fff !important;
  border-top-color: rgba(15, 23, 42, 0.08) !important;
}

.ct-footer-bottom { border-top-color: rgba(15, 23, 42, 0.08) !important; }

.ct-footer-posts a { color: var(--ct-text-main) !important; }
.ct-footer-socials a,
.ct-footer-legal a,
.site-footer { color: var(--ct-text-muted) !important; }

.ct-footer-newsletter input {
  background: #ffffff !important;
  border-color: rgba(15, 23, 42, 0.12) !important;
  color: var(--ct-text-main) !important;
}

.ct-footer-newsletter button {
  background: var(--ct-accent) !important;
  color: #ffffff !important;
}

/* Sparkline (keep subtle) */
.ct-sparkline {
  background: linear-gradient(90deg, rgba(122, 151, 48, 0.55), rgba(122, 151, 48, 0.12)) !important;
}


/* === Logo pop-out enhancement === */


.ct-header,
.site-header {
  position: relative;
  overflow: visible;
}

.ct-header-logo {
  background: #ffffff;
  padding: 10px 14px;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.ct-header-logo img {
  height: 72px;
  width: auto;
  transform: translateY(18px);
  transition: transform 0.25s ease, height 0.25s ease;
}

@media (max-width: 768px) {
  .ct-header-logo img {
    height: 56px;
    transform: translateY(10px);
  }
}


/* === Header logo pop (corrected selectors) === */

header,
.ct-header {
  position: relative;
  overflow: visible;
}

header .custom-logo, header img.custom-logo {
  height: auto;
  max-height: 111px !important;
  width: auto;
  transform: translateY(14px);
  padding: 0px 0 0px 0px;
  border-radius: 16px;
}

@media (max-width: 768px) {
  header .custom-logo,
  header img.custom-logo {
    height: 56px;
    transform: translateY(8px);
  }
}

/* === Hero visual treatment === */

.ct-home-hero {
  position: relative;
  background:
    radial-gradient(1200px 400px at 80% 20%, rgba(166,184,79,0.18), transparent 60%),
    radial-gradient(800px 300px at 20% 60%, rgba(244,178,140,0.18), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #f7f9f4 100%);
  overflow: hidden;
}

.ct-home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='200' viewBox='0 0 600 200'%3E%3Cg fill='none' stroke='%23a6b84f' stroke-width='1' opacity='0.12'%3E%3Cpath d='M0 100 Q150 50 300 100 T600 100'/%3E%3Cpath d='M0 140 Q150 90 300 140 T600 140'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: bottom center;
  pointer-events: none;
}


/* ================================
   SIBARITA — Food‑led Editorial Hero
   A + B + C (Editorial · Friendly · Premium)
================================ */

/* Header: calm, anchored, branded */
header,
.site-header {
  background:#fff;
  border-bottom: 1px solid #eef1e8;
}

header img.custom-logo {
  height: 64px;
  width: auto;
}

/* Hero container */
.ct-home-hero {
  position: relative;
  background-color: #fafbf7;
  padding: 5.5rem 0 5rem;
  overflow: hidden;
}

/* Food‑led illustration pattern */
.ct-home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 400'%3E%3Cg fill='%23a6b84f' fill-opacity='0.09'%3E%3Cellipse cx='120' cy='80' rx='34' ry='14'/%3E%3Cellipse cx='260' cy='150' rx='26' ry='12'/%3E%3Cellipse cx='420' cy='90' rx='38' ry='16'/%3E%3Cellipse cx='560' cy='170' rx='30' ry='13'/%3E%3Cellipse cx='690' cy='110' rx='28' ry='12'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 420px 220px;
  pointer-events: none;
}

/* Ensure content sits cleanly above pattern */
.ct-home-hero .ct-container {
  position: relative;
  z-index: 1;
}

/* Hero typography refinement */
.ct-home-hero h1 {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.ct-home-hero p {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* Subtle divider after hero */
.ct-home-hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 140px;
  height: 3px;
  background: linear-gradient(
    90deg,
    transparent,
    #a6b84f,
    #f4b28c,
    transparent
  );
  border-radius: 2px;
}

.site-header {
  background:#fff!important;
}

.site-header-inner {
  width: 100%;
  margin: 0;
  padding: 1.1rem clamp(2rem, 4vw, 2.5rem);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.site-logo {
  grid-column: 2;
  justify-self: center;
  position: relative;
  z-index: 3;
}

.site-nav {
  grid-column: 3;
  justify-self: end;
}

.menu-toggle {
  grid-column: 3;
  justify-self: end;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 250, 244, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  overflow: visible;
}

.site-logo a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ct-accent);
  text-decoration: none;
  padding-top: 0rem;
}
.site-logo::after {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  bottom: -50px;
  left: 50%;
  transform: translateX(-50%);

  z-index: -2;
}
@media (max-width: 768px) {
  .site-logo::before,
  .site-logo::after {
    width: 160px;
    height: 160px;
    bottom: -80px;
  }
	.ct-article-grid {
  grid-template-columns: repeat(auto-fill,minmax(250px,1fr));
}

  .site-header-inner {
    grid-template-columns: auto 1fr auto;
  }

  .site-logo {
    grid-column: 2;
  }
	body .ct-footer-inner {
  max-width: 100%;
  margin: 0 auto;
  padding: 1.75rem clamp(2rem, 4vw, 2.5rem);
}
}

.site-header {
  position: relative;
  top: 0;
  z-index: 50;
  overflow: hidden; /* this is the key change */
}
.site-logo {
  position: relative;
  z-index: 3;
}
.hero {
  padding-top: clamp(4rem, 6vw, 6rem);
}

.site-main {
  width: 100%;
  max-width: none;
  margin: 1.5rem 0 2.5rem;
  padding-inline: 0;
}
.home .site-main {
  margin: 0;
}
.ct-post {
  padding: 20px;
}