/* ============================================================
   PAWWELLCARE · GLOBAL DESIGN SYSTEM
   ============================================================ */

:root {
  --pwc-navy:         #051d40;
  --pwc-navy-dk:      #020f22;
  --pwc-navy-lt:      #0d3567;
  --pwc-coral:        #E07A5F;
  --pwc-coral-dk:     #a84a30;
  --pwc-coral-lt:     #f0a08e;
  --pwc-cream:        #FDF6EC;
  --pwc-cream-dk:     #f5e5cc;
  --pwc-green:        #3D9970;
  --pwc-green-lt:     #5ab88d;
  --pwc-gold:         #C9A84C;
  --pwc-bg:           #F8F6F2;
  --pwc-bg-warm:      #FAFAF8;
  --pwc-white:        #FFFFFF;
  --pwc-text:         #1A1A2E;
  --pwc-text-mid:     #4A4A6A;
  --pwc-text-lt:      #9090A8;
  --pwc-heading:      'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  --pwc-body:         'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --r-xs: 4px; --r-sm: 8px; --r-md: 12px;
  --r-lg: 16px; --r-xl: 24px; --r-pill: 9999px;
  --sh-xs:    0 1px 3px rgba(5,29,64,.05), 0 1px 2px rgba(5,29,64,.06);
  --sh-sm:    0 2px 10px rgba(5,29,64,.07), 0 1px 4px rgba(5,29,64,.04);
  --sh-md:    0 4px 24px rgba(5,29,64,.09), 0 2px 8px rgba(5,29,64,.04);
  --sh-lg:    0 8px 40px rgba(5,29,64,.12), 0 4px 16px rgba(5,29,64,.06);
  --sh-xl:    0 16px 64px rgba(5,29,64,.16), 0 8px 24px rgba(5,29,64,.08);
  --sh-hover: 0 20px 60px rgba(5,29,64,.20), 0 8px 24px rgba(5,29,64,.10);
  --sh-coral: 0 8px 32px rgba(224,122,95,.30);
  --t-fast:   .15s ease;
  --t:        .25s ease;
  --t-slow:   .40s ease;
  --t-smooth: .35s cubic-bezier(.4,0,.2,1);
  --t-bounce: .50s cubic-bezier(.34,1.56,.64,1);
  --t-expo:   .45s cubic-bezier(.19,1,.22,1);
  --max-w:    1280px;
  --hdr-h:    72px;
  --topbar-h: 36px;
}

/* Resets */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--pwc-body);
  font-size: 1rem;
  color: var(--pwc-text);
  background: var(--pwc-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 0; padding: 0;
}
body.pwc-menu-open { overflow: hidden; }
body.pwc-has-topbar { padding-top: calc(var(--hdr-h) + var(--topbar-h)); }
body.pwc-no-topbar  { padding-top: var(--hdr-h); }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--pwc-bg); }
::-webkit-scrollbar-thumb { background: var(--pwc-navy-lt); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--pwc-coral); }
::selection { background: rgba(224,122,95,.18); color: var(--pwc-navy); }
:focus-visible { outline: 2px solid var(--pwc-coral); outline-offset: 2px; border-radius: 4px; }

/* Typography */
h1,h2,h3,h4,h5,h6 {
  font-family: var(--pwc-heading);
  color: var(--pwc-text);
  line-height: 1.22;
  font-weight: 700;
  margin-top: 0;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2rem,   4.5vw, 3.5rem); }
