@media screen and (min-width: 1367px) and (max-width: 1600px) {
    
}

@media screen and (min-width: 1280px) and (max-width: 1366px) {
    .municip-gallery h2 { font-size: 46px; }
}

@media screen and (min-width: 1024px) and (max-width: 1279px) {
    .municip-gallery-sec { padding: 65px 0; }
}

@media screen and (min-width: 1024px) and (max-width: 1279px) {
    .descubre-mapa-rgt { flex: 0 1 50%; }
}

@media screen and (max-width: 767px) {
    .descubre-mapa-rgt { flex: 0 1 100%; }
    .municip-gallery h2 { margin-bottom: 20px; }
    .municip-gallery-sec { padding: 40px 0; }
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
    .municip-gallery h2 { font-size: 40px; margin-bottom: 30px; }
    .municip-gallery-sec { padding: 50px 0; }
}

/* BLOG PARA IMATGES START */
@media screen and (max-width: 1279px) {
    .blog-para p:has(img) { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 4px; align-items: start; }
    .blog-para p:has(img) img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin: 0; }
}
/* BLOG PARA IMATGES END */

/* FITXA MUNICIPI LAYOUT START */
@media screen and (min-width: 768px) and (max-width: 1600px) {
    .fitxa-municip-out { flex-wrap: nowrap; }
}
/* FITXA MUNICIPI LAYOUT END */

/* MANCOMUNIDAD INSTITUCIONAL START */
@media screen and (max-width: 1279px) {
    .manco-main { column-gap: 40px; }
    .manco-sidebar { flex: 0 1 300px; }
    .manco-content { flex: 1 1 calc(100% - 340px); }
    .manco-block-title { font-size: 34px; }
}

@media screen and (max-width: 1023px) {
    .manco-main { column-gap: 0; }
    .manco-sidebar { flex: 0 1 100%; position: static; top: auto; margin-bottom: 30px; }
    .manco-content { flex: 0 1 100%; }
    .manco-nav { margin-bottom: 20px; }
    .manco-nav .manco-nav-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 15px 20px; background: #004379; border-radius: 8px; color: #fff; font-size: 17px; line-height: 1; font-family: 'Inter-Bold'; cursor: pointer; }
    .manco-nav .manco-nav-title::after { content: ""; flex: 0 0 auto; width: 10px; height: 10px; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: translateY(-2px) rotate(45deg); transition: transform .3s ease; }
    .manco-nav.open .manco-nav-title::after { transform: translateY(2px) rotate(-135deg); }
    .manco-nav.is-collapsible ul { display: none; }
    .manco-nav.is-collapsible.open ul { display: flex; margin-top: 8px; border: 1px solid rgba(0, 67, 121, 0.18); border-radius: 8px; padding: 4px 18px; }
    .manco-nav.is-collapsible.open ul li:last-child { border-bottom: none; }
    .manco-content .noticias-list ul li { flex: 0 1 48%; }
    .page-template-mancomunidad-sede .ban-title-lft h1 { font-size: 44px; }
}

@media screen and (max-width: 767px) {
    .manco-sec { padding: 45px 0 60px; }
    .manco-block + .manco-block { margin-top: 35px; }
    .manco-block-title { font-size: 26px; }
    .manco-cita-foto { flex: 0 1 100%; }
    .manco-content .noticias-list ul li { flex: 0 1 100%; }
    .manco-datos { grid-template-columns: 1fr; gap: 15px; }
    .page-template-mancomunidad-sede .ban-title-lft h1 { font-size: 34px; }
}
/* MANCOMUNIDAD INSTITUCIONAL END */

/* PLANIFICADOR RESPONSIVE START */
@media screen and (max-width: 820px) {
    .planner-day .planner-day__grid { grid-template-columns: 1fr; }
}
/* PLANIFICADOR RESPONSIVE END */

/* MUNICIPIOS START */
@media screen and (max-width: 1023px) {
    .municipis-main-sec { background-size: cover; }
}
/* MUNICIPIOS END */