/* Navigačné menu pre Firmy */
.company-navigation {
    background-color: #000000 !important;
    color: #fff;
    font-family: 'Fedra Sans Alt Pro', sans-serif;
    font-size: 1.25rem;
    font-weight: 300;
    align-items: stretch;
    padding-left: 6.75rem;
    padding-right: 6.75rem;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    overflow: hidden;
}

h2 {
    color: white;
}

.company-menu {
    display: flex; /* Zmenené z inline-flex na flex pre lepšiu kontrolu */
    gap: 1rem;
    align-items: stretch;
    font-family: 'Fedra Sans Alt Pro', sans-serif;
    margin-bottom: 4.5rem;
    font-weight: 300;
    overflow-x: auto;
    padding-bottom: 0.625rem;
    scroll-behavior: smooth; /* Hladké posúvanie */
    -webkit-overflow-scrolling: touch; /* Hladké posúvanie na iOS */
}

.company-menu-item {
    padding: 0 0.5rem 0.5rem 0.5rem; /* Zjednotené paddingy */
    font-size: 1.5rem;
    font-family: 'Fedra Sans Alt Pro', sans-serif;
    font-weight: 300;
    color: #989898;
    white-space: nowrap;
    flex: 0 0 auto; /* Zabezpečí, že položky nezmenšujú svoju šírku */
    cursor: pointer;
}

.company-menu-item.active {
    color: #fff;
    font-weight: 300;
    font-size: 1.5rem;
    border-bottom: 0.1rem solid #fff;
}

.company-menu-item:hover {
    border-bottom: 0.1rem solid #989898;
    cursor: pointer;
}

/* Detaily firmy */
.company-details {
    display: flex;
    align-items: stretch;
    flex-direction: column;
    width: 100%;
}

.company-link-wrapper {
    font-size: 1.5rem;
    font-family: 'Fedra Sans Alt Pro', sans-serif !important;
    color: #989898 !important;
    font-weight: 300;
}

.company-details-inner {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    max-width: 106.5rem;
}

.company-details-left {
    display: flex;
    width: 47.3125rem;
    height: 34rem;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
}

.company-details-left h2 {
    font-size: 5rem;
    font-family: 'Fedra Sans Alt Pro', sans-serif;
    font-weight: 500;
    margin: 0 0 0.5rem;
    line-height: 6.25rem;
}

.company-subtitle {
    font-size: 1.5rem;
    display: flex;
    flex-wrap: nowrap;
    line-height: 2.125rem;
    color: #fff;
    font-weight: 300;
    gap: 1.5rem;
    justify-content: flex-start;
}

.company-subtitle.plain-text {
    display: block;
}

.subtitle-block {
    display: flex;
    align-items: center;
}

.subtitle-number {
    font-family: 'Fedra Sans Alt Pro', sans-serif !important;
    font-size: 3rem !important;
    font-weight: 300 !important;
    color: #fff !important;
}

.subtitle-text {
    font-family: 'Fedra Sans Alt Pro', sans-serif !important;
    font-size: 1.5rem !important;
    font-weight: 300 !important;
    color: #fff !important;
    line-height: 2.125rem !important;
    margin-top: 1rem;
    margin-left: 0.5rem !important;
}

/* Klikateľný odkaz */
.company-link {
    color: #989898 !important;
    font-size: 1.5rem !important;
    font-family: 'Fedra Sans Alt Pro', sans-serif !important;
    font-weight: 300;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
}

.company-link a {
    color: #989898 !important;
    font-size: 1.5rem !important;
    font-family: 'Fedra Sans Alt Pro', sans-serif !important;
    font-weight: 300;
    text-decoration: none;
}

.company-link a:visited {
    color: #989898 !important;
}

.company-link a:hover {
    color: #fff !important;
    text-decoration: underline !important;
}

.company-link-wrapper a {
    font-size: 1.5rem !important;
    font-weight: 300;
    font-family: 'Fedra Sans Alt Pro', sans-serif !important;
    color: #989898 !important;
    text-decoration: underline !important;
    text-underline-offset: 2px;
}

.company-link-wrapper a u {
    font-size: 1.5rem !important;
    font-weight: 300;
    font-family: 'Fedra Sans Alt Pro', sans-serif !important;
    color: #989898 !important;
    text-underline-offset: 2px;
    text-decoration: underline !important;
}

