@font-face {
  font-family: Geist;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/geist-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: Geist;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/geist-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --font-geist-sans: Geist;
}

@layer ipp-base {
  html {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
  }

  :where(.site-header, .home #conteudo, .ipp-site-footer, .search-overlay) :where(p, h1, h2, h3, h4) {
    margin: 0;
  }

  :where(.home #conteudo) :where(h1, h2, h3, h4) {
    font-weight: inherit;
  }

  :where(.site-header, .home #conteudo, .ipp-site-footer, .search-overlay) a {
    text-decoration: inherit;
  }

  :where(.site-header, .home #conteudo, .search-overlay) :where(input, button) {
    color: inherit;
    border: 0;
    letter-spacing: inherit;
  }

  img {
    height: auto;
    vertical-align: middle;
  }
}

[hidden],
.search-overlay:not([open]) {
  display: none !important;
}

.screen-reader-text:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link:focus {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 10000;
  padding: 12px 18px;
  background: white;
}

.admin-bar .main-nav {
  top: 32px;
}

.search-trigger {
  visibility: hidden;
}

.ipp-interactive .search-trigger {
  visibility: visible;
}

.search-overlay {
  margin: 0;
  border: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  overflow: auto;
}

.search-overlay::backdrop {
  background: transparent;
}

body:has(.search-overlay[open]) {
  overflow: hidden;
}

.search-box input::placeholder {
  color: rgba(255, 255, 255, 0.66);
}

.search-submit {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 0;
  background: transparent;
  cursor: pointer;
  color: var(--lime);
}

.search-empty {
  margin-top: 14px;
}

.story-image-placeholder {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(135deg, var(--forest), var(--navy));
}

.news-image .story-image-placeholder {
  z-index: auto;
}

.cover-title {
  display: -webkit-box;
  margin-bottom: 10px;
  overflow: hidden;
  font-size: clamp(17px, 2.3vw, 30px);
  font-weight: 700;
  line-height: 1.1;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

/* Destaques: manchete principal maior que as secundárias, em branco sobre a sombra. */
.lead-grid .cover-title {
  margin-bottom: 4px;
  color: var(--white);
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.lead-grid .lead-story .cover-title {
  font-size: clamp(22px, 2.6vw, 34px);
  line-height: 1.1;
}

@media (max-width: 680px) {
  .lead-grid .cover-title {
    font-size: 15px;
  }

  .lead-grid .lead-story .cover-title {
    font-size: 20px;
  }
}

.cult-slider:not(.is-carousel) {
  overflow-x: auto;
}

.cult-track {
  transform: translateX(var(--cult-offset, 0));
}

@media (max-width: 782px) {
  .admin-bar .main-nav {
    top: 46px;
  }
}

@media (max-width: 680px) {
  .admin-bar .main-nav {
    top: auto;
  }

  .ipp-interactive .nav-inner nav:not(.open) {
    visibility: hidden;
  }

  body:not(.ipp-interactive) .mobile-menu {
    display: none;
  }

  body:not(.ipp-interactive) .nav-inner nav {
    position: static;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    box-shadow: none;
    padding: 8px 0;
    max-height: none;
  }

  body:not(.ipp-interactive) .nav-inner .site-menu {
    display: flex;
    gap: 0 14px;
  }

  body:not(.ipp-interactive) .nav-inner .site-menu > .menu-item > a {
    padding: 6px 0;
  }

  .search-overlay {
    padding: 70px 20px 24px;
  }

  .search-box label {
    font-size: clamp(30px, 8vw, 45px);
  }
}

.wp-view {
  padding-block: 52px 76px;
  min-height: 45vh;
}

.wp-view-heading {
  margin-bottom: 26px;
}

.wp-view-heading h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.wp-results {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(270px, 100%), 1fr));
  gap: 22px;
  margin-bottom: 30px;
}

.wp-result {
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.wp-result h2 {
  margin: 8px 0;
  line-height: 1.15;
}

.wp-result img,
.wp-article-image {
  border-radius: 12px;
}

.wp-article,
.wp-comments {
  max-width: 800px;
  margin-inline: auto;
}

.wp-article-image {
  margin-bottom: 28px;
}

.wp-article-content {
  overflow-wrap: anywhere;
}

.wp-comments {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin-top: 40px;
}

.wp-view .search-form {
  margin-top: 18px;
}

.wp-view :where(input, textarea) {
  max-width: 100%;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 5px;
}


