/*
Theme Name: Memória do Gelo Editorial
Theme URI: https://memoriadogelo.com.br/
Author: Memória do Gelo
Description: Tema editorial independente para ciência, clima, história e exploração polar, baseado em componentes GPL do Extendable.
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 8.0
Version: 1.9.10
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: memoria-do-gelo-editorial
Tags: one-column, custom-colors, custom-menu, custom-logo, e-commerce, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments

Extendable is a derivative work of the code from the
Twenty Twenty-Two WordPress Theme, which is licensed GPLv2.

Extendable WordPress Theme, Copyright (C) 2021-2025 Extendify Inc.
Extendable therefore is also distributed under the terms of the GNU GPL.

Modificações editoriais, Copyright (C) 2026 Memória do Gelo.
*/

/* Memória do Gelo 1.3: identidade, acessibilidade e responsividade editorial. */
.mdg-site-header .wp-block-site-logo img {
	width: min(210px, 52vw);
	height: auto;
	max-height: 68px;
	object-fit: contain;
}

/* Home editorial 1.8.4 — alinhamento dos títulos do footer. */
.mdg-home-v173{--mdg-home-wide:min(1280px,calc(100% - 40px));width:100%;max-width:100%;overflow:hidden;background:#fff;color:var(--mdg-ink);padding:0 0 4rem}
.mdg-home-v173 *{box-sizing:border-box;min-width:0}
.mdg-home-v173 :where(h1,h2,h3,p){overflow-wrap:normal;word-break:normal}
.mdg-home-v173 :where(a){text-decoration:none}
.mdg-home-hero{display:grid;grid-template-columns:minmax(0,2.05fr) minmax(280px,.82fr);gap:1.5rem;width:var(--mdg-home-wide);height:clamp(540px,48vw,660px);margin:0 auto;align-items:stretch}
.mdg-home-recent+.mdg-home-hero{margin-top:clamp(2.5rem,5vw,4.5rem)}
.mdg-home-hero .mdg-slider{width:100%;height:100%;margin:0;border:0;border-radius:20px;box-shadow:none}
.mdg-home-hero .mdg-slider__track{height:100%;min-height:0}
.mdg-home-hero .mdg-slider__slide>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.mdg-home-hero .mdg-slider__shade{background:linear-gradient(0deg,rgb(3 28 43/.92) 0%,rgb(3 28 43/.64) 28%,rgb(3 28 43/.08) 72%)}
.mdg-home-hero .mdg-slider__copy{left:clamp(1.35rem,3.2vw,3.4rem);right:clamp(1.35rem,3.2vw,3.4rem);bottom:clamp(2rem,5vw,4rem);width:auto}
.mdg-home-hero .mdg-slider__copy h1{max-width:860px;font-size:clamp(2rem,3.5vw,3.7rem)!important;line-height:1.04;margin:.45rem 0 .8rem}
.mdg-home-hero .mdg-slider__copy small{color:rgb(255 255 255/.78);font-size:.78rem}
.mdg-home-hero .mdg-slider__controls{left:auto;right:1.25rem;top:auto;bottom:1.25rem;padding:.25rem;border-radius:999px;background:rgb(3 28 43/.68);backdrop-filter:blur(8px)}
.mdg-home-hero .mdg-slider__dots{position:static;padding:.55rem .75rem;border-radius:999px;background:rgb(255 255 255/.92)}
.mdg-home-hero .mdg-slider__dots button{background:#a8ddea}.mdg-home-hero .mdg-slider__dots button[aria-current=true]{background:var(--mdg-cyan)}
.mdg-slider__counter{display:inline-flex;align-items:center;justify-content:center;min-width:3.2rem;color:#fff;font-size:.72rem;font-weight:850;letter-spacing:.04em;white-space:nowrap}
.mdg-home-hero__side{display:grid;grid-template-rows:repeat(2,minmax(0,1fr));gap:1.5rem;height:100%;min-height:0}
.mdg-home-overlay--side{height:100%;min-height:0}
.mdg-event-briefing{display:grid;grid-template-rows:auto 1fr auto;height:100%;min-height:0;padding:1.25rem;border-radius:18px;background:#082f42;color:#fff}.mdg-event-briefing header{padding-bottom:.8rem;border-bottom:1px solid rgb(105 214 237/.22)}.mdg-event-briefing header span{display:block;color:#69d6ed;font-size:.62rem;font-weight:850;letter-spacing:.09em;text-transform:uppercase}.mdg-event-briefing header strong{display:block;margin-top:.2rem;font-family:var(--wp--preset--font-family--heading,Georgia,serif);font-size:1rem}.mdg-event-briefing__track{position:relative;min-height:0;overflow:hidden}.mdg-event-briefing__slide{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;opacity:0;visibility:hidden;transform:translateY(16px);transition:opacity .4s,transform .5s,visibility .4s}.mdg-event-briefing__slide.is-active{opacity:1;visibility:visible;transform:none}.mdg-event-briefing__slide small{color:#69d6ed;font-size:.59rem;font-weight:800;text-transform:uppercase}.mdg-event-briefing__slide h2{display:-webkit-box;overflow:hidden;margin:.55rem 0;font-family:var(--wp--preset--font-family--heading,Georgia,serif);font-size:clamp(1.05rem,1.35vw,1.35rem);font-weight:760;line-height:1.1;-webkit-box-orient:vertical;-webkit-line-clamp:3}.mdg-event-briefing__slide h2 a{color:#fff}.mdg-event-briefing__slide p{display:-webkit-box;overflow:hidden;margin:0;color:rgb(255 255 255/.68);font-family:var(--wp--preset--font-family--heading,Georgia,serif);font-size:.72rem;line-height:1.35;-webkit-box-orient:vertical;-webkit-line-clamp:2}.mdg-event-briefing footer{display:flex;align-items:center;justify-content:flex-end;gap:.35rem;padding-top:.65rem;border-top:1px solid rgb(105 214 237/.22)}.mdg-event-briefing footer>span{margin-right:auto;color:rgb(255 255 255/.62);font-size:.64rem}.mdg-event-briefing footer button{width:34px;height:34px;border:1px solid rgb(105 214 237/.3);border-radius:50%;background:transparent;color:#fff;cursor:pointer}
.mdg-home-overlay{position:relative;overflow:hidden;border-radius:18px;background:var(--mdg-deep)}
.mdg-home-overlay>a{display:block;position:relative;height:100%;color:#fff}
.mdg-home-overlay img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .45s ease}
.mdg-home-overlay:hover img{transform:scale(1.025)}
.mdg-home-overlay__gradient{position:absolute;inset:0;background:linear-gradient(0deg,rgb(3 28 43/.94),rgb(3 28 43/.48) 46%,transparent 78%)}
.mdg-home-overlay__copy{position:absolute;left:clamp(1rem,2.2vw,1.6rem);right:clamp(1rem,2.2vw,1.6rem);bottom:clamp(1rem,2.2vw,1.5rem);display:grid;gap:.45rem}
.mdg-home-overlay__copy small,.mdg-home-section-head span,.mdg-home-topic header span{color:#69d6ed;font-size:.7rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase}
.mdg-home-overlay__copy strong{font-family:var(--wp--preset--font-family--heading,serif);font-size:clamp(1.2rem,1.7vw,1.65rem);line-height:1.12}
.mdg-home-overlay__copy em{color:rgb(255 255 255/.7);font-size:.64rem;font-style:normal;font-weight:650}
.mdg-recency-badge{position:absolute;z-index:5;top:1rem;left:1rem;padding:.36rem .62rem;border-radius:999px;background:#f0b429;color:#082d3d;font-size:.63rem;font-weight:900;letter-spacing:.08em;text-transform:uppercase;box-shadow:0 5px 18px rgb(0 0 0/.18)}
.mdg-recency-badge.is-now{background:#ff5e67;color:#fff}.mdg-recency-badge.is-today{background:#12c7e6;color:#052c3b}.mdg-recency-badge.is-yesterday{background:#f3c451;color:#082d3d}
.mdg-headline-ticker{display:flex;align-items:center;gap:1.3rem;width:100%;max-width:100%;margin:1.5rem 0 0;padding:.85rem max(20px,calc((100% - 1280px)/2));overflow:hidden;background:#eef8fa;border-block:1px solid #d5e8ed}
.mdg-headline-ticker--top{margin:0;padding-block:.65rem}.mdg-headline-ticker--top .mdg-headline-ticker__track a{font-family:var(--wp--preset--font-family--heading,Georgia,serif);font-size:.74rem;font-weight:650}.mdg-headline-ticker--top>strong{font-size:.62rem}
.mdg-headline-ticker>strong{z-index:2;flex:0 0 auto;color:var(--mdg-cyan);font-size:.68rem;letter-spacing:.1em;text-transform:uppercase;background:#eef8fa}
.mdg-headline-ticker__viewport{min-width:0;overflow:hidden;mask-image:linear-gradient(90deg,transparent,#000 3%,#000 97%,transparent)}
.mdg-headline-ticker__track{display:flex;width:max-content;align-items:center;gap:1.15rem;animation:mdg-headline-scroll 52s linear infinite}
.mdg-headline-ticker__track a{color:var(--mdg-deep);font-size:.82rem;font-weight:750;white-space:nowrap}
.mdg-headline-ticker:hover .mdg-headline-ticker__track{animation-play-state:paused}
@keyframes mdg-headline-scroll{to{transform:translateX(-50%)}}
.mdg-home-recent{width:100%;max-width:100%;margin:0;overflow:hidden;padding:clamp(2.5rem,5vw,4.8rem) max(20px,calc((100% - 1280px)/2));background:var(--mdg-deep);color:#fff}
.mdg-home-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:1.5rem;padding-bottom:1.1rem;border-bottom:1px solid rgb(123 181 203/.28)}
.mdg-home-section-head h2{margin:.25rem 0 0;font-size:clamp(2rem,3.3vw,3.5rem);line-height:1}
.mdg-home-section-head>a{color:inherit;font-size:.78rem;font-weight:800;text-transform:uppercase}
.mdg-home-recent__tabs{display:flex;gap:.55rem;margin:1rem 0 1.5rem;overflow-x:auto;padding-bottom:.35rem;scrollbar-width:thin}
.mdg-home-recent__tabs button{flex:0 0 auto;padding:.55rem .9rem;border:1px solid rgb(105 214 237/.22);border-radius:999px;background:#143e51;color:#fff;font:inherit;font-size:.76rem;font-weight:750;cursor:pointer}
.mdg-home-recent__tabs button[aria-selected=true]{background:var(--mdg-cyan);color:var(--mdg-deep)}
.mdg-home-recent__panel{position:relative;display:grid;grid-template-columns:minmax(0,1.65fr) minmax(290px,.75fr);gap:2rem;min-height:500px}
.mdg-home-recent__panel[hidden]{display:none}
.mdg-home-recent__stage{position:relative;min-height:500px;overflow:hidden;border-radius:18px;background:#0d3548}
.mdg-home-recent__slide{position:absolute;inset:0;transform:translateX(104%);opacity:.5;visibility:hidden;transition:transform .6s cubic-bezier(.22,.75,.2,1),opacity .45s,visibility .45s}
.mdg-home-recent__slide.is-active{z-index:2;transform:translateX(0);opacity:1;visibility:visible}
.mdg-home-recent__slide.is-before{transform:translateX(-104%);visibility:visible}.mdg-home-recent__slide.is-after{transform:translateX(104%)}
.mdg-home-recent__slide>a{display:block;position:relative;height:100%;color:#fff}
.mdg-home-recent__slide img{width:100%;height:100%;object-fit:cover}
.mdg-home-recent__shade{position:absolute;inset:0;background:linear-gradient(0deg,rgb(3 28 43/.92),transparent 68%)}
.mdg-home-recent__slide-copy{position:absolute;left:clamp(1.15rem,3vw,2rem);right:clamp(1.15rem,3vw,2rem);bottom:clamp(1.15rem,3vw,2rem);display:grid;gap:.45rem}
.mdg-home-recent__slide-copy small{color:#69d6ed;font-size:.7rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.mdg-home-recent__slide-copy strong{font-family:var(--wp--preset--font-family--heading,serif);font-size:clamp(1.55rem,2.5vw,2.65rem);font-weight:850;line-height:1.08}.mdg-home-recent__slide-copy em{color:rgb(255 255 255/.72);font-size:.75rem;font-style:normal}
.mdg-home-recent__titles{position:relative;display:grid;grid-template-rows:repeat(6,minmax(0,1fr));height:500px;overflow:hidden;border-left:1px solid rgb(123 181 203/.28);padding-left:1.5rem}
.mdg-home-recent__titles button{display:grid;grid-template-columns:2.1rem 1fr;align-items:center;gap:.65rem;width:100%;min-height:0;padding:.65rem .85rem;border:0;border-bottom:1px solid rgb(123 181 203/.22);background:transparent;color:#fff;text-align:left;cursor:pointer;transition:background .35s,transform .45s ease}
.mdg-home-recent__titles button.is-active{background:#17485d;border-radius:12px}.mdg-home-recent__titles>button>small{color:#69d6ed;font-weight:850}.mdg-home-recent__titles button>span{display:grid;gap:.3rem;min-width:0}.mdg-home-recent__titles button strong{display:-webkit-box;overflow:hidden;font-family:var(--wp--preset--font-family--heading,serif);font-size:.96rem;font-weight:850;line-height:1.15;-webkit-box-orient:vertical;-webkit-line-clamp:2}.mdg-home-recent__titles button em{color:rgb(255 255 255/.58);font-size:.66rem;font-style:normal;font-weight:650}
.mdg-home-recent__controls{position:absolute;left:auto;right:calc(31.25% + 2rem);bottom:1rem;z-index:4;display:flex;gap:.4rem;padding:.25rem;border:1px solid rgb(105 214 237/.32);border-radius:999px;background:#153e51}
.mdg-home-recent__controls button{min-width:42px;height:40px;padding:0 .75rem;border:0;background:transparent;color:#fff;font:inherit;font-weight:800;cursor:pointer}.mdg-home-recent__controls span{font-size:.68rem;text-transform:uppercase}
.mdg-home-featured-rail.mdg-rail{width:var(--mdg-home-wide);margin:clamp(3rem,6vw,5rem) auto;padding:0;border:0;border-radius:0;box-shadow:none}.mdg-home-featured-rail>header{padding-bottom:1.1rem;border-bottom:1px solid #dce7eb}.mdg-home-featured-rail>header span{color:var(--mdg-cyan)}.mdg-home-featured-rail>header h2{font-size:clamp(2rem,3.3vw,3.5rem);line-height:1}.mdg-home-featured-rail .mdg-rail__viewport{gap:1.25rem;padding-top:.25rem}.mdg-home-featured-rail .mdg-rail__card{flex-basis:clamp(290px,30vw,390px);border-radius:18px}.mdg-home-featured-rail .mdg-rail__card>a{aspect-ratio:4/3}.mdg-home-featured-rail .mdg-rail__card small{display:block;margin-bottom:.45rem;color:var(--mdg-cyan);font-size:.68rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.mdg-home-featured-rail .mdg-rail__controls{justify-content:flex-end}.mdg-home-featured-rail .mdg-rail__controls button{width:42px;height:42px}
.mdg-home-category{width:var(--mdg-home-wide);margin:0 auto;padding:clamp(3rem,6vw,5.5rem) 0}
.mdg-home-category .mdg-home-section-head{border-color:#dce7eb}.mdg-home-category__grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(270px,.8fr) minmax(290px,.78fr);gap:1.35rem;align-items:stretch;margin-top:1.5rem}.mdg-home-category__lead-image{display:block;height:440px;overflow:hidden;border-radius:18px}.mdg-home-category__lead-image img{width:100%;height:100%;object-fit:cover}.mdg-home-category__lead-copy{display:flex;flex-direction:column;justify-content:center;padding:.5rem}.mdg-home-category__lead-copy small{color:var(--mdg-cyan);font-size:.7rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase}.mdg-home-category__lead-copy h3{margin:.65rem 0;font-size:clamp(1.65rem,2.35vw,2.55rem);line-height:1.08}.mdg-home-category__lead-copy h3 a{color:var(--mdg-deep)}.mdg-home-category__lead-copy p{color:#526a75;line-height:1.55}.mdg-home-category__lead-copy>span{color:#6d818a;font-size:.75rem}.mdg-home-category__rail{display:grid;grid-auto-rows:minmax(0,1fr);gap:1rem;height:440px}.mdg-home-overlay--compact .mdg-home-overlay__copy strong{font-size:clamp(1rem,1.2vw,1.22rem)}
.mdg-home-topics{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem;width:var(--mdg-home-wide);margin:0 auto;padding:0 0 clamp(3rem,6vw,5.5rem)}
.mdg-home-topic{padding:clamp(1.2rem,2.5vw,2rem);border-radius:22px;background:#e7f5f8}.mdg-home-topic--world{background:#f0f3f4}.mdg-home-topic header h2{margin:.25rem 0 1rem;font-size:clamp(2rem,3vw,3rem)}.mdg-home-topic-card__image{display:block;aspect-ratio:16/9;overflow:hidden;border-radius:16px}.mdg-home-topic-card__image img{width:100%;height:100%;object-fit:cover;transition:transform .35s ease}.mdg-home-topic-card:hover img{transform:scale(1.025)}.mdg-home-topic-card>small{display:block;margin-top:1rem;color:var(--mdg-cyan);font-size:.68rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.mdg-home-topic-card h3{margin:.45rem 0 0;font-size:clamp(1.4rem,2vw,2rem);line-height:1.12}.mdg-home-topic-card h3 a{color:var(--mdg-deep)}.mdg-home-topic__more{display:grid;grid-template-columns:1fr auto;gap:.3rem 1rem;align-items:center;margin-top:1.25rem;padding-top:1rem;border-top:1px solid rgb(8 45 61/.14);color:var(--mdg-deep)}.mdg-home-topic__more small{grid-column:1;color:var(--mdg-cyan);font-size:.64rem;font-weight:850;letter-spacing:.08em;text-transform:uppercase}.mdg-home-topic__more strong{grid-column:1;font-size:.94rem;line-height:1.25}.mdg-home-topic__more span{grid-column:2;grid-row:1/3;font-size:1.4rem}
.mdg-home-authors{width:var(--mdg-home-wide);margin:0 auto;padding:0 0 clamp(3rem,5vw,4.5rem)}.mdg-home-authors .mdg-home-section-head{border-color:#dce7eb}.mdg-home-authors__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin-top:1.35rem}.mdg-home-author{border:1px solid #dce7eb;border-radius:16px;background:#f8fbfc}.mdg-home-author>a{display:grid;grid-template-columns:78px 1fr;gap:1rem;align-items:center;height:100%;padding:1rem;color:var(--mdg-deep)}.mdg-home-author img{width:78px;height:78px;border-radius:50%;object-fit:cover;object-position:center top}.mdg-home-author div{min-width:0;padding:0}.mdg-home-author small{display:block;color:var(--mdg-cyan);font-size:.62rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase}.mdg-home-author h3{margin:0 0 .22rem;font-size:1.1rem}.mdg-home-author p{margin:.45rem 0 0;color:#526a75;font-family:var(--wp--preset--font-family--heading,serif);font-size:.82rem;font-style:italic;line-height:1.4}
.mdg-home-social{display:grid;grid-template-columns:1.4fr 1fr;gap:2rem;align-items:center;width:var(--mdg-home-wide);margin:0 auto clamp(2rem,4vw,3.5rem);padding:clamp(1.5rem,4vw,3.25rem);border:1px solid #d6e9ee;border-radius:24px;background:#eef8fa}.mdg-home-social span{color:var(--mdg-cyan);font-size:.7rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase}.mdg-home-social h2{margin:.4rem 0;font-size:clamp(1.8rem,3vw,3rem);line-height:1.08}.mdg-home-social p{max-width:65ch;margin:.65rem 0 0;color:#526a75}.mdg-home-social nav{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:.7rem}.mdg-home-social nav a{padding:.7rem 1rem;border:1px solid #badce4;border-radius:999px;background:#fff;color:var(--mdg-deep);font-size:.8rem;font-weight:800}
.mdg-home-cta{display:flex;align-items:center;justify-content:space-between;gap:2rem;width:var(--mdg-home-wide);margin:0 auto;padding:clamp(1.5rem,3vw,2.5rem);border-radius:24px;background:var(--mdg-cyan);color:var(--mdg-deep)}.mdg-home-cta h2{max-width:820px;margin:0;font-size:clamp(1.6rem,3vw,2.7rem)}.mdg-home-cta a{flex:0 0 auto;padding:.8rem 1.1rem;border-radius:999px;background:var(--mdg-deep);color:#fff;font-size:.78rem;font-weight:800;text-transform:uppercase}
.mdg-home-v173 :where(a,button):focus-visible{outline:3px solid #69d6ed;outline-offset:3px}
.mdg-home-v173 :where(.mdg-home-category,.mdg-home-topics,.mdg-home-authors,.mdg-home-social,.mdg-home-cta,.mdg-home-featured-rail,.mdg-home-hero){max-width:var(--mdg-home-wide)}
@media(max-width:960px){.mdg-home-hero{grid-template-columns:1fr;height:auto}.mdg-home-hero .mdg-slider{height:clamp(470px,78vw,610px)}.mdg-home-hero__side{grid-template-columns:1fr 1fr;grid-template-rows:none;height:auto}.mdg-home-overlay--side{height:auto;min-height:270px}.mdg-home-recent__panel{grid-template-columns:1fr;min-height:0}.mdg-home-recent__stage{min-height:480px}.mdg-home-recent__titles{display:flex;height:auto;overflow-x:auto;border-left:0;padding:0}.mdg-home-recent__titles button{flex:0 0 min(78vw,340px)}.mdg-home-recent__controls{left:auto;right:1rem;bottom:calc(100% - 470px);transform:none}.mdg-home-category__grid{grid-template-columns:1fr 1fr}.mdg-home-category__lead-image{height:430px}.mdg-home-category__rail{grid-column:1/-1;grid-template-columns:repeat(3,1fr);grid-template-rows:none;height:auto}.mdg-home-overlay--compact{min-height:230px}.mdg-home-authors__grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mdg-home-social{grid-template-columns:1fr}.mdg-home-social nav{justify-content:flex-start}}
@media(max-width:680px){.mdg-home-v173{--mdg-home-wide:calc(100% - 24px)}.mdg-home-hero{gap:.75rem}.mdg-home-hero .mdg-slider{height:480px;border-radius:16px}.mdg-home-hero .mdg-slider__copy{bottom:4.5rem}.mdg-home-hero .mdg-slider__copy h1{font-size:clamp(1.65rem,8vw,2.15rem)!important;-webkit-line-clamp:4;display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden}.mdg-home-hero__side{gap:.75rem}.mdg-home-overlay--side{min-height:210px}.mdg-home-overlay--side .mdg-home-overlay__copy strong{font-size:1rem}.mdg-headline-ticker{margin-top:.75rem}.mdg-headline-ticker>strong{display:none}.mdg-home-recent{padding-inline:12px}.mdg-home-recent__stage{min-height:430px}.mdg-home-recent__controls{bottom:calc(100% - 420px)}.mdg-home-featured-rail .mdg-rail__card{flex-basis:min(84vw,330px)}.mdg-home-category__grid{grid-template-columns:1fr}.mdg-home-category__lead-image{height:390px}.mdg-home-category__rail{display:grid;grid-template-columns:1fr}.mdg-home-overlay--compact{min-height:250px}.mdg-home-topics{grid-template-columns:1fr}.mdg-home-authors__grid{grid-template-columns:1fr}.mdg-home-author>a{grid-template-columns:68px 1fr;padding:.85rem}.mdg-home-author img{width:68px;height:68px}.mdg-home-social{padding:1.35rem}.mdg-home-cta{align-items:flex-start;flex-direction:column}.mdg-home-cta a{align-self:flex-start}}
@media(max-width:430px){.mdg-home-hero__side{grid-template-columns:1fr}.mdg-home-overlay--side{min-height:230px}.mdg-home-recent__tabs{margin-inline:-12px;padding-inline:12px}.mdg-home-recent__slide-copy strong{font-size:1.5rem}.mdg-home-recent__titles button{flex-basis:85vw}.mdg-home-section-head{align-items:flex-start;flex-direction:column}.mdg-home-section-head>a{margin-top:-.75rem}.mdg-home-overlay--feature{min-height:420px}}
@media(prefers-reduced-motion:reduce){.mdg-headline-ticker__track{animation:none}.mdg-home-recent__slide,.mdg-home-overlay img{transition:none}}

.mdg-editorial-disclosure {
	margin-top: .85rem;
	padding-top: .85rem;
	border-top: 1px solid rgb(15 52 78 / .14);
	font-size: .88rem;
	color: #435b6b;
}

.mdg-cookie-consent {
	position: fixed;
	z-index: 99999;
	left: max(1rem, env(safe-area-inset-left));
	right: max(1rem, env(safe-area-inset-right));
	bottom: max(1rem, env(safe-area-inset-bottom));
	max-width: 760px;
	margin-inline: auto;
	padding: 1rem 1.15rem;
	background: #06263b;
	color: #fff;
	border: 1px solid rgb(255 255 255 / .22);
	border-radius: 16px;
	box-shadow: 0 18px 55px rgb(0 20 36 / .32);
}

.mdg-cookie-consent[hidden] { display: none; }
.mdg-cookie-consent p { margin: 0 0 .8rem; line-height: 1.55; }
.mdg-cookie-consent a { color: #8fe9ff; }
.mdg-cookie-actions { display: flex; flex-wrap: wrap; gap: .65rem; }
.mdg-cookie-actions button {
	min-height: 44px;
	padding: .65rem 1rem;
	border: 1px solid #8fe9ff;
	border-radius: 999px;
	background: #8fe9ff;
	color: #06263b;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}
.mdg-cookie-actions button[data-mdg-consent="essential"] { background: transparent; color: #fff; }

.mdg-single-content :where(img, video, iframe) { max-width: 100%; height: auto; }
.mdg-single-content figure { max-width: 100%; }
.mdg-single-content iframe { width: 100%; aspect-ratio: 16 / 9; }

@media (max-width: 782px) {
	.mdg-site-header { padding-inline: 1rem !important; }
	.mdg-site-header > .wp-block-group { gap: .65rem; }
	.mdg-site-header .wp-block-navigation__responsive-container.is-menu-open { padding: 1.25rem; }
	.mdg-hero .wp-block-columns { gap: 1.25rem; }
	.mdg-hero .wp-block-column { flex-basis: 100% !important; }
	.mdg-single-shell { padding-inline: 1rem; }
	.mdg-single-shell h1 { font-size: clamp(2rem, 9vw, 3.25rem) !important; line-height: 1.08; }
	.mdg-byline { align-items: flex-start; flex-wrap: wrap; }
	.mdg-author-card { grid-template-columns: 72px 1fr; gap: 1rem; }
	.mdg-author-card > img { width: 72px; height: 72px; }
	.mdg-share { gap: .45rem; overflow-x: auto; padding-bottom: .35rem; }
	.mdg-share a { white-space: nowrap; min-height: 42px; display: inline-flex; align-items: center; }
	.mdg-site-footer .wp-block-columns { gap: 1.75rem; }
}


/* Fallback for deprecate variables.
---------------------------------------------------------------------------- */
:root {
	--wp--custom--spacing--small: var(--wp--preset--spacing--30, clamp(1.5rem, 5vw, 2rem));
	--wp--custom--spacing--medium: var(--wp--preset--spacing--50, clamp(2.5rem, 8vw, 4rem));
	--wp--custom--spacing--large: var(--wp--preset--spacing--60, clamp(2.5rem, 8vw, 6rem));
	--wp--custom--spacing--outer: max(1.25rem, 4vw);
	--wp--preset--spacing--80: min(8rem, 12vw);
}

/*
 * A color-scheme meta otherwise lets OS dark mode restyle inputs and scrollbars.
 */

:root {
	color-scheme: only light;
}

/*
 * Smooth scrolling
 */

html {
	scroll-behavior: smooth;
}

/*
 * Font smoothing.
 * This is a niche setting that will not be available via Global Styles.
 * https://github.com/WordPress/gutenberg/issues/35934
 */

body {
	-moz-osx-font-smoothing: var(--wp--custom--typography--font-smoothing--moz, auto);
	-webkit-font-smoothing: var(--wp--custom--typography--font-smoothing--webkit, auto);
}

/*
 * Text and navigation link styles.
 * Necessary until the following issue is resolved in Gutenberg:
 * https://github.com/WordPress/gutenberg/issues/27075
 */

a {
	text-decoration-style: var(--wp--custom--elements--link--static--text-decoration-style, solid);
	text-decoration-thickness: var(--wp--custom--elements--link--text-decoration-thickness, 1px);
	text-underline-offset: var(--wp--custom--elements--link--text-underline-offset, 0.25ch);
}

a:hover,
a:focus {
	text-decoration-style: var(--wp--custom--elements--link--interactive--text-decoration-style, dashed);
}

:where(.wp-site-blocks *:focus) {
	outline-width: 1px;
	outline-style: solid;
}

a:active {
	text-decoration: none;
}

/*
 * Navigation Block
 */

@media (min-width: 600px) {

	.site-logo-title {
		display: none;
	}

	.wp-block-navigation__responsive-container.is-menu-open:not(.disable-default-overlay) .wp-block-navigation__responsive-container-content .wp-block-navigation-item,
	.wp-block-navigation__responsive-container.is-menu-open:not(.disable-default-overlay) .wp-block-navigation__responsive-container-content .wp-block-navigation__container,
	.wp-block-navigation__responsive-container.is-menu-open:not(.disable-default-overlay) .wp-block-navigation__responsive-container-content .wp-block-page-list {
		align-items: flex-start !important;
	}
}

@media (max-width: 600px) {

	.has-modal-open .wp-block-navigation__responsive-container.is-menu-open:not(.disable-default-overlay) .wp-block-navigation__responsive-container-content .wp-block-navigation-item,
	.has-modal-open .wp-block-navigation__responsive-container.is-menu-open:not(.disable-default-overlay) .wp-block-navigation__responsive-container-content .wp-block-navigation__container,
	.has-modal-open .wp-block-navigation__responsive-container.is-menu-open:not(.disable-default-overlay) .wp-block-navigation__responsive-container-content .wp-block-page-list {
		align-items: flex-start !important;
	}
}

.wp-block-navigation__responsive-container.has-modal-open.is-menu-open .site-logo-title {
	display: flex;
	flex-wrap: nowrap;
	max-width: 100%;
	align-items: center;
	gap: 0.5rem;
	padding-bottom: var(--wp--preset--spacing--30);
	position: relative;
	padding-inline-end: 52px;
}

.wp-block-navigation__responsive-container.has-modal-open.is-menu-open .site-logo-title::after {
	content: "";
	position: absolute;
	left: calc(-1 * var(--wp--preset--spacing--30));
	right: calc(-1 * var(--wp--preset--spacing--30));
	bottom: 0;
	height: 1px;
	background: #8080801d;
}

.wp-block-navigation__responsive-container.has-modal-open.is-menu-open .site-logo-title img {
	max-height: 42px !important;
	height: auto !important;
	width: auto !important;

}

.wp-block-navigation__responsive-container.has-modal-open.is-menu-open .site-logo-title .site-title {
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--wp--preset--color--foreground);
	text-transform: uppercase;
	letter-spacing: -0.02em;
	box-sizing: border-box;
	line-height: 1.15;
}

.wp-block-navigation__responsive-container.is-menu-open:not(.disable-default-overlay) .wp-block-navigation__responsive-container-content {
	padding-top: var(--wp--preset--spacing--30);
}

.has-modal-open .wp-block-navigation__responsive-container-close {
	background-color: var(--wp--preset--color--tertiary);
	padding: 0.625rem;
	border-radius: 100%;
	top: -2.5px !important;
}

.has-modal-open .wp-block-navigation__responsive-container.is-menu-open:not(.disable-default-overlay) .wp-block-navigation__responsive-container-content .wp-block-navigation__container {
	gap: 0 !important;
	width: 100%;
}

.has-modal-open .wp-block-navigation__responsive-container.is-menu-open:not(.disable-default-overlay) .wp-block-navrigation__containe,
.has-modal-open .wp-block-navigation__responsive-container.is-menu-open:not(.disable-default-overlay) .wp-block-navigation__container ul {
	row-gap: 0.75rem !important;
	width: -webkit-fill-available;
	max-width: 100%;
}

.has-modal-open .wp-block-navigation__responsive-container.is-menu-open:not(.disable-default-overlay) .wp-block-navigation__responsive-container-content > ul.wp-block-navigation__container > li.wp-block-navigation-item:not(.wp-block-navigation__submenu-container) {
	border-bottom: 1px solid #8080801d;
	padding-top: 0.75rem;
	padding-bottom: 0.75rem;
	width: -webkit-fill-available;
	max-width: 100%;
}

.has-modal-open .wp-block-navigation__responsive-container.is-menu-open:not(.disable-default-overlay) .wp-block-navigation__responsive-container-content .has-child .wp-block-navigation__submenu-container {
	padding: 0.75rem 0.75rem 0 0.75rem !important;
	gap: 0.75rem !important;
}

.has-modal-open .wp-block-navigation__responsive-container:not(.disable-default-overlay) .wp-block-navigation__responsive-dialog ul.wp-block-navigation__container > li:not(.wp-block-navigation__submenu-container) > a.wp-block-navigation-item__content {
	font-size: 1.25rem;
	font-weight: 600;
}

.has-modal-open .wp-block-navigation__responsive-container:not(.disable-default-overlay) .wp-block-navigation__submenu-container {
	padding-top: 0.75rem !important;
}

.has-modal-open .wp-block-navigation__responsive-container:not(.disable-default-overlay) .wp-block-navigation__responsive-dialog ul.wp-block-navigation__container .wp-block-navigation-submenu .wp-block-navigation-item a {
	font-size: 1rem !important;
}

/*
 * When the responsive navigation modal opens (WordPress sets .has-modal-open
 * on <html>), suppress every property on the modal's ancestor chain that
 * creates a containing block for position:fixed descendants — otherwise
 * the modal is trapped inside the header instead of overlaying the viewport.
 *
 * Two rules here:
 *
 * 1) Broad ancestor coverage — the header itself plus any element inside
 *    it that contains the responsive dialog. Handles transform/filter on
 *    any header variant (overlay, glass, floating-pill, future ones).
 *
 * 2) Animation override — mirrors the selectors used by the floating-pill
 *    scroll animations so we can match their specificity. Those animations
 *    use !important + a deep selector to apply translate/backdrop-filter
 *    via keyframes; without a same-or-higher-specificity override our broad
 *    rule loses the cascade and the animation keeps trapping the modal.
 */
html.has-modal-open header.wp-block-template-part,
html.has-modal-open header.wp-block-template-part :has(.wp-block-navigation__responsive-dialog) {
	backdrop-filter: none !important;
	transform: none !important;
	translate: none !important;
	filter: none !important;
	animation: none !important;
}

html.has-modal-open body:has(.entry-content > .ext-hero-section.ext-hero-section--full-screen:first-child) header.wp-block-template-part:has(.ext-header-sticky.ext-header-sticky--floating-pill.ext-header-glass) .ext-header-sticky.ext-header-sticky--floating-pill.ext-header-glass,
html.has-modal-open body:not(:has(.entry-content > .ext-hero-section.ext-hero-section--full-screen:first-child)) header.wp-block-template-part:has(.ext-header-sticky.ext-header-sticky--floating-pill.ext-header-glass) .ext-header-sticky.ext-header-sticky--floating-pill.ext-header-glass {
	animation: none !important;
	backdrop-filter: none !important;
	translate: none !important;
}

/*
 * Mobile nav-extras: cloned by navigation-customization.js into the
 * responsive menu dialog so phone / CTA / social aren't visible in the
 * cramped top bar on small screens. We target the specific modifier
 * classes (.ext-nav-extras-phone, -btn, -social) rather than the
 * .ext-nav-extras wrapper, because some header parts use the wrapper
 * class around the nav block itself.
 *
 * On desktop the dialog is rendered inline (it's only "modal-shaped"
 * when the hamburger opens it), so the cloned extras must stay hidden
 * until WordPress sets .has-modal-open on <html>.
 */
@media (max-width: 781px) {

	body:not(:has(.wp-block-navigation__responsive-container.disable-default-overlay)) header.wp-block-template-part :is(.ext-nav-extras-phone, .ext-nav-extras-btn, .ext-nav-extras-social):not(.ext-nav-extras-mobile *) {
		display: none;
	}

	/* Collapse the .ext-nav-extras wrapper too when its only children are the
	   extras (no nav inside) — otherwise the empty wrapper holds a flex slot
	   and the hamburger stays stuck in the middle instead of moving to the
	   end of the row. */
	header.wp-block-template-part .ext-nav-extras:not(:has(nav, .wp-block-navigation)) {
		display: none;
	}
}

.ext-nav-extras-mobile {
	display: none;
}

.has-modal-open .wp-block-navigation__responsive-dialog .ext-nav-extras-mobile {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: var(--wp--preset--spacing--20);
	margin-top: var(--wp--preset--spacing--30);
}

.has-modal-open .wp-block-navigation__responsive-dialog .ext-nav-extras-mobile .wp-block-button {
	width: 100%;
}

.has-modal-open .wp-block-navigation__responsive-dialog .ext-nav-extras-mobile .wp-block-button__link {
	display: block;
	text-align: center;
	width: 100%;
}

/* Match the nav-link typography (see rule above) on the cloned phone CTA. */
.has-modal-open .wp-block-navigation__responsive-dialog .ext-nav-extras-mobile .ext-nav-extras-phone,
.has-modal-open .wp-block-navigation__responsive-dialog .ext-nav-extras-mobile .ext-nav-extras-phone a,
.has-modal-open .wp-block-navigation__responsive-dialog .ext-nav-extras-mobile .ext-nav-extras-phone p {
	font-size: 1.25rem !important;
	font-weight: 600 !important;
}

/* Bigger, more tappable social icons in the menu. */
.has-modal-open .wp-block-navigation__responsive-dialog .ext-nav-extras-mobile .wp-block-social-link {
	width: 32px;
	height: 32px;
}

.has-modal-open .wp-block-navigation__responsive-dialog .ext-nav-extras-mobile .wp-social-link svg {
	width: 28px;
	height: 28px;
}

.wp-block-navigation .wp-block-navigation-item a:hover,
.wp-block-navigation .wp-block-navigation-item a:focus {
	text-decoration: underline;
	text-decoration-style: solid;
}

/* Don't display the homepage in the Page List block, when located inside a navigation element. */
nav .wp-block-pages-list__item.wp-block-navigation-item.menu-item-home {
	display: none;
}

/*
 * Responsive menu container padding.
 * This ensures the responsive container inherits the same
 * spacing defined above. This behavior may be built into
 * the Block Editor in the future.
 */

.wp-block-navigation__responsive-container.is-menu-open:not(.disable-default-overlay) {
	padding-top: var(--wp--preset--spacing--30);
	padding-bottom: var(--wp--preset--spacing--30);
	padding-right: var(--wp--preset--spacing--30);
	padding-left: var(--wp--preset--spacing--30);
}

/* Temporary: WP core ships this padding as a 4-value clamp() shorthand
   that some browsers fail to parse — re-declare as individual props. */
.wp-block-navigation__responsive-container.is-menu-open:not(.disable-default-overlay) {
	padding-top: clamp(1rem, var(--wp--style--root--padding-top), 20rem);
	padding-right: clamp(1rem, var(--wp--style--root--padding-right), 20rem);
	padding-bottom: clamp(1rem, var(--wp--style--root--padding-bottom), 20rem);
	padding-left: clamp(1rem, var(--wp--style--root--padding-left), 20rem);
}

/*
 * --------------------------------------------------------
 *  Custom - blocks
 * --------------------------------------------------------
 */

/* Button
----------------------------------------------------------*/
.wp-element-button {
	transition: background-color 0.15s ease;
}

.wp-block-button .wp-block-button__link.is-style-outline:not(.has-background):hover,
.wp-block-button.is-style-outline > .wp-block-button__link:not(.has-background):hover {
	background-color: rgba(159, 159, 159, 0.2);
}

/* Table
----------------------------------------------------------*/
.wp-block-table.is-style-stripes tbody tr:nth-child(odd) {
	background-color: var(--wp--custom--blocks--core-table--variant-stripes--color--background, var(--wp--preset--color--tertiary));
}

/* Template Part Block
----------------------------------------------------------*/

/* Temporary fix until template-part blocks support spacing */

footer.wp-block-template-part:not([style*="margin-top"]) {
	margin-top: 0;
}

/* Quote - 'Plain' variation
----------------------------------------------------------*/
blockquote:is(.is-style-plain) {
	border: none;
	padding-left: 0;
}

/* Search Block
----------------------------------------------------------*/
:where(.wp-block-search__button-inside .wp-block-search__inside-wrapper) {
	border-color: var(--wp--custom--elements--input--border--color);
	border-radius: var(--wp--custom--elements--button--border--radius);
	border-width: var(--wp--custom--elements--input--border--width);
}

:where(.wp-block-search__button-inside .wp-block-search__inside-wrapper) .wp-block-search__input {
	border-color: transparent;
}

.wp-block-search .wp-block-search__input {
	border-radius: var(--wp--custom--elements--button--border--radius);
}

/* Image
----------------------------------------------------------*/
.wp-block-image[style*="-radius"]:not([style*="overflow"]) {
	overflow: hidden;
}

/*
 * --------------------------------------------------------
 *  Custom - experimental
 * --------------------------------------------------------
 */

.block-editor-block-list__block.wp-block.is-default-size.wp-block-site-logo .components-resizable-box__container,
.wp-block-site-logo.is-default-size img {
	max-height: 42px !important;
	height: auto !important;
	width: auto !important;
}

/* Ensure default logo works well on light and dark backgrounds
----------------------------------------------------------*/
.wp-block-site-logo img[src*="extendify-demo-"],
.wp-block-site-logo img[src*="ext-custom-logo-"] {
	filter: var(--wp--preset--duotone--primary-foreground);
	min-width: 40px;
}


/*
 * Remove all animations, transitions and smooth scroll
 * for people that prefer not to see them.
 */
@media (prefers-reduced-motion: reduce) {

	html:focus-within {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}

/*
 * Matching caret and focus outline colors.
 */
input,
textarea {
	caret-color: inherit;
	outline-color: inherit;
}

/*
 * Matching input with outline button style.
 */
:where(.wp-block-post-comments-form) input:not([type="submit"]),
:where(.wp-block-post-comments-form) textarea {
	background-color: var(--wp--preset--color--background);
	color: var(--wp--preset--color--foreground);
	border-color: inherit;
}


/*
 * Woocommerce temporarily customization until the woo blocks offer support
 */

.woocommerce-Tabs-panel--description h2,
.woocommerce-Reviews-title {
	font-size: var(--wp--preset--font-size--medium);
}

.wp-block-button.wc-block-components-product-button {
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: start;
	gap: 1rem;
}

.wp-block-button.wc-block-components-product-button a.added_to_cart {
	margin-top: 0;
}

.woocommerce-checkout.woocommerce-page header.wp-block-template-part nav.wp-block-navigation {
	visibility: hidden;
}

.wp-site-blocks .wp-block-group.woocommerce.product {
	margin-top: 0;
	margin-bottom: 0;
}

.wc-block-product-template__responsive {
	grid-row-gap: 2rem;
}

.wc-block-components-product-button__button {
	z-index: 1;
}

/*
 * Adds offset for sticky header overlap
 */

.sticky-header-offset-container .entry-content > .wp-block-group {
	scroll-margin-top: var(--wp--preset--spacing--60);
}

/*
 * Avoids parent/child color collision when child has no custom background.
 */

:not(.block-editor-block-preview__content-iframe)
.has-tertiary-background-color.has-background
[class*="is-style-ext-preset--group--"][class*="item-card-1"]:not(.has-background) {
	background-color: var(--wp--preset--color--background);
}

:not(.block-editor-block-preview__content-iframe)
.has-tertiary-background-color.has-background
[class*="is-style-ext-preset--group--"][class*="item-card-1"]:not(.has-background)::before {
	background-color: var(--wp--preset--color--background) !important;
}

:not(.block-editor-block-preview__content-iframe)
.has-tertiary-background-color.has-background
[class*="is-style-ext-preset--image--"]:not(.has-background)::before {
	background-color: var(--wp--preset--color--tertiary) !important;
}

:not(.block-editor-block-preview__content-iframe)
.has-tertiary-background-color.has-background
[class*="is-style-ext-preset--group--"][class*="item-card-1"]::before,
:not(.block-editor-block-preview__content-iframe)
.has-tertiary-background-color.has-background
[class*="is-style-ext-preset--media-text--"]::before {
	background-color: var(--wp--preset--color--background) !important;
}

.block-editor-block-preview__content-iframe
[class*="is-style-ext-preset--group--natural-1"][class*="item-card-1"] {
	background-color: transparent !important;
}

:root {
	--grid-vector-bg: url("data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMTQ0MCAxMDI0IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgogIDxnIG9wYWNpdHk9IjAuMDkiIHN0cm9rZT0iY3VycmVudENvbG9yIiBzdHJva2Utb3BhY2l0eT0iMC43IiBzdHJva2Utd2lkdGg9IjEuMjYwNyI+CiAgICA8bGluZSB4MT0iLTUwLjYxNzIiIHkxPSI2MjQuOTk1IiB4Mj0iMTQ2MC45NiIgeTI9IjYyNC45OTUiIC8+CiAgICA8bGluZSB4MT0iLTUwLjYxNzIiIHkxPSI5NDcuNzMzIiB4Mj0iMTQ2MC45NiIgeTI9Ijk0Ny43MzMiIC8+CiAgICA8bGluZSB4MT0iLTUwLjYxNzIiIHkxPSIzMDIuMjU2IiB4Mj0iMTQ2MC45NiIgeTI9IjMwMi4yNTYiIC8+CiAgICA8bGluZSB4MT0iLTUwLjYxNzIiIHkxPSI0NjMuNjI0IiB4Mj0iMTQ2MC45NiIgeTI9IjQ2My42MjQiIC8+CiAgICA8bGluZSB4MT0iLTUwLjYxNzIiIHkxPSI3ODYuMzYyIiB4Mj0iMTQ2MC45NiIgeTI9Ijc4Ni4zNjIiIC8+CiAgICA8bGluZSB4MT0iLTUwLjYxNzIiIHkxPSIxNDAuODg1IiB4Mj0iMTQ2MC45NiIgeTI9IjE0MC44ODUiIC8+CiAgICA8bGluZSB4MT0iLTUwLjYxNzIiIHkxPSI1NDQuMzExIiB4Mj0iMTQ2MC45NiIgeTI9IjU0NC4zMTEiIC8+CiAgICA8bGluZSB4MT0iLTUwLjYxNzIiIHkxPSI4NjcuMDQ5IiB4Mj0iMTQ2MC45NiIgeTI9Ijg2Ny4wNDkiIC8+CiAgICA8bGluZSB4MT0iLTUwLjYxNzIiIHkxPSIyMjEuNTczIiB4Mj0iMTQ2MC45NiIgeTI9IjIyMS41NzMiIC8+CiAgICA8bGluZSB4MT0iLTUwLjYxNzIiIHkxPSIzODIuOTQiIHgyPSIxNDYwLjk2IiB5Mj0iMzgyLjk0IiAvPgogICAgPGxpbmUgeDE9Ii01MC42MTcyIiB5MT0iNzA1LjY4MiIgeDI9IjE0NjAuOTYiIHkyPSI3MDUuNjgyIiAvPgogICAgPGxpbmUgeDE9Ii01MC42MTcyIiB5MT0iNjAuMjAxNyIgeDI9IjE0NjAuOTYiIHkyPSI2MC4yMDE3IiAvPgogICAgPGxpbmUgeDE9IjY0Mi4xMzgiIHkxPSItNDguODQ3NyIgeDI9IjY0Mi4xMzgiIHkyPSIxMTE4LjU2IiAvPgogICAgPGxpbmUgeDE9IjMxOS4zOTgiIHkxPSItNDguODQ3NyIgeDI9IjMxOS4zOTgiIHkyPSIxMTE4LjU2IiAvPgogICAgPGxpbmUgeDE9Ijk2NC44NzQiIHkxPSItNDguODQ3NyIgeDI9Ijk2NC44NzQiIHkyPSIxMTE4LjU2IiAvPgogICAgPGxpbmUgeDE9IjEyODcuNjEiIHkxPSItNDguODQ3NyIgeDI9IjEyODcuNjEiIHkyPSIxMTE4LjU2IiAvPgogICAgPGxpbmUgeDE9IjE1OC4wMjgiIHkxPSItNDguODQ3NyIgeDI9IjE1OC4wMjgiIHkyPSIxMTE4LjU2IiAvPgogICAgPGxpbmUgeDE9IjgwMy41MDQiIHkxPSItNDguODQ3NyIgeDI9IjgwMy41MDQiIHkyPSIxMTE4LjU2IiAvPgogICAgPGxpbmUgeDE9IjQ4MC43NjgiIHkxPSItNDguODQ3NyIgeDI9IjQ4MC43NjgiIHkyPSIxMTE4LjU2IiAvPgogICAgPGxpbmUgeDE9IjExMjYuMjQiIHkxPSItNDguODQ3NyIgeDI9IjExMjYuMjQiIHkyPSIxMTE4LjU2IiAvPgogICAgPGxpbmUgeDE9Ijc3LjM0NTIiIHkxPSItNDguODQ3NyIgeDI9Ijc3LjM0NTEiIHkyPSIxMTE4LjU2IiAvPgogICAgPGxpbmUgeDE9IjcyMi44MjIiIHkxPSItNDguODQ3NyIgeDI9IjcyMi44MjIiIHkyPSIxMTE4LjU2IiAvPgogICAgPGxpbmUgeDE9IjQwMC4wODEiIHkxPSItNDguODQ3NyIgeDI9IjQwMC4wODEiIHkyPSIxMTE4LjU2IiAvPgogICAgPGxpbmUgeDE9IjEwNDUuNTYiIHkxPSItNDguODQ3NyIgeDI9IjEwNDUuNTYiIHkyPSIxMTE4LjU2IiAvPgogICAgPGxpbmUgeDE9IjEzNjguMyIgeTE9Ii00OC44NDc3IiB4Mj0iMTM2OC4zIiB5Mj0iMTExOC41NiIgLz4KICAgIDxsaW5lIHgxPSIyMzguNzE1IiB5MT0iLTQ4Ljg0NzciIHgyPSIyMzguNzE1IiB5Mj0iMTExOC41NiIgLz4KICAgIDxsaW5lIHgxPSI4ODQuMTkyIiB5MT0iLTQ4Ljg0NzciIHgyPSI4ODQuMTkyIiB5Mj0iMTExOC41NiIgLz4KICAgIDxsaW5lIHgxPSI1NjEuNDUxIiB5MT0iLTQ4Ljg0NzciIHgyPSI1NjEuNDUxIiB5Mj0iMTExOC41NiIgLz4KICAgIDxsaW5lIHgxPSIxMjA2LjkzIiB5MT0iLTQ4Ljg0NzciIHgyPSIxMjA2LjkzIiB5Mj0iMTExOC41NiIgLz4KICA8L2c+CiAgPGcgb3BhY2l0eT0iMC41IiBmaWxsPSJjdXJyZW50Q29sb3IiPgogICAgPHJlY3QgeD0iODAzLjU2MyIgeT0iNzg2LjMwNSIgd2lkdGg9IjgwLjIyNjIiIGhlaWdodD0iODAuMjI2MiIgZmlsbC1vcGFjaXR5PSIwLjQiIC8+CiAgICA8cmVjdCB4PSI0MDAuMTQiIHk9Ijc4Ni4zMDUiIHdpZHRoPSI4MC4yMjYyIiBoZWlnaHQ9IjgwLjIyNjIiIGZpbGwtb3BhY2l0eT0iMC4xOCIgLz4KICAgIDxyZWN0IHg9IjExMjYuNzYiIHk9IjIyMi40MyIgd2lkdGg9IjgwLjIyNjIiIGhlaWdodD0iNzkuMDgwMSIgZmlsbC1vcGFjaXR5PSIwLjA4IiAvPgogICAgPHJlY3QgeD0iNDgwLjM2NyIgeT0iNDY0LjIwMyIgd2lkdGg9IjgwLjIyNjIiIGhlaWdodD0iNzkuMDgwMSIgZmlsbC1vcGFjaXR5PSIwLjEzIiAvPgogICAgPHJlY3QgeD0iMTA0NS4zOSIgeT0iMzAyLjY1NiIgd2lkdGg9IjgwLjIyNjIiIGhlaWdodD0iNzkuMDgwMSIgZmlsbC1vcGFjaXR5PSIwLjAzIiAvPgogICAgPHJlY3QgeD0iMzk5Ljk5NCIgeT0iMjIyLjQzIiB3aWR0aD0iODAuMjI2MiIgaGVpZ2h0PSI3OS4wODAxIiBmaWxsLW9wYWNpdHk9IjAuMTMiIC8+CiAgICA8cmVjdCB4PSIxMDQ1LjM5IiB5PSIyMjIuNDMiIHdpZHRoPSI4MC4yMjYyIiBoZWlnaHQ9Ijc5LjA4MDEiIGZpbGwtb3BhY2l0eT0iMC4wOCIgLz4KICAgIDxyZWN0IHg9IjM5OS45OTQiIHk9IjQ2NC4yMDMiIHdpZHRoPSI4MC4yMjYyIiBoZWlnaHQ9Ijc5LjA4MDEiIGZpbGwtb3BhY2l0eT0iMC4xMyIgLz4KICAgIDxyZWN0IHg9IjMxOS45MTQiIHk9Ijc4Ni4zMDUiIHdpZHRoPSI4MC4yMjYyIiBoZWlnaHQ9IjgwLjIyNjIiIGZpbGwtb3BhY2l0eT0iMC4xOCIgLz4KICAgIDxyZWN0IHg9IjMxOS45MTQiIHk9Ijg2Ni41MzEiIHdpZHRoPSI4MC4yMjYyIiBoZWlnaHQ9IjgxLjM3MjMiIGZpbGwtb3BhY2l0eT0iMC4xOCIgLz4KICAgIDxyZWN0IHg9IjE1OC4zMTUiIHk9IjcwNi4wNzgiIHdpZHRoPSI4MC4yMjYyIiBoZWlnaHQ9IjgwLjIyNjIiIGZpbGwtb3BhY2l0eT0iMC4xOCIgLz4KICAgIDxyZWN0IHg9Ijk2NS4xNjIiIHk9IjYwLjgzMiIgd2lkdGg9IjgwLjIyNjIiIGhlaWdodD0iODAuMjI2MiIgZmlsbC1vcGFjaXR5PSIwLjEzIiAvPgogICAgPHJlY3QgeD0iODg0LjA1OSIgeT0iLTE5Ljg1NTUiIHdpZHRoPSI4MC4yMjYyIiBoZWlnaHQ9Ijc5LjUwNjIiIGZpbGwtb3BhY2l0eT0iMC4xMyIgLz4KICAgIDxyZWN0IHg9Ijg4NC4wNTkiIHk9IjYwLjQwMjMiIHdpZHRoPSI4MC4yMjYyIiBoZWlnaHQ9IjgwLjAyODUiIGZpbGwtb3BhY2l0eT0iMC4xMyIgLz4KICAgIDxyZWN0IHg9IjE1OC4zMTUiIHk9IjEzOS45MSIgd2lkdGg9IjgxLjM3MjMiIGhlaWdodD0iODIuNTE4NCIgZmlsbC1vcGFjaXR5PSIwLjE4IiAvPgogICAgPHJlY3QgeD0iNzYuOTQzNCIgeT0iNTkuNjgzNiIgd2lkdGg9IjgxLjM3MjMiIGhlaWdodD0iODAuMjI2MiIgZmlsbC1vcGFjaXR5PSIwLjE4IiAvPgogICAgPHJlY3QgeD0iLTMuMjgzMiIgeT0iNjAuODI4MSIgd2lkdGg9IjgxLjM3MjMiIGhlaWdodD0iODAuMjI2MiIgZmlsbC1vcGFjaXR5PSIwLjE4IiAvPgogICAgPHJlY3QgeD0iNzYuOTQzNCIgeT0iMTM5LjkxIiB3aWR0aD0iODEuMzcyMyIgaGVpZ2h0PSI4Mi41MTg0IiBmaWxsLW9wYWNpdHk9IjAuMTgiIC8+CiAgICA8cmVjdCB4PSI0MDAuMTQxIiB5PSItMjAuNTQzIiB3aWR0aD0iODEuMzcyMyIgaGVpZ2h0PSI4MC4yMjYyIiBmaWxsLW9wYWNpdHk9IjAuMiIgLz4KICAgIDxyZWN0IHg9IjE1OC4zMTUiIHk9IjMwMS41MDgiIHdpZHRoPSI4MC4yMjYyIiBoZWlnaHQ9IjgxLjM3MjMiIGZpbGwtb3BhY2l0eT0iMC4xOCIgLz4KICAgIDxyZWN0IHg9IjExMjYuNzYiIHk9IjcwNi4wNzgiIHdpZHRoPSI4MC4yMjYyIiBoZWlnaHQ9IjgwLjIyNjIiIGZpbGwtb3BhY2l0eT0iMC4xMyIgLz4KICAgIDxyZWN0IHg9IjEyMDYuOTkiIHk9Ijc4Ni4zMDUiIHdpZHRoPSI4MC4yMjYyIiBoZWlnaHQ9IjgwLjIyNjIiIGZpbGwtb3BhY2l0eT0iMC4xMyIgLz4KICA8L2c+Cjwvc3ZnPg==");
}

/*
 * CSS related to prism vibe
 */

/*
 * CSS related to wave vibe
 */

[class*="is-style-ext-preset--group--"][class*="--section"].has-tertiary-background-color:has(
+ .has-background-background-color > .wp-block-cover.alignfull
)::after {
	content: none !important;
}

[class*="is-style-ext-preset--group--"][class*="--section"].has-tertiary-background-color:has(
+ .has-background-background-color > .wp-block-cover.alignfull
) {
	margin-bottom: 0 !important;
}

[class*="is-style-ext-preset--group--"][class*="--section"].has-background-background-color:has(.wp-block-cover.alignfull) + .has-tertiary-background-color::before {
	content: none !important;
}

[class*="is-style-ext-preset--group--"][class*="--section"].has-background-background-color:has(.wp-block-cover.alignfull) + .has-tertiary-background-color {
	margin-top: 0 !important;
}

/*
 * utilities
 */

.m-0 {
	margin: 0 !important;
}

.z-0 {
	z-index: 0 !important;
}

.z-10 {
	z-index: 10 !important;
}

.z-20 {
	z-index: 20 !important;
}

.z-30 {
	z-index: 30 !important;
}


.d-none {
	display: none;
}

.d-block {
	display: block;
}

@media (min-width: 640px) {

	.sm-d-none {
		display: none;
	}

	.sm-d-block {
		display: block;
	}
}

@media (min-width: 768px) {

	.md-d-none {
		display: none;
	}

	.md-d-block {
		display: block;
	}
}

@media (min-width: 1024px) {

	.lg-d-none {
		display: none;
	}

	.lg-d-block {
		display: block;
	}
}

/* RTL-only fix for Gutenberg Group left justification */

[dir="rtl"] [class*="wp-container-core-group-is-layout-"].ext-is-logical-start.is-content-justification-left > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
	margin-inline-start: 0 !important;
	margin-inline-end: auto !important;
}

.no-underline,
.no-underline a {
	text-decoration: none;
}

/* CSS for extendify-agent vibe previews */

.extendify-agent .preview-is-style-ext-preset--group--matrix-1--section .preview-is-style-ext-preset--group--matrix-1--item-card-1--align-center {
	border: solid 6px color-mix(in oklab, var(--wp--preset--color--foreground) 10%, transparent) !important;
}


.extendify-agent .preview-is-style-ext-preset--group--wave-1--section {
	--wave-ratio: 1440 / 80;
	overflow: visible;
}

.extendify-agent .preview-is-style-ext-preset--group--wave-1--section .preview-is-style-ext-preset--group--wave-1--item-card-1--align-center {
	position: relative;
	overflow: visible;
}

.extendify-agent .preview-is-style-ext-preset--group--wave-1--section .preview-is-style-ext-preset--group--wave-1--item-card-1--align-center::after {
	content: "";
	position: absolute;
	width: 150%;
	left: 50%;
	transform: translateX(-35%);
	aspect-ratio: var(--wave-ratio);
	background-color: var(--wp--preset--color--background);
	-webkit-mask: var(--wave-mask) no-repeat center / 100% 100%;
	mask: var(--wave-mask) no-repeat center / 100% 100%;
	bottom: -1px;
	pointer-events: none;
	z-index: 1;
}

.extendify-agent .preview-is-style-ext-preset--group--wave-1--section .preview-is-style-ext-preset--group--wave-1--item-card-1--align-center::before {
	content: "";
	position: absolute;
	width: 150%;
	left: 50%;
	transform: translateX(-65%) scale(-1, -1);
	aspect-ratio: var(--wave-ratio);
	background-color: var(--wp--preset--color--background);
	-webkit-mask: var(--wave-mask) no-repeat center / 100% 100%;
	mask: var(--wave-mask) no-repeat center / 100% 100%;
	top: -1px;
	pointer-events: none;
	z-index: 1;
}

/*
 * --------------------------------------------------------
 *  Modular Header System
 * --------------------------------------------------------
 *
 *  Layout (positioning):
 *    - .ext-header-sticky    → position: sticky + admin-bar handling
 *    - .ext-header-overlay   → hero section overlap (negative margin)
 *
 *  Appearance:
 *    - .ext-header-glass     → static glassmorphism (bg + blur + radius)
 *    - .ext-header--dark     → dark color scheme: white text + dark scrim/glass tint
 *
 *  Behavior:
 *    - .ext-header-sticky--floating-pill → scroll-driven intensification of glass + layout shift
 *
 *  Compositions:
 *    - ext-header-sticky                                                                          → just sticky, theme bg
 *    - ext-header-overlay                                                                         → overlay, transparent
 *    - ext-header-overlay ext-header--dark                                                        → overlay + dark scrim + white text
 *    - ext-header-sticky ext-header-glass                                                         → static glass header
 *    - ext-header-sticky ext-header-glass ext-header--dark                                        → static dark glass
 *    - ext-header-sticky ext-header-overlay ext-header-glass ext-header-sticky--floating-pill   → animated glass over hero
 *    - + ext-header--dark on the above                                                            → animated DARK glass over hero
 */

:root {
	--ext-header-height: 96px;
	--ext-header-offset: 1rem;
	--ext-header-blur-start: 4px;
	--ext-header-blur-end: 12px;
	--ext-header-bg-opacity-start: 0.75;
	--ext-header-bg-opacity-end: 0.95;
	--ext-header-padding: 1.5rem;
	--ext-header-animation-distance: 100px;
	--ext-header-glass-tint-dark: #ffffff;
	--ext-header-glass-tint-dark-end: #101010;
	--ext-header-dark-logo-filter: brightness(0) invert(1);
}

body {
	timeline-scope: --ext-hero-timeline;
}

/* ===========================================================
   Layout: ext-header-sticky
   =========================================================== */
header.wp-block-template-part:has(.ext-header-sticky) {
	position: sticky;
	top: 0;
	z-index: 12;
}

/* Default bg for sticky headers without glass.
   Glass headers leave the wrapper transparent so the inner glass element shows through. */
header.wp-block-template-part:has(.ext-header-sticky):not(:has(.ext-header-glass)):not(.has-background) {
	background-color: var(--wp--preset--color--background);
}

body.admin-bar header.wp-block-template-part:has(.ext-header-sticky) {
	top: var(--wp-admin--admin-bar--position-offset, var(--wp-admin--admin-bar--height, 32px));
}

@media (max-width: 782px) {

	body.admin-bar header.wp-block-template-part:has(.ext-header-sticky) {
		top:0;
	}
}

html:has(.ext-header-sticky) {
	scroll-padding-top: var(--ext-header-height);
}

/* ===========================================================
   Layout: ext-header-overlay (hero overlap)
   =========================================================== */
body:has(.entry-content > .ext-hero-section.ext-hero-section--full-screen:first-child) header.wp-block-template-part:has(.ext-header-overlay):not(:has(.ext-header-sticky)) {
	position: relative;
	top: 0;
	z-index: 12;
}

body:has(.ext-header-overlay) .entry-content > .ext-hero-section.ext-hero-section--full-screen:first-child {
	margin-top: calc(-1 * var(--ext-header-height)) !important;
	position: relative;
	z-index: 0;
}

/* Overlay over hero: wrapper goes transparent so the hero shows through.
   Reverts to default theme bg once .is-past-hero is added or on subpages without a hero. */
body:has(.entry-content > .ext-hero-section.ext-hero-section--full-screen:first-child) header.wp-block-template-part:has(.ext-header-overlay):not(.is-past-hero):not(:has(.ext-header-glass)) {
	background-color: transparent;
}

/* ===========================================================
   Appearance: ext-header-glass (static glassmorphism)
   - --ext-header-glass-color-start: tint during the frosted/initial state
   - --ext-header-glass-color-end: tint at the solid/scrolled state
   - Static glass shows the end state (most readable)
   =========================================================== */
.ext-header-glass {
	--ext-header-glass-color-start: var(--wp--preset--color--background);
	--ext-header-glass-color-end: var(--wp--preset--color--background);
}

header.wp-block-template-part:has(.ext-header-glass) .ext-header-glass {
	background-color: oklch(from var(--ext-header-glass-color-end) l c h / var(--ext-header-bg-opacity-end));
	backdrop-filter: blur(var(--ext-header-blur-end));
	border-radius: 1rem;
}

/* ===========================================================
   Color: ext-header--dark
   - Sets shared scrim/glass color variable
   - Wrapper gets white text when used with overlay or glass
   - Inner blocks reset their colors to inherit
   =========================================================== */
/* Dark variant only takes effect on pages with a fullscreen hero.
   On subpages, dark+glass falls back to the light glass defaults. */
body:has(.entry-content > .ext-hero-section.ext-hero-section--full-screen:first-child) .ext-header-glass.ext-header--dark {
	--ext-header-glass-color-start: var(--ext-header-glass-tint-dark);
	--ext-header-glass-color-end: var(--ext-header-glass-tint-dark-end);
	--ext-header-bg-opacity-start: 0.06;
	--ext-header-bg-opacity-end: 0.85;
	--ext-header-blur-start: 16px;
	--ext-header-blur-end: 24px;
}

body:has(.entry-content > .ext-hero-section.ext-hero-section--full-screen:first-child) header.wp-block-template-part:has(.ext-header-glass.ext-header--dark) .ext-header-glass {
	border: 1px solid rgb(255 255 255 / 0.12);
}

body:has(.entry-content > .ext-hero-section.ext-hero-section--full-screen:first-child) header.wp-block-template-part:not(.is-past-hero):has(.ext-header-overlay.ext-header--dark) {
	color: #fff;
}

/* Top-fade scrim on the hero's cover block — softer falloff than a header-bound gradient.
   Flat (non-nested) :has() check on body so the rule reliably matches on hero pages
   that use an overlay+dark header.
   Fades out via opacity once the smart-sticky JS adds .is-past-hero on the header,
   in sync with the header reverting to its default theme appearance. */
body:has(.ext-header-overlay.ext-header--dark) .ext-hero-section--full-screen .wp-block-cover::after {
	content: "";
	position: absolute;
	inset: 0 0 auto 0;
	height: calc(var(--ext-header-height) * 3);
	transition: opacity 300ms ease;
	background: linear-gradient(
		to bottom,
		rgb(0 0 0 / 0.50) 0%,
		rgb(0 0 0 / 0.25) 50%,
		rgb(0 0 0 / 0.05) 80%,
		rgb(0 0 0 / 0) 100%
	);
	pointer-events: none;
	z-index: 1;
}

/* Past-hero: fade the scrim out so the hero image returns to its natural look,
   matching the header reverting to default theme bg + colors. */
body:has(header.wp-block-template-part.is-past-hero) .ext-hero-section--full-screen .wp-block-cover::after {
	opacity: 0;
}

body:has(.entry-content > .ext-hero-section.ext-hero-section--full-screen:first-child) header.wp-block-template-part:has(.ext-header-glass.ext-header--dark) {
	color: #fff;
}

/* Inner-block dark overrides — fire only on hero pages with a dark backdrop.
   Overlay+dark drops out at .is-past-hero (header has reverted to default theme).
   Glass+dark keeps firing past-hero because the glass stays dark via its own animation. */
body:has(.entry-content > .ext-hero-section.ext-hero-section--full-screen:first-child) header.wp-block-template-part:not(.is-past-hero):has(.ext-header-overlay.ext-header--dark) :where(a, button, .wp-block-site-title):not(.has-background, .wp-block-button__link, .cloned-for-mobile, .cloned-for-mobile *),
body:has(.entry-content > .ext-hero-section.ext-hero-section--full-screen:first-child) header.wp-block-template-part:has(.ext-header-glass.ext-header--dark) :where(a, button, .wp-block-site-title):not(.has-background, .wp-block-button__link, .cloned-for-mobile, .cloned-for-mobile *) {
	color: inherit;
}

body:has(.entry-content > .ext-hero-section.ext-hero-section--full-screen:first-child) header.wp-block-template-part:not(.is-past-hero):has(.ext-header-overlay.ext-header--dark) .wp-social-link:not(.cloned-for-mobile, .cloned-for-mobile *),
body:has(.entry-content > .ext-hero-section.ext-hero-section--full-screen:first-child) header.wp-block-template-part:has(.ext-header-glass.ext-header--dark) .wp-social-link:not(.cloned-for-mobile, .cloned-for-mobile *) {
	color: #fff !important;
}

/* Phone CTA: force white over the dark hero. Needed because the paragraph carries
   WP's wp-elements-* link-color rule (preset primary), which beats .has-text-color
   inheritance on the inner <a>. Drops out at .is-past-hero so the phone reverts to theme. */
body:has(.entry-content > .ext-hero-section.ext-hero-section--full-screen:first-child) header.wp-block-template-part:not(.is-past-hero):has(.ext-header-overlay.ext-header--dark) :is(.ext-nav-extras-phone, .ext-nav-extras-phone a):not(.cloned-for-mobile, .cloned-for-mobile *),
body:has(.entry-content > .ext-hero-section.ext-hero-section--full-screen:first-child) header.wp-block-template-part:has(.ext-header-glass.ext-header--dark) :is(.ext-nav-extras-phone, .ext-nav-extras-phone a):not(.cloned-for-mobile, .cloned-for-mobile *) {
	color: #fff !important;
}

body:has(.entry-content > .ext-hero-section.ext-hero-section--full-screen:first-child) header.wp-block-template-part:not(.is-past-hero):has(.ext-header-overlay.ext-header--dark) svg:not(.cloned-for-mobile *),
body:has(.entry-content > .ext-hero-section.ext-hero-section--full-screen:first-child) header.wp-block-template-part:has(.ext-header-glass.ext-header--dark) svg:not(.cloned-for-mobile *) {
	fill: currentColor;
}

body:has(.entry-content > .ext-hero-section.ext-hero-section--full-screen:first-child) header.wp-block-template-part:not(.is-past-hero):has(.ext-header-overlay.ext-header--dark) :is(.wp-block-site-logo, .wp-duotone-primary-foreground):not(.cloned-for-mobile, .cloned-for-mobile *),
body:has(.entry-content > .ext-hero-section.ext-hero-section--full-screen:first-child) header.wp-block-template-part:has(.ext-header-glass.ext-header--dark) :is(.wp-block-site-logo, .wp-duotone-primary-foreground):not(.cloned-for-mobile, .cloned-for-mobile *) {
	filter: var(--ext-header-dark-logo-filter);
}

/* Nav-extras CTA: white pill + dark text for contrast against the dark hero scrim.
   Drops out at .is-past-hero so the button returns to its preset styling. */
body:has(.entry-content > .ext-hero-section.ext-hero-section--full-screen:first-child) header.wp-block-template-part:not(.is-past-hero):has(.ext-header-overlay.ext-header--dark) .ext-nav-extras-btn:not(.cloned-for-mobile, .cloned-for-mobile *) .wp-block-button__link,
body:has(.entry-content > .ext-hero-section.ext-hero-section--full-screen:first-child) header.wp-block-template-part:has(.ext-header-glass.ext-header--dark) .ext-nav-extras-btn:not(.cloned-for-mobile, .cloned-for-mobile *) .wp-block-button__link {
	background-color: #fefefe !important;
	color: #060606 !important;
}

/* Sticky non-glass headers: smooth shadow/bg transitions (toggle on .is-scrolled / .is-past-hero) */
header.wp-block-template-part:has(.ext-header-sticky):not(:has(.ext-header-glass)) {
	transition: background-color 300ms ease, box-shadow 300ms ease;
}

/* Floating-pill: smooth the top change when .is-scrolled toggles, so the
   header doesn't snap up when scrolling past the admin bar. */
header.wp-block-template-part:has(.ext-header-sticky.ext-header-sticky--floating-pill) {
	transition: top 300ms ease;
}

/* Subpage elevation shadow: appears when user scrolls (no hero on the page) */
body:not(:has(.entry-content > .ext-hero-section.ext-hero-section--full-screen:first-child)) header.wp-block-template-part.is-scrolled:has(.ext-header-sticky):not(:has(.ext-header-glass)) {
	box-shadow: 0 4px 24px -8px rgb(0 0 0 / 0.08);
}

/* Smart sticky transitions: smooth color/filter changes when toggling .is-past-hero */
header.wp-block-template-part:has(.ext-header--dark) {
	transition: background-color 300ms ease, color 300ms ease, box-shadow 300ms ease, border-color 300ms ease;
}

header.wp-block-template-part:has(.ext-header--dark) :where(a, button, .wp-block-site-title, .wp-social-link) {
	transition: color 300ms ease;
}

header.wp-block-template-part:has(.ext-header--dark) .wp-block-site-logo {
	transition: filter 300ms ease;
}

/* Past-hero: any sticky+overlay gets solid theme bg + elevation shadow.
   Glass headers are excluded — they manage their own scroll visuals. */
header.wp-block-template-part.is-past-hero:has(.ext-header-sticky.ext-header-overlay):not(:has(.ext-header-glass)) {
	background-color: var(--wp--preset--color--background);
	box-shadow: 0 4px 24px -8px rgb(0 0 0 / 0.08);
}

/* Past-hero on dark variant: also revert white text / inverted logo / forced social color */
header.wp-block-template-part.is-past-hero:has(.ext-header-overlay.ext-header--dark):not(:has(.ext-header-glass)) {
	color: var(--wp--preset--color--foreground);
}

header.wp-block-template-part.is-past-hero:has(.ext-header-overlay.ext-header--dark):not(:has(.ext-header-glass)) :where(a, button, .wp-block-site-title):not(.has-background, .wp-block-button__link) {
	color: inherit;
}

header.wp-block-template-part.is-past-hero:has(.ext-header-overlay.ext-header--dark):not(:has(.ext-header-glass)) .wp-social-link {
	color: var(--wp--preset--color--foreground) !important;
}

header.wp-block-template-part.is-past-hero:has(.ext-header-overlay.ext-header--dark):not(:has(.ext-header-glass)) .wp-block-site-logo {
	filter: brightness(1) invert(0);
}

/* ===========================================================
   Hero timeline (for scroll-driven animations)
   =========================================================== */
@supports (animation-timeline: scroll()) {

	.entry-content > .ext-hero-section.ext-hero-section--full-screen:first-child {
		view-timeline: --ext-hero-timeline block;
	}
}

/* ===========================================================
   Behavior: ext-header-sticky--floating-pill
   - Layout shift: header wrapper goes transparent + constrained width
   - When combined with .ext-header-glass, animates glass intensity
   =========================================================== */
header.wp-block-template-part .ext-header-sticky--floating-pill.ext-animate {
	opacity: 1 !important;
}

header.wp-block-template-part:has(.ext-header-sticky.ext-header-sticky--floating-pill) {
	position: sticky;
	top: 0;
	z-index: 12;
	border-bottom: none;
}

body:has(.entry-content > .ext-hero-section.ext-hero-section--full-screen:first-child) header.wp-block-template-part:has(.ext-header-sticky.ext-header-sticky--floating-pill) {
	position: sticky;
	top: var(--ext-header-offset);
	max-width: var(--wp--style--global--wide-size);
	margin-left: auto;
	margin-right: auto;
	background-color: transparent;
	padding-inline: var(--wp--style--root--padding-right) var(--wp--style--root--padding-left);
}

/* Initial glass state (over hero): override static glass-end with start values */
body:has(.entry-content > .ext-hero-section.ext-hero-section--full-screen:first-child) header.wp-block-template-part:has(.ext-header-sticky.ext-header-sticky--floating-pill.ext-header-glass) .ext-header-sticky.ext-header-sticky--floating-pill.ext-header-glass {
	background-color: oklch(from var(--ext-header-glass-color-start) l c h / var(--ext-header-bg-opacity-start));
	backdrop-filter: blur(var(--ext-header-blur-start));
}

body.admin-bar:has(.entry-content > .ext-hero-section.ext-hero-section--full-screen:first-child) header.wp-block-template-part:has(.ext-header-sticky.ext-header-sticky--floating-pill) {
	top:
		calc(var(--ext-header-offset) +
		var(--wp-admin--admin-bar--position-offset, var(--wp-admin--admin-bar--height, 32px)));
	background-color: transparent;
}

@media (max-width: 782px) {
	body.admin-bar:has(.entry-content > .ext-hero-section.ext-hero-section--full-screen:first-child) header.wp-block-template-part:has(.ext-header-sticky.ext-header-sticky--floating-pill) {
		top:
			calc(var(--ext-header-offset) +
			var(--wp-admin--admin-bar--position-offset, var(--wp-admin--admin-bar--height, 46px)));
	}

	body.admin-bar:has(.entry-content > .ext-hero-section.ext-hero-section--full-screen:first-child) header.wp-block-template-part.is-scrolled:has(.ext-header-sticky.ext-header-sticky--floating-pill) {
		top:var(--ext-header-offset);
	}
}


@supports (animation-timeline: scroll()) {

	body:not(:has(.entry-content > .ext-hero-section.ext-hero-section--full-screen:first-child)) header.wp-block-template-part:has(.ext-header-sticky.ext-header-sticky--floating-pill) {
		max-width: calc(var(--wp--style--global--wide-size) + var(--wp--style--root--padding-right) + var(--wp--style--root--padding-left));
		margin-left: auto;
		margin-right: auto;
	}

	@media (prefers-reduced-motion: no-preference) {

		body:has(.entry-content > .ext-hero-section.ext-hero-section--full-screen:first-child) header.wp-block-template-part:has(.ext-header-sticky.ext-header-sticky--floating-pill.ext-header-glass) .ext-header-sticky.ext-header-sticky--floating-pill.ext-header-glass {
			animation: ext-header-glass-intensify linear both !important;
			animation-timeline: --ext-hero-timeline !important;
			animation-range: exit 0% exit 80% !important;
		}

		body:not(:has(.entry-content > .ext-hero-section.ext-hero-section--full-screen:first-child)) header.wp-block-template-part:has(.ext-header-sticky.ext-header-sticky--floating-pill.ext-header-glass) .ext-header-sticky.ext-header-sticky--floating-pill.ext-header-glass {
			animation: ext-header-glass-intensify-no-hero linear forwards !important;
			animation-timeline: scroll() !important;
			animation-range: 0 var(--ext-header-animation-distance) !important;
		}
	}
}

@keyframes ext-header-glass-intensify {

	from {
		background-color: oklch(from var(--ext-header-glass-color-start) l c h / var(--ext-header-bg-opacity-start));
		backdrop-filter: blur(var(--ext-header-blur-start));
	}

	to {
		background-color: oklch(from var(--ext-header-glass-color-end) l c h / var(--ext-header-bg-opacity-end));
		backdrop-filter: blur(var(--ext-header-blur-end));
		box-shadow: 0 14px 28px -10px rgb(0 0 0 / 0.14), 0 -14px 28px -10px rgb(0 0 0 / 0.14);
	}
}

@keyframes ext-header-glass-intensify-no-hero {

	from {
		background-color: oklch(from var(--ext-header-glass-color-start) l c h / var(--ext-header-bg-opacity-start));
		backdrop-filter: blur(var(--ext-header-blur-start));
		box-shadow: none;
		translate: 0 0;
		max-width: 100%;
		margin-inline: auto;
	}

	to {
		background-color: oklch(from var(--ext-header-glass-color-end) l c h / var(--ext-header-bg-opacity-end));
		backdrop-filter: blur(var(--ext-header-blur-end));
		box-shadow: 0 14px 28px -10px rgb(0 0 0 / 0.14), 0 -14px 28px -10px rgb(0 0 0 / 0.14);

		translate: 0 var(--ext-header-offset);
		max-width: var(--wp--style--global--wide-size);
		margin-inline: var(--wp--style--root--padding-right) var(--wp--style--root--padding-left);
		border-radius: 1rem;
	}
}

/* ===========================================================
   Vibe/gradient fix
   -----------------------------------------------------------
   Vibe block-style variations (e.g. is-style-ext-preset--group--*--header-1--N)
   paint a background gradient on the header. That gradient fights every
   over-hero / glass-tint / dark-scrim treatment we apply to overlay or glass
   headers, because the glass and overlay rules set background-COLOR while the
   variation sets a background-IMAGE that paints on top.
   Override the variation's background-image specifically (not the whole
   `background:` shorthand). That lets each header keep working in its
   natural design:
     - overlay non-glass: gets transparent bg over hero, theme bg past hero
     - glass: gets the glass tint (light by default, dark when --dark is set)
   On non-overlay / non-glass headers the variation gradient stays as-is.
   =========================================================== */
.ext-header-overlay[class*="is-style-ext-preset--"],
.ext-header-glass[class*="is-style-ext-preset--"] {
	background-image: none !important;
}

/* Temporary: a few template parts (e.g. no-title-sticky-header.html) wrap our
   header in another sticky <header>. Scope the fix to the three new headers
   (atlas-beacon, catalina-skyline, ceadar-peak) — they're the only ones
   using .ext-header-overlay, so older headers that intentionally rely on
   the wrapper's positioning aren't affected. display: contents removes the
   wrapper from layout entirely so its bg/border/sticky/box-shadow/
   wp-container-* styles don't apply. Remove once the upstream template
   stops wrapping. */
header:has(> header.wp-block-template-part :where(.ext-header-overlay)) {
	display: contents;
}

/* ===========================================================
   Memória do Gelo 1.4 — sistema visual editorial
   =========================================================== */
:root {
	--mdg-ink: #082f49;
	--mdg-deep: #05283d;
	--mdg-blue: #087ca7;
	--mdg-cyan: #18b9d5;
	--mdg-ice: #eef8fb;
	--mdg-line: #d8e7ed;
	--mdg-shadow: 0 18px 50px rgb(4 40 61 / .10);
}

body { overflow-x: clip; }

.mdg-topbar {
	background: linear-gradient(90deg, var(--mdg-deep), #0b5873);
	color: #fff;
	font-size: .78rem;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.mdg-topbar a { color: #fff; text-decoration: none; }

.mdg-site-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	border-bottom: 1px solid rgb(8 47 73 / .10);
	box-shadow: 0 6px 24px rgb(4 40 61 / .06);
	backdrop-filter: blur(16px);
	background: rgb(255 255 255 / .94) !important;
}

.mdg-site-header .wp-block-site-logo img {
	width: min(270px, 52vw);
	max-height: 76px;
}

.mdg-site-header .wp-block-navigation-item__content {
	position: relative;
	padding-block: .65rem;
	font-weight: 700;
	text-decoration: none;
}

.mdg-site-header .wp-block-navigation-item__content::after {
	position: absolute;
	left: 0;
	right: 100%;
	bottom: .35rem;
	height: 2px;
	background: var(--mdg-cyan);
	content: "";
	transition: right .2s ease;
}

.mdg-site-header .wp-block-navigation-item__content:hover::after,
.mdg-site-header .current-menu-item > .wp-block-navigation-item__content::after { right: 0; }

.mdg-site-header .wp-block-navigation__responsive-container-open,
.mdg-site-header .wp-block-navigation__responsive-container-close {
	min-width: 44px;
	min-height: 44px;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
}

.mdg-site-header :where(a, button, input):focus-visible {
	outline: 3px solid var(--mdg-cyan);
	outline-offset: 3px;
}

.mdg-header-search .wp-block-search__inside-wrapper {
	border: 1px solid var(--mdg-line);
	border-radius: 999px;
	overflow: hidden;
	background: #fff;
}

.mdg-header-search .wp-block-search__input { min-width: 0; width: 8.5rem; border: 0; }
.mdg-header-search .wp-block-search__button { margin: 0; border-radius: 999px; }

.mdg-home-lead {
	position: relative;
	background:
		radial-gradient(circle at 15% 10%, rgb(24 185 213 / .18), transparent 32%),
		linear-gradient(135deg, #f5fbfd 0%, #eaf5f8 100%);
	border-bottom: 1px solid var(--mdg-line);
}

.mdg-section-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	margin-bottom: 1rem;
	color: var(--mdg-blue);
	font-size: .78rem;
	font-weight: 800;
	letter-spacing: .13em;
	text-transform: uppercase;
}

.mdg-section-eyebrow::before {
	width: 28px;
	height: 3px;
	border-radius: 3px;
	background: var(--mdg-cyan);
	content: "";
}

.mdg-hero .wp-block-post-template { margin: 0; }
.mdg-hero .wp-block-columns {
	gap: clamp(1.5rem, 4vw, 4.5rem);
	padding: clamp(1rem, 2vw, 1.5rem);
	border: 1px solid rgb(8 47 73 / .09);
	border-radius: 28px;
	background: rgb(255 255 255 / .82);
	box-shadow: var(--mdg-shadow);
}

.mdg-hero figure { margin: 0; overflow: hidden; border-radius: 20px; }
.mdg-hero img { transition: transform .55s ease; }
.mdg-hero figure:hover img { transform: scale(1.025); }
.mdg-hero h1 { font-size: clamp(2rem, 3.4vw, 4rem) !important; line-height: 1.03; letter-spacing: -.025em; }
.mdg-hero .wp-block-post-excerpt { font-size: clamp(1rem, 1.2vw, 1.16rem); line-height: 1.65; }

.mdg-category-strip {
	max-width: 100% !important;
	overflow: hidden;
	border-bottom: 1px solid var(--mdg-line);
	background: #fff;
}

.mdg-category-strip .wp-block-categories-list {
	display: flex;
	gap: .6rem;
	margin: 0;
	padding: .2rem max(1.25rem, calc((100vw - var(--wp--style--global--wide-size)) / 2)) .75rem;
	overflow-x: auto;
	scrollbar-width: thin;
	list-style: none;
}

.mdg-category-strip li { flex: 0 0 auto; }
.mdg-category-strip a {
	display: inline-flex;
	align-items: center;
	min-height: 42px;
	padding: .55rem 1rem;
	border: 1px solid var(--mdg-line);
	border-radius: 999px;
	background: #f8fcfd;
	color: var(--mdg-ink);
	font-weight: 700;
	text-decoration: none;
}
.mdg-category-strip a:hover { border-color: var(--mdg-cyan); background: var(--mdg-ice); }

.mdg-latest-section > h2 {
	display: flex;
	align-items: center;
	gap: 1rem;
	font-size: clamp(1.8rem, 3vw, 2.7rem);
}
.mdg-latest-section > h2::after { flex: 1; height: 1px; background: var(--mdg-line); content: ""; }

.mdg-query-card {
	height: 100%;
	overflow: hidden;
	border: 1px solid var(--mdg-line);
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 8px 24px rgb(4 40 61 / .045);
	transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.mdg-query-card:hover { transform: translateY(-5px); border-color: #b8dce8; box-shadow: var(--mdg-shadow); }
.mdg-query-card figure { margin: 0; overflow: hidden; }
.mdg-query-card img { transition: transform .45s ease; }
.mdg-query-card:hover img { transform: scale(1.035); }
.mdg-query-card > .wp-block-group { display: flex; min-height: 245px; flex-direction: column; }
.mdg-query-card h3 { font-size: clamp(1.45rem, 2vw, 2rem) !important; line-height: 1.12; }
.mdg-query-card h3 a { text-decoration: none; }
.mdg-query-card .wp-block-post-excerpt { flex: 1; }

.mdg-newsletter {
	position: relative;
	overflow: hidden;
	border-radius: 28px;
	background:
		radial-gradient(circle at 85% 15%, rgb(24 185 213 / .32), transparent 30%),
		linear-gradient(135deg, var(--mdg-deep), #087091);
	box-shadow: var(--mdg-shadow);
}
.mdg-newsletter::after {
	position: absolute;
	right: -50px;
	bottom: -85px;
	width: 240px;
	height: 240px;
	border: 30px solid rgb(255 255 255 / .07);
	border-radius: 50%;
	content: "";
}
.mdg-newsletter > * { position: relative; z-index: 1; }

.mdg-site-footer { border-top: 4px solid var(--mdg-cyan); }
.mdg-site-footer .wp-block-site-logo img { width: min(240px, 65vw); filter: brightness(0) invert(1); }
.mdg-site-footer a { text-underline-offset: .24em; }

@media (max-width: 960px) {
	.mdg-header-search { display: flex !important; position: relative; z-index: 1002; }
	.mdg-header-search .wp-block-search__inside-wrapper { width: 44px; min-width: 44px; transition: width .2s ease; }
	.mdg-header-search .wp-block-search__input { width: 0; min-width: 0; padding-inline: 0; opacity: 0; }
	.mdg-header-search .wp-block-search__button { width: 42px; min-width: 42px; min-height: 42px; padding: 0; }
	.mdg-header-search.is-search-open .wp-block-search__inside-wrapper,
	.mdg-header-search:focus-within .wp-block-search__inside-wrapper { width: min(320px, calc(100vw - 2rem)); }
	.mdg-header-search.is-search-open .wp-block-search__input,
	.mdg-header-search:focus-within .wp-block-search__input { width: 100%; padding-inline: .8rem; opacity: 1; }
	.mdg-site-header .wp-block-site-logo img { width: min(230px, 50vw); }
	.mdg-hero .wp-block-columns { align-items: stretch !important; }
}

@media (max-width: 782px) {
	.mdg-topbar { display: none; }
	.mdg-site-header { position: sticky; padding-block: .55rem !important; }
	.mdg-site-header .wp-block-site-logo img { width: min(205px, 60vw); max-height: 58px; }
	.mdg-site-header .wp-block-navigation__responsive-container.is-menu-open {
		background: var(--mdg-deep) !important;
		color: #fff !important;
		inset: 0;
		padding: max(1.25rem, env(safe-area-inset-top)) max(1.25rem, env(safe-area-inset-right)) max(1.25rem, env(safe-area-inset-bottom)) max(1.25rem, env(safe-area-inset-left));
	}
	.mdg-site-header .wp-block-navigation__responsive-container.is-menu-open a { color: #fff !important; font-size: 1.3rem; }
	.mdg-site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { width: 100%; gap: .35rem; }
	.mdg-site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item { width: 100%; }
	.mdg-site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content { width: 100%; min-height: 48px; padding: .75rem 0; }
	.mdg-home-lead { padding-block: 1.25rem 2rem !important; }
	.mdg-section-eyebrow { margin-bottom: .65rem; }
	.mdg-hero .wp-block-columns { padding: .75rem; border-radius: 20px; }
	.mdg-hero figure { border-radius: 15px; }
	.mdg-hero h1 { font-size: clamp(2rem, 10vw, 3rem) !important; }
	.mdg-category-strip .wp-block-categories-list { padding-left: 1rem; padding-right: 1rem; }
	.mdg-latest-section { padding-inline: 1rem; }
	.mdg-latest-section .wp-block-post-template { grid-template-columns: 1fr; }
	.mdg-query-card > .wp-block-group { min-height: 0; }
	.mdg-query-card h3 { font-size: 1.65rem !important; }
	.mdg-newsletter { margin-inline: 1rem !important; border-radius: 20px; padding: 2rem 1.25rem !important; }
	.mdg-site-footer { padding-inline: 1.25rem !important; }
}

@media (max-width: 480px) {
	.mdg-site-header .wp-block-site-logo img { width: min(185px, 62vw); }
	.mdg-hero .wp-block-post-featured-image { aspect-ratio: 4 / 3; }
	.mdg-hero .wp-block-post-featured-image img { height: 100%; object-fit: cover; }
	.mdg-share { margin-inline: -1rem; padding-inline: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
	.mdg-hero img,
	.mdg-query-card,
	.mdg-query-card img { transition: none; }
}

/* 1.5 — layout modular inspirado no wireframe editorial fornecido. */
.mdg-home-v15 { padding: clamp(1rem, 2vw, 2rem) max(1rem, 3vw); background:#f7fafb; }
.mdg-home-v15 > .alignwide { margin-block: 1.1rem; }
.mdg-v15-hero-cover { overflow:hidden; border-radius:30px; box-shadow:var(--mdg-shadow); }
.mdg-v15-hero-cover h1 { max-width:760px; font-size:clamp(2.4rem,5vw,5rem)!important; line-height:.98; }
.mdg-v15-hero-cover h1 a,.mdg-v15-hero-cover a { color:#fff; }
.mdg-v15-hero-copy { margin-left:clamp(1rem,4vw,4rem)!important; }
.mdg-v15-pillars,.mdg-v15-feed,.mdg-v15-guide,.mdg-v15-stats,.mdg-v15-topics { padding:clamp(1.25rem,3vw,2.5rem); border:1px solid var(--mdg-line); border-radius:28px; background:#fff; }
.mdg-v15-pillars .wp-block-column { padding-left:1.25rem; border-left:4px solid var(--mdg-cyan); }
.mdg-v15-tabs { display:flex; gap:.5rem; overflow-x:auto; list-style:none; padding:0 0 1rem; }
.mdg-v15-tabs li { flex:0 0 auto; }
.mdg-v15-tabs a { display:block; padding:.55rem 1rem; border-radius:99px; background:var(--mdg-ice); text-decoration:none; }
.mdg-v15-card { height:100%; overflow:hidden; border:1px solid var(--mdg-line); border-radius:18px; background:#fff; box-shadow:0 8px 24px rgb(4 40 61/.06); }
.mdg-v15-card-copy { padding:1rem 1.2rem 1.25rem; }
.mdg-v15-card h3 { font-size:clamp(1.15rem,1.45vw,1.55rem)!important; line-height:1.18; overflow-wrap:normal; word-break:normal; hyphens:auto; }
.mdg-v15-card .wp-block-post-featured-image { aspect-ratio:3/2; overflow:hidden; }
.mdg-v15-card .wp-block-post-featured-image img { width:100%; height:100%; object-fit:cover; }
.mdg-v15-guide { background:linear-gradient(135deg,#fff,#eef8fb); }
.mdg-v15-steps { padding-left:2rem; border-left:4px solid var(--mdg-ink); }
.mdg-v15-steps li { margin:0 0 1rem; padding-left:.5rem; }
.mdg-v15-stats { text-align:center; background:var(--mdg-deep); color:#fff; }
.mdg-stats { display:flex; justify-content:center; gap:clamp(1rem,5vw,5rem); flex-wrap:wrap; }
.mdg-stats strong { display:block; font-size:clamp(2rem,4vw,4rem); }
.mdg-v15-topic { min-height:230px; padding:2rem; border:1px solid var(--mdg-line); border-radius:20px; }
.mdg-v15-topic--dark { background:var(--mdg-deep); color:#fff; }
.mdg-v15-topic--dark a { color:#fff; }
.mdg-article-v15 { padding-block:clamp(2rem,5vw,5rem); }
.mdg-article-head h1 { font-size:clamp(2.5rem,5.5vw,5.5rem)!important; line-height:1.01; letter-spacing:-.035em; }
.mdg-article-deck { color:#496271; line-height:1.55; }
.mdg-article-media { overflow:hidden; border-radius:24px; }
.mdg-article-grid { margin-top:clamp(2rem,4vw,4rem); gap:clamp(2rem,5vw,5rem); }
.mdg-article-main { font-size:1.12rem; line-height:1.8; }
.mdg-article-main .mdg-single-content > p:first-of-type::first-letter { float:left; margin:.08em .12em 0 0; color:var(--mdg-blue); font:700 4.6em/.78 Georgia,serif; }
.mdg-article-aside { position:sticky; top:130px; align-self:flex-start; padding:1.25rem; border:1px solid var(--mdg-line); border-radius:20px; background:#fff; }
.mdg-article-aside .wp-block-post-template { display:block!important; margin:0; padding:0; }
.mdg-article-aside .wp-block-post { margin:0; }
.mdg-aside-card { display:grid; grid-template-columns:92px minmax(0,1fr); gap:.8rem; align-items:start; padding:1rem 0; margin:0; border-bottom:1px solid var(--mdg-line); }
.mdg-aside-card figure { margin:0 0 .6rem; overflow:hidden; border-radius:12px; }
.mdg-aside-card figure { grid-row:1 / span 2; width:92px; margin:0; }
.mdg-aside-card h4 { margin:0; font-size:1rem!important; line-height:1.22; }
.mdg-aside-card .wp-block-post-date { grid-column:2; margin:0; color:var(--mdg-muted); }
.mdg-reading-time { display:inline-flex; margin:.5rem 0 1rem; color:#607482; font-size:.9rem; }
.mdg-ad-slot{display:grid;width:100%;max-width:100%;place-items:center;overflow:hidden;border:1px solid #e1eaed;border-radius:12px;background:#f7fafb;color:#66808b;font-family:var(--wp--preset--font-family--body,Arial,sans-serif);font-size:.62rem;letter-spacing:.08em;text-transform:uppercase;contain:layout paint}
.mdg-ad-slot--banner{min-height:100px}.mdg-ad-slot--rectangle{min-height:280px}.mdg-ad-slot--fluid{min-height:180px}
@media(max-width:600px){.mdg-ad-slot--banner{min-height:72px}.mdg-ad-slot--rectangle{min-height:250px}.mdg-ad-slot--fluid{min-height:140px}}

/* 1.5.1 — correções de leitura, autoria e navegação. */
.mdg-article-main .mdg-author-card {
	display:grid!important;
	grid-template-columns:112px minmax(0,1fr)!important;
	width:100%;
	max-width:100%;
	box-sizing:border-box;
	align-items:center;
}
.mdg-article-main .mdg-author-card > div { min-width:0; width:auto; }
.mdg-article-main .mdg-author-card > p:empty { display:none!important; }
.mdg-article-main .mdg-author-card > div { grid-column:2; grid-row:1; }
.mdg-article-main .mdg-author-card p { max-width:72ch; overflow-wrap:break-word; word-break:normal; }
.mdg-related__grid .mdg-card { min-width:0; }
.mdg-related__grid .mdg-card__media { display:block; aspect-ratio:3/2; overflow:hidden; background:var(--mdg-ice); }
.mdg-related__grid .mdg-card__media img { width:100%; height:100%; object-fit:cover; }
@media(max-width:782px){
 .mdg-home-v15{padding:.75rem}.mdg-v15-hero-cover{min-height:560px!important;border-radius:22px}.mdg-v15-hero-copy{align-self:flex-start;margin:1rem!important}.mdg-v15-pillars .wp-block-columns,.mdg-v15-feed .wp-block-post-template,.mdg-v15-topics .wp-block-columns{display:grid!important;grid-template-columns:1fr!important}.mdg-v15-pillars,.mdg-v15-feed,.mdg-v15-guide,.mdg-v15-stats,.mdg-v15-topics{border-radius:20px;padding:1.1rem}.mdg-v15-card{height:auto}.mdg-article-v15{padding:1.25rem}.mdg-article-head h1{font-size:clamp(2.2rem,11vw,3.4rem)!important}.mdg-article-grid{display:block}.mdg-article-aside{position:static;margin-top:2rem}.mdg-article-media{border-radius:16px}.mdg-share{position:relative;overflow-x:auto}.mdg-byline{gap:.75rem}.mdg-v15-topic{min-height:0}.mdg-article-main .mdg-author-card{grid-template-columns:88px minmax(0,1fr)!important;text-align:left}.mdg-article-main .mdg-author-card>img{width:88px;height:88px;margin:0}.mdg-article-main .mdg-author-card>div{grid-column:2;grid-row:1}.mdg-aside-card{grid-template-columns:112px minmax(0,1fr)}.mdg-aside-card figure{width:112px}}
@media(max-width:520px){.mdg-site-header>.wp-block-group{gap:.35rem}.mdg-site-header .wp-block-site-logo img{width:min(165px,45vw)}.mdg-article-main .mdg-author-card{grid-template-columns:1fr!important;text-align:center}.mdg-article-main .mdg-author-card>img{margin-inline:auto}.mdg-article-main .mdg-author-card>div{grid-column:1;grid-row:auto}.mdg-v15-card h3{font-size:1.25rem!important}.mdg-aside-card{grid-template-columns:92px minmax(0,1fr)}.mdg-aside-card figure{width:92px}}

/* 1.6 — artigo compacto, compartilhamento por ícones e navegação responsiva. */
.mdg-article-v15 { padding-block:clamp(1.5rem,3vw,3rem); }
.mdg-article-head { max-width:860px!important; }
.mdg-article-head h1 { max-width:none; margin-block:.55rem .8rem; font-size:clamp(2.3rem,3.8vw,3.75rem)!important; line-height:1.04; }
.mdg-article-deck { max-width:760px; margin-block:.5rem 1rem; font-size:clamp(1.1rem,1.65vw,1.45rem)!important; line-height:1.45; }
.mdg-byline { margin-bottom:.65rem; padding-bottom:.7rem; }
.mdg-reading-time { margin:.15rem 0 .55rem; }
.mdg-article-media { max-height:min(72vh,760px); }
.mdg-article-media img { width:100%; max-height:min(72vh,760px); object-fit:cover; }
.mdg-article-grid { margin-top:clamp(1.5rem,3vw,3rem); }

.mdg-share { display:flex!important; align-items:center; gap:.5rem; margin-block:.65rem 1rem; overflow:visible!important; }
.mdg-share > span { margin-right:.15rem; font-size:.7rem; }
.mdg-share .mdg-share__icon { display:inline-grid!important; place-items:center; flex:0 0 40px; width:40px; height:40px; min-width:40px; min-height:40px; padding:0!important; border:0!important; border-radius:50%!important; color:#fff!important; box-shadow:0 4px 12px rgb(7 42 64/.12); }
.mdg-share__icon svg { width:20px; height:20px; fill:currentColor; }
.mdg-share__icon--whatsapp { background:#25d366!important; }
.mdg-share__icon--facebook { background:#1877f2!important; }
.mdg-share__icon--x { background:#111!important; }
.mdg-share__icon--telegram { background:#229ed9!important; }
.mdg-share__icon--linkedin { background:#0a66c2!important; }
.mdg-share__icon--copy { background:var(--mdg-deep)!important; }
.mdg-share .mdg-share__icon:hover,.mdg-share .mdg-share__icon:focus-visible { transform:translateY(-2px); filter:brightness(1.08); }

.mdg-article-main .mdg-author-card { grid-template-columns:80px minmax(0,1fr)!important; gap:1rem; margin-block:1.5rem; padding:1rem 1.15rem; }
.mdg-article-main .mdg-author-card > img { width:80px; height:80px; }
.mdg-author-card h2 { margin:.1rem 0; font-size:1.25rem; }
.mdg-author-card__role { margin-top:.05rem!important; font-size:.8rem; }
.mdg-author-card__bio { margin:.35rem 0!important; font-size:.92rem; line-height:1.5; }
.mdg-author-card__more { display:inline-flex; margin-top:.2rem; font-size:.82rem; font-weight:750; }

.mdg-post-nav { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1rem; margin:1rem 0 2rem; }
.mdg-post-nav a { display:flex; min-width:0; min-height:112px; flex-direction:column; justify-content:center; padding:1rem 1.15rem; border:1px solid var(--mdg-line); border-radius:16px; background:#fff; color:var(--mdg-ink); text-decoration:none; }
.mdg-post-nav__next { text-align:right; }
.mdg-post-nav small { color:var(--mdg-muted); font-weight:700; }
.mdg-post-nav strong { display:-webkit-box; margin-top:.35rem; overflow:hidden; font-size:1rem; line-height:1.3; -webkit-box-orient:vertical; -webkit-line-clamp:2; }
.mdg-post-nav a:hover { border-color:var(--mdg-cyan); background:var(--mdg-ice); }

body:is(.blog,.archive,.search) main { padding-inline:max(1rem,3vw); }
body:is(.blog,.archive,.search) main > h1,
body:is(.blog,.archive,.search) .wp-block-query-title { margin-bottom:1.5rem; font-size:clamp(2rem,4vw,3.5rem)!important; }
body:is(.blog,.archive,.search) .wp-block-post-template { gap:1.35rem!important; }
body:is(.blog,.archive,.search) .mdg-query-card > .wp-block-group { min-height:210px; padding:1rem!important; }
body:is(.blog,.archive,.search) .mdg-query-card h2 { margin:.45rem 0; font-size:clamp(1.2rem,1.7vw,1.55rem)!important; line-height:1.2; }
body:is(.blog,.archive,.search) .mdg-query-card .wp-block-post-excerpt { font-size:.93rem; line-height:1.5; }
.wp-block-query-pagination { gap:.4rem; margin-top:2rem; }
.wp-block-query-pagination :where(a,span) { display:inline-grid; min-width:42px; min-height:42px; place-items:center; padding:.45rem .7rem; border:1px solid var(--mdg-line); border-radius:999px; text-decoration:none; }
.wp-block-query-pagination .current { background:var(--mdg-deep); color:#fff; }
@media(max-width:782px){
 .wp-block-query-pagination{display:flex!important;width:100%;align-items:center;justify-content:flex-start!important;flex-wrap:nowrap!important;gap:.3rem!important;margin-top:1rem;padding:.25rem .1rem .55rem;overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-width:none;-webkit-overflow-scrolling:touch}
 .wp-block-query-pagination::-webkit-scrollbar{display:none}
 .wp-block-query-pagination :where(a,span){flex:0 0 auto;min-width:32px;min-height:32px;padding:.25rem .45rem;font-size:.78rem;line-height:1}
 .wp-block-query-pagination :where(.wp-block-query-pagination-previous,.wp-block-query-pagination-next){white-space:nowrap}
}
body:is(.blog,.archive,.search) .wp-block-post-template{align-items:start}.mdg-feed-sentinel{grid-column:1/-1;margin:1.2rem 0 .25rem;padding:.8rem;text-align:center;color:#607781;font-size:.75rem}.mdg-feed-sentinel.is-loading{color:var(--mdg-cyan)}.mdg-feed-sentinel.is-complete{border-top:1px solid var(--mdg-line)}body:is(.blog,.archive,.search) .wp-block-post-template>li:nth-child(7n+1){grid-column:span 2}body:is(.blog,.archive,.search) .wp-block-post-template>li:nth-child(7n+1) .mdg-query-card{display:grid;grid-template-columns:minmax(260px,1.15fr) minmax(250px,.85fr);align-items:stretch}body:is(.blog,.archive,.search) .wp-block-post-template>li:nth-child(7n+1) .mdg-query-card>figure{height:100%;min-height:310px;margin:0}body:is(.blog,.archive,.search) .wp-block-post-template>li:nth-child(7n+1) .mdg-query-card>figure img{height:100%;object-fit:cover}.mdg-feed-card--new{animation:mdg-feed-enter .45s ease both}@keyframes mdg-feed-enter{from{opacity:0;transform:translateY(18px)}}

@media(max-width:782px){
 html.has-modal-open,html.has-modal-open body{overflow:hidden!important}
 .mdg-site-header{z-index:9999!important}
 .mdg-site-header .wp-block-navigation__responsive-container.is-menu-open{position:fixed!important;inset:0!important;width:100vw!important;height:100dvh!important;max-width:none!important;overflow-y:auto!important;margin:0!important;border-radius:0!important;z-index:99999!important}
 .mdg-site-header .wp-block-navigation__responsive-dialog{display:flex!important;min-height:calc(100dvh - 2.5rem);flex-direction:column}
 .mdg-site-header .wp-block-navigation__responsive-container-content{display:flex!important;flex:1;justify-content:center!important;padding-top:3.5rem!important}
 .mdg-site-header .wp-block-navigation__responsive-container-close{position:fixed!important;top:max(1rem,env(safe-area-inset-top));right:max(1rem,env(safe-area-inset-right));color:#fff!important;background:rgb(255 255 255/.12)!important;z-index:100000!important}
 .mdg-site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container{align-items:stretch!important;justify-content:center!important}
 .mdg-site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content{justify-content:center!important;border-bottom:1px solid rgb(255 255 255/.14);font-size:1.08rem!important;text-align:center}
 .mdg-header-search.is-search-open{position:absolute!important;right:0;top:50%;translate:0 -50%;width:calc(100vw - 1.5rem);padding:.25rem;background:#fff;border-radius:999px}
 .mdg-article-v15{padding:1rem!important}
 .mdg-breadcrumbs{margin-bottom:.65rem;font-size:.72rem;line-height:1.35}
 .mdg-article-head h1{max-width:none;margin:.35rem 0 .65rem;font-size:clamp(2rem,8.2vw,2.65rem)!important;line-height:1.04!important;letter-spacing:-.025em}
 .mdg-article-deck{margin:.35rem 0 .8rem;font-size:clamp(1rem,4.6vw,1.18rem)!important;line-height:1.42!important}
 .mdg-byline{display:flex!important;align-items:center!important;flex-direction:row!important;gap:.55rem .85rem!important;margin-bottom:.5rem;padding-bottom:.6rem;font-size:.82rem}
 .mdg-byline__author img{width:36px;height:36px}.mdg-byline__author small{display:none}.mdg-byline time{margin-left:auto;white-space:nowrap;font-size:.76rem}
 .mdg-reading-time{font-size:.78rem}
 .mdg-share{display:flex!important;flex-wrap:nowrap!important;gap:.4rem!important;margin:.5rem 0 .8rem!important;padding:0!important;overflow-x:auto!important}
 .mdg-share>span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
 .mdg-share .mdg-share__icon{flex-basis:38px;width:38px;height:38px;min-width:38px;min-height:38px}
 .mdg-article-media{border-radius:14px;max-height:62vh}.mdg-article-media img{max-height:62vh}
 .mdg-article-main{font-size:1rem;line-height:1.68}.mdg-article-main .mdg-single-content>p:first-of-type::first-letter{font-size:3.8em}
 .mdg-article-main .mdg-author-card{grid-template-columns:64px minmax(0,1fr)!important;gap:.8rem;text-align:left;padding:.85rem;margin-block:1.1rem}
 .mdg-article-main .mdg-author-card>img{width:64px;height:64px;margin:0}.mdg-article-main .mdg-author-card>div{grid-column:2}.mdg-author-card__bio{display:none}.mdg-author-card h2{font-size:1.08rem}.mdg-author-card__label{font-size:.63rem}
 .mdg-post-nav{grid-template-columns:1fr;gap:.65rem;margin:1rem 0 1.5rem}.mdg-post-nav a{min-height:84px;padding:.8rem 1rem}.mdg-post-nav__next{text-align:left}
 body:is(.blog,.archive,.search) .wp-block-post-template{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 body:is(.blog,.archive,.search) .mdg-query-card> .wp-block-group{min-height:0}.wp-block-query-pagination{flex-wrap:wrap}
}
@media(max-width:540px){
 .mdg-site-header .wp-block-site-logo img{width:min(150px,42vw)!important}.mdg-site-header>.wp-block-group{gap:.2rem!important}
 body:is(.blog,.archive,.search) .wp-block-post-template{grid-template-columns:1fr!important}
 body:is(.blog,.archive,.search) .mdg-query-card{display:grid;grid-template-columns:120px minmax(0,1fr)}
 body:is(.blog,.archive,.search) .mdg-query-card>figure{height:100%;min-height:170px}body:is(.blog,.archive,.search) .mdg-query-card>figure img{height:100%;object-fit:cover}
 body:is(.blog,.archive,.search) .mdg-query-card h2{font-size:1.15rem!important}
}

/* 1.7 — pesquisa modal segura e home editorial dinâmica. */
.mdg-search-close { display:none; border:0; background:transparent; color:var(--mdg-ink); cursor:pointer; font:400 2rem/1 sans-serif; }
.mdg-slider,.mdg-rail { position:relative; width:min(100% - 2rem,var(--wp--style--global--wide-size)); margin:1.1rem auto; overflow:hidden; border:1px solid var(--mdg-line); border-radius:28px; background:#fff; box-shadow:var(--mdg-shadow); }
.mdg-slider__track { position:relative; min-height:clamp(430px,56vw,620px); }
.mdg-slider__slide { position:absolute; inset:0; visibility:hidden; opacity:0; transition:opacity .45s ease,visibility .45s; }
.mdg-slider__slide.is-active { visibility:visible; opacity:1; z-index:1; }
.mdg-slider__slide>img { width:100%; height:100%; object-fit:cover; }
.mdg-slider__shade { position:absolute; inset:0; background:linear-gradient(90deg,rgb(3 28 43/.9) 0%,rgb(3 28 43/.58) 52%,rgb(3 28 43/.12) 100%); }
.mdg-slider__copy { position:absolute; z-index:2; left:clamp(1.25rem,5vw,4.5rem); bottom:clamp(2.5rem,7vw,6rem); width:min(720px,82%); color:#fff; }
.mdg-slider__copy>span { font-size:.75rem; font-weight:800; letter-spacing:.1em; text-transform:uppercase; }
.mdg-slider__copy h1 { margin:.55rem 0; font-size:clamp(2.25rem,4.8vw,4.8rem)!important; line-height:1; }
.mdg-slider__copy h1 a { color:#fff; text-decoration:none; }
.mdg-slider__copy p { max-width:62ch; font-size:clamp(1rem,1.35vw,1.2rem); line-height:1.55; }
.mdg-slider__cta { display:inline-flex; min-height:44px; align-items:center; margin-top:.4rem; padding:.65rem 1rem; border-radius:999px; background:var(--mdg-cyan); color:var(--mdg-deep); font-weight:800; text-decoration:none; }
.mdg-slider__controls { position:absolute; z-index:4; right:1.25rem; bottom:1.25rem; display:flex; align-items:center; gap:.45rem; }
.mdg-slider__controls button,.mdg-rail__controls button { display:grid; width:42px; height:42px; place-items:center; padding:0; border:1px solid rgb(255 255 255/.5); border-radius:50%; background:rgb(3 28 43/.72); color:#fff; cursor:pointer; }
.mdg-slider__dots { display:flex; gap:.35rem; }
.mdg-slider__dots button { width:10px; height:10px; min-width:10px; min-height:10px; border:0; background:rgb(255 255 255/.52); }
.mdg-slider__dots button[aria-current="true"] { width:28px; border-radius:999px; background:#fff; }

.mdg-rail { padding:clamp(1.1rem,3vw,2.25rem); }
.mdg-rail>header { display:flex; align-items:end; justify-content:space-between; gap:1rem; margin-bottom:1.25rem; }
.mdg-rail>header span { color:var(--mdg-blue); font-size:.72rem; font-weight:800; letter-spacing:.1em; text-transform:uppercase; }
.mdg-rail>header h2 { margin:.25rem 0 0; }
.mdg-rail__viewport { display:flex; gap:1.1rem; overflow-x:auto; overscroll-behavior-inline:contain; scroll-snap-type:x mandatory; scrollbar-width:thin; padding-bottom:.65rem; }
.mdg-rail__card { flex:0 0 clamp(250px,27vw,350px); scroll-snap-align:start; overflow:hidden; border:1px solid var(--mdg-line); border-radius:18px; background:#fff; }
.mdg-rail__card>a { display:block; aspect-ratio:3/2; overflow:hidden; background:var(--mdg-ice); }
.mdg-rail__card img { width:100%; height:100%; object-fit:cover; transition:transform .3s ease; }
.mdg-rail__card:hover img { transform:scale(1.03); }
.mdg-rail__card>div { padding:1rem; }
.mdg-rail__card span { color:var(--mdg-muted); font-size:.74rem; }
.mdg-rail__card h3 { margin:.4rem 0 0; font-size:1.2rem; line-height:1.22; }
.mdg-rail__card h3 a { color:var(--mdg-ink); text-decoration:none; }
.mdg-rail__controls { display:flex; justify-content:flex-end; gap:.45rem; margin-top:.8rem; }
.mdg-rail__controls button { border-color:var(--mdg-line); background:var(--mdg-deep); }

@media(max-width:960px){
 html.mdg-search-open,html.mdg-search-open body{overflow:hidden!important}
 .mdg-header-search.is-search-open{position:fixed!important;inset:0 0 auto 0!important;translate:none!important;display:flex!important;width:100vw!important;height:calc(74px + env(safe-area-inset-top))!important;align-items:center;gap:.45rem;padding:max(.65rem,env(safe-area-inset-top)) .75rem .65rem!important;background:#fff!important;border:0!important;border-bottom:1px solid var(--mdg-line)!important;border-radius:0!important;box-shadow:0 8px 30px rgb(3 28 43/.18);z-index:100002!important}
 .mdg-header-search.is-search-open .wp-block-search__inside-wrapper{flex:1;width:auto!important;min-width:0!important}
 .mdg-header-search.is-search-open .wp-block-search__input{width:100%!important;min-width:0!important;opacity:1!important;padding:.65rem .9rem!important}
 .mdg-header-search.is-search-open .mdg-search-close{display:grid;flex:0 0 44px;width:44px;height:44px;place-items:center;border-radius:50%;background:var(--mdg-ice)}
 html.has-modal-open .mdg-header-search{display:none!important}
}
@media(max-width:782px){
 .mdg-slider,.mdg-rail{width:calc(100% - 1.5rem);border-radius:20px}
 .mdg-slider__track{min-height:520px}.mdg-slider__shade{background:linear-gradient(0deg,rgb(3 28 43/.92),rgb(3 28 43/.12) 78%)}
 .mdg-slider__copy{left:1.1rem;right:1.1rem;bottom:5rem;width:auto}.mdg-slider__copy h1{font-size:clamp(2rem,9vw,2.75rem)!important;line-height:1.03}.mdg-slider__copy p{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:3}
 .mdg-slider__controls{right:1rem;bottom:1rem}.mdg-slider__controls button{width:40px;height:40px}
 .mdg-rail>header{align-items:flex-start}.mdg-rail>header h2{font-size:1.65rem}.mdg-rail__card{flex-basis:min(82vw,310px)}
}
@media(max-width:420px){.mdg-slider__dots{display:none}.mdg-slider__copy h1{font-size:clamp(1.8rem,8.7vw,2.35rem)!important}.mdg-slider__track{min-height:500px}.mdg-slider__copy p{font-size:.95rem}.mdg-rail>header{display:block}.mdg-rail>header>a{display:inline-flex;margin-top:.5rem}}
@media(prefers-reduced-motion:reduce){.mdg-slider__slide,.mdg-rail__card img{transition:none}.mdg-rail__viewport{scroll-behavior:auto}}

/* 1.7.1 — limites rígidos para telas estreitas e leitura desktop. */
.mdg-article-media { width:min(100% - 2rem,1080px)!important; max-height:560px; margin-inline:auto!important; }
.mdg-article-media img { width:100%; max-height:560px; object-fit:cover; }
.mdg-article-grid { width:min(100% - 2rem,1120px)!important; max-width:1120px!important; margin-inline:auto!important; padding-inline:clamp(.25rem,1.5vw,1rem); box-sizing:border-box; }
.mdg-article-main { min-width:0; }
.mdg-article-aside { min-width:280px; }
.mdg-aside-card { grid-template-columns:86px minmax(0,1fr); }
.mdg-aside-card figure { width:86px; }
.mdg-aside-card h4,.mdg-aside-card h4 a { overflow-wrap:normal!important; word-break:normal!important; hyphens:auto; }
.mdg-aside-card h4 { display:-webkit-box; max-height:3.75em; overflow:hidden; font-family:var(--wp--preset--font-family--body,Arial,sans-serif); font-size:.9rem!important; font-weight:750; line-height:1.25; -webkit-box-orient:vertical; -webkit-line-clamp:3; }

@media(max-width:782px){
 .mdg-slider__track{min-height:460px}
 .mdg-slider__copy{top:auto!important;bottom:4.6rem!important;max-height:calc(100% - 5.5rem);overflow:hidden}
 .mdg-slider__copy>span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.68rem}
 .mdg-slider__copy h1{display:-webkit-box;max-width:100%;margin:.35rem 0;font-size:clamp(1.55rem,7vw,2rem)!important;line-height:1.06!important;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:4}
 .mdg-slider__copy p{display:-webkit-box;margin:.4rem 0;font-size:.9rem;line-height:1.4;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2}
 .mdg-slider__cta{min-height:40px;padding:.5rem .8rem;font-size:.85rem}
 .mdg-slider__controls{right:.75rem;bottom:.75rem}.mdg-slider__controls button{width:38px;height:38px}

 html.has-modal-open,html.has-modal-open body{width:100%!important;max-width:100%!important;overflow:hidden!important}
 html.has-modal-open body .mdg-site-header .wp-block-navigation__responsive-container.is-menu-open{position:fixed!important;inset:0!important;width:100%!important;max-width:100%!important;height:100dvh!important;max-height:100dvh!important;margin:0!important;padding:0!important;overflow-x:hidden!important;overflow-y:auto!important;box-sizing:border-box!important}
 html.has-modal-open body .mdg-site-header .wp-block-navigation__responsive-container.is-menu-open *{max-width:100%;box-sizing:border-box}
 html.has-modal-open body .mdg-site-header .wp-block-navigation__responsive-dialog{width:100%!important;min-height:100%!important;margin:0!important;padding:78px 1rem 1.25rem!important;overflow:visible!important}
 html.has-modal-open body .mdg-site-header .wp-block-navigation__responsive-container-content{display:block!important;width:100%!important;padding:0!important}
 html.has-modal-open body .mdg-site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container{display:block!important;width:100%!important;margin:0!important;padding:0!important}
 html.has-modal-open body .mdg-site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item{display:block!important;width:100%!important;min-height:0!important;margin:0!important;padding:0!important}
 html.has-modal-open body .mdg-site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content{display:flex!important;width:100%!important;min-height:58px!important;height:auto!important;align-items:center!important;justify-content:center!important;padding:.75rem .5rem!important;border:0!important;border-bottom:1px solid rgb(255 255 255/.14)!important;font-size:1.05rem!important;line-height:1.25!important;text-align:center!important}
 html.has-modal-open body .mdg-site-header .wp-block-navigation__responsive-container-close{position:fixed!important;top:max(.75rem,env(safe-area-inset-top))!important;right:max(.75rem,env(safe-area-inset-right))!important;left:auto!important;width:46px!important;height:46px!important;margin:0!important;padding:0!important;translate:none!important;transform:none!important;display:grid!important;place-items:center!important;border-radius:50%!important;z-index:100003!important}
 html.has-modal-open body .mdg-site-header .wp-block-navigation__responsive-container-close svg{width:24px!important;height:24px!important}
 html.has-modal-open body .mdg-site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-site-logo img{width:min(190px,55vw)!important;max-height:56px!important;filter:brightness(0) invert(1)!important}

 html.mdg-search-open .mdg-header-search.is-search-open{inset:0 0 auto 0!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important;overflow:hidden!important}
 html.mdg-search-open .mdg-header-search.is-search-open .wp-block-search__inside-wrapper{flex:1 1 auto!important;width:auto!important;max-width:calc(100% - 52px)!important;box-sizing:border-box!important}
 html.mdg-search-open .mdg-header-search.is-search-open .wp-block-search__input{font-size:16px!important}
 html.mdg-search-open .mdg-header-search.is-search-open .wp-block-search__button{flex:0 0 42px!important;width:42px!important;min-width:42px!important;height:42px!important}
 html.mdg-search-open .mdg-header-search.is-search-open .mdg-search-close{position:static!important;flex:0 0 42px!important;width:42px!important;min-width:42px!important;height:42px!important;margin:0!important;translate:none!important;transform:none!important}

 .mdg-article-media{width:100%!important;max-height:52vh;margin-inline:0!important}.mdg-article-media img{max-height:52vh}
 .mdg-article-grid{width:100%!important;padding-inline:0}.mdg-article-aside{min-width:0}
}
@media(max-width:420px){
 .mdg-slider__track{min-height:430px}.mdg-slider__copy{left:.9rem;right:.9rem;bottom:4.2rem!important}.mdg-slider__copy h1{font-size:clamp(1.4rem,6.8vw,1.75rem)!important;-webkit-line-clamp:4}.mdg-slider__copy p{display:none}.mdg-slider__cta{margin-top:.55rem}
 html.has-modal-open body .mdg-site-header .wp-block-navigation__responsive-dialog{padding-top:70px!important}
}

/* 1.7.8: densidade de aplicativo no mobile e feed editorial progressivo. */
@media(max-width:680px){
 .mdg-headline-ticker--top{padding:.55rem 12px}.mdg-headline-ticker--top .mdg-headline-ticker__track a{font-size:.68rem}
 .mdg-home-recent{padding-top:1.8rem;padding-bottom:2rem}.mdg-home-recent__tabs{margin-bottom:1rem}.mdg-home-recent__stage{min-height:360px;border-radius:14px}.mdg-home-recent__slide-copy{bottom:1rem}.mdg-home-recent__slide-copy strong{font-size:1.35rem}.mdg-home-recent__controls{bottom:calc(100% - 350px)}.mdg-home-recent__titles button{flex-basis:min(72vw,270px);padding:.65rem}.mdg-home-recent__titles button strong{font-size:.86rem}
 .mdg-home-recent+.mdg-home-hero{margin-top:1.5rem}.mdg-home-hero .mdg-slider{height:410px}.mdg-home-hero__side{grid-template-columns:1fr 1fr}.mdg-home-overlay--side,.mdg-event-briefing{height:205px;min-height:205px;border-radius:14px}.mdg-event-briefing{padding:.85rem}.mdg-event-briefing header strong{font-size:.84rem}.mdg-event-briefing__slide h2{font-size:.96rem;-webkit-line-clamp:3}.mdg-event-briefing__slide p{display:none}.mdg-event-briefing footer{padding-top:.35rem}.mdg-event-briefing footer button{width:30px;height:30px}
 .mdg-home-featured-rail .mdg-rail__card{flex-basis:min(76vw,285px)}.mdg-home-category{padding-block:2.4rem}.mdg-home-category__lead-image{height:330px}.mdg-home-overlay--compact{min-height:205px}.mdg-home-topic{padding:1rem;border-radius:16px}.mdg-home-topic-card__image{aspect-ratio:16/8.5}.mdg-home-authors{padding-bottom:2.5rem}
 body:is(.blog,.archive,.search) .wp-block-post-template>li:nth-child(7n+1){grid-column:span 1}body:is(.blog,.archive,.search) .wp-block-post-template>li:nth-child(7n+1) .mdg-query-card,body:is(.blog,.archive,.search) .mdg-query-card{display:grid;grid-template-columns:96px minmax(0,1fr)}body:is(.blog,.archive,.search) .wp-block-post-template>li:nth-child(7n+1) .mdg-query-card>figure,body:is(.blog,.archive,.search) .mdg-query-card>figure{height:100%;min-height:138px;margin:0}body:is(.blog,.archive,.search) .mdg-query-card>.wp-block-group{padding:.8rem!important}body:is(.blog,.archive,.search) .mdg-query-card h2{font-size:1rem!important;line-height:1.12}body:is(.blog,.archive,.search) .mdg-query-card .wp-block-post-excerpt{display:none}.mdg-feed-sentinel{padding:.65rem;font-size:.69rem}
}
@media(max-width:430px){.mdg-home-hero__side{grid-template-columns:1fr}.mdg-home-overlay--side,.mdg-event-briefing{height:185px;min-height:185px}.mdg-home-overlay--side .mdg-home-overlay__copy strong{font-size:.95rem}.mdg-event-briefing__slide p{display:-webkit-box}.mdg-home-category__lead-image{height:290px}}

/* 1.7.9: ajustes após inspeção das duas larguras. */
.mdg-home-topic-card time{display:block;margin-top:.55rem;color:#6d818a;font-size:.7rem}
.mdg-home-topic__more time{grid-column:1;color:#6d818a;font-size:.65rem}.mdg-home-topic__more span{grid-row:1/4}
@media(max-width:680px){
 .mdg-headline-ticker--top{gap:.75rem}.mdg-headline-ticker--top>strong{display:block!important;flex:0 0 auto;font-family:var(--wp--preset--font-family--heading,Georgia,serif);font-size:.59rem}.mdg-headline-ticker--top .mdg-headline-ticker__viewport{mask-image:linear-gradient(90deg,#000 0,#000 96%,transparent)}
 .mdg-home-recent__slide-copy{bottom:4.75rem;gap:.3rem}.mdg-home-recent__slide-copy strong{font-size:clamp(1.22rem,5.8vw,1.5rem);line-height:1.08;-webkit-line-clamp:3;display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden}.mdg-home-recent__slide-copy em{font-size:.67rem}.mdg-home-recent__controls{right:.65rem;bottom:calc(100% - 350px)}
 .mdg-home-recent__titles{scroll-snap-type:x mandatory;scrollbar-width:none}.mdg-home-recent__titles::-webkit-scrollbar{display:none}.mdg-home-recent__titles button{scroll-snap-align:center;flex-basis:min(68vw,250px)}
 .mdg-home-hero__side{align-items:stretch}.mdg-home-overlay--side,.mdg-event-briefing{height:280px;min-height:280px}.mdg-event-briefing{grid-template-rows:auto 1fr auto}.mdg-event-briefing__track{display:grid;grid-template-rows:1fr 1fr;gap:.35rem}.mdg-event-briefing__slide{position:relative;inset:auto;display:none;min-height:0;padding:.35rem 0;transform:none}.mdg-event-briefing__slide.is-active,.mdg-event-briefing__slide.is-next{display:flex;opacity:1;visibility:visible}.mdg-event-briefing__slide.is-next{border-top:1px solid rgb(105 214 237/.16)}.mdg-event-briefing__slide small{font-size:.53rem}.mdg-event-briefing__slide h2{margin:.25rem 0;font-size:.82rem;line-height:1.08;-webkit-line-clamp:2}.mdg-event-briefing__slide p{display:none}.mdg-event-briefing footer{padding-top:.3rem}
}
@media(max-width:430px){.mdg-home-overlay--side{height:190px;min-height:190px}.mdg-event-briefing{height:290px;min-height:290px}.mdg-event-briefing__slide h2{font-size:.88rem}}

/* 1.8.0: navegação persistente, rodapé em duas colunas e maior densidade editorial. */
.mdg-site-header{position:sticky!important;top:0!important;z-index:9998!important}.admin-bar .mdg-site-header{top:32px!important}
.mdg-site-header .wp-block-navigation-item__content::after{display:none!important}.mdg-site-header .wp-block-navigation-item__content{transition:color .2s ease}.mdg-site-header .wp-block-navigation-item__content:hover,.mdg-site-header .wp-block-navigation-item__content:focus-visible,.mdg-site-header .current-menu-item>.wp-block-navigation-item__content{color:var(--mdg-cyan)!important}
.mdg-site-footer .wp-block-columns{gap:clamp(2rem,4vw,4rem)}.mdg-site-footer a{color:inherit;text-decoration:none!important;transition:color .2s ease}.mdg-site-footer a:hover,.mdg-site-footer a:focus-visible,.mdg-site-footer a:active{color:#69d6ed!important;text-decoration:none!important}.mdg-footer-editorial{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(1.25rem,3vw,2.5rem)}.mdg-footer-editorial h3{margin:0 0 .85rem;color:#fff;font-size:1rem}.mdg-footer-editorial ul{display:grid;gap:.55rem;margin:0;padding:0;list-style:none}.mdg-footer-editorial li{margin:0;padding:0}.mdg-footer-editorial a{display:inline-block;padding:.08rem 0;color:rgb(255 255 255/.76);font-size:.8rem;line-height:1.35}
body:is(.blog,.archive,.search) .wp-block-post-template{gap:.9rem!important}body:is(.blog,.archive,.search) .mdg-query-card>.wp-block-group{min-height:170px;padding:.85rem!important}body:is(.blog,.archive,.search) .mdg-query-card h2{margin:.3rem 0;font-size:clamp(1.05rem,1.45vw,1.35rem)!important;line-height:1.15}body:is(.blog,.archive,.search) .mdg-query-card .wp-block-post-excerpt{display:-webkit-box;overflow:hidden;font-size:.84rem;line-height:1.4;-webkit-box-orient:vertical;-webkit-line-clamp:3}body:is(.blog,.archive,.search) .wp-block-post-template>li:nth-child(7n+1) .mdg-query-card>figure{min-height:245px}.mdg-feed-sentinel{margin:.7rem 0 0;padding:.65rem}
.mdg-event-briefing__track{margin:.4rem 0}.mdg-event-briefing__slide{padding:.75rem 0}.mdg-event-briefing__slide small{line-height:1.35}.mdg-event-briefing__slide h2{margin:.65rem 0}.mdg-event-briefing footer{padding-top:.8rem}
@media(max-width:782px){.admin-bar .mdg-site-header{top:46px!important}.mdg-site-footer .wp-block-columns{gap:1.75rem}.mdg-footer-editorial{gap:1rem}.mdg-footer-editorial a{font-size:.78rem}}
@media(max-width:600px){.admin-bar .mdg-site-header{top:0!important}.mdg-footer-editorial{grid-template-columns:1fr 1fr}.mdg-site-footer .wp-block-columns{gap:1.5rem}body:is(.blog,.archive,.search) .wp-block-post-template{gap:.65rem!important}body:is(.blog,.archive,.search) .mdg-query-card>.wp-block-group{min-height:0;padding:.7rem!important}.mdg-event-briefing__track{margin:.55rem 0}.mdg-event-briefing__slide{padding:.55rem 0}.mdg-event-briefing footer{padding-top:.45rem}}

/* 1.8.1: duas manchetes completas, com hierarquia tipográfica mais leve. */
@media(max-width:680px){.mdg-event-briefing{height:330px;min-height:330px}.mdg-event-briefing__track{grid-template-rows:repeat(2,minmax(0,1fr));gap:.55rem;overflow:visible}.mdg-event-briefing__slide{justify-content:center;overflow:hidden;padding:.6rem 0}.mdg-event-briefing__slide.is-next{padding-top:.75rem}.mdg-event-briefing__slide h2{display:-webkit-box;max-height:2.36em;margin:.35rem 0 0;font-size:.78rem;font-weight:600;line-height:1.18;-webkit-box-orient:vertical;-webkit-line-clamp:2}.mdg-event-briefing__slide small{font-size:.52rem;font-weight:750;line-height:1.3}.mdg-event-briefing footer{padding-top:.55rem}}
@media(max-width:430px){.mdg-event-briefing{height:340px;min-height:340px}.mdg-event-briefing__slide h2{font-size:.8rem;font-weight:600}}

/* 1.8.5: transição limpa no briefing e imagens internas na medida editorial. */
@media(min-width:783px){
 .mdg-article-main .mdg-single-content>.wp-block-image,
 .mdg-article-main .mdg-single-content>.waad-news-figure{width:min(100%,760px);margin:2rem auto}
 .mdg-article-main .mdg-single-content>.wp-block-image img,
 .mdg-article-main .mdg-single-content>.waad-news-figure img{display:block;width:100%;max-height:570px;object-fit:contain}
}
@media(max-width:680px){
 .mdg-event-briefing{height:372px;min-height:372px}
 .mdg-event-briefing__track{position:relative;grid-template-rows:repeat(2,minmax(0,1fr));gap:1px;overflow:hidden;background:linear-gradient(to bottom,transparent calc(50% - .5px),rgb(105 214 237/.16) calc(50% - .5px),rgb(105 214 237/.16) calc(50% + .5px),transparent calc(50% + .5px))}
 .mdg-event-briefing__slide{display:none!important;min-width:0;padding:.72rem 0!important;opacity:1;visibility:visible;transform:none;transition:none}
 .mdg-event-briefing__slide.is-active,.mdg-event-briefing__slide.is-next{display:flex!important}
 .mdg-event-briefing__slide.is-next{border-top:0}
 .mdg-event-briefing__slide h2{display:-webkit-box;max-height:3.6em;margin:.35rem 0 0;font-size:.76rem;font-weight:580;line-height:1.2;-webkit-box-orient:vertical;-webkit-line-clamp:3}
 .mdg-event-briefing__slide h2 a{overflow-wrap:anywhere}
}
@media(max-width:430px){.mdg-event-briefing{height:380px;min-height:380px}.mdg-event-briefing__slide h2{font-size:.77rem;font-weight:580}}

/* 1.8.2: footer em três níveis, com compromissos, navegação e nuvem de tags. */
.mdg-site-footer{overflow:hidden;border-top:0;background:#071f2c!important}.mdg-footer-promises{margin-inline:calc(-1 * var(--wp--preset--spacing--30,1.5rem))!important;padding:1.15rem var(--wp--preset--spacing--30,1.5rem);border-top:4px solid var(--mdg-cyan);border-bottom:1px solid rgb(255 255 255/.09);background:#0a2938}.mdg-footer-promises>.wp-block-columns{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:0!important;margin:0 auto!important}.mdg-footer-promises .wp-block-column{display:grid;gap:.2rem;padding:.35rem clamp(1rem,3vw,2.3rem);border-right:1px solid rgb(255 255 255/.1)}.mdg-footer-promises .wp-block-column:last-child{border-right:0}.mdg-footer-promises strong{color:#fff;font-size:.68rem;font-weight:850;letter-spacing:.055em}.mdg-footer-promises span{color:rgb(255 255 255/.58);font-size:.7rem;line-height:1.35}
.mdg-footer-main{display:grid!important;grid-template-columns:1.05fr 1.15fr .82fr .82fr;gap:clamp(1.8rem,3vw,3.4rem)!important;margin-block:clamp(2.5rem,5vw,4.5rem)!important}.mdg-footer-main>.wp-block-column{width:auto!important;min-width:0;flex-basis:auto!important}.mdg-footer-brand .wp-block-site-tagline{margin:.8rem 0 .45rem;font-family:var(--wp--preset--font-family--heading,Georgia,serif);font-size:1.05rem;font-weight:750}.mdg-footer-brand p{max-width:34ch;margin:.55rem 0;color:rgb(255 255 255/.62);line-height:1.55}.mdg-footer-editorial{gap:1.5rem}.mdg-footer-editorial h3,.mdg-footer-tags h3,.mdg-footer-social h3,.mdg-footer-follow>h3{margin:0 0 .85rem;color:#fff;font-size:.75rem!important;font-weight:850;letter-spacing:.055em;text-transform:uppercase}.mdg-footer-editorial ul{gap:.52rem}.mdg-footer-editorial a,.mdg-footer-links a{color:rgb(255 255 255/.62);font-size:.76rem}.mdg-footer-links{display:grid;gap:.45rem;margin:0;padding:0;list-style:none}
.mdg-footer-tags>div{display:flex;flex-wrap:wrap;gap:.42rem}.mdg-footer-tags a{padding:.33rem .48rem;border:1px solid rgb(255 255 255/.14);border-radius:3px;color:rgb(255 255 255/.58);font-size:.64rem;line-height:1.2}.mdg-footer-tags a:hover,.mdg-footer-tags a:focus-visible{border-color:#69d6ed;color:#69d6ed!important}.mdg-footer-social p{margin:0 0 .85rem;color:rgb(255 255 255/.58);font-size:.72rem;line-height:1.45}.mdg-footer-social>div{display:flex;flex-wrap:wrap;gap:.42rem;margin-bottom:1.5rem}.mdg-footer-social a{padding:.38rem .58rem;border:1px solid rgb(255 255 255/.14);border-radius:999px;color:#fff;font-size:.65rem;font-weight:750}.mdg-footer-bottom{padding-top:1.15rem;border-top:1px solid rgb(255 255 255/.1)}.mdg-footer-bottom p{margin:0;color:rgb(255 255 255/.48);font-size:.68rem!important}
@media(max-width:960px){.mdg-footer-main{grid-template-columns:repeat(2,minmax(0,1fr));gap:2rem!important}.mdg-footer-promises>.wp-block-columns{grid-template-columns:1fr}.mdg-footer-promises .wp-block-column{border-right:0;border-bottom:1px solid rgb(255 255 255/.08);padding:.65rem 1rem}.mdg-footer-promises .wp-block-column:last-child{border-bottom:0}}
@media(max-width:600px){.mdg-site-footer{padding-inline:1rem!important}.mdg-footer-promises{margin-inline:-1rem!important;padding-inline:.65rem}.mdg-footer-main{grid-template-columns:1fr;gap:2rem!important;margin-block:2.4rem!important}.mdg-footer-editorial{grid-template-columns:1fr 1fr}.mdg-footer-brand p{max-width:none}.mdg-footer-bottom{display:grid!important;gap:.35rem;text-align:left}.mdg-footer-tags>div{gap:.38rem}.mdg-footer-tags a{font-size:.62rem}}

/* 1.8.3: alinhamento, tipografia e altura corrigidos a partir do print real. */
.mdg-site-footer :where(h2,h3,h4,strong,a,span,p){font-family:var(--wp--preset--font-family--body,Arial,sans-serif)}.mdg-footer-main{grid-template-columns:1.12fr 1.62fr 1.05fr .9fr;align-items:start;gap:clamp(1.5rem,2.5vw,2.75rem)!important;margin-block:clamp(2.4rem,4vw,3.5rem) clamp(2rem,3vw,2.8rem)!important}.mdg-footer-editorial{grid-template-columns:.8fr 1.2fr;gap:clamp(1rem,2vw,1.7rem)}.mdg-footer-editorial h3,.mdg-footer-tags h3,.mdg-footer-social h3,.mdg-footer-follow>h3{font-family:var(--wp--preset--font-family--body,Arial,sans-serif)!important;font-size:.69rem!important;font-weight:850;line-height:1.2}.mdg-footer-editorial ul{gap:.38rem}.mdg-footer-editorial a,.mdg-footer-links a{font-size:.73rem;line-height:1.3}.mdg-footer-social>div{margin-bottom:1.05rem}.mdg-footer-follow>h3{margin-top:.15rem}.mdg-footer-links{gap:.35rem}.mdg-footer-bottom{padding-top:.9rem;padding-bottom:.1rem}
.mdg-footer-promises .wp-block-column{position:relative;grid-template-columns:36px 1fr;grid-template-rows:auto auto;column-gap:.75rem;padding:.45rem clamp(.85rem,2vw,1.6rem)}.mdg-footer-promises .wp-block-column::before{display:grid;grid-row:1/3;width:32px;height:32px;place-items:center;align-self:center;border:1px solid rgb(105 214 237/.42);border-radius:50%;color:#69d6ed;font-size:.9rem;font-weight:800;content:"✓"}.mdg-footer-promises .wp-block-column:nth-child(2)::before{content:"↻"}.mdg-footer-promises .wp-block-column:nth-child(3)::before{content:"◇"}.mdg-footer-promises strong,.mdg-footer-promises span{grid-column:2}.mdg-footer-promises strong{align-self:end;font-size:.64rem}.mdg-footer-promises span{align-self:start;font-size:.66rem}.mdg-footer-tags a{font-size:.61rem}.mdg-footer-brand .wp-block-site-tagline{font-family:var(--wp--preset--font-family--body,Arial,sans-serif);font-size:.9rem}.mdg-footer-brand p{font-size:.75rem!important;line-height:1.48}
@media(max-width:960px){.mdg-footer-main{grid-template-columns:repeat(2,minmax(0,1fr));gap:1.8rem!important}.mdg-footer-promises .wp-block-column{grid-template-columns:34px 1fr;padding:.55rem .8rem}.mdg-footer-promises .wp-block-column::before{width:30px;height:30px}}
@media(max-width:600px){.mdg-footer-main{grid-template-columns:1fr;gap:1.65rem!important;margin-block:2rem!important}.mdg-footer-editorial{grid-template-columns:.9fr 1.1fr;gap:.8rem}.mdg-footer-promises .wp-block-column{padding:.6rem .45rem}.mdg-footer-promises strong{font-size:.61rem}.mdg-footer-promises span{font-size:.63rem}.mdg-footer-bottom{text-align:center}.mdg-footer-bottom p{width:100%}.mdg-footer-brand .wp-block-site-logo img{width:min(205px,62vw)}}

/* 1.8.4: todos os títulos partem da mesma linha no desktop. */
.mdg-footer-main>.wp-block-column,.mdg-footer-main .wp-block-shortcode,.mdg-footer-editorial,.mdg-footer-tags,.mdg-footer-social{align-self:start!important;margin-block:0!important;padding-top:0!important}.mdg-footer-editorial>div,.mdg-footer-tags,.mdg-footer-social{margin-top:0!important}.mdg-footer-editorial h3,.mdg-footer-tags h3,.mdg-footer-social h3,.mdg-footer-follow>h3{display:flex;min-height:1.2em;align-items:flex-start;margin-top:0!important;margin-bottom:.85rem!important;white-space:nowrap}.mdg-footer-follow>h3{margin-top:.15rem!important}
@media(max-width:600px){.mdg-footer-editorial h3,.mdg-footer-tags h3,.mdg-footer-social h3,.mdg-footer-follow>h3{white-space:normal}}

/* 1.8.6: briefing equilibrado em desktop e mobile. */
@media(min-width:681px){
 .mdg-event-briefing{padding:clamp(1rem,1.4vw,1.25rem)}
 .mdg-event-briefing header{padding-bottom:.65rem}
 .mdg-event-briefing__track{margin:.25rem 0}
 .mdg-event-briefing__slide{justify-content:center;padding:.5rem 0}
 .mdg-event-briefing__slide h2{max-height:5.8em;margin:.4rem 0;font-size:clamp(.9rem,1.05vw,1.12rem);font-weight:680;line-height:1.16;-webkit-line-clamp:5}
 .mdg-event-briefing__slide p{font-size:.67rem;line-height:1.32;-webkit-line-clamp:2}
 .mdg-event-briefing footer{padding-top:.55rem}
}
@media(max-width:680px){
 .mdg-event-briefing{height:330px;min-height:330px;padding:.9rem}
 .mdg-event-briefing header{padding-bottom:.55rem}
 .mdg-event-briefing__track{display:flex;flex-direction:column;gap:0;margin:.3rem 0;background:none}
 .mdg-event-briefing__slide{flex:1 1 50%;justify-content:flex-start;padding:.55rem 0!important}
 .mdg-event-briefing__slide.is-next{border-top:1px solid rgb(105 214 237/.16)}
 .mdg-event-briefing__slide h2{max-height:3.6em;margin:.28rem 0 0;font-size:.76rem;font-weight:560;line-height:1.2;-webkit-line-clamp:3}
 .mdg-event-briefing footer{padding-top:.4rem}
}
@media(max-width:430px){
 .mdg-event-briefing{height:324px;min-height:324px}
 .mdg-event-briefing__slide h2{font-size:.75rem;font-weight:560}
}

/* 1.9.2 — cabeçalho estável e pesquisa em painel abaixo do header. */
.mdg-site-header .wp-block-group:has(> .mdg-header-search){position:static!important}
.mdg-header-search{display:flex!important;width:44px!important;min-width:44px!important;justify-self:end;z-index:1002}
.mdg-header-search .wp-block-search__inside-wrapper{width:44px!important;min-width:44px!important;height:44px;transition:none!important}
.mdg-header-search .wp-block-search__input{width:0!important;min-width:0!important;padding-inline:0!important;border:0!important;opacity:0!important;pointer-events:none}
.mdg-header-search .wp-block-search__button{flex:0 0 42px;width:42px!important;min-width:42px!important;height:42px;margin:0!important;padding:0!important}
.mdg-header-search>.mdg-search-close{display:none}
html.mdg-search-open .mdg-site-header .mdg-header-search.is-search-open{position:absolute!important;inset:100% 0 auto 0!important;translate:none!important;display:flex!important;width:100%!important;max-width:none!important;height:auto!important;min-height:72px;align-items:center;justify-content:center;gap:.55rem;box-sizing:border-box!important;padding:.8rem max(20px,calc((100% - 1280px)/2))!important;overflow:visible!important;border:0!important;border-top:1px solid var(--mdg-line)!important;border-bottom:1px solid var(--mdg-line)!important;border-radius:0!important;background:#fff!important;box-shadow:0 12px 30px rgb(3 28 43/.16);z-index:10002!important}
html.mdg-search-open .mdg-site-header .mdg-header-search.is-search-open .wp-block-search__inside-wrapper{flex:0 1 720px!important;width:min(720px,calc(100% - 52px))!important;max-width:720px!important;min-width:0!important;height:48px}
html.mdg-search-open .mdg-site-header .mdg-header-search.is-search-open .wp-block-search__input{width:100%!important;min-width:0!important;padding:.65rem .9rem!important;opacity:1!important;pointer-events:auto;font-size:16px!important}
html.mdg-search-open .mdg-site-header .mdg-header-search.is-search-open .wp-block-search__button{height:46px!important}
html.mdg-search-open .mdg-site-header .mdg-header-search.is-search-open>.mdg-search-close{display:grid!important;position:static!important;flex:0 0 44px!important;width:44px!important;min-width:44px!important;height:44px!important;margin:0!important;padding:0!important;translate:none!important;place-items:center;border:0;border-radius:50%;background:var(--mdg-ice);color:var(--mdg-deep);cursor:pointer}
@media(min-width:901px){
 .mdg-site-header .wp-block-group:has(> .mdg-header-search){display:grid!important;grid-template-columns:minmax(0,1fr) 44px;grid-template-rows:30px auto;column-gap:14px;row-gap:5px;align-items:center}
 .mdg-site-header .wp-block-group:has(> .mdg-header-search)>.wp-block-navigation{grid-column:1;grid-row:1/3;width:100%;justify-self:stretch}
 .mdg-site-header .wp-block-group:has(> .mdg-header-search)>.mdg-language-switcher{grid-column:2;grid-row:1;position:relative!important;inset:auto!important;justify-self:end;align-self:start;z-index:35}
 .mdg-site-header .wp-block-group:has(> .mdg-header-search)>.mdg-header-search{grid-column:2;grid-row:2}
 .mdg-site-header .wp-block-navigation__container{flex-wrap:nowrap!important}
 .mdg-site-header .wp-block-navigation-item,.mdg-site-header .wp-block-navigation-item__content{white-space:nowrap}
}
@media(min-width:901px) and (max-width:1100px){
 .mdg-site-header .wp-block-group:has(> .mdg-header-search){column-gap:10px}
 .mdg-site-header .wp-block-navigation__container{gap:10px!important}
 .mdg-site-header .wp-block-navigation-item__content{font-size:.82rem!important}
}
@media(max-width:900px){
 html.mdg-search-open,html.mdg-search-open body{overflow:auto!important}
 .mdg-header-search{position:relative!important;inset:auto!important;flex:0 0 44px!important}
 html.mdg-search-open .mdg-site-header .mdg-header-search.is-search-open{position:absolute!important;inset:100% 0 auto 0!important;width:100%!important;padding:.7rem .75rem!important}
}

/* 1.8.7: seletor multilíngue compacto e acessível. */
.mdg-site-header .wp-block-shortcode:has(.mdg-language-switcher){margin:0}
.mdg-language-switcher{display:flex;align-items:center;gap:.2rem;padding:.2rem;border:1px solid #d7e5e9;border-radius:999px;background:#fff}
.mdg-language-switcher a{display:grid;min-width:2rem;height:1.8rem;padding:0 .42rem;place-items:center;border-radius:999px;color:#315463;font-family:var(--wp--preset--font-family--body,Arial,sans-serif);font-size:.66rem;font-weight:800;line-height:1;text-decoration:none!important;text-transform:uppercase;transition:background-color .2s,color .2s}
.mdg-language-switcher a:hover,.mdg-language-switcher a:focus-visible{background:#e8f7fa;color:#083247;outline:0}
.mdg-language-switcher a[aria-current="page"]{background:#083247;color:#fff}
@media(max-width:900px){.mdg-site-header>.wp-block-group>.wp-block-group{gap:.55rem}.mdg-header-search{display:none}.mdg-language-switcher a{min-width:1.8rem;padding:0 .3rem}}
@media(max-width:600px){.mdg-site-header .wp-block-site-logo img{width:min(172px,44vw)}.mdg-language-switcher{gap:.08rem;padding:.14rem}.mdg-language-switcher a{min-width:1.65rem;height:1.65rem;padding:0 .24rem;font-size:.59rem}}

/* 1.9.0: acabamento responsivo e cartões compactos, sem títulos cortados. */
.mdg-home-v173,.mdg-home-v173 *{box-sizing:border-box}
.mdg-home-v173 img{max-width:100%}
.mdg-event-briefing__slide h2 a{overflow-wrap:break-word;word-break:normal}
@media(min-width:681px){
 .mdg-event-briefing__track{min-height:0;overflow:hidden}
 .mdg-event-briefing__slide{inset:.15rem 0;height:auto;min-height:0;padding:.55rem 0}
 .mdg-event-briefing__slide h2{max-height:5.9em;font-size:clamp(.86rem,1vw,1.08rem);font-weight:650;line-height:1.18;-webkit-line-clamp:5}
 .mdg-event-briefing__slide p{margin-top:.15rem}
}
@media(max-width:680px){
 .mdg-headline-ticker{gap:.65rem;padding:.65rem 12px}
 .mdg-headline-ticker>strong{display:block;flex:0 0 auto;font-size:.57rem;white-space:nowrap}
 .mdg-headline-ticker__track a{font-size:.68rem}
 .mdg-home-recent__panel{gap:.85rem}
 .mdg-home-recent__stage{min-height:345px}
 .mdg-home-recent__controls{bottom:calc(100% - 336px)}
 .mdg-home-recent__titles{width:100%;padding:.15rem 0 .35rem}
 .mdg-home-recent__titles button{flex:0 0 min(76vw,280px);min-height:88px;padding:.65rem .7rem}
 .mdg-home-recent__titles button strong{font-size:.8rem;font-weight:620;line-height:1.25;-webkit-line-clamp:3}
 .mdg-home-hero .mdg-slider__copy{bottom:4.8rem;max-height:calc(100% - 6rem)}
 .mdg-event-briefing{height:312px;min-height:312px;padding:.85rem}
 .mdg-event-briefing__track{min-height:0;overflow:hidden}
 .mdg-event-briefing__slide{min-height:0;padding:.5rem 0!important;overflow:hidden}
 .mdg-event-briefing__slide h2{max-height:3.75em;font-size:.78rem;font-weight:560;line-height:1.25;-webkit-line-clamp:3}
 .mdg-event-briefing footer{padding-top:.35rem}
}
@media(max-width:430px){
 .mdg-home-recent__slide-copy strong{font-size:1.22rem}
 .mdg-home-recent__titles button{flex-basis:82vw}
 .mdg-home-hero .mdg-slider{height:390px}
 .mdg-home-hero .mdg-slider__copy h1{font-size:clamp(1.35rem,6.5vw,1.7rem)!important}
 .mdg-event-briefing{height:318px;min-height:318px}
}
