/*
 * Mailchimp subscribe embed (embed/mailchimp_subscribe).
 * Tones follow the dark Ammo.com theme but stay usable on light themes:
 * text inherits, surfaces use alpha, accents are overridable via custom properties.
 */
.mc-embed-form {
    --mc-accent: #ca9d24;
    --mc-accent-hover: #b58a1d;
    --mc-radius: 4px;
    box-sizing: border-box;
    margin: 0 auto;
    max-width: 520px;
    font-size: 16px;
    line-height: 1.5;
    text-align: left;
}

.mc-embed-form *,
.mc-embed-form *::before,
.mc-embed-form *::after {
    box-sizing: inherit;
}

.mc-embed-form__form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
}

.mc-embed-form__label {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.mc-embed-form__input {
    flex: 1 1 240px;
    min-width: 0;
    height: 48px;
    padding: 0 14px;
    font: inherit;
    color: inherit;
    background-color: rgba(128, 128, 128, 0.12);
    border: 1px solid rgba(128, 128, 128, 0.45);
    border-radius: var(--mc-radius);
    -webkit-appearance: none;
    appearance: none;
}

.mc-embed-form__input::placeholder {
    color: inherit;
    opacity: 0.55;
}

.mc-embed-form__input:focus {
    outline: none;
    border-color: var(--mc-accent);
    box-shadow: 0 0 0 2px rgba(202, 157, 36, 0.35);
}

.mc-embed-form__button {
    flex: 0 0 auto;
    height: 48px;
    padding: 0 28px;
    font: inherit;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1.25px;
    text-transform: uppercase;
    color: #fff;
    background-color: var(--mc-accent);
    border: 0;
    border-radius: var(--mc-radius);
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;
}

.mc-embed-form__button:hover,
.mc-embed-form__button:focus {
    background-color: var(--mc-accent-hover);
}

.mc-embed-form__response {
    flex: 1 1 100%;
    margin: 0;
    font-size: 15px;
}

.mc-embed-form__response:empty {
    display: none;
}

.mc-embed-form__response--success {
    color: #4caf50;
}

.mc-embed-form__response--error {
    color: #e85a4d;
}

@media (max-width: 480px) {
    .mc-embed-form__input,
    .mc-embed-form__button {
        flex-basis: 100%;
    }
}
