/* ============================================================
   AMI-STYLES.CSS — Amígdala
   tutor-starter-child/ami-styles.css
   ============================================================ */

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


/* ===== RESET GLOBAL ===== */
html, body {
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}


/* ===== NAVBAR ===== */
.navbar-brand {
  height: auto !important;
  max-height: none !important;
  padding: 5px 0 !important;
}
.navbar-brand img {
  height: 43px !important;
  width: auto !important;
  max-width: none !important;
  max-height: none !important;
}
#menu-item-354 a {
  background: #0b337b !important;
  color: #ffffff !important;
  border-radius: 999px !important;
  padding: 8px 22px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  font-family: 'Inter', sans-serif !important;
  text-decoration: none !important;
}
#menu-item-354 a:hover { background: #092970 !important; }
.logged-in #menu-item-354 { display: none !important; }
.navbar.navbar-center { justify-content: space-between !important; }
.navbar.navbar-center .navbar-nav {
  display: flex !important;
  flex: 1 !important;
  justify-content: flex-end !important;
}
.header-default { position: relative !important; }
#menu-item-354 {
  position: absolute !important;
  right: 24px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
}


/* ===== RESET HOME ===== */
.home main,
.home .entry-content,
.home .wp-site-blocks,
.home .is-layout-constrained {
  max-width: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
.home .entry-title,
.home .page-title { display: none !important; }
.home .entry-header,
.home .page-header { display: none !important; }
.home .entry-content,
.home main {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}
.home .entry-content > p:empty,
.home .entry-content p:last-child:empty {
  display: none !important;
  padding: 0 !important;
  margin: 0 !important;
}


/* ===== HERO ===== */
.ami-hero {
  font-family: 'Inter', sans-serif;
  background-color: #e8e8e5;
  background-image: url('https://amigdala.mx/wp-content/uploads/2026/03/trigeminal-nerve_page-0001.jpg');
  background-repeat: no-repeat;
  background-position: right center;
  background-size: cover;
  min-height: 100vh !important;
  display: flex;
  align-items: center !important;
  padding: 0 90px !important;
  box-sizing: border-box;
  width: 100vw !important;
  position: relative !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  margin-bottom: 0 !important;
}
.ami-hero__content { max-width: 520px; }
.ami-hero__tag {
  font-size: 13px !important;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #e8e8e5;
  background: #e8f0fb;
  display: inline-block;
  padding: 8px 20px !important;
  border-radius: 20px;
  margin: 0 0 20px 0;
}
.ami-hero__title {
  font-size: clamp(36px, 4.5vw, 58px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin: 0 0 18px 0;
}
.ami-hero__sub {
  font-size: 18px;
  color: #6b7280;
  line-height: 1.6;
  margin: 0 0 36px 0;
}
.ami-hero__btn {
  display: inline-block;
  background: #0b337b;
  color: #ffffff !important;
  border-radius: 999px;
  padding: 15px 36px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease;
}
.ami-hero__btn:hover { background: #092970; }

@media (max-width: 768px) {
  .ami-hero {
    padding: 60px 28px 320px 28px !important;
    background-size: cover;
    background-position: center right;
    min-height: auto !important;
  }
  .ami-hero__title { font-size: 36px; }
}


/* ===== FOOTER ===== */
#colophon,
.site-footer {
  background: #f8f9fc !important;
  border-top: 1px solid #e5e7eb !important;
  padding: 24px 90px !important;
  font-family: 'Inter', sans-serif !important;
}
#colophon .container,
.site-footer .container {
  max-width: none !important;
  padding: 0 !important;
}
#colophon .row,
.site-footer .row {
  margin: 0 !important;
  justify-content: center !important;
}
.site-footer .copyright {
  color: #6b7280 !important;
  font-size: 13px !important;
}
.site-footer .pt-2,
.site-footer .pb-2 {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
.site-footer .copyright-container { text-align: center !important; }


/* ===== LOGIN PAGE ===== */
.ami-login-body {
  margin: 0;
  padding: 0;
  background: #f3f4f6;
}

.ami-login-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  box-sizing: border-box;
}

.ami-login-page {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  width: 100%;
  max-width: 900px;
  box-shadow: 0 4px 32px rgba(0,0,0,0.08);
}

.ami-login-left {
  background: #0b337b;
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  min-height: 520px;
}

.ami-login-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ami-login-brand__icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 1.5px solid rgba(255,255,255,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ami-login-brand__name {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ami-login-left__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem 0;
}

.ami-login-left__tagline {
  font-size: 26px;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.3;
  margin: 0 0 1rem 0;
}

.ami-login-left__sub {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
  margin: 0 0 2rem 0;
}

.ami-login-dots {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  opacity: 0.12;
  max-width: 120px;
}

.ami-login-dots span {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #fff;
  display: block;
}

.ami-login-right {
  background: #f3f4f6;
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ami-login-logo {
  margin-bottom: 32px;
}

.ami-login-logo span {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #0b337b;
  letter-spacing: 0.5px;
}

.ami-login-title {
  font-size: 20px;
  font-weight: 600;
  color: #111827;
  margin: 0 0 6px 0;
  line-height: 1.2;
}

.ami-login-sub {
  font-size: 13px;
  color: #888885;
  margin: 0 0 24px 0;
}

.ami-login-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: #888885;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.ami-login-field { margin-bottom: 14px; }

.ami-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.ami-input-icon {
  position: absolute;
  left: 14px;
  pointer-events: none;
}

.ami-login-input {
  width: 100%;
  background: #2c2c2a;
  border: 1.5px solid #3d3d3b;
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  color: #ffffff;
  outline: none;
  transition: border 0.2s;
  box-sizing: border-box;
}

.ami-input-icon-pad { padding-left: 42px !important; }
.ami-login-input::placeholder { color: #555553; }
.ami-login-input:focus { border-color: #6b9ff8; }

.ami-login-forgot {
  font-size: 12px;
  color: #666663;
  text-decoration: none;
  display: block;
  text-align: right;
  margin: 4px 0 20px 0;
}

.ami-login-btn {
  width: 100%;
  background: #3a3a38;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 13px;
  font-size: 14px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: opacity 0.2s;
}
.ami-login-btn:hover { opacity: 0.88; }

.ami-login-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 1.25rem 0;
}
.ami-login-divider span {
  font-size: 10px;
  color: #555553;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.ami-login-divider__line {
  flex: 1;
  height: 0.5px;
  background: #3a3a38;
}

.ami-login-secure {
  font-size: 11px;
  color: #555553;
  text-align: center;
  line-height: 1.5;
  margin: 0;
}
.ami-login-secure strong {
  color: #aaaaaa;
  font-weight: 500;
}

.ami-login-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 13px;
  color: #dc2626;
  margin-bottom: 16px;
}

.ami-login-success {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 13px;
  color: #15803d;
  margin-bottom: 16px;
}

@media (max-width: 768px) {
  .ami-login-wrapper { padding: 1rem; align-items: flex-start; }
  .ami-login-page { grid-template-columns: 1fr; }
  .ami-login-left { min-height: auto; padding: 2rem 1.5rem; }
  .ami-login-left__tagline { font-size: 20px; }
  .ami-login-right { padding: 2rem 1.5rem; }
}

/* ===== TUTOR LMS NAV ===== */
.tutor-nav li:nth-child(2),
.tutor-nav li:nth-child(3) { display: none !important; }


/* ===== VISOR RM (page-id-1168) ===== */
#site-content,
.page-id-1168 .entry-content,
.page-id-1168 .site-main {
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  background: #080c12 !important;
}
.page-id-1168 .entry-content,
.page-id-1168 .site-main,
.page-id-1168 #content,
.page-id-1168 #site-content {
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}
.page-id-1168 { background: #080c12 !important; }
