/*
Theme Name: Geek Forge (Taverna GM)
Theme URI: https://tavernagm.com
Author: Taverna GM
Author URI: https://tavernagm.com
Description: Tema WordPress nativo do portal Taverna GM (games, cinema, TV & streaming, música e cultura geek), convertido a partir do projeto original desenvolvido no Lovable. Conversão fiel ao design original: mesma paleta, tipografia, espaçamentos, componentes, animações e responsividade.
Version: 1.1.1
Requires at least: 6.4
Requires PHP: 7.4
Tested up to: 6.7
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: geek-forge
Tags: news, blog, entertainment, dark-mode, custom-logo, custom-menu, featured-images, translation-ready

Este arquivo consolida a folha de estilos inteira do tema. Os design tokens
(cores oklch, raios, fontes) são uma portabilidade 1:1 dos tokens definidos em
src/styles.css do projeto Lovable original (Tailwind v4 "@theme inline").
As classes utilitárias (.kicker, .section-title, .card-hover, .img-zoom,
.reveal, .no-scrollbar) também são uma portabilidade direta das @utility do
arquivo original. O restante das regras reproduz, com CSS estático, o
resultado visual exato das classes utilitárias do Tailwind usadas em cada
componente React original (ver PORTING-NOTES.md para o mapeamento completo).
*/

/* =========================================================================
   1. RESET & BASE
   ========================================================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
  border-color: var(--color-border);
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background-color: var(--color-background);
  color: var(--color-foreground);
  font-family: var(--font-sans);
  transition:
    background-color 0.35s ease,
    color 0.35s ease;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
  text-align: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
}

p {
  margin: 0;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  letter-spacing: 0.005em;
  font-weight: 400;
}

::selection {
  background-color: var(--color-brand);
  color: var(--color-brand-foreground);
}

/* =========================================================================
   2. DESIGN TOKENS (portados de src/styles.css)
   ========================================================================= */

:root {
  --radius: 0.35rem;
  --radius-sm: calc(var(--radius) - 4px);
  --radius-md: calc(var(--radius) - 2px);
  --radius-lg: var(--radius);
  --radius-xl: calc(var(--radius) + 4px);
  --radius-2xl: calc(var(--radius) + 8px);
  --radius-3xl: calc(var(--radius) + 12px);
  --radius-4xl: calc(var(--radius) + 16px);

  --font-display: "Anton", "Arial Narrow", sans-serif;
  --font-sans: "Barlow", system-ui, sans-serif;

  --background: oklch(0.985 0.002 250);
  --foreground: oklch(0.16 0.012 260);
  --surface: oklch(1 0 0);
  --surface-2: oklch(0.955 0.004 250);
  --card: oklch(1 0 0);
  --card-foreground: oklch(0.16 0.012 260);
  --popover: oklch(1 0 0);
  --popover-foreground: oklch(0.16 0.012 260);
  --primary: oklch(0.16 0.012 260);
  --primary-foreground: oklch(0.99 0 0);
  --brand: #053a63;
  --brand-foreground: #ffffff;
  --cyan: oklch(0.72 0.13 213);
  --secondary: oklch(0.945 0.004 250);
  --secondary-foreground: oklch(0.2 0.012 260);
  --muted: oklch(0.955 0.004 250);
  --muted-foreground: oklch(0.47 0.012 260);
  --accent: oklch(0.94 0.01 250);
  --accent-foreground: oklch(0.18 0.012 260);
  --destructive: oklch(0.55 0.21 27);
  --destructive-foreground: oklch(0.99 0 0);
  --border: oklch(0.9 0.006 255);
  --input: oklch(0.9 0.006 255);
  --ring: #053a63;
  --sidebar: oklch(1 0 0);
  --sidebar-foreground: oklch(0.16 0.012 260);
  --sidebar-primary: #053a63;
  --sidebar-primary-foreground: oklch(0.99 0 0);
  --sidebar-accent: oklch(0.95 0.004 250);
  --sidebar-accent-foreground: oklch(0.18 0.012 260);
  --sidebar-border: oklch(0.9 0.006 255);
  --sidebar-ring: #053a63;

  /* aliases (equivalentes às classes utilitárias bg-*, text-*, border-* do Tailwind) */
  --color-background: var(--background);
  --color-foreground: var(--foreground);
  --color-card: var(--card);
  --color-card-foreground: var(--card-foreground);
  --color-popover: var(--popover);
  --color-popover-foreground: var(--popover-foreground);
  --color-primary: var(--primary);
  --color-primary-foreground: var(--primary-foreground);
  --color-secondary: var(--secondary);
  --color-secondary-foreground: var(--secondary-foreground);
  --color-muted: var(--muted);
  --color-muted-foreground: var(--muted-foreground);
  --color-accent: var(--accent);
  --color-accent-foreground: var(--accent-foreground);
  --color-destructive: var(--destructive);
  --color-destructive-foreground: var(--destructive-foreground);
  --color-border: var(--border);
  --color-input: var(--input);
  --color-ring: var(--ring);
  --color-brand: var(--brand);
  --color-brand-foreground: var(--brand-foreground);
  --color-cyan: var(--cyan);
  --color-surface: var(--surface);
  --color-surface-2: var(--surface-2);
}

