.text-2-line p {
    display: block;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media screen and (max-width: 1024px) {
    .mobile-no-background {
        background-image: none !important;
    }
}

#service-filter select:focus-visible {
    outline-color: var(--e-global-color-primary);
}


/* 02/03/2026 */
.ycs-section {
    max-width: 1200px;
    margin: 0 auto 50px auto;
    scroll-margin-top: 220px;
}

.section-title {
    font-size: 24px !important;
    color: #333;
    margin-bottom: 45px !important;
    font-weight: 700 !important;
    display: flex;
    align-items: center;
    gap: 15px;
    padding-top: 20px;
}

.ycs-grid-v2 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    align-items: stretch;
}

.ycs-card-v2 {
    background: rgba(255, 255, 255, 0.5) !important;
    backdrop-filter: blur(5px);
    border-radius: 12px;
    overflow: hidden;
    display: flex !important;
    flex-direction: column !important;
    height: 100%;
    text-decoration: none !important;
    transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(154, 77, 92, 0.1);
    box-shadow: 0 10px 30px rgba(154, 77, 92, 0.05);
}

.card-image {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.6s;
}

.card-content {
    padding: 24px;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
}

.card-content h3 {
    font-size: 19px !important;
    color: #222 !important;
    margin-bottom: 12px !important;
    font-weight: 700 !important;
}

.card-content p {
    font-size: 14px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 0 !important;
    flex-grow: 1;
}

.btn-detail {
    margin-top: 35px !important;
    border: 1px solid #9a4d5c;
    color: #9a4d5c !important;
    text-align: center;
    padding: 10px 0;
    width: 130px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    position: relative;
    z-index: 1;
    overflow: hidden;
    transition: color 0.4s ease;
    background: transparent;
}

.ycs-card-v2:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.8) !important;
    box-shadow: 0 20px 40px rgba(154, 77, 92, 0.12);
}

.btn-detail {
    margin-top: 35px !important; 
    border: 1px solid #9a4d5c;
    color: #9a4d5c !important;
    text-align: center;
    padding: 10px 0; 
    width: 130px;   
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    position: relative;
    z-index: 1;
    overflow: hidden;
    transition: color 0.4s ease;
    background: transparent;
}

.btn-detail::before {
    content: ""; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
    background: #9a4d5c; transition: left 0.4s ease; z-index: -1;
}

.ycs-card-v2:hover .btn-detail { 
    color: #ffffff !important; 
}

.ycs-card-v2:hover .btn-detail::before { 
    left: 0; 
}

/* Level 2 */
.hero-badge .elementor-button {
    box-shadow: 0 8px 20px rgba(154, 77, 92, 0.2);
    animation: fadeInDown 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

.ycs-intro-hero {
    position: relative;
    background: rgba(255, 255, 255, 0.6) !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 100px 40px;
    margin-bottom: 0px !important;
    text-align: center;
    overflow: hidden;
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 20px 50px rgba(154, 77, 92, 0.08);
}

.ycs-intro-hero::after {
    content: "";
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 120%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(154, 77, 92, 0.12) 0%, rgba(255, 245, 245, 0) 60%);
    z-index: -1;
}
