/* Arquivo Sapucaí — estilos do site público.
   As cores e fontes vêm de variáveis (--c-*, --f-*) geradas pelo painel em Aparência. */

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body); font-stretch: var(--fst-body, 100%);
  font-size: var(--fs-body, 16px);
  font-weight: var(--fw-body, 400);
  line-height: 1.6;
  color: var(--c-arquivo-text);
  background: var(--c-blog-bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }

.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.wrap.narrow { width: min(820px, 100% - 40px); }
.center { text-align: center; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: #000; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border: 0;
  border-radius: 4px;
  background: var(--c-button-bg);
  color: var(--c-button-text);
  font-family: var(--f-ui); font-stretch: var(--fst-ui, 100%);
  font-weight: 700;
  font-size: var(--fs-ui, 15px);
  letter-spacing: .02em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s, color .2s, transform .2s;
}
.btn:hover, .btn:focus-visible { background: var(--c-button-hover-bg); color: var(--c-button-hover-text); }
.btn:active { transform: translateY(1px); }
.btn-red { background: var(--c-button-all-bg); color: var(--c-button-all-text); font-weight: 600; padding: 9px 20px; font-size: 13px; border-radius: 2px; }
.btn-red:hover, .btn-red:focus-visible { background: var(--c-button-all-hover-bg); color: var(--c-button-all-hover-text); }
.btn-dark { background: var(--c-button-dark-bg); color: var(--c-button-dark-text); border-radius: 2px; letter-spacing: .12em; font-weight: 600; }
.btn-dark:hover, .btn-dark:focus-visible { background: var(--c-button-dark-hover-bg); color: var(--c-button-dark-hover-text); }
.link-btn { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; cursor: pointer; font-family: var(--f-ui); font-stretch: var(--fst-ui, 100%); font-size: 14px; }

/* ---------- Cabeçalho ---------- */
.site-header {
  position: relative;
  background-color: var(--c-header-bg);
  background-image: linear-gradient(90deg, color-mix(in srgb, var(--c-header-bg) var(--header-overlay-a, 100%), transparent) 0%, color-mix(in srgb, var(--c-header-bg) var(--header-overlay-b, 55%), transparent) 100%), var(--header-image, none);
  background-size: cover;
  background-position: center;
  color: var(--c-header-text);
  z-index: 20;
}
.header-inner { display: flex; align-items: center; gap: 32px; min-height: var(--header-height, 120px); padding-block: 12px; }
.logo img { width: var(--logo-size, 96px); height: var(--logo-size, 96px); object-fit: contain; filter: drop-shadow(0 4px 10px rgba(0,0,0,.45)); }
.main-nav { display: flex; align-items: center; gap: 24px; flex: 1; }
.main-nav ul { display: flex; flex-wrap: wrap; gap: 6px var(--menu-gap, 30px); list-style: none; margin: 0 0 0 auto; padding: 0; }
.main-nav.menu-align-center ul { margin: 0 auto; }
.main-nav.menu-align-logo ul { margin: 0 auto 0 0; }
.main-nav ul a {
  position: relative;
  display: inline-block;
  font-family: var(--f-ui); font-stretch: var(--fst-ui, 100%);
  font-weight: 700;
  font-size: 15px;
  color: var(--c-header-accent);
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: border-color .2s, color .2s, background-color .2s;
}
.main-nav ul a:hover, .main-nav ul a:focus-visible { color: var(--c-menu-hover, var(--c-header-accent)); }
.main-nav ul a[aria-current="page"] { color: var(--c-menu-current, var(--c-header-accent)); }
/* Efeito ao passar o mouse: risco embaixo (padrão), risco que cresce, fundo arredondado ou só a cor */
.fx-line ul a:hover, .fx-line ul a[aria-current="page"] { border-bottom-color: var(--c-menu-line, var(--c-header-accent)); }
.fx-grow ul a::after { content: ""; position: absolute; left: 50%; right: 50%; bottom: -2px; height: 2px; background: var(--c-menu-line, var(--c-header-accent)); transition: left .25s, right .25s; }
.fx-grow ul a:hover::after, .fx-grow ul a[aria-current="page"]::after { left: 0; right: 0; }
/* O fundo arredondado sai para fora do texto (margem negativa): o espaço da régua é o que se vê entre um texto e outro */
.fx-pill ul a { padding: 6px 12px; margin: 0 -12px; border-radius: 999px; border-bottom: 0; }
/* Texto em cima do fundo arredondado usa a cor do fundo do cabeçalho, para não sumir (igual aos ícones das redes) */
.fx-pill ul a:hover, .fx-pill ul a:focus-visible, .fx-pill ul a[aria-current="page"] { background: var(--c-menu-line, var(--c-header-accent)); color: var(--c-header-bg); }
.header-tools { display: flex; align-items: center; gap: 6px; }
.header-social, .search-toggle { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; cursor: pointer; transition: background-color .2s, color .2s, transform .2s;
  color: var(--c-header-social, var(--c-header-accent));
  background: color-mix(in srgb, var(--c-header-social, var(--c-header-accent)) 12%, transparent);
  border: 2px solid color-mix(in srgb, var(--c-header-social, var(--c-header-accent)) 40%, transparent); }
