.fst-italic {
  font-style: italic;
}

.service-hero-section {
  position: relative;
  height: 40vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  font-size: 13px;
  color: #aaa;
}

.meta-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.service-hero-section img {
  width: 100%;
  height: 100%;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  object-fit: cover;
  object-position: center;
}

.service-hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.service-hero-section h1 {
  font-size: 48px;
  margin: 0 0 15px;
}

.service-hero-section p {
  font-size: 18px;
  margin: 0 0 40px;
  padding: 0 190px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.22) !important;
  padding: 10px 30px !important;
  border-radius: 0px !important;
  font-size: 14px;
  font-weight: 600;
  color: white;
}

.breadcrumb a {
  color: white;
  text-decoration: underline;
  text-decoration-color: transparent;
  transition:
    text-decoration-color 0.3s ease,
    text-underline-offset 0.3s ease;
}

.breadcrumb a:hover {
  color: white;
  text-decoration-color: white;
  text-underline-offset: 3px;
}

.breadcrumb i {
  color: #ccc;
  margin: 0 5px;
  font-size: 14px;
}

.sidebar-widget {
  background: #fff;
  margin-bottom: 25px;
}

.widget-header {
  background: #009cd0;
  color: white;
  padding: 10px 15px;
  font-weight: bold;
  font-size: 16px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sidebar-featured-item {
  display: flex;
  gap: 12px;
  padding: 12px;
  border: 1px solid #f0f0f0;
  transition: background 0.2s;
}

.sidebar-featured-item:hover {
  background: #f8f9fa;
  text-decoration: none;
}

.sidebar-featured-img {
  width: 100%;
  height: 80px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}

.sidebar-featured-info {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.sidebar-featured-title {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  color: #333;
  margin-bottom: 5px;
}

.sidebar-categories .list-group-item {
  padding: 12px 15px;
  font-size: 16px;
  border-left: none;
  border-right: none;
}

.sidebar-categories .list-group-item a {
  color: #444;
  text-decoration: none;
  display: block;
}

.sidebar-categories .list-group-item a:hover {
  color: #0062cc;
  font-weight: 600;
}

.recruitment-card {
  /* padding: 12px; */
  background: #fff;
}

.bg-blue-dark {
  background: #003366;
}

.text-2-line {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.text-4-line {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.6;
  max-height: 6.4em;
}

.news-grid-item {
  background: #fff;
  border: 1px solid #eee;
  transition: 0.3s;
  border-radius: 8px;
}

.news-grid-item:hover {
  transform: translateY(-4px);
  box-shadow:
    0 14px 28px rgba(0, 0, 0, 0.25),
    0 10px 10px rgba(0, 0, 0, 0.22);
  border-color: transparent;
  cursor: pointer;
}

.news-grid-img {
  width: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.news-grid-title {
  font-weight: bold;
  color: #333;
  line-height: 1.4;
}

.news-grid-desc {
  font-size: 16px;
  color: #666;
  margin-top: 8px;
}

.news-grid-desc3 {
  font-size: 14px;
  color: #666;
  margin-top: 8px;
}

.news-grid-meta {
  font-size: 12px;
  color: #999;
  display: flex;
  align-items: center;
  gap: 7px;
}

.news-grid-meta2 {
  font-size: 12px;
  color: #999;
  display: flex;
  align-items: center;
  gap: 15px;
}

.news-list-item {
  display: flex;
  gap: 20px;
  padding: 15px 0;
  border-bottom: 1px dashed #ddd;
}

.news-list-item:hover {
  background-color: #f8faff;
  cursor: pointer;
  transform: scale(1.015);
}

.news-list-item:hover .news-list-img {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.news-list-item:hover .news-list-title {
  color: #0062cc;
}

.news-list-img {
  width: 240px;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
}

.news-list-content {
  flex: 1;
}

.news-list-title {
  font-size: 19px;
  font-weight: bold;
  color: #222;
}

.sidebar-featured-item {
  display: flex;
  gap: 12px;
  padding: 12px;
  border-right: 1px solid #f0f0f0;
  flex-direction: column;
}

.badge-news {
  background: #01668f;
  color: #fff;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 500;
}

.badge-news2 {
  background: #01668f;
  color: #fff;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 500;
}

.col-lg-6,
.col-lg-5,
.col-lg-8,
.col-lg-4 {
  padding-right: 0px !important;
}

.custom-pagination .page-item .page-link {
  border: none;
  color: #666;
  margin: 0 5px;
  border-radius: 5px !important;
  font-weight: 500;
  transition: all 0.3s;
}

.custom-pagination .page-item.active .page-link {
  background-color: #009cd0;
  color: white !important;
}

.custom-pagination .page-item:not(.active) .page-link:hover {
  background-color: #eee;
  color: #009cd0;
}

.custom-pagination .page-item:first-child .page-link,
.custom-pagination .page-item:last-child .page-link {
  font-size: 18px;
  line-height: 1;
}

.btn-view {
  width: 100%;
  background-color: #2e88c5;
  color: #ffffff;
  border: none;
  padding: 4px 0;
  font-weight: bold;
  font-size: 15px;
  text-transform: uppercase;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-view:hover {
  background-color: #246da0;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.page-navigation {
  margin-top: 20px;
}

.wrapper {
  padding: 1rem;
}

.wrapper2 {
  padding: 0.5rem;
}

.new-detail-page {
  margin-top: 30px;
  margin-bottom: 30px;
}

.col-lg-4 {
  position: relative;
}

.fix-scroll {
  position: -webkit-sticky;
  position: sticky;
  top: 55px;
  z-index: 10;
}

.nd-breadcrumb-wrapper {
  background-color: #009cd0;
  padding: 8px 0;
  color: #ffffff;
  border-radius: 4px;
  margin-bottom: 20px;
}

.nd-breadcrumb-nav {
  font-size: 15px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.nd-breadcrumb-nav a {
  color: #ffffff;
  text-decoration: none;
  opacity: 0.9;
  transition: opacity 0.2s;
}

.nd-breadcrumb-nav a:hover {
  opacity: 1 !important;
  text-decoration: underline !important;
  color: white !important;
}

.nd-breadcrumb-nav i {
  margin: 0 12px;
  font-size: 10px;
  opacity: 0.7;
}

.nd-breadcrumb-nav span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 70%;
}

.nd-article {
  background: #fff;
  padding-bottom: 30px;
}

.nd-title {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.35;
  color: #1a1a1a;
  margin-bottom: 20px;
  text-transform: none;
}

.nd-meta::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 4%;
  transform: translateX(-50%);
  width: 8%;
  height: 1px;
  background-color: var(--primary-blue);
}

.nd-meta::before {
  content: "";
  position: absolute;
  top: 100%;
  left: 9%;
  transform: translateX(-50%);
  width: 18%;
  height: 1px;
  background-color: #d8d8d8;
}

.nd-meta {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 20px;
  padding-bottom: 15px;
  position: relative;
}

.nd-meta-item {
  font-size: 16px;
  color: #777;
  display: flex;
  align-items: center;
}

.nd-meta-item i {
  margin-right: 6px;
}

.nd-related-item:hover .nd-related-item-title {
  color: #009cd0;
}

.nd-category-badge {
  background-color: #009cd0;
  color: #fff;
  padding: 5px 14px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.nd-main-image {
  width: 100%;
  height: auto;
  border-radius: 4px;
  margin-bottom: 25px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.nd-body-text {
  margin-bottom: 20px;
}

.nd-body-text p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 10px;
  text-align: justify;
}

.nd-gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 30px 0;
}

.nd-gallery-item img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 4px;
  transition: transform 0.3s ease;
}

.nd-gallery-item img:hover {
  transform: scale(1.02);
}

.nd-share-footer {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding-bottom: 10px;

  background-image: linear-gradient(to right, #009cd0 20%, #eee 20%);
  background-size: 100% 1px;
  background-repeat: no-repeat;
  background-position: bottom;
}

.nd-share-label {
  font-weight: 700;
  font-size: 14px;
  margin-right: 15px;
  color: #555;
  margin-bottom: 15px;
}

.nd-social-list {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
}

.nd-social-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff !important;
  font-size: 14px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.nd-social-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  text-decoration: none;
}

.nd-social-btn.fb {
  background-color: #3b5998;
}

.nd-social-btn.tw {
  background-color: #1da1f2;
}

.nd-social-btn.pi {
  background-color: #bd081c;
}

.nd-social-btn.li {
  background-color: #0077b5;
}

.nd-related-section {
  padding-top: 20px;
}

.nd-related-header {
  margin-bottom: 20px;
}

.nd-related-title {
  font-size: 20px;
  font-weight: 700;
  margin: 0;
  position: relative;
}

.nd-nav-btn {
  background: #0091d4;
  color: white;
  border: none;
  width: 30px;
  height: 30px;
  border-radius: 3px;
  margin-left: 5px;
  cursor: pointer;
  transition: 0.3s;
}

.nd-nav-btn:hover {
  background: #0066b2;
}

.nd-related-item {
  background: #f8f9fa;
  transition: 0.3s;
}

.nd-related-img-wrapper {
  overflow: hidden;
  height: 160px;
}

.nd-related-img-wrapper img {
  width: 100%;
  height: auto;
  transition: 0.5s;
}

.nd-related-item:hover img {
  transform: scale(1.1);
}

.text-box {
  padding: 10px 10px 2px 10px;
}

.nd-related-item-title {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  line-height: 1.4;
  height: 40px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 991.98px) {
  .nd-related-img-wrapper {
    height: auto;
  }

  .sidebar-widget {
    position: relative !important;
    top: auto !important;
  }

  .nd-gallery-grid {
    display: flex;
    flex-direction: column;
  }

  .nd-meta {
    flex-wrap: wrap;
  }

  .nd-breadcrumb-nav span {
    max-width: 38%;
  }

  .service-hero-section {
    position: relative;
    padding: 80px 15px;
    text-align: center;
    overflow: hidden;
    min-height: 350px;
    margin-top: 70px;
  }

  .service-hero-section img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
  }

  .service-hero-section .container {
    position: relative;
    z-index: 2;
  }

  .service-hero-section .row {
    width: 100%;
    margin: 0;
    display: block;
  }

  .service-hero-section h1 {
    color: white;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 10px;
  }

  .service-hero-section p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    margin-bottom: 15px;
    padding: 0 10px;
  }

  .service-hero-section .breadcrumb {
    color: white;
    font-size: 13px;
    padding: 10px 20px !important;
    justify-content: center;
  }

  .service-hero-section .breadcrumb a {
    color: white;
    text-decoration: none;
  }

  .service-hero-section .breadcrumb i {
    font-size: 10px;
    vertical-align: middle;
    margin: 0 5px;
  }

  .container {
    padding-left: 15px;
    padding-right: 15px;
  }

  .col-lg-6,
  .col-lg-5,
  .col-lg-8,
  .col-lg-4 {
    padding-right: 15px !important;
    padding-left: 15px !important;
  }

  .wrapper,
  .wrapper2 {
    padding: 0.5rem;
  }

  /* 
    #news-top-grid .col-lg-5 {
    flex: 0 0 100%;
    max-width: 100%;
    }
    
    #news-top-grid .col-lg-7 {
    flex: 0 0 100%;
    max-width: 100%;
    }
    
    
    #news-top-grid .col-lg-7 .row {
    display: flex !important;
    flex-wrap: wrap !important;
    margin-left: -5px !important;
    margin-right: -5px !important;
    } */

  /* #news-top-grid .col-lg-7 .col-lg-6,
    #news-top-grid .col-lg-7 .col-6 {
    flex: 0 0 50% !important;
    max-width: 50% !important;
    padding: 0 5px !important;
    margin-bottom: 10px;
    }
    
    #news-top-grid .col-lg-7 .news-grid-img {
    height: 110px !important;
    } */

  #news-top-grid .news-grid-title {
    font-size: 13px !important;
  }

  .news-grid-desc {
    font-size: 12px;
  }

  .news-grid-img {
    height: 130px !important;
  }

  .news-list-item {
    gap: 12px;
    padding: 12px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .news-list-img {
    width: 100% !important;
    height: 90px !important;
    min-width: 120px;
  }

  .news-list-title {
    font-size: 13px;
    margin-bottom: 5px;
  }

  .badge-news,
  .badge-news2 {
    font-size: 11px;
  }

  .news-grid-meta2 {
    font-size: 13px;
  }

  .service-hero-section {
    height: 50vh;
  }

  .service-hero-section h1 {
    font-size: 28px;
  }

  .service-hero-section p {
    font-size: 14px;
    padding: 0 20px;
    margin-bottom: 20px;
  }
}

@media (max-width: 375px) {
  .news-list-img {
    width: 100% !important;
    min-width: 100px;
  }
}

.col-lg-4 {
  position: relative;
}

.sidebar-widget {
  position: -webkit-sticky;
  position: sticky;
  top: 0px;
  background-color: white;
  z-index: 1;
  margin-bottom: 20px;
  box-shadow: 0 -5px 10px rgba(0, 0, 0, 0.05);
}

.sidebar-widget:nth-child(1) {
  z-index: 1;
}

.sidebar-widget:nth-child(2) {
  z-index: 2;
}

.sidebar-widget:nth-child(3) {
  z-index: 3;
}
