/* Tema claro (padrão) */
[data-theme="light"] {
  --bs-warning: #FFAF1F;
  --bs-warning-hover: #FF9E00;
  --bs-warning-rgb: 255, 175, 31;
  --bs-secondary: #FFCB4B;
  --bs-secondary-hover: #FBC02D;
  --bs-light: #FEFEFE;
  --bs-light-rgb: 254, 254, 254;
  --bs-dark: #1E1E1E;
  --bs-dark-rgb: 30, 30, 30;
  --navbar-bg: var(--bs-light);
  --navbar-text: #000;
  --bs-opacity-b-65: rgba(0, 0, 0, 0.65);
  /*#5CC7FF*/
}

/* Tema escuro (cores invertidas) */
[data-theme="dark"] {
  --bs-warning: #799cff;
  --bs-warning-rgb: 121, 156, 255;
  --bs-secondary1: #ffcb4b;
  --bs-secondary-hover1: #FBC02D;
  --bs-light: #1E1E1E;
  --bs-light-rgb: 30, 30, 30;
  --bs-dark: #FEFEFE;
  --bs-dark-rgb: 254, 254, 254;
  --navbar-bg: var(--bs-dark);
  --navbar-text: #FFF;
  --bs-opacity-b-65: rgba(255, 255, 255, 0.65);
}

/* ======================================================================
   SlabWare Blog — blog.css
   Extends Promotion.css (landing page). Do not redefine :root tokens.
   All colors/fonts come from the shared design system.
   ====================================================================== */

/* ─── PAGE BASE ─────────────────────────────────────────────────────── */
body {
  background: var(--ink);
  color: var(--snow);
  font-family: "Open Sans", "Inter", sans-serif;
}

/* White background variant for single posts */
body.blog-post-page {
  background: #ffffff;
  color: #1a1a1e;
}

body.blog-post-page .blog-hero-title,
body.blog-post-page .blog-hero-sub,
body.blog-post-page .post-full-content,
body.blog-post-page h1,
body.blog-post-page h2,
body.blog-post-page h3,
body.blog-post-page h4 {
  color: #111;
}

body.blog-post-page .opacity-75,
body.blog-post-page .opacity-25 {
  color: #666;
  opacity: 1 !important;
}

body.blog-post-page hr {
  border-color: rgba(0, 0, 0, 0.1);
}

body.blog-post-page .post-ad-card {
  background: #f8f9fa;
  border-color: #eee;
  color: #111 !important;
}

body.blog-post-page .post-ad-title {
  color: #111;
}

body.blog-post-page .post-ad-card:hover {
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

body.blog-post-page .blog-hero,
body.blog-post-page .sec,
body.blog-post-page section.block {
  background: #ffffff !important;
  color: #111 !important;
  border-color: rgba(0, 0, 0, 0.05) !important;
}

body.blog-post-page .blog-hero .bg-atmosphere {
  opacity: 0.05;
  /* Suaviza as manchas de cor no fundo branco */
}

/* ======================================================================
   SW NAVBAR — MasterPage identical (SlabWare production classes)
   ====================================================================== */

/* Override generic nav reset */
#mainNavbar {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1050;
  height: auto;
  min-height: 68px;
  padding: 0 !important;
  background: rgba(9, 9, 11, 0.96) !important;
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: block;
  transition: box-shadow 0.3s;
}

.max-w-1920 {
  max-width: 1920px;
  margin: 0 auto;
  padding: 8px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  min-height: 68px;
}

@media (min-width: 1200px) {
  .max-w-1920 {
    padding: 8px 32px;
  }
}

/* Logo */
.imgs-versoes-app {
  height: 34px;
  width: auto;
}

/* Toggler */
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba(255, 255, 255, 0.85)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E") !important;
}

/* Nav links */
#mainNavbar .nav-link {
  font-weight: 600 !important;
  font-size: 16px !important;
  color: rgba(238, 235, 230, 0.9) !important;
  padding: 8px 10px !important;
  transition: color 0.2s !important;
  white-space: nowrap;
}

#mainNavbar .nav-link:hover {
  color: #ffaf1f !important;
}

#mainNavbar .nav-link.active {
  color: #ffaf1f !important;
}

/* ─── MasterPage mega menu classes ────────────────────── */

/* Background */
.bg-gray-navbar {
  background-color: #1a1a1e !important;
  color: #eeebe6 !important;
}

