/*
Theme Name: FND
Theme URI:
Author: FND
Author URI:
Description: Tema institucional para o Fórum Nacional de Dança.
Version: 1.0.0
Text Domain: fnd
*/

:root {
  --bg: #f7f7f5;
  --surface: #ffffff;
  --text: #171717;
  --muted: #666666;
  --border: #e7e4dc;
  --accent: #f2c300;
  --accent-dark: #d5aa00;
  --accent-soft: #fff6c9;
  --hero-bg: #3d51a6;
  --dark: #101010;
  --shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  --radius: 18px;
  --container: 1050px;
  --content: 860px;
  --page-container: 920px;
  --btn-height: 48px;
  --btn-padding-x: 20px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Roboto", Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
}

body.page-termos,
body.page-termo-interna {
  --container: 1180px;
}

body.page-termo-interna,
body.page-noticia-interna {
  --btn-height: 44px;
  --btn-padding-x: 17px;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
select {
  font: inherit;
}

.container {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
}

.content-container {
  width: min(calc(100% - 32px), var(--page-container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 86px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  flex-shrink: 0;
}

.brand img {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-text strong {
  font-size: 1rem;
  letter-spacing: 0.04em;
}

.brand-text span {
  font-size: 0.85rem;
  color: var(--muted);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: #111;
  border-radius: 999px;
  transition: 0.25s ease;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.nav > a,
.dropdown > summary {
  list-style: none;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s ease;
}

.dropdown > summary::-webkit-details-marker {
  display: none;
}

.nav > a:hover,
.dropdown > summary:hover,
.nav .active {
  background: #f3f2ee;
}

.nav > a.nav-button {
  min-height: 44px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: var(--dark);
  color: #fff;
}

.nav > a.nav-button:hover {
  background: #000;
}

.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  display: grid;
  gap: 4px;
  min-width: 220px;
  padding: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.dropdown-menu a {
  padding: 10px 12px;
  border-radius: 10px;
  color: #333;
  font-size: 0.94rem;
}

.dropdown-menu a:hover {
  background: #f5f4f0;
}

.section {
  padding: 38px 0;
}

.page-termos .section,
.page-termo-interna .section {
  padding: 42px 0;
}

.page-hero {
  padding: 78px 0 88px;
  color: #fff;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.32), rgba(0, 0, 0, 0.08)), var(--hero-bg);
}

.page-hero .container {
  width: min(calc(100% - 32px), var(--page-container));
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.78);
}

.breadcrumb span {
  color: rgba(255, 255, 255, 0.52);
}

.page-hero h1 {
  margin: 0;
  max-width: 860px;
  font-size: clamp(2.2rem, 4vw, 4.1rem);
  line-height: 1.06;
}

.page-hero p {
  max-width: 780px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.08rem;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.5rem, 2vw, 2rem);
}

.section-head p {
  margin: 6px 0 0;
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: var(--btn-height);
  padding: 0 var(--btn-padding-x);
  border: 1px solid var(--dark);
  border-radius: 999px;
  background: var(--dark);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  opacity: 0.95;
}

.btn-outline {
  background: #fff;
  color: var(--dark);
  border-color: var(--border);
}

.site-footer {
  margin-top: 28px;
  padding: 48px 0 24px;
  background: #111111;
  color: #f5f5f5;
}

.page-termo-interna .site-footer {
  margin-top: 50px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 28px;
}

.footer-brand img {
  width: 88px;
  margin-bottom: 14px;
  border-radius: 50%;
}

.footer-brand p,
.footer-col a,
.footer-copy {
  color: rgba(255, 255, 255, 0.72);
}

.footer-col h4 {
  margin: 0 0 14px;
  font-size: 1rem;
  color: #fff;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-menu {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-menu li {
  margin: 0;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.footer-social-link img {
  width: 35px;
  height: 35px;
  object-fit: contain;
  flex: 0 0 auto;
}

.footer-bottom {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero,
.home-hero,
.home-hero-slide {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 560px;
  color: #fff;
}

.hero {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.68) 0%, rgba(0, 0, 0, 0.42) 38%, rgba(0, 0, 0, 0.18) 100%),
    url("https://festivalnortedanca.org/wp-content/uploads/2025/03/DSC_0008-2048x1365.jpg") center/cover no-repeat;
}

.hero-content {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
  padding: 84px 0;
  position: relative;
  z-index: 2;
}

.hero-kicker {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1,
.home-hero h1,
.home-hero-slide h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(2.3rem, 4vw, 4.4rem);
  line-height: 1.05;
}

.hero p,
.home-hero p,
.home-hero-slide p {
  max-width: 700px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.08rem;
}

.home-hero {
  overflow: hidden;
}

.home-hero-slide {
  width: 100%;
  overflow: hidden;
  background-image: var(--hero-image);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.home-hero-link {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: inherit;
  color: inherit;
}

.home-hero-slide.has-image-shadow::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.68) 0%, rgba(0, 0, 0, 0.42) 38%, rgba(0, 0, 0, 0.18) 100%);
}

.home-hero-slider {
  position: relative;
  overflow: hidden;
}

.home-hero-slider .swiper-slide {
  height: auto;
}

.home-hero-slider .swiper-pagination {
  bottom: 72px !important;
  z-index: 4;
}

.home-hero-slider .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.45);
  opacity: 1;
}

