﻿/*
Theme Name: Portal Pedagogico Novo
Theme URI: https://edu.umuarama.pr.gov.br/
Author: Secretaria Municipal de Educacao de Umuarama
Description: Tema institucional simples para o Portal Pedagogico da Secretaria Municipal de Educacao de Umuarama.
Version: 1.0.8
Requires at least: 5.8
Tested up to: 6.6
Requires PHP: 7.2
License: GNU General Public License v2 or later
Text Domain: portal-pedagogico-novo
*/

:root {
  --azul: #074f9b;
  --azul-2: #2f73c9;
  --azul-claro: #a9c9f4;
  --azul-rodape: #bcc2e2;
  --azul-escuro: #06396f;
  --cinza-50: #f7f9ff;
  --cinza-100: #edf2ff;
  --cinza-300: #c9d7ff;
  --cinza-700: #3a4668;
  --texto: #13204a;
  --branco: #ffffff;
  --sombra: 0 18px 45px rgba(7, 79, 155, 0.12);
  --arte-lateral: calc(100vh * 0.3042);
  --header-fixo-altura: 70px;
}

* {
  box-sizing: border-box;
}

html {
  overflow-y: scroll;
  scrollbar-gutter: stable;
}

body {
  min-width: 360px;
  margin: 0;
  color: var(--texto);
  background: var(--cinza-50);
  font-family: Helvetica, Arial, sans-serif;
  line-height: 1.15;
  transition: padding-top 260ms ease;
}

html.intro-transitioning,
body.intro-transitioning {
  overflow-y: hidden;
}

body::before {
  content: none;
}

body::after {
  content: none;
}

body.no-hero-intro {
  padding-top: 112px;
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
  margin-left: 0;
}

body:not(.intro-collapsed):not(.no-hero-intro) main,
body:not(.intro-collapsed):not(.no-hero-intro) .site-footer {
  opacity: 0;
  pointer-events: none;
  transform: translateY(24px);
}

main,
.site-footer {
  transition: opacity 1000ms ease, transform 1000ms ease, margin-left 0ms;
}

a {
  color: var(--azul);
  text-decoration: none;
}

a:hover,
a:focus {
  text-decoration: underline;
}

.site-header {
  position: relative;
  background: var(--branco);
  border-bottom: 0;
  z-index: 5;
}

.topbar {
  display: none;
  background: var(--azul);
  color: var(--branco);
  font-size: 0.9rem;
  padding: 0.45rem 0;
}

.header-art {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 620px;
  overflow: hidden;
  background: #ffffff;
  border-bottom: 1px solid rgba(201, 215, 255, 0.8);
  cursor: pointer;
  transform-origin: top;
  transition: transform 500ms ease, visibility 0ms linear 500ms;
}

.header-art picture,
.header-art img {
  display: block;
  width: 100%;
  height: 100%;
}

.header-art img {
  object-fit: contain;
  object-position: center center;
}

.scroll-cue {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  justify-content: center;
  height: 38px;
  width: 100%;
  border-top: 1px solid rgba(7, 79, 155, 0.16);
  border-right: 0;
  border-bottom: 0;
  border-left: 0;
  background: rgba(255, 255, 255, 0.58);
  cursor: pointer;
  opacity: 0;
  padding: 0;
  animation: scrollCueIn 480ms ease 2100ms forwards;
}

.scroll-cue:hover,
.scroll-cue:focus {
  background: rgba(255, 255, 255, 0.76);
}

.scroll-cue:focus-visible {
  outline: 3px solid rgba(7, 79, 155, 0.55);
  outline-offset: -3px;
}

.scroll-cue span {
  position: relative;
  width: 28px;
  height: 28px;
  margin-top: 2px;
  animation: scrollCueMove 1500ms ease-in-out 2600ms infinite;
}

.scroll-cue span::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 8px;
  width: 12px;
  height: 12px;
  border-right: 3px solid rgba(7, 79, 155, 0.7);
  border-bottom: 3px solid rgba(7, 79, 155, 0.7);
  transform: rotate(45deg);
}

@keyframes scrollCueIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scrollCueMove {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(5px);
  }
}

.intro-exiting .header-art {
  opacity: 1;
  transform: translateY(-100%);
  visibility: visible;
  pointer-events: none;
}

.intro-transitioning .scroll-cue {
  pointer-events: none;
}

.intro-collapsed:not(.intro-exiting) .header-art {
  opacity: 0;
  pointer-events: none;
}

.intro-consumed .header-art {
  display: none;
}

.intro-consumed main {
  padding-top: 118px;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.15rem 0;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
}

.calendar-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  border: 1px solid var(--cinza-300);
  border-radius: 6px;
  background: var(--branco);
  color: var(--azul-escuro);
  padding: 0.65rem 0.85rem;
  font-weight: 700;
}

.calendar-link:hover,
.calendar-link:focus {
  background: var(--cinza-100);
  text-decoration: none;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-mark {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 999px;
  background: var(--azul);
  color: var(--branco);
  font-weight: 700;
  box-shadow: 0 10px 26px rgba(7, 79, 155, 0.22);
}

.site-title {
  margin: 0;
  color: var(--azul-escuro);
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.1;
}

.site-description {
  margin: 0.2rem 0 0;
  color: var(--cinza-700);
  font-size: 0.98rem;
}

.main-navigation ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-end;
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-navigation li {
  position: relative;
}

.main-navigation > ul > li:not(.menu-all) {
  display: none;
}

.main-navigation .menu-all > a {
  position: relative;
  width: 44px;
  height: 42px;
  overflow: hidden;
  white-space: nowrap;
  text-indent: 120%;
}

.main-navigation .menu-all > a::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 12px;
  width: 22px;
  height: 2px;
  background: var(--azul-escuro);
  box-shadow: 0 8px 0 var(--azul-escuro), 0 16px 0 var(--azul-escuro);
}