/* Full-width mega menu anchoring */
.navbar .position-static>.bg-gray-navbar {
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
}

/* Navbar title (product name) */
.navbar-title {
  font-weight: 700;
  font-size: 0.88rem;
  color: #ffffff;
  margin-bottom: 2px !important;
}

/* Navbar subtitle text */
.navbar-subtitle {
  font-size: 0.75rem;
  color: rgba(184, 184, 184, 0.85);
  line-height: 1.45;
}

/* Navbar subtitle color (links inside mega menu) */
.navbar-subtitle-color {
  font-size: 0.8rem;
  font-weight: 600;
  color: #ffaf1f;
}

/* Section subtitle small (feature list items) */
.bg-section-navbar {
  font-size: 0.7rem;
  color: rgba(168, 168, 168, 0.75);
  line-height: 1.5;
}

/* Dark icon box */
.bg-dark-custom {
  background-color: #09090b !important;
}

/* Icon box sizing */
.box-45 {
  min-width: 40px;
  min-height: 40px;
  width: 40px;
  height: 40px;
}

/* Clickable card hover */
.clickable-card {
  transition: background 0.2s;
}

.clickable-card:hover {
  background: rgba(255, 255, 255, 0.05) !important;
}

/* YouTube card */
.card-youtube {
  background: #1a1a1e !important;
  border: 1px solid rgba(255, 0, 0, 0.15) !important;
  border-radius: 10px !important;
  overflow: hidden;
}

/* Feature list inside mega menu */
.list-system {
  padding: 0;
}

.list-system li a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s;
}

.list-system li a:hover .navbar-subtitle-color {
  color: #ffc94d;
}

/* Dropdown items */
.bg-gray-navbar .dropdown-item {
  color: rgba(238, 235, 230, 0.85) !important;
  background: transparent !important;
  transition: background 0.15s, color 0.15s;
}

.bg-gray-navbar .dropdown-item:hover {
  background: rgba(255, 255, 255, 0.06) !important;
  color: #ffaf1f !important;
}

.dropdown-toggle {
  color: var(--bs-light) !important;
}

.nav-link:hover,
.dropdown-toggle:hover {
  color: var(--bs-warning) !important;
}

/* ─── CTA buttons ─────────────────────────────────────── */
.btn-primary-custom {
  font-weight: 600 !important;
  font-size: 0.9rem !important;
  letter-spacing: 1px !important;
  background: #ffaf1f !important;
  color: #09090b !important;
  border: none !important;
  border-radius: 6px !important;
  padding: 8px 16px !important;
  transition: opacity 0.2s, transform 0.2s !important;
}

.btn-primary-custom:hover {
  opacity: 0.88 !important;
  transform: translateY(-1px) !important;
  color: #09090b !important;
}

.btn-secondary-custom {
  border-radius: 6px;
  background: #FFCB4B !important;
  color: #000;
  transition: background 0.3s ease, color 0.3s ease;
  font-weight: 600;
  border: none;
  cursor: pointer;
}

.btn-secondary-custom:hover {
  background: #FBC02D !important;
  color: #000;

}

.btn-white {
  border: 1px solid #D8D8D8;
  background: #FFF;
  font-weight: 600;
}

.btn-white:hover {
  border: 1px solid #D8D8D8;
  background: #F0F0F0;
}

/* Base (mobile first) */
.btn-primary-custom,
.btn-secondary-custom {
  font-size: 14px;
  /* menor em telas pequenas */
  padding: 6px 12px;
  /* padding reduzido */
  white-space: nowrap;
  /* impede quebra de linha */
  display: inline-flex;
  /* garante alinhamento correto */
  align-items: center;
  justify-content: center;
}

/* Tablet (>=768px) */
@media (min-width: 768px) {

  .btn-primary-custom,
  .btn-secondary-custom {
    font-size: 15px;
    padding: 6px 14px;
  }
}

/* Desktop (>=1200px) */
@media (min-width: 1200px) {

  .btn-primary-custom,
  .btn-secondary-custom {
    font-size: 16px;
    padding: 8px 16px;
  }
}


/* Language dropdown */
.custom-lang-menu {
  background: #1a1a1e !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 8px !important;
  min-width: 180px;
}

.custom-lang-item {
  color: rgba(238, 235, 230, 0.9) !important;
  font-size: 0.82rem;
  padding: 8px 16px !important;
  transition: background 0.15s !important;
}

