/* Layout ancho completo en portada */
body.home .content-area,
body.home .site-container,
body.home .content-container.site-container {
	max-width: none !important;
	width: 100% !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}

body.home #primary {
	margin: 0;
	max-width: none;
	width: 100%;
}

body.home .entry.content-bg {
	background: #fff;
}

body.home .entry-content-wrap {
	padding: 0 !important;
	max-width: none;
	width: 100%;
}

body.home .wp-block-jursoc-home-dashboard,
body.home .jursoc-dashboard--full {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

/* Header alineado al mismo gutter del home */
body.home .site-main-header-wrap .site-header-row-container-inner {
	max-width: none;
	width: 100%;
}

/* Grilla de noticias: columnas según espacio real del main */
body.home .jursoc-cards-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (min-width: 1400px) {
	body.home .jursoc-cards-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

@media (max-width: 1200px) {
	body.home .jursoc-cards-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 560px) {
	body.home .jursoc-cards-grid {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* Secciones claustro: ancho alineado al home */
body.jursoc-page-claustro .wp-block-jursoc-estudiantes-hub,
body.jursoc-page-claustro .wp-block-jursoc-graduados-hub,
body.jursoc-page-claustro .wp-block-jursoc-no-docentes-hub,
body.jursoc-page-claustro .wp-block-jursoc-docentes-hub,
body.jursoc-page-claustro .jursoc-claustro,
body.jursoc-page-claustro .jursoc-docentes {
	width: 100%;
	max-width: none;
	margin-left: auto;
	margin-right: auto;
	padding-left: clamp(1rem, 2.5vw, 2.5rem);
	padding-right: clamp(1rem, 2.5vw, 2.5rem);
	box-sizing: border-box;
}
