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

/*
  Tipografia para lectura facil (personas mayores).
  Cambia estos valores para ajustar toda la web.
  --font-size-root: tamanio de 1rem (antes el navegador usa 16px).
*/
:root {
  /* Defaults match Senior Hub → Settings → Brand; brand-public.css overrides when published. */
  --font-body: "Montserrat", sans-serif;
  --font-heading: "Playfair Display", Georgia, serif;
  --brand-font-h1: var(--font-heading);
  --brand-font-h2: var(--font-heading);
  --brand-font-h3: var(--font-heading);
  --brand-font-h4: var(--font-heading);
  --brand-font-h5: var(--font-heading);
  --brand-font-h6: var(--font-heading);
  --brand-font-body: var(--font-body);
  --brand-dark-blue: #003479;
  --brand-aqua: #41c0c9;
  --brand-gold: #d4af37;
  /* Button 3 — gold pill used by the Mahjong events button and Contact Us. */
  --home-btn-3-bg-top: #f7e7b4;
  --home-btn-3-bg-mid: #e6c56a;
  --home-btn-3-bg-bottom: #d4af37;
  --home-btn-3-text: #12325f;
  --home-btn-3-border: #d4af37;
  --home-btn-3-icon: #12325f;
  --brand-warm-light: #fdf9f3;
  --brand-deep-navy: #001e4d;
  --font-size-root: 18px;
  --font-size-body: 18px;
  --font-size-copy: 18px;
  --font-size-small: 1rem;
  --line-height-body: 1.65;
  --font-weight-body: 400;
  --letter-spacing-body: 0.01em;
  --color-body: #243447;
  --color-muted: #3d4f63;
  /* Heading scale: defined in css/site-typography.css (aliases below when loaded) */
  --type-h1-size: 1.889rem;
  --type-h2-size: 1.667rem;
  --type-h3-size: 1.444rem;
  --type-eyebrow-size: 0.875rem;
  --type-eyebrow-tracking: 0.24em;
  --type-eyebrow-dark-color: #99f6e4;
  --type-body-on-dark-color: #dbeafe;
  --type-h2-on-dark-color: #ffffff;
  /* Digit "5" fill — plain-assets/img-old/305senior-logo.png (not #00AEEF) */
  --brand-logo-aqua: #41c0c9;
  /* Global public content width. The box includes horizontal padding. */
  --layout-max-width: 1400px;
  --layout-gutter: clamp(20px, 4vw, 48px);
}

.layout-container,
.ss-wrap,
.events-wrap,
.members-wrap,
.past-wrap {
  box-sizing: border-box;
  width: 100%;
  max-width: var(--layout-max-width);
  margin-inline: auto;
  padding-inline: var(--layout-gutter);
}

