/* =========================================================
   Your Nurse Champions — Brand Stylesheet
   STRICT PALETTE (from old site's Divi global colors):
     Primary teal   #00bcbf
     Secondary coral #f29a7b
     Support teal    #82c0c7
     Black text      #000000
     White           #ffffff
   No other brand colors. (Neutral greys derived from black/white only.)
   ========================================================= */

:root {
  color-scheme: light;
  --teal: #00bcbf;
  --teal-dark: #009a9d;      /* darkened teal for hover — same hue */
  --coral: #f29a7b;
  --coral-dark: #e07f5d;     /* darkened coral for hover — same hue */
  --support-teal: #82c0c7;
  --ink: #000000;
  --white: #ffffff;

  /* neutrals derived from black at low opacity — no new hues */
  --ink-80: rgba(0,0,0,.80);
  --ink-65: rgba(0,0,0,.65);
  --ink-45: rgba(0,0,0,.45);
  --ink-08: rgba(0,0,0,.08);
  --ink-04: rgba(0,0,0,.04);
  --teal-tint: rgba(0,188,191,.08);
  --teal-tint-2: rgba(0,188,191,.14);
  --coral-tint: rgba(242,154,123,.12);

  --maxw: 1180px;
  --radius: 16px;
  --radius-lg: 28px;
  --shadow: 0 10px 30px rgba(0,0,0,.08);
  --shadow-lg: 0 20px 50px rgba(0,0,0,.12);
  --font: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-head: 'Poppins', var(--font);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--teal); text-decoration: none; transition: color .2s; }
a:hover { color: var(--teal-dark); }

h1,h2,h3,h4 { font-family: var(--font-head); line-height: 1.18; color: var(--ink); font-weight: 700; }
h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); letter-spacing: -.5px; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); letter-spacing: -.3px; }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
p { margin-bottom: 1rem; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 84px 0; }
.section--tint { background: var(--teal-tint); }
.section--support { background: linear-gradient(180deg, var(--white), var(--teal-tint)); }
.text-center { text-align: center; }
.eyebrow {
  display: inline-block; text-transform: uppercase; letter-spacing: 2.5px;
  font-size: .78rem; font-weight: 600; color: var(--teal);
  background: var(--teal-tint-2); padding: 7px 16px; border-radius: 999px; margin-bottom: 18px;
}
.lead { font-size: 1.12rem; color: var(--ink-65); max-width: 720px; }
.section-head { max-width: 760px; margin: 0 auto 52px; text-align: center; }
.section-head p { color: var(--ink-65); font-size: 1.08rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px; cursor: pointer;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem;
  padding: 15px 32px; border-radius: 999px; border: 2px solid transparent;
  transition: transform .18s, box-shadow .18s, background .18s, color .18s;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--teal); color: var(--white); box-shadow: 0 8px 22px rgba(0,188,191,.32); }
.btn--primary:hover { background: var(--teal-dark); color: var(--white); box-shadow: 0 12px 28px rgba(0,188,191,.42); }
.btn--coral { background: var(--coral); color: var(--white); box-shadow: 0 8px 22px rgba(242,154,123,.34); }
.btn--coral:hover { background: var(--coral-dark); color: var(--white); }
.btn--ghost { background: transparent; color: var(--teal); border-color: var(--teal); }
.btn--ghost:hover { background: var(--teal); color: var(--white); }
.btn--white { background: var(--white); color: var(--teal); }
.btn--white:hover { background: var(--white); color: var(--teal-dark); }

