/*
Theme Name: ExpFinance
Author: OpenAI
Description: Tema WordPress leve e responsivo para o portal ExpFinance, com foco em leitura, acessibilidade, Gutenberg, segurança e desempenho.
Version: 2.2.1
Requires at least: 6.3
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: expfinance
*/

:root {
  --ef-purple: #7100E2;
  --ef-purple-dark: #5100A8;
  --ef-text: #29252f;
  --ef-muted: #66616d;
  --ef-gray: #505050;
  --ef-border: #e8e5ec;
  --ef-bg: #f7f6f9;
  --ef-white: #fff;
  --ef-container: 1200px;
  --ef-radius: 12px;
  --ef-shadow: 0 5px 22px rgba(31, 18, 48, .06);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ef-text);
  background: var(--ef-white);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--ef-purple); text-decoration: none; }
a:hover, a:focus { color: var(--ef-purple-dark); text-decoration: underline; }
button, input { font: inherit; }
.container { width: min(calc(100% - 40px), var(--ef-container)); margin-inline: auto; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.screen-reader-text:focus { z-index: 100000; top: 10px; left: 10px; width: auto; height: auto; padding: 12px 16px; margin: 0; clip: auto; color: #fff; background: #111; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 12px; top: 12px; z-index: 9999; padding: 10px 14px; color: #fff; background: #111; }

.site-header { background: #fff; border-bottom: 1px solid var(--ef-border); }
.header-inner { min-height: 112px; display: flex; align-items: center; justify-content: space-between; gap: 28px; padding-block: 12px; }
.site-branding { flex: 0 1 330px; min-width: 180px; }
.site-logo { display: inline-flex; align-items: center; max-width: 100%; }
.site-logo img { display: block; width: 100%; max-width: 320px; max-height: 106px; object-fit: contain; }
.site-title-fallback { color: var(--ef-purple); font-size: clamp(27px, 4vw, 38px); font-weight: 800; letter-spacing: -1.5px; line-height: 1.1; }
.primary-navigation { flex: 1 1 auto; }
.primary-navigation ul { display: flex; justify-content: flex-end; align-items: center; flex-wrap: wrap; gap: 5px 22px; margin: 0; padding: 0; list-style: none; }
.primary-navigation li { margin: 0; }
.primary-navigation a { display: inline-block; padding: 9px 0; color: var(--ef-gray); font-size: 15px; font-weight: 700; }
.primary-navigation a:hover, .primary-navigation .current-menu-item > a { color: var(--ef-purple); text-decoration: none; }
.menu-toggle { display: none; border: 0; border-radius: 8px; padding: 10px 13px; color: #fff; background: var(--ef-purple); cursor: pointer; }

.site-top-area { padding-top: 22px; }
.ad-slot { display: flex; align-items: center; justify-content: center; min-height: 90px; margin: 0 auto 18px; padding: 8px; overflow: hidden; color: #8a8491; background: #faf9fb; border: 1px dashed #d8d3df; border-radius: 8px; text-align: center; font-size: 12px; }
.ad-slot:empty { display: none; }
.ad-slot .widget, .ad-slot .widget_text { width: 100%; margin: 0; }
.ad-slot img, .ad-slot iframe { max-width: 100%; }
.search-strip { margin: 0 0 28px; }
.search-form { display: flex; width: 100%; min-height: 58px; border: 2px solid var(--ef-purple); border-radius: 9px; overflow: hidden; background: #fff; }
.search-form label { flex: 1; min-width: 0; }
.search-field { width: 100%; height: 54px; padding: 0 18px; border: 0; outline: 0; color: var(--ef-text); background: transparent; }
.search-field::placeholder { color: #85808b; }
.search-submit { flex: 0 0 62px; display: grid; place-items: center; border: 0; color: #fff; background: var(--ef-purple); cursor: pointer; }
.search-submit:hover, .search-submit:focus { background: var(--ef-purple-dark); }
.search-submit svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; }

main { min-height: 45vh; }
.content-area { padding-bottom: 54px; }
.breadcrumbs { margin: 0 0 14px; color: var(--ef-muted); font-size: 13px; line-height: 1.5; }
.breadcrumbs a { color: var(--ef-muted); }
.breadcrumbs a:hover { color: var(--ef-purple); }
.breadcrumbs .separator { padding-inline: 7px; color: #aaa4b0; }
.entry-title, .archive-title, .page-title { margin: 0 0 20px; color: #24202a; font-size: clamp(30px, 4vw, 42px); line-height: 1.2; letter-spacing: -.8px; font-weight: 800; }
.post-featured-image { width: 100%; max-width: 100%; margin: 0 0 32px; }
.post-featured-image__img { display: block; width: 100%; max-width: 100%; height: auto; max-height: none; object-fit: contain; border-radius: 12px; }
.entry-content { max-width: 860px; color: #35313a; font-size: 18px; line-height: 1.8; overflow-wrap: break-word; }
.entry-content > * { margin-top: 0; margin-bottom: 1.35em; }
.entry-content h2 { margin-top: 1.7em; margin-bottom: .65em; color: #26212d; font-size: clamp(24px, 3vw, 30px); line-height: 1.3; }
.entry-content h3 { margin-top: 1.5em; margin-bottom: .55em; color: #302a37; font-size: 22px; line-height: 1.35; }
.entry-content ul, .entry-content ol { padding-left: 1.4em; }
.entry-content blockquote { margin-inline: 0; padding: 18px 22px; border-left: 4px solid var(--ef-purple); background: #f8f5fc; }
.entry-content table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; }
.entry-content th, .entry-content td { padding: 10px 12px; border: 1px solid var(--ef-border); text-align: left; }
.entry-content figure { margin-inline: 0; }
.entry-content figcaption { color: var(--ef-muted); font-size: 14px; }

/* Artigos: título, imagem destacada e texto compartilham a mesma largura. */
.single-post .content-area > article {
  width: min(100%, 960px);
  margin-inline: auto;
}
.single-post .content-area > article .entry-content {
  width: 100%;
  max-width: 100%;
}
.single-post .post-featured-image {
  width: 100%;
  max-width: 100%;
}
.single-post .post-featured-image__img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}
.single-post .entry-content .alignwide,
.single-post .entry-content .alignfull {
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  transform: none;
}
.entry-content .alignwide { max-width: min(1100px, calc(100vw - 40px)); width: min(1100px, calc(100vw - 40px)); margin-left: 50%; transform: translateX(-50%); }
.entry-content .alignfull { max-width: 100vw; width: 100vw; margin-left: 50%; transform: translateX(-50%); }

.home-intro { margin: 0 0 26px; }
.section-heading { display: flex; align-items: center; gap: 12px; margin: 0 0 20px; color: #28232f; font-size: 25px; line-height: 1.25; }
.section-heading:before { content: ""; width: 5px; height: 25px; border-radius: 4px; background: var(--ef-purple); }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.post-card { min-width: 0; overflow: hidden; border: 1px solid var(--ef-border); border-radius: var(--ef-radius); background: #fff; box-shadow: var(--ef-shadow); transition: transform .18s ease, box-shadow .18s ease; }
.post-card:hover { transform: translateY(-3px); box-shadow: 0 9px 28px rgba(31,18,48,.1); }
.post-card-image { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #f0edf4; }
.post-card-image img { width: 100%; height: 100%; object-fit: cover; }
.post-card-body { padding: 18px 19px 20px; }
.post-card-category { margin: 0 0 8px; color: var(--ef-purple); font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.post-card-title { margin: 0 0 10px; font-size: 20px; line-height: 1.35; }
.post-card-title a { color: #29242f; }
.post-card-title a:hover { color: var(--ef-purple); text-decoration: none; }
.post-card-excerpt { margin: 0 0 13px; color: var(--ef-muted); font-size: 14px; line-height: 1.6; }
.read-more { display: inline-block; padding: 8px 14px; border-radius: 5px; color: #fff; background: var(--ef-purple); font-size: 13px; font-weight: 700; }
.read-more:hover { color: #fff; background: var(--ef-purple-dark); text-decoration: none; }
.pagination, .nav-links { margin-top: 34px; }
.nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.page-numbers { display: inline-block; min-width: 40px; padding: 7px 12px; border: 1px solid var(--ef-border); border-radius: 6px; color: var(--ef-gray); text-align: center; }
.page-numbers.current, .page-numbers:hover { color: #fff; border-color: var(--ef-purple); background: var(--ef-purple); text-decoration: none; }

.site-footer { padding: 34px 0 22px; color: #eee; background: #24202a; }
.footer-inner { display: flex; align-items: flex-start; justify-content: space-between; gap: 30px; }
.footer-brand { max-width: 420px; }
.footer-brand strong { display: block; margin-bottom: 8px; color: #fff; font-size: 22px; }
.footer-brand p { margin: 0; color: #c8c2cf; font-size: 14px; }
.footer-navigation ul { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0; padding: 0; list-style: none; }
.footer-navigation a { color: #eee; font-size: 14px; }
.copyright { margin: 25px 0 0; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.14); color: #c8c2cf; font-size: 13px; }

.no-results { padding: 28px; border: 1px solid var(--ef-border); border-radius: var(--ef-radius); background: var(--ef-bg); }
.error-404 { padding-block: 36px 60px; }

@media (max-width: 900px) {
  .header-inner { min-height: 94px; gap: 16px; }
  .site-branding { flex-basis: 270px; }
  .site-logo img { max-width: 270px; max-height: 90px; }
  .primary-navigation ul { gap: 4px 14px; }
  .primary-navigation a { font-size: 14px; }
  .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .container { width: min(calc(100% - 28px), var(--ef-container)); }
  .header-inner { min-height: 82px; flex-wrap: wrap; }
  .site-branding { flex: 1 1 auto; min-width: 0; }
  .site-logo img { max-width: 230px; max-height: 72px; }
  .menu-toggle { display: inline-flex; align-items: center; gap: 8px; }
  .primary-navigation { display: none; flex: 1 0 100%; padding: 0 0 12px; }
  .primary-navigation.is-open { display: block; }
  .primary-navigation ul { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .primary-navigation li { border-top: 1px solid var(--ef-border); }
  .primary-navigation a { display: block; padding: 11px 2px; font-size: 15px; }
  .site-top-area { padding-top: 15px; }
  .ad-slot { min-height: 70px; margin-bottom: 14px; }
  .search-strip { margin-bottom: 22px; }
  .search-form { min-height: 52px; }
  .search-field { height: 48px; padding-inline: 13px; font-size: 16px; }
  .search-submit { flex-basis: 54px; }
  .entry-title, .archive-title, .page-title { margin-bottom: 16px; font-size: 30px; }
  .entry-content { font-size: 17px; line-height: 1.75; }
  .post-grid { grid-template-columns: 1fr; gap: 18px; }
  .post-card { display: grid; grid-template-columns: 116px minmax(0, 1fr); }
  .post-card-image { height: 100%; min-height: 132px; aspect-ratio: auto; }
  .post-card-body { padding: 12px 13px; }
  .post-card-title { font-size: 17px; }
  .post-card-excerpt { display: none; }
  .read-more { padding: 6px 10px; font-size: 12px; }
  .footer-inner { flex-direction: column; gap: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *:before, *:after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}


/* Navegação mais compacta e menu suspenso para categorias secundárias. */
.header-inner { gap: 22px; }
.primary-navigation { min-width: 0; }
.primary-navigation > ul,
.primary-navigation .menu { display: flex; justify-content: flex-end; align-items: center; flex-wrap: nowrap; gap: 4px 16px; }
.primary-navigation li { position: relative; }
.primary-navigation a { white-space: nowrap; }
.primary-navigation .menu-item-has-children > a::after { content: "▾"; display: inline-block; margin-left: 6px; color: var(--ef-purple); font-size: 11px; }
.primary-navigation .sub-menu { position: absolute; z-index: 100; top: 100%; right: 0; display: none; min-width: 220px; padding: 8px; border: 1px solid var(--ef-border); border-radius: 10px; background: #fff; box-shadow: 0 12px 30px rgba(31,18,48,.12); }
.primary-navigation .menu-item-has-children:hover > .sub-menu,
.primary-navigation .menu-item-has-children:focus-within > .sub-menu { display: block; }
.primary-navigation .sub-menu li { display: block; }
.primary-navigation .sub-menu a { display: block; padding: 8px 10px; border-radius: 6px; white-space: normal; }
.primary-navigation .sub-menu a:hover { background: #f7f2fc; }

/* Em artigos, anúncio e pesquisa seguem a mesma coluna do título, imagem e texto. */
.single-post .site-top-area { width: min(calc(100% - 40px), 960px); max-width: 960px; }
.single-post .content-area > article { width: min(100%, 960px); }
.single-post .content-area > article .entry-header,
.single-post .content-area > article .entry-content,
.single-post .content-area > article .post-featured-image { width: 100%; max-width: 100%; }
.single-post .content-area > article .entry-title { max-width: 100%; }
.single-post .content-area > article .post-featured-image { margin: 0 0 30px; }
.single-post .content-area > article .post-featured-image__img { width: 100%; height: auto; }

.related-posts { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--ef-border); }
.related-posts .section-heading { margin-bottom: 20px; }
.related-post-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.related-post-grid .post-card { box-shadow: none; }
.related-post-grid .post-card-body { padding: 14px 15px 16px; }
.related-post-grid .post-card-title { font-size: 17px; }
.related-post-grid .post-card-excerpt { font-size: 13px; }
.related-post-grid .read-more { padding: 7px 11px; }

@media (max-width: 900px) {
  .primary-navigation > ul,
  .primary-navigation .menu { gap: 4px 10px; }
  .primary-navigation a { font-size: 14px; }
}
@media (max-width: 680px) {
  .primary-navigation > ul,
  .primary-navigation .menu { align-items: stretch; flex-wrap: nowrap; gap: 0; }
  .primary-navigation .sub-menu { position: static; display: block; min-width: 0; padding: 0 0 6px 14px; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
  .primary-navigation .sub-menu a { padding: 8px 2px; }
  .primary-navigation .menu-item-has-children > a::after { content: ""; }
  .single-post .site-top-area { width: calc(100% - 28px); }
  .related-post-grid { grid-template-columns: 1fr; }
  .related-post-grid .post-card { display: grid; grid-template-columns: 116px minmax(0, 1fr); }
  .related-post-grid .post-card-image { height: 100%; min-height: 132px; aspect-ratio: auto; }
  .related-post-grid .post-card-body { padding: 12px 13px; }
  .related-post-grid .post-card-excerpt { display: none; }
}


/* Rodapé com a área de widgets configurável no WordPress. */
.site-footer { padding: 38px 0 22px; }
.footer-brand { margin-bottom: 24px; max-width: 100%; }
.footer-brand strong { font-size: 23px; text-transform: lowercase; }
.footer-widgets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.footer-widget { min-width: 0; color: #d8d3de; font-size: 14px; line-height: 1.6; overflow-wrap: anywhere; }
.footer-widget-title { margin: 0 0 12px; color: #fff; font-size: 16px; line-height: 1.35; }
.footer-widget a { color: #eee; }
.footer-widget ul { margin: 0; padding-left: 18px; }
@media (max-width: 900px) {
  .footer-widgets { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
}
@media (max-width: 680px) {
  .footer-widgets { grid-template-columns: 1fr; gap: 20px; }
  .footer-brand { margin-bottom: 20px; }
}

/* Identificação do autor logo abaixo do título do artigo. */
.post-byline { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; margin: -8px 0 24px; color: var(--ef-muted); font-size: 13px; line-height: 1.5; }
.post-byline__author { display: inline-flex; align-items: center; gap: 7px; color: inherit; text-decoration: none; }
.post-byline__author:hover { color: var(--ef-purple); }
.post-byline__avatar { display: block; width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.post-byline__date { color: var(--ef-muted); }

/* Botão discreto para retornar ao início da página. */
.scroll-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 999;
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 9px;
  color: #fff;
  background: var(--ef-purple);
  box-shadow: 0 4px 16px rgba(31,18,48,.22);
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
  opacity: .96;
  transition: background .18s ease, transform .18s ease;
}
.scroll-to-top:hover { background: var(--ef-purple-dark); transform: translateY(-2px); }
.scroll-to-top:focus-visible { outline: 3px solid #b995e8; outline-offset: 3px; }
.scroll-to-top[hidden] { display: none; }
@media (max-width: 680px) {
  .scroll-to-top { right: 15px; bottom: 15px; width: 42px; height: 42px; }
}


/* Rodapé em três colunas, sem bloco de marca acima das seções. */
.footer-columns { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 28px; }
.footer-column { min-width: 0; color: #d8d3de; font-size: 14px; line-height: 1.6; overflow-wrap: anywhere; }
.footer-column h2 { margin: 0 0 12px; color: #fff; font-size: 16px; line-height: 1.35; }
.footer-column ul { margin: 0; padding-left: 18px; }
.footer-column li { margin: 0 0 6px; }
.footer-column a { color: #eee; }
.footer-column a:hover { color: #fff; text-decoration: underline; }
@media (max-width: 900px) {
  .footer-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .footer-recent { grid-column: 1 / -1; }
}
@media (max-width: 680px) {
  .footer-columns { grid-template-columns: 1fr; gap: 20px; }
  .footer-recent { grid-column: auto; }
}


/* Barra de rolagem compacta, retangular e discreta. */
html { scrollbar-width: thin; scrollbar-color: #9b65d4 #f0edf4; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #f0edf4; }
::-webkit-scrollbar-thumb { background: #9b65d4; border: 2px solid #f0edf4; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #7100E2; }

/* Rodapé editável em três áreas independentes do painel WordPress. */
.footer-widgets { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:28px; }
.footer-widget-area { min-width:0; color:#d8d3de; font-size:14px; line-height:1.6; overflow-wrap:anywhere; }
.footer-widget-area .widget-title { margin:0 0 12px; color:#fff; font-size:16px; line-height:1.35; }
.footer-widget-area a { color:#eee; }
.footer-widget-area ul { margin:0; padding-left:18px; }
@media(max-width:900px){.footer-widgets{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){.footer-widgets{grid-template-columns:1fr;gap:20px}}


/* Compartilhamento compacto ao lado da identificação do autor. */
.post-byline { gap:10px 16px; }
.post-share { display:inline-flex; align-items:center; flex-wrap:wrap; gap:6px; margin-left:auto; }
.post-share__link { display:inline-flex; width:30px; height:30px; align-items:center; justify-content:center; padding:0; border:1px solid var(--ef-border); border-radius:5px; color:var(--ef-gray); background:#fff; font-family:Arial,Helvetica,sans-serif; font-size:12px; font-weight:700; line-height:1; cursor:pointer; text-decoration:none; }
.post-share__link:hover,.post-share__link:focus-visible { color:#fff; border-color:var(--ef-purple); background:var(--ef-purple); text-decoration:none; }
.post-share__status { color:var(--ef-muted); font-size:11px; }
@media(max-width:680px){.post-share{flex-basis:100%; margin-left:0; padding-left:35px}.post-share__link{width:29px;height:29px}}

.footer-social { display:flex; flex-wrap:wrap; gap:8px; margin-top:22px; }
.footer-social a { display:inline-flex; width:34px; height:34px; align-items:center; justify-content:center; border:1px solid rgba(255,255,255,.22); border-radius:5px; color:#fff; font-size:12px; font-weight:700; text-decoration:none; }
.footer-social a:hover,.footer-social a:focus-visible { border-color:var(--ef-purple); background:var(--ef-purple); color:#fff; text-decoration:none; }


/* Ajustes finais de interface e acessibilidade. */
.footer-navigation { margin-top: 22px; }
.footer-navigation .footer-menu { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0; padding: 0; list-style: none; }
.footer-navigation .footer-menu a { color: #eee; font-size: 14px; }
.footer-widget-area .widget-title { margin: 0 0 12px; color: #fff; font-size: 16px; line-height: 1.35; }
.post-card-image--empty { background: linear-gradient(135deg, #f3edf9, #e9e2f0); }
.post-share__link:focus-visible, .footer-social a:focus-visible, .footer-navigation a:focus-visible { outline: 2px solid #b995e8; outline-offset: 3px; }
@media (max-width: 680px) {
  .post-byline { align-items: flex-start; }
  .post-share { padding-left: 0; }
}


/* Rodapé: três colunas sempre visíveis, com conteúdo padrão ou widgets. */
.site-footer { padding: 38px 0 22px; color: #eee; background: #24202a; }
.footer-columns { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.2fr); gap: 28px; align-items: start; }
.footer-column { min-width: 0; color: #d8d3de; font-size: 14px; line-height: 1.6; overflow-wrap: anywhere; }
.footer-column-title, .footer-column .widget-title { margin: 0 0 12px; color: #fff; font-size: 16px; line-height: 1.35; font-weight: 700; }
.footer-column ul { margin: 0; padding-left: 18px; list-style: disc; }
.footer-column li { margin: 0 0 6px; }
.footer-column a { color: #eee; text-decoration: none; }
.footer-column a:hover, .footer-column a:focus-visible { color: #fff; text-decoration: underline; }
.footer-column p { margin: 0; color: #c8c2cf; }
.footer-column .widget { margin: 0 0 16px; }
@media (max-width: 900px) { .footer-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; } .footer-recent { grid-column: 1 / -1; } }
@media (max-width: 680px) { .footer-columns { grid-template-columns: 1fr; gap: 20px; } .footer-recent { grid-column: auto; } }


/* ExpFinance 2.2: marca original, icones sociais e acessibilidade. */
.site-branding { flex: 0 0 295px; min-width: 0; }
.site-logo { width: 100%; }
.site-logo picture { display: block; width: 100%; }
.site-logo img { display:block; width: 100%; max-width: 295px; max-height: none; height:auto; object-fit: contain; }
.primary-navigation .sub-menu { max-height: 60vh; overflow-y: auto; }
.site-header a:focus-visible, .primary-navigation a:focus-visible, .post-share__link:focus-visible,
.footer-column a:focus-visible, .read-more:focus-visible, .footer-social a:focus-visible {
  outline: 3px solid #8f43e7; outline-offset: 3px;
}
.post-share__link { width: 36px; height: 36px; border: 0; border-radius: 7px; color:#fff; background:#505050; }
.post-share__link svg, .footer-social a svg { display:block; width: 19px; height:19px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.post-share__link:hover, .post-share__link:focus-visible { filter: brightness(.90); background: var(--social-color, #5100A8); color:#fff; }
.post-share__link { background: var(--social-color, #505050); }
.post-share__link--whatsapp { --social-color: #168b51; }
.post-share__link--facebook, .footer-social__link--facebook { --social-color: #1769c7; }
.post-share__link--x, .footer-social__link--x { --social-color: #151515; }
.post-share__link--telegram, .footer-social__link--telegram { --social-color: #1687ba; }
.post-share__link--reddit { --social-color: #dd450b; }
.post-share__link--linkedin, .footer-social__link--linkedin { --social-color: #07659f; }
.post-share__link--email { --social-color: #505050; }
.post-share__link--copy { --social-color: #52505b; }
.footer-social { gap:10px; }
.footer-social a { width:38px; height:38px; border:0; background: var(--social-color, #7100E2); color:#fff; border-radius:8px; }
.footer-social a:hover, .footer-social a:focus-visible { background: var(--social-color,#5100A8); filter: brightness(.86); }
.footer-social__link--instagram { --social-color: #ac267c; }
.footer-social__link--youtube { --social-color: #d9232e; }
.footer-social__link--tiktok { --social-color: #1a1a1a; }
.footer-social__link--pinterest { --social-color: #b60f25; }
.footer-social__link--whatsapp { --social-color: #168b51; }
.post-share__status { flex-basis:100%; }
.scroll-to-top svg { width: 21px; height:21px; fill:none; stroke:currentColor; stroke-width:3; stroke-linejoin:round; stroke-linecap:round; }
@media(max-width:900px){ .site-branding { flex:0 0 240px; } .site-logo img { max-width:240px; } }
@media(max-width:680px){
 .header-inner { min-height:75px; }
 .site-branding { flex:1 1 0; max-width:230px; }
 .site-logo img { max-width:230px; }
 .post-share { flex-basis: 100%; padding-left: 0; gap:7px; }
 .post-share__link { width:36px; height:36px; }
 .primary-navigation .sub-menu { position:static; max-height:none; overflow:visible; }
}
