:root {
  --gold: #d4af37;
  --gold-dark: #b8941f;
  --gold-light: #f4e4b8;
  --bronze: #8b6914;
  --black: #0a0a0a;
  --dark-gray: #1a1a1a;
  --medium-gray: #2d2d2d;
  --light-gray: #a8a8a8;
  --white: #ffffff;
  --cream: #f8f5ed;
  --accent-teal: #5a8f8a;
  --font-display: 'Playfair Display', serif;
  --font-body: 'Raleway', sans-serif;
  --shadow-gold: 0 4px 20px rgba(212, 175, 55, 0.15);
  --shadow-dark: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-subtle: 0 2px 8px rgba(0, 0, 0, 0.1);
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}


.article-card{
  will-change: auto;
}


/* 2. Will-change otimizado (apenas quando necessário) */
.article-card:hover {
  will-change: transform;
}

.article-card:not(:hover) {
  will-change: auto;
}

/* 3. Transform com GPU acceleration */
.article-card,
.cta-button {
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* 4. Content-visibility para artigos */
.articles-grid {
  content-visibility: auto;
  contain-intrinsic-size: 1px 2000px;
  will-change: scroll-position;
}

.article-card {
  content-visibility: auto;
  contain-intrinsic-size: 1px 500px;
  min-height: 500px;
}

/* 1. Contenção de Layout (evita reflow) */
.article-card{
  contain: layout style paint;
}

/* Após scroll, remove will-change */
.articles-grid:not(:hover):not(:focus-within) {
  will-change: auto;
}

/* 13. Otimização de hover states */
nav a,
.article-card,
.cta-button,
.filter-btn {
  will-change: auto;
}


.article-card:hover{
  will-change: transform, color, background-color;
}


article {
  background: var(--white);
  border: 1px solid rgba(212, 175, 55, .2);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
}

article::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--bronze));
  transform: scaleX(0);
  transition: var(--transition);
}



.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
  content-visibility: auto;
  contain-intrinsic-size: 1000px;
  will-change: scroll-position;
}

/* .articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 40px;
  margin-bottom: 48px;
  content-visibility: auto;
  contain-intrinsic-size: 1px 6000px;
} */


article:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-gold);
  border-color: var(--gold);
}

article:hover::before {
  transform: scaleX(1);
}

.article-image {
  width: 100%;
  height: 240px;
  aspect-ratio: 400 / 240;
  object-fit: cover;
  background: linear-gradient(135deg, var(--dark-gray) 0, var(--black) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.8rem;
  font-weight: 700;
  font-family: var(--font-display);
  position: relative;
  overflow: hidden;
  letter-spacing: 1px;
  content-visibility: auto;
  contain-intrinsic-size: 1px 2000px;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.article-image-wrapper {
  width: 100%;
  height: 240px;
  position: relative;
  overflow: hidden;
  content-visibility: auto;
  contain-intrinsic-size: 400px 240px;
  background: linear-gradient(135deg, var(--dark-gray) 0, var(--black) 100%);
}

.article-image[data-src]:not([src]) {
  background: linear-gradient(90deg, var(--dark-gray) 25%, var(--medium-gray) 50%, var(--dark-gray) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}



.article-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 30%, rgba(212, 175, 55, .1) 0, transparent 70%);
}

.article-image.lazy-load {
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.article-image.lazy-loaded {
  opacity: 1;
}
/* .article-card:hover {
    transform: translateY(-4px);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
} */

.article-body {
  padding: 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.article-meta {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
  align-items: center;
}

/* .article-date {
  color: var(--bronze);
  font-size: .85rem;
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
} */

.article-date i {
  color: var(--gold);
}

.article-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--black);
  margin-bottom: 16px;
  font-weight: 700;
  line-height: 1.4;
  transition: var(--transition);
}

article:hover .article-title {
  color: var(--gold-dark);
}


.table-responsive {
    width: 100%; 
    overflow-x: auto; 
    margin: 20px 0; 
}
.comparison-table {
   min-width: 650px; 
    border-collapse: collapse;
    width: 100%;     
    background-color: var(--white); 
    border: 1px solid var(--gold); 
    border-radius: 8px; 
    overflow: hidden; 
    box-shadow: var(--shadow-subtle);     
}

.comparison-table td,
.comparison-table th {
    white-space: normal; 
    padding: 12px;
}

.comparison-table {
min-width: 650px; 
    border-collapse: collapse;
    width: 100%;        
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); 
    border-radius: 8px; 
    overflow: hidden; 
    background-color: var(--white-background-alt); 
}
.comparison-table caption {
 font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: left;
    color: var(--text-color);
    font-family: var(--font-display);
}
.comparison-table thead th {
background-color: var(--dark-gray); 
    color: var(--gold); 
    padding: 18px 12px;
    text-align: center;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 3px solid var(--gold-dark); 
}


