/*
Theme Name: ActivoTrading
Theme URI: https://activotrading.com
Author: ActivoTrading
Description: Tema de bloques ligero y responsive creado para ActivoTrading.
Version: 0.12.28
Requires at least: 6.7
Requires PHP: 8.1
Text Domain: activotrading
*/

:root {
  --at-background: #f6f7f5;
  --at-surface: #ffffff;
  --at-primary: #004666;
  --at-primary-dark: #00354e;
  --at-primary-mid: #0b6f93;
  --at-accent: #36a9d1;
  --at-soft: #eaf1f3;
  --at-text: #172a33;
  --at-muted: #5c6d74;
  --at-border: #d8e1e3;
}

html { scroll-behavior: smooth; }
body { background: var(--at-background); color: var(--at-text); }
a { text-underline-offset: .18em; }

.at-site-header {
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid var(--at-border);
  position: sticky;
  top: 0;
  z-index: 40;
}

.admin-bar .at-site-header { top: 32px; }
.at-header-inner { min-height: 78px; gap: 28px; }
.at-brand-link { display: inline-flex; align-items: center; }
.at-brand-link img { display: block; height: auto; max-height: 46px; width: auto; max-width: min(310px, 44vw); }
.at-navigation { color: var(--at-text); }
.at-navigation .wp-block-navigation-item__content { padding: 10px 0; }
.at-navigation .current-menu-item > .wp-block-navigation-item__content { color: var(--at-primary); }

