@import url('https://fonts.googleapis.com/css2?family=Jost:wght@300;400;500;600;700;800&display=swap');

.page-template-equality-login .entry-content,
.page-template-equality-login .site-main,
.page-template-equality-login #primary,
.page-template-equality-login .ast-container,
.page-template-equality-login #content > .ast-container {
  display: block !important;
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
}
.page-template-equality-login .entry-header,
.page-template-equality-login .ast-article-single .entry-header,
.page-template-equality-login .site-footer,
.page-template-equality-login .ast-footer-overlay { display: none !important; }
.page-template-equality-login .ast-article-single,
.page-template-equality-login article { padding: 0 !important; margin: 0 !important; max-width: 100% !important; }
.page-template-equality-login .site-content { padding-top: 0 !important; }

* { box-sizing: border-box; }

.eq-access-page {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  font-family: 'Jost', sans-serif;
  background:
    linear-gradient(120deg, rgba(31,36,74,0.92) 0%, rgba(63,67,169,0.88) 60%, rgba(44,53,146,0.92) 100%),
    url('/wp-content/uploads/2020/10/se-fundo-scaled.png') center/cover no-repeat;
}

.eq-access-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(242,194,0,0.18), transparent 35%),
    radial-gradient(circle at 85% 80%, rgba(84,200,239,0.22), transparent 40%);
  pointer-events: none;
}

.eq-access-topbar {
  position: relative;
  z-index: 2;
  padding: 18px 24px 0;
}

.eq-back-site {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.22);
  padding: 10px 16px;
  border-radius: 999px;
}
.eq-back-site:hover { background: rgba(255,255,255,0.2); }

.eq-access-container {
  position: relative;
  z-index: 2;
  max-width: 1120px;
  margin: 18px auto 0;
  padding: 10px 24px 64px;
}

.eq-access-brand {
  text-align: center;
  color: #fff;
  margin-bottom: 28px;
}
.eq-access-logo {
  max-height: 72px;
  width: auto;
  border-radius: 12px;
  background: rgba(255,255,255,0.98);
  padding: 6px 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  margin-bottom: 14px;
}
.eq-access-brand h1 { font-size: 42px; font-weight: 800; margin: 0 0 6px; }
.eq-access-brand p { font-size: 16px; opacity: .86; margin: 0; }

.eq-access-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.eq-access-card {
  border: 1px solid rgba(255,255,255,0.28);
  background: linear-gradient(180deg, rgba(255,255,255,0.16), rgba(255,255,255,0.08));
  border-radius: 18px;
  padding: 18px;
  color: #fff;
  text-align: left;
  cursor: pointer;
  transition: .25s ease;
  min-height: 240px;
  display: flex;
  flex-direction: column;
}
.eq-access-card:hover {
  transform: translateY(-4px);
  background: linear-gradient(180deg, rgba(255,255,255,0.20), rgba(255,255,255,0.12));
  box-shadow: 0 10px 26px rgba(0,0,0,0.28);
}
.eq-access-vector {
  height: 100px;
  border-radius: 14px;
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(255,255,255,0.10) 0%, var(--card-color) 100%);
  border: 1px solid rgba(255,255,255,0.26);
}
.eq-access-vector i {
  font-size: 44px;
  color: #fff;
  text-shadow: 0 3px 10px rgba(0,0,0,0.28);
}
.eq-access-card strong { display: block; font-size: 24px; margin-bottom: 8px; line-height: 1.1; }
.eq-access-card small { color: rgba(255,255,255,0.88); line-height: 1.35; font-size: 15px; margin-top: auto; }

.eq-access-footnote {
  text-align: center;
  color: rgba(255,255,255,0.92);
  margin-top: 16px;
  font-size: 14px;
}
.eq-access-footnote strong { color: #F2C200; }

/* MODAL */
.eq-login-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: .22s ease;
}
.eq-login-modal.active { opacity: 1; visibility: visible; }
.eq-login-modal-backdrop { position: absolute; inset: 0; background: rgba(8,10,26,0.72); backdrop-filter: blur(6px); }

.eq-login-modal-box {
  position: relative;
  z-index: 2;
  width: min(520px, calc(100% - 28px));
  background: #fff;
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}

.eq-login-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(31,36,74,0.16) !important;
  border-radius: 10px !important;
  cursor: pointer;
  background: #ffffff !important;
  color: #1f244a !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(10,18,50,0.12);
  transition: .2s ease;
}
.eq-login-modal-close:hover {
  transform: translateY(-1px);
  background: #f5f7ff !important;
  color: #3F43A9 !important;
}

.eq-login-modal-head span {
  display: inline-block;
  background: #EEF1FF;
  color: #2A2F63;
  padding: 7px 12px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .4px;
  margin-bottom: 10px;
}
.eq-login-modal-head h2 { margin: 0; color: #222A58; font-size: 28px; font-weight: 800; }
.eq-login-modal-head p { margin: 8px 0 0; color: #5E6796; }

.eq-login-error {
  margin-top: 16px;
  padding: 12px 14px;
  background: #fff2f2;
  color: #c82e2e;
  border: 1px solid #ffc9c9;
  border-radius: 10px;
  font-size: 14px;
}

.eq-login-form { margin-top: 16px; }
.eq-field { margin-bottom: 14px; }
.eq-field label { display: block; margin-bottom: 6px; color: #364174; font-weight: 600; font-size: 13px; }
.eq-field input {
  width: 100%;
  border: 1px solid #dde3ff;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 15px;
  outline: none;
}
.eq-field input:focus { border-color: #54C8EF; box-shadow: 0 0 0 3px rgba(84,200,239,0.18); }

.eq-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin: 8px 0 16px;
  font-size: 13px;
}
.eq-row a { color: #3F43A9; text-decoration: none; }
.eq-remember { display: inline-flex; align-items: center; gap: 6px; color: #556096; }

.eq-login-submit {
  width: 100%;
  border: none;
  border-radius: 12px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  padding: 14px 16px;
  cursor: pointer;
  background: linear-gradient(135deg,#F2C200,#2A2F63);
}

@media (max-width: 980px) {
  .eq-access-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .eq-access-brand h1 { font-size: 30px; }
  .eq-access-grid { grid-template-columns: 1fr; }
  .eq-login-modal-box { padding: 20px; }
  .eq-row { flex-direction: column; align-items: flex-start; }
  .eq-access-card strong { font-size: 20px; }
  .eq-access-card small { font-size: 14px; }
}