.wheug {
    box-sizing: border-box;
    margin: 18px 0;
    width: 100%;
}

.wheug__image-button {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    text-align: left !important;
    cursor: zoom-in;
    appearance: none;
    -webkit-appearance: none;
}

.wheug__image {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
    background: #fff;
}

.wheug__image--large {
    max-width: 100%;
}

.wheug__info-link-wrap,
.wheug-modal__info-link-wrap {
    margin: 10px 0 0;
    line-height: 1.4;
}

.wheug__info-link {
    text-decoration: underline;
}

.wheug-modal[hidden] {
    display: none !important;
}

.wheug-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: grid;
    place-items: center;
    padding: 24px;
}

.wheug-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .58);
}

.wheug-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(900px, 100%);
    max-height: calc(100vh - 48px);
    overflow: auto;
    padding: 22px;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 48px rgba(0, 0, 0, .28);
}

.wheug-modal__close {
    position: sticky;
    top: 0;
    float: right;
    z-index: 2;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    width: 36px !important;
    min-width: 36px !important;
    max-width: 36px !important;
    height: 36px !important;
    min-height: 36px !important;
    max-height: 36px !important;
    margin: -10px -10px 8px 8px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #fff !important;
    color: #111 !important;
    font-family: Arial, sans-serif !important;
    font-size: 28px !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    text-align: center !important;
    cursor: pointer;
    box-shadow: 0 1px 6px rgba(0, 0, 0, .18);
    appearance: none;
    -webkit-appearance: none;
}

body.wheug-modal-open {
    overflow: hidden;
}

@media (max-width: 480px) {
    .wheug-modal {
        padding: 10px;
    }

    .wheug-modal__dialog {
        max-height: calc(100vh - 20px);
        padding: 14px;
    }
}

