
/* NYCMedicalWeightLoss.com - W8MD Additional CSS (August 2026)
   Official logo palette: Pantone 273 C, Pantone 285 C and Pantone 519 C.
   Paste into Appearance > Customize > Additional CSS.
*/
:root {
  --w8md-navy:#27318b;
  --w8md-blue:#007dc3;
  --w8md-purple:#6d276a;
  --w8md-teal:#007dc3; /* Legacy class compatibility */
  --w8md-green:#6d276a; /* Legacy price-class compatibility */
  --w8md-gold:#6d276a; /* Legacy button-class compatibility */
  --w8md-text:#26283b;
  --w8md-muted:#5d6074;
  --w8md-border:#d9deee;
  --w8md-light:#f5f7fc;
  --w8md-pale:#f5eef7;
  --w8md-white:#fff;
}

.nycw8md-page,
.nycw8md-page * {
  box-sizing:border-box;
}

.nycw8md-page {
  color:var(--w8md-text);
  font-family:inherit;
  font-size:17px;
  line-height:1.68;
  margin:0 auto;
  overflow:hidden;
}

/* Post template: the WordPress theme supplies the single visible H1/post title. */
.entry-content:has(> .nycw8md-post) {
  max-width:none;
  padding-left:0;
  padding-right:0;
}

.nycw8md-post {
  background:var(--w8md-white);
}

.nycw8md-post-hero {
  align-items:center;
  background:
    radial-gradient(circle at 8% 8%,rgba(0,125,195,.28),transparent 24%),
    linear-gradient(135deg,var(--w8md-navy),var(--w8md-blue) 56%,var(--w8md-purple));
  color:#fff;
  display:grid;
  gap:42px;
  grid-template-columns:minmax(0,1.05fr) minmax(320px,.95fr);
  padding:54px max(24px,calc((100vw - 1100px)/2));
}

.nycw8md-post-lead {
  color:#fff !important;
  font-size:clamp(1.08rem,2vw,1.28rem);
  line-height:1.65;
  margin:0;
  max-width:720px;
}

.nycw8md-post-image {
  background:#fff;
  border:6px solid rgba(255,255,255,.22);
  border-radius:18px;
  box-shadow:0 22px 55px rgba(0,0,0,.24);
  margin:0;
  overflow:hidden;
}

.nycw8md-post-image img {
  aspect-ratio:3/2;
  object-fit:cover;
  width:100%;
}

.nycw8md-post-image figcaption {
  color:var(--w8md-muted);
  font-size:.78rem;
  line-height:1.45;
  padding:10px 14px 12px;
}

.nycw8md-post-body {
  margin:0 auto;
  max-width:960px;
  padding:58px 24px 20px;
}

.nycw8md-quick-answer {
  background:linear-gradient(135deg,var(--w8md-light),var(--w8md-pale));
  border:1px solid var(--w8md-border);
  border-left:6px solid var(--w8md-teal);
  border-radius:12px;
  box-shadow:0 8px 24px rgba(39,49,139,.08);
  margin:0 0 44px;
  padding:22px 24px;
}

.nycw8md-quick-answer strong {
  color:var(--w8md-navy);
  display:block;
  font-size:.82rem;
  letter-spacing:.1em;
  margin-bottom:7px;
  text-transform:uppercase;
}

.nycw8md-quick-answer p {
  color:var(--w8md-text);
  margin:0;
}

.nycw8md-post-section {
  border-bottom:1px solid var(--w8md-border);
  padding:0 0 42px;
  margin:0 0 42px;
}

.nycw8md-post-section h2,
.nycw8md-offer h2 {
  color:var(--w8md-navy);
  font-size:clamp(1.65rem,3.2vw,2.35rem);
  letter-spacing:-.025em;
  line-height:1.16;
  margin:0 0 16px;
}

.nycw8md-post-section p {
  color:var(--w8md-muted);
  margin:0 0 16px;
}