/* Header / nav */
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--ink-08);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; color: var(--ink); }
.brand img { height: 52px; width: auto; }
.brand .brand-fallback { display:flex; align-items:center; gap:10px; }
.brand .mark { width:44px;height:44px;border-radius:12px;background:var(--teal);display:grid;place-items:center;color:#fff;font-weight:700; }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; }
.nav-links a { color: var(--ink-80); font-weight: 500; font-size: .98rem; }
.nav-links a:hover, .nav-links a.active { color: var(--teal); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-phone { font-weight: 600; color: var(--teal); white-space: nowrap; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 26px; height: 3px; background: var(--ink); margin: 5px 0; border-radius: 3px; transition: .3s; }

/* Hero */
.hero { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--teal-tint), var(--white) 60%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center; padding: 76px 0 84px; }
.hero h1 span.hl { color: var(--teal); }
.hero .lead { margin: 22px 0 32px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.hero-offer { display: flex; align-items: center; gap: 10px; margin-top: 26px; font-weight: 600; color: var(--teal-dark); }
.badge-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 5px var(--coral-tint); flex: 0 0 auto; }
.hero-media { position: relative; }
.hero-media .photo-frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/5; background: var(--support-teal); }
.hero-media .photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-blob { position: absolute; border-radius: 50%; z-index: 0; }
.hero-blob--teal { width: 320px; height: 320px; background: var(--teal); opacity: .12; top: -80px; right: -60px; }
.hero-blob--coral { width: 240px; height: 240px; background: var(--coral); opacity: .16; bottom: -70px; left: -50px; }
.hero .container { position: relative; z-index: 1; }
.badge-float {
  position: absolute; bottom: 24px; left: -18px; background: var(--white);
  border-radius: 16px; box-shadow: var(--shadow-lg); padding: 16px 20px; display: flex; gap: 12px; align-items: center;
}
.badge-float .dot { width: 44px; height: 44px; border-radius: 12px; background: var(--coral); color: #fff; display: grid; place-items: center; font-weight: 700; }
.badge-float strong { display: block; font-size: .95rem; }
.badge-float span { font-size: .8rem; color: var(--ink-45); }

/* Image placeholder styling (until real photos dropped in) */
.img-slot {
  position: relative; width: 100%; height: 100%; min-height: 220px;
  background: repeating-linear-gradient(45deg, var(--teal-tint), var(--teal-tint) 14px, var(--teal-tint-2) 14px, var(--teal-tint-2) 28px);
  display: grid; place-items: center; text-align: center; color: var(--teal-dark);
  border: 2px dashed var(--teal); border-radius: inherit; padding: 20px;
}
.img-slot small { display:block; font-size:.72rem; opacity:.7; margin-top:6px; font-weight:500; letter-spacing:.3px; }
.img-slot b { font-size: .92rem; }

/* Feature cards */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--white); border: 1px solid var(--ink-08); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card .ico {
  width: 54px; height: 54px; border-radius: 14px; background: var(--teal-tint-2); color: var(--teal);
  display: grid; place-items: center; margin-bottom: 18px; font-size: 1.5rem;
}
.card h3 { margin-bottom: 10px; }
.card p { color: var(--ink-65); font-size: .98rem; margin-bottom: 0; }
.card--coral .ico { background: var(--coral-tint); color: var(--coral-dark); }

/* Split content section */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split .media .photo-frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/5; background: var(--support-teal); }
.split .media .photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.check-list { list-style: none; margin: 22px 0; }
.check-list li { position: relative; padding-left: 40px; margin-bottom: 16px; color: var(--ink-80); }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 1px; width: 26px; height: 26px; border-radius: 50%;
  background: var(--teal); color: #fff; display: grid; place-items: center; font-size: .85rem; font-weight: 700;
}

/* Team */
.team-card { text-align: center; }
.team-card .photo-frame {
  width: 100%; aspect-ratio: 3/4; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); background: var(--support-teal); margin-bottom: 16px;
}
.team-card .photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.team-card h3 { font-size: 1.2rem; margin-bottom: 4px; }
.team-card .role { color: var(--coral-dark); font-weight: 600; font-size: .9rem; margin-bottom: 4px; }
.team-card .creds { color: var(--ink-45); font-size: .85rem; letter-spacing: .5px; }
.team-tag { color: var(--ink-65); font-size: .9rem; margin-top: 10px; font-style: italic; }

/* Testimonials */
.quote-card { background: var(--white); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); border-top: 4px solid var(--teal); }
.quote-card:nth-child(even) { border-top-color: var(--coral); }
.quote-card .mark { font-size: 3rem; line-height: 1; color: var(--support-teal); font-family: Georgia, serif; }
.quote-card .headline { font-weight: 600; font-size: 1.15rem; color: var(--teal-dark); margin: 6px 0 14px; }
.quote-card p { color: var(--ink-65); font-size: .96rem; }
.quote-card .author { margin-top: 16px; font-weight: 600; color: var(--ink); }

/* Certifications */
.cert-item { display: flex; gap: 20px; padding: 26px; background: var(--white); border: 1px solid var(--ink-08); border-radius: var(--radius); box-shadow: var(--shadow); }
.cert-item .badge { flex: 0 0 60px; height: 60px; border-radius: 14px; background: var(--teal); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .78rem; text-align: center; padding: 4px; }
.cert-item:nth-child(even) .badge { background: var(--coral); }
.cert-item h3 { font-size: 1.15rem; margin-bottom: 8px; }
.cert-item p { font-size: .95rem; color: var(--ink-65); margin-bottom: 8px; }
.cert-item .helps { font-size: .92rem; color: var(--ink-80); background: var(--teal-tint); padding: 10px 14px; border-radius: 10px; margin-bottom: 0; }
.timeline { border-left: 3px solid var(--support-teal); padding-left: 26px; }
.timeline .t-item { margin-bottom: 24px; position: relative; }
.timeline .t-item::before { content:""; position:absolute; left:-33px; top:4px; width:14px;height:14px;border-radius:50%; background: var(--teal); }
.timeline .t-item .yr { color: var(--coral-dark); font-weight: 600; font-size: .85rem; }
.timeline .t-item h4 { font-size: 1.05rem; }

