/* Service landing pages for Sex Ed with Dr. Jeana.
   Loaded after the theme stylesheet, which supplies Lato, the header, the menu and the footer.
   Same palette as the rest of the site: #71657a plum-gray (branding and footer), #222120 text,
   #f2f2f2 / #e6e6e6 grays from the menu gradient, white cards, and the tilted "letter" card
   from the home page. Every class starts with lp- and lives under main.lp, so other pages are untouched. */

.lp-page #content{padding-top:0}
.lp{display:block;background:#fff;color:#222120;overflow-x:hidden;font-family:'Lato',sans-serif;letter-spacing:.01em}
.lp [id]{scroll-margin-top:72px}
@media (prefers-reduced-motion:no-preference){html:has(.lp){scroll-behavior:smooth}}
.lp h1,.lp h2,.lp h3{clear:none;padding:0;letter-spacing:.02em;color:inherit}
.lp p{margin:0}
.lp ul,.lp ol{margin:0;padding:0;list-style:none}
.lp img{display:block;max-width:100%;height:auto}

.lp-wrap{max-width:1100px;margin:0 auto;padding:0 24px}

/* ---------- Buttons ---------- */
.lp .lp-actions{display:flex;flex-wrap:wrap;gap:14px 16px}
.lp .lp-btn,.lp .lp-btn:visited{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:12px 28px;border:1px solid #71657a;background:transparent;color:#71657a;font-size:15px;font-weight:700;line-height:1.3;letter-spacing:.12em;text-transform:uppercase;text-align:center;text-decoration:none;transition:background .2s ease,color .2s ease,border-color .2s ease}
.lp .lp-btn:hover,.lp .lp-btn:focus{background:#71657a;color:#fff;border:1px solid #71657a}
.lp .lp-btn--solid,.lp .lp-btn--solid:visited{background:#71657a;color:#fff}
.lp .lp-btn--solid:hover,.lp .lp-btn--solid:focus{background:#574d60;border-color:#574d60;color:#fff}
.lp a:focus-visible,.lp summary:focus-visible{outline:2px solid #71657a;outline-offset:3px}

/* ---------- Hero ---------- */
.lp-hero{background:linear-gradient(to bottom,#fff 0%,#f2f2f2 100%);border-bottom:1px solid #e6e6e6;padding:56px 0 72px}
.lp-hero__grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);gap:56px;align-items:center}
.lp-crumbs{font-size:13px;line-height:1.5;color:#666;margin:0 0 24px}
.lp .lp-crumbs a{color:#666;border-bottom:1px dotted #aaa}
.lp .lp-crumbs a:hover{color:#222120}
.lp-crumbs span[aria-hidden]{margin:0 6px;color:#aaa}
.lp .lp-kicker{font-size:15px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:#71657a;margin:0 0 12px}
.lp-hero h1{font-weight:300;font-size:46px;line-height:1.16;margin:0 0 20px;text-wrap:balance}
.lp .lp-hero__lead{font-size:20px;line-height:1.6;margin:0 0 32px;max-width:600px}
.lp .lp-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 26px;margin:34px 0 0;font-size:15px;line-height:1.45;color:#444}
.lp-facts li{position:relative;padding-left:18px}
.lp-facts li::before{content:"";position:absolute;left:0;top:6px;width:8px;height:8px;border-radius:50%;background:#71657a}

/* the tilted letter card, as on the home page */
.lp-note{position:relative;background:#fff;border:1px solid #ccc;box-shadow:0 0 8px 2px #ddd;padding:34px 32px 30px;transform:rotate(2deg)}
.lp-note h2{font-weight:300;font-size:24px;line-height:1.3;margin:0 0 14px}
.lp .lp-note p{font-size:16px;line-height:1.65;margin:0 0 14px}
.lp-note__sig{text-align:right;font-style:italic;color:#555}
.lp .lp-note p.lp-note__sig{margin:0}

/* ---------- Section shell ---------- */
.lp-section{padding:84px 0;background:#fff}
.lp-section--gray{background:#f2f2f2}
.lp-head{max-width:780px;margin:0 0 42px}
.lp-eyebrow{display:block;font-size:14px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:#71657a;margin:0 0 10px}
.lp-h2{font-weight:300;font-size:36px;line-height:1.22;margin:0 0 14px;text-wrap:balance}
.lp .lp-lead{font-size:19px;line-height:1.6}
.lp a:not([class]),.lp a:not([class]):visited{color:#222120;border-bottom:1px dotted #71657a}
.lp a:not([class]):hover{color:#71657a;border-bottom:1px solid #71657a}
.lp em{font-style:italic}

/* ---------- Card grids ---------- */
.lp-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.lp-grid--4{grid-template-columns:repeat(4,minmax(0,1fr))}
.lp-card{background:#fff;border:1px solid #e6e6e6;padding:30px 28px;display:flex;flex-direction:column}
.lp-section--gray .lp-card{border-color:#ddd}
.lp-mark{display:block;width:34px;height:4px;background:#71657a;margin:0 0 22px}
.lp-card h3{font-weight:400;font-size:21px;line-height:1.3;margin:0 0 10px}
.lp .lp-card p{font-size:16px;line-height:1.65;color:#333}

/* ---------- Who it is for: ruled rows ---------- */
.lp-rows{border-bottom:1px solid #d9d9d9}
.lp-rows li{display:grid;grid-template-columns:300px minmax(0,1fr);gap:8px 40px;padding:20px 0;border-top:1px solid #d9d9d9}
.lp-rows b{font-size:15px;font-weight:700;line-height:1.5;letter-spacing:.08em;text-transform:uppercase;color:#71657a;padding-top:2px}
.lp-rows span{font-size:17px;line-height:1.65;color:#333}

/* ---------- Photo band ---------- */
.lp-photo{position:relative;background:#71657a;color:#fff}
.lp-photo__img{width:100%;height:460px;object-fit:cover;object-position:62% 35%;filter:grayscale(1)}
.lp-photo__panel{position:absolute;top:50%;left:max(24px,calc((100% - 1100px) / 2 + 24px));transform:translateY(-50%);max-width:460px;background:rgba(113,101,122,.94);padding:34px 34px 32px}
.lp-photo .lp-eyebrow{color:#fff;opacity:.85}
.lp-photo h2{font-weight:300;font-size:32px;line-height:1.25;margin:0 0 14px;color:#fff}
.lp .lp-photo p{font-size:17px;line-height:1.65;color:#fff}

/* ---------- How it works ---------- */
.lp-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:40px 32px;counter-reset:lp-step}
.lp-step{counter-increment:lp-step;border-top:1px solid #71657a;padding-top:22px}
.lp-step::before{content:counter(lp-step);display:flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:50%;background:#71657a;color:#fff;font-size:17px;font-weight:700;line-height:1;margin:0 0 16px}
.lp-step h3{font-weight:400;font-size:21px;line-height:1.3;margin:0 0 8px}
.lp .lp-step p{font-size:16px;line-height:1.65;color:#333}
.lp-callout{margin:44px 0 0;max-width:860px;border-left:4px solid #71657a;padding:6px 0 6px 26px}
.lp .lp-callout p{font-size:18px;line-height:1.65}

/* ---------- FAQ accordion ---------- */
.lp-faq{max-width:860px;border-top:1px solid #d9d9d9}
.lp-faq details{border-bottom:1px solid #d9d9d9}
.lp-faq summary{display:block;list-style:none;position:relative;cursor:pointer;padding:22px 60px 22px 0}
.lp-faq summary::-webkit-details-marker{display:none}
.lp-faq summary::marker{content:""}
.lp-faq summary h3{font-weight:400;font-size:20px;line-height:1.4;margin:0}
.lp-faq summary:hover h3{color:#71657a}
.lp-faq summary::after{content:"+";position:absolute;right:0;top:50%;transform:translateY(-50%);display:flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:50%;background:#71657a;color:#fff;font-size:22px;line-height:1}
.lp-faq details[open] summary::after{content:"\2212"}
.lp-faq__a{padding:0 60px 24px 0}
.lp .lp-faq__a p{font-size:17px;line-height:1.7;color:#333}
.lp .lp-faq__a p+p{margin-top:12px}

/* ---------- Final call to action band ---------- */
.lp-band{background:#71657a;color:#fff;padding:80px 0;text-align:center}
.lp-band h2{font-weight:300;font-size:38px;line-height:1.2;color:#fff;margin:0 auto 14px;max-width:760px;text-wrap:balance}
.lp .lp-band p{font-size:19px;line-height:1.6;margin:0 auto 34px;max-width:620px;color:#f2f2f2}
.lp-band .lp-actions{justify-content:center}
.lp .lp-band .lp-btn,.lp .lp-band .lp-btn:visited{border-color:#fff;color:#fff;background:transparent}
.lp .lp-band .lp-btn:hover,.lp .lp-band .lp-btn:focus{background:#fff;color:#71657a;border-color:#fff}
.lp .lp-band .lp-btn--solid,.lp .lp-band .lp-btn--solid:visited{background:#fff;color:#71657a}
.lp .lp-band .lp-btn--solid:hover,.lp .lp-band .lp-btn--solid:focus{background:transparent;color:#fff}
.lp-band a:focus-visible{outline-color:#fff}

/* ---------- Related link cards ---------- */
.lp .lp-link,.lp .lp-link:visited{display:flex;flex-direction:column;background:#fff;border:1px solid #ddd;padding:26px 24px 22px;color:#222120;text-decoration:none;transition:border-color .2s ease,box-shadow .2s ease}
.lp .lp-link:hover{border:1px solid #71657a;box-shadow:0 10px 28px rgba(0,0,0,.07)}
.lp-link__label{font-size:13px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:#71657a;margin:0 0 10px}
.lp-link__title{font-size:19px;line-height:1.35;margin:0 0 18px;flex:1}
.lp-link__more{font-size:13px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:#555}
.lp-link__more::after{content:"\2192";display:inline-block;margin-left:8px;transition:transform .2s ease}
.lp-link:hover .lp-link__more::after{transform:translateX(4px)}

@media (prefers-reduced-motion:reduce){.lp-link__more::after{transition:none}}

/* ---------- Responsive ---------- */
@media (max-width:980px){
  .lp-hero__grid{grid-template-columns:minmax(0,1fr) minmax(0,.85fr);gap:36px}
  .lp-hero h1{font-size:40px}
  .lp-grid,.lp-grid--4{grid-template-columns:repeat(2,minmax(0,1fr))}
  .lp-steps{grid-template-columns:repeat(2,minmax(0,1fr))}
  .lp-rows li{grid-template-columns:240px minmax(0,1fr)}
}
@media (max-width:760px){
  .lp-hero{padding:40px 0 56px}
  .lp-hero__grid{grid-template-columns:minmax(0,1fr);gap:40px}
  .lp-note{transform:none;max-width:520px}
  .lp-section{padding:64px 0}
  .lp-h2{font-size:30px}
  .lp .lp-lead{font-size:17px}
  .lp-head{margin-bottom:32px}
  .lp-rows li{grid-template-columns:minmax(0,1fr);gap:4px;padding:18px 0}
  .lp-photo__img{height:300px}
  .lp-photo__panel{position:static;transform:none;max-width:none;background:#71657a;padding:32px 24px 36px}
  .lp-band{padding:64px 0}
  .lp-band h2{font-size:30px}
  .lp .lp-band p{font-size:17px}
}
@media (max-width:600px){
  .lp-wrap{padding:0 16px}
  .lp-hero{padding:28px 0 44px}
  .lp-crumbs{margin-bottom:18px}
  .lp-hero h1{font-size:31px;line-height:1.2}
  .lp .lp-hero__lead{font-size:17px;margin-bottom:26px}
  .lp .lp-actions{gap:12px}
  .lp .lp-actions .lp-btn{flex:1 1 100%}
  .lp .lp-facts{grid-template-columns:minmax(0,1fr);margin-top:26px;gap:8px}
  .lp-note{padding:26px 20px 22px}
  .lp-section{padding:52px 0}
  .lp-h2{font-size:26px}
  .lp-grid,.lp-grid--4{grid-template-columns:minmax(0,1fr);gap:16px}
  .lp-card{padding:24px 20px}
  .lp-card h3,.lp-step h3{font-size:19px}
  .lp-card>.lp-mark{margin-bottom:16px}
  .lp-photo__img{height:220px}
  .lp-photo__panel{padding:28px 16px 32px}
  .lp-photo h2{font-size:26px}
  .lp .lp-photo p{font-size:16px}
  .lp-steps{grid-template-columns:minmax(0,1fr);gap:28px}
  .lp-step{display:grid;grid-template-columns:36px minmax(0,1fr);column-gap:14px;align-items:center;padding-top:18px}
  .lp-step::before{margin:0}
  .lp-step h3{margin:0}
  .lp .lp-step p{grid-column:1/-1;margin-top:8px}
  .lp-callout{padding-left:18px}
  .lp .lp-callout p{font-size:16px}
  .lp-faq summary{padding:18px 48px 18px 0}
  .lp-faq summary h3{font-size:18px}
  .lp-faq summary::after{width:30px;height:30px;font-size:20px}
  .lp-faq__a{padding:0 0 20px}
  .lp .lp-faq__a p{font-size:16px}
  .lp-band{padding:52px 0}
  .lp-band h2{font-size:26px}
  .lp .lp-band p{font-size:16px;margin-bottom:26px}
  .lp .lp-link{padding:20px 18px}
  .lp-link__title{font-size:18px;margin-bottom:12px}
}
