/* ═══════════════════════════════════════════════════════════
   Capixabices — main.css
   Baseado no protótipo v10
═══════════════════════════════════════════════════════════ */

/* ── Laca Text — self-hosted ── */
@font-face { font-display: swap; font-family: 'Laca Text'; font-style: normal; font-weight: 200; src: local('Laca Text ExtraLight'), url('../fonts/Laca Text Extra Light.woff') format('woff'); }
@font-face { font-display: swap; font-family: 'Laca Text'; font-style: italic; font-weight: 200; src: local('Laca Text ExtraLight Italic'), url('../fonts/Laca Text Extra Light Italic.woff') format('woff'); }
@font-face { font-display: swap; font-family: 'Laca Text'; font-style: normal; font-weight: 300; src: local('Laca Text Light'), url('../fonts/Laca Text Light.woff') format('woff'); }
@font-face { font-display: swap; font-family: 'Laca Text'; font-style: italic; font-weight: 300; src: local('Laca Text Light Italic'), url('../fonts/Laca Text Light Italic.woff') format('woff'); }
@font-face { font-display: swap; font-family: 'Laca Text'; font-style: normal; font-weight: 350; src: local('Laca Text Book'), url('../fonts/Laca Text Book.woff') format('woff'); }
@font-face { font-display: swap; font-family: 'Laca Text'; font-style: italic; font-weight: 350; src: local('Laca Text Book Italic'), url('../fonts/Laca Text Book Italic.woff') format('woff'); }
@font-face { font-display: swap; font-family: 'Laca Text'; font-style: normal; font-weight: 400; src: local('Laca Text Regular'), url('../fonts/Laca Text Regular.woff') format('woff'); }
@font-face { font-display: swap; font-family: 'Laca Text'; font-style: italic; font-weight: 400; src: local('Laca Text Italic'), url('../fonts/Laca Text Regular Italic.woff') format('woff'); }
@font-face { font-display: swap; font-family: 'Laca Text'; font-style: normal; font-weight: 500; src: local('Laca Text Medium'), url('../fonts/Laca Text Medium.woff') format('woff'); }
@font-face { font-display: swap; font-family: 'Laca Text'; font-style: italic; font-weight: 500; src: local('Laca Text Medium Italic'), url('../fonts/Laca Text Medium Italic.woff') format('woff'); }
@font-face { font-display: swap; font-family: 'Laca Text'; font-style: normal; font-weight: 600; src: local('Laca Text SemiBold'), url('../fonts/Laca Text SemiBold.woff') format('woff'); }
@font-face { font-display: swap; font-family: 'Laca Text'; font-style: italic; font-weight: 600; src: local('Laca Text SemiBold Italic'), url('../fonts/Laca Text Semibold Italic.woff') format('woff'); }
@font-face { font-display: swap; font-family: 'Laca Text'; font-style: normal; font-weight: 700; src: local('Laca Text Bold'), url('../fonts/Laca Text Bold.woff') format('woff'); }
@font-face { font-display: swap; font-family: 'Laca Text'; font-style: italic; font-weight: 700; src: local('Laca Text Bold Italic'), url('../fonts/Laca Text Bold Italic.woff') format('woff'); }
@font-face { font-display: swap; font-family: 'Laca Text'; font-style: normal; font-weight: 800; src: local('Laca Text ExtraBold'), url('../fonts/Laca Text ExtraBold.woff') format('woff'); }
@font-face { font-display: swap; font-family: 'Laca Text'; font-style: italic; font-weight: 800; src: local('Laca Text ExtraBold Italic'), url('../fonts/Laca Text ExtraBold Italic.woff') format('woff'); }

/* ── Material Symbols Rounded — base ── */
.material-symbols-rounded {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  font-size: 22px;
  line-height: 1;
  display: inline-flex;
  flex-shrink: 0;
  user-select: none;
  vertical-align: middle;
}
/* Ícone preenchido nos itens ativos */
.nav-link.active .material-symbols-rounded,
.nav-it.active   .material-symbols-rounded {
  font-variation-settings: 'FILL' 1, 'wght' 600, 'GRAD' 0, 'opsz' 24;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
::-webkit-scrollbar { width: 3px; height: 3px; }
::-webkit-scrollbar-thumb { background: rgba(0,0,0,.12); border-radius: 99px; }

/* ── Design tokens ── */
:root {
  --orange:    #F04E23;
  --orange-dk: #C73D18;
  --blue:      #1235B2;
  --blue-lt:   #2A4FD4;
  --white:     #FFFFFF;
  --offwhite:  #F3F2EF;
  --card:      #FFFFFF;
  --border:    #E6E4DF;
  --text:      #1A1917;
  --soft:      #5A574F;
  --muted:     #9A968F;

  --nav-h:     60px;
  --safe:      env(safe-area-inset-bottom, 0px);
  --max:       1280px;
  --pad:       20px;
  --r:         12px;
  --r-lg:      16px;

  --font:      'Laca Text', 'Barlow Condensed', sans-serif;
  --font-body: 'Laca Text', 'Barlow', sans-serif;
}

body {
  background: var(--offwhite);
  color: var(--text);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-bottom: calc(var(--nav-h) + var(--safe) + 8px);
}
@media (min-width: 1024px) { body { padding-bottom: 0; } }

/* ═══════════════════════════════════════════════════════════
   HEADER
═══════════════════════════════════════════════════════════ */
.site-header {
  position: sticky; top: 0; z-index: 300;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 8px rgba(0,0,0,.07);
  padding-top: env(safe-area-inset-top, 0px);
}

.header-row {
  max-width: var(--max); margin: 0 auto;
  padding: 0 var(--pad);
  display: flex; align-items: center;
  height: 56px; gap: 0;
}

/* Logo */
.logo { flex-shrink: 0; margin-right: 24px; }
.logo img { height: 30px; width: auto; }
.logo-text {
  font-family: var(--font);
  font-size: 26px; font-weight: 900; letter-spacing: .04em;
  color: var(--orange); display: none;
}

/* Nav principal — desktop */
.main-nav {
  display: none;
  align-items: center; justify-content: center; gap: 2px; flex: 1;
}
@media (min-width: 1024px) { .main-nav { display: flex; } }

/* Logo centralizado no mobile/tablet */
@media (max-width: 1023px) {
  .header-row { position: relative; }
  .logo { position: absolute; left: 50%; transform: translateX(-50%); margin: 0; }
}

.nav-link {
  display: flex; align-items: center; gap: 5px;
  padding: 7px 14px; border-radius: 99px;
  font-family: 'Laca Text', 'Barlow Condensed', sans-serif;
  font-size: 13px; font-weight: 700; letter-spacing: .01em;
  color: var(--soft);
  transition: all .15s; white-space: nowrap; cursor: pointer;
  line-height: 1; text-decoration: none;
  border: 1.5px solid transparent;
}
.nav-link:hover { background: var(--offwhite); color: var(--text); border-color: var(--border); }
.nav-link.active { background: var(--orange); color: var(--white); border-color: var(--orange); }

/* Ao Vivo */
.nav-link.nav-live { color: #DC2626; }
.nav-link.nav-live:hover { background: #FEF2F2; border-color: #FECACA; }
.nav-live-dot {
  width: 7px; height: 7px; background: #DC2626;
  border-radius: 50%; flex-shrink: 0;
  animation: liveblink 1.2s ease infinite;
}
@keyframes liveblink { 0%,100%{opacity:1} 50%{opacity:.2} }

/* Ações direita */
.header-actions {
  display: flex; align-items: center; gap: 8px;
  margin-left: auto; flex-shrink: 0;
}

/* ── Secondary nav ── */
.secondary-nav {
  border-top: 1px solid var(--border);
  background: var(--white);
  overflow-x: auto; scrollbar-width: none;
}
.secondary-nav::-webkit-scrollbar { display: none; }
.secondary-nav-inner {
  max-width: var(--max); margin: 0 auto;
  padding: 0 var(--pad);
  display: flex; align-items: center;
  height: 38px; gap: 2px;
}
.sn-pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 4px;
  padding: 4px 10px; border-radius: 4px;
  border: none; background: transparent;
  font-family: 'Laca Text', 'Barlow Condensed', sans-serif;
  font-size: 11px; font-weight: 800; letter-spacing: .07em;
  text-transform: uppercase; color: var(--muted);
  cursor: pointer; transition: all .15s;
  white-space: nowrap; flex-shrink: 0;
  text-decoration: none; line-height: 1;
}
.sn-pill.active { color: var(--orange); }
.sn-pill:hover { color: var(--text); }
.sn-sep { width: 1px; height: 16px; background: var(--border); margin: 0 4px; flex-shrink: 0; }
.sn-label {
  font-family: 'Laca Text', 'Barlow Condensed', sans-serif;
  font-size: 10px; font-weight: 600; letter-spacing: .07em;
  text-transform: uppercase; color: var(--muted);
  padding: 0 4px; flex-shrink: 0; white-space: nowrap; line-height: 1;
}
.tag-pill {
  flex-shrink: 0; padding: 4px 11px; border-radius: 99px;
  border: 1.5px solid var(--border); background: transparent;
  font-family: 'Laca Text', 'Barlow Condensed', sans-serif;
  font-size: 10px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--soft);
  cursor: pointer; transition: all .15s; white-space: nowrap;
  margin-right: 4px; text-decoration: none;
  display: inline-flex; align-items: center; line-height: 1;
}
.tag-pill:hover { border-color: var(--text); color: var(--text); }
.tag-pill.destaque { background: var(--orange); color: white; border-color: var(--orange); }

/* Ao Vivo */
.nav-link.nav-live { color: #DC2626; }
.nav-link.nav-live:hover { background: #FEF2F2; }
.nav-live-dot {
  width: 7px; height: 7px; background: #DC2626;
  border-radius: 50%; flex-shrink: 0;
  animation: liveblink 1.2s ease infinite;
}
@keyframes liveblink { 0%,100%{opacity:1} 50%{opacity:.2} }

/* Ações direita */
.header-actions {
  display: flex; align-items: center; gap: 8px;
  margin-left: auto; flex-shrink: 0;
}

/* Search mobile */
.mobile-search {
  flex: 1; margin: 0 12px;
  background: var(--offwhite); border: 1.5px solid var(--border);
  border-radius: 99px; display: flex; align-items: center;
  gap: 7px; padding: 8px 13px; transition: border-color .2s;
}
.mobile-search:focus-within { border-color: var(--orange); }
.mobile-search input {
  background: none; border: none; outline: none;
  color: var(--text); font-size: 14px; width: 100%;
  font-family: var(--font);
}
.mobile-search input::placeholder { color: var(--muted); }
@media (min-width: 768px) { .mobile-search { display: none; } }

/* Search desktop */
.desktop-search {
  display: none;
  background: var(--offwhite); border: 1.5px solid var(--border);
  border-radius: 99px; align-items: center;
  gap: 7px; padding: 7px 14px; width: 220px;
  transition: border-color .2s, width .3s; margin-right: 8px;
}
.desktop-search:focus-within { border-color: var(--orange); width: 280px; }
.desktop-search input {
  background: none; border: none; outline: none;
  color: var(--text); font-size: 13px; width: 100%;
  font-family: var(--font);
}
.desktop-search input::placeholder { color: var(--muted); }
@media (min-width: 768px) { .desktop-search { display: flex; } }

/* Share button */
.btn-share {
  width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--offwhite); border: 1px solid var(--border);
  cursor: pointer; transition: background .15s;
}
.btn-share:hover { background: var(--border); }

/* Share modal */
.share-backdrop {
  position: fixed; inset: 0; z-index: 500;
  background: rgba(0,0,0,.45); backdrop-filter: blur(3px);
  opacity: 0; pointer-events: none; transition: opacity .25s;
}
.share-backdrop.open { opacity: 1; pointer-events: all; }
.share-modal {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 501;
  background: var(--white);
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -4px 32px rgba(0,0,0,.15);
  transform: translateY(100%);
  transition: transform .3s cubic-bezier(.22,1,.36,1);
  max-height: 90vh; overflow-y: auto;
  pointer-events: none;
}
.share-modal.open { transform: translateY(0); pointer-events: all; }
@media (min-width: 600px) {
  .share-modal {
    bottom: auto; top: 50%; left: 50%; right: auto;
    transform: translate(-50%,-40%);
    width: 380px; border-radius: 20px;
    opacity: 0;
    transition: transform .25s cubic-bezier(.22,1,.36,1), opacity .25s;
  }
  .share-modal.open { transform: translate(-50%,-50%); opacity: 1; }
}
.share-modal-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px 12px;
}
.share-modal-title {
  font-family: var(--font); font-size: 15px; font-weight: 800;
  letter-spacing: .01em; color: var(--text);
}
.share-modal-close {
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--offwhite); border: none; cursor: pointer;
  color: var(--soft); transition: background .15s;
}
.share-modal-close:hover { background: var(--border); }
.share-modal-body { padding: 0 12px 24px; display: flex; flex-direction: column; gap: 6px; }
.share-option {
  display: flex; align-items: center; gap: 14px;
  padding: 13px 16px; border-radius: 12px;
  font-family: var(--font); font-size: 14px; font-weight: 700;
  color: var(--text); text-decoration: none; cursor: pointer;
  background: var(--offwhite); border: none; transition: background .15s;
  text-align: left;
}
.share-option:hover { background: var(--border); }
.share-option-icon {
  width: 36px; height: 36px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.share-divider {
  font-family: var(--font); font-size: 10px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
  padding: 6px 4px 2px;
}

/* YouTube CTA */
.btn-yt {
  display: none;
  align-items: center; gap: 7px;
  background: #FF0000; color: white;
  padding: 8px 14px; border-radius: 8px;
  font-family: var(--font);
  font-size: 12px; font-weight: 800; letter-spacing: .04em;
  text-transform: uppercase; cursor: pointer;
  transition: background .15s; white-space: nowrap;
}
.btn-yt:hover { background: #CC0000; }
@media (min-width: 900px) { .btn-yt { display: flex; } }

/* ── Secondary nav ── */
.secondary-nav {
  border-top: 1px solid var(--border);
  background: var(--white);
  overflow-x: auto; scrollbar-width: none;
}
.secondary-nav::-webkit-scrollbar { display: none; }
.secondary-nav-inner {
  max-width: var(--max); margin: 0 auto;
  padding: 0 var(--pad);
  display: flex; align-items: center;
  height: 40px; gap: 0;
}
.sn-pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 5px;
  padding: 6px 14px; height: auto;
  border-radius: 99px;
  border: 1.5px solid var(--border);
  background: transparent;
  font-family: 'Laca Text', 'Barlow Condensed', sans-serif;
  font-size: 11px; font-weight: 800; letter-spacing: .06em;
  text-transform: uppercase; color: var(--soft);
  cursor: pointer; transition: all .15s;
  white-space: nowrap; flex-shrink: 0;
  text-decoration: none; line-height: 1;
}
.sn-pill.active {
  color: var(--orange);
  border-color: var(--orange);
  background: rgba(240,78,35,.06);
}
.sn-pill:hover { color: var(--text); border-color: var(--text); }
.sn-sep { width: 1px; height: 18px; background: var(--border); margin: 0 6px; flex-shrink: 0; }
.sn-label {
  font-family: 'Laca Text', 'Barlow Condensed', sans-serif;
  font-size: 10px; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; color: var(--muted);
  padding: 0 4px; flex-shrink: 0; white-space: nowrap; line-height: 1;
}
.tag-pill {
  flex-shrink: 0; padding: 6px 14px; border-radius: 99px;
  border: 1.5px solid var(--border);
  background: transparent;
  font-family: 'Laca Text', 'Barlow Condensed', sans-serif;
  font-size: 11px; font-weight: 700; letter-spacing: .05em;
  text-transform: uppercase; color: var(--soft);
  cursor: pointer; transition: all .15s; white-space: nowrap;
  margin-right: 4px; text-decoration: none;
  display: inline-flex; align-items: center; line-height: 1;
}
.tag-pill:hover { border-color: var(--text); color: var(--text); }
.tag-pill.destaque {
  background: var(--orange); color: white; border-color: var(--orange);
}

/* Search button */
.btn-search {
  height: 38px; border-radius: 99px;
  display: flex; align-items: center; justify-content: center;
  gap: 6px; padding: 0 14px 0 10px;
  background: var(--offwhite); border: 1px solid var(--border);
  transition: all .15s; cursor: pointer; flex-shrink: 0;
  font-family: var(--font); font-size: 13px; font-weight: 700;
  color: var(--soft);
}
.btn-search:hover { background: var(--border); }
.btn-search-label { white-space: nowrap; }

/* ══════════════════════════════════════════════
   SEARCH OVERLAY — fullscreen
══════════════════════════════════════════════ */
.search-overlay {
  position: fixed; inset: 0; z-index: 600;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity .25s ease;
  padding: var(--pad);
}
.search-overlay.open { opacity: 1; pointer-events: all; }

.search-overlay-close {
  position: absolute; top: 24px; right: 24px;
  width: 44px; height: 44px; border-radius: 99px;
  background: var(--offwhite); border: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background .15s; color: var(--text);
}
.search-overlay-close:hover { background: var(--border); }

.search-overlay-inner { width: 100%; max-width: 640px; }

.search-hint {
  font-family: var(--font); font-size: 13px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 16px; text-align: center;
}

.search-overlay-form {
  display: flex; align-items: center; gap: 14px;
  border-bottom: 2.5px solid var(--text);
  padding-bottom: 12px; margin-bottom: 28px;
}
.search-overlay-form input {
  flex: 1; background: none; border: none; outline: none;
  font-family: var(--font); font-size: clamp(24px, 5vw, 36px);
  font-weight: 800; color: var(--text); letter-spacing: -.01em;
}
.search-overlay-form input::placeholder { color: var(--border); }

.search-suggestions { }
.search-sug-label {
  font-family: var(--font); font-size: 11px; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
  display: block; margin-bottom: 10px;
}
.search-sug-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.search-sug-pill {
  padding: 7px 16px; border-radius: 99px;
  border: 1.5px solid var(--border);
  font-family: var(--font); font-size: 12px; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase; color: var(--soft);
  transition: all .15s; text-decoration: none;
}
.search-sug-pill:hover { border-color: var(--orange); color: var(--orange); background: rgba(240,78,35,.05); }

/* ═══════════════════════════════════════════════════════════
   BOTTOM NAV — mobile
═══════════════════════════════════════════════════════════ */
.bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 300;
  background: rgba(255,255,255,.97); backdrop-filter: blur(18px);
  border-top: 1px solid var(--border);
  height: calc(var(--nav-h) + var(--safe));
  padding-bottom: var(--safe);
  display: flex; align-items: stretch;
}
@media (min-width: 1024px) { .bottom-nav { display: none; } }

.nav-it {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 3px; cursor: pointer;
}
.nav-lbl {
  font-family: var(--font); font-size: 9px; font-weight: 800;
  letter-spacing: .07em; text-transform: uppercase;
  color: var(--border); transition: color .15s;
}
.nav-it.active .nav-lbl { color: var(--orange); }

.nav-center {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 2px; cursor: pointer;
}
.nav-center-btn {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--orange);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 3px 14px rgba(240,78,35,.4);
  transition: transform .2s; margin-top: -10px;
}
.nav-center-btn:hover { transform: scale(1.07); }
.nav-center-lbl {
  font-family: var(--font); font-size: 9px; font-weight: 800;
  letter-spacing: .07em; text-transform: uppercase; color: var(--orange);
}

/* ═══════════════════════════════════════════════════════════
   NOTIF PANEL
═══════════════════════════════════════════════════════════ */
.notif-backdrop {
  position: fixed; inset: 0; z-index: 400;
  background: rgba(0,0,0,.3); backdrop-filter: blur(2px);
  opacity: 0; pointer-events: none; transition: opacity .25s;
}
.notif-backdrop.open { opacity: 1; pointer-events: all; }

.notif-panel {
  position: fixed; top: 0; right: 0; z-index: 500;
  width: min(360px, 96vw); height: 100dvh;
  background: var(--card); display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform .3s cubic-bezier(.22,1,.36,1);
  border-left: 1px solid var(--border);
  box-shadow: -8px 0 32px rgba(0,0,0,.12);
}
.notif-panel.open { transform: translateX(0); }

.np-head {
  background: var(--orange); padding: 14px 16px;
  display: flex; align-items: center; justify-content: space-between;
  padding-top: calc(14px + env(safe-area-inset-top, 0px)); flex-shrink: 0;
}
.np-title {
  font-family: var(--font); font-size: 16px; font-weight: 800;
  letter-spacing: .06em; text-transform: uppercase; color: white;
  display: flex; align-items: center; gap: 7px;
}
.np-close {
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,.18);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.np-actions { display: flex; justify-content: flex-end; padding: 10px 14px 0; }
.np-mark {
  font-family: var(--font); font-size: 11px; font-weight: 700;
  letter-spacing: .05em; text-transform: uppercase;
  color: var(--orange); cursor: pointer;
}
.np-list { flex: 1; overflow-y: auto; padding: 8px 0 16px; }
.np-item {
  display: flex; gap: 12px; padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  cursor: pointer; transition: background .12s; position: relative;
}
.np-item:hover { background: var(--offwhite); }
.np-item.unread::before {
  content: ''; position: absolute; left: 6px; top: 50%;
  transform: translateY(-50%); width: 5px; height: 5px;
  border-radius: 50%; background: var(--orange);
}
.np-av {
  width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font); font-size: 10px; font-weight: 800;
  color: white; letter-spacing: .04em; text-align: center; line-height: 1.1;
}
.np-body { flex: 1; min-width: 0; }
.np-text { font-size: 13px; line-height: 1.4; color: var(--text); margin-bottom: 3px; }
.np-text strong { font-weight: 700; }
.np-time { font-family: var(--font); font-size: 11px; color: var(--muted); }

