/*
 * Luma Health — site-wide overrides
 *
 * This file is loaded after each migrated page's original stylesheet. Use it for
 * global changes to colors, typography, navigation, buttons, spacing, and footer
 * presentation without editing individual page files.
 */

:root {
  --luma-site-cream: #fdfaf3;
  --luma-site-cream-dark: #f5edd8;
  --luma-site-gold: #c4933a;
  --luma-site-espresso: #241207;
}

html {
  scroll-behavior: smooth;
}

body {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

a,
button,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

.luma-minimal-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  height: 58px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(196, 147, 58, 0.2);
  background: rgba(253, 250, 243, 0.96);
  backdrop-filter: blur(16px);
}

.luma-minimal-header__brand {
  color: var(--luma-site-espresso);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 25px;
  text-decoration: none;
}

.luma-minimal-header__brand span,
.luma-minimal-header__blog {
  color: var(--luma-site-gold);
}

.luma-minimal-header__blog {
  font-family: "Jost", Arial, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

html.luma-has-minimal-header body {
  padding-top: 78px !important;
}

.luma-mobile-blog-link {
  display: none;
}

@media (max-width: 768px) {
  .luma-mobile-blog-link {
    display: inline-flex;
    align-items: center;
    margin: 0 7px 0 10px;
    color: var(--luma-site-gold);
    font: 600 10px "Jost", Arial, sans-serif;
    letter-spacing: 0.1em;
    text-decoration: none;
    text-transform: uppercase;
  }
}

/* --------------------------------------------------------------------------
 * Universal site shell and desktop content-width normalization
 * -------------------------------------------------------------------------- */

.luma-global-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 5000;
  display: block;
  height: 96px;
  color: var(--luma-site-espresso);
  background: rgba(253, 250, 243, 0.97);
  border-bottom: 1px solid rgba(196, 147, 58, 0.2);
  box-shadow: 0 8px 32px rgba(36, 18, 7, 0.05);
  backdrop-filter: blur(18px);
}

.luma-global-trustbar {
  height: 28px;
  padding: 0 5vw;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: rgba(253, 250, 243, 0.78);
  background: var(--luma-site-espresso);
  font: 500 11px/1 "Jost", Arial, sans-serif;
  letter-spacing: 0.045em;
  text-decoration: none;
}