.main-navigation a {
  display: block;
  padding: 0.65rem 0.85rem;
  border-radius: 6px;
  color: var(--azul-escuro);
  font-weight: 700;
}

.main-navigation a:hover,
.main-navigation a:focus {
  background: var(--cinza-100);
  text-decoration: none;
}

.main-navigation .sub-menu {
  position: absolute;
  top: calc(100% + 0.35rem);
  right: 0;
  display: none;
  min-width: 320px;
  max-height: calc(100vh - 120px);
  overflow: auto;
  border: 1px solid var(--cinza-300);
  border-radius: 8px;
  background: var(--branco);
  box-shadow: var(--sombra);
  padding: 0.45rem;
}

.main-navigation li:hover > .sub-menu,
.main-navigation li:focus-within > .sub-menu {
  display: block;
}

.main-navigation .sub-menu a {
  border-radius: 6px;
  padding: 0.65rem 0.75rem;
  font-weight: 600;
}

.scroll-navigation {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--header-fixo-altura);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  background: linear-gradient(180deg, #075aaa 0%, var(--azul) 100%);
  box-shadow: 0 10px 26px rgba(7, 79, 155, 0.16);
  opacity: 0;
  pointer-events: none;
  padding: 0 1.5rem;
  transform: none;
  transition: opacity 1000ms ease;
}

.intro-collapsed .scroll-navigation {
  opacity: 1;
  pointer-events: auto;
}

.scroll-subheader {
  position: fixed;
  top: 58px;
  left: 0;
  right: 0;
  z-index: 19;
  border-bottom: 1px solid rgba(7, 79, 155, 0.18);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: none;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-100%);
  transition: opacity 260ms ease, transform 260ms ease;
}

.intro-collapsed .scroll-subheader {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.scroll-subheader .container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  justify-content: flex-end;
  width: min(1280px, calc(100% - 2rem));
  padding-top: 0.55rem;
  padding-bottom: 0.55rem;
}

.accessibility-tools {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.35rem;
}

.accessibility-button {
  min-height: 34px;
  border: 1px solid rgba(7, 79, 155, 0.22);
  border-radius: 999px;
  background: #edf2ff;
  color: var(--azul);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1;
  padding: 0 0.75rem;
  cursor: pointer;
}

.accessibility-button:hover,
.accessibility-button:focus,
.accessibility-button[aria-pressed="true"] {
  background: var(--azul);
  color: var(--branco);
  text-decoration: none;
}

html.font-size-large,
body.font-size-large {
  font-size: 112.5%;
}

html.font-size-larger,
body.font-size-larger {
  font-size: 125%;
}

body.high-contrast {
  background: #000000;
  color: #ffffff;
}

body.high-contrast main,
body.high-contrast .section {
  background: #000000;
  color: #ffffff;
}

body.high-contrast .scroll-navigation,
body.high-contrast .page-side-navigation,
body.high-contrast .header-search-submit,
body.high-contrast .scroll-subheader {
  background: #000000;
  border-color: #ffffff;
}

body.high-contrast .scroll-subheader {
  border-top: 1px solid #ffffff;
}

body.high-contrast .accessibility-button,
body.high-contrast .mobile-menu-toggle,
body.high-contrast .header-search-form,
body.high-contrast .header-search-field {
  border-color: #ffffff;
  background: #ffffff;
  color: #000000;
}

body.high-contrast .accessibility-button[aria-pressed="true"],
body.high-contrast .accessibility-button:hover,
body.high-contrast .accessibility-button:focus {
  background: #ffff00;
  color: #000000;
}

body.high-contrast .featured-card,
body.high-contrast .quick-strip,
body.high-contrast .post-card,
body.high-contrast .sidebar-box,
body.high-contrast .update-card,
body.high-contrast .site-footer {
  border: 2px solid #ffffff;
  background: #000000;
  color: #ffffff;
  box-shadow: none;
}

body.high-contrast a,
body.high-contrast .post-meta,
body.high-contrast .read-more,
body.high-contrast .section-title,
body.high-contrast .featured-card h3,
body.high-contrast .featured-card h3 a,
body.high-contrast .update-card-content strong,
body.high-contrast .quick-strip h2,
body.high-contrast .quick-strip-links a {
  color: #ffff00;
}

body.high-contrast .featured-card p,
body.high-contrast .post-card p,
body.high-contrast .update-card-content > span:last-child,
body.high-contrast .quick-strip-links span {
  color: #ffffff;
}

body.high-contrast .featured-icon,
body.high-contrast .update-card-icon {
  background: #ffffff;
  color: #000000;
}

.scroll-brand {
  display: block;
  order: -1;
  flex: 0 0 auto;
  border-radius: 6px;
  color: var(--branco);
  line-height: 1.12;
  padding: 0.65rem 1rem 0.65rem 0;
}

.scroll-brand strong,
.scroll-brand span {
  display: block;
}

.scroll-brand strong {
  font-size: 1.22rem;
  white-space: nowrap;
}

.scroll-brand span {
  font-size: 0.78rem;
  font-weight: 600;
  opacity: 0.9;
}

