/* ==========================================================================
   Alxmedia Newsletter — standalone form (utanför .alx-startsida)
   ========================================================================== */

.alx-newsletter {
    --alx-rouge: #d4495b;
    --alx-rouge-dark: #8e1f31;
    --alx-cream: #faf3eb;
    --alx-cream-soft: #fdfbf7;
    --alx-text: #1a1a1a;
    --alx-muted: #6b6b6b;
    --alx-border: rgba(26, 26, 26, 0.1);

    background: var(--alx-cream-soft);
    border: 2px solid var(--alx-rouge-dark);
    border-radius: 8px;
    padding: 40px 32px;
    margin: 32px 0;
    text-align: center;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.alx-newsletter h2 {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--alx-text);
    margin: 0 0 12px;
    letter-spacing: -0.3px;
}

.alx-newsletter p {
    color: var(--alx-muted);
    font-size: 15px;
    line-height: 1.55;
    max-width: 480px;
    margin: 0 auto 22px;
}

.alx-newsletter form {
    max-width: 460px;
    margin: 0 auto;
}

.alx-newsletter-row {
    display: flex;
    gap: 8px;
}

.alx-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.alx-newsletter input[type="email"] {
    flex: 1;
    padding: 13px 16px;
    border: 1px solid var(--alx-border);
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
    background: #fff;
    color: var(--alx-text);
}

.alx-newsletter input[type="email"]:focus {
    outline: 2px solid var(--alx-rouge);
    outline-offset: -1px;
    border-color: var(--alx-rouge);
}

.alx-newsletter button {
    background: var(--alx-rouge);
    color: #fff;
    border: none;
    padding: 13px 24px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    font-family: inherit;
    transition: background 0.15s;
    white-space: nowrap;
}

.alx-newsletter button:hover {
    background: var(--alx-rouge-dark);
}

.alx-newsletter button[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
}

.alx-newsletter-consent {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 14px;
    font-size: 12px;
    color: var(--alx-muted);
    line-height: 1.45;
    text-align: left;
    cursor: pointer;
}

.alx-newsletter-consent input[type="checkbox"] {
    margin-top: 3px;
    flex-shrink: 0;
}

.alx-newsletter-consent a {
    color: var(--alx-rouge);
    text-decoration: underline;
}

.alx-newsletter-msg {
    margin-top: 14px;
    font-size: 14px;
    text-align: center;
    min-height: 20px;
    font-weight: 500;
}

.alx-newsletter-msg-success {
    color: #2e7d32;
}

.alx-newsletter-msg-error {
    color: #c62828;
}

/* Compact-variant — mindre, för in-line användning */
.alx-newsletter.alx-newsletter-compact {
    padding: 24px 22px;
    margin: 24px 0;
}

.alx-newsletter.alx-newsletter-compact h2 {
    font-size: 22px;
    margin-bottom: 8px;
}

.alx-newsletter.alx-newsletter-compact p {
    font-size: 14px;
    margin-bottom: 16px;
}

/* Mobil */
@media (max-width: 500px) {
    .alx-newsletter {
        padding: 28px 20px;
    }
    .alx-newsletter h2 {
        font-size: 22px;
    }
    .alx-newsletter-row {
        flex-direction: column;
    }
}
