/* Contenedor columnas principal */
.nc-clase-ficha{
  background:transparent !important;
  border:none !important;
  border-radius:0 !important;
  padding:0 !important;
  box-shadow:none !important;
  transition:none !important;
}

.nc-clase-ficha > .wp-block-column{
  border-radius:16px;
}

/* Grupo de contenido */
.mycolumn,
.telefonobloque{
  background:#e8f8fc !important;
  border:3px solid #03045E !important;
  border-radius:16px;
  padding:24px;
  box-shadow:0 12px 36px rgba(0,0,0,.18);
  transition:box-shadow .3s ease, transform .3s ease;
}

.mycolumn:hover,
.telefonobloque:hover{
  box-shadow:0 16px 48px rgba(0,0,0,.25);
  transform:translateY(-6px) scale(1.02);
}


/* =========================
   TABS
   ========================= */

.su-tabs-nav{
  display:flex;
  gap:10px;
  background:#dff4fa;
  padding:8px 16px;
  border-radius:16px 16px 0 0;
  border-bottom:3px solid #2471a3;
  box-shadow:inset 0 -1px 2px rgba(0,0,0,.1);
}

.su-tabs-nav-item a{
  display:flex;
  align-items:center;
  justify-content:center;
  padding:12px 24px;
  background:#fff;
  color:#003049;
  border-radius:16px 16px 0 0;
  font-weight:600;
  font-size:1rem;
  text-decoration:none;
  border:2px solid #c7e6f0;
  box-shadow:0 4px 10px rgba(0,0,0,.15);
  transition:transform .3s ease, box-shadow .3s ease, background .3s ease, color .3s ease;
  position:relative;
}

.su-tabs-nav-item a:hover{
  background:#f0fbff;
  color:#003049;
  box-shadow:0 6px 14px rgba(0,0,0,.2);
  transform:translateY(-2px);
  cursor:pointer;
}

.su-tabs-nav-item.su-tabs-current a{
  background:#2471a3;
  color:#fff;
  border-color:#2471a3;
  box-shadow:0 8px 20px rgba(36,113,163,.4);
  z-index:2;
}

.su-tabs-pane{
  background:#fff;
  padding:24px;
  border-radius:0 0 16px 16px;
  border:2px solid #c7e6f0;
  border-top:none;
  box-shadow:0 8px 24px rgba(0,0,0,.12);
  position:relative;
  z-index:1;
}

@media (max-width:600px){
  .su-tabs-nav{
    flex-wrap:wrap;
    justify-content:center;
  }

  .su-tabs-nav-item a{
    font-size:.9rem;
    padding:10px 16px;
  }

  .mycolumn,
  .telefonobloque{
    padding:16px;
  }
}


/* =========================
   CTA
   ========================= */

.dir-cta,
.cfx-cta{
  margin:28px 0 !important;
  padding:0 !important;
  text-align:center !important;
  border:0 !important;
  background:transparent !important;
  box-shadow:none !important;
}

.dir-cta strong,
.cfx-cta strong{
  display:block;
  font-size:clamp(18px,1.6vw,22px);
  font-weight:700;
  margin-bottom:12px;
  color:inherit;
}

.dir-cta .su-button,
.dir-cta a.su-button,
.dir-cta .wp-block-button__link,
.cfx-cta .su-button,
.cfx-cta a.su-button,
.cfx-cta .wp-block-button__link{
  display:inline-flex !important;
  align-items:center;
  justify-content:center;
  margin:0 auto !important;
  width:auto;
  min-width:280px;
  min-height:64px;
  padding:18px 32px !important;
  font-size:clamp(20px,2.3vw,26px) !important;
  line-height:1.2;
  font-weight:800;
  letter-spacing:.2px;
  border-radius:18px !important;
  text-decoration:none !important;
  border:0 !important;
  background:var(--cfx-primary) !important;
  color:#fff !important;
  box-shadow:0 10px 26px rgba(229,57,53,.35);
  transition:transform .15s ease, box-shadow .15s ease, opacity .15s ease, background .15s ease;
}

.dir-cta .su-button span,
.cfx-cta .su-button span{
  font-size:inherit !important;
  line-height:inherit !important;
}