/* ═══════════════════════════════════════════════════════════
   WIDGET ZONE
═══════════════════════════════════════════════════════════ */
.widget-zone {
  background-color: var(--blue);
  background-image: url('https://hm.capixabices.com.br/wp-content/uploads/2026/05/fundo2-capixabices.png');
  background-size: cover; background-position: center;
}
.widget-inner {
  max-width: var(--max); margin: 0 auto;
  padding: 12px var(--pad) 20px;
}

/* Escola chips */
.escola-strip {
  display: flex; gap: 4px;
  overflow-x: auto; scrollbar-width: none;
  -webkit-overflow-scrolling: touch; padding-bottom: 4px;
}
.escola-strip::-webkit-scrollbar { display: none; }
.ec {
  display: flex; flex-direction: column; align-items: center;
  gap: 5px; flex-shrink: 0; cursor: pointer;
  padding: 5px 8px; border-radius: 10px; transition: background .15s;
}
.ec:hover { background: rgba(255,255,255,.1); }
.ec.active { background: rgba(255,255,255,.15); }
.ec-ring {
  width: 54px; height: 54px; border-radius: 50%;
  padding: 2.5px; transition: transform .2s;
}
.ec:hover .ec-ring, .ec.active .ec-ring { transform: scale(1.06); }
.ec-inner {
  width: 100%; height: 100%; border-radius: 50%;
  background: white; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.ec-fb {
  font-family: var(--font); font-size: 9px; font-weight: 900;
  text-align: center; line-height: 1.15; padding: 3px; text-transform: uppercase;
}
.ec-name {
  font-family: var(--font); font-size: 9px; font-weight: 700;
  letter-spacing: .05em; text-transform: uppercase;
  color: rgba(255,255,255,.65); text-align: center;
  max-width: 58px; line-height: 1.15;
}
.ec.active .ec-name { color: white; }

/* Widgets row */
.widgets-row {
  display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 12px;
}
@media (min-width: 700px) { .widgets-row { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .widgets-row { grid-template-columns: 5fr 3fr; } }

/* Ao Vivo card */
.ao-vivo-card {
  border-radius: var(--r); background: rgba(255,255,255,.12);
  border: 1.5px solid rgba(255,255,255,.2);
  display: flex; align-items: center; gap: 13px;
  padding: 13px 16px; cursor: pointer;
  backdrop-filter: blur(6px); transition: background .2s;
}
.ao-vivo-card:hover { background: rgba(255,255,255,.2); }
.aov-pulse {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--orange); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  animation: pulse 2s ease-out infinite;
}
@keyframes pulse {
  0%  { box-shadow: 0 0 0 0   rgba(240,78,35,.6); }
  70% { box-shadow: 0 0 0 12px rgba(240,78,35,0); }
  100%{ box-shadow: 0 0 0 0   rgba(240,78,35,0); }
}
.aov-badge {
  display: inline-flex; align-items: center; gap: 4px;
  background: rgba(255,255,255,.15); color: white;
  padding: 2px 7px; border-radius: 3px; margin-bottom: 4px;
  font-family: var(--font); font-size: 10px; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase;
}
.aov-red { width: 6px; height: 6px; background: #FF4444; border-radius: 50%; animation: liveblink 1.2s infinite; }
.aov-title { font-family: var(--font); font-size: 15px; font-weight: 700; color: white; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.aov-sub { font-size: 11px; color: rgba(255,255,255,.5); margin-top: 1px; }
.aov-count { text-align: right; flex-shrink: 0; font-family: var(--font); font-size: 11px; color: rgba(255,255,255,.5); letter-spacing: .04em; }
.aov-count strong { display: block; font-size: 24px; font-weight: 900; color: white; line-height: 1; }

/* Countdown card — layout horizontal 3 colunas */
.cntd-card {
  border-radius: var(--r-lg); background: rgba(255,255,255,.08);
  border: 1.5px solid rgba(255,255,255,.15); backdrop-filter: blur(6px);
  padding: 20px 28px; display: flex; align-items: center; gap: 32px; margin-top: 12px;
}
@media (max-width: 767px) {
  .cntd-card { flex-direction: column; gap: 16px; padding: 18px 20px; text-align: center; }
  .cntd-right { width: 100%; }
  .cntd-cta { width: 100%; justify-content: center; }
}
.cntd-left { flex: 1; min-width: 0; }
.cntd-eye { font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.45); margin-bottom: 4px; display: block; }
.cntd-title { font-size: 22px; font-weight: 900; color: white; line-height: 1.1; margin-bottom: 6px; }
.cntd-sub { font-size: 12px; color: rgba(255,255,255,.4); margin-top: 0; }
.cntd-center { flex-shrink: 0; }
.cntd-boxes { display: flex; align-items: center; gap: 8px; }
.cntd-box { background: rgba(0,0,0,.25); border-radius: 10px; padding: 10px 16px; text-align: center; min-width: 72px; border: 1px solid rgba(255,255,255,.1); }
.cntd-n { font-size: 36px; font-weight: 900; color: white; line-height: 1; display: block; letter-spacing: -.02em; }
.cntd-l { font-size: 9px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.35); display: block; margin-top: 2px; }
.cntd-sep { font-size: 28px; font-weight: 900; color: rgba(255,255,255,.3); line-height: 1; margin-bottom: 14px; }
.cntd-right { flex-shrink: 0; }
.cntd-cta {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--orange); color: white;
  padding: 12px 20px; border-radius: 99px;
  font-size: 12px; font-weight: 800; letter-spacing: .05em;
  text-transform: uppercase; text-decoration: none;
  transition: background .15s; white-space: nowrap;
}
.cntd-cta:hover { background: #d03e14; }

/* ═══════════════════════════════════════════════════════════
   STORIES
═══════════════════════════════════════════════════════════ */
.stories-zone { background: var(--white); border-bottom: 3px solid var(--offwhite); }
.stories-scroll-wrap { max-width: var(--max); margin: 0 auto; }
.stories-scroll {
  display: flex; gap: 0;
  overflow-x: auto; scrollbar-width: none;
  scroll-snap-type: x mandatory;
}
.stories-scroll::-webkit-scrollbar { display: none; }
@media (min-width: 860px) {
  .stories-scroll { display: grid; grid-template-columns: repeat(4, 1fr); overflow: visible; }
}
.story {
  flex-shrink: 0; width: min(72vw, 260px);
  aspect-ratio: 3/4; position: relative;
  overflow: hidden; cursor: pointer; scroll-snap-align: start;
  transition: filter .25s;
}
@media (min-width: 860px) { .story { width: 100%; flex-shrink: unset; } }
.story:hover { filter: brightness(1.06); }
.story-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform .45s ease; }
.story:hover .story-bg { transform: scale(1.04); }
.story-overlay { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.88) 0%, rgba(0,0,0,.15) 55%, transparent 100%); }
.story-bar { position: absolute; top: 0; left: 0; right: 0; height: 4px; }
.story-mark { position: absolute; bottom: 48%; left: 50%; transform: translate(-50%, 50%); font-family: var(--font); font-weight: 900; font-size: clamp(60px, 18vw, 88px); letter-spacing: .04em; opacity: .1; color: white; white-space: nowrap; pointer-events: none; }
.story-content { position: absolute; bottom: 0; left: 0; right: 0; padding: 14px 14px 16px; }
.story-chip { display: inline-block; padding: 3px 8px; border-radius: 4px; font-family: var(--font); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: white; margin-bottom: 8px; }
.story-title { font-family: var(--font); font-size: 16px; font-weight: 800; line-height: 1.2; color: white; margin-bottom: 5px; }
.story-meta { font-size: 11px; color: rgba(255,255,255,.55); }

/* ═══════════════════════════════════════════════════════════
   FEED
═══════════════════════════════════════════════════════════ */
.feed-zone { max-width: var(--max); margin: 0 auto; padding: 20px var(--pad) 16px; }
.feed-divider { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.fd-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); flex-shrink: 0; }
.fd-label { font-family: var(--font); font-size: 12px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.fd-line { flex: 1; height: 1px; background: var(--border); }

.feed-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 600px) { .feed-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .feed-grid { grid-template-columns: repeat(3, 1fr); } }

/* Post card */
.post {
  background: var(--card); border-radius: var(--r-lg);
  overflow: hidden; border: 1px solid var(--border);
  cursor: pointer; display: flex; flex-direction: column;
  transition: box-shadow .2s, transform .18s;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
  animation: fadeUp .4s ease both;
}
.post:hover { box-shadow: 0 6px 24px rgba(0,0,0,.1); transform: translateY(-2px); }

.post.featured { grid-column: 1 / -1; }
@media (min-width: 700px) {
  .post.featured { flex-direction: row; }
  .post.featured .post-img { width: 54%; flex-shrink: 0; aspect-ratio: unset; min-height: 260px; }
  .post.featured .post-body-wrap { flex: 1; display: flex; flex-direction: column; }
}

.post-bar { height: 3.5px; flex-shrink: 0; }
.post-img { width: 100%; aspect-ratio: 16/9; overflow: hidden; flex-shrink: 0; position: relative; }
.post-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.post:hover .post-img img { transform: scale(1.04); }

.post-img-ph {
  width: 100%; height: 100%; background-size: cover; background-position: center;
  transition: transform .4s ease; display: flex; align-items: flex-end;
  padding: 10px; position: relative;
}
.post:hover .post-img-ph { transform: scale(1.04); }
.post-img-ph::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.25) 0%, transparent 50%); }

