/* Pós-Graduação na Home */
    .home-pos {
      padding: clamp(4rem, 7vw, 6rem) 0;
      color: #ffffff;
      background:
        radial-gradient(circle at 88% 8%, rgba(31, 216, 151, 0.24), transparent 25%),
        linear-gradient(125deg, #052f27 0%, #075c43 54%, #09885d 100%);
    }

    .home-pos-heading {
      display: flex;
      align-items: flex-end;
      justify-content: space-between;
      gap: 2rem;
      margin-bottom: 2.5rem;
    }

    .home-pos-heading > div {
      max-width: 780px;
    }

    .home-pos .section-kicker {
      color: #ffffff;
      background: rgba(255, 255, 255, 0.12);
    }

    .home-pos h2 {
      margin: 0.9rem 0 0;
      color: #ffffff;
      font-size: clamp(2rem, 4vw, 3.25rem);
      line-height: 1.1;
    }

    .home-pos-all {
      flex: 0 0 auto;
      display: inline-flex;
      align-items: center;
      gap: 0.55rem;
      padding: 0.8rem 1rem;
      border: 1px solid rgba(255, 255, 255, 0.28);
      border-radius: 10px;
      color: #ffffff;
      background: rgba(255, 255, 255, 0.08);
      font-weight: 800;
      text-decoration: none;
    }

    .home-pos-all:hover {
      background: rgba(255, 255, 255, 0.15);
    }

    .home-pos-grid {
      display: grid;
      grid-template-columns: repeat(6, minmax(0, 1fr));
      gap: 1rem;
    }

    .home-pos-card {
      grid-column: span 2;
      min-width: 0;
      display: flex;
      flex-direction: column;
      padding: 1.35rem;
      border: 1px solid rgba(255, 255, 255, 0.14);
      border-radius: 18px;
      background: rgba(255, 255, 255, 0.08);
      backdrop-filter: blur(8px);
      transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
    }

    .home-pos-card:nth-last-child(-n + 2) {
      grid-column: span 3;
    }

    .home-pos-card:hover {
      transform: translateY(-4px);
      border-color: rgba(255, 255, 255, 0.25);
      background: rgba(255, 255, 255, 0.12);
    }

    .home-pos-card-top {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 1rem;
      margin-bottom: 1rem;
    }

    .home-pos-icon {
      width: 50px;
      height: 50px;
      display: grid;
      place-items: center;
      border-radius: 14px;
      color: #075c3f;
      background: #ffffff;
      font-size: 1.25rem;
    }

    .home-pos-duration {
      padding: 0.34rem 0.56rem;
      border-radius: 999px;
      color: #ffffff;
      background: rgba(255, 255, 255, 0.12);
      font-size: 0.8rem;
      font-weight: 700;
    }

    .home-pos-card small {
      color: rgba(255, 255, 255, 0.68);
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.05em;
    }

    .home-pos-card h3 {
      margin: 0.45rem 0 0;
      color: #ffffff;
      font-size: 1.3rem;
      line-height: 1.25;
    }

    .home-pos-card p {
      margin: 0.75rem 0 1.1rem;
      color: rgba(255, 255, 255, 0.76);
      line-height: 1.55;
    }

    .home-pos-card > a {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      margin-top: auto;
      color: #ffffff;
      font-weight: 800;
      text-decoration: none;
    }

    .home-pos-card > a i {
      transition: transform 180ms ease;
    }

    .home-pos-card > a:hover i {
      transform: translateX(4px);
    }

    @media (max-width: 900px) {
      .home-pos-heading {
        align-items: flex-start;
        flex-direction: column;
      }

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

      .home-pos-card,
      .home-pos-card:nth-last-child(-n + 2) {
        grid-column: auto;
      }

      .home-pos-card:last-child {
        grid-column: 1 / -1;
      }
    }

    @media (max-width: 600px) {
      .home-pos-heading,
      .home-pos-all {
        width: 100%;
      }

      .home-pos-all {
        justify-content: center;
      }

      .home-pos-grid {
        grid-template-columns: minmax(0, 1fr);
      }

      .home-pos-card:last-child {
        grid-column: auto;
      }
    }

    /* Versão compacta: apresenta a área sem alongar a Home. */
    .home-pos {
      padding: clamp(2.75rem, 5vw, 4rem) 0;
    }

    .home-pos-compact {
      display: grid;
      grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
      align-items: center;
      gap: clamp(2rem, 6vw, 5rem);
    }

    .home-pos-copy {
      max-width: 690px;
    }

    .home-pos-copy > p {
      max-width: 640px;
      margin: 1rem 0 0;
      color: rgba(255, 255, 255, 0.78);
      font-size: 1.05rem;
      line-height: 1.6;
    }

    .home-pos-copy .home-pos-all {
      margin-top: 1.4rem;
    }

    .home-pos-summary {
      padding: clamp(1.35rem, 3vw, 1.8rem);
      border: 1px solid rgba(255, 255, 255, 0.16);
      border-radius: 20px;
      background: rgba(255, 255, 255, 0.08);
      box-shadow: 0 20px 46px rgba(3, 31, 24, 0.16);
      backdrop-filter: blur(8px);
    }

    .home-pos-summary-head {
      display: flex;
      align-items: center;
      gap: 1rem;
      padding-bottom: 1.15rem;
      border-bottom: 1px solid rgba(255, 255, 255, 0.13);
    }

    .home-pos-summary-head small,
    .home-pos-summary-head strong {
      display: block;
    }

    .home-pos-summary-head small {
      margin-bottom: 0.2rem;
      color: rgba(255, 255, 255, 0.64);
      font-size: 0.78rem;
      font-weight: 700;
      letter-spacing: 0.06em;
      text-transform: uppercase;
    }

    .home-pos-summary-head strong {
      color: #ffffff;
      font-size: 1.08rem;
      line-height: 1.3;
    }

    .home-pos-numbers {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 0.65rem;
      margin-top: 1rem;
    }

    .home-pos-numbers > div {
      min-width: 0;
      padding: 0.9rem 0.75rem;
      border-radius: 13px;
      background: rgba(255, 255, 255, 0.08);
      text-align: center;
    }

    .home-pos-numbers strong,
    .home-pos-numbers span {
      display: block;
    }

    .home-pos-numbers strong {
      color: #ffffff;
      font-size: clamp(1.3rem, 2.4vw, 1.75rem);
      line-height: 1;
    }

    .home-pos-numbers span {
      margin-top: 0.35rem;
      color: rgba(255, 255, 255, 0.7);
      font-size: 0.78rem;
      line-height: 1.25;
    }

    @media (max-width: 900px) {
      .home-pos-compact {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.75rem;
      }

      .home-pos-copy {
        max-width: 760px;
      }

      .home-pos-summary {
        max-width: 760px;
      }
    }

    @media (max-width: 520px) {
      .home-pos {
        padding: 2.5rem 0;
      }

      .home-pos h2 {
        font-size: 2rem;
      }

      .home-pos-summary {
        padding: 1rem;
        border-radius: 16px;
      }

      .home-pos-numbers {
        gap: 0.4rem;
      }

      .home-pos-numbers > div {
        padding: 0.75rem 0.4rem;
      }

      .home-pos-numbers span {
        font-size: 0.7rem;
      }
    }

/* Estilos para a seção de notícias */
    .noticias {
      padding: 4rem 0;
      background: #ffffff;
    }

    .noticias .section-heading {
      text-align: left;
      margin-bottom: 3rem;
    }

    .noticias .section-kicker {
      color: #1F7A3E;
      font-weight: 600;
      font-size: 1.1rem;
      text-transform: uppercase;
      letter-spacing: 0.5px;
    }

    .noticias-grid {
      display: grid;
      grid-template-columns: 2fr 1fr;
      gap: 2rem;
      align-items: start;
    }

    .noticia-principal {
      background: white;
      border-radius: 12px;
      box-shadow: 0 4px 20px rgba(0,0,0,0.08);
      overflow: hidden;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .noticia-principal:hover {
      transform: translateY(-4px);
      box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    }

    .noticia-principal img {
      width: 100%;
      height: 250px;
      object-fit: cover;
      transition: transform 0.3s ease;
    }

    .noticia-principal:hover img {
      transform: scale(1.05);
    }

    .noticia-principal-content {
      padding: 1.5rem;
    }

    .noticia-principal h3 {
      font-size: 1.5rem;
      font-weight: 700;
      color: #1F7A3E;
      margin: 0 0 0.5rem 0;
      line-height: 1.3;
    }

    .noticia-data {
      display: flex;
      align-items: center;
      font-size: 0.9rem;
      color: #666;
      margin-bottom: 1rem;
    }

    .noticia-data i {
      color: #1F7A3E;
      margin-right: 0.5rem;
    }

    .noticia-principal p {
      color: #555;
      line-height: 1.6;
      margin: 0;
    }

    .noticias-lista {
      display: flex;
      flex-direction: column;
      gap: 1rem;
    }

    .noticia-item {
      display: flex;
      background: white;
      border-radius: 8px;
      box-shadow: 0 2px 10px rgba(0,0,0,0.06);
      overflow: hidden;
      transition: all 0.3s ease;
      text-decoration: none;
      color: inherit;
    }

    .noticia-item:hover {
      background: #E8F5E9;
      transform: translateX(4px);
      box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    }

    .noticia-item img {
      width: 100px;
      height: 100px;
      object-fit: cover;
      flex-shrink: 0;
    }

    .noticia-principal img.noticia-image-placeholder,
    .noticia-item img.noticia-image-placeholder {
      object-fit: contain;
      padding: 1rem;
      background: linear-gradient(135deg, #e9f7f1 0%, #ffffff 100%);
    }

    .noticia-item-content {
      padding: 1rem;
      flex: 1;
    }

    .noticia-item h4 {
      font-size: 1rem;
      font-weight: 600;
      color: #1F7A3E;
      margin: 0 0 0.5rem 0;
      line-height: 1.3;
    }

    .noticia-item .noticia-data {
      margin: 0;
      font-size: 0.85rem;
    }

    .ver-todas-noticias {
      margin-top: 2rem;
      text-align: center;
    }

    .ver-todas-noticias .button {
      background: #1F7A3E;
      color: white;
      padding: 0.75rem 2rem;
      border-radius: 6px;
      text-decoration: none;
      font-weight: 600;
      transition: all 0.3s ease;
      display: inline-block;
    }

    .ver-todas-noticias .button:hover {
      background: #166534;
      transform: translateY(-2px);
    }

    .home-news-empty {
      display: grid;
      justify-items: center;
      gap: 0.75rem;
      padding: 2.5rem;
      border: 1px solid #dfe8e3;
      border-radius: 14px;
      color: #555;
      background: #f5faf7;
      text-align: center;
    }

    .home-news-empty i {
      color: #1f7a3e;
      font-size: 2rem;
    }

    .home-news-empty p {
      margin: 0;
    }

    /* Responsividade */
    @media (max-width: 768px) {
      .noticias-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
      }

      .noticia-principal img {
        height: 200px;
      }

      .noticia-principal h3 {
        font-size: 1.3rem;
      }

      .noticias .section-heading {
        text-align: center;
        margin-bottom: 2rem;
      }
    }

    @media (max-width: 480px) {
      .noticia-principal-content {
        padding: 1rem;
      }

      .noticia-item {
        flex-direction: column;
      }

      .noticia-item img {
        width: 100%;
        height: 150px;
      }
    }

    /* Animação de fade-in */
    .noticias {
      animation: fadeIn 0.8s ease-out;
    }

    @keyframes fadeIn {
      from {
        opacity: 0;
        transform: translateY(20px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

/* Integração WordPress: o WhatsApp é fornecido por plugin externo. */
.faedi-new-home .floating-button {
  display: none !important;
}

/* Evita que estilos de plugins externos alterem o cabeçalho do portal novo. */
.faedi-new-home .site-header button,
.faedi-new-home .site-header a {
  text-transform: none;
}

/* Mantém o cabeçalho exatamente centralizado no eixo vertical do projeto reformulado. */
@media (min-width: 1101px) {
  .faedi-new-home .site-header .header-content {
    min-height: 88px;
    height: 88px;
    padding-block: 0;
    align-items: center;
  }

  .faedi-new-home .site-header .main-nav,
  .faedi-new-home .site-header .nav-list,
  .faedi-new-home .site-header .nav-actions {
    align-items: center;
  }

  .faedi-new-home .site-header .nav-item {
    display: flex;
    align-items: center;
  }
}

/* ==========================================================
   FAEDI 0.15.14 — composição equilibrada da área institucional
   ========================================================== */
body[data-page="home"] .institutional-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1120px;
  margin: 0 auto clamp(2.5rem, 4vw, 3.75rem);
  text-align: center;
}

body[data-page="home"] .institutional-heading h2 {
  max-width: 1040px;
  margin: 0.9rem 0 0;
  color: var(--color-black);
  font-family: "Montserrat", sans-serif;
  font-size: clamp(2.3rem, 3.7vw, 3.7rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

body[data-page="home"] .institutional-grid {
  grid-template-columns: minmax(390px, 0.96fr) minmax(0, 1.04fr);
  gap: clamp(2.25rem, 4vw, 4.5rem);
  align-items: stretch;
}

body[data-page="home"] .institutional-video {
  width: 100%;
  min-height: 0;
  align-self: start;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid rgba(7, 95, 66, 0.14);
  border-radius: 22px;
  background: #07140f;
  box-shadow:
    0 22px 48px rgba(10, 45, 32, 0.13),
    0 4px 14px rgba(10, 45, 32, 0.07);
}

body[data-page="home"] .institutional-video::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: inherit;
}

body[data-page="home"] .institutional-video iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: inherit;
}

body[data-page="home"] .institutional-copy {
  height: 100%;
  justify-content: flex-start;
}

body[data-page="home"] .institutional-copy > p:first-child {
  margin-top: 0;
}

body[data-page="home"] .institutional-stats {
  margin-top: auto;
  gap: 0.8rem;
}

body[data-page="home"] .institutional-stats article {
  min-height: 142px;
  padding: 1.1rem;
  border-radius: 18px;
}

@media (max-width: 1100px) {
  body[data-page="home"] .institutional-heading {
    max-width: 850px;
    margin-bottom: 2.5rem;
  }

  body[data-page="home"] .institutional-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  body[data-page="home"] .institutional-video,
  body[data-page="home"] .institutional-copy {
    width: min(100%, 780px);
    margin-inline: auto;
  }

  body[data-page="home"] .institutional-stats {
    margin-top: 0.5rem;
  }
}

@media (max-width: 700px) {
  body[data-page="home"] .institutional-heading {
    align-items: flex-start;
    margin-bottom: 2rem;
    text-align: left;
  }

  body[data-page="home"] .institutional-heading h2 {
    font-size: clamp(2rem, 10vw, 2.75rem);
  }

  body[data-page="home"] .institutional-grid {
    gap: 2rem;
  }

  body[data-page="home"] .institutional-video {
    min-height: 0;
    height: auto;
    aspect-ratio: 16 / 9;
    border-radius: 18px;
    box-shadow: 0 15px 34px rgba(10, 45, 32, 0.12);
  }

  body[data-page="home"] .institutional-video iframe {
    min-height: 0;
    height: 100%;
  }

  body[data-page="home"] .institutional-stats {
    grid-template-columns: 1fr;
  }

  body[data-page="home"] .institutional-stats article {
    min-height: 0;
  }
}
