/**
 * WP STUDIO - Apple VisionOS Liquid Glass Design System v2.0
 * Apple Expo Liquid Glass: High-Refraction Specular Rim, Dynamic Vibrancy Blur,
 * Multi-layer Drop Glows & Fluid Tactile Micro-Interactions.
 */

/* ==========================================================================
   DESIGN TOKENS - DARK & LIGHT MODES (APPLE LIQUID GLASS EXPANDED)
   ========================================================================== */

:root, [data-theme="dark"] {
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Plus Jakarta Sans", sans-serif;

  --bg-deep: #07090e;
  --bg-surface: rgba(18, 24, 40, 0.45);
  --bg-surface-hover: rgba(28, 38, 62, 0.65);
  --bg-glass-card: rgba(14, 20, 36, 0.42);
  --bg-glass-card-hover: rgba(22, 32, 54, 0.68);

  /* Apple Liquid Glass Optical Borders & Specular Reflections (VisionOS / macOS) */
  --glass-border: rgba(255, 255, 255, 0.16);
  --glass-border-hover: rgba(56, 189, 248, 0.65);
  --glass-specular: inset 0 1px 1px 0 rgba(255, 255, 255, 0.4), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  --glass-specular-active: inset 0 1px 2px 0 rgba(255, 255, 255, 0.75), inset 0 -1px 1px 0 rgba(0, 0, 0, 0.4);
  --glass-glow: 0 16px 40px -10px rgba(0, 0, 0, 0.7), 0 0 28px rgba(56, 189, 248, 0.22);
  --glass-glow-hover: 0 22px 50px -10px rgba(0, 0, 0, 0.8), 0 0 40px rgba(56, 189, 248, 0.4);

  /* Liquid Glass Blur & Saturation */
  --glass-blur: 28px;
  --glass-blur-heavy: 40px;
  --glass-saturate: 220%;

  --text-white: #ffffff;
  --text-primary: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --header-bg: rgba(10, 15, 28, 0.52);
  --footer-bg: rgba(7, 10, 18, 0.75);

  --body-bg: 
    radial-gradient(ellipse 90% 60% at 50% -12%, rgba(56, 189, 248, 0.28), transparent 75%),
    radial-gradient(ellipse 70% 50% at 90% 12%, rgba(129, 140, 248, 0.22), transparent 65%),
    radial-gradient(ellipse 65% 45% at 10% 45%, rgba(59, 130, 246, 0.16), transparent 60%),
    radial-gradient(ellipse 80% 50% at 85% 75%, rgba(14, 165, 233, 0.15), transparent 65%),
    linear-gradient(180deg, #0b0f19 0%, #07090e 45%, #040508 100%);
}

[data-theme="light"] {
  --bg-deep: #f5f7fb;
  --bg-surface: rgba(255, 255, 255, 0.58);
  --bg-surface-hover: rgba(255, 255, 255, 0.82);
  --bg-glass-card: rgba(255, 255, 255, 0.62);
  --bg-glass-card-hover: rgba(255, 255, 255, 0.88);

  --glass-border: rgba(255, 255, 255, 0.88);
  --glass-border-hover: rgba(56, 189, 248, 0.7);
  --glass-specular: inset 0 1px 1.5px 0 rgba(255, 255, 255, 0.95), inset 0 0 0 1px rgba(255, 255, 255, 0.45);
  --glass-specular-active: inset 0 1px 2.5px 0 rgba(255, 255, 255, 1), inset 0 -1px 1px 0 rgba(0, 0, 0, 0.08);
  --glass-glow: 0 16px 40px -10px rgba(15, 23, 42, 0.08), 0 0 25px rgba(56, 189, 248, 0.18);
  --glass-glow-hover: 0 22px 50px -12px rgba(15, 23, 42, 0.15), 0 0 35px rgba(56, 189, 248, 0.32);

  --glass-blur: 28px;
  --glass-blur-heavy: 40px;
  --glass-saturate: 220%;

  --text-white: #090d16;
  --text-primary: #1e293b;
  --text-muted: #475569;
  --text-dim: #64748b;

  --header-bg: rgba(255, 255, 255, 0.62);
  --footer-bg: rgba(245, 247, 251, 0.78);

  --body-bg: 
    radial-gradient(ellipse 95% 55% at 50% -10%, rgba(56, 189, 248, 0.28), transparent 75%),
    radial-gradient(ellipse 70% 45% at 85% 15%, rgba(129, 140, 248, 0.2), transparent 65%),
    linear-gradient(180deg, #ffffff 0%, #f1f5f9 45%, #e2e8f0 100%);
}

/* ==========================================================================
   RESET & FADE AMBIENTE NA PÁGINA INTEIRA
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--body-bg) !important;
  background-attachment: fixed !important;
  background-color: var(--bg-deep);
  border-top: none !important;
  outline: none !important;
}

body {
  background: transparent !important;
  color: var(--text-primary);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 0;
  padding: 0;
  border-top: none !important;
  outline: none !important;
  line-height: 1.65;
  transition: background 0.3s ease, color 0.3s ease;
}

::selection {
  background: rgba(56, 189, 248, 0.35);
  color: #ffffff;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--text-white);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.25;
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Containers */
.studio-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 28px;
}

.studio-container-narrow {
  max-width: var(--reading-width, 840px);
  margin: 0 auto;
  padding: 0 24px;
}

.studio-main {
  min-height: calc(100vh - 200px);
  padding: 40px 0 100px;
}

/* ==========================================================================
   HEADER & FLOATING LIQUID GLASS NAVBAR (APPLE VISIONOS EXPO GLASS)
   ========================================================================== */
.studio-header {
  position: sticky;
  top: 16px;
  z-index: 1000;
  margin: 0 auto 24px;
  padding: 16px 16px 0;
  max-width: 1280px;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Offset nativo para usuários conectados com barra de admin do WordPress */
body.admin-bar .studio-header {
  top: 32px;
  padding-top: 16px;
}
@media screen and (max-width: 782px) {
  body.admin-bar .studio-header {
    top: 46px;
    padding-top: 12px;
  }
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 20px;
  gap: 16px;
  border-radius: 9999px;
  background: var(--header-bg) !important;
  border: 1px solid var(--glass-border) !important;
  backdrop-filter: blur(var(--glass-blur-heavy)) saturate(var(--glass-saturate)) !important;
  -webkit-backdrop-filter: blur(var(--glass-blur-heavy)) saturate(var(--glass-saturate)) !important;
  box-shadow: 
    0 14px 34px -10px rgba(0, 0, 0, 0.45),
    0 0 24px rgba(56, 189, 248, 0.12),
    var(--glass-specular) !important;
  position: relative;
  overflow: hidden;
}

@media (max-width: 768px) {
  .studio-header {
    top: 10px;
    margin: 0 auto 14px;
    padding: 0 12px;
  }
  .header-inner {
    border-radius: 20px;
    padding: 8px 16px;
  }
}

.header-brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  z-index: 2;
  padding-left: 6px;
}

.site-title {
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-white);
  transition: opacity 0.2s ease;
}
.site-title:hover {
  opacity: 0.9;
}

