.album-duan-gallery-container-bg {
    background-image: url("../../uploads/thanglongland/background-img1.png");
    background-size: cover;
    align-items: center;
    display: flex;
    justify-content: center;
    padding: 20px 0;
}

.album-duan-gallery-container {
    width: 100%;
    max-width: 1440px;
    padding: 40px;
    box-sizing: border-box;
    position: relative;
}

.album-duan-gallery-title {
    font-family: "Montserrat", sans-serif;
    text-align: center;
    background: -webkit-linear-gradient(#ECD28B, #af9b68);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 64px;
    font-weight: bold;
    letter-spacing: 3px;
    margin-bottom: 40px;
    text-transform: uppercase;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.swiper {
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
    box-sizing: border-box;
}

.album-duan-gallery-container .swiper {
    width: 100%;
    height: 650px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 15px;
    overflow: hidden;
    box-sizing: border-box;
}

.album-duan-gallery-container .swiper-wrapper {
    box-sizing: border-box;
    height: 100%;
}

.album-duan-gallery-container .swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #f0f0f0;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    overflow: hidden;
}

.album-duan-gallery-container .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.album-duan-photo-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    width: 100%;
    height: 100%;
    box-sizing: border-box;
}

.album-duan-photo-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.album-duan-photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.album-duan-photo-item:hover img {
    transform: scale(1.1);
}

.album-duan-photo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: flex-end;
    padding: 15px;
}

.album-duan-photo-item:hover .album-duan-photo-overlay {
    opacity: 1;
}

.album-duan-photo-title {
    color: white;
    font-size: 0.9rem;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.swiper-pagination {
    bottom: 15px !important;
    position: absolute;
    width: 100%;
    display: flex;
    justify-content: center;
    padding-top: 10px;
    box-sizing: border-box;
}

.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #ccc;
    opacity: 1;
    margin: 0 5px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    background: #86774F;
    transform: scale(1.3);
}

.swiper-button-next,
.swiper-button-prev {
    color: #ECD28B;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(5px);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    margin-top: -22px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: rgba(236, 210, 139, 0.6);
    color: #FFF;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 20px;
    font-weight: bold;
}

.album-duan-gallery-container .swiper-button-next {
    width: 40px;
    background-image: url('../images/arrow-down.svg') !important;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    right: 0;
    margin-top: 100px;
}

.album-duan-gallery-container .swiper-button-prev {
    width: 40px;
    background-image: url('../images/arrow-down.svg')!important;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    left: 0;
    margin-top: 100px;
}
@media (max-width: 1024px) {
    .album-duan-gallery-container .swiper {
        height: 550px;
    }
}

@media (max-width: 1023px) {
    .album-duan-gallery-container .swiper {
        height: 550px;
    }
}

@media (max-width: 767px) {
    .album-duan-gallery-title {
        font-size: 2rem;
        margin-bottom: 30px;
    }

    .album-duan-gallery-container .swiper {
        height: 410px;
    }

    .album-duan-gallery-container {
        padding: 20px;
    }

    .swiper-button-next,
    .swiper-button-prev {
        width: 36px;
        height: 36px;
        margin-top: -18px;
    }
    .swiper-button-next::after,
    .swiper-button-prev::after {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .album-duan-gallery-title {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }

    .album-duan-gallery-container .swiper {
        /* Optionally adjust height further if 410px is too tall for very small screens */
        /* height: 380px; */
    }

    .album-duan-gallery-container {
        padding: 15px;
    }
}

/**
==========================
FOOTER
==========================
 */
.footer {
    background-image: url(../images/background-img1.png);
    color: white;
    padding: 60px 40px 20px 40px;
    font-family: "Montserrat", sans-serif;
}

.footer-container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 60px;
}

