/* ============ KAPCSOLAT OLDAL – saját stílusok ============ */

/* Felső kapcsolat szekció fehér háttérrel */
.epgep-contact-hero {
    position: relative;
    width: 100%;
    background: #ffffff;
    padding: 0 0 70px;
    overflow: hidden;
}
.epgep-contact-hero::before {
    content: none;
}
.epgep-contact-hero > * {
    position: relative;
    z-index: 1;
}

/* Oldalfejléc – a főoldali "RÓLUNK" cím mintáját követve (aláhúzás csík + ghost szöveg) */
.epgep-page-heading-wrap {
    width: min(1320px, calc(100% - 48px));
    margin: 0 auto;
    padding-top: 270px;
    box-sizing: border-box;
}
.epgep-page-heading {
    position: relative;
    display: inline-block;
    margin: 0 0 36px;
    line-height: 1;
}
.epgep-page-heading h1 {
    position: relative;
    display: inline-block;
    margin: 0;
    padding: 0;
    font-size: 56px;
    line-height: 0.96;
    font-weight: 900;
    letter-spacing: -1px;
    color: #040e56;
    font-family: "Inter", "Open Sans", Arial, sans-serif;
    text-transform: uppercase;
    z-index: 2;
    background: linear-gradient(to top, #0f80fb 0 12px, transparent 12px);
}
.epgep-page-heading .ghost {
    position: absolute;
    left: -18px;
    top: -43px;
    margin: 0;
    font-size: 98px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: -2px;
    color: rgba(4, 14, 86, 0.045);
    white-space: nowrap;
    z-index: 0;
    pointer-events: none;
    font-family: "Inter", "Open Sans", Arial, sans-serif;
}
.epgep-page-lead {
    margin: 0;
    padding: 0;
    color: #6e7382;
    font-size: 16px;
    line-height: 1.75;
    max-width: none;
}
@media (max-width: 900px) {
    .epgep-page-heading-wrap {
        padding-top: 175px;
    }
    .epgep-page-heading h1 {
        font-size: 44px;
    }
    .epgep-page-heading .ghost {
        font-size: 72px;
        top: -28px;
        left: -10px;
    }
}
@media (max-width: 767px) {
    .epgep-page-heading-wrap {
        padding-top: 142px;
    }
    .epgep-page-heading h1 {
        font-size: 34px;
    }
    .epgep-page-heading .ghost {
        font-size: 54px;
        top: -20px;
    }
}

@media (max-width: 900px) {
    .epgep-contact-hero {
        padding-bottom: 56px;
    }
}
@media (max-width: 640px) {
    .epgep-contact-hero {
        padding-bottom: 42px;
    }
}

/* Céges adatok kártyák */
.epgep-contact-wrap {
    width: min(1320px, calc(100% - 48px));
    margin: 0 auto;
}
.epgep-contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 8px;
}
@media (max-width: 1024px) {
    .epgep-contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 640px) {
    .epgep-contact-grid {
        grid-template-columns: 1fr;
    }
}
.epgep-contact-card {
    background: #fff;
    box-shadow: 0 12px 40px rgba(4, 14, 86, 0.08);
    padding: 32px 30px;
    border: 0;
}
.epgep-contact-card-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    margin: 0 0 22px;
}
.epgep-contact-card-icon img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    display: block;
}
.epgep-contact-card h3 {
    margin: 0 0 14px;
    font-size: 18px;
    font-weight: 800;
    color: #040e56;
    font-family: "Inter", "Open Sans", Arial, sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.2px;
}
.epgep-contact-card p {
    margin: 0 0 6px;
    color: #6e7382;
    font-size: 15px;
    line-height: 1.7;
}
.epgep-contact-card p strong {
    color: #0b143f;
    font-weight: 700;
}
.epgep-contact-card a {
    color: #0375fb !important;
    text-decoration: none;
    background-image: none !important;
}
.epgep-contact-card a:hover {
    text-decoration: underline;
}

/* Munkatársak kártyák */
.epgep-people-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
@media (max-width: 1024px) {
    .epgep-people-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 640px) {
    .epgep-people-grid {
        grid-template-columns: 1fr;
    }
}
.epgep-person-card {
    background: #040e56;
    color: #fff;
    padding: 30px 28px;
}
.epgep-person-card .role {
    display: block;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #6fb2ff;
    margin-bottom: 10px;
}
.epgep-person-card h3 {
    margin: 0 0 14px;
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    font-family: "Inter", "Open Sans", Arial, sans-serif;
}
.epgep-person-card p {
    margin: 0 0 8px;
    font-size: 15px;
    line-height: 1.7;
    color: #fff !important;
    display: flex;
    align-items: center;
    gap: 10px;
}
.epgep-person-card p svg {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
}
.epgep-person-card a {
    color: #fff !important;
    text-decoration: none;
    background-image: none !important;
    font-weight: 600;
}
.epgep-person-card a:hover {
    text-decoration: underline;
    color: #fff !important;
}

/* Térkép */
.epgep-map-wrap {
    width: min(1320px, calc(100% - 48px));
    margin: 0 auto;
}
.epgep-map-frame {
    width: 100%;
    height: 420px;
    border: 0;
    display: block;
    box-shadow: 0 12px 40px rgba(4, 14, 86, 0.08);
}
@media (max-width: 640px) {
    .epgep-map-frame {
        height: 300px;
    }
}

/* Nyitvatartás + Cégünk adatai - üzenetküldő form mellett bal oldalon.
Ugyanazon a 3 oszlopos rácson ül, mint a fenti munkatárs-kártyák:
bal oszlop = 1 oszlop (Ügyvezető igazgató szélessége),
form = 2 oszlop (Iroda + Pénzügy kártyák együttes szélessége). */
.epgep-info-form-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    align-items: stretch;
}
.epgep-info-col {
    grid-column: span 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.epgep-form-col {
    grid-column: span 2;
}
@media (max-width: 1024px) {
    .epgep-info-form-row {
        grid-template-columns: 1fr;
    }
    .epgep-info-col {
        grid-column: 1;
        flex-direction: row;
    }
    .epgep-form-col {
        grid-column: 1;
    }
    .epgep-info-col .epgep-contact-card {
        flex: 1;
    }
}
@media (max-width: 640px) {
    .epgep-info-col {
        flex-direction: column;
    }
}

/* Szekció közötti térközök */
.epgep-gap-150 {
    height: 150px;
}
.epgep-gap-75 {
    height: 75px;
}
.epgep-gap-contact-lift {
    height: 72px;
}
@media (max-width: 900px) {
    .epgep-gap-150 {
        height: 90px;
    }
    .epgep-gap-75 {
        height: 60px;
    }
    .epgep-gap-contact-lift {
        height: 56px;
    }
}
@media (max-width: 640px) {
    .epgep-gap-150 {
        height: 60px;
    }
    .epgep-gap-75 {
        height: 45px;
    }
    .epgep-gap-contact-lift {
        height: 40px;
    }
}

/* Kapcsolat oldal: ugyanaz a finom, mozgalmas kártyaérzet, mint a főoldalon */
.epgep-contact-card,
.epgep-person-card,
.epgep-map-frame {
    transition:
        transform 0.45s var(--epgep-motion-ease, cubic-bezier(0.22, 0.61, 0.36, 1)),
        box-shadow 0.45s ease,
        opacity 0.45s ease,
        filter 0.45s ease;
}
.epgep-contact-card:hover,
.epgep-person-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 65px rgba(1, 17, 67, 0.13) !important;
}
.epgep-person-card:hover {
    background: #05156b;
}

body .epgep-machine-showcase-intro {
    /* A fejléc (.l-header) position: absolute-tel a hero fölött lebeg (kb. 143px magas),
így a hero szekció tetejét lejjebb kell tolni, hogy közvetlenül a menü alá kerüljön –
pontosan úgy, ahogy a mintaképen látszik, rés nélkül. */
    margin-top: 143px !important;
}
@media (max-width: 1200px) {
    body .epgep-machine-showcase-intro {
        margin-top: 133px !important;
    }
}
@media (max-width: 991px) {
    body .epgep-machine-showcase-intro {
        margin-top: 113px !important;
    }
}
@media (max-width: 767px) {
    body .epgep-machine-showcase-intro {
        margin-top: 83px !important;
    }
}
body .epgep-machine-showcase-intro .epgep-geppark-card p {
    margin-bottom: 0 !important;
}

/* ==== 2026-07-02 tanúsítványok végső javítás: referenciák működés, A4 képméret marad ==== */

body .epgep-cert-section {
    background: #040e56 !important;
    overflow: hidden !important;
}

body .epgep-cert-projects,
body .epgep-cert-projects.epgep-projects-final {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    overflow: visible !important;
}

body .epgep-cert-projects .portfolio_grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 34px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    align-items: start !important;
    list-style: none !important;
    box-sizing: border-box !important;
}

body .epgep-cert-projects .portfolio_grid > .portfolio_grid--item,
body .epgep-cert-projects .portfolio_grid .portfolio_grid--item {
    width: auto !important;
    max-width: none !important;
    flex: none !important;
    float: none !important;
    clear: none !important;
    margin: 0 !important;
    padding: 0 0 78px 0 !important;
    box-sizing: border-box !important;
    list-style: none !important;
    overflow: visible !important;
}

body .epgep-cert-projects .portfolio_grid--item .item {
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    padding: 0 !important;
    overflow: visible !important;
    background: transparent !important;
    cursor: pointer !important;
}

body .epgep-cert-projects .portfolio_grid--item img.wp-post-image {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: 210 / 297 !important;
    object-fit: contain !important;
    object-position: center center !important;
    background: transparent !important;
    box-shadow: none !important;
}

body .epgep-cert-projects .portfolio_grid--item .item::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    background: rgba(1, 17, 67, 0.04) !important;
    opacity: 1 !important;
    z-index: 1 !important;
    pointer-events: none !important;
    transition: background 0.35s ease !important;
}

body .epgep-cert-projects .portfolio_grid--item:hover .item::after,
body
.epgep-cert-projects
.portfolio_grid--item:focus-within
.item::after {
    background: rgba(1, 17, 67, 0.26) !important;
}

body .epgep-cert-projects .portfolio_grid--item .info {
    position: absolute !important;
    left: 50% !important;
    right: auto !important;
    bottom: -24px !important;
    width: calc(100% - 50px) !important;
    min-width: 0 !important;
    max-width: none !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 11px 14px 12px !important;
    background: #0f80fb !important;
    transform: translateX(-50%) !important;
    z-index: 3 !important;
    box-sizing: border-box !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    opacity: 1 !important;
    visibility: visible !important;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18) !important;
    transition:
        bottom 0.35s ease,
        width 0.35s ease,
        padding 0.35s ease,
        min-height 0.35s ease,
        transform 0.35s ease !important;
}

