/* Standard pages share the storefront's spacing and readable type scale. */
.standard-page { padding-bottom: clamp(3rem, 5vw, 5rem); }
.standard-page-heading { margin: clamp(2rem, 3vw, 3rem) 0; }
.standard-page-heading h1 { margin: 0; font-size: clamp(1.75rem, 2.5vw, 2.5rem); font-weight: 600; line-height: 1.25; color: var(--color_font); overflow-wrap: anywhere; }
.standard-page-content { display: flow-root; padding: clamp(1.25rem, 3vw, 3rem); border: 1px solid var(--color_border); border-radius: 1.25rem; background: white; color: var(--color_font_secondary); font-size: 1rem; line-height: 1.75; overflow-wrap: anywhere; }
.standard-page-content > * { max-width: 78ch; }
.standard-page-content > :first-child { margin-top: 0; }
.standard-page-content > :last-child { margin-bottom: 0; }
.standard-page-content p { margin-bottom: 1.25rem; }
.standard-page-content :is(h2, h3, h4) { color: var(--color_font); font-weight: 600; line-height: 1.4; margin: 2rem 0 .875rem; }
.standard-page-content h2 { font-size: clamp(1.25rem, 1.75vw, 1.5rem); }
.standard-page-content h3 { font-size: 1.125rem; }
.standard-page-content h4 { font-size: 1rem; }
.standard-page-content a { color: var(--color_base); text-decoration: underline; text-underline-offset: .2em; }
.standard-page-content a:hover { color: var(--color_base_hover); }
.standard-page-content :is(ul, ol) { padding-left: 1.5rem; margin: 0 0 1.25rem; }
.standard-page-content li + li { margin-top: .5rem; }
.standard-page-content blockquote { border-left: 3px solid var(--color_base); padding: .75rem 1.25rem; margin: 1.5rem 0; background: color-mix(in srgb, var(--color_base) 5%, white); }
.standard-page-content img { max-width: 100%; height: auto; border-radius: .75rem; }
.editorial-page { padding-bottom: clamp(2rem, 3.5vw, 3rem); }
.home .editorial-page { padding-bottom: clamp(1rem, 2vw, 1.5rem); }
.editorial-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.25rem, 2vw, 2rem); }
.editorial-card { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--color_border); border-radius: 1.25rem; overflow: hidden; background: white; }
.editorial-card-image img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.editorial-card-content { display: flex; flex-direction: column; flex: 1; padding: clamp(1.25rem, 2vw, 2rem); }
.editorial-meta { display: block; margin-bottom: .875rem; font-size: .9375rem; color: var(--color_font_secondary); }
.editorial-card h2 { font-size: clamp(1.25rem, 1.5vw, 1.5rem); font-weight: 600; line-height: 1.4; margin: 0 0 1rem; }
.editorial-card h2 a:hover { color: var(--color_base); }
.editorial-excerpt { font-size: 1rem; color: var(--color_font_secondary); line-height: 1.7; margin-bottom: 1.5rem; }
.editorial-read-more { margin-top: auto; color: var(--color_base); font-size: 1rem; font-weight: 600; min-height: 2.75rem; display: inline-flex; align-items: center; gap: .5rem; }
.editorial-empty { padding: clamp(1.5rem, 4vw, 4rem); border: 1px solid var(--color_border); border-radius: 1.25rem; background: color-mix(in srgb, var(--color_base) 4%, white); }
.editorial-empty :is(h1,h2) { font-size: clamp(1.5rem, 2.5vw, 2.5rem); font-weight: 600; line-height: 1.3; margin: 0 0 1rem; }
.editorial-empty p { font-size: 1rem; line-height: 1.7; max-width: 60ch; margin: 0 0 1.5rem; }
.editorial-action { display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: .75rem 1.5rem; border-radius: 50px; background: var(--color_base); color: white; font-size: 1rem; font-weight: 600; }
.editorial-action:hover { background: var(--color_base_hover); color: white; }
.editorial-search, .error-page .woocommerce-product-search { display: flex; gap: .75rem; margin: 1.5rem 0; max-width: 40rem; }
.editorial-search input, .error-page .woocommerce-product-search input[type="search"] { width: 100%; min-width: 0; min-height: 3.25rem; padding: .75rem 1.25rem; background: white; border: 1px solid var(--color_border); border-radius: 50px; color: var(--color_font); font-size: 1rem; box-shadow: none; }
.editorial-search button, .error-page .woocommerce-product-search button { padding: .75rem 1.5rem; border-radius: 50px; background: var(--color_base); color: white; font-size: 1rem; font-weight: 600; }
.error-page-code { font-size: clamp(3rem, 6vw, 5rem); line-height: 1; font-weight: 600; color: var(--color_base); display: block; margin-bottom: 1.5rem; }
.error-page-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1.5rem; }
.error-page-actions > a:not(.editorial-action) { color: var(--color_base); text-decoration: underline; min-height: 2.75rem; display: inline-flex; align-items: center; }
.editorial-single .editorial-hero { margin-bottom: 2rem; max-width: 100%; }
.editorial-page .pagination { margin: 2.5rem 0 0; padding: 1rem; border: 1px solid var(--color_border); border-radius: 1rem; background: white; font-size: 1rem; }
.editorial-page .pagination .nav-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .5rem; }
.editorial-page .pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 2.5rem; height: 2.5rem; padding: 0 .875rem; border-radius: 50px; background: transparent; color: var(--color_font); font-size: .9375rem; font-weight: 600; transition: background .15s ease-out, color .15s ease-out; }
.editorial-page .pagination a.page-numbers:hover { background: var(--color_bg_light); color: var(--color_base); }
.editorial-page .pagination .current { background: var(--color_base); color: white; }
.editorial-comments { margin-top: 2rem; }
.editorial-comments :is(input[type="text"],input[type="email"],input[type="url"],textarea) { width: 100%; min-height: 3rem; border: 1px solid var(--color_border); border-radius: .75rem; background: white; padding: .75rem 1rem; font-size: 1rem; box-shadow: none; }
.editorial-comments .submit { background: var(--color_base); color: white; border-radius: 50px; padding: .75rem 1.5rem; font-size: 1rem; }
@media(max-width:991px) { .editorial-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media(max-width:550px) { .editorial-grid { grid-template-columns: minmax(0,1fr); } .editorial-search,.error-page .woocommerce-product-search { flex-direction: column; } }

/* Blog: cards e leitura alinhados ao padrão da home (imagem 16:9 arredondada, título 600 em #111) e ao tema (ul/ol sem marcador no reset). */
.editorial-card { margin: 0; padding: 1rem; border-radius: 1rem; transition: border-color .2s ease-out; }
.editorial-card:hover { border-color: color-mix(in srgb, var(--color_base) 35%, var(--color_border)); }
.editorial-card-image { display: block; aspect-ratio: 16/9; overflow: hidden; border-radius: .75rem; line-height: 0; background: var(--color_bg_light); }
.editorial-card-image img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; transition: transform .2s ease-out; }
.editorial-card:hover .editorial-card-image img { transform: scale(1.05); }
.editorial-card-content { padding: 1.25rem .5rem .5rem; }
.editorial-meta { margin-bottom: .5rem; font-size: .875rem; }
.editorial-card h2 { font-size: clamp(1.125rem, 1.4vw, 1.25rem); line-height: 1.35; margin: 0 0 .75rem; }
.editorial-card h2 a { color: var(--color_font); font-weight: inherit; }
.editorial-excerpt { font-size: .9375rem; line-height: 1.65; margin-bottom: 1.25rem; }
.editorial-excerpt p { margin: 0; }
.editorial-single .editorial-hero { display: block; width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: .75rem; }
.standard-page-content ul { list-style: disc; }
.standard-page-content ol { list-style: decimal; }
.standard-page-content li::marker { color: var(--color_base); }
.standard-page-content li { padding-left: .25rem; }
.standard-page-content :is(ul, ol) ul, .standard-page-content :is(ul, ol) ol { margin: .5rem 0 0; }