.scroll-brand:hover,
.scroll-brand:focus {
  text-decoration: none;
}

.mobile-menu-toggle {
  display: none;
  position: relative;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: var(--branco);
  cursor: pointer;
}

.mobile-menu-bar {
  display: none;
}

.mobile-menu-label {
  display: none;
}

.mobile-menu-toggle span[aria-hidden="true"],
.mobile-menu-toggle span[aria-hidden="true"]::before,
.mobile-menu-toggle span[aria-hidden="true"]::after {
  position: absolute;
  left: 11px;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.mobile-menu-toggle span[aria-hidden="true"] {
  top: 20px;
}

.mobile-menu-toggle span[aria-hidden="true"]::before,
.mobile-menu-toggle span[aria-hidden="true"]::after {
  content: "";
  left: 0;
}

.mobile-menu-toggle span[aria-hidden="true"]::before {
  top: -7px;
}

.mobile-menu-toggle span[aria-hidden="true"]::after {
  top: 7px;
}

body.mobile-menu-open .mobile-menu-toggle span[aria-hidden="true"] {
  transform: rotate(45deg);
}

body.mobile-menu-open .mobile-menu-toggle span[aria-hidden="true"]::before {
  opacity: 0;
}

body.mobile-menu-open .mobile-menu-toggle span[aria-hidden="true"]::after {
  top: 0;
  transform: rotate(90deg);
}

.scroll-navigation ul {
  flex: 1 1 auto;
  order: 0;
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  gap: 0;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.scroll-navigation li {
  position: relative;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.scroll-navigation ul a {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 58px;
  border-radius: 0;
  color: var(--branco);
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  font-weight: 700;
  white-space: nowrap;
}

.scroll-navigation .dashicons {
  width: 22px;
  height: 22px;
  font-size: 22px;
  line-height: 1;
}

.scroll-navigation .menu-caret {
  width: 16px;
  height: 16px;
  font-size: 16px;
}

.scroll-navigation ul a:hover,
.scroll-navigation ul a:focus {
  background: rgba(255, 255, 255, 0.14);
  text-decoration: none;
}

.scroll-navigation .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 30;
  display: none;
  min-width: 240px;
  border: 1px solid var(--cinza-300);
  border-radius: 0 0 8px 8px;
  background: var(--branco);
  box-shadow: var(--sombra);
  padding: 0.45rem;
}

.scroll-navigation li:hover > .sub-menu,
.scroll-navigation li:focus-within > .sub-menu,
.scroll-navigation li.is-open > .sub-menu {
  display: block;
}

.scroll-navigation .sub-menu a {
  min-height: 0;
  color: var(--azul-escuro);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.7rem 0.75rem;
}

.scroll-navigation .sub-menu a:hover,
.scroll-navigation .sub-menu a:focus {
  background: var(--cinza-100);
}

.scroll-navigation .scroll-subheader {
  position: static;
  inset: auto;
  z-index: auto;
  flex: 1 1 auto;
  border: 0;
  background: transparent;
  box-shadow: none;
  opacity: 1;
  pointer-events: auto;
  transform: none;
  transition: none;
}

.scroll-subheader .subheader-inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  width: 100%;
  margin-left: auto;
  padding: 0;
}

.page-side-navigation {
  position: fixed;
  top: var(--header-fixo-altura);
  bottom: 0;
  left: 0;
  z-index: 18;
  display: flex;
  flex-direction: column;
  width: 270px;
  overflow-y: auto;
  border-right: 1px solid rgba(7, 79, 155, 0.18);
  background: #edf2ff;
  box-shadow: 12px 0 28px rgba(7, 79, 155, 0.08);
  opacity: 0;
  pointer-events: none;
  transition: opacity 1000ms ease;
}

.intro-collapsed .page-side-navigation {
  opacity: 1;
  pointer-events: auto;
}

.intro-exiting main,
.intro-exiting .site-footer,
.intro-collapsed main,
.intro-collapsed .site-footer {
  margin-left: 270px;
}

.page-side-navigation ul {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 1.25rem 1rem 0.5rem;
  list-style: none;
}

.page-side-navigation li {
  position: relative;
}

.page-side-navigation a {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 44px;
  border-radius: 8px;
  color: var(--azul-escuro);
  padding: 0.65rem 1rem;
  font-size: 0.95rem;
  font-weight: 700;
}

.page-side-navigation a:hover,
.page-side-navigation a:focus {
  background: #ffffff;
  text-decoration: none;
}

.page-side-navigation .dashicons {
  width: 20px;
  height: 20px;
  font-size: 20px;
  line-height: 1;
}

.page-side-navigation .quick-svg-icon,
.page-side-navigation .quick-svg-icon svg {
  width: 20px;
  height: 20px;
}

.page-side-navigation .menu-caret {
  display: grid;
  place-items: center;
  margin-left: auto;
  width: 28px;
  height: 28px;
  font-size: 14px;
  cursor: pointer;
}

.page-side-navigation .sub-menu {
  display: none;
  margin: 0.15rem 0 0.35rem;
  padding: 0.25rem 0 0.25rem 1.45rem;
  border-left: 2px solid rgba(7, 79, 155, 0.18);
}

.page-side-navigation li.is-open > .sub-menu {
  display: grid;
}

.page-side-navigation .sub-menu a {
  min-height: 36px;
  padding: 0.55rem 0.65rem;
  font-size: 0.86rem;
  font-weight: 600;
}

.side-menu-logos {
  margin-top: auto;
  padding: 1rem 0.65rem 1.25rem;
}

.side-menu-logos img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 54px;
  object-fit: contain;
}