.header-brand img {
  max-height: 36px;
  width: auto;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.25));
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.header-brand:hover img {
  transform: scale(1.04);
}

/* Apple iOS Clean Navigation (Sem balão interno redundante) */
.ios-glass-nav {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
  background: transparent !important;
  border: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: none !important;
  z-index: 2;
}

[data-theme="light"] .ios-glass-nav {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.ios-glass-nav li {
  margin: 0;
  padding: 0;
}

/* Apple iOS Segmented Capsule Item */
.ios-pill-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 8px 18px;
  border-radius: 9999px;
  background: transparent;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.ios-pill-item span {
  letter-spacing: -0.01em;
  position: relative;
  z-index: 1;
}

.ios-pill-item:hover {
  color: var(--text-white);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
}

[data-theme="light"] .ios-pill-item:hover {
  background: rgba(15, 23, 42, 0.06);
  border-color: rgba(15, 23, 42, 0.1);
}

.ios-pill-item:active {
  transform: scale(0.96);
}

/* Estado Ativo: Apple Liquid Glass Blue/Cyan Glow com Reflexo */
.ios-glass-nav li.current-menu-item .ios-pill-item,
.ios-glass-nav li.current-cat .ios-pill-item,
.ios-glass-nav li.current-post-ancestor .ios-pill-item,
.ios-pill-item.active-cat-pill {
  color: #030712 !important;
  background: linear-gradient(135deg, var(--accent-cyan, #38bdf8), #60a5fa) !important;
  border: 1px solid rgba(255, 255, 255, 0.75) !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 20px rgba(56, 189, 248, 0.5), inset 0 1px 1.5px rgba(255, 255, 255, 0.9) !important;
}

/* Reflexo óptico líquido no item ativo */
.ios-glass-nav li.current-menu-item .ios-pill-item::before,
.ios-glass-nav li.current-cat .ios-pill-item::before,
.ios-pill-item.active-cat-pill::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.42) 0%, transparent 100%);
  border-radius: 9999px 9999px 0 0;
  pointer-events: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.theme-toggle-btn {
  background: var(--bg-surface);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  width: 42px;
  height: 42px;
  border-radius: 50%;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  box-shadow: var(--glass-specular);
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.theme-toggle-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, transparent 100%);
  border-radius: 42px 42px 0 0;
  pointer-events: none;
}

.theme-toggle-btn:hover {
  color: var(--accent-cyan);
  background: var(--bg-surface-hover);
  border-color: var(--glass-border-hover);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2), 0 0 16px rgba(56, 189, 248, 0.3), var(--glass-specular-active);
  transform: scale(1.1);
}

.theme-toggle-btn:active {
  transform: scale(0.95);
}

[data-theme="dark"] .sun-icon { display: block; }
[data-theme="dark"] .moon-icon { display: none; }
[data-theme="light"] .sun-icon { display: none; }
[data-theme="light"] .moon-icon { display: block; }

/* ==========================================================================
   HOMEPAGE: SEÇÕES ORGANIZADAS & CATEGORIAS INTEGRADAS
   ========================================================================== */
.home-section {
  margin-bottom: 70px;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--glass-border);
  padding-bottom: 16px;
  flex-wrap: wrap;
  gap: 12px;
}

.section-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: var(--text-white);
  background: var(--bg-surface);
  border: 1px solid var(--glass-border);
  padding: 6px 16px;
  border-radius: 9999px;
  box-shadow: var(--glass-specular);
}

.section-subtitle {
  font-size: 0.88rem;
  color: var(--text-dim);
}

.section-count {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.section-see-all {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-cyan);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.section-see-all:hover {
  color: var(--text-white);
  transform: translateX(3px);
}

/* ==========================================================================
   CARDS: DESIGN SYSTEM UNIFICADO (100% PROPORCIONAL & PADRONIZADO)
   ========================================================================== */
.hero-posts-grid,
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, var(--grid-minmax, minmax(360px, 1fr)));
  gap: 28px;
}

@media (max-width: 768px) {
  .hero-posts-grid,
  .posts-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.post-card {
  background: var(--bg-surface) !important;
  border: 1px solid var(--glass-border) !important;
  border-radius: 24px;
  overflow: hidden;
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate)) !important;
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate)) !important;
  box-shadow: 0 12px 32px -10px rgba(0, 0, 0, 0.45), var(--glass-specular);
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

/* Reflexo óptico no topo de cada card */
.post-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 45%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, transparent 100%);
  border-radius: 24px 24px 0 0;
  pointer-events: none;
  z-index: 1;
}

.card-hitbox {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  cursor: pointer;
}

.post-card:hover {
  transform: translateY(-6px);
  border-color: var(--glass-border-hover) !important;
  background: var(--bg-surface-hover) !important;
  box-shadow: var(--glass-glow-hover), var(--glass-specular) !important;
}

/* Proporção Áurea/Cinematográfica Universal 16:9 Padronizada */
.card-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto !important;
  min-height: auto !important;
  max-height: none !important;
  overflow: hidden;
  position: relative;
  background: #0d111d;
  border-bottom: 1px solid var(--glass-border);
}

.card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
}

.post-card:hover .card-thumb img {
  transform: scale(1.05);
  filter: brightness(1.06);
}

.card-body {
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-grow: 1;
}

.card-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 12px;
  line-height: 1.25;
}

.card-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-cyan);
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.25);
  padding: 3px 9px;
  border-radius: 9999px;
  white-space: nowrap !important;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.card-date,
.card-reading-time {
  white-space: nowrap !important;
  display: inline-flex;
  align-items: center;
  font-size: 0.78rem;
  color: var(--text-dim);
  font-weight: 500;
}

