/*
Theme Name: Boiler & Spares (Rivmedia Base)
Theme URI: https://boilerandspares.co.uk
Author: Rivmedia
Description: Fast, mobile-first theme for a boiler repair and spares business.
Version: 1.0.0
Text Domain: boilerandspares
*/

: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 (update if you have exact brand guidelines) */
  --ct-accent: #0b5ed7;            /* primary: service blue */
  --ct-accent-soft: rgba(11, 94, 215, 0.14);
  --ct-accent-2: #ff7a00;          /* secondary: CTA orange */
  --ct-accent-2-soft: rgba(255, 122, 0, 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%, rgba(11, 94, 215, 0.06) 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);
}

/* Top bar */
.site-topbar {
  background: linear-gradient(90deg, rgba(11, 94, 215, 0.12), rgba(255, 122, 0, 0.10));
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.site-topbar-inner {
  padding: 0.45rem clamp(1rem, 4vw, 2.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-topbar-msg {
  font-size: 0.85rem;
  color: var(--ct-text-soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.site-topbar-meta {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.site-topbar-link {
  font-size: 0.85rem;
  color: var(--ct-text-main);
  text-decoration: none;
}

.site-topbar-link:hover {
  text-decoration: underline;
}

.site-header-actions {
  display: flex;
  align-items: center;
}

.ct-btn-cta {
  background: var(--ct-accent-2);
}

.ct-btn-cta:hover {
  filter: brightness(0.97);
}

.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);
}

.ct-footer-contact {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.ct-footer-contact a {
  color: #cbd5f5;
  font-size: 0.9rem;
  text-decoration: none;
}

.ct-footer-contact a:hover {
  color: var(--ct-accent);
  text-decoration: underline;
}

/* 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;
}
/* =============================
   Boiler & Spares homepage
============================= */

.bas-home .ct-section-head {
  margin-bottom: 2rem;
}

.bas-hero {
  padding: 4.5rem 0 3.5rem;
  background: radial-gradient(circle at 15% 15%, rgba(11, 94, 215, 0.12), transparent 45%),
              radial-gradient(circle at 90% 10%, rgba(255, 122, 0, 0.12), transparent 55%),
              linear-gradient(180deg, #ffffff 0%, #f3f4f6 100%);
}

.bas-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: stretch;
}

.bas-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--ct-text-soft);
  background: rgba(11, 94, 215, 0.10);
  border: 1px solid rgba(11, 94, 215, 0.18);
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  font-size: 0.85rem;
  margin: 0 0 0.9rem;
}

.bas-hero-copy h1 {
  font-size: clamp(2rem, 3.2vw, 3rem);
  line-height: 1.1;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

.bas-hero-lead {
  font-size: 1.05rem;
  color: var(--ct-text-soft);
  max-width: 60ch;
}

.bas-hero-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
}

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

.bas-hero-badges li {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(15, 23, 42, 0.10);
  border-radius: 12px;
  padding: 0.7rem 0.75rem;
  font-size: 0.9rem;
}

.bas-hero-card {
  border-radius: 18px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.10);
  overflow: hidden;
}

.bas-hero-card-inner {
  padding: 1.4rem;
}

.bas-hero-card h2 {
  margin: 0 0 0.4rem;
  font-size: 1.25rem;
}

.bas-hero-mini {
  margin-top: 1rem;
  display: grid;
  gap: 0.6rem;
}

.bas-mini-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0.85rem;
  background: rgba(243, 244, 246, 0.75);
  border: 1px solid rgba(15, 23, 42, 0.10);
  border-radius: 14px;
  color: var(--ct-text-main);
  text-decoration: none;
}

.bas-mini-row:hover {
  text-decoration: none;
  border-color: rgba(11, 94, 215, 0.35);
}

.bas-mini-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(11, 94, 215, 0.12);
}

.bas-services,
.bas-steps,
.bas-latest {
  padding: 3.5rem 0;
}

.bas-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.bas-card {
  padding: 1.25rem 1.25rem 1.1rem;
  border-radius: 18px;
  background: var(--ct-surface);
  border: 1px solid rgba(15, 23, 42, 0.12);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.bas-card h3 {
  margin: 0 0 0.35rem;
}

.bas-card p {
  margin: 0 0 0.8rem;
  color: var(--ct-text-soft);
}

.bas-card-link {
  font-weight: 600;
  text-decoration: none;
  color: var(--ct-accent);
}

.bas-card-link:hover {
  text-decoration: underline;
}

.bas-steps {
  background: var(--ct-surface-soft);
}

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

.bas-step {
  border-radius: 18px;
  border: 1px solid rgba(15, 23, 42, 0.10);
  background: rgba(255, 255, 255, 0.8);
  padding: 1.25rem;
}

.bas-step-num {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 122, 0, 0.16);
  border: 1px solid rgba(255, 122, 0, 0.25);
  font-weight: 700;
  margin-bottom: 0.85rem;
}

