

/* =========================================================
   ALAP BEÁLLÍTÁSOK
   ========================================================= */

.webeko-templates {
    --wt-blue: #0873be;
    --wt-blue-dark: #045d9a;
    --wt-blue-light: #eaf6fc;
    --wt-black: #111111;
    --wt-text: #191919;
    --wt-muted: #707070;
    --wt-border: #dce8ee;

    max-width: 1180px;
    margin: 70px auto;
    padding: 0 20px;
    font-family: inherit;
    color: var(--wt-text);
}

.webeko-templates *,
.webeko-templates *::before,
.webeko-templates *::after {
    box-sizing: border-box;
}


/* =========================================================
   FEJLÉC
   ========================================================= */

.wt-header {
    max-width: 800px;
    margin: 0 auto 45px;
    text-align: center;
}

.wt-label {
    display: inline-block;
    margin-bottom: 14px;

    color: var(--wt-blue);

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.wt-header h1 {
    margin: 0 0 18px;
    padding: 0;

    color: var(--wt-black);

    font-size: clamp(34px, 5vw, 55px);
    font-weight: 700;
    line-height: 1.05;
}

.wt-header p {
    max-width: 720px;
    margin: 0 auto;

    color: var(--wt-muted);

    font-size: 16px;
    line-height: 1.8;
}


/* =========================================================
   GYORS INFÓK
   ========================================================= */

.wt-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    margin-bottom: 50px;

    background: #fff;
    border: 1px solid var(--wt-border);
}

.wt-info-item {
    padding: 27px 20px;

    text-align: center;

    border-right: 1px solid var(--wt-border);
}

.wt-info-item:last-child {
    border-right: 0;
}

.wt-info-item strong {
    display: block;

    margin-bottom: 5px;

    color: var(--wt-blue);

    font-size: 22px;
    font-weight: 700;
}

.wt-info-item span {
    color: #666;

    font-size: 13px;
}


/* =========================================================
   ELEMENTOR / DIVI VÁLTÓ
   ========================================================= */

.wt-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;

    margin-bottom: 42px;
}

.wt-tab {
    min-width: 190px;

    padding: 14px 24px;

    cursor: pointer;

    background: #fff;
    border: 1px solid var(--wt-blue);

    color: var(--wt-blue);

    font-family: inherit;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;

    transition:
        background .25s ease,
        color .25s ease,
        transform .25s ease;
}

.wt-tab:hover {
    transform: translateY(-2px);
}

.wt-tab.active {
    background: var(--wt-blue);
    color: #fff;
}


/* =========================================================
   SZEKCIÓ
   ========================================================= */

.wt-section {
    display: none;
}

.wt-section.active {
    display: block;
}

.wt-section-head {
    margin-bottom: 30px;

    text-align: center;
}

.wt-section-head h2 {
    margin: 0 0 8px;
    padding: 0;

    color: #111;

    font-size: 30px;
}

.wt-section-head p {
    max-width: 650px;
    margin: 0 auto;

    color: #777;

    font-size: 14px;
    line-height: 1.7;
}


/* =========================================================
   KÁRTYA GRID
   ========================================================= */

.wt-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 27px;
}


/* =========================================================
   SABLON KÁRTYA
   ========================================================= */

.wt-card {
    display: flex;
    flex-direction: column;

    overflow: hidden;

    background: #fff;
    border: 1px solid var(--wt-border);

    transition:
        transform .3s ease,
        border-color .3s ease,
        box-shadow .3s ease;
}

.wt-card:hover {
    transform: translateY(-6px);

    border-color: #9fd1e9;

    box-shadow:
        0 22px 55px rgba(0, 0, 0, .10);
}


/* =========================================================
   ELŐNÉZETI KÉP
   ========================================================= */

.wt-preview {
    position: relative;

    height: 310px;

    overflow: hidden;

    background: #eee;
}

.wt-preview > img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    transition: transform .55s ease;
}

.wt-card:hover .wt-preview > img {
    transform: scale(1.06);
}


/* sötét gradient a kép alján */

.wt-preview::after {
    content: "";

    position: absolute;
    inset: 0;

    z-index: 1;

    background:
        linear-gradient(
            to bottom,
            rgba(0,0,0,0) 35%,
            rgba(0,0,0,.15) 70%,
            rgba(0,0,0,.52) 100%
        );

    pointer-events: none;
}


/* =========================================================
   ELEMENTOR / DIVI BADGE
   ========================================================= */

.wt-badge {
    position: absolute;

    top: 15px;
    left: 15px;

    z-index: 5;

    padding: 8px 11px;

    background: rgba(17,17,17,.92);

    color: #fff;

    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.3px;
    text-transform: uppercase;
}


/* =========================================================
   KATEGÓRIA
   ========================================================= */

.wt-category {
    position: absolute;

    left: 18px;
    bottom: 17px;

    z-index: 5;

    color: #fff;

    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}


/* =========================================================
   KÉPRE HOVER GOMB
   ========================================================= */

.wt-preview-link {
    position: absolute;

    inset: 0;

    z-index: 4;

    display: flex;
    align-items: center;
    justify-content: center;

    text-decoration: none !important;

    opacity: 0;

    background: rgba(4, 93, 154, .68);

    transition: opacity .3s ease;
}

.wt-card:hover .wt-preview-link {
    opacity: 1;
}

.wt-preview-link span {
    padding: 12px 18px;

    background: #fff;

    color: #111;

    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}