.custom-lang-item:hover {
  background: rgba(255, 255, 255, 0.06) !important;
  color: #ffaf1f !important;
}

/* ─── Mobile nav collapse ─────────────────────────── */
@media (max-width: 991px) {
  #mainNavbar .navbar-collapse {
    background: rgba(9, 9, 11, 0.98);
    padding: 16px 20px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
  }

  .bg-gray-navbar.dropdown-menu {
    background: #111114 !important;
    border: none !important;
    padding-left: 12px;
  }
}


/* ─── WHITE / LIGHT BLOG CONTENT SECTIONS ───────────────────────────── */
.blog-content-section {
  background: #ffffff !important;
}

.blog-content-section .block-title {
  color: #111111;
}

.blog-content-section .block-title .a {
  color: var(--amber);
}

/* Cards on white background */
.blog-content-section .post-card {
  background: #f7f8fa;
  border-color: rgba(0, 0, 0, 0.07);
}

.blog-content-section .post-card:hover {
  border-color: rgba(0, 0, 0, 0.13);
}

.blog-content-section .post-title {
  color: #111111;
}

.blog-content-section .post-excerpt {
  color: #555;
}

.blog-content-section .post-meta {
  color: #888;
}

/* Filter pills on white */
.blog-content-section .filter-pill {
  color: #333;
  border-color: rgba(0, 0, 0, 0.15);
}

.blog-content-section .filter-pill:hover {
  border-color: var(--amber);
  color: #111;
}

.blog-content-section .filter-pill.active {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--ink);
}

/* Load more on white */
.blog-content-section .load-more {
  color: var(--ink);
  border-color: var(--ink);
}

.blog-content-section .load-more:hover {
  background: rgba(9, 9, 11, 0.05);
  box-shadow: none;
}

/* Empty state on white */
.blog-content-section .empty-state {
  border-color: rgba(0, 0, 0, 0.08);
  color: #555;
}

.blog-content-section .empty-state strong {
  color: #111;
}

/* Thumb cards on white */
.blog-content-section .thumb-card {
  background: #f7f8fa;
  border-color: rgba(0, 0, 0, 0.07);
}

.blog-content-section .thumb-card:hover {
  background: #edeef0;
  border-color: rgba(0, 0, 0, 0.12);
  color: inherit;
}

.blog-content-section .thumb-title {
  color: #111;
}

.blog-content-section .thumb-meta {
  color: #888;
}

/* Skeleton on white */
.blog-content-section .skeleton-box {
  background: linear-gradient(90deg,
      rgba(0, 0, 0, 0.04) 0%,
      rgba(0, 0, 0, 0.08) 50%,
      rgba(0, 0, 0, 0.04) 100%);
  background-size: 200% 100%;
  animation: shimmer 1.4s ease-in-out infinite;
}

.blog-content-section .skeleton-card {
  background: #f7f8fa;
  border-color: rgba(0, 0, 0, 0.06);
}



/* Remove the landing page's fixed-nav top offset behavior for blog flow */
main {
  position: relative;
}

/* ─── HERO (blog-specific, reuses atmosphere from landing) ──────────── */
.blog-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.blog-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 880px;
  margin: 0 auto;
  padding: 0 28px;
}

.blog-hero .eyebrow {
  justify-content: center;
  margin-bottom: 32px;
}

.blog-hero-title {
  font-family: var(--display);
  text-transform: uppercase;
  font-size: clamp(3rem, 7vw, 5.8rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--white);
  font-weight: 800;
  margin-bottom: 32px;
}

.blog-hero-title .a {
  color: var(--amber);
}

.blog-hero-sub {
  font-size: 1.3rem;
  line-height: 1.7;
  color: var(--fog);
  max-width: 620px;
  margin: 0 auto 48px;
}

.scroll-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 175, 31, 0.3);
  background: var(--amber-dim);
  color: var(--amber);
  transition: transform 0.25s, background 0.25s;
  animation: scrollBob 2.4s ease-in-out infinite;
}

.scroll-chip:hover {
  transform: translateY(2px);
  background: rgba(255, 175, 31, 0.18);
  color: var(--amber);
}

@keyframes scrollBob {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(6px);
  }
}