html.dark {
  --background: oklch(0.15 0.012 265);
  --foreground: oklch(0.97 0.003 250);
  --surface: oklch(0.19 0.014 265);
  --surface-2: oklch(0.23 0.016 265);
  --card: oklch(0.19 0.014 265);
  --card-foreground: oklch(0.97 0.003 250);
  --popover: oklch(0.19 0.014 265);
  --popover-foreground: oklch(0.97 0.003 250);
  --primary: oklch(0.97 0.003 250);
  --primary-foreground: oklch(0.16 0.012 265);
  --brand: #fbc802;
  --brand-foreground: #16130a;
  --cyan: oklch(0.78 0.13 213);
  --secondary: oklch(0.25 0.016 265);
  --secondary-foreground: oklch(0.97 0.003 250);
  --muted: oklch(0.25 0.016 265);
  --muted-foreground: oklch(0.72 0.012 260);
  --accent: oklch(0.27 0.018 265);
  --accent-foreground: oklch(0.97 0.003 250);
  --destructive: oklch(0.62 0.2 27);
  --destructive-foreground: oklch(0.99 0 0);
  --border: oklch(1 0 0 / 12%);
  --input: oklch(1 0 0 / 16%);
  --ring: #fbc802;
  --sidebar: oklch(0.17 0.013 265);
  --sidebar-foreground: oklch(0.97 0.003 250);
  --sidebar-primary: #fbc802;
  --sidebar-primary-foreground: oklch(0.99 0 0);
  --sidebar-accent: oklch(0.25 0.016 265);
  --sidebar-accent-foreground: oklch(0.97 0.003 250);
  --sidebar-border: oklch(1 0 0 / 12%);
  --sidebar-ring: #fbc802;
}

/* =========================================================================
   3. UTILITÁRIOS (portados das @utility do arquivo original)
   ========================================================================= */

.kicker {
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.68rem;
}

.section-title {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 0.95;
}

.card-hover {
  transition:
    transform 0.35s cubic-bezier(0.2, 0.7, 0.3, 1),
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}
.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -24px color-mix(in oklab, var(--foreground) 55%, transparent);
  border-color: color-mix(in oklab, var(--brand) 55%, transparent);
}

.img-zoom {
  transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.group:hover .img-zoom {
  transform: scale(1.06);
}

.reveal {
  animation: reveal-up 0.6s cubic-bezier(0.2, 0.7, 0.3, 1) both;
}

@keyframes reveal-up {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.no-scrollbar {
  scrollbar-width: none;
}
.no-scrollbar::-webkit-scrollbar {
  display: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* =========================================================================
   4. LAYOUT GERAL / CONTAINER
   ========================================================================= */

.tgm-container {
  width: 100%;
  max-width: 72rem; /* max-w-6xl */
  margin-inline: auto;
  padding-inline: 1rem;
}

.tgm-site {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}

.tgm-main {
  flex: 1 1 auto;
}

/* =========================================================================
   5. HEADER
   ========================================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--color-border);
  background-color: color-mix(in oklab, var(--color-background) 95%, transparent);
}
@supports (backdrop-filter: blur(1px)) {
  .site-header {
    background-color: color-mix(in oklab, var(--color-background) 80%, transparent);
    backdrop-filter: blur(10px);
  }
}

.site-header__top {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.75rem;
  padding-block: 0.75rem;
}

.site-header__icon-btn {
  display: grid;
  height: 2.5rem;
  width: 2.5rem;
  flex-shrink: 0;
  place-items: center;
  border: 1px solid var(--color-border);
  transition: background-color 0.2s ease;
  background: transparent;
  color: var(--color-foreground);
}
.site-header__icon-btn:hover {
  background-color: var(--color-accent);
}
.site-header__icon-btn svg {
  height: 1.25rem;
  width: 1.25rem;
}

.site-header__logo-wrap {
  display: flex;
  min-width: 0;
  justify-content: center;
}

.site-header__actions {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 0.5rem;
}

.theme-toggle {
  position: relative;
  overflow: hidden;
}
.theme-toggle .icon-sun,
.theme-toggle .icon-moon {
  position: absolute;
  height: 1.25rem;
  width: 1.25rem;
  transition: transform 0.5s ease, opacity 0.5s ease;
}
.theme-toggle .icon-sun {
  transform: translateY(0) rotate(0deg);
  opacity: 1;
}
.theme-toggle .icon-moon {
  transform: translateY(-2rem) rotate(-90deg);
  opacity: 0;
}
html.dark .theme-toggle .icon-sun {
  transform: translateY(2rem) rotate(90deg);
  opacity: 0;
}
html.dark .theme-toggle .icon-moon {
  transform: translateY(0) rotate(0deg);
  opacity: 1;
}

.site-logo {
  display: inline-block;
}
.site-logo img {
  height: 2.75rem; /* h-11 */
  width: auto;
  object-fit: contain;
}
html.dark .site-logo img {
  filter: invert(1) brightness(1.25);
}
.site-logo--footer img {
  height: 4rem; /* h-16 */
}
.site-logo__text {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 1.5rem;
  line-height: 1;
  letter-spacing: 0.01em;
  color: var(--color-foreground);
  white-space: nowrap;
}

.site-nav-primary {
  display: none;
  border-top: 1px solid var(--color-border);
  background-color: color-mix(in oklab, var(--color-surface-2) 70%, transparent);
}
@media (min-width: 768px) {
  .site-nav-primary {
    display: block;
  }
}
.site-nav-primary__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
}
.site-nav-primary__item {
  display: flex;
  align-items: center;
}
.site-nav-primary__sep {
  padding-inline: 0.25rem;
  color: var(--color-border);
}
.site-nav-primary a {
  white-space: nowrap;
  padding: 0.75rem;
  transition: color 0.2s ease;
}
.site-nav-primary a:hover,
.site-nav-primary a.is-active {
  color: var(--color-brand);
}

.site-nav-mobile {
  border-top: 1px solid var(--color-border);
  background-color: color-mix(in oklab, var(--color-surface-2) 70%, transparent);
}
@media (min-width: 768px) {
  .site-nav-mobile {
    display: none;
  }
}
.site-nav-mobile__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.25rem;
  padding-inline: 0.75rem;
}
.site-nav-mobile a {
  white-space: nowrap;
  padding: 0.625rem 0.375rem;
  font-size: 0.62rem;
  transition: color 0.2s ease;
}
.site-nav-mobile a:hover,
.site-nav-mobile a.is-active {
  color: var(--color-brand);
}

/* ---- Drawer (menu hamburger) ---- */