.nycw8md-offer {
  background:
    radial-gradient(circle at 92% 12%,rgba(109,39,106,.16),transparent 28%),
    linear-gradient(135deg,#edf7fc,#f8f0f8);
  border:1px solid #d9deee;
  border-radius:18px;
  box-shadow:0 12px 32px rgba(39,49,139,.10);
  margin:4px 0 46px;
  padding:30px;
}

.nycw8md-offer p {
  color:var(--w8md-text);
  margin:0 0 10px;
}

.nycw8md-offer strong {
  color:var(--w8md-green);
}

.nycw8md-fineprint {
  border-top:1px solid rgba(39,49,139,.14);
  color:var(--w8md-muted) !important;
  font-size:.78rem;
  line-height:1.55;
  margin-top:18px !important;
  padding-top:15px;
}

.nycw8md-related,
.nycw8md-trust {
  border-bottom:0;
}

.nycw8md-page a:focus-visible,
.nycw8md-page summary:focus-visible,
.nycw8md-page input:focus-visible,
.nycw8md-page textarea:focus-visible,
.nycw8md-page select:focus-visible,
.nycw8md-page button:focus-visible {
  outline:3px solid var(--w8md-blue);
  outline-offset:3px;
}

.nycw8md-btn:hover,
.nycw8md-links a:hover {
  box-shadow:0 9px 22px rgba(39,49,139,.18);
  transform:translateY(-2px);
}

.nycw8md-btn,
.nycw8md-links a {
  transition:transform .18s ease,box-shadow .18s ease;
}

.nycw8md-page a {
  color:var(--w8md-blue);
  font-weight:800;
  text-decoration-thickness:2px;
  text-underline-offset:3px;
}

.nycw8md-page img {
  display:block;
  height:auto;
  max-width:100%;
}

.nycw8md-container {
  margin:0 auto;
  max-width:1180px;
  padding-left:24px;
  padding-right:24px;
}

.nycw8md-hero {
  align-items:center;
  background:
    radial-gradient(circle at 85% 10%,rgba(0,125,195,.30),transparent 28%),
    linear-gradient(135deg,var(--w8md-navy) 0%,var(--w8md-blue) 52%,var(--w8md-purple) 100%);
  color:#fff;
  display:grid;
  gap:38px;
  grid-template-columns:minmax(0,1.12fr) minmax(320px,.88fr);
  margin:0 auto 0;
  padding:72px max(24px,calc((100vw - 1180px)/2)) 68px;
}

.nycw8md-badge,
.nycw8md-eyebrow {
  color:var(--w8md-teal);
  display:inline-block;
  font-size:.78rem;
  font-weight:900;
  letter-spacing:.11em;
  margin-bottom:10px;
  text-transform:uppercase;
}

.nycw8md-badge {
  background:rgba(255,255,255,.14);
  border:1px solid rgba(255,255,255,.28);
  border-radius:999px;
  color:#fff;
  padding:8px 14px;
}

.nycw8md-hero h1 {
  color:#fff !important;
  font-size:clamp(2.25rem,5vw,4.1rem);
  letter-spacing:-.04em;
  line-height:1.04;
  margin:0 0 18px;
}

.nycw8md-hero p {
  color:rgba(255,255,255,.96);
  font-size:1.1rem;
  margin:0 0 22px;
}

.nycw8md-actions {
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:18px;
}

.nycw8md-actions.center {
  justify-content:center;
}

.nycw8md-btn {
  align-items:center;
  border:2px solid transparent;
  border-radius:10px;
  display:inline-flex;
  font-weight:900;
  justify-content:center;
  line-height:1.2;
  min-height:50px;
  padding:13px 20px;
  text-decoration:none !important;
}

.nycw8md-btn.primary {
  background:var(--w8md-purple);
  color:#fff !important;
}

.nycw8md-btn.secondary {
  background:#fff;
  color:var(--w8md-navy) !important;
}

.nycw8md-btn.light {
  border-color:rgba(255,255,255,.85);
  color:#fff !important;
}

.nycw8md-hero-card {
  background:#fff;
  border-radius:18px;
  box-shadow:0 24px 55px rgba(0,0,0,.22);
  color:var(--w8md-text);
  overflow:hidden;
  padding:0 0 20px;
}

.nycw8md-hero-card img {
  aspect-ratio:3/2;
  object-fit:cover;
  width:100%;
}

.nycw8md-hero-card h2 {
  color:var(--w8md-navy);
  font-size:1.42rem;
  margin:22px 22px 14px;
}

.nycw8md-price-grid {
  display:grid;
  gap:12px;
  grid-template-columns:repeat(2,minmax(0,1fr));
  padding:0 22px;
}

.nycw8md-price-grid div {
  background:var(--w8md-light);
  border:1px solid var(--w8md-border);
  border-radius:11px;
  padding:13px;
}

.nycw8md-price-grid strong {
  color:var(--w8md-navy);
  display:block;
}

.nycw8md-price-grid span {
  color:var(--w8md-green);
  display:block;
  font-size:1.45rem;
  font-weight:900;
  line-height:1.12;
  margin:4px 0;
}

.nycw8md-price-grid small {
  color:var(--w8md-muted);
  display:block;
  font-size:.78rem;
  line-height:1.4;
}

.nycw8md-note {
  border-left:4px solid var(--w8md-teal);
  color:var(--w8md-muted) !important;
  font-size:.78rem !important;
  line-height:1.45 !important;
  margin:16px 22px 0 !important;
  padding-left:10px;
}

.nycw8md-section {
  padding:68px 0;
}

.nycw8md-section.alt {
  background:var(--w8md-light);
}

.nycw8md-section.resources {
  background:var(--w8md-pale);
}

.nycw8md-section h2,
.nycw8md-contact h2 {
  color:var(--w8md-navy);
  font-size:clamp(1.9rem,4vw,3rem);
  letter-spacing:-.025em;
  line-height:1.15;
  margin:0 0 16px;
}

.nycw8md-section p {
  color:var(--w8md-muted);
  margin:0 0 16px;
}

.nycw8md-card-grid {
  display:grid;
  gap:22px;
  grid-template-columns:repeat(3,minmax(0,1fr));
  margin-top:26px;
}

.nycw8md-card,
.nycw8md-location,
.nycw8md-testimonial {
  background:#fff;
  border:1px solid var(--w8md-border);
  border-radius:15px;
  box-shadow:0 8px 24px rgba(39,49,139,.09);
  padding:26px;
}

.nycw8md-card h3,
.nycw8md-location h3 {
  color:var(--w8md-navy);
  font-size:1.25rem;
  line-height:1.25;
  margin:0 0 10px;
}

.nycw8md-card p,
.nycw8md-location p {
  color:var(--w8md-muted);
  margin:0 0 12px;
}

.nycw8md-card a {
  display:inline-block;
  margin-top:4px;
}

.nycw8md-container.split {
  align-items:center;
  display:grid;
  gap:48px;
  grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);
}

