/*
Theme Name:   Consalti child theme
Description:  Write here a brief description about your child-theme
Author:       Themesflat
Author URL:   https://consaltiwp.themesflat.com/
Template:     consalti
Version:      1.0.0
Tested up to: 5.9.3
Requires PHP: 5.6
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  consalti-child-theme
*/

.banner{min-height: 500px; background: url(https://ketoannavi.vn/wp-content/uploads/2025/11/hcm-1.jpg) top center; background-size: cover; margin-top: -30px; margin-bottom: 30px}
.sub_cat_box{display: flex;border-radius: 20px;box-shadow: 0 .5rem 1rem rgba(0,0,0,0.15);padding: 15px;align-items: center;justify-content: space-between;gap: .5em;height: 100%;transition: 300ms;}
.sub_cat_box:hover{box-shadow: 0 0rem 2rem 1rem rgb(0 111 255 / 20%);}
.sub_cat_box > img{max-height: 100px;}
.sub_cat_box > img.post_thumb{width: 150px;height: 90px;object-fit: cover;max-height: unset;}
.sub_cat_box > h4{font-weight: 700; font-size: 1.3em}
.subcat_list{margin: 30px 0;display: flex;flex-wrap: wrap;}
.subcat_list > .col-sm-3{margin-bottom: 20px}
.crp_related.crp-masonry ul{display: flex; flex-wrap: wrap;}
.crp_related.crp-masonry ul li{width: 32%}
.crp_related.crp-masonry figure{min-height: 150px;max-height: 150px; position: relative; overflow: hidden}
.crp_related.crp-masonry ul li figure img{position: absolute;top: 50%;transform: translateY(-50%); object-fit: cover;max-width: 100% !important;}
.crp_title{line-height: 1.5; font-weight: bold}
.rmp-rating-widget{border: 2px solid #d33; border-radius: 20px; display: flex; flex-wrap: wrap; justify-content: center; padding:20px} 
.rmp-widgets-container.rmp-wp-plugin.rmp-main-container .rmp-heading--title{font-size: 1.5em; font-weight: 700; color: #d33; width: 100%}
.rmp-widgets-container.rmp-wp-plugin.rmp-main-container .rmp-rating-widget__results, .rmp-widgets-container.rmp-wp-plugin.rmp-main-container .rmp-rating-widget__not-rated{width: 100%}
.rmp-widgets-container.rmp-wp-plugin.rmp-main-container .rmp-rating-widget__icons{margin: 0 0 .4rem 1rem}
.pagination_post {text-align: center; margin-bottom: 30px}
.pagination_post > a {border: 1px solid #2d67b2; width: 25px; height: 25px; line-height: 25px; display: inline-block; color: #2d67b2}
.pagination_post > a.active, .pagination_post > a:hover{background-color: #2d67b2; color: #fff}
@media only screen and (max-width: 480px) {
  .subcat_list > .col-sm-3 {width: 100%}  
  .banner{min-height: 250px}
  .crp_related.crp-masonry ul{column-gap: .5em;}
}
@media only screen and (min-width: 480px) and (max-width: 768px) {{
  .subcat_list > .col-sm-3 {width: 50%} 
}

/* Nút gửi bình luận: secondary_color (#fff) trùng màu chữ trắng nên không thấy */
#commentform .wrap-input-submit {
	background-color: var(--theme-primary-color, #2969b2) !important;
	color: #fff !important;
}

#commentform .wrap-input-submit:before {
	transform: scale(1, 1) !important;
	background-color: var(--theme-primary-color, #2969b2) !important;
}

#commentform .wrap-input-submit:hover:before {
	transform: scale(1, 1) !important;
}

#commentform .wrap-input-submit input[type="submit"] {
	color: #fff !important;
	background: transparent !important;
}
