/*
 Theme Name:   Decisium Standard Child
 Theme URI:    https://decisiumstandard.com/
 Description:  GeneratePress Child Theme — Decisium European Living Engine
               European Decision Standard · v2026.03
               AEO-First · Mobile-First · Institutional
 Author:       Decisium
 Author URI:   https://decisiumstandard.com/
 Template:     generatepress
 Version:      1.0.0
 License:      Private
 Text Domain:  decisium-standard
*/

/* ═══════════════════════════════════════════════
   DECISIUM STANDARD — DESIGN SYSTEM
   European Decision Standard · v2026.03
   AEO-First · Mobile-First · Institutional Premium
═══════════════════════════════════════════════ */

/* ─── IMPORT FONTS ─── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,700;1,400&family=DM+Mono:wght@300;400;500&family=Instrument+Sans:wght@300;400;500;600&display=swap');

/* ─── ROOT DESIGN TOKENS ─── */
:root {
  --ds-ink:          #0c0c0c;
  --ds-ink-2:        #1c1c1c;
  --ds-ink-3:        #3a3a3a;
  --ds-ink-4:        #5a5a5a;
  --ds-bone:         #f5f2ec;
  --ds-bone-2:       #eee9df;
  --ds-bone-3:       #e5dfd5;
  --ds-dark:         #111111;
  --ds-dark-2:       #1a1a1a;
  --ds-gold:         #b8973a;
  --ds-gold-light:   #d4b050;
  --ds-gold-dim:     #8a6e2a;
  --ds-rule:         rgba(12,12,12,0.1);
  --ds-rule-strong:  rgba(12,12,12,0.22);

  --ds-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --ds-mono:  'DM Mono', 'Courier New', Courier, monospace;
  --ds-sans:  'Instrument Sans', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;

  --ds-radius: 0px;
  --ds-max-width: 1280px;
  --ds-section-pad: 96px 48px;
  --ds-section-pad-mobile: 60px 20px;
}

/* ─── RESET GENERATEPRESS OVERRIDES ─── */
body {
  background-color: var(--ds-bone) !important;
  color: var(--ds-ink) !important;
  font-family: var(--ds-sans) !important;
  font-weight: 400;
  line-height: 1.6;
}

/* Remove GP default header/nav on landing page */
.ds-fullpage .site-header,
.ds-fullpage .main-navigation,
.ds-fullpage .nav-bar-items,
.ds-fullpage #site-navigation {
  display: none !important;
}

.ds-fullpage .site-content,
.ds-fullpage .content-area,
.ds-fullpage .site-main {
  padding: 0 !important;
  margin: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
}

.ds-fullpage .inside-article,
.ds-fullpage .entry-content {
  padding: 0 !important;
  max-width: 100% !important;
}

/* ─── TYPOGRAPHY ─── */
h1, h2, h3 {
  font-family: var(--ds-serif);
  font-weight: 400;
  line-height: 1.2;
  color: var(--ds-ink);
}

