/* On Other Drugs - Job Banner */
.ood-job-banner[hidden] { display: none !important; }

.ood-job-banner {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    animation: oodFadeIn 250ms ease-out;
}

.ood-job-banner__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    cursor: pointer;
}

.ood-job-banner__inner {
    position: relative;
    max-width: 480px;
    width: 100%;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ood-job-banner__link {
    display: block;
    line-height: 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

.ood-job-banner__link img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 90vh;
    object-fit: contain;
}

.ood-job-banner__close {
    position: absolute;
    top: -14px;
    right: -14px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: #fff;
    color: #111;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.ood-job-banner__close:hover {
    background: #f2f2f2;
}

@keyframes oodFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@media (max-width: 600px) {
    .ood-job-banner__inner { max-width: 92vw; }
    .ood-job-banner__close {
        top: 6px;
        right: 6px;
    }
}
