.financial-news-section {
  padding: 80px 0;
  font-family: var(--rv-font);
  position: relative;
}

.financial-news-section .rvTab {
  display: flex;
  gap: 10px;
  margin-bottom: 30px;
  flex-wrap: wrap;
  justify-content: center;
  list-style: none;
}

.financial-news-section .rvTab .tab_item {
  flex: 1 1 auto;
  max-width: 180px;
  position: relative;
}

.financial-news-section .rvTab .tab_item .tab_link {
  background-color: transparent;
  color: var(--rv-secondary);
  padding: 12px 15px;
  text-align: center;
  font-weight: 600;
  border: 2px solid var(--rv-primary);
  border-radius: 30px;
  transition: all 0.3s ease;
  cursor: pointer;
  font-family: var(--rv-font-heading);
  position: relative;
  overflow: hidden;
  z-index: 1;
  list-style: none;
}

.financial-news-section .rvTab .tab_item .tab_link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0;
  background: var(--rv-gradient-primary);
  z-index: -1;
  transition: 0.4s ease;
}

.financial-news-section .rvTab .tab_item .tab_link:hover::before,
.financial-news-section .rvTab .tab_item .tab_link.activelink::before {
  width: 100%;
}

.financial-news-section .rvTab .tab_item .tab_link:hover,
.financial-news-section .rvTab .tab_item .tab_link.activelink {
  color: #fff;
  border-color: transparent;
}

.financial-news-section .rvTabContent .tab_list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  padding: 0;
}

.financial-news-section .rvTabContent .tab_list.hide {
  display: none;
}

.financial-news-section .news-box {
  background: var(--rv-white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.financial-news-section .news-box::after {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.3) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  transition: 0.75s;
}

.financial-news-section .news-box:hover::after {
  left: 130%;
}

.financial-news-section .news-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
}

.financial-news-section .news-box .image {
  position: relative;
}

.financial-news-section .news-box .image img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.financial-news-section .news-box .image .date {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background-image: var(--rv-gradient-primary);
  color: #fff;
  padding: 5px 12px;
  font-size: 13px;
  border-radius: 20px;
  font-weight: 500;
  box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}

.financial-news-section .news-box .content {
  padding: 18px 15px;
}

.financial-news-section .news-box .content h4 {
  font-size: 17px;
  font-weight: 700;
  font-family: var(--rv-font-heading);
  color: var(--rv-secondary);
  margin: 0 0 10px;
}

.financial-news-section .news-box .content p {
  font-size: 15px;
  line-height: 22px;
  color: var(--rv-gray);
  margin: 0;
}