.header-social svg { width: 22px; height: 22px; }
.header-social:hover, .search-toggle:hover, .search-toggle[aria-expanded="true"] { background: var(--c-header-social, var(--c-header-accent)); color: var(--c-header-bg); transform: translateY(-2px); }
.nav-search { display: flex; align-items: center; background: rgba(255,255,255,.12); border-radius: 999px; padding: 2px 4px 2px 14px; }
.nav-search[hidden] { display: none; }
.nav-search input { background: transparent; border: 0; color: var(--c-header-text); width: 170px; padding: 6px 0; outline: none; font-family: var(--f-ui); font-stretch: var(--fst-ui, 100%); font-size: 14px; }
.nav-search input::placeholder { color: color-mix(in srgb, var(--c-header-text) 70%, transparent); }
.nav-search button { background: none; border: 0; color: var(--c-header-accent); padding: 8px 16px; cursor: pointer; display: flex; font-family: var(--f-ui); font-stretch: var(--fst-ui, 100%); font-weight: 700; font-size: 13px; }
.nav-search .nav-search-close { padding: 4px 10px 4px 4px; font-size: 22px; line-height: 1; font-weight: 400; color: var(--c-header-text); opacity: .7; }
.nav-search .nav-search-close:hover { opacity: 1; }
/* No computador a busca abre numa caixinha flutuante embaixo da lupinha, sem mexer no menu */
@media (min-width: 961px) {
  .header-tools { position: relative; }
  .nav-search { position: absolute; top: calc(100% + 12px); right: 0; z-index: 60; background: var(--c-header-bg); border: 1px solid rgba(255,255,255,.18); box-shadow: 0 14px 30px rgba(0,0,0,.35); padding: 4px 4px 4px 18px; }
  .nav-search input { width: 230px; }
}
.nav-search input:focus-visible { outline: none; box-shadow: none; }
.nav-search:focus-within { border-color: var(--c-header-social, var(--c-header-accent)); }
.menu-toggle { display: none; margin-left: auto; background: none; border: 0; padding: 10px; cursor: pointer; }
.menu-toggle span:not(.sr) { display: block; width: 26px; height: 3px; margin: 5px 0; background: var(--c-header-accent); border-radius: 2px; transition: transform .25s, opacity .25s; }

