/*
Theme Name: IDH Brasil
Theme URI: https://www.mocosoft.com.br
Author: Mocosoft Sistemas
Author URI: https://www.mocosoft.com.br
Description: Tema institucional do Instituto de Desenvolvimento Humano do Brasil, com notícias nativas do WordPress e textos institucionais editáveis.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: idh-brasil
Tags: custom-logo, custom-menu, featured-images, news, education, blog
*/
:root{--background:#fff;--foreground:#16334a;--card:#fff;--card-foreground:#16334a;--popover:#fff;--popover-foreground:#16334a;--primary:#0a304e;--primary-foreground:#fff;--secondary:#eef3f7;--secondary-foreground:#16334a;--muted:#eef3f7;--muted-foreground:#536677;--accent:#e4bd73;--accent-foreground:#092c48;--destructive:#b3261e;--border:#d8e1e7;--input:#d8e1e7;--ring:#936b27;--radius:.4rem}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:105px}body{margin:0;font-family:Arial,Helvetica,sans-serif;color:#16334a;background:white;font-size:16px;line-height:1.7}a{color:inherit;text-decoration:none}button,input,textarea{font:inherit}button,a{touch-action:manipulation}a:focus-visible,button:focus-visible{outline:3px solid #b28030;outline-offset:5px}h1,h2,h3,p{margin-top:0}h1,h2{font-family:Georgia,'Times New Roman',serif;font-weight:400;letter-spacing:-.045em;line-height:1.16}h2{font-size:clamp(32px,3.3vw,48px);margin-bottom:24px}h3{line-height:1.3}em{font-weight:400}p{color:#526576}svg{flex-shrink:0}.header{height:105px;display:flex;align-items:center;justify-content:space-between;padding:0 6%;background:#fff}.brand{display:flex;align-items:center;gap:12px;line-height:1.1;font-size:25px;letter-spacing:.08em}.brand img{width:64px;height:64px;object-fit:contain}.brand b{font-weight:400}.brand small{display:block;font-size:9px;letter-spacing:.14em;margin-top:8px}.header nav{display:flex;align-items:center;gap:32px;font-size:14px;font-weight:600}.nav-news{display:flex;gap:18px;border-left:1px solid #d7dfe5;padding-left:28px}.hero{padding:76px 7% 0;background:#092c48;color:#fff;display:grid;grid-template-columns:1.25fr 1fr;column-gap:6%;position:relative;overflow:hidden}.eyebrow{display:block;color:#e2bd7a;font-size:12px;font-weight:700;letter-spacing:.16em;margin-bottom:24px}.eyebrow.blue{color:#426d8b}.hero h1{font-size:clamp(42px,4.6vw,67px);margin-bottom:25px}.hero h1 em{color:#e5be76}.hero p{max-width:530px;color:#c1d0dc;font-size:17px;line-height:1.8;margin-bottom:34px}.button{display:inline-flex;align-items:center;justify-content:center;gap:28px;padding:15px 23px;border:0;font-weight:600;font-size:14px;cursor:pointer;background:#0a304e;color:#fff}.button.gold{background:#e1ba72;color:#112c40}.hero-brand{display:flex;flex-direction:column;align-items:center;justify-content:center}.hero-brand img{height:auto;width:min(100%,345px);filter:drop-shadow(0 20px 24px #0005)}.brand-note{display:flex;gap:19px;font-size:11px;letter-spacing:.15em;color:#d7c392;margin-top:30px}.hero-bottom{grid-column:1/-1;display:flex;justify-content:space-between;border-top:1px solid #ffffff24;margin-top:65px;padding:20px 0;color:#a8bfd0;font-size:12px;letter-spacing:.03em}.section{padding:90px 7%}.intro{display:grid;grid-template-columns:1fr 1fr;gap:8%}.intro h2{font-size:39px}.intro-text p{margin-bottom:20px}.intro-text strong{color:#16334a}.pillars{background:#f1f5f7}.section-top{display:flex;align-items:end;justify-content:space-between;gap:60px;margin-bottom:36px}.section-top h2{margin-bottom:0}.section-top>p{max-width:350px;font-size:15px;margin-bottom:3px}.pillar-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:25px}.pillar{background:#fff;padding:32px;border-top:3px solid #cfaa68}.pillar-icon{display:flex;justify-content:space-between;align-items:center;color:#53798f;margin-bottom:35px}.pillar-icon span{font-family:Georgia;font-size:27px;color:#8ca4b4}.pillar h3{font-family:Georgia;font-weight:400;font-size:28px;margin-bottom:16px}.pillar p{font-size:15px;margin-bottom:0}.purpose{background:#103752;color:#fff;display:grid;grid-template-columns:.9fr 1.3fr;gap:10%}.purpose h2 em{color:#e4bd76}.purpose-heading svg{color:#daba7d;margin-top:28px}.purpose-text article+article{border-top:1px solid #ffffff24;padding-top:30px;margin-top:32px}.purpose-text .eyebrow{margin-bottom:15px}.purpose-text p{color:#d0dce5;font-size:16px;margin-bottom:0}.values-list{margin-top:45px}.values-list article{display:grid;grid-template-columns:50px 270px 1fr;gap:24px;border-top:1px solid #dbe3e9;padding:25px 0;align-items:baseline}.value-number{color:#9f7b3e;font-size:16px}.values-list h3{font-size:18px;font-weight:600;margin:0}.values-list p{margin:0;font-size:15px}.founders{background:#f1f5f7}.founder-grid{display:grid;grid-template-columns:1fr 1fr;gap:32px}.founder-grid article{padding:40px;background:#fff}.founder-label{font-size:11px;letter-spacing:.11em;color:#867045;font-weight:700}.founder-grid h3{font:36px Georgia;margin:22px 0 10px}.qualification{font-size:14px;color:#396582;padding-bottom:22px;border-bottom:1px solid #dbe3e9}.founder-grid p:not(.qualification){font-size:15px}.founder-foot{font-size:15px;color:#526576;max-width:900px;margin:32px auto 0;text-align:center}.identity{display:grid;grid-template-columns:1fr 1.4fr;align-items:center;gap:12%;max-width:1160px;margin:auto}.identity>img{height:auto;width:100%;max-width:260px;justify-self:center}.identity p{font-size:16px}.news-section{border-top:1px solid #e1e7eb}.text-link{display:inline-flex;align-items:center;gap:15px;font-size:14px;font-weight:600}.empty-news{padding:40px;border:1px solid #dce5eb;background:#f6f8fa;display:flex;align-items:center;gap:24px}.empty-news h3{font-family:Georgia;font-size:23px;font-weight:400;margin-bottom:6px}.empty-news p{margin:0;font-size:15px}.news-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:25px}.news-card{border-bottom:1px solid #d8e1e7;padding-bottom:25px}.news-card img{aspect-ratio:16/10;width:100%;object-fit:cover}.news-card h3{font:26px Georgia;margin:15px 0}.news-card time{font-size:12px;color:#62798a}.news-card p{font-size:15px}.site-footer{background:#092c48;color:#c6d6e1;padding:42px 7% 0}.footer-main{display:flex;align-items:center;justify-content:space-between;gap:30px;padding-bottom:35px}.footer-brand{color:white}.footer-main p{color:#c6d6e1;font-size:14px;margin:0}.footer-main>span{font-size:13px}.footer-bottom{border-top:1px solid #ffffff24;padding:20px 0;display:flex;justify-content:space-between;font-size:12px}.inner-header{padding:25px 7%;border-bottom:1px solid #d8e1e7;display:flex;justify-content:space-between}.reading{max-width:850px;margin:60px auto;padding:0 25px}.reading h1{font-size:48px}.reading .cover{width:100%;max-height:500px;object-fit:cover}.article-body{white-space:pre-wrap;line-height:1.9}.editor{max-width:960px;margin:50px auto;padding:0 25px}.editor form{display:grid;gap:20px;margin:30px 0}.editor label{display:grid;gap:7px;font-size:14px;font-weight:600}.editor input,.editor textarea{padding:12px;border:1px solid #bbcbd6;border-radius:4px;background:#fff;width:100%;color:#16334a;font-weight:400}.editor textarea{min-height:240px}.editor .actions{display:flex;gap:15px;align-items:center}.notice{padding:16px;background:#eef3f7}.error{color:#a12720}.editor-item{display:flex;justify-content:space-between;border-top:1px solid #dbe3e9;padding:18px 0;gap:20px}.editor-item button{background:none;border:0;color:#184c74;cursor:pointer;text-decoration:underline}.editor-item small{display:block;color:#647786}.status-row{display:flex;gap:12px;align-items:center}
@media(max-width:900px){.header{height:auto;min-height:100px;padding:20px 5%;gap:20px;flex-wrap:wrap}.header nav{gap:20px;flex-wrap:wrap}.hero{padding:55px 6% 0}.hero h1{font-size:48px}.hero-brand img{height:auto;max-width:260px}.brand-note{font-size:9px;gap:10px}.section{padding:65px 6%}.intro{gap:35px}.intro h2{font-size:34px}.values-list article{grid-template-columns:35px 210px 1fr;gap:15px}.founder-grid article{padding:27px}.footer-main{flex-wrap:wrap}.section-top{gap:25px}.purpose{gap:45px}.pillar{padding:25px}}
@media(max-width:640px){.brand{font-size:21px}.brand img{width:49px;height:49px}.brand small{font-size:8px}.header{padding:15px 6%;gap:16px}.header nav{width:100%;justify-content:space-between;gap:10px;font-size:12px}.nav-news{padding-left:12px;gap:5px}.hero{grid-template-columns:1fr;padding-top:40px}.hero h1{font-size:43px}.hero p{font-size:16px}.hero-brand{padding:40px 0 0}.hero-brand img{height:auto;max-width:225px}.brand-note{font-size:10px}.hero-bottom{margin-top:35px;gap:15px;font-size:10px}.section{padding:55px 6%}.intro,.purpose,.founder-grid,.identity{grid-template-columns:1fr;gap:24px}.section-top{display:block}.section-top>p{margin-top:22px}.pillar-grid,.news-grid{grid-template-columns:1fr}.pillar-icon{margin-bottom:22px}.values-list article{grid-template-columns:28px 1fr;gap:10px}.values-list p{grid-column:2}.founder-grid h3{font-size:31px}.identity>img{height:auto;max-width:190px;margin-bottom:15px}.purpose-heading svg{display:none}.news-section .text-link{margin-top:15px}.empty-news{padding:25px;align-items:start}.footer-main{display:grid;gap:25px}.footer-bottom{gap:20px}.reading h1{font-size:36px}.editor .actions{flex-wrap:wrap}.editor-item{display:block}.editor-item button{margin:12px 18px 0 0}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
img{max-width:100%;height:auto}p,h1,h2,h3,a{overflow-wrap:anywhere}.header{position:relative;z-index:10}.header nav{display:block}.main-menu{display:flex;align-items:center;gap:30px;list-style:none;margin:0;padding:0}.main-menu li{position:relative}.main-menu .sub-menu{list-style:none;position:absolute;left:0;top:100%;background:#fff;box-shadow:0 8px 22px #16334a20;padding:14px;min-width:200px;display:none;margin:0}.main-menu li:hover>.sub-menu,.main-menu li:focus-within>.sub-menu{display:block}.sub-menu a{display:block;padding:8px}.menu-toggle{display:none}.screen-reader-text{position:absolute!important;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);width:1px;height:1px;overflow:hidden;white-space:nowrap}.skip-link:focus{clip:auto!important;clip-path:none;width:auto;height:auto;left:15px;top:10px;padding:12px 18px;background:#fff;z-index:99999}.site-footer p{max-width:330px}.footer-menu{list-style:none;display:flex;flex-wrap:wrap;gap:20px;padding:0 0 20px;margin:0}.footer-menu a{font-size:14px}.news-index{min-height:50vh}.news-index h1{font-size:clamp(35px,4vw,54px);margin-bottom:35px}.news-grid{row-gap:45px}.news-card h2.card-title{font-size:27px;letter-spacing:-.02em;line-height:1.25;margin:14px 0}.news-card h2 a:hover{color:#94651b}.card-image{display:block;margin-bottom:20px;overflow:hidden}.card-image>img{display:block;aspect-ratio:8/5;object-fit:cover}.no-cover{background:#0d334f;aspect-ratio:8/5;display:grid;place-items:center}.no-cover img{width:140px;height:140px;aspect-ratio:1;object-fit:contain}.post-meta{font-size:14px;color:#61788a;margin-bottom:20px}.news-card .post-meta{margin-bottom:0}.news-card time{font-size:14px}.post-categories{font-size:13px;font-weight:600;letter-spacing:.05em;margin-top:30px;color:#876c3d}.back-link{font-size:14px;display:inline-block;margin-bottom:10px}.reading{min-height:40vh}.reading h1{margin-bottom:20px}.article-excerpt{font-size:20px;color:#526576}.article-cover{margin:30px 0}.article-cover .cover{max-height:none;object-fit:contain;display:block}.article-cover figcaption{font-size:13px;color:#61788a;margin-top:8px}.entry-content{font-size:18px;line-height:1.85;overflow-wrap:anywhere}.entry-content p{color:#334e62}.entry-content h2{font-size:34px;margin-top:40px}.entry-content h3{font-family:Georgia;font-size:26px;margin-top:30px}.entry-content a{color:#185c89;text-decoration:underline;text-underline-offset:3px}.entry-content ul,.entry-content ol{padding-left:1.6em}.entry-content blockquote{border-left:3px solid #c8a162;padding-left:24px;margin:30px 0;font-size:22px;font-family:Georgia}.entry-content table{border-collapse:collapse;width:100%}.entry-content th,.entry-content td{border:1px solid #dce3e8;padding:10px}.entry-content pre{overflow-x:auto;background:#f1f5f7;padding:20px}.entry-content .alignwide{max-width:1100px}.alignleft{float:left;margin:0 25px 20px 0}.alignright{float:right;margin:0 0 20px 25px}.aligncenter{margin-left:auto;margin-right:auto;display:block}.wp-caption,.gallery-caption{max-width:100%;font-size:14px}.entry-content:after{content:'';display:table;clear:both}.post-tags{font-size:14px;border-top:1px solid #dce3e8;padding-top:20px;margin-top:30px}.nav-links{display:flex;justify-content:space-between;gap:25px;margin:30px 0}.nav-links>div{max-width:48%}.pagination{display:flex;flex-wrap:wrap;gap:8px;margin-top:45px}.page-numbers{padding:8px 16px;border:1px solid #cdd9e2}.page-numbers.current{background:#0a304e;color:#fff}.search-form{display:flex;gap:10px;max-width:650px;margin:0 0 40px}.search-form label{flex:1;min-width:0}.search-form input{padding:12px;border:1px solid #b7c9d6;background:#fff;width:100%;color:#16334a;font:inherit}.comments-area{border-top:1px solid #dbe3e9;margin-top:40px;padding-top:30px}.comments-area h2{font-size:28px}.comments-area textarea,.comments-area input:not([type=checkbox]):not([type=submit]){width:100%;border:1px solid #bacbd7;padding:12px}.comments-area .submit{background:#0a304e;color:#fff;border:0;padding:14px 20px;cursor:pointer}.comment-list{list-style:none;padding:0}.comment-list .children{list-style:none;padding-left:25px}.comment-body{padding:20px 0;border-bottom:1px solid #dbe3e9}.comment-meta{background:transparent!important;color:#526576!important;padding:0!important}.bypostauthor{border-left:3px solid #caa66a;padding-left:15px}.comment-author img{float:left;margin-right:10px}.comment-metadata{font-size:13px}.comment-form-cookies-consent{display:flex;gap:10px;align-items:baseline}.entry-content iframe,.entry-content video{max-width:100%}.wp-block-image img{height:auto}.brand small{font-size:10px}.hero-bottom,.footer-bottom{font-size:13px}.brand-note{font-size:12px}
@media(max-width:900px){.main-menu{gap:16px}.header nav{font-size:13px}.brand{font-size:22px}.brand img{width:55px;height:55px}.hero-bottom{font-size:12px}}
@media(max-width:700px){.header{gap:12px}.idh-js .menu-toggle{display:flex;align-items:center;gap:12px;background:#092c48;color:#fff;border:0;padding:10px 13px;font-size:14px;cursor:pointer}.header #site-navigation{width:100%}.idh-js #site-navigation{display:none}.idh-js #site-navigation.is-open{display:block}.main-menu{display:flex;flex-wrap:wrap;align-items:stretch;gap:0;font-size:15px}.main-menu>li{width:50%}.main-menu a{display:block;padding:12px 4px}.main-menu .nav-news{border:0}.main-menu .sub-menu{display:block;position:static;box-shadow:none;padding:0 10px;min-width:0}.main-menu .sub-menu a{font-size:14px}.header nav{margin-top:8px}.news-grid{grid-template-columns:1fr}.search-form{gap:7px}.search-form .button{padding:12px;font-size:14px}.entry-content{font-size:17px}.footer-bottom{flex-direction:column;gap:8px}.brand-note{font-size:11px}.hero-bottom{font-size:12px;flex-wrap:wrap}.hero h1{font-size:clamp(34px,8.5vw,43px)}.brand small{font-size:9px}.brand{font-size:20px}.section-top .text-link{margin-top:15px}.values-list h3{font-size:17px}.reading h1{font-size:36px}}
@media print{.header,.site-footer,.comments-area,.post-navigation,.back-link,.search-form{display:none}.reading{max-width:100%;margin:0}.entry-content{color:#000}}
