/* Home editorial viva — isolada da apresentação das páginas internas. */
.apaferj-home {
  --home-navy: #081c3c;
  --home-navy-soft: #102e5b;
  --home-paper: #f6f3ed;
  --home-surface: #fffdfa;
  --home-surface-soft: #ebeef2;
  --home-ink: #172136;
  --home-muted: #667085;
  --home-line: #d7dce3;
  --home-gold: #9b6f29;
  --home-shadow: 0 24px 70px rgba(7, 27, 58, 0.13);
  color: var(--home-ink);
  background: var(--home-paper);
}

html[data-apaferj-tema="escuro"] .apaferj-home {
  --home-paper: #111a29;
  --home-surface: #182336;
  --home-surface-soft: #202d42;
  --home-ink: #f2f5fb;
  --home-muted: #b5c0d0;
  --home-line: #33445d;
  --home-gold: #e1bd72;
  --home-shadow: 0 26px 80px rgba(0, 0, 0, 0.35);
}

.apaferj-home * { box-sizing: border-box; }
.apaferj-home img { display: block; width: 100%; object-fit: cover; }
.apaferj-home :where(h1, h2, h3, p) { margin-top: 0; }
.apaferj-home a { transition: color 160ms ease, transform 240ms ease, box-shadow 240ms ease; }
.apaferj-home .alignwide { width: min(1200px, calc(100% - 48px)); max-width: none; margin-inline: auto; }