/* ─── HERO AVATARS (decorative) ─────────────────────────────────────── */
.hero-avatars {
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.avatar {
  position: absolute;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  border: 3px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

/* Avatar positions (responsive) */
.avatar-1 {
  top: 8%;
  left: 5%;
  width: 60px;
  height: 60px;
}

.avatar-2 {
  top: 12%;
  right: 6%;
  width: 72px;
  height: 72px;
}

.avatar-3 {
  top: 35%;
  left: 3%;
  width: 56px;
  height: 56px;
}

.avatar-4 {
  top: 50%;
  right: 4%;
  width: 68px;
  height: 68px;
}

.avatar-5 {
  bottom: 15%;
  left: 8%;
  width: 64px;
  height: 64px;
}

.avatar-6 {
  bottom: 18%;
  right: 7%;
  width: 60px;
  height: 60px;
}

.avatar-7 {
  top: 45%;
  left: 12%;
  width: 58px;
  height: 58px;
}

.avatar-8 {
  top: 30%;
  right: 10%;
  width: 62px;
  height: 62px;
}

@media (max-width: 768px) {
  .avatar {
    width: 48px;
    height: 48px;
  }

  .avatar-1 {
    width: 48px;
    height: 48px;
    top: 10%;
    left: 4%;
  }

  .avatar-2 {
    width: 52px;
    height: 52px;
    top: 15%;
    right: 5%;
  }

  .avatar-3 {
    width: 44px;
    height: 44px;
    top: 40%;
    left: 3%;
  }

  .avatar-4 {
    width: 50px;
    height: 50px;
    top: 55%;
    right: 4%;
  }

  .avatar-5,
  .avatar-6,
  .avatar-7,
  .avatar-8 {
    display: none;
  }
}

/* ─── HERO SEARCH BAR ───────────────────────────────────────────────── */
.hero-search-form {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  max-width: 500px;
  margin: 0 auto 32px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 48px;
  padding: 4px 8px;
  transition: all 0.3s ease;
}

.hero-search-form:focus-within {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 175, 31, 0.4);
  box-shadow: 0 0 20px rgba(255, 175, 31, 0.1);
}

.hero-search-input {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--white);
  font-family: var(--sans);
  font-size: 0.95rem;
  padding: 12px 16px;
  outline: none;
  caret-color: var(--amber);
}

.hero-search-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.hero-search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--amber);
  border: none;
  color: var(--ink);
  cursor: pointer;
  transition: all 0.25s;
  flex-shrink: 0;
}

.hero-search-btn:hover {
  transform: scale(1.05);
  background: #FFB91F;
}

.hero-search-btn:active {
  transform: scale(0.95);
}

/* ─── CATEGORY FILTER ROW ───────────────────────────────────────────── */
.filter-row {
  padding: 32px 0 48px;
  margin-bottom: 24px;
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.filter-pill {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--snow);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 10px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.filter-pill:hover {
  border-color: var(--amber);
  color: var(--amber);
}

.filter-pill.active {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--ink);
}

/* ─── SECTION TITLES (bare, left-aligned, Outfit heavy) ─────────────── */
.block-title {
  font-family: var(--display);
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--white);
  font-weight: 800;
  margin-bottom: 40px;
}

.block-title .a {
  color: var(--amber);
}

.block {
  padding: 60px 0;
}

/* ─── POST CARDS — shared anatomy ───────────────────────────────────── */
.post-card {
  display: flex;
  flex-direction: column;
  background: var(--ink2);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  height: 100%;
  transition: transform 0.25s, border-color 0.25s;
  text-decoration: none;
  color: inherit;
}

.post-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
  z-index: 3;
}

.post-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.12);
  color: inherit;
}

.post-card:hover::after {
  transform: scaleX(1);
}

.post-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--ink3);
}

/* No-image card styling — typographic focus */
.post-card.no-image {
  border-left: 4px solid var(--amber);
}

.blog-content-section .post-card.no-image {
  background: #ffffff; /* pure white to stand out slightly from the f7f8fa background */
}

.post-card.no-image::after {
  display: none; /* Already using border-left */
}

.post-card.no-image .post-card-body {
  padding: 40px 32px 48px;
  justify-content: center;
}

.blog-content-section .post-card.no-image .post-title {
  color: #111;
}

.blog-content-section .post-card.no-image .post-excerpt {
  color: #444;
}



.post-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.post-card:hover .post-card-media img {
  transform: scale(1.04);
}

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

