/* Trang chủ: tiêu đề, ảnh đại diện, 6 link truy cập; mobile thay bằng lời cảm ơn + 2 nút */

/* Link 2 và 5 cố ý lấn ra ngoài khung nên không cắt tràn như trang danh mục */
.main-content.home-page {
    overflow: visible;
}

.home-page-title {
    padding: 45px 0;
    text-align: center;
}

.home-page-title img {
    width: 70%;
    height: auto;
    filter: drop-shadow(0 4px 10px rgba(10, 80, 30, 0.18));
}

.brand-ambassador {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 0 auto;
}

.link-left a,
.link-right a {
    position: relative;
    display: block;
    margin: 35px 0;
    transition: transform 0.25s ease, filter 0.25s ease;
}

.link-left a:hover,
.link-right a:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 6px 14px rgba(10, 100, 40, 0.35));
}

.link-right {
    text-align: end;
}

.link-1,
.link-3 {
    left: 0;
}

.link-2 {
    left: -15%;
}

.link-4,
.link-6 {
    right: 10%;
}

.link-5 {
    right: -5%;
}

/* Ảnh không dùng w-100: thuộc tính width giữ chỗ sẵn khi ảnh chưa tải, kích thước chỉnh qua khung .image-suarez */
.image-suarez {
    display: flex;
    width: auto;
    max-width: 750px;
}

.content-mb,
.footer-button {
    display: none;
}

@media (max-width: 1600px) {
    .home-page-title {
        margin: 15px 0 50px;
    }
}

@media (max-width: 1024px) {
    .home-page-title {
        margin: 30px 0;
        padding: 15px 0;
    }

    .link-1,
    .link-2,
    .link-3 {
        left: 5%;
    }

    .link-4,
    .link-5,
    .link-6 {
        right: 5%;
    }

    .image-suarez {
        flex: 0 1 500px;
    }
}

@media (max-width: 991px) {
    .image-suarez {
        flex: 1 1 auto;
    }
}

@media (max-width: 768px) {
    .home-page-title,
    .link-left,
    .link-right {
        display: none;
    }

    .image-suarez {
        flex: none;
        width: min(425px, 100%);
        margin: 0 auto;
    }

    .content-mb {
        display: block;
        max-width: 400px;
        margin: 0 auto 12px;
        padding: 18px 28px;
        border-radius: 24px;
        border: 1px solid rgba(255, 255, 255, 0.7);
        background: linear-gradient(179deg, rgba(164, 200, 163, 0.4) 30%, rgba(235, 236, 240, 0.6) 93%);
        box-shadow: var(--shadow-card);
        backdrop-filter: blur(4px);
        text-align: center;
    }

    .content-mb p {
        margin: 0;
        color: var(--ink);
        font-size: 15px;
        font-weight: 500;
        line-height: 1.55;
    }

    .footer-button {
        display: flex;
        justify-content: center;
        column-gap: 15px;
    }

    .button-left {
        display: flex;
        flex-direction: column;
    }

    .button-left a,
    #btn-hd-mobile {
        display: block;
        cursor: pointer;
        transition: transform 0.2s ease;
    }

    .button-left a:active,
    #btn-hd-mobile:active {
        transform: scale(0.97);
    }
}

@media (max-width: 475px) {
    .image-suarez {
        width: min(400px, 100%);
    }
}

@media (max-width: 375px) {
    .image-suarez {
        width: min(350px, 100%);
    }

    .content-mb {
        padding: 18px 20px;
    }

    .content-mb p {
        font-size: 14px;
    }
}