.card-title {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-white);
  transition: color 0.2s ease;
  margin: 0;
  min-height: calc(1.2rem * 1.35 * 2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-card:hover .card-title {
  color: var(--accent-cyan);
}

.card-excerpt {
  margin-top: auto;
}

.card-excerpt p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ==========================================================================
   PAGINAÇÃO ESPAÇADA EM PÍLULAS (APPLE VISIONOS EXPO GLASS)
   ========================================================================== */
.pagination-wrapper {
  margin-top: 60px;
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  width: 100%;
}

.pagination-wrapper .pagination {
  display: flex;
  justify-content: center;
}

.pagination-wrapper .nav-links {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-surface);
  border: 1px solid var(--glass-border);
  padding: 8px 16px;
  border-radius: 9999px;
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2), var(--glass-specular);
  list-style: none;
  position: relative;
  overflow: hidden;
}

.pagination-wrapper .nav-links::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, transparent 100%);
  border-radius: 9999px 9999px 0 0;
  pointer-events: none;
}

.pagination-wrapper .page-numbers {
  min-width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border-radius: 9999px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  background: transparent;
  border: 1px solid transparent;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  position: relative;
}

.pagination-wrapper .page-numbers:hover {
  color: var(--text-white);
  background: var(--bg-surface-hover);
  border-color: var(--glass-border-hover);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18), var(--glass-specular);
  transform: translateY(-2px) scale(1.05);
}

.pagination-wrapper .page-numbers:active {
  transform: translateY(0) scale(0.96);
}

.pagination-wrapper .page-numbers.current {
  background: linear-gradient(135deg, var(--accent-cyan, #38bdf8), #60a5fa) !important;
  color: #040812 !important;
  font-weight: 800 !important;
  border: 1px solid rgba(255, 255, 255, 0.5) !important;
  box-shadow: 0 4px 20px rgba(56, 189, 248, 0.5), inset 0 1px 1.5px rgba(255, 255, 255, 0.8) !important;
  transform: none;
}

/* ==========================================================================
   PÁGINA DO ARTIGO (SINGLE POST EDITORIAL LEITURA)
   ========================================================================== */
.single-article {
  padding: 20px 0 60px;
}

.article-header {
  margin-bottom: 40px;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.article-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-cyan);
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.25);
  padding: 4px 12px;
  border-radius: 9999px;
}

.article-date {
  font-size: 0.85rem;
  color: var(--text-dim);
}

.article-title {
  font-size: 2.85rem;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.2;
  color: var(--text-white);
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .article-title {
    font-size: 2rem;
  }
}

.article-lead {
  font-size: 1.25rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

.article-featured-image {
  margin-bottom: 48px;
}

.article-featured-image img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: 20px;
  border: 1px solid var(--glass-border);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.article-content {
  font-size: 1.15rem;
  line-height: 1.85;
  color: var(--text-primary);
}

.article-content p {
  margin-top: 0;
  margin-bottom: 2rem;
}

.article-content h2 {
  font-size: 1.95rem;
  margin-top: 3.5rem;
  margin-bottom: 1.25rem;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--glass-border);
}

.article-content h3 {
  font-size: 1.45rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.article-content blockquote {
  background: var(--bg-surface);
  border: 1px solid var(--glass-border);
  border-left: 4px solid var(--accent-cyan);
  border-radius: 0 16px 16px 0;
  padding: 24px 28px;
  margin: 2.5rem 0;
  font-size: 1.15rem;
  color: var(--text-white);
  backdrop-filter: blur(16px);
  box-shadow: var(--glass-specular);
}

.article-author-card {
  background: var(--bg-surface);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 28px;
  margin-top: 60px;
  display: flex;
  align-items: center;
  gap: 20px;
  backdrop-filter: blur(16px);
  box-shadow: var(--glass-specular);
}

.article-author-card img {
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.15);
}

.author-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  color: var(--text-dim);
  letter-spacing: 0.06em;
}

.author-name {
  font-size: 1.2rem;
  margin: 2px 0 6px;
}

.author-bio {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin: 0;
}

/* ==========================================================================
   FOOTER (FROSTED GLASS)
   ========================================================================== */
.studio-footer {
  background: var(--footer-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--glass-border);
  padding: 60px 0 35px;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 20px;
}

.site-title-footer {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-white);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.88rem;
}

.footer-links a:hover {
  color: var(--text-white);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--glass-border);
  flex-wrap: wrap;
  gap: 15px;
}

.copyright {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin: 0;
}

.powered-by {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-dim);
  letter-spacing: 0.08em;
}

/* =========================================================
   WP STUDIO v1.4 - TOC, ADS, SHARE BAR, RELATED & COOKIES
   ========================================================= */
.article-read-time {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.studio-toc {
  background: var(--bg-surface);
  border: 1px solid var(--glass-border);
  border-left: 4px solid var(--accent-cyan);
  border-radius: 20px;
  padding: 24px 28px;
  margin: 2.2rem 0 2.8rem;
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15), var(--glass-specular);
  position: relative;
  overflow: hidden;
}

.studio-toc::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 45%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, transparent 100%);
  border-radius: 20px 20px 0 0;
  pointer-events: none;
}

.studio-toc-title {
  font-size: 0.92rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-white);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.studio-toc-list {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 8px;
}

.studio-toc-list li a {
  color: var(--text-primary);
  font-size: 0.96rem;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-block;
}

.studio-toc-list li a:hover {
  color: var(--accent-cyan);
  transform: translateX(4px);
}

.studio-ad-slot {
  background: var(--bg-surface);
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  padding: 20px;
  margin: 2.2rem auto;
  text-align: center;
  overflow: hidden;
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12), var(--glass-specular);
}

.studio-share-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  background: var(--bg-surface);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 18px 24px;
  margin-bottom: 28px;
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.14), var(--glass-specular);
  position: relative;
  overflow: hidden;
}

.studio-share-bar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
  border-radius: 20px 20px 0 0;
  pointer-events: none;
}

.studio-share-label {
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--text-white);
  letter-spacing: -0.01em;
}

.studio-share-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* Apple Liquid Glass Share Buttons */
.studio-share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  box-shadow: var(--glass-specular);
  text-decoration: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.studio-share-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16) 0%, transparent 100%);
  border-radius: 999px 999px 0 0;
  pointer-events: none;
}

.studio-share-btn:hover {
  background: var(--bg-surface-hover);
  border-color: var(--glass-border-hover);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25), 0 0 16px rgba(56, 189, 248, 0.22), var(--glass-specular-active);
  transform: translateY(-2px) scale(1.03);
}

.studio-share-btn:active {
  transform: translateY(0) scale(0.97);
}

.studio-share-btn:hover {
  background: var(--accent-cyan);
  color: #050505;
  border-color: var(--accent-cyan);
}

.related-posts-section {
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--glass-border);
}

