/*
Theme Name: Match Solidario
Author: Digitalproserver http://www.digitalproserver.com/
Author URI: http://www.digitalproserver.com/
Developer: @cuasimatico
Description: Tema base del sitio web Match Solidario para Hogar de Cristo
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/


@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap');
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.13.1/font/bootstrap-icons.min.css");
:root {
    --hdc-green: #0f9997;
    --hdc-orange: #ff5a00;
    --hdc-acqua: #67c6d7;
    --hdc-green-dark: #75bf1e;
    --hdc-yellow: #ffed00;
    --hdc-yellow-clear: #fceed6;
    --hdc-gray-text: #777777;
    --hdc-dark-text: #3a3a3a;
}

body {
  font-family: "Outfit", sans-serif;
  font-optical-sizing: auto;
  font-weight: 20px;
  font-style: normal;
  color: var(--hdc-gray-text);
}

h1 {
    font-size: 58px;
    color: var(--hdc-dark-text);
    font-weight: 700;
}

h2 {
    font-size:25px;
    font-weight: 600;
}

.card-header{
  background-color: #0f9997 !important;
  color: #ffffff;
}

.menu-hdc nav{
    margin-left: 40px;
    margin-right: 40px;
    font-size: 18px;
    position: relative;
    z-index: 30;
}
.menu-hdc nav .btn{
    display:none;
}

 nav .container-fluid{
    z-index: 100000000;
}
 .nav-link {
    color: #ffffff85;
}
 .navbar-nav .nav-link.active, .navbar-nav .nav-link.show {
    color: #ffffff;
}
 .navbar-nav:hover{
    color: #ffffff !important;
}
 .navbar-nav a:hover{
    color: #ffffff !important;
}
 .navbar-expand-md .navbar-nav .nav-link {
    padding-right: 0.9rem;
    padding-left: 0.9rem;
}

.contenedor-menu { flex-grow: 1; }

.menu-principal {
  margin-top: 17px !important;
  color: #ffffff85;
  display: flex;
  flex-grow: 1;
  flex-wrap: wrap;
  font-size: 18px;
  list-style: none;
}
.menu-principal > li { position: relative; padding-left:30px}
.menu-principal > li > a {
  display: flex;
  padding: 8px 8px;
  align-items: center;
  text-shadow: 0 0 1px rgba(0, 0, 0, 0.5);
}
.menu-principal > li > a:hover {
  color: #fff;
}
.menu-principal a {
  color: inherit;
  text-decoration: none;
}

.menu-principal > li.current-menu-parent,
.menu-principal > li.current-menu-item {
  color: #fff;
}

/* Submenú */
.menu-principal .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  color: hsl(0, 0%, 0%, 0.85);
  padding: 10px;
  z-index: 1000;
  list-style: none;
  font-size: 16px;
  border: 1px solid hsl(0, 0%, 0%, 0.25);
  border-radius: 6px;
  white-space: nowrap;
  display: none;
  flex-direction: column;
  gap: 0.2rem;
}

.menu-principal .sub-menu.is-visible {
  display: flex;
}

@media screen and (min-width: 768px) {
  .menu-principal > li:hover .sub-menu {
    display: flex;
  }
}

.menu-principal .sub-menu a:hover {
  color: #000;
}

/* Flecha */
.dropdown-arrow {
  display: inline-flex;
  margin-left: 5px;
  cursor: pointer;
  font-size: 0.8em;
  line-height: 1;
  padding: 0.5rem 0.25rem;
}

.dropdown-arrow.open::after {
  transform: rotate(180deg);
}

.dropdown-arrow::after {
  content: '';
  border-top: .3em solid;
  border-right: .3em solid transparent;
  border-bottom: 0;
  border-left: .3em solid transparent;
  transition: transform 0.3s;
}



