/* ===== BLOCK NEWS LAYOUT ===== */
#block-news {
  background: #fff;
}
.news-categories-container {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 222;
}

.news-header {
  margin-bottom: 2rem;
}

.news-section-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary, #8b0000);
  text-transform: uppercase;
  margin: 0;
}

/* News Layout Container */
.news-layout {
  position: relative;
}

/* Featured News (left column) */
.news-featured {
  position: relative;
}

/* News List Wrapper (right column) */
.news-list-wrapper {
  position: relative;
  min-height: 100%;
}

.news-card.featured-news {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  transition: all 0.3s ease;
}

.news-card.featured-news:hover {
  /* box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15); */
  transform: translateY(-5px);
}

.news-card.featured-news .news-image-link {
  display: block;
  width: 100%;
  overflow: hidden;
}

.news-card.featured-news .news-image {
  width: 100%;
  overflow: hidden;
  position: relative;
  border-radius: 15px;
}

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

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

.news-card.featured-news .news-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-card.featured-news .news-meta {
  display: flex;
  gap: 1.5rem;
  margin: 0.5rem 0;
  font-size: 0.875rem;
  color: #000000;
  font-weight: 600;
}

.news-card.featured-news .news-meta i {
  margin-right: 0.5rem;
  color: var(--primary, #8b0000);
}

.news-card.featured-news .news-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0 0 0.5rem 0;
  line-height: 1.4;
}

.news-card.featured-news .news-title a {
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
}