body .epgep-cert-projects .portfolio_grid--item:hover .info,
body .epgep-cert-projects .portfolio_grid--item:focus-within .info {
    bottom: 0 !important;
    width: 100% !important;
    min-height: 96px !important;
    padding: 18px 26px 20px !important;
    transform: translateX(-50%) !important;
}

body
.epgep-cert-projects
.portfolio_grid--item
.wd-portfolio-category-holder,
body .epgep-cert-projects .portfolio_grid--item .info h4 {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    text-align: center !important;
}

body
.epgep-cert-projects
.portfolio_grid--item
.wd-portfolio-category-holder {
    margin-bottom: 3px !important;
}

body .epgep-cert-projects .portfolio_grid--item .wd-portfolio-category,
body .epgep-cert-projects .portfolio_grid--item .wd-portfolio-category a,
body .epgep-cert-projects .portfolio_grid--item .info a,
body .epgep-cert-projects .portfolio_grid--item .info h4,
body .epgep-cert-projects .portfolio_grid--item .info h4 a {
    color: #ffffff !important;
    text-decoration: none !important;
    border: 0 !important;
    box-shadow: none !important;
    background-image: none !important;
}

body .epgep-cert-projects .portfolio_grid--item .wd-portfolio-category {
    display: block !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.15 !important;
}

body .epgep-cert-projects .portfolio_grid--item .info h4 {
    font-size: 22px !important;
    font-weight: 800 !important;
    line-height: 1.12 !important;
    letter-spacing: -0.3px !important;
}

@media (max-width: 1100px) {
    body .epgep-cert-projects .portfolio_grid {
        grid-template-columns: 1fr !important;
        gap: 58px !important;
    }
    body .epgep-cert-projects .portfolio_grid > .portfolio_grid--item,
    body .epgep-cert-projects .portfolio_grid .portfolio_grid--item {
        max-width: 520px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-bottom: 78px !important;
    }
}

@media (max-width: 767px) {
    body .epgep-cert-projects .portfolio_grid {
        gap: 50px !important;
    }
    body .epgep-cert-projects .portfolio_grid--item .info {
        bottom: -22px !important;
        width: calc(100% - 32px) !important;
        padding: 10px 12px 11px !important;
    }
    body .epgep-cert-projects .portfolio_grid--item:hover .info,
    body .epgep-cert-projects .portfolio_grid--item:focus-within .info {
        bottom: 0 !important;
        width: 100% !important;
        min-height: 86px !important;
    }
}


/* ============ GÉPPARK OLDAL – új, mintaszerű kialakítás ============ */
body .l-main.row:not(.home) {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}
body .l-main .main.columns {
    width: 100% !important;
    max-width: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}
body .epgep-machine-page {
    background: #ffffff;
}
body .epgep-machine-container {
    width: min(1320px, calc(100% - 48px));
    margin: 0 auto;
}
body .epgep-machine-page-inner {
    padding: 0 0 120px;
    background: #ffffff;
}
body .epgep-machine-category {
    margin-bottom: 150px;
}
body .epgep-machine-category:last-child {
    margin-bottom: 0;
}
body .epgep-machine-category--first {
    margin-top: 0;
}
body .epgep-machine-category--first .epgep-category-heading {
    margin-top: 0;
}
body .epgep-category-heading {
    margin-bottom: 34px;
    padding-top: 0;
}
body .epgep-category-title {
    position: relative;
    display: inline-block;
    margin: 0;
    padding: 0;
    color: #040e56;
    font-family: "Inter", "Open Sans", Arial, sans-serif;
    font-size: clamp(44px, 4vw, 58px);
    line-height: 0.96;
    font-weight: 900;
    letter-spacing: -1px;
    text-transform: uppercase;
    z-index: 2;
    background: linear-gradient(to top, #0f80fb 0 10px, transparent 10px);
}
body .epgep-category-title::before {
    content: attr(data-text);
    position: absolute;
    left: -8px;
    top: -34px;
    font-size: clamp(72px, 7vw, 96px);
    line-height: 1;
    font-weight: 900;
    letter-spacing: -2px;
    color: rgba(4, 14, 86, 0.045);
    white-space: nowrap;
    z-index: -1;
    pointer-events: none;
}
body .epgep-category-heading p {
    margin: 36px 0 0;
    max-width: none;
    width: 100%;
    color: #6f7584;
    font-size: 16px;
    line-height: 1.75;
}
body .epgep-category-layout {
    display: grid;
    grid-template-columns: 432px minmax(0, 1fr);
    align-items: start;
    gap: 64px;
}
body .epgep-category-image {
    width: 432px;
    max-width: 100%;
    /*aspect-ratio: 1 / 1;*/
    opacity: 1;
    overflow: visible;
    background: #ffffff;
    box-shadow: 0 24px 65px rgba(1, 17, 67, 0.13);
    transition:
        transform 0.45s var(--epgep-motion-ease, cubic-bezier(0.22, 0.61, 0.36, 1)),
        box-shadow 0.45s ease,
        opacity 0.45s ease,
        filter 0.45s ease;
}
body .epgep-category-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    box-shadow: none;
    border: 0;
    transform: scale(1);
    transform-origin: center center;
    transition:
        transform 0.45s var(--epgep-motion-ease, cubic-bezier(0.22, 0.61, 0.36, 1)),
        box-shadow 0.45s ease,
        opacity 0.45s ease,
        filter 0.45s ease;
}
body .epgep-category-image:hover {
    z-index: 2;
}
body .epgep-category-image:hover img {
    transform: scale(1.035);
}
body .epgep-machine-category--reverse .epgep-category-heading {
    text-align: right;
}
body .epgep-machine-category--reverse .epgep-category-title::before {
    left: auto;
    right: -8px;
}
body .epgep-machine-category--reverse .epgep-category-layout {
    grid-template-columns: minmax(0, 1fr) 432px;
}
body .epgep-machine-category--reverse .epgep-category-image {
    justify-self: end;
}
body .epgep-category-panel {
    background: #ffffff;
    box-shadow: 0 24px 65px rgba(1, 17, 67, 0.13);
    padding: 0;
    overflow: hidden;
}
body .epgep-category-panel-title {
    display: block;
    margin: 0;
    padding: 18px 28px;
    background: #040e56;
    color: #ffffff;
    font-family: "Inter", "Open Sans", Arial, sans-serif;
    font-size: 20px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -0.3px;
}
body .epgep-category-table table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #ffffff;
}
body .epgep-category-table tr {
    border-bottom: 0;
}
body .epgep-category-table td {
    padding: 18px 24px;
    color: #667083;
    font-size: 16px;
    line-height: 1.6;
    vertical-align: middle;
    background: #ffffff;
    border: 0;
    border-bottom: 1px dashed #e9e9e9;
}
body .epgep-category-table td:last-child {
    width: 110px;
    text-align: right;
    background: #ffffff;
    padding-left: 12px;
}
body .epgep-qty-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 64px;
    padding: 7px 11px;
    background: #eaf2fd;
    color: #040e56;
    font-size: 16px;
    line-height: 1;
    font-weight: 800;
    white-space: nowrap;
}
body .epgep-category-table--single td {
    background: #ffffff;
}
body .epgep-category-table--single td:last-child {
    display: none;
}
body .epgep-category-table--single tr {
    border-bottom: 0;
}
body .epgep-category-note {
    margin: 14px 0 0;
    color: #8b93a1;
    font-size: 14px;
    line-height: 1.6;
}
body .epgep-motion {
    opacity: 0;
    transform: translateY(44px);
    transition:
        opacity 0.75s cubic-bezier(0.2, 0.65, 0.2, 1),
        transform 0.75s cubic-bezier(0.2, 0.65, 0.2, 1);
    will-change: transform, opacity;
}
body .epgep-motion-left {
    transform: translateX(-46px);
}
body .epgep-motion-right {
    transform: translateX(46px);
}
body .epgep-motion-up {
    transform: translateY(44px);
}
body .epgep-inview {
    opacity: 1;
    transform: translate(0, 0);
}
body .epgep-delay-1 {
    transition-delay: 0.06s;
}
body .epgep-delay-2 {
    transition-delay: 0.12s;
}
body .epgep-delay-3 {
    transition-delay: 0.18s;
}
body .epgep-delay-4 {
    transition-delay: 0.24s;
}
body .epgep-delay-5 {
    transition-delay: 0.3s;
}
body .epgep-delay-6 {
    transition-delay: 0.36s;
}

@media (max-width: 1200px) {
    body .epgep-machine-container {
        width: min(1200px, calc(100% - 48px));
    }
    body .epgep-category-layout {
        grid-template-columns: 384px minmax(0, 1fr);
        gap: 46px;
    }
    body .epgep-machine-category--reverse .epgep-category-layout {
        grid-template-columns: minmax(0, 1fr) 384px;
    }
    body .epgep-category-image {
        width: 384px;
    }
}
@media (max-width: 991px) {
    body .epgep-machine-page-inner {
        padding: 0 0 100px;
    }
    body .epgep-category-layout,
    body .epgep-machine-category--reverse .epgep-category-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    body .epgep-machine-category--reverse .epgep-category-heading {
        text-align: left;
    }
    body .epgep-machine-category--reverse .epgep-category-title::before {
        left: -8px;
        right: auto;
    }
    body .epgep-machine-category--reverse .epgep-category-image {
        justify-self: start;
    }
    body .epgep-category-image {
        width: min(432px, 100%);
    }
}
@media (max-width: 767px) {
    body .epgep-machine-container {
        width: min(720px, calc(100% - 32px));
    }
    body .epgep-machine-page-inner {
        padding: 0 0 84px;
    }
    body .epgep-machine-category {
        margin-bottom: 72px;
    }
    body .epgep-category-title {
        font-size: 40px;
    }
    body .epgep-category-title::before {
        font-size: 64px;
        top: -24px;
        left: -4px;
    }
    body .epgep-category-heading p {
        margin-top: 28px;
        font-size: 15px;
    }
    body .epgep-category-panel-title {
        font-size: 18px;
        padding: 16px 18px;
    }
    body .epgep-category-table td {
        padding: 13px 14px;
        font-size: 15px;
    }
    body .epgep-category-table td:last-child {
        width: 92px;
    }
    body .epgep-qty-pill {
        min-width: 58px;
        font-size: 14px;
        white-space: nowrap;
    }
}


/* ============ SZOLGÁLTATÁSOK ÉS TANÚSÍTVÁNYOK OLDAL ============ */
body .l-main.row:not(.home) {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}
body .l-main .main.columns {
    width: 100% !important;
    max-width: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}