.bas-cta-band {
  padding: 3rem 0;
  background: linear-gradient(90deg, rgba(11, 94, 215, 0.14), rgba(255, 122, 0, 0.12));
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.bas-cta-band-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.bas-cta-band-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.bas-home-more {
  margin-top: 1.75rem;
  display: flex;
  justify-content: center;
}

@media (max-width: 980px) {
  .bas-hero-grid {
    grid-template-columns: 1fr;
  }
  .bas-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .bas-hero {
    padding: 3.5rem 0 2.75rem;
  }
  .bas-hero-badges {
    grid-template-columns: 1fr;
  }
  .bas-card-grid {
    grid-template-columns: 1fr;
  }
  .bas-steps-grid {
    grid-template-columns: 1fr;
  }
  .site-topbar-meta {
    display: none;
  }
}


/* === Header & Nav Improvements === */
.site-header {
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.header-inner {
  max-width: 1290px;
  margin: auto;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo img { height: 48px; width: auto; }

.btn-primary {
  background: #f47b20;
  color: #fff;
  padding: 10px 18px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
}

.main-nav-wrap { background: #1f3b6d; }

.main-nav {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 24px;
}

.main-nav a {
  display: block;
  padding: 14px 0;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

.main-nav a:hover { color: #f47b20; }


/* === BRAND COLOUR REFINEMENTS === */
:root {
  --brand-blue: #1f3b6d;
  --brand-orange: #f47b20;
}

/* Hero / primary sections subtle tint */
.hero,
.home-hero,
.section-primary {
  background: linear-gradient(135deg, #f6f8fc 0%, #ffffff 100%);
}

/* Accent headings */
h1, h2, .section-title {
  color: var(--brand-blue);
}

/* Links */
a { color: var(--brand-blue); }
a:hover { color: var(--brand-orange); }

/* Buttons */
.button,
.btn,
.wp-block-button__link {
  background: var(--brand-orange);
  color: #fff;
  border-radius: 8px;
  padding: 12px 20px;
  font-weight: 600;
}
.button:hover,
.btn:hover,
.wp-block-button__link:hover {
  background: #d96512;
}

/* Cards */
.card,
.service-card {
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(31,59,109,0.06);
}

/* === FOOTER BRAND ALIGNMENT === */
.site-footer {
  background: var(--brand-blue);
  color: rgba(255,255,255,0.9);
  margin-top: 60px;
}

.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--brand-orange); }

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 20px 32px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  margin-top: 24px;
  padding-top: 16px;
  font-size: 14px;
  opacity: 0.85;
}


/* === SERVICE CARD GRID === */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  padding: 22px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 10px 28px rgba(31,59,109,0.08);
  transition: transform .18s ease, box-shadow .18s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(31,59,109,0.12);
}

/* === FOOTER ALIGNMENT FIX === */
.site-footer {
  background: var(--brand-blue);
  color: rgba(255,255,255,0.9);
}

.site-footer .footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 20px 32px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  align-items: start;
}

.site-footer .footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 20px 24px;
  border-top: 1px solid rgba(255,255,255,0.15);
  text-align: left;
}

/* Ensure logo alignment with header */
.site-footer img {
  max-height: 46px;
  width: auto;
}

/* Footer links */
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--brand-orange); }



/* === GLOBAL CONTENT PADDING FIX === */
.site-content,
main {
  padding-left: 20px;
  padding-right: 20px;
}

@media (min-width: 768px) {
  .site-content,
  main {
    padding-left: 24px;
    padding-right: 24px;
  }
}

/* === MOBILE NAVIGATION === */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 26px;
  color: var(--brand-blue);
}

@media (max-width: 768px) {
  .mobile-toggle {
    display: block;
  }

  .main-nav ul {
    display: none;
    flex-direction: column;
    background: var(--brand-blue);
    padding: 12px 0;
  }

  .main-nav ul.open {
    display: flex;
  }

  .main-nav a {
    padding: 12px 20px;
  }

  .header-inner {
    gap: 12px;
  }
}


/* === LOGO TRUE VERTICAL CENTER FIX ===
   WP custom logo markup is: <a class="custom-logo-link"><img class="custom-logo"></a>
   The anchor can inherit line-height and create extra baseline space.
*/
.header-inner { 
  min-height: 84px; 
  align-items: center;
}