.home-hero-slider .swiper-pagination-bullet-active {
  background: var(--accent);
}

.home-hero-slider .swiper-button-prev,
.home-hero-slider .swiper-button-next {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.24);
  color: #fff;
  z-index: 4;
}

.home-hero-slider .swiper-button-prev::after,
.home-hero-slider .swiper-button-next::after {
  display: none;
}

.home-hero-slider .swiper-button-prev svg,
.home-hero-slider .swiper-button-next svg {
  width: 100%;
  height: 61%;
  object-fit: contain;
  transform-origin: center;
  fill: currentColor;
  pointer-events: none;
}

.termos-banner {
  position: relative;
  z-index: 2;
  margin-top: 50px;
}

.highlight-card,
.notice-card {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.highlight-card {
  background: linear-gradient(135deg, #ffd630 0%, #f2c300 100%);
  border: none;
}

.highlight-card .banner-text h2 {
  font-size: clamp(2rem, 3.2vw, 3rem);
  font-weight: 900;
  line-height: 1.05;
}

.highlight-card a,
.notice-card a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px;
}

.banner-text small,
.notice-text small {
  display: block;
  margin-bottom: 8px;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.8;
}

.banner-text h2,
.notice-text h2 {
  margin: 0;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  line-height: 1.15;
}

.termos-banner .highlight-card .banner-text h2 {
  font-size: clamp(2.35rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.02;
}
.termos-banner .highlight-card .banner-text h2:after {
  content:"";
  width:60px;
  margin-left:4px;
  height:7px;
  background:#23af3b;
  display:block;
}

.banner-text p,
.notice-text p {
  max-width: 760px;
  margin: 8px 0 0;
  color: rgba(0, 0, 0, 0.72);
  font-size: 1rem;
}

.arrow {
  display: grid;
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  place-items: center;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.12);
  font-size: 1.4rem;
  font-weight: bold;
}

.highlight-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 58px;
  padding: 0 28px;
  flex-shrink: 0;
  border-radius: 999px;
  background: #050505;
  color: var(--accent);
  font-size: clamp(1rem, 1.4vw, 1.35rem);
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.termos-banner .highlight-card .highlight-cta {
  min-height: 44px;
  padding: 0 20px;
  background: #050505;
  color: var(--accent);
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 400;
}

.highlight-cta-arrow {
  font-size: 1.7em;
  line-height: 0.8;
}

.termos-banner .highlight-card .highlight-cta-arrow {
  width: 24px;
  height: 24px;
  color: var(--accent);
  flex: 0 0 auto;
}

.notice-card .notice-visual {
  width: 280px;
  min-height: 200px;
  flex-shrink: 0;
  border: 1px solid var(--border);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(242, 195, 0, 0.18), rgba(0, 0, 0, 0.03)),
    url("https://festivalnortedanca.org/wp-content/uploads/2025/03/DSC_0008-2048x1365.jpg") center/cover;
}

.notice-card a {
  justify-content: flex-start;
}

