* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.hero-block {
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    min-height: 68vh;
    background-image: url('https://www.previsionmallorquina.com/wp-content/uploads/2025/09/bgactualidad.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    position: relative;
    margin-top: 70px;
    /* Añadido para compensar la altura del header */
}

.hero-container {
    max-width: 1250px;
    width: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin: 0 auto;

}

.hero-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 80px 0;
    max-width: 660px;
    flex: 1;
}

.hero-title {
    font-family: 'Zilla Slab', serif;
    font-size: 2.8rem;
    font-weight: bold;
    line-height: 1.3;
    margin-bottom: 30px;
}

.title-line {
    display: block;
    color: #263262;
    background-color: #D0D354;
    padding: 4px 8px;
    margin: 2px 0;
    width: fit-content;
    line-height: 1;
    text-align: left;
}

.hero-description {
    font-size: 1.2rem;
    color: white;
    line-height: 1.3;
    font-weight: 400;
    opacity: 0.9;
    text-align: left;
    font-family: 'ZillaSlab-light';
}

.hero-image {
    position: relative;
    z-index: 2;
    align-self: flex-end;
    padding: 0 0 0 00px;
    flex-shrink: 0;

}

.hero-image img {
    max-height: 63vh;
    width: auto;
    display: block;
}

@media (max-width: 1024px) {
    .hero-block {
        align-items: center;
        min-height: 47vh;
    }

    .hero-container {
        flex-direction: column;
        text-align: left;
        padding: 0 40px;
        align-items: flex-start;
    }

    .hero-content {
        padding: 60px 0 40px 0;
        max-width: 100%;
        text-align: left;
    }

    .hero-image {
        padding: 0;
        align-self: center;
        margin-top: 20px;
        margin-bottom: 0;
        display: none;
    }

    .hero-image img {
        max-height: 50vh;
    }

    .title-line {
        margin: 2px 0;
    }




}

@media (max-width: 768px) {
    .hero-block {
        background-image: none;
        background-color: #263262;
        min-height: 35vh;
        justify-content: center;
    }

    .hero-block::before {
        display: none;
    }

    .hero-container {
        padding: 0 20px;
    }

    .hero-content {
        padding: 30px 0;
        max-width: 100%;
    }

    .hero-title {
        font-size: 2.4rem;
        margin-bottom: 20px;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }

    .title-line {
        display: block;
        max-width: 100%;
        word-break: break-word;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-image {
        display: none;
    }
}


.blog hr.header-line {
    height: 0px;
}