h2 { font-size: clamp(1.65rem, 3vw,  2.6rem); }
h3 { font-size: clamp(1.3rem,  2.5vw, 2rem); }
h4 { font-size: clamp(1.1rem,  2vw,  1.4rem); font-family: var(--pwc-body); font-weight: 600; }
h5 { font-size: 1.125rem; font-family: var(--pwc-body); font-weight: 600; }
h6 { font-size: 1rem; font-family: var(--pwc-body); font-weight: 600; }
p  { margin-top: 0; margin-bottom: 1.25rem; }
a  { color: var(--pwc-navy); text-decoration: none; transition: color var(--t-fast); }
a:hover { color: #a84a30; }
img { max-width: 100%; height: auto; display: block; }

/* Container */
.pwc-c {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(16px,4vw,40px);
}
.pwc-c-sm { max-width: 860px; margin-inline: auto; padding-inline: clamp(16px,4vw,40px); }

/* Buttons */
.pwc-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 12px 26px;
  font-family: var(--pwc-body); font-size: .9375rem; font-weight: 600;
  line-height: 1; letter-spacing: .01em;
  text-decoration: none;
  border: 2px solid transparent; border-radius: var(--r-pill);
  cursor: pointer; white-space: nowrap;
  transition: all var(--t-smooth);
  position: relative; overflow: hidden;
}
.pwc-btn::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(255,255,255,0);
  transition: background var(--t-fast);
}
.pwc-btn:hover::after { background: rgba(255,255,255,.10); }
.pwc-btn-primary {
  background: #a84a30; color: var(--pwc-white);
  border-color: #a84a30; box-shadow: var(--sh-coral);
}
.pwc-btn-primary:hover {
  background: var(--pwc-coral-dk); border-color: var(--pwc-coral-dk);
  transform: translateY(-2px); box-shadow: 0 12px 40px rgba(224,122,95,.40);
  color: var(--pwc-white);
}
.pwc-btn-primary:active { transform: translateY(0); }
.pwc-btn-secondary {
  background: var(--pwc-white); color: var(--pwc-navy);
  border-color: rgba(5,29,64,.18);
}
.pwc-btn-secondary:hover {
  background: var(--pwc-navy); color: var(--pwc-white);
  border-color: var(--pwc-navy); transform: translateY(-2px);
  box-shadow: var(--sh-md);
}
.pwc-btn-ghost {
  background: transparent; color: var(--pwc-navy);
  border-color: transparent; padding: 10px 18px;
}
.pwc-btn-ghost:hover { background: var(--pwc-bg); color: #a84a30; }
.pwc-btn-white {
  background: var(--pwc-white); color: var(--pwc-navy);
  border-color: var(--pwc-white); box-shadow: var(--sh-md);
}
.pwc-btn-white:hover {
  background: var(--pwc-cream); color: var(--pwc-navy-dk);
  transform: translateY(-2px); box-shadow: var(--sh-lg);
}
.pwc-btn-sm  { padding: 8px 18px; font-size: .875rem; }
.pwc-btn-lg  { padding: 16px 36px; font-size: 1.0625rem; }
.pwc-btn-xl  { padding: 20px 48px; font-size: 1.125rem; }
.pwc-btn-full { width: 100%; }

/* Badge */
.pwc-badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 12px;
  font-family: var(--pwc-body); font-size: .75rem; font-weight: 700;
  border-radius: var(--r-pill); text-transform: uppercase;
  letter-spacing: .06em; text-decoration: none;
  transition: all var(--t-fast);
}
.pwc-badge-coral  { background: rgba(224,122,95,.12); color: var(--pwc-coral-dk); }
.pwc-badge-navy   { background: rgba(5,29,64,.08);    color: var(--pwc-navy);     }
.pwc-badge-green  { background: rgba(61,153,112,.12);  color: var(--pwc-green);    }
.pwc-badge:hover  { transform: translateY(-1px); }

/* Card */
.pwc-card {
  background: var(--pwc-white); border-radius: var(--r-lg);
  overflow: hidden; box-shadow: var(--sh-sm);
  transition: transform var(--t-smooth), box-shadow var(--t-smooth);
}
.pwc-card:hover { transform: translateY(-6px); box-shadow: var(--sh-hover); }
.pwc-card-img { overflow: hidden; aspect-ratio: 16/9; }
.pwc-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow); }
.pwc-card:hover .pwc-card-img img { transform: scale(1.07); }
.pwc-card-body { padding: 24px; }

/* Sections */
.pwc-section    { padding: clamp(48px,8vw,96px) 0; }
.pwc-section-sm { padding: clamp(32px,5vw,64px) 0; }
.pwc-section-lg { padding: clamp(64px,10vw,128px) 0; }
.pwc-label {
  display: inline-block; font-size: .8125rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .12em;
  color: #a84a30; margin-bottom: 12px;
}
.pwc-section-title {
  font-family: var(--pwc-heading);
  font-size: clamp(1.75rem,3vw,2.6rem);
  font-weight: 700; margin-bottom: .5rem;
}
.pwc-section-sub {
  font-size: 1.0625rem; color: var(--pwc-text-mid);
  line-height: 1.65; margin-bottom: 0;
}
.pwc-section-hd { margin-bottom: clamp(32px,5vw,56px); }

/* Divider */
.pwc-divider {
  display: flex; align-items: center; gap: 12px;
  color: #5c5c75; font-size: .875rem;
}
.pwc-divider::before, .pwc-divider::after {
  content: ''; flex: 1; height: 1px; background: rgba(5,29,64,.10);
}

/* Scroll Animations */
/* Scroll reveal disabled — content is always visible (LiteSpeed JS-delay + UCSS were hiding it on mobile) */
.pwc-anim, .pwc-anim-l, .pwc-anim-s,
.pwc-anim.in, .pwc-anim-l.in, .pwc-anim-s.in {
  opacity: 1; transform: none; transition: none;
}
.d1 { transition-delay: .10s; } .d2 { transition-delay: .20s; }
.d3 { transition-delay: .30s; } .d4 { transition-delay: .40s; }
.d5 { transition-delay: .50s; } .d6 { transition-delay: .60s; }

