.oe-mag-access,
.oe-mag-access__member-content {
    box-sizing: border-box;
    width: 100%;
}

.oe-mag-access {
    margin: 0;
    padding: 0;
    background: #faf5ea;
    color: #111111;
}

.oe-mag-access *,
.oe-mag-access *::before,
.oe-mag-access *::after {
    box-sizing: border-box;
}

.oe-mag-access__inner {
    max-width: 760px;
    margin: 0 auto;
    padding: 2rem 2rem 2.1rem;
    text-align: left;
}

.oe-mag-access__eyebrow {
    margin: 0 0 0.65rem;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    color: #000080;
}

.oe-mag-access__title {
    max-width: 24ch;
    margin: 0 0 1rem;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(1.55rem, 2.5vw, 1.9rem) !important;
    font-weight: 500 !important;
    line-height: 1.18 !important;
    color: #111111;
}

.oe-mag-access__body,
.oe-mag-access__secondary,
.oe-mag-access__value {
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 1rem;
    line-height: 1.6;
}

.oe-mag-access__body {
    max-width: 60ch;
    margin: 0 0 1.5rem;
}

.oe-mag-access__actions {
    margin: 0 0 1.15rem;
}

.oe-mag-access__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0.72rem 1.4rem;
    border: 1px solid #000080;
    border-radius: 0;
    background: #000080 !important;
    color: #ffffff !important;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none !important;
}

.oe-mag-access__button:hover,
.oe-mag-access__button:focus-visible {
    background: transparent !important;
    color: #000080 !important;
}

.oe-mag-access__secondary {
    margin: 0.4rem 0;
}

.oe-mag-access__secondary a {
    color: #000080;
    font-weight: 600;
    text-underline-offset: 0.16em;
}

.oe-mag-access__value {
    margin: 1.35rem 0 0;
    padding-top: 1rem;
    border-top: 1px solid #d9d6cf;
    font-style: italic;
}

.oe-mag-access__member-content {
    margin: 0;
}

.oe-mag-access__member-content > :first-child {
    margin-top: 0;
}

.oe-mag-access__member-content > :last-child {
    margin-bottom: 0;
}

.oe-mag-access__notice {
    max-width: 760px;
    margin: 1rem auto;
    padding: 0.8rem 1rem;
    border-left: 4px solid #d63638;
    background: #ffffff;
    color: #1d2327;
}

@media (max-width: 600px) {
    .oe-mag-access__inner {
        padding: 1.65rem 1.25rem 1.75rem;
    }

    .oe-mag-access__button {
        width: 100%;
    }
}

html.oe-mag-login-open,
html.oe-mag-login-open body {
    overflow: hidden;
}

.oe-mag-login[hidden] {
    display: none !important;
}

.oe-mag-login {
    position: fixed;
    z-index: 100000;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 1.25rem;
}

.oe-mag-login__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(17, 17, 17, 0.58);
}

.oe-mag-login__dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 520px);
    max-height: calc(100vh - 2.5rem);
    overflow-y: auto;
    border: 1px solid #d9d6cf;
    border-radius: 0;
    background: #faf5ea;
    padding: 2rem;
    color: #111111;
}

.oe-mag-login__close {
    position: absolute;
    top: 0.8rem;
    right: 0.9rem;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #111111;
    font: 400 2rem/1 Inter, system-ui, sans-serif;
    cursor: pointer;
}

.oe-mag-login__close:hover,
.oe-mag-login__close:focus-visible {
    color: #000080;
    outline: 2px solid #000080;
    outline-offset: 2px;
}

.oe-mag-login__title {
    margin: 0 3rem 0.85rem 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.7rem, 4vw, 2.15rem);
    font-weight: 500;
    line-height: 1.2;
}

.oe-mag-login__body,
.oe-mag-login__field,
.oe-mag-login__remember,
.oe-mag-login__forgot,
.oe-mag-login__message {
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 1rem;
    line-height: 1.6;
}

.oe-mag-login__body {
    margin: 0 0 1.4rem;
}

.oe-mag-login__field {
    margin: 0 0 1rem;
}

.oe-mag-login__field label {
    display: block;
    margin: 0 0 0.35rem;
    font-weight: 600;
}

.oe-mag-login__field input {
    width: 100%;
    min-height: 48px;
    padding: 0.65rem 0.75rem;
    border: 2px solid #d9d6cf;
    border-radius: 0;
    background: #faf5ea;
    color: #111111;
    font: 400 1rem/1.4 Inter, system-ui, sans-serif;
}

.oe-mag-login__field input:focus {
    border-color: #000080;
    outline: 1px solid #000080;
    outline-offset: 0;
}

.oe-mag-login__remember {
    margin: 0 0 1rem;
}

.oe-mag-login__remember input {
    margin-right: 0.4rem;
}

.oe-mag-login__message {
    min-height: 0;
    margin: 0 0 0.8rem;
}

.oe-mag-login__message.is-error {
    border-left: 3px solid #b32d2e;
    padding-left: 0.75rem;
    color: #b32d2e;
}

.oe-mag-login__actions {
    margin: 0 0 1rem;
}

.oe-mag-login__actions .oe-mag-access__button[disabled] {
    cursor: wait;
    opacity: 0.7;
}

.oe-mag-login__forgot {
    margin: 0;
}

.oe-mag-login__forgot a {
    color: #000080;
    font-weight: 600;
    text-underline-offset: 0.16em;
}

@media (max-width: 600px) {
    .oe-mag-login {
        padding: 0.75rem;
    }

    .oe-mag-login__dialog {
        max-height: calc(100vh - 1.5rem);
        padding: 1.5rem 1.25rem;
    }
}