/* Reusable page typography (About, Contact, etc.; Home uses equivalent Tailwind) */
.type-h1-page {
  font-family: var(--font-heading) !important;
  font-size: var(--type-h1-size);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.type-h2-section {
  font-family: var(--font-heading) !important;
  font-size: var(--type-h2-size);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.type-h2-on-dark {
  color: var(--type-h2-on-dark-color) !important;
}

.type-h3-card {
  font-family: var(--font-heading) !important;
  font-size: var(--type-h3-size);
  font-weight: 600;
  line-height: 1.25;
}

.type-eyebrow {
  margin: 0 0 0.65rem;
  font-size: var(--type-eyebrow-size);
  font-weight: 700;
  letter-spacing: var(--type-eyebrow-tracking);
  text-transform: uppercase;
  color: #0f766e;
}

.type-eyebrow-dark {
  margin: 0;
  font-size: var(--type-eyebrow-size);
  font-weight: 700;
  letter-spacing: var(--type-eyebrow-tracking);
  text-transform: uppercase;
  color: var(--type-eyebrow-dark-color);
}

.type-lead {
  margin: 1rem 0 0;
  max-width: 42rem;
  font-size: var(--font-size-copy);
  line-height: var(--line-height-body);
  color: var(--color-muted);
}

.type-body-on-dark {
  font-size: var(--font-size-copy);
  line-height: var(--line-height-body);
  color: var(--type-body-on-dark-color);
}

.type-body-on-dark p {
  margin: 0 0 1rem;
  color: inherit;
}

.type-body-on-dark p:last-child {
  margin-bottom: 0;
}

html,
body {
  font-family: var(--font-body);
}

h1,
h2,
h3,
h4,
h5,
h6,
.font-heading {
  font-family: var(--font-heading);
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  border-radius: 9999px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: #ffffff;
  padding: 2px;
}

.language-switch__link {
  min-width: 44px;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  padding: 0 0.7rem;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #34465d;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.language-switch__link:hover {
  color: #12396c;
}

.language-switch__link.is-active {
  background-color: #12396c;
  color: #ffffff;
}

html {
  overflow-x: clip;
  font-size: var(--font-size-root);
}

body {
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-body);
  line-height: var(--line-height-body);
  letter-spacing: var(--letter-spacing-body);
  color: var(--color-body);
}

p,
li,
dd {
  line-height: var(--line-height-body);
}

p.text-lg,
p.leading-relaxed {
  font-size: var(--font-size-copy);
  line-height: var(--line-height-body);
}

p.text-sm.leading-6,
p.text-sm.leading-relaxed,
.partner-product-description {
  font-size: var(--font-size-body);
  line-height: var(--line-height-body);
}

input,
textarea,
select {
  font-size: var(--font-size-body);
  line-height: var(--line-height-body);
}

.site-header {
  position: relative;
  z-index: 100;
}

.site-top-bar {
  background: #f3f6f9;
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.site-top-bar--desktop {
  display: none;
}

.site-top-bar--mobile {
  display: none;
}

.site-top-bar__inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: nowrap;
  width: 100%;
  max-width: var(--layout-max-width);
  height: 38px;
  margin: 0 auto;
  padding-inline: var(--layout-gutter);
  box-sizing: border-box;
  gap: 0;
}

.site-top-bar__inner > a + a {
  margin-left: 28px;
}

.mobile-header-controls {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 12px;
}

.mobile-header-controls .language-switch__link {
  min-width: 44px;
  min-height: 44px;
}

.site-top-links__item {
  display: inline-flex;
  align-items: center;
  height: 38px;
  color: #34465d;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.site-top-links__item:hover {
  color: #12396c;
}

body.mobile-nav-open .mobile-header-controls .mobile-nav-toggle {
  visibility: hidden;
  pointer-events: none;
}

.site-main-nav {
  position: relative;
  z-index: 80;
  overflow: visible;
  background: #ffffff;
}

.desktop-nav-wrap {
  display: none;
}

.desktop-nav-list {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
  min-width: 0;
}

.desktop-nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.5rem 0.68rem;
  border-radius: 0.72rem;
  color: #34465d;
  font-size: 16.5px;
  font-weight: 500;
  line-height: 1.25;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.desktop-nav-link:hover {
  color: #0b3975;
  background-color: rgba(15, 76, 146, 0.06);
}

.desktop-nav-link.is-current {
  color: #0b3975;
  font-weight: 600;
}

.desktop-nav-link--button {
  border: 0;
  background: transparent;
  cursor: pointer;
}

.desktop-nav-caret {
  width: 0.42rem;
  height: 0.42rem;
  margin-left: 0.42rem;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.desktop-nav-link--button[aria-expanded="true"] .desktop-nav-caret {
  transform: rotate(-135deg) translateY(-1px);
}

.desktop-nav-dropdown {
  position: relative;
}

/* NAV-01: bridge hover gap between Events button and flyout (li height = button only). */
.desktop-nav-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 0.35rem;
  pointer-events: auto;
}

.desktop-events-menu {
  position: absolute;
  top: calc(100% + 0.3rem);
  left: 0;
  min-width: 13.8rem;
  border-radius: 0.95rem;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: #ffffff;
  box-shadow: 0 16px 34px -18px rgba(15, 23, 42, 0.45);
  margin: 0;
  padding: 0.42rem;
  list-style: none;
}

.desktop-events-menu li + li {
  margin-top: 0.1rem;
}

.desktop-events-menu a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0.64rem 0.72rem;
  border-radius: 0.68rem;
  color: #34465d;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
  text-decoration: none;
}