.site-logo,
.site-logo .custom-logo-link {
  display: flex;
  align-items: center;
  height: 100%;
}

/* Remove baseline/line-height effects */
.site-logo .custom-logo-link {
  line-height: 0;
  margin: 0;
  padding: 0;
}

.site-logo img,
.site-logo .custom-logo {
  display: block;
  vertical-align: middle;
  height: 74px;
  width: auto;
  margin: 0;
}

/* Ensure other header items don't stretch oddly */
.btn-primary,
.mobile-toggle {
  align-self: center;
}


/* === VISUAL LOGO NUDGE (for assets with internal padding) ===
   If the logo still looks low/high, adjust --logo-nudge (e.g. -6px or 6px).
*/
:root { --logo-nudge: -0px; } /* negative moves logo UP */

.site-logo img,
.site-logo .custom-logo {
  transform: translateY(var(--logo-nudge));
}


/* === DEFAULT PAGE DESIGN === */
.page-default .container {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
}

.page-hero {
  margin-bottom: 32px;
}

.page-title {
  font-size: 2.4rem;
  color: var(--brand-blue);
}

.page-intro {
  font-size: 1.1rem;
  color: #64748b;
}

/* === SERVICE PAGE DESIGN === */
.service-hero {
  background: linear-gradient(135deg, #f6f8fc 0%, #ffffff 100%);
  padding: 60px 20px;
  text-align: center;
}

.service-hero h1 {
  color: var(--brand-blue);
  font-size: 2.6rem;
}

.service-intro {
  max-width: 640px;
  margin: 12px auto 24px;
  color: #64748b;
}

.service-content {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
}

.service-cta {
  background: var(--brand-blue);
  color: #fff;
  text-align: center;
  padding: 60px 20px;
}

.service-cta h2 {
  margin-bottom: 12px;
}


/* ===== DESIGNED SERVICE PAGE ===== */

.service-page-designed .container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Hero */
.service-hero {
  background: linear-gradient(135deg, #f5f7fb 0%, #ffffff 100%);
  padding: 80px 20px 70px;
  text-align: center;
}

.service-hero h1 {
  font-size: 2.8rem;
  color: var(--brand-blue);
}

.service-hero-actions {
  margin-top: 24px;
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-secondary {
  background: transparent;
  border: 2px solid var(--brand-blue);
  color: var(--brand-blue);
  padding: 10px 18px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
}

/* Trust strip */
.service-trust {
  background: #ffffff;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  padding: 24px 0;
  text-align: center;
  font-weight: 600;
  color: var(--brand-blue);
}

/* FAQ */
.service-faq {
  background: #f8fafc;
  padding: 70px 0;
}

.faq-item {
  max-width: 760px;
  margin: 0 auto 24px;
}

.faq-item h3 {
  margin-bottom: 6px;
  color: var(--brand-blue);
}

/* Final CTA */
.service-cta {
  background: var(--brand-blue);
  color: #fff;
  text-align: center;
  padding: 70px 20px;
}

.service-cta h2 {
  margin-bottom: 12px;
}


/* ===== PREMIUM SERVICE SYSTEM ===== */

.service-premium .container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.lead { font-size: 1.2rem; opacity: .9; margin-bottom: 20px; }

.grid-2 { display:grid; grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); gap:20px; }
.grid-3 { display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:20px; }
.grid-4 { display:grid; grid-template-columns:repeat(auto-fit,minmax(160px,1fr)); gap:16px; }

.card {
  background:#fff;
  border-radius:14px;
  padding:20px;
  box-shadow:0 10px 30px rgba(0,0,0,.06);
}

.hero-emergency { background:linear-gradient(135deg,#1f3b6d,#0f172a); color:#fff; padding:90px 20px; text-align:center; }
.hero-clean { background:#f8fafc; padding:80px 20px; text-align:center; }
.hero-tech { background:#eef2ff; padding:80px 20px; text-align:center; }
.hero-corporate { background:#1e293b; color:#fff; padding:90px 20px; text-align:center; }

.btn-ghost { border:2px solid #fff; padding:10px 18px; border-radius:8px; color:#fff; text-decoration:none; margin-left:10px; }

.cta-band { background:#1f3b6d; color:#fff; padding:60px 20px; text-align:center; margin-top:60px; }

.brand { background:#fff; padding:16px; text-align:center; border-radius:10px; box-shadow:0 6px 20px rgba(0,0,0,.05); }

.tick-list { list-style:none; padding:0; }
.tick-list li { margin-bottom:10px; }


/* ===== BALANCED PREMIUM REPAIRS PAGE ===== */

.service-balanced .container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* HERO */
.repairs-hero {
  background: linear-gradient(135deg, #1f3b6d 0%, #0f172a 100%);
  color: #fff;
  padding: 100px 0 90px;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  align-items: center;
}

.hero-text h1 {
  font-size: 2.8rem;
  margin-bottom: 12px;
}

.lead {
  font-size: 1.15rem;
  opacity: .95;
}

.hero-ctas {
  margin-top: 20px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-secondary {
  border: 2px solid #fff;
  padding: 10px 18px;
  border-radius: 8px;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

.trust-inline {
  display: flex;
  gap: 16px;
  margin-top: 18px;
  font-size: .9rem;
  opacity: .9;
  list-style: none;
  padding: 0;
}

/* HERO CARD */
.hero-card {
  background: #ffffff;
  color: #0f172a;
  padding: 28px;
  border-radius: 14px;
  box-shadow: 0 20px 40px rgba(0,0,0,.15);
}

.hero-card .full {
  display: block;
  margin-top: 14px;
  text-align: center;
}

/* FAULTS */
.repairs-faults {
  padding: 70px 0;
  background: #f8fafc;
}

.fault-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.fault-card {
  background: #fff;
  padding: 18px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,.06);
}

/* CONTENT */
.repairs-content {
  padding: 70px 0;
  max-width: 820px;
}

/* PROOF */
.repairs-proof {
  background: #ffffff;
  padding: 60px 0;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  text-align: center;
  gap: 20px;
}

.proof-grid strong {
  display: block;
  font-size: 1.8rem;
  color: #1f3b6d;
}

/* CTA */
.repairs-cta {
  background: #1f3b6d;
  color: #fff;
  padding: 80px 0;
  text-align: center;
}

.btn-primary.large {
  padding: 14px 28px;
  font-size: 1.1rem;
}



/* ===== BALANCED PREMIUM OTHER SERVICES ===== */

.center { text-align: center; }

.servicing-hero,
.spares-hero,
.landlord-hero {
  padding: 90px 0 80px;
  background: #f8fafc;
}

.servicing-checklist {
  padding: 60px 0;
  max-width: 800px;
}

.tick-list {
  list-style: none;
  padding: 0;
}

.tick-list li {
  margin-bottom: 10px;
}

.spares-brands {
  padding: 50px 0;
  background: #ffffff;
}

.landlord-benefits {
  padding: 60px 0;
}


/* ===== FURTHER SERVICE POLISH ===== */

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  padding: 70px 0;
}

.why-card {
  background: #fff;
  padding: 24px;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(0,0,0,.06);
}

.repairs-faq {
  background: #f8fafc;
  padding: 70px 0;
}

.faq-item {
  max-width: 700px;
  margin: 0 auto 18px;
}

.service-proof {
  background: #ffffff;
  padding: 60px 0;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
}

.service-final-cta {
  background: #1f3b6d;
  color: #fff;
  padding: 80px 0;
  text-align: center;
}


/* ===== GLOBAL TRUST & CONVERSION ===== */

.global-trust {
  background: #ffffff;
  padding: 60px 0;
  border-top: 1px solid #e5e7eb;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  text-align: center;
}

.trust-item strong {
  display: block;
  color: #1f3b6d;
  margin-bottom: 6px;
}

/* Testimonials */
.global-testimonials {
  background: #f8fafc;
  padding: 70px 0;
  text-align: center;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 30px;
}

.testimonial-grid blockquote {
  background: #ffffff;
  padding: 22px;
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(0,0,0,.06);
  font-style: italic;
}

.testimonial-grid cite {
  display: block;
  margin-top: 10px;
  font-style: normal;
  font-weight: 600;
}

/* Sticky mobile call bar */
.mobile-callbar {
  display: none;
}

@media (max-width: 768px) {
  .mobile-callbar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #f47b20;
    text-align: center;
    padding: 14px;
    z-index: 9999;
  }

  .mobile-callbar a {
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    font-size: 16px;
  }
}

/* ===== Gravity Forms (Form ID 1) modern styling ===== */

#gform_wrapper_1 {
  margin-top: 20px;
}

/* Make fields full-width and rounded */
#gform_wrapper_1 input[type="text"],
#gform_wrapper_1 input[type="email"],
#gform_wrapper_1 input[type="tel"],
#gform_wrapper_1 input[type="url"],
#gform_wrapper_1 input[type="number"],
#gform_wrapper_1 input[type="password"],
#gform_wrapper_1 select,
#gform_wrapper_1 textarea {
  width: 100% !important;
  max-width: 100% !important;
  border-radius: 12px !important;
  border: 1px solid #dcdcdc !important;
  padding: 14px 16px !important;
  font-size: 15px !important;
  background: #fff !important;
  box-sizing: border-box !important;
}

/* Textarea height */
#gform_wrapper_1 textarea {
  min-height: 140px !important;
  resize: vertical !important;
}

/* Focus state */
#gform_wrapper_1 input:focus,
#gform_wrapper_1 select:focus,
#gform_wrapper_1 textarea:focus {
  outline: none !important;
  border-color: #0073aa !important;
  box-shadow: 0 0 0 2px rgba(0,115,170,0.18) !important;
}

/* Labels */
#gform_wrapper_1 .gfield_label,
#gform_wrapper_1 label {
  font-weight: 600 !important;
  margin-bottom: 6px !important;
}

/* Full width submit button */
#gform_submit_button_1,
#gform_wrapper_1 .gform_button,
#gform_wrapper_1 button[type="submit"],
#gform_wrapper_1 input[type="submit"] {
  width: 100% !important;
  display: block !important;
  border-radius: 14px !important;
  padding: 16px !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  border: 0 !important;
  cursor: pointer !important;
}

/* Improve spacing between fields */
#gform_wrapper_1 .gfield {
  margin-bottom: 14px !important;
}

/* Confirmation message */
#gform_wrapper_1 .gform_confirmation_message {
  border-radius: 14px !important;
  padding: 16px !important;
  border: 1px solid #cfe7ff !important;
  background: #f0f8ff !important;
}

.hero-text h1 {

  color: #fff;
}
.service-balanced .container {
  padding: 1rem 1rem;
}

.repairs-faults {
  padding: 1rem 1rem 2rem 1rem;

}
.repairs-why {
  padding: 1rem 1rem 2rem 1rem;
}
.repairs-faq {

  text-align: center;
}
.repairs-cta h2 { color:#fff;}
.repairs-hero {
  padding: 4rem 1rem;
}

/* ===============================
   DESKTOP DROPDOWN (REAL SELECTORS)
================================ */

/* Parent positioning */
.main-nav ul li {
  position: relative;
}

/* Hide submenu initially */
.main-nav ul li .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;

  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 10px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.12);

  padding: 8px 0;

  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.18s ease;

  display: block;
  z-index: 999;
}

/* Show on hover */
.main-nav ul li:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Submenu items */
.main-nav .sub-menu li {
  display: block;
}

/* Submenu links */
.main-nav .sub-menu a {
  display: block;
  padding: 10px 14px;
  font-size: 0.9rem;
  color: #1f3b6d;
  text-decoration: none;
}

/* Hover state */
.main-nav .sub-menu a:hover {
  background: rgba(31,59,109,0.06);
  color: #f47b20;
}

/* Remove underline animation if inherited */
.main-nav .sub-menu a::after {
  display: none !important;
}

@media (max-width: 768px) {

  .main-nav ul li .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding-left: 14px;
    margin-top: 6px;
  }

  .main-nav .sub-menu a {
    padding: 8px 0;
    font-size: 0.9rem;
  }
}
/* Allow dropdowns to extend outside header */
.site-header {
  overflow: visible !important;
}
.main-nav ul li .sub-menu {
  top: 100%;          /* remove extra gap */
  margin-top: 0;      /* ensure no spacing */
}
.main-nav ul li .sub-menu {
  pointer-events: auto;
}
/* ================= FAQ PAGE CSS ================= */

.faq-hero {
  background: #f5f7fa;
  padding: 60px 20px;
  text-align: center;
}

.faq-hero h1 {
  color: #1a3c6e;
  margin-bottom: 10px;
}

.faq-hero .lead {
  color: #555;
  font-size: 18px;
}

.faq-section {
  padding: 50px 20px;
  background: #ffffff;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid #e6e9ef;
  padding: 15px 0;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  position: relative;
  padding-right: 25px;
}

.faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 20px;
  color: #1a3c6e;
}

.faq-item.active .faq-question::after {
  content: '−';
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  color: #555;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  margin-top: 10px;
}

.faq-cta {
  background: #1a3c6e;
  color: #fff;
  text-align: center;
  padding: 60px 20px;
}

.faq-cta .btn-primary.large {
  margin-top: 15px;
}
.faq-cta h2 { color:#fff;}