.articles {
  padding: 6.25rem 0 3.375rem 0;
  margin-top: -6.25rem;
  border-radius: 50px 50px 0px 0px;
  background: #f4f7f8;
}

.articles .article-first-container {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.articles h2 strong,
.articles h3 strong {
  color: var(--grey-2, #222);
}

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

.sotendas-orcamento {
  display: flex;
  flex-direction: column;
}

.article-first-container .orcamento {
  display: flex;
  padding: 50px;
  flex-direction: column;
  align-items: flex-start;
  gap: 40px;
  align-self: stretch;
  max-width: 437px;
  border-radius: 5px;
  background: var(--Foundation-Blue-Light, #e6f5fb);
}

.article-first-container .orcamento h3 {
  color: var(--Foundation-Green-Normal, #071318);
  font-size: 2.25rem;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: -1.44px;
}

.article-first-container .orcamento p {
  color: #565656;
  font-size: 1rem;
  font-style: normal;
  font-weight: 400;
  line-height: 28px; /* 140% */
}

.article-first-container .orcamento .orcamento-btn {
  display: flex;
  height: 56px;
  width: 337px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  align-self: stretch;
  border-radius: 5px;
  background: #16a34a;
  color: #fff;
  text-align: center;
  font-size: 1rem;
  font-style: normal;
  font-weight: 600;
  line-height: 20px; /* 125% */
  transition: background-color 0.3s ease;
}

.article-first-container .orcamento .orcamento-btn:hover {
  background-color: #15803c;
}

.article-first-container .bndes {
  display: flex;
  max-width: 437px;
  padding: 50px;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  align-self: stretch;
  border-radius: 10px;
  background: #df7100;
}

.article-first-container .bndes h3 {
  color: #fff;
  font-size: 1.5rem;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 0.96px;
}

.article-first-container .bndes p {
  color: #fff;
  font-size: 1rem;
  font-style: normal;
  font-weight: 500;
  line-height: 28px; /* 175% */
  max-width: 337px;
}

.articles .text-container {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-top: 11.688rem;
}

.articles .text-container h2 {
  color: var(--grey-2, #222);
  font-size: 2rem;
  font-style: normal;
  font-weight: 600;
  line-height: 40px; /* 125% */
}

.articles .text-container p {
  color: var(--grey-1, #565656);
  font-size: 1rem;
  font-style: normal;
  font-weight: 400;
  line-height: 24px; /* 150% */
}

.articles .text-container ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.articles .text-container ul li {
  color: var(--grey-1, #565656);
  font-size: 1rem;
  font-style: normal;
  font-weight: 400;
  line-height: 24px; /* 150% */
  margin-left: 10px;
}

.articles .gallery {
  height: 100%;
}

.articles .gallery .main-image img,
.articles .img img {
  border-radius: 20px;
}

.articles .gallery .thumbnails {
  display: flex;
  gap: 12px;
}

.articles .gallery .thumbnails img {
  border-radius: 10px;
  border: 2px solid #979797;
}

.articles .gallery .thumbnail-active img,
.thumbnail-active .thumb-img {
  border: 2px solid #979797;
  outline: 7px solid var(--Foundation-Blue-Normal, #0097d4);
  outline-offset: -2px;
}

.gallery-articles {
  display: flex;
  flex-direction: column;
  gap: 5rem;
}

.thumb-item {
  position: relative;
  display: inline-block;
}

.thumb-overlay-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--Foundation-Blue-Normal, #0097d4);
  font-size: 3rem;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

.thumb-item.last-thumb .thumb-overlay-text {
  position: absolute;
  top: 50%;
  left: 50%;
  color: var(--Foundation-Blue-Normal, #0097d4);
  font-size: 3rem;
  font-style: normal;
  z-index: 2;

  font-weight: 600;
  line-height: normal;
}

.white-overlay {
  position: absolute;
  top: 0;
  left: 0;
  border: 2px solid #979797;
  border-radius: 10px;
  width: 100%;
  height: 97%;
  background-color: lightgray;
  opacity: 0.7;
  z-index: 1;
}

.tabela {
  padding-top: 3rem;
}

.articles .tabela img {
  margin-top: 20px;
}

.zoomable {
  cursor: zoom-in;
  transition: transform 0.3s;
}

.zoomable:hover {
  opacity: 0.8;
}

.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
  margin: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 100%;
  max-height: 100vh;
  animation: zoomIn 0.3s ease-in-out;
}

.modal .close {
  position: absolute;
  top: 30px;
  right: 40px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

@keyframes zoomIn {
  from {
    transform: scale(0.7);
  }
  to {
    transform: scale(1);
  }
}

@media screen and (min-width: 1025px) and (max-width: 1333px) {
  .articles .article-first-container .responsive-img {
    width: 90%;
    height: auto;
  }
}

@media (max-width: 1024px) {
  .articles .article-first-container {
    flex-direction: column;
    gap: 32px;
    align-items: start;
  }

  .article-first-container .orcamento,
  .article-first-container .bndes {
    width: 100%;
    max-width: 100%;
    padding: 30px;
  }
}

@media (max-width: 767px) {
  .thumb-item.last-thumb .thumb-overlay-text {
    font-size: 2rem;
  }

  .article-first-container .orcamento .orcamento-btn {
    width: 100%;
  }
}
