.elementor-612 .elementor-element.elementor-element-7cecf00{--display:flex;--margin-top:100px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;}:root{--page-title-display:none;}/* Start custom CSS for html, class: .elementor-element-5de67b2 *//* Globális dobozméretezés a kilógások elkerülésére */
.wbs-services-section, 
.wbs-services-section * {
    box-sizing: border-box;
}

.wbs-services-section {
    padding: 60px 20px;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    overflow: hidden; /* Biztosítja, hogy semmi ne lógjon le oldalra */
}

.wbs-section-header {
    text-align: center;
    margin-bottom: 60px;
}

.wbs-subtitle {
    color: #000000;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 10px;
    font-family: 'Arial', sans-serif;
}

.wbs-main-title {
    font-family: 'Arial Black', Impact, sans-serif;
    font-size: 5rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin: 0;
    line-height: 1;
    color: transparent !important;
    -webkit-text-stroke: 2px #D4AF37 !important;
}

.wbs-services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    width: 100%;
}

.wbs-card {
    position: relative;
    height: 420px;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    background-color: #111;
}

.wbs-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.wbs-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.5) 50%, transparent 100%);
    transition: all 0.4s ease;
}

.wbs-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px 20px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.wbs-card-title {
    color: #ffffff;
    font-size: 22px;
    font-weight: 800;
    text-transform: uppercase;
    margin: 0 0 15px 0;
    transition: transform 0.4s ease, color 0.3s ease;
}

.wbs-card-title::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background-color: #D4AF37;
    margin: 10px auto 0;
    transition: width 0.3s ease, background-color 0.3s ease;
}

.wbs-card-hidden {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.wbs-card-desc {
    color: #e0e0e0;
    font-size: 15px;
    line-height: 1.5;
    margin: 0 0 20px 0;
}

.wbs-card-btn {
    display: inline-block;
    color: #D4AF37;
    text-transform: uppercase;
    font-weight: 700;
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.wbs-card-btn .arrow {
    display: inline-block;
    transition: transform 0.3s ease;
}

/* Hover effektek (Asztali nézet) */
@media (hover: hover) {
    .wbs-card:hover img {
        transform: scale(1.12);
    }
    .wbs-card:hover::after {
        background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.7) 60%, rgba(0,0,0,0.3) 100%);
    }
    .wbs-card:hover .wbs-card-hidden {
        max-height: 150px;
        opacity: 1;
        margin-top: 5px;
    }
    .wbs-card:hover .wbs-card-title {
        color: #D4AF37;
    }
    .wbs-card:hover .wbs-card-title::after {
        width: 80px;
        background-color: #ffffff;
    }
    .wbs-card-btn:hover {
        color: #ffffff;
    }
    .wbs-card-btn:hover .arrow {
        transform: translateX(5px);
    }
}

/* === RESZPONZÍV TÖRÉSPONTOK === */

/* Tablet nézet */
@media (max-width: 1024px) {
    .wbs-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .wbs-main-title {
        font-size: 3.5rem;
    }
}

/* Átlagos Mobil nézet */
@media (max-width: 768px) {
    .wbs-services-section {
        padding: 50px 15px;
    }
    .wbs-services-grid {
        grid-template-columns: 1fr;
    }
    .wbs-section-header {
        margin-bottom: 40px;
    }
    .wbs-main-title {
        font-size: 2.2rem;
        -webkit-text-stroke: 1px #D4AF37 !important;
        letter-spacing: 2px;
    }
    .wbs-subtitle {
        font-size: 12px;
    }
    .wbs-card {
        height: 380px;
    }
    /* Mobilon mindig látszik a teljes szöveg, nincs szükség egérre */
    .wbs-card-hidden {
        max-height: 150px;
        opacity: 1;
        margin-top: 5px;
    }
    .wbs-card::after {
        background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.6) 60%, transparent 100%);
    }
    .wbs-card-title {
        color: #D4AF37;
    }
    .wbs-card-title::after {
        width: 80px;
    }
}

/* Kisméretű telefonok (pl. iPhone SE) */
@media (max-width: 480px) {
    .wbs-main-title {
        font-size: 1.6rem; /* Még kisebb betű, hogy kiférjen a SZOLGÁLTATÁSOK szó */
        letter-spacing: 1px;
    }
    .wbs-subtitle {
        font-size: 10px;
        letter-spacing: 1px;
    }
    .wbs-card {
        height: 350px;
    }
    .wbs-card-title {
        font-size: 18px;
    }
    .wbs-card-desc {
        font-size: 14px;
    }
}/* End custom CSS */