/* Everyday French — newsletter landing page.
 * The form panel reuses .ef-mail__form (styled in home.css) — but home.css is
 * front-page-only, so the CF7 restyling it needs is repeated here. Keep the two
 * in sync, or lift .ef-mail__form into theme.css if a third page needs it.
 */

.ef-nl__hero { padding: clamp(2.4rem,5vw,4rem) 0 clamp(2rem,4vw,3rem); }
.ef-nl__hero-in { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.8rem,4vw,3.2rem); align-items: center; }
@media (max-width: 900px) { .ef-nl__hero-in { grid-template-columns: 1fr; } }
.ef-nl__h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(2.2rem,4.8vw,3.3rem); line-height: 1.05; color: var(--head); margin: .7rem 0; letter-spacing: -.01em; text-wrap: balance; }
.ef-nl__lede { font-size: 1.12rem; color: var(--ink-2); max-width: 48ch; margin: 0 0 1.4rem; }
.ef-nl__list { list-style: none; margin: 0; padding: 0; }
.ef-nl__list li { display: flex; gap: .7rem; align-items: flex-start; padding: .5rem 0; color: var(--ink); font-size: .97rem; }
.ef-nl__list svg { width: 20px; height: 20px; color: var(--accent); flex: none; margin-top: .15rem; }

/* ---- the form panel ---- */
.ef-nl__panel { position: relative; overflow: hidden; background: var(--rust-deep); color: var(--on-deep);
  border-radius: 22px; padding: clamp(1.6rem,3.4vw,2.4rem); text-align: center;
  background-image: radial-gradient(70% 120% at 50% 0, rgba(239,201,190,.18), transparent 65%);
  box-shadow: 0 34px 60px -34px var(--shadow); }
.ef-nl__panel .ef-mail__eiffel { position: absolute; right: -18px; bottom: -22px; width: 120px; height: auto; color: rgba(255,255,255,.09); pointer-events: none; }
.ef-nl__badge { display: inline-block; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18);
  color: var(--tint-2); border-radius: 999px; padding: .28rem .8rem; font-size: .76rem; font-weight: 700; }
.ef-nl__panel h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.5rem,3vw,2rem); margin: .7rem 0 .4rem; color: var(--on-deep); }
.ef-nl__panel > p { margin: 0 0 1.2rem; color: var(--tint-2); font-size: .95rem; }

/* CF7 inside the dark panel */
.ef-nl__panel .ef-mail__form { position: relative; z-index: 1; }
.ef-nl__panel .ef-mail__form form { display: block; }
.ef-nl__panel .ef-mail__form p { margin: 0; }
.ef-nl__panel .ef-mail__form input[type=email],
.ef-nl__panel .ef-mail__form input[type=text] {
  width: 100%; border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.1); color: var(--on-deep);
  border-radius: 12px; padding: .8rem 1rem; font-size: 1rem; font-family: inherit; margin-bottom: .6rem; }
.ef-nl__panel .ef-mail__form input::placeholder { color: rgba(255,255,255,.55); }
.ef-nl__panel .ef-mail__form input[type=email]:focus,
.ef-nl__panel .ef-mail__form input[type=text]:focus { outline: 2px solid var(--tint-3); outline-offset: 1px; }
.ef-nl__panel .ef-mail__form input[type=submit] {
  width: 100%; border: 0; border-radius: 12px; padding: .85rem 1.4rem; font-weight: 700; font-size: 1rem;
  background: var(--tint); color: var(--rust-deep); cursor: pointer; }
.ef-nl__panel .ef-mail__form input[type=submit]:hover { background: #fff; }
.ef-nl__panel .ef-mail__form .wpcf7-list-item { margin: .5rem 0 0; }
.ef-nl__panel .ef-mail__form .wpcf7-list-item-label { font-size: .82rem; color: var(--tint-2); }
.ef-nl__panel .ef-mail__form .wpcf7-response-output { border-color: rgba(255,255,255,.25) !important; color: var(--on-deep);
  font-size: .86rem; border-radius: 10px; margin: .8rem 0 0 !important; padding: .6rem .8rem !important; }
.ef-nl__panel .ef-mail__form .wpcf7-not-valid-tip { color: #ffc9c0; font-size: .8rem; text-align: left; }

/* ---- "start practising today" ---- */
.ef-nl__alt { padding: clamp(2rem,4vw,3rem) 0 clamp(2.6rem,5vw,3.6rem); background: var(--surface-2); border-block: 1px solid var(--line-soft); }
.ef-nl__altgrid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; }
@media (max-width: 780px) { .ef-nl__altgrid { grid-template-columns: 1fr; } }
.ef-nl__altgrid .ef-mcard { text-decoration: none; display: block; transition: border-color .15s, transform .15s; }
.ef-nl__altgrid .ef-mcard:hover { border-color: var(--tint-3); transform: translateY(-2px); }
