

html, body {
    font-family: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-display: swap;
}

* {
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}
body {
    margin: 0;
    background-color: #8A8469;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
}
.container{
    max-width: 1280px;
    display:block;
    margin:auto;
    background-color: #797979;
}
.container p{
    font-size: 1em;
}
main{
    width: 66%;
    height: auto;
    float: left;
    background-color: #797979;
    display: block;
    margin: auto;
}

h1, h2,
.mini-label {
    font-family: "Baloo 2", "Nunito", sans-serif;
    font-weight: 700;

}

.logo-header{
    margin-top: 10px;
    margin-left: 8px;
}

.logo-mobile {
    display:none;
}
.contenido{
    width: 100%;
    height: auto;
    background-color: #797979;
    display: block;
    margin: auto;
}

.contenido p a{
    color:#ffcc00;
    text-decoration: none;
    font-weight: 700;
}

h1{
    font-size: 1.4em;
    letter-spacing: 0.05em;
    margin-top: 0px;
    margin-bottom: 10px;
    text-align: center;
    color: #ffffff;
}

h2{
    font-size: 1.2em;
    letter-spacing: 0.05em;
    margin-top: -5px;
    margin-bottom: -5px;
  color: #ffffff;
    }

h2 a{
    text-decoration: none;
    }

  h2 a::after {
    content: " ›";
    color: inherit;
}

p {
    color: #121212;
}

.galeria-sm{
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    column-gap: 16px;
    row-gap: 12px;
    padding: 16px 16px 0;
    align-items: start;
}

.minis-sm{
    width: 100%;
    min-width: 0;          /* ← esta línea resuelve todo */
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 10px;
}

.minis-sm picture {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    flex-shrink: 0;
    border: 5px solid #ffffff;
    border-radius: 10px;
    overflow: hidden;
    line-height: 0;
    font-size: 0;
}

.minis-sm img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    border-radius: 0;
    background: #ffffff;
  transition: transform 0.25s ease;
}

.minis-sm a {
    text-decoration: none;
    display: block;
    width: 100%;
}

.minis-sm a:hover img {
    transform: scale(1.08);
}

.mini-label {
    display: block;
    width: 100%;
    text-align: center;
    color: #ffffff;
    font-size: 1.3em;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    margin-top: 8px;
    line-height: 1.1;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: auto;
}

.minis-sm a {
    text-decoration: none;
    display: block;
    width: 100%;
    min-width: 0;
}

.faq-list {
    margin: 0;
    padding: 0;
}
.faq-list dt {
    font-family: "Baloo 2", "Nunito", sans-serif;
    font-weight: 700;
    font-size: 1.1em;
    color: #ffffff;
    margin-top: 15px;
    margin-bottom: 5px;
    padding-bottom: 5px;
    
}
.faq-list dd {
    margin: 0 0 12px 10px;
    padding: 8px 12px;
    color: #f0f0f0;
    background-color: #797979;
    border-radius: 8px;
    line-height: 1.5;
    overflow: hidden;
}

aside{
    width: 34%;
    background-color: #797979;
    float: left;
    padding-left: 1.5%;
    padding-right: 1.5%;
}

aside p{
    font-size: 1em;
}

.articulo{
    width: 100%;
    padding: 2%;
    border-radius: 10px 10px 10px 10px;
    margin-bottom: 2%;
     }
     
.fondo1Rojo{
    background-color: #924242;
    
    padding: 50px;
}
     
.fondo2Verde{
    background-color: #457B44; 
}
     
.fondo3Amarillo{
    background-color: #B18E42; 
}

.fondo4Azul{
    background-color: #597590; 
}
     

.articulo a{
    color: #ffffff;
}

.clearfloat {
  clear: both;
}

.clearfloat-10 {
  clear: both;
    height: 10px;
}

.responsive-img{
    width: 100%;
    height: auto;
    display:block;
    margin:auto;
}

footer{
        width: 100%;
    background-color: #333333;
}

.formu{
    width: 100%;
    background-color: #333333;
    padding: 2%;
}

.formu p{
    color: #ffffff;
    margin-bottom: 4px;
    margin-top: 4px;
}

.formu h3{
    font-size: 1.2em;
    color: #F89A01;
    margin-bottom: 0px;
    margin-top: 0px;
}
.pie_creditos{
    width: 100%;
    background-color: #CC7800;
}
.pie_creditos p{
color: #333333;
    text-align: center;
}
    .pie_creditos p a{
color: #333333;
    text-align: center;
}
.esconder-mini-en-desk{
        display: none;
}
.esconder-mini-en-movil{
        display: inline-block;
}
.centrar{
        text-align: center;
}
.ad-rectangle{
    display:block;height:300px}
@media (max-width: 991px){.ad-rectangle{display:inline-block;width:300px;height:600px}}    

.solo-movil {
    display: none;
}

.solo-desk {
    display: block;
}

/* Mobile++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
@media (max-width : 500px){
.solo-movil {
        display: block;
    }
.solo-desk {
        display: none;
    }

        .ad-fila-completa{
        grid-column: 1 / -1;   /* ocupa toda la fila */
        text-align: center;
        margin: 10px 0;
    }


main{
    width: 100%;
    }
    
.logo {
    display: none;
}
.logo-mobile {
    width: 100%;
    height: auto;
    float: left;
     background-color: #797979;
    display: inline-block;
}
    
    .logo-header{
        width: 40px;
        height: 40px;
        margin-top: 0;
        margin-left: 0;
    }

h1{
    font-size: 1em; 
    margin-top: 5px;
    margin-bottom: 5px;
}

aside{
    display: none;
    }

    
.mini-larga-movil{
    display: inline-block;
    width: 100%;
    background-color: #ffffff;
    float: left;
    margin-right: 1.5%;
    margin-bottom: 1.5%;
    padding: 1%;
    border-radius: 10px 10px 10px 10px;
}
.mini-larga-movil img{
    width: 100%;
    height: auto;
    display: block;
    margin: auto;
    background-color: #ffffff;
    border-radius: 10px 10px 10px 10px;
}    
.esconder-mini-en-movil{
        display: none;
}    
.esconder-mini-en-desk{
        display: inline-block;
}
        
    .galeria-sm{
        grid-template-columns: repeat(4, 1fr);
        column-gap: 8px;
        row-gap: 10px;
        padding: 14px 8px 0;
    }
  
    .minis-sm picture {
        position: relative;
        width: 100%;
        aspect-ratio: 1 / 1;
        border: 3px solid #ffffff;
        border-radius: 10px;
        overflow: hidden;
        background: #ffffff;
    }
    .minis-sm img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }
  
    .mini-label {
        font-size: 0.72em;
        font-weight: 800;
        letter-spacing: -0.02em;
        margin-top: 4px;
        line-height: 1.1;
    }

}

 /* Tablet */
@media (min-width: 501px)and (max-width: 1112px) {
    
main{
    width: 100%;
}
    
h1{
    font-size: 1.3em; 
    margin-top: 0px;
    margin-bottom: 10px;
}
    
aside{
     display: none;
}

    .logo-header{
        width: 48px;
        height: 48px;
        margin-top: 0;
        margin-left: 0;
    }

}
    
ins.adsbygoogle{
    max-width: 100%;
    overflow: hidden;
}