.dir-cta .su-button:hover,
.dir-cta a.su-button:hover,
.dir-cta .wp-block-button__link:hover,
.cfx-cta .su-button:hover,
.cfx-cta a.su-button:hover,
.cfx-cta .wp-block-button__link:hover{
  transform:translateY(-1px);
  box-shadow:0 14px 32px rgba(229,57,53,.45);
  opacity:.98;
  background:var(--cfx-primary-dark) !important;
}

.dir-cta .su-button:active,
.dir-cta a.su-button:active,
.dir-cta .wp-block-button__link:active,
.cfx-cta .su-button:active,
.cfx-cta a.su-button:active,
.cfx-cta .wp-block-button__link:active{
  transform:translateY(0);
  box-shadow:0 7px 18px rgba(183,28,28,.28);
}

@media (max-width:600px){
  .dir-cta .su-button,
  .dir-cta a.su-button,
  .dir-cta .wp-block-button__link,
  .cfx-cta .su-button,
  .cfx-cta a.su-button,
  .cfx-cta .wp-block-button__link{
    width:100% !important;
    min-width:0;
  }
}


/* =========================================================
   GRID FICHA
   ========================================================= */

.su-note.negocio .su-note-inner .rli-ficha-grid{
  display:grid !important;
  grid-template-columns:1fr !important;
  gap:22px !important;
  align-items:start !important;
}

@media (min-width:900px){
  .su-note.negocio .su-note-inner .rli-ficha-grid{
    grid-template-columns:minmax(0,1fr) minmax(0,1fr) !important;
  }
}

.su-note.negocio .su-note-inner .rli-ficha-grid > .rli-ficha-box{
  min-width:0 !important;
  width:auto !important;
  display:block !important;
}

.su-note.negocio .su-note-inner .rli-ficha-grid::before,
.su-note.negocio .su-note-inner .rli-ficha-grid::after{
  content:none !important;
  display:none !important;
}

/* =========================================================
   TABLA HORARIOS — versión final única SAFE
   ========================================================= */

.su-note.negocio figure.wp-block-table{
  display:block !important;
  width:100% !important;
  max-width:100% !important;
  margin:14px 0 !important;
  padding:0 !important;
  overflow:visible !important;
  box-sizing:border-box !important;
  background:#fff !important;
  border-radius:10px !important;
  box-shadow:
    inset 0 0 0 2px #03045E,
    0 2px 6px rgba(0,0,0,.06);
}

.su-note.negocio figure.wp-block-table table.tabla-horarios{
  display:table !important;
  width:100% !important;
  max-width:100% !important;
  margin:0 !important;
  border-collapse:collapse !important;
  border-spacing:0 !important;
  table-layout:fixed !important;
  box-sizing:border-box !important;
  background:#fff !important;
  border:0 !important;
  border-radius:0 !important;
}

.su-note.negocio figure.wp-block-table table.tabla-horarios th,
.su-note.negocio figure.wp-block-table table.tabla-horarios td{
  padding:10px 12px !important;
  vertical-align:middle !important;
  box-sizing:border-box !important;
  word-break:break-word !important;
  overflow-wrap:anywhere !important;
  border-right:1px solid rgba(3,4,94,.25) !important;
  border-bottom:1px solid rgba(3,4,94,.25) !important;
  box-shadow:none !important;
  outline:0 !important;
  background-clip:padding-box;
}

.su-note.negocio figure.wp-block-table table.tabla-horarios th:last-child,
.su-note.negocio figure.wp-block-table table.tabla-horarios td:last-child{
  border-right:0 !important;
}

.su-note.negocio figure.wp-block-table table.tabla-horarios tbody tr:last-child td{
  border-bottom:0 !important;
}

.su-note.negocio figure.wp-block-table table.tabla-horarios thead th{
  background:#e8f8fc !important;
  font-weight:800 !important;
}

.su-note.negocio figure.wp-block-table table.tabla-horarios tbody tr:nth-child(even) td{
  background:#f5fbff !important;
}

@media (max-width:767px){
  .su-note.negocio figure.wp-block-table{
    overflow:visible !important;
  }

  .su-note.negocio figure.wp-block-table table.tabla-horarios{
    width:100% !important;
    table-layout:fixed !important;
  }

  .su-note.negocio figure.wp-block-table table.tabla-horarios th,
  .su-note.negocio figure.wp-block-table table.tabla-horarios td{
    padding:8px 10px !important;
    font-size:14px !important;
  }
}