/* CTA band */
.cta-band { background: linear-gradient(135deg, var(--teal), var(--teal-dark)); color: #fff; border-radius: var(--radius-lg); padding: 56px; text-align: center; position: relative; overflow: hidden; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.92); max-width: 620px; margin: 14px auto 26px; }
.cta-band::after { content:""; position:absolute; width:260px;height:260px;border-radius:50%; background: var(--coral); opacity:.22; top:-90px; right:-70px; }

/* Forms */
.form-wrap { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 36px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 7px; }
.field .req { color: var(--coral-dark); }
.field input, .field textarea {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--ink-08); border-radius: 10px;
  font-family: var(--font); font-size: 1rem; background: var(--white); transition: border .2s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--teal); }
.field textarea { min-height: 130px; resize: vertical; }
.contact-detail { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 22px; }
.contact-detail .ico { flex: 0 0 50px; height: 50px; border-radius: 12px; background: var(--teal-tint-2); color: var(--teal); display: grid; place-items: center; font-size: 1.3rem; }
.contact-detail:nth-child(even) .ico { background: var(--coral-tint); color: var(--coral-dark); }
.contact-detail strong { display: block; font-size: .82rem; text-transform: uppercase; letter-spacing: 1px; color: var(--ink-45); }
.contact-detail a, .contact-detail span { font-size: 1.08rem; color: var(--ink); font-weight: 500; }