.desktop-events-menu a:hover,
.desktop-events-menu a[aria-current="page"] {
  background: #f1f7ff;
  color: #0b3975;
}

.desktop-directory-btn,
.mobile-directory-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 44px;
  padding: 0.58rem 1rem;
  border-radius: 9999px;
  border: 1px solid rgba(11, 57, 117, 0.1);
  background: linear-gradient(135deg, #0b3975, #102a52 62%, #173f78);
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 12px 24px -18px rgba(11, 57, 117, 0.8);
  transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
}

.desktop-directory-btn:hover,
.mobile-directory-cta:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
  box-shadow: 0 16px 30px -16px rgba(11, 57, 117, 0.88);
}

.desktop-directory-btn.is-current {
  outline: 2px solid rgba(45, 212, 191, 0.55);
  outline-offset: 2px;
}

.directory-btn-icon {
  width: 0.95rem;
  height: 0.95rem;
  flex: 0 0 auto;
}

.mobile-nav-toggle {
  position: relative;
  z-index: 90;
  width: 44px;
  height: 44px;
  border-radius: 0.8rem;
  border: 1px solid rgba(148, 163, 184, 0.38);
  background: #ffffff;
  color: #34465d;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}

body.mobile-nav-open .mobile-nav-toggle {
  visibility: hidden;
  pointer-events: none;
}

.mobile-nav-toggle__line {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 99px;
  background: currentColor;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.mobile-nav-toggle[aria-expanded="true"] .mobile-nav-toggle__line:nth-child(2) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-nav-toggle[aria-expanded="true"] .mobile-nav-toggle__line:nth-child(3) {
  opacity: 0;
}

.mobile-nav-toggle[aria-expanded="true"] .mobile-nav-toggle__line:nth-child(4) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav-panel {
  position: fixed;
  inset: 0;
  z-index: 120;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.24s ease, visibility 0.24s ease;
}

.mobile-nav-panel.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-nav-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.45);
  backdrop-filter: blur(3px);
}

.mobile-nav-sheet {
  position: absolute;
  top: 0;
  right: 0;
  width: min(88vw, 390px);
  max-width: 100%;
  height: 100dvh;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  background: #ffffff;
  border-left: 1px solid rgba(148, 163, 184, 0.25);
  box-shadow: -16px 0 36px -22px rgba(15, 23, 42, 0.5);
  padding: 0.7rem 1rem 1.25rem;
  transform: translateX(100%);
  transition: transform 0.28s ease;
}

.mobile-nav-panel.is-open .mobile-nav-sheet {
  transform: translateX(0);
}

.mobile-nav-sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.22);
}

.site-logo--drawer {
  height: 40px;
}

