/*
Theme Name: Hello Gabi
Theme URI: https://wordpress-mysh.srv1687741.hstgr.cloud/
Description: Child theme do Hello Elementor para o blog Saúde Feminina / Gabriela Barreto.
Author: Hermes Agent
Template: hello-elementor
Version: 1.0.5
Text Domain: hello-gabi
*/

:root {
  --gb-vinho: #A4143C;
  --gb-rosa: #C7355A;
  --gb-rose: #D99684;
  --gb-nude: #E7B39F;
  --gb-creme: #FFF7E8;
  --gb-off: #FFFCF7;
  --gb-texto: #3A2522;
  --gb-cinza: #7A6A64;
  --gb-borda: rgba(164, 20, 60, 0.14);
  --gb-sombra: 0 18px 45px rgba(58, 37, 34, 0.10);
  --gb-radius: 28px;
}

/* === Elementor Global Colors → Brand Tokens ===
   Mantém sincronia entre o editor Elementor e as variáveis --gb-* do tema.
   Hierarquia:
     primary   = vinho  → CTAs, botões principais
     secondary = rosa   → links, destaques em texto
     text      = texto  → corpo de texto
     accent    = rosé   → hovers, bordas de cards
     gb_nude   = nude   → fundos de seções secundárias
     gb_creme  = creme  → fundo global
     gb_off    = off    → fundo suave alternativo
     gb_gray   = cinza  → texto de apoio e metadados
*/
:root {
  --e-global-color-primary:   var(--gb-vinho);
  --e-global-color-secondary: var(--gb-rosa);
  --e-global-color-text:      var(--gb-texto);
  --e-global-color-accent:    var(--gb-rose);
  --e-global-color-gb_nude:   var(--gb-nude);
  --e-global-color-gb_creme:  var(--gb-creme);
  --e-global-color-gb_off:    var(--gb-off);
  --e-global-color-gb_gray:   var(--gb-cinza);
}


body {
  margin: 0;
  background: var(--gb-off);
  color: var(--gb-texto);
  font-family: "Nunito Sans", Inter, Lato, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.75;
}

a { color: var(--gb-vinho); }
a:hover { color: var(--gb-rosa); }

.gb-shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.gb-site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 253, 249, 0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(164, 20, 60, 0.08);
  box-shadow: 0 8px 24px rgba(58, 37, 34, 0.045);
}

.admin-bar .gb-site-header { top: 32px; }

.gb-header-inner {
  min-height: 98px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(28px, 5vw, 72px);
}

.gb-brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  text-decoration: none;
}

.gb-brand img,
.gb-brand-logo {
  display: block;
  width: clamp(235px, 24vw, 315px);
  max-width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.gb-brand-logo-fallback {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff;
  color: var(--gb-vinho);
  font-weight: 900;
  box-shadow: 0 10px 28px rgba(164, 20, 60, 0.12);
}

.gb-site-nav { flex: 1 1 auto; }

.gb-site-nav .menu,
.gb-site-nav .sub-menu {
  margin: 0;
  padding: 0;
  list-style: none;
}

.gb-site-nav .menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: nowrap;
  gap: 10px;
}

.gb-site-nav .menu > li {
  position: relative;
}

.gb-site-nav .menu > li > a {
  min-height: 44px;
  min-width: 82px;
  justify-content: center;
}

.gb-site-nav a {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  color: var(--gb-texto);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 850;
  line-height: 1;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.gb-site-nav a:hover,
.gb-site-nav .current-menu-item > a,
.gb-site-nav .current_page_item > a,
.gb-site-nav .current-menu-ancestor > a {
  background: rgba(164, 20, 60, 0.055);
  border-color: rgba(164, 20, 60, 0.075);
  color: var(--gb-vinho);
  transform: translateY(-1px);
}

.gb-site-nav .menu-item-has-children > a::after {
  content: "▾";
  margin-left: 7px;
  font-size: .72em;
  line-height: 1;
  opacity: .72;
}

.gb-site-nav .sub-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  min-width: 250px;
  padding: 10px;
  border: 1px solid rgba(164, 20, 60, 0.12);
  border-radius: 22px;
  background: rgba(255, 252, 247, 0.98);
  box-shadow: 0 22px 52px rgba(58, 37, 34, 0.14);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}

.gb-site-nav .sub-menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -14px;
  height: 14px;
}

.gb-site-nav .menu > li:hover > .sub-menu,
.gb-site-nav .menu > li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.gb-site-nav .sub-menu li + li { margin-top: 4px; }

.gb-site-nav .sub-menu a {
  display: flex;
  width: 100%;
  justify-content: flex-start;
  padding: 10px 12px;
  border-radius: 14px;
  font-size: .9rem;
}

.gb-site-nav .menu > li:last-child > a {
  min-width: 108px;
  background: var(--gb-vinho);
  border-color: var(--gb-vinho);
  color: #fff;
  box-shadow: 0 10px 22px rgba(164, 20, 60, 0.14);
}

.gb-site-nav .menu > li:last-child > a:hover {
  background: #8f1034;
  border-color: #8f1034;
  color: #fff;
  box-shadow: 0 12px 26px rgba(164, 20, 60, 0.18);
}

@media (max-width: 980px) {
  .gb-brand img,
  .gb-brand-logo {
    width: clamp(220px, 34vw, 285px);
  }

  .gb-header-inner {
    gap: 22px;
  }

  .gb-site-nav .menu > li > a {
    min-width: 74px;
    padding-inline: 14px;
  }
}

