:root {
    --gris-oscuro: rgb(45, 45, 45);
    --rojo: #EC3337;

    --title-font: 'Oswald', sans-serif;
    --cont-font: 'PT Sans', sans-serif;
    
}

html{
    box-sizing: border-box;
    font-size: 62.5%;
    font-family: Helvetica, sans-serif;
    background-color: var(--gris-oscuro);
    background-image: url("../imgs/asfalt-dark\ \(1\).png");
}


* {
    margin: 0;
    padding: 0;

    scrollbar-width: thin;
    scrollbar-color: #EE3333 #242424;
}

/* Chrome, Edge and Safari */
*::-webkit-scrollbar {
    width: 10px;
    width: 10px;
  }
  *::-webkit-scrollbar-track {
    border-radius: 5px;
    background-color: #242424;
  }
  
  *::-webkit-scrollbar-track:hover {
    background-color: #303030;
  }
  
  *::-webkit-scrollbar-track:active {
    background-color: #303030;
  }
  
  *::-webkit-scrollbar-thumb {
    border-radius: 11px;
    background-color: #EE3333;
  }
  
  *::-webkit-scrollbar-thumb:hover {
    background-color: #EE3333;
  }
  
  *::-webkit-scrollbar-thumb:active {
    background-color: #EE3333;
  }

  h1, h2 {
    font-family: var(--title-font);
  }

 a, p, span {
    font-family: var(--cont-font);
}

header {
    background-color: var(--gris-oscuro);
    display: flex;
    justify-content: space-around;
    height: 10vh;

    position:fixed;
    top: 0;
    width: 100%;
    z-index: 100;
}

header .logo_5sfoam {
    width: 85%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    left: 2rem;
}

header .navbar-icon-cont{
    width: 15%;
}

.menu-button {
    display: flex;
    align-items: center;
    text-align: center;
    filter: invert(1);

    position: relative;
    top: 0.5rem;
    right: 1rem;
    cursor: pointer;
}

.x-icon {
    display: none;
    text-align: center;
    filter: invert(1);

    position: relative;
    top: 0.5rem;
    right: 1rem;
}

.header-correo {
    display: none;
}

header nav {
    color: white;
    display: flex;
    align-items: center;
}

nav .nav_options {
    display: none;
}


header nav ul li{
    padding-left: 4rem;
    list-style: none;
}

header nav ul a {
    text-align: center;
    color: white;
    list-style: none;
    text-decoration: underline #EC3337 0.5rem;
}

header nav ul a:hover {
    text-decoration: #FFF;
    transition: all 0.3s ease;
}

.redes-cont {
    display: none;
    align-items: center;
}

.redes-cont figure {
    width: 100%;
    height: 100%;
}

.redes-cont figure a {
    justify-content: center;
    align-content: center;
    padding-left: 2rem;
}

.redes-cont img {
    height: 100%;
    width: 3.5rem;
    align-items: center;
}

nav .nav_options.active {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--gris-oscuro);
    z-index: 2;
    -webkit-overflow-scrolling: touch;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    overflow: hidden;
}

.nav_options.active .redes-cont li {
    width: auto;
    padding-left: 0;
}