.nycw8md-container.split figure {
  background:#fff;
  border-radius:18px;
  box-shadow:0 14px 38px rgba(39,49,139,.13);
  margin:0;
  overflow:hidden;
}

.nycw8md-container.split figure img {
  aspect-ratio:3/2;
  object-fit:cover;
  width:100%;
}

.nycw8md-container.split figcaption {
  color:var(--w8md-muted);
  font-size:.82rem;
  line-height:1.45;
  padding:11px 14px 13px;
}

.nycw8md-checks {
  display:grid;
  gap:12px;
  list-style:none;
  margin:22px 0;
  padding:0;
}

.nycw8md-checks li {
  background:#fff;
  border:1px solid var(--w8md-border);
  border-radius:10px;
  box-shadow:0 5px 18px rgba(39,49,139,.07);
  padding:12px 15px 12px 44px;
  position:relative;
}

.nycw8md-checks li:before {
  align-items:center;
  background:var(--w8md-teal);
  border-radius:50%;
  color:#fff;
  content:"✓";
  display:flex;
  font-weight:900;
  height:23px;
  justify-content:center;
  left:13px;
  position:absolute;
  top:13px;
  width:23px;
}

.nycw8md-table-wrap {
  background:#fff;
  border:1px solid var(--w8md-border);
  border-radius:15px;
  box-shadow:0 8px 24px rgba(39,49,139,.09);
  margin-top:22px;
  overflow:hidden;
}

.nycw8md-table {
  border-collapse:collapse;
  width:100%;
}

.nycw8md-table th {
  background:var(--w8md-navy);
  color:#fff;
  font-weight:900;
  padding:14px;
  text-align:left;
}

.nycw8md-table td {
  border-top:1px solid var(--w8md-border);
  padding:14px;
  vertical-align:top;
}

.nycw8md-table td:first-child {
  color:var(--w8md-navy);
  font-weight:900;
}

.nycw8md-location-grid {
  display:grid;
  gap:24px;
  grid-template-columns:repeat(2,minmax(0,1fr));
  margin-top:26px;
}

.nycw8md-phone {
  color:var(--w8md-teal) !important;
  display:block;
  font-size:1.65rem;
  font-weight:900;
  line-height:1.15;
  margin:6px 0 10px;
  text-decoration:none !important;
}