/* Blog */
.blog-layout { display: grid; grid-template-columns: 1fr 300px; gap: 40px; }
.post-card { background: var(--white); border: 1px solid var(--ink-08); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin-bottom: 28px; transition: transform .2s, box-shadow .2s; }
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.post-card .thumb { aspect-ratio: 16/9; background: var(--support-teal); }
.post-card .thumb .img-slot { min-height: 0; }
.post-card .body { padding: 26px; }
.post-card .meta { font-size: .82rem; color: var(--ink-45); margin-bottom: 10px; }
.post-card .meta .cat { color: var(--coral-dark); font-weight: 600; }
.post-card h3 { margin-bottom: 10px; }
.post-card h3 a { color: var(--ink); }
.post-card h3 a:hover { color: var(--teal); }
.post-card p { color: var(--ink-65); font-size: .96rem; margin-bottom: 14px; }
.sidebar .widget { background: var(--white); border: 1px solid var(--ink-08); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); margin-bottom: 24px; }
.sidebar h4 { margin-bottom: 16px; padding-bottom: 10px; border-bottom: 2px solid var(--teal-tint-2); }
.sidebar ul { list-style: none; }
.sidebar ul li { padding: 9px 0; border-bottom: 1px solid var(--ink-04); font-size: .95rem; }
.sidebar ul li:last-child { border-bottom: 0; }
.search-box { display: flex; gap: 8px; }
.search-box input { flex: 1; padding: 11px 14px; border: 1.5px solid var(--ink-08); border-radius: 10px; }
.search-box button { background: var(--teal); color: #fff; border: 0; border-radius: 10px; padding: 0 16px; cursor: pointer; }
/* blog — alternate class names used in markup */
.post-thumb { aspect-ratio: 16/9; background: var(--support-teal); }
.post-thumb .img-slot { min-height: 0; height: 100%; }
.post-body { padding: 26px; }
.post-meta { font-size: .82rem; color: var(--ink-45); margin-bottom: 10px; }
.post-meta .cat { color: var(--coral-dark); font-weight: 600; }
.post-title { font-size: 1.35rem; margin-bottom: 10px; }
.post-title, .post-card h2 { color: var(--ink); }
.post-excerpt { color: var(--ink-65); font-size: .96rem; margin-bottom: 14px; }
.read-more { font-weight: 600; color: var(--teal); }
.read-more:hover { color: var(--teal-dark); }
.sidebar .widget h3 { margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid var(--teal-tint-2); font-size: 1.1rem; }
.search-form { display: flex; gap: 8px; }
.search-form input { flex: 1; padding: 11px 14px; border: 1.5px solid var(--ink-08); border-radius: 10px; font-family: var(--font); }
.recent-list { list-style: none; }
.recent-list li { padding: 9px 0; border-bottom: 1px solid var(--ink-04); font-size: .95rem; }
.recent-list li:last-child { border-bottom: 0; }

/* Footer */
.site-footer { background: var(--ink); color: rgba(255,255,255,.85); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.site-footer h4 { color: #fff; margin-bottom: 18px; font-size: 1.05rem; }
.site-footer a { color: rgba(255,255,255,.8); }
.site-footer a:hover { color: var(--teal); }
.site-footer .brand-foot { display:flex; align-items:center; gap:12px; margin-bottom:16px; }
.site-footer .brand-foot img { height: 54px; background:#fff; border-radius:10px; padding:6px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 22px; text-align: center; font-size: .85rem; color: rgba(255,255,255,.55); }
.footer-contact li { list-style: none; margin-bottom: 12px; display: flex; gap: 10px; align-items: center; }

/* Video */
.video-wrap { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 16/9; background: var(--ink); }
.video-wrap iframe { width: 100%; height: 100%; border: 0; }

/* Page hero (interior) */
.page-hero { background: linear-gradient(135deg, var(--teal-tint), var(--white)); padding: 70px 0 60px; text-align: center; position: relative; overflow: hidden; }
.page-hero .eyebrow { }
.page-hero p { color: var(--ink-65); max-width: 720px; margin: 16px auto 0; font-size: 1.1rem; }

/* Responsive */
@media (max-width: 980px) {
  .hero-grid, .split, .blog-layout { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-media { order: -1; max-width: 440px; margin: 0 auto; }
  .sidebar { order: 2; }
}
@media (max-width: 760px) {
  .nav-links, .nav-cta .nav-phone { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute; top: 84px; left: 0; right: 0;
    background: #fff; padding: 20px 24px; box-shadow: var(--shadow-lg); gap: 16px;
  }
  .section { padding: 60px 0; }
  .grid-2, .grid-3, .grid-4, .form-row, .footer-grid { grid-template-columns: 1fr; }
  .cta-band, .form-wrap { padding: 32px 22px; }
  body { font-size: 16px; }
}

/* ===== WordPress-specific additions ===== */
/* Admin bar spacing */
.admin-bar .site-header { top: 32px; }
@media (max-width:782px){ .admin-bar .site-header { top: 46px; } }

/* WP core alignment / caption classes */
.alignleft{float:left;margin:0 24px 16px 0;}
.alignright{float:right;margin:0 0 16px 24px;}
.aligncenter{display:block;margin-left:auto;margin-right:auto;}
.wp-caption{max-width:100%;}
.wp-caption-text{font-size:.85rem;color:var(--ink-45);text-align:center;margin-top:6px;}
.sticky,.gallery-caption,.bypostauthor{}
.screen-reader-text{position:absolute!important;clip:rect(1px,1px,1px,1px);width:1px;height:1px;overflow:hidden;}

/* Post content typography (single/page) */
.entry-content{max-width:760px;margin:0 auto;}
.entry-content p{margin-bottom:18px;color:var(--ink-80);}
.entry-content h2{margin:32px 0 14px;}
.entry-content h3{margin:26px 0 12px;}
.entry-content ul,.entry-content ol{margin:0 0 18px 22px;}
.entry-content li{margin-bottom:8px;color:var(--ink-80);}
.entry-content img{border-radius:12px;height:auto;max-width:100%;}
.entry-content blockquote{border-left:4px solid var(--teal);padding-left:20px;margin:22px 0;color:var(--ink-65);font-style:italic;}

/* Pagination */
.ync-pagination{display:flex;gap:8px;justify-content:center;margin-top:30px;flex-wrap:wrap;}
.ync-pagination .page-numbers{display:inline-grid;place-items:center;min-width:42px;height:42px;padding:0 12px;border-radius:10px;background:#fff;border:1px solid var(--ink-08);color:var(--ink);font-weight:600;}
.ync-pagination .page-numbers.current{background:var(--teal);color:#fff;border-color:var(--teal);}
.ync-pagination a.page-numbers:hover{background:var(--teal-tint-2);}

/* Client portal */
.portal-login{max-width:440px;margin:0 auto;}
.login-card{background:#fff;border-radius:var(--radius);box-shadow:var(--shadow);padding:40px;}
.portal-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:24px;margin-top:10px;}
.portal-tile{background:#fff;border:1px solid var(--ink-08);border-radius:var(--radius);padding:28px;box-shadow:var(--shadow);}
.portal-tile .ico{width:50px;height:50px;border-radius:12px;background:var(--teal-tint-2);color:var(--teal);display:grid;place-items:center;font-size:1.4rem;margin-bottom:14px;}
.portal-bar{display:flex;justify-content:space-between;align-items:center;background:var(--teal-tint);border-radius:var(--radius);padding:18px 24px;margin-bottom:26px;flex-wrap:wrap;gap:12px;}
.login-error{background:var(--coral-tint);color:var(--coral-dark);padding:12px 16px;border-radius:10px;margin-bottom:18px;font-weight:600;font-size:.92rem;}