.header-search-form {
  display: flex;
  flex: 0 1 380px;
  align-items: center;
  width: min(100%, 380px);
  border: 1px solid rgba(7, 79, 155, 0.28);
  border-radius: 999px;
  background: var(--branco);
  box-shadow: 0 8px 22px rgba(7, 79, 155, 0.1);
  overflow: hidden;
}

.header-search-form label {
  flex: 1 1 auto;
  min-width: 0;
}

.header-search-field {
  width: 100%;
  min-height: 36px;
  border: 0;
  background: transparent;
  color: var(--azul-escuro);
  font: inherit;
  padding: 0 0.85rem;
  outline: none;
}

.header-search-field::placeholder {
  color: rgba(7, 79, 155, 0.66);
}

.header-search-submit {
  display: grid;
  flex: 0 0 38px;
  width: 38px;
  min-height: 36px;
  place-items: center;
  border: 0;
  background: var(--azul);
  color: var(--branco);
  cursor: pointer;
}

.header-search-submit:hover,
.header-search-submit:focus {
  background: var(--azul-escuro);
}

.header-search-submit .dashicons {
  width: 18px;
  height: 18px;
  font-size: 18px;
}


.hero {
  position: relative;
  overflow: hidden;
  max-height: 700px;
  background: linear-gradient(180deg, #ffffff 0%, #edf2ff 100%);
  color: var(--texto);
  transform-origin: top;
  transition: max-height 320ms ease, opacity 260ms ease, transform 320ms ease, padding 320ms ease;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
  min-height: 46vh;
  padding: 4rem 0 3rem;
}

.intro-collapsed .hero {
  opacity: 0;
  transform: translateY(-24px);
}

.hero h2 {
  max-width: 720px;
  margin: 0;
  color: var(--azul-escuro);
  font-size: clamp(2.45rem, 7vw, 5.6rem);
  line-height: 0.95;
}

.hero p {
  max-width: 620px;
  margin: 1.35rem 0 0;
  color: var(--cinza-700);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.button-primary,
.button-secondary {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  border-radius: 6px;
  padding: 0.7rem 1rem;
  font-weight: 700;
}

.button-primary {
  background: var(--azul);
  color: var(--branco);
}

.button-secondary {
  border: 1px solid var(--cinza-300);
  background: var(--branco);
  color: var(--azul-escuro);
}

.button-primary:hover,
.button-primary:focus,
.button-secondary:hover,
.button-secondary:focus {
  text-decoration: none;
  transform: translateY(-1px);
}

.section {
  padding: 3rem 0;
}

.section-featured {
  padding-top: 1.6rem;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.section-heading .section-title {
  margin: 0;
}

.section-heading a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #5f7fb7;
  font-weight: 700;
}

.section-title {
  margin: 0 0 1.4rem;
  color: var(--azul-escuro);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  line-height: 1.15;
}

.section-title::after {
  content: "";
  display: block;
  width: 64px;
  height: 4px;
  margin-top: 0.35rem;
  border-radius: 999px;
  background: var(--azul);
}

.update-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  border: 0;
  border-radius: 30px;
  background: #edf2ff;
  padding: 1.15rem 1.25rem;
  box-shadow: 15px 15px 30px #c9d3e8, -15px -15px 30px #ffffff;
  color: var(--azul-escuro);
}

.update-card:hover,
.update-card:focus {
  text-decoration: none;
  transform: translateY(-2px);
}

.update-card-icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 999px;
  background: #eaf2ff;
  color: var(--azul);
  font-size: 27px;
  line-height: 1;
}

.update-card-content {
  display: grid;
  gap: 0.25rem;
}

.update-card-content strong {
  color: var(--azul);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.2;
}

.update-card-content > span:last-child {
  color: var(--cinza-700);
  font-size: 0.875rem;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.featured-layout {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-auto-rows: auto;
}

.featured-card-large {
  grid-column: 1 / -1;
  min-height: 260px;
}

.featured-card-small {
  min-height: 230px;
}

.featured-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1.4rem;
  min-height: 210px;
  border: 0;
  border-radius: 30px;
  background: #edf2ff;
  padding: 1.55rem clamp(2rem, 3vw, 3rem) 1.55rem 1.25rem;
  box-shadow: 15px 15px 30px #c9d3e8, -15px -15px 30px #ffffff;
}

.featured-card > div {
  padding-right: 0.5rem;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity 560ms cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 560ms cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.featured-grid .reveal-on-scroll:nth-child(2) {
  transition-delay: 90ms;
}

.featured-grid .reveal-on-scroll:nth-child(3) {
  transition-delay: 140ms;
}

.featured-grid .reveal-on-scroll:nth-child(4) {
  transition-delay: 190ms;
}

@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.featured-icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 999px;
  background: #eaf2ff;
  color: var(--azul);
  font-size: 27px;
  line-height: 1;
}

.featured-thumb {
  display: block;
  width: clamp(110px, 14vw, 170px);
  align-self: start;
  overflow: hidden;
  border: 3px solid var(--azul);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 14px 24px rgba(7, 79, 155, 0.14);
}

.featured-thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  border: 0;
}

.featured-card-large .featured-thumb {
  width: clamp(220px, 28vw, 360px);
}

.featured-card h3 {
  margin: 0 0 0.75rem;
  color: var(--azul);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.25;
}

