/* Official ads: welcoming context, illustrative previews and verifiable links. */
body #main .ymh-ad-showcase { margin-top:76px; padding:48px 0 0; border-top:1px solid #dddfe0; --ad-accent:#bf451b; }
body #main .ymh-ad-showcase__intro > p:last-child { margin:0; font-size:17px; font-weight:500; line-height:1.9; }
body #main#main .ymh-ad-showcase__intro .ymh-section-heading { margin-bottom:18px; }
.ymh-ad-showcase__nav { display:flex; align-items:center; justify-content:space-between; gap:16px; margin:26px 0 16px; font-weight:700; }
.ymh-ad-showcase__nav > div { display:flex; align-items:center; gap:14px; }
.ymh-ad-showcase__nav button { display:grid; place-items:center; width:42px; height:42px; padding:0; border:1px solid #d7c9b5; border-radius:50%; color:#7b643e; background:#fff; font-size:23px; cursor:pointer; }
.ymh-ad-showcase__nav button:disabled { opacity:.35; cursor:default; }
.ymh-ad-showcase__count { font:500 17px/1 'Oswald',sans-serif; min-width:32px; color:#625642; }
.ymh-ad-showcase__track { display:flex; gap:26px; overflow-x:auto; scroll-snap-type:x mandatory; padding:18px 24px 30px; background:linear-gradient(180deg,transparent 22%,#e7e0cf 22%,#e7e0cf); scrollbar-width:thin; scrollbar-color:#b7aa90 #eee8dc; border-radius:0 0 12px 12px; }
.ymh-ad-card { position:relative; flex:0 0 min(820px,94%); min-width:0; display:grid; grid-template-columns:250px minmax(0,1fr); gap:34px; padding:32px; border:1px solid #eeeae2; border-radius:20px; background:#fff; box-shadow:0 5px 20px #4036270d; scroll-snap-align:center; }
.ymh-ad-card--2 { --ad-accent:#27715f; }
.ymh-ad-card--3 { --ad-accent:#1a784b; }
.ymh-ad-preview { overflow:hidden; align-self:center; border:1px solid #d6d9dc; border-radius:23px 23px 12px 12px; background:#f6f7f7; box-shadow:0 6px 16px #1f2e3510; }
.ymh-ad-preview__bar { display:flex; align-items:center; gap:5px; padding:16px 10px 10px; border-bottom:1px solid #e1e4e5; background:#f0f2f4; color:#515a61; font:400 10px/1.5 Arial,sans-serif; overflow-wrap:anywhere; }
.ymh-ad-preview > img { display:block; width:100%; height:150px; object-fit:cover; }
.ymh-ad-preview__caption { padding:17px 16px 12px; color:var(--ad-accent); }
.ymh-ad-preview__caption small { display:block; font-size:11px; font-weight:600; }
.ymh-ad-preview__caption strong { display:block; margin:9px 0 12px; font-size:18px; line-height:1.65; }
.ymh-ad-preview__caption > span { display:block; padding:7px 4px; border-radius:5px; background:var(--ad-accent); color:#fff; font-size:12px; font-weight:700; text-align:center; }
.ymh-ad-preview__note { display:block; padding:0 16px 12px; color:#73787c; font-size:10px; text-align:right; }
.ymh-ad-card__copy { position:relative; align-self:center; min-width:0; padding-top:22px; }
.ymh-ad-card__number { position:absolute; top:-26px; right:0; font:600 74px/1 'Oswald',sans-serif; color:#f0ece3; pointer-events:none; }
body #main .ymh-ad-card__platform { display:flex; flex-wrap:wrap; align-items:center; gap:8px; position:relative; margin:0 0 16px; font-size:14px; font-weight:700; }
.ymh-ad-card__platform img { width:25px; height:22px; object-fit:contain; }
.ymh-ad-card__platform > span { padding:3px 9px; border:1px solid #d3c5a8; color:#806b44; font-size:12px; }
body #main .ymh-ad-card__copy h3 { position:relative; margin:0 0 20px; font-size:26px; line-height:1.55; }
body #main .ymh-ad-card__copy > p:not(.ymh-ad-card__platform) { margin:0 0 24px; font-size:16px; font-weight:500; line-height:1.9; }
.ymh-ad-card__link { display:flex; align-items:center; justify-content:space-between; gap:14px; padding:15px 19px; border-radius:999px; background:var(--ymh-gradient); color:#fff; font-size:16px; font-weight:700; text-decoration:none; }
.ymh-ad-card__link:hover { color:#fff; filter:brightness(1.05); }
.ymh-ad-card__link > span { display:grid; place-items:center; width:25px; height:25px; flex:0 0 25px; border-radius:50%; background:#fff; color:#bf451b; }
.ymh-ad-card__copy > small { display:block; margin-top:11px; color:#62686a; font:500 12px/1.6 Arial,sans-serif; }
.ymh-ad-showcase__notice { margin-top:24px; padding:22px 26px; border-left:3px solid #b4a27e; background:#fff; }
.ymh-ad-showcase__notice > strong { font-size:17px; }
body #main .ymh-ad-showcase__notice p { margin:10px 0 0; font-size:14px; font-weight:500; line-height:1.9; color:#4d5356; }
.ymh-ad-showcase__notice a { text-decoration:underline; text-underline-offset:3px; }
.ymh-ad-showcase :is(a,button):focus-visible,.ymh-ad-showcase__track:focus-visible { outline:3px solid #bf451b; outline-offset:3px; }
@media(max-width:767px) {
 body #main .ymh-ad-showcase { margin-top:52px; padding-top:38px; }
 body #main .ymh-ad-showcase__intro > p:last-child { font-size:16px; }
 .ymh-ad-showcase__nav { align-items:flex-start; font-size:13px; }
 .ymh-ad-showcase__nav > div { gap:8px; flex-shrink:0; }
 .ymh-ad-showcase__nav button { width:34px; height:34px; }
 .ymh-ad-showcase__track { gap:14px; padding:12px 10px 24px; }
 .ymh-ad-card { flex-basis:94%; grid-template-columns:minmax(0,1fr); padding:22px 18px; gap:24px; border-radius:16px; }
 .ymh-ad-preview { width:min(100%,250px); justify-self:center; }
 .ymh-ad-preview > img { height:125px; }
 .ymh-ad-preview__caption strong { font-size:17px; }
 .ymh-ad-card__copy { padding-top:18px; }
 .ymh-ad-card__number { font-size:58px; top:-14px; }
 body #main .ymh-ad-card__copy h3 { font-size:23px; margin-bottom:14px; }
 body #main .ymh-ad-card__copy > p:not(.ymh-ad-card__platform) { font-size:15px; }
 .ymh-ad-card__link { font-size:14px; padding:13px 12px; gap:6px; }
 .ymh-ad-showcase__notice { padding:20px 18px; }
}

/* Standalone white section, edge-to-edge pale pink stage, and real-page phones. */
body #main .ymh-ad-showcase.alignfull { width:auto; max-width:none; margin:0 calc(50% - 50vw); padding:88px 0; border:0; background:#fff; overflow:hidden; }
.ymh-ad-showcase__intro,.ymh-ad-showcase__label { width:calc(100% - 48px); max-width:992px; margin-inline:auto; }
body #main .ymh-ad-showcase__label { margin-top:28px; margin-bottom:20px; font-size:16px; font-weight:700; }
.ymh-ad-showcase__stage { position:relative; isolation:isolate; --ad-card-width:min(900px,calc(100vw - 120px)); }
.ymh-ad-showcase__stage::before { content:''; position:absolute; z-index:-1; inset:28% 0 0; background:linear-gradient(105deg,#fdf7f8 0%,#fef7f2 100%); }
.ymh-ad-showcase__stage .ymh-ad-showcase__track { gap:34px; padding:18px max(60px,calc((100% - 900px)/2)) 36px; scroll-padding-inline:max(60px,calc((100% - 900px)/2)); background:none; border-radius:0; scrollbar-width:none; }
.ymh-ad-showcase__track::-webkit-scrollbar { display:none; }
.ymh-ad-showcase__stage .ymh-ad-card { flex-basis:var(--ad-card-width); grid-template-columns:250px minmax(0,1fr); gap:42px; padding:34px 42px; }
.ymh-ad-showcase__stage > button { position:absolute; top:50%; z-index:3; display:grid; place-items:center; width:52px; height:52px; padding:0; border:0; border-radius:50%; background:#f1e8c9; color:#897442; box-shadow:0 4px 16px #5c4d2b20; font:400 27px/1 Arial,sans-serif; cursor:pointer; transform:translateY(-50%); }
.ymh-ad-showcase__stage > [data-ad-prev] { left:max(14px,calc((100% - 900px)/2 - 26px)); }
.ymh-ad-showcase__stage > [data-ad-next] { right:max(14px,calc((100% - 900px)/2 - 26px)); }
.ymh-ad-showcase__stage > button:disabled { opacity:.45; cursor:default; }
body #main .ymh-ad-showcase__count { margin:18px auto 0; text-align:center; font:500 18px/1.5 'Oswald',sans-serif; }
.ymh-ad-showcase__notice { width:calc(100% - 48px); max-width:992px; margin:28px auto 0; background:#f7f6f3; }
.ymh-ad-phone { --phone-scale:.6; width:250px; align-self:center; justify-self:center; border:8px solid #34383c; border-radius:34px; background:#fff; overflow:hidden; box-shadow:0 12px 24px #1d232126,inset 0 0 0 1px #ccc; }
.ymh-ad-phone__speaker { height:24px; position:relative; background:#fafafa; }
.ymh-ad-phone__speaker::before { content:''; position:absolute; top:6px; left:50%; transform:translateX(-50%); width:60px; height:7px; border-radius:8px; background:#34383c; }
.ymh-ad-phone__url { display:flex; align-items:center; justify-content:center; height:36px; padding:0 5px; background:#eef0f2; border-block:1px solid #e1e4e6; color:#535b63; font:400 10px/1.4 Arial,sans-serif; white-space:nowrap; letter-spacing:-.15px; }
.ymh-ad-phone__screen { position:relative; height:calc(700px * var(--phone-scale)); overflow:hidden; background:#fff; }
.ymh-ad-phone__screen iframe { display:block; width:390px; max-width:none; height:700px; border:0; transform:scale(var(--phone-scale)); transform-origin:top left; pointer-events:none; }
.ymh-ad-phone__home { height:18px; position:relative; background:#fafafa; }
.ymh-ad-phone__home::after { content:''; position:absolute; width:78px; height:4px; bottom:5px; left:50%; transform:translateX(-50%); background:#34383c; border-radius:5px; }
.ymh-ad-card--2 .ymh-ad-card__platform img,.ymh-ad-card--3 .ymh-ad-card__platform img { width:42px; }
@media(max-width:767px) {
 body #main .ymh-ad-showcase.alignfull { padding:56px 0; }
 .ymh-ad-showcase__stage { --ad-card-width:calc(100vw - 64px); }
 .ymh-ad-showcase__stage .ymh-ad-showcase__track { gap:20px; padding:14px 32px 26px; scroll-padding-inline:32px; }
 .ymh-ad-showcase__stage .ymh-ad-card { grid-template-columns:minmax(0,1fr); gap:24px; padding:24px 12px; }
 .ymh-ad-phone { --phone-scale:.548718; width:230px; }
 .ymh-ad-showcase__stage > button { width:36px; height:36px; font-size:22px; }
 .ymh-ad-showcase__stage > [data-ad-prev] { left:14px; }
 .ymh-ad-showcase__stage > [data-ad-next] { right:14px; }
}
@media(max-width:360px) {
 .ymh-ad-phone { --phone-scale:.497436; width:210px; }
 .ymh-ad-phone__url { font-size:9px; }
}

/* Space above the slides, a counter above the cards, and a narrower pale pink band. */
body.home #main#main .ymh-ad-showcase__count { width:max-content; margin:64px auto 4px; }
body.home #main#main .ymh-ad-showcase__stage { margin-top:0; }
body.home #main#main .ymh-ad-showcase__stage::before { top:52%; bottom:-36px; }
body.home #main#main .ymh-ad-showcase__track { padding-top:8px; overflow-anchor:none; }
body.home #main#main .ymh-ad-showcase__track.is-recentering { scroll-snap-type:none; }
@media(max-width:767px) {
 body.home #main#main .ymh-ad-showcase__count { margin-top:44px; }
 body.home #main#main .ymh-ad-showcase__stage::before { bottom:-26px; }
}

/* Keep the full handset visible in a compact desktop card. */
@media(min-width:768px) {
 body.home #main#main #official-ads { padding-block:64px; }
 body.home #main#main #official-ads .ymh-ad-showcase__count { margin-top:32px; }
 body.home #main#main #official-ads .ymh-ad-showcase__track { padding-bottom:28px; }
 /* Reserve the badge height above the handset, plus the same inset as below. */
 body.home #main#main #official-ads .ymh-ad-showcase__stage .ymh-ad-card { padding-block:68px 22px; }
 body.home #main#main #official-ads .ymh-ad-card__copy { align-self:center; padding-top:0; }
 body.home #main#main #official-ads .ymh-ad-card__copy h3 { margin-bottom:12px; line-height:1.45; }
 body.home #main#main #official-ads .ymh-ad-card__copy > p:not(.ymh-ad-card__platform) { margin-bottom:14px; }
 body.home #main#main #official-ads .ymh-ad-card__lead { margin-bottom:6px; font-size:19px; }
 body.home #main#main #official-ads .ymh-ad-card__description { line-height:1.7; }
 body.home #main#main #official-ads .ymh-ad-card__copy > .ymh-ad-channels { padding-top:2px; margin-top:0; margin-bottom:12px; }
 body.home #main#main #official-ads .ymh-ad-card__link { min-height:52px; padding-block:10px; }
 body.home #main#main #official-ads .ymh-ad-phone {
  --phone-scale:.369231; /* 144px of screen width at a 390px viewport. */
  width:156px;
  aspect-ratio:1 / 2;
  align-self:center;
  margin:0;
  border:6px solid #232529;
  border-radius:22px;
  background:#232529;
  box-shadow:0 0 0 1px #74777c,0 9px 20px #15161a26;
 }
 body.home #main#main #official-ads .ymh-ad-phone__speaker {
  display:block;
  flex:none;
  height:0;
  z-index:1;
 }
 body.home #main#main #official-ads .ymh-ad-phone__speaker::before {
  top:0;
  width:46px;
  height:11px;
  border-radius:0 0 8px 8px;
  background:#232529;
 }
 body.home #main#main #official-ads .ymh-ad-phone__screen { min-height:0; }
 body.home #main#main #official-ads .ymh-ad-phone__home {
  display:block;
  flex:none;
  height:13px;
  background:#232529;
 }
 body.home #main#main #official-ads .ymh-ad-phone__home::after {
  width:43px;
  height:3px;
  bottom:4px;
  background:#eee;
 }
}
