    .btn-modal { 
      border: 0;
      padding: .5rem 2rem;
      border-radius: 64px;
      cursor: pointer;
      background: #ff0033;
      color: #fff;
      text-decoration: none;
      display: inline-block;
      transition: all 0.3s ease;
    }
    
    .btn-modal:hover {
      background: #a62828;
      color: #fff;
      text-decoration: none;
    }

    .custom-modal-backdrop { 
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      display: none;
      align-items: center;
      justify-content: center;
      background: rgba(0,0,0,.45);
      padding: 2rem;
      z-index: 10000;
    }
    .custom-modal-backdrop.show { 
      display: flex !important;
      opacity: 1 !important;
    }

    .modal-custom {
      max-height: 80vh;
      display: flex;
      flex-direction: column;
      width: 60vw;
      background: #fff;
      border-radius: 32px;
      box-shadow: 0 20px 60px rgba(0,0,0,.25);
      transform: translateY(12px) scale(.98);
      opacity: 0;
      transition: transform .2s cubic-bezier(.2,.8,.2,1), opacity .2s cubic-bezier(.2,.8,.2,1);
      overflow: hidden;
    }
    .modal-custom.show { transform: translateY(0) scale(1); opacity: 1; }

    /* Media queries */
    @media (min-width: 425px) and (max-width: 1366px) {
      .modal-custom {
        width: 80vw;
        transition: .3s ease;
      }
    }
    @media (max-width: 425px){
      .modal-custom {
        width: 90vw;
        transition: .3s ease;
      }
    }

    .modal-footer { 
       padding: 1rem; 
       display: flex; 
       align-items: center; 
       border-top: 1px solid #eee; 
       justify-content: flex-end; 
       gap: .5rem; 
    }
    
    /* Fallback para gap en navegadores antiguos */
    .modal-footer > * + * {
      margin-left: .5rem;
    }
    
    .modal-title {
      font-size: 1.25rem;
      font-weight: 700;
      padding: 1rem;
      margin: 0px;
      border-bottom: 1px solid #eee;
    }

    .modal-body-wrapper {
      flex: 1;
      overflow-y: auto;
    }
    .modal-body {
      padding: 1rem;
    }
    
    /* Estilos de los cards */
    .card-custom {
      background-color: #f2f2f2;
      border-radius: 32px;
      transition: all 0.3s ease;
      height: 100%; /* Hace que el card ocupe toda la altura de la columna */
      display: flex;
      flex-direction: column;
    }
    
    .card-custom img {
      border-radius: 8px;
    }
    
    /* Para que el botón "Ver más" quede siempre abajo */
    .card-content {
      flex-grow: 1;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }
    
    /* Altura fija para los títulos */
    .card-custom h2 {
      /* Limitar a 3 líneas máximo */
      display: -webkit-box;
      -webkit-line-clamp: 3;
      line-clamp: 3;
      -webkit-box-orient: vertical;
      overflow: hidden;
      line-height: 1.4;
      height: calc(1.4em * 3); /* 3 líneas exactas */
      margin-bottom: 1rem;
    }