/* =========================================================
   KÁRTYA SZÖVEG
   ========================================================= */

.wt-card-content {
    display: flex;
    flex: 1;
    flex-direction: column;

    padding: 26px;
}

.wt-card-title {
    margin: 0 0 9px;
    padding: 0;

    color: #111;

    font-size: 21px;
    line-height: 1.3;
}

.wt-card-desc {
    margin: 0 0 19px;

    min-height: 46px;

    color: #737373;

    font-size: 13px;
    line-height: 1.65;
}


/* =========================================================
   TAG-EK
   ========================================================= */

.wt-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;

    margin-bottom: 23px;
}

.wt-tag {
    padding: 6px 9px;

    background: var(--wt-blue-light);

    color: var(--wt-blue-dark);

    font-size: 10px;
    font-weight: 600;
}


/* =========================================================
   KÁRTYA ALSÓ SOR
   ========================================================= */

.wt-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;

    margin-top: auto;
}

.wt-source {
    color: #888;

    font-size: 11px;
}


/* =========================================================
   GOMB
   ========================================================= */

.wt-button {
    display: inline-block;

    padding: 11px 16px;

    border: 1px solid var(--wt-blue);

    color: var(--wt-blue) !important;

    text-decoration: none !important;

    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;

    transition:
        background .25s ease,
        color .25s ease;
}

.wt-button:hover {
    background: var(--wt-blue);

    color: #fff !important;
}


/* =========================================================
   HOGYAN MŰKÖDIK?
   ========================================================= */

.wt-process {
    margin-top: 70px;
    padding: 50px 40px;

    background: #f5fafc;
}

.wt-process-head {
    margin-bottom: 38px;

    text-align: center;
}

.wt-process-head h2 {
    margin: 0 0 8px;
    padding: 0;

    color: #111;

    font-size: 29px;
}

.wt-process-head p {
    margin: 0;

    color: #777;
}

.wt-process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.wt-step {
    text-align: center;
}

.wt-step-number {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 44px;
    height: 44px;

    margin: 0 auto 15px;

    background: var(--wt-blue);

    color: #fff;

    font-size: 14px;
    font-weight: 700;
}

.wt-step strong {
    display: block;

    margin-bottom: 6px;

    color: #111;
}

.wt-step p {
    margin: 0;

    color: #777;

    font-size: 12px;
    line-height: 1.65;
}


/* =========================================================
   TÁJÉKOZTATÓ DOBOZ
   ========================================================= */

.wt-note {
    margin-top: 35px;
    padding: 27px 30px;

    background: #fff;

    border:
        1px solid var(--wt-border);
    border-left:
        4px solid var(--wt-blue);
}

.wt-note strong {
    display: block;

    margin-bottom: 6px;

    color: #111;

    font-size: 16px;
}

.wt-note p {
    margin: 0;

    color: #666;

    font-size: 13px;
    line-height: 1.7;
}


/* =========================================================
   CTA
   ========================================================= */

.wt-cta {
    position: relative;

    overflow: hidden;

    margin-top: 35px;
    padding: 54px 30px;

    background: #111;

    text-align: center;
}

.wt-cta::before,
.wt-cta::after {
    content: "";

    position: absolute;

    width: 250px;
    height: 250px;

    border: 1px solid rgba(116, 204, 248, .25);

    transform: rotate(45deg);
}

.wt-cta::before {
    top: -160px;
    left: -110px;
}

.wt-cta::after {
    right: -120px;
    bottom: -180px;
}

.wt-cta h2 {
    position: relative;
    z-index: 2;

    margin: 0 0 10px;
    padding: 0;

    color: #fff;

    font-size: 31px;
}

.wt-cta p {
    position: relative;
    z-index: 2;

    max-width: 650px;

    margin: 0 auto 24px;

    color: #bbb;

    font-size: 14px;
    line-height: 1.7;
}

.wt-cta-btn {
    position: relative;
    z-index: 2;

    display: inline-block;

    padding: 14px 24px;

    background: var(--wt-blue);

    color: #fff !important;

    text-decoration: none !important;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;

    transition:
        background .25s ease,
        color .25s ease;
}

.wt-cta-btn:hover {
    background: #fff;

    color: #111 !important;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    .wt-preview {
        height: 270px;
    }

    .wt-process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* =========================================================
   MOBIL
   ========================================================= */

@media (max-width: 700px) {

    .webeko-templates {
        margin: 45px auto;
        padding: 0 15px;
    }

    .wt-info {
        grid-template-columns: 1fr;
    }

    .wt-info-item {
        border-right: 0;
        border-bottom: 1px solid var(--wt-border);
    }

    .wt-info-item:last-child {
        border-bottom: 0;
    }

    .wt-tabs {
        flex-direction: column;
    }

    .wt-tab {
        width: 100%;
    }

    .wt-grid {
        grid-template-columns: 1fr;
    }

    .wt-card-desc {
        min-height: 0;
    }

    .wt-preview {
        height: 270px;
    }

    .wt-preview-link {
        display: none;
    }

    .wt-process {
        padding: 38px 22px;
    }

    .wt-process-grid {
        grid-template-columns: 1fr;
    }

    .wt-actions {
        align-items: flex-start;
        flex-direction: column;
    }

}


/* =========================================================
   NAGY KÉPERNYŐ
   ========================================================= */

@media (min-width: 1250px) {

    .wt-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .wt-preview {
        height: 330px;
    }

}

