/* ARREGANHO POP — v4.0 — layout de humor e entretenimento, responsivo */
:root{--ap-red:#c9000b;--ap-yellow:#ffdc0a;--ap-black:#161013}
body.ap-v4{margin:0;font-family:Inter,Arial,Helvetica,sans-serif;color:#1b1418;font-size:14px;line-height:1.42;background:#fff8f5}
body.ap-v4 .ap-site-wrap{min-height:100vh;overflow:clip}
body.ap-v4 .ap-container{width:min(calc(100% - 48px),var(--ap-container,1330px));margin-inline:auto}
/* Header widescreen: a imagem integral é a própria referência visual aprovada. O menu é HTML real. */
.ap-v4-site-header{position:relative;z-index:20;background:linear-gradient(180deg,#cc0010 0,#ef5257 74%,#f4a7a4 100%);padding:0 0 9px}
.ap-v4-header-art{display:block;width:100%;max-width:1580px;margin:auto;overflow:hidden;line-height:0}
.ap-v4-header-art img{display:block;width:100%;height:auto;max-height:267px;object-fit:fill}
.ap-v4-mobile-brand{display:none}
.ap-v4-custom-head{min-height:225px;background-image:linear-gradient(180deg,transparent 50%,#e75c5baa),var(--ap-v4-header-bg);background-size:cover;background-position:center;display:flex;align-items:center;justify-content:center;gap:28px;padding:12px 28px}
.ap-v4-custom-brand{display:block;max-width:410px;height:205px}
.ap-v4-custom-brand .ap-v4-complete-logo{display:block;max-width:100%;height:100%;object-fit:contain}
.ap-v4-brand-split{display:flex;align-items:center;max-width:550px;height:100%;gap:0}
.ap-v4-brand-split img{max-width:50%;height:100%;object-fit:contain}
.ap-v4-brand-split .ap-v4-brand-wordmark{width:65%;max-width:none}
.ap-v4-head-copy{font-size:clamp(17px,2.1vw,28px);font-weight:1000;font-style:italic;color:#fff;text-shadow:2px 3px 1px #5a0000}
.ap-v4-navigation-row{background:linear-gradient(180deg,#232026,#09090c);border-radius:999px;box-shadow:0 4px 12px #7b0b163a;display:flex;align-items:center;gap:9px;min-height:46px;padding:5px 7px;margin-top:-1px;position:relative;z-index:12}
.ap-v4-nav-main{flex:1;min-width:0}
.ap-v4-nav-main .nav-list{display:flex;align-items:center;gap:5px;list-style:none;padding:0;margin:0}
.ap-v4-nav-main .nav-list li{position:relative;list-style:none}
.ap-v4-nav-main .nav-list>li>a,.ap-v4-nav-main .nav-list>li>button{padding:8px 15px;border:0;border-radius:99px;background:transparent;color:#fff;font-size:13px;font-weight:800;text-decoration:none;display:flex;gap:9px;align-items:center;white-space:nowrap;line-height:1.2;box-shadow:none}
.ap-v4-nav-main .nav-list>li:first-child>a,.ap-v4-nav-main .nav-list>li:first-child>button,.ap-v4-nav-main .nav-list .nav-home{background:linear-gradient(180deg,#ffec17,#ffd000);color:#0d0a0d;box-shadow:0 2px 0 #c78000}
.ap-v4-nav-main .nav-list>li>a:hover,.ap-v4-nav-main .nav-list>li>button:hover{background:#ffffff26}
.ap-v4-nav-main .nav-list>li:first-child>a:hover{background:#ffe500;color:#111}
.ap-v4-nav-main .nav-sub,.ap-v4-nav-main .sub-menu{position:absolute;z-index:21;display:none;min-width:170px;left:0;top:100%;margin:4px 0 0;padding:7px;list-style:none;background:#201920;border:1px solid #ffffff3a;border-radius:13px;box-shadow:0 8px 24px #0005}
.ap-v4-nav-main li:hover>.nav-sub,.ap-v4-nav-main li:hover>.sub-menu,.ap-v4-nav-main li:focus-within>.nav-sub,.ap-v4-nav-main li:focus-within>.sub-menu,.ap-v4-nav-main .nav-category-toggle[aria-expanded=true]+.nav-sub{display:block}
.ap-v4-nav-main .nav-sub a,.ap-v4-nav-main .sub-menu a{display:block;white-space:nowrap;padding:8px 10px;color:#fff;text-decoration:none;border-radius:7px;font-size:13px}
.ap-v4-nav-main .nav-sub a:hover,.ap-v4-nav-main .sub-menu a:hover{background:#ffdd19;color:#141414}
.ap-v4-nav-main .ap-icon{width:18px;height:18px;stroke-width:2}
.ap-v4-search{width:clamp(180px,24vw,325px);flex:none}
.ap-v4-search form,.ap-v4-search .ap-search-form{display:flex;align-items:center;margin:0;max-width:none;width:100%;height:36px;background:#fff;border-radius:999px;padding:3px 4px 3px 12px;border:1px solid #eddad7}
.ap-v4-search input[type=search]{font-size:12px;border:0;box-shadow:none;outline:0;min-width:0;flex:1;width:80%;padding:0;background:transparent;color:#34303a}
.ap-v4-search button{height:29px;width:35px;min-width:35px;background:#ffdc00;border:0;border-radius:99px;color:#161016;padding:6px;display:grid;place-items:center}
.ap-v4-search button .ap-icon{width:18px;height:18px}
.ap-v4-navigation-row>.ap-search-toggle,.ap-v4-navigation-row>.ap-mobile-toggle{display:none}
.ap-v4-site-header .ap-mobile-nav[hidden],.ap-v4-site-header .ap-search-bar[hidden]{display:none!important}
.ap-v4-site-header .ap-mobile-nav{z-index:30;position:relative;background:#1b151c;padding:13px;border-radius:0 0 14px 14px}
.ap-v4-site-header .ap-mobile-nav ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;list-style:none;padding:0;margin:0 0 12px}
.ap-v4-site-header .ap-mobile-nav ul a,.ap-v4-site-header .ap-mobile-nav ul button{color:white;display:flex;align-items:center;gap:7px;padding:9px 8px;border:0;border-radius:8px;background:#ffffff15;text-decoration:none;font-weight:750}
.ap-v4-site-header .ap-mobile-nav .nav-sub{grid-column:1 / -1;display:block;margin:6px 0 0 8px}
.ap-v4-site-header .ap-mobile-nav .ap-search-form{max-width:none;margin-top:9px}
.ap-v4-site-header .ap-search-bar{position:relative;z-index:10;background:#171318;border-radius:0 0 12px 12px;padding:12px}
/* A home é compacta como na referência, sem sensação de zoom */
body.ap-v4 .ap-main-background{min-height:600px;padding:14px 0 52px;background:radial-gradient(ellipse 700px 330px at 78% 18%,#ffbab9 0%,transparent 74%),linear-gradient(180deg,#f6b3b3 0%,#f9d3cf 43%,#fff8f6 100%);isolation:isolate}
body.ap-v4 .ap-main-background:before{display:none}
body.ap-v4 .ap-content-grid{display:grid;grid-template-columns:minmax(0,1fr) clamp(275px,26.8%,350px);align-items:start;gap:17px}
body.ap-v4 .ap-sidebar{display:flex;flex-direction:column;gap:11px;min-width:0}
body.ap-v4 .ap-hero{border:4px solid white;border-radius:20px;box-shadow:0 6px 16px #9b12172c;height:clamp(205px,19vw,238px);position:relative;overflow:hidden}
body.ap-v4 .ap-hero-slide{background:radial-gradient(circle at 20% 50%,#f63d10 0%,transparent 46%),linear-gradient(112deg,#db1400 0,#cd0000 55%,#a30004 100%)}
body.ap-v4 .ap-hero:before{background-image:radial-gradient(#ff671a 2px,transparent 2.7px);background-size:22px 22px;opacity:.7;mask-image:linear-gradient(90deg,#000,transparent 70%)}
body.ap-v4 .ap-hero-brand:after{right:-88px;top:-190px;width:430px;height:430px;border:34px solid #f64e1950}
body.ap-v4 .ap-hero-mascot{position:absolute;z-index:3;width:42%;height:103%;left:9%;bottom:-2px;object-fit:contain;object-position:center bottom;filter:drop-shadow(1px 3px 0 #45000055)}
body.ap-v4 .ap-hero-copy{left:46%;width:47%;gap:6px;justify-content:center}
body.ap-v4 .ap-hero-copy h1,body.ap-v4 .ap-hero-copy h2{font-size:clamp(23px,2.8vw,39px);font-style:italic;font-weight:1000;line-height:1.08;letter-spacing:-.8px;color:#fff;text-shadow:-2px -2px 0 #151012,2px -2px 0 #151012,-2px 2px 0 #151012,2px 3px 0 #151012,3px 4px 0 #100c0d}
.ap-hero-underline{width:60%;border-radius:70%;height:6px;background:#fbe600;transform:skewX(-18deg) rotate(-3deg);margin:2px 0 0 15%;box-shadow:0 3px 0 #d15512}
.ap-v4-hero-link{display:inline-flex;align-items:center;gap:7px;background:#ffe000;color:#170d09;font-size:12px;font-weight:900;border-radius:25px;padding:8px 14px;text-decoration:none;margin-top:8px}
.ap-v4-hero-link .ap-icon{width:15px;height:15px}
.ap-v4-hero-link:hover{background:white;color:#ab0000}
.ap-v4-custom-slide-image{display:block;width:100%;height:100%;background:#bf0000}
.ap-v4-custom-slide-image img{width:100%;height:100%;object-fit:contain;display:block}
body.ap-v4 .ap-slide-btn{top:50%;transform:translateY(-50%);height:34px;width:34px;border-radius:50%;background:#fff;display:grid;place-items:center;padding:0;line-height:normal}
body.ap-v4 .ap-slide-btn svg{display:block;width:18px;height:18px;fill:none;stroke:#19141b;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
body.ap-v4 .ap-slide-btn:hover{background:#ffe200}
body.ap-v4 .ap-slide-dots{bottom:11px}
body.ap-v4 .ap-slide-dots button{height:10px;width:10px}
body.ap-v4 .ap-latest{margin-top:13px}
.ap-v4-section-header{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 0 11px}
body.ap-v4 .ap-section-title{display:flex;align-items:center;gap:9px;margin:0;font-size:clamp(22px,2.16vw,30px);line-height:1.17;font-style:italic;font-weight:1000;white-space:normal;letter-spacing:-.45px}
body.ap-v4 .ap-section-title>.ap-icon{width:31px;height:31px;flex:none;stroke:#171016;fill:#ffe500;stroke-width:2.3}
.ap-v4-section-header>a{display:inline-flex;gap:5px;align-items:center;white-space:nowrap;font-size:12px;font-weight:900;font-style:italic;color:#b30000;text-decoration:none}
.ap-v4-section-header>a .ap-icon{height:18px;width:18px}
.ap-v4-section-header>a:hover{text-decoration:underline}
body.ap-v4 .ap-post-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}
body.ap-v4 .ap-post-card{background:#fff;border:4px solid #fff;border-radius:15px;overflow:hidden;box-shadow:0 5px 13px #6605052e}
body.ap-v4 .ap-post-thumb{display:block;aspect-ratio:1.73;height:auto;overflow:hidden;border-radius:11px 11px 3px 3px}
body.ap-v4 .ap-post-thumb img{display:block;width:100%;height:100%;object-fit:cover}
body.ap-v4 .ap-post-body{padding:0 6px 8px}
body.ap-v4 .ap-category-pill{padding:2px 10px;background:#e50014;color:#fff;border-radius:18px;font-size:11px;transform:translateY(-9px);box-shadow:0 0 0 2px white}
body.ap-v4 .ap-post-body h3{margin:-4px 0 8px;font-size:clamp(14px,1.24vw,18px);font-weight:900;line-height:1.19;letter-spacing:-.15px}
body.ap-v4 .ap-post-meta{font-size:10px;gap:8px;font-weight:650;color:#4b3d43}
body.ap-v4 .ap-post-meta .ap-icon{height:13px;width:13px}
body.ap-v4 .ap-pagination{margin:20px 0 5px}
/* Widget lateral com parceiros em mini-banners, só a imagem é exibida */
body.ap-v4 .ap-widget{border:4px solid white;border-radius:18px;background:white;box-shadow:0 5px 13px #7f181824;overflow:hidden}
body.ap-v4 .ap-widget-social{text-align:center;padding:10px 10px 12px}
body.ap-v4 .ap-widget h2{font-size:21px;font-weight:1000;line-height:1.15}
body.ap-v4 .ap-widget-social h2{font-style:italic;margin-bottom:10px}
body.ap-v4 .ap-socials{display:flex;gap:8px;justify-content:center;flex-wrap:wrap}
body.ap-v4 .ap-social{height:42px;width:42px;flex:0 0 42px;font-size:23px}
body.ap-v4 .ap-social-instagram{font-size:15px}
body.ap-v4 .ap-social-facebook{font-size:30px}
body.ap-v4 .ap-widget .ap-red-heading{background:linear-gradient(180deg,#f60010,#ba0000);color:#fff;padding:7px 11px;font-size:19px;display:flex;align-items:center;gap:8px;font-style:italic}
body.ap-v4 .ap-red-heading .ap-icon{width:22px;height:22px;color:#ffe600}
body.ap-v4 .ap-popular-list{padding:7px 11px 8px}
body.ap-v4 .ap-popular-item{display:grid;grid-template-columns:80px minmax(0,1fr);gap:10px;align-items:center;font-size:12px;font-weight:850;line-height:1.19;padding:7px 0;border-bottom:1px solid #eadad9;text-decoration:none}
body.ap-v4 .ap-popular-item:last-child{border-bottom:0}
body.ap-v4 .ap-popular-item img{width:80px;height:52px;object-fit:cover;border-radius:7px}
body.ap-v4 .ap-partner-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;padding:10px}
body.ap-v4 .ap-partner-avatar{display:grid;place-items:center;width:100%;max-width:none;aspect-ratio:0.94;overflow:hidden;border:2px solid #fff;border-radius:11px;box-shadow:0 0 0 1px #d5a5a5,0 2px 3px #0002;background:linear-gradient(135deg,#ffe53a,#d50013)}
body.ap-v4 .ap-partner-avatar img{width:100%;height:100%;object-fit:cover;border-radius:7px}
body.ap-v4 .ap-promo-widget{margin-top:1px}
body.ap-v4 .ap-promo-widget img{width:100%;height:auto;max-height:230px;object-fit:cover}
/* faixa viral, segundo bloco de humor no site */
.ap-v4-viral{margin-top:22px}
.ap-v4-spark{font-size:28px;line-height:1}
.ap-v4-viral-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.ap-v4-viral-item{position:relative;display:block;background:#df1716;border:4px solid #fff;border-radius:14px;overflow:hidden;aspect-ratio:1.17;box-shadow:0 4px 10px #7700002b;color:#fff;text-decoration:none}
.ap-v4-viral-item img{width:100%;height:100%;object-fit:cover;display:block}
.ap-v4-viral-item:after{content:"";position:absolute;inset:40% 0 0;background:linear-gradient(0deg,rgba(13,0,0,.75),transparent)}
.ap-v4-viral-item strong{position:absolute;z-index:3;left:8px;bottom:7px;right:9px;font-size:13px;line-height:1.08;font-weight:950;text-shadow:1px 2px #000}
.ap-v4-play{position:absolute;z-index:4;right:7px;top:7px;display:grid;place-items:center;width:28px;height:28px;border:2px solid #fff;border-radius:50%;background:#50000066}
.ap-v4-play .ap-icon{height:17px;width:17px;stroke:#fff}
/* rodapé completo, alinhado sem texto colado na marca */
body.ap-v4 .ap-footer{margin-top:0;padding:28px 0 16px;border:0;box-shadow:none;background:linear-gradient(135deg,#8f0000,#c5000c 48%,#8e0009);color:white}
body.ap-v4 .ap-footer:before{display:none}
body.ap-v4 .ap-footer-grid{display:grid;grid-template-columns:1.6fr .85fr .85fr .9fr 1fr;gap:22px;align-items:start}
body.ap-v4 .ap-footer-brand{height:142px;max-width:260px;display:flex;align-items:center}
body.ap-v4 .ap-footer-brand-complete{display:block;width:100%;height:135px;object-fit:contain;object-position:left center}
body.ap-v4 .ap-footer-since{font-size:12px;color:#ffe34a;margin:11px 0 0 5px;line-height:1.35}
body.ap-v4 .ap-footer-column h3,body.ap-v4 .ap-footer-follow h3{font-size:15px;font-weight:900;margin:8px 0 12px;color:#ffe64a}
body.ap-v4 .ap-footer-column a{font-size:12px;margin-bottom:6px;color:white}
body.ap-v4 .ap-footer-follow h3{color:#fff}
body.ap-v4 .ap-footer-bottom{margin-top:18px;border-top:1px solid #ffffff30}
/* artigos individuais e listagens usam as classes antigas, agora recebem equilíbrio v4 */
body.ap-v4 .ap-single,body.ap-v4 .ap-archive{background:#fff;border-radius:20px}
@media(min-width:1600px){.ap-v4-header-art img{max-height:270px}}
@media(max-width:1120px){
 body.ap-v4 .ap-container{width:min(calc(100% - 30px),var(--ap-container))}
 .ap-v4-nav-main .nav-list>li>a,.ap-v4-nav-main .nav-list>li>button{font-size:12px;padding:8px 9px}
 .ap-v4-search{width:220px}
 body.ap-v4 .ap-content-grid{grid-template-columns:minmax(0,1fr) 275px;gap:12px}
 body.ap-v4 .ap-post-body h3{font-size:14px}
 body.ap-v4 .ap-social{width:35px;height:35px;flex-basis:35px}
}
@media(max-width:900px){
 .ap-v4-header-art{display:none}.ap-v4-mobile-brand{display:flex;align-items:center;justify-content:center;position:relative;max-height:175px;padding:6px 15px}
 .ap-v4-mobile-logo{width:min(90%,470px);height:auto;max-height:143px;object-fit:contain}
 .ap-v4-mobile-since{position:absolute;right:17%;top:12%;font-weight:950;font-size:11px;color:#fff;background:#2b1521;border:2px solid #ffda23;padding:5px 7px;border-radius:10px;transform:rotate(-6deg)}
 .ap-v4-custom-head{min-height:175px}.ap-v4-custom-brand{height:148px}
 .ap-v4-nav-main,.ap-v4-search{display:none}
 .ap-v4-navigation-row>.ap-mobile-toggle{display:flex;align-items:center;gap:8px;color:white;border:0;background:#1c161b;font-size:14px;font-weight:850;padding:8px 13px;border-radius:30px}
 .ap-v4-navigation-row>.ap-mobile-toggle .ap-icon{width:18px;height:18px}
 .ap-v4-navigation-row>.ap-search-toggle{display:grid;place-items:center;background:#ffdf02;color:#111;border-radius:50%;width:34px;height:34px;border:0;margin-left:auto}
 .ap-v4-navigation-row{min-height:46px}
 body.ap-v4 .ap-content-grid{grid-template-columns:1fr}
 body.ap-v4 .ap-sidebar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 body.ap-v4 .ap-widget-partners{grid-column:span 2}
 body.ap-v4 .ap-partner-grid{grid-template-columns:repeat(8,minmax(0,1fr))}
 body.ap-v4 .ap-main-background{padding-top:13px}
 body.ap-v4 .ap-footer-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
 body.ap-v4 .ap-footer-identity{grid-column:span 3}
 body.ap-v4 .ap-footer-follow{grid-column:span 3}
}
@media(max-width:610px){
 body.ap-v4 .ap-container{width:calc(100% - 22px)}
 .ap-v4-mobile-brand{height:131px;padding:2px 12px}.ap-v4-mobile-logo{width:min(88%,355px);height:auto;max-height:120px}
 .ap-v4-mobile-since{right:9%;font-size:9px}
 .ap-v4-navigation-row{min-height:42px;padding:4px 5px}
 body.ap-v4 .ap-content-grid{gap:16px}
 body.ap-v4 .ap-hero{height:212px;border-width:3px;border-radius:17px}
 body.ap-v4 .ap-hero-mascot{left:3%;width:52%;height:96%}
 body.ap-v4 .ap-hero-copy{left:47%;width:48%;gap:5px}
 body.ap-v4 .ap-hero-copy h1,body.ap-v4 .ap-hero-copy h2{font-size:clamp(18px,4.8vw,27px);letter-spacing:-.4px}
 body.ap-v4 .ap-slide-btn{width:27px;height:27px}
 body.ap-v4 .ap-slide-btn svg{width:14px;height:14px}
 .ap-v4-hero-link{font-size:10px;margin-top:5px;padding:6px 8px}
 body.ap-v4 .ap-section-title{font-size:23px;line-height:1.16}
 body.ap-v4 .ap-section-title>.ap-icon{width:24px;height:24px}
 .ap-v4-section-header>a{font-size:10px;white-space:normal;text-align:right}
 body.ap-v4 .ap-post-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 body.ap-v4 .ap-post-body h3{font-size:14px}
 body.ap-v4 .ap-post-meta{font-size:10px}
 body.ap-v4 .ap-sidebar{display:flex;flex-direction:column}
 body.ap-v4 .ap-widget-social{padding:13px}
 body.ap-v4 .ap-social{width:42px;height:42px;flex-basis:42px}
 body.ap-v4 .ap-partner-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
 .ap-v4-viral-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 body.ap-v4 .ap-footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}
 body.ap-v4 .ap-footer-identity,body.ap-v4 .ap-footer-follow{grid-column:span 2}
 body.ap-v4 .ap-footer-brand{height:138px}
}
@media(max-width:390px){
 body.ap-v4 .ap-hero{height:180px}
 body.ap-v4 .ap-hero-copy h1,body.ap-v4 .ap-hero-copy h2{font-size:18px}
 body.ap-v4 .ap-post-grid{grid-template-columns:1fr}
 body.ap-v4 .ap-post-card{display:grid;grid-template-columns:42% 58%;min-height:126px}
 body.ap-v4 .ap-post-thumb{height:100%;min-height:120px;aspect-ratio:auto}
 body.ap-v4 .ap-post-body{padding:7px 8px}
 body.ap-v4 .ap-category-pill{transform:none;margin-bottom:8px}
 body.ap-v4 .ap-post-body h3{font-size:15px}
}
@media(prefers-reduced-motion:reduce){body.ap-v4 *,body.ap-v4 *:before,body.ap-v4 *:after{scroll-behavior:auto!important;transition:none!important}}
/* refinamento de leitura e largura real em smartphones */
@media(max-width:610px){
 body.ap-v4 .ap-widget-social{align-self:stretch;width:100%}
 .ap-v4-section-header{flex-wrap:wrap;gap:3px 9px}
 .ap-v4-section-header .ap-section-title{font-size:22px;white-space:nowrap}
 .ap-v4-section-header>a{margin-left:auto;max-width:100%;font-size:11px}
 body.ap-v4 .ap-hero-copy{left:51%;width:42%}
 body.ap-v4 .ap-hero-mascot{left:4%;width:47%;height:98%}
 body.ap-v4 .ap-hero-copy h1,body.ap-v4 .ap-hero-copy h2{font-size:clamp(17px,4.6vw,25px)}
}
@media(max-width:380px){
 .ap-v4-section-header .ap-section-title{font-size:20px;white-space:normal}
 body.ap-v4 .ap-hero-copy h1,body.ap-v4 .ap-hero-copy h2{font-size:17px}
}

body.ap-v4 .ap-v4-extra-widget{padding:14px}
body.ap-v4 .ap-v4-extra-widget .ap-red-heading{margin:-14px -14px 12px}
