#s-glamping {
    padding-top: 40px;
}
#p-content-cards-blog {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
#content-cards-blog {
    width: 80%;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
    justify-content: center;
    align-items: center;
    padding: 50px 0px;
}

#blog-interna-pop {
    height: auto !important;
}

.card-blog {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    flex-direction: column;
    overflow: hidden;
    box-shadow: var(--shadow-2);
}

.card-blog img{
    width: 100%;
}

.info-card-blog {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    flex-direction: column;
    gap: 10px;
    background-color: var(--morado);
    transition: ease all 0.6s;
}

.info-card-blog h5{
    font-size: 18px;
    text-decoration: underline;
    color: #fff;
	font-family: "Gotham-Bold";
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: center;
}

.info-card-blog p{
    font-size: 14px;
    color: #fff;    
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}

.popup-content {
    padding: 80px 50px;
    height: auto;
}

#s-blog-interna {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
}
#content-info-blog {
    width: 80%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
}
#img-blog-popup{
    width: 80%;
    border-radius: 10px;
    box-shadow: var(--shadow-1);
    margin-bottom: 30px;
}
#content-info-blog p{
    width: 100%;
    text-align: start;
    font-size: 18px;
    line-height: 28px;
    color: var(--grid-4);
}
#content-info-blog h1,
#content-info-blog h2,
#content-info-blog h3,
#content-info-blog h4,
#content-info-blog h5,
#content-info-blog h6{
    width: 100%;
    text-align: start;
    font-size: 18px;
    line-height: 28px;
    color: var(--grid-4);
	font-family: "Gotham-Bold";
    padding: 10px 0px;
}

#content-info-blog a{
    font-size: 18px;
    color: var(--morado);
	font-family: "Gotham-Bold";
}

#content-info-blog p b{
	font-family: "Gotham-Bold";
    width: 100%;
    text-align: start;
    color: var(--morado);
}
#content-info-blog ul{
    margin-left: 50px;
    width: 100%;
    text-align: start;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 10px;
}

.popup-content h3 {
    text-align: center;
}

.popup-content img {
	width: 70%;
    margin-bottom: 30px;
}



.popup-content {
    height: auto;
    margin: 30px 0px;
    width: 90%;
}

#content-info-blog.interna {
    width: 100%;
}

@media screen and (max-width: 1024px) {
    #content-cards-blog {
        width: 80%;
        grid-template-columns: 1fr;
    }

    .popup-content > h3 {
        font-size: 18px !important;
        margin-top: 20px;
    }

    .popup .popup-container {
        width: 95% !important;
    }

    #content-info-blog p {
        font-size: 16px;
    }

    .popup-content {
        padding:20px;
    }
    #content-info-blog {
        width: 100%;
    }

    #content-info-blog ul {
        margin-left: 20px;
    }

    #img-blog-popup {
        width: 95%;
    }

    .popup-content img {
        width: 100%;
    }
}

#content-cards-blog,
#content-info-blog {
    width: 90%;
    margin: 0 auto; /* This centers the content */
    max-width: 1200px; /* Prevents excessive stretching on large screens */
}

#content-cards-blog {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    padding: 50px 0;
}

#content-info-blog * {
    all: revert;
    box-sizing: border-box;
    max-width: 100%;
}


#content-info-blog strong {
    font-weight: 600;
}

#content-info-blog h1,
#content-info-blog h2,
#content-info-blog h3,
#content-info-blog h4 {
    font-weight: 700;
    color: var(--morado);
}


#content-info-blog .cta-button {
    display: block;
    margin: 15px auto;
    background-color: var(--morado, #881A81);
    color: white;
    max-width: 70vw;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 700;
    text-align: center;
    transition: all 0.3s ease;
}

#content-info-blog .cta-button:hover {
    background-color: var(--amarillo, #E5AA03);
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

@media screen and (max-width: 1024px) {
    #content-cards-blog,
    #content-info-blog {
        width: 95%;
    }

    #content-info-blog .cta-button {
        max-width: 90vw;
    }
}