.studio-cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  max-width: 820px;
  z-index: 99998;
  background: rgba(15, 19, 29, 0.92);
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  padding: 16px 22px;
  backdrop-filter: blur(22px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

.studio-cookie-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.studio-cookie-text {
  margin: 0;
  font-size: 0.88rem;
  color: #e2e8f0;
  flex: 1;
  min-width: 240px;
}

.studio-cookie-btn {
  background: var(--accent-cyan);
  color: #050505;
  font-weight: 700;
  font-size: 0.85rem;
  border: none;
  border-radius: 999px;
  padding: 10px 22px;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.2s ease;
}

.studio-cookie-btn:hover {
  opacity: 0.9;
}

/* ==========================================================================
   WP STUDIO v1.5: BREADCRUMBS, LIVE SEARCH MODAL, BACK TO TOP & CALLOUTS
   ========================================================================== */
.studio-breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-bottom: 14px;
}

.studio-breadcrumbs a {
  color: var(--text-muted);
  font-weight: 500;
}

.studio-breadcrumbs a:hover {
  color: var(--accent-cyan);
}

.studio-breadcrumbs .bc-sep {
  opacity: 0.5;
}

.studio-breadcrumbs .bc-current {
  color: var(--text-white);
  opacity: 0.85;
}

.studio-back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: var(--bg-surface);
  border: 1px solid var(--glass-border);
  color: var(--text-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 9990;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.studio-back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.studio-back-to-top:hover {
  background: var(--accent-cyan);
  color: #050505;
  border-color: var(--accent-cyan);
  transform: translateY(-3px);
}

.studio-search-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 90px 20px 20px;
}

.studio-search-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(5, 7, 12, 0.76);
  backdrop-filter: blur(10px);
}

.studio-search-dialog {
  position: relative;
  width: 100%;
  max-width: 640px;
  background: rgba(15, 20, 32, 0.96);
  border: 1px solid var(--glass-border-hover);
  border-radius: 20px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.55);
  overflow: hidden;
  z-index: 2;
}

.studio-search-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--glass-border);
  color: var(--accent-cyan);
}

.studio-search-header input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-size: 1.05rem;
  font-family: var(--font-sans);
}

.studio-search-esc {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--glass-border);
  color: var(--text-muted);
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
}

.studio-search-results {
  max-height: 380px;
  overflow-y: auto;
  padding: 12px;
}

.studio-search-hint {
  padding: 20px;
  text-align: center;
  color: var(--text-dim);
  font-size: 0.92rem;
}

.studio-search-item {
  display: block;
  padding: 12px 16px;
  border-radius: 12px;
  transition: background 0.2s ease;
}

.studio-search-item:hover {
  background: rgba(56, 189, 248, 0.12);
}

.studio-search-item-title {
  font-weight: 700;
  color: #ffffff;
  font-size: 0.98rem;
  margin-bottom: 4px;
}

.studio-search-item-excerpt {
  font-size: 0.84rem;
  color: var(--text-muted);
}

.studio-callout {
  margin: 26px 0;
  padding: 18px 22px;
  border-radius: 16px;
  background: rgba(56, 189, 248, 0.08);
  border-left: 4px solid var(--accent-cyan);
  border-top: 1px solid rgba(56, 189, 248, 0.2);
  border-right: 1px solid rgba(56, 189, 248, 0.2);
  border-bottom: 1px solid rgba(56, 189, 248, 0.2);
}



/* ==========================================================================
   ACESSIBILIDADE WCAG & NAVEGAÇÃO POR TECLADO
   ========================================================================== */
.skip-link {
  position: absolute;
  top: -9999px;
  left: 20px;
  background: var(--accent-cyan, #38bdf8);
  color: #06101e;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  z-index: 999999;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 20px;
}

:focus-visible {
  outline: 2px solid var(--accent-cyan, #38bdf8);
  outline-offset: 3px;
}

/* ==========================================================================
   MENU MOBILE DRAWER (GAVETA PARA SMARTPHONES & TABLETS)
   ========================================================================== */
.mobile-menu-toggle {
  display: none;
}

.studio-mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 100001;
  display: none;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.studio-mobile-drawer.is-active {
  display: block;
  opacity: 1;
  pointer-events: auto;
}

.studio-mobile-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 6, 11, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.studio-mobile-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 85%;
  max-width: 380px;
  background: var(--header-bg);
  backdrop-filter: blur(32px) saturate(190%);
  -webkit-backdrop-filter: blur(32px) saturate(190%);
  border-left: 1px solid var(--glass-border);
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  padding: 24px 20px;
}

.studio-mobile-drawer.is-active .studio-mobile-panel {
  transform: translateX(0);
}

.studio-mobile-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--glass-border);
  margin-bottom: 24px;
}

.studio-mobile-brand {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-white);
}

.studio-mobile-brand img {
  max-height: 34px;
  width: auto;
}

.mobile-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-nav-list li a {
  display: flex;
  align-items: center;
  padding: 14px 18px;
  border-radius: 12px;
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  background: var(--bg-surface);
  border: 1px solid var(--glass-border);
  transition: all 0.2s ease;
  min-height: 48px;
}

.mobile-nav-list li a:hover,
.mobile-nav-list li.current-menu-item a {
  background: var(--accent-cyan);
  color: #06101e;
  border-color: var(--accent-cyan);
  font-weight: 700;
  box-shadow: 0 4px 18px rgba(56, 189, 248, 0.3);
}

.studio-mobile-footer {
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid var(--glass-border);
}

.mobile-footer-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

body.studio-drawer-open {
  overflow: hidden !important;
}

/* ==========================================================================
   GUTENBERG BLOCKS, TABELAS E RESPONSIVIDADE DE MÍDIA
   ========================================================================== */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 2rem 0;
  border-radius: 14px;
  border: 1px solid var(--glass-border);
  background: var(--bg-surface);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.table-responsive table,
.article-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  line-height: 1.6;
}

.table-responsive th,
.table-responsive td,
.article-content th,
.article-content td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--glass-border);
  text-align: left;
}

.table-responsive th,
.article-content th {
  background: rgba(255, 255, 255, 0.05);
  font-weight: 700;
  color: var(--text-white);
  font-family: var(--font-display);
}

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

.article-content pre,
.article-content code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.92rem;
}

.article-content pre {
  background: rgba(8, 11, 18, 0.85);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  padding: 18px 22px;
  overflow-x: auto;
  margin: 2rem 0;
  color: #e2e8f0;
  line-height: 1.65;
}

.article-content :not(pre) > code {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--glass-border);
  padding: 3px 8px;
  border-radius: 6px;
  color: var(--accent-cyan);
}

.article-content .wp-block-embed,
.article-content iframe {
  max-width: 100%;
  border-radius: 14px;
}