.comparison-table tbody td:first-child {
    text-align: left;
    font-weight: 700;
    background-color: var(--cream); 
    color: var(--text-color);
    border-right: 1px solid rgba(0, 0, 0, 0.1); 
}


.comparison-table tbody td {
    padding: 12px;
    text-align: center;
    font-size: 0.95rem;
    color: var(--text-color);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.comparison-table tbody tr:nth-child(even) {
    background-color: var(--white);
}
.comparison-table tbody tr:nth-child(odd) {
    background-color: var(--cream); 
}
.comparison-table tbody tr:hover {
    background-color: rgba(212, 175, 55, 0.1); 
    transition: background-color 0.3s ease;
}

.table-responsive::-webkit-scrollbar {
    height: 8px;
}
.table-responsive::-webkit-scrollbar-thumb {
    background-color: #888;
    border-radius: 4px;
}
.publish-date {
    color: var(--white);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
        }

.reading-time {
    color: var(--white);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
        }
        
.article-card {
  background: #1a1a1a;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid rgba(201, 169, 97, 0.15);
  content-visibility: auto;
  contain-intrinsic-size: 400px; 
  min-height: 400px;
}

.article-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(201, 169, 97, 0.4);
  border-color: rgba(201, 169, 97, 0.4);
}

.article-image-wrapper {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
}

.article-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.article-image.lazy-load {
  filter: blur(10px);
  transform: scale(1.05);
}

.article-image.lazy-loaded {
  filter: blur(0);
  transform: scale(1);
}

.article-card:hover .article-image {
  transform: scale(1.08);
}

.article-category-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: linear-gradient(145deg, #d9b667, #b99745); /* dourado suave da paleta */
  color: #1a1a1a; /* ótimo contraste */
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 10px;
  user-select: none;
  pointer-events: none; /* impede cliques — evita parecer anúncio */
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

/* Remove qualquer ícone de informação (🛈) */
.article-category-badge i {
  display: none !important;
}


.category-tag {
  background: rgba(201, 169, 97, 0.95);
  backdrop-filter: blur(5px);
  padding: 7px 16px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #0a0a0a;
  border: 2px solid rgba(201, 169, 97, 1);
  box-shadow: 0 4px 12px rgba(201, 169, 97, 0.4);
}

.article-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: 0.85rem;
  background: linear-gradient(180deg, #1a1a1a 0%, #151515 100%);
}

.article-date {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.8rem;
  color: var(--dark-gray);
  font-weight: 600;
  margin: 0;
}

.article-date i {
  color: var(--dark-gray);
  font-size: 0.75rem;
}

.article-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
  color: #e8d7a8;
  min-height: 70px;
}

.article-title a {
  color: var( --bronze);
  text-decoration: none;
  transition: color 0.3s ease;
  display: block;
}

.article-title a:hover {
  color: var(--gold-dark);
  /* text-shadow: 0 0 20px rgba(201, 169, 97, 0.3); */
}

.article-excerpt {
  font-family: 'Raleway', sans-serif;
  font-size: 0.9rem;
  line-height: 1.65;
  color: #d0d0d0;
  margin: 0;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 70px;
}