.mobile-nav-close {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 0.75rem;
  background: #f8fafc;
  color: #34465d;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.mobile-nav-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mobile-nav-list a,
.mobile-events-toggle {
  width: 100%;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 0.75rem;
  padding: 0.55rem 0.7rem;
  color: #34465d;
  font-size: 16.5px;
  font-weight: 500;
  line-height: 1.5;
  text-decoration: none;
  text-align: left;
}

.mobile-events-toggle {
  border: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
}

.mobile-nav-list a:hover,
.mobile-events-toggle:hover {
  background: #f4f8ff;
}

.mobile-events-group {
  margin-top: 0.2rem;
}

.mobile-events-panel {
  margin: 0.1rem 0 0.35rem;
  padding-left: 0.45rem;
}

.mobile-events-panel-inner {
  display: grid;
  gap: 0.15rem;
}

.mobile-events-panel a {
  font-size: 16px;
  font-weight: 500;
}

.mobile-events-caret {
  width: 0.42rem;
  height: 0.42rem;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.mobile-events-toggle[aria-expanded="true"] .mobile-events-caret {
  transform: rotate(-135deg);
}

.mobile-directory-cta {
  width: 100%;
  min-height: 48px;
  margin-top: 0.65rem;
  font-size: 16.5px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body.mobile-nav-open {
  overflow: hidden;
}

html:has(body.mobile-nav-open) {
  overflow: hidden;
}

.site-header a:focus-visible,
.site-header button:focus-visible {
  outline: 2px solid #0b3975;
  outline-offset: 2px;
}

@media (max-width: 1023.98px) {
  .site-logo {
    height: 42px;
  }

  .site-main-nav {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }

  .desktop-nav-wrap {
    display: none;
  }
}

@media (max-width: 374.98px) {
  .site-logo {
    height: 38px;
  }

  .mobile-header-controls {
    gap: 10px;
  }
}

@media (min-width: 1024px) {
  .mobile-header-controls,
  .mobile-nav-toggle,
  .mobile-nav-panel {
    display: none;
  }

  .desktop-nav-wrap {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.65rem;
    min-width: 0;
    flex: 1 1 auto;
  }
}

@media (min-width: 1024px) and (max-width: 1279px) {
  .site-logo {
    height: 50px;
  }

  .desktop-nav-list {
    gap: 0.05rem;
  }

  .desktop-nav-link {
    font-size: 15.5px;
    padding: 0.4rem 0.42rem;
  }

  .desktop-directory-btn {
    font-size: 14.5px;
    padding: 0.48rem 0.72rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-header *,
  .site-header *::before,
  .site-header *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}

.top-cta-bar {
  display: block;
  background: #41c0c9;
  background: var(--brand-logo-aqua);
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.top-cta-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  width: 100%;
  max-width: var(--layout-max-width);
  margin: 0 auto;
  padding-block: 0.4rem;
  padding-inline: var(--layout-gutter);
  box-sizing: border-box;
  gap: 0.75rem;
}

.top-cta-bar__actions {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 0.5rem;
}

.top-cta-bar__message {
  margin: 0;
  min-width: 0;
  flex: 1 1 auto;
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.35;
}

.top-cta-bar__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 9999px;
  background: #ffffff;
  color: #0b3975;
  padding: 0.35rem 0.85rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1;
  white-space: nowrap;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  box-shadow: 0 4px 12px rgba(6, 32, 63, 0.12);
}

.top-cta-bar__button:hover {
  transform: translateY(-1px);
  background: #f8fafc;
  color: #082e62;
}

.top-cta-bar__link {
  display: none;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  border: 1px solid #ffffff;
  background: transparent;
  color: #ffffff;
  padding: 0.35rem 0.75rem;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.top-cta-bar__link:hover {
  border-color: #ffffff;
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.14);
}

@media (min-width: 768px) {
  .top-cta-bar__inner {
    padding: 0.42rem 2rem;
  }

  .top-cta-bar__message {
    font-size: 13.5px;
  }
}

@media (min-width: 1024px) {
  .top-cta-bar__inner {
    min-height: 42px;
    padding: 0.4rem 3rem;
    gap: 1rem;
  }

  .top-cta-bar__message {
    font-size: 14px;
    white-space: nowrap;
  }

  .top-cta-bar__button {
    min-height: 34px;
    font-size: 0.75rem;
  }

  .top-cta-bar__link {
    display: inline-flex;
    min-height: 34px;
  }
}

a[class*='rounded-full']:not(.language-switch__link),
button[class*='rounded-full'] {
  position: relative;
  transition: transform 0.24s ease, box-shadow 0.24s ease, filter 0.24s ease;
}

a[class*='rounded-full']:not(.language-switch__link):hover,
button[class*='rounded-full']:hover {
  transform: translateY(-1px);
  filter: saturate(1.03);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.14);
}

.partner-product-card {
  position: relative;
  display: block;
  border-radius: 1.7rem;
  text-decoration: none;
  cursor: pointer;
  transform: translateY(0);
  transition: transform 0.28s ease;
}

.partner-product-card::before {
  content: '';
  position: absolute;
  inset: -2px;
  z-index: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(45, 212, 191, 0.6), rgba(14, 116, 144, 0.45), rgba(249, 161, 58, 0.48));
  opacity: 0;
  transform: scale(0.985);
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.partner-product-card:hover {
  transform: translateY(-4px);
}

.partner-product-card:hover::before {
  opacity: 1;
  transform: scale(1);
}

.partner-product-card__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: inherit;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: #ffffff;
  box-shadow: 0 18px 35px -24px rgba(15, 23, 42, 0.45);
  transition: box-shadow 0.28s ease, border-color 0.28s ease;
}

.partner-product-card:hover .partner-product-card__inner {
  box-shadow: 0 25px 45px -28px rgba(11, 57, 117, 0.55);
  border-color: rgba(20, 184, 166, 0.48);
}

.partner-products-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.partner-product-image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 1.6rem 1.6rem 0 0;
  background: #eef9fc;
}

