.main-news-image {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.main-news-image .owl-carousel {
  border-radius: 15px;
  overflow: hidden;
}

.main-news-image .owl-item {
  border-radius: 15px;
  overflow: hidden;
}

.main-news-image img {
  border-radius: 15px;
  transition: transform 0.3s ease;
  width: 100%;
  height: 600px;
  object-fit: cover;
}

.main-news-image img:hover {
  transform: scale(1.02);
}

.news-image-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.news-index-overlay {
  position: absolute;
  bottom: 40%;
  left: 20px;
  z-index: 10;
}

.slider_news_footer_other_new_box {
  width: 24%;
  background: #1c9768;
  border-radius: 8px;
  font-size: 13px;
  padding: 10px;
  min-height: 70px;
  display: flex;
  flex-direction: row;
  align-items: center;
  text-align: start;
  transition: all 0.3s ease;
  margin-top: 1rem;
  gap: 10px;
  cursor: pointer;
}
.slider_news_footer_other_new_box:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(28, 151, 104, 0.3);
}

.slider_news_footer_other_new_box button {
  margin-bottom: 8px;
  border: 2px solid #fff;
  transition: all 0.3s ease;
}

.slider_news_footer_other_new_box button:hover {
  background: #28a745 !important;
  color: white !important;
  transform: scale(1.05);
}

.news-index-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--yesil);
  color: white;
  border-radius: 50%;
  font-weight: bold;
  font-size: 1rem;
}

.news-content-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px 30px 30px 30px;
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
}
.main-news-image .news-image-container {
  position: relative;
}

.main-news-image .news-image-container::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgb(0 0 0 / 0%) 0%,
    rgb(0 0 0 / 29%) 60%,
    rgb(0 0 0) 100%
  );
  z-index: 1;
  pointer-events: none;
}
.news-content-overlay,
.news-index-overlay {
  position: absolute;
  z-index: 2;
}

.news-overlay-content {
  color: white;
  position: absolute;
  bottom: 100%;
  transform: translateY(-60%);
}

.news-overlay-title {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 15px;
  line-height: 1.3;
}

.nav-item {
  flex: 1;
}
.news-overlay-title a {
  color: white !important;
  font-size: 26px;
}

.news-overlay-description {
  font-size: 14px;
  line-height: 1.5;
  opacity: 0.75;
}

.main-news-title {
  font-size: 1.5rem;
  line-height: 1.3;
  color: #333;
}

.main-news-description {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #666;
}

.news-numbers {
  z-index: 1;
  flex-wrap: wrap;
  gap: 8px;
  position: absolute;
  bottom: 3%;
  padding: 0px 1.5rem;
}

.news-numbers:before {
  content: "";
  width: 94%;
  height: 2%;
  background: #d1d1d1;
  position: absolute;
  top: 0%;
  left: 50%;
  z-index: 1;
  transform: translateX(-50%);
}

.news-number-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 35px;
  background: #28a745;
  color: white;
  text-decoration: none;
  border-radius: 10px;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  cursor: pointer;
}

.news-number-btn:hover {
  background: #218838;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(40, 167, 69, 0.4);
  border-color: #fff;
}

.news-number-btn.active {
  background: #fff;
  color: #28a745;
  border-color: #28a745;
  box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.announcements-title {
  font-size: 1.5rem;
  color: var(--mavi) !important;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  font-weight: bolder;
}

.announcements-subtitle {
  font-size: 0.85rem;
  color: #6c757d;
  line-height: 1.4;
}
ul#announcementsTab {
  display: flex;
  gap: 10px;
}
.mr-2 {
  margin-right: 8px;
}
.stories.carousel {
  display: flex;
  overflow: hidden;
  padding: 5px 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.stories.carousel::-webkit-scrollbar {
  display: none;
}

.story {
  flex-shrink: 0;
  width: 65px;
  text-align: center;
}

.story .item-link {
  text-decoration: none;
  color: inherit;
}

.story .item-preview {
  width: 100%;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #fff;
  background: linear-gradient(
    45deg,
    #f09433 0%,
    #e6683c 25%,
    #dc2743 50%,
    #cc2366 75%,
    #bc1888 100%
  );
  padding: 3px;
  transition: transform 0.3s ease;
}

.story .item-preview:hover {
  transform: scale(1.05);
}

.story .item-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid #fff;
}
.announcements-tabs .nav-link {
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 900;
  padding: 12px 12px;
  transition: all 0.3s ease;
  color: #333;
  border: 1px solid #3333;
  width: 100%;
  font-family: var(--titles) !important;
}

.announcements-tabs .nav-link.active {
  background: var(--yesil);
  color: white;
}

.announcements-tabs .nav-link:hover:not(.active) {
  background: #f8f9fa;
  color: #495057;
}

.announcement-items {
  max-height: 400px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #dee2e6 transparent;
  background: var(--mavi);
  border-radius: 10px;
}

.announcement-items::-webkit-scrollbar {
  width: 6px;
}

.announcement-items::-webkit-scrollbar-track {
  background: transparent;
}

.announcement-items::-webkit-scrollbar-thumb {
  background: #dee2e6;
  border-radius: 3px;
}

.announcement-item {
  border: none;
  cursor: pointer;
}
.announcement-item:first-child {
  border-bottom: 1px solid #3333;
}
.announcement-item:nth-child(2) {
  border-bottom: 1px solid #3333;
}
.lh-14 {
  line-height: 22px;
}
.announcement-date {
  text-align: center;
  font-weight: bold;
  border: 1px solid #f7f7f7ce;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  padding: 20px;
  word-break: break-word;
}

.announcement-title {
  font-size: 0.95rem;
  line-height: 1.3;
}

.announcement-description {
  opacity: 0.9;
  line-height: 1.4;
  font-family: "QuickSand";
}

.btn-outline-primary {
  border-color: #007bff;
  color: #007bff;
  font-weight: 500;
  padding: 8px 20px;
  border-radius: 20px;
  transition: all 0.3s ease;
}

.btn-outline-primary:hover {
  background: #007bff;
  border-color: #007bff;
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

@media (max-width: 992px) {
  .main-news-section {
    padding-right: 0;
    margin-bottom: 2rem;
  }

  .announcements-section {
    margin-top: 1rem;
  }

  .stories.carousel {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .main-news-title {
    font-size: 1.3rem;
  }

  .news-number-btn {
    width: 35px;
    height: 35px;
    font-size: 0.9rem;
  }

  .story {
    width: 55px;
  }

  .story .item-preview {
    width: 55px;
    height: 55px;
  }

  .announcements-tabs .nav-link {
    font-size: 0.8rem;
    padding: 6px 12px;
  }

  .news-overlay-title {
    font-size: 1.4rem;
  }

  .news-overlay-description {
    font-size: 0.9rem;
  }

  .news-index-number {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .news-content-overlay {
    padding: 30px 20px 20px 20px;
  }
}

@media (max-width: 576px) {
  #haberler {
    padding: 1rem 0;
  }

  .announcements-section {
    padding: 1rem;
  }

  .main-news-image img {
    height: 300px !important;
  }

  .news-numbers {
    justify-content: center;
  }

  .news-overlay-title {
    font-size: 1.2rem;
  }

  .news-overlay-description {
    font-size: 0.85rem;
  }

  .news-index-number {
    width: 35px;
    height: 35px;
    font-size: 0.9rem;
    top: 15px;
    left: 15px;
  }

  .news-content-overlay {
    padding: 25px 15px 15px 15px;
  }
}