.article-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--dark-gray);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  transition: all 0.3s ease;
  margin-top: auto;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(201, 169, 97, 0.15);
}

.article-link:hover {
  gap: 12px;
  color: var(  --bronze);
  text-shadow: 0 0 10px rgba(201, 169, 97, 0.5);
  cursor: pointer;
}

.article-link i {
  transition: transform 0.3s ease;
  font-size: 0.7rem;
}

.article-link:hover i {
  transform: translateX(5px);
}

.article-caption {
  text-align: center;
  font-size: 0.95rem;
  color: #d4d4d4; /* Cinza claro legível */
  font-style: italic;
  margin-top: 16px;
  padding: 12px 24px;
  line-height: 1.6;
  background: rgba(0, 0, 0, 0.7); /* Fundo escuro semi-transparente */
  border-radius: 4px;
}

.article-caption p {
  margin: 0;
  color: #e0e0e0; /* Garante legibilidade */
}

.filters-container {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.filter-btn {
  padding: 13px 34px;
  border: 2px solid rgba(201, 169, 97, 0.3);
  background: rgba(26, 26, 26, 0.8);
  border-radius: 30px;
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #d0d0d0;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.filter-btn:hover {
  border-color: #c9a961;
  background: rgba(26, 26, 26, 0.95);
  color: #e8d7a8;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201, 169, 97, 0.3);
}

.filter-btn.active {
  background: linear-gradient(135deg, #c9a961 0%, #b8924a 100%);
  border-color: #d4b76f;
  color: #0a0a0a;
  box-shadow: 0 6px 24px rgba(201, 169, 97, 0.5);
  font-weight: 800;
}

.load-more-container {
  text-align: center;
   margin: 40px 0;
}

.load-more-button {
  background: linear-gradient(135deg, var(--gold), var(--bronze));
    color: var(--black);
    border: 2px solid var(--gold);
    padding: 16px 32px;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 4px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition);
}

.load-more-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-gold);
}
.loading-spinner {
    color: var(--bronze);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}
.load-more-button:active {
     transform: translateY(-1px);
}

.load-more-button i {
  animation: bounce 2s infinite;
}

.fade-out {
    opacity: 0;
    transition: opacity 0.15s ease-out;
}

.fade-in {
    opacity: 1;
    transition: opacity 0.3s ease-in;
}


.pagination {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin: 40px 0;
    padding: 24px;
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow-subtle);
}

.pagination-info {
    color: var(--bronze);
    font-weight: 600;
    font-size: 0.95rem;
}

.pagination-links {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.pagination-links a {
    padding: 10px 16px;
    background: var(--cream);
    color: var(--bronze);
    border: 2px solid var(--gold);
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
}

.pagination-links a:hover {
    background: var(--gold);
    color: var(--black);
    transform: translateY(-2px);
}

.pagination-links a.active {
    background: var(--gold);
    color: var(--black);
    pointer-events: none;
}
@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(4px);
  }
}

.loading-spinner {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #e8d7a8;
  font-size: 1rem;
  font-weight: 700;
}

.loading-spinner i {
  font-size: 1.5rem;
}


.no-results {
    text-align: center;
    padding: 60px 24px;
    color: var(--light-gray);
}
.error-message {
  text-align: center;
  padding: 4rem 2rem;
  grid-column: 1 / -1;
  background: #1a1a1a;
  border-radius: 16px;
  border: 2px solid rgba(201, 169, 97, 0.3);
}

.no-results i {
    font-size: 4rem;
    color: var(--gold);
    margin-bottom: 20px;
}
.error-message i {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  color: #c9a961;
  opacity: 0.7;
}

.no-results p {
    font-size: 1.2rem;
    color: var(--bronze);
}
.error-message p {
  font-family: 'Raleway', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: #d0d0d0;
}

.error-message {
  border-color: rgba(239, 68, 68, 0.5);
}

.error-message i {
  color: #ff6b6b;
}

.error-message p {
  color: #ffcccc;
}

.ad-container {
  grid-column: 1 / -1;
  min-height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1a1a1a;
  border-radius: 16px;
  margin: 1rem 0;
  border: 2px dashed rgba(201, 169, 97, 0.2);
}