.article-content img {
  max-width: 100%;
  height: auto;
  border-radius: 14px;
}

.article-content figcaption {
  font-size: 0.86rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 8px;
}

/* ==========================================================================
   PUBLICIDADE & SLOTS ANTI-CLS (GOOGLE ADSENSE)
   ========================================================================== */
.studio-ad-wrapper {
  margin: 32px auto;
  text-align: center;
  min-height: 90px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.studio-ad-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 6px;
}

.studio-ad-slot {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  border-radius: 12px;
}

/* ==========================================================================
   TAGS DO ARTIGO & NAVEGAÇÃO ANTERIOR / PRÓXIMO
   ========================================================================== */
.article-tags-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 32px auto 24px;
  padding-top: 20px;
  border-top: 1px solid var(--glass-border);
}

.tags-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
}

.article-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-pill {
  padding: 6px 14px;
  border-radius: 9999px;
  background: var(--bg-surface);
  border: 1px solid var(--glass-border);
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.tag-pill:hover {
  color: var(--accent-cyan);
  border-color: var(--accent-cyan);
  transform: translateY(-2px);
}

.studio-post-nav {
  margin: 36px auto;
}

.post-nav-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.post-nav-item {
  display: flex;
  flex-direction: column;
  padding: 18px 22px;
  border-radius: 16px;
  background: var(--bg-surface);
  border: 1px solid var(--glass-border);
  text-decoration: none;
  transition: all 0.25s ease;
  backdrop-filter: blur(16px);
}

.post-nav-item:hover {
  border-color: var(--accent-cyan);
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.post-nav-direction {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-cyan);
  margin-bottom: 6px;
}

.post-nav-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-white);
  line-height: 1.4;
}

.post-nav-next {
  text-align: right;
}

/* ==========================================================================
   COMENTÁRIOS NATIVOS WORDPRESS (COMMENTS.PHP)
   ========================================================================== */
.studio-comments-area {
  margin: 48px auto;
  padding: 32px 36px;
  background: var(--bg-surface);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  backdrop-filter: blur(24px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.2), var(--glass-specular);
}

.comments-title {
  font-size: 1.5rem;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--glass-border);
  color: var(--text-white);
}

.comment-list {
  list-style: none;
  margin: 0 0 36px 0;
  padding: 0;
}

.comment-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.comment-list .comment {
  margin-bottom: 24px;
}

/* Card moderno de comentário individual */
.studio-comment-card {
  padding: 1.4rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--glass-border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: border-color 0.2s ease;
}

.studio-comment-card:hover {
  border-color: rgba(56, 189, 248, 0.2);
}

.studio-comment-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 1rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.studio-comment-author-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.studio-comment-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  object-fit: cover;
  flex-shrink: 0;
}

.studio-author-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.studio-author-name {
  font-weight: 700;
  color: var(--text-white);
  font-size: 0.96rem;
}

.studio-author-name a {
  color: inherit;
  text-decoration: none;
}

.studio-author-name a:hover {
  color: var(--accent-cyan);
}

.studio-comment-date {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.studio-comment-actions-header {
  display: flex;
  align-items: center;
}

.studio-edit-badge a {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.2s ease;
}

.studio-edit-badge a:hover {
  background: rgba(56, 189, 248, 0.15);
  color: var(--accent-cyan);
}

.studio-comment-moderation-notice {
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.25);
  color: #fbbf24;
  font-size: 0.82rem;
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.studio-comment-content {
  font-size: 0.95rem;
  color: var(--text-primary);
  line-height: 1.65;
  margin-bottom: 0.8rem;
}

.studio-comment-content p:last-child {
  margin-bottom: 0;
}

.studio-comment-footer {
  display: flex;
  justify-content: flex-end;
}

.studio-reply-button a {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent-cyan);
  text-decoration: none;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.2);
  transition: all 0.15s ease;
}

.studio-reply-button a:hover {
  background: var(--accent-cyan);
  color: #050505;
}

/* Comentários aninhados (respostas) */
.comment-list .children {
  list-style: none;
  margin-left: 28px;
  padding-left: 14px;
  border-left: 2px solid rgba(56, 189, 248, 0.2);
  margin-top: 14px;
}

@media (max-width: 640px) {
  .comment-list .children {
    margin-left: 12px;
    padding-left: 8px;
  }
}

/* Pingbacks e Trackbacks separados */
.studio-pingbacks-section {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px dashed var(--glass-border);
}

.studio-pingbacks-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: -0.01em;
}

.studio-pingback-list {
  list-style: none;
  margin: 0 0 24px 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.studio-pingback-item {
  margin-bottom: 0;
  list-style: none;
}

.studio-pingback-content {
  padding: 12px 18px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.88rem;
  line-height: 1.5;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.studio-pingback-content:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(56, 189, 248, 0.3);
}

.studio-pingback-icon {
  font-size: 1.05rem;
  opacity: 0.8;
}

.studio-pingback-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--accent-cyan);
  font-weight: 700;
  font-size: 0.8rem;
}

.studio-pingback-link {
  flex: 1;
  min-width: 220px;
}

.studio-pingback-link a {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.studio-pingback-link a:hover {
  text-decoration: underline;
  color: var(--accent-cyan);
}

/* Fallback defensivo para qualquer marcação legada de pingback */
li.pingback, li.trackback {
  list-style: none !important;
  margin-bottom: 12px !important;
}

li.pingback .comment-body,
li.trackback .comment-body {
  display: block !important;
  grid-template-columns: none !important;
  padding: 12px 16px !important;
  border-radius: 12px !important;
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid var(--glass-border) !important;
  font-size: 0.88rem !important;
  line-height: 1.5 !important;
}

.comment-respond {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--glass-border);
}

.comment-reply-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 18px;
  color: var(--text-white);
}

.comment-form-row {
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.comment-form-row label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
}

.comment-form-row input,
.comment-form-row textarea {
  width: 100%;
  padding: 14px 18px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid var(--glass-border);
  color: var(--text-white);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.25);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.comment-form-row input:focus,
.comment-form-row textarea:focus {
  border-color: var(--accent-cyan);
  outline: none;
  background: rgba(0, 0, 0, 0.35);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2), inset 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Apple Liquid Glass Submit Button */
.studio-comment-submit-btn {
  padding: 13px 30px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: linear-gradient(135deg, var(--accent-cyan, #38bdf8), #60a5fa);
  color: #040812;
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  box-shadow: 0 6px 22px rgba(56, 189, 248, 0.4), inset 0 1px 1.5px rgba(255, 255, 255, 0.7);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.studio-comment-submit-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.35) 0%, transparent 100%);
  border-radius: 9999px 9999px 0 0;
  pointer-events: none;
}