/* Category tag — reuses the eyebrow motif without the bar-before pseudo */
.post-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.65rem;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--amber);
  background: var(--amber-dim);
  padding: 5px 10px;
  border-radius: 4px;
}

.post-title {
  font-family: var(--display);
  font-size: 1.35rem;
  line-height: 1.2;
  letter-spacing: -0.005em;
  color: var(--white);
  font-weight: 700;
  margin: 0;
  transition: color 0.2s;
}

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

.post-excerpt {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--fog);
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ash);
  margin-top: auto;
  padding-top: 8px;
}

.post-meta-sep {
  width: 3px;
  height: 3px;
  background: var(--stone);
  border-radius: 50%;
}

/* ─── FEATURED ROW — 3 columns ────────────────────────────────── */
.featured-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 640px) {
  .featured-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .featured-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }

  .featured-main {
    grid-row: auto;
  }

  .featured-main .post-card-media {
    aspect-ratio: 16 / 10;
  }

  .featured-main .post-title {
    font-size: 1.35rem;
    line-height: 1.2;
  }

  .featured-main .post-excerpt {
    font-size: 0.92rem;
  }

  .featured-main .post-card-body {
    padding: 24px 24px 28px;
  }
}

/* ─── MOST READ — 1 hero + vertical thumb list ──────────────────────── */
.mostread-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}

@media (min-width: 992px) {
  .mostread-grid {
    grid-template-columns: 1.15fr 1fr;
    gap: 32px;
  }
}

.mostread-hero .post-card-media {
  aspect-ratio: 4 / 3;
}

.mostread-hero .post-title {
  font-size: 1.65rem;
}

.thumb-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.thumb-card {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 18px;
  align-items: center;
  background: var(--ink2);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 14px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s, border-color 0.25s, background 0.25s;
  position: relative;
  overflow: hidden;
}

.thumb-card::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--amber);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.35s ease;
}

.thumb-card:hover {
  transform: translateX(3px);
  border-color: rgba(255, 255, 255, 0.12);
  background: var(--ink3);
  color: inherit;
}

.thumb-card:hover::after {
  transform: scaleY(1);
}

.thumb-media {
  width: 120px;
  height: 90px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--ink3);
  flex-shrink: 0;
}

.thumb-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumb-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.thumb-title {
  font-family: var(--display);
  font-size: 1.02rem;
  line-height: 1.25;
  font-weight: 700;
  color: var(--white);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s;
}

.thumb-card:hover .thumb-title {
  color: var(--amber);
}

.thumb-meta {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ash);
}

@media (max-width: 560px) {
  .thumb-card {
    grid-template-columns: 92px 1fr;
    gap: 14px;
    padding: 12px;
  }

  .thumb-media {
    width: 92px;
    height: 72px;
  }

  .thumb-title {
    font-size: 0.92rem;
  }
}

/* ─── LATEST GRID — uniform 3-col ───────────────────────────────────── */
.latest-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 640px) {
  .latest-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .latest-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }
}

.empty-state {
  grid-column: 1 / -1;
  padding: 80px 24px;
  text-align: center;
  border: 1px dashed rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  color: var(--fog);
  font-family: var(--sans);
  font-size: 0.95rem;
}

.empty-state strong {
  display: block;
  font-family: var(--display);
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

/* Thumb cards without images */
.thumb-card.no-image {
  grid-template-columns: 1fr;
  padding: 24px;
}

.blog-content-section .thumb-card.no-image {
  background: #ffffff;
}


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


/* ─── LOAD MORE ─────────────────────────────────────────────────────── */
.load-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 56px;
}

.load-more {
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--amber);
  background: transparent;
  border: 1px solid var(--amber);
  padding: 16px 36px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.22s;
}

.load-more:hover {
  background: rgba(255, 175, 31, 0.08);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px var(--amber-glow);
}

.load-more:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* ─── SKELETON LOADING ──────────────────────────────────────────────── */
.skeleton-card {
  background: var(--ink2);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  overflow: hidden;
  height: 100%;
  min-height: 340px;
}

.skeleton-box {
  background: linear-gradient(90deg,
      rgba(255, 255, 255, 0.03) 0%,
      rgba(255, 255, 255, 0.06) 50%,
      rgba(255, 255, 255, 0.03) 100%);
  background-size: 200% 100%;
  animation: shimmer 1.4s ease-in-out infinite;
}

