:root {
  --bg-light: #f4f4f4;
  --bg-dark: #1e1e1e;
  --text-light: #000;
  --text-dark: #fff;
  --card-bg-light: #fff;
  --card-bg-dark: #2c2c2c;
}

body {
  margin: 0;
  font-family: 'Open Sans', sans-serif;
  background-color: var(--bg-light);
  color: var(--text-light);
  transition: background-color 0.3s, color 0.3s;
}

h1, h2, h3 {
  font-family: 'Montserrat', sans-serif;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #2c3e50;
  color: white;
  height: 50px;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1001;
}

.menu-icon {
  font-size: 24px;
  cursor: pointer;
}

.theme-toggle {
  background: none;
  border: 1px solid white;
  color: white;
  padding: 5px 10px;
  cursor: pointer;
  border-radius: 5px;
  margin-left: auto;
  margin-right: 35px;
}

.sidebar {
  height: 100%;
  width: 0;
  position: fixed;
  top: 0;
  left: 0;
  background-color: #2c3e50;
  overflow-x: hidden;
  transition: 0.3s;
  padding-top: 60px;
  z-index: 1000;
}

.sidebar a {
  padding: 10px 20px;
  text-decoration: none;
  color: white;
  display: block;
}

.sidebar a:hover {
  background-color: #34495e;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.3);
  display: none;
  z-index: 999;
}

.cover {
  margin-top: 50px;
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.profile-wrapper {
  display: flex;
  justify-content: center;
  text-align: center;
  margin-top: -75px;
  z-index: 2;
}

.profile-pic {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 5px solid white;
  background-color: white;
}

.section {
  margin-top: 40px;
  padding: 40px 20px;
  background-color: var(--card-bg-light);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  text-align: justify;
  transition: background-color 0.3s;
  border: 2px solid #2c3e50;
  border-radius: 10px;
}

.section h2 {
  text-align: center;
  margin-bottom: 20px;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.project-card {
  background-color: var(--card-bg-light);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 5px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-left: 5px solid #3498db;
  text-align: center;
}

.project-card:hover {
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 8px 20px rgba(52,152,219,0.3);
}

.publicacoes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.publicacoes-card {
  background-color: var(--card-bg-light);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 5px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-left: 5px solid #3498db;
}

.publicacoes-card:hover {
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 8px 20px rgba(52,152,219,0.3);
}

.publicacoes-card p {
  text-align: left;
}

.publicacoes-card h3{
  text-align: center;
}

.publicacoes-card-link {
  text-decoration: none;
  color: inherit;
}

.publicacoes-card-link:hover {
  text-decoration: none;
}

.ver-todas {
  text-align: center;
  margin-top: 30px;
}

.ver-todas a {
  color: #0a66c2;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  gap: 6px;
}

.ver-todas a:hover {
  text-decoration: underline;
}

.servicos-grid {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 20px;
  padding-bottom: 20px;
}

.servicos-card {
  background-color: var(--card-bg-light);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  scroll-snap-align: start;
  position: relative;
  border-left: 5px solid #3498db;
  flex: 0 0 auto;
  max-width: 280px;
}

.servicos-card h3{
  text-align: center;
  margin-bottom: 14px;
}

.servicos-card p{
  text-align: left;
  line-height: 1.6;
}

.servicos-card ul{
  text-align: left;
  padding-left: 20px;
  margin-top: 10px;
}

.servicos-card li{
  margin-bottom: 6px;
}

.servicos-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  background-color: #f9f9f9;
}

.servicos-indicadores {
  text-align: center;
  margin-top: 10px;
}

body.dark-mode {
  background-color: var(--bg-dark);
  color: var(--text-dark);
}

body.dark-mode .section,
body.dark-mode .publicacoes-card,
body.dark-mode .project-card {
  background-color: var(--card-bg-dark);
  color: var(--text-dark);
}

body.dark-mode th,
body.dark-mode .servicos-card {
  background-color: #333;
  color: var(--text-dark);
}

body.dark-mode .servicos-card h3,
body.dark-mode .servicos-card p,
body.dark-mode .form-contato label {
  color: var(--text-dark);
}

.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow-y: auto;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px); /* aplica o desfoque */
  animation: fadeIn 0.3s ease forwards;
}

.modal-conteudo {
  background-color: var(--card-bg-light);
  margin: 5% auto;
  padding: 30px;
  border-radius: 10px;
  max-width: 700px;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
  color: var(--text-light);
  transform: scale(0.95);
  opacity: 0;
  animation: slideUp 0.4s ease forwards;
}

body.dark-mode .modal-conteudo {
  background-color: var(--card-bg-dark);
  color: var(--text-dark);
}