.wp-block-button__link {
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.wp-block-button__link:hover { transform: translateY(-1px); }
.at-button-outline .wp-block-button__link {
  background: transparent;
  border: 1px solid var(--at-primary);
  color: var(--at-primary);
}
.at-button-outline .wp-block-button__link:hover { background: var(--at-soft); }

.at-hero {
  background:
    radial-gradient(circle at 83% 20%, rgba(54, 169, 209, .17) 0, transparent 30%),
    var(--at-background);
  padding-bottom: clamp(3.5rem, 7vw, 5rem);
  padding-top: clamp(3.5rem, 7vw, 5.5rem);
}
.at-hero-columns { align-items: center !important; gap: clamp(2.5rem, 6vw, 5rem); }
.at-eyebrow {
  align-items: center;
  color: var(--at-primary-mid);
  display: flex;
  font-weight: 600;
  gap: 10px;
  letter-spacing: .02em;
  margin-bottom: 18px;
}
.at-eyebrow::before { background: var(--at-accent); content: ""; height: 2px; width: 28px; }
.at-hero h1 { color: var(--at-primary-dark); font-size: clamp(2.35rem, 5.6vw, 4.7rem); letter-spacing: -.035em; line-height: 1.03; margin-bottom: 24px; }
.at-hero-copy > p { color: var(--at-muted); font-size: clamp(1.05rem, 1.8vw, 1.25rem); max-width: 680px; }

.at-market-visual {
  background: var(--at-primary-dark);
  border-radius: 20px;
  box-shadow: 0 24px 70px rgba(0, 53, 78, .16);
  color: #ffffff;
  min-height: 330px;
  overflow: hidden;
  padding: clamp(1.6rem, 4vw, 2.25rem);
  position: relative;
}
.at-market-visual::after {
  background: rgba(54, 169, 209, .16);
  border-radius: 50%;
  bottom: -100px;
  content: "";
  height: 250px;
  position: absolute;
  right: -70px;
  width: 250px;
}
.at-market-label { color: #b9dbe7; }
.at-market-note { color: #d7edf5; margin-bottom: 0; position: relative; z-index: 2; }
.at-chart { align-items: end; border-bottom: 1px solid rgba(255,255,255,.24); display: flex; gap: 14px; height: 160px; margin: 18px 0 24px; padding-bottom: 18px; position: relative; z-index: 2; }
.at-chart span { background: linear-gradient(180deg, #8fd5ee, #2295be); border-radius: 4px 4px 0 0; flex: 1; min-width: 12px; }
.at-chart span:nth-child(1) { height: 35%; }
.at-chart span:nth-child(2) { height: 50%; }
.at-chart span:nth-child(3) { height: 44%; }
.at-chart span:nth-child(4) { height: 68%; }
.at-chart span:nth-child(5) { height: 60%; }
.at-chart span:nth-child(6) { height: 84%; }

.at-section { padding-bottom: clamp(3.5rem, 7vw, 5rem); padding-top: clamp(3.5rem, 7vw, 5rem); }
.at-section-heading { align-items: end; gap: 24px; justify-content: space-between; margin-bottom: 30px; }
.at-section-heading h2 { color: var(--at-primary-dark); margin-bottom: 10px; }
.at-section-heading p { color: var(--at-muted); margin: 0; max-width: 620px; }
.at-view-all { color: var(--at-primary); font-weight: 600; white-space: nowrap; }

.at-home-query .wp-block-post-template { gap: 22px; }
.at-home-query .wp-block-post {
  background: var(--at-surface);
  border: 1px solid var(--at-border);
  border-radius: 15px;
  overflow: hidden;
  transition: box-shadow .2s ease, transform .2s ease;
}
.at-home-query .wp-block-post:hover { box-shadow: 0 18px 48px rgba(0, 70, 102, .09); transform: translateY(-3px); }
.at-home-query .wp-block-post-featured-image { background: linear-gradient(135deg, var(--at-soft), #d5eaf0); margin: 0; min-height: 180px; }
.at-home-query .wp-block-post-featured-image img { aspect-ratio: 16 / 9; height: 100%; object-fit: cover; width: 100%; }
.at-post-body { padding: 24px; }
.at-post-body .taxonomy-category a { background: var(--at-soft); border-radius: 999px; color: var(--at-primary); display: inline-block; font-size: .82rem; font-weight: 600; padding: 5px 10px; text-decoration: none; }
.at-post-body .wp-block-post-title { color: var(--at-primary-dark); margin: 14px 0 10px; }
.at-post-body .wp-block-post-excerpt { color: var(--at-muted); }
.at-post-body .wp-block-post-date { color: var(--at-muted); font-size: .9rem; }
.at-query-empty { background: var(--at-surface); border: 1px dashed var(--at-border); border-radius: 14px; color: var(--at-muted); padding: 30px; text-align: center; }

.at-premium { background: var(--at-primary-dark); color: #ffffff; padding-bottom: clamp(3.8rem, 8vw, 5.5rem); padding-top: clamp(3.8rem, 8vw, 5.5rem); }
.at-premium-columns { align-items: center !important; gap: clamp(2.5rem, 6vw, 5rem); }
.at-premium h2, .at-premium h3 { color: #ffffff; }
.at-premium-copy > p { color: #c8e0e9; }
.at-benefits { color: #e9f5f8; display: grid; gap: 15px 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); list-style: none; margin: 28px 0 0; padding: 0; }
.at-benefits li { padding-left: 32px; position: relative; }
.at-benefits li::before { align-items: center; background: var(--at-accent); border-radius: 50%; color: var(--at-primary-dark); content: "✓"; display: flex; font-weight: 700; height: 22px; justify-content: center; left: 0; position: absolute; top: 1px; width: 22px; }
.at-plan-card { background: var(--at-surface); border-radius: 18px; color: var(--at-text); padding: clamp(1.5rem, 4vw, 2.2rem); }
.at-plan-card h3 { color: var(--at-primary); }
.at-plan-card > p { color: var(--at-muted); }
.at-plan-row { border-bottom: 1px solid var(--at-border); justify-content: space-between; padding: 13px 0; }
.at-plan-row strong { color: var(--at-primary-dark); font-weight: 700; }
.at-plan-card .wp-block-button, .at-plan-card .wp-block-button__link { width: 100%; }

.at-trust { background: var(--at-soft); padding-bottom: clamp(3rem, 6vw, 4rem); padding-top: clamp(3rem, 6vw, 4rem); }
.at-trust-columns { gap: 28px; }
.at-trust-item { align-items: flex-start; gap: 14px; }
.at-trust-number { align-items: center; background: var(--at-surface); border-radius: 10px; color: var(--at-primary); display: flex; flex: 0 0 40px; font-weight: 700; height: 40px; justify-content: center; width: 40px; }
.at-trust-item h3 { color: var(--at-primary-dark); margin-bottom: 7px; }
.at-trust-item p { color: var(--at-muted); margin: 0; }

.at-site-footer { background: #002f45; color: #d7e8ee; padding: 48px 0 26px; }
.at-footer-top { align-items: flex-start; border-bottom: 1px solid rgba(255,255,255,.15); gap: 36px; justify-content: space-between; padding-bottom: 30px; }
.at-site-footer .at-brand-link img { max-height: 50px; }
.at-footer-links { justify-content: flex-end; }
.at-footer-links a { color: #d7e8ee; }
.at-footer-bottom { color: #aac8d3; gap: 22px; justify-content: space-between; padding-top: 22px; }
.at-footer-bottom p { margin: 0; }

.at-content-shell { padding-bottom: clamp(3rem, 7vw, 5rem); padding-top: clamp(2.6rem, 6vw, 4.75rem); }
body.single-post .at-content-shell { padding-top: clamp(2.4rem, 5.5vw, 4.25rem); }
.at-content-shell .at-article-title,
.at-archive-title { color: var(--at-primary-dark); }
.at-content-shell .at-article-title { font-size: clamp(2.25rem, 4.6vw, 3.75rem); letter-spacing: -.035em; line-height: 1.04; margin-bottom: 0; margin-top: 10px; max-width: 840px; }
.at-editorial-eyebrow { color: var(--at-primary-mid); font-size: .76rem; font-weight: 800; letter-spacing: .105em; line-height: 1.3; max-width: 840px; text-transform: uppercase; width: 100%; }
.at-editorial-eyebrow a { color: inherit; text-decoration: none; }
.at-article-meta { align-items: center; color: var(--at-muted); display: flex; flex-wrap: wrap; font-size: .9rem; gap: 8px; margin-top: 17px; }
.at-article-meta.is-editorial { max-width: 840px; width: 100%; }
.at-article-meta.is-automatic a { color: var(--at-primary); margin-left: 14px; }
.at-editorial-author { color: var(--at-primary-dark); font-weight: 700; }
.at-meta-separator { color: #a8b5ba; }
.at-editorial-access { background: #e3f4ed; border-radius: 999px; color: #187956; font-size: .72rem; font-weight: 800; letter-spacing: .02em; margin-left: 3px; padding: 5px 9px; text-transform: uppercase; }
.at-content-shell .at-article-hero { margin-bottom: clamp(1.65rem, 3vw, 2.4rem); margin-top: clamp(1.8rem, 3.5vw, 2.8rem); max-width: 1000px; width: min(100%, 1000px); }
body.single-post main .at-article-hero img { aspect-ratio: 16 / 9; display: block; height: auto; max-height: 562px; object-fit: cover; width: 100%; }
.wp-lightbox-overlay .lightbox-image-container img { object-fit: contain !important; object-position: center !important; }
.at-editorial-lead { background: linear-gradient(135deg, #edf6f8, #f7faf9); border-left: 4px solid var(--at-accent); border-radius: 0 12px 12px 0; box-sizing: border-box; color: var(--at-primary-dark); font-size: clamp(1.08rem, 1.8vw, 1.25rem); line-height: 1.65; margin-bottom: clamp(2rem, 4vw, 3rem); padding: 21px 25px; }
.at-editorial-lead p { margin: 0; }
.at-article-content { font-size: 1.08rem; line-height: 1.78; }
.at-article-content > * + * { margin-top: 1.25em; }
/*
 * El espaciado amplio pertenece al cuerpo de los artículos editoriales.
 * Las páginas funcionales también usan .at-article-content como contenedor,
 * pero sus títulos internos deben conservar el ritmo propio de cada módulo.
 */
body.single-post .at-article-content h2 { font-size: clamp(1.55rem, 3vw, 2.05rem); letter-spacing: -.02em; margin-top: 2.05em; }
body.single-post .at-article-content h3 { margin-top: 2em; }
.at-article-content figcaption { color: var(--at-muted); font-size: .82rem; margin-top: 8px; text-align: center; }
.at-editorial-after { margin-top: clamp(3rem, 6vw, 5rem); }
.at-editorial-cta { align-items: center; background: var(--at-primary-dark); border-radius: 16px; box-shadow: 0 16px 38px rgba(0,53,78,.16); box-sizing: border-box; color: #e8f3f6; display: flex; gap: 32px; justify-content: space-between; padding: clamp(25px, 4vw, 38px); }
.at-editorial-cta > div { max-width: 630px; }
.at-editorial-cta > div > span,
.at-editorial-related-head > span { color: #60c4e6; font-size: .7rem; font-weight: 800; letter-spacing: .105em; text-transform: uppercase; }
.at-editorial-cta h2 { color: #fff; font-size: clamp(1.4rem, 2.5vw, 1.85rem); margin: 6px 0 8px; }
.at-editorial-cta p { color: #c4dce4; margin: 0; }
.at-editorial-cta > p { flex: 0 0 auto; margin: 0; }
.at-editorial-cta > a,
.at-editorial-cta > p > a { background: #fff; border-radius: 9px; color: var(--at-primary-dark); display: block; flex: 0 0 auto; font-weight: 750; padding: 12px 17px; text-decoration: none; }
.at-editorial-related { margin-top: clamp(2.7rem, 5vw, 4.2rem); }
.at-editorial-related-head { margin-bottom: 20px; }
.at-editorial-related-head > span { color: var(--at-primary-mid); }
.at-editorial-related-head h2 { font-size: clamp(1.65rem, 3vw, 2.15rem); margin: 5px 0 0; }
.at-editorial-related-grid { display: grid; gap: 18px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.at-editorial-related-card { background: #fff; border: 1px solid var(--at-border); border-radius: 13px; box-shadow: 0 12px 30px rgba(0,53,78,.07); display: flex; flex-direction: column; overflow: hidden; }
.at-editorial-related-media { align-items: center; aspect-ratio: 16 / 9; background: linear-gradient(135deg, #dcecf0, #edf5f7); display: flex; justify-content: center; overflow: hidden; }
.at-editorial-related-media img { height: 100%; object-fit: cover; transition: transform .2s ease; width: 100%; }
.at-editorial-related-card:hover .at-editorial-related-media img { transform: scale(1.025); }
.at-editorial-related-media.is-placeholder span { align-items: center; background: var(--at-primary); border-radius: 50%; color: #fff; display: flex; font-weight: 800; height: 48px; justify-content: center; width: 48px; }
.at-editorial-related-card > div { display: flex; flex: 1; flex-direction: column; padding: 16px; }
.at-editorial-related-meta { align-items: center; color: var(--at-muted); display: flex; font-size: .68rem; gap: 8px; justify-content: space-between; text-transform: uppercase; }
.at-editorial-related-meta > span { color: var(--at-primary-mid); font-weight: 800; letter-spacing: .04em; }
.at-editorial-related-card h3 { font-size: 1.08rem; line-height: 1.3; margin: 11px 0 17px; }
.at-editorial-related-card h3 a { color: var(--at-primary-dark); text-decoration: none; }
.at-editorial-related-foot { align-items: center; border-top: 1px solid #edf1f2; display: flex; gap: 10px; justify-content: space-between; margin-top: auto; padding-top: 12px; }
.at-editorial-related-foot > span { background: #e3f4ed; border-radius: 999px; color: #187956; font-size: .62rem; font-weight: 800; padding: 4px 7px; text-transform: uppercase; }
.at-editorial-related-foot > a { color: var(--at-primary); font-size: .78rem; font-weight: 750; margin-left: auto; text-decoration: none; }
.at-generic-query .wp-block-post { border-bottom: 1px solid var(--at-border); padding: 26px 0; }

@media (max-width: 782px) {
  .admin-bar .at-site-header { top: 46px; }
  .at-header-inner,
  .at-hero-columns,
  .at-section-heading,
  .at-home-query,
  .at-premium-columns,
  .at-trust-columns,
  .at-footer-top,
  .at-footer-bottom,
  .at-content-shell > :where(:not(.alignfull)) {
    box-sizing: border-box;
    margin-left: auto !important;
    margin-right: auto !important;
    width: calc(100% - 40px) !important;
  }
  .at-header-inner { gap: 16px; min-height: 70px; }
  .at-hero-columns, .at-premium-columns { gap: 36px; }
  .at-home-query .wp-block-post-template { grid-template-columns: 1fr 1fr; }
  .at-home-query .wp-block-post:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .at-trust-columns { display: grid !important; grid-template-columns: 1fr; }
  .at-footer-top, .at-footer-bottom { align-items: flex-start; flex-direction: column; }
  .at-footer-links { justify-content: flex-start; }
  .at-editorial-related-grid { grid-template-columns: 1fr 1fr; }
  .at-editorial-related-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  /* Evita que la rejilla vertical reparta el alto libre entre el menu y el
   * contenido cuando una pestana, como Movimientos, tiene poco contenido. */
  #at-member-panel .at-member-layout {
    align-content: start;
  }

  #at-member-panel .at-member-sidebar.has-mobile-menu {
    align-self: start;
    min-height: 0;
    width: 100%;
  }

  /* El cierre de sesion conserva un objetivo tactil comodo con una presencia
   * vertical mas contenida. */
  .at-member-logout-wrap {
    align-items: center;
  }

  .at-member-logout {
    box-sizing: border-box;
    height: 36px;
    min-height: 36px;
    padding: 5px 9px;
  }

  .at-header-inner,
  .at-hero-columns,
  .at-section-heading,
  .at-home-query,
  .at-premium-columns,
  .at-trust-columns,
  .at-footer-top,
  .at-footer-bottom,
  .at-content-shell > :where(:not(.alignfull)) {
    width: calc(100% - 32px) !important;
  }
  .at-header-inner { gap: 10px; }
  .at-brand-link img { max-height: 34px; max-width: 43vw; }
  .at-login-button .wp-block-button__link { font-size: .9rem; padding-left: 12px; padding-right: 12px; }
  .at-hero { padding-bottom: 3.25rem; padding-top: 3rem; }
  .at-hero h1 { font-size: 2.15rem; line-height: 1.05; }
  .at-hero-copy > p { font-size: 1rem; }
  .at-hero .wp-block-buttons .wp-block-button { width: 100%; }
  .at-hero .wp-block-buttons .wp-block-button__link { width: 100%; }
  .at-market-visual { border-radius: 16px; min-height: 260px; }
  .at-section, .at-premium { padding-bottom: 3.25rem; padding-top: 3.25rem; }
  .at-home-query .wp-block-post-template { grid-template-columns: 1fr; }
  .at-home-query .wp-block-post:last-child:nth-child(odd) { grid-column: auto; }
  .at-benefits { grid-template-columns: 1fr; }
  .at-plan-card { border-radius: 15px; }
  .at-trust { padding-bottom: 3rem; padding-top: 3rem; }
  .at-site-footer { padding-top: 40px; }
  .at-content-shell .at-article-title { font-size: clamp(2rem, 10vw, 2.65rem); }
  .at-article-meta.is-editorial { align-items: flex-start; flex-direction: column; gap: 5px; }
  .at-article-meta.is-editorial .at-meta-separator { display: none; }
  .at-editorial-access { margin-left: 0; margin-top: 4px; }
  .at-editorial-lead { padding: 18px 19px; }
  .at-editorial-cta { align-items: stretch; flex-direction: column; }
  .at-editorial-cta > a,
  .at-editorial-cta > p > a { text-align: center; }
  .at-editorial-related-grid { grid-template-columns: 1fr; }
  .at-editorial-related-card:last-child:nth-child(odd) { grid-column: auto; }
  .at-navigation .wp-block-navigation__responsive-container.is-menu-open {
    background: var(--at-surface);
    box-sizing: border-box;
    color: var(--at-text);
    height: 100dvh;
    inset: 0 !important;
    max-height: 100dvh;
    max-width: 100vw;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 20px;
    width: 100vw;
  }
  .admin-bar .at-navigation .wp-block-navigation__responsive-container.is-menu-open {
    height: calc(100dvh - 46px);
    max-height: calc(100dvh - 46px);
    top: 46px !important;
  }
  .at-navigation .wp-block-navigation__responsive-container-close {
    position: absolute;
    right: 20px;
    top: 20px;
  }
  .at-navigation .wp-block-navigation__responsive-container-content {
    align-items: stretch;
    box-sizing: border-box;
    padding-top: 54px;
    width: 100%;
  }
  .at-navigation .wp-block-navigation__responsive-container-content .wp-block-navigation__container {
    align-items: stretch;
    gap: 0;
    width: 100%;
  }
  .at-navigation .wp-block-navigation__responsive-container-content .wp-block-navigation-item {
    border-bottom: 1px solid var(--at-border);
    width: 100%;
  }
  .at-navigation .wp-block-navigation__responsive-container-content .wp-block-navigation-item__content {
    box-sizing: border-box;
    display: block;
    overflow-wrap: anywhere;
    padding: 15px 0;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .wp-block-button__link, .at-home-query .wp-block-post { transition: none; }
}

/* Portada modular 0.2 */
body { overflow-x: clip; }

/* El boton de guardado conserva el fondo blanco, pero comparte exactamente
 * tipografia, altura y espaciado con el selector de imagen contiguo. */
.atvc-avatar-card form:not(.atvc-avatar-delete) > button[type="submit"] {
  font-family: inherit !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  height: 35px !important;
  line-height: 15px !important;
  min-height: 35px !important;
  padding: 9px 12px !important;
  white-space: nowrap;
}
.at-announcement { background: var(--at-primary-dark); color: #d9eef5; min-height: 30px; }
.at-announcement p { font-size: .76rem; letter-spacing: .025em; margin: 0; padding: 5px 16px; text-align: center; }
.at-site-header { box-shadow: 0 4px 22px rgba(0, 53, 78, .035); }
.at-header-inner { min-height: 72px; }
.at-navigation { flex: 1 1 auto; justify-content: center; }
.at-login-button .wp-block-button__link { min-width: 96px; text-align: center; }
.at-header-account-link {
  background: var(--at-primary);
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-size: .94rem;
  font-weight: 600;
  justify-content: center;
  line-height: 1;
  min-width: 96px;
  padding: 13px 18px;
  text-decoration: none;
  transition: background-color .2s ease, transform .2s ease;
  white-space: nowrap;
}
.at-header-account-link:hover { background: var(--at-primary-dark); color: #fff; transform: translateY(-1px); }
.at-header-account-actions { align-items: center; display: flex; flex: 0 0 auto; gap: 8px; }
.at-header-account-actions--mobile { display: none; }
.at-header-logout-link {
  align-items: center;
  border: 1px solid var(--at-border);
  border-radius: 999px;
  color: var(--at-primary);
  display: inline-flex;
  font-size: .82rem;
  font-weight: 650;
  gap: 6px;
  justify-content: center;
  line-height: 1;
  padding: 12px 14px;
  text-decoration: none;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
  white-space: nowrap;
}
.at-header-logout-link:hover { background: var(--at-soft); border-color: #b9cbd0; color: var(--at-primary-dark); }

.at-home { background: var(--at-background); }
.at-home-hero {
  background: radial-gradient(circle at 96% 5%, rgba(54,169,209,.2), transparent 33%), linear-gradient(180deg, #fbfcfb 0%, var(--at-background) 100%);
  padding: clamp(4.5rem, 8vw, 7.5rem) 0 clamp(4rem, 7vw, 6.5rem);
}
.at-home-hero-columns { align-items: center !important; gap: clamp(3rem, 7vw, 6rem); }
.at-kicker, .at-section-kicker { color: #0c7598; font-size: .76rem; font-weight: 600; letter-spacing: .1em; margin-bottom: 12px; text-transform: uppercase; }
.at-kicker { align-items: center; display: flex; gap: 10px; }
.at-kicker::before { background: var(--at-accent); content: ""; height: 2px; width: 28px; }
.at-home-hero h1 { color: var(--at-primary-dark); font-size: clamp(2.8rem, 5.6vw, 5.15rem); letter-spacing: -.045em; line-height: .99; margin-bottom: 24px; max-width: 800px; }
.at-home-hero-intro { color: var(--at-muted); font-size: clamp(1.06rem, 1.7vw, 1.25rem); line-height: 1.7; max-width: 690px; }
.at-home-actions { gap: 12px; margin-top: 28px; }
.at-home-actions .wp-block-button__link { min-height: 50px; min-width: 180px; }
.at-service-facts { background: var(--at-border); border: 1px solid var(--at-border); border-radius: 13px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin-top: 34px; max-width: 610px; overflow: hidden; }
.at-service-facts > div { background: rgba(255,255,255,.82); padding: 15px 12px; text-align: center; }
.at-service-facts strong { color: var(--at-primary); display: block; font-size: 1.08rem; }
.at-service-facts span { color: var(--at-muted); display: block; font-size: .72rem; margin-top: 2px; }

.at-market-board { background: var(--at-primary-dark); border-radius: 20px; box-shadow: 0 25px 65px rgba(0,53,78,.2); color: #fff; overflow: hidden; padding: clamp(1.5rem, 3vw, 2rem); position: relative; }
.at-market-board::after { border: 32px solid rgba(54,169,209,.1); border-radius: 50%; content: ""; height: 210px; position: absolute; right: -95px; top: -115px; width: 210px; }
.at-market-board-head { align-items: flex-start; display: flex; justify-content: space-between; position: relative; z-index: 2; }
.at-market-board-head span { color: #9bcbdc; display: block; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; }
.at-market-board-head strong { display: block; font-size: 1.25rem; margin-top: 4px; }
.at-market-board-head small { align-items: center; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; color: #d9eef5; display: flex; font-size: .68rem; gap: 6px; padding: 6px 10px; }
.at-market-board-head small::before { background: #4ed1a2; border-radius: 50%; content: ""; height: 6px; width: 6px; }
.at-market-line { height: auto; margin-top: 22px; position: relative; width: 100%; z-index: 2; }
.at-market-portfolios { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; position: relative; z-index: 2; }
.at-market-portfolios > div, .at-market-portfolios > a { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.13); border-radius: 10px; color: inherit; padding: 12px; text-decoration: none; }
.at-market-portfolios span { color: #89cbe2; display: block; font-size: .68rem; }
.at-market-portfolios strong { display: block; font-size: .92rem; margin-top: 3px; }

.at-home-section { padding: clamp(4.5rem, 8vw, 7rem) 0; }
.at-home-section-head { align-items: flex-end; gap: 24px; margin-bottom: 34px; }
.at-home-section-head h2, .at-architecture h2, .at-how h2, .at-faq h2 { color: var(--at-primary-dark); font-size: clamp(2.1rem, 4vw, 3.55rem); letter-spacing: -.035em; margin-bottom: 12px; }
.at-home-section-head p:not(.at-section-kicker), .at-architecture-copy > p, .at-how-columns > .wp-block-column > p { color: var(--at-muted); max-width: 660px; }
.at-home-latest { background: var(--at-surface); }
.at-view-all { font-size: .9rem; }
.at-home-query .wp-block-post { box-shadow: 0 12px 36px rgba(0,70,102,.05); }
.at-query-empty { padding: 42px; }
.at-query-empty h3 { color: var(--at-primary-dark); margin-bottom: 8px; }
.at-query-empty p { margin: 0; }

.at-architecture { background: var(--at-background); }
.at-architecture-columns { align-items: center !important; gap: clamp(3rem, 7vw, 6rem); }
.at-feature-list { border-top: 1px solid var(--at-border); margin-top: 28px; }
.at-feature-list > div { border-bottom: 1px solid var(--at-border); display: grid; gap: 15px; grid-template-columns: 44px minmax(0,1fr); padding: 19px 0; }
.at-feature-icon { align-items: center; background: var(--at-soft); border-radius: 10px; color: var(--at-primary); display: flex; font-size: .68rem; font-weight: 700; height: 42px; justify-content: center; width: 42px; }
.at-feature-list strong { color: var(--at-primary-dark); display: block; font-size: 1.02rem; }
.at-feature-list p { color: var(--at-muted); font-size: .88rem; margin: 5px 0 0; }
.at-private-preview { background: #062f42; border-radius: 20px; box-shadow: 0 28px 65px rgba(0,53,78,.16); color: #fff; overflow: hidden; }
.at-private-preview-head { align-items: center; border-bottom: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; padding: 20px 22px; }
.at-private-preview-head span { color: #91cbdf; display: block; font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; }
.at-private-preview-head strong { display: block; font-size: 1.05rem; margin-top: 3px; }
.at-private-preview-head small { border: 1px solid rgba(255,255,255,.15); border-radius: 999px; color: #c5e1ea; font-size: .66rem; padding: 5px 9px; }
.at-private-preview-body { padding: 20px; }
.at-private-portfolios { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
.at-private-portfolios article, .at-private-portfolios a { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); border-radius: 12px; color: inherit; padding: 18px; text-decoration: none; }
.at-private-portfolios span { color: #9ed2e4; display: block; font-size: .68rem; }
.at-private-portfolios strong { display: block; font-size: 1.6rem; margin-top: 4px; }
.at-private-portfolios small { color: #c5e1ea; display: block; font-size: .72rem; margin-top: 18px; }
.at-private-alert { align-items: center; background: #fff; border-radius: 12px; color: var(--at-text); display: grid; gap: 12px; grid-template-columns: 38px minmax(0,1fr) auto; margin-top: 12px; padding: 14px; text-decoration: none; }
.at-private-symbol { align-items: center; background: #e3f4ed; border-radius: 10px; color: #187956; display: flex; font-size: 1.2rem; height: 38px; justify-content: center; width: 38px; }
.at-private-alert strong, .at-private-alert small { display: block; }
.at-private-alert strong { color: var(--at-primary-dark); font-size: .9rem; }
.at-private-alert small { color: var(--at-muted); font-size: .7rem; margin-top: 2px; }
.at-private-alert b { color: #187956; font-size: .68rem; }
.at-trading-room { align-items: center; background: linear-gradient(135deg, rgba(54,169,209,.22), rgba(255,255,255,.06)); border: 1px solid rgba(115,208,237,.22); border-radius: 12px; color: inherit; display: flex; justify-content: space-between; margin-top: 12px; padding: 16px; text-decoration: none; }
.at-trading-room span:first-child { color: #8fd5ee; display: block; font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; }
.at-trading-room strong { display: block; font-size: .86rem; margin-top: 4px; }
.at-chat-symbol { align-items: center; background: var(--at-accent); border-radius: 50%; color: var(--at-primary-dark); display: flex; font-weight: 700; height: 38px; justify-content: center; letter-spacing: 2px; width: 38px; }

.at-topics { background: var(--at-surface); }
.at-topic-grid { display: grid; gap: 18px; grid-template-columns: repeat(3,minmax(0,1fr)); }
.at-topic-grid > a { background: var(--at-background); border: 1px solid var(--at-border); border-radius: 14px; display: flex; flex-direction: column; min-height: 250px; padding: 26px; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.at-topic-grid > a:hover { box-shadow: 0 18px 45px rgba(0,70,102,.1); transform: translateY(-3px); }
.at-topic-grid span { color: var(--at-accent); font-size: .74rem; font-weight: 700; }
.at-topic-grid strong { color: var(--at-primary-dark); font-size: 1.35rem; margin-top: 32px; }
.at-topic-grid p { color: var(--at-muted); font-size: .9rem; margin: 10px 0; }
.at-topic-grid b { color: var(--at-primary); font-size: .82rem; margin-top: auto; }
.at-ad-placeholder { background: rgba(255,255,255,.55); border: 1px dashed #b8c7cc; margin: 0 auto 4px; max-width: 880px; padding: 16px; text-align: center; }
.at-ad-placeholder span { color: #7b8b91; font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; }
.at-ad-placeholder p { color: #7b8b91; font-size: .75rem; margin: 3px 0 0; }

.at-membership { background: radial-gradient(circle at 100% 0, rgba(54,169,209,.24), transparent 34%), var(--at-primary-dark); color: #fff; padding: clamp(4.8rem, 9vw, 7.5rem) 0; }
.at-membership-columns { align-items: center !important; gap: clamp(3rem, 7vw, 6rem); }
.at-membership .at-section-kicker { color: #80d0eb; }
.at-membership h2 { color: #fff; font-size: clamp(2.4rem,4.7vw,4.2rem); letter-spacing: -.04em; line-height: 1.05; margin-bottom: 20px; }
.at-membership-copy > p:not(.at-section-kicker) { color: #c5dfe8; font-size: 1.03rem; max-width: 610px; }
.at-member-benefits { display: grid; gap: 12px; list-style: none; margin: 28px 0 0; padding: 0; }
.at-member-benefits li { color: #e6f3f7; padding-left: 30px; position: relative; }
.at-member-benefits li::before { align-items: center; border: 1px solid #62cba6; border-radius: 50%; color: #62cba6; content: "✓"; display: flex; font-size: .68rem; height: 18px; justify-content: center; left: 0; position: absolute; top: 3px; width: 18px; }
.at-price-selector { background: #fff; border-radius: 18px; color: var(--at-text); padding: clamp(1.5rem,4vw,2.25rem); }
.at-price-selector h3 { color: var(--at-primary-dark); margin: 0; }
.at-plan-choices { background: #e8eef0; border-radius: 11px; display: grid; gap: 4px; grid-template-columns: repeat(3,1fr); margin-top: 20px; padding: 4px; }
.at-plan-choice { background: transparent; border: 0; border-radius: 8px; color: var(--at-muted); cursor: pointer; font: inherit; font-size: .76rem; min-height: 44px; padding: 8px 4px; }
.at-plan-choice.is-active { background: var(--at-primary); color: #fff; font-weight: 600; }
.at-plan-choice:focus-visible { outline: 3px solid rgba(54,169,209,.35); outline-offset: 2px; }
.at-price-result { align-items: flex-end; display: flex; gap: 16px; justify-content: space-between; margin-top: 24px; }
.at-price-result > div > strong { color: var(--at-primary-dark); display: block; font-size: clamp(2.5rem,5vw,3.8rem); letter-spacing: -.045em; line-height: 1; }
.at-price-result > div > span { color: var(--at-muted); display: block; font-size: .72rem; margin-top: 8px; }
.at-price-result > small { background: #e3f4ed; border-radius: 9px; color: #187956; font-size: .7rem; max-width: 155px; padding: 8px 10px; text-align: right; }
.at-renewal-copy { border-top: 1px solid var(--at-border); color: var(--at-muted); font-size: .76rem; margin: 20px 0 0; padding-top: 17px; }
.at-price-action { background: var(--at-primary); border-radius: 9px; color: #fff; display: block; font-weight: 600; margin-top: 18px; min-height: 50px; padding: 13px 18px; text-align: center; text-decoration: none; }
.at-payment-copy { color: #718188; font-size: .68rem; margin: 12px 0 0; text-align: center; }
.at-payment-copy strong { color: var(--at-primary); }

.at-how { background: var(--at-surface); }
.at-how-columns { gap: clamp(3rem,7vw,6rem); }
.at-process { counter-reset: at-process; list-style: none; margin: 0; padding: 0; }
.at-process li { border-bottom: 1px solid var(--at-border); counter-increment: at-process; display: grid; gap: 16px; grid-template-columns: 42px minmax(0,1fr); padding: 20px 0; }
.at-process li:first-child { border-top: 1px solid var(--at-border); }
.at-process li::before { align-items: center; background: var(--at-primary); border-radius: 50%; color: #fff; content: "0" counter(at-process); display: flex; font-size: .7rem; font-weight: 700; height: 38px; justify-content: center; width: 38px; }
.at-process strong { color: var(--at-primary-dark); display: block; }
.at-process p { color: var(--at-muted); font-size: .86rem; margin: 4px 0 0; }
.at-faq { background: var(--at-background); }
.at-faq-list { border-top: 1px solid var(--at-border); margin-top: 28px; max-width: 900px; }
.at-faq-list details { border-bottom: 1px solid var(--at-border); }
.at-faq-list summary { color: var(--at-primary-dark); cursor: pointer; font-weight: 600; list-style: none; padding: 20px 36px 20px 0; position: relative; }
.at-faq-list summary::-webkit-details-marker { display: none; }
.at-faq-list summary::after { color: var(--at-primary); content: "+"; font-size: 1.35rem; font-weight: 400; position: absolute; right: 4px; top: 15px; }
.at-faq-list details[open] summary::after { content: "−"; }
.at-faq-list details p { color: var(--at-muted); font-size: .9rem; margin: 0; max-width: 760px; padding: 0 30px 20px 0; }

.at-site-footer { padding-top: 54px; }
.at-footer-top { align-items: flex-start; display: grid !important; grid-template-columns: minmax(210px,1fr) minmax(210px,1.1fr) minmax(300px,1.4fr); }
.at-footer-description { color: #b7d1dc; font-size: .82rem; margin: 4px 0 0; max-width: 360px; }
.at-footer-links { font-size: .8rem; }
.at-footer-bottom { font-size: .76rem; }

@media (max-width: 960px) {
  .at-navigation { justify-content: flex-end; }
  .at-home-hero-columns, .at-architecture-columns, .at-membership-columns { gap: 3rem; }
  .at-topic-grid { grid-template-columns: 1fr 1fr; }
  .at-topic-grid > a:last-child { grid-column: 1 / -1; }
  .at-footer-top { grid-template-columns: 1fr 1fr; }
  .at-footer-links { grid-column: 1 / -1; justify-content: flex-start; }
}

@media (max-width: 782px) {
  .at-home-hero-columns, .at-architecture-columns, .at-membership-columns, .at-how-columns { width: calc(100% - 40px) !important; }
  .at-home-hero-columns, .at-architecture-columns, .at-membership-columns { align-items: stretch !important; }
  .at-home-hero-copy, .at-architecture-copy { flex-basis: auto !important; }
  .at-market-board { max-width: 650px; }
  .at-home-section-head { align-items: flex-start; flex-direction: column; }
  .at-home-query .wp-block-post-template { grid-template-columns: 1fr 1fr; }
  .at-topic-grid { width: calc(100% - 40px) !important; }
  .at-footer-top { display: grid !important; grid-template-columns: 1fr; }
  .at-footer-links { grid-column: auto; }
}

@media (max-width: 560px) {
  .at-announcement p { font-size: .68rem; }
  .at-header-inner { min-height: 66px; }
  .at-brand-link img { max-height: 32px; max-width: 44vw; }
  .at-login-button .wp-block-button__link { min-width: 0; }
  .at-header-account-link { font-size: .86rem; min-width: auto; padding: 11px 13px; }
  .at-header-account-actions--desktop { display: none; }
  .at-navigation .at-header-account-actions--mobile {
    align-items: stretch;
    border-top: 1px solid var(--at-border);
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 24px;
    padding-top: 22px;
    width: 100%;
  }
  .at-navigation .at-header-account-actions--mobile .at-header-account-link,
  .at-navigation .at-header-account-actions--mobile .at-header-logout-link {
    box-sizing: border-box;
    min-height: 48px;
    width: 100%;
  }
  .at-home-hero { padding: 3.4rem 0 3.8rem; }
  .at-home-hero-columns, .at-architecture-columns, .at-membership-columns, .at-how-columns { gap: 2.3rem; width: calc(100% - 32px) !important; }
  .at-home-hero h1 { font-size: clamp(2.25rem,11vw,3.2rem); }
  .at-home-hero-intro { font-size: 1rem; }
  .at-home-actions .wp-block-button, .at-home-actions .wp-block-button__link { width: 100%; }
  .at-service-facts { margin-top: 28px; }
  .at-service-facts > div { padding: 13px 5px; }
  .at-service-facts span { font-size: .62rem; line-height: 1.3; }
  .at-market-board { border-radius: 16px; padding: 18px; }
  .at-market-line { margin-top: 15px; }
  .at-market-portfolios span { font-size: .61rem; }
  .at-market-portfolios strong { font-size: .8rem; }
  .at-home-section { padding: 3.8rem 0; }
  .at-home-section-head h2, .at-architecture h2, .at-how h2, .at-faq h2 { font-size: 2.2rem; }
  .at-home-query .wp-block-post-template { grid-template-columns: 1fr; }
  .at-query-empty { padding: 28px 20px; }
  .at-private-preview { border-radius: 16px; }
  .at-private-portfolios article, .at-private-portfolios a { padding: 14px; }
  .at-private-portfolios strong { font-size: 1.3rem; }
  .at-private-alert { grid-template-columns: 36px minmax(0,1fr); }
  .at-private-alert b { display: none; }
  .at-trading-room { gap: 10px; }
  .at-topic-grid { grid-template-columns: 1fr; width: calc(100% - 32px) !important; }
  .at-topic-grid > a:last-child { grid-column: auto; }
  .at-topic-grid > a { min-height: 220px; }
  .at-ad-placeholder { margin-inline: 16px; }
  .at-membership { padding: 4rem 0; }
  .at-membership h2 { font-size: 2.45rem; }
  .at-price-selector { border-radius: 15px; padding: 20px; }
  .at-price-result { align-items: flex-start; flex-direction: column; }
  .at-price-result > small { text-align: left; }
  .at-footer-top, .at-footer-bottom { width: calc(100% - 32px) !important; }
  .at-site-footer .at-brand-link img { max-height: 42px; max-width: 240px; }
}

/* Keep the site footer at the viewport bottom on short pages. */
.wp-site-blocks {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}
.wp-site-blocks > main {
	flex: 1 0 auto;
}
.wp-site-blocks > footer.wp-block-template-part {
	margin-block-start: 0;
}

/*
 * Invariantes de espaciado de las superficies funcionales.
 * Se declaran también con propiedades lógicas para que los estilos globales
 * de bloques de WordPress no puedan reintroducir separaciones editoriales.
 */
.atvc-value-card h3 {
	margin-block: 2px 7px;
}
.atp-trading-ledger-head h2 {
	margin-block: 3px 4px;
}
.atp-trading-chart h2,
.atp-trading-now h2,
.atp-trading-section h2 {
	margin-block: 4px 0;
}

/* Gestor propio de consentimiento de cookies. */
.at-cookie-banner[hidden],
.at-cookie-settings[hidden],
.at-cookie-close[hidden] { display: none !important; }

.at-cookie-banner {
	align-items: flex-end;
	background: rgba(0, 35, 51, .34);
	bottom: 0;
	display: flex;
	inset-inline: 0;
	justify-content: center;
	padding: 18px;
	position: fixed;
	z-index: 999999;
}

.at-cookie-panel {
	background: #fff;
	border: 1px solid #cadadf;
	border-radius: 17px;
	box-shadow: 0 22px 70px rgba(0, 45, 67, .25);
	color: #35545f;
	max-width: 920px;
	padding: 24px 26px;
	position: relative;
	width: 100%;
}

.at-cookie-kicker {
	color: #0083ad;
	display: block;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: .12em;
	margin-bottom: 5px;
	text-transform: uppercase;
}

.at-cookie-panel h2 {
	color: #00354e;
	font-size: 21px;
	line-height: 1.2;
	margin: 0 0 8px;
}

.at-cookie-panel p { font-size: 13px; line-height: 1.55; margin: 0; }
.at-cookie-more { margin-top: 7px !important; }
.at-cookie-more a { color: #00698f; font-size: 12px; font-weight: 700; }

.at-cookie-actions {
	display: grid;
	gap: 10px;
	grid-template-columns: 1fr .76fr 1fr;
	margin-top: 18px;
}

.at-cookie-actions button,
.at-cookie-settings-actions button {
	border-radius: 9px;
	cursor: pointer;
	font-size: 12px;
	font-weight: 750;
	min-height: 44px;
	padding: 9px 14px;
}

.at-cookie-choice,
.at-cookie-save {
	background: #004f70;
	border: 1px solid #004f70;
	color: #fff;
}

.at-cookie-choice:hover,
.at-cookie-save:hover { background: #003e59; }
.at-cookie-configure,
.at-cookie-settings-actions button:first-child { background: #fff; border: 1px solid #9db4bc; color: #004666; }

.at-cookie-close {
	align-items: center;
	background: transparent;
	border: 0;
	color: #48636c;
	cursor: pointer;
	display: flex;
	font-size: 24px;
	height: 34px;
	justify-content: center;
	position: absolute;
	right: 15px;
	top: 12px;
	width: 34px;
}

.at-cookie-settings { display: grid; gap: 12px; }
.at-cookie-settings > h2 { outline: none; }
.at-cookie-category {
	align-items: center;
	background: #f4f8f8;
	border: 1px solid #d7e3e5;
	border-radius: 11px;
	display: grid;
	gap: 16px;
	grid-template-columns: minmax(0, 1fr) auto;
	padding: 13px 15px;
}
.at-cookie-category strong { color: #003f5b; display: block; font-size: 13px; margin-bottom: 2px; }
.at-cookie-category p { color: #60757d; font-size: 11px; }
.at-cookie-required { color: #087f5b; font-size: 10px; font-weight: 800; white-space: nowrap; }
.at-cookie-category--toggle { cursor: pointer; grid-template-columns: minmax(0, 1fr) auto auto; }
.at-cookie-category--toggle input { height: 1px; opacity: 0; position: absolute; width: 1px; }
.at-cookie-switch { background: #aebfc4; border-radius: 999px; height: 25px; position: relative; transition: background .18s ease; width: 44px; }
.at-cookie-switch::after { background: #fff; border-radius: 50%; box-shadow: 0 1px 4px rgba(0,0,0,.22); content: ''; height: 19px; left: 3px; position: absolute; top: 3px; transition: transform .18s ease; width: 19px; }
.at-cookie-category--toggle input:checked + .at-cookie-switch { background: #008bb6; }
.at-cookie-category--toggle input:checked + .at-cookie-switch::after { transform: translateX(19px); }
.at-cookie-category--toggle input:focus-visible + .at-cookie-switch { outline: 3px solid rgba(0, 139, 182, .25); outline-offset: 3px; }
.at-cookie-settings-actions { display: grid; gap: 10px; grid-template-columns: .6fr 1fr; margin-top: 3px; }
.at-cookie-status { height: 0; overflow: hidden; position: absolute; width: 0; }

@media (max-width: 640px) {
	.at-cookie-banner { padding: 10px; }
	.at-cookie-panel { border-radius: 14px; padding: 20px 18px; }
	.at-cookie-panel h2 { font-size: 19px; }
	.at-cookie-panel p { font-size: 12px; }
	.at-cookie-actions { grid-template-columns: 1fr 1fr; }
	.at-cookie-configure { grid-column: 1 / -1; grid-row: 2; }
	.at-cookie-category { align-items: start; gap: 9px; }
	.at-cookie-category--toggle { grid-template-columns: minmax(0, 1fr) auto; }
	.at-cookie-category--toggle .at-cookie-switch { grid-column: 2; grid-row: 1 / span 2; }
}

/* Refinamientos de experiencia exclusivamente movil.
 * Todas las reglas quedan deliberadamente por debajo de 700px para que la
 * composicion de escritorio permanezca intacta. */
@media (max-width: 700px) {
  /* WordPress puede envolver enlaces del panel en parrafos al procesar el
   * shortcode. En movil esos envoltorios se convertian en celdas de la rejilla
   * y desordenaban por completo el menu. */
  .at-member-sidebar .at-member-nav > p {
    display: contents !important;
  }

  .at-member-sidebar .at-member-nav > br,
  .at-member-sidebar .at-member-nav > p:empty {
    display: none !important;
  }

  /* Navegacion privada compacta: permanece recogida y muestra la seccion
   * actual. Al abrirse ofrece objetivos tactiles amplios en dos columnas. La
   * clase se anade con JavaScript, de modo que el menu original sigue visible
   * como alternativa si el script no llegara a ejecutarse. */
  .at-member-sidebar.has-mobile-menu {
    padding: 12px;
  }

  .at-member-sidebar.has-mobile-menu .at-member-nav-label {
    display: none;
  }

  .at-mobile-member-menu-toggle {
    align-items: center;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(159, 215, 233, .28);
    border-radius: 11px;
    color: #fff;
    display: grid;
    gap: 9px;
    grid-template-columns: 32px minmax(0, 1fr) 24px;
    min-height: 54px;
    padding: 8px 10px;
    text-align: left;
    width: 100%;
  }

  .at-mobile-member-menu-icon,
  .at-mobile-member-menu-chevron {
    align-items: center;
    display: flex;
    justify-content: center;
  }

  .at-mobile-member-menu-icon {
    background: rgba(255, 255, 255, .12);
    border-radius: 8px;
    color: #72d0ed;
    font-size: 15px;
    height: 32px;
    width: 32px;
  }

  .at-mobile-member-menu-copy {
    align-items: baseline;
    display: flex;
    gap: 7px;
    min-width: 0;
  }

  .at-mobile-member-menu-copy small {
    color: #a9cfdb;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
  }

  .at-mobile-member-menu-copy strong {
    font-size: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .at-mobile-member-menu-chevron {
    color: #a9cfdb;
    font-size: 0;
    height: 24px;
    transition: transform .18s ease;
    width: 24px;
  }

  .at-mobile-member-menu-chevron::before {
    border-bottom: 2px solid currentColor;
    border-right: 2px solid currentColor;
    content: "";
    height: 7px;
    transform: rotate(45deg) translate(-1px, -1px);
    width: 7px;
  }

  .at-mobile-member-menu-toggle[aria-expanded="true"] .at-mobile-member-menu-chevron::before {
    transform: rotate(225deg) translate(-1px, -1px);
  }

  .at-mobile-member-menu-toggle:focus-visible {
    box-shadow: 0 0 0 3px rgba(93, 198, 230, .25);
    outline: 2px solid #75d0eb;
    outline-offset: 2px;
  }

  .at-member-sidebar.has-mobile-menu .at-member-nav:not(.is-mobile-open) {
    display: none !important;
  }

  .at-member-sidebar.has-mobile-menu .at-member-nav.is-mobile-open {
    display: grid !important;
    gap: 6px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 10px;
  }

  .at-member-sidebar.has-mobile-menu .at-member-nav.is-mobile-open > a,
  .at-member-sidebar.has-mobile-menu .at-member-nav.is-mobile-open > p > a {
    align-items: center;
    display: flex !important;
    flex-direction: row !important;
    font-size: 13px !important;
    gap: 9px !important;
    justify-content: flex-start !important;
    min-height: 46px;
    padding: 9px 10px !important;
    text-align: left;
  }

  .at-member-sidebar.has-mobile-menu .at-member-nav.is-mobile-open .at-member-nav-icon {
    align-items: center;
    background: rgba(255, 255, 255, .08);
    border-radius: 7px;
    display: flex;
    flex: 0 0 26px;
    font-size: 13px !important;
    height: 26px;
    justify-content: center;
    margin: 0 !important;
    width: 26px;
  }

  .at-member-sidebar.has-mobile-menu .at-member-nav.is-mobile-open a > span:last-child {
    font-size: 13px !important;
    line-height: 1.2;
  }

  .at-member-sidebar.has-mobile-menu .at-member-nav.is-mobile-open a[href$="#cuenta"] {
    grid-column: 1 / -1;
  }

  /* Navegaciones horizontales manejables con el pulgar y sin ensanchar la
   * pagina. La siguiente opcion queda parcialmente visible como indicacion de
   * que existe mas contenido. */
  .at-pub-nav,
  .ath-editorial-nav,
  .atvc-local-nav,
  .atp-private-nav,
  .at-room-tabs {
    max-width: 100%;
    overscroll-behavior-inline: contain;
    scroll-padding-inline: 10px;
    scroll-snap-type: x proximity;
    touch-action: pan-x;
    -webkit-overflow-scrolling: touch;
  }

  .at-pub-nav > *,
  .ath-editorial-nav > *,
  .atvc-local-nav > *,
  .atp-private-nav > *,
  .at-room-tabs > * {
    scroll-snap-align: start;
  }

  /* Sustituto movil robusto para el logotipo del bloque de cabecera. La ruta
   * relativa al tema evita que una URL absoluta cacheada muestre el texto alt. */
  .at-site-header .at-brand-link {
    background: url("assets/images/Logo_ActivoTrading-removebg-preview.png") left center / contain no-repeat;
    flex: 0 1 198px;
    min-height: 36px;
    min-width: 138px;
  }

  .at-site-header .at-brand-link img {
    height: 1px !important;
    opacity: 0;
    width: 1px !important;
  }

  /* Densidad progresiva para listados largos. El script solo aplica estas
   * clases cuando existen mas elementos que el limite apropiado. */
  .at-mobile-collapsible:not(.is-mobile-expanded) > .at-mobile-deferred {
    display: none !important;
  }

  .at-room-market-grid.at-mobile-market-collapsible:not(.is-mobile-expanded) .at-mobile-market-secondary {
    display: none !important;
  }

  .at-mobile-list-toggle {
    align-items: center;
    background: #fff;
    border: 1px solid var(--at-border);
    border-radius: 10px;
    color: var(--at-primary);
    display: flex;
    font: inherit;
    font-size: 12px;
    font-weight: 800;
    justify-content: center;
    margin: 14px auto 0;
    min-height: 46px;
    padding: 10px 16px;
    width: min(100%, 330px);
  }

  .at-mobile-list-toggle::after {
    content: "\2193";
    font-size: 15px;
    margin-left: 8px;
  }

  .at-mobile-list-toggle[aria-expanded="true"]::after {
    content: "\2191";
  }

  .at-mobile-list-toggle:focus-visible {
    box-shadow: 0 0 0 3px rgba(54, 169, 209, .22);
    outline: 2px solid var(--at-primary);
    outline-offset: 2px;
  }

  .at-room-market-toggle {
	margin-top: 5px;
    margin-bottom: 14px;
  }

  /* Cabecera de mercados sin mensajes tecnicos redundantes. La hora de la
   * ultima actualizacion y la fuente comparten una unica linea compacta. */
  .at-room-panel-head {
    gap: 5px !important;
  }

  .at-room-market-status {
    display: block !important;
    max-width: none !important;
  }

  .at-room-market-status i,
  .at-room-market-status strong {
    display: none !important;
  }

  .at-room-market-status small {
    color: #667e87 !important;
    display: block !important;
    font-size: 10px !important;
    grid-column: auto !important;
    margin: 0 !important;
  }

  .at-room-market-status small::after {
    color: #667e87;
    content: " · Fuente: Yahoo Finance";
  }

  .at-room-market-table-wrap + .at-room-market-table-wrap {
    border-top: 0 !important;
  }

  .at-room-market-table-wrap + .at-room-market-table-wrap thead,
  .at-room-market-note {
    display: none !important;
  }

  /* Aproximadamente un 9 % mas de altura util para la conversacion movil. */
  .at-chat-feed-wrap {
    max-height: 59vh !important;
    min-height: 425px !important;
  }

  .at-chat-empty {
    min-height: 350px !important;
  }

  /* Los dos formularios de Cuenta conservaban las areas de la cuadricula de
   * escritorio al entrar en la cuadricula anidada movil. Eso los colocaba uno
   * encima del otro. En movil se apilan de forma explicita y ocupan el mismo
   * eje y ancho que los demas modulos. */
  .atp-account-embedded .at-account-settings {
    display: grid !important;
    gap: 16px !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: none !important;
    margin-top: 20px;
    min-width: 0;
    width: 100%;
  }

  .atp-account-embedded .at-account-settings > .at-account-panel {
    grid-area: auto !important;
    grid-column: 1 !important;
    grid-row: auto !important;
    justify-self: stretch;
    margin: 0 !important;
    min-width: 0;
    width: 100%;
  }

  /* Un pequeno colchon separa los accesos de carteras de la base de su zona
   * desplazable, sin aumentar innecesariamente la longitud de la pagina. */
  #at-member-panel [data-member-panel="portfolios"] .atp-private-nav {
    padding-bottom: 10px;
  }

  /* En la portada ya existe un enlace a todos los valores; tres fichas son
   * suficientes para conservar ritmo editorial sin un scroll innecesario. */
  .ath-values-grid > .ath-value-card:nth-child(n+4) {
    display: none;
  }

  /* Evita desbordamientos causados por titulos, tickers o botones largos. */
  .atvc-value-card,
  .atp-value-card,
  .at-pub-card,
  .atp-publication-card,
  .atp-member-movements article,
  .at-member-surface {
    max-width: 100%;
    min-width: 0;
  }

  .atvc-value-card h3,
  .atp-value-card h3,
  .at-pub-card h2,
  .atp-publication-card h3,
  .atp-member-movement-detail,
  .at-member-view-heading h1 {
    overflow-wrap: anywhere;
  }
}

/* Compactacion estrictamente telefonica de la Sala de Trading. El escritorio
 * y las tabletas anchas conservan sin cambios su composicion original. */
@media (max-width: 560px) {
  /* Uniformidad solicitada exclusivamente en los antetitulos del panel movil. */
  #at-member-panel [data-member-panel="overview"] .at-member-kicker,
  #at-member-panel [data-member-panel="portfolios"] .at-member-kicker,
  #at-member-panel [data-member-panel="movements"] .at-member-kicker,
  #at-member-panel [data-member-panel="room"] .at-member-kicker,
  #at-member-panel [data-member-panel="posts"] .at-member-kicker,
  #at-member-panel [data-member-panel="values"] .at-member-kicker,
  #at-member-panel [data-member-panel="account"] .at-member-kicker,
  #at-member-panel .at-room-chat-title > div > span {
    font-size: 10px !important;
    font-weight: 900 !important;
    letter-spacing: .12em !important;
    line-height: 1.5 !important;
    text-transform: uppercase !important;
  }

  /* En Resumen, estado y titulo comparten linea y se adaptan en telefonos
   * estrechos; el subtitulo conserva todo su texto en una sola linea. */
  #at-member-panel [data-member-panel="overview"] .at-member-view-heading {
    align-items: center !important;
    column-gap: 8px !important;
    display: grid !important;
    grid-template-areas:
      "kicker kicker"
      "title state"
      "subtitle subtitle";
    grid-template-columns: minmax(0, 1fr) auto;
    row-gap: 3px !important;
  }

  #at-member-panel [data-member-panel="overview"] .at-member-view-heading > div {
    display: contents;
  }

  #at-member-panel [data-member-panel="overview"] .at-member-kicker {
    grid-area: kicker;
    margin: 0 !important;
  }

  #at-member-panel [data-member-panel="overview"] .at-member-view-heading h1 {
    font-size: clamp(1.6rem, 8vw, 2rem) !important;
    grid-area: title;
    margin: 0 !important;
    overflow-wrap: normal !important;
    white-space: nowrap;
  }

  #at-member-panel [data-member-panel="overview"] .at-member-view-heading > div > p {
    font-size: clamp(11px, 3.2vw, 12.5px) !important;
    grid-area: subtitle;
    letter-spacing: -.05em;
    line-height: 1.3 !important;
    margin: 0 !important;
    overflow-wrap: normal !important;
    white-space: nowrap;
  }

  #at-member-panel [data-member-panel="overview"] .at-member-view-heading > .at-member-state {
    align-self: center;
    font-size: 10px;
    grid-area: state;
    margin: 0 !important;
    padding: 6px 9px;
  }

  /* El subtitulo de Carteras se reduce solo lo imprescindible para evitar
   * el salto, conservando un tamano legible. */
  #at-member-panel [data-member-panel="portfolios"] .at-member-view-heading > div > p {
    font-size: clamp(11px, 3.2vw, 12.5px) !important;
    letter-spacing: -.075em;
    line-height: 1.3 !important;
    margin: 0 !important;
    overflow-wrap: normal !important;
    white-space: nowrap;
  }

  /* Movimientos usa el mismo tamano de subtitulo, pero conserva su salto de
   * linea natural porque contiene mas informacion. */
  #at-member-panel [data-member-panel="movements"] .at-member-view-heading > div > p {
    font-size: clamp(11px, 3.2vw, 12.5px) !important;
    letter-spacing: 0;
    line-height: 1.45 !important;
  }

  /* Valores y Cuenta mantienen la misma escala tipografica del resto de
   * subtitulos del panel movil. */
  #at-member-panel [data-member-panel="values"] .at-member-view-heading > div > p,
  #at-member-panel [data-member-panel="values"] .atp-values-heading > p,
  #at-member-panel [data-member-panel="account"] .at-member-view-heading > div > p {
    font-size: clamp(11px, 3.2vw, 12.5px) !important;
    line-height: 1.3 !important;
  }

  /* WordPress introduce un parrafo vacio al final de este listado. Al formar
   * parte de la cuadricula generaba una fila y un hueco inferior falsos. */
  #at-member-panel [data-member-panel="values"] .atp-values-grid > p:empty {
    display: none !important;
  }

  #at-member-panel [data-member-panel="values"] .at-mobile-list-toggle {
    margin-top: 28px;
  }

  /* La etiqueta queda en su propia fila y los tres historicos se muestran
   * juntos debajo. */
  #at-member-panel [data-member-panel="movements"] .atp-member-history-links {
    display: grid;
    gap: 6px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
  }

  #at-member-panel [data-member-panel="movements"] .atp-member-history-links > span {
    grid-column: 1 / -1;
  }

  #at-member-panel [data-member-panel="movements"] .atp-member-history-links > a {
    font-size: clamp(8px, 2.55vw, 10px);
    letter-spacing: -.025em;
    min-width: 0;
    padding: 7px 2px;
    text-align: center;
    white-space: nowrap;
  }

  #at-member-panel [data-member-panel="room"] .at-member-view-heading {
    align-items: center !important;
    column-gap: 9px !important;
    display: grid !important;
    grid-template-areas:
      "kicker kicker"
      "title state"
      "subtitle subtitle";
    grid-template-columns: minmax(0, 1fr) auto;
    margin-bottom: 16px !important;
    row-gap: 3px !important;
  }

  #at-member-panel [data-member-panel="room"] .at-member-view-heading > div {
    display: contents;
  }

  #at-member-panel [data-member-panel="room"] .at-member-view-heading .at-member-kicker {
    grid-area: kicker;
    margin: 0 !important;
  }

  #at-member-panel [data-member-panel="room"] .at-member-view-heading h1 {
    font-size: 1.9rem !important;
    grid-area: title;
    margin: 0 !important;
    overflow-wrap: normal;
    white-space: nowrap;
  }

  #at-member-panel [data-member-panel="room"] .at-member-view-heading > div > p {
    font-size: clamp(11px, 3.2vw, 12.5px) !important;
    grid-area: subtitle;
    letter-spacing: -.035em;
    line-height: 1.3 !important;
    margin: 0 !important;
    white-space: nowrap;
  }

  #at-member-panel [data-member-panel="room"] .at-member-view-heading > p {
    align-self: center;
    grid-area: state;
    margin: 0 !important;
  }

  #at-member-panel [data-member-panel="room"] .at-member-state {
    font-size: 10px;
    padding: 6px 9px;
  }

  #at-member-panel .at-room-chat-title > div > span {
    margin-bottom: 4px !important;
  }

  #at-member-panel .at-room-chat-title > p {
    font-size: clamp(11px, 3.2vw, 12.5px) !important;
    line-height: 1.3 !important;
  }

  /* En Publicaciones, el estado comparte la primera linea con el antetitulo.
   * El titulo y el subtitulo conservan todo el ancho disponible debajo. */
  #at-member-panel [data-member-panel="posts"] .at-member-view-heading {
    align-items: center !important;
    column-gap: 7px !important;
    display: grid !important;
    grid-template-areas:
      "kicker state"
      "title title"
      "subtitle subtitle";
    grid-template-columns: minmax(0, 1fr) auto;
    row-gap: 3px !important;
  }

  #at-member-panel [data-member-panel="posts"] .at-member-view-heading > div {
    display: contents;
  }

  #at-member-panel [data-member-panel="posts"] .at-member-kicker {
    grid-area: kicker;
    margin: 0 !important;
    min-width: 0;
    white-space: nowrap;
  }

  #at-member-panel [data-member-panel="posts"] .at-member-view-heading h1 {
    grid-area: title;
    margin: 0 !important;
  }

  #at-member-panel [data-member-panel="posts"] .at-member-view-heading > div > p {
    font-size: clamp(11px, 3.2vw, 12.5px) !important;
    grid-area: subtitle;
    line-height: 1.3 !important;
    margin: 0 !important;
  }

  #at-member-panel [data-member-panel="posts"] .at-member-state {
    font-size: 9px;
    grid-area: state;
    margin: 0 !important;
    padding: 5px;
    white-space: nowrap;
  }

  /* Se conserva una sola cabecera editorial (Chat de miembros) y el estado
   * activo pasa a la pestana Chat. Asi desaparece la tercera repeticion. */
  .at-chat-header {
    display: none !important;
  }

  .at-member-app .at-chat-mobile-tabs button:first-of-type::before {
    background: #13a474;
    border: 2px solid #dff5ed;
    border-radius: 50%;
    box-shadow: 0 0 0 2px rgba(19, 164, 116, .1);
    content: "";
    display: inline-block;
    height: 8px;
    margin-right: 7px;
    vertical-align: 1px;
    width: 8px;
  }

  /* Las cuatro herramientas de la Sala permanecen visibles sin desplazamiento
   * horizontal. En telefono se usan las etiquetas breves solicitadas. */
  #at-member-panel [data-member-panel="room"] .at-room-tabs {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow: visible !important;
    scrollbar-width: none;
  }

  #at-member-panel [data-member-panel="room"] .at-room-tabs button {
    flex: none !important;
    font-size: 0 !important;
    gap: 3px !important;
    min-width: 0;
    padding: 8px 2px 6px !important;
    white-space: nowrap;
    width: auto;
  }

  #at-member-panel [data-member-panel="room"] .at-room-tabs button::after {
    font-size: 9px;
    line-height: 1;
  }

  #at-member-panel [data-member-panel="room"] .at-room-tabs button:nth-of-type(1)::after {
    content: "Mercados";
  }

  #at-member-panel [data-member-panel="room"] .at-room-tabs button:nth-of-type(2)::after {
    content: "EURO";
  }

  #at-member-panel [data-member-panel="room"] .at-room-tabs button:nth-of-type(3)::after {
    content: "USA";
  }

  #at-member-panel [data-member-panel="room"] .at-room-tabs button:nth-of-type(4)::after {
    content: "Gráficos";
  }

  /* En las fichas privadas de EURO y USA, el subtitulo conserva todo su
   * contenido en una sola linea y escala solo lo imprescindible en telefonos. */
  .atp-private-detail-page .at-member-view-heading > div > p {
    font-size: clamp(9.5px, 2.8vw, 11px) !important;
    letter-spacing: -.035em;
    line-height: 1.3 !important;
    max-width: none !important;
    overflow-wrap: normal !important;
    white-space: nowrap;
  }

  /* El titulo exterior ya identifica cada historico. La tarjeta introductoria
   * repetia titulo, descripcion y benchmark; en movil los KPI empiezan antes. */
  .atp-history .atp-history-head,
  .atp-trading-history-shell .atp-history-head {
    display: none !important;
  }

  .atp-history .atp-history-head + .atp-history-kpis,
  .atp-trading-history-shell .atp-history-head + .atp-history-kpis {
    margin-top: 0 !important;
  }
}

@media (min-width: 701px) {
  /* Unifica todos los antetitulos del panel en escritorio. Se respeta la
   * separacion visual de 4 px aunque cada componente use una estructura distinta. */
  #at-member-panel .at-member-kicker,
  #at-member-panel .at-room-chat-title > div > span,
  #at-member-panel .at-room-panel-head > div:first-child > span {
    font-size: 10px !important;
    font-weight: 850 !important;
    letter-spacing: .13em !important;
    line-height: 1.5 !important;
    text-transform: uppercase;
  }

  #at-member-panel .at-member-kicker,
  #at-member-panel .at-room-panel-head > div:first-child > span {
    margin-bottom: 4px !important;
  }

  #at-member-panel .at-room-chat-title > div > span {
    margin-bottom: 4px !important;
  }

  #at-member-panel .at-room-chat-title h2 {
    margin-top: 0 !important;
  }

  .at-mobile-list-toggle,
  .at-mobile-member-menu-toggle {
    display: none !important;
  }
}

/* La cabecera adicional solo pertenece al menu superpuesto de telefono. */
.at-mobile-menu-heading {
  display: none;
}

/* Navegacion y pie ordenados para telefono. Estas reglas se limitan al menu
 * superpuesto de WordPress y al pie; escritorio conserva su composicion. */
@media (max-width: 560px) {
  .at-navigation .wp-block-navigation__responsive-container.is-menu-open {
    background: #fff;
    box-shadow: -18px 0 46px rgba(0, 53, 78, .12);
    padding: 0;
  }

  .admin-bar .at-navigation .wp-block-navigation__responsive-dialog {
    margin-top: 0 !important;
  }

  .at-navigation .wp-block-navigation__responsive-container-close {
    align-items: center;
    background: #edf5f7;
    border: 1px solid #d5e3e7;
    border-radius: 50%;
    color: var(--at-primary-dark);
    display: flex;
    height: 42px;
    justify-content: center;
    right: 20px;
    top: 17px;
    width: 42px;
  }

  .at-navigation .wp-block-navigation__responsive-container-content {
    align-items: stretch !important;
    box-sizing: border-box;
    gap: 0 !important;
    padding: 12px 24px 20px !important;
    width: 100%;
  }

  .at-navigation .at-mobile-menu-heading {
    align-items: center;
    align-self: stretch !important;
    box-sizing: border-box;
    color: var(--at-primary-dark);
    display: flex;
    font-size: 24px;
    gap: 11px;
    height: 48px;
    justify-content: flex-start !important;
    line-height: 1;
    margin: 0 0 18px !important;
    padding-right: 58px;
    width: 100% !important;
  }

  .at-navigation .at-mobile-menu-heading__mark {
    background: url("assets/images/Logo_ActivoTrading-removebg-preview.png") left center / auto 30px no-repeat;
    flex: 0 0 29px;
    height: 30px;
    overflow: hidden;
    width: 29px;
  }

  .at-navigation .at-mobile-menu-heading strong {
    font-weight: 800;
  }

  .at-navigation .wp-block-navigation__responsive-container-content > .wp-block-navigation__container {
    align-items: stretch !important;
    display: grid !important;
    gap: 10px !important;
    grid-template-columns: minmax(0, 1fr) !important;
    justify-content: stretch !important;
    justify-items: stretch !important;
    width: 100%;
  }

  .at-navigation .wp-block-navigation__responsive-container-content > .wp-block-navigation__container > .wp-block-navigation-item {
    border: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100%;
  }

  .at-navigation .wp-block-navigation__responsive-container-content > .wp-block-navigation__container .wp-block-navigation-item__content {
    align-items: center;
    background: #f7fafb;
    border: 1px solid #d8e5e8;
    border-radius: 11px;
    box-sizing: border-box;
    color: var(--at-primary-dark);
    display: flex;
    font-size: 14px;
    font-weight: 750;
    justify-content: space-between;
    line-height: 1.15;
    min-height: 50px;
    padding: 0 15px;
    text-align: left;
    text-decoration: none;
    width: 100%;
  }

  .at-navigation .wp-block-navigation__responsive-container-content > .wp-block-navigation__container .wp-block-navigation-item__content::after {
    color: #6190a0;
    content: "\203A";
    flex: 0 0 auto;
    font-size: 22px;
    font-weight: 400;
    line-height: 1;
    margin-left: 12px;
  }

  .at-navigation .wp-block-navigation__responsive-container-content > .wp-block-navigation__container .wp-block-navigation-item__content:hover,
  .at-navigation .wp-block-navigation__responsive-container-content > .wp-block-navigation__container .wp-block-navigation-item__content:focus-visible {
    background: #eef6f8;
    border-color: #bad4dc;
    color: var(--at-primary);
  }

  .at-navigation .at-header-account-actions--mobile {
    align-items: stretch;
    border-top: 1px solid var(--at-border);
    display: grid;
    gap: 9px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 20px;
    padding-top: 20px;
    width: 100%;
  }

  .at-navigation .at-header-account-actions--mobile .at-header-account-link,
  .at-navigation .at-header-account-actions--mobile .atvc-header-profile,
  .at-navigation .at-header-account-actions--mobile .at-header-logout-link {
    align-items: center !important;
    border-radius: 11px !important;
    box-sizing: border-box;
    display: flex !important;
    font-family: inherit;
    font-size: 13px !important;
    font-weight: 750 !important;
    height: 48px !important;
    justify-content: center !important;
    line-height: 1.1 !important;
    margin: 0 !important;
    min-height: 48px !important;
    min-width: 0;
    padding: 0 12px !important;
    text-align: center !important;
    text-decoration: none;
    white-space: nowrap;
    width: 100% !important;
  }

  .at-navigation .at-header-account-actions--mobile .at-header-account-link {
    grid-column: 1 / -1;
  }

  .at-navigation .at-header-account-actions--mobile .atvc-header-profile,
  .at-navigation .at-header-account-actions--mobile .at-header-logout-link {
    background: #fff;
    border: 1px solid #ccdde2;
    color: var(--at-primary);
  }

  .at-navigation .at-header-account-actions--mobile .at-header-logout-link {
    gap: 6px;
  }

  .at-site-footer {
    padding: 36px 0 22px;
  }

  .at-site-footer .at-footer-top,
  .at-site-footer .at-footer-bottom {
    width: calc(100% - 32px) !important;
  }

  .at-site-footer .at-footer-top {
    gap: 0;
    padding-bottom: 24px;
  }

  .at-site-footer .at-brand-link {
    display: inline-flex;
  }

  .at-site-footer .at-brand-link img {
    height: auto;
    max-height: 36px;
    max-width: 210px;
    width: auto;
  }

  .at-site-footer .at-footer-description {
    font-size: 13px;
    line-height: 1.55;
    margin: 18px 0 0;
    max-width: 330px;
  }

  .at-site-footer .at-footer-links {
    margin-top: 24px;
    width: 100%;
  }

  .at-site-footer .at-footer-links .wp-block-navigation__container {
    align-items: stretch;
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .at-site-footer .at-footer-links .wp-block-navigation-item {
    width: 100%;
  }

  .at-site-footer .at-footer-links .wp-block-navigation-item:last-child {
    grid-column: 1 / -1;
  }

  .at-site-footer .at-footer-links .wp-block-navigation-item__content {
    align-items: center;
    background: rgba(255, 255, 255, .055);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 9px;
    box-sizing: border-box;
    color: #e2f0f4;
    display: flex;
    font-size: 11.5px;
    font-weight: 700;
    justify-content: flex-start;
    line-height: 1.25;
    min-height: 44px;
    padding: 8px 10px;
    text-align: left;
    text-decoration: none;
    width: 100%;
  }

  .at-site-footer .at-footer-links .wp-block-navigation-item:last-child .wp-block-navigation-item__content {
    justify-content: center;
    text-align: center;
  }

  .at-site-footer .at-footer-bottom {
    border-top: 0;
    gap: 10px;
    padding-top: 20px;
  }

  .at-site-footer .at-footer-bottom p:first-child {
    color: #d5e7ed;
    font-size: 12px;
    font-weight: 650;
  }

  .at-site-footer .at-footer-bottom p:last-child {
    color: #9fc1cd;
    font-size: 11.5px;
    line-height: 1.55;
  }
}
