/*
Theme Name: Os Simpsons — Por dentro de Springfield
Theme URI: https://www.os-simpsons.com
Author: Mocosoft Sistemas
Description: Tema editorial responsivo criado para preservar a identidade visual do portal Os Simpsons na migração para WordPress.
Version: 1.0.0
Text Domain: os-simpsons
*/
:root{--background:#fffdf5;--foreground:#202d35;--card:#fff;--card-foreground:#202d35;--primary:#ffe334;--primary-foreground:#202d35;--secondary:#d9f2f3;--secondary-foreground:#202d35;--muted:#f1f0e8;--muted-foreground:#5a6468;--accent:#ff95b8;--accent-foreground:#202d35;--border:#202d35;--input:#202d35;--ring:#14838b;--radius:1rem;--popover:#fff;--popover-foreground:#202d35;--destructive:#b82136}
@theme inline{--color-background:var(--background);--color-foreground:var(--foreground);--color-primary:var(--primary);--color-primary-foreground:var(--primary-foreground);--color-border:var(--border);--font-sans:Arial,Helvetica,sans-serif}
*{box-sizing:border-box}body{margin:0;background:var(--background);color:var(--foreground);font-family:Arial,Helvetica,sans-serif;font-size:16px}a{color:inherit;text-decoration:none}button,a{-webkit-tap-highlight-color:transparent}a:focus-visible,button:focus-visible{outline:3px solid #14838b;outline-offset:5px}::selection{background:#ffe334}.container{max-width:1240px;margin:auto;padding:0 32px}.topline{background:#25333b;color:#fff;text-align:center;font-size:12px;letter-spacing:1.6px;padding:11px 15px;font-weight:700}.header{border-bottom:2px solid #25333b;background:#fffdf5}.header-inner{min-height:104px;display:flex;justify-content:space-between;align-items:center;gap:24px}.brand{display:flex;align-items:center;gap:10px}.brand-word{font-weight:950;font-size:32px;letter-spacing:-2px;line-height:.85;transform:rotate(-3deg);text-shadow:2px 2px 0 #ffe334}.brand-word small{display:block;font-size:14px;letter-spacing:1px;margin-bottom:4px}.brand-note{border-left:1px solid #c6c7bd;padding-left:18px;margin-left:12px;font-size:12px;line-height:1.5;color:#5a6468}.nav{display:flex;gap:28px;align-items:center;font-weight:700;font-size:14px}.nav a{padding:12px 0;border-bottom:3px solid transparent}.nav a:hover{border-color:#f0cb00}.eyebrow{font-size:12px;text-transform:uppercase;letter-spacing:1.8px;font-weight:800}.home-intro{display:flex;justify-content:space-between;align-items:end;padding:35px 0 25px}.home-intro h1{font-size:30px;letter-spacing:-1px;margin:0}.home-intro p{color:#667073;font-size:14px;margin:0}.hero{display:grid;grid-template-columns:1.04fr 1fr;border:2px solid #25333b;border-radius:18px;overflow:hidden;box-shadow:5px 5px 0 #25333b;background:#ffe334}.hero-copy{padding:42px 40px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center}.pill{display:inline-block;padding:7px 11px;border:1.5px solid #25333b;border-radius:5px;background:#fffdf5;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.8px}.hero h2{font-size:clamp(34px,4vw,53px);letter-spacing:-2px;line-height:1.04;margin:21px 0 15px;font-weight:900}.hero p{font-size:16px;line-height:1.65;max-width:440px;margin:0 0 26px}.button{display:inline-flex;gap:24px;align-items:center;background:#25333b;color:#fff;padding:14px 20px;border-radius:7px;font-size:14px;font-weight:700}.button:hover{background:#435660}.hero-image{min-height:395px;position:relative;background:#9ad7de}.hero-image img{width:100%;height:100%;object-fit:cover;position:absolute}.image-note{font-size:12px;color:#6b7371;text-align:right;margin:12px 3px}.section{margin:48px 0}.section-title{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:22px}.section-title h2{font-size:28px;letter-spacing:-1px;margin:0}.section-title a{font-size:14px;font-weight:700;border-bottom:1px solid}.dot{display:inline-block;width:11px;height:11px;border-radius:50%;background:#f1789d;margin-right:10px;border:1px solid #25333b}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:23px}.card{border:1.5px solid #25333b;border-radius:12px;overflow:hidden;background:white;transition:transform .2s,box-shadow .2s}.card:hover{transform:translateY(-4px);box-shadow:4px 5px 0 #25333b}.card-visual{height:124px;display:flex;align-items:center;justify-content:space-between;padding:24px;border-bottom:1.5px solid #25333b;background:#d9f2f3}.card-visual.pink{background:#ffd6e4}.card-visual.yellow{background:#fff09b}.card-visual .large-type{font-size:45px;font-weight:900;letter-spacing:-3px}.card-visual .visual-kicker{max-width:100px;text-align:right;line-height:1.4;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:1px}.card-body{padding:24px}.tag{font-size:12px;font-weight:800;letter-spacing:1px;text-transform:uppercase;color:#326d72}.card h3{font-size:22px;line-height:1.2;letter-spacing:-.6px;margin:12px 0}.card p{font-size:15px;color:#626e70;line-height:1.55;margin:0 0 22px}.card-meta{font-size:12px;color:#626e70;display:flex;justify-content:space-between}.character-band{background:#d9f2f3;border:1.5px solid #25333b;border-radius:14px;padding:28px 30px}.character-list{display:grid;grid-template-columns:repeat(5,1fr);gap:15px}.character{padding:20px 12px;border:1.5px solid #25333b;background:#fffdf5;border-radius:10px;text-align:center}.character strong{font-size:24px;letter-spacing:-1px;display:block;margin-bottom:8px}.character span{font-size:13px;color:#5a6468}.character:hover{background:#ffe334}.curiosity-list{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.curiosity-item{padding:24px 0;border-top:2px solid #25333b}.curiosity-item .number{color:#a45272;font-weight:800;font-size:14px}.curiosity-item h3{font-size:23px;margin:15px 0;line-height:1.2;letter-spacing:-.5px}.curiosity-item p{font-size:15px;color:#626e70;line-height:1.6}.footer{border-top:2px solid #25333b;margin-top:65px;padding:35px 0 25px;background:#ffe334}.footer-top{display:flex;justify-content:space-between;gap:30px;align-items:center}.footer-links{display:flex;gap:24px;font-size:14px}.footer p{font-size:12px;line-height:1.7;color:#4f5343;max-width:700px;margin-top:28px}.breadcrumb{font-size:14px;color:#626e70;margin:30px 0}.category-intro{padding:25px 0 40px}.category-intro h1{font-size:56px;letter-spacing:-2px;line-height:1;margin:15px 0}.category-intro p{font-size:18px;line-height:1.6;max-width:680px;color:#5a6468}.article{max-width:780px;margin:35px auto 70px}.article h1{font-size:clamp(34px,5vw,54px);letter-spacing:-1.8px;line-height:1.08;margin:20px 0}.article .standfirst{font-size:21px;color:#556368;line-height:1.6}.article-meta{font-size:13px;padding:18px 0;border-top:1px solid #c9cfca;border-bottom:1px solid #c9cfca;margin:25px 0}.prose p{font-size:18px;line-height:1.85;margin:24px 0}.prose h2{font-size:27px;margin:36px 0 14px;letter-spacing:-.6px}.sources{background:#e6f3f2;padding:24px;border-radius:10px;margin-top:40px}.sources a{text-decoration:underline;overflow-wrap:anywhere}.sources li{margin-top:12px;font-size:14px;line-height:1.5}.article-art{width:100%;border-radius:12px;border:1.5px solid #25333b}.back{display:inline-block;margin-top:35px;font-weight:700;text-decoration:underline}
@media(max-width:800px){.container{padding:0 20px}.brand-note{display:none}.header-inner{min-height:100px;flex-wrap:wrap;padding-top:22px;padding-bottom:14px;gap:18px}.nav{width:100%;justify-content:space-between;gap:12px;font-size:13px}.nav a{padding:7px 0}.home-intro{align-items:start}.home-intro h1{font-size:26px}.home-intro p{display:none}.hero{grid-template-columns:1fr}.hero-copy{padding:30px}.hero h2{font-size:40px}.hero-image{min-height:300px}.cards,.curiosity-list{grid-template-columns:1fr}.character-list{grid-template-columns:repeat(2,1fr)}.character:last-child{grid-column:1/-1}.section-title h2{font-size:24px}.character-band{padding:22px}.footer-top{align-items:start;flex-direction:column}.footer-links{flex-wrap:wrap}.category-intro h1{font-size:42px}.topline{font-size:11px}.section{margin:36px 0}}
.hero-image{background:#fff}.hero-image img{object-fit:contain}


/* Integração WordPress */
.site-main{min-height:55vh}.archive-grid{padding-bottom:20px}.wp-block-image img,.prose img{max-width:100%;height:auto}.prose a{text-decoration:underline}.nav .current-menu-item,.nav .current-cat{border-color:#f0cb00}.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.pagination{display:flex;justify-content:center;gap:8px;margin:42px 0}.pagination .page-numbers{border:1.5px solid #25333b;border-radius:6px;padding:8px 12px;background:#fff}.pagination .current{background:#ffe334;font-weight:800}.notice-box{background:#e6f3f2;border:1.5px solid #25333b;border-radius:12px;padding:24px}.article .post-content>p:first-child{font-size:21px;color:#556368;line-height:1.6}.article-meta{display:flex;flex-wrap:wrap;gap:6px}.site-search{display:flex;gap:8px;margin:25px 0}.site-search input{min-width:0;flex:1;border:1.5px solid #25333b;border-radius:7px;padding:12px;font:inherit}.site-search button{border:0;cursor:pointer}.privacy-updated{font-size:14px;color:#626e70}.wp-caption-text{font-size:12px;color:#6b7371}.article-navigation{display:flex;justify-content:space-between;gap:25px;margin-top:35px}.article-navigation a{font-weight:700;text-decoration:underline}.article-navigation>*{max-width:48%}
@media(max-width:800px){.article-navigation{flex-direction:column}.article-navigation>*{max-width:100%}}
