/* That Diabetes Documentary homepage (job 130): shared section styles. Each design's home.css builds on this.
   Brand: kit tokens (red #c1272d, deep red band, gold, checkout yellow). Body 18px desktop / 17px phone, nothing under 16px. */
.dd .ds-main{overflow-x:clip}
.dd-wrap{max-width:var(--wrap);margin:0 auto;padding:0 20px}
.dd-narrow{max-width:800px}
.dd section{padding:56px 0}
@media(min-width:900px){.dd section{padding:80px 0}}
.dd-h2{font:800 clamp(28px,3.6vw,42px)/1.18 var(--f-head);color:#1f1f1f;text-align:center;margin:0 0 .8em;letter-spacing:-.015em}
.dd-ic{width:22px;height:22px;flex:none}
.dd img{border-radius:0}
.dd-lead{font:700 1.08em/1.5 var(--f-head);color:#1f1f1f}
.dd u{text-decoration:none;background:linear-gradient(180deg,transparent 60%,rgba(255,214,0,.45) 60%);padding:0 2px}
html.dd-lock{overflow:hidden}

/* header (doc bar) on the homepage: compact Buy Now on phones */
@media(max-width:820px){
  .dd .ds-hdr__in{gap:10px;padding:0 14px}
  .dd .ds-hdr__cta{display:inline-flex;order:2;margin-left:auto;min-height:44px;padding:10px 18px;font-size:16px;white-space:nowrap;box-shadow:none}
  .dd .ds-hdr__toggle{order:3;margin-left:0;flex:none}
}
@media(max-width:360px){.dd .ds-hdr__cta{display:none}.dd .ds-hdr__toggle{margin-left:auto}}

/* buy buttons */
.dd-buy{font:800 22px/1.1 var(--f-head);min-height:60px;width:100%;max-width:400px;letter-spacing:.02em}
.dd-jump{display:flex;flex-wrap:wrap;align-items:center;gap:12px 20px}
.dd-jump .dd-buy{width:auto;min-width:240px;padding-left:40px;padding-right:40px}
.dd-pnote{margin:0;display:flex;flex-direction:column;gap:2px;font-size:16px;line-height:1.35;color:var(--muted)}
.dd-pnote__price{font:700 18px/1.2 var(--f-head);color:#1f1f1f}
.dd-pnote__price s{color:#8a8a8a;font-weight:600;margin-right:4px}
.dd-pnote__price strong{color:var(--red);font-size:24px}
.dd-pnote__g{display:flex;gap:6px;align-items:flex-start;max-width:330px}
.dd-pnote__g .dd-ic{color:var(--green);width:18px;height:18px;margin-top:1px}

/* expanders (old Read More / View More: the part opens above the button, button says See Less) */
.dd-more__row{margin:18px 0 0}
.dd-more__btn{display:inline-flex;align-items:center;gap:8px;min-height:48px;padding:10px 26px;border-radius:999px;border:2px solid var(--red);color:var(--red);background:#fff;font:700 17px/1 var(--f-head);cursor:pointer}
.dd-more__btn:hover{background:var(--red);color:#fff}
.dd-more__btn .dd-ic{transition:transform .2s;width:20px;height:20px}
.dd-more__btn[aria-expanded="true"] .dd-ic{transform:rotate(180deg)}
.dd-more{animation:ddIn .25s ease}
@keyframes ddIn{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}

/* signature */
.dd-sig{margin-top:26px;display:flex;flex-wrap:wrap;align-items:center;gap:8px 22px}
.dd-sig__img{width:200px;height:auto}
.dd-sig__txt{margin:0;font-size:16px;line-height:1.5;color:var(--muted)}
.dd-sig__txt strong{font:700 18px/1.4 var(--f-head);color:#1f1f1f}

/* trailers */
.dd-trailer,[class$="__media"]{position:relative;display:block;border-radius:14px;overflow:hidden;background:#000}
[data-vimeo] img{display:block;width:100%;aspect-ratio:16/9;object-fit:cover;transition:transform .35s ease,opacity .2s}
[data-vimeo]:hover img{transform:scale(1.03);opacity:.9}
.dd-play{position:absolute;left:50%;top:50%;width:68px;height:68px;margin:-34px 0 0 -34px;border-radius:50%;background:var(--red);color:#fff;display:grid;place-items:center;box-shadow:0 8px 24px rgba(0,0,0,.45);transition:transform .2s}
.dd-play .dd-ic{width:28px;height:28px;margin-left:4px}
[data-vimeo]:hover .dd-play{transform:scale(1.08)}
.dd-lb{position:fixed;inset:0;z-index:100;background:rgba(8,3,3,.88);display:grid;place-items:center;padding:20px}
.dd-lb[hidden]{display:none}
.dd-lb__box{position:relative;width:min(1100px,100%)}
.dd-lb__v{position:relative;aspect-ratio:16/9;background:#000;border-radius:10px;overflow:hidden;box-shadow:0 30px 80px rgba(0,0,0,.6)}
.dd-lb__v iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.dd-lb__x{position:absolute;right:0;top:-54px;width:46px;height:46px;border-radius:50%;border:0;background:#fff;color:#1f1f1f;display:grid;place-items:center;cursor:pointer}

/* episode card defaults */
.dd-ep{display:flex;flex-direction:column;gap:16px}
.dd-ep__title{font:800 21px/1.3 var(--f-head);margin:0 0 .5em;color:#1f1f1f}
.dd-ep__num{display:block;font:800 16px/1.2 var(--f-head);letter-spacing:.14em;text-transform:uppercase;color:var(--red);margin-bottom:6px}
.dd-ep__body p{font-size:17px}

/* PLUS lines */
.dd-plus{text-align:center;font:800 clamp(22px,2.8vw,32px)/1.25 var(--f-head);color:#1f1f1f;margin:56px 0 30px;letter-spacing:.01em}
.dd-plus__k{display:inline-block;background:var(--red);color:#fff;border-radius:8px;padding:2px 12px;margin-right:4px}

/* bonuses */
.dd-bonuses{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
@media(min-width:900px){.dd-bonuses{grid-template-columns:repeat(3,minmax(0,1fr));gap:30px}}
.dd-bonus{margin:0;text-align:center}
.dd-bonus__pic{border-radius:18px;padding:18px;background:linear-gradient(180deg,#fff,#f4eee6);aspect-ratio:1/1;display:grid;place-items:center}
.dd-bonus__pic img{max-height:100%;width:auto;object-fit:contain}
.dd-bonus__title{font:700 18px/1.35 var(--f-head);margin:14px 0 0;color:#1f1f1f}
.dd-bonus__title span{color:var(--red)}

/* book */
.dd-book{display:grid;gap:26px;align-items:center}
@media(min-width:860px){.dd-book{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:50px}}
.dd-book__pic{text-align:center}
.dd-book__pic img{max-width:360px;width:100%}
.dd-book__title{font:800 clamp(24px,2.8vw,32px)/1.25 var(--f-head);margin:0 0 .6em;color:#1f1f1f}

/* experts */
.dd-experts__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
@media(min-width:700px){.dd-experts__grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(min-width:1000px){.dd-experts__grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}}
.dd-expert{margin:0;text-align:center;background:#fff;border-radius:16px;padding:18px 12px;box-shadow:var(--shadow)}
.dd-expert__img{width:116px;height:116px;object-fit:cover;border-radius:50%!important;margin:0 auto 10px;display:block}
.dd-expert__name{display:block;font:700 17px/1.3 var(--f-head);color:#1f1f1f}
.dd-expert__role{display:block;font-size:16px;line-height:1.4;color:var(--muted);margin-top:4px}
.dd-experts__more .dd-experts__grid,.dd-experts .dd-more{margin-top:18px}
.dd-experts .dd-more__row{text-align:center;margin-top:26px}
@media(max-width:420px){.dd-expert__img{width:92px;height:92px}.dd-expert{padding:14px 8px}}

/* offer box */
.dd-offer{max-width:1000px;margin:0 auto;scroll-margin-top:calc(var(--hdr-h) + 12px)}
.dd-offer__head{font:800 clamp(28px,3.6vw,42px)/1.2 var(--f-head);text-align:center;margin:0 0 22px;color:#1f1f1f}
.dd-offer__card{display:grid;gap:22px;align-items:center;background:#fff;border-radius:22px;box-shadow:var(--shadow-lg);padding:clamp(20px,3.4vw,40px);border:2px solid var(--gold-lt)}
@media(min-width:820px){.dd-offer__card{grid-template-columns:1.15fr 1fr;gap:40px}}
.dd-offer__pic img{width:100%}
.dd-offer__buy{text-align:center}
.dd-offer__name{font:800 clamp(22px,2.6vw,28px)/1.2 var(--f-head);letter-spacing:.04em;margin:0 0 .3em;color:#1f1f1f}
.dd-offer__price{margin:0 0 .5em;font-family:var(--f-head)}
.dd-offer__was{font:600 24px/1 var(--f-head);color:#8a8a8a;margin-right:8px}
.dd-offer__now{font:800 clamp(46px,6vw,64px)/1 var(--f-head);color:var(--red);letter-spacing:-.02em}
.dd-offer__buy .dd-buy{margin:0 auto}
.dd-offer__badges{display:block;max-width:300px;width:100%;margin:16px auto 12px}
.dd-offer__guar{display:flex;gap:8px;justify-content:center;align-items:flex-start;font-size:16px;line-height:1.45;color:var(--muted);margin:0}
.dd-offer__guar .dd-ic{color:var(--green);margin-top:1px}
.dd-offer__pack{max-width:900px;margin:22px auto 0;font-size:17px;line-height:1.6;text-align:center;color:#444}
.dd-offer__pack strong{color:#1f1f1f}

/* FAQ accordion (old page: question bars, answer slides open, red when open) */
.dd-faq__list{display:grid;gap:12px}
.dd-faq__item{background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden;transition:border-color .2s}
.dd-faq__q{list-style:none;display:flex;align-items:center;gap:14px;min-height:60px;padding:14px 20px;cursor:pointer;font:700 18px/1.35 var(--f-head);color:#1f1f1f}
.dd-faq__q::-webkit-details-marker{display:none}
.dd-faq__q span{flex:1}
.dd-faq__pm{position:relative;width:20px;height:20px;flex:none}
.dd-faq__pm::before,.dd-faq__pm::after{content:"";position:absolute;background:currentColor;border-radius:2px;transition:transform .2s}
.dd-faq__pm::before{left:0;right:0;top:9px;height:2.5px}
.dd-faq__pm::after{top:0;bottom:0;left:9px;width:2.5px}
.dd-faq__item[open]{border-color:var(--red)}
.dd-faq__item[open] .dd-faq__q,.dd-faq__q:hover{background:var(--red);color:#fff}
.dd-faq__item[open] .dd-faq__pm::after{transform:scaleY(0)}
.dd-faq__a{padding:18px 22px 6px}
.dd-faq__a p{font-size:17px}

/* contact + disclaimer */
.dd-contact__intro{text-align:center;max-width:720px;margin:0 auto 28px}
.dd-contact__cards{display:grid;gap:18px;max-width:860px;margin:0 auto}
@media(min-width:700px){.dd-contact__cards{grid-template-columns:1fr 1fr}}
.dd-contact__card{background:#fff;border-radius:18px;box-shadow:var(--shadow);padding:26px 22px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:6px}
.dd-contact__img{height:64px;width:auto;object-fit:contain}
.dd-contact__card p{margin:6px 0 10px;font-weight:600}
.dd-contact__btn{min-height:48px}
.dd-disclaimer{max-width:900px;margin:38px auto 0;padding-top:26px;border-top:1px solid var(--line)}
.dd-disclaimer p{font-size:16px;line-height:1.6;color:var(--muted)}

/* trust strip (pictures only) */
.dd-trust{background:#fff;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:18px 0}
.dd-trust__in{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:14px 36px}
.dd-trust__faces{display:flex}
.dd-trust__faces img{width:52px;height:52px;border-radius:50%!important;object-fit:cover;border:3px solid #fff;margin-left:-12px;box-shadow:0 2px 8px rgba(0,0,0,.14)}
.dd-trust__faces img:first-child{margin-left:0}
.dd-trust__badges{height:60px;width:auto;max-width:100%}
@media(max-width:520px){.dd-trust__faces img{width:38px;height:38px;margin-left:-10px}.dd-trust__badges{height:48px}}

/* phone sticky Buy Now */
.dd-stick{position:fixed;left:0;right:0;bottom:0;z-index:40;padding:10px 14px calc(10px + env(safe-area-inset-bottom));background:rgba(255,255,255,.97);box-shadow:0 -6px 18px rgba(0,0,0,.12);transform:translateY(110%);transition:transform .25s}
.dd-stick.is-on{transform:none}
.dd-stick__in{display:flex;align-items:center;gap:12px;max-width:560px;margin:0 auto}
.dd-stick__p{display:flex;flex-direction:column;font:700 16px/1.2 var(--f-head);color:#1f1f1f;white-space:nowrap}
.dd-stick__p s{color:#8a8a8a;font-weight:600}
.dd-stick__p strong{color:var(--red);font-size:22px}
.dd-stick__p small{font:500 16px/1.2 var(--f-body);color:var(--muted);display:none}
.dd-stick .dd-buy{flex:1;min-height:52px;font-size:20px;max-width:none}
@media(min-width:900px){.dd-stick{display:none}}
/* the doc bar's active "Home" pill: white text on a soft white tint (the kit pill was white on white here) */
.dd .ds-hdr--doc .ds-hdr__nav a.is-on{background:rgba(255,255,255,.16);color:#fff}
/* the episode stills carry their own title and "click to play" corner: the play button sits bottom-right, clear of the title */
[data-vimeo] .dd-play{left:auto;top:auto;right:14px;bottom:14px;margin:0;width:58px;height:58px}
[data-vimeo] .dd-play .dd-ic{width:24px;height:24px}
/* no backdrop blur on the header: in phone captures the blur layer drew an empty white bar (same fix as diabetessmarts.com) */
.dd .ds-hdr{-webkit-backdrop-filter:none;backdrop-filter:none}
/* job 130 review: the episode art already prints "CLICK TO PLAY", so the extra round button on cards hid words; keep it only on the big hero picture. Show the whole art (no crop). */
[data-vimeo] .dd-play{display:none}
.b-hero__feat .dd-play{display:grid}
[data-vimeo] img{height:auto;aspect-ratio:1000/563;object-fit:contain}
