/* ============================================================
   CORDIAL PAVILION HEIGHTS — GLOBAL CSS
   Loads on every page of this install.
   Contains: CSS variables, resets, Kadence header override,
   shared typography, and header/topbar styles.
   ============================================================ */

/* ── CSS VARIABLES ── */
:root {
  --cpv-ink:        #0F1923;
  --cpv-ink-mid:    #162030;
  --cpv-red:        #C41230;
  --cpv-red-h:      #a50f28;
  --cpv-gold:       #C4933F;
  --cpv-cream:      #F5F0E8;
  --cpv-cream-d:    #EDE8DF;
  --cpv-white:      #ffffff;
  --cpv-head:       'Clash Display', sans-serif;
  --cpv-body:       'DM Sans', sans-serif;
  --cpv-max:        1160px;
  --cpv-font-head:  'Clash Display', 'DM Sans', sans-serif;
  --cpv-font-body:  'DM Sans', sans-serif;
  --cpv-nav-h:      72px;
  --cpv-top-h:      38px;
  --cpv-max-w:      1200px;
}

/* ── GLOBAL RESET (scoped to CPV classes) ── */
*, *::before, *::after { box-sizing: border-box; }
body {
  font-family: var(--cpv-body);
  -webkit-font-smoothing: antialiased;
  background: var(--cpv-cream);
  color: var(--cpv-ink);
}
a { text-decoration: none; }
img { max-width: 100%; display: block; }

/* ── HIDE KADENCE NATIVE HEADER ── */
.site-header,
header#masthead,
.kadence-sticky-header {
  display: none !important;
}
#content,
.site-content,
.content-container {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* ── ADMIN BAR OFFSET (logged-in users only) ── */
.admin-bar .cpv-header { top: 32px; }
@media (max-width: 782px) {
  .admin-bar .cpv-header { top: 46px; }
}

/* ── PARENT SITE LINK ── */
.cpv-topbar-parent-link {
  font-family: var(--cpv-font-body);
  font-size: 11px;
  font-weight: 400;
  color: rgba(255,255,255,0.38);
  letter-spacing: 0.04em;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 5px;
  padding-right: 2px;
  transition: color 0.2s;
}
.cpv-topbar-parent-link:hover { color: var(--cpv-gold); }

/* ── LOGO IMAGE ── */
.cpv-logo img {
  max-height: 48px;
  width: auto;
  display: block;
  object-fit: contain;
}

/* ── SHARED BUTTON STYLES ── */
.cpv-btn-red {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--cpv-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cpv-white);
  background: var(--cpv-red);
  padding: 14px 28px;
  border-radius: 3px;
  transition: background 0.2s, transform 0.15s;
  text-decoration: none;
}
.cpv-btn-red:hover { background: var(--cpv-red-h); transform: translateY(-2px); }
.cpv-btn-red svg { width: 14px; height: 14px; }

.cpv-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--cpv-body);
  font-size: 12px;
  font-weight: 400;
  color: rgba(255,255,255,0.55);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 13px 24px;
  border-radius: 3px;
  transition: border-color 0.2s, color 0.2s;
  text-decoration: none;
}
.cpv-btn-ghost:hover {
  border-color: rgba(255,255,255,0.4);
  color: rgba(255,255,255,0.85);
}

/* ── SHARED EYEBROW ── */
.cpv-eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.cpv-eyebrow-pip { width: 6px; height: 6px; border-radius: 50%; background: var(--cpv-gold); flex-shrink: 0; }
.cpv-eyebrow-text {
  font-family: var(--cpv-body);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--cpv-gold);
}

/* ── SHARED SECTION HEADINGS ── */
.cpv-h2 {
  font-family: var(--cpv-head);
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin-bottom: 10px;
}
.cpv-h2-light { color: var(--cpv-white); }
.cpv-h2-dark  { color: var(--cpv-ink); }

.cpv-sec-sub {
  font-family: var(--cpv-body);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.75;
  max-width: 580px;
  margin-bottom: 44px;
}
.cpv-sec-sub-light { color: rgba(255,255,255,0.45); }
.cpv-sec-sub-dark  { color: rgba(15,25,35,0.52); }
.single-content h1,
.entry-content h1 {
  margin: 0 !important;
  padding: 0 !important;
}