/*
Theme Name: IMT2A Modern
Theme URI: https://imt-alumni.eu/
Author: IMT Atlantique Alumni
Description: Thème institutionnel moderne pour IMT Atlantique Alumni.
Version: 0.2.8
Requires at least: 6.5
Tested up to: 7.0
Requires PHP: 8.3
Text Domain: imt2a-modern
 */

.imtaa-account-request {
  display: grid;
  gap: 1rem;
  max-width: 760px;
  margin: 0 auto;
}

.imtaa-account-request__form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  padding: clamp(1.2rem, 3vw, 1.8rem);
  border: 1px solid var(--imt-line, #d8e3ec);
  border-radius: 8px;
  background: #ffffff;
}

.imtaa-account-request__form label {
  display: grid;
  gap: 0.35rem;
  color: var(--imt-navy, #14223c);
  font-weight: 760;
}

.imtaa-account-request__form input {
  width: 100%;
  min-height: 44px;
  padding: 0.65rem 0.75rem;
  border: 1px solid #c8d6e2;
  border-radius: 6px;
  color: var(--imt-navy, #14223c);
  background: #ffffff;
}

.imtaa-account-request__button {
  grid-column: 1 / -1;
  min-height: 46px;
  width: fit-content;
  padding: 0.75rem 1.15rem;
  border: 0;
  border-radius: 6px;
  color: #ffffff;
  background: var(--imt-cyan-2, #007c9c);
  font-weight: 820;
  cursor: pointer;
}

.imtaa-account-request__notice {
  padding: 1rem 1.1rem;
  border-radius: 8px;
}

.imtaa-account-request__notice p {
  margin: 0.35rem 0 0;
}

.imtaa-account-request__notice ul {
  margin-bottom: 0;
}

.imtaa-account-request__notice li {
  margin-bottom: 0.25rem;
}

.imtaa-account-request__match-name,
.imtaa-account-request__match-login {
  display: inline-block;
}

.imtaa-account-request__match-login {
  margin-left: 0.45rem;
  color: var(--imt-navy, #14223c);
  font-weight: 760;
}

.imtaa-account-request__notice--success {
  color: #145a34;
  background: #e8f7ed;
}

.imtaa-account-request__notice--warning {
  color: #6b4d00;
  background: #fff6dd;
}

.imtaa-account-request__notice--error {
  color: #8a1f2d;
  background: #ffe2e6;
}

@media (max-width: 700px) {
  .imtaa-account-request__form {
    grid-template-columns: 1fr;
  }
}

:root {
  --imt-navy: #14223C;
  --imt-navy-2: #14223C;
  --imt-text: #14223C;
  --imt-muted: #65728a;
  --imt-cyan: #00B8DE;
  --imt-cyan-2: #00B8DE;
  --imt-teal: #00B8DE;
  --imt-backoffice-green: #99cc99;
  --imt-line: #dfe9f0;
  --imt-bg: #f6fafc;
  --imt-soft: #eef7fb;
  --imt-white: #ffffff;
  --imt-shadow: 0 18px 50px rgb(20 34 60 / 10%);
  --imt-radius: 4px;
  --imt-max: 1490px;
  --imt-font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--imt-text);
  background: var(--imt-white);
  font-family: var(--imt-font);
  font-size: 16px;
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

.imt-icon {
  display: inline-block;
  flex: 0 0 auto;
  width: 1.25em;
  height: 1.25em;
  background: currentColor;
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
}

.imt-icon--logout {
  -webkit-mask-image: url("assets/images/icons/action-logout.svg");
  mask-image: url("assets/images/icons/action-logout.svg");
}

.imt-icon--search {
  -webkit-mask-image: url("assets/images/icons/action-search.svg");
  mask-image: url("assets/images/icons/action-search.svg");
}

.imt-icon--menu {
  -webkit-mask-image: url("assets/images/icons/action-menu.svg");
  mask-image: url("assets/images/icons/action-menu.svg");
}

button,
input {
  font: inherit;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.imt-container {
  width: min(calc(100% - 72px), var(--imt-max));
  margin-inline: auto;
}

.imt-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 46px;
  padding: 0.75rem 1.25rem;
  border: 1px solid var(--imt-cyan-2);
  border-radius: var(--imt-radius);
  color: var(--imt-cyan-2);
  background: var(--imt-white);
  font-weight: 750;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.imt-button:hover,
.imt-button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgb(0 184 222 / 18%);
}

.imt-button--primary {
  color: var(--imt-white);
  background: linear-gradient(135deg, var(--imt-cyan), var(--imt-cyan-2));
}

.imt-button--quiet {
  border-color: var(--imt-line);
  color: var(--imt-navy);
  background: var(--imt-white);
}

.imt-button--ghost-dark {
  color: var(--imt-white);
  border-color: rgb(255 255 255 / 55%);
  background: rgb(255 255 255 / 4%);
}

.imt-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--imt-cyan-2);
  font-size: 0.92rem;
  font-weight: 760;
}

.imt-link::after,
.imt-button::after {
  content: "→";
  font-weight: 800;
}

.imt-button--logout::after {
  content: none;
}

.imt2a-editor-media-actions {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 1rem;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid rgb(20 34 60 / 7%);
  background: rgb(255 255 255 / 94%);
  backdrop-filter: blur(16px);
}

.site-header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2.3rem;
  min-height: 99px;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: clamp(154px, 14vw, 190px);
}

.brand img {
  width: 100%;
  height: 78px;
  object-fit: contain;
  object-position: left center;
}

.site-nav {
  justify-self: center;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 2.05rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.site-nav li {
  position: relative;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  color: var(--imt-navy);
  font-size: 0.95rem;
  font-weight: 730;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--imt-cyan-2);
}

.site-nav .sub-menu {
  position: absolute;
  z-index: 20;
  top: 100%;
  left: -1rem;
  display: grid;
  min-width: 245px;
  gap: 0.2rem;
  padding: 0.65rem;
  border: 1px solid var(--imt-line);
  border-radius: 8px;
  background: var(--imt-white);
  box-shadow: var(--imt-shadow);
  opacity: 0;
  transform: translateY(4px);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.site-nav li:hover > .sub-menu,
.site-nav li:focus-within > .sub-menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.site-nav .sub-menu a {
  min-height: auto;
  padding: 0.65rem 0.75rem;
  border-radius: 6px;
  font-size: 0.9rem;
}

.site-nav .sub-menu a:hover {
  background: var(--imt-soft);
}

@media (min-width: 1181px) {
  .site-nav li.menu-item-has-children::after {
    content: "";
    display: block;
    position: absolute;
    pointer-events: auto;
  }

  .site-nav > ul > li.menu-item-has-children::after {
    top: 100%;
    right: -1rem;
    left: -1rem;
    height: 14px;
  }
}

.site-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  color: var(--imt-navy);
  font-size: 0.82rem;
  font-weight: 820;
  white-space: nowrap;
}

.language-switcher a {
  color: inherit;
}

.language-switcher a[aria-current="true"],
.language-switcher span[aria-current="true"],
.language-switcher .current-lang a {
  color: var(--imt-navy);
  font-weight: 920;
}

.language-switcher ul {
  display: inline-flex;
  gap: 0.28rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.language-switcher li + li::before {
  content: "|";
  margin-right: 0.28rem;
  color: var(--imt-navy);
}

.site-actions__search {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-right: 1px solid var(--imt-line);
  color: var(--imt-navy);
}

.site-actions .imt-button {
  min-height: 42px;
  padding-inline: 1rem;
  font-size: 0.88rem;
}

.site-nav__mobile-actions {
  display: none;
}

.mobile-toggle {
  display: none;
}

.site-footer {
  color: var(--imt-white);
  background: var(--imt-navy);
}

.footer-main {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 2.4rem;
  padding: 2.2rem 0 2.5rem;
}

.footer-brand,
.footer-cta {
  min-width: 0;
}

.footer-brand img {
  width: 174px;
  max-height: 112px;
  margin-bottom: 1.1rem;
  object-fit: contain;
  object-position: left center;
}

.footer-brand p,
.footer-bottom,
.footer-bottom a,
.footer-column a {
  color: rgb(255 255 255 / 72%);
}

.footer-column h2 {
  margin: 0 0 0.75rem;
  font-size: 0.86rem;
  text-transform: uppercase;
}

.footer-column ul {
  display: grid;
  gap: 0.32rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer-column a:hover {
  color: var(--imt-white);
}

.footer-bottom a:hover {
  color: var(--imt-white);
}

.footer-socials {
  display: flex;
  gap: 0.85rem;
  margin-bottom: 1.4rem;
  font-weight: 900;
}

.footer-cta {
  display: grid;
  gap: 0.85rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1.2rem;
  padding: 1rem 0 1.4rem;
  border-top: 1px solid rgb(255 255 255 / 14%);
  font-size: 0.82rem;
}

.page-hero {
  border-bottom: 1px solid var(--imt-line);
  background:
    linear-gradient(110deg, rgb(246 250 252 / 96%) 0 46%, rgb(238 247 251 / 96%) 46% 100%),
    radial-gradient(circle at 82% 0, rgb(0 184 222 / 18%), transparent 34%);
}

.page-hero__inner {
  padding: clamp(2.5rem, 5vw, 4.5rem) 0;
}

.page-kicker {
  margin: 0 0 0.85rem;
  color: var(--imt-teal);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-hero h1 {
  max-width: 820px;
  margin: 0;
  color: var(--imt-navy);
  font-size: clamp(2.35rem, 6vw, 4.7rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.page-content {
  padding: clamp(2.4rem, 5vw, 4.8rem) 0 clamp(4rem, 7vw, 6rem);
  background: var(--imt-white);
}

.page-content__article {
  max-width: 980px;
  margin-inline: auto;
  color: var(--imt-navy);
  font-size: 1.04rem;
}

.page-content__article > *:first-child {
  margin-top: 0;
}

.page-content__article > *:last-child {
  margin-bottom: 0;
}

.page-content__article h2,
.page-content__article h3,
.page-content__article h4 {
  color: var(--imt-navy);
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.page-content__article h2 {
  margin-top: 2.3rem;
  font-size: clamp(1.65rem, 3vw, 2.25rem);
}

.page-content__article h3 {
  margin-top: 1.9rem;
  font-size: 1.35rem;
}

.page-content__article p,
.page-content__article ul,
.page-content__article ol {
  margin-bottom: 1.15rem;
}

.page-content__article a {
  color: var(--imt-cyan-2);
  font-weight: 750;
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

.login-page-content {
  background: linear-gradient(180deg, #ffffff 0%, #f7fbfd 50%, #ffffff 100%);
}

.login-page {
  padding-bottom: clamp(3rem, 6vw, 5.5rem);
}

.login-hero {
  position: relative;
  display: grid;
  min-height: clamp(250px, 27vw, 334px);
  overflow: hidden;
  align-items: center;
  color: var(--imt-white);
  background:
    linear-gradient(105deg, #071d36 0 35%, rgb(7 29 54 / 80%) 35% 49%, rgb(7 29 54 / 4%) 49% 100%),
    var(--login-hero-image, url("assets/images/login-hero-campus.jpg")) center / cover no-repeat;
}

.login-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgb(20 34 60 / 0%) 42%, rgb(255 255 255 / 13%) 42% 43%, transparent 43% 100%),
    linear-gradient(300deg, rgb(20 34 60 / 28%) 0 16%, transparent 16% 100%);
  pointer-events: none;
}

.login-hero .wp-block-cover__background {
  display: none;
}

.login-hero .wp-block-cover__inner-container {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 72px), var(--imt-max));
  margin-inline: auto;
  padding: clamp(2.2rem, 5vw, 4.2rem) 0;
}

.login-hero h1 {
  max-width: 580px;
  margin: 0;
  color: var(--imt-white);
  font-size: clamp(2.1rem, 4.8vw, 3.7rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.login-hero h1::after {
  content: "";
  display: block;
  width: 62px;
  height: 4px;
  margin: 1.15rem 0 1rem;
  background: var(--imt-cyan);
}

.login-hero p {
  max-width: 520px;
  margin: 0;
  color: rgb(255 255 255 / 90%);
  font-size: clamp(1rem, 1.6vw, 1.25rem);
}

.login-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.92fr);
  gap: clamp(2rem, 4vw, 4rem);
  width: min(calc(100% - 72px), 1190px);
  margin: clamp(2.6rem, 4vw, 3.8rem) auto 0;
  padding: clamp(1.2rem, 2.5vw, 1.8rem);
  border: 1px solid var(--imt-line);
  border-radius: var(--imt-radius);
  background: var(--imt-white);
  box-shadow: 0 18px 50px rgb(20 34 60 / 7%);
}

.login-main__form {
  min-width: 0;
}

.login-benefits {
  display: grid;
  align-content: start;
  gap: 1.35rem;
  padding: 0.45rem 0 0.45rem clamp(1.4rem, 3vw, 2.35rem);
  border-left: 1px solid var(--imt-line);
}

.login-benefits > * {
  margin-block: 0;
}

.login-benefits h2 {
  margin: 0 0 0.25rem;
  color: var(--imt-navy);
  font-size: clamp(1.4rem, 2.6vw, 1.85rem);
  line-height: 1.15;
  letter-spacing: 0;
}

.login-benefit {
  display: grid !important;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 1.15rem;
  align-items: center;
  justify-items: start;
  max-width: 430px;
}

.login-benefit > .wp-block-group {
  min-width: 0;
  margin: 0;
}

.login-benefit h3 {
  margin: 0 0 0.25rem;
  color: var(--imt-navy);
  font-size: 1.02rem;
  line-height: 1.35;
  letter-spacing: 0;
}

.login-benefit p {
  margin: 0;
  color: #2a3852;
  font-size: 0.95rem;
  line-height: 1.55;
}

.login-benefit__icon,
.login-security__icon {
  position: relative;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  margin: 0;
  border-radius: 50%;
  color: var(--imt-cyan-2);
  background-color: #eef7fb;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 28px 28px;
}

.login-benefit__icon img,
.login-security__icon img {
  display: block;
  width: 28px;
  height: 28px;
}

.login-security {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  width: min(calc(100% - 72px), 1190px);
  margin: clamp(1.8rem, 3vw, 2.4rem) auto 0;
  min-height: 116px;
  padding: 1.45rem 1.75rem;
  border-radius: var(--imt-radius);
  background: linear-gradient(100deg, #f6faff 0%, #edf6fb 100%);
  box-shadow: 0 18px 46px rgb(2 35 70 / 7%);
}

.login-security > * {
  margin-block: 0;
}

.login-security .login-security__icon {
  flex: 0 0 58px;
  color: var(--imt-cyan-2);
  background-color: var(--imt-white);
  box-shadow: 0 10px 26px rgb(2 35 70 / 7%);
}

.login-security > .wp-block-group:not(.login-security__icon) {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
}

.login-security h2,
.login-help h2 {
  margin: 0 0 0.35rem;
  color: var(--imt-navy);
  font-size: 1.08rem;
  letter-spacing: 0;
}

.login-security > .wp-block-group p,
.login-help p {
  margin: 0;
  color: #2a3852;
  font-size: 0.95rem;
}

.login-security .imt-link {
  flex: 0 0 auto;
  justify-self: end;
  margin: 0 0 0 auto;
  white-space: nowrap;
}

.login-help {
  width: min(calc(100% - 72px), 620px);
  margin: 2rem auto 0;
  padding: 1.35rem;
  text-align: center;
}

.login-help a {
  color: var(--imt-cyan-2);
  font-weight: 820;
}

.imtaa-login-card {
  width: 100%;
  margin-inline: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: var(--imt-white);
  box-shadow: none;
}

.imtaa-login-card__eyebrow {
  margin: 0 0 0.55rem;
  color: var(--imt-teal);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.imtaa-login-card h2 {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 0.85rem;
  align-items: center;
  margin: 0 0 1.8rem;
  color: var(--imt-navy);
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
  line-height: 1.2;
  letter-spacing: 0;
}

.imtaa-login-card h2::before {
  content: "";
  display: block;
  width: 36px;
  height: 36px;
  background: url("assets/images/icon-login-account.svg") center / contain no-repeat;
}

.imtaa-login-card__field {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 1rem;
  color: var(--imt-navy);
  font-weight: 750;
}

.imtaa-login-card__field input {
  width: 100%;
  min-height: 48px;
  padding: 0.78rem 0.9rem;
  border: 1px solid var(--imt-line);
  border-radius: var(--imt-radius);
  background: var(--imt-white);
  color: var(--imt-navy);
}

.imtaa-login-card__field input:focus {
  border-color: var(--imt-cyan-2);
  outline: 3px solid rgb(0 184 222 / 18%);
}

.imtaa-login-card__password {
  position: relative;
  display: block;
}

.imtaa-login-card__password input {
  padding-right: 3.2rem;
}

.imtaa-login-card__password-toggle {
  position: absolute;
  top: 50%;
  right: 0.6rem;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  padding: 0;
  border: 0;
  color: var(--imt-muted);
  background: transparent;
  cursor: pointer;
  transform: translateY(-50%);
}

.imtaa-login-card__password-toggle:hover,
.imtaa-login-card__password-toggle:focus-visible,
.imtaa-login-card__password-toggle[aria-pressed="true"] {
  color: var(--imt-cyan-2);
}

.imtaa-login-card__options {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin: 0.5rem 0 1.35rem;
}

.imtaa-login-card__remember {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--imt-muted);
  font-weight: 650;
}

.imtaa-login-card__remember input {
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--imt-cyan-2);
}

.imtaa-login-card__forgotten {
  display: grid;
  gap: 0.25rem;
  justify-items: end;
  font-size: 0.88rem;
  font-weight: 800;
}

.imtaa-login-card__forgotten a,
.imtaa-login-card__join a {
  color: var(--imt-cyan-2);
}

.imtaa-login-card__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.2rem;
  border: 1px solid var(--imt-cyan-2);
  border-radius: var(--imt-radius);
  background: var(--imt-cyan-2);
  color: var(--imt-white);
  font-weight: 850;
  text-decoration: none !important;
  cursor: pointer;
}

.imtaa-login-card__button:hover,
.imtaa-login-card__button:focus-visible {
  background: var(--imt-navy);
  border-color: var(--imt-navy);
}

.imtaa-login-card .imtaa-login-card__button {
  width: 100%;
}

.imtaa-login-card__link {
  display: inline-flex;
  margin-left: 1rem;
  color: var(--imt-cyan-2);
  font-weight: 800;
}

.imtaa-login-card__help {
  margin: 1.2rem 0 0;
  color: var(--imt-muted);
  font-size: 0.94rem;
}

.imtaa-login-card__join {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.15rem;
  color: var(--imt-navy);
  font-size: 0.92rem;
}

.imtaa-login-card__join a {
  font-weight: 850;
}

.imtaa-login-card__error {
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid #f3b7b7;
  border-radius: var(--imt-radius);
  background: #fff2f2;
  color: #8a1f1f;
  font-weight: 750;
}

@media (max-width: 1180px) {
  .site-header__inner {
    grid-template-columns: auto auto;
  }

  .site-actions {
    display: none;
  }

  .site-nav {
    position: fixed;
    inset: 78px 16px auto 16px;
    display: none;
    max-height: calc(100vh - 98px);
    overflow: auto;
    padding: 1rem;
    border: 1px solid var(--imt-line);
    border-radius: 10px;
    background: var(--imt-white);
    box-shadow: var(--imt-shadow);
  }

  body.imt-nav-open .site-nav {
    display: block;
  }

  .site-nav__mobile-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.65rem;
    padding-top: 0.9rem;
    margin-top: 0.9rem;
    border-top: 1px solid var(--imt-line);
  }

  .site-nav ul {
    display: grid;
    gap: 0.25rem;
  }

  .site-nav a {
    width: 100%;
    justify-content: space-between;
  }

  .site-nav .sub-menu {
    position: static;
    display: grid;
    min-width: 0;
    padding: 0.15rem 0 0.5rem 1rem;
    border: 0;
    box-shadow: none;
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .login-main {
    grid-template-columns: 1fr;
  }

  .login-benefits {
    padding: 1.7rem 0 0;
    border-top: 1px solid var(--imt-line);
    border-left: 0;
  }

  .login-security {
    flex-wrap: wrap;
  }

  .login-security .imt-link {
    flex-basis: 100%;
    justify-self: start;
    margin-left: calc(58px + 1.25rem);
  }

  .mobile-toggle {
    display: inline-grid;
    width: 46px;
    height: 46px;
    place-items: center;
    justify-self: end;
    border: 1px solid var(--imt-line);
    border-radius: var(--imt-radius);
    color: var(--imt-navy);
    background: var(--imt-white);
  }

  .footer-main {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 780px) {
  .imt-container {
    width: min(calc(100% - 32px), var(--imt-max));
  }

  .site-header__inner {
    min-height: 78px;
  }

  .brand {
    width: 136px;
  }

  .brand img {
    height: 62px;
  }

  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .page-hero__inner {
    padding: 2.35rem 0;
  }

  .login-hero {
    min-height: 280px;
    background:
      linear-gradient(100deg, #071d36 0 54%, rgb(7 29 54 / 72%) 54% 100%),
      var(--login-hero-image, url("assets/images/login-hero-campus.jpg")) center / cover no-repeat;
  }

  .login-hero .wp-block-cover__inner-container,
  .login-main,
  .login-security,
  .login-help {
    width: min(calc(100% - 32px), var(--imt-max));
  }

  .login-main {
    padding: 1.15rem;
  }

  .login-benefit {
    grid-template-columns: 50px minmax(0, 1fr);
  }

  .login-benefit__icon,
  .login-security__icon {
    width: 50px;
    height: 50px;
    background-size: 24px 24px;
  }

  .login-security {
    align-items: flex-start;
    padding: 1.25rem;
  }

  .login-security .imt-link {
    justify-self: start;
    margin-left: 0;
    white-space: normal;
  }

  .imtaa-login-card__options,
  .imtaa-login-card__join {
    flex-direction: column;
    align-items: flex-start;
  }

  .imtaa-login-card__forgotten {
    justify-items: start;
  }

}