.featured-card p {
  margin: 0 0 1rem;
  color: var(--cinza-700);
  font-size: 0.875rem;
  text-align: justify;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: auto;
  color: var(--azul);
  font-weight: 700;
}

.quick-strip {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 1.5rem;
  margin-top: 2rem;
  border: 0;
  border-radius: 30px;
  background: #edf2ff;
  box-shadow: 15px 15px 30px #c9d3e8, -15px -15px 30px #ffffff;
  padding: 1rem 1.25rem;
}

.quick-strip h2 {
  margin: 0;
  color: var(--azul-escuro);
  font-size: 1.25rem;
}

.quick-strip-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.quick-strip-links li {
  margin: 0;
  padding: 0;
  border-left: 1px solid var(--cinza-300);
}

.quick-strip-links > a {
  border-left: 1px solid var(--cinza-300);
}

.quick-strip-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  width: 100%;
  min-height: 54px;
  padding: 0.55rem 1.15rem;
  color: var(--azul);
  font-weight: 700;
  text-align: center;
}

.quick-strip-links .dashicons {
  width: 30px;
  height: 30px;
  font-size: 30px;
  flex: 0 0 auto;
}

.quick-svg-icon {
  display: inline-flex;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  color: var(--azul);
}

.quick-svg-icon svg {
  display: block;
  width: 30px;
  height: 30px;
  fill: currentColor;
}

.quick-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.screen-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.quick-link,
.screen-card,
.post-card {
  border: 0;
  border-radius: 30px;
  background: #edf2ff;
  box-shadow: 15px 15px 30px #c9d3e8, -15px -15px 30px #ffffff;
}

.quick-link {
  position: relative;
  padding: 1.2rem;
  overflow: hidden;
}

.screen-card {
  display: block;
  min-height: 180px;
  padding: 1.2rem;
}

.screen-card:hover,
.screen-card:focus {
  text-decoration: none;
  transform: translateY(-2px);
}

.quick-link::before {
  content: "";
  display: block;
  width: 42px;
  height: 5px;
  margin-bottom: 1rem;
  border-radius: 999px;
  background: var(--azul);
}

.screen-card span {
  display: block;
  margin-bottom: 0.7rem;
  color: var(--azul);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.quick-link h3,
.screen-card h3,
.post-card h3 {
  margin: 0 0 0.45rem;
  color: var(--azul-escuro);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.25;
}

.quick-link p,
.screen-card p,
.post-card p {
  margin: 0;
  color: var(--cinza-700);
  font-size: 0.875rem;
  text-align: justify;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.post-list {
  display: grid;
  gap: 1rem;
}

.post-card {
  padding: 1.25rem;
}

.post-card,
.featured-card,
.quick-link,
.screen-card,
.page-tab-panel,
.sidebar-box {
  font-size: 0.875rem;
}

.post-card p,
.post-card li,
.post-card blockquote,
.featured-card p,
.quick-link p,
.screen-card p,
.page-tab-panel p,
.page-tab-panel li,
.sidebar-box p,
.sidebar-box li {
  font-size: 1em;
  line-height: 1.15;
  text-align: justify;
}

.post-card p,
.featured-card p,
.quick-link p,
.screen-card p,
.page-tab-panel p,
.sidebar-box p {
  margin-top: 0;
  margin-bottom: 2em;
}

.post-card p:last-child,
.featured-card p:last-child,
.quick-link p:last-child,
.screen-card p:last-child,
.page-tab-panel p:last-child,
.sidebar-box p:last-child {
  margin-bottom: 0;
}

.post-card p:has(+ ul),
.post-card p:has(+ ol),
.page-tab-panel p:has(+ ul),
.page-tab-panel p:has(+ ol),
.sidebar-box p:has(+ ul),
.sidebar-box p:has(+ ol) {
  margin-bottom: 0.45em;
}

.post-card ul,
.post-card ol,
.page-tab-panel ul,
.page-tab-panel ol,
.sidebar-box ul,
.sidebar-box ol {
  margin-top: 0;
  margin-bottom: 1em;
}

main .wp-block-image img,
main .post-card img,
main .page-tab-panel img,
main .entry-content img {
  height: auto;
  border: 3px solid var(--azul);
  border-radius: 10px;
}

.post-card h2,
.post-card h3,
.post-card h4,
.featured-card h2,
.featured-card h3,
.featured-card h4,
.page-tab-panel h2,
.page-tab-panel h3,
.page-tab-panel h4,
.sidebar-box h2,
.sidebar-box h3,
.sidebar-box h4 {
  font-size: 1.25rem;
  font-weight: 700;
  text-align: center;
}

.page-tabs {
  margin-top: 1.5rem;
}

.page-tabs-list {
  display: grid;
  grid-template-columns: repeat(var(--tabs-count, auto-fit), minmax(0, 1fr));
  gap: clamp(0.25rem, 0.7vw, 0.6rem);
  margin-bottom: 1.2rem;
  border-bottom: 1px solid rgba(7, 79, 155, 0.16);
  padding-bottom: 0.85rem;
}

.page-tab-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: clamp(34px, 4vw, 42px);
  border: 1px solid rgba(7, 79, 155, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--azul-escuro);
  font: inherit;
  font-weight: 700;
  font-size: clamp(0.62rem, 1.1vw, 0.95rem);
  line-height: 1.1;
  padding: 0.45rem clamp(0.25rem, 0.8vw, 1rem);
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 140ms ease;
}

.post-card .page-tab-button {
  width: 100%;
  min-height: clamp(34px, 4vw, 42px);
  border: 1px solid rgba(7, 79, 155, 0.2) !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.72) !important;
  box-shadow: 0 8px 18px rgba(7, 79, 155, 0.08);
  color: var(--azul-escuro) !important;
  font-weight: 700;
  font-size: clamp(0.62rem, 1.1vw, 0.95rem);
  padding: 0.45rem clamp(0.25rem, 0.8vw, 1rem) !important;
  white-space: normal;
}

