/*
Theme Name: Cty Tala
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/
/*CSS CHUNG*/
:root {
    --primary-color: #d8175c;
    
    --text-main: #000000;
    
    --text-desc: #4a4a4a; 
	
    
    --text-muted: #718096; 
}
.uppercase {
	letter-spacing: none !important;
}
/*BUTTON*/
.custom-btn {
    display: inline-block !important;             
    font-size: 15px !important;
	padding: 3px 27px !important;
    font-weight: 600 !important;                  
    border-radius: 50px !important;
	transition: transform 0.3s ease, color 0.3s ease; 
    cursor: pointer;               
}

.custom-btn:hover {
	 transform: translateY(-3px);
	 background-color: none !important;
	 box-shadow: none !important;
}
/*TITLE */
.section-title-h1 {
    font-size: clamp(34px, 5vw, 52px);
    font-weight: 700;
    line-height: 1.3; 
}

.section-cus-title {
    font-size: clamp(22px, 3.5vw, 32px) !important;
    font-weight: 700 !important; 
    line-height: 1.4 !important;
    color: var(--text-main) !important;
}

.section-desc {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-desc) !important;
}
.item-title {
    font-size: clamp(17px, 3.5vw, 20px) !important;
    font-weight: 700 !important; 
    line-height: 1.4 !important;
    color: var(--text-main) !important;
	text-transform: uppercase;
}
.item-title{
    font-size: clamp(17px, 3.5vw, 20px) !important;
    font-weight: 700 !important; 
    line-height: 1.4 !important;
    color: var(--text-main) !important;
	text-transform: uppercase;
}
.section-title-h1 span,
.section-cus-title  span {
    color: var(--primary-color) !important;
}
/* WIDTH - HEIGHT */
.w-60{
	width: 60%;
}
/*//--------------------------------------------- */
												  
/* HOME PAGE =====================================================*/
.section-home-banner{
	
}
.section-home-banner .banner-box_content{
    top: 50%;            
    left: 0;        
    transform: translateY(-50%);
    right: auto;       
    text-align: left;
	z-index: 100;
	
}
.section-home-banner .section-desc{
	width: 60% !important;
}

/* Section category */
.section-home-category .banner .item-title {
    transition: transform 0.3s ease, color 0.3s ease; 
}
.section-home-category .banner:hover{
	cursor: pointer;
}
.section-home-category .banner:hover .item-title {
    color: var(--primary-color) !important; 
    transform: translateY(-3px); 
	
}
/* END - HOME PAGE =====================================================*/

/* POST ITEM =====================================================*/
.post-item-01 {
    width: 100%; 
    padding: 0 10px; 
    box-sizing: border-box;
}

.post-item-01 .item-inner {
    position: relative;
    overflow: hidden;
    display: block;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.post-item-01 .item-inner:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.post-item-01 .item-image {
    position: relative;
    aspect ratio: 1/1;
}

.post-item-01 .item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    display: block;
}

.post-item-01 .item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
    z-index: 1;
}
.post-item-01 .item-content {
    position: absolute;
    bottom: 15px; 
    left: 15px;
    right: 15px;
    z-index: 2;
    text-align: center; 
}

.post-item-01 .item-title {
    color: #ffffff !important; 
}

.khoi-lop-grid-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr); 
    gap: 20px; 
    width: 100%;
}

.khoi-lop-grid-wrapper .post-item-01 {
    padding: 0 !important; 
}

@media (max-width: 849px) {
    .khoi-lop-grid-wrapper {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

@media (max-width: 549px) {
    .khoi-lop-grid-wrapper {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}