.company-contacts {
    /*position: relative;
    z-index: 0;
    width: 100%;
    isolation: isolate;*/
    background: #f1f4ed;
    box-shadow: 0 0 0 100vmax #f1f4ed;
    clip-path: inset(0 -100vmax);    
}
/*
.company-contacts::before {
    position: absolute;
    z-index: -1;
    top: 0;
    bottom: 0;
    left: calc(50% - 50vw);
    width: 100vw;
    background: #f2f8eb;
    content: "";
}
*/
.company-contacts-layout {
    display: grid;
    align-items: stretch;
    min-width: 0;
}

.company-contacts-layout-with-map {
    grid-template-columns: minmax(280px, 40%) minmax(0, 60%);
}

.company-contacts-layout-without-map {
    grid-template-columns: minmax(0, 1fr);
}

.company-contacts-details {
    min-width: 0;
    padding: 30px 32px 20px 0;
}

.company-contacts-kicker {
    margin-bottom: 22px;
    color: #005521;
    font-size: clamp(0.8rem, 1.15vw, 1rem);
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.company-contacts-details h2 {
    margin-bottom: 14px;
    color: #073f27;
    font-family: var(--site-header-font-family);
    font-size: clamp(var(--site-header-font-size-end), 4vw, var(--site-header-font-size-start));
    font-weight: 400;
    line-height: 1;
}

.company-contacts-intro {
    margin: 16px 0 34px;
    color: #838f7f;
    font-size: 15px;
}

.company-contacts-items {
    display: flex;
    flex-direction: column;
    font-size: var(--site-base-font-size);
}

.company-contacts-item {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    gap: 14px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(131, 143, 127, .25);
}

.company-contacts-item-icon {
    padding-top: 3px;
    color: #005521;
    font-size: 16px;
}

.company-contacts-item-content {
    min-width: 0;
}

.company-contacts-item-content h3,
.company-contacts-working-hours h3 {
    margin: 0 0 10px;
    color: #838f7f;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.1px;
    text-transform: uppercase;
}

.company-contacts-item-value {
    color: #26382b;
    font-weight: 700;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.company-contacts-item-value a {
    color: inherit;
    text-decoration: none;
}

.company-contacts-item-value a:hover,
.company-contacts-item-value a:focus {
    color: #005521;
    text-decoration: underline;
}

.company-contacts-working-hours {
    margin-top: 20px;
    padding: 22px 20px;
    border-radius: 10px;
    background: #dbebd4;
}

.company-contacts-leadership-row {
    display: flex;
    align-items: baseline;
    gap: 5px;
    flex-direction: column;
    font-weight: bolder;
}

.company-contacts-leadership-row span {
    font-weight: normal;
}

.company-contacts-schedule {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.company-contacts-schedule-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    color: #838f7f;
    font-size: 13px;
}

.company-contacts-schedule-row strong {
    flex: 0 0 auto;
    color: #838f7f;
    font-size: 13px;
}

.company-contacts-map {
    display: flex;
    align-items: center;
    justify-content: center;
    /*min-width: 0;
    min-height: 520px;*/
    overflow: hidden;
    background: #f1f4ed;
}

.company-contacts-map-nobg {
    background: transparent;
}

.company-contacts-map > * {
    flex: 1 1 auto;
    min-width: 0;
}

.company-contacts-map iframe,
.company-contacts-map object,
.company-contacts-map embed {
    display: block;
    width: 100%;
    min-height: 520px;
    border: 0;
}

.company-contacts-modal {
    position: fixed;
    z-index: 1000;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.company-contacts-modal[hidden] {
    display: none;
}

.company-contacts-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 40, 16, .62);
}

.company-contacts-modal-dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 560px);
    max-height: calc(100vh - 48px);
    overflow: auto;
    background: #ffffff;
    box-shadow: 0 12px 35px rgba(0, 40, 16, .28);
    border-radius: 10px;
}

.company-contacts-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    border-bottom: 1px solid #dbe5d8;
}

.company-contacts-modal-header h2 {
    margin: 0;
    color: #064b0e;
    font-size: 24px;
}

.company-contacts-modal-close {
    padding: 0;
    border: 0;
    background: transparent;
    color: #005521;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.company-contacts-modal-body {
    padding: 24px;
}

.company-contacts-feedback-message {
    margin-bottom: 16px;
}

.company-contacts-feedback-message:empty {
    display: none;
}

.company-contacts-feedback-message-success,
.company-contacts-feedback-message-error {
    padding: 12px 14px;
}

.company-contacts-feedback-message-success {
    background: #dbebd4;
    color: #005521;
}

.company-contacts-feedback-message-error {
    background: #f8dddd;
    color: #8b1e1e;
}

.company-contacts-feedback-field {
    margin-bottom: 18px;
}

.company-contacts-feedback-field label,
.company-contacts-feedback-captcha-label {
    display: block;
    margin-bottom: 7px;
    color: #064b0e;
    font-size: 14px;
    font-weight: 700;
}

.company-contacts-feedback-field input,
.company-contacts-feedback-field textarea {
    display: block;
    box-sizing: border-box;
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #b8c8b4;
    background: #ffffff;
    color: #26382b;
    font: inherit;
}

.company-contacts-feedback-field textarea {
    min-height: 130px;
    resize: vertical;
}

.company-contacts-feedback-captcha-visual {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 130px;
    height: 60px;
    margin-right: 8px;
    vertical-align: middle;
    background: #f2f8eb;
}

.company-contacts-feedback-captcha-visual img {
    display: block;
    width: 130px;
    height: 60px;
}

.company-contacts-feedback-captcha-visual.is-loading img {
    filter: blur(3px);
}

.company-contacts-feedback-captcha-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    margin-top: -12px;
    margin-left: -12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .8);
    color: #005521;
}

.company-contacts-feedback-captcha-spinner[hidden] {
    display: none;
}

.company-contacts-captcha-refresh {
    margin-right: 8px;
    padding: 8px;
    border: 0;
    background: transparent;
    color: #005521;
    cursor: pointer;
    vertical-align: middle;
}

.company-contacts-captcha-refresh:disabled {
    cursor: wait;
    opacity: .55;
}

.company-contacts-feedback-captcha input[name="captcha"] {
    display: inline-block;
    width: 130px;
    vertical-align: middle;
}

@media (max-width: 1023px) {
    .company-contacts-layout-with-map {
        grid-template-columns: minmax(0, 1fr);
    }

    .company-contacts-details {
        padding-right: 0;
    }

    .company-contacts-map {
        min-height: 420px;
        margin-bottom: 20px;
    }

    .company-contacts-map iframe,
    .company-contacts-map object,
    .company-contacts-map embed {
        min-height: 420px;
    }
}

@media (max-width: 560px) {
    .company-contacts-details {
        padding-block: 28px;
    }

    .company-contacts-schedule-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 2px;
    }

    .company-contacts-modal {
        padding: 12px;
    }

    .company-contacts-modal-dialog {
        max-height: calc(100vh - 24px);
    }

    .company-contacts-modal-header,
    .company-contacts-modal-body {
        padding: 18px;
    }

    .company-contacts-feedback-captcha-visual,
    .company-contacts-feedback-captcha-visual img {
        width: 116px;
    }

    .company-contacts-feedback-captcha-visual,
    .company-contacts-feedback-captcha-visual img {
        height: 54px;
    }

    .company-contacts-feedback-captcha input[name="captcha"] {
        width: 116px;
    }
}
