:root {
  --brand-violet: #16446c;
  --brand-cyan: #78c1d0;
  --brand-indigo: #0b3b66;
  --brand-dark: #062f51;
  --brand-muted: #4a6070;
  --brand-surface: #f0f6fa;
  --brand-border: #d9e4ec;
  --brand-light: #f7fafc;
  --gradient-hero: linear-gradient(120deg, #f4f8fb, #e9f4fa);
  --gradient-rainbow: linear-gradient(135deg, #0b3b66, #76bdc7);
}
body {
  background: #fff;
  color: #183c59;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
}
.apt-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.apt-main {
  flex: 1;
}
.apt-header {
  background: #fff;
  box-shadow: 0 1px 12px #173b5214;
}
.apt-header__logo {
  display: flex;
}
.apt-header__logo img {
  width: 100%;
  height: 135px;
  object-fit: contain;
}
.apt-header__logo .custom-logo-link {
  display: block;
}
.apt-nav__list a {
  color: #103f65;
}
.ctat-login {
  display: inline-flex;
  border: 1px solid #0d466f;
  padding: 10px 18px;
  border-radius: 10px;
  color: #0d466f;
  text-decoration: none;
  font-weight: 700;
}
.apt-footer {
  background: #062f51;
  color: #fff;
}
.ctat-footer-logo {
  display: inline-flex;
  border-radius: 7px;
  padding: 8px;
  max-width: 235px;
}
.ctat-footer-logo img {
  width: 100%;
  height: auto;
}
.ctat-footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 23px;
}
.ctat-footer-nav a,
.apt-footer a {
  color: #fff;
}
.apt-footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}
.ctat-page {
  padding-top: 52px;
  padding-bottom: 70px;
}
.ctat-page h1 {
  color: #0c426e;
}
.ctat-page-content {
  min-height: 150px;
}
.ctat-hero p:not(.ctat-kicker) {
  max-width: 610px;
  font-size: 1.1rem;
  line-height: 1.65;
}
.ctat-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 26px;
}
.ctat-btn {
  background: #0b466f;
  border: 2px solid #0b466f;
  padding: 13px 21px;
  font-weight: 800;
}
.ctat-btn:hover {
  background: #146c95;
}
.ctat-btn-outline:hover {
  color: white !important;
}
.ctat-hero-illustration {
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.ctat-ring {
  border: 14px solid var(--cta-primary);
  border-radius: 50%;
  height: 265px;
  width: 265px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 24px 60px #093b6326;
}
.ctat-ring-person {
  font-size: 8rem;
  color: #f9ae13;
}
.ctat-dot {
  position: absolute;
  width: 40px;
  height: 40px;
  border: 6px solid white;
  border-radius: 50%;
}
.ctat-dot-1 {
  background: #1eab42;
  top: 50%;
  left: -24px;
}
.ctat-dot-2 {
  background: #e1001e;
  top: 12%;
  right: -12px;
}
.ctat-dot-3 {
  background: #dd007e;
  bottom: 0;
  left: 6%;
}
.ctat-dot-4 {
  background: #efac11;
  top: 0;
  left: 45%;
}
.ctat-dot-5 {
  background: var(--cta-primary);
  bottom: 0;
  right: 0;
}
.ctat-float-label {
  position: absolute;
  bottom: 10px;
  right: 12px;
  background: white;
  border-radius: 30px;
  padding: 10px 20px;
  font-weight: 800;
  color: #0c426e;
  box-shadow: 0 9px 30px #103b6625;
}
.ctat-section {
  padding-top: 72px;
  padding-bottom: 78px;
}
.ctat-section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}
.ctat-section h2 {
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  margin: 0;
  color: var(--cta-primary);
  letter-spacing: -.035em;
}
.ctat-text-link {
  font-weight: 800;
}
.ctat-category-grid {
  display: flex;
  gap: 15px;
  flex-direction: row;
  flex-wrap: wrap;
  --cta-track-gap: 15px;
}
.ctat-category-grid > * { flex: 0 1 calc((100% - 3 * var(--cta-track-gap, 0px)) / 4); min-width: 0; }
.ctat-category {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  min-height: 210px;
  padding: 23px;
  border: 1px solid #dbe7ec;
  border-radius: 14px;
  color: var(--cta-primary);
  text-decoration: none;
  background: #f8fbfd;
}
.ctat-category h3 {
  margin: 0;
  font-size: 1.32rem;
}
.ctat-category>span:first-child {
  font-size: 2rem;
}
.ctat-highlight {
  background: #f2f7fa;
}
.ctat-highlight .cta-card {
  border: 1px solid #d9e6ed;
}
.ctat-join {
  padding: 75px 20px;
}
.ctat-join>div {
  padding: 50px;
  border-radius: 20px;
}
.ctat-join p {
  max-width: 670px;
  line-height: 1.7;
}
.ctat-disclaimer {
  font-size: .86rem;
  color: #597588;
}
@media(max-width:850px) {
.ctat-hero-illustration {
  display: none;
}
.ctat-category-grid {
  flex-direction: row;
  flex-wrap: wrap;
}
.ctat-category-grid > * { flex: 0 1 calc((100% - 1 * var(--cta-track-gap, 0px)) / 2); min-width: 0; }
.apt-footer__inner {
  flex-direction: column;
}
.ctat-section {
  padding: 55px 15px;
}
.ctat-hero {
  padding: 55px 0;
}
}
@media(max-width:580px) {
.ctat-category-grid {
  flex-direction: column;
}
.ctat-category-grid > * { flex-basis: auto; }
.ctat-section-header {
  flex-direction: column;
  align-items: start;
}
.ctat-join>div {
  padding: 28px;
}
.ctat-hero h1 {
  font-size: 2.6rem;
}
.apt-header__logo {
  max-width: 160px;
}
}
/* v0.3 — prominent, accessible directory search in the home hero. */
.ctat-search-field input::placeholder {
  color: #607988;
  opacity: 1;
}
.ctat-search-field select:disabled {
  background: #ecf3f7;
  color: #587181;
  opacity: 1;
  cursor: not-allowed;
}
.ctat-search-field select:focus-visible,
.ctat-search-field input:focus-visible,
.ctat-search-submit:focus-visible {
  outline: 3px solid #70afcf;
  outline-offset: 2px;
}
@media(max-width:1050px) {
.ctat-search-fields {
  flex-direction: column;
}
}
@media(max-width:580px) {
.ctat-hero-search {
  margin-top: 28px;
  padding: 19px 16px;
}
.ctat-search-fields {
  flex-direction: column;
}
.ctat-search-fields > * { flex-basis: auto; }
.ctat-search-heading {
  display: block;
}
.ctat-search-heading p {
  margin-top: 5px !important;
}
}
/* v0.4 — wider layout, Finlandica Text, restrained orange accents and usable focus states. */
:root {
  --font-base: var(--cta-font);
  --md-ref-typeface-plain: var(--cta-font);
  --brand-orange: var(--cta-accent);
  --brand-blue: var(--cta-primary);
  --color-primary: var(--cta-primary);
  --color-primary-dark: #082f51;
  --color-text: #103750;
}
body,
button,
input,
select,
textarea {
  font-family: var(--font-base) !important;
}
.apt-container {
  width: 90%;
  max-width: 1600px;
  margin-left: auto;
  margin-right: auto;
}
.ctat-page {
  width: 90%;
  max-width: 1600px;
}
.ctat-hero-grid {
  align-items: center;
}
.ctat-hero-copy {
  min-width: 0;
}
.ctat-kicker {
  color: #0b6389;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: .96rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0;
  text-transform: none;
  margin: 0 0 19px;
}
.ctat-hero h1 {
  color: #fff;
  margin: 0 0 27px;
  font-size: clamp(2.5rem, 4.4vw, 5.2rem);
  line-height: 1.1;
  letter-spacing: -.035em;
  font-weight: 750;
  max-width: 830px;
}
.ctat-search-heading {
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  display: block;
  margin-bottom: 20px;
}
.ctat-search-heading h2 {
  color: #073963;
  line-height: 1.25;
  margin: 0;
  font-size: clamp(1.4rem, 1.8vw, 1.95rem);
  font-weight: 750;
  letter-spacing: -.02em;
}
.ctat-hero .ctat-search-heading p {
  margin: 0;
  line-height: 1.4;
  margin-top: 5px !important;
  max-width: 100%;
  color: #4a6274;
  font-size: .96rem;
}
.ctat-search-fields {
  align-items: stretch;
  display: flex;
  gap: 15px;
  flex-direction: column;
}
.ctat-search-fields > * { flex-basis: auto; }
.ctat-search-field {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.25;
  font-size: .96rem;
  color: #143f5d;
  font-weight: 650;
  gap: 7px;
}
.ctat-search-field select,
.ctat-search-field input {
  box-sizing: border-box;
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 10px 11px;
  border: 1px solid #adc6d3;
  border-radius: 9px;
  background: #fff;
  color: #173c59;
  font: inherit;
  font-weight: 500;
  height: 50px;
  font-size: 1rem;
  border-color: #8da8b8;
}
.ctat-search-submit {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  height: 48px;
  border-radius: 9px;
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  width: max-content;
  min-height: 48px;
  background: var(--cta-primary);
  border: 2px solid var(--cta-primary);
  padding: 11px 25px;
}
.ctat-btn-outline {
  border: 2px solid var(--cta-primary);
  color: var(--cta-primary) !important;
  background: transparent;
}
.ctat-btn-outline:hover,
.ctat-btn-outline:focus-visible {
  background: var(--cta-primary);
  color: #fff !important;
}
.ctat-text-link {
  color: var(--cta-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.ctat-text-link:hover {
  color: var(--cta-accent);
}
.apt-main :is(a, button, input, select, textarea, [tabindex]):focus-visible,
.apt-header :is(a, button):focus-visible,
.apt-footer a:focus-visible {
  outline: 3px solid var(--cta-accent) !important;
  outline-offset: 3px !important;
  box-shadow: 0 0 0 2px white;
}
.ctat-hero-actions .ctat-btn {
  min-height: 48px;
  background: #fff;
  color: var(--cta-primary) !important;
}
.ctat-hero-actions .ctat-btn.ctat-btn-outline {
  border: 2px solid #fff;
  color: #fff !important;
  background: transparent;
}
@media(max-width:1080px) {
.ctat-hero-search {
  max-width: 760px;
}
.ctat-hero h1 {
  max-width: 760px;
}
}
@media(max-width:640px) {
.apt-container,
  .ctat-page {
  width: calc(100% - 32px);
}
.ctat-hero-search {
  padding: 22px 18px;
  margin: 0;
}
.ctat-hero {
  padding: 44px 0 60px;
}
.ctat-hero h1 {
  font-size: clamp(2.15rem, 8vw, 3rem);
}
.ctat-search-submit {
  width: 100%;
}
}
@media(prefers-reduced-motion:reduce) {
*,
  *::before,
  *::after {
  scroll-behavior: auto !important;
  transition-duration: .01ms !important;
  animation-duration: .01ms !important;
}
}
/* Shortcode pages control their own responsive content container. */
.ctat-page.ctat-page--plugin {
  width: 100%;
  max-width: none;
  padding: 0;
}
.ctat-page--plugin>.ctat-page-content {
  width: 100%;
  min-width: 0;
}
/* v0.5 — prominent multi-select search controls, responsive and keyboard accessible */
.ctat-hero-options summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  min-height: 51px;
  cursor: pointer;
  color: #123c59;
  font-size: .96rem;
  font-weight: 550;
}
.ctat-hero-options summary::marker {
  color: var(--cta-accent);
}
.ctat-hero-option-list label {
  display: flex;
  gap: 9px;
  align-items: center;
  line-height: 1.4;
  font-size: .91rem;
  font-weight: 500;
  color: #123c59;
  cursor: pointer;
  flex-direction: row;
}
.ctat-hero-option-list label > span:nth-child(2) { flex: 1; min-width: 0; }
.ctat-hero-option-list input[type="checkbox"] {
  -webkit-appearance: auto;
  -moz-appearance: auto;
  appearance: auto;
  width: 18px;
  height: 18px;
  min-height: 18px;
  margin: 0;
  accent-color: var(--cta-primary);
  flex: 0 0 18px;
}
.ctat-hero-option-list label:has(input:focus-visible) {
  outline: 2px solid var(--cta-accent);
  outline-offset: 2px;
}
.ctat-selected-count {
  white-space: nowrap;
  font-size: .75rem;
  background: #edf4f7;
  color: var(--cta-primary);
  border-radius: 20px;
  padding: 4px 7px;
  font-weight: 750;
}
.ctat-search-location .ctat-search-field {
  min-width: 0;
}
.ctat-hero-options:focus-visible,
.ctat-search-location select:focus-visible {
  outline: 3px solid var(--cta-accent) !important;
  outline-offset: 2px;
}
.apt-header .apt-user-menu__avatar {
  width: 36px;
  height: 36px;
  min-width: 36px;
  flex: 0 0 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--cta-primary);
  color: white;
  font-weight: 750;
  font-size: 1rem;
  object-fit: cover;
  overflow: hidden;
}
.apt-header .apt-user-menu__trigger {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 5px 10px 5px 6px;
}
.ctat-page.ctat-page--plugin>header,
.ctat-page.ctat-page--plugin .ctat-page-content>h1:first-child {
  display: none;
}
/* v0.6 — new accent, overlay selectors, editorial home refinements. */
:root {
  --color-accent: var(--cta-accent);
  --brand-pink: var(--cta-accent);
  --brand-magenta: var(--cta-accent);
}
.ctat-hero {
  color: #fff;
  background: radial-gradient(
      ellipse 65% 75% at 66% -8%,
      #0784f5 0%,
      #0758c5 40%,
      transparent 85%
    ),

    
    radial-gradient(
      ellipse 70% 85% at 70% 105%,
      #780aa7 0%,
      #4e0b96 45%,
      transparent 90%
    ),

    
    radial-gradient(
      ellipse 60% 75% at 100% 48%,
      #331394 0%,
      transparent 85%
    ),

    
    linear-gradient(
      130deg,
      #071946 0%,
      #090b33 48%,
      #16083d 100%
    );
  padding: clamp(52px, 3vw, 45px) 0;
  position: relative;
  z-index: 3;
}
.ctat-hero-search {
  margin-top: 42px;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: clamp(24px, 2.7vw, 46px);
  border: 1px solid #cedde6;
  border-radius: 24px;
  box-shadow: 0 14px 34px #123b5621;
  background: #fff;
  position: relative;
  z-index: 4;
  overflow: visible;
}
.ctat-hero-options {
  width: 100%;
  max-width: 100%;
  border: 1px solid #91adbc;
  background: #fff;
  border-radius: 10px;
  position: relative;
}
.ctat-hero-options[open] {
  border-color: var(--cta-primary);
  box-shadow: 0 2px 10px #163b5621;
  z-index: 30;
}
.ctat-hero-option-list {
  overflow: auto;
  border-top: 1px solid #d9e5ea;
  display: flex;
  gap: 10px;
  position: absolute;
  top: calc(100% + 5px);
  left: -1px;
  right: -1px;
  z-index: 31;
  box-sizing: border-box;
  max-height: min(350px, 53vh);
  overflow-y: auto;
  background: #fff;
  border: 1px solid #91adbc;
  border-radius: 10px;
  box-shadow: 0 14px 32px rgba(8, 59, 101, .19);
  padding: 10px 13px;
  overscroll-behavior: contain;
  flex-direction: column;
}
.ctat-hero-options:not([open]) .ctat-hero-option-list {
  display: none;
}
.ctat-hero-option-list .cta-multiselect-actions {
  top: -10px;
  border-bottom: 1px solid #d9e5ea;
  padding: 2px 0 7px;
  margin-bottom: 5px;
}
.ctat-selected-count {
  flex: none;
  max-width: 53%;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ctat-hero h1 em {
  font-style: normal;
  color: var(--cta-accent);
}
.ctat-kicker:before {
  content: "";
  display: block;
  width: 22px;
  height: 3px;
  border-radius: 2px;
  flex-shrink: 0;
  background: var(--cta-accent);
}
.ctat-category>span:first-child {
  color: var(--cta-accent);
}
.ctat-category:hover {
  border-color: var(--cta-accent);
  background: #fff4f8;
}
.ctat-search-submit:hover {
  background: #ac044e;
  border-color: #ac044e;
  color: #fff;
}
.ctat-explore-directory {
  text-align: center;
  margin: clamp(28px, 3.5vw, 52px) 0 0;
}
.ctat-explore-directory .ctat-text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  font-weight: 750;
  font-size: 1rem;
}
.ctat-join>div {
  background: #062f51;
  color: #d7f4ff;
  border: 1px solid #062f51;
}
.ctat-join h2,
.ctat-join p {
  color: #d7f4ff;
}
.ctat-join .ctat-btn {
  background: var(--cta-accent);
  border: 2px solid var(--cta-accent);
  color: white !important;
  min-height: 48px;
}
.ctat-join .ctat-btn:hover,
.ctat-join .ctat-btn:focus-visible {
  background: #a8044d;
  border-color: #a8044d;
  color: white !important;
}
@media(max-width:640px) {
.ctat-hero-search {
  overflow: visible;
}
.ctat-hero-option-list {
  max-height: min(300px, 45vh);
}
}
.ctat-hero-options summary .ctat-selected-count {
  flex: 1;
  max-width: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: .96rem;
  background: transparent;
  padding: 0;
  border-radius: 0;
  color: #123c59;
  font-weight: 500;
}
/* v0.7 — header compact, map section and public auth actions. */
:root {
  --header-height: 82px;
}
.apt-header {
  height: auto;
  min-height: var(--header-height);
}
.apt-header__inner {
  min-height: var(--header-height);
  height: auto;
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 34px);
  padding-top: 7px;
  padding-bottom: 7px;
}
.apt-header__logo {
  width: clamp(118px, 9vw, 165px);
  max-width: 165px;
  height: auto;
  min-width: 0;
}
.apt-header__logo img,
.apt-header__logo .custom-logo {
  display: block;
  width: 100%;
  height: auto;
  max-height: 68px;
  max-width: 165px;
  object-fit: contain;
  object-position: left center;
}
.apt-header__user {
  display: flex;
  align-items: center;
  gap: 10px;
}
.apt-nav__list {
  flex-wrap: wrap;
  gap: clamp(1px, .8vw, 12px);
}
.apt-nav__list li a {
  font-size: clamp(.93rem, 1.08vw, 1.1rem);
}
.ctat-header-login,
.ctat-header-register {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  text-decoration: none;
  font-size: .95rem;
  font-weight: 700;
  line-height: 1.2;
  min-height: 43px;
  padding: 9px 17px;
  border: 2px solid var(--cta-primary);
  border-radius: 10px;
  transition: background-color .16s ease, color .16s ease, border-color .16s ease;
}
.ctat-header-login {
  background: #fff;
  color: var(--cta-primary);
}
.ctat-header-login:hover {
  background: var(--cta-primary);
  color: #fff;
}
.ctat-header-register {
  background: var(--cta-primary);
  color: #fff;
}
.ctat-header-register:hover {
  background: var(--cta-accent);
  border-color: var(--cta-accent);
  color: #fff;
}
.ctat-header-login:focus-visible,
.ctat-header-register:focus-visible {
  outline: 3px solid var(--cta-accent);
  outline-offset: 3px;
}
@media (min-width: 901px) and (max-width: 1120px) {
.apt-header__inner {
  gap: 12px;
}
.apt-header__user {
  gap: 7px;
}
.ctat-header-login,
  .ctat-header-register {
  padding-inline: 11px;
  font-size: .88rem;
}
}
@media (max-width: 900px) {
.apt-header__inner {
  flex-wrap: wrap;
}
.apt-header__user {
  margin-left: auto;
}
.apt-hamburger {
  order: 3;
  margin-left: 0;
}
.apt-nav.is-open {
  top: var(--header-height);
}
}
@media (max-width: 580px) {
:root {
  --header-height: 114px;
}
.apt-header__inner {
  display: flex;
  gap: 4px 8px;
  padding-top: 7px;
  padding-bottom: 7px;
  flex-direction: row;
}
.apt-header__logo {
  width: 112px;
}
.apt-header__logo img,
  .apt-header__logo .custom-logo {
  max-height: 56px;
}
.apt-hamburger {
  justify-self: end;
}
.apt-header__user {
  margin: 0;
  justify-content: center;
  gap: 8px;
}
.ctat-header-login,
  .ctat-header-register {
  flex: 1;
  min-height: 37px;
  padding: 7px 10px;
}
.apt-header__user:has(.apt-user-menu) {
  justify-content: flex-end;
}
.apt-header__inner:has(.apt-user-menu) {
  flex-direction: row;
}
.apt-header:has(.apt-user-menu) {
  --header-height: 76px;
}
}
@media (min-width:783px) {
body.admin-bar .apt-header {
  top: 32px;
}
}
@media (max-width:782px) {
body.admin-bar .apt-header {
  top: 46px;
}
}
.ctat-map-section {
  background: #fff;
  padding: clamp(54px, 5vw, 85px) 0;
}
.ctat-map-header {
  display: flex;
  gap: 25px;
  align-items: end;
}
.ctat-map-header p {
  margin: 12px 0 0;
  color: #476579;
  font-size: 1.06rem;
}
.ctat-map-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid #cadae5;
  border-radius: 20px;
  background: #e8f1f4;
}
.ctat-members-map {
  height: clamp(380px, 43vw, 600px);
  width: 100%;
  z-index: 0;
}
.ctat-map-popup {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 245px;
  color: var(--cta-primary);
  font-family: var(--font-base);
}
.ctat-map-popup strong {
  font-size: 1.04rem;
}
.ctat-map-popup span {
  font-size: .9rem;
}
.ctat-map-popup a {
  color: #a8044d;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.ctat-map-note {
  color: #4f697c;
  margin: 14px 0 0;
  font-size: .92rem;
  line-height: 1.5;
}
.ctat-map-empty {
  border: 1px dashed #93b2c5;
  background: #f2f7fa;
  padding: clamp(24px, 3vw, 45px);
  border-radius: 20px;
}
.ctat-map-empty p {
  max-width: 760px;
}
.ctat-map-empty .ctat-btn {
  margin-top: 8px;
}
@media (max-width:640px) {
.ctat-map-header {
  align-items: start;
}
.ctat-members-map {
  height: 400px;
}
}
.ctat-map-empty-over {
  position: absolute;
  z-index: 450;
  top: 20px;
  left: 20px;
  max-width: min(390px, calc(100% - 40px));
  padding: 14px 18px;
  background: rgba(255, 255, 255, .97);
  color: var(--cta-primary);
  font-size: .95rem;
  font-weight: 650;
  border: 1px solid #bed2df;
  border-radius: 12px;
  box-shadow: 0 7px 20px rgba(6, 47, 81, .13);
  pointer-events: none;
}
/* v0.8 — Mobile: una única acción de ingreso al lado del botón de menú. */
.ctat-header-mobile-enter {
  display: none;
}
@media (max-width:900px) {
.ctat-header-login,
  .ctat-header-register {
  display: none !important;
}
.ctat-header-mobile-enter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 9px 13px;
  background: #fff;
  color: var(--cta-ink);
  border: 2px solid var(--cta-ink);
  border-radius: 10px;
  font-weight: 750;
  text-decoration: none;
  font-size: .91rem;
  white-space: nowrap;
}
.ctat-header-mobile-enter:hover {
  color: #fff;
  background: var(--cta-ink);
}
.ctat-header-mobile-enter:focus-visible {
  outline: 3px solid var(--cta-accent);
  outline-offset: 3px;
}
}
@media (max-width:580px) {
:root {
  --header-height: 76px;
}
.apt-header__inner:not(:has(.apt-user-menu)) {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 76px;
  flex-direction: row;
}
.apt-header__inner:not(:has(.apt-user-menu)) .apt-header__logo {
  width: clamp(90px, 28vw, 112px);
  max-width: 100%;
}
.apt-header__inner:not(:has(.apt-user-menu)) .apt-header__user {
  margin: 0;
  justify-content: flex-end;
}
.apt-header__inner:not(:has(.apt-user-menu)) .apt-hamburger {
  justify-self: end;
  margin: 0;
}
}
/* Inicio: tres pasos inspirados en la sección Cómo funciona de RDCA. */
.ctat-how-section {
  background: #092f52;
  color: #eaf6ff;
  padding-block: clamp(50px,6vw,90px);
}
.ctat-how-section .ctat-section-header h2 {
  color: #fff;
}
.ctat-how-section .ctat-section-header p {
  color: #d9ebfa;
  max-width: 680px;
}
.ctat-how-grid {
  list-style: none;
}
.ctat-how-card {
  padding: clamp(22px,3vw,40px);
  border-radius: 16px;
  border: 1px solid #396581;
  background: #123e61;
  min-width: 0;
  height: 100%;
}
.ctat-how-grid h3 {
  margin: 14px 0 10px;
  font-size: clamp(1.2rem,1.5vw,1.5rem);
  color: #fff;
  line-height: 1.25;
}
.ctat-how-grid p {
  line-height: 1.6;
  color: #e5f4fc;
}
.ctat-how-grid a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
  font-weight: 700;
  display: inline-block;
  margin-top: 12px;
}
.ctat-how-grid a:is(:focus-visible,:hover) {
  color: var(--brand-cyan);
}
.ctat-how-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  min-height: 46px;
  border-radius: 999px;
  background: var(--cta-accent);
  color: #fff;
  font-weight: 800;
  font-size: 1.05rem;
}
/* The kicker is presented over the dark hero gradient. */
.ctat-hero .ctat-kicker {
  color: #e5f5ff;
}
/* WCAG: the magenta heading glyphs were unreadable over the bright blue gradient.
   Keep the brand accent as an underline; render the large text in white. */
.ctat-hero h1 em {
  color: #fff;background: var(--cta-accent);
}




@media (max-width: 580px) {
  .apt-header__inner .apt-header__user { margin-left: auto; }
}