.post-hd { display: flex; align-items: center; gap: 9px; padding: 11px 14px 8px; flex-shrink: 0; }
.post-av { width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-family: var(--font); font-size: 9px; font-weight: 800; letter-spacing: .04em; color: white; line-height: 1.1; text-align: center; }
.post-meta { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.post-escola { font-family: var(--font); font-size: 12px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; display: flex; align-items: center; gap: 5px; color: var(--text); }
.post-dot { width: 5px; height: 5px; border-radius: 50%; flex-shrink: 0; }
/* Escola names: allow up to 2 lines when multiple schools */
.post-escola-line {
  font-family: var(--font); font-size: 11px; font-weight: 800;
  letter-spacing: .04em; text-transform: uppercase; color: var(--text);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; max-width: 100%;
  line-height: 1.4;
}
.post-escola-more { color: var(--muted); font-weight: 600; }
.post-cat {
  font-family: var(--font); font-size: 11px; font-weight: 700;
  letter-spacing: .04em; color: var(--muted);
  text-transform: uppercase; display: block;
}
.post-time { font-size: 11px; color: var(--soft); font-family: var(--font); font-weight: 700; letter-spacing: .03em; white-space: nowrap; }

.post-body-wrap { display: flex; flex-direction: column; flex: 1; }
.post-body { padding: 8px 14px 13px; flex: 1; display: flex; flex-direction: column; }
.post-title { font-family: var(--font); font-size: 17px; font-weight: 800; line-height: 1.2; letter-spacing: .01em; color: var(--text); margin-bottom: 6px; }
.post.featured .post-title { font-size: 22px; }
@media (min-width: 700px) { .post.featured .post-title { font-size: 26px; } }
.post-exc { font-size: 13px; line-height: 1.55; color: var(--soft); flex: 1; margin-bottom: 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post.featured .post-exc { -webkit-line-clamp: 3; }
.post-foot { display: flex; align-items: center; justify-content: space-between; padding-top: 9px; border-top: 1px solid var(--border); margin-top: auto; }
.post-read { display: flex; align-items: center; gap: 5px; font-family: var(--font); font-size: 11px; font-weight: 600; letter-spacing: .04em; color: var(--muted); }
.post-share { width: 30px; height: 30px; border-radius: 50%; background: var(--offwhite); display: flex; align-items: center; justify-content: center; transition: background .15s; }
.post-share:hover { background: var(--border); }

/* Load more */
.load-wrap { grid-column: 1/-1; padding-bottom: 12px; }
.load-btn {
  width: 100%; background: var(--card); border: 1.5px solid var(--border);
  border-radius: var(--r); padding: 13px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font); font-size: 13px; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase; color: var(--soft);
  transition: all .18s; cursor: pointer;
}
.load-btn:hover { border-color: var(--orange); color: var(--orange); background: #fff8f6; }
.spin { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--border); border-top-color: var(--orange); animation: spin .7s linear infinite; display: none; }
.load-btn.loading .spin { display: block; }
.load-btn.loading .load-txt { display: none; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fadeUp { from { opacity:0; transform:translateY(14px); } to { opacity:1; transform:translateY(0); } }

/* ═══════════════════════════════════════════════════════════
   CORES POR ESCOLA
═══════════════════════════════════════════════════════════ */
/* Rings */
.ec-up  .ec-ring { background: conic-gradient(from 0deg,#E63329,#FFD700,#E63329); } .ec-up  .ec-fb { color: #E63329; }
.ec-ps  .ec-ring { background: conic-gradient(from 0deg,#CC1E2A,#aaa,#CC1E2A); }   .ec-ps  .ec-fb { color: #CC1E2A; }
.ec-mug .ec-ring { background: conic-gradient(from 0deg,#8B0000,#DAA520,#8B0000); } .ec-mug .ec-fb { color: #8B0000; }
.ec-ni  .ec-ring { background: conic-gradient(from 0deg,#009A3C,#FFD700,#009A3C); } .ec-ni  .ec-fb { color: #009A3C; }
.ec-ma  .ec-ring { background: conic-gradient(from 0deg,#1A2C8B,#C9171E,#1A2C8B); } .ec-ma  .ec-fb { color: #1A2C8B; }
.ec-se  .ec-ring { background: conic-gradient(from 0deg,#00539B,#F7931E,#00539B); } .ec-se  .ec-fb { color: #00539B; }
.ec-ju  .ec-ring { background: conic-gradient(from 0deg,#6B21A8,#ddd,#6B21A8); }   .ec-ju  .ec-fb { color: #6B21A8; }
.ec-an  .ec-ring { background: conic-gradient(from 0deg,#166534,#DC2626,#166534); } .ec-an  .ec-fb { color: #166534; }

/* Post bars e avatares por escola */
.p-up  .post-bar { background: linear-gradient(90deg,#E63329 55%,#FFD700); } .p-up  .post-av { background: #E63329; } .p-up  .post-dot { background: #E63329; }
.p-ps  .post-bar { background: #CC1E2A; }                                    .p-ps  .post-av { background: #CC1E2A; } .p-ps  .post-dot { background: #CC1E2A; }
.p-ni  .post-bar { background: linear-gradient(90deg,#009A3C 55%,#FFD700); } .p-ni  .post-av { background: #009A3C; } .p-ni  .post-dot { background: #009A3C; }
.p-ma  .post-bar { background: linear-gradient(90deg,#1A2C8B 55%,#C9171E); } .p-ma  .post-av { background: #1A2C8B; } .p-ma  .post-dot { background: #1A2C8B; }
.p-mug .post-bar { background: linear-gradient(90deg,#8B0000 55%,#DAA520); } .p-mug .post-av { background: #8B0000; } .p-mug .post-dot { background: #8B0000; }
.p-se  .post-bar { background: linear-gradient(90deg,#00539B 55%,#F7931E); } .p-se  .post-av { background: #00539B; } .p-se  .post-dot { background: #00539B; }
.p-ju  .post-bar { background: #6B21A8; }                                    .p-ju  .post-av { background: #6B21A8; } .p-ju  .post-dot { background: #6B21A8; }
.p-cap .post-bar { background: linear-gradient(90deg,var(--orange),#FFB347); } .p-cap .post-av { background: var(--orange); } .p-cap .post-dot { background: var(--orange); }

/* Story themes */
.st-up  .story-bg { background: linear-gradient(160deg,#6b0a05,#b01208,#3d0000); } .st-up  .story-bar { background: linear-gradient(90deg,#E63329,#FFD700); } .st-up  .story-chip { background: #E63329; }
.st-ps  .story-bg { background: linear-gradient(160deg,#480608,#7a0b10,#1a0204); } .st-ps  .story-bar { background: #CC1E2A; }                                .st-ps  .story-chip { background: #CC1E2A; }
.st-mug .story-bg { background: linear-gradient(160deg,#2a0000,#5c0a00,#1a0000); } .st-mug .story-bar { background: linear-gradient(90deg,#8B0000,#DAA520); } .st-mug .story-chip { background: #8B0000; }
.st-ni  .story-bg { background: linear-gradient(160deg,#012a10,#025220,#011508); } .st-ni  .story-bar { background: linear-gradient(90deg,#009A3C,#FFD700); } .st-ni  .story-chip { background: #009A3C; }
.st-ma  .story-bg { background: linear-gradient(160deg,#060e2a,#0d1f5a,#030812); } .st-ma  .story-bar { background: linear-gradient(90deg,#1A2C8B,#C9171E); } .st-ma  .story-chip { background: #1A2C8B; }

/* ═══════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--text); color: rgba(255,255,255,.5);
  margin-top: 48px;
  padding-bottom: calc(var(--nav-h) + var(--safe) + 16px);
}
@media (min-width: 1024px) { .site-footer { padding-bottom: 0; } }
/* ── Escolas button in primary nav ── */
.nav-escolas-btn {
  display: inline-flex; align-items: center; gap: 5px;
  background: none; border: none; cursor: pointer;
  font-family: var(--font); font-size: 14px; font-weight: 700; color: var(--text);
}
.nav-escolas-btn:hover { color: var(--orange); }
.nav-escolas-btn[aria-expanded="true"] { color: var(--orange); }

/* ═══════════════════════════════════════════════════════════
   ARCHIVE ESCOLAS — /escolas/
   ═══════════════════════════════════════════════════════════ */
.escolas-archive-body {
  max-width: var(--max); margin: 0 auto;
  padding: 32px var(--pad) 64px;
  display: flex; flex-direction: column; gap: 48px;
}
.escolas-divisao-section {}
.escolas-divisao-head {
  display: flex; align-items: baseline; gap: 10px; margin-bottom: 16px;
  border-bottom: 2px solid var(--border); padding-bottom: 10px;
}
.escolas-divisao-title {
  font-family: var(--font); font-size: 18px; font-weight: 900; color: var(--text);
}
.escolas-divisao-count {
  font-family: var(--font); font-size: 12px; font-weight: 700;
  color: var(--muted); text-transform: uppercase; letter-spacing: .06em;
}
.escolas-cards-grid {
  display: grid; gap: 12px;
  grid-template-columns: 1fr;
}
@media (min-width: 540px) {
  .escolas-cards-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .escolas-cards-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ── Escola Card ── */
.escola-card {
  display: flex; flex-direction: column; text-decoration: none;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden; transition: box-shadow .15s, transform .15s;
}
.escola-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.10); transform: translateY(-2px); }
.escola-card-bar { height: 4px; width: 100%; }
[class*="p-"] .escola-card-bar { background: var(--orange); } /* fallback */
.escola-card-body {
  display: flex; align-items: center; gap: 14px; padding: 16px;
}
.escola-card-logo {
  width: 64px; height: 64px; flex-shrink: 0;
  border-radius: 50%; overflow: hidden; background: var(--offwhite);
  display: flex; align-items: center; justify-content: center;
}
.escola-card-logo img { width: 100%; height: 100%; object-fit: contain; }
.escola-card-initials {
  font-family: var(--font); font-size: 18px; font-weight: 900; color: white;
}
.escola-card-info { flex: 1; min-width: 0; }
.escola-card-nome {
  font-family: var(--font); font-size: 15px; font-weight: 800; color: var(--text);
  line-height: 1.2; margin: 0 0 2px;
}
.escola-card-nome-completo {
  font-family: var(--font); font-size: 11px; color: var(--muted);
  margin: 0 0 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.escola-card-stats {
  display: flex; flex-wrap: wrap; gap: 6px;
}
.escola-card-stat {
  font-family: var(--font); font-size: 11px; color: var(--soft);
  background: var(--offwhite); border-radius: 99px; padding: 2px 8px;
}
.escola-card-stat strong { font-weight: 800; color: var(--text); }
.escola-card-arrow { flex-shrink: 0; color: var(--muted); }

/* Elimina gap branco entre conteúdo escuro e footer em páginas de vídeo */
.post-type-archive-video .site-footer,
.single-video .site-footer { margin-top: 0; }
.post-type-archive-video,
.single-video { background: #0d0d0d; }

.footer-inner {
  max-width: var(--max); margin: 0 auto;
  padding: 40px var(--pad) 32px;
  display: flex; flex-direction: column; align-items: center; gap: 24px;
  text-align: center;
}

.footer-logo-link { display: inline-block; margin-bottom: 8px; line-height: 0; }
.footer-logo-img { height: 36px; width: auto; filter: brightness(0) invert(1); }
.footer-logo-text {
  font-family: var(--font); font-size: 28px; font-weight: 900;
  letter-spacing: .04em; color: var(--orange); display: block;
  margin-bottom: 6px;
}
.footer-tagline {
  font-size: 13px; color: rgba(255,255,255,.4); font-family: var(--font-body);
}

.footer-social { display: flex; gap: 10px; }
.footer-social-btn {
  width: 42px; height: 42px; border-radius: 99px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.6); transition: all .15s;
}
.footer-social-btn:hover { background: rgba(255,255,255,.15); color: white; }
.footer-yt:hover { background: #FF0000; border-color: #FF0000; color: white; }

.footer-copy {
  font-family: 'Laca Text', 'Barlow Condensed', sans-serif;
  font-size: 11px; letter-spacing: .04em;
  color: rgba(255,255,255,.3); display: flex; gap: 10px; align-items: center;
  flex-wrap: wrap; justify-content: center;
}
.footer-copy a { color: rgba(255,255,255,.4); transition: color .15s; }
.footer-copy a:hover { color: white; }

/* Nav mobile — ícones coloridos quando ativos */
.nav-it { color: var(--muted); }
.nav-it.active .material-symbols-rounded { color: var(--orange); }
.nav-it.active .nav-lbl { color: var(--orange); }


/* ── Andaraí — post bar/av/dot (estava faltando) ── */
.p-an  .post-bar { background: linear-gradient(90deg,#166534 55%,#DC2626); }
.p-an  .post-av  { background: #166534; }
.p-an  .post-dot { background: #166534; }

/* ── Story themes — escolas faltando ── */
.st-se  .story-bg   { background: linear-gradient(160deg,#002740,#003d6b,#001520); }
.st-se  .story-bar  { background: linear-gradient(90deg,#00539B,#F7931E); }
.st-se  .story-chip { background: #00539B; }

.st-ju  .story-bg   { background: linear-gradient(160deg,#2d0a4a,#4a0e7a,#160526); }
.st-ju  .story-bar  { background: #6B21A8; }
.st-ju  .story-chip { background: #6B21A8; }

.st-an  .story-bg   { background: linear-gradient(160deg,#062510,#0b3d1a,#031208); }
.st-an  .story-bar  { background: linear-gradient(90deg,#166534,#DC2626); }
.st-an  .story-chip { background: #166534; }

/* ── Ao Vivo card — body wrapper ── */
.aov-body { flex: 1; min-width: 0; }

/* ════════════════════════════════════════════
   LIVE HERO — hero de live/programada homepage
════════════════════════════════════════════ */

/* ── Barra pré-live (upcoming) ── */
.prelive-bar {
  background: linear-gradient(90deg, #1235B2 0%, #0d289a 100%);
  color: #fff;
  padding: 12px var(--pad);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Laca Text','Barlow Condensed',sans-serif;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
}
.prelive-bar-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
}
.prelive-bar-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.prelive-bar-dot {
  width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0;
  background: #F04E23;
  animation: prelive-pulse 1.6s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes prelive-pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .5; transform: scale(.7); }
}
.prelive-bar-text { text-align: center; }
.prelive-bar-time {
  background: rgba(255,255,255,.18);
  border-radius: 99px;
  padding: 3px 12px;
  font-size: 13px;
  white-space: nowrap;
}
.prelive-bar-cta {
  background: #F04E23;
  color: #fff;
  border-radius: 99px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background .2s;
}
.prelive-bar-cta:hover { background: #d43f18; color: #fff; }

/* ── Hero live (ao vivo) ── */
.live-hero {
  background: linear-gradient(180deg, #0d0d0d 0%, #111318 100%);
  padding: 20px 0 28px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.live-hero-wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* Cabeçalho: badge + título + CTA */
.live-hero-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.live-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #F04E23;
  color: #fff;
  font-family: 'Laca Text','Barlow Condensed',sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  border-radius: 99px;
  padding: 4px 12px 4px 10px;
  flex-shrink: 0;
}
.live-hero-badge-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #fff;
  animation: prelive-pulse 1s ease-in-out infinite;
  flex-shrink: 0;
}
.live-hero-title {
  color: rgba(255,255,255,.92);
  font-family: 'Laca Text','Barlow Condensed',sans-serif;
  font-size: 17px;
  font-weight: 700;
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Botão toggle chat — mobile only */
.live-chat-toggle {
  display: none; /* visível apenas no mobile via media query */
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.8);
  border-radius: var(--r);
  padding: 11px 16px;
  font-family: 'Laca Text','Barlow Condensed',sans-serif;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s;
}
.live-chat-toggle:hover { background: rgba(255,255,255,.12); }
.live-chat-toggle-arrow { transition: transform .25s; flex-shrink: 0; }

/* Rodapé: ações + link YouTube */
.live-hero-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
}

/* Botões de ação (compartilhar / curtir) */
.live-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.13);
  color: rgba(255,255,255,.82);
  border-radius: 99px;
  padding: 7px 14px;
  font-family: 'Laca Text','Barlow Condensed',sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.live-action-btn:hover {
  background: rgba(255,255,255,.16);
  color: #fff;
  border-color: rgba(255,255,255,.25);
}
.live-action-subscribe:hover {
  background: rgba(240,78,35,.18);
  border-color: rgba(240,78,35,.4);
  color: #F04E23;
}


/* Toast "Link copiado!" */
.live-share-toast {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  background: #1a1a1a;
  color: #fff;
  font-family: 'Laca Text','Barlow Condensed',sans-serif;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 99px;
  box-shadow: 0 4px 20px rgba(0,0,0,.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s, transform .25s;
  z-index: 9999;
}
.live-share-toast--show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Corpo: player + chat lado a lado */
.live-hero-body {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 12px;
  align-items: start;
}
.live-hero-player {
  position: relative;
  aspect-ratio: 16/9;
  background: #000;
  border-radius: var(--r-lg);
  overflow: hidden;
}
.live-hero-player iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  aspect-ratio: unset !important;
  border-radius: 0 !important;
  margin: 0 !important;
}
.live-hero-chat {
  background: #1a1a1a;
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  /* mesma altura que o player calculado pelo aspect-ratio */
  aspect-ratio: 9/16;
  max-height: 540px;
  min-height: 320px;
}
.live-hero-chat-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: #222;
  color: rgba(255,255,255,.7);
  font-family: 'Laca Text','Barlow Condensed',sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255,255,255,.07);
  flex-shrink: 0;
}
.live-hero-chat iframe {
  flex: 1;
  border: none;
  width: 100%;
  height: 100%;
  aspect-ratio: unset !important;
  border-radius: 0 !important;
  margin: 0 !important;
}

@media (max-width: 900px) {
  .live-hero-body {
    grid-template-columns: 1fr 260px;
    gap: 8px;
  }
  .live-hero-chat { max-height: 420px; min-height: 280px; }
}
@media (max-width: 640px) {
  .live-hero { padding: 14px 0 18px; }
  .live-hero-title { font-size: 15px; }
  .live-hero-body { grid-template-columns: 1fr; }
  /* chat: oculto por padrão no mobile, expande ao clicar */
  .live-hero-chat {
    display: none;
    aspect-ratio: unset;
    height: 400px;
    max-height: 400px;
    min-height: unset;
    border-radius: var(--r);
    margin-top: 8px;
  }
  .live-hero-chat.live-chat-open { display: flex; }
  .live-chat-toggle { display: flex; } /* visível no mobile */
  .prelive-bar { font-size: 13px; }
}

/* ════════════════════════════════════════════════════════════
   HOME — SEÇÃO DE VÍDEOS + TÍTULOS DE SEÇÃO
════════════════════════════════════════════════════════════ */

/* Cabeçalho de seção (vídeos + últimas notícias) */
.home-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 16px;
}
.home-section-head--feed {
  padding-top: 16px;
}
.home-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font);
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  margin: 0;
  line-height: 1;
}
.home-section-title .material-symbols-rounded {
  font-size: 22px;
  color: var(--orange);
  flex-shrink: 0;
}
.home-section-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 700;
  color: var(--orange);
  text-decoration: none;
  white-space: nowrap;
  transition: opacity .2s;
}
.home-section-link:hover { opacity: .75; }

/* Seção de vídeos */
.home-videos-section {
  background: var(--offwhite);
  padding: 36px 0 12px;
}
.home-videos-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* Grid fixo 4 colunas — alinhado igual ao feed de notícias */
.home-videos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.home-videos-grid .video-card {
  background: #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}

@media (max-width: 900px) {
  .home-videos-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .home-videos-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
}

/* ════════════════════════════════════════════════════════════
   REVISÃO VISUAL — nav, mobile, hero, modal social, PWA
════════════════════════════════════════════════════════════ */

/* ── Desktop nav: centralizado absolutamente — independente do tamanho do logo ── */
.header-row { position: relative; }
.main-nav {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  flex: none; margin: 0; gap: 0;
}
.header-actions { position: absolute; right: var(--pad); top: 50%; transform: translateY(-50%); margin-left: 0; }
.nav-link {
  border-radius: 6px;
  border: none;
  font-style: normal;
  font-weight: 800;
  text-transform: none;
  font-variant: normal;
  font-variant-caps: normal;
  letter-spacing: .02em;
  padding: 6px 14px;
  gap: 6px;
  font-size: 12px;
}
.nav-link:hover {
  background: rgba(0,0,0,.04);
  border-color: transparent;
  color: var(--text);
}
.nav-link.active {
  background: rgba(240,78,35,.1);
  border-color: transparent;
  color: var(--orange);
}

/* ── Secondary nav: tabs ── */
.secondary-nav-inner {
  height: 40px;
  align-items: stretch;
  padding-bottom: 0;
  gap: 0;
}
.sn-pill {
  align-self: stretch;
  border: none;
  border-radius: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  text-transform: none;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0;
  color: var(--soft);
  padding: 0 12px;
  gap: 5px;
}
.sn-pill:hover {
  color: var(--text);
  background: transparent;
  border-color: transparent;
  border-bottom-color: var(--border);
}
.sn-pill.active {
  color: var(--orange);
  background: transparent;
  border-color: transparent;
  border-bottom-color: var(--orange);
  font-weight: 800;
}
.sn-sep { margin: 0 8px; height: 16px; align-self: center; }
.sn-label { align-self: center; }
.tag-pill {
  align-self: stretch;
  border: none;
  border-radius: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  text-transform: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--soft);
  padding: 0 10px;
  margin-right: 0;
  display: inline-flex;
  align-items: center;
  gap: 2px;
}
.tag-pill:hover {
  border-color: transparent;
  border-bottom-color: var(--border);
  color: var(--text);
}
.tag-pill.destaque {
  background: transparent;
  color: var(--orange);
  border-color: transparent;
  border-bottom-color: var(--orange);
  font-weight: 800;
}
.tag-hash { color: var(--muted); font-weight: 400; }

/* ── Mobile/tablet header: logo centrado, hambúrguer e ações nas extremidades ── */
@media (max-width: 1023px) {
  .header-row { justify-content: center; }
  .btn-hamburguer { position: absolute; left: var(--pad); }
  .header-row { position: relative; }
  .header-actions { position: absolute; right: var(--pad); top: 50%; transform: translateY(-50%); margin-left: 0; }
}

/* ── YouTube Shorts strip — bolinhas circulares ── */
.shorts-strip {
  display: flex; gap: 14px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; padding: 12px 0 10px;
}
.shorts-strip::-webkit-scrollbar { display: none; }
@media (min-width: 768px) {
  .shorts-strip { display: grid; grid-template-columns: repeat(8, 1fr); gap: 10px; overflow: visible; }
}
@media (min-width: 1024px) {
  .shorts-strip { grid-template-columns: repeat(12, 1fr); }
}
.short-item {
  flex-shrink: 0; width: 80px;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  background: none; border: none; padding: 0;
  cursor: pointer; scroll-snap-align: start;
}
@media (min-width: 768px) { .short-item { width: 100%; } }
/* gradient ring like Instagram stories */
.short-ring {
  width: 74px; height: 74px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--orange) 0%, #FFB347 50%, #FF6B6B 100%);
  padding: 2.5px;
  transition: transform .2s;
}
.short-item:hover .short-ring,
.short-item:focus .short-ring { transform: scale(1.08); }
.short-thumb {
  width: 100%; height: 100%; border-radius: 50%;
  border: 2.5px solid #1235B2;
  background: #111 center/cover no-repeat;
  position: relative; overflow: hidden;
}
.short-play {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,.18);
}
.short-play svg { width: 16px; height: 16px; opacity: .85; }
.short-title {
  font-family: 'Laca Text', 'Barlow Condensed', sans-serif;
  font-size: 10px; font-weight: 700; color: rgba(255,255,255,.8);
  line-height: 1.25; text-align: center;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  width: 80px; word-break: break-word;
}
@media (min-width: 768px) { .short-title { width: 100%; font-size: 9px; } }

/* ── Stories Modal (YouTube Shorts) ── */
.stories-modal {
  position: fixed; inset: 0; z-index: 9000;
  background: rgba(0,0,0,.88);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity .2s;
}
.stories-modal.open { opacity: 1; pointer-events: all; }
.stories-wrap {
  position: relative;
  width: 100vw; height: 100vh; height: 100dvh;
  background: #000; overflow: hidden;
  display: flex; flex-direction: column;
}
@media (min-width: 520px) {
  .stories-wrap {
    width: min(420px, 100vw);
    height: min(900px, calc(100vh - 40px));
    height: min(900px, calc(100dvh - 40px));
    border-radius: 18px;
  }
}
/* progress bars */
.stories-prog {
  position: absolute; top: 10px; left: 10px; right: 10px;
  display: flex; gap: 3px; z-index: 10;
}
.sp-seg {
  flex: 1; height: 2.5px; background: rgba(255,255,255,.32);
  border-radius: 2px; overflow: hidden;
}
.sp-fill {
  height: 100%; width: 0%; background: #fff; border-radius: 2px;
}
.sp-seg.done .sp-fill { width: 100% !important; }
/* header */
.stories-head {
  position: absolute; top: 26px; left: 12px; right: 12px;
  display: flex; align-items: center; gap: 10px; z-index: 10;
}
.stories-head-info { flex: 1; min-width: 0; }
.stories-head-ch {
  font-family: 'Laca Text','Barlow Condensed',sans-serif;
  font-size: 13px; font-weight: 700; color: #fff;
  text-shadow: 0 1px 3px rgba(0,0,0,.6);
}
.stories-close-btn {
  width: 36px; height: 36px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,.35); border: none; border-radius: 50%;
  color: #fff; cursor: pointer;
}
/* video area */
.stories-media { position: absolute; inset: 0; }
.stories-media iframe { width: 100%; height: 100%; border: none; display: block; }
/* tap zones (mobile) */
.stories-tap {
  position: absolute; top: 0; bottom: 0; width: 33%; z-index: 8; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.stories-tap-prev { left: 0; }
.stories-tap-next { right: 0; }
/* arrow buttons (desktop hover) */
.stories-arr-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.15); backdrop-filter: blur(4px);
  border: 1.5px solid rgba(255,255,255,.45);
  border-radius: 50%; color: #fff; cursor: pointer;
  opacity: 0; transition: opacity .2s; z-index: 9;
}
.stories-wrap:hover .stories-arr-btn { opacity: 1; }
.stories-arr-btn:hover { background: rgba(255,255,255,.28); }
.stories-arr-prev { left: 14px; }
.stories-arr-next { right: 14px; }
/* footer gradient + title */
.stories-foot {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,.82) 0%, rgba(0,0,0,.4) 55%, transparent 100%);
  padding: 72px 20px 32px; z-index: 10;
  pointer-events: none;
}
.stories-title {
  font-family: 'Laca Text','Barlow Condensed',sans-serif;
  font-size: 15px; font-weight: 700; color: #fff; line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
  text-shadow: 0 1px 4px rgba(0,0,0,.5); margin-bottom: 14px;
}
.stories-watch {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 20px; background: rgba(255,255,255,.95); color: #111;
  border-radius: 22px; font-size: 13px; font-weight: 800;
  text-decoration: none; pointer-events: all;
  font-family: 'Laca Text','Barlow Condensed',sans-serif;
  transition: background .15s;
}
.stories-watch:hover { background: #fff; }
.stories-counter {
  float: right;
  font-family: 'Laca Text','Barlow Condensed',sans-serif;
  font-size: 12px; color: rgba(255,255,255,.6);
  line-height: 2.2;
}

/* ── Destaques no hero ── */
.destaques-section { margin-top: 18px; }
.destaques-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 640px) { .destaques-grid { grid-template-columns: repeat(3, 1fr); } }
.destaque-card {
  display: block; text-decoration: none;
  background: rgba(255,255,255,.97); border-radius: var(--r-lg);
  overflow: hidden; cursor: pointer;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 3px 16px rgba(0,0,0,.25);
}
.destaque-card:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(0,0,0,.32); }
.destaque-img { width: 100%; aspect-ratio: 16/9; overflow: hidden; }
.destaque-img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .4s ease;
}
.destaque-card:hover .destaque-img img { transform: scale(1.05); }
.destaque-body { padding: 12px 14px 14px; }
.destaque-chip {
  font-family: var(--font); font-size: 10px; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--orange); display: block; margin-bottom: 5px;
}
.destaque-title {
  font-family: var(--font);
  font-size: 18px;
  font-weight: 800; line-height: 1.2; color: var(--text);
}
@media (min-width: 640px) { .destaque-title { font-size: 22px; } }
.destaque-meta {
  font-family: var(--font); font-size: 11px; color: var(--muted); margin-top: 6px;
}

/* ── Countdown section ── */
.cntd-section { margin-top: 14px; }

/* ── Post avatar com bandeira da escola ── */
.post-av img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block; }
.post-av-img { padding: 2px; } /* cor da escola vira anel de 2px */

/* ── Avatar stack — estilo collab Instagram ── */
.post-av-stack { display: flex; align-items: center; flex-shrink: 0; }
.post-av-stack .post-av { box-sizing: border-box; border: 2px solid #fff; }
.post-av-stack .post-av + .post-av { margin-left: -8px; }
.post-av-stack .post-av:nth-child(1) { z-index: 1; }
.post-av-stack .post-av:nth-child(2) { z-index: 2; }
.post-av-stack .post-av:nth-child(3) { z-index: 3; }

/* ── Bottom nav: 5 itens com centro laranja ── */
/* (estilos completos no bloco SOCIAL HEADER BUTTONS abaixo) */

/* ── Modal redes sociais ── */
.social-backdrop {
  position: fixed; inset: 0; z-index: 490;
  background: rgba(0,0,0,.45); backdrop-filter: blur(4px);
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.social-backdrop.open { opacity: 1; pointer-events: all; }
.social-sheet {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 495;
  background: var(--white); border-radius: 20px 20px 0 0;
  padding: 0 16px calc(var(--safe) + var(--nav-h) + 20px);
  transform: translateY(100%);
  transition: transform .35s cubic-bezier(.22,1,.36,1);
  box-shadow: 0 -4px 32px rgba(0,0,0,.18);
  pointer-events: none;
}
.social-sheet.open { transform: translateY(0); pointer-events: all; }
.social-sheet-handle {
  width: 40px; height: 4px; background: var(--border);
  border-radius: 99px; margin: 10px auto 18px;
}
.social-sheet-title {
  font-family: var(--font); font-size: 11px; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); text-align: center; margin-bottom: 16px;
}
.social-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.smb {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 16px; border-radius: var(--r);
  font-family: var(--font); font-size: 15px; font-weight: 700;
  color: white; text-decoration: none; border: none; cursor: pointer;
  transition: opacity .15s;
}
.smb:hover { opacity: .88; }
.smb-ig { background: linear-gradient(135deg,#f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%); }
.smb-yt { background: #FF0000; }
.smb-wa { background: #25D366; }
.smb-x  { background: #000000; }

/* ── PWA install banner ── */
/* ── PWA Install Popup ── */
.pwa-backdrop {
  position: fixed; inset: 0; z-index: 8800;
  background: rgba(0,0,0,.6); backdrop-filter: blur(4px);
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.pwa-backdrop.show { opacity: 1; pointer-events: all; }
.pwa-popup {
  position: fixed; z-index: 8900;
  left: 50%; top: 50%; transform: translate(-50%, calc(-50% + 20px));
  width: min(360px, calc(100vw - 32px));
  background: #fff; border-radius: 20px;
  padding: 28px 24px 24px;
  box-shadow: 0 20px 60px rgba(0,0,0,.3);
  opacity: 0; pointer-events: none;
  transition: opacity .3s, transform .3s;
  text-align: center;
}
.pwa-popup.show {
  opacity: 1; pointer-events: all;
  transform: translate(-50%, -50%);
}
.pwa-popup-close {
  position: absolute; top: 14px; right: 14px;
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  background: var(--offwhite); border: none; border-radius: 50%;
  color: var(--muted); cursor: pointer;
}
.pwa-popup-icon-wrap { position: relative; display: inline-block; margin-bottom: 14px; }
.pwa-popup-icon {
  width: 72px; height: 72px; border-radius: 18px;
  display: block; object-fit: cover;
  box-shadow: 0 4px 16px rgba(0,0,0,.12);
}
.pwa-popup-icon-fallback {
  width: 72px; height: 72px; border-radius: 18px;
  background: var(--orange); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 30px; font-weight: 900;
  font-family: 'Laca Text','Barlow Condensed',sans-serif;
}
.pwa-popup-badge {
  position: absolute; bottom: -6px; right: -6px;
  background: #16a34a; color: #fff;
  font-size: 9px; font-weight: 800; letter-spacing: .06em;
  padding: 2px 6px; border-radius: 8px;
  font-family: 'Laca Text','Barlow Condensed',sans-serif;
}
.pwa-popup-title {
  font-family: 'Laca Text','Barlow Condensed',sans-serif;
  font-size: 20px; font-weight: 900; color: var(--text);
  margin-bottom: 8px; line-height: 1.2;
}
.pwa-popup-sub {
  font-size: 13px; color: var(--soft); line-height: 1.55;
  margin-bottom: 16px;
}
.pwa-popup-feats {
  list-style: none; padding: 0; margin: 0 0 20px;
  display: flex; flex-direction: column; gap: 8px;
  text-align: left;
}
.pwa-popup-feats li {
  display: flex; align-items: center; gap: 9px;
  font-size: 13px; color: var(--text); font-weight: 500;
}
.pwa-popup-feats li svg { color: var(--orange); flex-shrink: 0; }
.pwa-popup-install-btn {
  width: 100%; padding: 14px;
  background: var(--orange); color: #fff; border: none; border-radius: 12px;
  font-family: 'Laca Text','Barlow Condensed',sans-serif;
  font-size: 15px; font-weight: 800; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: background .15s; margin-bottom: 10px;
}
.pwa-popup-install-btn:hover { background: #d63e16; }
.pwa-popup-later {
  width: 100%; padding: 10px;
  background: none; border: none; color: var(--muted);
  font-family: 'Laca Text','Barlow Condensed',sans-serif;
  font-size: 13px; cursor: pointer;
}
.pwa-popup-later:hover { color: var(--text); }
.pwa-popup-hint {
  margin-top: 10px; font-size: 12px; color: var(--muted); line-height: 1.5;
  background: var(--offwhite); border-radius: var(--r); padding: 10px 14px;
  text-align: left;
}

/* ════════════════════════════════════════════════════════════
   SOCIAL HEADER BUTTONS + MINHA ESCOLA + BOTTOM NAV CENTER
════════════════════════════════════════════════════════════ */

/* ── Botão compartilhar redes sociais no header (removido do layout) ── */
.btn-social-header { display: none !important; }

/* Social sheet message */
.social-sheet-msg {
  font-family: var(--font); font-size: 13px; color: var(--muted);
  text-align: center; padding: 0 20px 12px; line-height: 1.4; margin: 0;
}

/* Esconde btn-search no mobile */
@media (max-width: 767px) {
  .btn-search { display: none; }
}
/* No tablet (hamburger ativo), btn-search mostra só ícone sem texto */
@media (max-width: 1023px) and (min-width: 768px) {
  .btn-search-label { display: none; }
  .btn-search { gap: 0; }
}

/* ── Bottom nav: cápsula flutuante (hidden desktop) ── */
@media (min-width: 1024px) { .bottom-nav { display: none !important; } }

.bottom-nav {
  position: fixed;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  left: 50%; transform: translateX(-50%);
  width: auto; min-width: 300px; max-width: calc(100vw - 32px);
  height: 60px;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-radius: 99px;
  border: 1px solid var(--border);
  box-shadow: 0 8px 32px rgba(0,0,0,.15), 0 2px 8px rgba(0,0,0,.08);
  padding: 0 8px;
  display: flex; align-items: center; justify-content: space-around;
  z-index: 300;
}
.nav-it {
  flex: 1; min-width: 52px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 2px; padding: 0 4px; height: 100%;
  background: none; border: none; cursor: pointer;
  text-decoration: none; color: var(--muted); transition: color .15s;
}
.nav-it .material-symbols-rounded { font-size: 22px; }
.nav-lbl {
  font-family: var(--font); font-size: 8px; font-weight: 800;
  letter-spacing: .05em; text-transform: uppercase; color: inherit;
}
.nav-it.active { color: var(--orange); }
.nav-center {
  flex: 1; min-width: 52px;
  display: flex; align-items: center; justify-content: center;
}
.nav-center-btn {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--orange); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(240,78,35,.25);
  margin-top: 0; transition: transform .2s;
}
.nav-center-btn:hover,
.nav-center-btn:active { transform: scale(1.07); }
.nav-center-lbl { display: none; }

/* ── Hambúrguer — mobile e tablet (<1024px) ── */
.btn-hamburguer {
  display: none;
  align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--offwhite); border: 1px solid var(--border);
  cursor: pointer; flex-shrink: 0;
  transition: background .15s;
}
.btn-hamburguer:hover { background: var(--border); }
@media (max-width: 1023px) {
  .btn-hamburguer { display: flex; }
}

/* ── Menu Drawer — slide-in da esquerda ── */
.menu-drawer-backdrop {
  position: fixed; inset: 0; z-index: 500;
  background: rgba(0,0,0,.45); backdrop-filter: blur(4px);
  opacity: 0; pointer-events: none;
  transition: opacity .3s;
}
.menu-drawer-backdrop.open { opacity: 1; pointer-events: all; }

.menu-drawer {
  position: fixed; top: 0; left: 0; bottom: 0;
  width: 280px; z-index: 501;
  background: var(--white);
  box-shadow: 8px 0 32px rgba(0,0,0,.18);
  display: flex; flex-direction: column;
  transform: translateX(-100%);
  transition: transform .35s cubic-bezier(.22,1,.36,1);
  overflow-y: auto;
}
.menu-drawer.open { transform: translateX(0); }

.menu-drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.menu-drawer-logo-link { display: inline-flex; align-items: center; line-height: 0; }
.menu-drawer-logo { height: 30px; width: auto; }
.menu-drawer-brand {
  font-family: 'Laca Text', 'Barlow Condensed', sans-serif;
  font-size: 18px; font-weight: 900; color: var(--text);
  letter-spacing: -.02em;
}
.menu-drawer-close {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: none; border: none; cursor: pointer; color: var(--soft);
  transition: background .15s;
}
.menu-drawer-close:hover { background: var(--offwhite); }

.menu-drawer-body {
  flex: 1; padding: 12px 0 calc(env(safe-area-inset-bottom, 0px) + 24px);
  display: flex; flex-direction: column;
}
.menu-drawer-link {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 20px;
  font-family: 'Laca Text', 'Barlow Condensed', sans-serif;
  font-size: 16px; font-weight: 700; color: var(--text);
  text-decoration: none;
  transition: background .15s, color .15s;
}
.menu-drawer-link:hover { background: var(--offwhite); color: var(--orange); }
.menu-drawer-link .material-symbols-rounded { font-size: 22px; color: var(--muted); flex-shrink: 0; }
.menu-drawer-link:hover .material-symbols-rounded { color: var(--orange); }

.menu-drawer-sep {
  height: 1px; background: var(--border);
  margin: 8px 20px;
}
.menu-drawer-soon {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 20px;
  font-family: 'Laca Text', 'Barlow Condensed', sans-serif;
  font-size: 16px; font-weight: 700; color: var(--muted);
  cursor: default;
}
.menu-drawer-soon .material-symbols-rounded { font-size: 22px; flex-shrink: 0; }
.menu-drawer-badge {
  margin-left: auto;
  font-family: 'Laca Text', 'Barlow Condensed', sans-serif;
  font-size: 10px; font-weight: 800; text-transform: uppercase;
  letter-spacing: .06em; color: var(--orange);
  background: rgba(240,78,35,.1); border-radius: 99px;
  padding: 2px 8px;
}

/* ── Drawer: expandível escolas ── */
.menu-drawer-expandable { display: flex; flex-direction: column; }
.menu-drawer-expand-btn {
  width: 100%; text-align: left;
  background: none; border: none; cursor: pointer;
  font-family: 'Laca Text', 'Barlow Condensed', sans-serif;
  font-size: 16px; font-weight: 700;
}
.expand-arrow {
  margin-left: auto; font-size: 22px;
  transition: transform .25s;
}
.menu-drawer-sub { padding: 4px 0 8px 32px; }
.menu-drawer-sub-label {
  font-family: 'Laca Text', 'Barlow Condensed', sans-serif;
  font-size: 9px; font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted);
  padding: 8px 20px 4px 0; display: block;
}
.menu-drawer-sub a,
.menu-drawer-escola-link {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 20px 8px 0;
  font-family: 'Laca Text', 'Barlow Condensed', sans-serif;
  font-size: 13px; font-weight: 600; color: var(--text);
  text-decoration: none; border-bottom: 1px solid var(--border);
}
.menu-drawer-sub a:last-child,
.menu-drawer-escola-link:last-child { border-bottom: none; }
.menu-drawer-sub a:hover,
.menu-drawer-escola-link:hover { color: var(--orange); }
.menu-drawer-escola-logo {
  width: 28px; height: 28px; border-radius: 50%;
  object-fit: contain; flex-shrink: 0;
  border: 1px solid var(--border);
  background: var(--offwhite);
}

/* ── Drawer: seção social ── */
.menu-drawer-social {
  padding: 16px 20px; border-top: 1px solid var(--border);
  flex-shrink: 0;
}
.menu-drawer-section-label {
  font-size: 9px; font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted);
  display: block; margin-bottom: 4px;
}
.menu-drawer-social-btns { display: flex; flex-direction: column; gap: 2px; margin-top: 8px; }
.mds-btn {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; border-radius: 8px;
  font-family: 'Laca Text', 'Barlow Condensed', sans-serif;
  font-size: 14px; font-weight: 600; color: var(--text);
  text-decoration: none; transition: background .15s;
}
.mds-btn:hover { background: var(--offwhite); }
.mds-btn svg { flex-shrink: 0; }
.mds-ig:hover { color: #E1306C; }
.mds-yt:hover { color: #FF0000; }
.mds-wa:hover { color: #25D366; }
.mds-x:hover  { color: #000; }

/* ── Minha Escola — ícone filled quando escola selecionada ── */
.sn-pill#minha-escola-btn.has-escola .minha-escola-icon,
#minha-escola-nav-btn.has-escola .minha-escola-icon {
  font-variation-settings: 'FILL' 1, 'wght' 600, 'GRAD' 0, 'opsz' 24;
  color: var(--orange);
}

/* ── Modal Minha Escola ── */
.escola-overlay {
  position: fixed; inset: 0; z-index: 600;
  background: rgba(0,0,0,.55); backdrop-filter: blur(6px);
  display: flex; align-items: flex-end;
  opacity: 0; pointer-events: none;
  transition: opacity .3s;
}
.escola-overlay.open { opacity: 1; pointer-events: all; }
.escola-modal {
  width: 100%; max-height: 82vh;
  background: var(--white); border-radius: 20px 20px 0 0;
  display: flex; flex-direction: column;
  transform: translateY(40px);
  transition: transform .35s cubic-bezier(.22,1,.36,1);
}
.escola-overlay.open .escola-modal { transform: translateY(0); }
.escola-modal-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px 14px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.escola-modal-title {
  font-family: var(--font); font-size: 16px; font-weight: 800; color: var(--text);
}
.escola-modal-close { color: var(--muted); }
.escola-modal-list {
  overflow-y: auto; flex: 1;
  padding: 6px 0 calc(env(safe-area-inset-bottom, 0px) + 20px);
}
.escola-modal-loading {
  padding: 28px; text-align: center;
  font-family: var(--font); font-size: 14px; color: var(--muted);
}
.escola-modal-item {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 20px; cursor: pointer; width: 100%;
  border: none; background: none; text-align: left;
  font-family: var(--font); font-size: 15px; font-weight: 600; color: var(--text);
  transition: background .15s;
}
.escola-modal-item:hover { background: var(--offwhite); }
.escola-item-icon { color: var(--orange); font-size: 20px !important; }
.escola-item-check {
  margin-left: auto; color: var(--orange); font-size: 20px !important;
  display: none;
  font-variation-settings: 'FILL' 1, 'wght' 600, 'GRAD' 0, 'opsz' 24;
}
.escola-modal-item.selected .escola-item-check { display: block; }
/* ════════════════════════════════════════════════════════════
   SINGLE POST
════════════════════════════════════════════════════════════ */
.single-post { background: var(--white); }

/* Barra colorida */
.single-bar { height: 5px; width: 100%; }
[class*="p-up"] .single-bar  { background: linear-gradient(90deg,#E63329,#FFD700); }
[class*="p-ps"] .single-bar  { background: linear-gradient(90deg,#CC1E2A,#aaaaaa); }
[class*="p-mug"] .single-bar { background: linear-gradient(90deg,#8B0000,#DAA520); }
[class*="p-ni"] .single-bar  { background: linear-gradient(90deg,#009A3C,#FFD700); }
[class*="p-ma"] .single-bar  { background: linear-gradient(90deg,#1A2C8B,#C9171E); }
[class*="p-se"] .single-bar  { background: linear-gradient(90deg,#00539B,#F7931E); }
[class*="p-ju"] .single-bar  { background: linear-gradient(90deg,#6B21A8,#dddddd); }
[class*="p-an"] .single-bar  { background: linear-gradient(90deg,#166534,#DC2626); }
[class*="p-cap"] .single-bar { background: linear-gradient(90deg,#F04E23,#FFB347); }

/* Hero — base (CPT templates: dark background with overlay) */
.single-hero {
  position: relative; overflow: hidden;
  min-height: 60vh; display: flex; align-items: flex-end;
  background: var(--text);
  background-size: cover; background-position: center top;
}
.single-hero-img {
  /* default: absolute fill for CPT dark heroes */
  position: absolute; inset: 0;
  background-size: cover; background-position: center top;
}
.single-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.15) 0%, rgba(0,0,0,.75) 100%);
}
.single-hero-body {
  position: relative; z-index: 1;
  padding: 40px var(--pad) 36px;
  max-width: var(--max); margin: 0 auto; width: 100%;
}

/* Hero — post type (layout G1: título primeiro, imagem abaixo na coluna) */
.single-post .single-hero {
  display: flex; flex-direction: column; align-items: center;
  min-height: 0; background: white;
}
.single-post .single-hero-img {
  position: relative; inset: auto;
  width: 100%; overflow: hidden;
  background: none; order: 2; /* imagem aparece ABAIXO do título por default */
}
.single-post .single-hero-img img {
  width: 100%; height: auto; display: block;
  object-fit: unset;
}
.single-post .single-hero-body {
  background: white; order: 1; width: 100%;
  padding: 28px var(--pad) 16px;
}

/* Mobile: imagem com margem + borda arredondada */
@media (max-width: 1023px) {
  .single-post .single-hero-img {
    margin: 0 var(--pad);
    width: calc(100% - 2 * var(--pad));
    border-radius: var(--r-lg);
  }
}

/* Desktop: imagem contida na coluna de 720px */
@media (min-width: 1024px) {
  .single-post .single-hero-img {
    max-width: 720px;
    width: calc(100% - 2 * var(--pad));
    border-radius: var(--r-lg);
    margin-bottom: 16px;
  }
  .single-post .single-hero-body {
    max-width: 720px;
    padding: 36px var(--pad) 16px;
  }
}
.single-post .single-title { color: var(--text); }
.single-post .single-byline { color: var(--soft); font-size: 13px; margin-top: 12px; }
.single-post .single-sep { color: var(--border); }
.single-post .single-chip-escola {
  background: var(--offwhite); color: var(--text);
  border: 1px solid var(--border);
}
.single-post .single-chip-cat { background: var(--orange); color: white; }

/* Subtítulo — abaixo do título, acima da data */
.single-subtitle {
  font-family: var(--font-body); font-size: 20px; font-weight: 400;
  color: var(--soft); line-height: 1.4; margin: 6px 0 0;
}

/* Desfile hero — cores da escola / thumbnail como background */
.desfile-hero { background-size: cover; background-position: center top; }
.single-hero-meta {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 8px; margin-bottom: 14px;
}
.single-hero-chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.single-hero-dateline {
  display: flex; align-items: center; gap: 6px; flex-shrink: 0;
  font-family: var(--font); font-size: 12px; color: var(--soft);
  white-space: nowrap;
}
.single-post .single-hero-dateline { color: var(--muted); }
.single-hero-dateline .single-sep { color: var(--border); }
.single-hero-dateline .single-read { display: flex; align-items: center; gap: 4px; }
.single-chip {
  font-family: var(--font); font-size: 11px; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 99px;
  display: inline-flex; align-items: center; gap: 4px;
}
.single-chip-escola {
  background: rgba(255,255,255,.2); color: white;
  backdrop-filter: blur(4px);
}
.single-chip-type {
  background: var(--orange); color: white;
  text-decoration: none;
}
.single-chip-type:hover { background: #d43f18; }
.single-chip-cat {
  background: rgba(255,255,255,.15); color: white;
  text-decoration: none; border: 1px solid rgba(255,255,255,.3);
}
.single-chip-cat:hover { background: rgba(255,255,255,.28); color: white; }
/* No fundo claro (single-post), chip é laranja — hover deve escurecer, não sumir */
.single-post .single-chip-cat:hover { background: #d43f18; color: white; }
.single-chip-status-open   { background: #dcfce7; color: #166534; }
.single-chip-status-closed { background: rgba(26,25,23,.7); color: #fff; }
.single-title {
  font-family: var(--font);
  font-size: clamp(22px,5vw,40px);
  font-weight: 900; line-height: 1.05;
  color: white; margin: 0 0 16px;
}
.single-hero-caption {
  font-size: 12px; color: var(--muted); font-style: italic;
  background: var(--offwhite); padding: 6px 14px;
  text-align: center; margin: 0; border-radius: 0 0 var(--r-lg) var(--r-lg);
}
.single-byline {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  color: rgba(255,255,255,.75); font-family: var(--font); font-size: 13px;
}
.single-sep { color: rgba(255,255,255,.4); }
.single-read { display: flex; align-items: center; gap: 4px; }

/* Layout conteúdo */
.single-layout {
  display: block;
  max-width: var(--max); margin: 0 auto;
  padding: 36px var(--pad) 48px;
}
/* Posts: coluna centralizada a 720px no desktop */
@media (min-width: 1024px) {
  .single-post .single-layout { max-width: 720px; }
}

/* "Mais da escola" — seção após o conteúdo */
.single-more-escola {
  background: var(--offwhite); border-top: 1px solid var(--border);
  padding: 36px var(--pad);
}
.single-more-escola .single-more-inner {
  max-width: 720px; margin: 0 auto;
}
@media (min-width: 1024px) {
  .single-more-escola { padding: 40px var(--pad); }
}

/* Conteúdo */
.single-content {
  max-width: 720px;
  font-family: var(--font-body); font-size: 17px; line-height: 1.7;
  color: var(--text);
}
.single-content p { margin-bottom: 1.4em; }
.single-content h2, .single-content h3 {
  font-family: var(--font); font-weight: 800; margin: 1.6em 0 .6em;
}
.single-content h2 { font-size: 22px; }
.single-content h3 { font-size: 18px; }
.single-content img { max-width: 100%; height: auto; border-radius: var(--r); margin: 8px 0; display: block; }
.single-content figure { margin: 16px 0; overflow: visible; }
.single-content figure img { margin: 0; border-radius: var(--r) var(--r) 0 0; }
/* Figura sem legenda: mantém border-radius completo na imagem */
.single-content figure:not(:has(figcaption)) img,
.single-content figure:not(:has(.wp-element-caption)) img { border-radius: var(--r); }
/* ── Galeria Gutenberg (.wp-block-gallery) ── */

/* Novo formato: has-nested-image-blocks (WP 6+) */
.single-content .wp-block-gallery.has-nested-image-blocks {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 28px 0;
  /* reset Gutenberg */
  flex-wrap: unset;
}
/* Colunas explícitas */
.single-content .wp-block-gallery.has-nested-image-blocks.columns-1 { grid-template-columns: 1fr; }
.single-content .wp-block-gallery.has-nested-image-blocks.columns-2 { grid-template-columns: repeat(2, 1fr); }
.single-content .wp-block-gallery.has-nested-image-blocks.columns-4 { grid-template-columns: repeat(4, 1fr); }

/* Formato legacy (blocks-gallery-grid / ul + li) */
.single-content .wp-block-gallery:not(.has-nested-image-blocks) { margin: 28px 0; }
.single-content .wp-block-gallery .blocks-gallery-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  list-style: none; padding: 0; margin: 0;
}

/* Item: cada figure/li recebe borda e sombra */
.single-content .wp-block-gallery .wp-block-image,
.single-content .wp-block-gallery .blocks-gallery-item {
  margin: 0 !important;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
  border: 1px solid var(--border);
  background: var(--offwhite);
}
.single-content .wp-block-gallery .wp-block-image figure,
.single-content .wp-block-gallery .blocks-gallery-item figure { margin: 0; }

/* Link wrapper (quando "Link to" ativo no editor) */
.single-content .wp-block-gallery .wp-block-image a,
.single-content .wp-block-gallery .blocks-gallery-item a {
  display: block; line-height: 0;
}

/* Imagens: aspect-ratio 4:3, cover, zoom-in */
.single-content .wp-block-gallery img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 0 !important; /* overflow:hidden no pai resolve */
  margin: 0 !important;
  cursor: zoom-in;
  transition: transform .25s ease, opacity .15s;
}
.single-content .wp-block-gallery .wp-block-image:hover img,
.single-content .wp-block-gallery .blocks-gallery-item:hover img {
  transform: scale(1.04);
  opacity: .9;
}

/* Legendas de imagem — figcaption (Gutenberg) e wp-caption (Classic Editor) */
.single-content figcaption,
.single-content .wp-element-caption,
.single-content .wp-caption-text {
  display: block !important;
  visibility: visible !important;
  font-family: var(--font);
  font-size: 12px;
  color: var(--soft);
  text-align: center;
  background: var(--offwhite);
  padding: 6px 12px 8px;
  border-radius: 0 0 8px 8px;
  margin-top: 0;
  font-style: italic;
  line-height: 1.4;
  font-style: italic;
}
.single-content .wp-caption {
  max-width: 100%;
}
.single-content .wp-caption img {
  display: block;
  width: 100%;
}
/* Caption da galeria (estilo diferente, menor e com fundo) */
.single-content .wp-block-gallery figcaption {
  font-family: var(--font); font-size: 11px; color: var(--muted);
  text-align: center; padding: 5px 8px;
  background: rgba(0,0,0,.04);
  font-style: normal;
}

/* Mobile: 1 coluna */
@media (max-width: 599px) {
  .single-content .wp-block-gallery.has-nested-image-blocks,
  .single-content .wp-block-gallery .blocks-gallery-grid {
    grid-template-columns: 1fr !important;
  }
}
/* Tablet: 2 colunas (a menos que seja 1 ou 4 colunas explícitas) */
@media (min-width: 600px) and (max-width: 900px) {
  .single-content .wp-block-gallery.has-nested-image-blocks:not(.columns-1):not(.columns-4),
  .single-content .wp-block-gallery:not(.has-nested-image-blocks) .blocks-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.single-content a { color: var(--orange); text-decoration: underline; text-underline-offset: 2px; }

/* Embeds de vídeo (YouTube, Vimeo) no conteúdo */
.single-content .wp-block-embed,
.entry-content .wp-block-embed {
  margin: 1em 0;
  max-width: 100%;
}
/* Reduz espaço quando o embed vem logo após um título */
.single-content h2 + .wp-block-embed,
.single-content h3 + .wp-block-embed,
.entry-content h2 + .wp-block-embed,
.entry-content h3 + .wp-block-embed {
  margin-top: 0.5em;
}
/* Vídeo: 16:9 forçado (YouTube, Vimeo) — exclui Instagram */
.single-content .wp-block-embed:not(.wp-block-embed-instagram) .wp-block-embed__wrapper,
.entry-content .wp-block-embed:not(.wp-block-embed-instagram) .wp-block-embed__wrapper {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--r-lg);
  overflow: hidden;
}
.single-content .wp-block-embed:not(.wp-block-embed-instagram) .wp-block-embed__wrapper iframe,
.entry-content .wp-block-embed:not(.wp-block-embed-instagram) .wp-block-embed__wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}
/* iframe inserido diretamente (editor clássico / shortcode) — exclui Instagram */
.single-content iframe:not([src*="instagram.com"]):not([class*="instagram"]),
.entry-content iframe:not([src*="instagram.com"]):not([class*="instagram"]) {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  border-radius: var(--r-lg);
  border: none;
  margin: 1em 0;
}
/* Instagram: sem aspect-ratio, sem max-height, sem overflow:hidden.
   IMPORTANTE: NÃO usar height:!important — CSS !important supera inline styles,
   e o embed.js define iframe.style.height via JS que deve prevalecer. */
.single-content .wp-block-embed-instagram iframe,
.entry-content .wp-block-embed-instagram iframe,
.single-content .instagram-media iframe,
.entry-content .instagram-media iframe,
.single-content iframe[src*="instagram.com"],
.entry-content iframe[src*="instagram.com"] {
  aspect-ratio: unset !important;
  max-height: none !important;
  overflow: visible !important;
  border-radius: 0 !important;
  margin: 0 !important;
}
/* ── Instagram embeds ── */
.single-content .wp-block-embed-instagram,
.entry-content .wp-block-embed-instagram {
  display: flex;
  justify-content: center;
}
.single-content .wp-block-embed-instagram .wp-block-embed__wrapper,
.entry-content .wp-block-embed-instagram .wp-block-embed__wrapper {
  position: static;
  aspect-ratio: unset;
  width: 100%;
  max-width: 540px;
  height: auto;
  max-height: none;
  overflow: visible;
  border-radius: 0;
}
/* Blockquote nativo do Instagram (antes do embed.js processar) */
.single-content blockquote.instagram-media,
.entry-content blockquote.instagram-media {
  border-left: none !important;
  font-style: normal !important;
  color: inherit !important;
  margin: 1.8em auto !important;
  max-width: 540px;
  width: 100% !important;
  min-width: unset !important;
}
/* iframe/wrapper gerado pelo embed.js do Instagram.
   Sem height:!important — CSS !important supera inline styles e quebraria o redimensionamento. */
.single-content .instagram-media,
.entry-content .instagram-media {
  margin: 1.8em auto !important;
  max-width: 540px !important;
  width: 100% !important;
  max-height: none !important;
  overflow: visible !important;
  border-radius: var(--r-lg) !important;
}
.single-content blockquote {
  border-left: 4px solid var(--orange); padding-left: 16px;
  margin: 1.4em 0; color: var(--soft); font-style: italic;
}

/* Rodapé do post */
.single-footer { margin-top: 40px; border-top: 1px solid var(--border); padding-top: 24px; }
.single-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.single-tag-pill {
  font-family: var(--font); font-size: 12px; font-weight: 700;
  padding: 5px 12px; border-radius: 99px;
  background: var(--offwhite); color: var(--soft);
  text-decoration: none; border: 1px solid var(--border);
  transition: background .15s, color .15s;
}
.single-tag-pill:hover { background: var(--border); color: var(--text); }
.single-share-row {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
.single-share-btn {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font); font-size: 13px; font-weight: 700;
  padding: 9px 18px; border-radius: 99px;
  background: var(--offwhite); border: 1px solid var(--border);
  color: var(--text); cursor: pointer; transition: background .15s;
  /* reset .post-share (círculo dos cards de feed) */
  width: auto; height: auto;
}
.single-share-btn:hover { background: var(--border); }

/* ── CTA inserido no conteúdo dos posts ── */
.cap-cta {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 20px; border-radius: 12px;
  margin: 28px 0; text-decoration: none;
}
.cap-cta-icon {
  font-size: 28px; color: white; flex-shrink: 0;
}
.cap-cta-titulo {
  flex: 1; font-weight: 700; font-size: 15px; color: white;
  font-family: var(--font);
}
.cap-cta-btn {
  background: rgba(255,255,255,.2); color: white;
  padding: 8px 16px; border-radius: 99px;
  font-size: 12px; font-weight: 800; text-decoration: none;
  white-space: nowrap; border: 1.5px solid rgba(255,255,255,.4);
  font-family: var(--font); transition: background .15s;
}
.cap-cta-btn:hover { background: rgba(255,255,255,.35); }
/* Override .single-content a color/underline inside CTAs */
.single-content .cap-cta .cap-cta-btn,
.entry-content .cap-cta .cap-cta-btn {
  color: white !important;
  text-decoration: none !important;
}

/* ── Share block — fim do post ── */
.share-block {
  margin: 32px 0 0; padding: 24px; background: var(--offwhite);
  border-radius: 16px; text-align: center;
}
.share-label {
  font-family: var(--font); font-size: 13px; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 14px;
}
.share-btns {
  display: flex; gap: 10px; justify-content: center; flex-wrap: wrap;
}
.share-btn {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 99px;
  font-family: var(--font); font-size: 13px; font-weight: 700;
  color: white; text-decoration: none;
  border: none; cursor: pointer; transition: opacity .15s;
}
.share-btn:hover { opacity: .85; }
.share-wa   { background: #25D366; }
.share-fb   { background: #1877F2; }
.share-x    { background: #000; }
.share-copy { background: var(--blue); }

/* ── Nav prev/next ── */
.single-nav-row {
  display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap;
}

/* ── Special hero img (samba/enredo) ── */
.special-hero-img {
  width: 100%; aspect-ratio: 16/9; overflow: hidden;
}
.special-hero-img img {
  width: 100%; height: 100%; display: block;
  object-fit: cover; object-position: center top;
}

/* ── Post type badge ── */
.post-img { position: relative; display: block; }
.post-type-badge {
  position: absolute; bottom: 10px; right: 10px;
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 9px;
  backdrop-filter: blur(8px);
  background: rgba(0,0,0,.45);
  pointer-events: none;
}
.post-type-badge .material-symbols-rounded {
  font-size: 24px; color: white;
  font-variation-settings: 'FILL' 1;
}
.post-enquete-open, .post-enquete-closed {
  font-size: 10px; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; padding: 2px 7px; border-radius: 99px;
  margin-left: 4px; white-space: nowrap; vertical-align: middle;
}
.post-enquete-open   { background: #dcfce7; color: #166534; }
.post-enquete-closed { background: var(--text); color: #fff; }

/* ── Lightbox ── */
.lightbox {
  position: fixed; inset: 0; z-index: 900;
  background: rgba(0,0,0,.92);
  display: none; align-items: center; justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox-img-wrap { max-width: 90vw; max-height: 90vh; }
.lightbox-img-wrap img {
  max-width: 100%; max-height: 90vh;
  object-fit: contain; border-radius: 4px; display: block;
}
.lightbox-close {
  position: absolute; top: 16px; right: 16px;
  color: white; background: rgba(255,255,255,.15);
  border-radius: 50%; width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border: none; cursor: pointer;
}
.lightbox-prev, .lightbox-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  color: white; background: rgba(255,255,255,.15);
  border-radius: 50%; width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border: none; cursor: pointer;
}
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }
.lightbox-caption {
  position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,.6); font-size: 13px; text-align: center;
  font-family: var(--font); white-space: nowrap; max-width: 80vw;
  overflow: hidden; text-overflow: ellipsis;
}

.single-nav-posts { display: flex; gap: 10px; }
.single-nav-btn {
  display: flex; align-items: center; gap: 6px;
  font-family: var(--font); font-size: 13px; font-weight: 700;
  padding: 9px 16px; border-radius: 99px;
  background: var(--offwhite); border: 1px solid var(--border);
  color: var(--text); text-decoration: none; transition: background .15s;
}
.single-nav-btn:hover { background: var(--border); }

/* Sidebar */
.single-sidebar { display: flex; flex-direction: column; gap: 32px; }
.sidebar-widget { }
.sidebar-widget-title {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font); font-size: 12px; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase; color: var(--text);
  margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--border);
}
.sidebar-widget-bar {
  width: 4px; height: 16px; border-radius: 2px;
}
[class*="p-up"] .sidebar-widget-bar  { background: #E63329; }
[class*="p-ps"] .sidebar-widget-bar  { background: #CC1E2A; }
[class*="p-mug"] .sidebar-widget-bar { background: #8B0000; }
[class*="p-ni"] .sidebar-widget-bar  { background: #009A3C; }
[class*="p-ma"] .sidebar-widget-bar  { background: #1A2C8B; }
[class*="p-se"] .sidebar-widget-bar  { background: #00539B; }
[class*="p-ju"] .sidebar-widget-bar  { background: #6B21A8; }
[class*="p-an"] .sidebar-widget-bar  { background: #166534; }
.sidebar-widget-bar { background: var(--orange); }
.sidebar-list { display: flex; flex-direction: column; gap: 0; }
.sidebar-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 0; border-bottom: 1px solid var(--border);
  text-decoration: none; color: var(--text); transition: opacity .15s;
}
.sidebar-item:hover { opacity: .75; }
.sidebar-item-img {
  flex-shrink: 0; width: 60px; height: 44px;
  border-radius: var(--r); background-size: cover; background-position: center;
}
.sidebar-item-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.sidebar-item-title {
  font-family: var(--font); font-size: 13px; font-weight: 700;
  line-height: 1.35; color: var(--text);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.sidebar-item-time { font-family: var(--font); font-size: 11px; color: var(--muted); }
.sidebar-item-rank { align-items: flex-start; }
.sidebar-rank {
  flex-shrink: 0; width: 24px; height: 24px;
  border-radius: 50%; background: var(--offwhite);
  font-family: var(--font); font-size: 12px; font-weight: 900; color: var(--soft);
  display: flex; align-items: center; justify-content: center; margin-top: 2px;
}

/* Relacionados */
.single-related { background: var(--offwhite); padding: 40px 0; }
.single-related-inner { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.related-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 16px; margin-top: 20px;
}
@media (min-width: 640px)  { .related-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .related-grid { grid-template-columns: repeat(3,1fr); } }

/* ════════════════════════════════════════════════════════════
   ARCHIVE / TAXONOMY HEADERS
════════════════════════════════════════════════════════════ */
.archive-header {
  background: var(--blue); padding: 48px 0 40px;
}
.archive-header-inner { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }

/* Ícone dentro do título do hero */
.archive-title-icon {
  font-size: 1em; vertical-align: middle;
  margin-right: 8px; opacity: .9;
  font-variation-settings: 'FILL' 1;
}
.archive-eyebrow {
  display: flex; align-items: center; gap: 6px;
  font-family: var(--font); font-size: 11px; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.6); margin-bottom: 10px;
}
.archive-title {
  font-family: var(--font); font-size: clamp(26px,4vw,40px);
  font-weight: 900; color: white; margin: 0 0 10px; line-height: 1.15;
}
.archive-title em { font-style: normal; color: var(--orange); }
.archive-desc {
  font-family: var(--font-body); font-size: 15px;
  color: rgba(255,255,255,.7); margin: 0 0 10px; line-height: 1.5;
}
.archive-count {
  font-family: var(--font); font-size: 13px; font-weight: 700;
  color: rgba(255,255,255,.5);
}
.archive-empty {
  grid-column: 1/-1; text-align: center;
  padding: 48px 0; color: var(--muted);
  font-family: var(--font); font-size: 15px;
}

/* Paginação */
.archive-pagination { padding: 32px var(--pad); display: flex; justify-content: center; }
.archive-pagination .page-numbers {
  display: flex; list-style: none; margin: 0; padding: 0; gap: 6px; flex-wrap: wrap;
}
.archive-pagination .page-numbers li {}
.archive-pagination .page-numbers a,
.archive-pagination .page-numbers span {
  display: flex; align-items: center; gap: 5px;
  font-family: var(--font); font-size: 13px; font-weight: 700;
  padding: 8px 14px; border-radius: 99px;
  background: var(--offwhite); border: 1px solid var(--border);
  color: var(--text); text-decoration: none; transition: background .15s;
}
.archive-pagination .page-numbers a:hover { background: var(--border); }
.archive-pagination .page-numbers .current {
  background: var(--orange); border-color: var(--orange); color: white;
}

/* ── Noticias filters ── */
.noticias-filters { background: var(--white); border-bottom: 1px solid var(--border); }
.noticias-filters-inner {
  max-width: var(--max); margin: 0 auto; padding: 0 var(--pad);
  display: flex; align-items: center; gap: 6px; overflow-x: auto;
  scrollbar-width: none; height: 48px;
}
.noticias-filters-inner::-webkit-scrollbar { display: none; }
.nf-pill {
  flex-shrink: 0;
  font-family: var(--font); font-size: 12px; font-weight: 700;
  padding: 6px 14px; border-radius: 99px;
  background: var(--offwhite); border: 1px solid var(--border);
  color: var(--soft); text-decoration: none; transition: all .15s;
  white-space: nowrap;
}
.nf-pill:hover { background: var(--border); color: var(--text); }
.nf-pill.active { background: var(--orange); border-color: var(--orange); color: white; }

/* ════════════════════════════════════════════════════════════
   MAIS ACESSADAS — header + ranking
════════════════════════════════════════════════════════════ */
.mais-acessadas-header {
  background: var(--blue);
  padding: 40px var(--pad) 36px;
}
.mais-acessadas-header-inner {
  max-width: var(--max); margin: 0 auto;
}
.mais-acessadas-header .archive-eyebrow {
  font-family: var(--font); font-size: 10px; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.5); margin-bottom: 8px;
  display: flex; align-items: center; gap: 6px;
}
.mais-acessadas-header h1 {
  font-family: var(--font); font-size: clamp(28px,4vw,40px);
  font-weight: 900; color: white; line-height: 1.1; margin-bottom: 6px;
}
.mais-acessadas-header p {
  font-size: 14px; color: rgba(255,255,255,.55);
}

.mais-acessadas-body {
  max-width: var(--max); margin: 0 auto;
  padding: 0 var(--pad) 48px;
}

/* Pills de filtro */
.rank-filters {
  display: flex; gap: 8px; flex-wrap: wrap;
  padding: 20px 0 16px;
}
.rank-filter-pill {
  padding: 7px 18px; border-radius: 99px;
  border: 1.5px solid var(--border); background: transparent;
  font-family: var(--font); font-size: 12px; font-weight: 700;
  letter-spacing: .05em; text-transform: uppercase; color: var(--soft);
  text-decoration: none; transition: all .15s; white-space: nowrap;
}
.rank-filter-pill:hover { border-color: var(--orange); color: var(--orange); }
.rank-filter-pill.active {
  background: var(--orange); color: white; border-color: var(--orange);
}

/* Lista de ranking */
.rank-list { display: flex; flex-direction: column; gap: 0; }

.rank-item {
  display: flex; align-items: center; gap: 16px;
  padding: 12px 10px; border-bottom: 1px solid var(--border);
  position: relative; border-radius: 8px;
  margin: 0 -10px; transition: background .15s;
}
.rank-item:hover { background: var(--offwhite); }
.rank-item:last-child { border-bottom: none; }

.rank-number {
  font-family: var(--font); font-size: 28px; font-weight: 900;
  color: var(--border); min-width: 40px; text-align: center;
  flex-shrink: 0; line-height: 1;
}
.rank-item:nth-child(1) .rank-number { color: #DAA520; font-size: 32px; }
.rank-item:nth-child(2) .rank-number { color: #9E9E9E; }
.rank-item:nth-child(3) .rank-number { color: #CD7F32; }

.rank-thumb {
  width: 120px; height: 90px; flex-shrink: 0;
  border-radius: 8px; overflow: hidden; background: var(--offwhite);
}
@media (min-width: 1024px) { .rank-thumb { width: 160px; height: 108px; } }
.rank-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rank-thumb a { display: block; height: 100%; }

.rank-body { flex: 1; min-width: 0; }
.rank-meta {
  font-family: var(--font); font-size: 10px; font-weight: 800;
  letter-spacing: .07em; text-transform: uppercase;
  color: var(--orange); margin-bottom: 4px;
}
.rank-title {
  font-family: var(--font); font-size: 15px; font-weight: 800;
  line-height: 1.25; color: var(--text); margin-bottom: 4px;
}
.rank-title a { text-decoration: none; color: inherit; }
.rank-title a:hover { color: var(--orange); }
.rank-info {
  font-size: 12px; color: var(--muted); font-family: var(--font);
}

.rank-medal { font-size: 22px; flex-shrink: 0; line-height: 1; }

/* Escola card no ranking */
.rank-escola-av {
  width: 56px; height: 56px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; background: var(--offwhite); text-decoration: none;
}
.rank-escola-av img { width: 100%; height: 100%; object-fit: contain; display: block; }
.rank-escola-initial {
  font-family: var(--font); font-size: 22px; font-weight: 900; color: white;
}
.rank-item-escola .rank-title { font-size: 16px; }
.rank-item-escola .rank-body { display: flex; flex-direction: column; justify-content: center; }

/* ════════════════════════════════════════════════════════════
   ESCOLAS PICKER — aba expansível dentro do header sticky
   Não usa position:fixed — expande dentro do .site-header
════════════════════════════════════════════════════════════ */
.escolas-picker {
  background: var(--white);
  border-top: 0 solid var(--orange);
  overflow: hidden;
  max-height: 0;
  transition: max-height .35s cubic-bezier(.22,1,.36,1),
              box-shadow  .35s, border-top-width 0s .35s;
}
.escolas-picker.open {
  max-height: 600px;
  border-top-width: 2px;
  transition: max-height .35s cubic-bezier(.22,1,.36,1), box-shadow .35s;
  box-shadow: 0 8px 24px rgba(0,0,0,.10);
}
/* Nunca aparece no mobile — bottom nav abre o drawer */
@media (max-width: 767px) {
  .escolas-picker { display: none !important; }
}

.escolas-picker-inner {
  max-width: var(--max); margin: 0 auto;
  padding: 16px var(--pad) 20px;
}

.ep-picker-group { margin-bottom: 16px; }
.ep-picker-group:last-child { margin-bottom: 0; }

.ep-picker-label {
  display: block;
  font-size: 11px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--muted);
  margin-bottom: 10px;
}
.ep-picker-row {
  display: flex; flex-wrap: wrap; gap: 4px;
}
/* Reutiliza .ep-escola-item do panel */

/* ════════════════════════════════════════════════════════════
   ESCOLAS PANEL — popup GE/SO estilo Globo Esporte
════════════════════════════════════════════════════════════ */
.ep-backdrop {
  position: fixed; inset: 0; z-index: 490;
  background: rgba(0,0,0,.45); backdrop-filter: blur(3px);
  opacity: 0; pointer-events: none;
  transition: opacity .25s;
}
.ep-backdrop.open { opacity: 1; pointer-events: all; }

.ep-panel {
  position: fixed; bottom: 0; left: 0; right: 0; top: auto;
  z-index: 491; max-height: 78vh;
  background: var(--white);
  box-shadow: 0 -4px 32px rgba(0,0,0,.18);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 16px 16px 0 0;
  transform: translateY(100%);
  transition: transform .3s cubic-bezier(.22,1,.36,1);
  padding-bottom: max(env(safe-area-inset-bottom, 0px), 16px);
  display: flex; flex-direction: column;
}
.ep-panel[aria-hidden="false"] { transform: translateY(0); }
/* Drag handle */
.ep-panel::before {
  content: '';
  display: block;
  width: 40px; height: 4px;
  background: var(--border);
  border-radius: 2px;
  margin: 12px auto 4px;
  flex-shrink: 0;
}
/* ep-panel só usado no mobile/tablet — oculto acima do breakpoint do bottom-nav */
@media (min-width: 1024px) {
  .ep-panel { display: none !important; }
  .ep-backdrop { display: none !important; }
}

.ep-panel-inner { max-width: var(--max); margin: 0 auto; flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; }

.ep-panel-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--pad); border-bottom: 1px solid var(--border);
  position: sticky; top: 0; background: var(--white); z-index: 1;
}
.ep-tabs { display: flex; gap: 0; }
.ep-tab {
  padding: 14px 20px; background: none; border: none;
  font-family: var(--font); font-size: 13px; font-weight: 800;
  letter-spacing: .05em; text-transform: uppercase;
  color: var(--muted); cursor: pointer;
  border-bottom: 3px solid transparent; transition: color .15s, border-color .15s;
}
.ep-tab.active { color: var(--orange); border-bottom-color: var(--orange); }
.ep-tab:hover { color: var(--text); }
.ep-close {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: none; border: none; cursor: pointer; color: var(--soft);
  flex-shrink: 0; transition: background .15s;
}
.ep-close:hover { background: var(--offwhite); }

.ep-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 4px; padding: 20px var(--pad) 28px;
}
@media (min-width: 640px) {
  .ep-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; }
}

.ep-escola-item {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 12px 8px; border-radius: var(--r);
  text-decoration: none; color: var(--text);
  transition: background .15s;
}
.ep-escola-item:hover { background: var(--offwhite); }
.ep-escola-logo {
  width: 56px; height: 56px; border-radius: 50%;
  overflow: hidden; background: var(--offwhite);
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--border);
  flex-shrink: 0;
}
.ep-escola-logo img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.ep-escola-initials {
  font-family: var(--font); font-size: 14px; font-weight: 900;
  color: white; text-align: center; line-height: 1;
}
.ep-escola-nome {
  font-family: var(--font); font-size: 11px; font-weight: 700;
  color: var(--text); text-align: center; line-height: 1.3;
}

/* Pill trigger (secondary nav) */
.sn-pill-escolas .ep-chevron { transition: transform .2s; }

/* ════════════════════════════════════════════════════════════
   ESCOLA LINK NO CARD — hover color
════════════════════════════════════════════════════════════ */
.post-escola-link { text-decoration: none; }
.post-escola-link:hover { color: var(--orange); }
.post-escola-link:hover .post-dot { background: var(--orange); }

/* ════════════════════════════════════════════════════════════
   SHARE BUTTON — evitar overflow no footer do card
════════════════════════════════════════════════════════════ */
.post-share { flex-shrink: 0; }

/* ════════════════════════════════════════════════════════════
   ENREDO / SAMBA — ficha técnica
════════════════════════════════════════════════════════════ */
.enredo-ficha {
  display: flex; flex-direction: column; gap: 0;
  border: 1px solid var(--border); border-radius: var(--r-lg);
  overflow: hidden; margin-bottom: 28px;
}
.enredo-ficha-item {
  display: flex; align-items: baseline; gap: 12px;
  padding: 12px 16px; border-bottom: 1px solid var(--border);
}
.enredo-ficha-item:last-child { border-bottom: none; }
.enredo-ficha-label {
  font-family: var(--font); font-size: 10px; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
  flex-shrink: 0; min-width: 110px;
}
.enredo-ficha-val {
  font-family: var(--font); font-size: 14px; font-weight: 700; color: var(--text);
}
.enredo-sinopse { margin-bottom: 28px; }
.enredo-sinopse-text {
  font-family: var(--font-body); font-size: 15px; line-height: 1.7;
  color: var(--soft);
}
.enredo-livro { margin-bottom: 28px; }

/* Feed-divider em pages de archive com padding correto */
.archive-page .feed-divider,
.mais-acessadas-page .feed-divider {
  margin: 0 var(--pad) 16px;
}
@media (min-width: 1024px) {
  .archive-page .feed-divider,
  .mais-acessadas-page .feed-divider {
    margin: 0 0 16px;
  }
}

/* Feed-zone em pages de archive com container correto */
.archive-page > .feed-zone,
.mais-acessadas-page > .feed-zone {
  max-width: var(--max);
  margin: 0 auto;
  padding: 20px var(--pad) 16px;
}

/* ════════════════════════════════════════════════════════════
   ESCOLA HERO
════════════════════════════════════════════════════════════ */
.escola-hero {
  background: var(--blue);
  position: relative; overflow: hidden;
}
.escola-hero-bar {
  height: 5px; width: 100%;
}
.escola-hero-inner {
  max-width: var(--max); margin: 0 auto;
  padding: 28px var(--pad) 32px;
  display: flex; align-items: flex-start; gap: 22px;
}

/* Logo/brasão */
.escola-hero-logo {
  flex-shrink: 0;
  width: 96px; height: 96px; border-radius: 50%;
  overflow: hidden; background: rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  border: 3px solid rgba(255,255,255,.25);
}
.escola-hero-logo img { width: 100%; height: 100%; object-fit: cover; }
.escola-hero-initials {
  font-family: var(--font); font-size: 24px; font-weight: 900;
  color: #fff; letter-spacing: .03em; text-transform: uppercase;
}

/* Texto */
.escola-hero-text { flex: 1; min-width: 0; }
.escola-hero-divisao {
  font-family: var(--font); font-size: 11px; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.55); margin-bottom: 6px;
}
.escola-hero-nome {
  font-family: var(--font);
  font-size: clamp(22px, 4vw, 38px);
  font-weight: 900; color: #fff;
  line-height: 1.1; margin: 0 0 16px;
}

/* Stats de estatísticas (texto simples, sem pill) */
.escola-hero-chips {
  display: flex; flex-wrap: wrap; gap: 16px 24px; margin-bottom: 18px;
}
.escola-chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font); font-size: 13px; font-weight: 600;
  color: rgba(255,255,255,.8);
  line-height: 1.3;
}
.escola-chip .material-symbols-rounded {
  font-size: 16px; opacity: .6;
  font-variation-settings: 'FILL' 1;
}
.escola-chip strong { color: #fff; font-weight: 800; }
.escola-chip--trophy { color: #FFD700; }
.escola-chip--trophy .material-symbols-rounded { opacity: 1; color: #FFD700; }
.escola-chip-anos { color: rgba(255,255,255,.5); font-size: 11px; }

/* Botões sociais */
.escola-hero-social {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.escola-social-btn {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font); font-size: 13px; font-weight: 700;
  color: #fff; text-decoration: none;
  padding: 7px 16px; border-radius: 99px;
  border: 1.5px solid rgba(255,255,255,.3);
  transition: background .15s, border-color .15s;
}
.escola-social-btn:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.5); }
.escola-social-btn--ig { }
.escola-social-btn--yt { }

@media (max-width: 500px) {
  .escola-hero-inner { flex-direction: column; align-items: center; text-align: center; }
  .escola-hero-chips { justify-content: center; }
  .escola-hero-social { justify-content: center; }
  .escola-hero-divisao { text-align: center; }
}

/* ════════════════════════════════════════════════════════════
   SAIBA MAIS — accordion nativo (<details>)
════════════════════════════════════════════════════════════ */
.escola-saiba-mais {
  background: var(--offwhite);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.escola-saiba-trigger {
  list-style: none; /* remove o triângulo nativo do <summary> */
  display: flex; align-items: center; gap: 10px;
  max-width: var(--max); margin: 0 auto;
  padding: 14px var(--pad);
  font-family: var(--font); font-size: 14px; font-weight: 700;
  color: var(--text); cursor: pointer; user-select: none;
  transition: color .15s;
}
.escola-saiba-trigger::-webkit-details-marker { display: none; }
.escola-saiba-trigger .material-symbols-rounded {
  font-size: 18px; color: var(--orange); flex-shrink: 0;
  font-variation-settings: 'FILL' 1;
}
.escola-saiba-trigger:hover { color: var(--orange); }
.escola-saiba-arrow {
  margin-left: auto; flex-shrink: 0; color: var(--muted);
  transition: transform .2s;
}
details[open] .escola-saiba-arrow { transform: rotate(180deg); }

.escola-saiba-body {
  border-top: 1px solid var(--border);
  background: #fff;
}
.escola-saiba-inner {
  max-width: var(--max); margin: 0 auto;
  padding: 28px var(--pad) 36px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
}
@media (max-width: 700px) {
  .escola-saiba-inner { grid-template-columns: 1fr; gap: 28px; }
}

/* Seções dentro do accordion */
.escola-ficha-section { display: flex; flex-direction: column; gap: 16px; }
.escola-ficha-title {
  font-family: var(--font); font-size: 16px; font-weight: 800;
  color: var(--text); margin: 0;
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.escola-ficha-title a { color: inherit; text-decoration: none; }
.escola-ficha-title a:hover { color: var(--orange); }
.escola-ficha-div-badge {
  font-size: 11px; font-weight: 700; letter-spacing: .05em;
  text-transform: uppercase; color: var(--muted);
  background: var(--offwhite); border: 1px solid var(--border);
  border-radius: 99px; padding: 3px 10px;
}

/* Definition list */
.escola-ficha-dl { display: flex; flex-direction: column; gap: 0; }
.escola-ficha-row {
  display: flex; gap: 12px; padding: 9px 0;
  border-bottom: 1px solid var(--border); font-family: var(--font);
  align-items: baseline;
}
.escola-ficha-row:last-child { border-bottom: none; }
.escola-ficha-row dt {
  width: 140px; flex-shrink: 0;
  font-size: 12px; font-weight: 700; color: var(--muted);
  text-transform: uppercase; letter-spacing: .04em;
}
.escola-ficha-row dd {
  flex: 1; font-size: 14px; font-weight: 600; color: var(--text); line-height: 1.4;
}
.escola-ficha-anos { color: var(--muted); font-size: 12px; font-weight: 500; margin-left: 4px; }

/* Color swatches */
.escola-ficha-cores { display: flex; align-items: center; gap: 6px; }
.escola-cor-swatch {
  display: inline-block; width: 20px; height: 20px;
  border-radius: 50%; border: 2px solid rgba(0,0,0,.08);
}

/* História */
.escola-historia { margin-top: 4px; }
.escola-historia-title {
  font-family: var(--font); font-size: 14px; font-weight: 800;
  color: var(--text); margin: 0 0 10px;
}
.escola-historia-text {
  font-size: 14px; line-height: 1.7; color: var(--soft);
}
.escola-historia-text p { margin-bottom: 10px; }
.escola-historia-text p:last-child { margin-bottom: 0; }

/* ════════════════════════════════════════════════════════════
   VÍDEOS
════════════════════════════════════════════════════════════ */
.video-zone { padding: var(--pad); max-width: var(--max); margin: 0 auto; }
.video-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (min-width: 640px)  { .video-grid { grid-template-columns: repeat(3,1fr); } }
@media (min-width: 1024px) { .video-grid { grid-template-columns: repeat(4,1fr); } }
.video-card {
  background: none; border: none; cursor: pointer; text-align: left;
  border-radius: var(--r-lg); overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
  background: var(--white); padding: 0;
  transition: transform .2s, box-shadow .2s;
}
.video-card:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,0,0,.1); }
.video-card-thumb {
  position: relative; aspect-ratio: 16/9;
  background-color: #111; background-size: cover; background-position: center;
}
.video-card-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.25);
  transition: background .2s;
}
.video-card:hover .video-card-overlay { background: rgba(0,0,0,.4); }
.video-card-play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(0,0,0,.6); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  padding-left: 3px; transition: transform .2s;
}
.video-card:hover .video-card-play { transform: translate(-50%,-50%) scale(1.1); }
.video-card-tipo {
  position: absolute; top: 8px; left: 8px;
  font-family: var(--font); font-size: 10px; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase;
  background: var(--orange); color: white;
  padding: 3px 8px; border-radius: 99px;
}
.video-card-body { padding: 10px 12px 14px; }
.video-card-title {
  font-family: var(--font); font-size: 13px; font-weight: 700;
  line-height: 1.35; color: var(--text); margin: 0 0 4px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.video-card-date { font-family: var(--font); font-size: 11px; color: var(--muted); }

/* Modal de vídeo */
.video-modal {
  position: fixed; inset: 0; z-index: 700;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity .3s;
}
.video-modal.open { opacity: 1; pointer-events: all; }
.video-modal-backdrop {
  position: absolute; inset: 0; background: rgba(0,0,0,.9);
}
.video-modal-inner {
  position: relative; z-index: 1;
  width: min(900px, 96vw);
  aspect-ratio: 16/9;
}
.video-modal-close {
  position: absolute; top: -44px; right: 0;
  color: white; background: none; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.15);
  transition: background .15s;
}
.video-modal-close:hover { background: rgba(255,255,255,.3); }
.video-modal-player { width: 100%; height: 100%; border-radius: var(--r); overflow: hidden; }
.video-modal-player iframe { width: 100%; height: 100%; display: block; }

/* ── Dark video archive page ── */
.video-page { background: #0d0d0d; min-height: 100vh; }

/* Seções internas da página de vídeos */
.vp-section { padding: 36px 0 24px; border-top: 1px solid rgba(255,255,255,.06); }
.vp-section:first-of-type { border-top: none; }
.vp-section--main { padding-top: 28px; padding-bottom: 0; }
.vp-section-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* Títulos de seção no fundo escuro */
.home-section-head--dark .home-section-title {
  color: #fff;
  font-size: 22px;
}
.home-section-head--dark .home-section-title .material-symbols-rounded { color: var(--orange); }
.home-section-head--dark .home-section-link { color: rgba(255,255,255,.5); }
.home-section-head--dark .home-section-link:hover { color: var(--orange); opacity: 1; }

/* Separador no título Podcast | Últimos episódios */
.vp-title-sep { color: rgba(255,255,255,.2); font-weight: 300; margin: 0 6px; }

/* Grid de podcast na página de vídeos — fundo escuro nos cards */
.vp-grid .video-card { background: #1a1a1a; }
.vp-grid .video-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,.4); }
.vp-grid .video-card-title { color: rgba(255,255,255,.88); }
.vp-grid .video-card-date { color: rgba(255,255,255,.38); }

/* Filtros dentro do vp-section — sem padding/border extras */
.vp-filters { background: transparent; border: none; padding: 0; margin-top: 12px; }
.vp-filters .noticias-filters-inner { padding: 0; max-width: none; }
/* Header azul, resto escuro */
.video-page .archive-header { background: var(--blue); }
.video-page .archive-header .archive-eyebrow { color: rgba(255,255,255,.7); }
.video-page .archive-header .archive-title { color: white; }
/* Back button no single vídeo (escuro) */
.single-video-page .single-nav-btn {
  background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.15);
  color: rgba(255,255,255,.6);
}
.single-video-page .single-nav-btn:hover { background: rgba(255,255,255,.15); color: white; }
.video-page .noticias-filters { background: #0d0d0d; border-bottom: 1px solid rgba(255,255,255,.07); }
.video-page .noticias-filters-inner { max-width: var(--max); margin: 0 auto; }
.video-page .nf-pill { color: rgba(255,255,255,.55); border-color: rgba(255,255,255,.15); background: transparent; }
.video-page .nf-pill.active { background: var(--orange); color: white; border-color: var(--orange); }
.video-page .nf-pill:hover { color: var(--orange); border-color: var(--orange); }
.video-page .video-zone { background: transparent; }
.video-page .video-card { background: #1a1a1a; }
.video-page .video-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,.4); }
.video-page .video-card-title { color: rgba(255,255,255,.88); }
.video-page .video-card-date { color: rgba(255,255,255,.38); }
.video-page .archive-empty { color: rgba(255,255,255,.4); }
.video-page .video-section-divider { max-width: var(--max); margin: 28px auto 0; padding: 0 var(--pad); }

/* ── Section titles ── */
.shorts-section { padding: 28px 0 0; }
.shorts-section-head {
  display: flex; align-items: center; gap: 10px;
  padding: 0 var(--pad) 14px; max-width: var(--max); margin: 0 auto;
}
.video-section-title {
  font-family: var(--font); font-size: 13px; font-weight: 900;
  text-transform: uppercase; letter-spacing: .07em; color: rgba(255,255,255,.88);
}
.video-section-title svg { opacity: .7; }

/* ── Shorts carousel wrapper ── */
.shorts-carousel-wrap {
  position: relative; max-width: var(--max); margin: 0 auto;
  padding: 0 var(--pad); display: flex; align-items: center; gap: 8px;
}
.shorts-nav {
  flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.2);
  color: white; display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background .15s; z-index: 2;
}
.shorts-nav .material-symbols-rounded { font-size: 20px; }
.shorts-nav:hover { background: rgba(255,255,255,.3); }
@media (max-width: 767px) { .shorts-nav { display: none; } }
/* Inside widget-inner, outer container already handles padding */
.widget-inner .shorts-carousel-wrap { max-width: none; margin: 0; padding: 0; }
/* Strip: always horizontal flex inside carousel wrap (overrides widget-zone grid) */
.shorts-carousel-wrap .shorts-strip {
  display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
  padding-bottom: 12px; flex: 1; min-width: 0;
}
.shorts-carousel-wrap .shorts-strip::-webkit-scrollbar { display: none; }
@media (min-width: 768px) {
  .shorts-carousel-wrap .shorts-strip { display: flex; overflow-x: auto; }
}
@media (min-width: 1024px) {
  .shorts-carousel-wrap .shorts-strip { grid-template-columns: none; }
}

.short-card {
  flex-shrink: 0; width: 112px; scroll-snap-align: start;
  border-radius: var(--r); overflow: hidden;
  text-decoration: none; display: block;
  background: #1a1a1a; transition: transform .2s;
}
@media (min-width: 640px) { .short-card { width: 130px; } }
.short-card:hover { transform: scale(1.03); }
.short-card-thumb {
  position: relative; aspect-ratio: 9/16;
  background: #222 center/cover no-repeat;
}
.short-card-play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(0,0,0,.55); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center; padding-left: 2px;
}
.short-card-title {
  padding: 7px 8px; font-family: var(--font); font-size: 11px; font-weight: 700;
  line-height: 1.3; color: rgba(255,255,255,.75);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* ── Podcast carousel ── */
.podcast-section { padding: 24px 0 0; }
.podcast-section-head {
  display: flex; align-items: center; gap: 10px;
  padding: 0 var(--pad) 14px; max-width: var(--max); margin: 0 auto;
}
.podcast-carousel-wrap {
  max-width: var(--max); margin: 0 auto;
  padding: 0 var(--pad); display: flex; align-items: center; gap: 8px;
}
.podcast-carousel {
  display: flex; gap: 14px; overflow-x: auto; scrollbar-width: none;
  padding-bottom: 4px; scroll-snap-type: x mandatory; flex: 1; min-width: 0;
}
.podcast-carousel::-webkit-scrollbar { display: none; }
.podcast-card {
  flex-shrink: 0; width: 260px; border-radius: 12px; overflow: hidden;
  text-decoration: none; display: block; background: #1a1a1a;
  scroll-snap-align: start; transition: transform .2s;
}
.podcast-card:hover { transform: translateY(-2px); }
@media (min-width: 640px) { .podcast-card { width: 300px; } }
.podcast-thumb {
  aspect-ratio: 16/9; overflow: hidden; position: relative; min-height: 160px;
  background: #222 center/cover no-repeat;
}
.podcast-play-overlay {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,.3);
}
.podcast-play-overlay .material-symbols-rounded { font-size: 40px; color: white; opacity: .85; }
.podcast-card-body { padding: 12px 14px; }
.podcast-card-type {
  font-size: 9px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  color: var(--orange); margin-bottom: 4px;
}
.podcast-card-title {
  font-family: var(--font); font-size: 13px; font-weight: 800;
  line-height: 1.3; color: rgba(255,255,255,.88);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.podcast-card-date { font-size: 11px; color: rgba(255,255,255,.35); margin-top: 6px; }

.video-section-divider {
  max-width: var(--max); margin: 28px auto 0; padding: 0 var(--pad);
  display: flex; align-items: center; gap: 12px;
}
.video-section-divider::after {
  content: ''; flex: 1; height: 1px; background: rgba(255,255,255,.08);
}

/* ── Single Video (dark redesign) ── */
.single-video-page { background: #0d0d0d; min-height: 100vh; padding-bottom: 0; }
.single-video-page .single-bar { display: none; }
.video-player-section { max-width: 860px; margin: 0 auto; padding: 24px var(--pad) 0; }
.video-player-wrap {
  aspect-ratio: 16/9; border-radius: 12px; overflow: hidden; background: #000;
}
.video-player-wrap iframe { width: 100%; height: 100%; display: block; border: none; }
.video-meta { max-width: 860px; margin: 0 auto; padding: 16px var(--pad); }
.video-type-badge {
  display: inline-block; font-size: 9px; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase; color: var(--orange); margin-bottom: 8px;
}
.video-title {
  font-family: var(--font); font-size: clamp(18px,4vw,28px); font-weight: 900;
  color: white; line-height: 1.2; margin-bottom: 8px;
}
.video-date { font-size: 12px; color: #555; margin-bottom: 16px; }
.video-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 0; }
.video-description {
  max-width: 860px; margin: 0 auto; padding: 0 var(--pad) 16px;
  color: #aaa; font-size: 15px; line-height: 1.6;
}
.video-more-section { background: #0d0d0d; margin-top: 0; padding: 24px var(--pad) 48px; border-top: 1px solid rgba(255,255,255,.06); }
.video-more-title {
  font-family: var(--font); font-size: 13px; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase; color: #888;
  margin: 0 auto 16px; max-width: 860px;
}
.video-more-grid {
  display: grid; grid-template-columns: repeat(2,1fr); gap: 12px;
  max-width: 860px; margin: 0 auto;
}
@media (min-width: 768px) { .video-more-grid { grid-template-columns: repeat(4,1fr); } }
.video-more-section .video-card { background: #1a1a1a; }
.video-more-section .video-card-title { color: rgba(255,255,255,.88); }
.video-more-section .video-card-date { color: rgba(255,255,255,.38); }
/* Share inline button (dark pages) */
.share-btn-inline {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 99px;
  font-family: var(--font); font-size: 13px; font-weight: 700;
  color: rgba(255,255,255,.7); background: rgba(255,255,255,.1);
  border: 1.5px solid rgba(255,255,255,.18); cursor: pointer;
  transition: background .15s, color .15s;
}
.share-btn-inline:hover { background: rgba(255,255,255,.2); color: white; }
/* Share block on dark pages */
.single-video-page .share-block {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1);
}
.single-video-page .share-label { color: rgba(255,255,255,.4); }

/* ════════════════════════════════════════════════════════════
   TROFÉU
════════════════════════════════════════════════════════════ */
.trofeu-zone { padding: var(--pad); max-width: var(--max); margin: 0 auto; }
.trofeu-grid {
  display: grid; grid-template-columns: 1fr; gap: 16px;
}
@media (min-width: 640px)  { .trofeu-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .trofeu-grid { grid-template-columns: repeat(3,1fr); } }
.trofeu-card {
  border-radius: var(--r-lg); overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
  background: var(--white); text-decoration: none; color: var(--text);
  display: flex; flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
.trofeu-card:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,0,0,.1); }
.trofeu-card-img {
  aspect-ratio: 16/9; background-size: cover; background-position: center;
  position: relative; background-color: var(--blue);
}
.trofeu-card-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.2); }
.trofeu-card-placeholder {
  display: flex; align-items: center; justify-content: center;
  color: white;
}
.trofeu-card-body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.trofeu-card-ano {
  font-family: var(--font); font-size: 11px; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase; color: var(--orange);
}
.trofeu-card-title {
  font-family: var(--font); font-size: 17px; font-weight: 800;
  color: var(--text); margin: 0; line-height: 1.25;
}
.trofeu-card-meta {
  display: flex; align-items: center; gap: 6px;
  font-family: var(--font); font-size: 12px; color: var(--muted);
}
.trofeu-card-sep { color: var(--border); }
.trofeu-card-cta {
  margin-top: auto; font-family: var(--font); font-size: 12px; font-weight: 800;
  color: var(--orange); letter-spacing: .04em;
}

/* ════════════════════════════════════════════════════════════
   SEARCH
════════════════════════════════════════════════════════════ */
.search-term-highlight { color: var(--orange); }
.search-empty {
  max-width: 480px; margin: 0 auto; padding: 64px var(--pad);
  text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.search-empty-icon { margin-bottom: 8px; }
.search-empty-msg {
  font-family: var(--font); font-size: 18px; font-weight: 700; color: var(--text); margin: 0;
}
.search-empty-sub { font-family: var(--font-body); font-size: 14px; color: var(--muted); margin: 0; }
.search-sugestoes { margin-top: 16px; width: 100%; }
.search-sug-label {
  font-family: var(--font); font-size: 11px; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
  margin-bottom: 10px; display: block;
}
.search-sug-pills { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.search-sug-pill {
  font-family: var(--font); font-size: 13px; font-weight: 700;
  padding: 7px 14px; border-radius: 99px;
  background: var(--offwhite); border: 1px solid var(--border);
  color: var(--soft); text-decoration: none; transition: all .15s;
}
.search-sug-pill:hover { background: var(--orange); border-color: var(--orange); color: white; }

/* Padding bottom para cápsula nav não sobrepor conteúdo */
@media (max-width: 1023px) {
  body { padding-bottom: 96px; }
}

/* ════════════════════════════════════════════════════════════
   EDIÇÃO CARNAVAL — archive + single
════════════════════════════════════════════════════════════ */
.edicao-archive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  padding: 0 var(--pad) 48px;
  max-width: var(--max); margin: 0 auto;
}
.edicao-archive-card {
  display: flex; flex-direction: column;
  border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
  text-decoration: none; color: var(--text);
  transition: transform .2s, box-shadow .2s;
}
.edicao-archive-card:hover { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(0,0,0,.10); }
.edicao-card-img {
  position: relative; padding-top: 56.25%;
  background: var(--blue) center/cover no-repeat;
}
.edicao-card-img-empty { background: var(--blue); }
.edicao-card-ano-bg {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Laca Text', 'Barlow Condensed', sans-serif;
  font-size: 48px; font-weight: 900; color: rgba(255,255,255,.15);
}
.edicao-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(0,0,0,.55));
}
.edicao-card-body {
  padding: 16px; background: var(--white); flex: 1;
  display: flex; flex-direction: column; gap: 6px;
}
.edicao-card-year {
  font-family: 'Laca Text', 'Barlow Condensed', sans-serif;
  font-size: 22px; font-weight: 900; color: var(--blue);
}
.edicao-card-camp {
  display: flex; align-items: center; gap: 6px;
  font-family: 'Laca Text', 'Barlow Condensed', sans-serif;
  font-size: 14px; font-weight: 700; color: var(--text);
}
.edicao-card-camp svg { color: var(--orange); flex-shrink: 0; }
.edicao-card-meta {
  display: flex; flex-wrap: wrap; gap: 4px 12px;
  font-size: 12px; color: var(--muted);
}

/* Corpo do single edicao_carnaval */
.edicao-body {
  max-width: var(--max);
  margin: 0 auto;
  padding: 32px var(--pad) 60px;
}

/* Resumo da edição (single) */
.edicao-resumo {
  display: flex; flex-wrap: wrap; gap: 8px 20px;
  background: var(--offwhite); border-radius: var(--r);
  padding: 16px 20px; margin-bottom: 28px;
}
.edicao-res-item { display: flex; flex-direction: column; gap: 2px; }
.edicao-res-label { font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing:.05em; color: var(--muted); }
.edicao-res-val { font-family: 'Laca Text', 'Barlow Condensed', sans-serif; font-size: 15px; font-weight: 700; color: var(--text); }

/* Seção / tabela de resultados */
.edicao-section { margin-bottom: 52px; }

.edicao-section-header {
  display: flex; align-items: baseline; gap: 12px;
  flex-wrap: wrap;
  padding-bottom: 14px;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--border);
}
.edicao-section-title {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Laca Text', 'Barlow Condensed', sans-serif;
  font-size: 24px; font-weight: 900; color: var(--text);
  margin: 0;
}
/* Dot colorido antes do título da seção — sem texto de sigla */
.edicao-section-dot {
  display: inline-block; width: 10px; height: 10px;
  border-radius: 50%; flex-shrink: 0;
}
.edicao-dot-ge { background: var(--blue); }
.edicao-dot-so { background: #c97f00; }
.edicao-dot-ga { background: var(--soft); }
/* data-line inline com o título */
.edicao-section-header .edicao-data-line {
  margin-bottom: 0;
  font-size: 13px;
}

.edicao-tabela-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--r); border: 1px solid var(--border); }
.edicao-tabela {
  width: 100%; border-collapse: collapse;
  font-family: 'Laca Text', 'Barlow Condensed', sans-serif;
  font-size: 13px;
}
.edicao-tabela th {
  background: var(--offwhite); text-align: left;
  padding: 8px 10px; font-size: 11px; font-weight: 800;
  text-transform: uppercase; letter-spacing:.04em; color: var(--muted);
  white-space: nowrap; border-bottom: 1px solid var(--border);
}
.edicao-tabela td {
  padding: 10px 10px; border-bottom: 1px solid var(--border);
  color: var(--text); vertical-align: middle;
}
.edicao-tabela tr:last-child td { border-bottom: none; }
.edicao-tabela tr:hover td { background: var(--offwhite); }
.edicao-col-pos { font-weight: 800; color: var(--muted); text-align: center; width: 36px; white-space: nowrap; }
.edicao-col-escola { width: 100%; }
.edicao-col-total { text-align: center; white-space: nowrap; font-weight: 800; }
.edicao-col-status { text-align: center; white-space: nowrap; }
.edicao-row-camp td { background: rgba(240,78,35,.06); }
.edicao-row-camp td:first-child { box-shadow: inset 3px 0 0 var(--orange) !important; }
.edicao-row-reb td { background: rgba(150,150,150,.04); }
.edicao-row-reb td:first-child { box-shadow: inset 3px 0 0 var(--muted) !important; }

/* Linha da escola na tabela (emblema + nome + enredo) */
.edicao-escola-link {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--text);
}
.edicao-escola-link:hover .edicao-escola-nome { color: var(--orange); }
.edicao-escola-av {
  flex-shrink: 0;
  width: 36px; height: 36px; border-radius: 50%;
  overflow: hidden; background: var(--border);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font); font-size: 11px; font-weight: 800; color: #fff;
}
.edicao-escola-av img { width: 100%; height: 100%; object-fit: cover; }
.edicao-escola-info { display: flex; flex-direction: column; gap: 2px; }
.edicao-escola-nome { font-size: 14px; font-weight: 800; color: var(--text); line-height: 1.2; }
.edicao-enredo-nome { font-size: 12px; font-weight: 500; color: var(--muted); line-height: 1.3; }

.edicao-badge {
  display: inline-block; padding: 2px 8px; border-radius: 99px;
  font-size: 10px; font-weight: 800; text-transform: uppercase;
}
.edicao-badge-campeao { background: rgba(240,78,35,.12); color: var(--orange); }
.edicao-badge-rebaixado { background: rgba(0,0,0,.08); color: var(--muted); }

/* ── Apuração de notas — nova estrutura de repeater ── */

/* Subtítulo interno */
.apr-sub-title {
  font-family: var(--font); font-size: 10px; font-weight: 900;
  letter-spacing: .10em; text-transform: uppercase; color: var(--muted);
  margin: 0 0 12px; padding: 0;
  display: flex; align-items: center; gap: 10px;
}
.apr-sub-title::after {
  content: ''; flex: 1; height: 1px; background: var(--border);
}
/* Caixas de classificação e notas — mesma aparência */
.apr-classificacao,
.apr-notas {
  background: var(--offwhite);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  padding: 20px;
  margin: 0;
}

/* Avatar menor para as tabelas de notas */
.edicao-escola-av-sm {
  width: 28px !important; height: 28px !important;
  font-size: 9px !important;
}
.edicao-escola-av-sm img { width: 28px !important; height: 28px !important; }

/* Barra lateral colorida por escola (box-shadow inset no primeiro td) */
.edicao-tabela tr.p-up  td:first-child { box-shadow: inset 3px 0 0 #E63329; }
.edicao-tabela tr.p-ps  td:first-child { box-shadow: inset 3px 0 0 #CC1E2A; }
.edicao-tabela tr.p-mug td:first-child { box-shadow: inset 3px 0 0 #8B0000; }
.edicao-tabela tr.p-ni  td:first-child { box-shadow: inset 3px 0 0 #009A3C; }
.edicao-tabela tr.p-ma  td:first-child { box-shadow: inset 3px 0 0 #1A2C8B; }
.edicao-tabela tr.p-se  td:first-child { box-shadow: inset 3px 0 0 #00539B; }
.edicao-tabela tr.p-ju  td:first-child { box-shadow: inset 3px 0 0 #6B21A8; }
.edicao-tabela tr.p-an  td:first-child { box-shadow: inset 3px 0 0 #166534; }

/* Nav label com logo */
.apr-nav-label { display: flex; align-items: center; }

/* Tabs */
.apr-tabs {
  display: flex; gap: 4px; margin-bottom: 0;
  border-bottom: 2px solid var(--border);
}
.apr-tab {
  font-family: var(--font); font-size: 13px; font-weight: 700;
  color: var(--muted); background: none; border: none;
  padding: 10px 18px; cursor: pointer;
  border-bottom: 2px solid transparent; margin-bottom: -2px;
  transition: color .15s;
}
.apr-tab:hover { color: var(--text); }
.apr-tab-active { color: var(--orange); border-bottom-color: var(--orange); }

/* Navegação por setas */
.apr-nav {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 0 10px;
}
.apr-nav-btn {
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--offwhite); border: 1px solid var(--border);
  cursor: pointer; color: var(--text);
  transition: background .12s;
}
.apr-nav-btn:hover { background: var(--border); }
.apr-nav-btn .material-symbols-rounded { font-size: 20px; }
.apr-nav-label {
  font-family: var(--font); font-size: 15px; font-weight: 800; color: var(--text);
  flex: 1;
}

/* Tabela de apuração */
.apr-tabela { font-size: 13px; }
.apr-col-j {
  text-align: center; width: 52px; white-space: nowrap;
  color: var(--text); font-weight: 600;
}
.apr-col-total { text-align: center; white-space: nowrap; font-weight: 800; width: 64px; }
.apr-quesito-nome { font-weight: 700; color: var(--text); }
.apr-escola-nome { color: var(--text); font-weight: 700; text-decoration: none; }
.apr-escola-nome:hover { color: var(--orange); }

/* Nota descartada — acinzentada */
.apr-descartada {
  color: var(--muted) !important; font-weight: 400;
  text-decoration: line-through;
  text-decoration-color: var(--border);
}

/* Linha de penalidade e total */
.apr-row-pen td { color: var(--soft); background: rgba(0,0,0,.02); }
.apr-row-total td { background: var(--offwhite); font-weight: 800; }
.apr-row-total .apr-col-total { color: var(--orange); font-size: 15px; }

/* Data da noite */
.edicao-data-line {
  font-family: var(--font); font-size: 12px; font-weight: 600;
  color: var(--muted); margin-bottom: 16px;
}

/* Mobile */
@media (max-width: 767px) {
  .apr-col-j { width: 40px; }
  .apr-col-total { width: 50px; }
  .apr-tab { font-size: 12px; padding: 8px 12px; }
}

/* ── Classificação + notas lado a lado no desktop ── */
.apr-body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: start;
}
@media (min-width: 960px) {
  .apr-body {
    grid-template-columns: 1fr 1fr;
  }
}

/* ── Ordem de desfiles — grid visual ── */
.edicao-ordem { margin-top: 8px; }

.edicao-ordem-dia {
  font-family: var(--font); font-size: 11px; font-weight: 900;
  text-transform: uppercase; letter-spacing: .08em; color: var(--muted);
  margin: 20px 0 12px;
  display: flex; align-items: center; gap: 10px;
}
.edicao-ordem-dia::after {
  content: ''; flex: 1; height: 1px; background: var(--border);
}

.edicao-ordem-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
@media (min-width: 600px) {
  .edicao-ordem-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
}
@media (min-width: 960px) {
  .edicao-ordem-grid { grid-template-columns: repeat(5, 1fr); gap: 12px; }
}

.edicao-ordem-card {
  position: relative;
  display: block;
  /* padding-bottom garante que position:absolute filhos sempre preencham 100%
     — mais confiável que aspect-ratio quando todos os filhos são absolutos.
     Proporção 9:8 → height = 8/9 × width = 88.89% */
  height: 0;
  padding-bottom: 88.89%;
  border-radius: var(--r-lg);
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  background: var(--border);
}
a.edicao-ordem-card:hover .edicao-ordem-card-img {
  transform: scale(1.04);
}
a.edicao-ordem-card:hover .edicao-ordem-card-info {
  background: linear-gradient(to top, rgba(0,0,0,.85) 0%, rgba(0,0,0,.4) 60%, transparent 100%);
}

/* background: foto */
.edicao-ordem-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center center;
  display: block;
  transition: transform .35s ease;
}

/* overlay escurecedor sobre foto */
.edicao-ordem-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top,
    rgba(0,0,0,.72) 0%,
    rgba(0,0,0,.18) 55%,
    rgba(0,0,0,.04) 100%);
}

/* background: gradiente de cores da escola */
.edicao-ordem-card-grad {
  position: absolute; inset: 0;
}

/* número de ordem — top-left */
.edicao-ordem-card-num {
  position: absolute; top: 10px; left: 10px;
  font-family: 'Laca Text','Barlow Condensed',sans-serif;
  font-weight: 900; font-size: 1.1rem; line-height: 1;
  color: #fff;
  background: rgba(0,0,0,.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-radius: 6px;
  padding: 3px 7px;
}

/* info — bottom overlay */
.edicao-ordem-card-info {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 32px 10px 10px;
  background: linear-gradient(to top,
    rgba(0,0,0,.78) 0%,
    rgba(0,0,0,.3) 60%,
    transparent 100%);
  transition: background .25s;
}
/* sobre gradiente de escola (sem foto), fundo sempre opaco */
.edicao-ordem-card:not(:has(.edicao-ordem-card-img)) .edicao-ordem-card-info {
  background: linear-gradient(to top,
    rgba(0,0,0,.6) 0%,
    rgba(0,0,0,.15) 70%,
    transparent 100%);
}

.edicao-ordem-card-escola {
  display: flex; align-items: center; gap: 5px;
  margin-bottom: 3px;
}
.edicao-ordem-card-emblema {
  width: 20px; height: 20px;
  border-radius: 50%; object-fit: cover;
  background: rgba(255,255,255,.2);
  flex-shrink: 0;
}
.edicao-ordem-card-nome {
  font-family: 'Laca Text','Barlow Condensed',sans-serif;
  font-weight: 800; font-size: .82rem;
  text-transform: uppercase; letter-spacing: .03em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.edicao-ordem-card-enredo {
  font-size: .85rem; line-height: 1.3;
  color: rgba(255,255,255,.85);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── Notícias relacionadas ── */
.edicao-noticias { margin-top: 52px; }
.edicao-noticias-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 600px) {
  .edicao-noticias-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .edicao-noticias-grid { grid-template-columns: repeat(3, 1fr); }
}
.edicao-noticia-card {
  background: var(--white); border-radius: var(--r-lg);
  border: 1px solid var(--border); overflow: hidden;
  display: flex; flex-direction: column;
  border-top: 3px solid var(--border);
  transition: box-shadow .15s;
}
.edicao-noticia-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.08); }
.edicao-noticia-card.p-up { border-top-color: #E63329; }
.edicao-noticia-card.p-ps { border-top-color: #CC1E2A; }
.edicao-noticia-card.p-mug { border-top-color: #8B0000; }
.edicao-noticia-card.p-ni { border-top-color: #009A3C; }
.edicao-noticia-card.p-ma { border-top-color: #1A2C8B; }
.edicao-noticia-card.p-se { border-top-color: #00539B; }
.edicao-noticia-card.p-ju { border-top-color: #6B21A8; }
.edicao-noticia-card.p-an { border-top-color: #166534; }
.edicao-noticia-card.p-cap { border-top-color: var(--orange); }
.edicao-noticia-thumb { display: block; aspect-ratio: 16/9; overflow: hidden; }
.edicao-noticia-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.edicao-noticia-card:hover .edicao-noticia-thumb img { transform: scale(1.04); }
.edicao-noticia-body { padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.edicao-noticia-cat {
  font-family: var(--font); font-size: 10px; font-weight: 800;
  text-transform: uppercase; letter-spacing: .08em; color: var(--orange);
}
.edicao-noticia-title {
  font-family: var(--font); font-size: 15px; font-weight: 800;
  color: var(--text); margin: 0; line-height: 1.35;
}
.edicao-noticia-title a { text-decoration: none; color: inherit; }
.edicao-noticia-title a:hover { color: var(--orange); }
.edicao-noticia-time { font-size: 12px; color: var(--muted); margin-top: 4px; }

/* ── Desfile escola single ── */
.desfile-notas { margin-bottom: 32px; }
.desfile-notas-table-wrap { overflow-x: auto; border-radius: var(--r); border: 1px solid var(--border); }
.desfile-notas-table { width: 100%; border-collapse: collapse; font-family: 'Laca Text', 'Barlow Condensed', sans-serif; font-size: 14px; }
.desfile-notas-table th, .desfile-notas-table td { padding: 11px 16px; border-bottom: 1px solid var(--border); text-align: left; }
.desfile-notas-table th { background: var(--offwhite); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing:.04em; color: var(--muted); }
.desfile-notas-table tr:last-child td { border-bottom: none; }
.desfile-notas-total td { background: var(--offwhite); }
.desfile-elenco { margin-bottom: 32px; }
.desfile-elenco-list { display: flex; flex-direction: column; gap: 0; }
.desfile-elenco-item { display: flex; align-items: baseline; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.desfile-elenco-item:last-child { border-bottom: none; }
.desfile-elenco-item dt { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing:.04em; color: var(--muted); min-width: 180px; flex-shrink: 0; }
.desfile-elenco-item dd { font-size: 15px; font-weight: 600; color: var(--text); margin: 0; }

/* ── Enredos list (edicao page) ── */
.edicao-enredos-list { display: flex; flex-direction: column; gap: 0; }
.edicao-enredo-item {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 12px; border-bottom: 1px solid var(--border);
  text-decoration: none; color: var(--text); border-radius: 8px;
  margin: 0 -12px; transition: background .15s; position: relative;
  overflow: hidden;
}
.edicao-enredo-item:last-child { border-bottom: none; }
.edicao-enredo-item:hover { background: var(--offwhite); }
.edicao-enredo-bar {
  width: 4px; flex-shrink: 0; align-self: stretch; border-radius: 2px;
  background: var(--orange);
}
.p-up .edicao-enredo-bar  { background: linear-gradient(180deg,#E63329,#FFD700); }
.p-ps .edicao-enredo-bar  { background: #CC1E2A; }
.p-mug .edicao-enredo-bar { background: linear-gradient(180deg,#8B0000,#DAA520); }
.p-ni .edicao-enredo-bar  { background: linear-gradient(180deg,#009A3C,#FFD700); }
.p-ma .edicao-enredo-bar  { background: linear-gradient(180deg,#1A2C8B,#C9171E); }
.p-se .edicao-enredo-bar  { background: linear-gradient(180deg,#00539B,#F7931E); }
.p-ju .edicao-enredo-bar  { background: linear-gradient(180deg,#6B21A8,#dddddd); }
.p-an .edicao-enredo-bar  { background: linear-gradient(180deg,#166534,#DC2626); }
.edicao-enredo-body { flex: 1; min-width: 0; }
.edicao-enredo-escola {
  display: block; font-size: 10px; font-weight: 800; letter-spacing: .07em;
  text-transform: uppercase; color: var(--orange); margin-bottom: 3px;
}
.edicao-enredo-title {
  font-size: 14px; font-weight: 700; line-height: 1.3; color: var(--text);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.edicao-enredo-arrow { color: var(--muted); flex-shrink: 0; }
.edicao-enredo-item:hover .edicao-enredo-arrow { color: var(--orange); }

/* ════════════════════════════════════════════════════════════
   TROFÉU SINGLE — vencedores, ações
════════════════════════════════════════════════════════════ */
.trofeu-actions {
  display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px;
}
.trofeu-action-btn {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font); font-size: 13px; font-weight: 700;
  padding: 10px 20px; border-radius: 99px;
  text-decoration: none; transition: background .15s, transform .15s;
}
.trofeu-action-ingr {
  background: var(--orange); color: white;
}
.trofeu-action-ingr:hover { background: #d43f18; transform: translateY(-1px); }
.trofeu-action-vot {
  background: var(--offwhite); border: 1px solid var(--border); color: var(--text);
}
.trofeu-action-vot:hover { background: var(--border); }

.trofeu-vencedores { margin-bottom: 32px; }
.trofeu-venc-title {
  font-family: var(--font); font-size: 16px; font-weight: 800;
  color: var(--text); margin: 0 0 16px;
  padding-bottom: 10px; border-bottom: 2px solid var(--orange);
  display: inline-block;
}
.trofeu-venc-list { display: flex; flex-direction: column; gap: 0; }
.trofeu-venc-item {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 16px 0; border-bottom: 1px solid var(--border);
}
.trofeu-venc-item:last-child { border-bottom: none; }
.trofeu-venc-info { flex: 1; min-width: 0; }
.trofeu-venc-cat {
  font-family: var(--font); font-size: 10px; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
  margin-bottom: 4px;
}
.trofeu-venc-escola {
  font-family: var(--font); font-size: 16px; font-weight: 800; color: var(--text);
  line-height: 1.2;
}
.trofeu-venc-escola-chip {
  display: inline-block; margin-top: 6px;
  font-family: var(--font); font-size: 11px; font-weight: 700;
  color: var(--soft); background: var(--offwhite);
  border: 1px solid var(--border); border-radius: 99px;
  padding: 2px 10px; white-space: nowrap;
}

/* ═══════════════════════════════════════════════════════════
   SINGLE DESFILE ESCOLA
   ═══════════════════════════════════════════════════════════ */

/* Hero chips (escola + ano) */
.hero-chips {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px;
}
.hero-chip {
  font-family: var(--font); font-size: 12px; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase;
  color: rgba(255,255,255,.9); background: rgba(0,0,0,.25);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 99px; padding: 4px 12px; white-space: nowrap;
}
.hero-chip-orange {
  background: rgba(240,78,35,.85); border-color: transparent; color: #fff;
}

/* Layout wrapper — centraliza o conteúdo abaixo do hero */
.single-wrap {
  max-width: var(--max); margin: 0 auto; padding: 28px var(--pad) 48px;
}
.single-main { max-width: 860px; }

/* ── Layout do desfile: main + sidebar ── */
.desfile-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
}
@media (min-width: 1024px) {
  .desfile-wrap { grid-template-columns: 1fr 300px; }
}

/* Hero do desfile — logo da escola + info */
.desfile-hero-top {
  display: flex; align-items: flex-start; gap: 20px;
}
.desfile-hero-logo {
  flex-shrink: 0;
  width: 72px; height: 72px;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(255,255,255,.15);
  border: 3px solid rgba(255,255,255,.4);
  display: flex; align-items: center; justify-content: center;
}
.desfile-hero-logo img {
  width: 100%; height: 100%; object-fit: cover;
}
.desfile-hero-meta { flex: 1; }

/* Seção interna (ficha técnica, enredo, notícias) */
.desfile-section {
  margin-bottom: 36px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}
.desfile-section:last-of-type { border-bottom: none; }
.desfile-section-head {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font); font-size: 13px; font-weight: 800;
  letter-spacing: .06em; text-transform: uppercase; color: var(--soft);
  margin-bottom: 18px;
}
.desfile-section-head .material-symbols-rounded { font-size: 18px; color: var(--orange); }

/* Sobre o enredo — texto editorial */
.desfile-enredo-text {
  font-family: var(--font-body); font-size: 16px; line-height: 1.7;
  color: var(--text);
}
.desfile-enredo-text p { margin: 0 0 1em; }

/* YouTube embed — aspect ratio 16:9 */
.desfile-yt-embed {
  position: relative; width: 100%; padding-bottom: 56.25%;
  background: #000; border-radius: var(--r); overflow: hidden;
}
.desfile-yt-embed iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
}

/* Ficha técnica — grid de campos */
.ficha-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}
@media (min-width: 600px) {
  .ficha-grid { grid-template-columns: repeat(3, 1fr); }
}
.ficha-item dt {
  font-family: var(--font); font-size: 10px; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
}
.ficha-item dd {
  font-family: var(--font); font-size: 15px; font-weight: 700;
  color: var(--text); margin: 2px 0 0;
}

/* Notas por quesito */
.notas-grid {
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px;
}
.nota-item {
  background: var(--offwhite); border-radius: 8px;
  padding: 8px 14px; min-width: 110px;
  border: 1px solid var(--border);
}
.nota-label {
  display: block;
  font-family: var(--font); font-size: 10px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; color: var(--muted);
  margin-bottom: 2px;
}
.nota-val {
  font-family: var(--font); font-size: 20px; font-weight: 900; color: var(--text);
}

/* Grid de posts relacionados dentro do desfile */
.desfile-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
@media (max-width: 767px) {
  .desfile-posts-grid { grid-template-columns: 1fr; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .desfile-posts-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── Apuração — linha de resultado ── */
.apr-result-row {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  background: var(--offwhite);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 14px 18px;
  margin-bottom: 18px;
}
.apr-result-badge {
  display: flex;
  align-items: center;
  gap: 6px;
}
.apr-result-icon {
  font-size: 28px;
  color: var(--muted);
}
.apr-pos-gold   .apr-result-icon { color: #c9a900; }
.apr-pos-silver .apr-result-icon { color: #888; }
.apr-pos-bronze .apr-result-icon { color: #a0622a; }

.apr-result-pos {
  font-family: 'Laca Text','Barlow Condensed',sans-serif;
  font-weight: 700; font-size: 1rem;
  color: var(--text);
  white-space: nowrap;
}
.apr-result-score,
.apr-result-pen {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.apr-score-label {
  font-size: .72rem; font-weight: 700;
  color: var(--soft); text-transform: uppercase; letter-spacing: .06em;
}
.apr-score-valor {
  font-family: 'Laca Text','Barlow Condensed',sans-serif;
  font-weight: 800; font-size: 1.5rem;
  color: var(--orange);
}
.apr-score-pen {
  font-size: .85rem; color: #c0392b; font-weight: 700;
}

.apr-table-wrap { overflow-x: auto; border-radius: var(--r); border: 1px solid var(--border); }
.apr-ver-completa { margin-top: 16px; }
.apr-table {
  width: 100%; border-collapse: collapse; font-size: .9rem;
}
.apr-table th {
  background: var(--text); color: #fff;
  font-family: 'Barlow Condensed', sans-serif; font-size: .75rem;
  font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  padding: 8px 12px; text-align: center; white-space: nowrap;
}
.apr-th-quesito { text-align: left; min-width: 160px; }
.apr-table tbody tr:nth-child(even) { background: rgba(0,0,0,.02); }
.apr-table tbody tr:hover { background: rgba(240,78,35,.04); }
.apr-td-quesito { padding: 9px 12px; font-weight: 600; color: var(--text); }
.apr-td-nota {
  padding: 9px 12px; text-align: center;
  font-variant-numeric: tabular-nums; color: var(--soft);
}
.apr-td-nota.is-desc {
  color: var(--muted); text-decoration: line-through;
  text-decoration-color: rgba(154,150,143,.6);
}
.apr-td-total {
  padding: 9px 12px; text-align: center;
  font-weight: 800; font-variant-numeric: tabular-nums;
  color: var(--orange); background: rgba(240,78,35,.04);
}
.apr-th-total { color: #F04E23 !important; background: rgba(240,78,35,.15) !important; }
.apr-note {
  margin: 10px 0 0; font-size: .75rem; color: var(--muted); font-style: italic;
}

/* ── Sidebar do desfile ── */
.desfile-sidebar {
  display: flex; flex-direction: column; gap: 16px;
}
@media (min-width: 1024px) {
  .desfile-sidebar { position: sticky; top: 80px; }
}

/* Botão "Ver logomarca" — glass pill sobre o hero
   Mobile : canto superior-direito
   Desktop: canto inferior-direito  */
.desfile-hero-logobtn {
  position: absolute;
  top: 16px; right: var(--pad);   /* mobile: topo */
  z-index: 2;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font); font-size: 13px; font-weight: 800;
  color: #fff; background: rgba(0,0,0,.5); backdrop-filter: blur(8px);
  border: 1.5px solid rgba(255,255,255,.45); border-radius: 99px;
  padding: 9px 18px; cursor: pointer;
  transition: background .15s, border-color .15s;
}
@media (min-width: 768px) {
  .desfile-hero-logobtn {
    top: auto;
    bottom: 22px;                  /* desktop: base do hero */
  }
}
.desfile-hero-logobtn:hover {
  background: rgba(0,0,0,.72);
  border-color: rgba(255,255,255,.7);
}
.desfile-hero-logobtn .material-symbols-rounded { font-size: 18px; }

/* Chips clicáveis no hero */
.hero-chip-link {
  text-decoration: none;
  cursor: pointer;
  transition: opacity .15s;
}
.hero-chip-link:hover { opacity: .8; }

/* Lightbox da logomarca */
.desfile-lightbox {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: center;
}
.desfile-lightbox[hidden] { display: none; }
.desfile-lightbox-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.85);
  cursor: pointer;
}
.desfile-lightbox-inner {
  position: relative; z-index: 1;
  max-width: 90vw; max-height: 90vh;
  display: flex; align-items: center; justify-content: center;
}
.desfile-lightbox-inner img {
  max-width: 100%; max-height: 85vh;
  object-fit: contain;
  border-radius: var(--r);
  box-shadow: 0 8px 40px rgba(0,0,0,.6);
}
.desfile-lightbox-close {
  position: absolute; top: -16px; right: -16px;
  width: 36px; height: 36px; border-radius: 50%;
  background: #fff; color: var(--text); border: none;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 18px; z-index: 2;
}
.desfile-lightbox-close .material-symbols-rounded { font-size: 18px; }

/* Botão sinopse */
.desfile-sinopse-btn-wrap { margin-top: 16px; }

/* Resultado inline na seção de apuração */
.desfile-result-inline {
  display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 24px;
}
.desfile-result-box {
  background: var(--offwhite); border: 1px solid var(--border);
  border-radius: var(--r); padding: 14px 22px; text-align: center;
  min-width: 110px;
}
.desfile-result-pos {
  font-family: var(--font); font-size: 40px; font-weight: 900;
  color: var(--text); line-height: 1;
}
.desfile-result-label {
  font-family: var(--font); font-size: 10px; font-weight: 700;
  letter-spacing: .07em; text-transform: uppercase; color: var(--muted);
  margin-top: 2px;
}
.desfile-result-nota {
  font-family: var(--font); font-size: 24px; font-weight: 800; color: var(--orange);
  line-height: 1;
}

/* Card da escola na sidebar */
.desfile-escola-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.desfile-sb-bandeira {
  width: 100%; aspect-ratio: 3/2; overflow: hidden;
  background: var(--offwhite);
}
.desfile-sb-bandeira img {
  width: 100%; height: 100%; object-fit: cover;
  display: block;
}
.desfile-escola-card .desfile-sb-nome,
.desfile-escola-card .desfile-sb-divisao,
.desfile-escola-card .desfile-sb-dl,
.desfile-escola-card .desfile-sb-link { padding-left: 18px; padding-right: 18px; }
.desfile-sb-nome {
  font-family: var(--font); font-size: 16px; font-weight: 800;
  color: var(--text); padding-top: 16px; margin-bottom: 2px; line-height: 1.2;
}
.desfile-sb-divisao {
  font-family: var(--font); font-size: 11px; font-weight: 700;
  letter-spacing: .05em; text-transform: uppercase;
  color: var(--muted); padding-bottom: 14px;
}
.desfile-sb-dl {
  display: flex; flex-direction: column; gap: 10px;
  padding-bottom: 14px;
  border-top: 1px solid var(--border);
  padding-top: 14px;
}
.desfile-sb-item dt {
  font-family: var(--font); font-size: 10px; font-weight: 800;
  letter-spacing: .07em; text-transform: uppercase; color: var(--muted);
}
.desfile-sb-item dd {
  font-family: var(--font); font-size: 14px; font-weight: 700;
  color: var(--text); margin: 2px 0 0;
}
.desfile-sb-link {
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--font); font-size: 13px; font-weight: 700;
  color: var(--orange); text-decoration: none;
  padding-top: 14px; padding-bottom: 16px;
  border-top: 1px solid var(--border);
}
.desfile-sb-link .material-symbols-rounded { font-size: 16px; }
.desfile-sb-link:hover { color: var(--text); }

/* Botão secundário (voltar à edição) */
.btn-secondary {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font); font-size: 14px; font-weight: 700;
  color: var(--soft); text-decoration: none;
  background: var(--offwhite); border: 1px solid var(--border);
  border-radius: 99px; padding: 8px 18px;
  transition: background .15s, color .15s;
}
.btn-secondary:hover { background: var(--border); color: var(--text); }

/* ═══════════════════════════════════════════════════════════
   CONTENT CTA (blocos editoriais de chamada)
   ═══════════════════════════════════════════════════════════ */
.content-cta { font-size: 17px; }
.content-cta a {
  font-size: 16px; color: white !important; text-decoration: none;
}
.content-cta .cta-btn,
.content-cta .cap-cta-btn {
  color: white; border-color: rgba(255,255,255,.5);
  font-size: 14px; padding: 8px 18px;
}
.content-cta .cta-btn:hover,
.content-cta .cap-cta-btn:hover {
  background: rgba(255,255,255,.15); color: white;
}

/* ═══════════════════════════════════════════════════════════
   LOAD MORE — archives, taxonomy, search, noticias
   ═══════════════════════════════════════════════════════════ */
.load-more-wrap {
  display: flex; justify-content: center;
  padding: 24px var(--pad) 40px;
}
.btn-load-more {
  font-family: var(--font); font-size: 14px; font-weight: 700;
  color: var(--text); background: var(--offwhite);
  border: 1.5px solid var(--border); border-radius: 99px;
  padding: 11px 36px; cursor: pointer;
  transition: background .15s, border-color .15s;
}
.btn-load-more:hover { background: var(--border); }
.btn-load-more:disabled { opacity: .5; cursor: default; }
/* Dark page variant */
.video-page .btn-load-more {
  background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.15);
  color: rgba(255,255,255,.75);
}
.video-page .btn-load-more:hover { background: rgba(255,255,255,.15); color: white; }

/* ═══════════════════════════════════════════════════════════
   CARD — escola links individuais + footer com tempo
   ═══════════════════════════════════════════════════════════ */
/* Linha de escolas: flex em vez de block+ellipsis, pois são links separados */
.post-escola-line {
  display: flex; align-items: center; flex-wrap: nowrap;
  gap: 0; overflow: hidden; max-width: 100%;
  font-family: var(--font); font-size: 11px; font-weight: 800;
  letter-spacing: .04em; text-transform: uppercase; color: var(--text);
}
.post-escola-link {
  color: var(--text); text-decoration: none; display: inline;
}
.post-escola-link:hover { color: var(--orange); }
.post-escola-sep { color: var(--muted); display: inline; }
.post-escola-more { color: var(--muted); font-weight: 600; display: inline; margin-left: 2px; }

/* Footer do card: tempo à esquerda, leitura secundário */
.post-foot-left {
  display: flex; align-items: center; gap: 5px;
}
/* post-time agora vive no footer */
.post-foot .post-time {
  font-family: var(--font); font-size: 11px; font-weight: 700;
  color: var(--soft); white-space: nowrap;
}
.post-read-sep {
  font-size: 10px; color: var(--border);
}
/* post-read é o tempo de leitura — menos destaque */
.post-foot .post-read {
  font-size: 11px; font-weight: 500; color: var(--muted);
  display: flex; align-items: center; gap: 4px;
}

/* ═══════════════════════════════════════════════════════════
   PAGE BLANK — template de página em branco
   ═══════════════════════════════════════════════════════════ */
.blank-page-body { background: var(--offwhite); padding: 40px 0 60px; }
.blank-page-inner {
  max-width: var(--max); margin: 0 auto; padding: 0 var(--pad);
  font-family: 'Laca Text', 'Barlow', sans-serif;
  font-size: 17px; line-height: 1.7; color: var(--text);
}
.blank-page-inner h2 { font-size: 22px; font-weight: 800; margin: 28px 0 10px; }
.blank-page-inner h3 { font-size: 18px; font-weight: 700; margin: 22px 0 8px; }
.blank-page-inner p  { margin-bottom: 16px; }
.blank-page-inner a  { color: var(--orange); text-decoration: underline; }
.blank-page-inner ul,
.blank-page-inner ol { padding-left: 20px; margin-bottom: 16px; }
.blank-page-inner li { margin-bottom: 6px; }

/* ═══════════════════════════════════════════════════════════
   PAGE CONTACT — formulário de contato
   ═══════════════════════════════════════════════════════════ */
.contact-page-body { background: var(--offwhite); padding: 40px 0 60px; }
.contact-page-inner {
  max-width: 680px; margin: 0 auto; padding: 0 var(--pad);
}

/* Alertas */
.contact-success,
.contact-error {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 16px 18px; border-radius: var(--r-lg); margin-bottom: 24px;
  font-family: var(--font); font-size: 14px;
}
.contact-success {
  background: #f0fdf4; color: #166534;
}
.contact-success .material-symbols-rounded { color: #16a34a; font-size: 22px; flex-shrink: 0; }
.contact-success strong { display: block; font-size: 16px; font-weight: 800; margin-bottom: 2px; }
.contact-success p { margin: 0; color: #166534; opacity: .85; }
.contact-error {
  background: #fef2f2; color: #991b1b;
}
.contact-error .material-symbols-rounded { color: #dc2626; font-size: 22px; flex-shrink: 0; }

/* Formulário */
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.cf-row { display: grid; gap: 16px; }
.cf-row--2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 600px) { .cf-row--2 { grid-template-columns: 1fr; } }
.cf-field { display: flex; flex-direction: column; gap: 6px; }
.cf-label {
  font-family: var(--font); font-size: 13px; font-weight: 700;
  color: var(--text); letter-spacing: .02em;
}
.cf-required { color: var(--orange); }
.cf-input {
  font-family: 'Laca Text', 'Barlow', sans-serif; font-size: 15px;
  color: var(--text); background: #fff;
  border: 1.5px solid var(--border); border-radius: var(--r);
  padding: 10px 14px; width: 100%;
  transition: border-color .15s, box-shadow .15s;
  outline: none;
}
.cf-input:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(240,78,35,.1);
}
.cf-textarea { resize: vertical; min-height: 130px; }
.cf-submit {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font); font-size: 15px; font-weight: 800;
  color: #fff; background: var(--orange);
  border: none; border-radius: var(--r-lg);
  padding: 13px 28px; cursor: pointer;
  transition: background .15s; align-self: flex-start;
}
.cf-submit:hover { background: #d4421e; }
.cf-submit .material-symbols-rounded { font-size: 18px; }