.tgm-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  background-color: rgba(0, 0, 0, 0.8);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.tgm-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.tgm-drawer {
  position: fixed;
  z-index: 50;
  inset-block: 0;
  left: 0;
  height: 100%;
  width: 300px;
  max-width: 85vw;
  background-color: var(--color-background);
  border-right: 1px solid var(--color-border);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}
.tgm-drawer.is-open {
  transform: translateX(0);
}
.tgm-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--color-border);
  padding: 1rem;
}
.tgm-drawer__title {
  font-size: 1.25rem;
}
.tgm-drawer__close {
  display: grid;
  place-items: center;
  height: 2rem;
  width: 2rem;
  border-radius: var(--radius-sm);
  opacity: 0.7;
  transition: opacity 0.2s ease, background-color 0.2s ease;
}
.tgm-drawer__close:hover {
  opacity: 1;
  background-color: var(--color-secondary);
}
.tgm-drawer__nav {
  display: flex;
  flex-direction: column;
  padding: 0.5rem;
  overflow-y: auto;
}
.tgm-drawer__nav a {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  border-bottom: 1px solid color-mix(in oklab, var(--color-border) 60%, transparent);
  padding: 0.75rem;
  font-size: 1.25rem;
  transition: color 0.2s ease;
}
.tgm-drawer__nav a:hover {
  color: var(--color-brand);
}

/* ---- Search dialog ---- */

.tgm-search-dialog {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 50;
  width: calc(100% - 2rem);
  max-width: 36rem; /* max-w-xl */
  transform: translate(-50%, -50%) scale(0.95);
  background-color: var(--color-background);
  border: 1px solid var(--color-border);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}
@media (min-width: 640px) {
  .tgm-search-dialog {
    border-radius: var(--radius-lg);
  }
}
.tgm-search-dialog.is-open {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}
.tgm-search-dialog__close {
  position: absolute;
  right: 1rem;
  top: 1rem;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}
.tgm-search-dialog__close:hover {
  opacity: 1;
}
.tgm-search-dialog__close svg {
  height: 1rem;
  width: 1rem;
}
.tgm-search-dialog__field {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 1px solid var(--color-border);
  padding: 0.75rem 1rem;
}
.tgm-search-dialog__field svg {
  height: 1.25rem;
  width: 1.25rem;
  flex-shrink: 0;
  color: var(--color-muted-foreground);
}
.tgm-search-dialog__input {
  width: 100%;
  background: transparent;
  border: 0;
  font-size: 1rem;
  outline: none;
  padding-right: 1.5rem;
}
.tgm-search-dialog__input::placeholder {
  color: var(--color-muted-foreground);
}
.tgm-search-dialog__results {
  max-height: 60vh;
  overflow-y: auto;
  padding: 0.5rem;
}
.tgm-search-dialog__empty {
  padding: 1.5rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--color-muted-foreground);
}
.tgm-search-result {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem;
  text-align: left;
  transition: background-color 0.2s ease;
}
.tgm-search-result:hover {
  background-color: var(--color-accent);
}
.tgm-search-result img {
  height: 3.5rem;
  width: 5rem;
  flex-shrink: 0;
  object-fit: cover;
}
.tgm-search-result__meta {
  min-width: 0;
}
.tgm-search-result__title {
  margin-top: 0.25rem;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.875rem;
  font-weight: 600;
}

body.tgm-lock-scroll {
  overflow: hidden;
}

/* =========================================================================
   6. FOOTER
   ========================================================================= */

.site-footer {
  margin-top: 4rem;
  border-top: 1px solid var(--color-border);
  background-color: var(--color-surface);
}
.site-footer__grid {
  display: grid;
  gap: 2.5rem;
  padding-block: 3rem;
}
@media (min-width: 768px) {
  .site-footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}
.site-footer__about p {
  margin-top: 1rem;
  max-width: 24rem;
  font-size: 0.875rem;
  line-height: 1.625;
  color: var(--color-muted-foreground);
}
.site-footer__socials {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.25rem;
}
.site-footer__socials a {
  display: grid;
  height: 2.5rem;
  width: 2.5rem;
  place-items: center;
  border: 1px solid var(--color-border);
  transition: background-color 0.2s ease, color 0.2s ease;
}
.site-footer__socials a:hover {
  background-color: var(--color-brand);
  color: var(--color-brand-foreground);
}
.site-footer__socials svg {
  height: 1rem;
  width: 1rem;
}
.site-footer__group h3 {
  font-size: 1.125rem;
}
.site-footer__group ul {
  margin-top: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.site-footer__group a {
  font-size: 0.875rem;
  color: var(--color-muted-foreground);
  transition: color 0.2s ease;
}
.site-footer__group a:hover {
  color: var(--color-brand);
}
.site-footer__bottom {
  border-top: 1px solid var(--color-border);
  padding-block: 1.25rem;
  text-align: center;
  font-size: 0.75rem;
  color: var(--color-muted-foreground);
}

/* =========================================================================
   7. BACK TO TOP
   ========================================================================= */

.back-to-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 50;
  display: grid;
  height: 3rem;
  width: 3rem;
  place-items: center;
  border-radius: 9999px;
  background-color: var(--color-brand);
  color: var(--color-brand-foreground);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform: translateY(1rem);
  opacity: 0;
  pointer-events: none;
}
.back-to-top.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.back-to-top:hover {
  transform: scale(1.1);
}
.back-to-top.is-visible:hover {
  transform: scale(1.1);
}
.back-to-top svg {
  height: 1.25rem;
  width: 1.25rem;
}

/* =========================================================================
   8. AD SLOT
   ========================================================================= */

