/* HIDE THE OLD NAVBAR  */
div#headerWrapper {
  display: none !important;
}

/* Hide the second blue navbar */
div#header3Wrapper {
  display: none !important;
}

/* Botón More Information del campus_location_map: texto centrado y menos altura */
div.geeks #campus_location_map .campus-details-info .button.button-primary,
div.geeks #campus_location_map .mobile-campus-details .button.button-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 6px;
  padding-bottom: 6px;
  max-height: 24px;
  line-height: 1.25;
  white-space: nowrap;
}

div.geeks #campus_location_map.campus-location-map-container {
  margin-bottom: 30px !important;
}
/* Caption del carrusel horizontal: borde verde */
div.geeks #horizontal_cards_carousel .carousel-item p.bold-300.txt-l {
  display: inline-block;
  width: fit-content;
  max-width: 50%;
  padding: 0.01rem 0.75rem;
  margin: 20px 5px !important;
  border-radius: 100px;
  background-color: var(--color-action);
  color: var(--color-white);
  border: none;
  font-size:0.625rem !important;
}

div.geeks #horizontal_card_right_text.container {
  max-width: none !important;
  width: 100vw !important;
  margin-top: 0 !important;
  position: relative;
  box-sizing: border-box;
  background-color: black;
}



/* -------------------------------------------------------------------------- */
/* horizontal_card_right_text - three_sections layout                          */
/* -------------------------------------------------------------------------- */

div.geeks #horizontal_card_right_text.hcrt-three {
  color: #fff;
}

div.geeks #horizontal_card_right_text.hcrt-three .hcrt-left {
  padding-top: 16px;
  padding-bottom: 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

div.geeks #horizontal_card_right_text.hcrt-three .hcrt-left-logo {
  max-width: 280px;
  margin-bottom: 14px;
  padding-left: 16px;
}

div.geeks #horizontal_card_right_text.hcrt-three .hcrt-left-heading {
  font-weight: 600;
  font-size: 1.375rem;
  line-height: 1.15;
  margin-bottom: 10px;
}

div.geeks #horizontal_card_right_text.hcrt-three .hcrt-left-text {
  color: var(--mdc-grey-light);
  font-size: 0.8125rem;
  line-height: 1.6;
  margin: 0;
  padding-left: 16px;
}

div.geeks #horizontal_card_right_text.hcrt-three .hcrt-middle {
  padding-top: 16px;
  padding-bottom: 16px;
  text-align: left !important;
}

div.geeks #horizontal_card_right_text.hcrt-three .hcrt-partners-heading {
  display: inline-block;
  text-align: center !important;
  flex: 0 0 33.333%;
  width: 33.333%;
  margin-left: 0;
  margin-right: auto;
  margin-bottom: 24px;
  border-radius: 999px;
  background: var(--mdc-grey-dark);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}

/* Siempre 3 columnas (cada item = 1/3 del ancho) */
div.geeks #horizontal_card_right_text.hcrt-three .hcrt-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
}


div.geeks #horizontal_card_right_text.hcrt-three .hcrt-logo {
  flex: 0 0 30.333%;
  max-width: 30.333%;
  box-sizing: border-box;
  padding: 4px 2px;
  height: auto;
  margin:1.5%;
}



div.geeks #horizontal_card_right_text.hcrt-three .hcrt-right {
  padding-top: 16px;
  padding-bottom: 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

div.geeks #horizontal_card_right_text.hcrt-three .hcrt-stat-card {
  background: #0f1b2b;
  border: 1px solid var(--mdc-dark-blue);
  box-shadow: 0 0 0 7px rgba(0, 93, 170, 0.15);
  border-radius: 14px;
  padding: 16px 16px 18px 16px;
  margin: 24px;
  width: 90%;
}

div.geeks #horizontal_card_right_text.hcrt-three .hcrt-top-images {
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--mdc-dark);
  margin-right: 4px;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
}




div.geeks #horizontal_card_right_text.hcrt-three .hcrt-heart-btn {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid var(--mdc-dark);
  background: var(--mdc-grey-dark);
  color: var(--mdc-grey-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

div.geeks #horizontal_card_right_text.hcrt-three .hcrt-stat-body {
  margin-top: 14px;
}

div.geeks #horizontal_card_right_text.hcrt-three .hcrt-stat-kicker {
  font-weight: 700;
  font-size: 1.875rem;
  line-height: 1.1;
}

div.geeks #horizontal_card_right_text.hcrt-three .hcrt-stat-title {
  font-weight: 600;
  font-size: 0.875rem;
  margin-top: 6px;
  color: var(--mdc-grey-dark);
}

div.geeks #horizontal_card_right_text.hcrt-three .hcrt-stat-text {
  margin-top: 10px;
  font-size: 0.75rem;
  line-height: 1.55;
  color: var(--mdc-grey-dark);
}

div.geeks #horizontal_card_right_text.hcrt-three .hcrt-stat-card .hcrt-stat-title {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.1;
  color: var(--mdc-grey);
}

div.geeks #horizontal_card_right_text.hcrt-three .hcrt-stat-card .hcrt-stat-text {
  font-size: 0.75rem;
  line-height: 1.55;
  color: var(--mdc-grey);
}