@media (max-width: 720px) {
  .gb-header-inner {
    min-height: auto;
    padding: 14px 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .gb-site-nav,
  .gb-site-nav .menu {
    width: 100%;
  }

  .gb-site-nav .menu {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .gb-site-nav .menu > li { position: static; }

  .gb-site-nav .sub-menu {
    position: static;
    display: none;
    min-width: 100%;
    margin: 6px 0 4px;
    padding: 8px;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: rgba(164, 20, 60, 0.04);
  }

  .gb-site-nav .sub-menu::before { display: none; }

  .gb-site-nav .menu > li:hover > .sub-menu,
  .gb-site-nav .menu > li:focus-within > .sub-menu {
    display: grid;
  }
}

@media (max-width: 520px) {
  .gb-brand img,
  .gb-brand-logo {
    width: min(255px, 82vw);
  }

  .gb-site-nav a {
    padding: 9px 12px;
    font-size: .86rem;
  }

  .gb-site-nav .menu > li > a {
    min-height: 40px;
    min-width: 76px;
  }
}

.gb-site-footer {
  margin-top: 80px;
  background:
    radial-gradient(circle at 20% 0%, rgba(217, 150, 132, 0.30), transparent 34%),
    linear-gradient(135deg, #FFF7E8 0%, #FFFCF7 55%, rgba(231, 179, 159, 0.38) 100%);
  border-top: 1px solid var(--gb-borda);
  color: var(--gb-texto);
}

.gb-footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(220px, .7fr);
  gap: 42px;
  padding: 56px 0 34px;
}

.gb-footer-kicker {
  display: inline-flex;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(164, 20, 60, 0.08);
  color: var(--gb-vinho);
  font-weight: 900;
  font-size: .82rem;
}

.gb-footer-title {
  margin: 14px 0 10px;
  font-family: Georgia, "Playfair Display", serif;
  font-size: clamp(1.9rem, 4vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--gb-vinho);
}

.gb-footer-copy,
.gb-footer-disclaimer {
  max-width: 760px;
  color: var(--gb-cinza);
}

.gb-footer-disclaimer {
  margin-top: 16px;
  font-size: .92rem;
}

.gb-footer-nav .menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.gb-footer-nav a {
  display: inline-flex;
  align-items: center;
  color: var(--gb-texto);
  font-weight: 900;
  text-decoration: none;
}

.gb-footer-nav a:hover { color: var(--gb-vinho); }

.gb-footer-bottom {
  padding: 18px 0 28px;
  border-top: 1px solid rgba(164, 20, 60, 0.10);
  color: var(--gb-cinza);
  font-size: .88rem;
}

.gb-single-wrap {
  background:
    radial-gradient(circle at 12% 0%, rgba(217, 150, 132, .24), transparent 34%),
    linear-gradient(180deg, #FFF7E8 0%, #FFFCF7 28%, #FFFCF7 100%);
}

.gb-single-hero {
  padding: 62px 0 34px;
  text-align: center;
}

.gb-post-category {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(164, 20, 60, .08);
  color: var(--gb-vinho);
  font-size: .84rem;
  font-weight: 900;
  letter-spacing: .03em;
}

.gb-single-title {
  max-width: 920px;
  margin: 0 auto 18px;
  color: var(--gb-vinho);
  font-family: Georgia, "Playfair Display", serif;
  font-size: clamp(2.25rem, 6vw, 4.8rem);
  line-height: .98;
  letter-spacing: -0.055em;
}

.gb-single-excerpt {
  max-width: 760px;
  margin: 0 auto;
  color: var(--gb-cinza);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.gb-single-meta {
  margin-top: 22px;
  color: var(--gb-cinza);
  font-size: .94rem;
  font-weight: 700;
}

.gb-featured-image {
  width: min(1040px, calc(100% - 40px));
  margin: 28px auto 0;
  border-radius: 34px;
  overflow: hidden;
  box-shadow: 0 28px 70px rgba(58, 37, 34, .14);
  border: 1px solid rgba(255,255,255,.8);
}

.gb-featured-image img {
  display: block;
  width: 100%;
  height: auto;
}

.gb-single-layout {
  display: grid;
  grid-template-columns: minmax(0, 760px) 300px;
  gap: 46px;
  align-items: start;
  padding: 54px 0 20px;
}

.gb-article-card {
  background: #fff;
  border: 1px solid rgba(164, 20, 60, .10);
  border-radius: 34px;
  padding: clamp(28px, 5vw, 54px);
  box-shadow: var(--gb-sombra);
}

.gb-article-card .entry-content {
  font-size: 1.08rem;
  color: var(--gb-texto);
}

.gb-article-card p { margin: 0 0 1.28em; }

/* Os posts iniciais foram importados com o título repetido como primeiro H2 no conteúdo. */
.single-post .gb-article-card .entry-content > h2:first-child {
  display: none;
}

.gb-article-card h2,
.gb-article-card h3,
.gb-article-card h4 {
  margin: 1.65em 0 .65em;
  color: var(--gb-vinho);
  font-family: Georgia, "Playfair Display", serif;
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.gb-article-card h2 { font-size: clamp(1.7rem, 3vw, 2.35rem); }
.gb-article-card h3 { font-size: clamp(1.35rem, 2.3vw, 1.8rem); }

.gb-article-card ul,
.gb-article-card ol { padding-left: 1.25rem; margin-bottom: 1.4em; }
.gb-article-card li + li { margin-top: .38em; }

.gb-article-card blockquote,
.gb-note-box {
  margin: 28px 0;
  padding: 22px 24px;
  border-radius: 24px;
  background: rgba(255, 247, 232, .92);
  border: 1px solid var(--gb-borda);
  color: var(--gb-texto);
}

.gb-note-box strong {
  display: block;
  margin-bottom: 6px;
  color: var(--gb-vinho);
  font-family: Georgia, serif;
  font-size: 1.25rem;
}

.gb-post-tags {
  margin-top: 34px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.gb-post-tags a {
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(164, 20, 60, .08);
  color: var(--gb-vinho);
  font-size: .86rem;
  font-weight: 800;
  text-decoration: none;
}

.gb-sidebar {
  position: sticky;
  top: 108px;
  display: grid;
  gap: 18px;
}

.admin-bar .gb-sidebar { top: 140px; }

.gb-side-card {
  padding: 24px;
  border-radius: 28px;
  background: #fff;
  border: 1px solid rgba(164, 20, 60, .10);
  box-shadow: 0 16px 42px rgba(58, 37, 34, .08);
}

.gb-side-card h3 {
  margin: 0 0 10px;
  color: var(--gb-vinho);
  font-family: Georgia, serif;
  font-size: 1.35rem;
  line-height: 1.1;
}

.gb-side-card p { margin: 0 0 16px; color: var(--gb-cinza); font-size: .96rem; }

.gb-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 13px 17px;
  border-radius: 999px;
  background: var(--gb-vinho);
  color: #fff !important;
  text-decoration: none;
  font-weight: 900;
  box-shadow: 0 14px 32px rgba(164, 20, 60, .18);
}

.gb-button.secondary {
  background: rgba(164, 20, 60, .08);
  color: var(--gb-vinho) !important;
  box-shadow: none;
}

.gb-related {
  margin-top: 34px;
  padding-top: 30px;
  border-top: 1px solid rgba(164, 20, 60, .10);
}

.gb-related h2 {
  margin-top: 0;
}

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

.gb-related-card {
  display: block;
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 247, 232, .85);
  border: 1px solid rgba(164, 20, 60, .10);
  text-decoration: none;
  color: var(--gb-texto);
  font-weight: 900;
  line-height: 1.25;
}

.gb-related-card:hover {
  background: #fff;
  color: var(--gb-vinho);
}

.gb-post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 26px;
}

.gb-post-nav a {
  display: block;
  padding: 18px;
  border-radius: 22px;
  background: rgba(164, 20, 60, .06);
  text-decoration: none;
  font-weight: 900;
}

.gb-post-nav .nav-next { text-align: right; }

@media (max-width: 980px) {
  .gb-header-inner { align-items: flex-start; flex-direction: column; padding: 16px 0; gap: 14px; }
  .gb-site-nav .menu { justify-content: flex-start; }
  .gb-site-nav a { font-size: .86rem; padding: 8px 10px; }
  .gb-footer-inner,
  .gb-single-layout { grid-template-columns: 1fr; }
  .gb-sidebar { position: static; }
  .gb-related-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .admin-bar .gb-site-header { top: 0; }
  .gb-shell { width: min(100% - 28px, 1120px); }
  .gb-brand { min-width: 0; }
  .gb-site-nav .menu { gap: 4px; }
  .gb-site-nav li:last-child { width: 100%; }
  .gb-site-nav li:last-child a { justify-content: center; width: 100%; }
  .gb-single-hero { padding-top: 42px; }
  .gb-featured-image { width: calc(100% - 28px); border-radius: 24px; }
  .gb-article-card { border-radius: 24px; }
  .gb-post-nav { grid-template-columns: 1fr; }
  .gb-post-nav .nav-next { text-align: left; }
}

/* ==========================================================
   Páginas institucionais/pilares — Gabi
   ========================================================== */
.gb-page-wrap {
  --gb-wine: #A4143C;
  --gb-berry: #C7355A;
  --gb-rose: #D99684;
  --gb-nude: #E7B39F;
  --gb-cream: #FFF7E8;
  --gb-ink: #3A2522;
  --gb-soft: #FFFDF9;
  background: linear-gradient(180deg, #fff7e8 0%, #fffdf9 48%, #fff7e8 100%);
  color: var(--gb-ink);
}
.gb-page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 8vw, 112px) 22px clamp(42px, 6vw, 76px);
}
.gb-page-hero:before,
.gb-page-hero:after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(2px);
  opacity: .45;
  pointer-events: none;
}
.gb-page-hero:before { width: 460px; height: 460px; background: #e7b39f; left: -190px; top: -210px; }
.gb-page-hero:after { width: 520px; height: 520px; background: #d99684; right: -210px; bottom: -260px; }
.gb-page-container {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.gb-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, .92fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: center;
}
.gb-kicker {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 8px 13px;
  border: 1px solid rgba(164, 20, 60, .14);
  border-radius: 999px;
  background: rgba(255,255,255,.68);
  color: var(--gb-wine);
  font-size: .83rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.gb-page-title {
  margin: 18px 0 16px;
  max-width: 780px;
  color: var(--gb-wine);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(2.35rem, 5.3vw, 5rem);
  line-height: .98;
  letter-spacing: -.055em;
}
.gb-page-lead {
  margin: 0;
  max-width: 720px;
  color: rgba(58,37,34,.78);
  font-size: clamp(1.08rem, 1.8vw, 1.32rem);
  line-height: 1.68;
}
.gb-hero-card {
  padding: 18px;
  border: 1px solid rgba(164,20,60,.12);
  border-radius: 34px;
  background: rgba(255,255,255,.66);
  box-shadow: 0 26px 70px rgba(164,20,60,.13);
}
.gb-hero-card img,
.gb-feature-image {
  width: 100%;
  display: block;
  border-radius: 25px;
  box-shadow: 0 22px 48px rgba(58,37,34,.14);
}
.gb-page-section { padding: clamp(42px, 6vw, 86px) 0; }
.gb-page-section.compact { padding-top: 24px; }
.gb-section-eyebrow { color: var(--gb-berry); font-weight: 850; text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; }
.gb-section-title {
  margin: 8px 0 16px;
  color: var(--gb-wine);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1.9rem, 3.6vw, 3.25rem);
  line-height: 1.06;
  letter-spacing: -.035em;
}
.gb-section-text { color: rgba(58,37,34,.78); font-size: 1.08rem; line-height: 1.76; }
.gb-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.gb-card-grid.two { grid-template-columns: repeat(2, minmax(0,1fr)); }
.gb-info-card,
.gb-cta-panel,
.gb-video-card {
  border: 1px solid rgba(164,20,60,.11);
  border-radius: 26px;
  background: rgba(255,255,255,.78);
  box-shadow: 0 18px 46px rgba(164,20,60,.08);
}
.gb-info-card { padding: 25px; }
.gb-info-card h3,
.gb-video-card h3 { margin: 0 0 10px; color: var(--gb-wine); font-size: 1.18rem; }
.gb-info-card p,
.gb-video-card p { margin: 0; color: rgba(58,37,34,.75); line-height: 1.65; }
.gb-icon-dot { width: 38px; height: 38px; display: grid; place-items: center; margin-bottom: 14px; border-radius: 50%; color: #fff; background: linear-gradient(135deg, var(--gb-wine), var(--gb-rose)); font-weight: 900; }
.gb-split { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.gb-check-list { display: grid; gap: 12px; padding: 0; margin: 20px 0 0; list-style: none; }
.gb-check-list li { padding: 14px 16px 14px 44px; position: relative; border-radius: 17px; background: rgba(255,255,255,.72); color: rgba(58,37,34,.78); line-height: 1.55; }
.gb-check-list li:before { content: "✓"; position: absolute; left: 16px; top: 14px; color: var(--gb-wine); font-weight: 900; }
.gb-cta-panel { padding: clamp(26px, 4vw, 44px); background: linear-gradient(135deg, #a4143c 0%, #c7355a 55%, #d99684 100%); color: #fff; }
.gb-cta-panel h2, .gb-cta-panel h3 { margin: 0 0 12px; color: #fff; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(1.8rem, 3vw, 3rem); line-height: 1.05; }
.gb-cta-panel p { color: rgba(255,255,255,.88); line-height: 1.68; max-width: 820px; }
.gb-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.gb-button,
.gb-page-wrap .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid rgba(164,20,60,.12);
  background: var(--gb-wine);
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 800;
  box-shadow: 0 14px 28px rgba(164,20,60,.18);
}
.gb-button.secondary { background: #fff; color: var(--gb-wine) !important; }
.gb-button.ghost { background: rgba(255,255,255,.14); color: #fff !important; border-color: rgba(255,255,255,.32); }
.gb-video-embed { overflow: hidden; border-radius: 28px; box-shadow: 0 20px 52px rgba(58,37,34,.13); background: #000; aspect-ratio: 16 / 9; }
.gb-video-embed iframe { width: 100%; height: 100%; display: block; border: 0; }
.gb-video-card { padding: 0; overflow: hidden; }
.gb-video-thumb { display: grid; place-items: center; aspect-ratio: 16/9; background: linear-gradient(135deg, #fff7e8, #e7b39f); color: var(--gb-wine); font-size: 2rem; font-weight: 900; }
.gb-video-card-body { padding: 22px; }
.gb-note-strip { padding: 18px 20px; border-left: 4px solid var(--gb-wine); border-radius: 18px; background: rgba(255,255,255,.72); color: rgba(58,37,34,.77); line-height: 1.65; }
@media (max-width: 860px) {
  .gb-page-grid, .gb-split, .gb-card-grid, .gb-card-grid.two { grid-template-columns: 1fr; }
  .gb-page-hero { padding-top: 48px; }
}

/* Home limpa: conteúdo migrado para HTML sem Elementor/estilos inline. */
.gb-home-clean {
  overflow: hidden;
  background: var(--gb-off);
}

.gb-home-clean * { box-sizing: border-box; }
.gb-home-clean img { max-width: 100%; height: auto; }
.gb-home-clean a { text-decoration: none; }

.gb-home-section {
  padding: clamp(58px, 7vw, 96px) 0;
  background: var(--gb-off);
}

.gb-home-section.soft { background: var(--gb-creme); }

.gb-home-hero {
  position: relative;
  padding: clamp(62px, 8vw, 104px) 0 clamp(64px, 8vw, 98px);
  background:
    radial-gradient(circle at 8% 18%, rgba(217, 150, 132, 0.30), transparent 28%),
    radial-gradient(circle at 92% 6%, rgba(199, 53, 90, 0.16), transparent 30%),
    linear-gradient(135deg, var(--gb-creme) 0%, #fff 56%, #fde8df 100%);
}

.gb-home-grid,
.gb-home-split,
.gb-home-cta-grid {
  display: grid;
  gap: clamp(28px, 5vw, 58px);
  align-items: center;
}

.gb-home-grid { grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr); }
.gb-home-split { grid-template-columns: minmax(0, .96fr) minmax(320px, 1.04fr); }
.gb-home-cta-grid { grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr); }

.gb-home-brand-pill,
.gb-home-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  padding: 8px 14px;
  border: 1px solid rgba(164, 20, 60, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--gb-vinho);
  font-size: .86rem;
  font-weight: 900;
  letter-spacing: .02em;
}

.gb-home-brand-pill img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.gb-home-title,
.gb-home-section-title,
.gb-home-cta-title {
  margin: 0;
  color: var(--gb-vinho);
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -0.045em;
}

.gb-home-title {
  max-width: 820px;
  font-size: clamp(2.85rem, 6.2vw, 5.05rem);
  line-height: .94;
}

.gb-home-section-title,
.gb-home-cta-title {
  max-width: 840px;
  font-size: clamp(2rem, 4vw, 3.45rem);
  line-height: 1.04;
}

.gb-home-text {
  max-width: 760px;
  margin: 20px 0 0;
  color: var(--gb-cinza);
  font-size: clamp(1.04rem, 1.6vw, 1.16rem);
  line-height: 1.72;
}

.gb-home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.gb-home-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 24px;
  border: 1px solid rgba(164, 20, 60, 0.12);
  border-radius: 999px;
  font-weight: 900;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}

.gb-home-btn.primary {
  background: var(--gb-vinho);
  color: #fff !important;
  box-shadow: 0 12px 24px rgba(164, 20, 60, 0.22);
}

.gb-home-btn.secondary {
  background: #fff;
  color: var(--gb-vinho) !important;
}

.gb-home-btn:hover { transform: translateY(-2px); }
.gb-home-btn.primary:hover { background: #8f1034; color: #fff !important; }
.gb-home-btn.secondary:hover { border-color: var(--gb-vinho); color: var(--gb-vinho) !important; }

.gb-home-photo-card,
.gb-home-video-card,
.gb-home-ebook-card,
.gb-home-about-photo {
  border: 1px solid rgba(164, 20, 60, 0.12);
  border-radius: 34px;
  background: rgba(255, 255, 255, .74);
  box-shadow: var(--gb-sombra);
}

.gb-home-photo-card { position: relative; padding: 18px; }
.gb-home-photo-card img,
.gb-home-about-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 26px;
}

.gb-home-note {
  position: absolute;
  left: -20px;
  bottom: 28px;
  max-width: 270px;
  padding: 18px 20px;
  border-radius: 22px;
  background: var(--gb-vinho);
  color: #fff;
  box-shadow: 0 16px 34px rgba(164, 20, 60, 0.24);
}

.gb-home-note strong { display: block; line-height: 1.25; }
.gb-home-note span { display: block; margin-top: 6px; font-size: .86rem; line-height: 1.45; opacity: .9; }

.gb-home-head { max-width: 820px; margin-bottom: 34px; }

.gb-home-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.gb-home-card {
  min-height: 230px;
  padding: 24px;
  border: 1px solid var(--gb-borda);
  border-radius: var(--gb-radius);
  background: #fff;
  box-shadow: 0 10px 26px rgba(58, 37, 34, 0.06);
  transition: transform .2s ease, box-shadow .2s ease;
}

.gb-home-card:hover { transform: translateY(-4px); box-shadow: var(--gb-sombra); }
.gb-home-card-icon { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 18px; border-radius: 16px; background: rgba(164, 20, 60, 0.08); color: var(--gb-vinho); font-size: 1.55rem; }
.gb-home-card h3 { margin: 0 0 10px; color: var(--gb-vinho); font-size: 1.22rem; }
.gb-home-card p { margin: 0; color: var(--gb-cinza); line-height: 1.62; }

.gb-home-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.gb-home-list li {
  position: relative;
  padding: 14px 16px 14px 44px;
  border: 1px solid var(--gb-borda);
  border-radius: 18px;
  background: rgba(255, 255, 255, .72);
  color: var(--gb-cinza);
  line-height: 1.55;
}

.gb-home-list li::before {
  content: "✓";
  position: absolute;
  left: 16px;
  top: 14px;
  color: var(--gb-vinho);
  font-weight: 900;
}

.gb-home-video-card { padding: 16px; }
.gb-home-video-frame { position: relative; overflow: hidden; aspect-ratio: 16 / 9; border-radius: 24px; background: #000; }
.gb-home-video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.gb-home-inverted {
  background: linear-gradient(135deg, var(--gb-vinho), var(--gb-rosa));
  color: #fff;
}
.gb-home-inverted .gb-home-eyebrow { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.22); }
.gb-home-inverted .gb-home-section-title,
.gb-home-inverted .gb-home-cta-title { color: #fff; }
.gb-home-inverted .gb-home-text { color: rgba(255,255,255,.88); }
.gb-home-inverted .gb-home-list li { background: rgba(255,255,255,.10); border-color: rgba(255,255,255,.18); color: rgba(255,255,255,.9); }
.gb-home-inverted .gb-home-list li::before { color: #fff; }
.gb-home-inverted .gb-home-btn.primary { background: #fff; color: var(--gb-vinho) !important; box-shadow: none; }
.gb-home-inverted .gb-home-btn.secondary { background: transparent; color: #fff !important; border-color: rgba(255,255,255,.42); }

.gb-home-ebook-card { padding: 34px; background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.24); }
.gb-home-ebook-mockup {
  position: relative;
  max-width: 340px;
  min-height: 430px;
  margin: 0 auto;
  padding: 34px 28px;
  border-radius: 24px;
  background: linear-gradient(135deg, #fff7e8 0%, #ffffff 48%, #f6d1c5 100%);
  color: var(--gb-vinho);
  box-shadow: 0 24px 50px rgba(58, 37, 34, 0.22);
  transform: rotate(-3deg);
}
.gb-home-ebook-mockup::after { content: ""; position: absolute; inset: 16px; border: 1px solid rgba(164, 20, 60, 0.16); border-radius: 18px; pointer-events: none; }
.gb-home-ebook-mockup img { width: 54px; height: auto; margin-bottom: 18px; }
.gb-home-ebook-mockup span { display: inline-flex; margin-bottom: 22px; padding: 7px 12px; border-radius: 999px; background: rgba(164, 20, 60, 0.08); color: var(--gb-vinho); font-size: .82rem; font-weight: 900; }
.gb-home-ebook-mockup h3 { position: relative; z-index: 1; margin: 0; color: var(--gb-vinho); font-family: Georgia, "Times New Roman", serif; font-size: 2.35rem; line-height: 1.02; letter-spacing: -.05em; }
.gb-home-ebook-mockup p { position: relative; z-index: 1; margin: 22px 0 0; color: var(--gb-cinza); line-height: 1.6; }

.gb-home-post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.gb-home-post-card { overflow: hidden; border: 1px solid var(--gb-borda); border-radius: var(--gb-radius); background: #fff; box-shadow: 0 10px 26px rgba(58, 37, 34, 0.06); transition: transform .2s ease, box-shadow .2s ease; }
.gb-home-post-card:hover { transform: translateY(-4px); box-shadow: var(--gb-sombra); }
.gb-home-post-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.gb-home-post-body { padding: 24px; }
.gb-home-category { display: inline-block; margin-bottom: 12px; color: var(--gb-rosa); font-size: .8rem; font-weight: 900; text-transform: uppercase; letter-spacing: .05em; }
.gb-home-post-body h3 { margin: 0 0 12px; color: var(--gb-vinho); font-size: 1.4rem; line-height: 1.18; }
.gb-home-post-body p { margin: 0 0 18px; color: var(--gb-cinza); line-height: 1.55; }
.gb-home-read-more { color: var(--gb-vinho) !important; font-weight: 900; }
.gb-home-read-more:hover { text-decoration: underline; }

.gb-home-about-photo { padding: 16px; background: linear-gradient(135deg, var(--gb-nude), #fff); }

.gb-home-final { padding: clamp(58px, 7vw, 82px) 0; }
.gb-home-final .gb-home-actions { justify-content: flex-end; margin-top: 0; }

@media (max-width: 980px) {
  .gb-home-grid,
  .gb-home-split,
  .gb-home-cta-grid,
  .gb-home-card-grid,
  .gb-home-post-grid { grid-template-columns: 1fr 1fr; }
  .gb-home-grid,
  .gb-home-split,
  .gb-home-cta-grid { align-items: start; }
  .gb-home-final .gb-home-actions { justify-content: flex-start; margin-top: 22px; }
}

@media (max-width: 680px) {
  .gb-home-section { padding: 54px 0; }
  .gb-home-title {
    max-width: 100%;
    font-size: clamp(2.25rem, 11vw, 3.05rem);
    line-height: .98;
    letter-spacing: -0.035em;
  }
  .gb-home-section-title,
  .gb-home-cta-title { letter-spacing: -0.035em; }
  .gb-home-grid,
  .gb-home-split,
  .gb-home-cta-grid,
  .gb-home-card-grid,
  .gb-home-post-grid { grid-template-columns: 1fr; }
  .gb-home-actions, .gb-home-btn { width: 100%; }
  .gb-home-note { position: static; max-width: 100%; margin-top: 14px; }
  .gb-home-ebook-mockup { transform: none; }
}

.gb-youtube-feature {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 28px;
  box-shadow: 0 20px 52px rgba(58,37,34,.13);
  background: linear-gradient(135deg, #a4143c, #d99684);
  aspect-ratio: 16 / 9;
  text-decoration: none !important;
}
.gb-youtube-feature img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: .88; transform: scale(1.01); }
.gb-youtube-feature:after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(58,37,34,.45), rgba(164,20,60,.08)); }
.gb-youtube-play {
  position: absolute;
  left: 50%; top: 50%; transform: translate(-50%, -50%);
  z-index: 2;
  width: 84px; height: 84px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,.92);
  color: var(--gb-wine);
  font-size: 2.2rem;
  box-shadow: 0 18px 40px rgba(58,37,34,.24);
}
.gb-youtube-label {
  position: absolute;
  left: 24px; bottom: 24px; right: 24px;
  z-index: 2;
  color: #fff;
  font-weight: 850;
  font-size: clamp(1.1rem, 2vw, 1.6rem);
  text-shadow: 0 2px 12px rgba(58,37,34,.3);
}



/* ==========================================================
   Componentes de Post — Lembrete da Gabriela e Aviso Educativo
   Uso: adicione a classe .gb-lembrete ou .gb-aviso no HTML do post
   ou via bloco HTML personalizado no editor.
   ========================================================== */

/* Lembrete da Gabriela */
.gb-lembrete {
  position: relative;
  margin: 32px 0;
  padding: 22px 24px 22px 58px;
  border-radius: 20px;
  background: #eef6ff;
  border: 1px solid rgba(164, 20, 60, 0.18);
  color: var(--gb-texto);
  line-height: 1.68;
}

.gb-lembrete::before {
  content: "🩺";
  position: absolute;
  left: 18px;
  top: 20px;
  font-size: 1.5rem;
  line-height: 1;
}

.gb-lembrete strong,
.gb-lembrete-titulo {
  display: block;
  margin-bottom: 6px;
  color: var(--gb-vinho);
  font-family: Georgia, "Playfair Display", serif;
  font-size: 1.05rem;
  font-weight: 700;
}

.gb-lembrete p:last-child { margin-bottom: 0; }

/* Aviso Educativo */
.gb-aviso {
  position: relative;
  margin: 32px 0;
  padding: 18px 22px 18px 54px;
  border-radius: 16px;
  background: rgba(122, 106, 100, 0.07);
  border: 1px solid rgba(122, 106, 100, 0.22);
  color: var(--gb-cinza);
  font-size: 0.93rem;
  line-height: 1.65;
}

.gb-aviso::before {
  content: "ℹ";
  position: absolute;
  left: 18px;
  top: 17px;
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--gb-cinza);
  font-style: normal;
}

.gb-aviso strong {
  display: block;
  margin-bottom: 4px;
  color: var(--gb-texto);
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.gb-aviso p:last-child { margin-bottom: 0; }

/* Variante de alerta médico (sinal de atenção) */
.gb-aviso.alerta {
  background: rgba(164, 20, 60, 0.05);
  border-color: rgba(164, 20, 60, 0.2);
  color: var(--gb-texto);
}

.gb-aviso.alerta::before {
  content: "⚠";
  color: var(--gb-vinho);
}

.gb-aviso.alerta strong { color: var(--gb-vinho); }


/* ==========================================================
   Post — Melhorias de Design (29/05/2026)
   ========================================================== */

/* Barra de progresso de leitura */
.gb-progress-bar-wrap {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 9999;
  background: transparent;
  pointer-events: none;
}
.admin-bar .gb-progress-bar-wrap { top: 32px; }
.gb-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gb-vinho), var(--gb-rosa));
  transition: width .1s linear;
}

/* Avatar na meta do hero */
.gb-single-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}
.gb-meta-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(164, 20, 60, 0.18);
  flex-shrink: 0;
}

/* Bio da autora */
.gb-author-bio {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin: 36px 0 0;
  padding: 26px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(255,247,232,.95), rgba(255,252,247,.9));
  border: 1px solid var(--gb-borda);
}
.gb-author-photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 3px solid #fff;
  box-shadow: 0 8px 22px rgba(164, 20, 60, 0.14);
}
.gb-author-info { flex: 1 1 auto; }
.gb-author-name {
  display: block;
  color: var(--gb-vinho);
  font-family: Georgia, serif;
  font-size: 1.15rem;
  margin-bottom: 6px;
}
.gb-author-desc {
  margin: 0 0 12px;
  color: var(--gb-cinza);
  font-size: .96rem;
  line-height: 1.62;
}
.gb-author-link {
  font-weight: 800;
  color: var(--gb-vinho);
  font-size: .92rem;
}
.gb-author-link:hover { text-decoration: underline; }

/* Compartilhamento */
.gb-share {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 0;
  padding: 20px 24px;
  border-radius: 18px;
  background: rgba(164, 20, 60, 0.04);
  border: 1px solid rgba(164, 20, 60, 0.10);
}
.gb-share-label {
  font-weight: 800;
  color: var(--gb-texto);
  font-size: .94rem;
}
.gb-share-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.gb-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  border-radius: 999px;
  font-size: .88rem;
  font-weight: 800;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform .15s ease, opacity .15s ease;
  font-family: inherit;
  background: none;
}
.gb-share-btn:hover { transform: translateY(-1px); opacity: .88; }
.gb-share-btn--whatsapp { background: #25D366; color: #fff; }
.gb-share-btn--twitter  { background: #000; color: #fff; }
.gb-share-btn--copy     { background: #fff; color: var(--gb-texto); border-color: rgba(58,37,34,.18); }

/* TOC na sidebar */
.gb-toc-card h3 { margin-bottom: 12px; }
.gb-toc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 4px;
}
.gb-toc-list li { margin: 0; }
.gb-toc-link {
  display: block;
  padding: 7px 10px;
  border-radius: 10px;
  color: var(--gb-cinza);
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none;
  line-height: 1.35;
  transition: background .15s, color .15s;
}
.gb-toc-link:hover,
.gb-toc-link.active {
  background: rgba(164, 20, 60, 0.07);
  color: var(--gb-vinho);
}

/* Posts relacionados — com thumbnail */
.gb-related-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.gb-related-card {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border-radius: 18px;
  background: rgba(255, 247, 232, .7);
  border: 1px solid rgba(164, 20, 60, .10);
  text-decoration: none;
  color: var(--gb-texto);
  transition: background .18s, transform .18s;
  font-weight: normal;
  line-height: normal;
}
.gb-related-card:hover {
  background: #fff;
  color: var(--gb-vinho);
  transform: translateX(3px);
}
.gb-related-thumb {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  border-radius: 12px;
  background-size: cover;
  background-position: center;
}
.gb-related-thumb--fallback {
  background: linear-gradient(135deg, var(--gb-nude), var(--gb-creme));
}
.gb-related-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.gb-related-cat {
  font-size: .76rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--gb-rosa);
}
.gb-related-title {
  font-size: .95rem;
  font-weight: 800;
  line-height: 1.3;
  color: inherit;
}
.gb-related-time {
  font-size: .8rem;
  color: var(--gb-cinza);
  font-weight: 600;
}

/* Navegação prev/next melhorada */
.gb-post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 28px;
}
.gb-post-nav-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(164, 20, 60, .05);
  border: 1px solid rgba(164, 20, 60, .10);
  text-decoration: none;
  transition: background .18s;
}
.gb-post-nav-item:hover { background: rgba(164, 20, 60, .10); }
.gb-post-nav-item--next { text-align: right; }
.gb-post-nav-dir {
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--gb-vinho);
}
.gb-post-nav-title {
  font-size: .93rem;
  font-weight: 700;
  color: var(--gb-texto);
  line-height: 1.35;
}

/* Enriquecimento de conteúdo */
.gb-article-card .entry-content blockquote {
  margin: 28px 0;
  padding: 20px 24px 20px 20px;
  border-left: 4px solid var(--gb-vinho);
  border-radius: 0 16px 16px 0;
  background: rgba(255, 247, 232, .7);
  font-style: italic;
  color: var(--gb-texto);
  font-size: 1.08rem;
  line-height: 1.7;
}
.gb-article-card .entry-content blockquote cite {
  display: block;
  margin-top: 10px;
  font-style: normal;
  font-size: .88rem;
  font-weight: 700;
  color: var(--gb-cinza);
}
.gb-article-card .entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: .96rem;
}
.gb-article-card .entry-content table th,
.gb-article-card .entry-content table td {
  padding: 10px 14px;
  border: 1px solid rgba(164, 20, 60, .12);
  text-align: left;
  line-height: 1.5;
}
.gb-article-card .entry-content table th {
  background: rgba(164, 20, 60, .06);
  color: var(--gb-vinho);
  font-weight: 800;
  font-family: Georgia, serif;
}
.gb-article-card .entry-content table tr:nth-child(even) td {
  background: rgba(255, 247, 232, .5);
}
.gb-article-card .entry-content figcaption,
.gb-article-card .entry-content .wp-caption-text {
  margin-top: 8px;
  font-size: .84rem;
  color: var(--gb-cinza);
  text-align: center;
  font-style: italic;
}
.gb-article-card .entry-content img {
  border-radius: 16px;
  max-width: 100%;
  height: auto;
}
.gb-article-card .entry-content hr {
  border: none;
  border-top: 1px solid rgba(164, 20, 60, .14);
  margin: 32px 0;
}

/* Mobile */
@media (max-width: 600px) {
  .gb-author-bio { flex-direction: column; align-items: center; text-align: center; }
  .gb-share { flex-direction: column; align-items: flex-start; }
  .gb-post-nav { grid-template-columns: 1fr; }
  .gb-post-nav-item--next { text-align: left; }
  .gb-related-thumb { width: 60px; height: 60px; }
}

/* ==========================================================
   Correções 29/05/2026 — ajustes pós-revisão
   ========================================================== */

/* Fix: --gb-wine não definido em :root — botões ficavam transparentes */
:root {
  --gb-wine: var(--gb-vinho);
}

/* Imagem destacada no topo (antes do layout de colunas) */
.gb-single-cover {
  width: min(1100px, calc(100% - 32px));
  margin: 24px auto 0;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 20px 52px rgba(58, 37, 34, .13);
  aspect-ratio: 16 / 9;
}
.gb-single-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Cabeçalho do artigo (título, meta — agora dentro do card) */
.gb-article-header {
  padding-bottom: 24px;
  margin-bottom: 28px;
  border-bottom: 1px solid rgba(164, 20, 60, .10);
}
.gb-article-header .gb-post-category {
  margin-bottom: 14px;
  justify-content: flex-start;
}
.gb-article-header .gb-single-title {
  text-align: left;
  font-size: clamp(1.75rem, 4vw, 2.7rem);
  line-height: 1.08;
  letter-spacing: -.04em;
  margin: 0 0 14px;
  max-width: none;
}
.gb-article-header .gb-single-excerpt {
  text-align: left;
  margin: 0 0 18px;
  max-width: none;
}
.gb-article-header .gb-single-meta {
  justify-content: flex-start;
  font-size: .88rem;
  gap: 10px;
  flex-wrap: wrap;
}

/* Ícones de compartilhamento (inline, minimalistas) */
.gb-share-meta {
  display: flex;
  gap: 6px;
  margin-left: auto;
}
.gb-share-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  padding: 0;
  cursor: pointer;
  text-decoration: none;
  transition: opacity .15s, transform .15s;
  flex-shrink: 0;
  font-family: inherit;
}
.gb-share-icon:hover { opacity: .80; transform: scale(1.08); }
.gb-share-icon--wa   { background: #25D366; color: #fff; }
.gb-share-icon--x    { background: #000; color: #fff; }
.gb-share-icon--copy { background: rgba(58,37,34,.10); color: var(--gb-texto); }

/* Sidebar — afastar do header (fix: encostava no cabeçalho) */
.gb-sidebar {
  top: 130px;
}
.admin-bar .gb-sidebar { top: 162px; }

/* Layout — reduzir espaço inferior (fix: espaço em branco antes do rodapé) */
.gb-single-layout {
  padding-bottom: 0;
}
.gb-single-wrap {
  padding-bottom: 0;
  margin-bottom: 0;
}
.gb-site-footer {
  margin-top: 48px;
}

/* Remove estilo legado do .gb-share (bloco anterior, substituído) */
.gb-share { display: none; }

/* ==========================================================
   Correções v2 — 29/05/2026
   ========================================================== */

/* 1. Imagem destacada: menor, mais delicada */
.gb-single-cover {
  width: min(780px, calc(100% - 48px));
  margin: 28px auto 0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(58, 37, 34, .10);
  border: 1px solid rgba(255,255,255,.8);
  aspect-ratio: 16 / 9;
}
.gb-single-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Reduz o gap entre a imagem e o card do artigo */
.gb-single-layout {
  padding-top: 28px;
  padding-bottom: 0;
}

/* 2. Elimina espaço em branco antes do rodapé */
.gb-single-wrap {
  padding-bottom: 0;
}
.gb-article-card > *:last-child {
  margin-bottom: 0;
}
.gb-related {
  margin-bottom: 0;
}
.gb-site-footer {
  margin-top: 32px;
}

/* 3. Compartilhamento ao lado da categoria */
.gb-article-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
/* Remove margin-bottom do category que estava empurando espaço */
.gb-article-header .gb-post-category {
  margin-bottom: 0;
}
/* Meta sem os ícones de share */
.gb-article-header .gb-single-meta {
  margin-top: 14px;
  justify-content: flex-start;
  font-size: .88rem;
}

/* ==========================================================
   Correções v3 — gaps topo e rodapé
   ========================================================== */

/* Topo: imagem encosta no header sem gap */
.gb-single-cover {
  margin-top: 0;
  border-radius: 0 0 20px 20px;
  width: min(780px, calc(100% - 48px));
}

/* Rodapé: elimina margem externa, footer começa logo após o conteúdo */
.gb-site-footer {
  margin-top: 0;
}

/* Respiro final dentro do layout (evita card colado ao footer) */
.gb-single-layout {
  padding-bottom: 40px;
}

/* Cover alinhada com article + sidebar (mesma largura do gb-shell) */
.gb-single-cover {
  width: min(1120px, calc(100% - 40px));
}

/* Remove aspect-ratio fixo e borda da moldura da cover */
.gb-single-cover {
  aspect-ratio: unset;
  border: none;
  background: transparent;
  box-shadow: none;
}
.gb-single-cover img {
  display: block;
  width: 100%;
  height: auto !important;
  object-fit: cover;
  border-radius: 0 0 20px 20px;
  box-shadow: 0 10px 30px rgba(58, 37, 34, .10);
}

/* Cover: altura máxima 420px com corte centralizado */
.gb-single-cover img {
  max-height: 420px;
  object-fit: cover;
  object-position: center center;
}

/* Respiro entre cabeçalho e imagem destacada */
.gb-single-cover {
  margin-top: 20px;
}

/* Separação suave header → imagem: gap mínimo + cantos arredondados no topo */
.gb-single-cover {
  margin-top: 8px;
}
.gb-single-cover img {
  border-radius: 14px 14px 20px 20px;
}

/* Bloco colado no header, imagem centralizada dentro com padding interno */
.gb-single-cover {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 18px 20px 0;
  box-sizing: border-box;
  background: transparent;
  border: none;
  box-shadow: none;
  aspect-ratio: unset;
}
.gb-single-cover img {
  display: block;
  width: min(1120px, 100%);
  max-width: 100%;
  margin: 0 auto;
  height: auto !important;
  max-height: 420px;
  object-fit: cover;
  border-radius: 14px 14px 20px 20px;
  box-shadow: 0 10px 30px rgba(58, 37, 34, .10);
}

/* Imagem alinhada com article+sidebar e sem corte */
.gb-single-cover img {
  width: min(1120px, calc(100% - 40px));
  max-height: none;
  object-fit: fill;
}

/* ==========================================================
   COVER IMAGE — reset consolidado (substitui todas as regras anteriores)
   ========================================================== */
.gb-single-cover {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 16px 0 0 !important;   /* respiro do header via padding interno */
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
  aspect-ratio: unset !important;
  overflow: visible !important;   /* sem corte de overflow */
}

.gb-single-cover img {
  display: block !important;
  width: min(1120px, calc(100% - 40px)) !important;  /* alinhado com gb-shell */
  max-width: 100% !important;
  height: auto !important;
  max-height: none !important;
  object-fit: fill !important;    /* imagem inteira, sem corte */
  margin: 0 auto !important;      /* centralizada */
  border-radius: 14px 14px 20px 20px !important;
  box-shadow: 0 8px 28px rgba(58, 37, 34, .10) !important;
}

/* Widescreen (>1280px): evita que a imagem fique pesada demais */
@media (min-width: 1280px) {
  .gb-single-cover img {
    max-height: 520px !important;
    object-fit: cover !important;
    object-position: center top !important;  /* preserva o topo da imagem */
  }
}

/* Espaçamento entre categoria+social e título */
.gb-article-header-row {
  margin-bottom: 28px !important;
}

/* Espaçamento categoria+social → título: 35px */
.gb-article-header-row {
  margin-bottom: 35px !important;
}

.gb-article-header-row { margin-bottom: 50px !important; }

/* ── Shrink on scroll ─────────────────────────────────── */
.gb-site-header {
  transition: min-height .28s ease, box-shadow .28s ease, background .28s ease;
}

.gb-header-inner {
  transition: min-height .28s ease;
}

.gb-site-header.gb-header--shrunk {
  min-height: 0;
  box-shadow: 0 6px 28px rgba(58, 37, 34, 0.11);
  background: rgba(255, 253, 249, 0.99);
}

.gb-site-header.gb-header--shrunk .gb-header-inner {
  min-height: 64px;
}

.gb-site-header.gb-header--shrunk .gb-brand-logo {
  width: clamp(160px, 16vw, 220px);
}

/* ── Shrink suavizado ─────────────────────────────────── */
.gb-site-header {
  transition: min-height .5s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow .5s cubic-bezier(0.4, 0, 0.2, 1),
              background .5s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.gb-header-inner {
  transition: min-height .5s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.gb-site-header.gb-header--shrunk .gb-header-inner {
  min-height: 72px !important;
}

.gb-site-header.gb-header--shrunk .gb-brand-logo {
  width: clamp(180px, 18vw, 250px) !important;
  transition: width .5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Nav minimalista (referência Easy Medicina) ────────── */
.gb-site-nav a {
  padding: 6px 12px !important;
  border-radius: 6px !important;
  border: none !important;
  background: transparent !important;
  color: var(--gb-texto) !important;
  font-size: 0.9rem !important;
  font-weight: 550 !important;
  letter-spacing: 0.01em !important;
  box-shadow: none !important;
  transform: none !important;
  transition: color .18s ease, background .18s ease !important;
}

.gb-site-nav a:hover,
.gb-site-nav .current-menu-item > a,
.gb-site-nav .current_page_item > a,
.gb-site-nav .current-menu-ancestor > a {
  background: rgba(164, 20, 60, 0.06) !important;
  color: var(--gb-vinho) !important;
  border: none !important;
  transform: none !important;
  box-shadow: none !important;
}

/* Remove botão CTA do último item */
.gb-site-nav .menu > li:last-child > a,
.gb-site-nav .menu > li:last-child > a:hover {
  background: transparent !important;
  border: none !important;
  color: var(--gb-texto) !important;
  box-shadow: none !important;
  min-width: unset !important;
}

.gb-site-nav .menu > li:last-child > a:hover {
  background: rgba(164, 20, 60, 0.06) !important;
  color: var(--gb-vinho) !important;
}

.gb-site-nav .menu {
  gap: 2px !important;
}

/* ── Chevron para itens com submenu ───────────────────── */
.gb-site-nav .menu-item-has-children > a::after {
  content: '' !important;
  display: inline-block !important;
  width: 7px !important;
  height: 7px !important;
  margin-left: 6px !important;
  border-right: 1.5px solid currentColor !important;
  border-bottom: 1.5px solid currentColor !important;
  transform: rotate(45deg) translateY(-2px) !important;
  transition: transform .22s ease !important;
  opacity: .6 !important;
  vertical-align: middle !important;
}

.gb-site-nav .menu > li:hover > a::after,
.gb-site-nav .menu > li:focus-within > a::after {
  transform: rotate(225deg) translateY(2px) !important;
  opacity: 1 !important;
}

/* ── Hamburger button ─────────────────────────────────── */
.gb-nav-toggle {
  display: none;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  color: var(--gb-texto);
  transition: background .18s ease;
}
.gb-nav-toggle:hover {
  background: rgba(164, 20, 60, 0.06);
}

.gb-hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 22px;
  height: 22px;
}
.gb-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transform-origin: center;
  transition: transform .25s ease, opacity .2s ease, width .25s ease;
}

/* X quando aberto */
.gb-nav-open .gb-hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.gb-nav-open .gb-hamburger span:nth-child(2) { opacity: 0; width: 0; }
.gb-nav-open .gb-hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Layout mobile ────────────────────────────────────── */
@media (max-width: 720px) {
  .gb-nav-toggle { display: flex; }

  .gb-header-inner {
    flex-direction: row !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    padding: 0 !important;
    min-height: 72px !important;
    gap: 0 !important;
  }

  .gb-brand { flex: 1 1 auto; }

  /* Nav oculta por padrão */
  .gb-site-nav {
    display: none !important;
    width: 100% !important;
    order: 3;
    padding: 8px 0 16px !important;
    border-top: 1px solid rgba(164, 20, 60, 0.08);
  }

  /* Nav visível quando aberta */
  .gb-nav-open .gb-site-nav {
    display: block !important;
  }

  .gb-site-nav .menu {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 2px !important;
    justify-content: flex-start !important;
  }

  .gb-site-nav .menu > li { width: 100%; }

  .gb-site-nav .menu > li > a {
    width: 100% !important;
    min-width: unset !important;
    border-radius: 10px !important;
    justify-content: flex-start !important;
    padding: 12px 14px !important;
    font-size: 0.95rem !important;
  }

  .gb-site-nav .sub-menu {
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    display: none;
    min-width: 100%;
    padding: 4px 0 4px 14px;
    box-shadow: none !important;
    background: transparent !important;
    border: none !important;
  }

  .gb-site-nav .menu > li:hover > .sub-menu,
  .gb-site-nav .menu > li:focus-within > .sub-menu {
    display: block;
  }
}

/* ── Footer minimalista (opção A) ─────────────────────── */
.gb-site-footer {
  margin-top: 0 !important;
  background: var(--gb-creme) !important;
  border-top: 1px solid rgba(164, 20, 60, 0.10) !important;
  color: var(--gb-texto) !important;
}

.gb-footer-inner {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 24px !important;
  padding: 22px 0 !important;
  grid-template-columns: unset !important;
}

.gb-footer-brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.gb-footer-logo {
  width: clamp(140px, 14vw, 200px) !important;
  height: auto !important;
  opacity: .85;
  transition: opacity .18s ease;
}
.gb-footer-brand:hover .gb-footer-logo { opacity: 1; }

.gb-footer-name {
  font-weight: 700;
  font-size: 1rem;
  color: var(--gb-vinho);
}

.gb-footer-nav ul {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.gb-footer-nav a {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px !important;
  border-radius: 6px;
  color: var(--gb-texto) !important;
  font-size: 0.88rem !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  transition: color .18s ease, background .18s ease;
}
.gb-footer-nav a:hover {
  color: var(--gb-vinho) !important;
  background: rgba(164, 20, 60, 0.06);
}

.gb-footer-social {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.gb-footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  color: var(--gb-cinza);
  text-decoration: none;
  transition: color .18s ease, background .18s ease;
}
.gb-footer-social a:hover {
  color: var(--gb-vinho);
  background: rgba(164, 20, 60, 0.07);
}

.gb-footer-bottom {
  display: flex !important;
  align-items: center;
  gap: 8px;
  padding: 14px 0 20px !important;
  border-top: 1px solid rgba(164, 20, 60, 0.07) !important;
  color: var(--gb-cinza) !important;
  font-size: .82rem !important;
}

.gb-footer-sep { opacity: .4; }

/* Mobile footer */
@media (max-width: 640px) {
  .gb-footer-inner {
    flex-wrap: wrap !important;
    gap: 16px !important;
    padding: 20px 0 !important;
  }
  .gb-footer-nav ul { gap: 0 !important; }
  .gb-footer-bottom { flex-wrap: wrap; gap: 4px; }
}

/* Artigo mais largo, sidebar mais próxima */
.gb-single-layout {
  grid-template-columns: minmax(0, 820px) 300px !important;
  gap: 28px !important;
}

/* ══════════════════════════════════════════════════════════
   BLOG — Hero + Grid
   ══════════════════════════════════════════════════════════ */
.gb-archive-wrap {
  background: var(--gb-off);
  min-height: 60vh;
  padding-bottom: 72px;
}

.gb-archive-header {
  padding: 48px 0 36px;
  border-bottom: 1px solid rgba(164,20,60,.08);
  margin-bottom: 48px;
}

.gb-archive-title {
  font-family: Georgia, 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--gb-vinho);
  letter-spacing: -.03em;
  margin: 0 0 8px;
}

.gb-archive-desc {
  color: var(--gb-cinza);
  margin: 0;
}

/* ── Hero ────────────────────────────────────────────────── */
.gb-hero-post {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: 28px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 40px rgba(58,37,34,.08);
  margin: 48px 0 56px;
  min-height: 420px;
}

.gb-hero-image-wrap {
  display: block;
  overflow: hidden;
}

.gb-hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .5s ease;
}

.gb-hero-post:hover .gb-hero-image {
  transform: scale(1.03);
}

.gb-hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(32px, 5vw, 56px);
  gap: 16px;
}

.gb-hero-top {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.gb-hero-meta {
  color: var(--gb-cinza);
  font-size: .82rem;
}

.gb-hero-title {
  font-family: Georgia, 'Playfair Display', serif;
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  line-height: 1.18;
  letter-spacing: -.03em;
  margin: 0;
}

.gb-hero-title a {
  color: var(--gb-texto);
  text-decoration: none;
  transition: color .18s ease;
}

.gb-hero-title a:hover { color: var(--gb-vinho); }

.gb-hero-excerpt {
  color: var(--gb-cinza);
  font-size: .96rem;
  line-height: 1.65;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.gb-hero-cta {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 10px 22px;
  border-radius: 999px;
  background: var(--gb-vinho);
  color: #fff;
  font-size: .88rem;
  font-weight: 700;
  text-decoration: none;
  margin-top: 4px;
  transition: background .18s ease, transform .18s ease;
}

.gb-hero-cta:hover {
  background: #8f1034;
  transform: translateY(-1px);
}

/* ── Grid ────────────────────────────────────────────────── */
.gb-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.gb-archive-card {
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(58,37,34,.06);
  border: 1px solid rgba(164,20,60,.07);
  display: flex;
  flex-direction: column;
  transition: transform .22s ease, box-shadow .22s ease;
}

.gb-archive-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(58,37,34,.11);
}

.gb-card-image-wrap {
  display: block;
  overflow: hidden;
  aspect-ratio: 16/9;
}

.gb-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}

.gb-archive-card:hover .gb-card-image {
  transform: scale(1.05);
}

.gb-card-body {
  padding: 22px 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.gb-card-title {
  font-family: Georgia, 'Playfair Display', serif;
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  line-height: 1.3;
  margin: 0;
  letter-spacing: -.02em;
}

.gb-card-title a {
  color: var(--gb-texto);
  text-decoration: none;
  transition: color .18s ease;
}

.gb-card-title a:hover { color: var(--gb-vinho); }

.gb-card-excerpt {
  color: var(--gb-cinza);
  font-size: .88rem;
  line-height: 1.6;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.gb-card-meta {
  color: var(--gb-cinza);
  font-size: .78rem;
  margin-top: auto;
}

/* ── Paginação ───────────────────────────────────────────── */
.gb-archive-pagination {
  margin-top: 56px;
  display: flex;
  justify-content: center;
}

.gb-archive-pagination ul {
  display: flex;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.gb-archive-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(164,20,60,.15);
  color: var(--gb-texto);
  text-decoration: none;
  font-size: .9rem;
  transition: background .18s, color .18s;
}

.gb-archive-pagination .page-numbers:hover,
.gb-archive-pagination .page-numbers.current {
  background: var(--gb-vinho);
  color: #fff;
  border-color: var(--gb-vinho);
}

.gb-archive-empty {
  padding: 60px 0;
  text-align: center;
  color: var(--gb-cinza);
}

/* ── Responsivo ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .gb-hero-post {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .gb-hero-image-wrap { aspect-ratio: 16/7; }
  .gb-archive-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 580px) {
  .gb-archive-grid { grid-template-columns: 1fr; }
  .gb-hero-post { margin: 28px 0 36px; }
}

/* ── Galeria YouTube ──────────────────────────────────── */
.gb-yt-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.gb-yt-card {
  display: block;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  position: relative;
}

.gb-yt-thumb-wrap {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #000;
}

.gb-yt-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease, opacity .35s ease;
  opacity: .92;
}

.gb-yt-card:hover .gb-yt-thumb-wrap img {
  transform: scale(1.04);
  opacity: .75;
}

.gb-yt-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transition: transform .25s ease;
}

.gb-yt-card:hover .gb-yt-play {
  transform: scale(1.12);
}

@media (max-width: 640px) {
  .gb-yt-grid { grid-template-columns: 1fr; }
}

/* ── YouTube grid 2x2 corrigido ───────────────────────── */
.gb-yt-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  grid-template-rows: repeat(2, auto) !important;
  gap: 12px !important;
}

.gb-yt-thumb-wrap {
  aspect-ratio: 16/9 !important;
}

/* ── YouTube card: grid + botões alinhados embaixo ────── */
.gb-home-video-card {
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
}

.gb-yt-actions {
  margin-top: 0 !important;
}

/* ── YouTube: 2x1 longos + 3x1 shorts ────────────────── */
.gb-yt-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  grid-template-rows: 1fr !important;
  gap: 12px !important;
}