.tgm-ad-slot {
  display: grid;
  place-items: center;
  border: 1px dashed var(--color-border);
  background-color: color-mix(in oklab, var(--color-surface-2) 60%, transparent);
  height: 6rem;
  overflow: hidden;
}
@media (min-width: 640px) {
  .tgm-ad-slot {
    height: 7rem;
  }
}
@media (min-width: 1024px) {
  .tgm-ad-slot {
    height: 8rem;
  }
}
.tgm-ad-slot--sidebar {
  height: 16rem;
}
.tgm-ad-slot--has-code {
  border-style: solid;
  background-color: transparent;
}
.tgm-ad-slot__label {
  color: var(--color-muted-foreground);
}

/* =========================================================================
   9. SECTION HEADING
   ========================================================================= */

.section-heading {
  margin-bottom: 1.25rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--color-border);
}
.section-heading__title {
  position: relative;
  padding-bottom: 0.5rem;
  font-size: 1.5rem;
}
@media (min-width: 640px) {
  .section-heading__title {
    font-size: 1.875rem;
  }
}
.section-heading__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 3px;
  width: 100%;
  background-color: var(--color-brand);
}

/* =========================================================================
   10. CATEGORY TAG / VIDEO BADGE
   ========================================================================= */

.category-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.5rem;
  line-height: 1;
  background-color: var(--color-surface-2);
  color: var(--color-foreground);
}
.category-tag--review {
  background-color: var(--color-brand);
  color: var(--color-brand-foreground);
}
.category-tag--critica {
  background-color: var(--color-foreground);
  color: var(--color-background);
}
/* No card padrão (vertical), o selo fica sobreposto no canto superior
   esquerdo da imagem. Nas variantes horizontal/overlay ele é renderizado
   fora de .article-card__media (inline, no corpo do card), então esta
   regra não os afeta — reproduz exatamente o comportamento original, em
   que a posição "absolute" só era passada como className nesse caso. */
.article-card__media > .category-tag {
  position: absolute;
  left: 0;
  top: 0;
}
.article-card__body > .category-tag,
.article-card__overlay-content > .category-tag {
  display: inline-flex;
}

.video-badge {
  pointer-events: none;
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}
.video-badge__circle {
  display: grid;
  height: 3rem;
  width: 3rem;
  place-items: center;
  border-radius: 9999px;
  background-color: rgba(0, 0, 0, 0.65);
  color: #fff;
  transition: transform 0.3s ease;
}
.group:hover .video-badge__circle {
  transform: scale(1.1);
}
.video-badge__circle svg {
  height: 1.25rem;
  width: 1.25rem;
  margin-left: 2px;
}

/* =========================================================================
   11. ARTICLE CARD
   ========================================================================= */

.article-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--color-border);
  background-color: var(--color-card);
}
.article-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.article-card__media img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.article-card .category-tag {
  position: absolute;
  left: 0;
  top: 0;
}
.article-card__score {
  position: absolute;
  right: 0;
  top: 0;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  background-color: color-mix(in oklab, var(--color-background) 90%, transparent);
  padding: 0.25rem 0.5rem;
  font-size: 0.875rem;
  font-weight: 700;
}
.article-card__score svg {
  height: 0.875rem;
  width: 0.875rem;
  fill: var(--color-brand);
  color: var(--color-brand);
}
.article-card__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 0.75rem;
}
.article-card__body > .category-tag {
  align-self: flex-start;
}
.article-card__title {
  font-size: 1rem;
  text-transform: uppercase;
  line-height: 1.2;
}
@media (min-width: 640px) {
  .article-card__title {
    font-size: 1.125rem;
  }
}
.article-card__excerpt {
  margin-top: 0.5rem;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-size: 0.875rem;
  color: var(--color-muted-foreground);
}
.article-card__date {
  margin-top: auto;
  padding-top: 0.75rem;
  font-size: 0.75rem;
  color: var(--color-muted-foreground);
}

/* variant: horizontal */
.article-card--horizontal {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 0.75rem;
  padding: 0.5rem;
  background-color: var(--color-card);
}
@media (min-width: 640px) {
  .article-card--horizontal {
    grid-template-columns: 140px minmax(0, 1fr);
  }
}
.article-card--horizontal .article-card__media {
  aspect-ratio: 4 / 3;
}
.article-card--horizontal .article-card__body {
  min-width: 0;
  padding: 0.25rem 0.25rem 0.25rem 0;
}
.article-card--horizontal .article-card__title {
  margin-top: 0.375rem;
  font-size: 1rem;
}
.article-card--horizontal .article-card__excerpt {
  margin-top: 0.25rem;
}

/* variant: overlay */
.article-card--overlay {
  display: block;
}
.article-card--overlay img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.article-card--overlay .article-card__overlay-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.35) 55%, transparent);
}
.article-card--overlay .article-card__overlay-content {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 1rem;
}
.article-card--overlay .article-card__title {
  margin-top: 0.5rem;
  color: #fff;
  font-size: 1.125rem;
}
@media (min-width: 640px) {
  .article-card--overlay .article-card__title {
    font-size: 1.25rem;
  }
}
.article-card--overlay .article-card__excerpt {
  margin-top: 0.5rem;
  color: rgba(255, 255, 255, 0.75);
}

/* =========================================================================
   12. HERO SECTION
   ========================================================================= */

.hero-section {
  display: grid;
  gap: 1.25rem;
  padding-block: 1.5rem;
}
@media (min-width: 1024px) {
  .hero-section {
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) minmax(0, 1fr);
  }
}

.hero-column {
  display: none;
  flex-direction: column;
  gap: 0.75rem;
}
@media (min-width: 1024px) {
  .hero-column {
    display: flex;
  }
}
.hero-column__title {
  border-bottom: 3px solid var(--color-brand);
  padding-bottom: 0.375rem;
  font-size: 1.25rem;
}
.hero-column .article-card {
  flex: 1 1 auto;
}