/* Post: coluna única de leitura centralizada (~60rem), texto ocupando toda a largura do cartão. */
.editorial-single .standard-page-content { padding: clamp(1.25rem, 3vw, 2.25rem); font-size: 1.0625rem; line-height: 1.8; }
.editorial-single .standard-page-content > * { max-width: none; }
.editorial-single .standard-page-content > .wp-block-heading, .editorial-single .standard-page-content h2 { margin-top: 2.5rem; }
.editorial-single .standard-page-content > .editorial-hero { max-width: 100%; margin: 0 0 2rem; }

/* Navegação entre posts: dois cartões lado a lado, anterior à esquerda e próximo à direita (reset do float/setas do Storefront). */
article.editorial-single nav.post-navigation { margin: 2rem 0 0; padding: 0; border: 0; width: 100%; }
article.editorial-single nav.post-navigation .nav-links { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; width: 100%; }
article.editorial-single nav.post-navigation .nav-links > div { float: none !important; width: auto !important; margin: 0 !important; padding: 0 !important; }
article.editorial-single nav.post-navigation .nav-previous { grid-column: 1; }
article.editorial-single nav.post-navigation .nav-next { grid-column: 2; text-align: right; }
article.editorial-single nav.post-navigation .nav-links a { display: flex !important; flex-direction: column; gap: .375rem; height: 100%; padding: 1.25rem 1.5rem; border: 1px solid var(--color_border); border-radius: 1rem; background: white; color: var(--color_font); text-decoration: none; transition: border-color .2s ease-out; }
article.editorial-single nav.post-navigation .nav-links a::before, article.editorial-single nav.post-navigation .nav-links a::after { content: none !important; display: none !important; }
article.editorial-single nav.post-navigation .nav-links a:hover { border-color: color-mix(in srgb, var(--color_base) 35%, var(--color_border)); }
article.editorial-single nav.post-navigation .nav-label { display: block; font-size: .875rem; font-weight: 600; color: var(--color_base); }
article.editorial-single nav.post-navigation .nav-title { display: block; font-size: 1rem; font-weight: 600; line-height: 1.4; }
@media (max-width: 600px) {
  article.editorial-single nav.post-navigation .nav-links { grid-template-columns: minmax(0, 1fr); }
  article.editorial-single nav.post-navigation .nav-links > div { grid-column: 1; text-align: left; }
}

