/* ═══════════════════════════════════════════════════════════
   Athath Newsletter – Frontend Styles
   Palette: #1A8592 primary | #073640 dark | #f4f8f9 bg
═══════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;800&family=Inter:wght@400;500;600;700&display=swap');

/* ── CSS Variables ── */
.athath-nl-wrapper {
    --nl-primary:      #1A8592;
    --nl-primary-dark: #1B7B82;
    --nl-dark:         #073640;
    --nl-dark-alt:     #0d3f4a;
    --nl-white:        #ffffff;
    --nl-bg:           #f4f8f9;
    --nl-gray:         #6b7c85;
    --nl-gray-light:   #e8eef0;
    --nl-border:       #dce8ea;
    --nl-radius:       18px;
    --nl-shadow:       0 8px 48px rgba(7, 54, 64, 0.10);
    font-family: 'Inter', sans-serif;
    padding: 48px 20px;
    box-sizing: border-box;
}

/* ── Card Shell ── */
.athath-nl-card {
    max-width: 1100px;
    margin: 0 auto;
    border-radius: var(--nl-radius);
    overflow: hidden;
    box-shadow: var(--nl-shadow);
    background: var(--nl-white);
}

/* ── Main 2-column grid ── */
.athath-nl-main {
    display: grid;
    grid-template-columns: 58% 42%;
    min-height: 460px;
}

/* ══════════════════════════════
   LEFT COLUMN – Content
══════════════════════════════ */
.athath-nl-content {
    padding: 56px 52px 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
}

/* Label row: icon + "NEWSLETTER" */
.athath-nl-label-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 22px;
}

.athath-nl-icon-circle {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(26, 133, 146, 0.10);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--nl-primary);
}

.athath-nl-label-text {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--nl-primary);
}

/* Title */
.athath-nl-title {
    font-family: 'Playfair Display', serif;
    font-size: 38px;
    font-weight: 800;
    line-height: 1.18;
    color: var(--nl-dark);
    margin: 0 0 18px 0;
    padding: 0;
}

.athath-nl-title .nl-accent {
    color: var(--nl-primary);
    font-style: italic;
}

/* Teal divider */
.athath-nl-divider {
    width: 46px;
    height: 3px;
    background: var(--nl-primary);
    border-radius: 3px;
    margin-bottom: 22px;
}

/* Description */
.athath-nl-desc {
    font-size: 14.5px;
    line-height: 1.75;
    color: var(--nl-gray);
    margin: 0 0 34px 0;
    max-width: 440px;
}

/* ── Email form ── */
.athath-nl-form {
    margin-bottom: 36px;
}

.athath-nl-input-group {
    display: flex;
    align-items: center;
    background: var(--nl-white);
    border: 1.5px solid var(--nl-border);
    border-radius: 10px;
    padding: 5px 5px 5px 18px;
    gap: 10px;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.athath-nl-input-group:focus-within {
    border-color: var(--nl-primary);
    box-shadow: 0 0 0 4px rgba(26, 133, 146, 0.10);
}

.athath-nl-input-icon {
    color: #a8bfc3;
    flex-shrink: 0;
    display: flex;
}

.athath-nl-input-group input[type="email"] {
    flex: 1;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    font-family: 'Inter', sans-serif;
    font-size: 14.5px;
    color: var(--nl-dark);
    background: transparent !important;
    padding: 11px 0;
    min-width: 0;
}

.athath-nl-input-group input[type="email"]::placeholder {
    color: #a8bfc3;
}

.athath-nl-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--nl-dark);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 13px 24px;
    font-family: 'Inter', sans-serif;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.6px;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.22s ease, transform 0.15s ease;
    flex-shrink: 0;
}

.athath-nl-btn:hover {
    background: var(--nl-primary);
    transform: translateX(2px);
}

.athath-nl-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.athath-nl-btn svg {
    transition: transform 0.2s ease;
}
.athath-nl-btn:hover svg {
    transform: translateX(3px);
}