.hero-carousel {
  position: relative;
  height: 320px;
  overflow: hidden;
  border: 1px solid var(--color-border);
}
@media (min-width: 640px) {
  .hero-carousel {
    height: 420px;
  }
}
@media (min-width: 1024px) {
  .hero-carousel {
    height: auto;
    min-height: 520px;
  }
}
.hero-carousel__slide {
  position: absolute;
  inset: 0;
  display: block;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.7s ease;
}
.hero-carousel__slide.is-active {
  opacity: 1;
  pointer-events: auto;
}
.hero-carousel__slide img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.hero-carousel__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.45) 55%, transparent);
}
.hero-carousel__content {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 1.25rem;
}
@media (min-width: 640px) {
  .hero-carousel__content {
    padding: 1.75rem;
  }
}
.hero-carousel__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}
.hero-carousel__video-flag {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background-color: rgba(255, 255, 255, 0.15);
  padding: 0.25rem 0.5rem;
  color: #fff;
  backdrop-filter: blur(6px);
}
.hero-carousel__video-flag svg {
  height: 0.75rem;
  width: 0.75rem;
  fill: currentColor;
}
.hero-carousel__title {
  margin-top: 0.75rem;
  font-size: 1.5rem;
  text-transform: uppercase;
  line-height: 0.98;
  color: #fff;
}
@media (min-width: 640px) {
  .hero-carousel__title {
    font-size: 2.25rem;
  }
}
.hero-carousel__excerpt {
  margin-top: 0.75rem;
  max-width: 36rem;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.75);
}
@media (min-width: 640px) {
  .hero-carousel__excerpt {
    font-size: 1rem;
  }
}
.hero-carousel__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  height: 2.5rem;
  width: 2.5rem;
  place-items: center;
  background-color: rgba(0, 0, 0, 0.5);
  color: #fff;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}
.hero-carousel:hover .hero-carousel__arrow {
  opacity: 1;
}
.hero-carousel__arrow--prev {
  left: 0.5rem;
}
.hero-carousel__arrow--next {
  right: 0.5rem;
}
.hero-carousel__arrow svg {
  height: 1.25rem;
  width: 1.25rem;
}
.hero-carousel__dots {
  position: absolute;
  right: 1rem;
  top: 1rem;
  z-index: 2;
  display: flex;
  gap: 0.375rem;
}
.hero-carousel__dot {
  height: 0.375rem;
  width: 0.75rem;
  background-color: rgba(255, 255, 255, 0.5);
  transition: all 0.3s ease;
}
.hero-carousel__dot:hover {
  background-color: #fff;
}
.hero-carousel__dot.is-active {
  width: 1.75rem;
  background-color: var(--color-brand);
}

/* =========================================================================
   13. GRID SECTIONS (Também pode ver, categoria, análise, autor)
   ========================================================================= */

.tgm-section {
  padding-block: 2rem;
}

.tgm-empty-state {
  padding-block: 4rem;
  text-align: center;
  color: var(--color-muted-foreground);
}

/* Grade "gap-4 sm:grid-cols-2 lg:grid-cols-3" — reutilizada na página do
   autor, categoria e análise (mesmo padrão em todas). */
.cards-grid-3 {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .cards-grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .cards-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Grade "gap-4 sm:grid-cols-2" (sem 3ª coluna em lg) — página Análise,
   que tem sidebar ocupando a coluna restante. */
.cards-grid-2 {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .cards-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* =========================================================================
   14. INSTAGRAM SECTION
   ========================================================================= */

.instagram-grid {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 768px) {
  .instagram-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.instagram-account {
  border: 1px solid var(--color-border);
  background-color: var(--color-card);
  padding: 1rem;
}
.instagram-account__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.75rem;
}
.instagram-account__handle {
  min-width: 0;
}
.instagram-account__handle p:first-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 1.125rem;
  font-weight: 700;
}
.instagram-account__handle p:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.875rem;
  color: var(--color-muted-foreground);
}
.instagram-account__follow {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--color-brand);
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-brand-foreground);
  transition: transform 0.2s ease;
}
.instagram-account__follow:hover {
  transform: scale(1.05);
}
.instagram-account__follow svg {
  height: 1rem;
  width: 1rem;
}
.instagram-account__photos {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
}
.instagram-photo {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  display: block;
}
.instagram-photo img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.instagram-photo__hover {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background-color: rgba(0, 0, 0, 0.55);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.instagram-photo:hover .instagram-photo__hover {
  opacity: 1;
}
.instagram-photo__hover svg {
  height: 1.25rem;
  width: 1.25rem;
  color: #fff;
}

/* =========================================================================
   15. ÚLTIMAS NOTÍCIAS
   ========================================================================= */

.latest-news {
  display: grid;
  gap: 2rem;
  padding-block: 2rem;
}
@media (min-width: 1024px) {
  .latest-news {
    grid-template-columns: minmax(0, 1fr) 320px;
  }
}
.latest-news__main {
  min-width: 0;
}

.featured-news {
  display: block;
  border: 1px solid var(--color-border);
  background-color: var(--color-card);
}
.featured-news__media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.featured-news__media img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.featured-news__body {
  padding: 1rem;
}
.featured-news__title {
  margin-top: 0.5rem;
  font-size: 1.5rem;
  text-transform: uppercase;
  line-height: 1;
}
@media (min-width: 640px) {
  .featured-news__title {
    font-size: 1.875rem;
  }
}
.featured-news__excerpt {
  margin-top: 0.5rem;
  color: var(--color-muted-foreground);
}
.featured-news__meta {
  margin-top: 0.75rem;
  display: block;
  font-size: 0.75rem;
  color: var(--color-muted-foreground);
}

.latest-news__grid {
  margin-top: 1.25rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .latest-news__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.load-more-wrap {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
}
.load-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 2px solid var(--color-foreground);
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.load-more-btn:hover:not(:disabled) {
  background-color: var(--color-foreground);
  color: var(--color-background);
}
.load-more-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.load-more-btn svg {
  height: 1rem;
  width: 1rem;
  animation: tgm-spin 0.8s linear infinite;
}
@keyframes tgm-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.load-more-end {
  margin-top: 2rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--color-muted-foreground);
}

/* =========================================================================
   16. CARROSSEL DE CRÍTICAS E REVIEWS
   ========================================================================= */

.reviews-carousel {
  overflow: hidden;
}
.reviews-carousel__track {
  display: flex;
  transition: transform 0.7s ease-out;
}
.reviews-carousel__item {
  flex-shrink: 0;
  padding-inline: 0.5rem;
}
.reviews-carousel__item:first-child {
  padding-left: 0;
}
.reviews-carousel__dots {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  gap: 0.375rem;
}
.reviews-carousel__dot {
  height: 0.375rem;
  width: 0.75rem;
  background-color: var(--color-border);
  transition: all 0.3s ease;
}
.reviews-carousel__dot.is-active {
  width: 1.75rem;
  background-color: var(--color-brand);
}

/* =========================================================================
   17. SIDEBAR
   ========================================================================= */

.tgm-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
@media (min-width: 1024px) {
  .tgm-sidebar {
    position: sticky;
    top: 8rem;
    align-self: flex-start;
  }
}

.most-read {
  border: 1px solid var(--color-border);
  background-color: var(--color-card);
}
.most-read__title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid var(--color-border);
  background-color: var(--color-surface-2);
  padding: 0.75rem 1rem;
  font-size: 1.125rem;
}
.most-read__title svg {
  height: 1rem;
  width: 1rem;
  color: var(--color-brand);
}
.most-read__periods {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  border-bottom: 1px solid var(--color-border);
  padding: 0.5rem;
}
.most-read__period-btn {
  padding: 0.25rem 0.5rem;
  font-size: 0.6rem;
  background-color: var(--color-surface-2);
  color: var(--color-muted-foreground);
  transition: background-color 0.2s ease, color 0.2s ease;
}
.most-read__period-btn:hover {
  color: var(--color-foreground);
}
.most-read__period-btn.is-active {
  background-color: var(--color-brand);
  color: var(--color-brand-foreground);
}
.most-read__list {
  display: flex;
  flex-direction: column;
}
.most-read__list li {
  border-top: 1px solid var(--color-border);
}
.most-read__list li:first-child {
  border-top: 0;
}
.most-read__item {
  display: flex;
  gap: 0.75rem;
  padding: 0.75rem;
  transition: background-color 0.2s ease;
}
.most-read__item:hover {
  background-color: var(--color-accent);
}
.most-read__rank {
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1;
  color: var(--color-brand);
}
.most-read__item-meta {
  min-width: 0;
}
.most-read__item-title {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.3;
}
.most-read__item-views {
  margin-top: 0.25rem;
  display: block;
  font-size: 0.75rem;
  color: var(--color-muted-foreground);
}