#navbarsHDC { display: none !important; }


      nav .menu-item a{
        color: #000000 !important;
      }
      nav .menu-principal .sub-menu {
        position: absolute;
        top: 100%;
        left: 0;
        background: var(--hdc-acqua);
        color: hsl(0, 0%, 0%, 0.85);
        padding: 10px;
        z-index: 1000;
        list-style: none;
        font-size: 16px;
        border: 1px solid hsl(0, 0%, 0%, 0.1);
        border-radius: 0px;
        white-space: nowrap;
        display: none;
        flex-direction: column;
        gap: 0.2rem;
    }
    nav .menu-principal .sub-menu li{
      padding: 7px 0;
    }
    nav .menu-principal .sub-menu a:hover{
        color: var(--hdc-yellow) !important;
    }



  .box-llamado-home{
    background: #eeeeee;
    padding: 60px 60px;
    color: #000000;
    font-size: 26px;
    font-weight: 600;
    line-height: 26px;
    text-align: center;
    margin-bottom: 100px;
  }
  .box-match-home{
    font-family: "Outfit", sans-serif;
    font-size: 16px;
    margin-bottom: 20px;
  }
  .box-match-home a{
    text-decoration: none;
    color: var(--hdc-green);
  }
  .box-match-home h4{
    font-size: 22px;
    font-weight: 800;
  }
  .box-match-home .badge{
      padding: 5px 20px;
      font-size: 15px;
      color:#ffffff !important;
      margin-top: -30px;
  }
  .boton a{color: #ffffff !important;}
  .boton a:hover;{color: #000000 !important;}
  .btn-warning {
      --bs-btn-color: #ffffff;
      --bs-btn-bg: #ff5a00;
      --bs-btn-border-color: #ff5a00;
      --bs-btn-hover-color: #ffffff;
      --bs-btn-hover-bg: #ff5a00;
      --bs-btn-hover-border-color: #ff5a00;
      --bs-btn-focus-shadow-rgb: 217, 164, 6;
      --bs-btn-active-color: #ffffff;
      --bs-btn-active-bg: #ff5a00;
      --bs-btn-active-border-color: #ff5a00;
      --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
      --bs-btn-disabled-color: #ffffff;
      --bs-btn-disabled-bg: #ff5a00;
      --bs-btn-disabled-border-color: #ff5a00;
  }
  .card-footer a:hover{
    color: #000000;
    text-decoration: underline;
  }
  .single .data{
    background: #0f9997;
    color: #ffffff;
    padding: 5px 10px;
    margin-bottom: 40px;
  }
  .single .badge{
      padding: 5px 20px;
      font-size: 17px;
      color: #ffffff !important;
  }
  .single .contenido {
    font-size: 18px;
    text-align: left;
    margin: auto;
    margin-bottom: 100px;
  }
  .single .sidebar a{
    text-decoration: none;
    color: #000000;
  }
  .single .sidebar .badge{
      padding: 5px 10px;
      font-size: 13px;
      color: #ffffff !important;
  }

  .sidebar h2 {
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 8px;
    font-size: 22px;
  }
  .sidebar h2::after {
      content: "";
      position: absolute;
      left: 0;
      bottom: 0;
      width: 100%;
      height: 4px; /* grosor de la "lÃ­nea" */
      background: linear-gradient(to right, var(--hdc-acqua) 28%, white 28% 30%, #dddddd 30%);
    }




footer{
  background-color: var(--hdc-green);
  padding-top: 100px;
  padding-bottom: 100px;
}
footer h2{
  color: #ffffff;
  font-size: 30px;
  margin-bottom: 50px;
}
footer p{
  color: #ffd100;
  font-size: 20px;
  font-weight: 600;
  margin-bottom:0;
}
footer .btn{
  text-transform: uppercase;
  padding: 15px 80px;
  font-weight: 600;
  background-color: var(--hdc-orange);
  color: #ffffff;
  border-color: var(--hdc-orange);
  border-radius: 0;
  min-width: 270px;
}
footer .btn:hover{
  background-color: var(--hdc-dark-text);
  border-color: #000000;
  color: #ffffff;
}
footer ul{
  list-style: none;
  padding-left: 0;
}
footer ul li{
  font-size: 20px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 14px;
}
footer ul li a{
  color: #ffffff;
  text-decoration: none;
}
footer ul li a:hover{
  color: var(--hdc-acqua);
  text-decoration: none;
}
footer .redes i{
  background-color: var(--hdc-acqua);
  padding: 10px;
  color: #ffffff;
  border-radius: 20px;
  font-size: 20px;
  width: 42px;
  height: 42px;
  text-align: center;
  vertical-align: middle;
}


.form{
   width:60%; 
   margin: auto;
}
.form  .form-check-input{
  background-color: transparent !important;
  border: 0 !important
}
.form strong{
  color: var(--hdc-green) !important;
}


/* Imagen fija para que todas midan lo mismo */
.box-match-home .card-img-wrapper {
    display: block;
    width: 100%;
    height: 180px; /* AJUSTA A TU GUSTO (ej: 250px, 300px) */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: .375rem .375rem 0 0;
}

/* Asegurar alturas mínimas */
.box-match-home .card-body {
    min-height: 270px; /* ajústalo según tu contenido */
    max-height: 270px;
}

.box-match-home .card-footer {
    min-height: 70px;
}

/* El card completo se estira uniformemente */
.box-match-home .card {
    display: flex;
    flex-direction: column;
}