/* basic grid setup */
.grid {
display: grid;
  grid-gap: 1em;
  grid-template-columns: repeat(1, 1fr);

}

/* basic "design" */
.button-group {
  margin: 0 auto;
    margin-bottom: 0px;
  display: block;
  text-align: center;
  margin-bottom: 5rem;
}

.button {
  margin-right: 0.5em;
}

.button.is-checked {
  background-color: blue;
  color: #fff;
}

.tile {
  border: 1px solid black;
  padding: 1em;
}

.tile h2{
  font-size: 5.25rem;
  border-bottom: 1px solid white;
}


.tile p{
  font-size: 1.15rem;
  font-family: 'Good Sans';
  color:white !important;
  text-decoration: none !important;
}

/* a bit more design – can be deleted */
/* but this preview shouldn’t look too ugly :) */
.quicksearch {
  width: 80%;
  border: 1px solid #FEFFAA;
  border-radius: 20px;
  background-color: transparent;
  box-shadow: none;
  background: white;
  color: black;
  font-size: 1.125rem;
  background-image: url(assets/images/search.svg);
  background-position: 10px 13px; 
  background-repeat: no-repeat;
}
input::placeholder {
  color: black !important;
}

.quicksearch{
  font-size: 1.125rem;
  margin: 0 auto;
    margin-bottom: 0px;
  display: block;
  margin-bottom: 2rem;
  padding: 10px 10px 10px 50px;
  text-transform: uppercase;
}

.button {
  border: 0 !important;
  background-color: transparent !important;
  box-shadow: none !important;
  font-size: 1.5rem !important;
  color: black;
}

.tile {
  line-height: 1.5rem;
  
}

.button.is-checked {
  text-decoration: underline;
  color: black;
  box-shadow: none !important;
}
.glosario-interno h3{
  font-size: 5.25rem;
  line-height: 5.5rem;
  font-family: 'PP Right Grotesk Medium' !important;
  padding-right: 3rem;
}
.glosario-interno p{
  font-size: 1.15rem;
  font-family: 'Good Sans';
  color:white !important;
}
.glosario-interno a{
  font-size: 1.25rem;
  text-decoration: none;
  color: #FEFFAA;
}
.glosario-interno a:hover{
  text-decoration: underline;
}

.glosario-interno {
  display: none;
}

.d-none {
  display: none !important;
}
.d-block {
  display: block !important;
}
.glosario-interno,
#descripcion{
  margin-top: 2rem;
}
.columna {
  width: 48.3333%;
  float: left;
  font-size: 1.15rem;
  font-family: 'Good Sans';
}
.columna ul {
  padding-left: 3rem;
}
#descripcion .columna:nth-child(2){
  padding-top: 1rem;
}
@media screen and (max-width: 1025px) {
  .button {
    margin-right: 0.3em;
  }
  .glosario-interno h3 {
    font-size: 4.25rem;
    line-height: 4.5rem;
  }
}
 @media screen and (max-width: 769px) {
    .grid{
      grid-template-columns: repeat(3, 1fr);
    }
    
 }
@media screen and (max-width: 500px) {
  .grid {
    grid-template-columns: repeat(1, 1fr);
  }
  .columna{
    width: 100%;
  }
  .button-group,
  .search{
    display:none;
  }
  .text-center img{
    padding-right: 0px !important;
        padding-bottom: 1rem;
  }
  .pdr-3 {
  padding-right: 1rem !important;
  padding-left: 1rem !important;
}
.tile h3{
  width: 100% !important;
}
}
.button{
  padding-left: 20px;
  padding-right: 20px;
  font-size: 1.1rem !important;
  padding-top: 5px;
  padding-bottom: 5px;
  border: 1px solid black !important;
  border-radius: 20px !important; 
}
.button.is-checked{
  background: black !important;
  color: white !important;
  border-radius: 20px !important; 
  text-decoration: none;
  padding-left: 20px;
  padding-right: 20px;
  font-size: 1.1rem !important;
  padding-top: 5px;
  padding-bottom: 5px;

}