.widget-card {
  display: block;
  border: 1px solid var(--color-border);
  background-color: var(--color-card);
}
.widget-card__media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.widget-card__media img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.widget-card__body {
  padding: 1rem;
}
.widget-card__kicker {
  color: var(--color-brand);
}
.widget-card__title {
  margin-top: 0.25rem;
  font-size: 1.125rem;
  text-transform: uppercase;
  line-height: 1.2;
}
.widget-card__desc {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-muted-foreground);
}
.widget-card__cta {
  margin-top: 0.75rem;
  display: inline-block;
  border-bottom: 2px solid var(--color-brand);
  padding-bottom: 0.125rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.newsletter-box {
  border: 1px solid var(--color-border);
  background-color: var(--color-surface-2);
  padding: 1rem;
}
.newsletter-box__title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.125rem;
}
.newsletter-box__title svg {
  height: 1rem;
  width: 1rem;
  color: var(--color-brand);
}
.newsletter-box p {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-muted-foreground);
}
.newsletter-box form {
  margin-top: 0.75rem;
  display: flex;
  gap: 0.5rem;
}
.newsletter-box input[type="email"] {
  min-width: 0;
  flex: 1 1 auto;
  border: 1px solid var(--color-border);
  background-color: var(--color-background);
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  outline: none;
}
.newsletter-box input[type="email"]:focus {
  border-color: var(--color-brand);
}
.newsletter-box button {
  flex-shrink: 0;
  background-color: var(--color-brand);
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-brand-foreground);
  transition: transform 0.2s ease;
}
.newsletter-box button:hover {
  transform: scale(1.05);
}

/* =========================================================================
   18. PÁGINA DE MATÉRIA (single.php)
   ========================================================================= */

.article-layout {
  display: grid;
  gap: 2rem;
  padding-block: 2rem;
}
@media (min-width: 1024px) {
  .article-layout {
    grid-template-columns: minmax(0, 1fr) 320px;
  }
}
.article-main {
  min-width: 0;
}

.article-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-muted-foreground);
  transition: color 0.2s ease;
}
.article-back-link:hover {
  color: var(--color-brand);
}
.article-back-link svg {
  height: 0.875rem;
  width: 0.875rem;
}

.article-meta-row {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}
.article-meta-row__date {
  font-size: 0.75rem;
  color: var(--color-muted-foreground);
}
.article-meta-row__views {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  color: var(--color-muted-foreground);
}
.article-meta-row__views svg {
  height: 0.875rem;
  width: 0.875rem;
}

.article-title {
  margin-top: 0.75rem;
  font-size: 1.875rem;
  text-transform: uppercase;
  line-height: 0.98;
}
@media (min-width: 640px) {
  .article-title {
    font-size: 3rem;
  }
}

.article-excerpt {
  margin-top: 1rem;
  font-size: 1.125rem;
  color: var(--color-muted-foreground);
}

.article-author-card {
  margin-top: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid var(--color-border);
  padding: 0.5rem 1rem 0.5rem 0.5rem;
  transition: background-color 0.2s ease;
}
.article-author-card:hover {
  background-color: var(--color-accent);
}
.article-author-card img {
  height: 2.75rem;
  width: 2.75rem;
  border-radius: 9999px;
  object-fit: cover;
}
.article-author-card__name {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
}
.article-author-card__role {
  display: block;
  color: var(--color-muted-foreground);
}