.apaferj-home-kicker {
  margin-bottom: 1rem;
  color: var(--home-gold);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.apaferj-home-kicker::before { content: ""; display: inline-block; width: 24px; height: 2px; margin: 0 10px 3px 0; background: currentColor; }
.apaferj-home-section { padding-block: clamp(4.75rem, 8vw, 7rem); }
.apaferj-home-section__heading { align-items: flex-end; gap: 2rem; margin-bottom: 2.6rem; }
.apaferj-home-section__heading > div { max-width: 760px; }
.apaferj-home-section__heading h2,
.apaferj-home-atuacao h2,
.apaferj-home-join h2 { margin-bottom: 0; color: var(--home-ink); font-size: clamp(2.5rem, 4vw, 4rem); line-height: 1.02; letter-spacing: -0.035em; }
.apaferj-home-section__heading > p { max-width: 420px; color: var(--home-muted); }
.apaferj-home-link a { color: var(--home-ink) !important; font-weight: 700; text-decoration: none; }
.apaferj-home-link a:hover { color: var(--home-gold) !important; }

.apaferj-home-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(4rem, 7vw, 6rem);
  color: #fff;
  background: radial-gradient(circle at 88% 12%, rgba(48, 88, 187, 0.42), transparent 35%), linear-gradient(120deg, #071a39, #0b2853 60%, #102f5d);
}
.apaferj-home-hero::after { content: ""; position: absolute; width: 360px; height: 360px; left: -180px; bottom: -210px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; box-shadow: 0 0 0 70px rgba(255,255,255,.025), 0 0 0 140px rgba(255,255,255,.02); }
.apaferj-home-hero__layout { position: relative; z-index: 1; align-items: center !important; gap: clamp(3rem, 6vw, 5rem); }
.apaferj-home-hero__copy { flex-basis: 44% !important; }
.apaferj-home-hero__media { position: relative; flex-basis: 56% !important; min-height: 620px; }
.apaferj-home-hero h1 { max-width: 620px; margin-bottom: 1.8rem; color: #fff; font-size: clamp(3.2rem, 5vw, 5.7rem); line-height: .96; letter-spacing: -.045em; }
.apaferj-home-hero__lead { max-width: 570px; color: #d4deed; font-size: 1.15rem; }
.apaferj-home-hero__actions { gap: 1rem; margin-top: 2rem; }
.apaferj-home-hero__actions .wp-block-button__link { min-height: 48px; display: inline-flex; align-items: center; border-radius: 999px; font-weight: 700; text-decoration: none; }
.apaferj-home-button--light .wp-block-button__link { color: #0a2146 !important; background: #fff !important; }
.apaferj-home-hero .is-style-outline .wp-block-button__link { color: #fff !important; border-color: rgba(255,255,255,.65); }
.apaferj-home-hero__proof { max-width: 510px; gap: 1rem; margin-top: 2.5rem; padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,.18); }
.apaferj-home-hero__proof p { margin: 0; color: #b9c7da; font-size: .84rem; line-height: 1.4; }
.apaferj-home-hero__proof strong { color: #f1d798; font-family: var(--wp--preset--font-family--serif); font-size: 1.25rem; white-space: nowrap; }
.apaferj-home-hero__image { position: absolute; inset: 0 42px 54px 0; overflow: hidden; margin: 0; border-radius: 34px 34px 120px 34px; background: #24446d; }
.apaferj-home-hero__image img { height: 100%; object-position: center 34%; filter: saturate(.86) contrast(1.03); }
.apaferj-home-hero__card { position: absolute; z-index: 2; right: 0; bottom: 0; width: min(340px, 56%); padding: 1.6rem 1.75rem; color: var(--home-ink); background: var(--home-surface); border-radius: 22px; box-shadow: var(--home-shadow); }
.apaferj-home-hero__card h2 { margin: .6rem 0 .35rem; color: var(--home-ink); font-size: 1.45rem; line-height: 1.1; }
.apaferj-home-hero__card p:last-child { margin-bottom: 0; color: var(--home-muted); font-size: .86rem; }
.apaferj-home-card-label { margin-bottom: 0; color: var(--home-gold); font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }

.apaferj-home-comunicado { padding-block: 2rem; background: var(--home-paper); }
.apaferj-home-comunicado__link { position: relative; display: grid; min-height: 330px; grid-template-columns: minmax(280px, .84fr) minmax(0, 1.16fr); overflow: hidden; color: #fff !important; background: linear-gradient(120deg,#071a39,#0d3268); border: 1px solid rgba(255,255,255,.12); border-radius: 30px; box-shadow: var(--home-shadow); text-decoration: none; transition: transform 240ms ease, box-shadow 240ms ease; }
.apaferj-home-comunicado__link:hover,
.apaferj-home-comunicado__link:focus-visible { transform: translateY(-5px); box-shadow: 0 30px 82px rgba(7,27,58,.24); }
.apaferj-home-comunicado__media { position: relative; overflow: hidden; margin: 0; }
.apaferj-home-comunicado__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg,transparent 64%,#0b2d60); }
.apaferj-home-comunicado__media img { height: 100%; object-position: center 42%; filter: saturate(.82) contrast(1.04); transition: transform 500ms ease; }
.apaferj-home-comunicado__link:hover .apaferj-home-comunicado__media img,
.apaferj-home-comunicado__link:focus-visible .apaferj-home-comunicado__media img { transform: scale(1.035); }
.apaferj-home-comunicado__copy { position: relative; z-index: 2; align-self: center; padding: 2.4rem clamp(2rem,4vw,4rem) 2.4rem 2rem; }
.apaferj-home-comunicado__label { display: flex; align-items: center; gap: .65rem; margin-bottom: .65rem; color: #f1d798; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.apaferj-home-comunicado__label i { width: 8px; height: 8px; background: #d8e62d; border-radius: 50%; box-shadow: 0 0 0 5px rgba(216,230,45,.12); }
.apaferj-home-comunicado time { color: #b7c7dd; font-size: .78rem; }
.apaferj-home-comunicado h2 { max-width: 680px; margin: .75rem 0 .85rem; color: #fff; font-size: clamp(1.8rem,3vw,3.15rem); line-height: 1.02; letter-spacing: -.03em; }
.apaferj-home-comunicado p { max-width: 650px; margin-bottom: 1.25rem; color: #cfdaea; }
.apaferj-home-comunicado__copy > strong { font-size: .86rem; }
.apaferj-home-comunicado__brand { position: absolute; right: -34px; bottom: -45px; width: 190px; height: 190px; object-fit: contain; opacity: .075; filter: grayscale(1) brightness(3); }

.apaferj-home-radar { background: var(--home-surface-soft); }
.apaferj-home-radar .wp-block-apaferj-radar { width: min(1200px,calc(100% - 48px)); margin-inline: auto; }
.apaferj-home-radar .apaferj-radar__lista { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; margin: 0; padding: 0; list-style: none; }
.apaferj-home-radar .apaferj-radar__item { min-height: 210px; display: flex; flex-direction: column; padding: 1.65rem; color: var(--home-ink); background: var(--home-surface); border: 1px solid var(--home-line); border-radius: 24px; transition: transform 240ms ease, background-color 240ms ease, border-color 240ms ease, box-shadow 240ms ease; }
.apaferj-home-radar .apaferj-radar__item:hover,
.apaferj-home-radar .apaferj-radar__item:focus-within { transform: translateY(-6px); background: color-mix(in srgb,var(--home-gold) 7%,var(--home-surface)); border-color: color-mix(in srgb,var(--home-gold) 48%,var(--home-line)); box-shadow: 0 18px 44px rgba(7,27,58,.12); }
.apaferj-home-radar .apaferj-radar__titulo { margin-bottom: .75rem; font-size: 1.35rem; line-height: 1.18; }
.apaferj-home-radar .apaferj-radar__titulo a { color: var(--home-ink) !important; text-decoration: none; }
.apaferj-home-radar .apaferj-card__resumo { color: var(--home-muted); font-size: .9rem; line-height: 1.5; }
.apaferj-home-radar .apaferj-radar__rodape { display: flex; justify-content: space-between; gap: 1rem; margin: auto 0 0; padding-top: 1rem; color: var(--home-gold); font-size: .72rem; font-weight: 700; border-top: 1px solid var(--home-line); }
.apaferj-home-radar .apaferj-radar__aviso { width: min(920px,100%); margin: 1.2rem auto 0; color: var(--home-muted); font-size: .73rem; text-align: center; }
.apaferj-home-radar__more { margin: 2rem auto 0; }
.apaferj-home-radar__more a { display: inline-flex; min-height: 46px; align-items: center; padding: .7rem 1.25rem; color: #fff !important; background: var(--home-navy-soft); border-radius: 999px; font-weight: 700; text-decoration: none; }
.apaferj-home-radar__more a:hover,
.apaferj-home-radar__more a:focus-visible { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(7,27,58,.2); }

.apaferj-home-news-grid { gap: 2.4rem; }
.apaferj-home-news-grid > .wp-block-column:first-child { flex-basis: 53% !important; }
.apaferj-home-news-grid > .wp-block-column:last-child { flex-basis: 47% !important; }
.apaferj-home .apaferj-home-feature-query .wp-block-post-template,
.apaferj-home .apaferj-home-compact-query .wp-block-post-template { margin: 0; padding: 0; list-style: none; }
.apaferj-home .apaferj-home-feature-query .wp-block-post-template > li,
.apaferj-home .apaferj-home-compact-query .wp-block-post-template > li { padding: 0; background: none; border: 0; border-radius: 0; box-shadow: none; }
.apaferj-home-feature-card { overflow: hidden; background: var(--home-surface); border: 1px solid transparent; border-radius: 34px; box-shadow: var(--home-shadow); transition: transform 240ms ease, background-color 240ms ease, border-color 240ms ease, box-shadow 240ms ease; }
.apaferj-home-feature-card:hover,
.apaferj-home-feature-card:focus-within { transform: translateY(-6px); background: color-mix(in srgb,var(--home-gold) 6%,var(--home-surface)); border-color: color-mix(in srgb,var(--home-gold) 42%,var(--home-line)); box-shadow: 0 30px 76px rgba(7,27,58,.17); }
.apaferj-home-feature-photo { height: 385px; margin: 0; overflow: hidden; background: #0a244c; }
.apaferj-home-feature-photo a { display: block; height: 100%; }
.apaferj-home-feature-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 43%; transition: transform 500ms ease; }
.apaferj-home-feature-card:hover .apaferj-home-feature-photo img,
.apaferj-home-feature-card:focus-within .apaferj-home-feature-photo img { transform: scale(1.035); }
.apaferj-home-feature-card:has(.apaferj-home-feature-photo img) .apaferj-home-document { display: none; }
.apaferj-home-document { position: relative; isolation: isolate; display: flex; height: 385px; flex-direction: column; justify-content: center; overflow: hidden; padding: 3rem 3.25rem; color: #fff; background: linear-gradient(135deg,#0a244c,#143d73); }
.apaferj-home-document::after { content: ""; position: absolute; z-index: -1; right: -34px; bottom: -76px; width: 470px; height: 470px; background: url("../images/brand/procurador-federal-watermark.png") center/contain no-repeat; opacity: .2; }
.apaferj-home-document__brand { position: absolute; left: 3rem; top: 1.9rem; display: flex; align-items: center; gap: .7rem; font-size: .75rem; letter-spacing: .16em; }
.apaferj-home-document__brand img { width: 48px; height: 48px; object-fit: contain; filter: drop-shadow(0 5px 8px rgba(0,0,0,.22)); }
.apaferj-home-document__type { margin-bottom: .75rem; color: #eed9aa; font-size: .76rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.apaferj-home-document > strong { font-family: var(--wp--preset--font-family--serif); font-size: clamp(2.15rem, 3.3vw, 3.35rem); line-height: 1.02; letter-spacing: -.03em; }
.apaferj-home-document__ribbon { position: absolute; inset: auto 0 0; height: 8px; background: linear-gradient(90deg,#c62b39 0 66%,#d8e62d 66%); }
.apaferj-home-feature-card__body { padding: 1.8rem 2.1rem 2rem; }
.apaferj-home-feature-card__body .wp-block-post-date,
.apaferj-home-compact-card .wp-block-post-date { margin-bottom: .4rem; color: var(--home-gold); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.apaferj-home-feature-card h3 { margin-bottom: .7rem; font-size: 2rem; line-height: 1.08; }
.apaferj-home-feature-card h3 a,
.apaferj-home-compact-card h3 a { color: var(--home-ink) !important; text-decoration: none; }
.apaferj-home-feature-card .wp-block-post-excerpt { color: var(--home-muted); }
.apaferj-home-feature-card .wp-block-post-excerpt__more-link,
.apaferj-home-compact-card .wp-block-read-more { color: var(--home-ink) !important; font-size: .84rem; font-weight: 700; text-decoration: none; }
.apaferj-home-compact-query .wp-block-post-template { display: grid; gap: 1rem; }
.apaferj-home-compact-card { min-height: 170px; gap: 1.5rem; padding: .9rem; background: var(--home-surface); border: 1px solid transparent; border-radius: 22px; transition: transform 240ms ease, border-color 240ms ease, box-shadow 240ms ease; }
.apaferj-home-compact-card:hover,
.apaferj-home-compact-card:focus-within { transform: translateX(5px); background: color-mix(in srgb,var(--home-gold) 7%,var(--home-surface)); border-color: color-mix(in srgb,var(--home-gold) 42%,var(--home-line)); box-shadow: 0 14px 38px rgba(7,27,58,.09); }
.apaferj-home-compact-card > .wp-block-group { flex: 1; }
.apaferj-home-compact-card h3 { margin: .4rem 0 .7rem; font-size: 1.2rem; line-height: 1.18; }
.apaferj-home-document-thumb { position: relative; isolation: isolate; flex: 0 0 175px; width: 175px; height: 140px; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; padding: 1rem; color: #fff; background: radial-gradient(circle at 100% 0,rgba(70,120,205,.55),transparent 50%),linear-gradient(145deg,#09234b,#194d8b); border-radius: 16px; }
.apaferj-home-document-thumb::before { content: ""; position: absolute; z-index: -1; right: -36px; top: -18px; width: 138px; height: 138px; background: url("../images/brand/procurador-federal-watermark.png") center/contain no-repeat; opacity: .22; }
.apaferj-home-document-thumb img { position: absolute; left: 14px; top: 14px; width: 44px; height: 44px; object-fit: contain; filter: drop-shadow(0 5px 8px rgba(0,0,0,.22)); }
.apaferj-home-document-thumb strong { font-family: var(--wp--preset--font-family--serif); font-size: 1.05rem; }
.apaferj-home-document-thumb small { color: #cad7ea; font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; }
.apaferj-home-document-thumb > span { position: absolute; inset: auto 0 0; height: 5px; background: linear-gradient(90deg,#c62b39 0 66%,#d8e62d 66%); }

.apaferj-home-atuacao { overflow: hidden; color: #fff; background: #0a2348; }
.apaferj-home-atuacao__layout { align-items: center !important; gap: clamp(3.5rem, 7vw, 6rem); }
.apaferj-home-atuacao__media { position: relative; padding: 0 0 2.75rem 2.4rem; }
.apaferj-home-atuacao__media::before { content: ""; position: absolute; left: 0; bottom: 0; width: 58%; height: 58%; border: 1px solid rgba(238,217,170,.42); border-radius: 28px; }
.apaferj-home-atuacao__media figure { position: relative; margin: 0; }
.apaferj-home-atuacao__media img { height: 660px; border-radius: 150px 30px 30px 30px; filter: saturate(.78); }
.apaferj-home-quote { position: absolute; right: -30px; bottom: 0; width: 350px; margin: 0; padding: 1.5rem 1.75rem; color: #12213c; background: #f8f1e4; border: 0; border-radius: 22px; box-shadow: var(--home-shadow); }
.apaferj-home-quote p { margin: 0; font-family: var(--wp--preset--font-family--serif); font-size: 1.05rem; font-style: normal; line-height: 1.35; }
.apaferj-home-atuacao h2 { color: #fff !important; }
.apaferj-home-atuacao__copy > p:not(.apaferj-home-kicker) { color: #c1cde0; }
.apaferj-home-pillars { margin-block: 2rem; }
.apaferj-home-pillars article { display: grid; grid-template-columns: 48px 1fr; gap: 1.25rem; padding-block: 1.25rem; border-top: 1px solid rgba(255,255,255,.15); }
.apaferj-home-pillars article > span { color: #efd9a4; font-family: var(--wp--preset--font-family--serif); }
.apaferj-home-pillars h3 { margin-bottom: .25rem; color: #fff; font-size: 1.25rem; }
.apaferj-home-pillars p { margin: 0; color: #aebdd3; font-size: .9rem; }

.apaferj-home-servicos { background: var(--home-surface-soft); }
.apaferj-home-benefit-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.25rem; }
.apaferj-home-benefit-card { position: relative; min-height: 410px; display: flex; flex-direction: column; padding: 2rem; color: var(--home-ink); background: var(--home-surface); border: 1px solid var(--home-line); border-radius: 28px; transition: transform 240ms ease, background-color 240ms ease, border-color 240ms ease, box-shadow 240ms ease; }
.apaferj-home-benefit-card:hover,
.apaferj-home-benefit-card:focus-within { transform: translateY(-8px); border-color: color-mix(in srgb,var(--home-gold) 48%,var(--home-line)); box-shadow: var(--home-shadow); }
.apaferj-home-benefit-card.is-featured { color: #fff; background: #102e5b; border-color: transparent; }
.apaferj-home-benefit-card__number { margin-bottom: auto; color: var(--home-muted); font-family: var(--wp--preset--font-family--serif); font-size: 2.15rem; }
.apaferj-home-benefit-card.is-featured .apaferj-home-benefit-card__number { color: #aebfd8; }
.apaferj-home-benefit-card small { margin-top: 3rem; color: var(--home-gold); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.apaferj-home-benefit-card.is-featured small { color: #efd9a4; }
.apaferj-home-benefit-card h3 { margin: .55rem 0 1rem; color: inherit; font-size: 1.85rem; line-height: 1.05; }
.apaferj-home-benefit-card > p { color: var(--home-muted); font-size: .95rem; }
.apaferj-home-benefit-card.is-featured > p { color: #c7d3e4; }
.apaferj-home-benefit-card details { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--home-line); }
.apaferj-home-benefit-card.is-featured details { border-color: rgba(255,255,255,.2); }
.apaferj-home-benefit-card summary { display: flex; min-height: 44px; align-items: center; justify-content: space-between; gap: 1rem; color: inherit; font-weight: 700; cursor: pointer; list-style: none; }
.apaferj-home-benefit-card summary::-webkit-details-marker { display: none; }
.apaferj-home-benefit-card summary span { font-size: 1.4rem; transition: transform 240ms ease; }
.apaferj-home-benefit-card details[open] summary span { transform: rotate(45deg); }
.apaferj-home-benefit-card details div { padding-top: .85rem; color: var(--home-muted); font-size: .9rem; line-height: 1.55; }
.apaferj-home-benefit-card.is-featured details div { color: #c7d3e4; }
.apaferj-home-benefit-card--ti { background: linear-gradient(145deg,color-mix(in srgb,var(--home-gold) 7%,var(--home-surface)),var(--home-surface)); }
.apaferj-home-benefit-card details p { margin: 0 0 .8rem; }
.apaferj-home-benefit-card details ul { margin: .5rem 0 0; padding-left: 1.15rem; }
.apaferj-home-benefit-card details li + li { margin-top: .55rem; }
.apaferj-home-service-links { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1px; overflow: hidden; margin-top: 1.25rem; background: var(--home-line); border: 1px solid var(--home-line); border-radius: 22px; }
.apaferj-home-service-links a { display: flex; min-height: 92px; flex-direction: column; justify-content: center; padding: 1.25rem 1.5rem; color: var(--home-ink)!important; background: var(--home-surface); text-decoration: none; }
.apaferj-home-service-links a:hover,
.apaferj-home-service-links a:focus-visible { background: color-mix(in srgb,var(--home-gold) 9%,var(--home-surface)); }
.apaferj-home-service-links span { color: var(--home-muted); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.apaferj-home-service-links strong { margin-top: .3rem; }

.apaferj-home-gallery-grid { display: grid; grid-template-columns: 1.2fr .8fr; grid-template-rows: 280px 280px; gap: 1.1rem; }
.apaferj-home-gallery-grid figure { position: relative; overflow: hidden; margin: 0; border-radius: 22px; }
.apaferj-home-gallery-grid figure::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(transparent,rgba(3,16,37,.72)); }
.apaferj-home-gallery-grid .is-large { grid-row: 1 / 3; }
.apaferj-home-gallery-grid img { height: 100%; filter: saturate(.82); transition: transform 500ms ease; }
.apaferj-home-gallery-grid figure:hover img { transform: scale(1.04); }
.apaferj-home-gallery-grid figcaption { position: absolute; z-index: 2; left: 1.5rem; bottom: 1.1rem; color: #fff; font-weight: 600; }

.apaferj-home-join { padding-block: 5rem; color: #fff; background: #102e5b; }
.apaferj-home-join > .wp-block-columns { align-items: center; gap: clamp(2.5rem, 7vw, 6rem); }
.apaferj-home-join h2 { color: #fff !important; }
.apaferj-home-join .wp-block-column:last-child { padding-left: 3rem; border-left: 1px solid rgba(255,255,255,.2); }
.apaferj-home-join .wp-block-column:last-child > p { color: #c7d2e3; }
.apaferj-home-join .wp-block-button__link { border-radius: 999px; }

html:not(.apaferj-home-js) .apaferj-home [data-reveal] { opacity: 1; transform: none; }
html.apaferj-home-js .apaferj-home [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 650ms ease, transform 650ms ease; }
html.apaferj-home-js .apaferj-home [data-reveal].is-visible { opacity: 1; transform: none; }
@media (max-width: 980px) {
  .apaferj-home-hero__layout,
  .apaferj-home-atuacao__layout { flex-wrap: wrap !important; }
  .apaferj-home-hero__layout > .wp-block-column,
  .apaferj-home-atuacao__layout > .wp-block-column { flex-basis: 100% !important; }
  .apaferj-home-hero__media { min-height: 620px; }
  .apaferj-home-news-grid { flex-wrap: wrap !important; }
  .apaferj-home-news-grid > .wp-block-column { flex-basis: 100% !important; }
  .apaferj-home-benefit-grid { grid-template-columns: 1fr 1fr; }
  .apaferj-home-benefit-card.is-featured { grid-column: auto; }
  .apaferj-home-atuacao__media { max-width: 680px; }
	.apaferj-home-comunicado__link { grid-template-columns: .9fr 1.1fr; }
}

@media (max-width: 650px) {
  .apaferj-home .alignwide { width: min(100% - 28px, 1200px); }
  .apaferj-home-section { padding-block: 4.75rem; }
  .apaferj-home-section__heading { align-items: flex-start; margin-bottom: 1.75rem; }
  .apaferj-home-section__heading h2,
  .apaferj-home-atuacao h2,
  .apaferj-home-join h2 { font-size: 2.55rem; }
  .apaferj-home-hero { padding-block: 3rem 4.25rem; }
  .apaferj-home-hero h1 { font-size: 3.15rem; }
  .apaferj-home-hero__lead { font-size: 1rem; }
  .apaferj-home-hero__media { min-height: 540px; }
  .apaferj-home-hero__image { inset: 0 0 95px; border-radius: 26px 26px 80px 26px; }
  .apaferj-home-hero__card { right: 12px; width: 88%; padding: 1.25rem; }
	.apaferj-home-comunicado { padding-block: 1rem; }
	.apaferj-home-comunicado__link { min-height: 0; grid-template-columns: 1fr; border-radius: 24px; }
	.apaferj-home-comunicado__media { height: 235px; }
	.apaferj-home-comunicado__media::after { background: linear-gradient(transparent 68%,#0b2d60); }
	.apaferj-home-comunicado__copy { padding: 1.6rem; }
	.apaferj-home-comunicado h2 { font-size: 1.75rem; }
	.apaferj-home-radar .wp-block-apaferj-radar { width: min(100% - 28px,1200px); }
	.apaferj-home-radar .apaferj-radar__lista { grid-template-columns: 1fr; }
	.apaferj-home-radar .apaferj-radar__item { min-height: 190px; }
  .apaferj-home-document { height: 270px; padding: 2.15rem 1.75rem; }
  .apaferj-home-feature-photo { height: 270px; }
  .apaferj-home-document__brand { left: 1.75rem; top: 1.25rem; }
  .apaferj-home-document__brand img { width: 38px; height: 38px; }
  .apaferj-home-feature-card__body { padding: 1.5rem; }
  .apaferj-home-feature-card h3 { font-size: 1.55rem; }
  .apaferj-home-compact-card { gap: 1rem; }
  .apaferj-home-document-thumb { flex-basis: 112px; width: 112px; height: 125px; padding: .8rem; }
  .apaferj-home-document-thumb img { left: 12px; top: 12px; width: 36px; height: 36px; }
  .apaferj-home-compact-card h3 { font-size: 1.05rem; }
  .apaferj-home-atuacao__media { padding-left: 1rem; }
  .apaferj-home-atuacao__media img { height: 470px; border-radius: 80px 24px 24px; }
  .apaferj-home-quote { right: 0; width: 82%; }
  .apaferj-home-benefit-grid,
  .apaferj-home-service-links { grid-template-columns: 1fr; }
  .apaferj-home-benefit-card.is-featured { grid-column: auto; }
  .apaferj-home-benefit-card { min-height: 350px; }
  .apaferj-home-gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 390px 210px; }
  .apaferj-home-gallery-grid .is-large { grid-column: 1 / 3; grid-row: auto; }
  .apaferj-home-join > .wp-block-columns { flex-wrap: wrap !important; }
  .apaferj-home-join .wp-block-column { flex-basis: 100% !important; }
  .apaferj-home-join .wp-block-column:last-child { padding-left: 0; border: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .apaferj-home [data-reveal],
  .apaferj-home img,
  .apaferj-home-benefit-card,
  .apaferj-home-benefit-card summary span { animation: none !important; transition: none !important; transform: none !important; opacity: 1 !important; }
	.apaferj-home-comunicado__link,
	.apaferj-home-comunicado__media img,
	.apaferj-home-radar .apaferj-radar__item { transition: none !important; transform: none !important; }
}