.article-card,
.article-image,
.article-link,
.load-more-button,
.filter-btn {
  will-change: transform;
}

.article-image {
  content-visibility: auto;
}

.article-link:focus,
.load-more-button:focus,
.filter-btn:focus {
  outline: 3px solid #e8d7a8;
  outline-offset: 4px;
}

.article-title,
.article-link,
.article-date {
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.article-subtitle {
  font-size: 1.3rem;
  color: var(--cream);
  line-height: 1.6;
  opacity: 0.9;
  font-weight: 300;
  margin-top: 24px;
}
.share-section {
  margin: 48px 0;
  padding: 32px;
  background: var(--white);
  border: 1px solid rgba(212, 175, 55, 0.2);
  text-align: center;
}

.share-section h3 {
  font-family: var(--font-display);
  color: var(--bronze);
  margin-bottom: 20px;
}

.share-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.share-btn {
  padding: 12px 24px;
  border-radius: 50px;
  color: var(--white);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.share-btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-gold);
}

.share-btn.facebook {
  background: #1877f2;
}
  
.share-btn.x {
  background: #060809ff;
}

.share-btn.linkedin {
  background: #0a66c2;
}

.share-btn.whatsapp {
  background: #25d366;
}

.share-btn i {
  color: var(--white);
}
.related-articles {
  margin: 60px 0;
  padding: 48px;
  background: var(--white);
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.related-articles h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--black);
  margin-bottom: 32px;
  text-align: center;
}

.related-articles-grid {
  display: grid;
  /* Adapte o repeat(3, 1fr) para o número de colunas que você usa no desktop, se ainda não estiver definido */
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.related-card {
  border: 1px solid rgba(212, 175, 55, 0.2);
  padding: 24px;
  transition: var(--transition);
}

.related-card:hover {
  box-shadow: var(--shadow-gold);
  border-color: var(--gold);
}

.related-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--bronze);
  margin-bottom: 12px;
}

.related-card p {
  font-size: 0.95rem;
  color: var(--text-color);
  line-height: 1.6;
}  
.premium-author {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.08), rgba(139, 105, 20, 0.1));
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-left: 6px solid var(--gold);
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
  margin-top: 3rem;
  transition: var(--transition);
}

.premium-author:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
}

.premium-author .author-photo {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--gold);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  flex-shrink: 0;
  transition: transform 0.4s ease;
}

.premium-author:hover .author-photo {
  transform: scale(1.05);
}

.premium-author .author-info {
  flex: 1;
  color: var(--text-color);
}

.author-title {
  color: var(--bronze);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  margin-bottom: 0.5rem;
}

.author-name {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--black);
  margin-bottom: 0.5rem;
}

.author-role {
  font-weight: 500;
  color: var(--gold-dark);
  margin-bottom: 1rem;
}

.author-info p {
  line-height: 1.8;
  margin-bottom: 0.9rem;
}

.author-info strong {
  color: var(--bronze);
  font-weight: 700;
}

.author-dates {
  font-size: 0.9rem;
  color: var(--gold-dark);
  margin-top: 1rem;
}

.author-social {
  display: flex;
  gap: 12px;
  margin-top: 1.2rem;
}

.author-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: var(--black);
  transition: var(--transition);
  font-size: 1.1rem;
}