div.geeks #horizontal_card_right_text.hcrt-three .hcrt-top-image {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.9);
  flex-shrink: 0;
  margin-left: -10px;
}

div.geeks #horizontal_card_right_text.hcrt-three .hcrt-top-images .hcrt-top-image:first-child {
  margin-left: 0;
}


div.geeks #horizontal_card_right_text.hcrt-three .hcrt-heart-btn i {
  font-size: 0.875rem;
  color: inherit;
}

div.geeks #hover_cards_layout .pr-2{
  border:none !important;
}

div.geeks #hover_cards_layout .col-md-5 .py-4.px-0.px-md-4 img {
  width: 100% !important;   /* o 90% si quieres un poco de margen */
  max-width: 100%;
  height: auto;
  object-fit: contain;      /* mantiene proporción sin recortar */
}

div.geeks #hover_cards_layout .card-hover-hero {
  max-height: 200px;   /* o la que prefieras */
}

div.geeks #hover_cards_layout .card-hover-shadow {
  max-height: 200px;
}

/* hover_cards_layout Component - Hover effects */
div.geeks .card-hover-shadow:hover .hover-image[src*="bba85bdb7cfa4f4fb3e3355f932fd679.png"] {
  content: url("https://storage.googleapis.com/mdc-website/media-gallery/591314cd2d82484f94f6cc67d4b705bb.png");
}

div.geeks .card-hover-shadow:hover .hover-image[src*="3cdbcaebf8984aac8ee6edd228e29b0c.png"] {
  content: url("https://storage.googleapis.com/mdc-website/media-gallery/8a722b2ff04345859961876995fe5c71.png");
}

div.geeks .card-hover-shadow:hover .hover-image[src*="alarm.svg"] {
  content: url("https://storage.googleapis.com/mdc-website/summercamps-courses/alarm.svg");
}

div.geeks .card-hover-shadow:hover .hover-image[src*="check.svg"] {
  content: url("https://storage.googleapis.com/mdc-website/hover_cards_layout/check_blue.svg");
}

/* Separadores verticales (solo desktop) */
@media (min-width: 768px) {
  div.geeks #horizontal_card_right_text.hcrt-three .row {
    align-items: stretch !important;
  }
  div.geeks #horizontal_card_right_text.hcrt-three .hcrt-middle
   {
    border-left: 1px solid var(--mdc-grey-dark);
    padding-left: 24px;
  }
  div.geeks #horizontal_card_right_text.hcrt-three .hcrt-left{
    position: relative;
    padding-left: 24px;
  }

  div.geeks #horizontal_card_right_text.hcrt-three .row.align-items-center {
    align-items: stretch;
  }
  
  div.geeks #horizontal_card_right_text.hcrt-three .hcrt-left::before{
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--mdc-grey-dark);
  }

  div.geeks #horizontal_card_right_text.hcrt-three .hcrt-left-text{
    position: relative;
    padding-top: 14px;
    margin-top: 8px;
  }
  
  div.geeks #horizontal_card_right_text.hcrt-three .hcrt-left-text::before{
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 66%;
    height: 2px;
    background: var(--mdc-grey-dark);
  }

}

@media (max-width: 767px) {
  


  div.geeks #horizontal_card_left_text .hclt-left,
  div.geeks #horizontal_card_left_text .hclt-right {
    max-width: 80%;   /* o el ancho que quieras */
    margin-left: auto;
    margin-right: auto;
  }
  div.geeks #horizontal_card_left_text .hclt-left {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1.5rem;
  }
  div.geeks #horizontal_card_left_text .hclt-left .button.button-outline {
    width: auto;
    max-width: 50%;   /* ajusta a lo que quieras */
  }

  div.geeks #horizontal_card_right_text.hcrt-three .hcrt-middle,
  div.geeks #horizontal_card_right_text.hcrt-three .hcrt-right {
    margin-top: 10px;
  }

  div.geeks #horizontal_card_right_text.hcrt-three .hcrt-middle {
    padding-top: 16px;
    padding-bottom: 16px;
    text-align: center !important;   /* antes: left */
  }
  div.geeks #horizontal_card_right_text.hcrt-three .hcrt-left{
    position: relative;
    padding-left: 24px;
    padding-right: 24px;  /* mismo padding a la derecha */
    align-items: center;
    text-align: center;
    border-bottom: 1px solid var(--mdc-grey-dark);
  }

  div.geeks #horizontal_card_right_text.hcrt-three .hcrt-logo{
    max-width: 25%;
  }

  div.geeks #hover_cards_layout .col-md-5 .py-4.px-0.px-md-4{
    width: auto !important;
    justify-content: center !important;
    align-items: center !important;
    align-self: center !important;
    margin: 0;
    padding: 0;
  }

  div.geeks #horizontal_card_left_text .hclt-left a.button.button-outline {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
  }

}

@media (max-width: 600px){
  div.geeks #horizontal_card_left_text .hclt-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  div.geeks #horizontal_card_left_text .hclt-grid-item {
    min-width: 0; /* permite que se compriman un poco si hace falta */
  }
  
}



