.elementor-287 .elementor-element.elementor-element-40c61d7{--display:flex;--min-height:25vh;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--justify-content:center;}.elementor-widget-text-editor{font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-weight:var( --e-global-typography-text-font-weight );color:var( --e-global-color-text );}.elementor-widget-text-editor.elementor-drop-cap-view-stacked .elementor-drop-cap{background-color:var( --e-global-color-primary );}.elementor-widget-text-editor.elementor-drop-cap-view-framed .elementor-drop-cap, .elementor-widget-text-editor.elementor-drop-cap-view-default .elementor-drop-cap{color:var( --e-global-color-primary );border-color:var( --e-global-color-primary );}.elementor-287 .elementor-element.elementor-element-a3c132f{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-287 .elementor-element.elementor-element-fa2168f{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-widget-heading .elementor-heading-title{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );color:var( --e-global-color-primary );}.elementor-287 .elementor-element.elementor-element-49aac32 .elementor-heading-title{font-family:"Oswald", Sans-serif;font-weight:300;}/* Start custom CSS for text-editor, class: .elementor-element-79a1a7a */.msc-session-container {
        font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
        color: #282A2B;
        line-height: 1.6;
        max-width: 1000px;
        margin: 0 auto;
        background: #fff;
        box-sizing: border-box;
        padding: 20px;
    }

    .msc-session-container * { box-sizing: border-box; }

    /* Header */
    .msc-header { text-align: center; margin-bottom: 40px; }
    .msc-title { color: #34639a; font-size: 1.8rem; margin-bottom: 10px; line-height: 1.3; }
    .msc-date-banner { color: #34639a; font-size: 1.4rem; font-weight: 300; text-transform: uppercase; background-color: #ebf5fb; display: inline-block; padding: 5px 20px; border-radius: 50px; }

    /* Grid General */
    .msc-grid-row { display: flex; flex-wrap: wrap; gap: 30px; margin-bottom: 40px; }
    .msc-image-col { flex: 1; min-width: 300px; }
    .msc-text-col { flex: 1.5; min-width: 300px; }
    .symmetrical-grid { align-items: center; }
    .symmetrical-grid .msc-text-col { flex: 1; }

    /* Imagen Principal */
    .msc-img-placeholder { position: relative; width: 100%; height: 350px; border-radius: 4px; overflow: hidden; }
    .msc-img-placeholder img { width: 100%; height: 100%; object-fit: cover; display: block; }
    .msc-overlay-badge { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); background: rgba(52, 99, 154, 0.95); color: white; padding: 10px 20px; text-align: center; border-radius: 20px; font-weight: bold; width: 80%; box-shadow: 0 4px 6px rgba(0,0,0,0.2); }

    /* Títulos de Sección */
    .msc-section-title { color: #34639a; font-size: 1.4rem; text-transform: uppercase; margin-bottom: 15px; border-bottom: 2px solid #d9edf7; padding-bottom: 5px; }
    .msc-content-text p { text-align: justify; margin-bottom: 15px; }

    /* --- ESTILOS DOCENTES --- */
    
    .teachers-row {
        justify-content: center; /* Centra la tarjeta horizontalmente */
    }

    .msc-teacher-card {
        display: flex;
        align-items: center;
        gap: 25px;
        margin-bottom: 20px;
        background-color: #fff;
        border: 1px solid #ebf5fb;
        padding: 25px;
        border-radius: 12px;
        box-shadow: 0 4px 10px rgba(52, 99, 154, 0.08);
        
        /* Flex basis sirve de ancho en escritorio */
        flex: 0 1 700px; 
        width: 100%; 
        max-width: 750px;
    }

    .teacher-img { flex: 0 0 140px; }
    .teacher-img img { width: 140px; height: 170px; object-fit: cover; border-radius: 6px; border: 2px solid #ebf5fb; }
    
    .teacher-info h3 { color: #34639a; margin: 0 0 5px 0; font-size: 1.3rem; }
    .teacher-role { display: block; color: #34639a; font-weight: bold; margin-bottom: 10px; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.5px; }
    .teacher-info p { font-size: 1rem; margin: 0; line-height: 1.5; color: #555; }

    /* INFO BAR */
    .info-bar { align-items: stretch; }
    .msc-info-card { flex: 1; min-width: 280px; background-color: #fff; border-radius: 12px; box-shadow: 0 5px 15px rgba(52, 99, 154, 0.1); overflow: hidden; transition: transform 0.3s ease; border: 1px solid rgba(52, 99, 154, 0.1); }
    .msc-info-card:hover { transform: translateY(-5px); }
    .msc-card-header { background: linear-gradient(135deg, #34639a 0%, #2a507b 100%); padding: 15px 20px; display: flex; align-items: center; justify-content: center; gap: 10px; color: #fff; }
    .msc-card-header h2 { margin: 0; font-size: 1.1rem; text-transform: uppercase; letter-spacing: 1px; color: #fff !important; border: none; }
    .msc-card-body { padding: 25px; text-align: center; background-color: #fdfdfd; }
    .msc-highlight-text { color: #282A2B; font-size: 1.2rem; font-weight: 700; margin-bottom: 5px; }
    .msc-sub-text { color: #34639a; font-size: 1rem; font-weight: 500; }

    /* VIDEO SECTION */
    .msc-video-section { background-color: #ebf5fb; border: 1px solid #d9edf7; padding: 30px; text-align: center; border-radius: 8px; margin-bottom: 40px; }
    .msc-video-title { color: #34639a; font-size: 1.8rem; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 2px; }
    .msc-video-wrapper { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; max-width: 800px; margin: 0 auto; background: #000; border-radius: 8px; box-shadow: 0 10px 20px rgba(52, 99, 154, 0.2); }
    .msc-video-wrapper iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

    /* Contacto */
    .msc-contact-section { margin-top: 40px; background: linear-gradient(135deg, #34639a 0%, #2a507b 100%); padding: 40px; border-radius: 12px; color: #fff; box-shadow: 0 10px 30px rgba(52, 99, 154, 0.2); }
    .msc-contact-grid { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; }
    .contact-card { display: flex; align-items: center; gap: 15px; background: rgba(255, 255, 255, 0.1); padding: 20px 30px; border-radius: 50px; transition: transform 0.3s ease, background 0.3s ease; border: 1px solid rgba(255, 255, 255, 0.1); max-width: 100%; line-height: normal; margin: 0; }
    .contact-card:hover { background: rgba(255, 255, 255, 0.2); transform: translateY(-3px); }
    .icon-box { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 40px; height: 40px; background: rgba(255,255,255,0.1); border-radius: 50%; }
    .icon-box i { font-size: 22px !important; color: #d9edf7; display: block; line-height: 1; }
    .info-box { display: flex; flex-direction: column; justify-content: center; min-width: 0; }
    .info-box .label { font-size: 0.85rem; text-transform: uppercase; opacity: 0.8; letter-spacing: 0.5px; margin-bottom: 2px; line-height: 1.2; }
    .info-box .value { font-weight: 700; font-size: 1.1rem; line-height: 1.2; }
    .info-box .link { color: #fff; text-decoration: none; font-weight: 700; font-size: 1.1rem; border-bottom: 1px dashed rgba(255,255,255,0.4); transition: border-bottom-color 0.3s; word-wrap: break-word; line-height: 1.2; }
    .info-box .link:hover { border-bottom-color: #fff; }

    /* Responsive adjustments */
    @media (max-width: 768px) {
        /* Al cambiar a columna el contenedor padre, debemos resetear el flex-basis de los hijos */
        .msc-grid-row { flex-direction: column; gap: 20px; }
        
        /* CORRECCIÓN DE ALTURA EN MÓVIL */
        .msc-teacher-card { 
            flex-direction: column; 
            align-items: center; 
            text-align: center; 
            width: 100%; 
            max-width: 100%; 
            
            /* RESETEO CRÍTICO: Anula el flex-basis de 700px que forzaba la altura */
            flex: 1 1 auto; 
            height: auto;
        }

        .msc-overlay-badge { width: 90%; font-size: 0.9rem; }
        .msc-contact-section { padding: 30px 20px; }
        .msc-contact-grid { gap: 20px; }
        .contact-card { width: 100%; justify-content: flex-start; border-radius: 12px; padding: 15px; }
    }/* End custom CSS */
/* Start custom CSS for shortcode, class: .elementor-element-67ae77a *//* === FORMULARIO CONTACT FORM 7 – ESTILO PERSONALIZADO === */

.cf7-grid {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.cf7-field {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.cf7-field.full {
  width: 100%;
  margin-bottom: 20px;
}

.cf7-field label {
  font-weight: 600;
  margin-bottom: 6px;
  color: #222;
  font-size: 15px;
}

.cf7-field input,
.cf7-field textarea {
  width: 100%;
  border: 1px solid #ccc;
  padding: 12px;
  border-radius: 6px;
  font-size: 15px;
  transition: border-color .2s ease;
  background: #fff;
}

.cf7-field input:focus,
.cf7-field textarea:focus {
  border-color: #0073aa;
  outline: none;
}

.cf7-check {
  margin-bottom: 20px;
  font-size: 14px;
}

.cf7-check label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.cf7-check small {
  display: block;
  margin-left: 26px;
  color: #666;
}

.cf7-submit {
  margin-top: 10px;
}

.cf7-submit input[type="submit"] {
  background: #0073aa;
  color: #fff;
  border: none;
  padding: 14px 28px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  transition: background .2s ease;
}

.cf7-submit input[type="submit"]:hover {
  background: #005c87;
}

/* Indicador de campo obligatorio */
.req {
  color: #e63946;
  font-weight: bold;
}

/* === MODO RESPONSIVO === */
@media (max-width: 768px) {
  .cf7-grid {
    flex-direction: column;
  }
}/* End custom CSS */