/* Message feedback */
.athath-nl-message {
    font-size: 13.5px;
    font-weight: 500;
    padding: 10px 0 0 2px;
    min-height: 22px;
    transition: all 0.3s ease;
}
.athath-nl-message.nl-success { color: #059669; }
.athath-nl-message.nl-error   { color: #dc2626; }

/* Privacy note */
.athath-nl-privacy {
    font-size: 11.5px;
    color: #a8bfc3;
    margin-top: 6px;
    padding: 0 0 0 2px;
}

/* ── Features row ── */
.athath-nl-features {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.athath-nl-feature {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    flex: 1;
    min-width: 120px;
}

.athath-nl-feat-icon {
    color: var(--nl-primary);
    flex-shrink: 0;
    margin-top: 1px;
    opacity: 0.85;
}

.athath-nl-feat-text strong {
    display: block;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--nl-dark);
    margin-bottom: 3px;
}

.athath-nl-feat-text p {
    font-size: 11.5px;
    color: var(--nl-gray);
    margin: 0;
    line-height: 1.45;
}

/* ══════════════════════════════
   RIGHT COLUMN – Image
══════════════════════════════ */
.athath-nl-image-col {
    position: relative;
    overflow: hidden;
}

.athath-nl-img {
    /* width: 100%; */
    height: 100%!important;
    object-fit: cover;
    object-position: top;
    display: block;
}

/* Placeholder when no image set */
.athath-nl-img-placeholder {
    width: 100%;
    height: 100%;
    min-height: 380px;
    background: linear-gradient(145deg, #e3f0f2 0%, #c8e2e5 50%, #b6d8db 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 30px;
    box-sizing: border-box;
    text-align: center;
}

.athath-nl-img-placeholder svg {
    color: var(--nl-primary);
    opacity: 0.45;
}

.athath-nl-img-placeholder p {
    color: var(--nl-primary-dark);
    font-size: 13px;
    line-height: 1.6;
    opacity: 0.7;
    margin: 0;
}

.athath-nl-img-placeholder code {
    font-size: 11px;
    background: rgba(26,133,146,0.12);
    color: var(--nl-primary-dark);
    padding: 4px 10px;
    border-radius: 6px;
    opacity: 0.8;
}

/* ══════════════════════════════
   TRUST BAR – Bottom dark strip
══════════════════════════════ */
.athath-nl-trust-bar {
    background: var(--nl-dark);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 22px 44px;
    box-sizing: border-box;
}

.athath-nl-trust-item {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 6px 18px;
    border-right: 1px solid rgba(255, 255, 255, 0.10);
}

.athath-nl-trust-item:first-child { padding-left: 0; }
.athath-nl-trust-item:last-child  { border-right: none; padding-right: 0; }

.athath-nl-trust-icon {
    color: rgba(255, 255, 255, 0.65);
    flex-shrink: 0;
}

.athath-nl-trust-text strong {
    display: block;
    color: #ffffff;
    font-size: 12.5px;
    font-weight: 600;
    margin-bottom: 3px;
    letter-spacing: 0.1px;
}

.athath-nl-trust-text p {
    color: rgba(255, 255, 255, 0.55);
    font-size: 11px;
    margin: 0;
    line-height: 1.4;
}

/* ══════════════════════════════
   RESPONSIVE
══════════════════════════════ */
@media (max-width: 900px) {
    .athath-nl-main {
        grid-template-columns: 1fr;
    }

    .athath-nl-image-col {
        min-height: 260px;
        order: -1; /* image on top on mobile */
    }

    .athath-nl-img-placeholder {
        min-height: 220px;
    }

    .athath-nl-content {
        padding: 44px 36px 40px;
    }

    .athath-nl-trust-bar {
        grid-template-columns: repeat(2, 1fr);
        padding: 20px 28px;
        gap: 16px;
    }

    .athath-nl-trust-item {
        border-right: none;
        padding: 8px 0;
    }
}

@media (max-width: 600px) {
    .athath-nl-wrapper {
        padding: 24px 12px;
    }

    .athath-nl-content {
        padding: 32px 24px 32px;
    }

    .athath-nl-title {
        font-size: 28px;
    }

    .athath-nl-input-group {
        flex-direction: column;
        padding: 10px 12px;
        align-items: stretch;
        gap: 0;
    }

    .athath-nl-input-group .athath-nl-input-icon {
        display: none;
    }

    .athath-nl-input-group input[type="email"] {
        padding: 8px 0;
        font-size: 15px;
    }

    .athath-nl-btn {
        width: 100%;
        justify-content: center;
        margin-top: 8px;
        padding: 14px 24px;
    }

    .athath-nl-trust-bar {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 20px 24px;
    }

    .athath-nl-features {
        flex-direction: column;
        gap: 16px;
    }
}