.tile h3{
  font-size: 3rem;
  line-height: 3rem;
}

.tile .badge{
border-radius: 30px;
  background: black;
  font-size: .9rem !important;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 15px;
  padding-right: 15px;
  margin-bottom: 2rem !important;
  border: 1px solid #FEFFAA;
  margin-right: 5px;
  width: 70px;
}
.b-activo{
  background: #FEFFAA !important;
  color: black !important;
}
.salud a{
  color: #9FCEE2 !important;
}
.tile h3,
.tile p,
.prensa h3,
.prensa p,
.salud p,
.salud h3{
  color: black !important; 
}

.rounded{
  border-radius: 30px !important;
}
.pdr-3{
  padding-right: 3rem;
  padding-left: 3rem;
}
.btn-capital:hover{
  cursor: pointer !important;
}
.tile h3 {
  font-size: 3rem;
  line-height: 3rem;
  width: 80%;
}
.text-muted {
  font-size: .9rem !important;
  line-height: 1rem !important;
  font-family: 'Good Sans' !important;
  color: white !important;
  margin-top: 1rem !important;
}
.tile p,
.prensa-contenido {
  font-size: 1rem !important;
  line-height: 1.5rem !important;
  font-family: 'Good Sans' !important;
  margin-top: 2rem;
  margin-bottom: 2rem;
  color: white !important;
}
.btn-outline-primary {
  background: #000000 !important;
  color: white !important;
  border: 0px !important;
  font-size: .9rem !important;
  color: white !important;
}
.tile a{
  color: white;
  text-decoration: none;
}
.tile a:hover{
  text-decoration: underline;
}
.que-impulsamos-politica a{
  color: white !important;
  text-decoration: none;
}
.que-impulsamos-politica a:hover{
  color: white !important;
  text-decoration: underline;
}
.subtitle-presenta{
  margin-top: 0px;
  color: #FEFFAA;
}
.subtitle-presenta-p{
  width: 100%;
  font-size: 1.2rem;
  font-family: 'Good Sans' !important;
}
.move-derecha{
  width: 80%;
  text-align: right;
  float: right;
}
.grid .impar{
  background: #FEFFAA;
  border-radius: 20px;
  padding-bottom: 0px;
   padding-top: 1.8rem;
  
  min-height: 463px;
}
.grid .par{
  background: #FFFF00;
  border-radius: 20px;
  padding-bottom: 0px;
  padding-top: 1.8rem;
  
  min-height: 463px;
}
.grid .impar p,
.grid .impar h3,
.grid .par p,
.grid .par h3{
  color: black !important;
}
.impar .badge{
  color: #FEFFAA !important;
}
.par .badge{
  color: #FFFF00 !important;
}
.change-typo{
  font-family: 'Good Sans' !important;
  font-size: .9rem !important;
}
.grid .par p,
.grid .impar p{
  font-size: .9rem !important;
  line-height: 1.3rem !important;
  width: 80%;
}
.subtitle-presenta-p-bottom{
  font-size: 1.8rem;
  line-height: 2rem;
  margin-bottom: 1.5rem;
}
.subtitle-presenta-p-bottom-dos{
  font-family: 'Good Sans' !important;
  font-size: .9rem !important;
}
.grid {
  position: relative;
}

.tile {
  position: relative;
  width: 100%;
}

.tile.sticky {
  position: sticky;
  top: 20%;
  left: 0;
  border: 0;
  z-index: 1; /* JS irá actualizando z-index dinámicamente */
}

 @media screen and (max-width: 500px) {
  .tile .badge{
    margin-bottom: 1rem !important;
  }
  .tile p, .prensa-contenido{
    margin-top: 1rem;
  }
  .pdr-3 div{
    min-height: auto !important;
  }
  .grid .par p, .grid .impar p{
    width: 100%;
  }
 }