.studio-comment-submit-btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 28px rgba(56, 189, 248, 0.55), inset 0 1px 2px rgba(255, 255, 255, 0.9);
}

.studio-comment-submit-btn:active {
  transform: translateY(0) scale(0.97);
}

/* ==========================================================================
   ARQUIVOS, BUSCA E 404 (ESTILOS COMPARTILHADOS - APPLE LIQUID GLASS)
   ========================================================================== */
/* Apple Liquid Glass Archive Hero Card */
.archive-hero-card {
  background: var(--bg-surface) !important;
  border: 1px solid var(--glass-border) !important;
  border-radius: 28px;
  padding: 38px 42px;
  margin-bottom: 40px;
  backdrop-filter: blur(var(--glass-blur-heavy)) saturate(var(--glass-saturate)) !important;
  -webkit-backdrop-filter: blur(var(--glass-blur-heavy)) saturate(var(--glass-saturate)) !important;
  box-shadow: 0 20px 48px -12px rgba(0, 0, 0, 0.5), var(--glass-specular);
  position: relative;
  overflow: hidden;
}

.archive-hero-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 48%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, transparent 100%);
  border-radius: 28px 28px 0 0;
  pointer-events: none;
}

.archive-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 10px;
}

.archive-meta-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.archive-title {
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  font-weight: 800;
  color: var(--text-white);
  margin: 6px 0 12px 0;
  line-height: 1.25;
}

.archive-seo-description {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.65;
  max-width: 820px;
}

.archive-cat-switcher {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--glass-border);
}

/* Apple Liquid Glass Cat Pill Switcher */
.cat-pill-switch {
  padding: 8px 18px;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  background: var(--bg-surface);
  border: 1px solid var(--glass-border);
  color: var(--text-muted);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  box-shadow: var(--glass-specular);
  position: relative;
  overflow: hidden;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.cat-pill-switch::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.15) 0%, transparent 100%);
  border-radius: 9999px 9999px 0 0;
  pointer-events: none;
}

.cat-pill-switch:hover {
  background: var(--bg-surface-hover);
  color: var(--text-white);
  border-color: var(--glass-border-hover);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.2), 0 0 14px rgba(56, 189, 248, 0.25), var(--glass-specular-active);
  transform: translateY(-2px) scale(1.02);
}

.cat-pill-switch.is-active {
  background: linear-gradient(135deg, var(--accent-cyan, #38bdf8), #60a5fa) !important;
  color: #040812 !important;
  border-color: rgba(255, 255, 255, 0.6) !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 20px rgba(56, 189, 248, 0.45), inset 0 1px 1.5px rgba(255, 255, 255, 0.8) !important;
  transform: none;
}

.search-form-hero {
  display: flex;
  gap: 10px;
  max-width: 600px;
  margin-top: 20px;
}

.search-form-hero input {
  flex: 1;
  padding: 13px 20px;
  border-radius: 9999px;
  border: 1px solid var(--glass-border);
  background: rgba(0, 0, 0, 0.22);
  color: var(--text-white);
  font-size: 0.95rem;
  outline: none;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.2);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.search-form-hero input:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.25), inset 0 1px 2px rgba(0, 0, 0, 0.2);
  background: rgba(0, 0, 0, 0.32);
}