.nycw8md-section.testimonial {
  background:linear-gradient(135deg,#eef7fc,#f5eef7);
}

.nycw8md-testimonial {
  border-left:6px solid var(--w8md-teal);
  margin:0 auto;
  max-width:900px;
}

.nycw8md-stars {
  color:var(--w8md-purple);
  font-size:1.15rem;
  letter-spacing:2px;
  margin-bottom:12px;
}

.nycw8md-testimonial blockquote {
  border:0;
  color:var(--w8md-text);
  font-size:1.08rem;
  font-style:normal;
  font-weight:800;
  margin:0 0 15px;
  padding:0;
}

.nycw8md-testimonial cite {
  color:var(--w8md-navy);
  display:block;
  font-style:normal;
  font-weight:900;
  margin-bottom:10px;
}

.nycw8md-faq {
  margin-top:22px;
}

.nycw8md-faq details {
  background:#fff;
  border:1px solid var(--w8md-border);
  border-radius:10px;
  margin-bottom:13px;
  padding:0 20px;
}

.nycw8md-faq summary {
  color:var(--w8md-navy);
  cursor:pointer;
  font-weight:900;
  padding:18px 34px 18px 0;
  position:relative;
}

.nycw8md-faq summary:after {
  color:var(--w8md-teal);
  content:"+";
  font-size:1.5rem;
  position:absolute;
  right:0;
  top:12px;
}

.nycw8md-faq details[open] summary:after {
  content:"−";
}

.nycw8md-faq p {
  padding-bottom:18px;
}

.nycw8md-links {
  display:grid;
  gap:14px;
  grid-template-columns:repeat(3,minmax(0,1fr));
  margin-top:18px;
}

.nycw8md-links a {
  background:#fff;
  border:1px solid var(--w8md-border);
  border-radius:12px;
  color:var(--w8md-navy) !important;
  display:block;
  font-weight:900;
  padding:16px;
  text-align:center;
  text-decoration:none !important;
}

.nycw8md-contact {
  background:
    radial-gradient(circle at 10% 20%,rgba(0,125,195,.30),transparent 25%),
    linear-gradient(135deg,var(--w8md-navy),var(--w8md-purple));
  color:#fff;
  padding:68px 0;
  text-align:center;
}

.nycw8md-contact h2 {
  color:#fff !important;
}

.nycw8md-contact p {
  color:rgba(255,255,255,.95);
  margin:0 auto 20px;
  max-width:820px;
}

.nycw8md-form {
  background:#fff;
  border-radius:15px;
  box-shadow:0 14px 38px rgba(0,0,0,.18);
  color:var(--w8md-text);
  margin:28px auto 0;
  max-width:820px;
  padding:24px;
  text-align:left;
}

.nycw8md-form input,
.nycw8md-form select,
.nycw8md-form textarea {
  border:1px solid var(--w8md-border) !important;
  border-radius:8px !important;
  min-height:44px;
  padding:10px 12px !important;
  width:100%;
}

.nycw8md-form input[type="submit"],
.nycw8md-form button {
  background:var(--w8md-purple) !important;
  border:0 !important;
  border-radius:8px !important;
  color:#fff !important;
  cursor:pointer;
  font-weight:900;
  padding:13px 22px !important;
}

.nycw8md-disclaimer {
  background:#f5f7f8;
  color:#53636b;
  font-size:.78rem;
  line-height:1.55;
  padding:24px max(24px,calc((100vw - 1180px)/2));
}

.nycw8md-disclaimer p {
  margin:0;
}

.entry-content .nycw8md-page h1,
.entry-content .nycw8md-page h2,
.entry-content .nycw8md-page h3 {
  clear:none;
}

.entry-content .nycw8md-page ul,
.entry-content .nycw8md-page ol {
  margin-left:0;
}

@media (max-width:980px) {
  .nycw8md-hero,
  .nycw8md-post-hero,
  .nycw8md-container.split {
    grid-template-columns:1fr;
  }

  .nycw8md-card-grid,
  .nycw8md-links {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media (max-width:680px) {
  .nycw8md-container {
    padding-left:18px;
    padding-right:18px;
  }

  .nycw8md-hero {
    padding:54px 18px;
  }

  .nycw8md-post-hero {
    padding:42px 18px;
  }

  .nycw8md-post-body {
    padding:42px 18px 12px;
  }

  .nycw8md-offer,
  .nycw8md-quick-answer {
    padding:22px 19px;
  }

  .nycw8md-section,
  .nycw8md-contact {
    padding:52px 0;
  }

  .nycw8md-card-grid,
  .nycw8md-location-grid,
  .nycw8md-links,
  .nycw8md-price-grid {
    grid-template-columns:1fr;
  }

  .nycw8md-actions {
    flex-direction:column;
  }

  .nycw8md-btn {
    width:100%;
  }

  .nycw8md-table-wrap {
    overflow-x:auto;
  }
}

@media (prefers-reduced-motion:reduce) {
  .nycw8md-page *,
  .nycw8md-page *:before,
  .nycw8md-page *:after {
    scroll-behavior:auto !important;
    transition:none !important;
  }
}

@media print {
  .nycw8md-actions,
  .nycw8md-contact {
    display:none !important;
  }

  .nycw8md-post-hero {
    background:#fff !important;
    color:#000;
    padding:20px 0;
  }

  .nycw8md-post-lead {
    color:#000 !important;
  }
}
/* =========================================================
   W8MD GLOSSARY HERO FIX
   Glossary pages use a narrower content column with a sidebar.
   ========================================================= */

.single-glossary .nycw8md-glossary .nycw8md-post-hero {
  gap:28px;
  grid-template-columns:minmax(0,1fr) minmax(260px,.82fr);
  padding:36px;
}

.single-glossary .nycw8md-post-hero-copy,
.single-glossary .nycw8md-post-image {
  min-width:0;
  width:100%;
}

.single-glossary .nycw8md-post-lead {
  max-width:none;
  overflow-wrap:break-word;
  word-break:normal;
}

.single-glossary .nycw8md-badge {
  max-width:100%;
  white-space:normal;
}

.single-glossary .nycw8md-post-image {
  margin:0;
}

.single-glossary .nycw8md-post-image img {
  aspect-ratio:3 / 2;
  object-fit:cover;
  width:100%;
}

.single-glossary .nycw8md-actions {
  align-items:stretch;
  gap:10px;
}

/* Stack the glossary hero before the columns become cramped */
@media (max-width:1199px) {
  .single-glossary .nycw8md-glossary .nycw8md-post-hero {
    gap:26px;
    grid-template-columns:1fr;
    padding:34px;
  }

  .single-glossary .nycw8md-post-image {
    margin:0 auto;
    max-width:560px;
  }
}

@media (max-width:680px) {
  .single-glossary .nycw8md-glossary .nycw8md-post-hero {
    padding:30px 20px;
  }

  .single-glossary .nycw8md-actions {
    flex-direction:column;
  }

  .single-glossary .nycw8md-btn {
    width:100%;
  }
}
.w8md-appointment-menu > a {
  background: #f4b942 !important;
  border-radius: 6px;
  color: #18384a !important;
  font-weight: 700;
  padding-left: 16px !important;
  padding-right: 16px !important;
}

.w8md-appointment-menu > a:hover,
.w8md-appointment-menu > a:focus {
  background: #ffd16a !important;
  color: #102f40 !important;
}
/* W8MD footer widgets on the Dream Spa light footer */
.footer-sidebar .w8md-footer-widget {
  color: #626668 !important;
  font-size: 15px;
  line-height: 1.65;
}

.footer-sidebar .w8md-footer-widget h2,
.footer-sidebar .w8md-footer-widget h3 {
  color: #4b453f !important;
  line-height: 1.3;
  margin-top: 0;
  margin-bottom: 14px;
}

.footer-sidebar .w8md-footer-widget h2 {
  font-size: 22px;
}

.footer-sidebar .w8md-footer-widget h3 {
  font-size: 18px;
}

.footer-sidebar .w8md-footer-widget p,
.footer-sidebar .w8md-footer-widget address,
.footer-sidebar .w8md-footer-widget li {
  color: #626668 !important;
}

.footer-sidebar .w8md-footer-widget a {
  color: #78963b !important;
  text-decoration: none;
}

.footer-sidebar .w8md-footer-widget a:hover,
.footer-sidebar .w8md-footer-widget a:focus {
  color: #4f6726 !important;
  text-decoration: underline;
}

.footer-sidebar .w8md-footer-widget ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-sidebar .w8md-footer-widget li {
  margin: 0 0 9px;
  padding: 0;
}

.footer-sidebar .w8md-footer-small {
  color: #626668 !important;
  font-size: 13px;
  line-height: 1.5;
}

.footer-sidebar .w8md-footer-phone {
  display: inline-block;
  color: #78963b !important;
  font-size: 19px;
  font-weight: 700;
  margin: 4px 0 10px;
}

.footer-sidebar .w8md-footer-button {
  display: inline-block;
  background: #92b34c !important;
  border: 2px solid #92b34c !important;
  border-radius: 4px;
  color: #ffffff !important;
  font-weight: 700;
  padding: 10px 16px;
  text-align: center;
}

.footer-sidebar .w8md-footer-button:hover,
.footer-sidebar .w8md-footer-button:focus {
  background: #78963b !important;
  border-color: #78963b !important;
  color: #ffffff !important;
  text-decoration: none;
}

.footer-sidebar .w8md-footer-logo {
  display: block;
  height: auto;
  margin: 0 0 15px;
  max-width: 190px;
}

.footer-sidebar .w8md-footer-widget address {
  font-style: normal;
}

.footer-sidebar .widget {
  vertical-align: top;
}