/* 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-size: 17px;
  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-weight: 700;
  font-size: 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-ticker-bg); color: #fff; font-weight: 600; padding: 9px 20px; font-size: 13px; border-radius: 2px; }
.btn-red:hover { background: var(--c-button-bg); color: var(--c-button-text); }
.btn-dark { background: #1E0D06; color: #E9E6D3; border-radius: 2px; letter-spacing: .12em; font-weight: 600; }
.btn-dark:hover { background: var(--c-button-bg); color: var(--c-button-text); }
.link-btn { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; cursor: pointer; font-family: var(--f-ui); font-size: 14px; }

/* ---------- Cabeçalho ---------- */
.site-header {
  position: relative;
  background-color: var(--c-header-bg);
  background-image: linear-gradient(90deg, var(--c-header-bg) 0%, color-mix(in srgb, var(--c-header-bg) 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: 28px; margin-left: auto; }
.main-nav ul { display: flex; flex-wrap: wrap; gap: 6px 30px; list-style: none; margin: 0; padding: 0; }
.main-nav a {
  font-family: var(--f-ui);
  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;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { border-bottom-color: var(--c-header-accent); }
.nav-search { display: flex; align-items: center; background: rgba(255,255,255,.12); border-radius: 999px; padding: 2px 4px 2px 14px; }
.nav-search input { background: transparent; border: 0; color: var(--c-header-text); width: 150px; padding: 6px 0; outline: none; font-family: var(--f-ui); 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: 6px 8px; cursor: pointer; display: flex; }
.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: 22px; padding: 9px 0; animation: ticker 40s linear infinite; font-family: var(--f-ui); font-style: italic; font-size: 14px; }
.ticker-track img { display: inline-block; }
@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-weight: 800;
  font-size: clamp(28px, 4vw, 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; font-size: 16px; }
.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-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-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-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 { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: center; }
.split-media img { border-radius: 16px; box-shadow: 0 12px 30px rgba(0,0,0,.25); width: 100%; }
.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-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-media img { width: min(560px, 100%); border-radius: 6px; margin-bottom: 32px; aspect-ratio: 16 / 7.5; object-fit: cover; }
.acervo-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-bottom: 30px; font-size: 15px; }

.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-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-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-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: 56px; overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.3fr; gap: 40px; }
.site-footer h2 { font-family: var(--f-heading); font-size: 18px; margin: 0 0 14px; color: var(--c-footer-accent); letter-spacing: .04em; }
.footer-logo { display: flex; align-items: center; gap: 14px; text-decoration: none; font-family: var(--f-heading); font-weight: 800; font-size: 22px; }
.footer-logo img { width: 64px; height: 64px; }
.footer-brand p { font-size: 15px; opacity: .85; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-family: var(--f-ui); }
.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: 10px; list-style: none; padding: 0; margin: 18px 0 0; }
.socials a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.1); transition: background-color .2s, color .2s; }
.socials a:hover { background: var(--c-footer-accent); color: #1E0D06; }
.news-form { display: flex; gap: 8px; margin-top: 12px; }
.news-form input { background: rgba(255,255,255,.95); }
.news-form .btn { white-space: nowrap; }
.footer-contact { font-family: var(--f-ui); font-size: 14px; margin-top: 14px; }
.footer-word {
  font-family: var(--f-heading);
  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: 48px 0 -10px;
  user-select: none;
}
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 18px 0 22px; border-top: 1px solid rgba(255,255,255,.12); font-family: var(--f-ui); 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-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; }
.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); }
.pager a { display: grid; place-items: center; min-width: 40px; height: 40px; border-radius: 8px; background: rgba(255,255,255,.1); text-decoration: none; }
.pager a[aria-current="page"] { background: var(--c-button-bg); color: var(--c-button-text); font-weight: 700; }
.not-found .big-code { font-family: var(--f-heading); 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-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-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-weight: 800; font-size: clamp(30px, 4.6vw, 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-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: 20px; 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); 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-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-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; }

/* 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-size: 24px; margin: 0; }
.recent .sec-head a { font-family: var(--f-ui); 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-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-size: 14px !important; }
.comment-form h3 { font-family: var(--f-heading); margin: 16px 0 0; font-size: 20px; }
.reply-to { font-family: var(--f-ui); font-size: 14px; font-weight: 400; }

/* ---------- 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; }
  .main-nav a { display: block; padding: 10px 0; }
  .nav-search input { width: 100%; }
  .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) {
  body { font-size: 16px; }
  .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 { font-size: 18px; }
  .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, 7fr) minmax(0, 5fr); }
.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; }
}
