/* ═══════════════════════════════════════════════════
   style.css — TaCertoCertissimo.online
   Design Mobile-First, Responsivo
   Breakpoints: base 320px → tablet 768px → notebook 1024px → desktop 1280px
   ⚠ NUNCA usar larguras fixas em pixels (%, rem, vw, vh)
   ═══════════════════════════════════════════════════ */

/* ═══════════════ RESET & BASE ═══════════════ */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 100%; /* 16px base — usar rem para tipografia */
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #1a1a2e;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 50%, #f8f9fa 100%);
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: #FF6B35;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #e85d2c;
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* ═══════════════ VARIÁVEIS CSS ═══════════════ */
:root {
  --color-primary: #FF6B35;
  --color-primary-dark: #e85d2c;
  --color-secondary: #2EC4B6;
  --color-secondary-dark: #25a99c;
  --color-accent: #FFD166;
  --color-danger: #EF476F;
  --color-danger-dark: #d63d5f;
  --color-success: #06D6A0;
  --color-warning: #FFD166;

  --color-bg: #f8f9fa;
  --color-bg-card: #ffffff;
  --color-bg-header: #ffffff;
  --color-bg-footer: #1a1a2e;
  --color-bg-admin: #f0f2f5;
  --color-bg-modbar: #2d2d3f;

  --color-text: #1a1a2e;
  --color-text-light: #6c757d;
  --color-text-white: #ffffff;
  --color-text-muted: #adb5bd;

  --color-border: #dee2e6;
  --color-border-light: #e9ecef;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --shadow-glow: 0 0 20px rgba(255, 107, 53, 0.4), 0 0 40px rgba(255, 107, 53, 0.2);

  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.25rem;
  --radius-full: 9999px;

  --transition-fast: 0.15s ease;
  --transition-base: 0.25s ease;
  --transition-slow: 0.4s ease;

  --touch-min: 44px; /* Área mínima de toque */
}

/* ═══════════════ HEADER ═══════════════ */
.site-header {
  background: var(--color-bg-header);
  border-bottom: 2px solid var(--color-border-light);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

.header-container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 3.75rem; /* 60px */
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--color-text);
  text-decoration: none;
  flex-shrink: 0;
}

.logo-icon {
  font-size: 1.4rem;
}

.logo-text {
  white-space: nowrap;
}

.logo-highlight {
  color: var(--color-primary);
}

.logo-question {
  color: var(--color-primary);
  font-size: 1.3rem;
  margin-left: -0.1rem;
}

/* Navegação principal */
.main-nav {
  display: none; /* Escondido no mobile — usa hamburger */
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--color-text);
  transition: background var(--transition-fast), color var(--transition-fast);
  white-space: nowrap;
}

.nav-link:hover {
  background: #f1f3f5;
  color: var(--color-primary);
}

.nav-upload {
  background: var(--color-primary);
  color: #fff !important;
}

.nav-upload:hover {
  background: var(--color-primary-dark) !important;
}

.nav-admin {
  background: #2d2d3f;
  color: #fff !important;
}

.nav-admin:hover {
  background: #3d3d55 !important;
}

/* Área do usuário */
.user-area {
  display: none; /* Mobile: escondido, aparece dentro do hamburger */
}

.user-menu {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.user-avatar {
  width: 2rem;
  height: 2rem;
  border-radius: var(--radius-full);
  object-fit: cover;
  border: 2px solid var(--color-primary);
}

.user-name {
  font-weight: 600;
  font-size: 0.85rem;
  max-width: 8rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--color-text);
}

.btn-logout {
  min-width: var(--touch-min);
  min-height: var(--touch-min);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast);
}

.btn-logout:hover {
  background: #f1f3f5;
}

.btn-login-google {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1rem;
  background: #fff;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--color-text);
  transition: all var(--transition-fast);
  white-space: nowrap;
  min-height: var(--touch-min);
}

.btn-login-google:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-sm);
  color: var(--color-primary);
}

.google-icon {
  font-size: 1.1rem;
}

