.szakerto-section {
    background-color: #F2EBDD;
    padding: 80px 20px;
    text-align: center;
}

.szakerto-table-wrapper {
    max-width: 900px;
    margin: 40px auto 32px;
    position: relative;
}

.szakerto-table-scroll::-webkit-scrollbar {
    display: none;
}

.szakerto-table {
    border-collapse: collapse;
    background-color: transparent;
    overflow: hidden;
}

.szakerto-table thead th {
    font-family: 'Work Sans', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #0F4A55;
    text-align: center;
    padding: 24px 20px;
    background-color: transparent;
    border-bottom: 1px solid #D7C9A8;
}

.szakerto-th-service {
    text-align: left;
}

.szakerto-th-highlight {
    background-color: #0F4A55 !important;
    color: #ffffff !important;
}

.szakerto-table tbody tr td {
    border: 1px solid #D7C9A8
}

.szakerto-table tbody tr:last-child {
    border-bottom: 1px solid #D7C9A8;
}

.szakerto-table tbody tr:nth-child(odd) td:not(.szakerto-td-highlight) {
    background-color: #F7F1E7;
}

.szakerto-table tbody tr:nth-child(even) td:not(.szakerto-td-highlight) {
    background-color: #F2EBDD;
}

.szakerto-table tbody td:nth-child(2) {
    background-color: #EDE3D0;
}

.szakerto-table tbody tr:nth-child(odd) .szakerto-td-highlight {
    background-color: #E9DECB;
}

.szakerto-table tbody tr:nth-child(even) .szakerto-td-highlight {
    background-color: #E4D8C3;
}

.szakerto-table tbody td {
    font-family: 'Work Sans', sans-serif;
    font-size: 16px;
    color: #0F4A55;
    text-align: center;
    padding: 20px;
}

.szakerto-table tbody tr:first-child {
    border-top: none !important;
}

.szakerto-table thead tr:last-child {
    border-bottom: 1px solid #996C2D
}

.szakerto-table thead tr:last-child {
    border-bottom: 1px solid #D7C9A8
}

.szakerto-table tbody td:first-child {
    text-align: left;
    font-weight: 500;
}

.szakerto-table thead th:first-child {
    border-right: 1px solid #D7C9A8;
}

.szakerto-td-highlight {
    /*background-color: #E4D9C2;*/
    background-color: #ECE3D3;
    border-left: 1px solid #D7AF96;
}

.szakerto-check {
    display: inline-block;
    width: 19px;
    height: 11px;
    border-bottom: 3px solid #0F4A55;
    border-left: 3px solid #0F4A55;
    font-size: 0;
    line-height: 0;
    transform: rotate(-45deg) translateY(-2px);
    transform-origin: center;
}

.szakerto-dash {
    display: inline-block;
    width: 11px;
    height: 3px;
    background-color: #0F4A55;
    border-radius: 2px;
    font-size: 0;
    line-height: 0;
    opacity: 1;
    vertical-align: middle;
}

/* Slider nyilak (mobil) */
.szakerto-nyilak {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 24px;
}

.szakerto-nyil {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background-color: #E8DFCB;
    color: #0F4A55;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.szakerto-nyil-jobbra {
    background-color: #D7AF96;
    color: #ffffff;
}

.szakerto-nyil:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.szakerto-cta-szoveg {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    line-height: 24px;
    color: #0F4A55;
    margin: 40px auto 24px;
}

.szakerto-btn {
    font-family: 'Work Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.02px;
    text-transform: uppercase;
    color: #0A4B55;
    background-color: #2DE68C;
    border: none;
    border-radius: 30px;
    line-height: 46px;
    padding: 0 40px;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.szakerto-btn:hover {
    background-color: #24c47a;
    color: #ffffff;
}

.szakerto-anim {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease var(--delay, 0s), transform 0.7s cubic-bezier(0.34, 1.3, 0.64, 1) var(--delay, 0s);
}

.szakerto-anim.visible {
    opacity: 1;
    transform: translateY(0);
}

.szakerto-focim {
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    font-size: 38px;
    line-height: 1.3;
    color: #0F4A55;
    margin: 0 auto 24px;
}

.szakerto-focim span {
    color: #996C2D;
}

.szakerto-leiras {
    font-family: 'Work Sans', sans-serif;
    font-size: 16px;
    line-height: 24px;
    color: #0F4A55;
    opacity: 0.85;
    max-width: 750px;
    margin: 0 auto 32px;
}

/* Mobil: minden oszlop látszódjon, kisebb betűméret */
@media (max-width: 767px) {
    .szakerto-section {
        padding-left: 0;
        padding-right: 0;
    }

    .szakerto-table th,
    .szakerto-table td {
        font-size: 0.72rem;
        padding: 8px 6px !important;
    }

    .szakerto-th-service {
        font-size: 0.72rem;
    }

    .szakerto-table th:not(.szakerto-th-service) {
        font-size: 14px;
        white-space: normal;
        word-break: break-word;
        min-width: 80px;
        word-break: normal;
        overflow-wrap: break-word;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
        padding: 8px !important
    }
}

/* Nagyon kis kijelzőn húzható fallback (table-responsive Bootstrap osztály kezeli,
   de ha nem Bootstrap, ide kerül): */
.szakerto-table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.szakerto-thead-mobile {
    display: none;
}

/* Mobil: csere */
@media (max-width: 767px) {
    .szakerto-thead-desktop {
        display: none;
    }

    .szakerto-thead-mobile {
        display: table-row;
    }

    .szakerto-th-kezdotoke {
        border-bottom: 1px solid #D7C9A8;
    }

    .szakerto-table tbody td:first-child,
    .szakerto-table tbody th:first-child {
        text-align: center !important;
    }
}

@media (min-width: 767px) {
    .szakerto-th-service {
        text-align: left !important;
    }
}