body .epgep-services-cert-page {
    width: 100% !important;
    overflow: hidden;
    background: #fff;
}
.epgep-stc-container {
    width: min(1320px, calc(100% - 48px));
    margin: 0 auto;
    box-sizing: border-box;
}
.epgep-stc-hero {
    position: relative;
    background: #ffffff;
    padding: 245px 0 110px;
}
.epgep-stc-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(420px, 0.95fr);
    align-items: center;
    gap: 96px;
}
.epgep-stc-copy {
    max-width: 610px;
}
.epgep-stc-title {
    position: relative;
    display: inline-block;
    margin: 0 0 42px;
    padding: 0;
    font-size: 54px;
    line-height: 0.95;
    font-weight: 900;
    letter-spacing: -1px;
    color: #040e56;
    font-family: "Inter", "Open Sans", Arial, sans-serif;
    text-transform: uppercase;
    z-index: 2;
    background: linear-gradient(to top, #0f80fb 0 12px, transparent 12px);
}
.epgep-stc-title::before {
    content: attr(data-text);
    position: absolute;
    left: 0;
    bottom: 8px;
    transform: translate(-3%, -36%);
    font-size: 106px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: -4px;
    color: #040e56;
    opacity: 0.055;
    white-space: nowrap;
    z-index: -1;
    pointer-events: none;
}
.epgep-stc-copy p {
    font-size: 17px;
    line-height: 1.78;
    color: #7b8392;
    margin: 0 0 23px;
    font-weight: 500;
}
.epgep-stc-image {
    width: 100%;
    aspect-ratio: 1.08 / 0.98;
    overflow: hidden;
    box-shadow: 0 26px 70px rgba(4, 14, 86, 0.1);
    background: #f5f7fb;
}
.epgep-stc-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.epgep-stc-strengths {
    position: relative;
    background: #f7f8fb;
    padding: 105px 0 110px;
}
.epgep-stc-section-heading {
    text-align: center;
    margin-bottom: 58px;
}
.epgep-stc-section-heading h2 {
    position: relative;
    display: inline-block;
    margin: 0 0 16px;
    padding: 0;
    font-size: 48px;
    line-height: 0.95;
    font-weight: 900;
    color: #040e56;
    text-transform: uppercase;
    background: linear-gradient(to top, #ffbd00 0 12px, transparent 12px);
    z-index: 2;
}
.epgep-stc-section-heading h2::before {
    content: attr(data-text);
    position: absolute;
    left: 50%;
    bottom: 5px;
    transform: translate(-50%, -32%);
    font-size: 96px;
    line-height: 1;
    font-weight: 900;
    color: #040e56;
    opacity: 0.055;
    white-space: nowrap;
    z-index: -1;
    pointer-events: none;
}
.epgep-stc-section-heading p {
    max-width: 760px;
    margin: 0 auto;
    color: #7b8392;
    font-size: 17px;
    line-height: 1.7;
    font-weight: 500;
}
.epgep-stc-strength-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
}
.epgep-stc-strength-card {
    position: relative;
    min-height: 280px;
    background: #ffffff;
    padding: 42px 34px 38px;
    box-shadow: 0 18px 50px rgba(4, 14, 86, 0.08);
    border-top: 5px solid #0f80fb;
    overflow: hidden;
}
.epgep-stc-strength-card::after {
    content: attr(data-number);
    position: absolute;
    right: 24px;
    bottom: 8px;
    font-size: 86px;
    line-height: 1;
    font-weight: 900;
    color: #040e56;
    opacity: 0.05;
}
.epgep-stc-strength-card .epgep-stc-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin-bottom: 25px;
    background: #ffbd00;
    color: #040e56;
    font-size: 22px;
    font-weight: 900;
}
.epgep-stc-strength-card h3 {
    margin: 0 0 16px;
    color: #040e56;
    font-size: 23px;
    line-height: 1.25;
    font-weight: 900;
}
.epgep-stc-strength-card p {
    margin: 0;
    color: #7b8392;
    font-size: 16px;
    line-height: 1.68;
    font-weight: 500;
}
.epgep-cert-section {
    position: relative;
    background: #ffffff;
    padding: 112px 0 125px;
}
.epgep-cert-heading {
    text-align: left;
    margin-bottom: 72px;
}
.epgep-cert-heading h2 {
    position: relative;
    display: inline-block;
    margin: 0;
    padding: 0;
    font-size: 58px;
    line-height: 0.95;
    font-weight: 900;
    letter-spacing: -1px;
    color: #040e56;
    text-transform: uppercase;
    background: linear-gradient(to top, #ffbd00 0 12px, transparent 12px);
    z-index: 2;
}
.epgep-cert-heading h2::before {
    content: attr(data-text);
    position: absolute;
    left: -38px;
    bottom: 8px;
    transform: translateY(-38%);
    font-size: 112px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: -4px;
    color: #040e56;
    opacity: 0.055;
    white-space: nowrap;
    z-index: -1;
    pointer-events: none;
}
.epgep-cert-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 44px;
}
.epgep-cert-card {
    position: relative;
    display: block;
    color: inherit;
    text-decoration: none !important;
    min-height: 560px;
    overflow: visible;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}
.epgep-cert-card:hover {
    transform: translateY(-8px);
}
.epgep-cert-preview {
    height: 520px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 20px 55px rgba(4, 14, 86, 0.1);
    padding: 18px 18px 86px;
}
.epgep-cert-preview img {
    display: block;
    width: auto;
    max-width: 100%;
    height: 100%;
    object-fit: contain;
}
.epgep-cert-label {
    position: absolute;
    left: 52px;
    right: 52px;
    bottom: 0;
    min-height: 100px;
    padding: 18px 20px 16px;
    background: #ffbd00;
    text-align: center;
    color: #040e56;
    box-sizing: border-box;
    box-shadow: 0 16px 28px rgba(4, 14, 86, 0.08);
}
.epgep-cert-label span {
    display: block;
    margin-bottom: 4px;
    color: #040e56;
    font-size: 15px;
    line-height: 1.2;
    font-weight: 500;
}
.epgep-cert-label strong {
    display: block;
    color: #040e56;
    font-size: 24px;
    line-height: 1.14;
    font-weight: 900;
}
.epgep-cert-label small {
    display: block;
    margin-top: 4px;
    color: #040e56;
    font-size: 12px;
    line-height: 1.25;
    font-weight: 700;
    opacity: 0.82;
}
.epgep-stc-note {
    margin-top: 56px;
    color: #7b8392;
    font-size: 15px;
    line-height: 1.7;
    font-weight: 500;
}
.epgep-motion {
    opacity: 0;
    transform: translateY(26px);
    transition:
        opacity 0.75s ease,
        transform 0.75s ease;
}
.epgep-motion.epgep-motion-left {
    transform: translateX(-34px);
}
.epgep-motion.epgep-motion-right {
    transform: translateX(34px);
}
.epgep-motion.epgep-inview {
    opacity: 1;
    transform: translate(0, 0);
}
.epgep-delay-1 {
    transition-delay: 0.08s;
}
.epgep-delay-2 {
    transition-delay: 0.16s;
}
.epgep-delay-3 {
    transition-delay: 0.24s;
}
.epgep-delay-4 {
    transition-delay: 0.32s;
}
@media (max-width: 1100px) {
    .epgep-stc-hero {
        padding-top: 180px;
    }
    .epgep-stc-hero-grid {
        grid-template-columns: 1fr;
        gap: 54px;
    }
    .epgep-stc-image {
        max-width: 640px;
    }
    .epgep-stc-strength-grid,
    .epgep-cert-grid {
        grid-template-columns: 1fr;
    }
    .epgep-cert-card {
        max-width: 520px;
        margin: 0 auto;
        width: 100%;
    }
}
@media (max-width: 680px) {
    .epgep-stc-container {
        width: min(100%, calc(100% - 32px));
    }
    .epgep-stc-hero {
        padding: 135px 0 70px;
    }
    .epgep-stc-title {
        font-size: 39px;
    }
    .epgep-stc-title::before {
        font-size: 58px;
        letter-spacing: -2px;
    }
    .epgep-stc-copy p {
        font-size: 16px;
    }
    .epgep-stc-section-heading h2,
    .epgep-cert-heading h2 {
        font-size: 36px;
    }
    .epgep-stc-section-heading h2::before,
    .epgep-cert-heading h2::before {
        font-size: 58px;
        left: 50%;
        transform: translate(-50%, -35%);
    }
    .epgep-cert-heading {
        text-align: center;
        margin-bottom: 44px;
    }
    .epgep-cert-preview {
        height: 460px;
    }
    .epgep-cert-label {
        left: 24px;
        right: 24px;
    }
}

.epgep-stc-strengths {
    background: #ffffff !important;
    padding: 105px 0 110px;
}
.epgep-stc-section-heading h2 {
    background: none !important;
    padding-bottom: 0 !important;
}
.epgep-strength-service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    align-items: stretch;
}
.epgep-home-service-card {
    background: #ffffff;
    box-shadow: 0 18px 50px rgba(4, 14, 86, 0.08);
    padding: 38px 34px 34px;
    min-height: 320px;
    height: 100%;
    box-sizing: border-box;
    text-align: left;
}
.epgep-home-service-card .text-icon__icon-box {
    margin-bottom: 22px;
}
.epgep-home-service-card .text-icon__icon-box img {
    width: 66px;
    height: 66px;
    display: block;
    object-fit: contain;
}
.epgep-home-service-card .text-icon__title {
    margin: 0 0 16px;
    color: #040e56;
    font-size: 23px;
    line-height: 1.25;
    font-weight: 900;
    overflow-wrap: anywhere;
}
.epgep-home-service-card .text-icon__text {
    margin: 0;
    color: #7b8392;
    font-size: 16px;
    line-height: 1.72;
    font-weight: 500;
    overflow-wrap: anywhere;
}
@media (max-width: 1100px) {
    .epgep-strength-service-grid {
        grid-template-columns: 1fr;
    }
}