/* ---------- Faixa corrida ---------- */
.ticker { background: var(--c-ticker-bg); color: var(--c-ticker-text); overflow: hidden; white-space: nowrap; }
.ticker-track { display: inline-flex; align-items: center; gap: var(--ticker-gap, 22px); padding: var(--ticker-pad, 9px) 0; animation: ticker 40s linear infinite; font-family: var(--f-ui); font-stretch: var(--fst-ui, 100%); font-style: italic; font-size: 14px; }
.ticker-track img { display: inline-block; }
.tk-sep-img { height: 1.25em; width: auto; }
.tk-sep { font-style: normal; opacity: .9; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Hero / carrossel ---------- */
.hero { background: #000; }
.slider { position: relative; overflow: hidden; aspect-ratio: 1728 / 568; max-height: 72vh; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease; }
.slide.is-active { opacity: 1; z-index: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slider-btn {
  position: absolute; top: 50%; z-index: 3; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%; border: 0;
  background: rgba(0,0,0,.45); color: #fff; font-size: 30px; line-height: 1; cursor: pointer;
}
.slider-btn:hover { background: var(--c-button-bg); color: var(--c-button-text); }
.slider-btn.prev { left: 16px; }
.slider-btn.next { right: 16px; }
.slider-dots { position: absolute; bottom: 14px; left: 0; right: 0; z-index: 3; display: flex; justify-content: center; gap: 8px; }
.slider-dots button { width: 10px; height: 10px; padding: 0; border-radius: 50%; border: 0; background: rgba(255,255,255,.5); cursor: pointer; }
.slider-dots button[aria-current="true"] { background: var(--c-button-bg); }

/* ---------- Seções ---------- */
.sec { padding: 64px 0; }
.sec-title {
  font-family: var(--f-heading); font-stretch: var(--fst-heading, 100%);
  font-weight: var(--fw-heading, 800);
  font-size: clamp(min(26px, var(--fs-heading, 44px)), 6vw, var(--fs-heading, 44px));
  line-height: 1.05;
  letter-spacing: .01em;
  margin: 0 0 22px;
}
.sec-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }
.sec-head .sec-title { margin: 0; }
.sec-blog .sec-head .sec-title { font-size: clamp(24px, 3vw, 34px); }
.sec-intro { max-width: 1000px; margin: 0 auto; }
.sec-lead { max-width: 760px; margin: -8px 0 28px; }
.empty { opacity: .8; }

.sec-blog { background: var(--c-blog-bg); color: var(--c-card-bg); }
.sec-blog .sec-title { color: var(--c-blog-title); }

.cards { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 22px; align-items: start; }
.cards.cols-2 { --cols: 2; } .cards.cols-3 { --cols: 3; } .cards.cols-4 { --cols: 4; } .cards.cols-5 { --cols: 5; }
.cards:not(.is-masonry) { align-items: stretch; }
.cards.is-masonry { display: block; column-count: var(--cols, 3); column-gap: 22px; }
.cards.is-masonry .card { break-inside: avoid; margin-bottom: 22px; display: inline-block; width: 100%; }
.cards.cols-4 .card-title, .cards.cols-5 .card-title { font-size: 16px; }
.card-media.is-original img { height: auto; }
.card { --card-bg-final: var(--card-bg, var(--c-card-bg)); background: var(--card-bg-final); color: var(--c-card-text); border-radius: 18px; overflow: hidden; box-shadow: 0 6px 18px rgba(0,0,0,.18); transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(0,0,0,.3); }
.card-link { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; }
.card-media { aspect-ratio: 16 / 9; background: #ccc; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card-media img { transform: scale(1.04); }
.card-body { padding: 16px 20px 22px; display: flex; flex-direction: column; gap: 8px; }
.card-meta { display: flex; align-items: center; gap: 10px; font-family: var(--f-ui); font-stretch: var(--fst-ui, 100%); font-size: 12px; line-height: 1.3; opacity: .85; }
.card-title { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: var(--card-title-lines, 3); overflow: hidden; margin: 0; font-family: var(--f-body); font-stretch: var(--fst-body, 100%); font-weight: 700; font-size: 18px; line-height: 1.3; color: var(--c-card-title); }
.card-excerpt { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: var(--card-excerpt-lines, 3); overflow: hidden; margin: 0; font-size: 14px; line-height: 1.5; }
.avatar { border-radius: 50%; object-fit: cover; width: 28px; height: 28px; flex: none; }
.avatar-lg { width: 96px; height: 96px; }
.chip { align-self: flex-start; display: inline-block; padding: 2px 10px; border-radius: 999px; background: #7B2FF7; color: #fff; font-family: var(--f-ui); font-stretch: var(--fst-ui, 100%); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; text-decoration: none; }

.sec-arquivo { background: var(--c-arquivo-bg); color: var(--c-arquivo-text); }
.sec-arquivo .sec-title { color: var(--c-arquivo-title); }
.split { --img-col: calc((100% - var(--split-gap, 40px)) * 5 / 12 * var(--img-w, 1)); display: grid; grid-template-columns: minmax(0, var(--img-col)) minmax(0, 1fr); gap: var(--split-gap, 40px); align-items: center; }
.split-media img { border-radius: 16px; box-shadow: 0 12px 30px rgba(0,0,0,.25); width: 100%; display: block; }
.split-text .btn { margin-top: 12px; }

.sec-playlists { background: var(--c-playlists-bg); color: var(--c-playlists-text); }
.sec-playlists .sec-title { color: var(--c-playlists-title); }
.playlists { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin: 36px 0; }
.playlist { position: relative; display: block; border-radius: 22px; overflow: hidden; text-decoration: none; color: #fff; aspect-ratio: 16 / 9; }
.playlist img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.playlist span { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 16px 12px; background: linear-gradient(transparent, rgba(0,0,0,.75)); font-family: var(--f-ui); font-stretch: var(--fst-ui, 100%); font-weight: 700; }
.playlist:hover img { transform: scale(1.05); }

.sec-acervo { background: var(--c-acervo-bg); color: var(--c-acervo-text); }
.sec-acervo .sec-title { color: var(--c-acervo-title); }
.acervo-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.acervo-cols.is-single { grid-template-columns: minmax(0, 760px); justify-content: center; }
.acervo-media img { display: block; max-width: 100%; margin-bottom: 26px; }
.acervo-col .btn { margin-top: 8px; }

.sec-contact { background: var(--c-contact-bg); color: var(--c-contact-text); }
.sec-contact .sec-title { color: var(--c-contact-title); letter-spacing: .14em; }

/* ---------- Formulários ---------- */
.contact-form, .comment-form { display: grid; gap: 16px; margin-top: 24px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { display: grid; gap: 6px; font-family: var(--f-ui); font-stretch: var(--fst-ui, 100%); font-size: 14px; font-weight: 600; }
label small { font-weight: 400; opacity: .7; display: inline; }
input, textarea, select {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid rgba(30,13,6,.25);
  border-bottom-width: 3px;
  border-radius: 10px;
  background: #FFFBE0;
  color: #1E0D06;
  font-family: var(--f-ui); font-stretch: var(--fst-ui, 100%);
  font-size: 15px;
}
input:focus, textarea:focus { outline: 2px solid var(--c-button-bg); outline-offset: 1px; }
.contact-form .btn, .comment-form .btn { justify-self: start; }
.notice { padding: 12px 16px; border-radius: 8px; font-family: var(--f-ui); font-stretch: var(--fst-ui, 100%); font-size: 15px; margin: 12px 0; }
.notice-success { background: #E3F7D4; color: #1F4D0D; }
.notice-error { background: #FDE2E2; color: #7A1010; }
.notice-info { background: #FFF6C8; color: #5A4500; }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--c-footer-bg); color: var(--c-footer-text); padding-top: 40px; overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1.4fr; gap: 40px; align-items: start; }
/* Os 3 títulos com o mesmo estilo e na mesma linha */
.footer-title { font-family: var(--f-heading); font-stretch: var(--fst-heading, 100%); font-weight: var(--fw-heading, 800); font-size: 18px; line-height: 1.25; margin: 0 0 12px; color: var(--c-footer-accent); letter-spacing: .04em; }
.footer-title a { color: inherit; text-decoration: none; }
.footer-text { font-size: 15px; line-height: 1.55; margin: 0 0 12px; opacity: .9; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; font-family: var(--f-ui); font-stretch: var(--fst-ui, 100%); font-size: 15px; line-height: 1.45; }
.footer-nav li a { display: inline-block; padding: 3px 0; }
.footer-nav a, .footer-bottom a, .footer-contact a { text-decoration: none; }
.footer-nav a:hover, .footer-bottom a:hover, .footer-contact a:hover { color: var(--c-footer-accent); }
.socials { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; padding: 0; margin: 14px 0 0; }
.socials a { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; color: var(--c-footer-accent); background: color-mix(in srgb, var(--c-footer-accent) 12%, transparent); border: 2px solid color-mix(in srgb, var(--c-footer-accent) 40%, transparent); transition: background-color .2s, color .2s, transform .2s; }
.socials svg { width: 34px; height: 34px; }
.socials a:hover { background: var(--c-footer-accent); color: var(--c-footer-bg); transform: translateY(-2px); }
.news-form { display: flex; gap: 8px; margin-top: 4px; }
.news-form input { background: rgba(255,255,255,.95); }
.news-form .btn { white-space: nowrap; }
.footer-contact { font-family: var(--f-ui); font-stretch: var(--fst-ui, 100%); font-size: 15px; margin: 14px 0 0; }
.footer-contact strong { color: var(--c-footer-accent); font-weight: 700; margin-right: 4px; }
.footer-word {
  font-family: var(--f-heading); font-stretch: var(--fst-heading, 100%);
  font-weight: 800;
  font-size: 5vw;
  white-space: nowrap;
  line-height: .8;
  text-align: center;
  letter-spacing: .02em;
  color: transparent;
  -webkit-text-stroke: 1px color-mix(in srgb, var(--c-footer-text) 28%, transparent);
  margin: 24px 0 -8px;
  user-select: none;
}
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 12px 0 14px; border-top: 1px solid color-mix(in srgb, var(--c-footer-text) 15%, transparent); font-family: var(--f-ui); font-stretch: var(--fst-ui, 100%); font-size: 13px; opacity: .85; position: relative; }

/* ---------- Blog ---------- */
.cat-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; background: var(--c-post-nav-bg); color: var(--c-post-nav-text); padding: 12px 20px; border-radius: 10px; margin-bottom: 34px; }
.cat-bar ul { display: flex; flex-wrap: wrap; gap: 6px 22px; list-style: none; margin: 0; padding: 0; font-family: var(--f-ui); font-stretch: var(--fst-ui, 100%); font-size: 14px; }
.cat-bar a { text-decoration: none; padding: 4px 0; border-bottom: 2px solid transparent; }
.cat-bar a:hover, .cat-bar a[aria-current="page"] { border-bottom-color: currentColor; }
.cat-search input { padding: 6px 12px; border-radius: 999px; border-width: 1px; width: 180px; font-size: 14px; background: #fff; }
.blog-page .sec-title { margin-bottom: 28px; }
.blog-page { background: var(--c-blogpage-bg, var(--c-blog-bg)); }
/* Box de abertura da página do Blog (Páginas → Blog): largura toda, texto até o fim */
.blog-box { background: var(--c-blogpage-box-bg); color: var(--c-blogpage-text); border-radius: 16px; padding: var(--blogbox-pad, 32px) clamp(18px, 4vw, var(--blogbox-pad, 32px)); margin-bottom: 22px; }
.blog-box h1 { margin: 0; color: var(--c-blogpage-title); font-family: var(--f-heading); font-stretch: var(--fst-heading, 100%); font-weight: var(--fw-heading, 800); font-size: clamp(26px, 5vw, 40px); line-height: 1.1; }
.blog-box p { margin: 14px 0 0; max-width: none; font-size: var(--fs-body, 17px); line-height: 1.6; }
.author-head { display: flex; gap: 22px; align-items: center; margin-bottom: 30px; color: var(--c-card-bg); }
.big-search { display: flex; gap: 10px; max-width: 640px; }
.pager { display: flex; justify-content: center; gap: 8px; margin-top: 40px; font-family: var(--f-ui); font-stretch: var(--fst-ui, 100%); }
.pager a { display: grid; place-items: center; min-width: 40px; height: 40px; border-radius: 8px; background: var(--c-pager-bg); color: var(--c-pager-text); font-weight: 700; text-decoration: none; transition: background-color .2s, color .2s, transform .2s; }
.pager a:hover, .pager a:focus-visible, .pager a[aria-current="page"] { background: var(--c-pager-active-bg); color: var(--c-pager-active-text); }
.pager a:hover { transform: translateY(-2px); }
.not-found .big-code { font-family: var(--f-heading); font-stretch: var(--fst-heading, 100%); font-size: 120px; font-weight: 800; line-height: 1; margin: 0; color: var(--c-ticker-bg); }

/* ---------- Página do post ---------- */
.post-page { background: var(--c-post-page-bg); padding: 0 0 64px; }
.post-wrap { width: min(1100px, 100% - 40px); padding-top: 28px; }
.post-page .cat-bar { margin-bottom: 26px; }
.post-wrap-side { width: min(1280px, 100% - 40px); }
.post-layout.has-side { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; align-items: start; }
.post-side { position: sticky; top: 20px; background: var(--c-post-box-bg); color: var(--c-post-text); border-radius: 6px; padding: 24px 22px; }
.post-side h2 { font-family: var(--f-heading); font-stretch: var(--fst-heading, 100%); font-size: 20px; margin: 0 0 14px; color: var(--c-post-title); }
.post-side ul { list-style: none; margin: 0; padding: 0; }
.post-side li + li { border-top: 1px solid rgba(0,0,0,.1); }
.post-side li a { display: grid; grid-template-columns: 78px 1fr; gap: 12px; align-items: center; padding: 12px 0; text-decoration: none; color: inherit; }
.post-side img, .post-side .side-noimg { width: 78px; height: 58px; object-fit: cover; border-radius: 8px; background: rgba(0,0,0,.08); }
.post-side strong { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-family: var(--f-ui); font-stretch: var(--fst-ui, 100%); font-size: 14px; line-height: 1.3; }
.post-side li a:hover strong { color: var(--c-post-link); }
.post-side time { display: block; margin-top: 4px; font-family: var(--f-ui); font-size: 12px; opacity: .65; }
.post-side .side-all { display: inline-block; margin-top: 12px; font-family: var(--f-ui); font-stretch: var(--fst-ui, 100%); font-size: 14px; font-weight: 700; color: var(--c-post-link); }
@media (max-width: 980px) {
  .post-layout.has-side { grid-template-columns: 1fr; }
  .post-side { position: static; }
}
.post-box { background: var(--c-post-box-bg); color: var(--c-post-text); border-radius: 6px; padding: clamp(24px, 6vw, 70px) clamp(18px, 7vw, 90px); }
.post-meta { display: flex; align-items: center; gap: 10px; font-family: var(--f-ui); font-stretch: var(--fst-ui, 100%); font-size: 13px; margin-bottom: 14px; }
.post-meta a { text-decoration: none; }
.post-meta .avatar { width: 36px; height: 36px; }
.post-title { font-family: var(--f-heading); font-stretch: var(--fst-heading, 100%); font-weight: var(--fw-heading, 800); font-size: clamp(22px, 7vw, 50px); line-height: 1.08; margin: 0 0 26px; color: var(--c-post-title); }
.post-cover { margin: 0 0 30px; }
.post-cover img { width: 100%; border-radius: 22px; }
.post-cover.cover-center { margin-inline: auto; }
.post-cover.cover-right { margin-left: auto; }
.post-cover.cover-left:not([style*="width:100%"]) { float: left; margin: .2em 1.6em 1em 0; }
.post-cover.cover-right:not([style*="width:100%"]) { float: right; margin: .2em 0 1em 1.6em; }
.post-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 40px; padding-top: 18px; border-top: 1px solid rgba(0,0,0,.12); }
.post-tags { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.tag { font-family: var(--f-ui); font-stretch: var(--fst-ui, 100%); font-size: 13px; text-decoration: underline; }
.share { display: flex; gap: 6px; }
.share a, .share button { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(0,0,0,.06); color: inherit; cursor: pointer; transition: background-color .2s; }
.share a:hover, .share button:hover { background: var(--c-button-bg); color: var(--c-button-text); }
.share button.copied { background: #2E7D32; color: #fff; }

/* Conteúdo vindo do editor */
.post-content { font-size: var(--fs-body, 16px); line-height: 1.7; overflow-wrap: break-word; }
.post-content::after { content: ""; display: table; clear: both; }
.post-content > :first-child { margin-top: 0; }
.post-content p { margin: 0 0 1em; }
.post-content h2, .post-content h3, .post-content h4, .post-content h5, .post-content h6 { font-family: var(--f-heading); font-stretch: var(--fst-heading, 100%); line-height: 1.2; margin: 1.6em 0 .6em; color: var(--c-post-title); }
.post-content h2 { font-size: 1.6em; }
.post-content h3 { font-size: 1.3em; }
.post-content h4 { font-size: 1.12em; }
.post-content a { color: var(--c-post-link); }
.post-content blockquote { margin: 1.4em 0; padding: .4em 0 .4em 1.2em; border-left: 4px solid var(--c-button-bg); font-style: italic; }
.post-content ul, .post-content ol { padding-left: 1.4em; margin: 0 0 1em; }
.post-content li { margin-bottom: .3em; }
.post-content img { border-radius: 0; height: auto; }
.post-content figure { margin: 1.4em 0; }
.post-content figcaption { font-family: var(--f-ui); font-stretch: var(--fst-ui, 100%); font-size: 14px; opacity: .75; text-align: center; margin-top: 8px; }
.post-content figure.align-left, .post-content img.align-left { float: left; margin: .3em 1.4em 1em 0; max-width: 50%; }
.post-content figure.align-right, .post-content img.align-right { float: right; margin: .3em 0 1em 1.4em; max-width: 50%; }
.post-content figure.align-center, .post-content img.align-center { margin-left: auto; margin-right: auto; }
.post-content figure.align-full { width: 100% !important; }
.post-content figure img { width: 100%; }
.post-content figure.image, .post-content figure.img { display: table; }
.post-content figure.image.align-center, .post-content figure.img.align-center { margin-left: auto; margin-right: auto; }
.post-content hr { border: 0; border-top: 2px solid currentColor; opacity: .35; margin: 2em auto; width: 100%; }
.post-content hr.divider-dashed { border-top-style: dashed; }
.post-content hr.divider-dotted { border-top-style: dotted; }
.post-content hr.divider-double { border-top: 6px double currentColor; }
.post-content hr.divider-short { width: 30%; }
.post-content .spacer { display: block; width: 100%; }
.post-content table { border-collapse: collapse; width: 100%; margin: 1.4em 0; font-size: .85em; }
.post-content td, .post-content th { border: 1px solid rgba(0,0,0,.2); padding: 10px 12px; vertical-align: top; }
.post-content th { background: rgba(0,0,0,.05); text-align: left; }
.table-scroll { overflow-x: auto; }
.post-content .btn-post {
  display: inline-block;
  padding: 12px 26px;
  border: 2px solid var(--btn-border, var(--btn-bg, #E31E24));
  border-radius: var(--btn-radius, 4px);
  background: var(--btn-bg, #E31E24);
  color: var(--btn-color, #FFFFFF);
  font-family: var(--f-ui); font-stretch: var(--fst-ui, 100%);
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  text-align: center;
  transition: background-color .2s, color .2s, border-color .2s;
}
.post-content .btn-post:hover, .post-content .btn-post:focus-visible {
  background: var(--btn-hover-bg, #FFFC00);
  color: var(--btn-hover-color, #000000);
  border-color: var(--btn-hover-border, var(--btn-hover-bg, #FFFC00));
}
.post-content .video { position: relative; aspect-ratio: 16 / 9; margin: 1.4em 0; border-radius: 14px; overflow: hidden; background: #000; clear: both; }
.post-content .video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
/* Quadrinho de vídeo: sozinho ou vários por linha, com capa, título e botão para o YouTube */
.post-content .yt-card { margin: 1.4em 0; }
.post-content .yt-card.video-solo { margin-left: auto; margin-right: auto; }
.post-content .yt-card[class*="video-row-"] { display: inline-block; vertical-align: top; margin: 0 10px 1.6em 0; }
.post-content .yt-card.video-row-2 { width: calc(50% - 16px); }
.post-content .yt-card.video-row-3 { width: calc(33.333% - 16px); }
.post-content .yt-card.video-row-4 { width: calc(25% - 16px); }
.post-content .yt-card .video { margin: 0; }
.post-content .yt-cover { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; cursor: pointer; border-radius: 0; }
.post-content .video.has-cover::after { content: ""; position: absolute; z-index: 2; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; pointer-events: none;
  background: rgba(0,0,0,.6) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M8 5v14l11-7z'/%3E%3C/svg%3E") center / 30px no-repeat; transition: background-color .2s; }
.post-content .video.has-cover:hover::after { background-color: #E31E24; }
.post-content .yt-title { margin: .55em 0 .2em; font-weight: 700; line-height: 1.3; font-size: .95em; }
.post-content .yt-link { display: inline-block; margin-top: 8px; padding: 6px 14px; border-radius: 999px; background: var(--c-button-bg); color: var(--c-button-text); font-family: var(--f-ui); font-stretch: var(--fst-ui, 100%); font-size: 14px; font-weight: 700; text-decoration: none; }
.post-content .yt-link:hover { background: var(--c-button-hover-bg); color: var(--c-button-hover-text); }
@media (max-width: 640px) {
  .post-content .yt-card[class*="video-row-"], .post-content .yt-card.video-solo { display: block; width: 100% !important; margin-right: 0; }
}

/* Comentários */
.comments, .recent { margin-top: 34px; background: var(--c-post-box-bg); color: var(--c-post-text); border-radius: 6px; padding: clamp(22px, 5vw, 50px) clamp(18px, 7vw, 90px); }
.recent { background: transparent; padding: 0; color: var(--c-card-bg); }
.recent h2, .comments h2 { font-family: var(--f-heading); font-stretch: var(--fst-heading, 100%); font-size: 24px; margin: 0; }
.recent .sec-head a { font-family: var(--f-ui); font-stretch: var(--fst-ui, 100%); font-size: 14px; }
.comments h2 { margin-bottom: 20px; }
.comment { display: flex; gap: 14px; padding: 16px 0; border-top: 1px solid rgba(0,0,0,.08); }
.comment .comment { border-top: 0; padding-bottom: 0; }
.comment-avatar { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--c-blog-bg); color: var(--c-blog-title); font-family: var(--f-ui); font-stretch: var(--fst-ui, 100%); font-weight: 700; font-size: 15px; }
.comment-body { flex: 1; min-width: 0; }
.comment-body p { margin: 0 0 8px; font-size: 16px; }
.comment-meta { font-family: var(--f-ui); font-stretch: var(--fst-ui, 100%); font-size: 14px !important; }
.comment-form h3 { font-family: var(--f-heading); font-stretch: var(--fst-heading, 100%); margin: 16px 0 0; font-size: 20px; }
.reply-to { font-family: var(--f-ui); font-stretch: var(--fst-ui, 100%); font-size: 14px; font-weight: 400; }

/* ---------- Página de Playlists: décadas em sanfona ---------- */
.pl-decades { padding-bottom: 56px; }
.pl-decade { border: 2px solid color-mix(in srgb, var(--c-pl-bar-text) 10%, transparent); border-radius: 16px; margin-bottom: 12px; overflow: hidden; background: var(--c-pl-bar-bg); color: var(--c-pl-bar-text); }
.pl-decade[open] { border-color: var(--c-pl-accent); }
.pl-decade summary { display: flex; align-items: center; gap: 14px; padding: 16px 22px; cursor: pointer; list-style: none; }
.pl-decade summary::-webkit-details-marker { display: none; }
.pl-dname { font-family: var(--f-heading); font-stretch: var(--fst-heading, 100%); font-weight: 800; font-size: clamp(20px, 4vw, 26px); }
.pl-decade summary small { font-family: var(--f-ui); font-stretch: var(--fst-ui, 100%); font-weight: 600; font-size: 14px; opacity: .7; }
.pl-toggle { margin-left: auto; flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--c-pl-accent); position: relative; transition: transform .2s; }
.pl-toggle::before, .pl-toggle::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2.5px; margin: -1.25px 0 0 -7px; background: var(--c-pl-card-bg); border-radius: 2px; }
.pl-toggle::after { transform: rotate(90deg); transition: transform .2s; }
.pl-decade[open] .pl-toggle::after { transform: rotate(0deg); }
.pl-decade summary:hover .pl-toggle { transform: scale(1.08); }
.pl-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; padding: 4px 22px 24px; }
.pl-empty { padding: 0 22px 20px; margin: 0; font-family: var(--f-ui); opacity: .7; }
.pl-cap { container-type: inline-size; position: relative; aspect-ratio: 16 / 10; border-radius: 18px; overflow: hidden; background: var(--c-pl-card-bg); color: var(--c-pl-text); padding: 18px 20px; display: flex; flex-direction: column; justify-content: flex-end; text-decoration: none; box-shadow: 0 10px 24px rgba(32,6,58,.25); transition: transform .2s, box-shadow .2s; }
.pl-cap::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 85% 15%, color-mix(in srgb, var(--c-pl-accent) 28%, transparent), transparent 45%), repeating-linear-gradient(135deg, rgba(255,255,255,.04) 0 2px, transparent 2px 12px); }
.pl-cap:hover, .pl-cap:focus-visible { transform: translateY(-4px); box-shadow: 0 16px 30px rgba(32,6,58,.35); }
.pl-year { position: relative; font-family: var(--f-heading); font-stretch: var(--fst-heading, 100%); font-weight: 800; line-height: .95; color: var(--c-pl-year); white-space: nowrap; }
.pl-title { position: relative; font-family: var(--f-ui); font-stretch: var(--fst-ui, 100%); font-weight: 700; font-size: 14px; margin-top: 8px; }
.pl-sub { position: relative; font-family: var(--f-ui); font-stretch: var(--fst-ui, 100%); font-size: 13px; opacity: .8; }
.pl-play { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%; background: var(--c-pl-accent); transition: transform .2s; }
.pl-play::after { content: ""; position: absolute; left: 50%; top: 50%; margin: -9px 0 0 -5px; border-left: 14px solid var(--c-pl-card-bg); border-top: 9px solid transparent; border-bottom: 9px solid transparent; }
.pl-cap:hover .pl-play { transform: scale(1.1); }
@media (max-width: 1000px) { .pl-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .pl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; padding: 4px 14px 18px; } .pl-decade summary { padding: 14px 16px; } .pl-cap { padding: 12px 14px; aspect-ratio: 5 / 4; } .pl-play { width: 30px; height: 30px; top: 10px; right: 10px; } .pl-play::after { margin: -6px 0 0 -3px; border-left-width: 10px; border-top-width: 6px; border-bottom-width: 6px; } .pl-title { font-size: 13px; margin-top: 6px; } .pl-sub { font-size: 12px; } }
@media (max-width: 330px) { .pl-grid { grid-template-columns: 1fr; } }

/* ---------- Celular e tablet ---------- */
@media (max-width: 960px) {
  .menu-toggle { display: block; }
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 14px;
    padding: 18px 20px 24px; background: var(--c-header-bg);
    box-shadow: 0 14px 24px rgba(0,0,0,.35);
    display: none;
  }
  .main-nav.is-open { display: flex; }
  .main-nav ul { flex-direction: column; gap: 4px; margin: 0 !important; }
  .header-tools { flex-wrap: wrap; }
  .nav-search { flex: 1 1 100%; }
  .main-nav ul a { display: block; padding: 10px 0; }
  .fx-pill ul a { margin: 0; padding: 10px 14px; }
  .nav-search input { width: 100%; }
  .nav-search .nav-search-close { display: none; }
  .header-inner { min-height: calc(var(--header-height, 120px) * .75); }
  .logo img { width: calc(var(--logo-size, 96px) * .7); height: calc(var(--logo-size, 96px) * .7); }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .split { grid-template-columns: 1fr; gap: 28px; }
  .cards.cols-3, .cards.cols-4, .cards.cols-5 { --cols: 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-news { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .post-cover { float: none !important; width: 100% !important; margin: 0 0 24px !important; }
  .sec { padding: 46px 0; }
  .playlists { grid-template-columns: 1fr; }
  .cards { --cols: 1 !important; }
  .acervo-cols, .row, .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .news-form { flex-direction: column; }
  .post-content figure.align-left, .post-content figure.align-right,
  .post-content img.align-left, .post-content img.align-right { float: none; max-width: 100%; margin: 1em 0; width: 100% !important; }
  .cat-bar { padding: 12px 14px; }
  .cat-search, .cat-search input { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---------- Seções adicionadas pelo painel ---------- */
.sec-custom { background: var(--s-bg, var(--c-arquivo-bg)); color: var(--s-text, var(--c-arquivo-text)); }
.sec-custom .sec-title { color: var(--s-title, var(--c-arquivo-title)); }
.sec-custom.sec-blog { color: var(--s-text, var(--c-card-bg)); }
.split-reverse .split-media { order: 2; }
.split-reverse { grid-template-columns: minmax(0, 1fr) minmax(0, var(--img-col)); }
.split-noimg { grid-template-columns: 1fr; }
.section-content { font-size: 18px; }
.section-content::after { content: ""; display: table; clear: both; }
.video-feature { position: relative; aspect-ratio: 16 / 9; max-width: 1000px; margin: 28px auto 0; border-radius: 18px; overflow: hidden; background: #000; box-shadow: 0 18px 40px rgba(0,0,0,.35); }
.video-feature iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ticker a { color: inherit; text-decoration: none; }
.ticker a:hover { text-decoration: underline; }
.ticker:hover .ticker-track { animation-play-state: paused; }
@media (max-width: 960px) {
  .split-reverse { grid-template-columns: 1fr; }
  .split-reverse .split-media { order: 0; }
}

/* ---------- Páginas ---------- */
.static-page { background: var(--pg-bg, var(--c-post-box-bg)); color: var(--pg-text, var(--c-post-text)); padding-bottom: 64px; }
.static-page .post-title { color: var(--pg-title, var(--c-post-title)); margin-bottom: 14px; }
.page-banner { position: relative; height: clamp(140px, 18vw, 260px); overflow: hidden; background: #000; }
.page-banner img { width: 100%; height: 100%; object-fit: cover; }
.page-banner.has-title img { opacity: .62; }
.page-banner-text { position: absolute; left: 0; right: 0; bottom: clamp(12px, 2.5vw, 28px); color: #fff; }
.page-banner-text .post-title { margin-bottom: 4px; }
.page-banner-text .page-subtitle { margin: 0; }
.page-banner-text .post-title { color: #fff; text-shadow: 0 3px 18px rgba(0,0,0,.5); }
.page-banner-text .page-subtitle { color: #fff; }
.page-body { padding-top: clamp(18px, 3vw, 30px); }
.back-link { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 18px; padding: 7px 16px; border-radius: 999px; border: 1px solid currentColor; font-family: var(--f-ui); font-stretch: var(--fst-ui, 100%); font-size: 14px; font-weight: 700; text-decoration: none; opacity: .8; transition: opacity .2s, background-color .2s, color .2s; }
.back-link:hover { opacity: 1; background: var(--c-button-bg); color: var(--c-button-text); border-color: var(--c-button-bg); }
.page-subtitle { font-size: 1.2em; opacity: .85; margin: 0 0 28px; max-width: 760px; }

/* ---------- Aviso de cookies ---------- */
.cookie-bar { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 50; max-width: 720px; margin: 0 auto; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 14px 18px; border-radius: 14px; background: var(--c-footer-bg); color: var(--c-footer-text); box-shadow: 0 14px 40px rgba(0,0,0,.35); font-family: var(--f-ui); font-stretch: var(--fst-ui, 100%); font-size: 15px; }
.cookie-bar p { margin: 0; flex: 1 1 260px; }
.cookie-bar div { display: flex; align-items: center; gap: 14px; }
.cookie-bar[hidden] { display: none; }
.footer-cookies { font-size: inherit; opacity: .85; margin-left: auto; margin-right: 18px; }