.partner-product-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.partner-product-content {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-height: 10.6rem;
  padding: 0.9rem 1.25rem 1.2rem;
}

.partner-product-cta {
  border-radius: 9999px;
  border: 1px solid rgba(17, 52, 100, 0.24);
  background: linear-gradient(180deg, #ffffff, #f7fbff);
  padding: 0.45rem 0.9rem;
  font-size: var(--font-size-small);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #123a66;
  text-decoration: none;
  transition: all 0.24s ease;
  margin-top: auto;
  margin-bottom: 0.15rem;
  width: fit-content;
  line-height: 1;
  align-self: flex-start;
}

.max-w-7xl {
  max-width: var(--layout-max-width);
}

.site-logo-link {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.site-logo {
  display: block;
  width: auto;
  height: 58px;
}

@media (max-width: 1023.98px) {
  .site-logo {
    height: 42px;
  }
}

@media (max-width: 374.98px) {
  .site-logo {
    height: 38px;
  }
}

@media (min-width: 1024px) and (max-width: 1279px) {
  .site-logo {
    height: 50px;
  }
}

.site-logo-link--on-dark {
  padding: 6px 8px;
  border-radius: 14px;
  background: #fff;
}

.site-logo-link--on-dark .site-logo {
  height: 72px;
}

.partner-product-card:hover .partner-product-cta {
  border-color: rgba(20, 184, 166, 0.5);
  background: linear-gradient(135deg, #0b3975, #0f4c92);
  color: #ffffff;
  box-shadow: 0 10px 22px -12px rgba(11, 57, 117, 0.75);
}

/* Home hero — image frame + frosted overlay (EN/ES public home only) */
#home .home-hero-media {
  border: none;
  padding: 0;
  background: transparent;
  box-shadow: 0 25px 50px -12px rgba(19, 78, 74, 0.12);
}

#home .home-hero-media img {
  display: block;
  width: 100%;
  border-radius: 2rem;
}

#home .home-hero-overlay {
  background: rgba(255, 255, 255, 0.76);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 28px;
  box-shadow: 0 12px 28px -8px rgba(16, 36, 59, 0.18);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  #home .home-hero-overlay {
    background: rgba(255, 255, 255, 0.9);
  }
}

/* Home — Partners B2B community band */
.home-partners-community__card {
  border-radius: 1.75rem;
  background: #0b3975;
  color: #fff;
  padding: 1.75rem 1.5rem;
  box-shadow: 0 28px 60px -36px rgba(11, 57, 117, 0.55);
}

.home-partners-community__main {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.home-partners-community__eyebrow {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #5eead4;
}

.home-partners-community__title {
  margin: 0.65rem 0 0;
  font-size: clamp(1.5rem, 2.8vw, 2.05rem);
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
}

.home-partners-community__text {
  margin: 0.85rem 0 0;
  max-width: 38rem;
  font-size: 1.05rem;
  line-height: 1.65;
  color: #bfdbfe;
}

.home-partners-community__actions {
  flex-shrink: 0;
}

.home-partners-community__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.65rem 1.35rem;
  border-radius: 9999px;
  background: #14b8a6;
  color: #06203f;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(20, 184, 166, 0.28);
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.home-partners-community__cta:hover {
  transform: translateY(-2px);
  background: #2dd4bf;
  box-shadow: 0 14px 28px rgba(20, 184, 166, 0.35);
}

.home-partners-community__cta-icon {
  font-size: 1.1em;
  line-height: 1;
}

.home-partners-community__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.75rem;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.home-partners-community__tag {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.85rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.82rem;
  font-weight: 500;
  color: #e0f2fe;
}

@media (min-width: 768px) {
  .home-partners-community__card {
    padding: 2.25rem 2.5rem;
  }

  .home-partners-community__main {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
  }

  .home-partners-community__actions {
    align-self: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-partners-community__cta {
    transition: none;
  }

  .home-partners-community__cta:hover {
    transform: none;
  }
}