/* ==== 2026-07 finomítás: Erősségeink + Tanúsítványok egységes címsorok ==== */
.epgep-stc-strengths,
.epgep-cert-section {
    background: #ffffff !important;
}
.epgep-stc-section-heading,
.epgep-cert-heading {
    text-align: left !important;
    margin-bottom: 56px !important;
}
.epgep-stc-section-heading p {
    max-width: 780px !important;
    margin: 18px 0 0 !important;
    text-align: left !important;
    color: #7b8392 !important;
    font-size: 16px !important;
    line-height: 1.75 !important;
    font-weight: 500 !important;
}
.epgep-stc-section-heading h2,
.epgep-cert-heading h2 {
    position: relative !important;
    display: inline-block !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 56px !important;
    line-height: 0.96 !important;
    font-weight: 900 !important;
    letter-spacing: -1px !important;
    color: #040e56 !important;
    font-family: "Inter", "Open Sans", Arial, sans-serif !important;
    text-transform: uppercase !important;
    z-index: 2 !important;
    background: linear-gradient(to top, #0f80fb 0 12px, transparent 12px) !important;
}
.epgep-stc-section-heading h2::before,
.epgep-cert-heading h2::before {
    content: attr(data-text) !important;
    position: absolute !important;
    left: -18px !important;
    top: -43px !important;
    bottom: auto !important;
    transform: none !important;
    margin: 0 !important;
    font-size: 98px !important;
    line-height: 1 !important;
    font-weight: 900 !important;
    letter-spacing: -2px !important;
    color: rgba(4, 14, 86, 0.045) !important;
    white-space: nowrap !important;
    z-index: -1 !important;
    pointer-events: none !important;
    font-family: "Inter", "Open Sans", Arial, sans-serif !important;
}
.epgep-strength-service-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 32px !important;
    align-items: stretch !important;
}
.epgep-home-service-card {
    background: #ffffff !important;
    box-shadow: 0 18px 50px rgba(4, 14, 86, 0.08) !important;
    padding: 38px 34px 34px !important;
    min-height: 320px !important;
    height: 100% !important;
    box-sizing: border-box !important;
    text-align: left !important;
}
.epgep-home-service-card .text-icon__icon-box {
    margin-bottom: 26px !important;
}
.epgep-home-service-card .text-icon__icon-box img {
    width: 66px !important;
    height: 66px !important;
    display: block !important;
    object-fit: contain !important;
}
.epgep-home-service-card .text-icon__title {
    margin: 0 0 18px !important;
    color: #040e56 !important;
    font-size: 22px !important;
    line-height: 1.28 !important;
    font-weight: 800 !important;
    font-family: "Inter", "Open Sans", Arial, sans-serif !important;
    overflow-wrap: anywhere !important;
}
.epgep-home-service-card .text-icon__text {
    margin: 0 !important;
    color: #6e7382 !important;
    font-size: 16px !important;
    line-height: 1.75 !important;
    font-weight: 500 !important;
    overflow-wrap: anywhere !important;
}
.epgep-cert-heading {
    margin-bottom: 68px !important;
}
.epgep-cert-label {
    background: #0f80fb !important;
    color: #ffffff !important;
}
.epgep-cert-label span,
.epgep-cert-label strong,
.epgep-cert-label small {
    color: #ffffff !important;
}
.epgep-cert-label small {
    opacity: 0.92 !important;
}
@media (max-width: 1100px) {
    .epgep-strength-service-grid,
    .epgep-cert-grid {
        grid-template-columns: 1fr !important;
    }
}
@media (max-width: 680px) {
    .epgep-stc-section-heading,
    .epgep-cert-heading {
        text-align: left !important;
        margin-bottom: 42px !important;
    }
    .epgep-stc-section-heading h2,
    .epgep-cert-heading h2 {
        font-size: 36px !important;
        line-height: 1 !important;
    }
    .epgep-stc-section-heading h2::before,
    .epgep-cert-heading h2::before {
        left: -8px !important;
        top: -20px !important;
        font-size: 54px !important;
        letter-spacing: -1px !important;
    }
    .epgep-stc-section-heading p {
        font-size: 15px !important;
        line-height: 1.7 !important;
    }
}

/* ==== 2026-07 végső finomítás: erősség kártyák = főoldali szolgáltatás kártyák ==== */
.epgep-strength-home-row {
    display: flex !important;
    flex-wrap: wrap !important;
    margin-left: -18px !important;
    margin-right: -18px !important;
}
.epgep-strength-home-row .epgep-strength-col {
    width: 33.3333% !important;
    padding-left: 18px !important;
    padding-right: 18px !important;
    box-sizing: border-box !important;
    margin-bottom: 0 !important;
}
.epgep-strength-home-row .text-icon.boxes {
    height: 100% !important;
    min-height: 365px !important;
}
.epgep-strength-home-row .text-icon__icon-box {
    margin-bottom: 18px !important;
}
.epgep-strength-home-row .text-icon__icon-box img {
    width: auto !important;
    height: auto !important;
    max-width: 74px !important;
}
.epgep-strength-home-row .text-icon__title {
    font-size: 22px !important;
    line-height: 1.24 !important;
    font-weight: 800 !important;
    margin-top: 0 !important;
    margin-bottom: 12px !important;
    color: #040e56 !important;
    font-family: "Inter", "Open Sans", Arial, sans-serif !important;
}
.epgep-strength-home-row .text-icon__text {
    font-size: 15px !important;
    line-height: 1.6 !important;
    font-weight: 400 !important;
    color: #585b68 !important;
    margin-top: -6px !important;
}
@media (max-width: 1100px) {
    .epgep-strength-home-row .epgep-strength-col {
        width: 100% !important;
        margin-bottom: 32px !important;
    }
    .epgep-strength-home-row .text-icon.boxes {
        min-height: 0 !important;
    }
}

/* ==== 2026-07 pontosítás: 3 kártya egy sorban, sárga csík és kontúr nélkül ==== */
.epgep-stc-section-heading h2,
.epgep-cert-heading h2 {
    font-weight: 800 !important;
    letter-spacing: -1.5px !important;
    font-family: "Open Sans", Arial, sans-serif !important;
}
.epgep-stc-section-heading h2::before,
.epgep-cert-heading h2::before {
    font-weight: 800 !important;
    font-family: "Open Sans", Arial, sans-serif !important;
    color: rgba(4, 14, 86, 0.05) !important;
}
.epgep-strength-home-row {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 36px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    align-items: stretch !important;
}
.epgep-strength-home-row .epgep-strength-col {
    flex: 1 1 0 !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-bottom: 0 !important;
}
.epgep-strength-home-row .border-shadow.text-icon.boxes {
    min-height: 365px !important;
    height: 100% !important;
    background: #ffffff !important;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    padding: 42px 44px 36px !important;
}
.epgep-strength-home-row .border-shadow.text-icon.boxes:before,
.epgep-strength-home-row .border-shadow.text-icon.boxes:after {
    content: none !important;
}
.epgep-strength-home-row .text-icon__title {
    font-size: 22px !important;
    line-height: 1.22 !important;
    font-weight: 700 !important;
    letter-spacing: -0.4px !important;
    font-family: "Open Sans", Arial, sans-serif !important;
    margin: 0 0 14px !important;
}
.epgep-strength-home-row .text-icon__text {
    font-size: 15px !important;
    line-height: 1.65 !important;
    font-weight: 400 !important;
    font-family: "Open Sans", Arial, sans-serif !important;
    color: #585b68 !important;
    margin: 0 !important;
}
.epgep-strength-home-row .text-icon__icon-box {
    margin-bottom: 20px !important;
}
.epgep-strength-home-row .text-icon__icon-box img {
    max-width: 74px !important;
}
@media (max-width: 1100px) {
    .epgep-strength-home-row {
        flex-wrap: wrap !important;
        gap: 28px !important;
    }
    .epgep-strength-home-row .epgep-strength-col {
        flex: 0 0 100% !important;
        width: 100% !important;
    }
    .epgep-strength-home-row .border-shadow.text-icon.boxes {
        min-height: 0 !important;
    }
}

/* ==== 2026-07 vissza a fehér kártya háttér a főoldali szolgáltatás stílusával ==== */
.epgep-strength-home-row .border-shadow.text-icon.boxes {
    background: #ffffff !important;
    box-shadow: 0 10px 21px 0 rgba(0, 0, 0, 0.06) !important;
    border: 0 !important;
    outline: 0 !important;
    padding: 40px 40px 30px !important;
}
.epgep-strength-home-row .border-shadow.text-icon.boxes:hover {
    box-shadow: 0 16px 32px 0 rgba(0, 0, 0, 0.08) !important;
}
.epgep-strength-home-row .text-icon__container.left {
    display: block !important;
}
.epgep-strength-home-row .epgep-strength-col {
    display: flex !important;
}
.epgep-strength-home-row .epgep-strength-col > .border-shadow.text-icon.boxes,
.epgep-strength-home-row .epgep-strength-col > div {
    width: 100% !important;
}

/* ==== 2026-07 halvány háttérfeliratok javítása ==== */
.epgep-stc-section-heading,
.epgep-cert-heading {
    position: relative !important;
    overflow: visible !important;
}
.epgep-stc-section-heading h2,
.epgep-cert-heading h2 {
    position: relative !important;
    z-index: 2 !important;
}
.epgep-stc-section-heading h2::before,
.epgep-cert-heading h2::before {
    content: attr(data-text) !important;
    position: absolute !important;
    left: -18px !important;
    top: -42px !important;
    transform: none !important;
    font-size: 98px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    letter-spacing: -2px !important;
    color: rgba(4, 14, 86, 0.05) !important;
    white-space: nowrap !important;
    z-index: -1 !important;
    pointer-events: none !important;
    font-family: "Open Sans", Arial, sans-serif !important;
}
@media (max-width: 680px) {
    .epgep-stc-section-heading h2::before,
    .epgep-cert-heading h2::before {
        left: -8px !important;
        top: -22px !important;
        font-size: 54px !important;
    }
}

/* ==== 2026-07 Tanúsítványaink felül, referenciák stílusában ==== */
.epgep-cert-section {
    position: relative !important;
    background: #040e56 !important;
    padding: 118px 0 105px !important;
    overflow: hidden !important;
}
.epgep-cert-heading {
    text-align: left !important;
    margin-bottom: 56px !important;
}
.epgep-cert-heading h2 {
    position: relative !important;
    display: inline-block !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #ffffff !important;
    font-size: 58px !important;
    line-height: 0.96 !important;
    font-weight: 800 !important;
    letter-spacing: -1.5px !important;
    text-transform: uppercase !important;
    background: none !important;
    font-family: "Open Sans", Arial, sans-serif !important;
    z-index: 2 !important;
}
.epgep-cert-heading h2::before {
    content: attr(data-text) !important;
    position: absolute !important;
    left: -18px !important;
    top: -40px !important;
    transform: none !important;
    color: rgba(255, 255, 255, 0.08) !important;
    font-size: 102px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    letter-spacing: -2px !important;
    white-space: nowrap !important;
    z-index: -1 !important;
    font-family: "Open Sans", Arial, sans-serif !important;
}
.epgep-cert-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 32px !important;
}
.epgep-cert-card {
    position: relative !important;
    display: block !important;
    color: inherit !important;
    text-decoration: none !important;
    min-height: 0 !important;
    overflow: visible !important;
    transition:
        transform 0.25s ease,
        opacity 0.25s ease !important;
}
.epgep-cert-card:hover {
    transform: translateY(-8px) !important;
}
.epgep-cert-preview {
    height: 440px !important;
    background: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    box-shadow: none !important;
    padding: 16px 16px 96px !important;
}
.epgep-cert-preview img {
    width: auto !important;
    max-width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
}
.epgep-cert-label {
    position: absolute !important;
    left: 24px !important;
    right: 24px !important;
    bottom: 0 !important;
    min-height: 0 !important;
    padding: 16px 18px 15px !important;
    background: #0f80fb !important;
    color: #ffffff !important;
    text-align: center !important;
    box-sizing: border-box !important;
    box-shadow: none !important;
}
.epgep-cert-label span,
.epgep-cert-label strong,
.epgep-cert-label small {
    color: #ffffff !important;
}
.epgep-cert-label span {
    display: block !important;
    margin-bottom: 4px !important;
    font-size: 14px !important;
    line-height: 1.2 !important;
    font-weight: 500 !important;
}
.epgep-cert-label strong {
    display: block !important;
    font-size: 21px !important;
    line-height: 1.15 !important;
    font-weight: 800 !important;
    margin-bottom: 4px !important;
}
.epgep-cert-label small {
    display: block !important;
    font-size: 14px !important;
    line-height: 1.25 !important;
    font-weight: 600 !important;
    opacity: 0.98 !important;
}
@media (max-width: 1100px) {
    .epgep-cert-grid {
        grid-template-columns: 1fr !important;
        gap: 28px !important;
    }
    .epgep-cert-card {
        max-width: 520px !important;
        margin: 0 auto !important;
        width: 100% !important;
    }
}
@media (max-width: 680px) {
    .epgep-cert-section {
        padding: 96px 0 82px !important;
    }
    .epgep-cert-heading {
        margin-bottom: 38px !important;
    }
    .epgep-cert-heading h2 {
        font-size: 36px !important;
    }
    .epgep-cert-heading h2::before {
        left: -8px !important;
        top: -20px !important;
        font-size: 56px !important;
    }
    .epgep-cert-preview {
        height: 390px !important;
    }
    .epgep-cert-label {
        left: 18px !important;
        right: 18px !important;
    }
}