.footer-left {
    display: flex;
    width: 33%;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.logo-placeholder {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 20px;
}

.company-name {
    text-align: start;
    background: -webkit-linear-gradient(top left, #ECD28B 0%, #86774F 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 24px;
    font-weight: bold;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    height: 68px;
}

.footer-center {
    width: 35%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.center-title {
    height: 68px;
    text-align: start;
    background: -webkit-linear-gradient(top left, #ECD28B 0%, #86774F 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 24px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 30px;
    letter-spacing: 0.5px;
}

.contact-info-footer {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;
    font-size: 14px;
    line-height: 1.5;
}

.icon-placeholder {
    width: 20px;
    border-radius: 4px;
    flex-shrink: 0;
}

.footer-right {
    width: 30%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: center;
}

.social-title {
    height: 68px;
    text-align: start;
    background: -webkit-linear-gradient(top left, #ECD28B 0%, #86774F 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 24px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    transition: all 0.3s ease;
    cursor: pointer;
}

.social-icon:hover {
    transform: translateY(-2px);
}

@media (max-width: 1023px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
    .footer-center {
        width: 100%;
    }

    .footer-right {
        width: 100%;
        align-items: center;
    }
    .footer-left {
        width: 100%;
    }

}

/**
=======================
News
=======================
 */

.container-news {
    font-family: "Montserrat", sans-serif;
    max-width: 1440px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.page-title {
    font-family: "Montserrat", sans-serif;
    text-align: center;
    font-size: 64px;
    font-weight: bold;
    color: #2C3088;
    margin-top: 60px;
    margin-bottom: 50px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.news-grid {
    width: 100%;
    display: flex;
    gap: 40px;
    /*gap: 25px;*/
    padding: 0 24px;
    height: 600px;
}

.swiper-news-container {
    width: 100%;
    display: none;
}
.swiper-news-container .news-image img{
    height: 200px;
    object-fit: cover;
}

@media (max-width: 1023px) {
    .swiper-news-container {
        display: block;
    }
    .swiper-news-container .swiper{
        padding-top: 0;
        padding-bottom: 0;
    }
}
.news-item {
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

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

.news-item.featured {
    grid-row: span 2;
}

.news-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.news-image img {
    width: 100%;
}

.news-item.featured .news-image {
    height: 450px;
}

.news-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.1);
    z-index: 1;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    font-weight: 500;
}

.news-content {
    padding: 8px;
    height: calc(100% - 200px);
    display: flex;
    flex-direction: column;
}

.news-item.featured .news-content {
    height: calc(100% - 350px);
}

.news-title {
    font-family: "Montserrat", sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #2C3088;
    margin-bottom: 12px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-title a {
    text-decoration: none;
    color: inherit;
    background: none;
    border: none;
    margin: 0;
    padding: 0;
    font: inherit;
    outline: none;
}

.news-item.featured .news-title {
    font-family: "Montserrat", sans-serif;
    font-size: 1.3rem;
    -webkit-line-clamp: 3;
}

.news-excerpt {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 15px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-item.featured .news-excerpt {
    -webkit-line-clamp: 4;
    font-size: 1rem;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.news-date {
    color: #999;
    font-size: 0.8rem;
}

.read-more {
    color: #2c5aa0;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #1a3d73;
}

/* Responsive */
@media (max-width: 768px) {
    .news-grid {
        display: flex;
        flex-direction: column;
        grid-template-rows: auto;
        height: auto;
    }

    .news-item.featured {
        grid-row: span 1;
    }

    .page-title {
        font-size: 2rem;
        margin-bottom: 30px;
    }
}

/* Animation cho khi load trang */
.news-item {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.news-item:nth-child(1) { animation-delay: 0.1s; }
.news-item:nth-child(2) { animation-delay: 0.2s; }
.news-item:nth-child(3) { animation-delay: 0.3s; }
.news-item:nth-child(4) { animation-delay: 0.4s; }
.news-item:nth-child(5) { animation-delay: 0.5s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media screen and (max-width: 1440px) and (min-width: 1024px) {
    .album-duan-gallery-container {
        max-width: 1024px;
    }
}


@media screen and (max-width: 1023px) {
    .footer {
        background-image: url(../images/background-img1.png);
        min-height: unset!important;
        padding: 40px 16px;
        height: 100%!important;
        max-height: unset!important;
    }
    .footer-center {
        margin-bottom: 20px;
    }
    .footer-center .center-title {
        text-align: center;
        height: unset;
        font-size: 21px;
    }
    .contact-info-footer {
        align-items: center;
    }
    .footer-container {
        gap: 0;
        text-align: center;
    }

    /*@media (max-width: 1023px) {*/

        .news-grid {
            height: 460px;
        }
  .news-item.featured .news-content {
    height: calc(100% - 316px);
  }


        .news-title {
            padding-bottom: 0;
            padding-top: 0;
            overflow: unset;
        }
        .news-item .news-image {
            height: 265px!important;
        }

}
@media screen and (width: 1024px) {
  .news-item.featured .news-image {
    height: 316px;
  }
  .news-grid {
    height: 526px;
  }
}

/**
=======================
News Swiper
=======================
*/

/* News Swiper Styles */
.news-swiper-container {
  width: 100%;
  position: relative;
  padding: 20px 0;
  overflow: hidden;
}

.news-swiper-container .swiper-slide {
  height: auto;
  transition: transform 0.3s ease;
}

.news-swiper-container .swiper-slide-active {
  transform: scale(1.02);
}

.news-swiper-container .news-item {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  opacity: 1;
  transform: translateY(0);
}

.news-swiper-container .news-item:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  transform: translateY(-5px);
}

.news-swiper-container .news-image {
  height: 250px;
  overflow: hidden;
}

.news-swiper-container .news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-swiper-container .news-item:hover .news-image img {
  transform: scale(1.05);
}

.news-swiper-container .news-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.news-swiper-container .news-title {
  margin-top: 0;
  margin-bottom: 15px;
}

.news-swiper-container .news-excerpt {
  flex-grow: 1;
}

/* Navigation buttons */
.news-swiper-button-next,
.news-swiper-button-prev {
  color: #86774F;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.news-swiper-button-next:hover,
.news-swiper-button-prev:hover {
  background: #86774F;
  color: #fff;
}

.news-swiper-button-next:after,
.news-swiper-button-prev:after {
  font-size: 18px;
  font-weight: bold;
}

/* Pagination */
.news-swiper-pagination {
  position: relative;
  bottom: 0;
  margin-top: 20px;
}

.news-swiper-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: #ccc;
  opacity: 1;
}

.news-swiper-pagination .swiper-pagination-bullet-active {
  background: #86774F;
  transform: scale(1.3);
}

/* Responsive adjustments */
@media (max-width: 1023px) {
  .news-swiper-container {
    padding: 10px 0;
  }
  
  .news-swiper-container .news-image {
    height: 200px;
  }
  
  .news-swiper-container .news-content {
    padding: 15px;
  }
}

@media (max-width: 767px) {
  .news-swiper-container .news-image {
    height: 180px;
  }
  
  .news-swiper-container .news-title {
    font-size: 1rem;
  }
  
  .news-swiper-container .news-excerpt {
    font-size: 0.85rem;
  }
  
  .news-swiper-button-next,
  .news-swiper-button-prev {
    width: 35px;
    height: 35px;
  }
  
  .news-swiper-button-next:after,
  .news-swiper-button-prev:after {
    font-size: 16px;
  }
}

.container-news .swiper-button-next {
    width: 40px;
    background-image: url('../images/arrow-down.svg') !important;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    right: 0;
}
.container-news .swiper-button-prev {
    width: 40px;
    background-image: url('../images/arrow-down.svg')!important;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    left: 0;
}