.nav_options.active .redes-cont {
    display: flex;
    flex-wrap: wrap;
    position: absolute;
    bottom: 8%;
    left: 0;
    right: 0;
    width: 100%;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.nav_options.active .mensaje-redes {
    position: absolute;
    bottom: 2%;
    left: 0;
    right: 0;
    width: 100%;
    text-align: center;
    color: white;
    font-size: 1.4rem;
    font-family: var(--cont-font);
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Bloquear scroll del body cuando el menú esté activo */
body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    top: 0;
}

/* Enlace discreto de administración en el footer */
.admin-footer-item {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.admin-footer-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    color: rgba(255, 255, 255, 0.3); /* Color muy sutil, casi transparente */
    text-decoration: none;
    transition: color 0.3s ease;
    border-radius: 4px;
    padding: 4px;
}

.admin-footer-link:hover {
    color: rgba(255, 255, 255, 0.6); /* Un poco más visible al hacer hover */
    background-color: rgba(255, 255, 255, 0.1);
}

.admin-footer-link svg {
    width: 16px;
    height: 16px;
}

/* Ocultar botón de admin en dispositivos móviles */
@media screen and (max-width: 768px) {
    .admin-footer-item {
        display: none;
    }
    
    /* Ajustar altura de contenedores de blog en móviles */
    .blog-cont {
        height: auto;
        min-height: 350px;
    }
    
    .blog-cont .blog-title h2 {
        -webkit-line-clamp: 3;
    }
    
    .blog-cont .blog-desc p {
        -webkit-line-clamp: 6;
    }
}

.nav_options.active li {
    font-size: 3.5rem;
    color: #FFFF;
    font-weight: bold;

    width: 100%;
}

.nav_options.active .home {
    position: absolute;
    top: 18%;
    left: 15%;
    text-align: left;
    width: auto;
}

.nav_options.active .home a{
    text-decoration: underline #EC3337 0.5rem;
    -webkit-text-decoration: underline #EC3337 0.5rem;
    -webkit-text-decoration-color: #EC3337;
    -webkit-text-decoration-thickness: 0.5rem;
    text-underline-offset: 5px;
    display: inline-block;
}

.nav_options.active .productos {
    position: absolute;
    top: 26%;
    left: 15%;
    text-align: left;
    width: auto;
}

.nav_options.active .productos a{
    text-decoration: underline #EC3337 0.5rem;
    -webkit-text-decoration: underline #EC3337 0.5rem;
    -webkit-text-decoration-color: #EC3337;
    -webkit-text-decoration-thickness: 0.5rem;
    text-underline-offset: 5px;
    display: inline-block;
}

.nav_options.active .galeria {
    position: absolute;
    top: 34%;
    left: 15%;
    text-align: left;
    width: auto;
}

.nav_options.active .galeria a{
    text-decoration: underline #EC3337 0.5rem;
    -webkit-text-decoration: underline #EC3337 0.5rem;
    -webkit-text-decoration-color: #EC3337;
    -webkit-text-decoration-thickness: 0.5rem;
    text-underline-offset: 5px;
    display: inline-block;
}

.nav_options.active .blog {
    position: absolute;
    top: 42%;
    left: 15%;
    text-align: left;
    width: auto;
}

.nav_options.active .blog a{
    text-decoration: underline #EC3337 0.5rem;
    -webkit-text-decoration: underline #EC3337 0.5rem;
    -webkit-text-decoration-color: #EC3337;
    -webkit-text-decoration-thickness: 0.5rem;
    text-underline-offset: 5px;
    display: inline-block;
}

.nav_options.active .contacto {
    position: absolute;
    top: 50%;
    left: 15%;
    text-align: left;
    width: auto;
}

.nav_options.active .contacto a{
    text-decoration: underline #EC3337 0.5rem;
    -webkit-text-decoration: underline #EC3337 0.5rem;
    -webkit-text-decoration-color: #EC3337;
    -webkit-text-decoration-thickness: 0.5rem;
    text-underline-offset: 5px;
    display: inline-block;
}

.nav_options.active .nosotros {
    position: absolute;
    top: 58%;
    left: 15%;
    text-align: left;
    width: auto;
}

.nav_options.active .nosotros a{
    text-decoration: underline #EC3337 0.5rem;
    -webkit-text-decoration: underline #EC3337 0.5rem;
    -webkit-text-decoration-color: #EC3337;
    -webkit-text-decoration-thickness: 0.5rem;
    text-underline-offset: 5px;
    display: inline-block;
}

.nav_options.active a:hover {
    color: var(--rojo);
    text-decoration: underline #FFF 0.5rem;
}

.menu-button.hide {
    display: none;
}

.x-icon.show {
    display: flex;
    position: fixed;
    top: 3rem;
    right: 2rem;
    z-index: 3;
    cursor: pointer;
}

/*G A L L E R Y*/

.hero-section {
    background-color: var(--rojo);
    width: 100%;
    position: relative;
    margin-bottom: 1.6rem;
    padding-top: 3rem;
    padding-bottom: 2.5rem;
    text-align: center;
    overflow: hidden;
}

.hero-text {
    margin-bottom: 2rem;
    margin-top: 2rem;
    animation: fadeInUp 1s ease-out both;
}

.hero-text h1 {
    font-size: 5rem;
    color: #FFF;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-text p {
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.3;
    font-weight: 300;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}



.productos-top-divider {
    position: absolute;
    top: 16%;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.productos-top-divider svg {
    position: relative;
    display: block;
    width: calc(4664% + 1.3px);
    height: 1124px;
}

.productos-top-divider .shape-fill {
    fill: #ec3336;
}

.blogs {
    position: relative;
    z-index: 1;

    width: 90%;
    margin: 0 auto;

    padding: 4rem 0;
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.blog-cont {
    box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
    min-width: 20rem;
    flex: 35rem;
    height: 400px; /* Altura fija para todos los contenedores */
    margin-bottom: 2.4rem;
    padding: 0; /* Quitar padding del contenedor principal */
    color: #FFF;
    
    /* Flexbox interno para distribuir el contenido */
    display: flex;
    flex-direction: column;
}

.blog-cont:hover {
    transform: scale(1.04);
    transition: all 250ms ease-in-out;
}

/* Enlace que envuelve todo el contenido del blog */
.blog-cont-link {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    padding: 2rem 2.5rem;
    text-decoration: none;
    color: #FFF;
    transition: all 250ms ease-in-out;
}

/* Hover en todo el contenedor - solo afecta "Leer Blog" */
.blog-cont:hover .blog-cont-link .blog-enlace span {
    color: var(--rojo);
    text-decoration: underline #FFF;
}





.blog-cont .blog-title h2{
    width: 100%;
    font-size: 2.5rem;
    letter-spacing: 1px;
    margin-bottom: 0.8rem;
    /* Asegurar que el título no se desborde */
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.2;
    height: 6rem; /* Altura fija para 2 líneas */
    /* Centrar verticalmente el texto */
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.blog-cont .blog-desc p{
    width: 100%;
    font-size: 1.5rem;
    line-height: 1.4;
    margin-bottom: 1rem;
    height: 4.2rem; /* Altura fija para aproximadamente 3 líneas */
    overflow: hidden;
}

.blog-cont .blog-enlace {
    padding-top: 1.6rem;
    padding-bottom: 2.4rem; /* Aumentar padding inferior */
    height: 4rem; /* Altura fija para el enlace */
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Alinear a la izquierda */
    margin-bottom: 1rem; /* Espacio adicional del borde del contenedor */
}

.blog-cont .blog-enlace span {
    color: #FFF;
    text-decoration: underline var(--rojo);
    font-size: 2rem;
    transition: all 250ms ease-in-out;
}





.blog-img {
    width: 100%;
    height: 20rem;

    object-fit: cover;
}

/* F O O T E R*/


footer {
    background-color: var(--gris-oscuro);
    padding-top: 4rem;

    display: flex;
    flex-direction: column;

    color: #FFF;
}

.footer-width {
    width: 80%;
    margin: 0 auto;
    margin-bottom: 2.4rem;

    display: flex;
    flex-direction: column;
}

.footer-bar ul {
    font-size: 2rem;
    font-weight: bold;
    list-style: none;

    margin-bottom: 2.4rem;
} 

.footer-bar ul li {
    margin-top: 0.8rem;
}

.footer-bar ul li a {
    color: #FFF;
    text-decoration: none;
}

.footer-bar ul li a:hover {
    color: var(--rojo);
}


.footer-mobile-divider {
    border: 1px solid #272626;
}

.footer-correo {
    display: flex;
    flex-direction: column;
    margin-top: 1.6rem;
    margin-bottom: 2.4rem;
}

#mc_embed_signup {
    background-color:#2d2d2d;
    clear: left; 
    font-size:15px ;
    font-family: var(--cont-font); 
    width: 100%;
}


.mc-field-group label {
    display: flex !important;
    font-size: 2rem;
}

.mc-field-group label::after {
    content: '*';
    color: var(--rojo);
    position: relative;
    left: 2%;
}

#mc-embedded-subscribe {
    margin: 1.6rem !important;
}


footer form {
    margin: 0 !important;
}

footer .mc-field-group {
    width: 100% !important;
}

.footer-correo h2 {
    font-size: 2.5rem;
    margin-bottom: 1.6rem;
}

.mc-field-group {
    display: flex;
    flex-direction: column;
}

.footer-correo span {
    font-size: 1.5rem;
    margin-bottom: 1.6rem;
}

footer .email{
    margin-top: 1.6rem;

    background-color: #242424;
    padding-left: 2rem;
    width: 100%;
    height: 3rem;

    border: none;

    color: #FFF;
    font-size: 2rem;
}

.footer-button {
    padding: 1rem;
    color: #FFF;
    font-weight: bold;
}


footer label input:focus {
    outline: 1px solid var(--rojo);
}

footer label input::placeholder {
    align-self: center;
}

.asterisk {
    color: var(--rojo);
    font-size: 1.5rem;
}

.footer-button {
    background-color: var(--rojo);
}

.footer-button:hover {
    cursor: pointer;
    background-color: #ee4e50;
}

.footer-redes-width {
    width: 80%;
    margin: 0 auto;
    margin-bottom: 2.4rem;
}

.footer-redes {
    margin-top: 2.4rem;
    position: relative; /* Para posicionamiento absoluto del icono de admin */
}

.footer-redes ul{
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.footer-redes li {
    list-style: none;
    padding-left: 1.2rem;
}

.footer-redes img {
    width: 70%;
}

/*TABLETAS*/

@media screen and (min-width: 767px) and (max-width:1023px){

    .redes-cont {
        display: none;
        align-items: center;
    }
    
    .redes-cont figure {
        width: 100%;
        height: 100%;
    }
    
    .redes-cont figure a {
        justify-content: center;
        align-content: center;
    }
    
    .redes-cont img {
        height: 100%;
        width: 3.5rem;
        align-items: center;
    }
    
    .nav_options.active .redes-cont li {
        width: auto;
    }
    
    .nav_options.active .redes-cont {
        display: flex;
        flex-wrap: wrap;
        position: absolute;
        bottom: 10%;    
        width: 100%;
    }
    
    .nav_options.active li {
        font-size: 4.5rem;
        color: #FFFF;
        font-weight: bold;
    
        width: 100%;
        text-decoration: underline #EC3337 0.5rem;
    }

    .nav_options.active .redes-cont li {
        width: auto;
        padding-left: 5rem;
    }
    
    .nav_options.active .home {
        top: 16%;
        text-align: center;
    }
    
    .nav_options.active .productos {
        top: 26%;
        text-align: center;
    }
    
    .nav_options.active .galeria {
        top: 36%;
        text-align: center;
    }
    
    .nav_options.active .blog {
        top: 46%;
        text-align: center;
    }
    
    .nav_options.active .contacto {
        top: 56%;
        text-align: center;
    }
    
    .nav_options.active .nosotros {
        top: 66%;
        text-align: center;
    }

    main .blogs {
        width: 95%;
    }

    main .blog-cont {
        display: flex;
        flex-direction: column;

        width: 100%;

        padding: 0;

        align-self: center;
        justify-self: center;
    }

    .blog-picture {
        width: inherit;
    }

    .blog-img {
        width: 100%;
        height: 20rem;
    
        object-fit: cover;
    }

    .blog-cont .blog-title {
        padding-left: 1.5rem;
        width: inherit;
    }

    .blog-cont .blog-title h2{
        font-size: 2.5rem;
        letter-spacing: 1px;
        margin-bottom: 0.8rem;
    }

    .blog-cont .blog-desc{
        padding-left: 1.5rem;
        width: 95%;
    }

    
    .blog-cont .blog-desc p{
        font-size: 1.5rem;
    }

    .blog-cont .blog-enlace {
        padding-left: 1.5rem;
        margin-bottom: 1.5rem;
    }

    /*F O O T E R*/

.footer-width {
    display: flex;
    flex-direction: row;
}

.footer-bar {
    width: 50%;
}

.footer-correo {
    width: 50%;
    padding-left: 2.4rem;
    margin: 0 auto;
}

.footer-correo input{
    width: 100%;
}

.footer-redes {
    width: 80%;
    padding-left: 2.4rem;
}

.footer-redes ul{
    align-self: center;
    display: flex;
    width: 115%;
    justify-content: space-between;
}
}

/*PCs / LAPTOPs*/

@media screen and (min-width: 1024px) {

    /*Header / nav*/

    header {
        position: inherit;
    }

    header .logo_5sfoam {
        justify-content: flex-start;
        width: 50vw;
        padding-left: 4rem;
    }

    header .navbar-icon-cont {
        width: 50%;
        justify-content: flex-end;
    }

    header nav {
        width: 60vw;
        font-size: 2rem;
        justify-content: flex-end;
        padding-right: 10rem;

        text-decoration: underline #EC3337 0.5rem;
        text-underline-offset: 5px;
    }

    nav .nav_options a {
        font-weight: bold;
    }

    nav .nav_options a:hover {
        color: red;
        text-decoration: underline #FFF 0.5rem;
        
    }

    .menu-button {
        display: none;
    }

    nav .nav_options {
        display: flex;
    }

    main {
        margin-top: 0;
        padding-top: 0;
    }

    .blog-section-title {
        padding-top: 0;
    }

    .productos-top-divider svg {
        position: relative;
        display: block;
        width: calc(1664% + 1.3px);
        height: 608px;
    }

    .blog-cont {
        align-self: center;
        justify-self: center;
    }

    .blog-picture {
        width: inherit;
    }

    .blog-img {
        width: 100%;
        height: 20rem;
    
        object-fit: cover;
    }

    .blog-cont .blog-title h2{
        width: inherit;
    
    
        font-size: 2.5rem;
        letter-spacing: 1px;
        margin-bottom: 0.8rem;
    }
    
    .blog-cont .blog-desc p{
        width: inherit;
    
    
        font-size: 1.5rem;
    }

    /*F O O T E R*/

    .footer-width {
        display: flex;
        flex-direction: row;
    }

    .footer-bar {
        width: 50%;
    }

    .footer-correo {
        width: 50%;
        padding-left: 4.8rem;
        margin: 0 auto;
    }

    .footer-redes ul{
        align-self: center;
        display: flex;
        width: 100%;
        justify-content: center;
    }

    .footer-redes li {
        padding-left: 3.2rem;
    }
}

/* Botón de Administración Discreto en Footer */
.admin-footer-link {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-footer-button {
    display: inline-block;
    background: transparent;
    color: rgba(255, 255, 255, 0.6);
    padding: 0.5rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 3px;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: normal;
    transition: all 0.3s;
    opacity: 0.7;
}

.admin-footer-button:hover {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    border-color: rgba(255, 255, 255, 0.5);
    opacity: 1;
}

/* Responsive para el botón de admin */
@media (max-width: 768px) {
    .admin-footer-link {
        margin-top: 1.5rem;
    }
    
    .admin-footer-button {
        font-size: 1rem;
        padding: 0.4rem 0.8rem;
    }
}

/* Botón de Administración Discreto en Footer */
.admin-footer-link {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-footer-button {
    display: inline-block;
    background: transparent;
    color: rgba(255, 255, 255, 0.6);
    padding: 0.5rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 3px;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: normal;
    transition: all 0.3s;
    opacity: 0.7;
}

.admin-footer-button:hover {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    border-color: rgba(255, 255, 255, 0.5);
    opacity: 1;
}

/* Responsive para el botón de admin */
@media (max-width: 768px) {
    .admin-footer-link {
        margin-top: 1.5rem;
    }
    
    .admin-footer-button {
        font-size: 1rem;
        padding: 0.4rem 0.8rem;
    }
}

/* Estilos para Post Individual */
.blog-post-individual {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.blog-post-header {
    text-align: center;
    margin-bottom: 3rem;
}

.blog-post-title {
    font-family: 'Oswald', sans-serif;
    font-size: 3.2rem;
    color: #333;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.blog-post-meta {
    font-size: 1.4rem;
    color: #666;
}

.blog-post-date {
    background: #f0f0f0;
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

.blog-post-image {
    text-align: center;
    margin-bottom: 3rem;
}

.blog-post-img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.blog-post-content {
    font-size: 1.8rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 3rem;
}

.blog-post-content h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 2.4rem;
    margin: 2rem 0 1rem 0;
    color: #333;
}

.blog-post-content h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 2rem;
    margin: 1.5rem 0 1rem 0;
    color: #333;
}

.blog-post-content p {
    margin-bottom: 1.5rem;
}

.blog-post-content ul, .blog-post-content ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.blog-post-content li {
    margin-bottom: 0.5rem;
}

.blog-post-content strong {
    font-weight: bold;
    color: #EC3337;
}

.blog-post-content em {
    font-style: italic;
}

.blog-post-content a {
    color: #EC3337;
    text-decoration: none;
    border-bottom: 1px solid #EC3337;
}

.blog-post-content a:hover {
    color: #d42e32;
    border-bottom-color: #d42e32;
}

.blog-post-footer {
    text-align: center;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 2px solid #e0e0e0;
}

.btn-volver-blog {
    display: inline-block;
    background: #EC3337;
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.6rem;
    font-weight: bold;
    transition: background 0.3s;
}

.btn-volver-blog:hover {
    background: #d42e32;
}

/* Responsive para post individual */
@media (max-width: 768px) {
    .blog-post-individual {
        padding: 1rem;
    }
    
    .blog-post-title {
        font-size: 2.4rem;
    }
    
    .blog-post-content {
        font-size: 1.6rem;
    }
}

/* Estilos responsivos para la sección hero */
@media screen and (max-width: 768px) {
    .hero-section {
        padding-top: 8rem;
        padding-bottom: 3rem;
    }
    
    .hero-text h1 {
        font-size: 4rem;
        letter-spacing: 2px;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    }
    
    .hero-text p {
        font-size: 1.8rem;
        max-width: 90%;
    }
    
    /* Asegurar que el subrayado del botón "Leer Blog" se vea en móviles */
    .blog-cont .blog-enlace span {
        text-decoration: underline var(--rojo);
        -webkit-text-decoration: underline var(--rojo);
        text-underline-offset: 3px;
        -webkit-text-underline-offset: 3px;
    }
}

@media screen and (max-width: 480px) {
    .hero-section {
        padding-top: 8rem;
        padding-bottom: 2rem;
    }
    
    .hero-text h1 {
        font-size: 3rem;
        letter-spacing: 1px;
        text-shadow: none;
    }
    
    .hero-text p {
        font-size: 1.6rem;
        max-width: 95%;
    }
    
    /* Asegurar que el subrayado del botón "Leer Blog" se vea en móviles pequeños */
    .blog-cont .blog-enlace span {
        text-decoration: underline var(--rojo);
        -webkit-text-decoration: underline var(--rojo);
        text-underline-offset: 3px;
        -webkit-text-underline-offset: 3px;
    }
}

/* Estilos para la paginación */
.pagination-section {
    width: 90%;
    margin: 0 auto;
    padding: 3rem 0;
    text-align: center;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.pagination-btn {
    background-color: var(--rojo);
    color: #FFF;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.6rem;
    font-weight: bold;
    transition: all 0.3s ease;
    border: 2px solid var(--rojo);
}

.pagination-btn:hover {
    background-color: #d42e32;
    border-color: #d42e32;
    transform: translateY(-2px);
}

.pagination-numbers {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.pagination-number {
    display: inline-block;
    padding: 0.8rem 1.2rem;
    text-decoration: none;
    color: #FFF;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    font-size: 1.6rem;
    font-weight: bold;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    min-width: 4rem;
    text-align: center;
}

.pagination-number:hover {
    background-color: var(--rojo);
    border-color: var(--rojo);
    transform: translateY(-1px);
}

.pagination-number.current {
    background-color: var(--rojo);
    border-color: var(--rojo);
    color: #FFF;
}

.pagination-ellipsis {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.8rem;
    font-weight: bold;
    padding: 0 0.5rem;
}

.pagination-info {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.4rem;
    font-family: var(--cont-font);
}

.pagination-info p {
    margin: 0;
}

/* Responsive para paginación */
@media screen and (max-width: 768px) {
    .pagination {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .pagination-numbers {
        order: 2;
    }
    
    .pagination-btn {
        order: 1;
        width: 100%;
        max-width: 200px;
    }
    
    .pagination-number {
        padding: 1rem 1.5rem;
        font-size: 1.8rem;
        min-width: 5rem;
    }
    
    .pagination-info {
        font-size: 1.6rem;
    }
}

@media screen and (max-width: 480px) {
    .pagination-section {
        width: 95%;
        padding: 2rem 0;
    }
    
    .pagination-btn {
        padding: 1.2rem 2.5rem;
        font-size: 1.8rem;
    }
    
    .pagination-number {
        padding: 1.2rem 1.8rem;
        font-size: 2rem;
        min-width: 6rem;
    }
    
    .pagination-info {
        font-size: 1.8rem;
    }
}