.institutional-page { background:#f1e0c6; color:#183348; }
.ip-hero { background:#183348; color:#f1e0c6; padding:80px max(5vw, calc((100vw - 1280px)/2)); }
.ip-hero h1 { font:500 clamp(38px,4.4vw,68px)/1.12 var(--body,Montserrat,sans-serif); letter-spacing:-.045em; max-width:1040px; margin:24px 0; }
.ip-hero > p:not(.ip-eyebrow) { max-width:760px; font-size:17px; line-height:1.8; color:#f1e0c6d9; }
.ip-eyebrow { font-size:10px; font-weight:600; letter-spacing:.18em; line-height:1.8; text-transform:uppercase; margin-bottom:20px; }
.ip-section { padding:70px max(5vw,calc((100vw - 1280px)/2)); }
.ip-section > .wp-block-heading { max-width:1000px; margin:0 0 35px; font:400 clamp(32px,3.5vw,50px)/1.15 var(--display,Georgia,serif); letter-spacing:-.025em; }
.ip-section p { font-size:15px; line-height:1.9; margin-bottom:20px; overflow-wrap:anywhere; }
.ip-section .wp-block-columns { gap:40px; align-items:center; margin-bottom:0; }
.ip-section .wp-block-column { min-width:0; }
.ip-section .wp-block-column > .wp-block-heading { font-size:clamp(26px,2.8vw,40px); line-height:1.2; margin:0 0 24px; letter-spacing:-.035em; }
.ip-section .wp-block-image { margin:0; }
.ip-section .wp-block-image img { display:block; max-width:100%; height:auto; border-radius:5px; }
.ip-section .wp-block-buttons { margin:25px 0 0; gap:12px; }
.ip-section .wp-block-button__link { background:#183348; color:#f1e0c6; border:1px solid #183348; border-radius:30px; padding:14px 24px; font:500 12px/1.5 var(--body,Montserrat,sans-serif); text-decoration:none; }
.ip-section .wp-block-button__link:hover { background:#990210; border-color:#990210; }
.ip-section a:focus-visible { outline:2px solid #990210; outline-offset:5px; }
.ip-section:nth-child(odd):not(.ip-cta):not(.ip-impact) { background:#ead7bb; }
.ip-section .ip-project-grid,.ip-section .ip-document-grid,.ip-section .ip-press-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); align-items:stretch; gap:28px; }
.ip-project-card,.ip-document-card { border:1px solid #18334825; border-radius:7px; padding:28px; background:#fff8ee; height:100%; }
.ip-project-card .wp-block-heading,.ip-document-card .wp-block-heading { font:500 24px/1.3 var(--body,Montserrat,sans-serif); letter-spacing:-.025em; margin:20px 0; }
.ip-project-card p,.ip-document-card p { font-size:14px; }
.ip-project-logo img { object-fit:contain; width:100%; height:95px !important; border-radius:0 !important; }
.ip-report-cover img { width:100%; height:250px !important; object-fit:contain; }
.ip-press-grid .wp-block-image img { height:180px; width:100%; object-fit:cover; }
.ip-press-grid .wp-block-heading { font-size:20px; }
.ip-cta { background:#183348; color:#f1e0c6; }
.ip-cta .wp-block-button__link { background:#f1e0c6; color:#183348; border-color:#f1e0c6; }
.ip-impact { background:#183348; color:#f1e0c6; }
.ip-section .ip-stats { align-items:stretch; gap:25px; }
.ip-stat { padding:10px 0; }
.ip-stat h3 { font:500 clamp(25px,2.7vw,40px)/1.15 var(--body,Montserrat,sans-serif); letter-spacing:-.04em; margin:0 0 15px; }
.ip-stat p { font-size:12px; line-height:1.6; }
.ip-section .ip-logo-grid { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:40px; }
.ip-logo-grid figure { display:grid; place-items:center; min-height:90px; }
.ip-logo-grid img { width:100%; max-height:80px; object-fit:contain; border-radius:0 !important; }
.ip-section .ip-timeline { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:30px; align-items:stretch; }
.ip-history-item { border-top:1px solid #18334855; padding-top:20px; }
.ip-history-item h3 { color:#990210; font-size:32px; margin-bottom:16px; }
.ip-history-item p { font-size:14px; }
.ip-section .ip-quote-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); align-items:stretch; gap:24px; }
.ip-quote { border-left:2px solid #990210; padding:20px 28px; background:#fff8ee; }
.ip-quote p { font-size:14px; }
.ip-quote .ip-quote-name { color:#990210; font-weight:600; margin-bottom:4px; }
.ip-section .ip-photo-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.ip-photo-grid img { width:100%; aspect-ratio:1.3; object-fit:cover; }
.ip-section .wp-block-embed { margin:20px 0 45px; }
.ip-section .wp-block-embed__wrapper { aspect-ratio:16/9; }
.ip-section .wp-block-embed iframe { width:100%; height:100%; border:0; border-radius:5px; }
.ip-section h3 { line-height:1.3; }
@media(max-width:960px) { .ip-section .ip-logo-grid {grid-template-columns:repeat(3,minmax(0,1fr));} .ip-section .ip-project-grid,.ip-section .ip-document-grid,.ip-section .ip-press-grid {grid-template-columns:repeat(2,minmax(0,1fr));} }
@media(max-width:781px) {
.ip-hero { padding:45px 6vw; } .ip-hero h1 {font-size:38px;} .ip-hero > p:not(.ip-eyebrow) {font-size:15px;}
.ip-section {padding:45px 6vw;} .ip-section .wp-block-columns {gap:28px;} .ip-section p {font-size:14px;}
.ip-section .ip-timeline,.ip-section .ip-quote-grid,.ip-section .ip-stats {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));}
.ip-section .ip-photo-grid {grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:520px) {.ip-section .ip-project-grid,.ip-section .ip-document-grid,.ip-section .ip-press-grid,.ip-section .ip-timeline,.ip-section .ip-quote-grid {grid-template-columns:1fr;} .ip-section .ip-logo-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:25px;} .ip-project-card,.ip-document-card {padding:22px;} }
.ip-contact-form {max-width:800px;display:grid;gap:20px;}
.ip-contact-form > label {display:grid;gap:8px;font-size:13px;}
.ip-contact-form :is(input:not([type=checkbox]),textarea) {font:inherit;color:#183348;background:#fff8ee;border:1px solid #18334855;border-radius:5px;padding:13px;width:100%;}
.ip-contact-form .ip-contact-consent {display:flex;align-items:flex-start;font-size:12px;line-height:1.6;}
.ip-contact-form .ip-contact-consent input {margin-top:4px;}
.ip-contact-form a {text-decoration:underline;}
.ip-contact-form button {justify-self:start;background:#183348;color:#f1e0c6;border:0;padding:15px 28px;border-radius:30px;font:500 13px var(--body);cursor:pointer;}
/* Support native Group blocks' legacy inner container in both editor and frontend. */
.ip-hero p:not(.ip-eyebrow) {max-width:760px;font-size:17px;line-height:1.8;color:#f1e0c6d9;}
.ip-section > .wp-block-group__inner-container > .wp-block-heading {max-width:1000px;margin:0 0 35px;font:400 clamp(32px,3.5vw,50px)/1.15 var(--display,Georgia,serif);letter-spacing:-.025em;}
.ip-method-mobile {display:none;}
@media(max-width:781px){.ip-hero p:not(.ip-eyebrow){font-size:15px;}.ip-method-desktop{display:none;}.ip-method-mobile{display:block;}}
/* Quem somos: full-bleed photography and an editorial rhythm of image and type. */
.ip-about-hero {position:relative;isolation:isolate;min-height:clamp(620px,calc(100svh - 82px),900px);padding:0;overflow:hidden;background:#183348;color:#f1e0c6;}
.ip-about-hero > .wp-block-group__inner-container {min-height:inherit;display:flex;align-items:flex-end;}
.ip-about-hero .wp-block-image {position:absolute;inset:0;margin:0;z-index:-2;}
.ip-about-hero .wp-block-image img {width:100%;height:100%;object-fit:cover;object-position:center 58%;display:block;}
.ip-about-hero::after {content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#220604a8 0%,#22060433 65%,transparent),linear-gradient(0deg,#220604ed 0%,#22060455 42%,transparent 80%);pointer-events:none;}
.ip-about-hero-copy {position:relative;width:100%;padding:70px max(6vw,calc((100vw - 1280px)/2));}
.ip-about-hero-copy .ip-eyebrow {color:#f1e0c6;letter-spacing:.24em;font-size:11px;margin:0 0 24px;}
.ip-about-hero-copy h1 {font:400 clamp(70px,8.5vw,132px)/.95 var(--display);letter-spacing:-.045em;margin:0 0 30px;color:#fff8ee;}
.ip-about-hero-copy p:not(.ip-eyebrow) {max-width:680px;font:400 clamp(17px,1.5vw,22px)/1.65 var(--body);color:#fff8ee;margin:0;text-wrap:pretty;}
.ip-about-story {padding-block:105px;background:#f1e0c6 !important;}
.ip-about-story > .wp-block-group__inner-container {max-width:1280px;margin:auto;}
.ip-about-story .ip-about-story-columns {align-items:start;gap:8vw;}
.ip-about-story-columns > .wp-block-column:first-child {flex-basis:44%;}
.ip-about-story-columns > .wp-block-column:last-child {flex-basis:56%;}
.ip-about-story-columns .ip-eyebrow {color:#990210;margin-bottom:24px;}
.ip-about-story .wp-block-heading {font:400 clamp(36px,3.7vw,58px)/1.13 var(--display);letter-spacing:-.025em;margin:0;}
.ip-about-story p {font-size:16px;line-height:1.9;margin-bottom:22px;}
.ip-about-story-columns > .wp-block-column:last-child p:first-child {font-size:20px;line-height:1.65;color:#183348;}
.ip-about-purpose {padding-block:85px;background:#183348 !important;color:#f1e0c6;}
.ip-about-purpose .wp-block-columns {align-items:stretch;gap:7vw;}
.ip-about-purpose-card {height:100%;}
.ip-about-purpose .wp-block-column + .wp-block-column {border-left:1px solid #f1e0c633;padding-left:6vw;}
.ip-about-purpose-card h2 {font:400 clamp(32px,3.3vw,50px)/1.15 var(--display);letter-spacing:-.025em;margin-bottom:26px;}
.ip-about-purpose-card p {font-size:16px;line-height:1.9;color:#f1e0c6df;margin:0;}
.ip-about-solutions {padding-block:95px;background:#f1e0c6 !important;}
.ip-about-solutions > .wp-block-group__inner-container > p {max-width:880px;font-size:16px;}
.ip-about-solutions .ip-about-solutions-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:0 65px;margin-top:50px;}
.ip-about-solutions-grid .ip-project-card {background:transparent;border:0;border-top:1px solid #18334855;border-radius:0;padding:35px 0 40px;}
.ip-about-solutions-grid .ip-project-card .ip-program-logo {
  display: grid;
  place-items: center start;
  width: min(100%, 340px);
  min-height: 76px;
  margin-bottom: 20px;
  mix-blend-mode: multiply;
}
.ip-about-solutions-grid .ip-program-logo img {
  width: auto;
  max-width: 100%;
  max-height: 48px;
  object-fit: contain;
}
.ip-about-solutions-grid .ip-project-card p {font-size:15px;max-width:440px;margin:0;}
.ip-about-solutions-grid .wp-block-buttons {margin-top:20px;}
.ip-about-ods {background:#fff8ee !important;padding-block:75px;}
.ip-about-ods > .wp-block-group__inner-container > .wp-block-heading {max-width:760px;}
.ip-about-ods .ip-about-ods-grid {display:grid;grid-template-columns:repeat(5,minmax(0,160px));gap:clamp(18px,3vw,42px);justify-content:space-between;margin-top:40px;}
.ip-about-ods-grid img {width:100%;aspect-ratio:1;object-fit:contain;border-radius:0 !important;}
.ip-about-portraits {padding-block:85px 110px;background:#f1e0c6 !important;}
.ip-about-portraits .ip-about-portraits-grid {display:grid;grid-template-columns:1.1fr .9fr;gap:6vw;align-items:start;}
.ip-about-portraits .wp-block-column:nth-child(2) {padding-top:85px;}
.ip-about-portraits img {width:100%;aspect-ratio:4/5;max-height:660px;object-fit:cover;object-position:center 30%;border-radius:3px !important;}
.ip-about-portraits .wp-block-column:nth-child(2) img {aspect-ratio:3/4;object-position:center 25%;}
.ip-about-impact {padding-block:80px 90px;}
.ip-about-impact .ip-stats {align-items:stretch;gap:30px;}
.ip-about-impact .ip-stats > .wp-block-column + .wp-block-column {border-left:1px solid #f1e0c633;padding-left:30px;}
.ip-about-impact .ip-stat h3 {font:500 clamp(30px,3.2vw,48px)/1.1 var(--body);letter-spacing:-.05em;margin-bottom:18px;}
.ip-about-impact .ip-stat p {font-size:13px;color:#f1e0c6cc;margin:0;line-height:1.6;}
.ip-about-reports {padding-block:90px;background:#f1e0c6 !important;}
.ip-about-latest-report {margin:35px 0 50px;max-width:100%;}
.ip-about-latest-report .ip-document-card {padding:40px;background:#fff8ee;border:0;border-radius:4px;}
.ip-about-latest-report .ip-document-card > .wp-block-group__inner-container {display:grid;grid-template-columns:minmax(220px,40%) 1fr;grid-template-rows:auto auto;gap:15px 8vw;align-items:center;max-width:970px;margin:auto;}
.ip-about-latest-report .ip-report-cover {grid-row:span 2;}
.ip-about-latest-report .ip-report-cover img {width:100%;height:320px !important;object-fit:contain;}
.ip-about-latest-report h3 {font:400 clamp(60px,7vw,100px)/1 var(--display);letter-spacing:-.05em;margin:0;align-self:end;}
.ip-about-latest-report .wp-block-buttons {margin:0;align-self:start;}
.ip-about-reports summary {font-size:16px;font-weight:500;padding:24px 0;cursor:pointer;color:#183348;border-block:1px solid #18334833;}
.ip-about-reports details[open] > .ip-document-grid {margin-top:30px;}
.ip-about-partners {background:#ead7bb;color:#183348;}
.ip-about-partners .partners {padding:75px 5vw 65px;text-align:center;background:transparent;}
.ip-about-partners .partners > .eyebrow {color:#990210;}
.ip-about-partners .partners > p {font-size:clamp(21px,2.2vw,32px);letter-spacing:-.025em;margin:20px auto 40px;max-width:900px;line-height:1.3;}
@media(max-width:960px){
.ip-about-hero {min-height:700px;}.ip-about-hero-copy {padding:60px 6vw;}
.ip-about-story {padding-block:75px;}.ip-about-story .ip-about-story-columns {gap:5vw;}
.ip-about-impact .ip-stat h3 {font-size:30px;}.ip-about-impact .ip-stats {gap:18px;}.ip-about-impact .ip-stats > .wp-block-column + .wp-block-column {padding-left:18px;}
}
@media(max-width:781px){
.ip-about-hero {min-height:calc(90svh - 82px);min-height:max(580px,calc(90svh - 82px));}
.ip-about-hero .wp-block-image img {object-position:55% center;}
.ip-about-hero-copy {padding:45px 6vw;}.ip-about-hero-copy h1 {font-size:clamp(62px,13vw,92px);margin-bottom:22px;}.ip-about-hero-copy p:not(.ip-eyebrow) {font-size:17px;max-width:520px;}
.ip-about-story {padding-block:60px;}.ip-about-story .ip-about-story-columns {gap:30px;}.ip-about-story .wp-block-heading {font-size:38px;max-width:540px;}.ip-about-story p {font-size:15px;}.ip-about-story-columns > .wp-block-column:last-child p:first-child {font-size:18px;}
.ip-about-purpose {padding-block:60px;}.ip-about-purpose .wp-block-columns {gap:35px;}.ip-about-purpose .wp-block-column + .wp-block-column {padding:35px 0 0;border-left:0;border-top:1px solid #f1e0c633;}.ip-about-purpose-card h2 {font-size:36px;}.ip-about-purpose-card p {font-size:15px;}
.ip-about-solutions {padding-block:60px;}.ip-about-solutions .ip-about-solutions-grid {grid-template-columns:1fr;margin-top:30px;}.ip-about-solutions-grid .ip-project-card {padding:28px 0;}.ip-about-solutions-grid .ip-project-card h3 {font-size:29px;}
.ip-about-ods {padding-block:55px;}.ip-about-ods .ip-about-ods-grid {grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;justify-content:start;max-width:550px;}
.ip-about-portraits {padding-block:50px 60px;}.ip-about-portraits .ip-about-portraits-grid {grid-template-columns:1fr;gap:25px;}.ip-about-portraits img {aspect-ratio:4/5;max-height:550px;}.ip-about-portraits .wp-block-column:nth-child(2) {padding-top:0;width:85%;justify-self:end;}.ip-about-portraits .wp-block-column:nth-child(2) img {max-height:470px;aspect-ratio:4/5;}
.ip-about-impact {padding-block:55px 60px;}.ip-about-impact .ip-stats {gap:32px 20px;}.ip-about-impact .ip-stats > .wp-block-column + .wp-block-column {padding-left:0;border-left:0;}.ip-about-impact .ip-stat h3 {font-size:33px;}.ip-about-impact .ip-stat p {font-size:12px;}
.ip-about-reports {padding-block:55px;}.ip-about-latest-report .ip-document-card {padding:25px;}.ip-about-latest-report .ip-document-card > .wp-block-group__inner-container {grid-template-columns:1fr;gap:18px;}.ip-about-latest-report .ip-report-cover {grid-row:auto;}.ip-about-latest-report .ip-report-cover img {height:240px !important;}.ip-about-latest-report h3 {font-size:68px;}.ip-about-latest-report .wp-block-buttons {margin:0;}
.ip-about-partners .partners {padding:55px 5vw;}
}
/* Programme overview: each front has its own colour, image and editable narrative. */
.ow-intro {padding-block:75px;background:#183348;}
.ow-intro h1 {max-width:1150px;font-size:clamp(37px,4.4vw,67px);}
.ow-intro p:not(.ip-eyebrow) {max-width:850px;}
.ow-navigation {padding-block:25px;background:#fff8ee !important;}
.ow-navigation > .wp-block-group__inner-container {display:flex;gap:12px;flex-wrap:wrap;}
.ow-navigation .wp-block-buttons {margin:0;}
.ow-navigation .wp-block-button__link {background:transparent;color:#183348;border-color:#18334855;padding:11px 20px;}
.ow-program {padding-block:60px 85px;scroll-margin-top:25px;}
.ow-program-school {--ow-accent:#ff841f;--ow-text:#183348;background:#fbe5ce !important;border-top:7px solid var(--ow-accent);color:var(--ow-text);}
.ow-program-hubs {--ow-accent:#4b2b52;--ow-text:#30223b;background:#eee3ef !important;border-top:7px solid var(--ow-accent);color:var(--ow-text);}
.ow-program-manual {--ow-accent:#008b9f;--ow-text:#153e45;background:#e0efed !important;border-top:7px solid var(--ow-accent);color:var(--ow-text);}
.ow-brand-row {border-bottom:1px solid color-mix(in srgb,var(--ow-accent) 35%,transparent);padding-bottom:35px;margin-bottom:45px;}
.ow-brand-row > .wp-block-group__inner-container {display:flex;justify-content:space-between;align-items:center;gap:25px;}
.ow-brand-row .ow-logo {margin:0;max-width:330px;width:60%;}
.ow-brand-row .ow-logo img {display:block;width:100%;height:clamp(46px, 7vw, 84px);object-fit:contain;object-position:left center;border-radius:0;}
.ow-brand-row .ow-hubs-name {font:500 clamp(32px,3.2vw,46px)/1.1 var(--body);letter-spacing:-.04em;color:var(--ow-accent);margin:0;}
.ow-brand-row .ow-program-index {font-size:10px;font-weight:600;letter-spacing:.18em;white-space:nowrap;color:var(--ow-text);margin:0;}
.ow-program .ow-layout {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:6vw;align-items:start;}
.ow-program .ow-photo {position:sticky;top:30px;}
.ow-program .ow-photo img {width:100%;height:auto;aspect-ratio:4/5;object-fit:cover;border-radius:4px;}
.ow-program-school .ow-photo img {object-position:53% center;}
.ow-program-hubs .ow-photo img {object-position:48% center;}
.ow-program-manual .ow-photo img {object-position:center;}
.ow-program .ow-layout :is(h1,h2).wp-block-heading {font:400 clamp(36px,3.3vw,50px)/1.1 var(--display);letter-spacing:-.035em;color:var(--ow-text);margin:0 0 20px;}
.ow-program .ow-layout .ow-tagline {font:500 19px/1.5 var(--body);letter-spacing:-.02em;color:var(--ow-text);margin-bottom:30px;}
.ow-program .ow-layout p:not(.ow-tagline) {font-size:15px;line-height:1.85;color:var(--ow-text);margin-bottom:20px;}
.ow-program .wp-block-button__link {background:var(--ow-accent);border-color:var(--ow-accent);color:#fff8ee;}
.ow-program .wp-block-button__link:hover {background:#183348;border-color:#183348;}
@media(max-width:960px){.ow-program .ow-layout{gap:35px;}.ow-program .ow-layout p:not(.ow-tagline){font-size:14px;}.ow-program .ow-photo img{aspect-ratio:3/4;}}
@media(max-width:781px){
.ow-intro{padding-block:45px;}.ow-intro h1{font-size:38px;}.ow-navigation{padding-block:20px;}.ow-navigation .wp-block-button__link{padding:10px 14px;font-size:11px;}
.ow-program{padding-block:35px 50px;}.ow-brand-row{padding-bottom:25px;margin-bottom:30px;}.ow-brand-row .ow-logo{width:65%;}.ow-brand-row .ow-hubs-name{font-size:30px;}.ow-brand-row .ow-program-index{font-size:9px;}
.ow-program .ow-layout{grid-template-columns:1fr;gap:30px;}.ow-program .ow-photo{position:static;}.ow-program .ow-photo img{aspect-ratio:1.2;max-height:450px;}.ow-layout-hubs > .wp-block-column:first-child{order:2;}.ow-layout-hubs > .wp-block-column:last-child{order:1;}.ow-program .ow-layout :is(h1,h2).wp-block-heading{font-size:36px;}.ow-program .ow-layout .ow-tagline{font-size:18px;margin-bottom:24px;}.ow-program .ow-layout p:not(.ow-tagline){font-size:15px;}
}
/* Mapa do Fazer Manual introduction precedes the interactive directory. */
.ml-hero {background:#183348 !important;color:#f1e0c6;padding-block:65px;}
.ml-hero .ml-hero-grid {display:grid;grid-template-columns:1.1fr 1fr;gap:6vw;align-items:center;}
.ml-hero h1 {font:400 clamp(40px,4.5vw,67px)/1.1 var(--display);letter-spacing:-.035em;margin:20px 0 25px;}
.ml-hero p {color:#f1e0c6df;font-size:16px;}
.ml-hero .ip-eyebrow {font-size:10px;color:#e8b59e;}
.ml-hero .wp-block-button__link {background:#f1e0c6;color:#183348;border-color:#f1e0c6;}
.ml-hero img {width:100%;aspect-ratio:1;object-fit:cover;object-position:center;border-radius:40% 40% 4px 4px !important;}
.ml-intro > .wp-block-group__inner-container {max-width:950px;margin:auto;}
.ml-intro p {font-size:17px;line-height:1.9;}
.ml-categories {background:#e0efed !important;}
.ml-category-links {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-top:35px;}
.ml-category-links a {display:flex;flex-direction:column;gap:16px;padding:24px;border:1px solid #153e4533;border-radius:5px;background:#fff8ee;color:#153e45;font-size:20px;letter-spacing:-.025em;transition:background .15s,color .15s;}
.ml-category-links .ml-category-count {font-size:11px;letter-spacing:0;}
.ml-category-links a:hover {background:#153e45;color:#f1e0c6;}
.ip-section:is(.ml-audiences,.ml-how) {padding-block:clamp(34px,5vw,64px);}
.ip-section:is(.ml-audiences,.ml-how,.ml-join) .wp-block-group__inner-container > h2,
.ip-section:is(.ml-audiences,.ml-how,.ml-join) > h2 {margin-bottom:clamp(18px,3vw,32px);}
.ip-section:is(.ml-audiences,.ml-how) .ip-project-grid {
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:clamp(12px,2vw,24px);
}
.ml-audiences .ip-project-card {
  border-top:3px solid #990210;
  padding:clamp(16px,2.5vw,30px);
}
.ml-audiences .ip-project-card h3,.ml-how .ip-project-card h3 {
  margin:0 0 8px;
  font-size:clamp(17px,2.1vw,24px);
  text-wrap:balance;
}
.ml-audiences .ip-project-card p,.ml-how .ip-project-card p {margin:0;line-height:1.65;}
.ml-why img {width:100%;aspect-ratio:1.15;object-fit:cover;}
.ml-how {background:#e0efed !important;}
.ml-how .ip-project-card {background:transparent;border:0;border-top:1px solid #153e4566;border-radius:0;padding:14px 0 0;}
.ml-how .ip-project-card .ip-eyebrow {color:#183348;margin-bottom:7px;font-size:11px;}
.ip-section.ml-join {background:#fff8ee !important;padding-block:clamp(34px,5vw,72px);}
.ml-join > .wp-block-group__inner-container {max-width:950px;margin:auto;}
.ml-join p {max-width:68ch;margin-bottom:10px;line-height:1.7;}
.ml-join .wp-block-buttons {display:flex;flex-wrap:wrap;gap:10px;margin-top:22px;}
.ml-join .wp-block-button + .wp-block-button .wp-block-button__link {background:transparent;color:#183348;}
.ml-join .wp-block-button + .wp-block-button .wp-block-button__link:hover {background:#183348;color:#f1e0c6;}
@media(max-width:640px) {
  .ip-section:is(.ml-audiences,.ml-how) .ip-project-grid {grid-template-columns:1fr;gap:12px;}
  .ml-audiences .ip-project-card {padding:16px 18px;}
  .ml-how .ip-project-card {padding:12px 0 4px;}
  .ml-join .wp-block-button__link {padding-inline:16px;}
}
@media(max-width:960px){.ml-category-links{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:781px){.ml-hero .ml-hero-grid{grid-template-columns:1fr;gap:35px;}.ml-hero{padding-block:40px;}.ml-hero h1{font-size:42px;}.ml-hero img{max-height:420px;aspect-ratio:1.2;}.ml-category-links a{padding:18px;font-size:18px;}.ml-intro p{font-size:15px;}}
/* Quem somos: títulos em Montserrat, conforme o branding book. */
[class*="ip-about-"] :is(h1,h2,h3,h4){font-family:"Montserrat",Arial,sans-serif;font-style:normal;letter-spacing:-.035em;}
.ip-about-hero-copy h1{font-size:clamp(48px,6.5vw,100px);font-weight:700;line-height:1.06;letter-spacing:-.045em;max-width:1000px;}
.ip-about-story .wp-block-heading{font-size:clamp(30px,3.1vw,48px);font-weight:600;line-height:1.2;}
.ip-about-purpose-card h2{font-size:clamp(28px,2.8vw,42px);font-weight:600;line-height:1.2;}
:is(.ip-about-solutions,.ip-about-ods,.ip-about-impact,.ip-about-reports) h2{font-size:clamp(28px,3vw,46px);font-weight:600;line-height:1.2;}
.asta-editorial [class*="ip-about-"] :is(h1,h2,h3,h4){font-family:"Montserrat",Arial,sans-serif;font-style:normal;}
[class*="ip-about-"]{--display:"Montserrat",Arial,sans-serif;}

.ml-hero .maps-logo img {
  aspect-ratio: auto;
  border-radius: 0 !important;
  max-height: none;
}
.educativo-curso { background: #f1e0c6; }
.educativo-videos .wp-block-embed { width: min(100%, 800px); }
.educativo-videos .wp-block-embed__wrapper::before { display: none; }
.educativo-videos .wp-block-embed iframe { display: block; }

.institutional-page .maps-logo {
  --maps-logo-color: #183348;
  width: min(100%, 260px);
}

/* Editorial photos and textile accents for institutional content. */
.ip-visual {
  --ip-visual-gap: clamp(24px, 5vw, 76px);
}
.ip-visual-split,
.ip-visual-split > .wp-block-group__inner-container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .86fr);
  gap: var(--ip-visual-gap);
  align-items: center;
}
.ip-visual-split:has(> .wp-block-group__inner-container) { display: block; }
.ip-visual-reverse {
  grid-template-columns: minmax(0, .86fr) minmax(0, 1fr);
}
.ip-visual-reverse > .wp-block-group__inner-container {
  grid-template-columns: minmax(0, .86fr) minmax(0, 1fr);
}
.ip-visual-reverse .ip-visual-copy { order: 2; }
.ip-visual-portrait,
.ip-visual-portrait > .wp-block-group__inner-container {
  grid-template-columns: minmax(0, 1fr) minmax(0, .64fr);
}
.ip-visual-copy { min-width: 0; }
.ip-visual-copy > :last-child,
.ip-visual-copy > .wp-block-group__inner-container > :last-child { margin-bottom: 0; }
.ip-visual-copy > h2,
.ip-visual-copy > .wp-block-group__inner-container > h2 {
  margin: 0 0 22px;
  font: 400 clamp(29px, 3.2vw, 49px)/1.15 var(--display, Georgia, serif);
  letter-spacing: -.025em;
}
.ip-visual .ip-visual-photo { margin: 0; min-width: 0; }
.ip-visual .ip-visual-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 42%;
  border-radius: 8px;
}
.ip-visual-portrait .ip-visual-photo img {
  aspect-ratio: 4 / 5;
  max-height: 500px;
  border-radius: 46% 46% 8px 8px / 30% 30% 8px 8px;
  object-position: center 32%;
}
.ip-visual-panorama .ip-visual-photo {
  margin-top: clamp(24px, 4vw, 54px);
}
.ip-visual-panorama .ip-visual-photo img { aspect-ratio: 3 / 1; }

.ip-textile-callout {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.ip-textile-callout::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: auto max(5vw, calc((100vw - 1280px)/2)) 0 auto;
  width: clamp(120px, 20vw, 275px);
  aspect-ratio: 1;
  background: url('images/asta-ramo-floral.webp') right bottom / contain no-repeat;
  opacity: .28;
  pointer-events: none;
}
.ip-textile-dark::after {
  background-image: url('images/asta-bordado-do-brandbook.webp');
  opacity: .4;
}
.ip-textile-callout > :is(h2, p, .wp-block-buttons),
.ip-textile-callout > .wp-block-group__inner-container > :is(h2, p, .wp-block-buttons) {
  max-width: min(100%, 70ch);
}
.ip-compact-section { padding-block: clamp(32px, 5vw, 60px); }
.ip-visual-portfolio .ip-visual-photo img { object-position: center 60%; }

@media (max-width: 781px) {
  .ip-visual-split,
  .ip-visual-split > .wp-block-group__inner-container { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .ip-visual-reverse .ip-visual-copy { order: 0; }
  .ip-visual-portrait .ip-visual-photo { width: min(100%, 390px); }
  .ip-visual-portrait .ip-visual-photo img { max-height: 390px; }
  .ip-visual-panorama .ip-visual-photo img { aspect-ratio: 16 / 9; }
  .ip-textile-callout::after { opacity: .14; }
}

.ml-intro.ip-visual-split {
  --ip-visual-gap: clamp(24px, 4vw, 60px);
  padding-block: clamp(36px, 4vw, 56px);
}
.ml-intro.ip-visual-split > .wp-block-group__inner-container {
  max-width: 1100px;
}
.ml-intro.ip-visual-split .ip-visual-photo {
  width: min(100%, 280px);
}
@media (min-width: 782px) {
  .ml-intro.ip-visual-split,
  .ml-intro.ip-visual-split > .wp-block-group__inner-container {
    grid-template-columns: minmax(0, 26%) minmax(0, 1fr);
  }
}

.ow-office { background: #f1e0c6; }
.ow-office .ow-office-photo { max-width: 760px; margin-top: 24px; }
.ow-office .ow-office-photo img { width: 100%; height: auto; }
.ow-office .ow-logo-office { margin-bottom: 28px; }
.ow-office .ow-logo-office img { width: min(72%, 310px); height: auto; border-radius: 0; }
.ow-program-photos :is(.wp-block-heading, .ow-program-gallery) {
  max-width: 720px;
  margin-inline: auto;
}
.ow-program-gallery:not(:has(> .wp-block-group__inner-container)),
.ow-program-gallery > .wp-block-group__inner-container {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 3vw, 36px);
}
.ow-program-gallery img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; }
@media (max-width: 540px) {
  .ow-program-gallery:not(:has(> .wp-block-group__inner-container)),
  .ow-program-gallery > .wp-block-group__inner-container { grid-template-columns: minmax(0, 1fr); }
}
