/* Revisamed — ajustes pontuais de setembro/2026. Mantém os estilos originais. */
.site-header { height: 86px; z-index: 110; }
.site-header .header-inner {
  display: grid; height: 100%; align-items: center; gap: 16px;
  grid-template-columns: 190px minmax(340px, 1fr) 74px minmax(300px, 440px);
  grid-template-areas: "brand navigation theme search";
}
.site-header .brand { grid-area: brand; min-width: 0; }
.site-header .brand img { width: 190px; height: auto; }
.site-header .main-nav { grid-area: navigation; gap: clamp(14px, 1.65vw, 26px); white-space: nowrap; }
.site-header .theme-toggle { grid-area: theme; }
.site-header .menu-toggle { grid-area: menu; display: none; }
.site-header .blog-search {
  grid-area: search; position: relative; display: flex; align-items: center;
  width: 100%; max-width: none; height: 46px; min-width: 0; margin: 0;
  gap: 10px; padding: 0 14px 0 18px; border: 1px solid #d8e3ed;
  border-radius: 24px; background: #fff; color: #082942;
  box-shadow: 0 3px 14px rgb(8 41 66 / 3%);
}
.site-header .blog-search:focus-within { border-color: #2f80ed; box-shadow: 0 0 0 4px rgb(47 128 237 / 10%); }
.site-header .blog-search input {
  min-width: 0; width: 100%; height: 100%; padding: 0; border: 0;
  outline: 0; background: transparent; color: #082942; font-size: 14px;
}
.site-header .blog-search input::placeholder { color: #667085; opacity: 1; }
.site-header .blog-search > button { display: grid; place-items: center; min-width: 32px; min-height: 36px; padding: 4px; border: 0; color: #2f80ed; background: transparent; }
.site-header .blog-search > button .icon { width: 19px; height: 19px; }
html[data-theme="dark"] .site-header .blog-search { border-color: #d8e3ed; color: #082942; background: #fff; }
html[data-theme="dark"] .site-header .blog-search input { color: #082942; }
html[data-theme="dark"] .site-header .blog-search input::placeholder { color: #667085; }
.blog-search-popup {
  position: absolute; top: calc(100% + 12px); right: 0; z-index: 130;
  width: max(100%, 450px); max-width: calc(100vw - 32px);
  max-height: min(580px, 68vh); overflow: auto; overscroll-behavior: contain;
  padding: 9px; border: 1px solid #dde7f0; border-radius: 18px;
  color: #082942; background: #fff; box-shadow: 0 24px 60px rgb(8 41 66 / 18%);
}
.blog-search-popup[hidden], .blog-search-option[hidden], .blog-search-all[hidden], .theme-card[hidden], .themes-empty[hidden] { display: none !important; }
.blog-search-popup__label { margin: 3px 10px 7px; color: #667085; font-size: 11px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.blog-search-option {
  display: grid; grid-template-columns: 34px minmax(0, 1fr) 16px; gap: 10px;
  align-items: center; padding: 12px 10px; border-radius: 11px;
  color: #082942; text-decoration: none; transition: background .18s;
}
.blog-search-option:hover, .blog-search-option[aria-selected="true"] { color: #082942; background: #edf6ff; }
.blog-search-option__icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; color: #277adf; background: #eaf3ff; }
.blog-search-option__icon svg { width: 16px; height: 16px; }
.blog-search-option strong { display: block; font-size: 13px; font-weight: 650; line-height: 1.4; }
.blog-search-option small { display: block; margin-top: 4px; color: #667085; font-size: 11px; }
.blog-search-option__arrow { color: #7993a7; font-size: 17px; }
.blog-search-message { margin: 8px 10px; font-size: 13px; line-height: 1.6; color: #52667d; }
.blog-search-all { display: flex; align-items: center; justify-content: space-between; margin-top: 5px; padding: 13px 12px; border-top: 1px solid #e4eaf0; color: #1264c8; font-size: 13px; font-weight: 700; text-decoration: none; }
.blog-search-all:hover { background: #f5f9fe; border-radius: 0 0 9px 9px; }
.blog-home .hero-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.blog-home .hero-grid > .feature-card { min-height: 260px; }
.blog-home-banner { padding-top: 38px; }
.blog-home-banner .ad-slot { display: block; width: 100%; max-width: 1164px; margin: 0 auto; overflow: hidden; border-radius: 18px; }
.blog-home-banner .ad-slot > span { display: block; margin: 0 0 7px; color: #667085; font-size: 10px; letter-spacing: .12em; text-align: center; text-transform: uppercase; }
.blog-home-banner .ad-slot img { display: block; width: 100%; height: auto; aspect-ratio: 1164 / 300; object-fit: contain; border-radius: 18px; }
.blog-news-listing .page-hero .title-row { grid-template-columns: minmax(0, 1fr); }
.blog-news-listing .page-hero .title-row p { max-width: 790px; }
.blog-news-listing .page-hero .title-row h1 { max-width: 1040px; }
.pagination { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; margin: 30px 0 0; }
.pagination a, .pagination strong { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; min-height: 42px; padding: 9px 12px; border: 1px solid #dce6f0; border-radius: 10px; color: #245478; background: #fff; font-size: 13px; text-decoration: none; }
.pagination a:hover { border-color: #2f80ed; background: #edf6ff; }
.pagination [aria-current="page"] { border-color: #2f80ed; color: #fff; background: #2f80ed; }
.pagination .pagination-direction { padding-inline: 16px; }
html[data-theme="dark"] .pagination a { color: #d7e7fb; border-color: #29445f; background: #0d2541; }
html[data-theme="dark"] .pagination a:hover { background: #143354; }

.article-content .post-navigation, .post-navigation { display: block; margin: 32px 0 8px; padding-top: 28px; border-top: 1px solid #dfe8f0; }
.post-navigation__heading { margin-bottom: 18px; }
.post-navigation .eyebrow { color: #007f68; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.article-content .post-navigation h2, .post-navigation h2 { margin: 6px 0 0; padding: 0; color: #082942; font-size: clamp(21px, 2vw, 27px); line-height: 1.25; letter-spacing: -.025em; }
.post-navigation__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.article-content a.post-nav-card, a.post-nav-card {
  position: relative; display: grid; grid-template-columns: 88px minmax(0, 1fr);
  align-items: start; gap: 14px; min-width: 0; padding: 17px 16px 38px;
  border: 1px solid #dce7f0; border-radius: 18px; overflow: hidden;
  color: #082942; background: linear-gradient(140deg, #fff, #f5f9ff);
  text-decoration: none; text-align: left; box-shadow: 0 5px 17px rgb(8 41 66 / 4%);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.article-content a.post-nav-card::before, a.post-nav-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, #2f80ed, #00b388); }
.article-content a.post-nav-card:hover, a.post-nav-card:hover { transform: translateY(-4px); border-color: #9dc4ef; box-shadow: 0 14px 26px rgb(8 41 66 / 9%); }
.post-nav-card__media { display: grid; place-items: center; width: 88px; height: 88px; overflow: hidden; border-radius: 11px; color: #2f80ed; background: #e5f1ff; font-size: 32px; }
.article-content .post-nav-card__media img, .post-nav-card__media img { display: block; width: 100%; max-width: none; height: 100%; margin: 0; border: 0; border-radius: 0; object-fit: cover; }
.post-navigation .post-nav-card .post-nav-card__copy { min-width: 0; color: inherit; font-weight: 400; font-size: 14px; letter-spacing: normal; }
.post-navigation .post-nav-card .post-nav-card__label { display: block; margin: 0 0 7px; color: #1767bb; font-size: 10px; font-weight: 800; line-height: 1.3; letter-spacing: .07em; text-transform: uppercase; }
.post-nav-card .post-nav-card__copy strong { display: block; margin: 0; font-size: 14px; font-weight: 700; line-height: 1.45; }
.post-navigation .post-nav-card .post-nav-card__date { display: block; margin-top: 10px; color: #62758b; font-size: 11px; font-weight: 400; line-height: 1.4; letter-spacing: normal; }
.post-navigation .post-nav-card .post-nav-card__arrow { position: absolute; right: 16px; bottom: 10px; display: grid; place-items: center; width: 27px; height: 27px; border-radius: 50%; color: #1468c5; background: #e6f1ff; font-size: 16px; letter-spacing: normal; }
.post-navigation .post-nav-card--next .post-nav-card__label { color: #007f68; }
.post-navigation .post-nav-card--next .post-nav-card__arrow { color: #007f68; background: #ddf4ed; }
.post-nav-card__collection-icon { display: grid; place-items: center; width: 88px; height: 88px; border-radius: 12px; color: #007f68; background: #e1f5ee; font-size: 32px; }
html[data-theme="dark"] .post-navigation { border-color: #28445c; }
html[data-theme="dark"] .post-navigation h2 { color: #eaf3ff; }
html[data-theme="dark"] .post-navigation .eyebrow { color: #63dec0; }
html[data-theme="dark"] a.post-nav-card { color: #eaf3ff; border-color: #294760; background: linear-gradient(140deg, #0d2842, #0a2038); }
html[data-theme="dark"] .post-navigation .post-nav-card .post-nav-card__label { color: #8abaff; }
html[data-theme="dark"] .post-navigation .post-nav-card--next .post-nav-card__label { color: #63dec0; }
html[data-theme="dark"] .post-navigation .post-nav-card .post-nav-card__date { color: #a9bdd3; }

.themes-grid .theme-card--news { display: flex; flex-direction: column; aspect-ratio: auto; min-height: 0; height: auto; padding: 0; overflow: hidden; border: 1px solid #dde6ee; border-radius: 17px; color: #082942; background: #fff; box-shadow: 0 6px 18px rgb(8 41 66 / 5%); }
.themes-grid .theme-card--news::before, .themes-grid .theme-card--news::after { display: none; }
.theme-card--news .theme-card__media { position: relative; display: block; width: 100%; aspect-ratio: 16 / 10; overflow: hidden; background: #eaf4fa; }
.theme-card--news .theme-card__media img { position: static; display: block; width: 100%; height: 100%; margin: 0; object-fit: cover; object-position: right center; transform: none; transition: transform .4s; }
.theme-card--news:hover .theme-card__media img { transform: scale(1.035); }
.theme-card--news .theme-card__body { position: static; display: flex; flex: 1; flex-direction: column; gap: 12px; padding: 23px; }
.theme-card--news .theme-card__specialty { display: block; color: #007f68; font-size: 12px; font-weight: 750; }
.theme-card--news .theme-card__body h3 { margin: 0; color: inherit; font-size: 21px; line-height: 1.3; letter-spacing: -.025em; }
.theme-card--news .theme-card__body h3 a { color: inherit; text-decoration: none; }
.theme-card--news .theme-card__button { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; margin-top: auto; padding: 12px 15px; border: 1px solid #dce9f3; border-radius: 10px; color: #156ec8; background: #f2f8ff; font-size: 13px; font-weight: 750; text-decoration: none; }
.theme-card--news .theme-card__button:hover { color: #fff; border-color: #2f80ed; background: #2f80ed; }
html[data-theme="dark"] .theme-card--news { color: #eaf3ff; border-color: #28445d; background: #0d2541; }
html[data-theme="dark"] .theme-card--news .theme-card__specialty { color: #63dec0; }
html[data-theme="dark"] .theme-card--news .theme-card__button { color: #aad0ff; border-color: #2b4d6a; background: #143553; }

.blog-about .page-hero h1 { max-width: 820px; font-size: clamp(28px, 3.2vw, 46px); }
.blog-about-intro { padding-block: 65px; }
.blog-about-intro > h2 { max-width: 700px; margin: 12px 0 20px; font-size: clamp(27px, 3vw, 38px); line-height: 1.15; letter-spacing: -.035em; }
.blog-about-intro > p { max-width: 780px; color: #5a6e83; font-size: 17px; line-height: 1.8; }
.blog-about-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin: 36px 0 48px; }
.blog-about-grid > a { display: flex; flex-direction: column; align-items: flex-start; padding: 30px; border: 1px solid #deE8f2; border-radius: 20px; color: #082942; background: linear-gradient(140deg, #fff, #f0f7ff); transition: transform .2s, box-shadow .2s; }
.blog-about-grid > a:nth-child(2) { background: linear-gradient(140deg, #fff, #f0fbf6); }
.blog-about-grid > a:nth-child(3) { background: linear-gradient(140deg, #fff, #f4f1ff); }
.blog-about-grid > a:hover { transform: translateY(-5px); box-shadow: 0 15px 35px rgb(8 41 66 / 8%); }
.blog-about-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; color: #247ae0; background: #e4f0ff; font-size: 13px; font-weight: 750; }
.blog-about-grid h3 { margin: 22px 0 10px; font-size: 22px; }
.blog-about-grid p { margin: 0 0 22px; color: #596d82; font-size: 15px; }
.blog-about-grid > a > span:last-child { margin-top: auto; color: #1365c6; font-size: 13px; font-weight: 750; }
.blog-about-contact { display: flex; justify-content: space-between; align-items: center; gap: 28px; padding: 34px; border: 1px solid #dcece9; border-radius: 22px; background: linear-gradient(110deg, #f1f7ff, #eafaf4); }
.blog-about-contact h2 { margin: 9px 0; font-size: clamp(22px, 3vw, 29px); letter-spacing: -.03em; }
.blog-about-contact p { margin: 0; color: #596d82; font-size: 15px; }
.blog-about-contact .button { flex-shrink: 0; }
html[data-theme="dark"] .blog-about-intro > p { color: #adc2d8; }
html[data-theme="dark"] .blog-about-grid > a, html[data-theme="dark"] .blog-about-contact { color: #eaf3ff; border-color: #29445f; background: linear-gradient(135deg, #0d2541, #0b303c); }
html[data-theme="dark"] .blog-about-grid p, html[data-theme="dark"] .blog-about-contact p { color: #adc2d8; }
html[data-theme="dark"] .blog-about-grid > a > span:last-child { color: #92c3ff; }
.blog-search-page { min-height: 420px; padding-block: 42px 70px; }
.blog-results-form { max-width: 850px; margin-bottom: 38px; }
.blog-results-form > label { display: block; margin: 0 0 8px; font-size: 14px; font-weight: 650; }
.blog-results-form > div { display: flex; gap: 10px; }
.blog-results-form input { width: 100%; min-width: 0; height: 50px; padding: 0 18px; border: 1px solid #cbdbea; border-radius: 12px; color: #082942; background: #fff; font: inherit; font-size: 15px; }
.blog-search-page .listing-heading { align-items: baseline; flex-wrap: wrap; }
.blog-search-page .listing-heading p { margin: 0; color: #667085; font-size: 13px; }
.blog-search-page .news-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.blog-search-page .news-card__media { display: grid; place-items: center; aspect-ratio: 16 / 10; overflow: hidden; color: #2676ce; background: #e9f3ff; font-size: 40px; }
.blog-search-page .news-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.blog-search-page img[src$="hero-hipertensao-arterial-sistemica.png"] { object-position: right center; }
.blog-search-page .news-card__kind { display: block; margin-bottom: 8px; color: #007f68; font-size: 11px; font-weight: 700; }
html[data-theme="dark"] .blog-search-page .listing-heading p { color: #adc2d8; }
html[data-theme="dark"] .blog-search-page .news-card__kind { color: #63dec0; }

@media (max-width: 1279px) {
  html { scroll-padding-top: 145px; }
  .site-header { height: auto; }
  .site-header .header-inner { position: relative; grid-template-columns: minmax(0, 1fr) 74px 44px; grid-template-areas: "brand theme menu" "search search search"; gap: 10px 14px; padding-block: 13px; }
  .site-header .brand img { width: 185px; max-width: 100%; }
  .site-header .theme-toggle { width: 74px; }
  .site-header .menu-toggle { display: grid; }
  .site-header .blog-search { height: 43px; }
  .site-header .main-nav { position: absolute !important; inset: 100% 0 auto auto !important; display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 15px 20px; border: 1px solid #dce6ef; border-radius: 0 0 16px 16px; color: #082942; background: #fff; opacity: 0; visibility: hidden; transform: translateY(-8px); box-shadow: 0 18px 30px rgb(8 41 66 / 12%); }
  .site-header .main-nav.open, .site-header .main-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .site-header .main-nav a { padding: 12px 0; }
  .site-header .main-nav a::after { display: none; }
  html[data-theme="dark"] .site-header .main-nav { color: #d7e7fb; border-color: #28445f; background: #0d2541; }
  .blog-search-popup { width: 100%; }
}
@media (max-width: 800px) {
  .blog-about-grid { grid-template-columns: 1fr; gap: 16px; }
  .blog-about-contact { flex-direction: column; align-items: flex-start; padding: 27px; }
  .blog-home .hero-grid { grid-template-columns: 1fr; }
  .blog-home .hero-grid > .feature-card { min-height: 195px; }
  .blog-home-banner { padding-top: 26px; }
  .blog-home-banner .ad-slot, .blog-home-banner .ad-slot img { border-radius: 12px; }
  .post-navigation__grid { grid-template-columns: 1fr; }
  .blog-search-page .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .site-header .header-inner { gap: 9px; padding-block: 11px; }
  .site-header .brand img { width: 170px; }
  .blog-search-popup { max-width: 100%; top: calc(100% + 8px); max-height: 64vh; }
  .blog-search-option { padding: 11px 7px; gap: 7px; grid-template-columns: 28px minmax(0, 1fr) 12px; }
  .blog-search-option__icon { width: 27px; height: 27px; }
  .blog-search-option strong { font-size: 12px; }
  .blog-about-intro { padding-block: 40px; }
  .blog-about .page-hero { min-height: 280px; }
  .blog-search-page .news-grid { grid-template-columns: 1fr; }
  .blog-results-form > div { gap: 7px; }
  .blog-results-form input { padding-inline: 12px; font-size: 14px; }
  .blog-results-form .button { padding-inline: 13px; }
  .pagination { gap: 6px; }
  .pagination a, .pagination strong { min-width: 37px; min-height: 41px; padding-inline: 9px; }
  .pagination .pagination-direction { padding-inline: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .post-nav-card, .theme-card__media img, .blog-about-grid > a { transition: none !important; transform: none !important; }
}
