/* DRG: Todas las notas — medidas del Figma (Web-DRG2026, nodo 1028:333) */
.drg-notas {
	--drg-n-negro: #070707;
	--drg-n-borde-boton: #343434;
	--drg-n-gris: #555555;
	--drg-n-meta: #a99c8c;
	--drg-n-desc: #070707;
	--drg-n-linea: #e3e3e3;
	--drg-n-sans: "Merriweather Sans", sans-serif;
	--drg-n-serif: "Playfair", "Playfair Display", serif;
	width: 100%;
	max-width: 1232px;
	margin: 0 auto;
	color: var(--drg-n-negro);
	font-family: var(--drg-n-sans);
}

.drg-notas [hidden] { display: none !important; }

/* Miga de pan (solo texto) */
.drg-notas__miga {
	display: flex;
	align-items: baseline;
	gap: 20px;
	margin: 0 0 24px;
	padding: 24px 0 0 8px;
	font-family: var(--drg-n-sans);
	font-size: 24px;
	font-weight: 300;
	line-height: 32px;
	color: var(--drg-n-gris);
}
.drg-notas__miga strong { font-weight: 700; }
.drg-notas__miga-sep { font-weight: 700; }

/* Tarjeta (grilla) */
.drg-nota {
	display: flex;
	flex-direction: column;
	gap: 24px;
	min-width: 0;
}
.drg-nota__media {
	display: block;
	aspect-ratio: 16 / 9;
	border-radius: 16px;
	overflow: hidden;
	background: #ffffff;
}
.drg-nota__img,
.drg-nota__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	border-radius: 16px;
}
.drg-nota__sin-img { display: block; width: 100%; height: 100%; background: #f2f2f2; }

.drg-nota__cuerpo { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.drg-nota__textos { display: flex; flex-direction: column; gap: 8px; width: 100%; }

.drg-notas .drg-nota__meta {
	margin: 0;
	font-family: var(--drg-n-sans);
	font-size: 12px;
	font-weight: 300;
	line-height: 21px;
	color: var(--drg-n-meta);
}
.drg-notas .drg-nota__titulo {
	margin: 0;
	font-family: var(--drg-n-serif);
	font-size: 24px;
	font-weight: 600;
	line-height: 31px;
	color: var(--drg-n-negro);
}
.drg-notas .drg-nota__titulo a { color: inherit; text-decoration: none; }
.drg-notas .drg-nota__titulo a:hover,
.drg-notas .drg-nota__titulo a:focus-visible { text-decoration: underline; }
.drg-notas .drg-nota__desc {
	margin: 0;
	font-family: var(--drg-n-sans);
	font-size: 18px;
	font-weight: 300;
	line-height: 27px;
	color: var(--drg-n-desc);
}

/* Botones (mismo estilo que "Leer nota" de Prensa) */
.drg-notas .drg-nota__boton,
.drg-notas button.drg-notas__boton-mas {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	min-width: 164px;
	height: 40px;
	padding: 0 24px;
	border: 2px solid var(--drg-n-borde-boton);
	border-radius: 8px;
	background: var(--drg-n-negro);
	color: #ffffff;
	font-family: var(--drg-n-sans);
	font-size: 14px;
	font-weight: 400;
	line-height: 21px;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color .15s ease;
}
.drg-notas .drg-nota__boton:hover,
.drg-notas .drg-nota__boton:focus-visible,
.drg-notas button.drg-notas__boton-mas:hover,
.drg-notas button.drg-notas__boton-mas:focus-visible {
	background: var(--drg-n-borde-boton);
	color: #ffffff;
	border-color: var(--drg-n-borde-boton);
}
.drg-notas button.drg-notas__boton-mas:disabled { opacity: .6; cursor: progress; }

/* Destacada */
.drg-nota--destacada {
	flex-direction: row;
	align-items: flex-start;
	gap: 24px;
}
.drg-nota--destacada .drg-nota__media { flex: 1 1 0; }
.drg-nota--destacada .drg-nota__cuerpo { flex: 1 1 0; min-width: 0; }
.drg-notas .drg-nota--destacada .drg-nota__titulo {
	font-size: 32px;
	line-height: 38px;
}
.drg-notas .drg-nota--destacada .drg-nota__desc { max-width: 394px; }

/* Filtros */
.drg-notas__filtros {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px 25px;
	padding: 48px 0 24px;
	border-bottom: 1px solid var(--drg-n-linea);
}
.drg-notas button.drg-notas__filtro {
	margin: 0;
	padding: 15px 0;
	border: 0;
	border-radius: 0;
	background: none;
	color: var(--drg-n-gris);
	font-family: var(--drg-n-sans);
	font-size: 24px;
	font-weight: 300;
	line-height: 32px;
	white-space: nowrap;
	cursor: pointer;
	box-shadow: none;
}
.drg-notas button.drg-notas__filtro:hover,
.drg-notas button.drg-notas__filtro:focus {
	background: none;
	color: var(--drg-n-negro);
}
.drg-notas button.drg-notas__filtro:focus-visible { outline: 2px solid var(--drg-n-negro); outline-offset: 2px; }
.drg-notas button.drg-notas__filtro.is-activo { font-weight: 700; color: var(--drg-n-gris); }

/* Grilla */
.drg-notas__grilla {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 80px 24px;
	align-items: start;
	margin-top: 56px;
	transition: opacity .2s ease;
}
.drg-notas.is-cargando .drg-notas__grilla { opacity: .5; }
.drg-notas__vacio {
	grid-column: 1 / -1;
	margin: 0;
	text-align: center;
	font-size: 18px;
	font-weight: 300;
	color: var(--drg-n-gris);
}

/* Mostrar más */
.drg-notas__mas { display: flex; justify-content: center; margin-top: 80px; }

/* Tablet */
@media (max-width: 1024px) {
	.drg-notas__grilla { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px 24px; }
	.drg-notas button.drg-notas__filtro { font-size: 20px; line-height: 28px; }
}

/* Mobile */
@media (max-width: 767px) {
	.drg-notas__miga { font-size: 18px; line-height: 26px; gap: 12px; padding: 16px 0 0; }
	.drg-nota--destacada { flex-direction: column; }
	.drg-nota--destacada .drg-nota__media,
	.drg-nota--destacada .drg-nota__cuerpo { flex: none; width: 100%; }
	.drg-notas .drg-nota--destacada .drg-nota__titulo { font-size: 24px; line-height: 31px; }
	.drg-notas__filtros { justify-content: flex-start; gap: 0 16px; padding-top: 32px; }
	.drg-notas button.drg-notas__filtro { font-size: 16px; line-height: 24px; padding: 8px 0; }
	.drg-notas__grilla { grid-template-columns: 1fr; gap: 48px; margin-top: 40px; }
	.drg-notas .drg-nota__desc { font-size: 16px; line-height: 24px; }
	.drg-notas__mas { margin-top: 48px; }
}

/* Publicaciones académicas ([drg_publicaciones]) */
.drg-publicaciones .drg-notas__grilla { margin-top: 0; }
.drg-notas .drg-publicacion__meta { text-transform: uppercase; }
/* Publicaciones: la imagen llena la caja como en el Figma (394 × 304), recortando lo que sobra. */
.drg-publicaciones .drg-nota__media { aspect-ratio: 394 / 304; background: #f2f2f2; }
.drg-publicaciones .drg-nota__media img,
.drg-publicaciones .drg-nota__img { object-fit: cover; object-position: center; }