.search-form-hero button {
  padding: 13px 26px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: linear-gradient(135deg, var(--accent-cyan, #38bdf8), #60a5fa);
  color: #040812;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(56, 189, 248, 0.4), inset 0 1px 1.5px rgba(255, 255, 255, 0.7);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.search-form-hero button:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 24px rgba(56, 189, 248, 0.55), inset 0 1px 2px rgba(255, 255, 255, 0.9);
}

.search-form-hero button:active {
  transform: translateY(0) scale(0.97);
}

.empty-state {
  text-align: center;
  padding: 56px 24px;
  background: var(--bg-surface);
  border-radius: 22px;
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px);
}

.empty-state h2 {
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.empty-state p {
  color: var(--text-muted);
  margin-bottom: 24px;
}

.empty-state-btn {
  display: inline-block;
  padding: 12px 24px;
  background: var(--accent-cyan);
  color: #06101e;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
}

.not-found-hero {
  text-align: center;
  padding: 48px 32px;
}

.not-found-hero .search-form-hero {
  margin: 20px auto 24px;
}

.back-home-link {
  color: var(--accent-cyan);
  font-weight: 700;
  text-decoration: none;
}

.studio-page-card {
  background: var(--bg-surface);
  border: 1px solid var(--glass-border);
  border-radius: 22px;
  padding: 36px 40px;
  backdrop-filter: blur(24px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2), var(--glass-specular);
}

.page-header {
  margin-bottom: 28px;
  border-bottom: 1px solid var(--glass-border);
  padding-bottom: 20px;
}

.page-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.25;
}

/* ==========================================================================
   BREAKPOINTS RESPONSIVOS MOBILE-FIRST (320px, 375px, 430px, 768px, 900px, 1024px)
   ========================================================================== */
@media (max-width: 900px) {
  .desktop-nav {
    display: none !important;
  }

  .mobile-menu-toggle {
    display: inline-flex !important;
  }

  .hero-posts-grid,
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .post-nav-grid {
    grid-template-columns: 1fr;
  }

  .post-nav-next {
    text-align: left;
  }
}

@media (max-width: 768px) {
  .studio-main {
    padding: 24px 0 60px;
  }

  .posts-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .archive-hero-card {
    padding: 24px 20px;
  }

  .studio-page-card {
    padding: 24px 20px;
  }

  .studio-comments-area {
    padding: 24px 18px;
  }

  .article-title {
    font-size: 1.85rem;
  }

  .article-content {
    font-size: 1.05rem;
    line-height: 1.75;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 24px;
  }
}

@media (max-width: 480px) {
  .studio-container,
  .studio-container-narrow {
    padding: 0 16px;
  }

  .article-title {
    font-size: 1.55rem;
  }

  .card-body {
    padding: 16px;
  }

  .card-title {
    font-size: 1.2rem;
  }

  .search-form-hero {
    flex-direction: column;
  }

  .search-form-hero button {
    width: 100%;
  }

  .studio-share-buttons {
    flex-direction: column;
    width: 100%;
  }

  .studio-share-btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .comment-body {
    grid-template-columns: 1fr;
  }

  .comment-content,
  .reply a {
    grid-column: 1;
  }
}


/* ==========================================================================
   WP STUDIO - BIBLIOTECA DE BLOCOS FUNCIONAIS & FERRAMENTAS DO VIAJANTE
   Design System Apple Liquid Glass (Dark / Light adaptativo)
   ========================================================================== */

.studio-block {
  margin: 2.2rem 0;
  border-radius: 18px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: all 0.25s ease;
  box-sizing: border-box;
}

/* 1. Caixas de Dica & Alerta */
.studio-callout {
  padding: 1.4rem 1.6rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.studio-callout-tip {
  background: rgba(56, 189, 248, 0.06);
  border-left: 4px solid var(--accent-cyan, #38bdf8);
}

.studio-callout-warning {
  background: rgba(245, 158, 11, 0.07);
  border-left: 4px solid #f59e0b;
}

.studio-callout-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0.6rem;
}

.studio-callout-icon {
  font-size: 1.25rem;
}

.studio-callout-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.studio-callout-tip .studio-callout-title {
  color: var(--accent-cyan, #38bdf8);
}

.studio-callout-warning .studio-callout-title {
  color: #fbbf24;
}

.studio-callout-body {
  font-size: 0.95rem;
  line-height: 1.65;
  color: inherit;
  opacity: 0.92;
}

.studio-callout-body p:last-child {
  margin-bottom: 0;
}

/* 2. Prós e Contras */
.studio-pros-cons {
  padding: 1.6rem;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.studio-pros-cons-heading {
  margin-top: 0;
  margin-bottom: 1.2rem;
  font-size: 1.1rem;
  font-weight: 700;
  text-align: center;
}

.studio-pros-cons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.2rem;
}

.studio-pros-column, .studio-cons-column {
  padding: 1.2rem;
  border-radius: 14px;
}

.studio-pros-column {
  background: rgba(16, 185, 129, 0.06);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.studio-cons-column {
  background: rgba(244, 63, 94, 0.06);
  border: 1px solid rgba(244, 63, 94, 0.2);
}

.studio-pros-header, .studio-cons-header {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.studio-pros-header { color: #34d399; }
.studio-cons-header { color: #fb7185; }

.studio-pros-list, .studio-cons-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.studio-pros-list li, .studio-cons-list li {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.bullet-check { color: #34d399; font-weight: bold; }
.bullet-cross { color: #fb7185; font-weight: bold; }

/* 3. FAQ com Acordeão */
.studio-faq-accordion {
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.studio-faq-heading {
  margin-top: 0;
  margin-bottom: 1.2rem;
  font-size: 1.15rem;
  font-weight: 700;
}

.studio-faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.studio-faq-item:last-child {
  border-bottom: none;
}

.studio-faq-trigger {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1rem 0;
  color: inherit;
  font-weight: 600;
  font-size: 0.98rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.studio-faq-trigger:hover {
  color: var(--accent-cyan, #38bdf8);
}

.faq-chevron {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent-cyan, #38bdf8);
}

.studio-faq-content {
  padding-bottom: 1rem;
  font-size: 0.92rem;
  line-height: 1.6;
  opacity: 0.9;
}

/* 4. Cards de Afiliados */
.studio-affiliate-card {
  padding: 1.6rem;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(56, 189, 248, 0.25);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.studio-affiliate-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.studio-affiliate-partner {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-cyan, #38bdf8);
}

.studio-affiliate-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 20px;
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.studio-affiliate-title {
  margin: 0 0 0.5rem 0;
  font-size: 1.15rem;
  font-weight: 700;
}

.studio-affiliate-price {
  font-size: 1.2rem;
  font-weight: 800;
  color: #34d399;
  margin-top: 0.5rem;
}

.studio-affiliate-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 1.2rem;
  padding: 0.85rem 1.4rem;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent-cyan, #38bdf8), var(--fade-color-sec, #818cf8));
  color: #040914 !important;
  font-weight: 800;
  font-size: 0.95rem;
  text-decoration: none !important;
  box-shadow: 0 4px 18px rgba(56, 189, 248, 0.25);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.studio-affiliate-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(56, 189, 248, 0.4);
}

.studio-affiliate-disclaimer {
  margin-top: 0.6rem;
  margin-bottom: 0;
  text-align: center;
  font-size: 0.75rem;
  opacity: 0.65;
}

/* 5. Checklist Interativo de Viagem */
.studio-travel-checklist {
  padding: 1.6rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.studio-checklist-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 0.8rem;
}

.studio-checklist-title-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.studio-checklist-title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
}

.studio-checklist-progress-text {
  font-size: 0.82rem;
  font-weight: 600;
  opacity: 0.75;
}

.studio-checklist-progress-bar {
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.08);
  margin-bottom: 1.2rem;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #38bdf8, #34d399);
  transition: width 0.25s ease;
}

.studio-checklist-items {
  list-style: none;
  padding: 0;
  margin: 0 0 1.2rem 0;
}

.studio-checklist-item {
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.studio-checklist-item:last-child {
  border-bottom: none;
}

.studio-checklist-item label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 0.94rem;
  user-select: none;
}

.studio-checklist-item input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--accent-cyan, #38bdf8);
  cursor: pointer;
}

.studio-checklist-item input[type="checkbox"]:checked + .item-text {
  text-decoration: line-through;
  opacity: 0.55;
}

.studio-checklist-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  opacity: 0.75;
}

.studio-checklist-reset-btn {
  background: none;
  border: none;
  color: inherit;
  text-decoration: underline;
  cursor: pointer;
  font-size: 0.78rem;
  padding: 0;
}

.studio-checklist-reset-btn:hover {
  color: #fb7185;
}

/* 6. Calculadora de Orçamento de Viagem */
.studio-travel-calculator {
  padding: 1.8rem;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(56, 189, 248, 0.2);
}

.calc-header {
  margin-bottom: 1.4rem;
}

.calc-badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-cyan, #38bdf8);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.calc-title {
  margin: 0.3rem 0;
  font-size: 1.25rem;
  font-weight: 800;
}

.calc-sub {
  margin: 0;
  font-size: 0.88rem;
  opacity: 0.75;
}

.calc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.calc-field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  opacity: 0.85;
}

.calc-input {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.25);
  color: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  box-sizing: border-box;
}

.calc-results-card {
  padding: 1.2rem;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.12), rgba(129, 140, 248, 0.08));
  border: 1px solid rgba(56, 189, 248, 0.3);
  text-align: center;
}

.calc-res-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.calc-res-item .res-label {
  font-size: 0.85rem;
  font-weight: 600;
  opacity: 0.8;
}

.calc-res-item .res-value {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--accent-cyan, #38bdf8);
}

.calc-res-sub {
  margin-top: 0.6rem;
  font-size: 0.82rem;
  opacity: 0.85;
}

/* 7. Planejador de Roteiro Dia a Dia */
.studio-itinerary-planner {
  padding: 1.6rem;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.itinerary-header {
  margin-bottom: 1.4rem;
}

.itinerary-badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-cyan, #38bdf8);
  text-transform: uppercase;
}

.itinerary-title {
  margin: 0.3rem 0;
  font-size: 1.2rem;
  font-weight: 700;
}

.itinerary-timeline {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  position: relative;
  padding-left: 1rem;
  border-left: 2px dashed rgba(56, 189, 248, 0.3);
}

.timeline-step {
  position: relative;
}

.step-marker {
  display: inline-block;
  margin-bottom: 0.4rem;
}

.step-num {
  font-size: 0.75rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--accent-cyan, #38bdf8);
  color: #050a14;
}

.step-card {
  padding: 1rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.step-title {
  margin: 0 0 0.4rem 0;
  font-size: 1rem;
  font-weight: 700;
}

.step-desc {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
  opacity: 0.85;
}

/* 8. Conversor de Moedas */
.studio-currency-converter {
  padding: 1.6rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.curr-header {
  margin-bottom: 1.2rem;
}

.curr-badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-cyan, #38bdf8);
  text-transform: uppercase;
}

.curr-title {
  margin: 0.3rem 0;
  font-size: 1.15rem;
  font-weight: 700;
}

.curr-grid {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.curr-input-col, .curr-output-col {
  flex: 1;
  min-width: 180px;
}

.curr-input-col label, .curr-output-col label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  opacity: 0.85;
}

.curr-input, .curr-select {
  width: 100%;
  padding: 0.6rem 0.8rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.25);
  color: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  box-sizing: border-box;
}

.curr-arrow-col {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--accent-cyan, #38bdf8);
}

.curr-result-box {
  padding: 0.65rem 0.8rem;
  border-radius: 10px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--accent-cyan, #38bdf8);
  text-align: center;
}

.curr-footer {
  margin-top: 0.8rem;
  font-size: 0.75rem;
  opacity: 0.65;
  text-align: center;
}

/* 9. Botão de CTA - Apple Liquid Glass */
.studio-cta-wrapper {
  text-align: center;
  margin: 2.5rem 0;
}

.studio-cta-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.6rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: linear-gradient(135deg, var(--accent-cyan, #38bdf8), var(--fade-color-sec, #818cf8));
  color: #040914 !important;
  text-decoration: none !important;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  box-shadow: 0 10px 32px rgba(56, 189, 248, 0.45), inset 0 1px 2px rgba(255, 255, 255, 0.85);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.studio-cta-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.35) 0%, transparent 100%);
  border-radius: 9999px 9999px 0 0;
  pointer-events: none;
}

.studio-cta-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 16px 42px rgba(56, 189, 248, 0.6), inset 0 1px 2.5px rgba(255, 255, 255, 1);
}

.studio-cta-btn:active {
  transform: translateY(0) scale(0.97);
}

.cta-main-text {
  font-size: 1.05rem;
  font-weight: 800;
}

.cta-sub-text {
  font-size: 0.78rem;
  font-weight: 600;
  opacity: 0.85;
}


/* Filtro de Categorias na Pagina de Busca (search.php) */
.search-category-filter {
  margin-top: 1.2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--glass-border);
}

.search-category-filter .filter-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
}