.gb-yt-grid .gb-yt-card:nth-child(n+3) { display: none !important; }

.gb-yt-shorts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 10px;
}

.gb-yt-short-card {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  position: relative;
}

.gb-yt-short-thumb {
  position: relative;
  aspect-ratio: 9/16;
  overflow: hidden;
  background: #000;
  border-radius: 12px;
}

.gb-yt-short-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .35s ease, opacity .35s ease;
  opacity: .92;
}

.gb-yt-short-card:hover .gb-yt-short-thumb img {
  transform: scale(1.05);
  opacity: .75;
}

.gb-yt-shorts-badge {
  position: absolute;
  bottom: 8px;
  left: 8px;
  background: rgba(0,0,0,.65);
  color: #fff;
  font-size: .68rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 999px;
  letter-spacing: .04em;
}

.gb-yt-short-thumb .gb-yt-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transition: transform .25s ease;
}

.gb-yt-short-card:hover .gb-yt-play { transform: scale(1.12); }

@media (max-width: 640px) {
  .gb-yt-grid { grid-template-columns: 1fr !important; }
  .gb-yt-shorts-grid { grid-template-columns: repeat(3, 1fr); gap: 6px; }
}

/* ── Título do bloco YouTube ──────────────────────────── */
.gb-yt-block-title {
  font-family: Georgia, 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gb-vinho);
  margin: 0 0 12px !important;
  letter-spacing: -.01em;
}