.skeleton-card .skeleton-media {
  width: 100%;
  aspect-ratio: 16 / 10;
}

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

.skeleton-card .sk-tag {
  height: 18px;
  width: 80px;
  border-radius: 4px;
}

.skeleton-card .sk-title {
  height: 22px;
  width: 100%;
  border-radius: 4px;
}

.skeleton-card .sk-title.short {
  width: 70%;
}

.skeleton-card .sk-meta {
  height: 12px;
  width: 40%;
  border-radius: 4px;
  margin-top: 8px;
}

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

  100% {
    background-position: -200% 0;
  }
}

/* ─── APP SECTION ───────────────────────────────────────────────────── */
.app-section {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--ink) 0%, rgba(7, 7, 7, 0.8) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

.app-section::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 175, 31, 0.05) 0%, transparent 70%);
  border-radius: 50%;
  top: -200px;
  right: -200px;
  pointer-events: none;
}

.app-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

@media (min-width: 992px) {
  .app-content {
    grid-template-columns: 1fr 1fr;
    gap: 80px;
  }
}

.app-text {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.app-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--amber);
  background: rgba(255, 175, 31, 0.1);
  padding: 8px 12px;
  border-radius: 999px;
  width: fit-content;
  margin-bottom: 20px;
}

.app-title {
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--white);
  margin: 0;
}

.app-title .a {
  color: var(--amber);
}

.app-description {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--fog);
  margin: 0;
}

.roi-pain-list {
  list-style: none;
  padding: 0;
  margin: 16px 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.roi-pain-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  align-items: flex-start;
  padding: 28px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.roi-pain-item:last-child {
  border-bottom: none;
}

.roi-pain-num {
  font-family: var(--display);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--amber);
  line-height: 1;
  letter-spacing: -0.02em;
}

.roi-pain-h {
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin: 0 0 12px 0;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.roi-pain-p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--fog);
  margin: 0;
}

@media (max-width: 768px) {
  .roi-pain-item {
    grid-template-columns: 60px 1fr;
    gap: 16px;
    padding: 20px 0;
  }

  .roi-pain-num {
    font-size: 1.5rem;
  }

  .roi-pain-h {
    font-size: 1.05rem;
    margin-bottom: 8px;
  }

  .roi-pain-p {
    font-size: 0.95rem;
  }
}

.app-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 8px;
}

.app-store-link {
  display: inline-block;
  text-decoration: none;
  transition: transform 0.25s, filter 0.25s;
}

.app-store-link:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

.app-store-link:active {
  transform: translateY(0);
}

.app-mockups {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: -40px;
  position: relative;
  height: 600px;
  perspective: 1200px;
}

@media (max-width: 991px) {
  .app-mockups {
    height: 400px;
    gap: -20px;
  }
}

.phone-mockup {
  position: absolute;
  width: 200px;
  height: 400px;
  transition: all 0.4s ease;
}

@media (max-width: 991px) {
  .phone-mockup {
    width: 140px;
    height: 280px;
  }
}

.phone-left {
  left: 0;
  transform: rotateY(25deg) rotateX(-10deg) translateZ(50px);
  z-index: 1;
}

.phone-center {
  left: 50%;
  transform: translateX(-50%) translateZ(100px);
  z-index: 3;
  width: 240px;
  height: 480px;
}

@media (max-width: 991px) {
  .phone-center {
    width: 170px;
    height: 340px;
  }
}

.phone-right {
  right: 0;
  transform: rotateY(-25deg) rotateX(-10deg) translateZ(50px);
  z-index: 1;
}

.phone-frame {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%);
  border-radius: 40px;
  padding: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

.phone-frame::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 28px;
  background: #000;
  border-radius: 0 0 20px 20px;
  z-index: 10;
}

.phone-frame-large {
  padding: 14px;
}

.phone-frame-large::before {
  height: 32px;
}

.phone-screen {
  flex: 1;
  border-radius: 32px;
  overflow: hidden;
  background: var(--ink);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ─── BLOG FOOTER ───────────────────────────────────────────────────── */
.blog-footer {
  background: #070707;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
  margin-top: 120px;
}

.blog-footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 80px 28px 40px;
  position: relative;
  z-index: 2;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  margin-bottom: 80px;
}

@media (min-width: 992px) {
  .footer-top {
    grid-template-columns: 1.2fr 2fr;
    gap: 80px;
  }
}