.search-category-filter .filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.search-category-filter .filter-pill {
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 999px;
  background: var(--bg-surface);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--glass-specular);
  color: var(--text-primary);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.search-category-filter .filter-pill:hover {
  background: var(--bg-surface-hover);
  border-color: var(--glass-border-hover);
  color: var(--text-white);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2), 0 0 14px rgba(56, 189, 248, 0.25), var(--glass-specular-active);
  transform: translateY(-2px) scale(1.02);
}

/* ==========================================================================
   ENRICHMENT BLOCKS: DICA DE OURO, LEIA TAMBÉM E CTA (APPLE LIQUID GLASS)
   ========================================================================== */
.viagemwiki-expert-tip {
  background: var(--bg-surface) !important;
  border: 1px solid var(--glass-border) !important;
  border-left: 4px solid var(--accent-cyan, #38bdf8) !important;
  border-radius: 20px !important;
  padding: 22px 28px !important;
  margin: 2.4rem 0 !important;
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate)) !important;
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate)) !important;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.16), var(--glass-specular) !important;
  position: relative;
  overflow: hidden;
}

.viagemwiki-expert-tip::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
  border-radius: 20px 20px 0 0;
  pointer-events: none;
}

.viagemwiki-expert-tip p {
  color: var(--text-primary) !important;
}

.viagemwiki-expert-tip p:first-child {
  color: var(--text-white) !important;
  font-weight: 800 !important;
}

.viagemwiki-related-box {
  background: var(--bg-surface) !important;
  border: 1px solid var(--glass-border) !important;
  border-left: 4px solid #60a5fa !important;
  border-radius: 20px !important;
  padding: 22px 28px !important;
  margin: 2.4rem 0 !important;
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate)) !important;
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate)) !important;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.16), var(--glass-specular) !important;
  position: relative;
  overflow: hidden;
}

.viagemwiki-related-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
  border-radius: 20px 20px 0 0;
  pointer-events: none;
}

.viagemwiki-related-box p {
  color: var(--text-white) !important;
  font-weight: 800 !important;
}

.viagemwiki-related-box ul {
  padding-left: 20px;
}

.viagemwiki-related-box li a {
  color: var(--text-primary) !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-block;
}

.viagemwiki-related-box li a:hover {
  color: var(--accent-cyan, #38bdf8) !important;
  transform: translateX(4px);
}

.viagemwiki-cta-box {
  background: var(--bg-surface) !important;
  border: 1px solid var(--glass-border) !important;
  border-radius: 22px !important;
  padding: 26px 30px !important;
  margin: 2.8rem 0 2rem 0 !important;
  text-align: center;
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate)) !important;
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate)) !important;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.18), var(--glass-specular) !important;
  position: relative;
  overflow: hidden;
}

.viagemwiki-cta-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, transparent 100%);
  border-radius: 22px 22px 0 0;
  pointer-events: none;
}

.viagemwiki-cta-box p:first-child {
  color: var(--text-white) !important;
  font-weight: 800 !important;
  font-size: 1.15rem !important;
}

.viagemwiki-cta-box p:last-child {
  color: var(--text-muted) !important;
}
