/* Prevent subpixel seams between service images and their gradient overlays. */
.services-card__media {
    overflow: visible;
}

.services-card__media::before {
    inset: -1px;
}

/* Mobile: navigation directly below the standards heading. */
@media (max-width: 760px) {
    .section .firma-values__main { display: flex; flex-direction: column; }
    .section .firma-values__main > .firma-values__heading { order: 0; }
    .section .firma-values__main > .firma-values__links { order: 1; margin-top: 0; margin-bottom: 28px; }
    .section .firma-values__main > .firma-values__grid { order: 2; }
}

/* Desktop: green outer frames on the two service cards. */
@media (min-width: 761px) {
    .page-id-1832 .services-cards #usluga-1,
    .page-id-1832 .services-cards #usluga-2 { border: 5px solid #196044; }
    .page-id-1832 .services-cards #usluga-1::after,
    .page-id-1832 .services-cards #usluga-2::after { display: none; }
}

/* Desktop: subtle company support card borders. */
@media (min-width: 761px) {
    .page-id-1831 .firma-support .firma-support-card { border: 1px solid #78a18d; }
}

/* Desktop: outer frames around the two main contact panels. */
@media (min-width: 761px) {
    .page-id-1833 .contact-company__panel,
    .page-id-1833 .contact-operational__panel { border: 5px solid #196044; }
}