.luma-global-trustbar > span:first-child,
.luma-global-trustbar strong { color: #e8c97a; }
.luma-global-trustbar strong { font-weight: 600; }

.luma-global-navrow {
  width: min(1480px, 100%);
  height: 68px;
  margin: 0 auto;
  padding: 0 clamp(22px, 4vw, 64px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.luma-global-logo,
.luma-global-footer__logo {
  color: var(--luma-site-espresso);
  font: 500 27px/1 "Cormorant Garamond", Georgia, serif;
  letter-spacing: 0.04em;
  text-decoration: none;
  white-space: nowrap;
}

.luma-global-logo span,
.luma-global-footer__logo span { color: var(--luma-site-gold); }

.luma-global-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 2.2vw, 36px);
}

.luma-global-links a,
.luma-global-login {
  color: #5c3d1e;
  font: 500 12px/1 "Jost", Arial, sans-serif;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 160ms cubic-bezier(0.23, 1, 0.32, 1);
}

.luma-global-links a:hover,
.luma-global-login:hover { color: var(--luma-site-gold); }

.luma-global-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.luma-global-login {
  padding: 12px 18px;
  color: var(--luma-site-espresso);
  border: 1px solid rgba(196, 147, 58, 0.45);
}

.luma-global-cta {
  padding: 13px 22px;
  color: #fffef9;
  background: var(--luma-site-gold);
  border: 1px solid var(--luma-site-gold);
  font: 600 12px/1 "Jost", Arial, sans-serif;
  letter-spacing: 0.11em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 160ms cubic-bezier(0.23, 1, 0.32, 1), background 160ms cubic-bezier(0.23, 1, 0.32, 1);
}

.luma-global-cta:hover { background: var(--luma-site-espresso); }
.luma-global-cta:active,
.luma-global-login:active { transform: scale(0.97); }

.luma-global-menu {
  width: 42px;
  height: 42px;
  display: none;
  padding: 10px;
  border: 1px solid rgba(196, 147, 58, 0.35);
  background: transparent;
}

.luma-global-menu span {
  display: block;
  height: 1px;
  margin: 5px 0;
  background: var(--luma-site-espresso);
  transition: transform 180ms cubic-bezier(0.23, 1, 0.32, 1), opacity 180ms cubic-bezier(0.23, 1, 0.32, 1);
}

.luma-global-menu[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.luma-global-menu[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.luma-global-menu[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.luma-global-mobile {
  position: absolute;
  inset: 96px 0 auto;
  padding: 16px 24px 22px;
  display: grid;
  background: rgba(253, 250, 243, 0.99);
  border-bottom: 1px solid rgba(196, 147, 58, 0.24);
  box-shadow: 0 22px 40px rgba(36, 18, 7, 0.1);
}
.luma-global-mobile[hidden] { display: none; }
.luma-global-mobile a {
  padding: 13px 4px;
  color: #5c3d1e;
  border-bottom: 1px solid rgba(196, 147, 58, 0.15);
  font: 500 12px/1 "Jost", Arial, sans-serif;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
}

/* The source templates were designed for a fixed header. Normalize their offsets. */
.hero,
.post-hero { padding-top: 96px !important; }
.page-wrap { padding-top: 128px !important; }
.page-header,
.privacy-hero,
.legal-hero { padding-top: 142px !important; }

/* Use more of wide desktop screens while keeping prose line length comfortable. */
@media (min-width: 1280px) {
  .post-hero-inner,
  .hero-image-row,
  .post-disclaimer-inner { max-width: 1280px !important; }
  .post-layout { width: min(1360px, calc(100% - 48px)) !important; max-width: 1360px !important; padding-inline: 0 !important; grid-template-columns: minmax(0, 860px) minmax(280px, 320px) !important; gap: clamp(44px, 5vw, 76px) !important; justify-content: center; }
  .page-wrap { width: min(1460px, calc(100% - 48px)) !important; max-width: 1460px !important; padding-inline: 0 !important; grid-template-columns: minmax(0, 880px) minmax(280px, 320px) !important; gap: clamp(44px, 5vw, 76px) !important; }
  .privacy-body,
  .legal-body,
  .legal-content { width: min(1180px, 90vw) !important; max-width: 1180px !important; margin-inline: auto !important; }
  .faq-body { width: min(1120px, 90vw) !important; max-width: 1120px !important; }
}

.luma-standard-reviewer {
  margin: 22px 0 26px;
  padding: 15px 18px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  color: rgba(253, 250, 243, 0.78);
  background: linear-gradient(110deg, #2b170c, #3b2414);
  border: 1px solid rgba(232, 201, 122, 0.25);
  border-left: 3px solid var(--luma-site-gold);
  font: 400 12px/1.5 "Jost", Arial, sans-serif;
}
.luma-standard-reviewer__label {
  color: #e8c97a;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.luma-standard-reviewer strong { color: #fffef9; font-weight: 500; }
.luma-standard-reviewer__npi { color: rgba(253, 250, 243, 0.48); }

footer.luma-global-footer {
  position: relative;
  z-index: 2;
  padding: 68px clamp(24px, 5vw, 76px) 28px !important;
  color: rgba(253, 250, 243, 0.65) !important;
  background: var(--luma-site-espresso) !important;
}
.luma-global-footer__grid {
  width: min(1380px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(260px, 1.6fr) repeat(3, minmax(150px, 1fr));
  gap: clamp(34px, 5vw, 72px);
}
.luma-global-footer__logo { display: inline-block; margin-bottom: 18px; color: #fffef9; font-size: 32px; }
.luma-global-footer__brand p { max-width: 390px; margin: 0 0 18px; color: rgba(253, 250, 243, 0.58); font: 300 14px/1.8 "Jost", Arial, sans-serif; }
.luma-global-footer address { color: rgba(253, 250, 243, 0.48); font: normal 300 12px/1.8 "Jost", Arial, sans-serif; }
.luma-global-footer address strong { color: rgba(253, 250, 243, 0.78); font-weight: 500; }
.luma-global-footer h2 { margin: 2px 0 18px; color: #e8c97a; font: 600 10px/1 "Jost", Arial, sans-serif; letter-spacing: 0.17em; text-transform: uppercase; }
.luma-global-footer__grid > div:not(.luma-global-footer__brand) > a { display: block; padding: 6px 0; color: rgba(253, 250, 243, 0.58); font: 300 13px/1.55 "Jost", Arial, sans-serif; text-decoration: none; }
.luma-global-footer a:hover { color: #e8c97a !important; }
.luma-global-footer__notice,
.luma-global-footer__bottom { width: min(1380px, 100%); margin-inline: auto; }
.luma-global-footer__notice { margin-top: 46px; padding-top: 24px; border-top: 1px solid rgba(232, 201, 122, 0.16); }
.luma-global-footer__notice p { max-width: 1050px; color: rgba(253, 250, 243, 0.34); font: 300 11px/1.75 "Jost", Arial, sans-serif; }
.luma-global-footer__bottom { margin-top: 22px; display: flex; justify-content: space-between; gap: 18px; color: rgba(253, 250, 243, 0.28); font: 300 11px/1.5 "Jost", Arial, sans-serif; }

@media (max-width: 1050px) {
  .luma-global-links { display: none; }
  .luma-global-menu { display: block; }
  .luma-global-footer__grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .luma-global-footer__grid > div:last-child { grid-column: 2 / 4; }
}

@media (max-width: 720px) {
  .luma-global-header { height: 88px; }
  .luma-global-trustbar { height: 24px; font-size: 9px; }
  .luma-global-trustbar__copy { display: none; }
  .luma-global-navrow { height: 64px; padding-inline: 18px; gap: 14px; }
  .luma-global-login { display: none; }
  .luma-global-cta { padding: 11px 13px; font-size: 10px; }
  .luma-global-mobile { inset-block-start: 88px; }
  .hero,
  .post-hero { padding-top: 88px !important; }
  .page-wrap { padding-top: 112px !important; }
  .page-header,
  .privacy-hero,
  .legal-hero { padding-top: 124px !important; }
  .luma-global-footer__grid { grid-template-columns: 1fr 1fr; }
  .luma-global-footer__brand { grid-column: 1 / -1; }
  .luma-global-footer__grid > div:last-child { grid-column: auto; }
  .luma-global-footer__bottom { display: grid; }
}

@media (max-width: 470px) {
  .luma-global-logo { font-size: 24px; }
  .luma-global-actions { gap: 8px; }
  .luma-global-cta { padding-inline: 11px; }
  .luma-global-menu { width: 38px; height: 38px; }
  footer.luma-global-footer { padding-inline: 22px !important; }
  .luma-global-footer__grid { grid-template-columns: 1fr; }
  .luma-global-footer__brand,
  .luma-global-footer__grid > div:last-child { grid-column: auto; }
}

/* Exact homepage footer, shared across every route. */
.luma-global-footer .footer-top{width:min(1380px,100%);margin:0 auto 56px;display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:48px}
.luma-global-footer .footer-logo{display:block;margin-bottom:14px;color:#fdfaf3;font:400 28px/1 'Cormorant Garamond',Georgia,serif;letter-spacing:.04em;text-decoration:none}
.luma-global-footer .footer-logo span{color:#e8c97a}
.luma-global-footer .footer-tagline{max-width:240px;margin-bottom:24px;color:rgba(253,250,243,.5);font:300 13px/1.8 'Jost',Arial,sans-serif}
.luma-global-footer .footer-heading{margin-bottom:18px;color:#e8c97a;font:500 11px/1 'Jost',Arial,sans-serif;letter-spacing:.18em;text-transform:uppercase}
.luma-global-footer .footer-links{margin:0;padding:0;list-style:none}.luma-global-footer .footer-links li{margin-bottom:10px}
.luma-global-footer .footer-links a{color:rgba(253,250,243,.5);font:300 14px/1.5 'Jost',Arial,sans-serif;text-decoration:none}.luma-global-footer .footer-links a:hover{color:#e8c97a}
.luma-global-footer .footer-contact-block{margin-bottom:20px;color:rgba(253,250,243,.55);font:300 13px/1.9 'Jost',Arial,sans-serif}.luma-global-footer .footer-contact-block strong{color:rgba(253,250,243,.85);font-weight:500}.luma-global-footer .footer-contact-block a{color:rgba(253,250,243,.55);text-decoration:none}
.luma-global-footer .footer-disclaimer-row{width:min(1380px,100%);margin:0 auto 8px;display:flex;align-items:flex-start;gap:24px}.luma-global-footer .footer-disclaimer{flex:1;margin:0;color:rgba(253,250,243,.62);font:300 13px/1.8 'Jost',Arial,sans-serif}.luma-global-footer .footer-badge{flex-shrink:0;display:flex;align-items:center;gap:14px;flex-wrap:wrap}.luma-global-footer .footer-badge>a{display:inline-block;padding:8px;background:#fdfaf3;border-radius:6px;line-height:0}.luma-global-footer .footer-badge img{display:block}.luma-global-footer .footer-ca-fallback{display:flex!important;align-items:center;gap:7px;color:#5c3d1e!important;font:500 11.5px/1 'Jost',Arial,sans-serif!important;letter-spacing:.02em;text-decoration:none!important;line-height:1!important}.luma-global-footer .fca-stars{color:#c4933a;font-size:11px;letter-spacing:1px}.luma-global-footer .fca-name{color:#1e1208;font-weight:600}.luma-global-footer .payment-icons{display:flex;align-items:center;gap:8px}.luma-global-footer .payment-icons svg{display:block;border-radius:4px}
.luma-global-footer .footer-bottom{width:min(1380px,100%);margin:0 auto;padding-top:28px;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;border-top:1px solid rgba(253,250,243,.1)}.luma-global-footer .footer-bottom p{color:rgba(253,250,243,.3);font:300 12px/1.5 'Jost',Arial,sans-serif}.luma-global-footer .footer-legal{display:flex;gap:24px;flex-wrap:wrap}.luma-global-footer .footer-legal a{color:rgba(253,250,243,.3);font:300 12px/1.5 'Jost',Arial,sans-serif;text-decoration:none}
.luma-global-footer .footer-compliance{width:min(1380px,100%);margin:28px auto 0;padding-top:24px;border-top:1px solid rgba(253,250,243,.1);color:rgba(253,250,243,.35);font:300 11px/1.8 'Jost',Arial,sans-serif}.luma-global-footer .footer-compliance p{margin:0 0 10px}.luma-global-footer .footer-compliance p:last-child{margin-bottom:0}
@media(max-width:850px){.luma-global-footer .footer-top{grid-template-columns:1fr 1fr;gap:34px}.luma-global-footer .footer-disclaimer-row{flex-direction:column}.luma-global-footer .footer-badge{width:100%}.luma-global-footer .footer-bottom{align-items:flex-start;flex-direction:column}.luma-global-footer .footer-legal{gap:14px 20px}}
@media(max-width:520px){.luma-global-footer .footer-top{grid-template-columns:1fr}.luma-global-footer .footer-tagline{max-width:320px}.luma-global-footer .footer-badge{align-items:flex-start}.luma-global-footer .footer-ca-fallback{white-space:normal}.luma-global-footer .footer-disclaimer{font-size:12px}.luma-global-footer .footer-compliance{font-size:10.5px}}

/* Cross-template phone safety: normalize legacy page shells without changing desktop design. */
html{max-width:100%;overflow-x:hidden}
body.luma-site{width:100%!important;max-width:100%!important;min-width:0!important;overflow-x:hidden!important}
@media(max-width:720px){
  body.luma-site{display:block!important;margin:0!important;padding:0!important;align-items:initial!important;justify-content:initial!important}
  body.luma-site>.luma-global-header,body.luma-site>.luma-global-footer{width:100%!important;max-width:100%!important}
  body.luma-site main,body.luma-site article,body.luma-site aside,body.luma-site .wrap,body.luma-site .layout,body.luma-site .post-layout,body.luma-site .page-wrap,body.luma-site .content-wrap{min-width:0!important;max-width:100%!important}
  body.luma-site .calculator-page{width:100%!important;max-width:460px!important;margin:0 auto!important;padding:20px!important}
  body.luma-site .calculator-page .calc-card{width:100%!important;max-width:100%!important;min-height:auto!important;border-radius:18px!important}
  body.luma-site .table-scroll{display:block!important;width:100%!important;max-width:100%!important;overflow-x:auto!important;-webkit-overflow-scrolling:touch}
  body.luma-site table:not(.compare-table){max-width:100%}
  body.luma-site .compare-table{width:100%!important;max-width:100%!important;table-layout:fixed!important}
  body.luma-site .compare-table th,body.luma-site .compare-table td{padding:9px 6px!important;font-size:11px!important;letter-spacing:0!important;overflow-wrap:anywhere!important;word-break:normal!important}
}
@media(max-width:420px){body.luma-site .calculator-page{padding:16px!important}}

.luma-standard-reviewer a{color:inherit;text-decoration-color:rgba(196,147,58,.55);text-underline-offset:3px}.luma-standard-reviewer a:hover{color:#c4933a}.luma-standard-reviewer__standards{font-size:10px;letter-spacing:.09em;text-transform:uppercase;white-space:nowrap}
@media(max-width:640px){.luma-standard-reviewer__standards{width:100%;margin-top:2px}}

/* Verified medical references added to articles that lacked authoritative citations. */
.luma-authoritative-references{max-width:1060px;margin:42px auto;padding:28px 32px;background:#f5edd8;border:1px solid rgba(196,147,58,.24);color:#3b2919}.luma-authoritative-references h2{margin:0 0 8px;font-family:'Cormorant Garamond',serif;font-size:30px;font-weight:500;color:#1e1208}.luma-authoritative-references p{margin:0 0 14px;line-height:1.7;color:#74573a}.luma-authoritative-references ul{margin:0;padding-left:20px}.luma-authoritative-references li{margin:8px 0;line-height:1.55}.luma-authoritative-references a{color:#7a541d;text-underline-offset:3px}@media(max-width:720px){.luma-authoritative-references{margin:32px 18px;padding:24px 20px}.luma-authoritative-references h2{font-size:26px}}
