
/* ADB Careers - image cards */

.adb-careers-tile {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 340px;
    width: 100%;
    margin-bottom: 24px;
    padding: 30px;
    background: #26323e;
    color: #fff;
    text-align: center;
}

.adb-careers-tile__photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    transition: transform 0.4s ease;
}

.adb-careers-tile::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.57);
    z-index: -1;
}

.adb-careers-tile:hover .adb-careers-tile__photo {
    transform: scale(1.05);
}

.adb-careers-tile__content {
    position: relative;
    width: 100%;
    z-index: 1;
}

.adb-careers-tile__title {
    color: #fff !important;
    font-size: 25px;
    font-weight: 600;
    line-height: 1.25;
    margin: 0 0 20px;
}

.adb-careers-tile__description {
    color: #fff !important;
    font-size: 20px;
    line-height: 1.45;
    margin: 0;
}


/* Current Vacancies */

.adb-careers-vacancies {
    width: 100%;
    margin: 25px auto 50px;
}

.adb-careers-vacancy {
    display: grid;
    grid-template-columns: 160px minmax(0, 1fr);
    align-items: center;
    gap: 25px;
    padding: 24px;
    margin-bottom: 20px;
    background: #fff;
    border: 1px solid #e5e7eb;
}

.adb-careers-vacancy--no-image {
    grid-template-columns: 1fr;
}

.adb-careers-vacancy__image img {
    width: 100%;
    height: 130px;
    object-fit: cover;
}

.adb-careers-vacancy__body h3 {
    font-size: 22px;
    line-height: 1.3;
    margin: 0 0 12px;
}

.adb-careers-vacancy__body h3 a {
    color: #222;
    text-decoration: none;
}

.adb-careers-vacancy__body p {
    margin: 0 0 15px;
    color: #555;
    font-size: 16px;
    line-height: 1.6;
}

.adb-careers-vacancy__link {
    font-weight: 600;
    text-decoration: none;
}

.adb-careers-vacancy__body a:hover {
    text-decoration: underline;
}


/* Mobile */

@media (max-width: 767px) {
    .adb-careers-tile {
        min-height: 320px;
        padding: 25px;
    }

    .adb-careers-tile__title {
        font-size: 23px;
    }

    .adb-careers-tile__description {
        font-size: 17px;
    }

    .adb-careers-vacancy {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 18px;
    }

    .adb-careers-vacancy__image img {
        height: 190px;
    }

    .adb-careers-vacancy__body h3 {
        font-size: 20px;
    }
}