/* ═══════════════ HAMBURGER MENU (Mobile) ═══════════════ */
.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 0.5rem;
  min-width: var(--touch-min);
  min-height: var(--touch-min);
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast);
}

.menu-toggle:hover {
  background: #f1f3f5;
}

.hamburger-line {
  width: 1.5rem;
  height: 0.15rem;
  background: var(--color-text);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.menu-toggle.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(0.3rem, 0.3rem);
}

.menu-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(0.3rem, -0.3rem);
}

.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--color-bg-card);
  border-top: 1px solid var(--color-border-light);
  padding: 0.5rem 0;
  box-shadow: var(--shadow-md);
}

.mobile-nav.active {
  display: flex;
}

.mobile-nav-link {
  padding: 0.9rem 1.25rem;
  font-weight: 500;
  font-size: 1rem;
  color: var(--color-text);
  transition: background var(--transition-fast);
  min-height: var(--touch-min);
  display: flex;
  align-items: center;
}

.mobile-nav-link:hover {
  background: #f1f3f5;
  color: var(--color-primary);
}

.mobile-logout {
  color: var(--color-danger);
}

.mobile-login {
  color: var(--color-primary);
  font-weight: 600;
}

/* ═══════════════ BARRA DE MODERAÇÃO ═══════════════ */
.moderation-bar {
  background: var(--color-bg-modbar);
  color: var(--color-text-white);
  display: none; /* Apenas moderadores veem — controlado pela condição EJS */
}

.moderation-container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0.5rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  min-height: 2.75rem;
}

.mod-label {
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.9;
  white-space: nowrap;
}

.mod-nav {
  display: flex;
  gap: 0.25rem;
  flex-wrap: wrap;
}

.mod-link {
  padding: 0.3rem 0.6rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-text-white);
  opacity: 0.85;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.mod-link:hover {
  background: rgba(255,255,255,0.15);
  opacity: 1;
  color: var(--color-text-white);
}

.mod-quick-stats {
  display: flex;
  gap: 0.5rem;
}

.mod-stat-link {
  padding: 0.3rem 0.6rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-accent);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.mod-stat-link:hover {
  background: rgba(255,209,102,0.2);
  color: var(--color-accent);
}

/* ═══════════════ MAIN CONTENT ═══════════════ */
.site-main {
  flex: 1;
  max-width: 80rem;
  width: 100%;
  margin: 0 auto;
  padding: 1rem;
}

/* ═══════════════ FEED SECTIONS ═══════════════ */
.feed-section {
  margin-bottom: 2rem;
}

.feed-section-title {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-text);
}

.feed-section-title .badge-icon {
  font-size: 1.4rem;
}

/* ═══════════════ CARD DE POST EM DESTAQUE ═══════════════ */
.featured-section {
  margin-bottom: 2.5rem;
}

.featured-card {
  background: var(--color-bg-card);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: relative;
  border: 3px solid transparent;
  animation: glowPulse 2.5s ease-in-out infinite;
  transition: transform var(--transition-base);
}

.featured-card:hover {
  transform: translateY(-2px);
}

@keyframes glowPulse {
  0%, 100% {
    border-color: var(--color-primary);
    box-shadow: 0 0 15px rgba(255, 107, 53, 0.3), 0 0 30px rgba(255, 107, 53, 0.1);
  }
  50% {
    border-color: var(--color-accent);
    box-shadow: 0 0 25px rgba(255, 209, 102, 0.5), 0 0 50px rgba(255, 107, 53, 0.25);
  }
}

.featured-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 5;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  color: #fff;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 8px rgba(255,107,53,0.4);
  animation: badgeShine 3s ease-in-out infinite;
}

@keyframes badgeShine {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.85; }
}

.featured-image-link {
  display: block;
  overflow: hidden;
}

.featured-image {
  width: 100%;
  height: auto;
  max-height: 60vh;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.featured-image-link:hover .featured-image {
  transform: scale(1.03);
}

.featured-body {
  padding: 1rem 1.25rem;
}

.featured-description {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.4;
  color: var(--color-text);
}

.featured-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.85rem;
  color: var(--color-text-light);
}

