body {
    background: #fdfdfd;
    color: #333;
}

.article img {
    width: 50%;
    height: 700px;
    object-fit: cover;
    border-radius: 8px;

    display: block;
    margin-left: auto;
    margin-right: auto;
}

.article a {
    font-weight: bold;
    color: #010102;
    text-decoration: none;
    display: block;
    margin-top: 8px;
}


.article a:hover {
    text-decoration: none;
    color: var(--main-color);

}

.text-hove {
    color: black;
    font-size: 18px;
    transition: color 0.3s ease;
}

.text-hove:hover {
    color: var(--main-color);
    /* hoặc màu xanh tùy ý */
}

.small {
    font-size: 14px;
    color: #6f7882;
    /* hoặc màu xanh tùy ý */
}


.pagination .page-link {
    border-radius: 6px;
    transition: background-color 0.2s, color 0.2s;
}

.pagination .page-link:hover {
    background-color: var(--main-color);
    color: #fff;
    border-color: var(--main-color);
}

.pagination .page-item.active .page-link {
    background-color: var(--main-color);
    border-color: var(--main-color);
    color: #fff;
    font-weight: bold;
}

.pagination .page-item.disabled .page-link {
    background: transparent;
    border: none;
    color: #999;
}

.pagination .page-item {
    margin: 0 6px;
    /* Tùy chỉnh khoảng cách ngang giữa các item */
}


.form-box {
    background: var(--main-color);
    color: white;
    border-radius: 10px;
    padding: 24px;
}

.form-box .btn {
    background-image: -webkit-linear-gradient(
        0deg,
        rgb(161, 125, 63) 0%,
        rgb(247, 205, 139) 26%,
        rgb(254, 207, 126) 53%,
        rgb(247, 205, 139) 82%,
        rgb(161, 125, 63) 100%
    );
    color: black;
    font-weight: bold;
    border: none;
    border-radius: 6px;
}

.form-box .btn:hover {
    background-image: -webkit-linear-gradient(
        0deg,
        rgb(161, 125, 63) 0%,
        rgb(247, 205, 139) 26%,
        rgb(254, 207, 126) 53%,
        rgb(247, 205, 139) 82%,
        rgb(161, 125, 63) 100%
    );
    font-weight: bold;
    border: none;
    border-radius: 6px;
}

.promo-banner img {
    border-radius: 10px;
    width: 100%;
    height: auto;
}

/* path */
.path {
    width: 100vw;
    /* full viewport width */
    background-color: var(--main-color);
    margin-bottom: 24px;
    font-size: 15px;
}

.path p {
    margin: 0;
    color: white;
    font-weight: 500;
}


@media (max-width: 768px) {
    .article img {
        height: 600px;
        width: 100%;
    }

    .form-box {
        padding: 20px;
    }
}

@media (max-width: 576px) {
    .article a {
        font-size: 20px;
        line-height: 1.4;
    }

    .article p {
        font-size: 17px;
    }
}

/* bannẻr cuộn */
.sticky-sidebar {
    position: sticky;
    top: 20px;
    /* khoảng cách cách đỉnh khi cuộn */
}

.form-box,
.promo-banner img {
    width: 100%;
}

@media (max-width: 991.98px) {
    .sticky-sidebar {
        position: static;
        /* bỏ sticky ở tablet/mobile */
        top: auto;
    }
}

/* form */

.advice-section {
    max-width: 900px;
    margin: 40px auto;
    border: 1px solid #e0e0e0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.08);
}

.advice-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.advice-form {
    background: #fff;
    padding: 32px;
}

.advice-form h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--main-color);
    text-align: center;
    margin-bottom: 24px;
}

.advice-form input,
.advice-form select {
    border-radius: 8px;
}

.advice-form .btn-submit {
    background: var(--main-color);
    color: white;
    font-weight: bold;
    border-radius: 8px;
    transition: 0.3s;
}

.advice-form .btn-submit:hover {
    background: var(--main-color);
}

.note {
    font-size: 12px;
    color: #777;
    text-align: center;
    margin-top: 12px;
}

@media (max-width: 768px) {
    .advice-section {
        flex-direction: column;
    }

    .advice-form {
        padding: 20px;
    }
}

/* modan */

/* Modal nhỏ gọn */
.modal-dialog {
    max-width: 360px;
    margin: 1.75rem auto;
}

/* Modal content bo góc và đổ bóng */
.modal-content {
    border-radius: 16px;
    border: none;
    box-shadow: 0 0 16px rgba(0, 0, 0, 0.15);
    padding: 24px 20px 30px;
}

/* Avatar bác sĩ */
.modal-body img {
    border-radius: 50%;
    width: 72px;
    height: 72px;
    object-fit: cover;
    margin: 0 auto 16px;
    display: block;
}

/* Tiêu đề chính */
.modal-title {
    font-size: 18px;
    color: var(--main-color);
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
}

/* Input & Select */
.modal-body input.form-control,
.modal-body select.form-select {
    background-color: #f1f4f9;
    border: none;
    border-radius: 6px;
    padding: 10px 14px;
    font-size: 14px;
    margin-bottom: 12px;
}

/* Phép toán */
.modal-body .d-flex input {
    background-color: #f1f4f9;
    border: none;
    text-align: center;
    width: 80px;
    margin-left: 10px;
    border-radius: 6px;
}

/* Button */
.modal-body .btn-primary {
    background-image: linear-gradient(to right, var(--main-color), #21a9c1, var(--main-color));
    border: none;
    padding: 10px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 999px;
    width: 100%;
    margin-top: 10px;
}

.modal-body .btn-primary:hover {
    background-image: linear-gradient(to right, #a17d3f, #f7cd8b, #a17d3f);
}

/* Nút đóng */
.modal-header .btn-close {
    background-color: #ffdd57;
    border-radius: 50%;
    padding: 8px;
    margin: -8px -8px 0 0;
}

/* các dịch vụ */
.related-box {
    border: 1px solid #dbe2ef;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.related-box img {
    transition: transform 0.3s ease;
}

.related-box img:hover {
    transform: scale(1.03);
}
