/*
Theme Name: Youth Pulse
Description: Youthful, corporate-friendly news and lifestyle theme in navy and red. Breaking news bar, 4-up carousel, 728x90 / 300x600 / Taboola ad slots, social follow and share, options page.
Version: 2.0
Text Domain: youth-pulse
*/
:root{color-scheme:light;--navy:#05065E;--red:#C51B12;--ink:#14143A;--bg:#F3F4FA;--card:#fff;--line:#E1E3F0;--muted:#5C607F;--r:14px;--sh:0 6px 22px rgba(5,6,94,.08);--accent:var(--navy)}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font:17px/1.6 'DM Sans',system-ui,sans-serif;color:var(--ink);background:var(--bg)}
img,svg{max-width:100%;display:block}
img{height:auto}
a{color:var(--navy)}
h1,h2,h3{font-family:'Bricolage Grotesque','DM Sans',sans-serif;font-weight:800;line-height:1.15;margin:0}
.yp-wrap{max-width:1240px;margin:0 auto;padding:0 20px}
:focus-visible{outline:3px solid var(--red);outline-offset:2px}

/* top bar */
.yp-top{background:var(--navy);color:#fff;font-weight:700;font-size:13px}
.yp-top-in{display:flex;justify-content:flex-end;align-items:center;padding-top:6px;padding-bottom:6px}

/* social */
.yp-social{display:flex;flex-wrap:wrap;gap:8px}
.yp-social a{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:42px;height:42px;padding:0 12px;border-radius:999px;background:#fff;color:var(--navy);border:1px solid var(--line);font:800 14px 'Bricolage Grotesque',sans-serif;text-decoration:none;transition:.15s}
.yp-social a:hover{background:var(--red);color:#fff;border-color:var(--red);transform:translateY(-2px)}
.yp-social-sm a{min-width:26px;height:26px;padding:0;font-size:12px;background:rgba(255,255,255,.14);color:#fff;border-color:transparent}
.yp-social-sm a:hover{background:var(--red)}
.yp-social-lg a{min-width:50px;height:50px;font-size:22px;padding:0}
.yp-social-pills a{height:44px;font-size:15px}

/* header */
.yp-header{background:#fff;border-bottom:1px solid var(--line)}
.yp-brandrow{display:flex;align-items:center;justify-content:space-between;gap:20px;padding-top:14px;padding-bottom:14px}
.yp-logo{flex:none}.yp-logo img{height:58px;width:auto}
.yp-ad{text-align:center;overflow:hidden}
.yp-ad-header{width:728px;max-width:100%;min-height:90px;flex:0 1 728px}
.yp-ad-side{width:300px;max-width:100%;min-height:600px;margin:0 0 22px}
.yp-ad-taboola{width:300px;max-width:100%;min-height:250px;margin:0 0 22px}
.yp-ad-home1,.yp-ad-home2{width:970px;max-width:100%;min-height:90px;margin:36px auto}
.yp-ad-home1 .yp-ad-ph,.yp-ad-home2 .yp-ad-ph{min-height:90px}
.yp-ad-ph{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;width:100%;height:100%;min-height:inherit;border:1.5px dashed #b8bcd9;border-radius:var(--r);background:#fafbff;color:var(--muted);text-decoration:none;font-weight:700;font-size:14px}
.yp-ad-ph strong{font:800 18px 'Bricolage Grotesque';color:var(--navy)}
.yp-ad-header .yp-ad-ph{min-height:90px}.yp-ad-side .yp-ad-ph{min-height:600px}.yp-ad-taboola .yp-ad-ph{min-height:250px}

/* breaking ticker */
.yp-ticker{background:var(--navy);color:#fff}
.yp-tk-in{display:flex;align-items:center;gap:14px;height:44px}
.yp-tk-label{flex:none;display:inline-flex;align-items:center;gap:8px;background:var(--red);padding:5px 14px;border-radius:999px;font:800 13px 'Bricolage Grotesque';text-transform:uppercase;letter-spacing:.06em}
.yp-tk-label i{width:8px;height:8px;border-radius:50%;background:#fff;animation:ypPulse 1s infinite}
.yp-tk-items{position:relative;flex:1;height:44px;overflow:hidden}
.yp-tk-items a{position:absolute;inset:0;display:flex;align-items:center;color:#fff;font-weight:700;text-decoration:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;opacity:0;transform:translateY(100%);transition:transform .35s,opacity .35s}
.yp-tk-items a.on{opacity:1;transform:none;animation:ypFlash .9s}
.yp-tk-items a:hover{text-decoration:underline}
@keyframes ypPulse{50%{opacity:.25;transform:scale(.7)}}
@keyframes ypFlash{0%,40%,80%{color:#fff}20%,60%,100%{color:#ffb4ae}}

/* menu */
.yp-nav{background:#fff;border-top:1px solid var(--line)}
.yp-menu{list-style:none;margin:0;padding:10px 0;display:flex;gap:8px;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:thin}
.yp-menu li{flex:none}
.yp-menu a{display:inline-flex;align-items:center;gap:7px;white-space:nowrap;padding:8px 14px;font:800 14px 'Bricolage Grotesque',sans-serif;color:var(--navy);background:#EEF0FA;border-radius:999px;text-decoration:none;transition:.15s}
.yp-menu a:hover{background:var(--navy);color:#fff}
.yp-menu .current-menu-item>a,.yp-menu .current-cat>a,.yp-menu .current-menu-ancestor>a{background:var(--red);color:#fff}
.yp-nav .yp-wrap{padding-left:20px;padding-right:20px}

/* hero mosaic */
.yp-hero{background:#fff;border-bottom:1px solid var(--line);padding:26px 0 22px}
.yp-hero-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}
.yp-hero-head h2{color:var(--navy);font-size:clamp(24px,3.6vw,36px)}
.yp-hero-head i{color:#fff;background:var(--red);border-radius:50%;width:36px;height:36px;display:inline-grid;place-items:center;font-size:16px;margin-right:10px;vertical-align:middle}
.yp-arrows{display:flex;gap:8px}
.yp-arrows button{width:42px;height:42px;border-radius:50%;border:0;background:var(--navy);color:#fff;font-size:15px;cursor:pointer}
.yp-arrows button:hover{background:var(--red)}
.yp-mosaic{display:grid;grid-template-columns:2fr 1fr 1fr;grid-template-rows:1fr 1fr;gap:3px;height:clamp(380px,40vw,500px);background:#fff;border-radius:14px;overflow:hidden}
.yp-mosaic.swap .yp-tile{animation:ypSwap .5s}
@keyframes ypSwap{from{opacity:.25}to{opacity:1}}
.yp-tile{position:relative;display:block;overflow:hidden;background:var(--ink);color:#fff;text-decoration:none;min-width:0}
.yp-tile[data-slot="0"]{grid-column:1;grid-row:1/3}
.yp-tile[data-slot="1"]{grid-column:2;grid-row:1}
.yp-tile[data-slot="2"]{grid-column:3;grid-row:1}
.yp-tile[data-slot="3"]{grid-column:2;grid-row:2}
.yp-tile[data-slot="4"]{grid-column:3;grid-row:2}
.yp-tile>img,.yp-tile>svg,.yp-tile>.yp-ph{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .5s}
.yp-tile:hover>img,.yp-tile:hover>svg{transform:scale(1.05)}
.yp-tile::after{content:"";position:absolute;inset:0;background:linear-gradient(transparent 30%,rgba(5,6,60,.9))}
.yp-tile::before{content:"";position:absolute;left:0;bottom:0;height:4px;width:0;background:var(--red);z-index:3;transition:width .35s}
.yp-tile:hover::before,.yp-tile[data-slot="0"]::before{width:100%}
.yp-tbadge{position:absolute;top:14px;left:14px;z-index:2;background:var(--navy);color:#fff;border:1px solid rgba(255,255,255,.35);font:700 12px 'DM Sans',sans-serif;padding:5px 12px;border-radius:5px}
.yp-tile[data-slot="0"] .yp-tbadge{background:var(--red);border-color:var(--red)}
.yp-tcap{position:absolute;left:0;right:0;bottom:0;z-index:2;padding:18px 18px 20px;display:flex;flex-direction:column;gap:8px}
.yp-tcap b{font:800 clamp(16px,1.6vw,20px)/1.2 'Bricolage Grotesque',sans-serif}
.yp-tcap small{display:none;font-size:15px;line-height:1.4;opacity:.92}
.yp-tile[data-slot="0"] .yp-tcap{padding:26px 26px 28px}
.yp-tile[data-slot="0"] .yp-tcap b{font-size:clamp(24px,3vw,40px)}
.yp-tile[data-slot="0"] .yp-tcap small{display:block}
.yp-dots{display:flex;justify-content:center;gap:8px;margin-top:14px}
.yp-dots button{width:10px;height:10px;border-radius:50%;border:0;background:#c9cce6;padding:0;cursor:pointer}
.yp-dots button.on{background:var(--red);width:28px;border-radius:999px}
.yp-badge{display:inline-block;background:var(--red);color:#fff;font:800 12px 'Bricolage Grotesque';padding:4px 11px;border-radius:999px;letter-spacing:.03em}
.yp-ph{display:grid;place-items:center;background:linear-gradient(135deg,var(--navy),var(--red));color:#fff;font:800 80px 'Bricolage Grotesque';min-height:100%;aspect-ratio:16/10}

/* follow strip */
.yp-follow{background:var(--red)}
.yp-follow-in{display:flex;flex-wrap:wrap;gap:14px 28px;align-items:center;justify-content:space-between;padding-top:16px;padding-bottom:16px}
.yp-follow h2{color:#fff;font-size:clamp(20px,2.6vw,26px)}
.yp-follow .yp-social a{border-color:transparent}

/* sections + cards */
.yp-sec{margin:44px 0}
.yp-blue{--accent:var(--navy)}.yp-red{--accent:var(--red)}
.yp-sec-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px}
.yp-sec-head h2{display:flex;align-items:center;gap:12px;font-size:clamp(24px,3.4vw,34px)}
.yp-ico{display:grid;place-items:center;width:46px;height:46px;border-radius:14px;background:var(--accent);color:#fff;font-size:20px}
.yp-more,.yp-btn{display:inline-block;font:800 14px 'Bricolage Grotesque';color:var(--navy);background:#fff;border:1px solid var(--line);border-radius:999px;padding:8px 18px;text-decoration:none;transition:.15s}
.yp-more:hover,.yp-btn:hover{background:var(--accent,var(--red));color:#fff;border-color:transparent}
.yp-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.yp-grid-2{grid-template-columns:repeat(2,1fr)}
.yp-card{display:flex;flex-direction:column;background:var(--card);border:1px solid var(--line);border-radius:var(--r);overflow:hidden;box-shadow:var(--sh);text-decoration:none;color:var(--ink);transition:.18s}
.yp-card:hover{transform:translateY(-4px);box-shadow:0 14px 30px rgba(5,6,94,.16)}
.yp-thumb{display:block;aspect-ratio:16/10;overflow:hidden}
.yp-thumb img,.yp-thumb svg{width:100%;height:100%;object-fit:cover}
.yp-card h3{font-size:17px;padding:14px 16px 18px}
.yp-card:hover h3{color:var(--red)}
.yp-brands{background:var(--navy);color:#fff;text-align:center;padding:56px 0;margin-top:56px}
.yp-brands h2{font-size:clamp(26px,4vw,42px);margin-bottom:12px}
.yp-brands p{max-width:560px;margin:0 auto 22px;opacity:.9}
.yp-brands .yp-btn{background:var(--red);color:#fff;border:0;font-size:16px;padding:12px 28px}

/* archive */
.yp-arch-title{font-size:clamp(30px,5vw,52px);margin:30px 0 22px;padding-left:16px;border-left:8px solid var(--red)}
.yp-archive{--accent:var(--navy)}
.yp-pager{margin:34px 0}.yp-pager .nav-links{display:flex;gap:8px;flex-wrap:wrap}
.yp-pager a,.yp-pager span{padding:8px 16px;border:1px solid var(--line);border-radius:999px;background:#fff;font:800 14px 'Bricolage Grotesque',sans-serif;text-decoration:none;color:var(--navy)}
.yp-pager .current{background:var(--red);color:#fff;border-color:var(--red)}

/* single */
.yp-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:30px;margin-top:28px;align-items:start}
.yp-article{background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:var(--sh);padding:clamp(18px,4vw,40px)}
.yp-title{font-size:clamp(28px,4.4vw,46px);margin:14px 0 8px}
.yp-meta{color:var(--muted);font-weight:700;margin:0 0 20px;font-size:15px}
.yp-feat img,.yp-feat svg{width:100%;border-radius:14px;margin-bottom:8px}
.yp-content{font-size:19px;line-height:1.75;max-width:72ch}
.yp-content h2,.yp-content h3{margin:1.6em 0 .5em}
.yp-content blockquote{margin:1.5em 0;padding:12px 20px;border-left:6px solid var(--red);background:var(--bg);border-radius:0 12px 12px 0;font-weight:700}
.yp-tags a{display:inline-block;background:var(--bg);border-radius:999px;padding:2px 12px;margin:2px;text-decoration:none;color:var(--navy);font-size:14px}
.yp-share{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:18px 0}
.yp-share b{font:800 16px 'Bricolage Grotesque';margin-right:4px}
.yp-share a,.yp-share button{display:inline-flex;align-items:center;gap:6px;justify-content:center;height:40px;min-width:40px;padding:0 14px;background:var(--navy);color:#fff;border:0;border-radius:999px;font:800 14px 'Bricolage Grotesque';text-decoration:none;cursor:pointer}
.yp-share a{padding:0}.yp-share a:hover,.yp-share button:hover{background:var(--red)}
.yp-share button{background:var(--bg);color:var(--navy)}
.yp-side{width:300px;max-width:100%}
.yp-widget{background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:18px;margin-bottom:22px;box-shadow:var(--sh)}
.yp-widget-title{font-size:19px;margin-bottom:10px;padding-left:10px;border-left:5px solid var(--red)}
.yp-widget ul{margin:0;padding-left:18px}
.yp-frow{display:flex;align-items:center;gap:12px;padding:9px 0;border-top:1px solid var(--line);text-decoration:none;color:var(--ink)}
.yp-frow:first-of-type{border-top:0}
.yp-fic{flex:none;display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:var(--navy);color:#fff;font-size:17px}
.yp-fname{flex:1;display:flex;flex-direction:column;line-height:1.2}.yp-fname small{color:var(--muted);font-weight:500}
.yp-frow em{font:800 12px 'Bricolage Grotesque';font-style:normal;background:var(--red);color:#fff;padding:5px 13px;border-radius:999px}
.yp-frow:hover .yp-fic{background:var(--red)}.yp-frow:hover em{background:var(--navy)}
.yp-rp{display:flex;gap:12px;align-items:center;padding:10px 0;border-top:1px solid var(--line);text-decoration:none;color:var(--ink)}
.yp-rp:first-of-type{border-top:0}
.yp-rp .yp-rth{flex:0 0 72px;height:72px;border-radius:12px;overflow:hidden}
.yp-rp .yp-rth img,.yp-rp .yp-rth svg{width:100%;height:100%;object-fit:cover}
.yp-rp .yp-ph{font-size:28px;aspect-ratio:1}
.yp-rp b{font:800 15px/1.25 'Bricolage Grotesque',sans-serif}.yp-rp:hover b{color:var(--red)}
.yp-comments{margin:40px 0}

/* footer */
.yp-footer{background:var(--navy);color:#fff;padding:46px 0 26px;margin-top:0}
.yp-footer h2{font-size:clamp(28px,4.4vw,44px);margin-bottom:18px}
.yp-footer .yp-social a{border-color:transparent}
.yp-fnav{margin:0}
.yp-footer small{display:block;margin-top:20px;opacity:.75}
.yp-fmenu{list-style:none;margin:0;padding:0;display:flex;flex-direction:row;flex-wrap:wrap;gap:10px 28px}
.yp-fmenu a{font:800 16px 'Bricolage Grotesque',sans-serif;text-decoration:none;color:#fff;border-bottom:2px solid transparent}
.yp-fmenu a:hover,.yp-fmenu .current-menu-item a{border-color:var(--red)}
.yp-foot-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:24px;margin:28px 0}
.yp-footer a{color:#fff;font-weight:700}

/* tablet */
@media(max-width:1000px){.yp-grid{grid-template-columns:repeat(2,1fr)}.yp-layout{grid-template-columns:1fr}.yp-side{margin:0 auto}}
@media(max-width:860px){.yp-brandrow{flex-direction:column;align-items:center;gap:12px}.yp-ad-header{flex:none}}

/* mobile: menu = buttons, 3 per row */
@media(max-width:640px){
.yp-top span{display:none}.yp-top-in{justify-content:center}
.yp-logo img{height:50px}
.yp-menu{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;overflow:visible;padding:12px 0}
.yp-menu a{width:100%;flex-direction:column;justify-content:center;gap:4px;padding:10px 4px;border-radius:12px;font-size:12px;text-align:center;white-space:normal}
.yp-menu a i{font-size:18px}
.yp-grid,.yp-grid-2{gap:12px}
.yp-card h3{font-size:15px;padding:10px 12px 14px}
.yp-ico{width:38px;height:38px;font-size:16px}
.yp-tk-label{padding:4px 10px;font-size:11px}
.yp-social-pills a span{display:none}.yp-social-pills a{min-width:44px;padding:0}
.yp-content{font-size:18px}
}
@media(prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important;scroll-behavior:auto!important}}

/* search */
.yp-menu .yp-search-btn{display:inline-flex;align-items:center;gap:7px;white-space:nowrap;padding:8px 16px;border:0;border-radius:999px;background:var(--navy);color:#fff;font:800 14px 'Bricolage Grotesque',sans-serif;cursor:pointer;transition:.15s}
.yp-menu .yp-search-btn:hover,.yp-menu .yp-search-btn[aria-expanded="true"]{background:var(--red)}
.yp-searchbar{background:var(--bg);border-bottom:1px solid var(--line)}
.yp-searchbar[hidden]{display:none}
.yp-searchbar form{display:flex;gap:10px;padding:14px 0;max-width:720px;margin:0 auto}
.yp-searchbar input{flex:1;min-width:0;height:48px;border:1px solid var(--line);border-radius:999px;padding:0 20px;font:17px 'DM Sans',sans-serif;background:#fff;color:var(--ink)}
.yp-searchbar button{height:48px;padding:0 26px;border:0;border-radius:999px;background:var(--red);color:#fff;font:800 15px 'Bricolage Grotesque',sans-serif;cursor:pointer}
@media(max-width:760px){
.yp-mosaic{grid-template-columns:1fr 1fr;grid-template-rows:280px 170px 170px;height:auto}
.yp-tile[data-slot="0"]{grid-column:1/3;grid-row:1}
.yp-tile[data-slot="1"]{grid-column:1;grid-row:2}
.yp-tile[data-slot="2"]{grid-column:2;grid-row:2}
.yp-tile[data-slot="3"]{grid-column:1;grid-row:3}
.yp-tile[data-slot="4"]{grid-column:2;grid-row:3}
.yp-tcap{padding:12px}.yp-tcap b{font-size:14px}.yp-tile[data-slot="0"] .yp-tcap b{font-size:22px}
.yp-tbadge{top:10px;left:10px;font-size:11px;padding:4px 9px}
}
@media(max-width:640px){.yp-menu .yp-search-li{grid-column:1/-1}.yp-menu .yp-search-btn{width:100%;justify-content:center;padding:12px;border-radius:12px;font-size:14px}}

/* category layouts */
.yp-sh2{display:flex;justify-content:space-between;align-items:center;gap:8px 16px;flex-wrap:wrap;border-bottom:3px solid var(--line);position:relative;padding-bottom:12px;margin-bottom:22px}
.yp-sh2::after{content:"";position:absolute;left:0;bottom:-3px;width:56px;height:3px;background:var(--navy)}
.yp-lay-b .yp-sh2::after,.yp-lay-a.flip .yp-sh2::after{background:var(--red)}
.yp-sh2 h2{font-size:clamp(22px,2.6vw,28px);color:var(--navy)}
.yp-tabs{display:flex;gap:6px 20px;align-items:center;flex-wrap:wrap;font-weight:700;font-size:14px}
.yp-tabs a{color:var(--ink);text-decoration:none}.yp-tabs a.on,.yp-tabs a:hover{color:var(--navy)}.yp-tabs a:hover{text-decoration:underline}
.yp-cols{display:grid;grid-template-columns:minmax(0,1fr);gap:28px;align-items:start}
.yp-cols.has-ad{grid-template-columns:minmax(0,1fr) 300px}
.yp-ad-hs1,.yp-ad-hs2,.yp-ad-hs3{width:300px;max-width:100%;min-height:600px}
.yp-ad-hs1 .yp-ad-ph,.yp-ad-hs2 .yp-ad-ph,.yp-ad-hs3 .yp-ad-ph{min-height:600px}
/* A: feature + list */
.yp-a-main{display:grid;grid-template-columns:1fr 1fr;gap:28px;align-items:stretch}
.yp-lay-a.flip .yp-bigcard{order:2}
.yp-bigcard{position:relative;display:block;width:100%;min-height:460px;border-radius:12px;overflow:hidden;background:var(--ink);color:#fff;text-decoration:none}
.yp-bigcard>img,.yp-bigcard>svg,.yp-bigcard>.yp-ph{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .5s}
.yp-bigcard:hover>img,.yp-bigcard:hover>svg{transform:scale(1.04)}
.yp-bigcard::after{content:"";position:absolute;inset:0;background:linear-gradient(transparent 38%,rgba(5,6,60,.92))}
.yp-bigcard .yp-tcap{padding:24px}
.yp-bigcard .yp-tcap b{font-size:clamp(22px,2.4vw,32px)}
.yp-bigcard .yp-tbadge{position:static;align-self:flex-start;background:var(--navy)}
.yp-lay-a.flip .yp-bigcard .yp-tbadge{background:var(--red);border-color:var(--red)}
.yp-tcap em{font-style:normal;font-size:13px;opacity:.92}
.yp-lst{display:flex;flex-direction:column;justify-content:space-between;gap:16px}
.yp-li{display:flex;gap:16px;align-items:flex-start;text-decoration:none;color:var(--ink)}
.yp-lthumb{flex:0 0 118px;height:78px;border-radius:6px;overflow:hidden;background:var(--line)}
.yp-lthumb img,.yp-lthumb svg{width:100%;height:100%;object-fit:cover}
.yp-lthumb .yp-ph{font-size:30px;aspect-ratio:auto}
.yp-ltxt{display:flex;flex-direction:column;gap:5px}
.yp-ltxt small{color:var(--muted);font-size:12px}
.yp-ltxt b{font:800 16px/1.3 'Bricolage Grotesque',sans-serif}
.yp-li:hover b{color:var(--red)}
/* B: tall-tile strip */
.yp-strip{position:relative}
.yp-s-view{overflow:hidden;border-radius:12px}
.yp-s-track{display:flex;transition:transform .45s cubic-bezier(.6,.1,.2,1)}
.yp-s-slide{flex:0 0 calc(100% / var(--per,4));padding:0 2px}
.yp-stile{position:relative;display:block;aspect-ratio:2/3;overflow:hidden;background:var(--ink);color:#fff;text-decoration:none}
.yp-stile>img,.yp-stile>svg,.yp-stile>.yp-ph{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .5s}
.yp-stile:hover>img,.yp-stile:hover>svg{transform:scale(1.05)}
.yp-stile::after{content:"";position:absolute;inset:0;background:linear-gradient(transparent 35%,rgba(5,6,60,.92))}
.yp-stile .yp-tcap small{display:none}
.yp-stile:hover .yp-tcap small{display:block;font-size:13px;opacity:.92}
.yp-s-btn{position:absolute;top:50%;transform:translateY(-50%);z-index:5;width:28px;height:50px;border:0;background:#fff;color:var(--ink);cursor:pointer;display:grid;place-items:center;box-shadow:0 2px 8px rgba(0,0,0,.25)}
.yp-s-prev{left:0;border-radius:0 6px 6px 0}.yp-s-next{right:0;border-radius:6px 0 0 6px}
.yp-s-btn:hover{background:var(--red);color:#fff}
/* C: 2x2 cards + sidebar ad */
.yp-lay-c .yp-grid{grid-template-columns:repeat(2,1fr)}
@media(max-width:1000px){.yp-cols.has-ad{grid-template-columns:1fr}.yp-cols>.yp-ad{margin:0 auto}}
@media(max-width:760px){.yp-a-main{grid-template-columns:1fr;gap:18px}.yp-bigcard{aspect-ratio:4/3;min-height:0}.yp-lay-a.flip .yp-bigcard{order:0}.yp-lthumb{flex-basis:104px;height:70px}.yp-lay-c .yp-grid{gap:12px}}
