.ceys-home-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.ceys-home-buttons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  min-height: 52px;
  padding: 12px 18px;
  color: #fff;
  background: #1d3a6c;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.12;
  text-align: center;
  text-decoration: none;
  white-space: normal;
  word-break: keep-all;
  overflow-wrap: normal;
  hyphens: none;
}

.ceys-home-buttons a:hover {
  background: #00b0cd;
  color: #fff;
}

.ceys-home-featured {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.ceys-home-featured a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 62px;
  padding: 14px 16px;
  color: #173047;
  background: #f7f9fb;
  border: 1px solid #dfe7ef;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.ceys-home-featured a strong {
  color: #1d3a6c;
  font-size: 13px;
}

.ceys-home-featured a:hover {
  background: #eef7fc;
  color: #173047;
}

/* Botonera principal de inicio: centrada y sin cortar palabras. */
.home .ceys-home-buttons-host {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  margin-inline: auto !important;
  overflow: visible !important;
}

.home .ceys-home-buttons-host > .e-con-inner {
  width: min(1260px, calc(100% - 32px)) !important;
  max-width: 1260px !important;
  margin-inline: auto !important;
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(150px, 180px)) !important;
  justify-content: center !important;
  justify-items: stretch !important;
  gap: clamp(12px, 1.5vw, 20px) !important;
  align-items: stretch !important;
}

.home .ceys-home-buttons-host > .e-con-inner > .e-con-full,
.home .ceys-home-buttons-host > .e-con-inner > .e-con {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 180px !important;
  margin-inline: auto !important;
}

.home .ceys-home-buttons-host .elementor-widget-heading,
.home .ceys-home-buttons-host .elementor-widget-container,
.home .ceys-home-buttons-host .elementor-heading-title {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
}

.home .ceys-home-buttons-host .elementor-heading-title {
  font-size: clamp(20px, 1.55vw, 25px) !important;
  line-height: 1.08 !important;
  letter-spacing: 0 !important;
  text-align: center !important;
  white-space: normal !important;
  word-break: keep-all !important;
  overflow-wrap: normal !important;
  hyphens: none !important;
  text-wrap: balance;
}

.home .ceys-home-buttons-host .elementor-icon,
.home .ceys-home-buttons-host .elementor-icon svg,
.home .ceys-home-buttons-host .elementor-icon i {
  max-width: 56px !important;
  max-height: 56px !important;
}

@media (max-width: 1100px) {
  .home .ceys-home-buttons-host > .e-con-inner {
    grid-template-columns: repeat(3, minmax(150px, 180px)) !important;
  }
}

@media (max-width: 680px) {
  .home .ceys-home-buttons-host > .e-con-inner {
    width: min(100% - 20px, 380px) !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  .home .ceys-home-buttons-host > .e-con-inner > .e-con-full,
  .home .ceys-home-buttons-host > .e-con-inner > .e-con {
    max-width: none !important;
  }

  .home .ceys-home-buttons-host .elementor-heading-title {
    font-size: clamp(16px, 4.2vw, 20px) !important;
    line-height: 1.1 !important;
  }

  .home .ceys-home-buttons-host .elementor-icon,
  .home .ceys-home-buttons-host .elementor-icon svg,
  .home .ceys-home-buttons-host .elementor-icon i {
    max-width: 42px !important;
    max-height: 42px !important;
  }

  .ceys-home-buttons a {
    min-width: 132px;
  }
}
/* CEyS mobile home buttons final centering: dos columnas reales sin cortar palabras. */
@media (max-width: 680px) {
  .home .ceys-home-buttons-host {
    padding-inline: 0 !important;
  }

  .home .ceys-home-buttons-host > .e-con-inner {
    width: min(calc(100vw - 32px), 360px) !important;
    max-width: min(calc(100vw - 32px), 360px) !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    justify-content: center !important;
    justify-items: stretch !important;
    gap: 10px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .home .ceys-home-buttons-host > .e-con-inner > .e-con-full,
  .home .ceys-home-buttons-host > .e-con-inner > .e-con {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    margin-inline: 0 !important;
  }

  .home .ceys-home-buttons-host .elementor-heading-title {
    font-size: clamp(15px, 4.1vw, 18px) !important;
    line-height: 1.12 !important;
    white-space: normal !important;
    word-break: keep-all !important;
    overflow-wrap: normal !important;
    hyphens: none !important;
  }

  .home .ceys-home-buttons-host .elementor-icon,
  .home .ceys-home-buttons-host .elementor-icon svg,
  .home .ceys-home-buttons-host .elementor-icon i {
    max-width: 40px !important;
    max-height: 40px !important;
  }

  .ceys-home-buttons a {
    width: 100%;
    min-width: 0;
  }
}