.page-tab-button:hover,
.page-tab-button:focus {
  border-color: rgba(7, 79, 155, 0.38);
  background: var(--branco);
  transform: translateY(-1px);
}

.page-tab-button.is-active {
  border-color: var(--azul);
  background: var(--azul);
  color: var(--branco);
}

.post-card .page-tab-button.is-active {
  border-color: var(--azul) !important;
  background: var(--azul) !important;
  color: var(--branco) !important;
}

.page-tabs-panels {
  min-width: 0;
}

.page-tab-panel {
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.55);
  padding: 1.25rem;
}

.page-tab-panel[hidden] {
  display: none;
}

.page-tab-panel h2 {
  margin: 0 0 1rem;
  color: var(--azul-escuro);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
}

.post-card .wp-block-buttons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 0.8rem 0;
}

.post-card .wp-block-buttons:has(.wp-block-button:only-child) {
  grid-template-columns: minmax(0, 380px);
  justify-content: center;
}

.post-card .wp-block-button {
  display: block;
  margin: 0;
  text-align: center;
}

.post-card .wp-block-file {
  display: grid;
  grid-template-columns: minmax(0, 380px);
  justify-content: center;
  margin: 0.8rem 0 2em;
}

.post-card .wp-block-buttons,
.post-card .wp-block-button,
.post-card .wp-block-button__link,
.post-card .wp-element-button,
.post-card a.button,
.post-card .wp-block-file__button {
  text-align: center !important;
  text-transform: uppercase !important;
}

.post-card .wp-block-button__link,
.post-card .wp-element-button,
.post-card a.button,
.post-card .wp-block-file__button,
.post-card button,
.post-card input[type="button"],
.post-card input[type="submit"] {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  min-height: 52px;
  border: 1px solid rgba(7, 79, 155, 0.12) !important;
  border-radius: 9999px !important;
  background: rgba(255, 255, 255, 0.75) !important;
  box-shadow:
    inset 1.5px 1.5px 0 0 rgba(255, 255, 255, 0.9),
    inset -1px -1px 0 0 rgba(255, 255, 255, 0.55),
    inset 0 0 0 1px rgba(7, 79, 155, 0.04),
    0 1px 2px rgba(7, 79, 155, 0.04),
    0 12px 28px -10px rgba(7, 79, 155, 0.16);
  color: var(--azul-escuro) !important;
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
  padding: 0 3.95rem 0 1.5rem !important;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase !important;
  cursor: pointer;
  white-space: nowrap;
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  transition:
    transform 140ms cubic-bezier(0.22, 0.61, 0.36, 1),
    box-shadow 220ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

.post-card .wp-block-button__link::before,
.post-card .wp-element-button::before,
.post-card a.button::before,
.post-card .wp-block-file__button::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 0.375rem;
  width: 40px;
  height: 40px;
  border-radius: 9999px;
  background: var(--azul);
  box-shadow:
    0 4px 10px rgba(7, 79, 155, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transform: translateY(-50%);
  transition: transform 220ms cubic-bezier(0.5, 1.6, 0.4, 1);
}

.post-card .wp-block-button__link::after,
.post-card .wp-element-button::after,
.post-card a.button::after,
.post-card .wp-block-file__button::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 1.33rem;
  width: 10px;
  height: 10px;
  border-top: 2px solid var(--branco);
  border-right: 2px solid var(--branco);
  transform: translateY(-50%) rotate(45deg);
  transition: transform 220ms cubic-bezier(0.5, 1.6, 0.4, 1);
}

.post-card .wp-block-button__link:hover,
.post-card .wp-block-button__link:focus,
.post-card .wp-element-button:hover,
.post-card .wp-element-button:focus,
.post-card a.button:hover,
.post-card a.button:focus,
.post-card .wp-block-file__button:hover,
.post-card .wp-block-file__button:focus,
.post-card button:hover,
.post-card button:focus,
.post-card input[type="button"]:hover,
.post-card input[type="button"]:focus,
.post-card input[type="submit"]:hover,
.post-card input[type="submit"]:focus {
  box-shadow:
    inset 1.5px 1.5px 0 0 rgba(255, 255, 255, 0.9),
    inset -1px -1px 0 0 rgba(255, 255, 255, 0.55),
    inset 0 0 0 1px rgba(7, 79, 155, 0.04),
    0 2px 4px rgba(7, 79, 155, 0.06),
    0 22px 44px -14px rgba(7, 79, 155, 0.22);
  text-decoration: none;
  transform: translateY(-1px);
}

.post-card .wp-block-button__link:hover::before,
.post-card .wp-block-button__link:focus::before,
.post-card .wp-element-button:hover::before,
.post-card .wp-element-button:focus::before,
.post-card a.button:hover::before,
.post-card a.button:focus::before,
.post-card .wp-block-file__button:hover::before,
.post-card .wp-block-file__button:focus::before {
  transform: translateY(-50%) scale(1.06);
}

