/* =====================================================================
   Inner pages in the meet2learn look (2026-11-27): login and the other sign-in pages, blog list,
   blog post, contact. Loaded after brand.css and landing.css; tokens only (brand.css), no raw font sizes.
   Same layout as the landing page: Frost page bands, white cards with hairlines, Ink panels, Cobalt actions.
   ===================================================================== */

/* no italic or colored accent words in any heading */
body.theme-m2l :is(h1, h2, h3, h4) :is(em, i:not(.bi), .text-grad, .accent) { font-family: inherit; font-style: normal; font-weight: inherit; color: inherit; -webkit-text-fill-color: currentColor; }
.theme-m2l .blob { display: none !important; }

/* ---------- Page hero (blog list, blog post, contact) ---------- */
.theme-m2l .page-hero, .theme-m2l .article-hero { background: var(--m-frost); border-bottom: 0; padding: 40px 0 28px; }
.theme-m2l .page-hero h1, .theme-m2l .article-hero h1, .theme-m2l .contact-title { font-family: var(--m-font); font-weight: 700; font-size: var(--fs-hero); line-height: var(--lh-tight); letter-spacing: 0; color: var(--m-ink); margin: 1rem 0 .8rem; max-width: 50rem; }
.theme-m2l .page-hero p { font-size: var(--fs-body); color: var(--m-muted); max-width: 40rem; margin: 0; }
.theme-m2l .crumbs { font-family: var(--m-font); font-size: var(--fs-small); letter-spacing: 0; text-transform: none; color: var(--m-muted); }
.theme-m2l .crumbs a { color: var(--m-muted); text-decoration: underline; text-decoration-color: var(--m-line-2); text-underline-offset: .2em; }
.theme-m2l .crumbs a:hover { color: var(--m-cobalt); }
.theme-m2l .eyebrow { font-family: var(--m-font); font-size: var(--fs-micro); font-weight: 600; letter-spacing: .1em; color: var(--m-muted); }
.theme-m2l .eyebrow::before { display: none; }
.theme-m2l .section { padding-block: 0 var(--m-section-y); }
.theme-m2l .section-soft { background: var(--m-white); padding-block: var(--m-section-y); }
.theme-m2l .section-title { font-family: var(--m-font); font-weight: 700; font-size: var(--fs-title); line-height: var(--lh-tight); letter-spacing: 0; margin: 0; }
.theme-m2l .link-arrow { font-weight: 600; color: var(--m-cobalt); border-bottom: 0; padding: 0; min-height: 36px; }
.theme-m2l .link-arrow:hover, .theme-m2l a:hover .link-arrow { color: var(--m-cobalt-hover); text-decoration: underline; text-underline-offset: .2em; }

