* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.hero-single {
    width: 100%;
    min-height: 47vh;
    background-image: url('https://www.previsionmallorquina.com/wp-content/uploads/2025/09/bgactualidad.png');
    background-size: cover;
    background-position: right;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    margin-top: 125px;
    border-radius: 8px;
}

.hero-single::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero-single .hero-container {
    max-width: 1130px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin: 0;
    padding: 0 40px;
}

.hero-single .hero-content {
    position: relative;
    z-index: 2;
    padding: 0;
    max-width: 600px;
    flex: 1;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-left: 0;
}

.hero-single .hero-title {
    font-family: 'Zilla Slab', serif;
    font-size: 4rem;
    font-weight: bold;
    line-height: 1.3;
    margin-bottom: 30px;
}

.hero-single .title-line {
    display: inline-block;
    color: #263262;
    background-color: #D0D354;
    padding: 4px 8px;
    margin: 2px 0;
    width: fit-content;
    border-radius: 4px;
}

@media (max-width: 1024px) {
    .hero-single {
        align-items: center;
        min-height: 47vh;
    }

    .hero-single .hero-container {
        flex-direction: column;
        text-align: left;
        padding: 0 40px;
        align-items: flex-start;
    }

    .hero-single .hero-content {
        padding: 60px 0 40px 0;
        max-width: 100%;
        text-align: left;
    }
}

@media (max-width: 768px) {
    .hero-single {
        background-image: none;
        background-color: #263262;
        min-height: 35vh;
        justify-content: center;
        width: 100vw;
        left: 50%;
        right: 50%;
        margin-left: -50vw;
        margin-right: -50vw;
        border-radius: 0;
    }

    .hero-single::before {
        display: none;
    }

    .hero-single .hero-container {
        padding: 0 20px;
    }

    .hero-single .hero-content {
        padding: 30px 0;
        max-width: 100%;
    }

    .hero-single .hero-title {
        font-size: 2.4rem;
        margin-bottom: 20px;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
    
    .hero-single .title-line {
        display: inline-block;
        max-width: 100%;
        word-break: break-word;
    }
}
