/*
Theme Name: Donos de Casa
Theme URI: https://donosdecasa.com
Author: Marcelo Leitner
Description: Revista doméstica leve e responsiva, com navegação por assuntos, busca e leitura acessível.
Version: 1.2.2
Requires at least: 6.6
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: donosdecasa
*/
:root{--ink:#223c35;--muted:#5e6b62;--paper:#faf8f3;--line:#dedfd4;--green:#365c48;--light:#edf0e5;--orange:#a84d2c;--serif:Georgia,'Times New Roman',serif}*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0;background:var(--paper);color:var(--ink);font:16px/1.65 system-ui,-apple-system,sans-serif}a{color:inherit;text-underline-offset:4px}img{max-width:100%;height:auto;display:block}button,input{font:inherit}button,a,input{touch-action:manipulation}a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid var(--orange);outline-offset:4px}h1,h2,h3,p{margin-top:0}h1,h2,h3{font-family:var(--serif);font-weight:400;line-height:1.13}h1{font-size:clamp(2.5rem,5vw,4.5rem);letter-spacing:-.045em}h2{font-size:clamp(1.9rem,3vw,2.65rem);letter-spacing:-.025em}h3{font-size:1.55rem}p{margin-bottom:1.2rem}.wrap{width:min(1180px,calc(100% - 64px));margin:auto}.eyebrow{font:600 11px/1.5 system-ui,sans-serif;letter-spacing:.16em;text-transform:uppercase;color:var(--orange);margin-bottom:14px}.skip{position:absolute;left:10px;top:-100px;padding:12px;background:white;z-index:20}.skip:focus{top:10px}.topline{background:var(--green);color:#fff;text-align:center;font-size:11px;letter-spacing:.08em;padding:8px 16px}.brandbar{display:flex;align-items:center;justify-content:space-between;padding:27px 0;gap:24px}.brand{display:flex;gap:12px;align-items:center;text-decoration:none;font:400 30px/1 var(--serif);letter-spacing:-.05em}.brand svg{width:38px;height:38px}.brand strong{font-weight:400}.tagline{color:var(--muted);font-size:12px}.navline{border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.navinner{display:flex;align-items:center;justify-content:space-between;gap:24px}.mainnav ul{display:flex;list-style:none;padding:0;margin:0;gap:30px}.mainnav a{display:block;padding:15px 0;font-size:13px;text-decoration:none}.mainnav a:hover{color:var(--orange)}.search{display:flex;align-items:center;gap:8px}.search input{width:160px;border:0;background:transparent;padding:8px;color:var(--ink);font-size:13px}.search button{border:0;background:none;color:var(--ink);padding:9px;cursor:pointer}.hero{display:grid;grid-template-columns:1fr 1.02fr;gap:60px;align-items:center;padding:52px 0 56px}.hero p{color:var(--muted);max-width:420px}.hero h1{max-width:530px}.hero-art{position:relative;overflow:hidden;border-radius:120px 4px 4px 4px;background:#e8e8dc}.hero-art img{width:100%;aspect-ratio:1.12;object-fit:cover}.art-caption{font-size:10px;color:var(--muted);text-align:right;padding-top:5px}.button{display:inline-flex;align-items:center;gap:28px;background:var(--green);color:white;padding:13px 22px;font-size:13px;text-decoration:none;border:0;cursor:pointer}.button:hover{background:#254432}.textlink{font-size:13px;text-decoration:none;border-bottom:1px solid var(--ink);padding-bottom:3px}.section{padding:45px 0 56px;border-top:1px solid var(--line)}.sectionhead{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:28px}.sectionhead h2{margin:0}.topics{display:grid;grid-template-columns:repeat(6,1fr);gap:12px}.topic{text-decoration:none;background:var(--light);min-height:113px;padding:20px 16px;display:flex;flex-direction:column;justify-content:space-between;transition:transform .2s}.topic:hover{transform:translateY(-3px)}.topic span{font:22px var(--serif)}.topic small{font-size:10px;text-transform:uppercase;letter-spacing:.12em;color:var(--muted)}.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:38px 26px}.card{min-width:0}.card-art{display:block;position:relative;overflow:hidden;background:#e4e7db;margin-bottom:19px}.card-art img{width:100%;aspect-ratio:1.55;object-fit:cover;transition:transform .4s}.card-art:hover img{transform:scale(1.035)}.card .eyebrow{font-size:10px;margin-bottom:9px}.card h3{margin-bottom:12px}.card h3 a{text-decoration:none}.card h3 a:hover{text-decoration:underline}.card p{font-size:14px;line-height:1.65;color:var(--muted);margin-bottom:12px}.meta{font-size:11px;color:var(--muted)}.feature-band{background:var(--light);padding:40px;display:grid;grid-template-columns:1.2fr 1fr;gap:50px;align-items:center}.feature-band h2{margin-bottom:15px}.feature-band p{font-size:14px;color:var(--muted)}.steps{list-style:none;margin:0;padding:0}.steps li{display:flex;align-items:start;gap:18px;padding:14px 0;border-bottom:1px solid #ccd2c5;font-size:14px}.steps b{font:24px var(--serif);color:var(--orange)}.sitefooter{margin-top:30px;padding:46px 0 22px;border-top:1px solid var(--line)}.footercols{display:grid;grid-template-columns:1fr 1fr 1fr;gap:40px}.footercols h2{font:600 11px system-ui;letter-spacing:.12em;text-transform:uppercase}.footercols p,.footercols a{font-size:13px;color:var(--muted)}.footlinks{list-style:none;margin:0;padding:0}.footlinks li{margin:8px 0}.footlinks a{text-decoration:none}.copyright{border-top:1px solid var(--line);padding-top:20px;margin-top:30px;color:var(--muted);font-size:11px;display:flex;justify-content:space-between;gap:20px}.article-head{max-width:830px;margin:0 auto;padding:48px 0 30px}.article-head h1{font-size:clamp(2.3rem,4.5vw,3.7rem)}.breadcrumbs{font-size:12px;color:var(--muted);margin-bottom:25px}.article-deck{font-size:19px;color:var(--muted)}.article-layout{display:grid;grid-template-columns:minmax(0,730px);justify-content:center}.prose{font-size:17px;line-height:1.85;overflow-wrap:anywhere}.prose h2{font-size:29px;margin:36px 0 18px}.prose h3{font-size:23px;margin:28px 0 14px}.prose ul,.prose ol{padding-left:25px}.prose li{margin-bottom:10px}.authorbox{background:var(--light);padding:22px;margin-top:36px;font-size:14px}.authorbox h2{font-size:22px;margin:0 0 10px}.authorbox p{margin:0}.pagination{margin-top:40px;display:flex;flex-wrap:wrap;justify-content:center;gap:12px}.page-numbers{display:inline-block;padding:8px 14px;border:1px solid var(--line);text-decoration:none}.page-numbers.current{background:var(--green);color:white}.page-head{padding:45px 0 30px}.empty{padding:45px 0}.pagecopy{max-width:760px;margin:0 auto;padding-bottom:45px}.wp-block-image{margin:25px 0}.screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap}.notice{padding:18px;background:var(--light)}.toc-empty{display:none}@media(max-width:960px){.tagline{display:none}.mainnav ul{gap:17px}.hero{gap:30px}.topics{grid-template-columns:repeat(3,1fr)}.article-layout{grid-template-columns:minmax(0,730px);gap:30px}.grid{gap:30px 20px}.search input{width:120px}}@media(max-width:680px){.wrap{width:calc(100% - 36px)}.brandbar{padding:22px 0}.brand{font-size:28px}.navinner{display:block}.mainnav ul{overflow:auto;gap:23px;white-space:nowrap}.mainnav a{padding:12px 0}.search{border-top:1px solid var(--line);justify-content:space-between}.search input{width:100%}.hero{grid-template-columns:1fr;padding:32px 0 35px;gap:24px}.hero h1{font-size:3.2rem;margin-bottom:20px}.hero-art{border-radius:80px 4px 4px 4px}.hero-art img{aspect-ratio:1.4}.section{padding:32px 0}.sectionhead{align-items:start}.sectionhead .textlink{font-size:11px;white-space:nowrap}.topics{grid-template-columns:repeat(2,1fr)}.topic{min-height:96px}.grid{grid-template-columns:1fr}.card{display:grid;grid-template-columns:1fr 1.3fr;gap:16px}.card-art{margin:0}.card-art img{aspect-ratio:1;height:100%;min-height:155px}.card h3{font-size:21px}.card p{display:none}.feature-band{grid-template-columns:1fr;padding:25px;gap:10px}.footercols{grid-template-columns:1fr;gap:25px}.copyright{display:block}.article-head{padding:30px 0}.article-deck{font-size:17px}.prose{font-size:16px}.page-head h1{font-size:2.5rem}}@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

.article-cover {
    max-width: 960px;
    margin: 0 auto 32px;
    overflow: hidden;
    border-radius: 14px;
    background: var(--light);
}
.article-cover img { display: block; width: 100%; height: auto; }
.reader-index {
    margin: 0 0 28px;
    padding: 12px 18px;
    background: var(--light);
    border-radius: 8px;
}
.reader-index summary { cursor: pointer; font-weight: 650; }
.reader-index ol { margin: 12px 0 2px; padding-left: 24px; }
.reader-index li + li { margin-top: 5px; }
.prose h2 { scroll-margin-top: 24px; }
.prose .ddc-practical {
    margin: 32px 0;
    padding: 17px 22px;
    border-inline-start: 4px solid var(--green);
    background: var(--light);
    border-radius: 0 8px 8px 0;
}
.prose .ddc-practical p { margin: 0; }
.prose .ddc-practical p + p { margin-top: 6px; }
@media (max-width: 680px) {
    .article-cover { margin-bottom: 22px; border-radius: 9px; }
    .prose .ddc-practical { padding: 14px 16px; }
}

.article-share {
    margin-top: 38px;
    padding: 23px 0 0;
    border-top: 1px solid var(--line);
}

.article-share h2 {
    margin: 0 0 14px;
    font-size: 24px;
}

.share-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.share-actions[hidden] {
    display: none;
}

.share-actions a,
.share-actions button {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 44px;
    padding: 8px 14px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--light);
    color: var(--ink);
    font: 650 .875rem/1.2 system-ui, sans-serif;
    text-decoration: none;
    cursor: pointer;
}

.share-actions a:hover,
.share-actions button:hover {
    border-color: var(--green);
}

.share-actions button {
    border-color: var(--green);
    background: var(--green);
    color: #fff;
}

.share-actions button:hover {
    background: var(--ink);
}

.share-actions svg {
    width: 17px;
    height: 17px;
}

.share-manual {
    margin-top: 12px;
}

.share-manual input {
    display: block;
    width: 100%;
    margin-top: 4px;
    padding: 8px;
    font: inherit;
}

.share-feedback {
    margin: 8px 0 0;
    color: var(--green);
    font-size: .875rem;
}

.share-feedback:empty {
    margin: 0;
}