/* ==== 2026-07 tanúsítvány blokk igazítás: lejjebb, magasabb, referenciás effekt ==== */
.epgep-cert-section {
    padding: 168px 0 150px !important;
    background: #040e56 !important;
    position: relative !important;
    overflow: hidden !important;
}
.epgep-cert-section::before {
    content: "" !important;
    position: absolute !important;
    left: 50% !important;
    top: 112px !important;
    transform: translateX(-50%) !important;
    width: min(1380px, calc(100% - 96px)) !important;
    height: calc(100% - 170px) !important;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.02)) !important;
    pointer-events: none !important;
}
.epgep-cert-section .epgep-stc-container {
    position: relative !important;
    z-index: 1 !important;
}
.epgep-cert-heading {
    margin-bottom: 78px !important;
}
.epgep-cert-heading h2::before {
    top: -54px !important;
}
.epgep-cert-grid {
    gap: 42px !important;
    align-items: start !important;
}
.epgep-cert-card {
    min-height: 0 !important;
}
.epgep-cert-preview {
    height: 660px !important;
    padding: 18px 0 110px !important;
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.14) !important;
}
.epgep-cert-preview img {
    height: 100% !important;
    width: auto !important;
    max-width: 100% !important;
    object-fit: contain !important;
}
.epgep-cert-label {
    left: 28px !important;
    right: 28px !important;
    bottom: 0 !important;
    background: #0f80fb !important;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18) !important;
}
@media (max-width: 1200px) {
    .epgep-cert-preview {
        height: 560px !important;
    }
}
@media (max-width: 1100px) {
    .epgep-cert-section {
        padding: 145px 0 120px !important;
    }
    .epgep-cert-section::before {
        width: min(100% - 40px, 100%) !important;
        top: 92px !important;
        height: calc(100% - 140px) !important;
    }
    .epgep-cert-grid {
        gap: 28px !important;
    }
}
@media (max-width: 680px) {
    .epgep-cert-section {
        padding: 126px 0 90px !important;
    }
    .epgep-cert-heading {
        margin-bottom: 48px !important;
    }
    .epgep-cert-heading h2::before {
        top: -24px !important;
    }
    .epgep-cert-preview {
        height: 500px !important;
        padding: 12px 0 96px !important;
    }
    .epgep-cert-label {
        left: 20px !important;
        right: 20px !important;
    }
}

/* ==== 2026-07 tanúsítvány kártyák letisztítása: sárga nélkül, natúr kép + kék sáv ==== */
.epgep-cert-card {
    position: relative !important;
    overflow: visible !important;
}
.epgep-cert-preview {
    height: auto !important;
    padding: 0 0 86px !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    display: block !important;
}
.epgep-cert-preview img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    object-fit: contain !important;
}
.epgep-cert-label {
    left: 22px !important;
    right: 22px !important;
    bottom: 0 !important;
    min-height: 0 !important;
    padding: 16px 18px 15px !important;
    background: #0f80fb !important;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.16) !important;
}
@media (max-width: 680px) {
    .epgep-cert-preview {
        padding: 0 0 76px !important;
    }
    .epgep-cert-label {
        left: 16px !important;
        right: 16px !important;
    }
}

/* ==== 2026-07 végső cert fejléc: ugyanott mint a Referenciák oldalon ==== */
.epgep-cert-section {
    background: #040e56 !important;
    padding: 0 0 120px !important;
    position: relative !important;
    overflow: hidden !important;
}
.epgep-cert-section::before {
    content: "" !important;
    position: absolute !important;
    left: 50% !important;
    top: 0 !important;
    transform: translateX(-50%) !important;
    width: min(1380px, calc(100% - 96px)) !important;
    height: 100% !important;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.02)) !important;
    pointer-events: none !important;
}
.epgep-cert-section .epgep-stc-container {
    position: relative !important;
    z-index: 1 !important;
}
.epgep-cert-empty {
    height: 170px !important;
}
.epgep-cert-gap {
    height: 15px !important;
}
.epgep-cert-intro {
    margin-bottom: 0 !important;
}
.epgep-cert-intro .title_a {
    margin: 0 !important;
}
.epgep-cert-intro .sub_title_a {
    display: none !important;
}
/* neutralize older custom heading rules */
.epgep-cert-heading,
.epgep-cert-heading h2,
.epgep-cert-heading h2::before {
    all: unset;
}
@media (max-width: 1100px) {
    .epgep-cert-section {
        padding-bottom: 100px !important;
    }
    .epgep-cert-section::before {
        width: min(100%, calc(100% - 40px)) !important;
    }
    .epgep-cert-empty {
        height: 145px !important;
    }
}
@media (max-width: 680px) {
    .epgep-cert-empty {
        height: 120px !important;
    }
    .epgep-cert-gap {
        height: 8px !important;
    }
}

/* ==== 2026-07 tanúsítvány blokk: referenciák sötétkék blokk 1:1 ==== */
.epgep-cert-section {
    background: #040e56 !important;
    padding: 0 0 56px !important;
    position: relative !important;
    overflow: hidden !important;
}
.epgep-cert-stage {
    position: relative !important;
}
.epgep-cert-stage::before {
    content: "" !important;
    position: absolute !important;
    left: 50% !important;
    top: 0 !important;
    transform: translateX(-50%) !important;
    width: min(1320px, calc(100% - 48px)) !important;
    height: 100% !important;
    background: rgba(255, 255, 255, 0.03) !important;
    pointer-events: none !important;
}
.epgep-cert-stage-inner {
    width: min(1320px, calc(100% - 48px)) !important;
    margin: 0 auto !important;
    position: relative !important;
    z-index: 1 !important;
}
.epgep-cert-empty {
    height: 205px !important;
}
.epgep-cert-gap {
    height: 15px !important;
}
.epgep-cert-intro {
    margin-bottom: 0 !important;
}
.epgep-cert-intro .title_a {
    margin: 0 !important;
    color: #ffffff !important;
    font-size: 60px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    position: relative !important;
    z-index: 2 !important;
    background: none !important;
}
.epgep-cert-intro .title_a span {
    background: none !important;
}
.epgep-cert-intro .title_a::before {
    content: none !important;
}
.epgep-cert-intro .title_a::after {
    content: attr(data-text) !important;
    display: block !important;
    height: 100% !important;
    position: absolute !important;
    left: -20px !important;
    right: 0 !important;
    top: -58px !important;
    transform-origin: left !important;
    opacity: 1 !important;
    z-index: -1 !important;
    font-size: 120px !important;
    font-weight: 800 !important;
    letter-spacing: 0 !important;
    color: rgba(255, 255, 255, 0.08) !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    background: none !important;
}
.epgep-cert-intro .sub_title_a {
    display: none !important;
}
.epgep-cert-projects {
    margin-top: 0 !important;
}
.epgep-cert-projects .portfolio_grid > .portfolio_grid--item,
.epgep-cert-projects .portfolio_grid .portfolio_grid--item {
    padding-left: 12px !important;
    padding-right: 12px !important;
    margin-bottom: 0 !important;
}
.epgep-cert-projects .portfolio_grid--item .item {
    background: transparent !important;
    overflow: hidden !important;
}
.epgep-cert-projects .portfolio_grid--item img.wp-post-image {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 795 / 964 !important;
    object-fit: contain !important;
    background: #ffffff !important;
    display: block !important;
}
.epgep-cert-projects .portfolio_grid--item .item::after {
    background: none !important;
}
.epgep-cert-projects .portfolio_grid--item .info {
    background: #0f80fb !important;
}
.epgep-cert-projects .portfolio_grid--item .wd-portfolio-category,
.epgep-cert-projects .portfolio_grid--item .wd-portfolio-category a,
.epgep-cert-projects .portfolio_grid--item .info a,
.epgep-cert-projects .portfolio_grid--item .info h4,
.epgep-cert-projects .portfolio_grid--item .info h4 a {
    color: #ffffff !important;
}
@media (max-width: 1100px) {
    .epgep-cert-empty {
        height: 170px !important;
    }
    .epgep-cert-section {
        padding-bottom: 40px !important;
    }
}
@media (max-width: 767px) {
    .epgep-cert-empty {
        height: 120px !important;
    }
    .epgep-cert-gap {
        height: 8px !important;
    }
    .epgep-cert-intro .title_a {
        font-size: 42px !important;
    }
    .epgep-cert-intro .title_a::after {
        font-size: 72px !important;
        top: -34px !important;
        left: -10px !important;
    }
}