/* ---------- Forms (shared) ---------- */
.theme-m2l .form-control, .theme-m2l .form-select { font-family: var(--m-font); font-size: var(--fs-body); color: var(--m-ink); }
.theme-m2l .form-floating > .form-control, .theme-m2l .form-floating > .form-select { border-radius: var(--m-radius-sm); border: 1px solid var(--m-line-2); background-color: var(--m-white); }
.theme-m2l .form-floating > label { color: var(--m-muted); font-size: var(--fs-body); }
.theme-m2l .form-control:focus, .theme-m2l .form-select:focus { border-color: var(--m-cobalt); box-shadow: 0 0 0 3px rgba(49, 88, 212, .18); }
.theme-m2l .form-control.is-invalid, .theme-m2l .was-validated .form-control:invalid { border-color: var(--m-red); }
.theme-m2l .form-control.is-invalid:focus { box-shadow: 0 0 0 3px rgba(220, 38, 38, .15); }
.theme-m2l .invalid-feedback { color: #b91c1c; font-size: var(--fs-small); }
.theme-m2l .form-check-input:checked { background-color: var(--m-cobalt); border-color: var(--m-cobalt); }
.theme-m2l .form-text, .theme-m2l small, .theme-m2l .small { font-size: var(--fs-small); }
.theme-m2l .alert { border-radius: var(--m-radius-sm); font-size: var(--fs-body); }
.theme-m2l .alert-danger { background: #fef2f2; color: #991b1b; border-color: #fecaca; }
.theme-m2l .alert-success { background: #f0fdf4; color: #166534; border-color: #bbf7d0; }
.theme-m2l .alert-info { background: var(--m-cobalt-soft); color: var(--m-ink); border-color: rgba(49, 88, 212, .2); }
.theme-m2l .pw-hint { font-family: var(--m-font); font-size: var(--fs-micro); letter-spacing: .06em; }
.theme-m2l .pw-toggle { color: var(--m-muted); }
.theme-m2l .pw-toggle:hover { color: var(--m-ink); background: var(--m-frost); }

/* ---------- Log in, sign up, forgot and reset password ---------- */
.theme-m2l .auth-wrap { background: var(--m-frost); min-height: 0; }
.theme-m2l .auth-main { background: var(--m-frost); padding: 72px 1rem var(--m-section-y); align-items: flex-start; }
.theme-m2l .auth-card { max-width: 460px; border: 1px solid var(--m-line); border-radius: var(--m-radius-lg); box-shadow: var(--m-shadow); padding: 2.5rem 2.25rem; }
.theme-m2l .auth-card h1 { font-family: var(--m-font); font-weight: 700; font-size: var(--fs-title); line-height: var(--lh-tight); letter-spacing: 0; color: var(--m-ink); margin-bottom: .5rem; }
.theme-m2l .auth-card .sub { font-size: var(--fs-body); color: var(--m-muted); margin-bottom: 1.6rem; }
.theme-m2l .auth-icon { background: var(--m-cobalt-soft); color: var(--m-cobalt); border-radius: 14px; font-size: var(--fs-subtitle); }
.theme-m2l .auth-or { font-family: var(--m-font); font-size: var(--fs-micro); font-weight: 600; letter-spacing: .1em; color: var(--m-muted); }
.theme-m2l .auth-or::before, .theme-m2l .auth-or::after { background: var(--m-line); }
.theme-m2l .gsi-btn { min-height: 50px; border: 1px solid var(--m-line-2); border-radius: var(--m-radius-sm); font-family: var(--m-font); font-weight: 600; font-size: var(--fs-body); color: var(--m-ink); background: var(--m-white); }
.theme-m2l .gsi-btn:hover, .theme-m2l .gsi-btn:focus { background: var(--m-white); color: var(--m-ink); border-color: var(--m-ink); box-shadow: var(--m-shadow); }
.theme-m2l .auth-email { background: var(--m-frost); border-color: var(--m-line); font-size: var(--fs-small); }
.theme-m2l .auth-age { border-radius: var(--m-radius-sm); }
.theme-m2l .auth-age:has(input:checked) { border-color: var(--m-cobalt); }
.theme-m2l .auth-age.is-invalid { border-color: var(--m-red); background: #fef2f2; }
.theme-m2l .auth-consent .consent-fb { color: #b91c1c; font-size: var(--fs-small); }
.theme-m2l .auth-consent .auth-age span, .theme-m2l .auth-hint, .theme-m2l .auth-consent-note { font-size: var(--fs-small); }
.theme-m2l .auth-foot { font-size: var(--fs-small); color: var(--m-muted); }
@media (max-width: 575.98px) {
  .theme-m2l .auth-main { padding: 40px 16px var(--m-section-y); }
  .theme-m2l .auth-card { padding: 1.75rem 1.4rem; }
}

/* ---------- Blog list ---------- */
.theme-m2l .blog-search input { height: var(--m-tap); border-radius: var(--m-radius-sm); border-color: var(--m-line-2); font-family: var(--m-font); font-size: var(--fs-body); }
.theme-m2l .blog-search input:focus { border-color: var(--m-cobalt); box-shadow: 0 0 0 3px rgba(49, 88, 212, .18); }
.theme-m2l .blog-search .btn { height: var(--m-tap); border-radius: var(--m-radius-sm); }
.theme-m2l .search-summary { font-size: var(--fs-small); }
.theme-m2l .blog-cats { border-bottom: 0; padding-bottom: 0; margin-bottom: 2.5rem; }
.theme-m2l .blog-cats a { min-height: 40px; border-color: var(--m-line-2); background: var(--m-white); font-size: var(--fs-small); font-weight: 600; color: var(--m-ink-2); }
.theme-m2l .blog-cats a span { font-family: var(--m-font); font-size: var(--fs-micro); color: var(--m-muted); font-weight: 400; }
.theme-m2l .blog-cats a:hover { border-color: var(--m-ink); }
.theme-m2l .blog-cats a.active { background: var(--m-ink); border-color: var(--m-ink); color: #fff; }
.theme-m2l .blog-cats a.active span { color: var(--m-on-ink-muted); }
.theme-m2l .post-meta { font-family: var(--m-font); font-size: var(--fs-micro); letter-spacing: .06em; color: var(--m-muted); }
.theme-m2l .post-meta .post-cat, .theme-m2l .article-cat { color: var(--m-cobalt); }
.theme-m2l .post-thumb { border-radius: 0; background: var(--m-frost-2); }
.theme-m2l .post-row mark, .theme-m2l .post-featured mark { background: rgba(49, 88, 212, .14); }

/* featured post and rows: white cards */
.theme-m2l .post-featured { background: var(--m-white); border: 1px solid var(--m-line); border-radius: var(--m-radius-lg); box-shadow: var(--m-shadow); overflow: hidden; gap: 0; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); transition: box-shadow .2s ease, transform .2s ease; }
.theme-m2l .post-featured .post-thumb { border-radius: 0; aspect-ratio: auto; min-height: 100%; }
.theme-m2l .post-featured .post-body { padding: 2.25rem 2.5rem; }
.theme-m2l .post-featured h2 { font-family: var(--m-font); font-weight: 700; font-size: var(--fs-title); line-height: var(--lh-tight); letter-spacing: 0; margin: .75rem 0 .8rem; color: var(--m-ink); }
.theme-m2l .post-featured p { font-size: var(--fs-body); }
.theme-m2l .post-list { border-top: 0; gap: 1.25rem; }
.theme-m2l .post-row { background: var(--m-white); border: 1px solid var(--m-line); border-radius: var(--m-radius); box-shadow: var(--m-shadow); overflow: hidden; padding: 0; gap: 0; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); align-items: stretch; transition: box-shadow .2s ease, transform .2s ease; }
.theme-m2l .post-row .post-thumb { aspect-ratio: auto; min-height: 190px; height: 100%; }
.theme-m2l .post-row .post-body { padding: 1.5rem 1.75rem; justify-content: center; }
.theme-m2l .post-row h3 { font-family: var(--m-font); font-weight: 600; font-size: var(--fs-subtitle); line-height: 1.4; letter-spacing: 0; margin: .5rem 0 .45rem; color: var(--m-ink); }
.theme-m2l .post-row p { font-size: var(--fs-body); margin-bottom: .5rem; }
.theme-m2l :is(.post-row, .post-featured, .post-card):hover { transform: translateY(-2px); box-shadow: var(--m-shadow-lg); }
.theme-m2l :is(.post-row, .post-featured, .post-card):hover :is(h2, h3) { color: var(--m-ink); }
.theme-m2l :is(.post-row, .post-featured, .post-card):hover .post-thumb img { transform: none; }
.theme-m2l :is(.post-row, .post-featured, .post-card):hover .link-arrow { text-decoration: underline; text-underline-offset: .2em; }
@media (max-width: 991.98px) { .theme-m2l .post-featured { grid-template-columns: minmax(0, 1fr); } .theme-m2l .post-featured .post-thumb { aspect-ratio: 16 / 9; } }
@media (max-width: 767.98px) {
  .theme-m2l .post-row { grid-template-columns: minmax(0, 1fr); }
  .theme-m2l .post-row .post-thumb { aspect-ratio: 16 / 9; min-height: 0; }
  .theme-m2l .post-featured .post-body { padding: 1.5rem 1.4rem; }
  .theme-m2l .post-row .post-body { padding: 1.25rem 1.4rem; }
}
@media (prefers-reduced-motion: reduce) { .theme-m2l :is(.post-row, .post-featured, .post-card):hover { transform: none; } }

/* pagination */
.theme-m2l .page-link { font-family: var(--m-font); font-size: var(--fs-small); min-width: var(--m-tap); min-height: var(--m-tap); display: grid; place-items: center; border-radius: var(--m-radius-sm) !important; border-color: var(--m-line-2); background: var(--m-white); color: var(--m-ink); }
.theme-m2l .page-item.active .page-link { background: var(--m-ink); border-color: var(--m-ink); color: #fff; }
.theme-m2l .page-link:hover { color: var(--m-cobalt); border-color: var(--m-ink); background: var(--m-white); }

/* weekly email box */
.theme-m2l .sub-card { border-radius: var(--m-radius-lg); border-color: var(--m-line); box-shadow: var(--m-shadow); padding: 2rem 2.25rem; background: var(--m-white); }
.theme-m2l .sub-card h2 { font-family: var(--m-font); font-weight: 700; font-size: var(--fs-subtitle); line-height: 1.35; letter-spacing: 0; color: var(--m-ink); }
.theme-m2l .sub-card .sub-text p { font-size: var(--fs-body); }
.theme-m2l .sub-toggle .btn, .theme-m2l .sub-form .btn { height: auto; border-radius: var(--m-radius-sm); }
.theme-m2l .sub-msg { font-size: var(--fs-small); border-radius: var(--m-radius-sm); }

/* ---------- Blog post ---------- */
.theme-m2l .read-progress { background: var(--m-cobalt); }
.theme-m2l .article-hero { padding-bottom: 32px; }
.theme-m2l .article-meta { font-family: var(--m-font); font-size: var(--fs-small); letter-spacing: 0; text-transform: none; color: var(--m-muted); }
.theme-m2l .article-meta i { color: var(--m-muted); }
.theme-m2l .article-cat:hover { color: var(--m-cobalt-hover); }
.theme-m2l .article-cover { border-radius: var(--m-radius-lg); box-shadow: var(--m-shadow); background: var(--m-frost-2); }
.theme-m2l main > section.pb-5 { background: var(--m-frost); padding-bottom: var(--m-section-y) !important; }
.theme-m2l article.prose { background: var(--m-white); border: 1px solid var(--m-line); border-radius: var(--m-radius-lg); box-shadow: var(--m-shadow); padding: 2.75rem 3rem; }
.theme-m2l .prose { font-size: var(--fs-body); line-height: 1.8; color: var(--m-ink-2); }
.theme-m2l .prose :is(h2, h3, h4) { font-family: var(--m-font); font-weight: 700; color: var(--m-ink); letter-spacing: 0; line-height: 1.3; margin: 2.2rem 0 .8rem; }
.theme-m2l .prose h2 { font-size: var(--fs-title); }
.theme-m2l .prose h3 { font-size: var(--fs-subtitle); }
.theme-m2l .prose h4 { font-size: var(--fs-heading); }
.theme-m2l .prose a { color: var(--m-cobalt); text-decoration-color: rgba(49, 88, 212, .4); }
.theme-m2l .prose a:hover { color: var(--m-cobalt-hover); text-decoration-color: currentColor; }
.theme-m2l .prose li::marker { color: var(--m-cobalt); }
.theme-m2l .prose blockquote { font-family: var(--m-font); font-style: normal; font-size: var(--fs-subtitle); line-height: 1.6; border-left: 3px solid var(--m-cobalt); color: var(--m-ink); }
.theme-m2l .prose img { border-radius: var(--m-radius-sm); }
.theme-m2l .prose table { font-size: var(--fs-small); }
.theme-m2l .prose th, .theme-m2l .prose td { border-bottom-color: var(--m-line); }
@media (max-width: 575.98px) { .theme-m2l article.prose { padding: 1.5rem 1.25rem; } }

.theme-m2l .side-card { border-radius: var(--m-radius); border-color: var(--m-line); box-shadow: var(--m-shadow); }
.theme-m2l .side-card h4 { font-family: var(--m-font); font-size: var(--fs-micro); font-weight: 600; letter-spacing: .1em; color: var(--m-muted); }
.theme-m2l .side-card h4 .text-warning { color: var(--m-cobalt) !important; }
.theme-m2l .side-post span { font-weight: 600; font-size: var(--fs-small); line-height: 1.45; }
.theme-m2l .side-post:hover span { color: var(--m-cobalt); }
.theme-m2l .share-btn { border-color: var(--m-line-2); color: var(--m-ink); background: var(--m-white); }
.theme-m2l .share-btn:hover { background: var(--m-ink); border-color: var(--m-ink); color: #fff; }
.theme-m2l .help-card { background: var(--m-ink); border-radius: var(--m-radius-lg); padding: 2rem 2.25rem; }
.theme-m2l .help-card h3 { font-family: var(--m-font); font-weight: 700; font-size: var(--fs-subtitle) !important; color: #fff; }
.theme-m2l .help-card p { color: var(--m-on-ink-muted); font-size: var(--fs-body); }
.theme-m2l .help-card :focus-visible { outline-color: var(--m-cobalt-light); }

/* related posts: white band, three cards */
.theme-m2l .post-card { background: var(--m-white); border: 1px solid var(--m-line); border-radius: var(--m-radius); box-shadow: var(--m-shadow); overflow: hidden; transition: box-shadow .2s ease, transform .2s ease; }
.theme-m2l .post-card .post-thumb { border-radius: 0; }
.theme-m2l .post-card .post-body { padding: 1.25rem 1.4rem 1rem; }
.theme-m2l .post-card h3 { font-family: var(--m-font); font-weight: 600; font-size: var(--fs-subtitle); line-height: 1.4; letter-spacing: 0; margin: .5rem 0 .4rem; }
.theme-m2l .post-card p { font-size: var(--fs-small); line-height: 1.6; }

/* ---------- Contact ---------- */
.theme-m2l .contact-wrap { background: var(--m-frost); padding: 40px 0 var(--m-section-y); }
.theme-m2l .contact-title { margin-top: 0; }
.theme-m2l .contact-lead { font-size: var(--fs-body); color: var(--m-muted); }
.theme-m2l .contact-facts { border-top: 0; background: var(--m-white); border: 1px solid var(--m-line); border-radius: var(--m-radius); box-shadow: var(--m-shadow); padding: .25rem 1.5rem; margin-top: 2rem; }
.theme-m2l .contact-facts > div { border-bottom-color: var(--m-line); }
.theme-m2l .contact-facts > div:last-child { border-bottom: 0; }
.theme-m2l .contact-facts dt { font-family: var(--m-font); font-size: var(--fs-micro); font-weight: 600; letter-spacing: .1em; color: var(--m-muted); }
.theme-m2l .contact-facts dd { font-size: var(--fs-small); color: var(--m-ink-2); }
.theme-m2l .contact-facts a { color: var(--m-cobalt); border-bottom: 0; text-decoration: underline; text-underline-offset: .2em; }
.theme-m2l .contact-card { border-radius: var(--m-radius-lg); border-color: var(--m-line); box-shadow: var(--m-shadow); padding: 2.25rem; }
.theme-m2l .topic-set legend, .theme-m2l .msg-count { font-family: var(--m-font); font-size: var(--fs-micro); font-weight: 600; letter-spacing: .1em; color: var(--m-muted); }
.theme-m2l .topic span { min-height: 40px; font-size: var(--fs-small); font-weight: 600; border-color: var(--m-line-2); }
.theme-m2l .topic input:checked + span { background: var(--m-ink); border-color: var(--m-ink); color: #fff; }
.theme-m2l .topic input:focus-visible + span { outline-color: var(--m-cobalt); }
.theme-m2l .recaptcha-note { font-size: var(--fs-micro); }
.theme-m2l .contact-sent .sent-mark { background: var(--m-cobalt-soft); color: var(--m-cobalt); }
.theme-m2l .contact-sent h2 { font-family: var(--m-font); font-weight: 700; font-size: var(--fs-title); line-height: var(--lh-tight); letter-spacing: 0; }
@media (max-width: 575.98px) { .theme-m2l .contact-card { padding: 1.4rem 1.2rem; } .theme-m2l .contact-wrap { padding-top: 40px; } }
.theme-m2l .page-gap .page-link { border-color: transparent; background: transparent; color: var(--m-muted); min-width: 1.5rem; pointer-events: none; }
/* narrow phones: first, current and last page only, so the row fits on one line */
@media (max-width: 419.98px) {
  .theme-m2l .pagination { gap: .25rem; }
  .theme-m2l .page-item.page-near { display: none; }
  .theme-m2l .page-link { min-width: 40px; min-height: 40px; }
  .theme-m2l .page-gap .page-link { min-width: 1rem; padding-inline: .1rem; }
}
/* login, forgot and reset password (2026-11-27, user request): the space between the header and the footer fills the
   window and the card sits exactly in its middle (equal space above and below); taller content just scrolls */
body.theme-m2l:has(.auth-wrap) > main#main { min-height: 0; display: flex; flex-direction: column; }
.theme-m2l .auth-wrap { flex: 1 0 auto; min-height: 0; display: flex; }
.theme-m2l .auth-main { flex: 1; align-items: center; padding-block: 2.5rem; }
.theme-m2l .auth-main > .auth-card { margin-block: 0; }
.theme-m2l h2.lp-title { font-size: var(--fs-title); font-weight: 700; line-height: var(--lh-tight); } /* also outside the landing page (blog CTA) */
