/* NT 2026-09-29 pklawfirm.sk: footer HFE 5152 (plan 2026-09-29, items 8, 9, 12), layout like the footer of stand 8083.
   Elements and texts live in Elementor (5152); this file only sets what Elementor can not. Rollback: delete this file. */

/* item 8: "Telefón 24/7" number big and bold (8083: 1.5em / 700) */
.elementor-5152 .elementor-element-f72e3e2 a {
    font-size: 1.5em;
    font-weight: 700;
    white-space: nowrap;
}

/* ovals WhatsApp / e-mail / phone (b3d91a5, e2c6b33): stay one row, no wrap */
.elementor-5152 .nt-foval .elementor-social-icons-wrapper {
    display: inline-flex;
    flex-wrap: nowrap;
}

/* item 9: 4 columns (logo | links | services | contacts), breakpoints as on 8083 */
.elementor-5152 .nt-fcol-contacts a.nt-fphone {
    color: #166574 !important;
    font-size: 22px;
    font-weight: 700;
    white-space: nowrap;
}
.elementor-5152 .nt-fcol-contacts a.nt-fphone:hover {
    color: #0f4c57 !important;
}
.elementor-5152 .nt-fcol-links .constructum-custom-menu-widget li,
.elementor-5152 .nt-fcol-services .constructum-custom-menu-widget li {
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
}
/* services: exactly 6 per column in 3 columns (grid instead of column-count, which balances by height) */
.elementor-5152 .nt-fcol-services .constructum-custom-menu-widget ul {
    -webkit-column-count: auto !important;
    column-count: auto !important;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: repeat(6, auto);
    grid-auto-flow: column;
    column-gap: 20px;
}
.elementor-5152 .nt-fcol-services .constructum-custom-menu-widget li {
    line-height: 1.4;
    padding: 4px 0;
}
.elementor-5152 .nt-fcol-logo img {
    max-width: 100%;
}
@media (min-width: 1280px) {
    .elementor-5152 .e-con.nt-fgrid {
        --e-con-grid-template-columns: minmax(200px, 1fr) auto minmax(0, 600px) auto !important;
    }
    .elementor-5152 .e-con.nt-fcol-logo {
        --padding-right: 0px !important;
    }
}
@media (min-width: 768px) and (max-width: 1279px) {
    .elementor-5152 .e-con.nt-fgrid {
        --e-con-grid-template-columns: minmax(0, 1fr) auto auto !important;
    }
    .elementor-5152 .nt-fgrid > .nt-fcol-logo { grid-column: 1; grid-row: 1; }
    .elementor-5152 .nt-fgrid > .nt-fcol-links { grid-column: 2; grid-row: 1; }
    .elementor-5152 .nt-fgrid > .nt-fcol-contacts { grid-column: 3; grid-row: 1; }
    .elementor-5152 .nt-fgrid > .nt-fcol-services { grid-column: 1 / -1; grid-row: 2; }
}
@media (min-width: 576px) and (max-width: 767px) {
    .elementor-5152 .nt-fgrid > .nt-fcol-logo { grid-column: 1 / -1; grid-row: 1; }
    .elementor-5152 .nt-fgrid > .nt-fcol-links { grid-column: 1; grid-row: 2; }
    .elementor-5152 .nt-fgrid > .nt-fcol-contacts { grid-column: 2; grid-row: 2; }
    .elementor-5152 .nt-fgrid > .nt-fcol-services { grid-column: 1 / -1; grid-row: 3; }
}
@media (max-width: 767px) {
    .elementor-5152 .nt-fcol-services .constructum-custom-menu-widget ul {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: repeat(9, auto);
    }
}

/* item 12: PK sign (f1a8c25) instead of the strips icon, decorative */
.elementor-5152 .elementor-element-f1a8c25 {
    pointer-events: none;
}
.elementor-5152 .elementor-element-f1a8c25 img {
    display: block;
}

/* /kontakt/ (page 10249): the footer form card is hidden there by a rule in "Additional CSS" and the right part 581c4d7 is 100% wide;
   keep the contact block compact and aligned with the grid below instead of a 44% / 56% split across the whole width */
.page-id-10249 .elementor-5152 .elementor-element-581c4d7 {
    --padding-left: 0px !important;
}
@media (min-width: 992px) {
    .page-id-10249 .elementor-5152 .elementor-element-590ad84,
    .page-id-10249 .elementor-5152 .elementor-element-1e5629b {
        max-width: 760px;
    }
}