/* ==== 2026-07 cert blokk végső szerkezeti javítás ==== */
.epgep-cert-section {
    background: #040e56 !important;
    padding: 0 0 150px !important;
    overflow: hidden !important;
}
.epgep-cert-stage::before {
    width: min(1340px, calc(100% - 56px)) !important;
    background: rgba(255, 255, 255, 0.035) !important;
}
.epgep-cert-stage-inner {
    width: min(1340px, calc(100% - 56px)) !important;
}
.epgep-cert-empty {
    height: 245px !important;
}
.epgep-cert-gap {
    height: 26px !important;
}
.epgep-cert-projects .portfolio_grid {
    display: flex !important;
    flex-wrap: wrap !important;
    margin-left: -14px !important;
    margin-right: -14px !important;
}
.epgep-cert-projects .portfolio_grid > .portfolio_grid--item,
.epgep-cert-projects .portfolio_grid .portfolio_grid--item {
    width: 33.3333% !important;
    max-width: 33.3333% !important;
    flex: 0 0 33.3333% !important;
    padding-left: 14px !important;
    padding-right: 14px !important;
    margin-bottom: 0 !important;
}
.epgep-cert-projects .portfolio_grid--item .item {
    position: relative !important;
    padding: 0 !important;
    background: transparent !important;
    overflow: visible !important;
}
.epgep-cert-projects .portfolio_grid--item img.wp-post-image {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 210 / 297 !important;
    object-fit: contain !important;
    background: transparent !important;
    box-shadow: none !important;
}
.epgep-cert-projects .portfolio_grid--item .info {
    position: absolute !important;
    left: 22px !important;
    right: 22px !important;
    bottom: -28px !important;
    width: auto !important;
    min-height: 0 !important;
    padding: 16px 18px 15px !important;
    background: #0f80fb !important;
    text-align: center !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18) !important;
}
.epgep-cert-projects .portfolio_grid--item .wd-portfolio-category-holder,
.epgep-cert-projects .portfolio_grid--item .info h4 {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    margin: 0 !important;
}
.epgep-cert-projects .portfolio_grid--item .wd-portfolio-category-holder {
    margin-bottom: 4px !important;
}
.epgep-cert-projects .portfolio_grid--item .wd-portfolio-category,
.epgep-cert-projects .portfolio_grid--item .wd-portfolio-category a,
.epgep-cert-projects .portfolio_grid--item .info a,
.epgep-cert-projects .portfolio_grid--item .info h4,
.epgep-cert-projects .portfolio_grid--item .info h4 a {
    color: #ffffff !important;
}
.epgep-cert-projects .portfolio_grid--item .wd-portfolio-category {
    font-size: 14px !important;
    line-height: 1.15 !important;
    font-weight: 600 !important;
    display: block !important;
}
.epgep-cert-projects .portfolio_grid--item .info h4 {
    font-size: 20px !important;
    line-height: 1.15 !important;
    font-weight: 800 !important;
    letter-spacing: -0.3px !important;
}
.epgep-cert-projects .portfolio_grid--item:hover .info,
.epgep-cert-projects .portfolio_grid--item:focus-within .info {
    transform: none !important;
}
@media (max-width: 1100px) {
    .epgep-cert-section {
        padding-bottom: 120px !important;
    }
    .epgep-cert-empty {
        height: 205px !important;
    }
    .epgep-cert-projects .portfolio_grid > .portfolio_grid--item,
    .epgep-cert-projects .portfolio_grid .portfolio_grid--item {
        width: 100% !important;
        max-width: 520px !important;
        flex: 0 0 100% !important;
        margin: 0 auto 56px !important;
    }
}
@media (max-width: 767px) {
    .epgep-cert-stage::before,
    .epgep-cert-stage-inner {
        width: calc(100% - 28px) !important;
    }
    .epgep-cert-empty {
        height: 145px !important;
    }
    .epgep-cert-gap {
        height: 14px !important;
    }
    .epgep-cert-intro .title_a {
        font-size: 42px !important;
    }
    .epgep-cert-intro .title_a::after {
        font-size: 72px !important;
        top: -34px !important;
        left: -10px !important;
    }
    .epgep-cert-projects .portfolio_grid > .portfolio_grid--item,
    .epgep-cert-projects .portfolio_grid .portfolio_grid--item {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }
    .epgep-cert-projects .portfolio_grid--item .info {
        left: 16px !important;
        right: 16px !important;
        bottom: -22px !important;
    }
}

/* ==== 2026-07 tanúsítványok: 3 kártya fixen egymás mellett desktopon ==== */
.epgep-cert-projects .portfolio_grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 34px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
}
.epgep-cert-projects .portfolio_grid > .portfolio_grid--item,
.epgep-cert-projects .portfolio_grid .portfolio_grid--item {
    width: auto !important;
    max-width: none !important;
    flex: none !important;
    float: none !important;
    clear: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}
.epgep-cert-projects .portfolio_grid--item .item {
    min-width: 0 !important;
}
.epgep-cert-projects .portfolio_grid--item img.wp-post-image {
    width: 100% !important;
    aspect-ratio: 210 / 297 !important;
}
.epgep-cert-projects .portfolio_grid--item .info {
    left: 20px !important;
    right: 20px !important;
    bottom: -24px !important;
}
.epgep-cert-section {
    padding-bottom: 170px !important;
}
@media (max-width: 1100px) {
    .epgep-cert-projects .portfolio_grid {
        grid-template-columns: 1fr !important;
        gap: 56px !important;
    }
    .epgep-cert-projects .portfolio_grid > .portfolio_grid--item,
    .epgep-cert-projects .portfolio_grid .portfolio_grid--item {
        max-width: 520px !important;
        margin: 0 auto !important;
    }
}

/* ==== 2026-07 végső homogén sötétkék tanúsítvány blokk ==== */
.epgep-cert-section {
    background: #040e56 !important;
    padding: 0 0 220px !important;
}
.epgep-cert-stage,
.epgep-cert-stage-inner {
    background: transparent !important;
}
.epgep-cert-stage::before {
    content: none !important;
    display: none !important;
    background: transparent !important;
}
.epgep-cert-stage-inner {
    width: min(1420px, calc(100% - 56px)) !important;
    margin: 0 auto !important;
}
.epgep-cert-empty {
    height: 255px !important;
}
.epgep-cert-gap {
    height: 24px !important;
}
.epgep-cert-intro .title_a {
    position: relative !important;
    z-index: 2 !important;
}
.epgep-cert-intro .title_a::after {
    left: -20px !important;
    top: -56px !important;
}
@media (max-width: 1100px) {
    .epgep-cert-section {
        padding-bottom: 180px !important;
    }
    .epgep-cert-empty {
        height: 220px !important;
    }
}
@media (max-width: 767px) {
    .epgep-cert-stage-inner {
        width: calc(100% - 28px) !important;
    }
    .epgep-cert-section {
        padding-bottom: 120px !important;
    }
    .epgep-cert-empty {
        height: 160px !important;
    }
    .epgep-cert-gap {
        height: 14px !important;
    }
}

/* ==== 2026-07 tanúsítványok: térköz felezés + homogén háttér végső fix ==== */
body .epgep-cert-section {
    background: #040e56 !important;
    background-image: none !important;
    padding: 0 0 110px !important;
}
body .epgep-cert-stage,
body .epgep-cert-stage-inner {
    background: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
}
body .epgep-cert-stage::before,
body .epgep-cert-stage::after,
body .epgep-cert-stage-inner::before,
body .epgep-cert-stage-inner::after {
    content: none !important;
    display: none !important;
    background: transparent !important;
    background-image: none !important;
}
@media (max-width: 1100px) {
    body .epgep-cert-section {
        padding-bottom: 95px !important;
    }
}
@media (max-width: 767px) {
    body .epgep-cert-section {
        padding-bottom: 72px !important;
    }
}

/* ==== 2026-07 tanúsítványok: cím és alsó sötétkék blokk finomítás ==== */
body .epgep-cert-section {
    padding: 0 0 40px !important;
}
@media (max-width: 1100px) {
    body .epgep-cert-section {
        padding-bottom: 25px !important;
    }
}
@media (max-width: 767px) {
    body .epgep-cert-section {
        padding-bottom: 16px !important;
    }
}

