.alcaldia-banner {

    padding: 1rem;
    background-color: #a6193c;
    color: white;
    text-align: center;
    position: relative;
    margin-bottom: 3rem;
    width: 100%;
    box-sizing: border-box;
}

.single-esdeveniment {
    background: #f9fafb;
}

.event-card {
    background: #fff;
    overflow: hidden;
    max-width: 1080px;
    margin: 2rem auto;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}



.event-column {
    flex: 1 1 300px;
    /* Cada columna ocupa espai disponible, mínim 300px */
}

.column-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.event-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #a6193c;
    margin-bottom: 0.3rem;
}

.column-left h2 {
    font-size: 1.2rem;
    color: #666;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.event-image {
    width: 100%;
    max-width: 600px;
    max-height: 350px;
    height: auto;
    display: block;
    margin: 1.5rem 0;
    border-radius: 10px;
    object-fit: cover;
}

.event-description {
    line-height: 1.7;
    font-size: 1.05rem;
    color: #333;
    text-align: justify;
    margin-top: 1rem;
}
.event-description a{
    color:#a6193c;
}
/* Columna dreta */
.column-right {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.event-info {
    text-align: left;
    margin-bottom: 1.5rem;
}

.event-info dl,
.event-info .box-info {
    background: #f2f2f2;
    font-size: 1.3em;
    margin-top: 0;
    margin-bottom: 0.8em;
}

.event-info dl.on dt.active {
    background-color: #a6193c;
    color: #fff;

}

.event-info dl.on dt i {
    margin-right: 0.5rem;
    margin-left: 0.5rem;
    margin-top: 0.2rem;
    margin-bottom: 0.2rem;
    padding: 0.2rem;
}

.event-info dl.on a {
    color: #fff;
}

.event-info p a,
.event-info p {
    color: #666;
}

.event-description p {
    color: #666;
}

.event-info dl dd {
    color: #666;
    font-size: 1em;
    padding: 1.1em;
    font-weight: 300;
}

.event-info dl.on dt.active {
    background-color: #a6193c;
}

.event-info p {
    font-size: 1rem;
    margin: 0.3rem 0;
    color: #444;
}

.event-date {
    font-weight: 600;
    color: #a6193c;
    margin-bottom: 1.5rem;
}

.doc-button {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: #a6193c;
    color: #fff !important;
    font-weight: 600;
    text-decoration: none;
    padding: 0.8rem 1.4rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.doc-button:hover {
    background: #7f1330;
    transform: translateY(-2px);
}

.doc-button i {
    font-size: 1.2rem;
}

/* Responsive */
@media (max-width: 768px) {
    .event-card {
        flex-direction: column;
    }

    .column-left {
        padding: 1.5rem;
    }

    .event-title {
        font-size: 1.6rem;
    }
}