/* SAT18B FINAL-10B: dedicated HUB CSS for post 18093. */

.apl-psytest {
  --apl-white: #fff;
  --apl-ink: #ffffff;
  --apl-muted: #cbd9ec;
  --apl-soft: #a9c5e8;
  --apl-accent: #0094ff;
  --apl-accent-open: #0061a7;
  --apl-h2-border: #21539e;
  --apl-panel: linear-gradient(to bottom, #080427, #070d2d, #051434, #031a3a, #001f41);
  --apl-button: linear-gradient(135deg, #00477a 0%, #005893 46%, #003066 100%);
  --apl-button-hover: linear-gradient(135deg, #005893 0%, #0072bc 48%, #003c7d 100%);
  --apl-faq-bg: #010e20;
  --apl-faq-divider: #1e3a8a;
  color: var(--apl-ink);
  box-sizing: border-box;
}

.apl-psytest *,
.apl-psytest *::before,
.apl-psytest *::after {
  box-sizing: border-box;
}

.apl-psytest [id] {
  scroll-margin-top: 80px;
}

.apl-psytest p,
.apl-psytest li,
.apl-psytest dd {
  color: var(--apl-ink);
  line-height: 1.75;
}

.apl-psytest a {
  overflow-wrap: anywhere;
}

.apl-psytest h2.H2Post-Gray-NAlign {
  margin: 120px auto 30px;
  padding: 0 0 10px;
  border-bottom: 2px solid var(--apl-h2-border);
  color: var(--apl-white);
  font-size: 26px;
  font-weight: 500;
  line-height: 1.35;
}

.apl-psytest h3.H3Post-Gray-NAlign {
  margin: 32px 0 14px;
  padding: 0;
  color: #f2f5f8;
  font-size: 21px;
  font-weight: 500;
  line-height: 1.45;
  text-align: left;
}

/* Espaciado exacto P1 → TOC principal.
   El shortcode aporta 28px inferiores y este wrapper agrega 92px:
   28 + 92 = 120px desktop.
   No usar [break] para esta compensación. */
.apl-psytest .apl-psytest-postad-toc-gap {
  padding-top: 92px;
}

.apl-psytest .apl-psytest-postad-toc-gap > .apl-mini-toc {
  margin-top: 0;
}

.apl-psytest .apl-mini-toc {
  background-image: var(--apl-panel);
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px rgba(33, 83, 158, .38);
  overflow: hidden;
  padding: 0;
  margin: 15px 0 0;
  letter-spacing: .01em;
}

.apl-psytest .apl-mini-toc-title {
  margin: 0;
  padding: 18px 22px;
  border-bottom: 1px solid rgba(33, 83, 158, .58);
  color: var(--apl-soft);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.apl-psytest .apl-mini-toc ul,
.apl-psytest .apl-mini-toc ol {
  display: grid;
  margin: 0 !important;
  padding: 0 !important;
}

.apl-psytest .apl-mini-toc li {
  list-style: none;
  margin: 0;
  border-bottom: 1px solid rgba(33, 83, 158, .28);
}

.apl-psytest .apl-mini-toc li:last-child {
  border-bottom: 0;
}

.apl-psytest .apl-mini-toc a {
  display: block;
  padding: 13px 22px;
  color: var(--apl-ink) !important;
  font-size: 15px;
  line-height: 1.45;
  font-weight: 500;
  text-decoration: none !important;
  border-bottom: 0;
}

.apl-psytest .apl-mini-toc a:hover {
  background: rgba(0, 148, 255, .08);
  text-decoration: none !important;
}

.apl-psytest .psi-faq {
  margin-top: 35px;
}

.apl-psytest .psi-faq details {
  margin: 20px 0;
  border-radius: 10px;
  background: var(--apl-faq-bg);
  overflow: hidden;
  border: 0;
  transition: border-color .2s, box-shadow .2s;
}

.apl-psytest .psi-faq details[open] {
  box-shadow: 0 2px 8px rgb(0 0 0 / .12);
}

.apl-psytest .psi-faq summary {
  display: block;
  list-style: none;
  cursor: pointer;
  position: relative;
  padding: 14px 18px 14px 44px;
  border: 1px solid #003a67;
  border-radius: 8px;
  font-weight: 500;
  color: var(--apl-white);
  background: linear-gradient(180deg, #00477a 0%, #003b68 100%);
  user-select: none;
  font-family: "Segoe UI", Tahoma, sans-serif !important;
  line-height: 1.45;
}

.apl-psytest .psi-faq summary strong {
  font-weight: 500;
}

.apl-psytest .psi-faq summary::-webkit-details-marker,
.apl-psytest .psi-faq summary::marker {
  display: none;
}

.apl-psytest .psi-faq summary::before {
  content: "➤";
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%) rotate(0);
  color: #18a8ff;
  transition: transform .25s, color .2s;
}

.apl-psytest .psi-faq details[open] summary::before {
  transform: translateY(-50%) rotate(90deg);
  color: var(--apl-accent-open);
}

.apl-psytest .psi-faq summary:hover {
  background: linear-gradient(180deg, #005893 0%, #00477a 100%);
}

.apl-psytest .psi-faq summary:focus-visible {
  outline: var(--apl-accent) solid 2px;
  outline-offset: 2px;
}

.apl-psytest .psi-faq details > :not(summary) {
  padding: 14px 16px 16px;
  border-top: 1px solid var(--apl-faq-divider);
  background: var(--apl-faq-bg);
  color: var(--apl-white);
  line-height: 1.6;
}

.apl-psytest .psi-faq p {
  margin: 0;
  color: var(--apl-white);
}

.apl-psytest .psi-faq ul,
.apl-psytest .psi-faq ol {
  margin: 10px 0 0 !important;
  padding-left: 35px !important;
}

.apl-psytest .psi-faq li {
  margin: 0 0 10px;
}

.apl-psytest .psi-faq a {
  color: var(--apl-white);
  border-bottom: 1px dotted;
  text-decoration: none;
}

.apl-psytest .psi-faq a:hover {
  color: var(--apl-accent);
  border-bottom-color: var(--apl-accent);
  text-decoration: none;
}

.apl-psytest .apl-study-review {
  display: block;
  margin: 2rem 0;
  padding: 18px 22px;
  border: 1px solid var(--apl-h2-border);
  border-radius: 8px;
  background: rgba(1, 14, 32, .6);
  color: var(--apl-white);
  font-size: 15px;
  font-style: normal;
  line-height: 1.75;
}

.apl-psytest .apl-study-review {
  display: block;
  margin: 2rem 0;
  padding: 18px 22px;
  border: 1px solid var(--apl-h2-border);
  border-radius: 8px;
  background: rgba(1, 14, 32, .6);
  color: var(--apl-white);
  font-size: 15px;
  font-style: normal;
  line-height: 1.75;
}

@media (min-width: 721px) { .apl-psytest .psi-faq summary { font-size: 19px; } }
@media (max-width: 720px) { .apl-psytest .psi-faq summary { font-size: 18px; } }
@media screen and (max-width: 540px) { .apl-psytest .apl-study-review { padding: 16px 18px; } }
@media (max-width: 420px) { .apl-psytest .apl-study-review { padding: 15px; } }
@media (prefers-reduced-motion: reduce) { .apl-psytest .psi-faq summary, .apl-psytest .psi-faq summary::before { transition: none !important; } }

/* Exact terminal styles migrated from the authoritative HUB baseline. */

#como-descargar,#descargar,#faq,#directorio-pruebas,#aptitudes,#personality,#laboral-organizacional-seleccion,#clinical,#child,#language,#projective,#social,#functional,#related{scroll-margin-top:90px}
.apl-titlesh2{margin:75px auto 30px;font-size:26px;color:#fff;padding-bottom:10px;border-bottom:2px solid #21539e}
.apl-titlesh3{font-size:21.5px;margin-bottom:5px}
.apl-steps{margin:0 0 0 18px;padding:0}
.apl-steps li{margin:0 0 20px;line-height:1.5}


.apl-psytest-hub__resource-list a{border-bottom:0!important;text-decoration:none!important}
.apl-study-review a{font-size:inherit!important;line-height:inherit!important}

#directorio-pruebas{padding-top:75px}
#directorio-pruebas > #directorio-pruebas-title{margin-top:0!important}
