.logo-w {
    width: 140px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    display: inline-block;
}

.footer-about .logo-w {
    width: 150px;
    max-width: 100%;
    height: auto;
    display: block;
    margin-bottom: 20px;
}

/* Footer social links: flex row */
.footer-section .footer-about .footer-social,
.footer-section .footer-about .footer-social span {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
}

.footer-section .footer-about .footer-social li {
    display: inline-block !important;
    margin: 0 !important;
}

.footer-section .footer-about .footer-social li a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Contact image: avoid overflowing downward */
.contact-image-area {
    overflow: hidden !important;
}

.contact-image-area .contact-img {
    max-height: 490px !important;
    height: auto !important;
    object-fit: contain !important;
}

/* Testimonial slider fixes */
.testi3-single .image {
    background-color: #1a1c22 !important;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    min-height: 456px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testi3-single .image img {
    width: 450px !important;
    height: 456px !important;
    object-fit: cover !important;
    display: block !important;
}

.testi3-single .content {
    background-color: #ffffff !important;
}

.testi3-single .content p,
.testi3-single .content p span,
.testi3-single.sibling2 .content p,
.testi3-single.sibling2 .content p span {
    font-size: 1.15rem !important;
    font-weight: 400 !important;
    color: #2b2b2b !important;
    line-height: 1.85 !important;
    font-family: inherit !important;
    text-align: left !important;
    display: inline !important;
}

.testi3-single .content span.ms-auto,
.testi3-single .content > span {
    font-size: 3.5rem !important;
    font-weight: 700 !important;
    color: rgba(215, 182, 121, 0.25) !important;
    font-family: var(--font-lora) !important;
    display: block !important;
    width: 100% !important;
    text-align: right !important;
    line-height: 1 !important;
}

/* Case study / Category cards - Chuẩn theo bản thiết kế gốc (Ảnh 2) */
.casestudy-single {
    position: relative !important;
    overflow: hidden !important;
    border-radius: 12px !important;
    min-height: 360px !important;
    height: 360px !important;
    padding: 24px !important;
    display: flex !important;
    align-items: flex-end !important;
    background: #111111 !important;
    margin-left: auto;
    margin-right: auto;
}

/* Lớp phủ gradient tối ở chân ảnh giúp chữ trắng luôn nổi bật, sắc nét */
.casestudy-single::after {
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    top: 0 !important;
    bottom: 0 !important;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0.45) 55%, rgba(10, 10, 10, 0.9) 100%) !important;
    z-index: 1 !important;
    pointer-events: none !important;
    border-radius: inherit !important;
}

.casestudy-single .casestudy1,
.casestudy-single img.casestudy1 {
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    z-index: 0 !important;
    border-radius: inherit !important;
    transform: scale(1) !important;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

.casestudy-single:hover .casestudy1,
.casestudy-single:hover img.casestudy1 {
    transform: scale(1.06) !important;
}

.casestudy-single .text {
    position: relative !important;
    z-index: 2 !important;
    width: 100% !important;
}

/* Chữ tiêu đề trên ảnh chuẩn theo bản chuẩn ảnh 2: cỡ vừa phải, font serif Lora, không che ảnh */
.casestudy-single .text h3,
.casestudy-single .text h3 a {
    font-family: var(--font-lora), "Lora", Georgia, serif !important;
    font-size: 1.15rem !important; /* ~18-19px, chữ vừa vặn, thanh thoát */
    font-weight: 700 !important;
    color: #ffffff !important;
    line-height: 1.4 !important;
    margin-bottom: 0 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    text-decoration: none !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6) !important;
}

.casestudy-single .text h3 a:hover {
    color: #ffffff !important;
}

/* Nút icon tròn mũi tên chéo góc trên bên phải */
.casestudy-single .read-more {
    position: absolute !important;
    top: 20px !important;
    right: 20px !important;
    width: 38px !important;
    height: 38px !important;
    border: 1px solid rgba(255, 255, 255, 0.55) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 2 !important;
    background: rgba(0, 0, 0, 0.15) !important;
    backdrop-filter: blur(2px) !important;
    transition: all 0.3s ease !important;
}

.casestudy-single .read-more .btn-text {
    display: none !important;
}

.casestudy-single .read-more .btn-arrow {
    transform: rotate(-45deg) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.casestudy-single .read-more .btn-arrow i {
    font-size: 15px !important;
    color: #ffffff !important;
    line-height: 1 !important;
}

.casestudy-single:hover .read-more {
    border-color: #ffffff !important;
    background: rgba(255, 255, 255, 0.25) !important;
    transform: scale(1.08) !important;
}

.l-brands-single {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    min-height: 120px;
    padding: 30px;
    display: flex;
    align-items: flex-end;
}

.l-brands-single img {
    width: 100%;
    height: 80px;
    object-fit: contain;
}

.bshadow {
    box-shadow: rgba(9, 30, 66, 0.25) 0px 1px 1px, rgba(9, 30, 66, 0.13) 0px 0px 1px 1px;
}

.swiper-button-prev, .swiper-button-next {
    color: #dea057;
}

.w-70-60 {
    width: 70px !important;
    object-fit: cover;
}

.description_2_line {
    display: block;
    display: -webkit-box;
    max-width: 100%;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.description_3_line {
    display: block;
    display: -webkit-box;
    max-width: 100%;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.new_list_img {
    width: 90px !important;
    object-fit: cover;
}

.height_img_new {
    height: 284px !important;
}

.text-title-cus {
    min-height: 165px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.text-pri {
    color: #dea057 !important;
}

@media only screen and (max-width: 575px) {
    .height_img_new {
        height: 250px !important;
    }
}