/* Layout do post: artigo à esquerda e barra lateral com "Leia também" à direita (uma coluna no tablet e no celular). */
.editorial-layout { display: grid; grid-template-columns: minmax(0, 1fr) 20rem; gap: 2rem; align-items: start; }
.editorial-sidebar { position: sticky; top: 1.5rem; }
.editorial-related { padding: 1.25rem; border: 1px solid var(--color_border); border-radius: 1.25rem; background: white; }
.editorial-related h2 { margin: 0 0 1rem; font-size: 1.125rem; font-weight: 600; line-height: 1.4; color: var(--color_font); }
.editorial-related ul { margin: 0; padding: 0; list-style: none; }
.editorial-related li + li { margin-top: 1rem; }
.editorial-related-item { display: flex; flex-direction: column; gap: .625rem; color: var(--color_font); text-decoration: none; }
.editorial-related-thumb { display: block; aspect-ratio: 16/9; overflow: hidden; border-radius: .75rem; background: var(--color_bg_light); line-height: 0; }
.editorial-related-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .2s ease-out; }
.editorial-related-item:hover .editorial-related-thumb img { transform: scale(1.05); }
.editorial-related-title { font-size: .9375rem; font-weight: 600; line-height: 1.4; }
.editorial-related-item:hover .editorial-related-title { color: var(--color_base); }
.header-store-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 2.75rem;
  padding: .5rem 1.25rem;
  border-radius: 50px;
  background: var(--color_base);
  color: white;
  font-size: .9375rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background .18s ease-out, transform .1s ease-out;
}
.header-store-btn svg { width: 18px; height: 18px; flex: none; }
.header-store-btn:hover { background: var(--color_base_hover); color: white; }
.header-store-btn:active { transform: scale(.97); }
.blog-nav-list { justify-content: flex-start; gap: clamp(.5rem, 1.5vw, 1.5rem); }
.blog-nav-list .nav-link[aria-current="page"] { color: var(--color_base); }
@media (max-width: 991px) {
  .editorial-layout { grid-template-columns: minmax(0, 1fr); }
  .editorial-sidebar { position: static; }
}
/* Topo do post: categoria em chip + data, título e linha de autoria abaixo (alinhado ao container do site). */
.editorial-post-header { margin: 0 0 clamp(1.5rem, 3vw, 2.25rem); text-align: left; }
.editorial-meta-top { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .875rem; margin-bottom: 1rem; font-size: .875rem; color: var(--color_font_secondary); }
.editorial-chip { display: inline-flex; align-items: center; min-height: 1.75rem; padding: .125rem .875rem; border-radius: 50px; background: color-mix(in srgb, var(--color_base) 8%, white); color: var(--color_base); font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; transition: background .2s ease-out, color .2s ease-out; }
.editorial-chip:hover { background: var(--color_base); color: white; }
.editorial-single .editorial-post-header h1 { text-align: left; max-width: none; font-size: clamp(1.75rem, 3vw, 2.25rem); line-height: 1.2; text-wrap: balance; }
.editorial-readtime { display: inline-flex; align-items: center; gap: .375rem; }
.editorial-byline { display: flex; align-items: center; gap: .75rem; margin: 1.5rem 0 0; }
.editorial-byline-avatar { flex: none; display: flex; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem; border: 1px solid var(--color_border); border-radius: 50%; background: white; }
.editorial-byline-avatar img { width: 1.375rem; height: 1.375rem; object-fit: contain; }
.editorial-byline-text { display: flex; flex-direction: column; gap: .125rem; line-height: 1.3; }
.editorial-byline-text strong { font-size: .9375rem; font-weight: 600; color: var(--color_font); }
.editorial-byline-text span { font-size: .8125rem; color: var(--color_font_secondary); }
@media (max-width: 767px) {
  /* O título do post já aparece logo abaixo: no celular a trilha termina na categoria. */
  .editorial-single .breadcrumb-item:last-child { display: none; }
  .editorial-single .breadcrumb-item:nth-last-child(2)::after { display: none; }
  .editorial-single .breadcrumb { flex-wrap: wrap; overflow: visible; }
}