.notice-text {
  flex: 1;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.news-card {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.news-thumb {
  aspect-ratio: 16 / 10;
  background: url("https://festivalnortedanca.org/wp-content/uploads/2025/03/DSC_0008-2048x1365.jpg") center/cover;
}

.news-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-body {
  padding: 18px;
}

.news-meta {
  margin-bottom: 10px;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8a8a8a;
}

.news-body h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
  line-height: 1.3;
}

.news-body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.news-footer {
  margin-top: 28px;
  text-align: center;
}

.quick-panel {
  position: relative;
  z-index: 2;
  margin-top: -42px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.filter-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr auto;
  align-items: end;
  gap: 14px;
}

.field label {
  display: block;
  margin-bottom: 7px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.input,
.select {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  outline: none;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fbfaf7;
  color: var(--text);
  transition: 0.2s;
}

.input:focus,
.select:focus {
  background: #fff;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(242, 195, 0, 0.16);
}

.terms-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.term-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
}

.term-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.term-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(242, 195, 0, 0.35);
  border-radius: 14px;
  background: var(--accent-soft);
  font-weight: 900;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: #f2f1ed;
  color: #555;
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}

.term-card h3 {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.28;
}

.term-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.term-meta {
  display: grid;
  gap: 6px;
  padding: 12px;
  background: #fbfaf7;
  border: 1px solid var(--border);
  border-radius: 14px;
  color: var(--muted);
  font-size: 0.88rem;
}

.term-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
}

.term-actions .btn {
  min-height: 42px;
  padding: 0 15px;
  font-size: 0.9rem;
}

.terms-library-list {
  display: grid;
  gap: 16px;
}

.terms-library-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 22px 24px;
  border: 1px solid #e5e5e5;
  border-left: 5px solid var(--dark);
  border-radius: 18px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.terms-library-item:hover {
  border-color: #d4d4d4;
  border-left-color: var(--dark);
  background: #f5f5f5;
  box-shadow: none;
  transform: translateY(-1px);
}

.terms-library-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 12px;
  background: #f5f5f5;
  color: #222;
}

.terms-library-icon svg {
  width: 24px;
  height: 24px;
}

.panel-body .terms-library-content h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(1rem, 1.45vw, 1.12rem);
  line-height: 1.25;
}

.terms-library-content p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.terms-library-actions {
  display: flex;
  justify-content: flex-end;
}

.terms-library-button {
  min-height: 42px;
  padding: 0 18px;
  border-color: var(--dark);
  border-radius: 999px;
  background: var(--dark);
  color: #fff;
  font-size: 0.92rem;
}

.info-box {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  margin-top: 34px;
  padding: 28px;
  border-radius: 22px;
  background: #111;
  color: #fff;
}

.info-box h2 {
  margin: 0 0 8px;
  font-size: 1.5rem;
}

.info-box p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
}

.info-box .btn {
  background: var(--accent);
  color: #111;
  border-color: var(--accent);
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.meta-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.86rem;
  font-weight: 700;
}

.main-card {
  position: relative;
  z-index: 2;
  overflow: hidden;
  margin-top: -46px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.intro-block {
  padding: 30px;
  border-bottom: 1px solid var(--border);
}

.intro-block h2,
.documents-block .documents-title {
  margin: 0 0 12px;
  font-size: clamp(1.4rem, 2vw, 1.9rem);
}

.intro-block p {
  margin: 0 0 14px;
  color: #444;
  font-size: 1rem;
}

.intro-block p:last-child {
  margin-bottom: 0;
}

.documents-block {
  padding: 30px;
}

.documents-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.documents-block .documents-description {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.5;
}

.doc-list {
  display: grid;
  gap: 14px;
}

.doc-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #fbfaf7;
}

.doc-icon {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border: 1px solid rgba(242, 195, 0, 0.35);
  border-radius: 15px;
  background: var(--accent-soft);
  font-size: 0.82rem;
  font-weight: 900;
}

.doc-icon svg {
  width: 25px;
  height: 25px;
}

.documents-block .doc-title {
  margin: 0 0 5px;
  font-size: 1.05rem;
  line-height: 1.3;
}

.documents-block .doc-description {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.doc-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.doc-pdf-preview {
  grid-column: 1 / -1;
}

.pdf-iframe-box {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
}

.pdf-iframe {
  display: block;
  width: 100%;
  height: min(78vh, 760px);
  min-height: 520px;
  border: 0;
}

.back-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 28px 0 0;
  padding: 22px;
  border-radius: 20px;
  background: #111;
  color: #fff;
}

.back-box p {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
}

.back-box .btn {
  background: var(--accent);
  color: #111;
  border-color: var(--accent);
}

.content-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
}

.content-card-body {
  padding: 26px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: #f2f1ed;
  color: #555;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.page-intro {
  max-width: 720px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 1rem;
}