.gb-yt-block-subtitle {
  font-size: .88rem;
  color: var(--gb-cinza);
  margin: -6px 0 14px !important;
  line-height: 1.5;
}

/* ── Barra de credenciais (Sobre) ─────────────────────── */
.gb-credential-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 20px 0 28px;
  padding: 12px 18px;
  border-radius: 12px;
  background: rgba(164, 20, 60, 0.05);
  border: 1px solid rgba(164, 20, 60, 0.10);
}

.gb-credential-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .88rem;
  font-weight: 600;
  color: var(--gb-vinho);
}

.gb-credential-item svg {
  flex-shrink: 0;
  opacity: .8;
}

.gb-credential-sep {
  color: rgba(164, 20, 60, 0.3);
  font-size: .9rem;
}

/* SVG nos info-cards */
.gb-icon-dot svg {
  display: block;
}

/* ==========================================================
   RESPONSIVO — artigo single no mobile (iPhone e tablets)
   Corrige !important da coluna dupla que sobrescrevia o
   breakpoint anterior.
   ========================================================== */

@media (max-width: 980px) {
  /* Grid: coluna única, sidebar desce abaixo do artigo */
  .gb-single-layout {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
    padding-top: 20px !important;
  }

  /* Sidebar: deixa de ser sticky, ocupa largura total */
  .gb-sidebar {
    position: static !important;
    top: auto !important;
    width: 100% !important;
  }

  /* TOC: altura máxima controlada em mobile */
  .gb-toc-card { max-height: 320px; overflow-y: auto; }

  /* Article card: menos padding e borda menor no mobile */
  .gb-article-card {
    border-radius: 20px !important;
    padding: 24px 20px !important;
  }

  /* Imagem de capa: borda menor */
  .gb-single-cover {
    width: min(100%, calc(100% - 24px)) !important;
    border-radius: 14px 14px 18px 18px !important;
  }

  /* Header do artigo: coluna única (categoria em cima, share embaixo) */
  .gb-article-header-row {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
    margin-bottom: 20px !important;
  }

  /* Título: tamanho adequado para tela pequena */
  .gb-article-header .gb-single-title {
    font-size: clamp(1.5rem, 6vw, 2rem) !important;
  }

  /* Posts relacionados: uma coluna */
  .gb-related-grid { grid-template-columns: 1fr !important; }
}

@media (max-width: 480px) {
  .gb-article-card { padding: 20px 16px !important; }
  .gb-side-card { padding: 18px 16px !important; }
  .gb-single-title { font-size: 1.45rem !important; }
}
