/* News Section Styles */

.news-section {
  width: 100%;
  max-width: 100%;
  margin: 60px auto 0 auto;
}

.news-header {
  background: #0052a1;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: white;
  height: 40px;
  position: relative;
  overflow: visible;
  box-shadow: 0 4px 12px rgba(0, 82, 161, 0.3);
  margin-bottom: 30px;
}

.news-header-icon {
  position: absolute;
  left: -80px;
  top: 20%;
  transform: translateY(-50%);
  width: 320px;
  height: 320px;
  object-fit: contain;
  z-index: 1;
  pointer-events: none;
}

.news-title-container {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  position: relative;
}

.news-title {
  font-weight: 950;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0;
  margin-left: 80px;
}

.news-plus-btn {
  position: absolute;
  right: 20px;
  top: -30px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 4px solid #e85e11;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e85e11;
  font-size: 2rem;
  font-weight: 900;
  text-decoration: none;
  transition: all 0.3s ease;
  line-height: 1;
  padding: 0;
  cursor: pointer;
}

.news-plus-btn:hover {
  background: #e85e11;
  color: white;
  transform: scale(1.05);
}

/* News List - Grid horizontal com 4 itens */
.news-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 24px;
  background: white;
}

.news-item {
  display: flex;
  flex-direction: row;
  gap: 0;
  background: transparent;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
  transition: transform 0.3s ease;
}

.news-item:hover {
  transform: translateY(-2px);
}

.news-item-link {
  text-decoration: none;
  display: flex;
  flex-direction: row;
  gap: 12px;
  height: 100%;
  width: 100%;
}

.news-item-image {
  width: 90px;
  min-width: 90px;
  height: 90px;
  overflow: hidden;
  position: relative;
}

.news-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.news-item:hover .news-item-image img {
  transform: scale(1.05);
}

.news-item-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  justify-content: space-between;
}

.news-item-title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  color: #333;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.3s ease;
}

.news-item:hover .news-item-title {
  color: #0052a1;
}

.news-item-cta {
  color: #e85e11;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: auto;
  transition: color 0.3s ease;
}

.news-item:hover .news-item-cta {
  color: #0052a1;
}

.news-item-cta .arrow {
  font-size: 16px;
  margin-left: 4px;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
  .news-header-icon {
    width: 250px;
    height: 250px;
    left: -60px;
  }

  .news-title {
    margin-left: 60px;
  }

  .news-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .news-item-image {
    width: 100px;
    min-width: 100px;
    height: 100px;
  }
}


@media (max-width: 768px) {
  .news-section {
    margin: 40px auto 0 auto;
  }

  .news-header {
    margin-bottom: 0;
  }

  .news-header-icon {
    display: none;
  }

  .news-title {
    font-size: 0.85rem;
    margin-left: 0;
    text-align: left;
  }

  .news-title-container {
    justify-content: flex-start;
  }

  .news-plus-btn {
    top: -20px;
    right: 15px;
    width: 36px;
    height: 36px;
    font-size: 1.8rem;
    border: 3px solid #e85e11;
  }

  .news-list {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 20px 0;
    background: white;
  }

  .news-item {
    flex-direction: row;
    padding: 8px 30px;
    transition: background 0.2s ease;
  }

  .news-item:hover {
    background: #f5f5f5;
    transform: none;
  }

  .news-item-link {
    flex-direction: column;
    gap: 0;
  }

  .news-item-image {
    display: none;
  }

  .news-item-content {
    padding: 0;
    gap: 1px;
  }

  .news-item-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #333;
    -webkit-line-clamp: 2;
    line-clamp: 2;
  }

  .news-item-cta {
    font-size: 0.65rem;
    color: #e85e11;
    margin-top: 0;
  }
}

@media (max-width: 480px) {
  .news-title {
    font-size: 0.8rem;
  }

  .news-list {
    padding: 18px 0;
  }

  .news-item {
    padding: 7px 25px;
  }

  .news-item-title {
    font-size: 0.85rem;
  }
}