.post-card .wp-block-button__link:hover::after,
.post-card .wp-block-button__link:focus::after,
.post-card .wp-element-button:hover::after,
.post-card .wp-element-button:focus::after,
.post-card a.button:hover::after,
.post-card a.button:focus::after,
.post-card .wp-block-file__button:hover::after,
.post-card .wp-block-file__button:focus::after {
  transform: translate(2px, -50%) rotate(45deg);
}

.post-card .wp-block-button__link:active,
.post-card .wp-element-button:active,
.post-card a.button:active,
.post-card .wp-block-file__button:active,
.post-card button:active,
.post-card input[type="button"]:active,
.post-card input[type="submit"]:active {
  box-shadow:
    inset 1px 1px 1px 0 rgba(7, 79, 155, 0.08),
    inset -1px -1px 0 0 rgba(255, 255, 255, 0.55),
    0 1px 2px rgba(7, 79, 155, 0.04),
    0 12px 28px -10px rgba(7, 79, 155, 0.16);
  transform: scale(0.97);
}

.post-card .wp-block-button__link:active::before,
.post-card .wp-element-button:active::before,
.post-card a.button:active::before,
.post-card .wp-block-file__button:active::before {
  transform: translateY(-50%) scale(0.94);
}

.post-card .wp-block-button__link:focus-visible,
.post-card .wp-element-button:focus-visible,
.post-card a.button:focus-visible,
.post-card .wp-block-file__button:focus-visible,
.post-card button:focus-visible,
.post-card input[type="button"]:focus-visible,
.post-card input[type="submit"]:focus-visible {
  outline: none;
  box-shadow:
    inset 1.5px 1.5px 0 0 rgba(255, 255, 255, 0.9),
    inset -1px -1px 0 0 rgba(255, 255, 255, 0.55),
    inset 0 0 0 1px rgba(7, 79, 155, 0.04),
    0 2px 4px rgba(7, 79, 155, 0.06),
    0 22px 44px -14px rgba(7, 79, 155, 0.22),
    0 0 0 3px rgba(7, 79, 155, 0.28);
}

.post-meta {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--azul);
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
}

.sidebar-box {
  border-left: 5px solid var(--azul);
  border-radius: 30px;
  background: #edf2ff;
  padding: 1.25rem;
  box-shadow: 15px 15px 30px #c9d3e8, -15px -15px 30px #ffffff;
}