.page-noticias .page-hero,
.page-sobre .page-hero,
.page-contato .page-hero {
  padding-bottom: 76px;
}

.page-sobre .page-hero h1,
.page-contato .page-hero h1 {
  max-width: 700px;
}

.news-page-hero .container,
.news-page-container {
  width: min(calc(100% - 32px), var(--container));
}

.news-listing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.news-card-stack {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.news-card-stack .news-body {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.news-category {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: #5e4c00;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.news-card-stack .news-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.news-card-stack .news-body p {
  margin-bottom: 18px;
}

.news-card-actions {
  margin-top: auto;
}

.pagination-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.page-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  font-weight: 700;
}

.page-chip.is-current {
  border-color: var(--accent);
  background: var(--accent);
  color: #111;
}

.pagination-bar .nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.pagination-bar .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  color: #333;
  font-size: 0.95rem;
  font-weight: 600;
}

.pagination-bar .page-numbers.current {
  border-color: var(--accent);
  background: var(--accent);
  color: #111;
}

.editorial-hero {
  padding: 56px 0 150px;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.32), rgba(0, 0, 0, 0.08)), var(--hero-bg);
  color: #fff;
}

.editorial-hero .container {
  width: min(calc(100% - 32px), var(--page-container));
}

.editorial-hero .breadcrumb {
  color: rgba(255, 255, 255, 0.78);
}

.editorial-hero .breadcrumb span {
  color: rgba(255, 255, 255, 0.52);
}

.editorial-hero h1 {
  max-width: var(--page-container);
  margin: 0;
  font-size: clamp(2rem, 3.4vw, 2.7rem);
  line-height: 1.08;
}

.editorial-meta {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
}

.editorial-main {
  margin-top: -100px;
  padding-bottom: 42px;
}

.editorial-card {
  max-width: var(--page-container);
  margin: 0 auto;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.editorial-featured-image {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
}

.single-post .blog-featured-media {
  width: fit-content;
  max-width: calc(100% - 56px);
  margin: 18px auto 0;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 22px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.035);
}

.single-post .blog-featured-media-inner {
  display: flex;
  justify-content: center;
  padding: 6px;
  border-radius: 16px;
  background: #fff;
}

.single-post .blog-featured-image {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 450px;
  height: auto;
  object-fit: contain;
  border-radius: 14px;
}

.single-post .blog-featured-caption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.4;
  text-align: center;
}

.editorial-content {
  padding: 30px;
}

.editorial-content h2,
.editorial-content h3 {
  margin: 28px 0 12px;
  line-height: 1.2;
}

.editorial-content p,
.editorial-content li {
  color: #444;
  font-size: 1rem;
}

.editorial-content p {
  margin: 0 0 16px;
}

.editorial-content ul,
.editorial-content ol {
  margin: 0 0 18px;
  padding-left: 20px;
}

.editorial-content a {
  color: #6d5800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.editorial-content figure {
  margin: 24px 0;
}

.editorial-content img {
  width: 100%;
  border-radius: 18px;
}

.editorial-content figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.9rem;
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.topic-card {
  padding: 24px;
}

.topic-card h3 {
  margin: 14px 0 10px;
  font-size: 1.2rem;
}

.topic-card p {
  margin: 0;
  color: var(--muted);
}

.history-list {
  display: grid;
  gap: 18px;
}

.history-item {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  padding: 24px;
}

.history-year {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: #5e4c00;
  font-weight: 800;
}

.history-item h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
}

.history-item p {
  margin: 0;
  color: var(--muted);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.3fr);
  gap: 24px;
  align-items: start;
}

.content-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(290px, 0.8fr);
  gap: 24px;
  align-items: start;
}

.content-stack {
  display: grid;
  gap: 20px;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
}

.panel-body {
  padding: 26px;
}

.panel-body h2 {
  margin: 0 0 14px;
  font-size: 1.35rem;
}

.panel-body p {
  margin: 0 0 14px;
  color: var(--muted);
}

.panel-body p:last-child {
  margin-bottom: 0;
}

.steps-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

.steps-list li {
  position: relative;
  min-height: 56px;
  padding: 16px 16px 16px 66px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #fbfaf7;
  color: #444;
  counter-increment: steps;
}