.featured-meta-item {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.featured-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

/* ═══════════════ GRID DE POSTS ═══════════════ */
.posts-grid {
  display: grid;
  grid-template-columns: 1fr; /* 1 coluna no mobile */
  gap: 1rem;
}

/* ═══════════════ CARD DE POST ═══════════════ */
.post-card {
  background: var(--color-bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  position: relative;
}

.post-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.post-card-image-link {
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #e9ecef;
}

.post-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.post-card-image-link:hover .post-card-image {
  transform: scale(1.05);
}

.post-card-body {
  padding: 0.85rem 1rem;
}

.post-card-description {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  line-height: 1.35;
  color: var(--color-text);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
  font-size: 0.78rem;
  color: var(--color-text-light);
}

.post-card-meta-item {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.post-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

/* ═══════════════ BOTÕES DE VOTO ═══════════════ */
.vote-buttons {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.btn-vote {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 1rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.85rem;
  min-height: var(--touch-min);
  transition: all var(--transition-fast);
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-vote-certo {
  background: #fff3e0;
  color: #e65100;
  border-color: #ffe0b2;
}

.btn-vote-certo:hover {
  background: #ffe0b2;
  transform: scale(1.05);
}

.btn-vote-certo.voted {
  background: #e65100;
  color: #fff;
  border-color: #e65100;
}

.btn-vote-certissimo {
  background: #fff8e1;
  color: #f57f17;
  border-color: #ffecb3;
}

.btn-vote-certissimo:hover {
  background: #ffecb3;
  transform: scale(1.05);
}

.btn-vote-certissimo.voted {
  background: #f57f17;
  color: #fff;
  border-color: #f57f17;
}

.vote-count {
  font-size: 0.8rem;
  font-weight: 700;
  background: #e9ecef;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
  min-width: 1.8rem;
  text-align: center;
}

/* ═══════════════ BOTÕES DE COMPARTILHAMENTO ═══════════════ */
.share-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.btn-share {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  padding: 0.45rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 600;
  min-height: var(--touch-min);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-share-copy {
  background: #e9ecef;
  color: var(--color-text);
}

.btn-share-copy:hover {
  background: #dee2e6;
}

.btn-share-whatsapp {
  background: #25D366;
  color: #fff;
}

.btn-share-whatsapp:hover {
  background: #20bd5a;
  color: #fff;
}

.btn-share-twitter {
  background: #1DA1F2;
  color: #fff;
}

.btn-share-twitter:hover {
  background: #1a8cd8;
  color: #fff;
}

.btn-share-facebook {
  background: #1877F2;
  color: #fff;
}

.btn-share-facebook:hover {
  background: #166fe5;
  color: #fff;
}

.btn-share-email {
  background: #6c757d;
  color: #fff;
}

.btn-share-email:hover {
  background: #5c636a;
  color: #fff;
}

/* ═══════════════ BOTÃO DENUNCIAR ═══════════════ */
.btn-report {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.4rem 0.7rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-text-muted);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  min-height: var(--touch-min);
  min-width: var(--touch-min);
}

.btn-report:hover {
  color: var(--color-danger);
  background: #fff5f5;
}

/* ═══════════════ BOTÃO DELETAR (Admin) ═══════════════ */
.btn-delete-post {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  z-index: 5;
  background: rgba(239,71,111,0.9);
  color: #fff;
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-sm);
  font-size: 0.7rem;
  font-weight: 700;
  opacity: 0;
  transition: opacity var(--transition-fast);
  min-height: var(--touch-min);
}

.post-card:hover .btn-delete-post {
  opacity: 1;
}

.btn-delete-post:hover {
  background: var(--color-danger);
}

/* ═══════════════ INFINITE SCROLL ═══════════════ */
.scroll-observer {
  height: 1px;
  width: 100%;
}

.loading-spinner {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  gap: 0.5rem;
  color: var(--color-text-light);
}

.spinner {
  width: 1.5rem;
  height: 1.5rem;
  border: 3px solid var(--color-border-light);
  border-top-color: var(--color-primary);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.end-message {
  text-align: center;
  padding: 2rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

/* ═══════════════ ESTADO VAZIO ═══════════════ */
.empty-state {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--color-text-muted);
}

.empty-icon {
  font-size: 3rem;
  display: block;
  margin-bottom: 1rem;
}

.empty-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-text-light);
  margin-bottom: 0.5rem;
}

.empty-sub {
  font-size: 0.9rem;
}

/* ═══════════════ VER RANKING LINK ═══════════════ */
.view-ranking-link {
  display: block;
  text-align: center;
  padding: 1.5rem;
  margin-top: 1rem;
  background: var(--color-bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-primary);
  transition: all var(--transition-base);
  min-height: var(--touch-min);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.view-ranking-link:hover {
  background: var(--color-primary);
  color: #fff;
  box-shadow: var(--shadow-md);
}

/* ═══════════════ PÁGINA DE POST INDIVIDUAL ═══════════════ */
.post-single {
  max-width: 48rem;
  margin: 0 auto;
}

.post-single-image-container {
  background: var(--color-bg-card);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 1.5rem;
}

.post-single-image {
  width: 100%;
  height: auto;
  max-height: 70vh;
  object-fit: contain;
  background: #1a1a2e;
}

.post-single-body {
  background: var(--color-bg-card);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
}

.post-single-description {
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 1rem;
  color: var(--color-text);
}

.post-single-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.88rem;
  color: var(--color-text-light);
}

.post-single-meta-item {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.post-single-display-id {
  font-family: 'Courier New', monospace;
  font-weight: 700;
  background: #f1f3f5;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  color: var(--color-text);
}

.post-single-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.post-single-share {
  padding-top: 1rem;
  border-top: 1px solid var(--color-border-light);
}

.post-single-share-title {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--color-text-light);
}

.related-section {
  margin-top: 2rem;
}

.related-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--color-text);
}

/* ═══════════════ PÁGINA DE UPLOAD ═══════════════ */
.page-upload {
  max-width: 40rem;
  margin: 0 auto;
}

.upload-container {
  background: var(--color-bg-card);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
}

.upload-title {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
  text-align: center;
  color: var(--color-text);
}

.upload-subtitle {
  font-size: 0.9rem;
  color: var(--color-text-light);
  text-align: center;
  margin-bottom: 1.5rem;
}

.drop-zone {
  border: 2.5px dashed var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 1.5rem;
  text-align: center;
  transition: all var(--transition-base);
  cursor: pointer;
  background: #fafbfc;
  min-height: 12rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.drop-zone:hover,
.drop-zone.dragover {
  border-color: var(--color-primary);
  background: #fff5f0;
}

.drop-zone-icon {
  font-size: 2.5rem;
}

.drop-zone-text {
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-text);
}

.drop-zone-hint {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.file-input {
  display: none;
}

.preview-container {
  margin-top: 1rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #e9ecef;
  display: none;
}

.preview-container.active {
  display: block;
}

.preview-image {
  width: 100%;
  max-height: 20rem;
  object-fit: contain;
  background: #1a1a2e;
}

.upload-progress {
  margin-top: 1rem;
  display: none;
}

.upload-progress.active {
  display: block;
}

.progress-bar-bg {
  background: #e9ecef;
  border-radius: var(--radius-full);
  height: 0.5rem;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  border-radius: var(--radius-full);
  width: 0%;
  transition: width 0.3s ease;
}

.progress-text {
  font-size: 0.8rem;
  color: var(--color-text-light);
  text-align: center;
  margin-top: 0.5rem;
}

.upload-message {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  font-weight: 500;
  font-size: 0.9rem;
  display: none;
}

.upload-message.success {
  display: block;
  background: #e6fff8;
  color: #087f5b;
  border: 1px solid #b2f5e6;
}

.upload-message.error {
  display: block;
  background: #fff5f5;
  color: var(--color-danger-dark);
  border: 1px solid #ffc9d5;
}

.btn-upload {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  background: var(--color-primary);
  color: #fff;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 1rem;
  transition: all var(--transition-base);
  min-height: var(--touch-min);
  border: none;
  cursor: pointer;
  margin-top: 1rem;
  width: 100%;
}

.btn-upload:hover {
  background: var(--color-primary-dark);
  transform: scale(1.02);
}

.btn-upload:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* ═══════════════ PÁGINAS DE ERRO ═══════════════ */
.page-error {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50vh;
  padding: 2rem 1rem;
}

.error-container {
  text-align: center;
  max-width: 28rem;
}

.error-emoji {
  font-size: 4rem;
  display: block;
  margin-bottom: 1rem;
}

.error-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

.error-detail {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
  word-break: break-word;
}

.error-sub {
  color: var(--color-text-light);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

/* ═══════════════ BOTÕES GENÉRICOS ═══════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.65rem 1.5rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.9rem;
  transition: all var(--transition-base);
  min-height: var(--touch-min);
  text-decoration: none;
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  color: #fff;
  transform: scale(1.03);
}

.btn-secondary {
  background: #e9ecef;
  color: var(--color-text);
}

.btn-secondary:hover {
  background: #dee2e6;
}

.btn-danger {
  background: var(--color-danger);
  color: #fff;
}

.btn-danger:hover {
  background: var(--color-danger-dark);
  color: #fff;
}

.btn-success {
  background: var(--color-success);
  color: #fff;
}

.btn-success:hover {
  background: #05b98a;
  color: #fff;
}

/* ═══════════════ ADMIN LAYOUT (Sidebar + Main) ═══════════════ */
.admin-layout {
  background: #f0f2f5;
}

.admin-layout .site-header,
.admin-layout .site-footer,
.admin-layout .moderation-bar {
  display: none;
}

.admin-shell {
  display: flex;
  min-height: 100vh;
  min-height: 100dvh;
}

/* ─── SIDEBAR ─── */
.admin-sidebar {
  width: 16rem; /* 256px */
  background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 1100;
  overflow-y: auto;
  overflow-x: hidden;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-right: 1px solid rgba(255,255,255,0.05);
}

.sidebar-header {
  padding: 1.25rem 1.25rem 0.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
  color: #fff;
}

.sidebar-logo {
  font-size: 1.5rem;
}

.sidebar-name {
  font-weight: 800;
  font-size: 1rem;
  color: #fff;
}

.sidebar-name span {
  color: #FF6B35;
  margin-left: 0.2rem;
}

/* ─── SIDEBAR USER ─── */
.sidebar-user {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.sidebar-avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  object-fit: cover;
  border: 2px solid rgba(255,107,53,0.5);
  flex-shrink: 0;
}

.sidebar-avatar-placeholder {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background: rgba(255,107,53,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.sidebar-user-info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.sidebar-user-name {
  font-weight: 600;
  font-size: 0.85rem;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sidebar-user-role {
  display: inline-block;
  padding: 0.1rem 0.45rem;
  border-radius: 9999px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  align-self: flex-start;
}

.sidebar-user-role.admin {
  background: rgba(46,196,182,0.15);
  color: #2EC4B6;
}

.sidebar-user-role.moderator {
  background: rgba(26,115,232,0.15);
  color: #5b9cf5;
}

/* ─── SIDEBAR NAV ─── */
.sidebar-nav {
  flex: 1;
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.6rem 0.75rem;
  border-radius: 0.5rem;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  transition: all 0.2s ease;
  min-height: 44px;
  position: relative;
}

.sidebar-link:hover {
  background: rgba(255,255,255,0.06);
  color: #fff;
}

.sidebar-link.active {
  background: rgba(255,107,53,0.15);
  color: #FF6B35;
  font-weight: 600;
}

.sidebar-link.active::before {
  content: '';
  position: absolute;
  left: -0.75rem;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 1.2rem;
  background: #FF6B35;
  border-radius: 0 3px 3px 0;
}

.sidebar-icon {
  font-size: 1.1rem;
  width: 1.5rem;
  text-align: center;
  flex-shrink: 0;
}

.sidebar-label {
  flex: 1;
}

.sidebar-badge {
  background: rgba(255,107,53,0.2);
  color: #FF6B35;
  padding: 0.1rem 0.45rem;
  border-radius: 9999px;
  font-size: 0.7rem;
  font-weight: 700;
  min-width: 1.3rem;
  text-align: center;
}

.sidebar-badge.danger {
  background: rgba(239,71,111,0.2);
  color: #EF476F;
}

/* ─── SIDEBAR FOOTER ─── */
.sidebar-footer {
  padding: 0.5rem 0.75rem 0.75rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.sidebar-logout {
  color: rgba(255,255,255,0.5) !important;
}

.sidebar-logout:hover {
  color: #EF476F !important;
  background: rgba(239,71,111,0.1);
}

/* ─── SIDEBAR OVERLAY (mobile) ─── */
.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1090;
  backdrop-filter: blur(2px);
}

.sidebar-overlay.visible {
  display: block;
}

/* ─── MAIN CONTENT ─── */
.admin-main {
  flex: 1;
  margin-left: 16rem; /* width da sidebar */
  padding: 1.5rem;
  max-width: 80rem;
  min-width: 0;
}

/* ─── TOPBAR (mobile) ─── */
.admin-topbar {
  display: none; /* hidden no desktop */
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--color-border-light);
}

.sidebar-toggle {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  padding: 0.55rem;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  background: var(--color-bg-card);
  box-shadow: var(--shadow-sm);
  transition: background 0.2s;
}

.sidebar-toggle:hover {
  background: #e9ecef;
}

.toggle-bar {
  width: 1.25rem;
  height: 0.12rem;
  background: var(--color-text);
  border-radius: 2px;
  transition: all 0.25s ease;
}

.sidebar-open .toggle-bar:nth-child(1) {
  transform: rotate(45deg) translate(0.25rem, 0.25rem);
  width: 1.4rem;
}

.sidebar-open .toggle-bar:nth-child(2) {
  opacity: 0;
}

.sidebar-open .toggle-bar:nth-child(3) {
  transform: rotate(-45deg) translate(0.25rem, -0.25rem);
  width: 1.4rem;
}

.topbar-title {
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.topbar-spacer {
  flex: 1;
}

/* ─── TOAST (admin feedback) ─── */
.admin-toast {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 9999;
  padding: 0.85rem 1.25rem;
  border-radius: 0.75rem;
  color: #fff;
  font-weight: 600;
  font-size: 0.88rem;
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
  transform: translateY(120%);
  opacity: 0;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  max-width: 90vw;
}

.admin-toast.show {
  transform: translateY(0);
  opacity: 1;
}

.admin-toast.success {
  background: #087f5b;
}

.admin-toast.error {
  background: var(--color-danger);
}

.admin-toast.info {
  background: #1a73e8;
}

/* ═══════════════ ADMIN DASHBOARD ═══════════════ */
.admin-page {
  max-width: 64rem;
  margin: 0 auto;
}

.admin-header {
  margin-bottom: 1.5rem;
}

.admin-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--color-text);
}

.admin-subtitle {
  font-size: 0.88rem;
  color: var(--color-text-light);
  margin-top: 0.25rem;
}

/* Stats grid */
.stats-grid {
  display: grid;
  grid-template-columns: 1fr; /* 1 col no mobile */
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.stat-card {
  background: var(--color-bg-card);
  border-radius: var(--radius-lg);
  padding: 1.15rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  transition: transform var(--transition-fast);
}

.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.stat-icon {
  font-size: 2rem;
  width: 2.5rem;
  text-align: center;
  flex-shrink: 0;
}

.stat-info {
  flex: 1;
}

.stat-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-text);
  line-height: 1.2;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

/* Admin table */
.admin-table-container {
  background: var(--color-bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.admin-table-header {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--color-border-light);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.admin-table-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text);
}

.admin-table-filters {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.admin-filter-link {
  padding: 0.35rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  background: #e9ecef;
  color: var(--color-text-light);
  transition: all var(--transition-fast);
}

.admin-filter-link:hover,
.admin-filter-link.active {
  background: var(--color-primary);
  color: #fff;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.admin-table th {
  text-align: left;
  padding: 0.7rem 1rem;
  background: #f8f9fa;
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text-light);
  border-bottom: 2px solid var(--color-border-light);
}

.admin-table td {
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--color-border-light);
  vertical-align: middle;
}

.admin-table tr:last-child td {
  border-bottom: none;
}

.admin-table tr:hover td {
  background: #fafbfc;
}

.admin-post-thumb {
  width: 4rem;
  height: 3rem;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.admin-actions {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.btn-admin-action {
  padding: 0.35rem 0.7rem;
  font-size: 0.73rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  min-height: var(--touch-min);
  min-width: var(--touch-min);
  white-space: nowrap;
  border: 1.5px solid transparent;
}

.btn-admin-approve {
  background: #e6fff8;
  color: #087f5b;
  border-color: #b2f5e6;
}

.btn-admin-approve:hover {
  background: #087f5b;
  color: #fff;
}

.btn-admin-delete {
  background: #fff5f5;
  color: var(--color-danger-dark);
  border-color: #ffc9d5;
}

.btn-admin-delete:hover {
  background: var(--color-danger);
  color: #fff;
}

.btn-admin-restore {
  background: #e8f4fd;
  color: #1a73e8;
  border-color: #b8d4fb;
}

.btn-admin-restore:hover {
  background: #1a73e8;
  color: #fff;
}

.btn-admin-promote {
  background: #fffbe6;
  color: #b8860b;
  border-color: #ffecb3;
}

.btn-admin-promote:hover {
  background: #b8860b;
  color: #fff;
}

.status-badge {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.status-badge.approved {
  background: #e6fff8;
  color: #087f5b;
}

.status-badge.pending {
  background: #fffbe6;
  color: #b8860b;
}

.status-badge.blocked {
  background: #fff5f5;
  color: var(--color-danger-dark);
}

.status-badge.admin {
  background: #e8e0ff;
  color: #6c3cf0;
}

.status-badge.moderator {
  background: #e8f4fd;
  color: #1a73e8;
}

.status-badge.user {
  background: #f1f3f5;
  color: #6c757d;
}

/* Admin form */
.admin-form {
  background: var(--color-bg-card);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
}

.admin-form-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--color-text);
}

.form-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.form-input {
  flex: 1;
  min-width: 12rem;
  padding: 0.6rem 0.85rem;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  transition: border-color var(--transition-fast);
}

.form-input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(255,107,53,0.1);
}

.form-input::placeholder {
  color: var(--color-text-muted);
}

/* Pagination */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem;
  flex-wrap: wrap;
}

.pagination-link {
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.85rem;
  background: #e9ecef;
  color: var(--color-text);
  transition: all var(--transition-fast);
  min-height: var(--touch-min);
  min-width: var(--touch-min);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pagination-link:hover,
.pagination-link.active {
  background: var(--color-primary);
  color: #fff;
}

.pagination-link.disabled {
  opacity: 0.4;
  pointer-events: none;
}

/* ═══════════════ SKELETON LOADING ═══════════════ */
.skeleton {
  background: linear-gradient(90deg, #e9ecef 25%, #f1f3f5 50%, #e9ecef 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s ease-in-out infinite;
  border-radius: var(--radius-sm);
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.skeleton-image {
  aspect-ratio: 4 / 3;
  width: 100%;
}

.skeleton-text {
  height: 0.9rem;
  margin-bottom: 0.5rem;
}

.skeleton-text:last-child {
  width: 65%;
}

/* ═══════════════ FOOTER ═══════════════ */
.site-footer {
  background: var(--color-bg-footer);
  color: var(--color-text-white);
  margin-top: auto;
  padding: 1.5rem 1rem;
}

.footer-container {
  max-width: 80rem;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  font-size: 0.95rem;
}

.footer-logo {
  font-size: 1.3rem;
}

.footer-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-link {
  color: var(--color-text-muted);
  font-size: 0.85rem;
  font-weight: 500;
  transition: color var(--transition-fast);
  min-height: var(--touch-min);
  display: flex;
  align-items: center;
}

.footer-link:hover {
  color: var(--color-primary);
}

.footer-login {
  color: var(--color-accent);
}

.footer-info {
  width: 100%;
  text-align: center;
}

.footer-copy {
  font-size: 0.8rem;
  color: #adb5bd;
}

.footer-tagline {
  color: #6c757d;
}

.footer-meta {
  display: flex;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: #6c757d;
  align-items: center;
}

.footer-tz {
  background: rgba(255,255,255,0.08);
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
}

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

/* ══════════════════════════════════════════════
   MEDIA QUERIES — TABLET (768px+)
   ══════════════════════════════════════════════ */
@media (min-width: 48rem) { /* 768px */
  .header-container {
    padding: 0 1.5rem;
  }

  .main-nav {
    display: flex;
  }

  .user-area {
    display: flex;
  }

  .menu-toggle {
    display: none;
  }

  .mobile-nav {
    display: none !important;
  }

  .site-main {
    padding: 1.5rem;
  }

  /* Grid de 2 colunas */
  .posts-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Stats grid: 2 colunas */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Post individual */
  .post-single-body {
    padding: 1.5rem;
  }

  /* Upload */
  .upload-container {
    padding: 2rem;
  }

  .drop-zone {
    padding: 3rem 2rem;
  }

  /* Feed section titles */
  .feed-section-title {
    font-size: 1.35rem;
  }
}

/* ══════════════════════════════════════════════
   MEDIA QUERIES — NOTEBOOK (1024px+)
   ══════════════════════════════════════════════ */
@media (min-width: 64rem) { /* 1024px */
  .header-container {
    padding: 0 2rem;
  }

  .site-main {
    padding: 2rem;
  }

  /* Grid de 3 colunas */
  .posts-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Stats grid: 4 colunas */
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  /* Featured card maior */
  .featured-card {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
  }

  .featured-image {
    max-height: 100%;
    aspect-ratio: auto;
  }

  .featured-body {
    padding: 1.5rem;
  }

  .featured-description {
    font-size: 1.3rem;
  }

  /* Admin table mais espaçada */
  .admin-table th,
  .admin-table td {
    padding: 0.85rem 1.25rem;
  }

  .footer-container {
    gap: 2rem;
  }
}

/* ══════════════════════════════════════════════
   MEDIA QUERIES — DESKTOP (1280px+)
   ══════════════════════════════════════════════ */
@media (min-width: 80rem) { /* 1280px */
  /* Grid de 4 colunas */
  .posts-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  /* Título do feed maior */
  .feed-section-title {
    font-size: 1.5rem;
  }

  .logo {
    font-size: 1.25rem;
  }

  .logo-icon {
    font-size: 1.6rem;
  }
}

/* ═══════════════ ACESSIBILIDADE ═══════════════ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* Focus visível para navegação por teclado */
:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ═══════════════ OVERFLOW PREVENTION ═══════════════ */
body.no-scroll {
  overflow: hidden;
}

/* ══════════════════════════════════════════════
   ADMIN RESPONSIVO — MOBILE (< 1024px)
   ══════════════════════════════════════════════ */
@media (max-width: 63.9375rem) { /* < 1024px */
  .admin-sidebar {
    transform: translateX(-100%);
  }

  .admin-sidebar.open {
    transform: translateX(0);
    box-shadow: 4px 0 25px rgba(0,0,0,0.3);
  }

  .admin-main {
    margin-left: 0;
    padding: 1rem;
  }

  .admin-topbar {
    display: flex;
  }

  .sidebar-link.active::before {
    display: none;
  }
}

/* ══════════════════════════════════════════════
   ADMIN RESPONSIVO — TABLET+ (≥ 768px)
   ══════════════════════════════════════════════ */
@media (min-width: 48rem) { /* 768px */
  .admin-main {
    padding: 1.5rem;
  }
}

/* ══════════════════════════════════════════════
   ADMIN RESPONSIVO — DESKTOP (≥ 1280px)
   ══════════════════════════════════════════════ */
@media (min-width: 80rem) { /* 1280px */
  .admin-main {
    padding: 2rem;
  }

  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