.fechar {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.fechar:hover {
  color: #000;
}

/* Animação de entrada */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from {
    transform: scale(0.95);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* Animação de saída */
@keyframes fadeOut {
  from { opacity: 1; }
  to { opacity: 0; }
}

@keyframes slideDown {
  from {
    transform: scale(1);
    opacity: 1;
  }
  to {
    transform: scale(0.95);
    opacity: 0;
  }
}

.modal.fechando {
  animation: fadeOut 0.3s ease forwards;
}

.modal-conteudo.fechando {
  animation: slideDown 0.4s ease forwards;
}

.form-contato {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 20px;
}

.form-contato label {
  font-weight: bold;
  color: #2c3e50;
}

.form-contato input,
.form-contato textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 16px;
  width: 100%;
  box-sizing: border-box;
  background-color: var(--card-bg-light);
  color: var(--text-light);
}

body.dark-mode .form-contato input,
body.dark-mode .form-contato textarea {
  background-color: var(--card-bg-dark);
  color: var(--text-dark);
  border: 1px solid #555;
}

.form-contato button {
  background-color: #2c3e50;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s;
}

.form-contato button:hover {
  background-color: #34495e;
}

#modal-sucesso .modal-conteudo h3 {
  color: #2c3e50;
  margin-bottom: 10px;
}

#modal-sucesso .modal-conteudo p {
  font-size: 16px;
}

.abrir-modal:focus {
  outline: 2px solid #3498db;
  outline-offset: 2px;
}

.abrir-modal {
  transition: outline 0.2s ease;
}

.libutton {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 7px;
  text-align: center;
  outline: none;
  text-decoration: none !important;
  color: #ffffff !important;
  width: 200px;
  height: 32px;
  border-radius: 16px;
  background-color: #0A66C2;
  font-family: "SF Pro Text", Helvetica, sans-serif;
}

footer {
  background-color: #2c3e50;
  color: white;
  padding: 10px 20px;
}

.footer-content {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  font-size: 0.9em;
}

.copyright {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
}

.language {
  margin-left: auto;
  white-space: nowrap;
}

/* Container em duas colunas (igual ao LinkedIn) */
.newsletter-container {
  display: flex;
  align-items: center;
  gap: 25px;
}

/* Imagem grande à esquerda */
.newsletter-img-left {
  width: 180px;
  border-radius: 6px;
}

/* Texto à direita */
.newsletter-content {
  flex: 1;
  text-align: left;
}

.newsletter-content h2 {
  margin-top: 5px;
  margin-bottom: 10px;
  font-size: 26px;
}

.newsletter-buttons {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-top: 20px;
}

.news-btn,
.news-btn-outline {
  padding: 10px 26px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.2s;
}

/* Botão azul */
.news-btn {
  border: 2px solid #0a66c2;
  background: #0a66c2;
  color: white;
}
.news-btn:hover {
  background: #004f93;
}

.news-btn-outline {
  border: 2px solid #0a66c2;
  color: #0a66c2;
}
.news-btn-outline:hover {
  background: #e7f3ff;
}

#newsletter,
#newsletter * {
  text-align: left !important;
}

.newsletter-header {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  width: 100% !important;
}

#newsletter h2 {
  text-align: left !important;
}

.newsletter-tag-left {
  font-size: 12px;
  color: #555;
  letter-spacing: 1px;
  text-align: left !important;
  align-self: flex-start;
}

