/* Esri – Oferty pracy: karty jak w sekcji #oferty na stronie /kariera/ */

.esri-oferty {
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.esri-oferty .esri-oferta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 36px;
    border: 1px solid #C1C1C1;
    border-radius: 24px;
    background: #fff;
}

.esri-oferty .esri-oferta__info {
    min-width: 0;
}

.esri-oferty .esri-oferta__location {
    margin: 0 0 12px;
    padding: 0;
    color: #333;
}

.esri-oferty .esri-oferta__title {
    margin: 0;
    padding: 0;
    font-size: 28px;
    line-height: 1.25;
    color: #007AC2;
}

.esri-oferty .esri-oferta__title a {
    color: inherit;
    text-decoration: none;
}

.esri-oferty .esri-oferta__title a:hover,
.esri-oferty .esri-oferta__title a:focus-visible {
    text-decoration: underline;
}

.esri-oferty .esri-oferta__action {
    flex-shrink: 0;
}

/* Preset Divi „BUTTON blue 1” */
.esri-oferty .esri-oferta__button {
    display: inline-block;
    padding: 16px 40px;
    border-radius: 50px;
    background-color: #007AC2;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.7em;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color .3s ease, color .3s ease;
}

.esri-oferty .esri-oferta__button:hover,
.esri-oferty .esri-oferta__button:focus-visible {
    background-color: #F6F6F6;
    color: #007AC2;
}

/* Tablet/telefon — breakpoint Divi */
@media (max-width: 980px) {
    .esri-oferty .esri-oferta {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 767px) {
    .esri-oferty .esri-oferta {
        padding: 24px;
    }

    .esri-oferty .esri-oferta__title {
        font-size: 22px;
    }

    .esri-oferty .esri-oferta__button {
        font-size: 14px;
        white-space: normal;
    }
}
