/* Theme HTSM - Custom CSS (assets/css/custom.css) */
/* Additional custom styles loaded via functions.php */

/* Ensure Flatsome parent styles load first, then override here if needed */

/* Form inputs normalization */
input, textarea, select {
    font-family: inherit;
    font-size: 15px;
    box-sizing: border-box;
}

/* List reset for footer */
footer ul {
    padding-left: 0;
}

/* Ensure banner padding is respected with position relative */
.banner {
    min-height: 100px;
}

/* Category section styling */
.category-section {
    padding: 20px 0;
}

/* Chinh sach block */
.chinh-sach-block .large-12 .col-inner {
    padding: 15px 10px;
    border: 1px solid #efefef;
    box-shadow: 2px 2px 10px #0000000d;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}
.chinh-sach-block .col {
    padding-bottom: 0;
}

/* Account */
.account-login-inner h3, .account-register-inner h3 {
    text-transform: none;
    letter-spacing: 0;
    color: #5aad20;
}

/* Image captions */
.wp-caption-text {
    font-size: 14px;
    color: #666;
    text-align: center;
    padding: 8px;
    background: #f9f9f9;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

/* Gutenberg blocks */
.wp-block-image {
    margin: 20px 0;
}
.wp-block-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Alignment helpers */
.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }
.uppercase   { text-transform: uppercase; }
.mb          { margin-bottom: 15px !important; }

/* Clear */
.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

/* ===== HTSM Elements ===== */

/* Thiền Online page - remove padding on entry-content */
.page-thienonline .entry-content {
    padding: 0;
}
.page-thienonline .entry-content > * {
    padding: 0;
}

/* Feature Box hover */
.htsm-feature-box {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.htsm-feature-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1) !important;
}

/* Schedule item */
.htsm-schedule-item {
    transition: box-shadow 0.2s;
}
.htsm-schedule-item:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.1) !important;
}

/* Testimonial */
.htsm-testimonial {
    transition: transform 0.25s ease;
}
.htsm-testimonial:hover {
    transform: translateY(-3px);
}

/* Image-text responsive */
@media (max-width: 549px) {
    .htsm-image-text {
        flex-direction: column !important;
    }
    .htsm-image-text > div {
        order: unset !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
    .htsm-cta-section {
        padding: 35px 20px !important;
    }
    .htsm-cta-section h2 {
        font-size: 1.4rem !important;
    }
}

/* LadiPage Fixes */
.ladi-list-paragraph ul li { list-style: none !important; }


.ladi-list-paragraph ul li::before { display: none !important; content: none !important; }
.ladi-list-paragraph ul { list-style-type: none !important; margin: 0 !important; padding: 0 !important; }


/* Hide LadiPage dummy notify popups */
.ladi-notify, .ladi-notify-wrapper { display: none !important; opacity: 0 !important; pointer-events: none !important; }