/* Hero da home do blog (DS: superfície #0A0A0A com brilho difuso azul/teal, pílulas e card em destaque). */
.blog-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(1.5rem, 3.5vw, 3rem);
  align-items: center;
  margin: .75rem 0 clamp(2rem, 3vw, 2.75rem);
  padding: clamp(1.75rem, 4vw, 3rem);
  border-radius: 1.25rem;
  color: white;
  background:
    radial-gradient(60% 80% at 88% 15%, rgba(46, 168, 170, .18), transparent 65%),
    radial-gradient(55% 75% at 15% 90%, rgba(29, 78, 216, .28), transparent 70%),
    #0A0A0A;
}
.blog-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 1.75rem;
  padding: .125rem .875rem;
  border-radius: 50px;
  background: rgba(29, 78, 216, .28);
  border: 1px solid rgba(69, 113, 223, .45);
  color: #DBEAFE;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.blog-hero-copy h1 {
  margin: 1rem 0 0;
  font-size: clamp(1.875rem, 3.6vw, 3rem);
  font-weight: 700;
  line-height: 1.12;
  color: white;
  text-wrap: balance;
}
.blog-hero-copy p {
  margin: 1rem 0 0;
  max-width: 54ch;
  font-size: clamp(1rem, 1.25vw, 1.125rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, .78);
}
.blog-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .875rem;
  margin-top: 1.75rem;
}
.blog-hero-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: .75rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 50px;
  color: white;
  font-size: 1rem;
  font-weight: 600;
  transition: background .18s ease-out, border-color .18s ease-out;
}
.blog-hero-ghost:hover {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .5);
  color: white;
}
.blog-hero-featured {
  display: flex;
  flex-direction: column;
  padding: .875rem;
  border: 1px solid var(--color_border);
  border-radius: 1rem;
  background: white;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .28);
}
.blog-hero-featured-media {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: .625rem;
  line-height: 0;
  background: var(--color_bg_light);
}
.blog-hero-featured-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .25s ease-out;
}
.blog-hero-featured:hover .blog-hero-featured-media img { transform: scale(1.04); }
.blog-hero-featured-body { padding: 1rem .375rem .25rem; }
.blog-hero-featured-tag {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--color_base);
}
.blog-hero-featured-body h2 {
  margin: .5rem 0 .75rem;
  font-size: clamp(1.125rem, 1.5vw, 1.375rem);
  font-weight: 600;
  line-height: 1.35;
}
.blog-hero-featured-body h2 a { color: var(--color_font); }
.blog-hero-featured-body h2 a:hover { color: var(--color_base); }
.blog-hero-featured-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  font-size: .9375rem;
  font-weight: 600;
  color: var(--color_base);
}
.blog-hero-featured-link:hover { color: var(--color_base_hover); }
.blog-section-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
  scroll-margin-top: 5.5rem;
}
.blog-section-title {
  margin: 0;
  font-size: clamp(1.375rem, 2vw, 1.75rem);
  font-weight: 700;
  color: var(--color_font);
}
.blog-cat-pills { display: flex; flex-wrap: wrap; gap: .5rem; }
.blog-cat-pills .editorial-chip.is-active { background: var(--color_base); color: white; }
.header-store-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 2.75rem;
  padding: .5rem 1.25rem;
  border-radius: 50px;
  background: var(--color_base);
  color: white;
  font-size: .9375rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background .18s ease-out, transform .1s ease-out;
}
.header-store-btn svg { width: 18px; height: 18px; flex: none; }
.header-store-btn:hover { background: var(--color_base_hover); color: white; }
.header-store-btn:active { transform: scale(.97); }
.blog-nav-list { justify-content: flex-start; gap: clamp(.5rem, 1.5vw, 1.5rem); }
.blog-nav-list .nav-link[aria-current="page"] { color: var(--color_base); }
@media (max-width: 991px) {
  .blog-hero { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 550px) {
  .blog-hero { padding: 1.25rem; gap: 1.25rem; border-radius: 1rem; }
  .blog-hero-actions { flex-direction: column; align-items: stretch; }
  .blog-hero-actions > a { width: 100%; }
}