h4, h5, h6 {
  font-family: var(--ds-mono);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

p {
  font-family: var(--ds-sans);
  font-weight: 300;
  color: var(--ds-ink-3);
  line-height: 1.75;
}

a {
  color: var(--ds-gold);
  text-decoration: none;
}

a:hover {
  color: var(--ds-gold-light);
}

/* ─── FOOTER OVERRIDE ─── */
.ds-fullpage .site-footer {
  display: none !important;
}

/* ─── WOOCOMMERCE / CHECKOUT PAGES ─── */
body.woocommerce .site-header {
  display: block !important;
}

body.woocommerce .main-navigation {
  display: block !important;
}

/* ─── STRIPE CHECKOUT BUTTON ─── */
.ds-stripe-btn {
  display: inline-block;
  font-family: var(--ds-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ds-bone) !important;
  background: var(--ds-ink);
  padding: 14px 28px;
  border: none;
  cursor: pointer;
  text-decoration: none !important;
  transition: background 0.2s ease;
  border-radius: 0;
}

.ds-stripe-btn:hover {
  background: var(--ds-gold-dim);
  color: var(--ds-bone) !important;
}

.ds-stripe-btn--featured {
  background: var(--ds-gold-dim);
}

.ds-stripe-btn--featured:hover {
  background: var(--ds-gold);
}

/* ─── UTILITY CLASSES ─── */
.ds-section {
  padding: var(--ds-section-pad);
}

.ds-section--dark {
  background: var(--ds-dark);
  color: var(--ds-bone);
}

.ds-section--bone-2 {
  background: var(--ds-bone-2);
}

.ds-mono-label {
  font-family: var(--ds-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ds-gold);
}

.ds-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.ds-eyebrow-line {
  width: 24px;
  height: 1px;
  background: var(--ds-gold);
  flex-shrink: 0;
}

/* ─── MOBILE FIRST ─── */
@media (max-width: 768px) {
  :root {
    --ds-section-pad: var(--ds-section-pad-mobile);
  }

  h1 { font-size: clamp(28px, 8vw, 48px); }
  h2 { font-size: clamp(22px, 6vw, 36px); }
}

/* ─── PRINT ─── */
@media print {
  .ticker-wrap,
  nav,
  .section-cta,
  footer { display: none !important; }
}

/* ═══════════════════════════════════════════════
   GENERATEPRESS OVERRIDE — FULL RESET
   Force full-width rendering on landing page
   Fixes GP container constraints + list styles
═══════════════════════════════════════════════ */

/* ─── NUCLEAR RESET ON LANDING ─── */
.ds-fullpage * {
  box-sizing: border-box !important;
}

/* Remove ALL GP container constraints */
.ds-fullpage #page,
.ds-fullpage #content,
.ds-fullpage .site-content,
.ds-fullpage .content-area,
.ds-fullpage .site-main,
.ds-fullpage article,
.ds-fullpage .entry-content,
.ds-fullpage .inside-article,
.ds-fullpage .container,
.ds-fullpage .grid-container {
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  float: none !important;
}

/* Remove GP default body padding/margin */
.ds-fullpage body,
.ds-fullpage .site {
  padding: 0 !important;
  margin: 0 !important;
}

/* ─── TICKER FIX — Critical ─── */
/* GP forces ul/li display:list-item on everything */
.ds-fullpage .ticker-wrap,
.ds-fullpage .ticker-scroll {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  width: auto !important;
}

.ds-fullpage .ticker-item {
  display: inline-block !important;
  list-style: none !important;
  list-style-type: none !important;
  padding: 0 24px !important;
  margin: 0 !important;
  white-space: nowrap !important;
  float: none !important;
  width: auto !important;
  background: none !important;
}

/* GP sometimes adds ::before bullets */
.ds-fullpage .ticker-item::before,
.ds-fullpage .ticker-item::after {
  content: none !important;
  display: none !important;
}

/* ─── NAV LINKS FIX ─── */
.ds-fullpage nav ul.nav-links,
.ds-fullpage .nav-links {
  display: flex !important;
  flex-direction: row !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  gap: 32px !important;
}

.ds-fullpage nav ul.nav-links li,
.ds-fullpage .nav-links li {
  list-style: none !important;
  list-style-type: none !important;
  padding: 0 !important;
  margin: 0 !important;
  float: none !important;
  display: inline-block !important;
}

.ds-fullpage nav ul.nav-links li::before,
.ds-fullpage .nav-links li::before {
  content: none !important;
  display: none !important;
}

/* ─── FOOTER LINKS FIX ─── */
.ds-fullpage .footer-links {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
}

.ds-fullpage .footer-links li {
  list-style: none !important;
  list-style-type: none !important;
  padding: 0 !important;
  margin: 0 0 8px 0 !important;
  float: none !important;
}

.ds-fullpage .footer-links li::before,
.ds-fullpage .footer-links li::after {
  content: none !important;
  display: none !important;
}

/* ─── DIMS GRID / PILIERS / PRICING ─── */
/* GP adds li bullets to any list-like element */
.ds-fullpage .dims-grid,
.ds-fullpage .piliers-grid,
.ds-fullpage .decisions-grid,
.ds-fullpage .method-grid,
.ds-fullpage .pricing-cards,
.ds-fullpage .pays-grid,
.ds-fullpage .living-grid,
.ds-fullpage .indices-cols,
.ds-fullpage .analyst-grid {
  list-style: none !important;
}

/* ─── PC-LIST PRICING ─── */
.ds-fullpage .pc-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 0 28px 0 !important;
}

.ds-fullpage .pc-list li {
  list-style: none !important;
  list-style-type: none !important;
  padding: 6px 0 !important;
  margin: 0 !important;
  border-bottom: 1px solid var(--ds-rule) !important;
  display: flex !important;
  align-items: flex-start !important;
  gap: 8px !important;
  line-height: 1.4 !important;
}

.ds-fullpage .pc-list li::before {
  content: '—' !important;
  font-family: var(--ds-mono) !important;
  font-size: 9px !important;
  color: var(--ds-gold-dim) !important;
  flex-shrink: 0 !important;
  margin-top: 2px !important;
}

/* Remove any GP-injected bullets on card elements */
.ds-fullpage .dim-tags,
.ds-fullpage .dim-tags span,
.ds-fullpage .dim-tag {
  list-style: none !important;
}

/* ─── HERO GRID ─── */
.ds-fullpage .hero {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 72px !important;
}

@media (max-width: 900px) {
  .ds-fullpage .hero {
    grid-template-columns: 1fr !important;
    padding: 48px 20px 56px !important;
    gap: 48px !important;
  }
}

/* ─── GP HEADER / FOOTER HIDE ─── */
.ds-fullpage .site-header,
.ds-fullpage .main-navigation,
.ds-fullpage #site-navigation,
.ds-fullpage .nav-bar,
.ds-fullpage .nav-bar-items,
.ds-fullpage .site-footer,
.ds-fullpage #colophon,
.ds-fullpage .site-info {
  display: none !important;
}

/* ─── GP SIDEBAR HIDE ─── */
.ds-fullpage .widget-area,
.ds-fullpage aside.widget-area {
  display: none !important;
}

/* ─── REMOVE GP ENTRY TITLE ─── */
.ds-fullpage .entry-title,
.ds-fullpage .page-title,
.ds-fullpage .entry-header {
  display: none !important;
}

/* ─── REMOVE GP BREADCRUMBS ─── */
.ds-fullpage .breadcrumb-trail,
.ds-fullpage .rank-math-breadcrumb,
.ds-fullpage #breadcrumbs {
  display: none !important;
}

/* ─── FIX OVERFLOW ─── */
.ds-fullpage {
  overflow-x: hidden !important;
}

.ds-fullpage nav {
  position: sticky !important;
  top: 0 !important;
  z-index: 50 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
}