/* Astra Resets */
.ast-container { max-width: none !important; }
.entry-content { font-size: 1.0625rem; line-height: 1.85; }
.wp-block-paragraph { font-size: inherit; line-height: inherit; }


/* === BADGE-FIX === */
.pwc-badge.pwc-badge-coral {
  background: rgba(168, 74, 48, 0.12) !important;
  color: #a84a30 !important;
  font-size: 0.6875rem !important;
  padding: 3px 10px !important;
  border-radius: 20px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.8px !important;
  font-weight: 700 !important;
}





/* TOC links black */
.pwc-toc-list a,
.pwc-toc-list a.pwc-toc-h3 {
  color: var(--pwc-text) !important;
}
.pwc-toc-list a:hover,
.pwc-toc-list a.active {
  color: #a84a30 !important;
}

/* You Might Also Like heading → navy */
.pwc-related-title {
  color: var(--pwc-navy) !important;
}
.pwc-related-label {
  color: var(--pwc-coral-dk) !important;
}

/* Article post H2/H3 → override Astra green */
.entry-content h2,
.entry-content h3,
.entry-content h2 a,
.entry-content h3 a,
.wp-block-heading,
article h2,
article h3 {
  color: var(--pwc-navy);
}

/* Astra theme specific overrides */
.ast-article-post h2,
.ast-article-post h3,
.ast-single-post-summary h2,
.ast-single-post-summary h3,
.site-content h2,
.site-content h3 {
  color: var(--pwc-navy);
}


.pwc-btn-coral-solid {
  background: #a84a30 !important;
  color: #fff !important;
  border: none !important;
  border-radius: var(--r-pill) !important;
  padding: 15px 24px !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  font-family: inherit !important;
  transition: background .2s !important;
  white-space: nowrap !important;
}
.pwc-btn-coral-solid:hover { background: var(--pwc-coral-dk) !important; }

/* NL section wrapper background - navy with subtle pattern */
.pwc-nl-section-wrap {
  background: linear-gradient(135deg, var(--pwc-cream) 0%, #fdf0e8 100%);
  border-top: 3px solid var(--pwc-coral);
  border-bottom: 3px solid var(--pwc-coral);
}

.pwc-nl-badge-pill {
  display: inline-block;
  background: var(--pwc-coral);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 5px 14px;
  border-radius: 9999px;
  margin-bottom: 14px;
  text-transform: uppercase;
}
.pwc-nl-perks-row {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.pwc-nl-perks-row span {
  font-size: .85rem;
  color: var(--pwc-text-mid);
  font-weight: 500;
}

/* === PWC COLOR OVERRIDES v2 === */

/* 1. TOC links - dark, not green */
.pwc-toc-list a,
.pwc-toc-list li a,
.pwc-toc a {
  color: #1A1A2E !important;
}
.pwc-toc-list a:hover,
.pwc-toc-list a.active {
  color: #E07A5F !important;
}

/* 2. Blog card / archive post titles - dark */
.pwc-post-card .pwc-card-title,
.pwc-post-card .pwc-card-title a,
.pwc-pgrid .pwc-card-title,
.pwc-pgrid .pwc-card-title a,
.ast-article-post .entry-title,
.ast-article-post .entry-title a,
.post-title a,
.entry-title a,
.ast-blog-single-element .entry-title a {
  color: #1A1A2E !important;
}

/* 3. Article H2/H3 headings - override Astra global color */
.entry-content h2,
.entry-content h3,
.wp-block-heading,
article .entry-content h2,
article .entry-content h3 {
  color: #051d40;
}

/* 4. You Might Also Like heading */
.pwc-related-title {
  color: #051d40 !important;
}

/* 5. Sidebar newsletter title visible */
.pwc-sidebar-nl .pwc-sidebar-title,
.pwc-sidebar-nl h3.pwc-sidebar-title {
  color: #ffffff !important;
}

/* NL section badge + perks */
.pwc-nl-badge-pill {
  display: inline-block;
  background: #E07A5F;
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 5px 14px;
  border-radius: 9999px;
  margin-bottom: 14px;
  text-transform: uppercase;
}
.pwc-nl-perks-row {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.pwc-nl-perks-row span {
  font-size: .85rem;
  color: #4A4A6A;
  font-weight: 500;
}
.pwc-btn-coral-solid {
  background: #E07A5F !important;
  color: #fff !important;
  border: none !important;
  border-radius: 50px !important;
  padding: 15px 24px !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  font-family: inherit !important;
  transition: background .2s !important;
  white-space: nowrap !important;
}
.pwc-btn-coral-solid:hover { background: #a84a30 !important; }