.company-link a u {
    text-decoration: underline !important;
    font-size: 1.5rem !important;
    font-weight: 300;
    color: #989898 !important;
    font-family: 'Fedra Sans Alt Pro', sans-serif !important;
    text-underline-offset: 2px;
}

.company-link a:active {
    color: #989898 !important;
}

/* Detaily firmy */
.company-details-rows {
    display: flex;
    align-items: flex城乡
    align-content: flex-start;
    gap: calc(1.5rem - 0.0625rem);
    flex-wrap: wrap;
}

.detail-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    width: 100%;
    align-items: flex-end;
    margin-bottom: 1.5rem;
}

.detail-row:last-child {
    margin-bottom: 0;
}

.detail-field {
    border-left: 0.1rem solid #fff;
    padding-left: 1rem;
    flex: 0 0 calc(33.33% - 05070.833125rem);
    box-sizing: border-box;
}

.detail-top {
    font-size: 1rem !important;
    font-family: 'Fedra Sans Alt Pro', sans-serif !important;
    color: #fff !important;
    text-transform: none !important;
    font-weight: 300 !important;
}

.detail-middle {
    font-size: 2.5rem !important;
    font-family: 'Georgia Pro', serif !important;
    font-weight: 400 !important;
    color: #fff !important;
}

.detail-bottom {
    color: #fff !important;
    font-weight: 300 !important;
    font-size: 1rem !important;
    font-family: 'Fedra Sans Alt Pro', sans-serif !important;
}

/* Pravý blok detaily */
.company-details-right {
    display: flex;
    width: 52.5rem;
    justify-content: flex-end;
    flex-direction: column;
    text-align: right;
    box-sizing: border-box;
}

.company-details-right img {
    max-width: 100%;
    height: auto;
    margin-bottom: 2rem;
}

/* Media Queries pre responzivitu */
@media (max-width: 820px) {
    .company-details-inner {
        flex-direction: column;
        gap: 1.5rem;
    }
    .company-link-wrapper {
        font-size: 1rem;
        font-family: 'Fedra Sans Alt Pro', sans-serif !important;
        color: #989898 !important;
        font-weight: 300;
    }
    .company-details-right img {
        max-width: 100%;
        height: auto;
        margin-bottom: 1rem;
    }
    .company-link-wrapper a u {
        font-size: 1rem !important;
        font-weight: 300;
        font-family: 'Fedra Sans Alt Pro', sans-serif !important;
        color: #989898 !important;
        text-underline-offset: 2px;
        text-decoration: underline !important;
    }
    .company-navigation {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .company-details-left,
    .company-details-right {
        width: 100%;
        padding-right: 0;
    }
    .company-details-left {
        height: auto;
    }
    .company-details-right {
        text-align: left;
    }
    .detail-field {
        flex: 0 0 calc(50% - 0.625rem);
    }
}

@media (max-width: 820px) {
    .company-menu {
        margin-bottom: 2rem;
        justify-content: flex-start;
    }
    .company-menu-item:hover {
        border-bottom: none;
        cursor: default;
    }
    .company-details-left-bottom {
        display: flex;
        flex-direction: row;
    }
    .detail-row {
        margin-bottom: 0 !important;
    }
    .company-details-left h2 {
        font-size: 3.5rem;
        line-height: 4rem;
    }
    .company-menu-item:hover {
        color: #fff;
        font-weight: 300;
        font-size: 1rem;
        border-bottom: 0.1rem solid #fff;
    }
    .subtitle-number {
        font-size: 1.5rem !important;
    }
    .company-subtitle {
        font-size: 1rem;
        gap: 1rem;
        flex-direction: column;
        line-height: 1.25rem;
        margin-bottom: 2rem;
    }
    .detail-field {
        flex: 0 0 100%;
    }
    .detail-middle {
        font-size: 2rem !important;
    }
    .subtitle-text {
        font-size: 1.3rem !important;
        line-height: 1.8rem !important;
    }
    .company-link a,
    .company-link a u {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .company-menu {
        margin-bottom: 1.5rem;
    }
    .company-details-left h2 {
        font-size: 2.5rem;
        line-height: 2.813rem;
    }
    .company-menu-item,
    .company-menu-item.active {
        font-size: 1rem;
    }
    .detail-top,
    .detail-bottom {
        font-size: 0.9rem !important;
    }
    .detail-middle {
        font-size: 1.5rem !important;
    }
    .subtitle-text {
        font-size: 1.1rem !important;
        line-height: 1.5rem !important;
    }
    .company-link a,
    .company-link a u {
        font-size: 1.1rem;
    }
}