/* Andrés Español – magazine subscription integrated in home feature */
.home-quiz.home-magazine {
  display:grid;
  grid-template-columns:minmax(95px,140px) minmax(0,1fr) minmax(288px,.98fr);
  gap:clamp(16px,2.8vw,32px);
  align-items:center;
}
.home-magazine-info { min-width:0; }
.home-magazine-info p { font-size:15px; line-height:1.6; }
.home-magazine-read {
  display:inline-flex; align-items:center; gap:10px; margin-top:10px;
  color:#203758; font-weight:650; text-decoration:underline;
  text-decoration-color:#8aa0c6; text-underline-offset:5px;
  min-height:44px; font-size:14px;
}
.home-magazine-read:hover { color:#b93d0c; }
.home-magazine-read:focus-visible { outline:3px solid #203758; outline-offset:4px; }
.home-magazine-subscribe {
  min-width:0; padding:23px 23px 20px; background:#f5f7fb;
  border:1px solid #d8e1ed; border-radius:7px; align-self:stretch;
  display:flex; flex-direction:column; justify-content:center;
}
.home-magazine-subscribe-kicker {
  font-size:10px; line-height:1.4; font-weight:750; letter-spacing:.12em; color:#596579;
}
.home-magazine-subscribe h3 {
  font-family:Georgia,'Times New Roman',serif; font-size:clamp(22px,2.2vw,27px);
  line-height:1.18; margin:8px 0 9px; color:#203758;
}
.home-magazine .home-magazine-subscribe-intro { margin:0 0 19px; font-size:13.5px; line-height:1.55; color:#546071; }
.home-nl-form label { display:block; font-size:12.5px; font-weight:700; margin:0 0 6px; color:#203758; }
.home-nl-row { display:flex; flex-direction:column; gap:10px; }
.home-nl-row input[type="email"] {
  display:block; width:100%; min-width:0; min-height:46px; padding:10px 13px;
  border:1px solid #aebbd0; border-radius:4px; background:#fff; color:#22334d;
  font:inherit; font-size:15px; line-height:1.4;
}
.home-nl-row input[type="email"]:focus-visible { outline:3px solid #d7a474; outline-offset:2px; border-color:#c44711; }
.home-nl-row .button {
  justify-content:center; width:100%; min-height:46px; margin:0;
  border:0; border-radius:4px; cursor:pointer;
  background:#5878b5; color:#fff; font:inherit; font-size:15px; font-weight:700;
}
.home-magazine .home-nl-row .button:hover { background:#46669f; color:#fff; }
.home-nl-row .button:focus-visible { outline:3px solid #c44711; outline-offset:3px; }
.home-nl-row .button:disabled { opacity:.65; cursor:wait; }
.home-nl-hp { position:absolute; left:-5000px; top:auto; width:1px; height:1px; opacity:0; }
.home-nl-msg { margin:8px 0 0; min-height:0; font-size:13px; line-height:1.5; }
.home-nl-msg:empty { display:none; }
.home-nl-msg.ok { color:#22623b; }
.home-nl-msg.err { color:#b3261e; }
.home-magazine .home-nl-legal { color:#596579; font-size:11.5px; line-height:1.55; margin:12px 0 0; }
.home-nl-confirmed { background:#eaf6ef; border-left:3px solid #287744; padding:12px; color:#1d4d2b; font-weight:600; font-size:13px; }
.home-nl-confirmed[hidden] { display:none; }
html[data-theme="dark"] .home-magazine-subscribe { background:#1b2535; border-color:#465977; }
html[data-theme="dark"] .home-magazine-subscribe h3,html[data-theme="dark"] .home-nl-form label { color:#eef3fc; }
html[data-theme="dark"] .home-magazine-subscribe-kicker,html[data-theme="dark"] .home-magazine .home-magazine-subscribe-intro,html[data-theme="dark"] .home-magazine .home-nl-legal { color:#c5d1e3; }
html[data-theme="dark"] .home-magazine-read { color:#d4e2f8; }
html[data-theme="dark"] .home-nl-row input[type="email"] { background:#141b27; border-color:#657997; color:#f2f5fc; }
html[data-theme="dark"] .home-nl-msg.ok { color:#93d4ab; }
html[data-theme="dark"] .home-nl-msg.err { color:#ffaaa2; }
html[data-theme="dark"] .home-nl-confirmed { background:#243f30; color:#d8f3e2; }
/* Medium screens: keep image and editorial side by side; form follows inside the same panel. */
@media (max-width:1060px) {
  .home-quiz.home-magazine { grid-template-columns:minmax(92px,144px) minmax(0,1fr); }
  .home-magazine-subscribe { grid-column:1/-1; }
  .home-nl-row { flex-direction:row; }
  .home-nl-row input[type="email"] { flex:1; }
  .home-nl-row .button { width:auto; min-width:155px; }
}
@media (max-width:700px) {
  .home-quiz.home-magazine { grid-template-columns:minmax(0,1fr); }
  .home-magazine-cover { max-width:126px; }
  .home-magazine-subscribe { grid-column:auto; padding:20px; }
}
@media (max-width:500px) {
  .home-nl-row { flex-direction:column; }
  .home-nl-row .button { width:100%; }
}