.steps-list li::before {
  content: counter(steps);
  position: absolute;
  top: 14px;
  left: 14px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: #111;
  font-weight: 800;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.info-card {
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #fbfaf7;
}

.info-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1rem;
}

.info-card span,
.info-card p {
  color: var(--muted);
}

.price-value {
  display: block;
  margin-top: 8px;
  color: #111;
  font-size: 1.5rem;
  font-weight: 800;
}

.alert-box {
  padding: 18px 20px;
  border: 1px solid rgba(242, 195, 0, 0.38);
  border-radius: 18px;
  background: #fff8d9;
  color: #5c4a00;
}

.alert-box strong {
  display: block;
  margin-bottom: 6px;
  color: #3b3100;
}

.cta-card {
  position: sticky;
  top: 108px;
  overflow: hidden;
}

.cta-card .panel-body {
  display: grid;
  gap: 18px;
}

.cta-card .eyebrow {
  justify-self: start;
}

.cta-card p {
  margin: 0;
}

.btn-accent {
  border-color: var(--accent);
  background: var(--accent);
  color: #111;
}

.detail-list {
  display: grid;
  gap: 12px;
}

.detail-item {
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.detail-item:first-child {
  padding-top: 0;
  border-top: 0;
}

.detail-item strong {
  display: block;
  margin-bottom: 4px;
}

.detail-item span,
.detail-item a {
  color: var(--muted);
}

.simple-page-card {
  max-width: var(--page-container);
  margin: 0 auto;
  padding: 30px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
}

.simple-page-card h2 {
  margin: 30px 0 12px;
  font-size: 1.3rem;
}

.simple-page-card h2:first-of-type {
  margin-top: 0;
}

.simple-page-card p {
  margin: 0 0 14px;
  color: #444;
}

.content-list {
  margin: 0 0 20px;
  padding-left: 20px;
  color: #444;
}

.content-list li + li {
  margin-top: 8px;
}

.notice-inline {
  margin: 22px 0 0;
  padding: 14px 16px;
  border-left: 4px solid var(--accent);
  border-radius: 14px;
  background: #fbfaf7;
  color: #5a5a5a;
}

.document-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 18px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  color: var(--text);
  font-weight: 700;
}

.document-icon {
  display: inline-grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 10px;
  background: #f3f2ee;
  color: #5e4c00;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.simple-page-main {
  margin-top: -100px;
  padding-bottom: 42px;
}

.page-filiacao .page-hero,
.page-tipografia .page-hero {
  padding: 54px 0 136px;
  color: #fff;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.32), rgba(0, 0, 0, 0.08)), var(--hero-bg);
  box-shadow: none;
}

.page-historia .page-hero {
  padding: 54px 0 136px;
  color: #fff;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.32), rgba(0, 0, 0, 0.08)), var(--hero-bg);
  box-shadow: none;
}

.page-filiacao .page-hero .container,
.page-tipografia .page-hero .container {
  width: min(calc(100% - 32px), var(--page-container));
}

.page-historia .page-hero .container {
  width: min(calc(100% - 32px), var(--page-container));
}

.page-filiacao .page-hero .breadcrumb,
.page-tipografia .page-hero .breadcrumb {
  color: rgba(255, 255, 255, 0.78);
}

.page-historia .page-hero .breadcrumb {
  color: rgba(255, 255, 255, 0.78);
}

.page-filiacao .page-hero .breadcrumb span,
.page-tipografia .page-hero .breadcrumb span {
  color: rgba(255, 255, 255, 0.52);
}

.page-historia .page-hero .breadcrumb span {
  color: rgba(255, 255, 255, 0.52);
}

.page-filiacao .page-hero h1,
.page-tipografia .page-hero h1 {
  max-width: 700px;
  color: #fff;
}

.richtext-demo {
  color: #444;
}

.richtext-demo > *:first-child {
  margin-top: 0;
}

.richtext-demo h1,
.richtext-demo h2,
.richtext-demo h3,
.richtext-demo h4,
.richtext-demo h5,
.richtext-demo h6 {
  margin: 28px 0 12px;
  color: var(--text);
  line-height: 1.2;
}

.richtext-demo h1 {
  font-size: clamp(2rem, 3vw, 2.5rem);
}

.richtext-demo h2 {
  font-size: clamp(1.5rem, 2.2vw, 1.9rem);
}

.richtext-demo h3 {
  font-size: 1.35rem;
}

