/*
Theme Name: Cafofo Bonito
Theme URI: https://cafofobonito.com.br/
Author: Cafofo Bonito
Description: Tema editorial original para a revista Cafofo Bonito; posts, categorias e páginas gerenciados pelo WordPress.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: cafofo-bonito
*/
500;600;700&family=Playfair+Display:wght@400;600;700&display=swap');
:root{--cream:#faf5ed;--white:#fffdf9;--dark:#283b2e;--sage:#607860;--terra:#aa5943;--line:#e7dfd3;--muted:#716c62}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--cream);color:var(--dark);font-family:'DM Sans',Arial,sans-serif;line-height:1.7}a{color:inherit}img{display:block;width:100%;object-fit:cover}h1,h2,h3,.brand{font-family:'Playfair Display',Georgia,serif;line-height:1.16}h1{font-size:clamp(34px,5vw,64px);letter-spacing:-1px}h2{font-size:clamp(24px,2.7vw,35px)}h3{font-size:23px}p{margin:0 0 16px}.wrap{max-width:1200px;margin:auto;padding:0 24px}.mast{background:#fffcf7;border-bottom:1px solid var(--line)}.mastin{padding:25px 24px;text-align:center}.brand{font-weight:700;font-size:clamp(34px,4.6vw,55px);text-decoration:none;letter-spacing:-1.6px}.tag{font-size:12px;letter-spacing:3px;text-transform:uppercase;color:var(--sage)}.nav{background:#324c38;color:#fff}.navin{display:flex;justify-content:center;gap:clamp(14px,3vw,40px);flex-wrap:wrap;padding:12px 16px}.nav a{text-decoration:none;font-weight:600;font-size:14px}.nav a:hover,.btn:hover{text-decoration:underline}.hero{display:grid;grid-template-columns:1fr 1.14fr;background:#e8ddcf;min-height:380px}.herotxt{padding:clamp(26px,5vw,75px);display:flex;flex-direction:column;justify-content:center}.herotxt h1{margin:10px 0 15px}.hero img{height:100%;min-height:340px;max-height:560px}.eyebrow{color:var(--terra);letter-spacing:1.9px;font-size:12px;font-weight:700;text-transform:uppercase}.btn{display:inline-block;background:var(--terra);padding:11px 20px;border-radius:6px;color:white;text-decoration:none;font-weight:700;width:max-content}.section{padding:48px 0}.sectop{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap}.sectop h2{margin:0 0 22px}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.card{background:#fffdf9;border:1px solid var(--line);border-radius:10px;overflow:hidden}.card img{height:205px}.cardcontent{padding:17px 18px}.card h3{font-size:22px;margin:7px 0}.card a{text-decoration:none}.card a:hover{text-decoration:underline}.small{font-size:13px;color:var(--muted)}.pill{font-size:11px;text-transform:uppercase;letter-spacing:1px;color:var(--terra);font-weight:700}.intro{font-size:19px;color:#4d594d;line-height:1.8}.article{max-width:800px;margin:auto;padding:40px 24px 70px}.article h1{margin:10px 0 17px}.article h2{margin:38px 0 12px}.article img.heroimg{height:auto;max-height:470px;aspect-ratio:16/9;border-radius:12px;object-fit:cover;margin:22px 0}.breadcrumb{font-size:13px;color:var(--sage)}.breadcrumb a{text-decoration:none}.article p{font-size:17px}.note{border-left:4px solid var(--sage);background:#f0f1e9;padding:16px 18px;border-radius:0 8px 8px 0;margin:24px 0}.aff{border:1px solid #e5d6c5;background:#fff8ef;border-radius:12px;padding:24px;margin:36px 0}.aff h2{margin:0 0 10px;font-size:26px}.aff .items{display:flex;gap:9px;flex-wrap:wrap;margin-top:14px}.aff .items span{background:#eae5d9;padding:7px 12px;border-radius:20px;font-size:13px}.related{border-top:1px solid var(--line);padding-top:24px;margin-top:32px}.related a{display:block;margin:12px 0;color:#9a4735}.footer{padding:36px 0;background:#2d4534;color:#fff}.footer a{color:#f7e2ca}.footlinks{display:flex;flex-wrap:wrap;gap:18px}.adnote{font-size:13px;color:var(--muted)}.legal{max-width:830px;margin:45px auto;padding:0 24px;min-height:50vh}.legal h1{font-size:44px}.guide{background:#ecede4;border-radius:12px;padding:24px;margin-top:20px}.topics{display:flex;gap:8px;flex-wrap:wrap}.topics a{background:#e9e8dd;padding:7px 13px;border-radius:30px;font-size:14px;text-decoration:none}button{cursor:pointer}@media(max-width:740px){.wrap{padding:0 15px}.mastin{padding:20px 10px}.tag{letter-spacing:1.5px}.navin{justify-content:flex-start;overflow-x:auto;flex-wrap:nowrap;white-space:nowrap}.hero{display:flex;flex-direction:column-reverse}.hero img{max-height:320px;min-height:260px}.herotxt{padding:28px 20px 35px}.cards{grid-template-columns:1fr}.card img{height:235px}.section{padding:34px 0}.article{padding:26px 18px 55px}.article p{font-size:16px}.article img.heroimg{max-height:300px}}

/* Identidade editorial revista - revisão aprovada */
body{background:#faf6ef;color:#293c2f} .mast{background:#fffaf3;border-bottom:1px solid #eee1d3} .mastin{padding:18px 20px 16px} .brand{font-size:clamp(36px,5vw,60px);font-weight:600;color:#273a2d;line-height:1.03} .brand span{color:#a64f3d}.tag{color:#617460;font-size:12px;letter-spacing:2.2px;margin-top:4px}.nav{background:#e9eadd;color:#304331;border-top:1px solid #e0e3d4}.navin{min-height:48px;align-items:center}.nav a{font-weight:600}.hero{display:block;position:relative;isolation:isolate;min-height:530px;background:#9d6a4c;overflow:hidden}.hero-photo{position:absolute;inset:0;width:100%;height:100%!important;max-height:none!important;object-fit:cover;object-position:center 40%;z-index:-2}.hero:before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(24,24,18,.69) 0%,rgba(35,29,20,.46) 40%,rgba(26,27,21,.10) 78%)}.herotxt{min-height:530px;max-width:740px;padding:60px clamp(25px,6vw,90px);color:#fff}.herotxt h1{font-size:clamp(53px,6vw,91px);line-height:1.03;margin:12px 0 18px;letter-spacing:-1.4px;font-weight:400;text-shadow:0 3px 18px #0003}.herotxt h1 span{color:#fff2e8}.herotxt h1 em{font-weight:400}.hero .eyebrow{align-self:flex-start;border-radius:30px;background:#852c30;color:white;padding:7px 17px;letter-spacing:1.8px;font-size:12px}.hero .intro{font-family:Georgia,serif;font-size:clamp(18px,2vw,24px);line-height:1.5;max-width:560px;color:#fff9f0;text-shadow:0 2px 8px #0004}.hero .btn{border-radius:30px;padding:12px 23px;background:#b95e47;box-shadow:0 6px 18px #2c1d1833}.card{background:transparent;border:0;border-radius:0}.card img{border-radius:12px;height:220px}.cardcontent{padding:14px 4px}.card h3{font-size:clamp(23px,2.3vw,28px)}.card .pill{color:#476547}.section{border-bottom:1px solid #e9e1d7}.sectop h2{font-size:clamp(29px,3.6vw,42px)}.article img.heroimg{border-radius:12px}.footer{margin-top:30px}
@media(max-width:740px){.mastin{padding:13px 12px 12px}.brand{font-size:clamp(29px,8vw,43px);letter-spacing:-1px}.tag{font-size:10px;letter-spacing:1.4px}.navin{justify-content:flex-start;gap:20px;padding:10px 13px;white-space:nowrap;overflow-x:auto;scrollbar-width:thin}.navin a{font-size:13px}.hero{min-height:600px}.hero-photo{height:100%!important;min-height:600px!important;object-position:62% center}.hero:before{background:linear-gradient(0deg,rgba(26,29,22,.9) 0%,rgba(29,25,20,.47) 53%,rgba(23,27,21,.02) 100%)}.herotxt{min-height:600px;max-width:none;justify-content:flex-end;padding:35px 22px 38px}.herotxt h1{font-size:clamp(55px,12vw,80px);margin:9px 0 12px}.hero .intro{font-size:20px;line-height:1.43}.card img{height:250px}.cardcontent{padding:12px 0 6px}.section{padding:30px 0}.sectop h2{margin:0 0 18px}.article{padding-top:26px}}
@media(max-width:360px){.brand{font-size:30px}.hero{min-height:540px}.hero-photo{min-height:540px!important}.herotxt{min-height:540px}.herotxt h1{font-size:52px}.hero .intro{font-size:18px}}

.page{display:block}.back-wrap{max-width:1120px;margin:22px auto 0;padding:0 20px}.back-link{font-size:14px;color:#a75c43;font-weight:700}.demo-note{background:#efe9df;text-align:center;padding:7px 12px;color:#5c5d52;font:12px system-ui,sans-serif}.mastin{text-align:center}.mast .brand{text-decoration:none}.card img{object-fit:cover}.navin{display:flex;overflow-x:auto}.page .article{max-width:900px}.page .article p{line-height:1.78}.page .article h2{scroll-margin-top:22px}@media(max-width:740px){body{overflow-x:hidden}.mastin{text-align:center}.brand{white-space:nowrap}.navin a{flex:0 0 auto}.back-wrap{padding:0 18px}.page .article{padding-left:18px;padding-right:18px}}

.tip-photo{margin:19px 0 28px;padding:0}.tip-photo img{display:block;width:100%;max-height:400px;aspect-ratio:16/9;object-fit:cover;border-radius:13px}.tip-photo figcaption{margin-top:8px;color:#6c7269;font:12px/1.45 system-ui,sans-serif}.extended-tip{padding-top:8px}.article p{line-height:1.83}@media(max-width:740px){.tip-photo img{aspect-ratio:4/3;max-height:340px}}

/* WordPress native templates */
body.admin-bar .mast{margin-top:0} .mastin .brand span{color:var(--terra)}
.cb-article-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px} .cb-article-list .card img{height:195px}
.cb-article-list .cardcontent{padding:18px}.cb-article-list .card h3{font-size:20px;line-height:1.3}
.cb-article-list .card h3 a{text-decoration:none}.cb-article-list .card .small{font-size:14px}
.cb-story{padding:38px 24px 70px;max-width:900px;margin:0 auto}.cb-story h1{font-size:clamp(33px,4vw,52px)}
.cb-story .article-body{font-size:17px;line-height:1.85}.cb-story .article-body h2{margin-top:34px}.cb-story .article-body img{width:100%;height:auto;border-radius:12px}
.cb-story .intro{font-size:19px;color:var(--muted)} .cb-story .heroimg{width:100%;max-height:480px;object-fit:cover;border-radius:12px}
.cb-content{max-width:900px;margin:40px auto 90px;padding:0 24px}.cb-content h1{margin-bottom:30px}
.footer a{color:inherit}.footlinks{display:flex;justify-content:center;flex-wrap:wrap;gap:18px}.cb-archive-head{padding:48px 0 15px}
.cb-skip{position:absolute;left:-9999px}.cb-skip:focus{left:10px;top:10px;z-index:999;background:white;padding:10px}
@media(max-width:740px){.cb-article-list{grid-template-columns:1fr}.cb-story{padding:26px 18px 60px}.cb-article-list .card img{height:240px}}