.footer-statement {
  font-family: var(--display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 800;
  color: var(--white);
}

.footer-statement .a {
  color: var(--amber);
  display: block;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

@media (min-width: 768px) {
  .footer-cols {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-col h4 {
  font-family: var(--sans);
  font-weight: 800;
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-family: var(--sans);
  font-size: 0.85rem;
  color: var(--fog);
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--amber);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ash);
}

.footer-wordmark {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(5rem, 18vw, 18rem);
  line-height: 0.8;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.08);
  text-align: center;
  margin: 0;
  padding: 40px 0 0;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  transform: translateY(20%);
}

.footer-wordmark .a {
  color: transparent;
  -webkit-text-stroke: 1px var(--amber);
}

/* ─── RESPONSIVE FINE-TUNES ─────────────────────────────────────────── */
@media (max-width: 768px) {
  .block {
    padding: 48px 0;
  }

  .block-title {
    margin-bottom: 28px;
  }

  .blog-hero {
    padding: 110px 0 60px;
  }

  .filter-row {
    padding: 32px 0 8px;
  }

  .filter-pills {
    gap: 8px;
  }

  .filter-pill {
    padding: 8px 14px;
    font-size: 0.65rem;
  }

  .post-card-body {
    padding: 20px 20px 24px;
  }

  .post-title {
    font-size: 1.18rem;
  }

  .featured-main .post-title {
    font-size: 1.5rem !important;
  }

  .blog-footer-inner {
    padding: 60px 20px 32px;
  }

  .footer-top {
    margin-bottom: 48px;
  }
}

/* ─── SlabWare icon path overrides (local blog paths) ───────────────── */
/* Override SlabAwesome.css which uses /assets_2025/ absolute paths      */
.sw-fabricator-stroke {
  -webkit-mask-image: url('../imagens/icon/Icon_FAB.svg');
  mask-image: url('../imagens/icon/Icon_FAB.svg');
}

.sw-fabricator {
  -webkit-mask-image: url('../imagens/icon/Fabricator.svg');
  mask-image: url('../imagens/icon/Fabricator.svg');
}

.sw-distributor {
  -webkit-mask-image: url('../imagens/icon/Distributor.svg');
  mask-image: url('../imagens/icon/Distributor.svg');
}

.sw-exporter {
  -webkit-mask-image: url('../imagens/icon/Exporter.svg');
  mask-image: url('../imagens/icon/Exporter.svg');
}

.sw-person {
  -webkit-mask-image: url('../imagens/icon/person_24dp_E8EAED_FILL1_wght400_GRAD0_opsz24.svg');
  mask-image: url('../imagens/icon/person_24dp_E8EAED_FILL1_wght400_GRAD0_opsz24.svg');
}

/* ── In-post ad block ──────────────────────────────────────────────────── */
.post-ad-block {
  margin: 2rem 0;
  text-align: center;
}

.post-ad-block .post-ad-link {
  display: inline-block;
}

.post-ad-block img {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, .12);
  transition: opacity .2s;
}

.post-ad-block img:hover {
  opacity: .9;
}

/* ======================================================================
   NEW: Sidebar & Ad Cards logic
   ====================================================================== */
.post-sidebar-sticky {
  position: sticky;
  top: 100px;
}

.post-ad-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none !important;
  color: inherit !important;
  display: block;
  margin-bottom: 2rem;
}

.post-ad-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
}

.post-ad-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #111;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.post-ad-body {
  padding: 24px;
}

.post-ad-title {
  font-family: inherit;
  font-weight: 800;
  font-size: 1.25rem;
  line-height: 1.3;
  margin-bottom: 16px;
  color: #fff;
}

.post-ad-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #FFAF1F;
  color: #000 !important;
  font-weight: 800;
  font-size: 0.9rem;
  padding: 12px 24px;
  border-radius: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  width: 100%;
  transition: background 0.2s;
}

.post-ad-card:hover .post-ad-cta {
  background: #FFCB4B;
}

/* In-post specific tweaks */
.post-ad-inline {
  max-width: 650px;
  margin: 3.5rem auto;
}

.post-ad-inline .post-ad-img {
  aspect-ratio: 16 / 9;
  /* Estilo Reddit/Banner para dentro do post */
}

@media (max-width: 768px) {
  .post-ad-inline {
    margin: 2.5rem 0;
  }
}