.richtext-demo h4 {
  font-size: 1.15rem;
}

.richtext-demo h5 {
  font-size: 1rem;
}

.richtext-demo h6 {
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.richtext-demo p,
.richtext-demo li {
  font-size: 1rem;
  line-height: 1.7;
}

.richtext-demo p {
  margin: 0 0 16px;
}

.richtext-demo a {
  color: #6d5800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.richtext-demo a.btn,
.editorial-content a.btn {
  color: #fff;
  text-decoration: none;
}

.richtext-demo a.btn-outline,
.editorial-content a.btn-outline {
  color: var(--dark);
}

.richtext-demo a.btn-accent,
.editorial-content a.btn-accent {
  color: #111;
}

.richtext-demo ul,
.richtext-demo ol {
  margin: 0 0 18px;
  padding-left: 22px;
}

.richtext-demo li + li {
  margin-top: 8px;
}

.richtext-demo table,
.editorial-content table {
  width: 100%;
  margin: 24px 0;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
}

.richtext-demo th,
.richtext-demo td,
.editorial-content th,
.editorial-content td {
  padding: 14px 16px;
  border: 0;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
  font-size: 0.98rem;
  line-height: 1.6;
}

.richtext-demo td p,
.richtext-demo th p,
.editorial-content td p,
.editorial-content th p {
  margin: 0;
}

.richtext-demo td p + p,
.richtext-demo th p + p,
.editorial-content td p + p,
.editorial-content th p + p {
  margin-top: 6px;
}

.richtext-demo td ul,
.richtext-demo td ol,
.richtext-demo th ul,
.richtext-demo th ol,
.editorial-content td ul,
.editorial-content td ol,
.editorial-content th ul,
.editorial-content th ol {
  margin: 0;
  padding-left: 18px;
}

.richtext-demo td li,
.richtext-demo th li,
.editorial-content td li,
.editorial-content th li {
  margin: 0;
  line-height: 1.55;
}

.richtext-demo td li + li,
.richtext-demo th li + li,
.editorial-content td li + li,
.editorial-content th li + li {
  margin-top: 6px;
}

.richtext-demo th,
.editorial-content th {
  background: #f3f2ee;
  color: var(--text);
  font-weight: 700;
}

.richtext-demo tr:nth-child(even) td,
.editorial-content tr:nth-child(even) td {
  background: #fcfcfa;
}

.richtext-demo tr > *:last-child,
.editorial-content tr > *:last-child {
  border-right: 0;
}

.richtext-demo tbody tr:last-child td,
.editorial-content tbody tr:last-child td {
  border-bottom: 0;
}

.richtext-demo thead tr:last-child th,
.editorial-content thead tr:last-child th {
  border-bottom: 1px solid var(--border);
}


.richtext-demo caption,
.editorial-content caption {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.92rem;
  text-align: left;
}

.richtext-demo mark {
  padding: 0 4px;
  background: rgba(242, 195, 0, 0.35);
  color: inherit;
}

.richtext-demo blockquote {
  margin: 24px 0;
  padding: 16px 18px;
  border-left: 4px solid var(--accent);
  border-radius: 14px;
  background: #fbfaf7;
  color: #555;
}

.richtext-demo blockquote p:last-child {
  margin-bottom: 0;
}

.richtext-demo hr {
  margin: 30px 0;
  border: 0;
  border-top: 1px solid var(--border);
}

.richtext-demo code {
  padding: 2px 6px;
  border-radius: 8px;
  background: #f3f2ee;
  color: #3d3d3d;
  font-size: 0.95em;
}

.richtext-demo pre {
  margin: 24px 0;
  padding: 18px;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fbfaf7;
}

.richtext-demo pre code {
  padding: 0;
  background: transparent;
}

.richtext-demo small {
  color: var(--muted);
  font-size: 0.88rem;
}

.wp-block-file {
  padding: 15px;
  border-top: 3px solid var(--accent);
  border-radius: 10px;
  background: #fbfaf4;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.055);
}

.copytxt-box {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 2px;
  padding: 5px 5px 5px 8px;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  background: transparent;
  vertical-align: baseline;
}

.copytxt-actions {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}

.copytxt-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 22px;
  padding: 0 7px;
  border: 0;
  border-radius: 5px;
  background: var(--accent-soft);
  color: #5e4c00;
  font: inherit;
  font-size: 0.74rem;
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
}

.copytxt-button:hover {
  background: #f8ecc0;
}

.copytxt-tooltip {
  position: absolute;
  right: 0;
  bottom: calc(100% + 8px);
  padding: 6px 9px;
  border-radius: 6px;
  background: #222;
  color: #fff;
  font-size: 0.78rem;
  line-height: 1;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(4px);
  pointer-events: none;
  transition: opacity 0.16s ease, transform 0.16s ease;
}

.copytxt-box.is-copied .copytxt-tooltip {
  opacity: 1;
  transform: translateY(0);
}

.team-panel {
  max-width: var(--page-container);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.team-panel .panel-body {
  display: grid;
  gap: 32px;
  padding: 30px;
}

.team-page-intro > *:first-child {
  margin-top: 0;
}

.team-groups {
  display: grid;
  gap: 30px;
}

.team-group {
  display: grid;
  gap: 16px;
}

.team-group + .team-group {
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.team-member-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 190px;
  padding: 24px 18px;
  border-radius: 20px;
  background: #fbfaf7;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.team-member-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: var(--accent);
  color: #11111199;
  font-size: 18px;
  letter-spacing: 0.04em;
  overflow: hidden;
  margin: 0 auto 14px;
}

.team-member-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.team-member-info {
  width: 100%;
  max-width: 220px;
}

.team-member-info h3 {
  margin: 0;
  color: var(--text);
  font-size: 0.92rem;
  line-height: 1.22;
}

.team-member-role {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-top: 8px;
  padding: 0 10px;
  border: 1px solid rgba(23, 23, 23, 0.08);
  border-radius: 999px;
  background: rgba(242, 195, 0, 0.14);
  color: #4a4100;
  font-size: 0.8rem;
  font-weight: 700;
}

.team-member-info p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.page-historia .page-hero h1 {
  max-width: 700px;
  color: #fff;
}

.timeline {
  position: relative;
  display: grid;
  gap: 40px;
}

.timeline-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 21px;
  width: 2px;
  background: #f2c300;
}

.timeline-year-group {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.timeline-year {
  position: relative;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: #111;
  font-size: 13px;
  font-weight: 800;
  transition: transform 0.2s ease;
}

.timeline-year::before {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  background: rgba(242, 195, 0, 0.2);
  opacity: 0;
  transform: scale(0.82);
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: -1;
}

.timeline-year-group:hover .timeline-year::before {
  opacity: 1;
  transform: scale(1);
}

.timeline-year-group:hover .timeline-year {
  transform: translateY(-1px);
}

.timeline-events {
  display: grid;
  gap: 18px;
  padding-top: 8px;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.timeline-year-group:hover .timeline-events {
  opacity: 1;
}

.timeline-event h2,
.timeline-event h3 {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
}

.timeline-event p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 14px;
}

.timeline-event p:last-child {
  margin-bottom: 0;
}

.timeline-event h3:not(:first-child),
.timeline-event h2:not(:first-child) {
  margin-top: 22px;
}

.contact-card,
.form-card {
  padding: 26px;
}

.contact-points {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.contact-point {
  display: grid;
  gap: 6px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fbfaf7;
}

.contact-point strong {
  font-size: 1rem;
}

.contact-point span,
.contact-point a {
  color: var(--muted);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field-full {
  grid-column: 1 / -1;
}

.textarea {
  width: 100%;
  min-height: 180px;
  padding: 14px;
  resize: vertical;
  outline: none;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fbfaf7;
  color: var(--text);
  transition: 0.2s;
}

.textarea:focus {
  background: #fff;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(242, 195, 0, 0.16);
}

@media (max-width: 980px) {
  .header-inner {
    min-height: 78px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 14px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: var(--shadow);
  }

  .nav.is-open {
    display: flex;
  }

  .nav > a,
  .dropdown > summary {
    width: 100%;
    padding: 14px;
    background: #faf9f6;
  }

  .dropdown {
    width: 100%;
  }

  .dropdown-menu {
    position: static;
    min-width: 100%;
    margin-top: 8px;
    border-radius: 12px;
    box-shadow: none;
    background: #fcfcfa;
  }

  .highlight-card a,
  .notice-card a {
    flex-direction: column;
    align-items: flex-start;
  }

  .notice-card .notice-visual {
    width: 100%;
  }

  .filter-grid {
    grid-template-columns: 1fr 1fr;
  }

  .filter-grid .btn {
    width: 100%;
  }

  .terms-grid,
  .news-listing-grid,
  .topic-grid,
  .news-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .info-box {
    grid-template-columns: 1fr;
  }

  .doc-item {
    grid-template-columns: auto 1fr;
  }

  .doc-actions {
    grid-column: 1 / -1;
    padding-left: 66px;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .content-shell {
    grid-template-columns: 1fr;
  }

  .cta-card {
    position: static;
  }
}

@media (max-width: 640px) {
  .home-hero-slide.has-mobile-image {
    background-image: var(--hero-mobile-image);
  }

  .container,
  .content-container {
    width: min(calc(100% - 24px), var(--container));
  }

  .page-hero .container,
  .editorial-hero .container,
  .content-container {
    width: min(calc(100% - 24px), var(--page-container));
  }

  .brand img {
    width: 58px;
    height: 58px;
  }

  .brand-text strong {
    font-size: 0.92rem;
  }

  .brand-text span {
    font-size: 0.78rem;
  }

  .hero,
  .home-hero,
  .home-hero-slide {
    min-height: 460px;
  }

  .hero-content {
    padding: 64px 0;
  }

  .hero h1,
  .home-hero h1,
  .home-hero-slide h1 {
    font-size: clamp(2rem, 9vw, 3rem);
  }

  .home-hero-slider .swiper-button-prev,
  .home-hero-slider .swiper-button-next {
    width: 40px;
    height: 40px;
  }

  .page-hero {
    padding: 56px 0 80px;
  }

  .page-hero h1 {
    font-size: clamp(2.05rem, 10vw, 3rem);
  }

  .editorial-hero {
    padding: 42px 0 100px;
  }

  .editorial-hero h1 {
    font-size: clamp(1.7rem, 7vw, 2rem);
  }

  .editorial-main {
    margin-top: -50px;
  }

  .single-post .blog-featured-media {
    max-width: calc(100% - 24px);
    padding: 12px;
  }

  .single-post .blog-featured-media-inner {
    padding: 4px;
  }

  .simple-page-main {
    margin-top: -50px;
  }

  .page-filiacao .page-hero,
  .page-tipografia .page-hero {
    padding: 42px 0 94px;
  }

  .page-historia .page-hero {
    padding: 42px 0 94px;
  }

  .section,
  .page-termos .section {
    padding: 28px 0;
  }

  .page-termos .section {
    padding: 30px 0;
  }

  .highlight-card a,
  .notice-card a {
    padding: 22px;
  }

  .quick-panel {
    padding: 18px;
  }

  .intro-block,
  .documents-block {
    padding: 22px;
  }

  .section-head,
  .documents-head,
  .back-box {
    flex-direction: column;
    align-items: flex-start;
  }

  .filter-grid,
  .terms-grid,
  .news-listing-grid,
  .topic-grid,
  .news-grid,
  .footer-grid,
  .doc-item {
    grid-template-columns: 1fr;
  }

  .terms-library-item {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 14px;
    padding: 20px;
  }

  .terms-library-actions,
  .terms-library-button {
    width: 100%;
  }

  .term-actions .btn,
  .doc-actions,
  .doc-actions .btn,
  .back-box .btn {
    width: 100%;
  }

  .doc-actions {
    padding-left: 0;
    flex-direction: column;
    align-items: stretch;
  }

  .pdf-iframe {
    min-height: 420px;
  }

  .editorial-content,
  .topic-card,
  .contact-card,
  .form-card,
  .history-item,
  .panel-body {
    padding: 22px;
  }

  .simple-page-card {
    padding: 22px;
    border-radius: 20px;
  }

  .history-item {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .timeline {
    gap: 32px;
  }

  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .team-member-avatar {
    width: 62px;
    height: 62px;
    font-size: 16px;
  }

  .timeline-line {
    left: 17px;
  }

  .timeline-year {
    width: 36px;
    height: 36px;
    font-size: 11px;
  }

  .timeline-year-group {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 14px;
  }

  .timeline-events {
    padding-top: 0;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .price-grid {
    grid-template-columns: 1fr;
  }

  .page-actions .btn,
  .page-actions .document-link {
    width: 100%;
  }

  .team-panel .panel-body {
    padding: 22px;
  }

  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-hero-slider .swiper-button-prev,
  .home-hero-slider .swiper-button-next {
    display: none;
  }

}