.site-footer {
  margin-top: 1rem;
  background: linear-gradient(180deg, #075aaa 0%, var(--azul) 100%);
  color: var(--branco);
  padding: 2rem 0 1.5rem;
}

.site-footer p {
  margin: 0.45rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 1.25fr 1fr 0.75fr;
  align-items: start;
  gap: 1.5rem;
}

.footer-column {
  min-height: 150px;
  padding-right: 1.5rem;
  border-right: 1px solid rgba(255, 255, 255, 0.25);
}

.footer-column:last-child {
  border-right: 0;
  padding-right: 0;
}

.footer-column h2 {
  margin: 0 0 0.8rem;
  color: var(--branco);
  font-size: 1.15rem;
  line-height: 1.2;
}

.footer-contact p {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.footer-column .dashicons {
  flex: 0 0 auto;
  color: rgba(255, 255, 255, 0.9);
}

.footer-links ul {
  columns: 2;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links li {
  break-inside: avoid;
  margin: 0 0 0.55rem;
}

.footer-links a,
.footer-services a {
  color: var(--branco);
}

.footer-links a::before {
  content: "â€º";
  margin-right: 0.45rem;
}

.footer-services {
  display: grid;
  gap: 0.8rem;
}

.footer-services a {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 0.7rem;
  line-height: 1.15;
}

.footer-services a .dashicons {
  grid-row: span 2;
  width: 28px;
  height: 28px;
  font-size: 28px;
}

.footer-services strong,
.footer-services small {
  display: block;
}

.footer-services small {
  opacity: 0.85;
}

.footer-logos {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 0.55rem;
}

.footer-logos img {
  display: block;
  width: min(210px, 100%);
  height: auto;
  max-height: 70px;
  object-fit: contain;
}

.footer-logos strong {
  display: block;
  font-size: 1.1rem;
}

.footer-logos span {
  display: block;
  opacity: 0.85;
}

.site-footer {
  margin-top: 1rem;
  background: linear-gradient(180deg, #075aaa 0%, var(--azul) 100%);
  color: var(--branco);
  padding: 1rem 0;
}

.site-footer p {
  margin: 0.12rem 0;
}

.site-footer .footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.25rem;
}

.site-footer .footer-info {
  max-width: 820px;
}

.site-footer .footer-info strong {
  color: var(--branco);
}

.site-footer .footer-logos {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  text-align: right;
}

.site-footer .footer-logos img {
  display: block;
  width: min(250px, 36vw);
  height: auto;
  max-height: 54px;
  object-fit: contain;
}

.site-footer {
  border-top: 5px solid var(--azul);
  background: #edf2ff;
  color: var(--azul);
}

.site-footer .footer-info strong,
.site-footer a {
  color: var(--azul);
}

.site-footer p {
  line-height: 1.15;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
}

@media (max-width: 820px) {
  body.no-hero-intro {
    padding-top: 194px;
  }

  .intro-consumed main {
    padding-top: 172px;
  }

  .brand-row,
  .hero-inner,
  .content-grid {
    grid-template-columns: 1fr;
  }

  .brand-row {
    display: grid;
  }

  .header-actions {
    justify-content: flex-start;
  }

  .main-navigation ul {
    justify-content: flex-start;
  }

  .scroll-navigation {
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: flex-start;
    min-height: 0;
    padding: 0.45rem 0.75rem;
    overflow: visible;
  }

  .scroll-brand {
    flex: 1 1 auto;
    min-width: 0;
    padding: 0.35rem 0;
  }

  .scroll-brand strong {
    font-size: 1.05rem;
    white-space: normal;
  }

  .scroll-brand span {
    font-size: 0.72rem;
  }

  .mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    order: 0;
    width: 100%;
    height: 42px;
    border-color: rgba(7, 79, 155, 0.22);
    background: #ffffff;
    color: var(--azul);
    box-shadow: 0 8px 18px rgba(7, 79, 155, 0.08);
    padding: 0 1rem;
  }

  .mobile-menu-bar {
    display: block;
    order: 3;
    flex: 1 0 calc(100% + 1.5rem);
    margin: 0 -0.75rem -0.45rem;
    border-top: 1px solid rgba(255, 255, 255, 0.28);
    border-bottom: 1px solid rgba(7, 79, 155, 0.18);
    background: #edf2ff;
    padding: 0.5rem 0.75rem;
  }

  .mobile-menu-label {
    display: inline;
    color: var(--azul);
    font-size: 0.92rem;
    font-weight: 700;
  }

  .mobile-menu-toggle span[aria-hidden="true"],
  .mobile-menu-toggle span[aria-hidden="true"]::before,
  .mobile-menu-toggle span[aria-hidden="true"]::after {
    left: auto;
  }

  .mobile-menu-toggle span[aria-hidden="true"] {
    right: 1rem;
    top: 20px;
  }

  .mobile-menu-toggle span[aria-hidden="true"]::before,
  .mobile-menu-toggle span[aria-hidden="true"]::after {
    right: auto;
    left: 0;
  }

  .scroll-subheader .container {
    flex-wrap: wrap;
    justify-content: stretch;
  }

  .scroll-subheader .subheader-inner {
    flex-wrap: nowrap;
    justify-content: flex-end;
    gap: 0.4rem;
  }

  .accessibility-tools {
    flex: 0 0 auto;
    justify-content: flex-end;
    gap: 0.25rem;
  }

  .accessibility-button {
    min-height: 32px;
    font-size: 0.75rem;
    padding-right: 0.55rem;
    padding-left: 0.55rem;
  }

  .header-search-form {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
  }

  .header-search-field {
    min-height: 32px;
    padding-right: 0.55rem;
    padding-left: 0.7rem;
    font-size: 0.9rem;
  }

  .header-search-submit {
    flex-basis: 34px;
    width: 34px;
    min-height: 32px;
  }

  .intro-collapsed main,
  .intro-collapsed .site-footer {
    margin-left: 0;
  }

  .page-side-navigation {
    position: fixed;
    top: 148px;
    bottom: auto;
    left: 0.75rem;
    right: 0.75rem;
    z-index: 22;
    width: auto;
    max-height: calc(100vh - 158px);
    border: 1px solid rgba(7, 79, 155, 0.18);
    border-top: 0;
    border-radius: 0 0 18px 18px;
    box-shadow: 0 20px 44px rgba(7, 79, 155, 0.16);
    opacity: 0;
    overflow-y: auto;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 240ms ease, transform 240ms ease;
  }

  body.intro-collapsed:not(.mobile-menu-open) .page-side-navigation {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
  }

  body.intro-collapsed.mobile-menu-open .page-side-navigation {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .scroll-navigation ul {
    display: none;
  }

  .featured-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .featured-card-large {
    min-height: 260px;
  }

  .quick-strip {
    grid-template-columns: 1fr;
  }

  .quick-strip-links {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }

  .quick-links,
  .screen-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .post-card .wp-block-buttons {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-tabs-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
  }

  .page-tab-button,
  .post-card .page-tab-button {
    min-height: 44px;
    font-size: 0.78rem;
    line-height: 1.12;
    padding: 0.55rem 0.65rem !important;
    word-break: normal;
    overflow-wrap: anywhere;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-column {
    min-height: 0;
    padding-right: 0;
    padding-bottom: 1rem;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  }

  .footer-column:last-child {
    border-bottom: 0;
    padding-bottom: 0;
  }

  .footer-logos {
    justify-content: flex-start;
    justify-items: start;
    text-align: left;
  }

  .footer-logos img {
    width: min(230px, 70vw);
  }
}

@media (max-width: 540px) {
  .featured-grid,
  .quick-links,
  .screen-grid {
    grid-template-columns: 1fr;
  }

  .featured-card-large {
    grid-row: auto;
    min-height: 0;
  }

  .post-card .wp-block-buttons {
    grid-template-columns: 1fr;
  }

  .page-tabs-list {
    grid-template-columns: 1fr;
  }

  .page-tab-button,
  .post-card .page-tab-button {
    min-height: 42px;
    font-size: 0.82rem;
    padding-right: 0.9rem !important;
    padding-left: 0.9rem !important;
  }

  .featured-card {
    min-height: 0;
    padding: 1.25rem;
  }

  .featured-thumb,
  .featured-card-large .featured-thumb {
    width: 96px;
  }

  .featured-card > div {
    padding-right: 0;
  }

  .quick-strip-links {
    grid-template-columns: 1fr;
  }

  .quick-strip-links a {
    justify-content: flex-start;
    border-left: 0;
    border-top: 1px solid var(--cinza-300);
  }

  .hero-inner {
    padding: 3rem 0;
  }
}







