.hemeroteca-wrapper {
    max-width: 100%;
    margin: 20px 0;
}

.hemeroteca-instruction {
    font-size: 1.1em;
    font-weight: bold;
    margin-bottom: 15px;
}

.hemeroteca-search-box {
    margin-bottom: 20px;
    /* Inline calendar needs space */
}

#hemeroteca-inline-calendar {
    margin-bottom: 10px;
}

.hemeroteca-action {
    margin-bottom: 30px;
}

#btn-hemeroteca-search {
    padding: 12px 25px;
    font-size: 1.1em;
    border: none;
    cursor: pointer;
    border-radius: 4px;
    width: 100%;
    max-width: 300px;
}

/* Results Styling */
.hemeroteca-summary {
    background: #f1f1f1;
    padding: 10px;
    margin-bottom: 20px;
    border-left: 4px solid #333;
    font-weight: bold;
}

.hemeroteca-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.hemeroteca-content {
    width: 65%;
    padding-right: 20px;
}

.hemeroteca-content h3 {
    margin-top: 0;
    margin-bottom: 5px;
    font-size: 1.4em;
}

.hemeroteca-content h3 a {
    text-decoration: none;
}

.hemeroteca-date {
    display: block;
    font-size: 0.9em;
    color: #666;
    margin-bottom: 10px;
}

.hemeroteca-image {
    width: 30%;
}

.hemeroteca-image img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

@media (max-width: 600px) {
    .hemeroteca-item {
        flex-direction: column-reverse;
    }

    .hemeroteca-content,
    .hemeroteca-image {
        width: 100%;
    }

    .hemeroteca-image {
        margin-bottom: 15px;
    }
}