/* ==== 2026-07 szolgáltatás lista: referencia stílusú hosszú blokkok ==== */
body .epgep-about-container--services {
    width: min(1320px, calc(100% - 56px)) !important;
    grid-template-columns: 1fr !important;
}
body .epgep-about-container--services .epgep-about-content {
    max-width: 980px !important;
}
body .epgep-service-archive {
    padding: 0 0 110px !important;
}
body .epgep-service-list {
    width: min(1320px, calc(100% - 56px)) !important;
    margin: 0 auto !important;
    display: grid !important;
    gap: 24px !important;
}
body .epgep-service-card {
    display: grid !important;
    grid-template-columns: 290px 1fr !important;
    background: #ffffff !important;
    box-shadow: 0 14px 40px rgba(4, 14, 86, 0.08) !important;
    overflow: hidden !important;
    transition:
        transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1),
        box-shadow 0.45s ease !important;
}
body .epgep-service-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 24px 58px rgba(4, 14, 86, 0.12) !important;
}
body .epgep-service-aside {
    background: #040e56 !important;
    color: #ffffff !important;
    padding: 34px 28px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
}
body .epgep-service-icon {
    width: 68px !important;
    height: 68px !important;
    margin: 0 auto 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
body .epgep-service-icon img {
    width: 52px !important;
    height: 52px !important;
    display: block !important;
    filter: brightness(0) invert(1) !important;
}
body .epgep-service-title {
    margin: 0 !important;
    color: #ffffff !important;
    font-size: 30px !important;
    line-height: 1.18 !important;
    font-weight: 800 !important;
    letter-spacing: -0.4px !important;
}
body .epgep-service-content {
    padding: 32px 38px 28px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
}
body .epgep-service-content p {
    margin: 0 0 12px !important;
    color: #3c4560 !important;
    font-size: 18px !important;
    line-height: 1.68 !important;
}
body .epgep-service-content p:last-child {
    margin-bottom: 0 !important;
}
@media (max-width: 1024px) {
    body .epgep-service-card {
        grid-template-columns: 220px 1fr !important;
    }
    body .epgep-service-title {
        font-size: 24px !important;
    }
    body .epgep-service-content p {
        font-size: 16px !important;
    }
}
@media (max-width: 767px) {
    body .epgep-service-archive {
        padding-bottom: 70px !important;
    }
    body .epgep-service-list,
    body .epgep-about-container--services {
        width: calc(100% - 32px) !important;
    }
    body .epgep-service-card {
        grid-template-columns: 1fr !important;
    }
    body .epgep-service-aside {
        padding: 24px 22px 22px !important;
    }
    body .epgep-service-icon {
        width: 54px !important;
        height: 54px !important;
        margin-bottom: 16px !important;
    }
    body .epgep-service-icon img {
        width: 40px !important;
        height: 40px !important;
    }
    body .epgep-service-title {
        font-size: 22px !important;
    }
    body .epgep-service-content {
        padding: 24px 22px 20px !important;
    }
    body .epgep-service-content p {
        font-size: 15px !important;
        line-height: 1.6 !important;
    }
}

/* ==== 2026-07 szolgáltatás blokk végső finomítás: szélesebb lista + cím ==== */
body .epgep-service-archive {
    padding: 8px 0 110px !important;
}
body .epgep-service-intro {
    width: min(1600px, calc(100% - 56px)) !important;
    margin: 0 auto 34px !important;
}
body .epgep-service-intro .sub_title_a {
    display: block !important;
    margin-top: 10px !important;
}
body .epgep-service-list {
    width: min(1600px, calc(100% - 56px)) !important;
}
body .epgep-service-card {
    grid-template-columns: 320px 1fr !important;
}
body .epgep-service-aside {
    padding: 38px 30px !important;
}
body .epgep-service-content {
    padding: 34px 42px 30px !important;
}
body .epgep-strength-home-row {
    margin-top: 0 !important;
}
@media (max-width: 1024px) {
    body .epgep-service-intro,
    body .epgep-service-list {
        width: min(100% - 40px, 1320px) !important;
    }
    body .epgep-service-card {
        grid-template-columns: 240px 1fr !important;
    }
}
@media (max-width: 767px) {
    body .epgep-service-intro,
    body .epgep-service-list {
        width: calc(100% - 32px) !important;
    }
    body .epgep-service-intro {
        margin-bottom: 24px !important;
    }
    body .epgep-service-card {
        grid-template-columns: 1fr !important;
    }
}

/* ==== 2026-07 végső finomítás: szolgáltatás blokkok, margók, betűméretek ==== */
body .epgep-service-archive {
    padding: 20px 0 44px !important;
}
body .epgep-stc-container,
body .epgep-service-list {
    width: min(1660px, calc(100% - 48px)) !important;
    margin-left: auto !important;
    margin-right: auto !important;
}
body .epgep-service-card {
    grid-template-columns: 236px 1fr !important;
}
body .epgep-service-aside {
    padding: 26px 20px !important;
}
body .epgep-service-icon {
    width: 48px !important;
    height: 48px !important;
    margin: 0 auto 14px !important;
}
body .epgep-service-icon img {
    width: 36px !important;
    height: 36px !important;
}
body .epgep-service-title {
    font-size: 20px !important;
    line-height: 1.14 !important;
    letter-spacing: 0 !important;
}
body .epgep-service-content {
    padding: 22px 26px 20px !important;
}
body .epgep-service-content p {
    font-size: 15px !important;
    line-height: 1.6 !important;
    max-width: none !important;
    width: 100% !important;
}
body .epgep-stc-strengths {
    padding: 54px 0 88px !important;
}
body .epgep-stc-section-heading {
    margin-bottom: 36px !important;
}
body .epgep-stc-section-heading h2 {
    font-size: 38px !important;
    line-height: 1.02 !important;
    letter-spacing: -0.6px !important;
    background: linear-gradient(to top, #0f80fb 0 8px, transparent 8px) !important;
}
body .epgep-stc-section-heading h2::before {
    left: -10px !important;
    top: -26px !important;
    font-size: 72px !important;
    letter-spacing: -1px !important;
}
body .epgep-stc-section-heading p {
    max-width: none !important;
    width: 100% !important;
    margin-top: 12px !important;
    font-size: 15px !important;
    line-height: 1.65 !important;
}
body .epgep-strength-home-row {
    gap: 26px !important;
}
body .epgep-strength-home-row .text-icon__title {
    font-size: 18px !important;
    line-height: 1.3 !important;
}
body .epgep-strength-home-row .text-icon__text {
    font-size: 15px !important;
    line-height: 1.6 !important;
}
@media (max-width: 1100px) {
    body .epgep-stc-container,
    body .epgep-service-list {
        width: min(100% - 40px, 1320px) !important;
    }
    body .epgep-service-card {
        grid-template-columns: 200px 1fr !important;
    }
    body .epgep-service-title {
        font-size: 18px !important;
    }
}
@media (max-width: 767px) {
    body .epgep-service-archive {
        padding: 14px 0 34px !important;
    }
    body .epgep-stc-container,
    body .epgep-service-list {
        width: calc(100% - 32px) !important;
    }
    body .epgep-service-card {
        grid-template-columns: 1fr !important;
    }
    body .epgep-stc-strengths {
        padding: 42px 0 70px !important;
    }
    body .epgep-stc-section-heading h2 {
        font-size: 32px !important;
    }
    body .epgep-stc-section-heading h2::before {
        font-size: 52px !important;
        top: -16px !important;
        left: -6px !important;
    }
}

/* ==== 2026-07 korrekció: szolgáltatások blokk vissza + margók igazítása ==== */
body .epgep-about-container--services {
    width: min(1320px, calc(100% - 48px)) !important;
    grid-template-columns: 1fr !important;
}
body .epgep-about-container--services .epgep-about-content {
    max-width: 980px !important;
}
body .epgep-service-archive {
    padding: 12px 0 44px !important;
}
body .epgep-service-list {
    width: min(1320px, calc(100% - 48px)) !important;
    margin-left: auto !important;
    margin-right: auto !important;
}
body .epgep-stc-container {
    width: min(1320px, calc(100% - 48px)) !important;
    margin-left: auto !important;
    margin-right: auto !important;
}
body .epgep-stc-strengths {
    padding: 34px 0 88px !important;
}
body .epgep-stc-section-heading {
    margin-bottom: 32px !important;
}
@media (max-width: 1100px) {
    body .epgep-about-container--services,
    body .epgep-service-list,
    body .epgep-stc-container {
        width: min(100% - 40px, 1320px) !important;
    }
}
@media (max-width: 767px) {
    body .epgep-about-container--services,
    body .epgep-service-list,
    body .epgep-stc-container {
        width: calc(100% - 32px) !important;
    }
    body .epgep-stc-strengths {
        padding: 28px 0 70px !important;
    }
}

/* ==== 2026-07 korrekció: szolgáltatás bevezető teljes szélesség + kártyák feljebb ==== */
body .epgep-about-container--services {
    width: min(1320px, calc(100% - 48px)) !important;
}
body .epgep-about-container--services .epgep-about-content,
body .epgep-about-container--services .epgep-about-text {
    max-width: none !important;
    width: 100% !important;
}
body .epgep-about-container--services .epgep-about-text p {
    max-width: none !important;
    width: 100% !important;
}
body .epgep-service-archive {
    margin-top: -100px !important;
    padding-top: 0 !important;
}
@media (max-width: 1100px) {
    body .epgep-about-container--services {
        width: min(100% - 40px, 1320px) !important;
    }
    body .epgep-service-archive {
        margin-top: -70px !important;
    }
}
@media (max-width: 767px) {
    body .epgep-about-container--services {
        width: calc(100% - 32px) !important;
    }
    body .epgep-service-archive {
        margin-top: -24px !important;
    }
}

/* ==== 2026-07 további finomítások: bevezető jobb margóig, kártyák +50px feljebb, ERŐSSÉGEINK lejjebb + főcím stílus ==== */

/* 1) Bevezető szöveg egészen a jobb margóig
A gyökérok: .epgep-about-container egy 2 oszlopos grid (minmax(420px,600px) 540px)
és a .epgep-about-content max-width: 600px. Ezért csak félig fut a szöveg.
Itt egyoszlopos gridre + teljes szélességű contentre váltunk. */
body .page #rolunk.epgep-about-section .epgep-about-container,
body .page #rolunk.epgep-about-section .epgep-about-container--services {
    grid-template-columns: 1fr !important;
    column-gap: 0 !important;
}
body #rolunk.epgep-about-section .epgep-about-content {
    max-width: none !important;
    width: 100% !important;
    transform: none !important;
}
body #rolunk.epgep-about-section .epgep-about-text,
body #rolunk.epgep-about-section .wpb_text_column,
body #rolunk.epgep-about-section .wpb_text_column .wpb_wrapper,
body #rolunk.epgep-about-section .wpb_text_column .epgep-about-text {
    max-width: none !important;
    width: 100% !important;
    left: 0 !important;
}
body #rolunk.epgep-about-section .epgep-about-text p {
    max-width: none !important;
    width: 100% !important;
}

/* 2) Szolgáltatás kártyák további 50px feljebb (-100 -> -150), majd a térköz felezése (-150 -> -290) */
body .epgep-service-archive {
    margin-top: -290px !important;
}
@media (max-width: 1100px) {
    body .epgep-service-archive {
        margin-top: -220px !important;
    }
}
@media (max-width: 767px) {
    body .epgep-service-archive {
        margin-top: -130px !important;
    }
}