.news-card.featured-news .news-title a:hover {
  color: var(--primary, #8b0000);
}

.news-card.featured-news .news-description {
  flex: 1;
  margin-bottom: 0.5rem;
}

.news-card.featured-news .news-description p {
  color: #666;
  line-height: 1.6;
  margin: 0;
}

.news-card.featured-news .btn-read-news {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--primary, #8b0000);
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 500;
  transition: all 0.3s ease;
  align-self: flex-start;
}

.news-card.featured-news .btn-read-news:hover {
  background: #a52a2a;
  transform: translateX(5px);
}

/* News List Scroll (right column) */
.news-list-scroll {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 0.5rem;
}

/* Custom Scrollbar */
.news-list-scroll::-webkit-scrollbar {
  width: 6px;
}

.news-list-scroll::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.news-list-scroll::-webkit-scrollbar-thumb {
  background: var(--primary, #8b0000);
  border-radius: 10px;
}

.news-list-scroll::-webkit-scrollbar-thumb:hover {
  background: #a52a2a;
}

/* List Item */
.news-card.list-item {
  display: flex;
  gap: 1rem;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.news-card.list-item:hover {
  transform: translateX(5px);
}

.news-card.list-item .news-image-link {
  flex-shrink: 0;
  width: 177px;
  display: block;
  overflow: hidden;
  border-radius: 6px;
}

.news-card.list-item .news-image {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

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

.news-card.list-item:hover .news-image img {
  transform: scale(1.1);
}

.news-card.list-item .news-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0.5rem 0;
}

.news-card.list-item .news-meta {
  margin-bottom: 0.5rem;
  font-size: 0.75rem;
  color: #999;
}

.news-card.list-item .news-meta i {
  margin-right: 0.25rem;
  color: var(--primary, #8b0000);
}

.news-card.list-item .news-title {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.5rem 0;
  line-height: 1.4;
}

.news-card.list-item .news-title a {
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
}

.news-card.list-item .news-title a:hover {
  color: var(--primary, #8b0000);
}

.news-card.list-item .news-description {
  font-size: 0.875rem;
  color: #666;
  line-height: 1.5;
  margin: 0;
}

.news-card.list-item .news-description p {
  margin: 0;
}

/* Responsive Design */
@media (max-width: 991.98px) {
  .news-list-wrapper {
    min-height: auto;
    margin-top: 2rem;
  }

  .news-list-scroll {
    position: static;
    height: auto;
    max-height: none;
    overflow: visible;
  }

  .news-card.list-item {
    flex-direction: column;
  }

  .news-card.list-item .news-image-link {
    width: 100%;
  }

  .news-card.list-item .news-image {
    aspect-ratio: 16/9;
  }
}

@media (max-width: 767.98px) {
  .news-section-title {
    font-size: 1.5rem;
  }

  .news-card.featured-news .news-content {
    padding: 1.25rem;
  }

  .news-card.featured-news .news-title {
    font-size: 1.25rem;
  }

  .news-card.list-item {
    padding: 0.5rem;
  }

  .news-card.list-item .news-image-link {
    width: 120px;
  }
}

@media (max-width: 575.98px) {
  .news-card.featured-news .news-content {
    padding: 1rem;
  }

  .news-card.featured-news .news-title {
    font-size: 1.1rem;
  }

  .news-card.featured-news .news-meta {
    flex-direction: row;
    gap: 0.5rem;
  }

  .news-card.list-item {
    flex-direction: column;
  }

  .news-card.list-item .news-image-link {
    width: 100%;
  }
}

.news-featured-section {
  position: relative;
  background: #fff;
  border-radius: 24px;
  padding: 2.5rem 2.75rem 1.5rem;
  box-shadow: 0 25px 60px rgba(18, 42, 129, 0.08);
  overflow: hidden;
  margin-bottom: 2.5rem;
}

.news-featured-swiper {
  width: 100%;
}

.news-featured-slide {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.news-featured-info {
  flex: 1;
  max-width: 540px;
}

.news-featured-meta {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  color: #718096;
  font-size: 0.95rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.news-featured-meta i {
  margin-right: 0.35rem;
  color: var(--primary, #0f4583);
}

.news-featured-title {
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 1rem;
  color: #152235;
}

.news-featured-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.news-featured-title a:hover {
  color: var(--primary, #0f4583);
}

.news-featured-desc {
  color: #4a5568;
  line-height: 1.7;
  margin-bottom: 1.75rem;
  font-size: 1rem;
}

.news-featured-desc p {
  margin: 0;
}

.news-featured-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--primary, #0f4583);
  color: #fff;
  padding: 0.85rem 1.8rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;

  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.news-featured-btn:hover {
  transform: translateY(-2px);
  background: #0c3a6f;
}

.news-featured-btn i {
  font-size: 1rem;
}

.news-featured-thumb {
  flex: 1;
  max-width: 560px;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(15, 69, 131, 0.18);
}

.news-featured-thumb a {
  display: block;
  width: 100%;
  height: 100%;
}

.news-featured-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.news-featured-pagination {
  display: flex;
  justify-content: center;
  margin-top: 1.75rem;
  gap: 0.75rem;
  position: relative;
}

.news-featured-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: #cbd5f5;
  opacity: 1;
  transition: transform 0.3s ease, background 0.3s ease;
}

.news-featured-pagination .swiper-pagination-bullet-active {
  transform: scale(1.3);
  background: var(--primary, #0f4583);
}

.news-featured-section .no-after::after {
  display: none;
}

@media (max-width: 1199.98px) {
  .news-featured-slide {
    gap: 2rem;
  }

  .news-featured-title {
    font-size: 1.65rem;
  }
}

@media (max-width: 991.98px) {
  .news-featured-slide {
    flex-direction: column-reverse;
    text-align: center;
  }

  .news-featured-info {
    max-width: 100%;
  }

  .news-featured-meta {
    justify-content: center;
  }

  .news-featured-thumb {
    max-width: 100%;
  }

  .news-featured-btn {
    align-self: center;
  }
}

@media (max-width: 575.98px) {
  .news-featured-section {
    padding: 1.75rem 1.25rem;
  }

  .news-featured-title {
    font-size: 1.4rem;
  }

  .news-featured-desc {
    display: none;
  }

  .news-featured-meta {
    flex-direction: column;
    gap: 0.5rem;
  }
}

/* ===== Sidebar ===== */
.aside-layout {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.aside-block {
  background: #fff;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(15, 69, 131, 0.08);
  border: 1px solid rgba(15, 69, 131, 0.06);
}

.aside-block-title {
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  letter-spacing: 0.05em;
}

.aside-block-title i {
  font-size: 1.05rem;
}

.aside-menu {
  list-style: none;
  margin: 0;
  padding: 0.75rem 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.aside-menu-item {
  border-radius: 10px;
  overflow: hidden;
}

.aside-menu-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  color: #102a43;
  padding: 0.55rem 0.75rem;
  border-radius: 5px;
  text-decoration: none;
  background: rgba(15, 69, 131, 0.08);
  transition: background 0.3s ease, color 0.3s ease;
}

.aside-menu-link:hover {
  background: rgba(15, 69, 131, 0.18);
  color: #0f4583;
}

.aside-menu-link .toggle-icon {
  font-size: 0.8rem;
  color: rgba(15, 69, 131, 0.7);
  margin-left: 0.5rem;
  width: 30px;
  height: 30px;
  cursor: pointer;
  text-align: center;
  line-height: 30px;
}

.aside-submenu {
  list-style: none;
  margin: 0.35rem 0 0;
  padding-left: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.aside-submenu li a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #3a516b;
  font-size: 0.95rem;
  padding: 0.4rem 0.35rem;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease;
}

.aside-submenu li a:hover {
  background: rgba(15, 69, 131, 0.08);
  color: #0f4583;
}

.aside-submenu li i {
  font-size: 0.7rem;
  color: rgba(15, 69, 131, 0.6);
}

.aside-block-news {
  padding: 0 1.25rem 1.25rem;
}

.aside-block-news .aside-block-title {
  margin: 0 -1.25rem 1rem;
}

.aside-news-swiper {
  padding-right: 0.2rem;
  overflow: hidden;
}

.aside-news-item {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  padding: 0.35rem 0.2rem;
}

.aside-news-thumb {
  width: 72px;
  min-width: 72px;
  height: 60px;
  border-radius: 10px;
  overflow: hidden;
  display: block;
}

.aside-news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.aside-news-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.aside-news-title {
  font-weight: 700;
  color: #102a43;
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.3s ease;
}

.aside-news-title:hover {
  color: #0f4583;
}

.aside-news-desc {
  font-size: 0.9rem;
  color: #4a5568;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.aside-news-swiper .swiper-slide {
  height: auto !important;
}

.aside-news-swiper .swiper-wrapper {
  padding-bottom: 0.5rem;
  overflow: hidden;
}

.aside-news-swiper .swiper-scrollbar {
  display: none;
}

@media (max-width: 767.98px) {
  .aside-layout {
    gap: 1rem;
  }

  .aside-menu {
    padding: 0.5rem 1rem 0.75rem;
  }

  .aside-news-thumb {
    width: 64px;
    min-width: 64px;
    height: 52px;
  }

  .aside-news-desc {
    -webkit-line-clamp: 1;
    line-clamp: 1;
  }
}

@media (max-width: 575.98px) {
  .aside-block {
    border-radius: 16px;
  }

  .aside-block-title {
    padding: 0.75rem 1rem;
  }

  .aside-block-news {
    padding: 0 1rem 1rem;
  }

  .aside-block-news .aside-block-title {
    margin: 0 -1rem 0.75rem;
  }
}

/* Service Modern Card */
.service-list-swiper {
  padding-bottom: 40px;
}

.service-modern-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  height: 450px;
  background: #f5f5f5;
}

.service-modern-img {
  width: 100%;
  height: 100%;
}

.service-modern-img a {
  display: block;
  width: 100%;
  height: 100%;
}

.service-modern-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-modern-card:hover .service-modern-img img {
  transform: scale(1.1);
}

.service-modern-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 2rem;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.85) 0%,
    rgba(0, 0, 0, 0.5) 60%,
    transparent 100%
  );
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  z-index: 2;
  pointer-events: none;
}

.service-modern-content a {
  pointer-events: auto;
}

.service-modern-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.3;
  text-transform: capitalize;
}

.service-modern-title a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
}

.service-modern-title a:hover {
  color: var(--primary, #8b0000);
}

.service-modern-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.service-list-swiper .swiper-pagination-bullet {
  background: #ccc;
  opacity: 1;
}

.service-list-swiper .swiper-pagination-bullet-active {
  background: var(--primary, #8b0000);
}

/* Service Grid Layout (2 columns) */
.service-grid-item {
  margin-bottom: 1rem;
}

.service-grid-item .service-grid-img {
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 1rem;
}

.service-grid-item .service-grid-img img {
  transition: transform 0.3s ease;
  display: block;
}

.service-grid-item:hover .service-grid-img img {
  transform: scale(1.05);
}

.service-grid-item .service-grid-content {
  /* Container for content if needed */
}

.service-grid-item .service-grid-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #333;
}

.service-grid-item .service-grid-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s;
}

.service-grid-item .service-grid-title a:hover {
  color: var(--primary, #8b0000);
}

.service-grid-item .service-grid-desc {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.service-grid-item .service-grid-btn {
  display: inline-block;
  padding: 0.7rem 1.8rem;
  background-color: #f5a623;
  color: #fff;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  letter-spacing: 0.5px;
}

.service-grid-item .service-grid-btn:hover {
  background-color: #d48806;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(245, 166, 35, 0.3);
}
.projectList ul li a {
  display: block;
  font-size: 16px;
  text-transform: uppercase;
  font-weight: bold;
  padding: 10px 30px;
  transition: all 0.5s ease;
  color: #fff;
  text-decoration: none;
}
.wrap-content {
  max-width: 1200px;
  margin: auto;
  width: calc(100% - 30px);
}

.projectList ul {
  background: var(--primary);
  border-left: solid 7px #fec010 !important;
  border-right: solid 7px #fec010 !important;
  border-radius: 0px 0px 15px 15px;
  list-style: none;
  padding: 0;
  margin: 0;
}
@media (max-width: 767.98px) {
  .bg-gray-2.wrap-content {
    width: 100%;
  }
  .projectList ul {
    display: flex;
    flex-wrap: nowrap !important;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 5px;
    width: auto !important;
    width: 100% !important;
    border-radius: 0;
    border: 0 !important;
    /* margin-left: -15px; */
    /* margin-right: -15px; */
  }
  .projectList ul li {
    flex: 0 0 auto;
  }
}