.article-media {
  margin-top: 1.5rem;
  aspect-ratio: 16 / 9;
  width: 100%;
  border: 1px solid var(--color-border);
  object-fit: cover;
}
.article-media--video {
  background-color: #000;
}
.article-media--video iframe {
  height: 100%;
  width: 100%;
  border: 0;
}

.article-content {
  margin-top: 1.5rem;
}
.article-content > * + * {
  margin-top: 1rem;
}
.article-content {
  font-size: 1.05rem;
  line-height: 1.75;
}
.article-content h2,
.article-content h3,
.article-content h4 {
  margin-top: 1.75rem;
  text-transform: uppercase;
}
.article-content a {
  color: var(--color-brand);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.article-content ul,
.article-content ol {
  padding-left: 1.25rem;
  list-style: revert;
}
.article-content blockquote {
  border-left: 4px solid var(--color-brand);
  padding-left: 1rem;
  font-style: italic;
  color: var(--color-muted-foreground);
}
.article-content img {
  width: 100%;
  height: auto;
}

.article-tags {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.article-tags span {
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.68rem;
  border: 1px solid var(--color-border);
  padding: 0.25rem 0.5rem;
}

.article-related {
  margin-top: 2.5rem;
}
.related-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .related-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* =========================================================================
   19. READ MORE
   ========================================================================= */

.read-more-block {
  margin-block: 1.75rem;
  display: flex;
  gap: 1rem;
  border-left: 4px solid var(--color-brand);
  background-color: color-mix(in oklab, var(--color-surface-2) 60%, transparent);
  padding: 0.75rem 0.75rem 0.75rem 1rem;
  transition: background-color 0.2s ease;
}
.read-more-block:hover {
  background-color: var(--color-surface-2);
}
.read-more-block__kicker {
  display: block;
  color: var(--color-brand);
}
.read-more-block__title {
  margin-top: 0.25rem;
  display: block;
  font-size: 1.125rem;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.2;
  transition: color 0.2s ease;
}
.read-more-block:hover .read-more-block__title {
  color: var(--color-brand);
}

/* =========================================================================
   20. PAINEL DE NOTA (Review / Crítica)
   ========================================================================= */

.score-panel {
  margin-block: 2rem;
  border: 1px solid var(--color-border);
  background-color: var(--color-card);
}
.score-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border-bottom: 1px solid var(--color-border);
  background-color: var(--color-surface-2);
  padding: 0.75rem 1rem;
}
.score-panel__header-muted {
  color: var(--color-muted-foreground);
}
.score-panel__main {
  display: grid;
  gap: 1.25rem;
  padding: 1.25rem;
}
@media (min-width: 640px) {
  .score-panel__main {
    grid-template-columns: auto minmax(0, 1fr);
  }
}
.score-panel__score {
  display: grid;
  height: 7rem;
  width: 7rem;
  place-items: center;
  background-color: var(--color-brand);
  color: var(--color-brand-foreground);
}
.score-panel__score-value {
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 1;
}
.score-panel__verdict {
  margin-top: 0.25rem;
  opacity: 0.8;
}
.score-panel__stars {
  display: flex;
  gap: 0.125rem;
}
.score-panel__stars svg {
  height: 1rem;
  width: 1rem;
  color: color-mix(in oklab, var(--color-muted-foreground) 40%, transparent);
}
.score-panel__stars svg.is-filled {
  fill: var(--color-brand);
  color: var(--color-brand);
}
.score-panel__quote {
  margin-top: 0.75rem;
  font-size: 1.125rem;
  font-weight: 600;
  font-style: italic;
  line-height: 1.4;
}
.score-panel__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border-top: 1px solid var(--color-border);
  background-color: var(--color-border);
}
@media (min-width: 640px) {
  .score-panel__facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.score-panel__fact {
  background-color: var(--color-card);
  padding: 0.75rem 1rem;
}
.score-panel__fact dt {
  color: var(--color-muted-foreground);
}
.score-panel__fact dd {
  margin: 0.25rem 0 0;
  font-size: 0.875rem;
  font-weight: 600;
}

/* =========================================================================
   21. FILTROS (página Análise)
   ========================================================================= */

.filter-bar {
  margin-bottom: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.filter-bar__btn {
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.68rem;
  border: 1px solid var(--color-border);
  padding: 0.5rem 1rem;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.filter-bar__btn:hover {
  background-color: var(--color-accent);
}
.filter-bar__btn.is-active {
  border-color: var(--color-brand);
  background-color: var(--color-brand);
  color: var(--color-brand-foreground);
}

.page-with-sidebar {
  display: grid;
  gap: 2rem;
  padding-block: 2rem;
}
@media (min-width: 1024px) {
  .page-with-sidebar {
    grid-template-columns: minmax(0, 1fr) 320px;
  }
}
.page-with-sidebar__main {
  min-width: 0;
}

/* =========================================================================
   22. PÁGINA DE AUTOR
   ========================================================================= */

.author-hero {
  position: relative;
  border-bottom: 1px solid var(--color-border);
  background-color: color-mix(in oklab, var(--color-surface-2) 60%, transparent);
  background-size: cover;
  background-position: center;
}
.author-hero[data-has-wallpaper="1"] {
  background-color: var(--color-foreground);
}
.author-hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    color-mix(in oklab, var(--color-background) 55%, transparent),
    color-mix(in oklab, var(--color-background) 88%, transparent)
  );
}
.author-hero__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  padding-block: 2.5rem;
  text-align: center;
}
@media (min-width: 640px) {
  .author-hero__inner {
    flex-direction: row;
    text-align: left;
  }
}
.author-hero img {
  height: 8rem;
  width: 8rem;
  flex-shrink: 0;
  border-radius: 9999px;
  border: 4px solid var(--color-brand);
  object-fit: cover;
}
.author-hero__body {
  min-width: 0;
}
.author-hero__role {
  color: var(--color-brand);
}
.author-hero__name {
  margin-top: 0.25rem;
  font-size: 1.875rem;
  text-transform: uppercase;
  line-height: 1;
}
@media (min-width: 640px) {
  .author-hero__name {
    font-size: 3rem;
  }
}
.author-hero__bio-label {
  display: block;
  margin-top: 1rem;
  color: var(--color-brand);
}
.author-hero__bio {
  margin-top: 0.375rem;
  max-width: 42rem;
  color: var(--color-muted-foreground);
}
.author-hero__social {
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--color-border);
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 700;
  transition: background-color 0.2s ease;
}
.author-hero__social:hover {
  background-color: var(--color-accent);
}
.author-hero__social svg {
  height: 1rem;
  width: 1rem;
}

