/* news page styles  */
html {
  scroll-behavior: smooth;
}

.hidden {
  display: none;
}

.btn-suc {
  font-size: 12px;
  padding: 14px 36px 14px 34px;
  background: #009d10;
}

.article-card {
  margin-bottom: 3rem;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  border-radius: 15px;
  overflow: hidden;
}

.news-header {
  background: linear-gradient(135deg, #2c3e50, #3498db);
  color: white;
  padding: 4rem 0;
  margin-bottom: 3rem;
}

.article-img {
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.article-img:hover {
  transform: scale(1.03);
}

/* breadcrumbs style */
/* Modern Breadcrumb Styling */

.breadcrumb-item + .breadcrumb-item::before {
  content: none;
}
.modern-breadcrumb {
  padding: 0;
  position: relative;
  overflow: hidden;
}

.breadcrumb-background {
  height: 35vh;
  background-image: url("../imgs/breadcrumb/breadcrumb.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 2rem 0;
  position: relative;
  z-index: 1;
}

.breadcrumb-background::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgb(0 0 0 / 69%);
  z-index: -1;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  margin: 0;
  list-style: none;
  background: none;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
  margin-right: 0.5rem;
}

.breadcrumb-item::after {
  content: "›";
  margin-left: 0.5rem;
  color: #fff; /* White separator */
  font-size: 1.2rem;
}

.breadcrumb-item:last-child::after {
  content: "";
}

.breadcrumb-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #fff; /* White text */
  transition: all 0.3s ease;
}

.breadcrumb-link:hover {
  color: #6bffb7;
}

.breadcrumb-icon {
  margin-right: 0.5rem;
  font-size: 1rem;
  color: #fff; /* White icon */
}

.breadcrumb-text {
  font-size: 0.9rem;
  font-weight: 500;
}

/* Responsive font sizes */
.custom-title {
  font-size: 48px;
}

.custom-breadcrumb {
  font-size: 23px;
}

/* Media queries for responsiveness */
@media (max-width: 992px) {
  /* Tablets */
  .custom-title {
    font-size: 38px;
  }
  .custom-breadcrumb {
    font-size: 28px;
  }
  .breadcrumb-background {
    height: 25vh;
  }
}

@media (max-width: 768px) {
  /* Mobile */
  .custom-title {
    font-size: 30px;
  }
  .custom-breadcrumb {
    font-size: 18px;
  }
  .breadcrumb-background {
    height: 20vh;
  }
}

/* articale styles  */
.video-container {
  position: relative;
  padding-top: 56.25%;
  /* 16:9 Aspect Ratio (height = 9/16 * width) */
  overflow: hidden;
  border-radius: 10px;
}

.video-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-card {
  margin-bottom: 3rem;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  border-radius: 15px;
  overflow: hidden;
  background: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.2);
}

.article-img {
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.article-img:hover {
  transform: scale(1.03);
}

.video-container {
  position: relative;
  padding-top: 56.25%;
  /* 16:9 Aspect Ratio */
  overflow: hidden;
  border-radius: 10px;
}

.video-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-content h3 {
  border-bottom: 2px solid #00723b;
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
}

.article-content p {
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.lead {
  font-size: 1.1rem;
  font-weight: 400;
  color: #333;
}

.text-primary {
  color: #2e3192 !important;
}

.text-secondary {
  color: #555 !important;
}

.text-title {
  color: #00723b !important;
}

/* -----------  */
@media (min-width: 1200px) {
  .break-after::after {
    content: "\A"; /* Forces a line break */
    white-space: pre;
  }
}