.newsletter-tag-right {
  margin-left: auto !important;
  font-size: 12px;
  color: #555;
  white-space: nowrap;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

th, td {
  border: 1px solid #ccc;
  padding: 10px;
  vertical-align: middle;
}

th {
  background-color: #ecf0f1;
  text-align: center;
}

.publicacoes-destaque {
  text-align: left;
  margin-bottom: 15px;
}

.ver-todas a {
  color: #000;
}

body.dark-mode .ver-todas a {
  color: #fff;
}

body.dark-mode .newsletter-tag-left,
body.dark-mode .newsletter-tag-right {
  color: #fff;
}

body.dark-mode .news-btn-outline {
  color: #fff;
  border-color: #fff;
}

body.dark-mode .news-btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .artigo-meta {
  color: #fff;
}

body.dark-mode .artigo-link {
  color: #fff;
  border-color: #fff;
}

body.dark-mode .artigo-link:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.cases {
  margin-top: 60px;
}

.cases-intro {
  max-width: 800px;
  margin-bottom: 30px;
  opacity: 0.85;
}

.case-title{
  font-weight: 600;
  text-align: left;
}

.accordion {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.case-item {
  border: 1px solid #ddd;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}

.case-header {
  width: 100%;
  padding: 18px 20px;
  background: #f5f7fb;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 18px;
  cursor: pointer;
  transition: 0.2s;
}

.case-header:hover {
  background: #e9edf7;
}

.case-icon{
  font-size: 26px;
  font-weight: 300;
  width: 28px;
  text-align: center;
  transition: transform 0.2s ease;
}

.case-item .case-header:hover .case-icon{
  transform: scale(1.2);
}

.case-content p {
  margin: 14px 0;
  line-height: 1.6;
}

.case-item.active .case-icon {
  content: "-";
}

.case-content {
  height: 0;
  overflow: hidden;
  transition: height 0.35s ease;
  padding: 0 20px;
}

.case-content.open {
  padding: 18px 20px;
}

.post-search-section,
.article-search-section {
  max-width: 844px;
  margin: 24px auto 0;
  padding: 20px;
  box-sizing: border-box;
}

.post-search-bar,
.article-search-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.post-search-input,
.article-search-input {
  flex: 1;
  min-width: 0;
  padding: 12px 14px;
  font-size: 16px;
  border: 1px solid #cfd6dd;
  border-radius: 8px;
  box-sizing: border-box;
  background-color: var(--card-bg-light);
  color: var(--text-light);
}

.post-search-input:focus,
.article-search-input:focus {
  outline: 2px solid #0a66c2;
  outline-offset: 2px;
  border-color: #0a66c2;
}

.post-search-submit,
.article-search-submit {
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 8px;
  background: #0a66c2;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.post-search-submit:hover,
.article-search-submit:hover {
  transform: translateY(-1px);
  opacity: 0.92;
}

.post-search-reset,
.article-search-reset {
  border: none;
  background: transparent;
  color: #0a66c2;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  flex-shrink: 0;
  padding: 0 4px;
}

.post-search-reset:hover,
.article-search-reset:hover {
  opacity: 0.85;
}

.post-search-status,
.article-search-status {
  margin: 10px 0 0;
  font-size: 14px;
  color: #666;
  text-align: right;
}

.post-grid > .section.post-hidden,
.artigos-grid > .section.article-hidden {
  display: none;
}

.post-pagination {
  max-width: 844px;
  margin: 18px auto 0;
  padding: 0 4px 10px;
  box-sizing: border-box;
  position: relative;
  min-height: 42px;
}

.post-pagination-info {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  font-size: 14px;
  color: #666;
  text-align: center;
  white-space: nowrap;
}

.post-pagination-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  width: 100%;
}

#postPrevButton {
  margin-right: auto;
}

#postNextButton {
  margin-left: auto;
}

.post-pagination-btn {
  min-width: 110px;
  height: 42px;
  padding: 0 16px;
  border: 1px solid #0a66c2;
  border-radius: 8px;
  background: #fff;
  color: #0a66c2;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}

.post-pagination-btn:hover:not(:disabled) {
  transform: translateY(-1px);
  background: #e7f3ff;
}

.post-pagination-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

body.dark-mode .post-pagination-info {
  color: #ccc;
}

body.dark-mode .post-pagination-btn {
  background: transparent;
  color: #9ecbff;
  border-color: #9ecbff;
}

body.dark-mode .post-pagination-btn:hover:not(:disabled) {
  background: rgba(158, 203, 255, 0.12);
}

@media (max-width: 700px) {
  .post-pagination {
    min-height: auto;
    padding-top: 34px;
  }

  .post-pagination-info {
    position: static;
    transform: none;
    text-align: center;
    margin-bottom: 10px;
    white-space: normal;
  }

  .post-pagination-actions {
    justify-content: space-between;
  }

  #postPrevButton,
  #postNextButton {
    margin: 0;
  }
}

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

body.dark-mode .post-search-input,
body.dark-mode .article-search-input {
  background-color: var(--card-bg-dark);
  color: var(--text-dark);
  border-color: #555;
}

body.dark-mode .post-search-status,
body.dark-mode .article-search-status {
  color: #ccc;
}

body.dark-mode .post-search-submit,
body.dark-mode .article-search-submit {
  background: #1f4e79;
}

body.dark-mode .post-search-reset,
body.dark-mode .article-search-reset {
  color: #9ecbff;
}

@media (max-width: 700px) {
  .post-search-bar,
  .article-search-bar {
    flex-wrap: wrap;
  }

  .post-search-input,
  .article-search-input {
    width: 100%;
  }

  .post-search-reset,
  .article-search-reset {
    width: 100%;
    text-align: left;
    padding-top: 2px;
  }
}

.post-grid {
  max-width: 844px;
  width: 100%;
  margin: 40px auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 0;
  box-sizing: border-box;
}

.post-grid > .section {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 12px 8px;
  box-sizing: border-box;
  border-width: 1px;
}

.post-grid .post-container {
  display: flex;
  flex-direction: column;
  width: 100%;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.post-grid .post-container:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.12);
  border-color: #1f4e79;
  opacity: 0.96;
}

.post-grid .post-img-top {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 8px;
  transition: transform 0.25s ease;
}