.back-home-link {
  margin-top: 2rem;
  display: inline-block;
  border-bottom: 2px solid var(--color-brand);
  padding-bottom: 0.125rem;
  transition: color 0.2s ease;
}
.back-home-link:hover {
  color: var(--color-brand);
}

/* =========================================================================
   23. PÁGINA SOBRE
   ========================================================================= */

.prose-page {
  max-width: 48rem; /* max-w-3xl */
  margin-inline: auto;
  padding-block: 2.5rem;
}
.prose-page h1 {
  font-size: 2.25rem;
  text-transform: uppercase;
  line-height: 1;
}
@media (min-width: 640px) {
  .prose-page h1 {
    font-size: 3.75rem;
  }
}
.prose-page > p:first-of-type {
  margin-top: 1.25rem;
  font-size: 1.125rem;
  line-height: 1.625;
  color: var(--color-muted-foreground);
}
.prose-page p {
  margin-top: 1rem;
  line-height: 1.625;
}

.team-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
  padding-bottom: 3.5rem;
}
@media (min-width: 640px) {
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .team-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.team-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid var(--color-border);
  background-color: var(--color-card);
  padding: 1.25rem;
  text-align: center;
}
.team-card img {
  height: 6rem;
  width: 6rem;
  border-radius: 9999px;
  border: 2px solid var(--color-brand);
  object-fit: cover;
}
.team-card h2 {
  margin-top: 0.75rem;
  font-size: 1.25rem;
  text-transform: uppercase;
  line-height: 1.25;
}
.team-card__role {
  margin-top: 0.25rem;
  color: var(--color-brand);
}
.team-card__bio {
  margin-top: 0.75rem;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  font-size: 0.875rem;
  color: var(--color-muted-foreground);
}

/* =========================================================================
   24. 404
   ========================================================================= */

.error-404-page {
  display: flex;
  min-height: 60vh;
  align-items: center;
  justify-content: center;
  padding-inline: 1rem;
}
.error-404-page__inner {
  max-width: 28rem;
  text-align: center;
}
.error-404-page__code {
  font-size: 4.5rem;
  font-weight: 700;
  font-family: var(--font-sans);
}
.error-404-page__title {
  margin-top: 1rem;
  font-size: 1.25rem;
  font-weight: 600;
  font-family: var(--font-sans);
  text-transform: none;
}
.error-404-page__desc {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-muted-foreground);
}
.error-404-page__cta {
  margin-top: 1.5rem;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background-color: var(--color-primary);
  color: var(--color-primary-foreground);
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  transition: background-color 0.2s ease;
}
.btn-primary:hover {
  background-color: color-mix(in oklab, var(--color-primary) 90%, transparent);
}

/* =========================================================================
   25. BUSCA (search.php)
   ========================================================================= */

.search-page-header {
  padding-block: 2rem 0;
}
.search-page-header p {
  margin-top: 0.5rem;
  color: var(--color-muted-foreground);
}
.search-form-inline {
  margin-top: 1.25rem;
  display: flex;
  max-width: 32rem;
  gap: 0.5rem;
}
.search-form-inline input[type="search"] {
  min-width: 0;
  flex: 1 1 auto;
  border: 1px solid var(--color-border);
  background-color: var(--color-background);
  padding: 0.625rem 0.875rem;
  outline: none;
}
.search-form-inline input[type="search"]:focus {
  border-color: var(--color-brand);
}
.search-form-inline button {
  flex-shrink: 0;
  background-color: var(--color-brand);
  color: var(--color-brand-foreground);
  padding: 0.625rem 1.25rem;
  font-weight: 700;
}

/* =========================================================================
   26. PAGINAÇÃO
   ========================================================================= */

.tgm-pagination {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}
.tgm-pagination .page-numbers {
  display: inline-flex;
  height: 2.5rem;
  min-width: 2.5rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border);
  padding-inline: 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.tgm-pagination .page-numbers:hover {
  background-color: var(--color-accent);
}
.tgm-pagination .page-numbers.current {
  background-color: var(--color-brand);
  border-color: var(--color-brand);
  color: var(--color-brand-foreground);
}
.tgm-pagination .page-numbers.dots {
  border: 0;
}

/* =========================================================================
   27. PÁGINA GENÉRICA (page.php)
   ========================================================================= */

.generic-page {
  max-width: 48rem;
  margin-inline: auto;
  padding-block: 2.5rem;
}
.generic-page h1 {
  font-size: 2.25rem;
  text-transform: uppercase;
  line-height: 1;
}
.generic-page .article-content {
  margin-top: 1.25rem;
}

/* =========================================================================
   28. RESPONSIVIDADE ADICIONAL / AJUSTES FINOS
   ========================================================================= */

@media (max-width: 1023.98px) {
  .tgm-sidebar {
    margin-top: 0.5rem;
  }
}


/* =========================================================================
   29. TAMBÉM PODE VER (grid 1/2/3 colunas)
   ========================================================================= */

.also-see-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .also-see-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .also-see-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
