.detail-hdqt-img {
    border-radius: 15px;
    height: auto;
    max-width: 100%;
    overflow: clip;
    overflow-clip-margin: content-box;
}

.fancybox__backdrop {
    background: rgba(0, 0, 0, 50%);
}

.hdqt-popup {
    background-color: #fff;
    border-radius: 33px;
    display: none;
    max-width: 1055px;
    width: 90vw;
}

.fancybox__content > .f-button.is-close-btn {
    background: transparent;
    color: #275790;
    font-size: 18px;
    height: 35px;
    outline: none;
    right: 15px;
    top: 15px;
    transition: var(--transition) !important;
    width: 35px;
    z-index: 99;
}

.fz-30 {
    font-size: 30px;
}

.fz-18 {
    font-size: 18px;
}

.fz-16 {
    font-size: 16px;
}

.hdqt-popup .content p {
    line-height: 1.8;
}

@media only screen and (max-width: 767px) {
    .hdqt-popup .group_content {
        max-height: 300px;
        overflow: auto;
        padding: 15px 0;
    }
}

@media only screen and (min-width: 500px) and (max-width: 767px) {
    .detail-hdqt-img {
        aspect-ratio: 3 / 4;
        max-width: 60%;
        object-fit: cover;
        object-position: top;
    }
}

@media only screen and (max-width: 499px) {
    .detail-hdqt-img {
        aspect-ratio: 3 / 4;
        max-width: 100%;
        object-fit: cover;
        object-position: top;
    }

    .hdqt-popup .hdqt-name {
        font-size: 22px;
    }
}

@media only screen and (max-width: 400px) {
    .hdqt-popup .hdqt-name {
        font-size: 20px;
    }
}