.author-social a:hover {
  background: var(--gold);
  color: var(--black);
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.author-signature {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 1.6rem;
}

.signature-line {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.signature-text {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--bronze);
  font-size: 1rem;
}

@media (max-width: 768px) {
  .articles-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

    /* .articles-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  } */

    .article-image {
    height: 200px;
  }

  .article-image-wrapper {
    height: 200px;
  }

  .article-body {
    padding: 24px;
  }

  .article-title {
    font-size: 1.3rem;
  }

  .article-content {
    padding: 20px;
  }
  
.related-articles-grid {
      grid-template-columns: 1fr; 
      gap: 15px; 
  }
  .article-image-wide {
    width: 100%;
    margin: 24px 0;
  }
  .related-card h3 {
    font-size: 1.1rem; 
    margin-bottom: 8px;
  }
  .related-card p {
    font-size: 0.9rem; 
    line-height: 1.5;
  }
}

@media (max-width: 968px) {
  .sidebar {
   position: relative; 
        top: auto;
        width: 100%; 
        margin-top: 30px; /
  }
  .article-wrapper {
        display: block; 
        grid-template-columns: 1fr; 
        gap: 0;     
        padding: 0 16px; 
    }
}

@media (max-width: 768px) {
  .premium-author {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
  }

  .related-articles {
    padding: 20px 12px;
  }

  .articles-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .related-articles-grid {
    grid-template-columns: 1fr; /* Força os cards a ficarem em uma única coluna */
    gap: 15px;
  }

  .premium-author .author-photo {
    margin-bottom: 0.9rem;
  }

  .author-signature {
    flex-direction: column;
    gap: 4px;
  }

  .signature-line {
    width: 60%;
  }
      .pagination {
        padding: 16px;
    }

     .pagination-links a {
        padding: 8px 12px;
        font-size: 0.9rem;
    }
    
    .load-more-button {
        padding: 14px 24px;
        font-size: 0.9rem;
    }

    .ads-container {      
        margin: 20px 0; 
    }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 1024px) {
  .articles-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
  }

  .related-articles {
    padding: 36px 24px;
  }

  .related-articles h2 {
    font-size: 1.7rem;
  }
}

@media (max-width: 768px) {
  .article-title {
    font-size: 1.2rem;
    min-height: auto;
  }

  .article-excerpt {
    font-size: 0.875rem;
    min-height: auto;
  }

  .filter-btn {
    padding: 11px 26px;
    font-size: 0.8rem;
  }

  .related-articles {
    padding: 28px 16px;
    margin: 40px 0;
  }

  .related-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .related-card {
    padding: 20px;
  }

  .related-card h3 {
    font-size: 1.1rem;
  }

  .related-card p {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .breadcrumb ul {
    flex-wrap: wrap;
    font-size: 0.85rem;
  }

  .article-title {
    font-size: 1.2rem;
  }
 .article-image {
    height: 180px;
  }

  .article-content {
    padding: 1.25rem;
  }

  .article-image-wrapper {
    height: 180px;
  }

  .article-subtitle {
    font-size: 1rem;
    line-height: 1.5;
  }

  .load-more-button {
    padding: 15px 34px;
    font-size: 0.85rem;
  }

  .filters-container {
    gap: 0.75rem;
  }

  .category-tag {
    padding: 6px 12px;
    font-size: 0.65rem;
  }

  .related-articles {
    padding: 20px 12px;
  }

  .related-articles h2 {
    font-size: 1.4rem;
    line-height: 1.3;
  }

  .related-card {
    padding: 16px;
    border-radius: 8px;
  }

  .related-card h3 {
    font-size: 1rem;
    margin-bottom: 8px;
  }

  .related-card p {
    font-size: 0.85rem;
    line-height: 1.5;
  }
}


@media (min-width: 969px) {
  .articles-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 32px;
  }
}


.article-content {
  background: var(--white);
  color: var(--text-color);
}

.article-content p,
.article-content li,
.article-content strong {
  color: var(--text-color);
}

.article-content h2 {
  color: var(--black);
  border-left: 4px solid var(--gold);
  padding-left: 20px;
}

.article-content h3 {
  color: var(--bronze);
}

.highlight-box {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.05) 0%, rgba(212, 175, 55, 0.1) 100%);
  border-left: 4px solid var(--gold);
}

.prompt-box {
  background: var(--dark-gray);
  color: var(--cream);
  border: 1px solid var(--gold);
}

/* Sidebar */
.sidebar-widget {
  background: var(--white);
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.toc-list a {
  color: var(--bronze);
}

.toc-list a:hover {
  color: var(--gold-dark);
  background: rgba(212, 175, 55, 0.1);
}