/* Mconnect_EoImport — homepage Newsletter + Testimonials sections
   CSS ported verbatim from storefront-mockup/homepage-final-v2.html so the
   live page matches the mockup pixel-for-pixel. */

/* ----- Newsletter band ----- */
.nl-section { max-width: var(--maxw, 1320px); margin: 24px auto 40px; padding: 0 28px; font-family: 'Inter', system-ui, sans-serif; }
.nl-band    { background: #14296b; border-radius: 12px; padding: 30px 36px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.nl-text h3 { margin: 0 0 6px; color: #fff; font-size: clamp(22px, 2.4vw, 26px); font-weight: 800; line-height: 1.15; }
.nl-text p  { margin: 0; color: #cdd5ec; font-size: 14px; }
.nl-form    { display: flex; align-items: center; gap: 0; background: #fff; border-radius: 999px; padding: 5px 5px 5px 22px; min-width: 380px; max-width: 520px; flex: 1; }
.nl-form input  { flex: 1; border: 0; background: transparent; font-size: 14px; color: #1f2a44; outline: 0; padding: 10px 8px; box-shadow: none; }
.nl-form input::placeholder { color: #9aa3b6; }
.nl-form button { background: #fdc700; color: #14296b; border: 0; border-radius: 999px; padding: 11px 24px; font-weight: 700; font-size: 14px; cursor: pointer; transition: background .15s; }
.nl-form button:hover { background: #e9b400; }
@media (max-width: 720px) {
    .nl-band { flex-direction: column; align-items: stretch; }
    .nl-form { min-width: 0; width: 100%; }
}

/* ----- Testimonials (Loved by Educators) ----- */
.tm-section { max-width: var(--maxw, 1320px); margin: 32px auto; padding: 0 28px; font-family: 'Inter', system-ui, sans-serif; }
.tm-head    { margin-bottom: 18px; }
.tm-eyebrow { display: block; color: #bc1212; font-size: 12px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 8px; }
.tm-title   { font-size: clamp(26px, 3vw, 32px); font-weight: 800; display: inline-block; position: relative; padding-bottom: 10px; margin: 0; line-height: 1.05; }
.tm-title .a { color: #14296b; }
.tm-title .b { color: #1344b1; }
.tm-title::after {
    content: ""; position: absolute;
    left: 0; bottom: 0;
    width: 62px; height: 3px;
    background: #fdc700;
    border-radius: 2px;
}

.tm-grid    { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tm-card    { background: #fff; border: 1px solid #e6e9ef; border-radius: 12px; padding: 22px; box-shadow: 0 6px 20px rgba(20, 41, 107, .05); display: flex; flex-direction: column; gap: 14px; min-height: 200px; }
.tm-stars   { color: #fdc700; font-size: 16px; letter-spacing: 2px; line-height: 1; }
.tm-quote   { margin: 0; color: #1f2a44; font-size: 15px; line-height: 1.55; flex: 1; }
.tm-by      { display: flex; align-items: center; gap: 12px; margin-top: 6px; }
.tm-avatar  { width: 42px; height: 42px; border-radius: 50%; background: #14296b; color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 14px; letter-spacing: .3px; }
.tm-name    { font-weight: 700; font-size: 14px; color: #1f2a44; line-height: 1.2; }
.tm-role    { font-size: 12.5px; color: #6b7280; margin-top: 2px; line-height: 1.2; }

@media (max-width: 900px) {
    .tm-grid { grid-template-columns: 1fr; }
}

/* 2026-06-26: remove the focus ring/border that made the email input look like a nested box inside the white pill */
.nl-form input,
.nl-form input:focus,
.nl-form input:focus-visible,
.nl-form input:hover,
.nl-form input.valid,
.nl-form input.mage-error{ border:0 !important; outline:0 !important; box-shadow:none !important; background:transparent !important; }