/* 3) ERŐSSÉGEINK cím: 100px-el lejjebb + SZOLGÁLTATÁSOK főcím stílusa
(méret 56px, halvány 98px-es háttérszöveg, kék aláhúzás, balra igazítva) */
body .epgep-stc-section-heading {
    margin-top: 100px !important;
    text-align: left !important;
    margin-bottom: 44px !important;
}
body .epgep-stc-section-heading h2 {
    position: relative !important;
    display: inline-block !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 56px !important;
    line-height: 0.96 !important;
    font-weight: 900 !important;
    letter-spacing: -1px !important;
    color: #040e56 !important;
    text-transform: uppercase !important;
    background: linear-gradient(to top, #0f80fb 0 12px, transparent 12px) !important;
    z-index: 2 !important;
}
body .epgep-stc-section-heading h2::before {
    content: attr(data-text) !important;
    position: absolute !important;
    left: -18px !important;
    top: -43px !important;
    bottom: auto !important;
    transform: none !important;
    font-size: 98px !important;
    line-height: 1 !important;
    font-weight: 900 !important;
    letter-spacing: -2px !important;
    color: rgba(4, 14, 86, 0.045) !important;
    opacity: 1 !important;
    z-index: -1 !important;
    white-space: nowrap !important;
    pointer-events: none !important;
    background: none !important;
}
body .epgep-stc-section-heading p {
    text-align: left !important;
    margin-top: 22px !important;
    max-width: none !important;
    width: 100% !important;
}
@media (max-width: 767px) {
    body .epgep-stc-section-heading {
        margin-top: 60px !important;
    }
    body .epgep-stc-section-heading h2 {
        font-size: 44px !important;
    }
    body .epgep-stc-section-heading h2::before {
        font-size: 72px !important;
        top: -28px !important;
        left: -10px !important;
    }
}

/* 4) TANÚSÍTVÁNYOK blokk: a halványabb kék központi téglalapot (rgba fehér overlay a
.epgep-cert-stage::before-on, ami #040e56 fölött #0c165a-t ad) eltávolítjuk,
így a háttér homogén #040e56. A halvány TANÚSÍTVÁNYOK feliratot érintetlenül hagyjuk. */
body .epgep-cert-section {
    background: #040e56 !important;
    background-image: none !important;
}
body .epgep-cert-stage,
body .epgep-cert-stage-inner {
    background: transparent !important;
    background-image: none !important;
}
body .epgep-cert-stage::before,
body .epgep-cert-stage::after,
body .epgep-cert-stage-inner::before,
body .epgep-cert-stage-inner::after {
    content: none !important;
    display: none !important;
    background: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
}


/* 2026-07-03 egységes menü + lábléc jelölők véglegesítése */
.first-footer .widget_nav_menu ul.menu,
.first-footer .widget_nav_menu ul.menu li,
.first-footer .widget_recent_entries ul,
.first-footer .widget_recent_entries li {
    list-style: none !important;
    list-style-type: none !important;
    list-style-image: none !important;
}
.first-footer .widget_nav_menu ul.menu li,
.first-footer .widget_recent_entries li {
    position: relative !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
    background: transparent !important;
}
.first-footer .widget_nav_menu ul.menu li::before,
.first-footer .widget_recent_entries li::before {
    content: ">" !important;
    display: inline-block !important;
    width: auto !important;
    min-width: 0 !important;
    height: auto !important;
    line-height: inherit !important;
    margin: 0 8px 0 0 !important;
    padding: 0 !important;
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    font-family: inherit !important;
    color: inherit !important;
    text-align: left !important;
    vertical-align: baseline !important;
}
.first-footer .widget_nav_menu ul.menu li::after,
.first-footer .widget_recent_entries li::after,
.first-footer .widget_nav_menu ul.menu li a::before,
.first-footer .widget_nav_menu ul.menu li a::after,
.first-footer .widget_recent_entries li a::before,
.first-footer .widget_recent_entries li a::after {
    content: none !important;
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    background: none !important;
    border: 0 !important;
    box-shadow: none !important;
}
.first-footer .widget_nav_menu ul.menu li a,
.first-footer .widget_nav_menu ul.menu li a:hover,
.first-footer .widget_nav_menu ul.menu li.current-menu-item > a,
.first-footer .widget_nav_menu ul.menu li.current-menu-item > a:hover {
    text-decoration: none !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
    background-image: none !important;
    background: transparent !important;
}


/* 2026-07-03 végső fix: a Tanúsítványok blokk mögötti világosabb téglalap teljes eltüntetése */
body .epgep-cert-section,
body .epgep-cert-stage,
body .epgep-cert-stage-inner,
body .epgep-cert-empty,
body .epgep-cert-gap,
body .epgep-cert-intro,
body .epgep-cert-projects {
    background: #040e56 !important;
    background-color: #040e56 !important;
    background-image: none !important;
    box-shadow: none !important;
}
body .epgep-cert-stage::before,
body .epgep-cert-stage::after,
body .epgep-cert-stage-inner::before,
body .epgep-cert-stage-inner::after,
body .epgep-cert-intro::before,
body .epgep-cert-intro::after {
    content: none !important;
    display: none !important;
    background: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
}
body .epgep-cert-intro .title_a,
body .epgep-cert-intro .title_a span {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
}


/* ============ REFERENCIÁK ALoldal ============ */
body .epgep-refs-page {
    background: #ffffff;
}
body .epgep-projects-top-title-row,
body .epgep-projects-final-row {
    margin-bottom: 0 !important;
}
body .epgep-projects-final-row {
    padding-bottom: 60px !important;
}
body #referenciak .wpb_wrapper > .wd_empty_space:first-child {
    height: 205px !important;
}
body .epgep-ref-archive {
    background: #ffffff;
    padding: 90px 0 120px;
}
body .epgep-projects-final-row {
    padding-bottom: 60px !important;
}
body #referenciak .wpb_wrapper > .wd_empty_space:first-child {
    height: 205px !important;
}
body .epgep-ref-archive {
    background: #ffffff;
    padding: 90px 0 120px;
}
body .epgep-ref-inner {
    width: min(1320px, calc(100% - 48px));
    margin: 0 auto;
}
body .epgep-ref-intro {
    margin-bottom: 42px;
}
body .epgep-ref-intro .wd-heading {
    margin-bottom: 0 !important;
}
body .epgep-ref-intro .title_a {
    margin: 0 !important;
}
body .epgep-ref-intro .sub_title_a {
    display: none !important;
}
body .epgep-ref-feature-grid {
    display: grid;
    grid-template-columns: 1.04fr 0.96fr 0.96fr;
    gap: 26px;
    margin-bottom: 150px;
    align-items: stretch;
}
body .epgep-ref-feature-card {
    background: #fff;
    border: none;
    box-shadow: 0 14px 40px rgba(4, 14, 86, 0.08);
    min-height: 278px;
    overflow: hidden;
    transition:
        transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1),
        box-shadow 0.45s ease;
}
body .epgep-ref-feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 58px rgba(4, 14, 86, 0.12);
}
body .epgep-ref-feature-card--image {
    position: relative;
}
body .epgep-ref-feature-card--image img {
    width: 100%;
    height: 100%;
    min-height: 278px;
    object-fit: cover;
    display: block;
    transition: transform 0.75s cubic-bezier(0.22, 0.61, 0.36, 1);
}
body .epgep-ref-feature-card--image:hover img {
    transform: scale(1.04);
}
body .epgep-ref-feature-card--stat {
    padding: 34px 30px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
body .epgep-ref-stat-icon {
    width: 56px;
    height: 56px;
    background: transparent;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    margin-bottom: 22px;
}
body .epgep-ref-stat-icon img {
    width: 56px;
    height: 56px;
    object-fit: contain;
}
body .epgep-ref-feature-number {
    display: block;
    color: #040e56;
    font-family: "Inter", "Open Sans", Arial, sans-serif;
    font-size: 68px;
    line-height: 0.95;
    font-weight: 900;
    letter-spacing: -2px;
    margin-bottom: 16px;
}
body .epgep-ref-feature-text {
    display: block;
    color: #040e56;
    font-size: 24px;
    line-height: 1.28;
    font-weight: 700;
    font-family: "Open Sans", Arial, sans-serif;
}
body .epgep-years-stack {
    display: grid;
    gap: 22px;
}
body .epgep-year-card {
    display: grid;
    grid-template-columns: 190px 1fr;
    background: #fff;
    border: none;
    box-shadow: 0 14px 40px rgba(4, 14, 86, 0.08);
    overflow: hidden;
    transition:
        transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1),
        box-shadow 0.45s ease;
}
body .epgep-year-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 24px 58px rgba(4, 14, 86, 0.12);
}
body .epgep-year-aside {
    background: #040e56;
    color: #fff;
    padding: 30px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
}
body .epgep-year-aside:after {
    content: none;
}
body .epgep-year-label {
    display: block;
    font-family: "Inter", "Open Sans", Arial, sans-serif;
    font-size: 34px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: -1px;
    margin-bottom: 11px;
}
body .epgep-year-count {
    display: block;
    color: #7dbdff;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}
body .epgep-year-list-wrap {
    padding: 30px 34px 26px;
}
body .epgep-year-list {
    margin: 0;
    padding: 0;
    list-style: none;
    columns: 2;
    column-gap: 42px;
}
body .epgep-year-list li {
    break-inside: avoid;
    position: relative;
    margin: 0 0 12px;
    padding-left: 0;
    color: #29324a;
    font-size: 15px;
    line-height: 1.58;
}
body .epgep-year-list li:before {
    content: none;
}
body .epgep-motion {
    opacity: 0;
    transform: translateY(34px);
    transition:
        opacity 0.75s ease,
        transform 0.75s cubic-bezier(0.22, 0.61, 0.36, 1);
}
body .epgep-motion.epgep-inview {
    opacity: 1;
    transform: translateY(0);
}
@media (max-width: 1024px) {
    body .epgep-ref-feature-grid {
        grid-template-columns: 1fr;
        margin-bottom: 120px;
    }
    body .epgep-year-card {
        grid-template-columns: 150px 1fr;
    }
    body .epgep-year-list {
        columns: 1;
    }
}
@media (max-width: 767px) {
    body #referenciak .wpb_wrapper > .wd_empty_space:first-child {
        height: 170px !important;
    }
    body .epgep-ref-archive {
        padding: 60px 0 80px;
    }
    body .epgep-projects-final-row {
        padding-bottom: 40px !important;
    }
    body .epgep-ref-inner {
        width: min(100% - 32px, 1320px);
    }
    body .epgep-ref-feature-card,
    body .epgep-ref-feature-card--image img {
        min-height: 220px;
    }
    body .epgep-ref-feature-card--stat {
        padding: 26px 24px;
    }
    body .epgep-ref-feature-number {
        font-size: 54px;
    }
    body .epgep-ref-feature-text {
        font-size: 22px;
    }
    body .epgep-year-card {
        grid-template-columns: 1fr;
    }
    body .epgep-year-aside {
        padding: 24px 24px 22px;
    }
    body .epgep-year-aside:after {
        content: none;
    }
    body .epgep-year-list-wrap {
        padding: 26px 24px 20px;
    }
}

/* 2026-07-13: Referenciák oldal - Korábbi munkáink cím + partnerlogók a sötétkék blokkban */
body .epgep-refs-hero-title {
    color: #ffffff !important;
}
body .epgep-refs-hero-title span {
    color: #ffffff !important;
}

body #referenciak .wd-heading {
    width: min(1320px, calc(100% - 48px));
    margin: 0 auto !important;
}
body .epgep-refs-hero-title {
    margin: 0 !important;
    text-align: left !important;
}
@media (max-width: 767px) {
    body #referenciak .wd-heading {
        width: min(100% - 32px, 1320px);
    }
}
/* A 3 kártya (kép + 20+ + 190+) középre igazítva a sötétkék blokkon belül */
body .epgep-refs-hero-inner {
    width: min(1320px, calc(100% - 48px));
    margin: 0 auto;
}
body .epgep-ref-feature-grid--hero {
    display: grid;
    grid-template-columns: 1.04fr 0.96fr 0.96fr;
    gap: 26px;
    margin-bottom: 0;
    align-items: stretch;
}
/* Logósáv a sötétkék blokkban - a képernyő szélétől szélig fusson, mint a főoldalon */
body .epgep-refs-logo-band {
    background: transparent !important;
    height: auto !important;
    min-height: 0 !important;
    position: relative;
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    margin-top: 12px !important;
    margin-bottom: 40px !important;
    padding: 30px 0 !important;
}
body .epgep-refs-logo-band::before,
body .epgep-refs-logo-band::after {
    display: none !important;
}
body .epgep-refs-logo-band .epgep-home-logo-band__viewport {
    transform: none !important;
    width: 100% !important;
    max-width: 100vw !important;
    padding: 0 !important;
    overflow: hidden;
}
@media (max-width: 1024px) {
    body .epgep-refs-logo-band {
        margin-top: 24px !important;
        margin-bottom: 32px !important;
        padding: 24px 0 !important;
    }
}
@media (max-width: 767px) {
    body .epgep-refs-logo-band {
        margin-top: 20px !important;
        margin-bottom: 24px !important;
        padding: 20px 0 !important;
    }
}
@media (max-width: 1024px) {
    body .epgep-ref-feature-grid--hero {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 767px) {
    body .epgep-refs-hero-inner {
        width: min(100% - 32px, 1320px);
    }
}
/* 2026-07-13 – Referenciák: a főcím és a három kártya közötti térköz végleges beállítása */
body #referenciak .wd-heading + .wd_empty_space {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}
body .epgep-refs-hero-title {
    left: 0 !important;
}
body .epgep-refs-hero-inner {
    margin-top: 54px !important;
}
@media (max-width: 1024px) {
    body .epgep-refs-hero-inner {
        margin-top: 42px !important;
    }
}
@media (max-width: 767px) {
    body .epgep-refs-hero-inner {
        margin-top: 30px !important;
    }
}