.post-grid .post-container:hover .post-img-top {
  transform: scale(1.04);
}

.post-meta {
  font-size: 12px;
  color: #888;
  text-align: right;
  margin-bottom: 6px;
}

.post-grid .post-container:hover .post-meta {
  color: #1f4e79;
}

.post-texto {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 8px;
}

.post-texto p {
  margin: 0;
}

.post-texto p:last-child,
.artigo-texto p:last-child {
  margin-bottom: 0;
}

.post-container,
.artigo-container {
  text-align: left;
}

.post-texto strong,
.artigo-texto strong {
  font-weight: 600;
}

.artigos-grid {
  max-width: 844px;
  margin: 40px auto 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 20px;
  row-gap: 20px;
  padding: 0;
  box-sizing: border-box;
}

.artigos-grid > .section {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 22px 16px;
  box-sizing: border-box;
  margin-top: 0;
  margin-bottom: 0;
  text-align: left;
  border-width: 1px;
}

.artigos-grid .artigo-container {
  width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

.artigos-grid .artigo-img-top {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  margin-bottom: 8px;
}

.artigo-meta {
  font-size: 12px;
  color: #888;
  text-align: right;
  margin-bottom: 6px;
}

.artigo-texto {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 8px;
}

.artigo-link {
  align-self: flex-end;
  font-weight: 600;
  text-decoration: none;
  color: #0a66c2;
  border: 2px solid #0a66c2;
  padding: 8px 22px;
  border-radius: 8px;
  transition: 0.2s;
}

.artigo-link:hover {
  background: #e7f3ff;
}

@media (max-width: 600px) {
  .profile-pic {
    width: 120px;
    height: 120px;
    top: 200px;
  }

  .section {
    padding: 20px;
    margin-top: 20px;
  }

  header {
    padding: 5px 15px;
  }

  .menu-icon {
    font-size: 20px;
  }

  .servicos-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 12px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin; /* Firefox */
    padding: 6px 6px 18px 6px;      /* respiro */
    scroll-padding-left: 6px;       /* snap bonito na borda */
    position: relative;             /* base para o indicador */
  }

  .servicos-grid::after {
    content: "➜";
    position: sticky;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    padding: 10px 12px;
    background: linear-gradient(to right, rgba(255,255,255,0), rgba(255,255,255,0.95));
    border-radius: 10px;
    font-size: 18px;
    pointer-events: none;
  }

  .servicos-grid::-webkit-scrollbar {
    height: 8px; /* Chrome, Edge, Safari */
  }

  .servicos-grid::-webkit-scrollbar-track {
    background: #dfe6ec;
    border-radius: 999px;
  }

  .servicos-grid::-webkit-scrollbar-thumb {
    background: #7f8c8d;
    border-radius: 999px;
  }

  .servicos-card {
    min-width: 100%;
    box-sizing: border-box;
    scroll-snap-align: start;
    flex: 0 0 88%;                  /* 1 card por "página" */
    max-width: 88%;                 /* libera do max-width no mobile */
    min-width: 88%;
    margin-bottom: 0;               /* não precisa em carrossel */
  }

  .servicos-indicadores {
    display: block;
    text-align: center;
    margin-top: 10px;
    font-size: 13px;
    color: #666;
  }

  body.dark-mode .servicos-grid::-webkit-scrollbar-track {
    background: #2c2c2c;
  }

  body.dark-mode .servicos-grid::-webkit-scrollbar-thumb {
    background: #888;
  }

  body.dark-mode .servicos-grid::after {
    background: linear-gradient(to right, rgba(30,30,30,0), rgba(30,30,30,0.95));
  }

  body.dark-mode .servicos-indicadores {
    color: #ccc;
  }

  .artigo-texto {
    text-align: left;
  }

  .artigo-link {
    align-self: flex-end;
    margin-top: 10px;
  }

  .footer-content {
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }

  .copyright {
    position: static;
    transform: none;
    white-space: normal;
  }

  .language {
    margin-left: 0;
    white-space: normal;
  }
}

@media (max-width: 700px) {
  .newsletter-container {
    flex-direction: column;
    text-align: center;
  }

  .newsletter-content {
    text-align: center;
  }

  .newsletter-header {
    flex-direction: column;
    gap: 5px;
  }

  .newsletter-tag-left {
    align-self: flex-start;
    text-align: left;
  }

  .newsletter-buttons {
    justify-content: center;
    gap: 20px;
  }

  #newsletter .newsletter-header {
    flex-direction: row !important;
    justify-content: space-between;
  }

  #newsletter .newsletter-tag-left {
    text-align: left;
    align-self: center;
  }
}

@media (max-width: 768px) {
  .artigos-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) and (min-width: 601px) {
  .section {
    padding: 30px;
    max-width: 90%;
  }
}
