.diplomado-modal {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 9999;
opacity: 0;
visibility: hidden;
transition: opacity 0.3s ease, visibility 0.3s ease;
}
.diplomado-modal.is-active {
opacity: 1;
visibility: visible;
} .diplomado-modal-overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.7);
cursor: pointer;
} .diplomado-modal-container {
position: relative;
width: 90%;
max-width: 1200px;
max-height: calc(100vh - 200px);
margin: 100px auto;
background: #fff;
overflow: visible;
z-index: 10000;
transform: translateY(-20px);
transition: transform 0.3s ease;
}
.diplomado-modal.is-active .diplomado-modal-container {
transform: translateY(0);
} .diplomado-modal-close {
position: absolute;
top: -40px;
right: -40px;
width: 40px;
height: 40px;
background: rgba(255, 255, 255, 0.10);
border: none;
border-radius: 0;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
z-index: 10001;
transition: all 0.3s ease;
}
.diplomado-modal-close:hover {
background: rgba(255, 255, 255, 0.20);
}
.diplomado-modal-close svg {
width: 20px;
height: 20px;
color: #fff;
} .diplomado-modal-content {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 40px;
padding: 40px;
font-family: 'TT Norms Pro', sans-serif;
max-height: calc(100vh - 200px);
overflow-y: auto;
} .modal-col-left {
display: flex;
flex-direction: column;
gap: 16px;
} .modal-image-wrapper {
position: relative;
width: 100%;
height: 346px;
overflow: hidden;
}
.modal-imagen {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
}
.modal-status {
position: absolute;
top: 0px;
left: 0px;
z-index: 10;
background-color: #3332CB;
color: #fff;
padding: 8px 16px;
font-size: 0.75rem;
font-weight: 600;
font-family: 'TT Norms Pro', sans-serif;
letter-spacing: 0.5px;
line-height: 1.5;
text-transform: uppercase;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
} .modal-anio {
display: inline-flex;
align-items: center;
height: 30px;
padding: 0 10px;
background-color: #F5F5F5;
width: fit-content;
}
.modal-anio span {
font-size: 0.875rem;
font-weight: 500;
font-family: 'TT Norms Pro', sans-serif;
color: #525252;
line-height: 1.5;
} .modal-title {
font-size: 1.25rem;
font-weight: 500;
font-family: 'TT Norms Pro', sans-serif;
color: #363636;
margin: 0;
line-height: 1.5;
} .modal-fecha {
display: flex;
align-items: center;
gap: 6px;
font-family: 'TT Norms Pro', sans-serif;
}
.modal-fecha svg {
flex-shrink: 0;
width: 24px;
height: 24px;
}
.modal-fecha .fecha-label {
font-size: 0.875rem;
font-weight: 700;
font-family: 'TT Norms Pro', sans-serif;
color: #3332CB;
line-height: 1.5;
}
.modal-fecha .fecha-valor {
font-size: 1rem;
font-weight: 400;
font-family: 'TT Norms Pro', sans-serif;
color: #525252;
line-height: 1.5;
} .modal-modalidad {
display: flex;
align-items: center;
gap: 6px;
margin-top: -10px;
font-family: 'TT Norms Pro', sans-serif;
}
.modal-modalidad svg {
flex-shrink: 0;
width: 24px;
height: 24px;
}
.modal-modalidad .modalidad-label {
font-size: 0.875rem;
font-weight: 700;
font-family: 'TT Norms Pro', sans-serif;
color: #3332CB;
line-height: 1.5;
}
.modal-modalidad .modalidad-valor {
font-size: 1rem;
font-weight: 400;
font-family: 'TT Norms Pro', sans-serif;
color: #525252;
line-height: 1.5;
} .modal-cursos {
display: flex;
align-items: center;
gap: 6px;
margin-top: -10px;
font-family: 'TT Norms Pro', sans-serif;
}
.modal-cursos svg {
flex-shrink: 0;
width: 24px;
height: 24px;
}
.modal-cursos .cursos-label {
font-size: 0.875rem;
font-weight: 700;
font-family: 'TT Norms Pro', sans-serif;
color: #3332CB;
line-height: 1.5;
}
.modal-cursos .cursos-valor {
font-size: 1rem;
font-weight: 400;
font-family: 'TT Norms Pro', sans-serif;
color: #525252;
line-height: 1.5;
} .modal-btn-inscribirse {
width: 100%;
height: 50px;
margin-top: 8px;
padding: 0 24px;
background: #3332CB;
border: none;
color: #fff;
font-size: 1rem;
font-weight: 500;
font-family: 'TT Norms Pro', sans-serif;
text-transform: uppercase;
letter-spacing: 0.16px;
cursor: pointer;
transition: background 0.3s ease;
}
.modal-btn-inscribirse:hover {
background: #2726a8;
} .modal-btn-inscribirse.disabled {
background: #E5E5E5;
border: 1px solid #E5E5E5;
color: #A3A3A3;
cursor: not-allowed;
}
.modal-btn-inscribirse.disabled:hover {
background: #E5E5E5;
} .modal-col-right {
display: flex;
flex-direction: column;
gap: 24px;
} .modal-descripcion {
font-size: 1rem;
font-weight: 400;
font-family: 'TT Norms Pro', sans-serif;
color: #525252;
line-height: 1.6;
}
.modal-descripcion p {
margin: 0 0 1rem 0;
font-family: 'TT Norms Pro', sans-serif;
}
.modal-descripcion p:last-child {
margin-bottom: 0;
} .modal-ruta-section {
display: flex;
flex-direction: column;
}
.modal-ruta-title {
font-size: 1rem;
font-weight: 400;
font-family: 'TT Norms Pro', sans-serif;
color: #737373;
margin: 0 0 16px 0;
letter-spacing: 0.5px;
} .modal-timeline {
display: flex;
flex-direction: column;
gap: 0;
padding-left: 20px;
position: relative;
} .modal-timeline::before {
content: '';
position: absolute;
left: 13px;
top: 10px;
bottom: 10px;
width: 2px;
background: #3332CB;
}
.timeline-item {
position: relative;
padding: 12px 0 12px 28px;
font-size: 1.25rem;
font-weight: 400;
font-family: 'TT Norms Pro', sans-serif;
color: #363636;
line-height: 1.5;
} .timeline-item::before {
content: '';
position: absolute;
left: -13px;
top: 50%;
transform: translateY(-50%);
width: 14px;
height: 14px;
background: #3332CB;
border: 3px solid #3332CB;
border-radius: 50%;
box-sizing: border-box;
} @media (max-width: 968px) {
.diplomado-modal-container {
width: 92%;
margin: 100px auto;
max-height: calc(100vh - 200px);
overflow-y: auto;
}
.diplomado-modal-content {
grid-template-columns: 1fr;
gap: 32px;
padding: 32px 24px;
max-height: none;
overflow-y: visible;
}
.modal-image-wrapper {
height: 280px;
}
.diplomado-modal-close {
top: 12px;
right: 12px;
background: #fff;
border: 1px solid #D4D4D4;
border-radius: 50%;
}
.diplomado-modal-close:hover {
background: #f5f5f5;
border-color: #3332CB;
}
.diplomado-modal-close svg {
color: #363636;
}
}
@media (max-width: 640px) {
.diplomado-modal-container {
width: 95%;
margin: 100px auto;
max-height: calc(100vh - 200px);
}
.diplomado-modal-content {
padding: 24px 16px;
}
.modal-image-wrapper {
height: 220px;
}
.modal-title {
font-size: 1.25rem;
}
.filterable-query.is-inline .card-diplomado .card-title{
font-size: 1.125rem;
}
.filterable-query.is-inline .card-diplomado .card-anio span{
font-size: 0.75rem !important;
}
}