/*
Theme Name: Astra Child
Theme URI: https://wpastra.com/
Description: Astra Child Theme
Author: Brainstorm Force
Author URI: https://wpastra.com/
Template: astra
Version: 1.0.0
Text Domain: astra-child
*/

@import url('https://fonts.googleapis.com/css2?family=Gloria+Hallelujah&display=swap');

:root {
    --akm-font-body: 'Book Antiqua', Palatino, 'Palatino Linotype', 'Palatino LT STD', Georgia, serif;
}

/* Custom CSS styles go here */
.wt-w-h-img figure,
.wt-w-h-img img {
    width: 100%;
    margin: 0;
}

.wt-w-h-img img {
    aspect-ratio: 1 / 1;
    /* object-fit: contain; */
    box-shadow: none !important;
}


.wt-h-full {
    height: 100% !important;
}

.wt-w-button {
    min-width: 180px !important;
}

.wt-w-button a:hover {
    border: none !important;
}

.wt-from-button button {
    max-width: 275px !important;
    width: 100% !important;
}

.wt-form-home form.uagb-forms-main-form {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

/* Hàng 2 (Textarea) chiếm cả 3 cột */
.wt-form-home .wp-block-uagb-forms-textarea {
    grid-column: 1 / -1;
}

/* Nút Submit chiếm cả 3 cột */
.wt-form-home .uagb-forms-main-submit-button-wrap {
    grid-column: 1 / -1;
}

/* Ẩn dropdown chọn mã quốc gia SĐT */
.wt-form-home select.uagb-form-phone-country {
    display: none !important;
}

/* Đảm bảo tất cả các ô input, textarea và khung nhập chiếm full 100% chiều rộng */
.wt-form-home .uagb-forms-field-set,
.wt-form-home .uagb-forms-phone-flex,
.wt-form-home input.uagb-forms-input,
.wt-form-home textarea.uagb-forms-textarea-input,
.uagb-forms__outer-wrap.wt-form-home .uagb-forms-main-form .uagb-forms-phone-wrap .uagb-forms-phone-input,
.wt-form-home .uagb-forms-phone-wrap .uagb-forms-phone-input {
    width: 100% !important;
}

/* Đồng bộ chiều cao tất cả các ô input ở dòng 1 bằng nhau */
.wt-form-home .uagb-forms-field-set input.uagb-forms-input {
    height: 48px !important;
    min-height: 48px !important;
    box-sizing: border-box !important;
}

/* Ẩn placeholder của ô nhập SĐT */
.wt-form-home .uagb-forms-phone-input::placeholder {
    color: transparent !important;
    opacity: 0 !important;
}

/* Responsive: Xếp 1 cột trên màn hình nhỏ (Mobile/Tablet) */
@media (max-width: 768px) {
    .wt-form-home form.uagb-forms-main-form {
        grid-template-columns: 1fr;
    }
}


.wt-gg-map,
.wt-gg-map embed {
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;

}

ul.wt-list-style-none li {
    list-style: none !important;
}

footer>div div {
    margin: 0 !important;
}

.wt-footer-top>div {
    height: 50px;
    background-color: #333;
    max-width: 960px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

footer>div:first-of-type>div>div {
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Responsive: Tablet 40px, Mobile 30px */
@media (max-width: 768px) {
    .wt-footer-top>div {
        height: 40px;
    }

    footer>div:first-child>div {
        min-height: 40px !important;
        height: 40px !important;
    }
}


/* ── Footer First Div Background ──────────────────────────── */
footer>div:first-child,
.site-footer>div:first-child {
    background-color: #B6B65F;
    /* Nửa trái là 100% màu gốc #B6B65F */
    background-image: linear-gradient(to right, transparent 0% 50%, rgba(255, 255, 255, 0.3) 50% 100%);
    /* Nửa phải phủ trắng 30% */
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.wt-font-book-antiqua li,
.wt-font-book-antiqua p,
.wt-font-book-antiqua div,
header,
header a {
    font-family: var(--akm-font-body) !important;
}

header a {
    font-weight: 700 !important;
}

footer>div:nth-child(n+2)>div:first-child {
    display: flex !important;
    justify-content: center !important;
}