.mid-single,
.mid-archive-wrap {
	--mid-deep: #153846;
	--mid-dark: #234f5d;
	--mid-brand: #6295a4;
	--mid-green: #98caa7;
	--mid-orange: #dc8c46;
	--mid-soft: #e8f2f4;
	--mid-paper: #fff;
	--mid-surface: #f7f9f9;
	--mid-muted: #526a74;
	--mid-line: #d8e4e7;
	--mid-warm: #fff1e8;
	--mid-radius: 20px;
	--mid-shadow: 0 12px 34px rgba(21,56,70,.08);
	--mid-shadow-hover: 0 18px 42px rgba(21,56,70,.13);
}
.mid-single, .mid-single * { box-sizing: border-box; }
.mid-single { width: 100%; padding: clamp(22px, 3.2vw, 46px) 0 clamp(56px, 6vw, 88px); background: linear-gradient(180deg, #f7f9f9 0%, #fff 34%, #f7f9f9 100%); color: var(--mid-deep); }
.mid-single__shell { width: min(1260px, calc(100% - 32px)); margin: 0 auto; }
.mid-profile { margin: 0; }

/* Hero contenido: la portada nunca va a sangre. */
.mid-hero { position: relative; overflow: visible; margin-bottom: clamp(24px, 4vw, 44px); background: #fff; border: 1px solid rgba(35,79,93,.11); border-radius: 26px; box-shadow: var(--mid-shadow); }
.mid-hero--text { overflow: hidden; background: linear-gradient(135deg, #fff 0%, #fff 56%, rgba(232,242,244,.9) 100%); }
.mid-hero--text::after { content: ""; position: absolute; width: 280px; height: 280px; right: -110px; top: -130px; border: 1px solid rgba(98,149,164,.13); border-radius: 50%; box-shadow: 0 0 0 40px rgba(98,149,164,.035), 0 0 0 85px rgba(220,140,70,.025); pointer-events: none; }
.mid-hero__media { position: relative; overflow: hidden; width: calc(100% - clamp(20px, 3vw, 38px)); aspect-ratio: 16 / 6.2; min-height: 250px; max-height: 480px; margin: clamp(10px, 1.5vw, 18px) auto 0; border-radius: 20px; background: var(--mid-soft); }
.mid-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(21,56,70,0) 42%, rgba(21,56,70,.18) 100%); pointer-events: none; }
.mid-hero__media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.mid-hero__logo { position: relative; z-index: 3; display: grid; place-items: center; width: 92px; height: 92px; margin: 26px 0 0 clamp(24px, 4vw, 52px); padding: 9px; overflow: hidden; border: 1px solid rgba(35,79,93,.12); border-radius: 22px; background: rgba(255,255,255,.98); box-shadow: 0 12px 28px rgba(21,56,70,.14); }
.mid-hero__logo--overlap { margin: -46px 0 -40px clamp(24px, 4vw, 52px); }
.mid-hero__logo img { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 15px; }
.mid-hero__identity { position: relative; z-index: 2; padding: clamp(30px, 4vw, 54px); }
.mid-hero--media.mid-hero--logo .mid-hero__identity { padding-top: clamp(56px, 5vw, 72px); }

/* Ornamento cálido del hero en escritorio.
 * No contiene información ni depende de imágenes: rellena visualmente el hueco
 * derecho con arcos concéntricos tipo radar, inspirados en el lenguaje MI. */
@media (min-width: 981px) {
	.mid-hero--media .mid-hero__identity {
		position: relative;
		min-height: 292px;
		padding-right: clamp(300px, 29vw, 410px);
		overflow: hidden;
	}

	.mid-hero--media .mid-hero__identity::before {
		content: "";
		position: absolute;
		z-index: -1;
		right: clamp(-175px, -10vw, -118px);
		bottom: clamp(-205px, -13vw, -150px);
		width: clamp(420px, 35vw, 560px);
		aspect-ratio: 1;
		border-radius: 50%;
		background:
			radial-gradient(circle at center, rgba(220,140,70,.105) 0 23%, transparent 23.4% 35.4%, rgba(220,140,70,.115) 35.7% 36.05%, transparent 36.35% 48%, rgba(220,140,70,.105) 48.3% 48.65%, transparent 48.95% 60.5%, rgba(220,140,70,.095) 60.8% 61.12%, transparent 61.42% 73%, rgba(220,140,70,.08) 73.3% 73.58%, transparent 73.9% 100%),
			radial-gradient(circle at 50% 50%, rgba(255,241,232,.72) 0 28%, rgba(255,241,232,.16) 45%, transparent 67%);
		pointer-events: none;
	}

	.mid-hero--media .mid-hero__identity::after {
		content: "";
		position: absolute;
		z-index: -1;
		right: clamp(150px, 15vw, 226px);
		bottom: clamp(74px, 6.5vw, 105px);
		width: 9px;
		height: 9px;
		border-radius: 50%;
		background: rgba(220,140,70,.28);
		box-shadow:
			78px -93px 0 -1px rgba(220,140,70,.19),
			-28px -22px 0 1px rgba(220,140,70,.16);
		pointer-events: none;
	}

	.mid-hero--media .mid-hero__identity > * {
		position: relative;
		z-index: 1;
	}
}
.mid-hero__kickers { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 14px; }
.mid-chip { display: inline-flex; align-items: center; min-height: 30px; padding: 5px 10px; border: 1px solid rgba(98,149,164,.18); border-radius: 999px; background: var(--mid-surface); color: var(--mid-dark); font-size: .72rem; font-weight: 750; text-decoration: none; }
.mid-chip:hover { background: var(--mid-soft); color: var(--mid-deep); }
.mid-chip--brand { background: rgba(152,202,167,.2); border-color: rgba(152,202,167,.36); color: var(--mid-deep); }
.mid-hero h1 { max-width: 930px; margin: 0; color: var(--mid-deep); font-size: clamp(2.05rem, 4vw, 4.2rem); font-weight: 700; letter-spacing: -.04em; line-height: 1.02; text-wrap: balance; }
.mid-hero__tagline { max-width: 820px; margin: 13px 0 0; color: var(--mid-muted); font-size: clamp(1rem, 1.5vw, 1.28rem); line-height: 1.55; }
.mid-hero__categories { display: flex; flex-wrap: wrap; gap: 7px 12px; margin-top: 17px; }
.mid-hero__categories a { position: relative; color: var(--mid-dark); font-size: .77rem; font-weight: 700; text-decoration: none; }
.mid-hero__categories a:not(:last-child)::after { content: "·"; position: absolute; right: -8px; color: var(--mid-brand); }
.mid-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 26px; }
.mid-action { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 15px; border: 1px solid rgba(35,79,93,.18); border-radius: 13px; background: #fff; color: var(--mid-dark); font-size: .82rem; font-weight: 750; text-decoration: none; box-shadow: 0 7px 18px rgba(21,56,70,.055); transition: color .16s ease, background-color .16s ease, border-color .16s ease, transform .16s ease, box-shadow .16s ease; }
.mid-action span { display: grid; place-items: center; width: 18px; height: 18px; }
.mid-action svg, .mid-card svg, .mid-related-card svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.mid-action:hover { color: #fff; background: var(--mid-dark); border-color: var(--mid-dark); transform: translateY(-1px); box-shadow: 0 10px 24px rgba(21,56,70,.14); }
.mid-action--primary { background: var(--mid-deep); border-color: var(--mid-deep); color: #fff; }
.mid-action--primary:hover { background: #0f2d38; }

/* Layout editorial */
.mid-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(290px, .65fr); gap: clamp(18px, 2.5vw, 30px); align-items: start; }
.mid-layout--single { grid-template-columns: 1fr; }
.mid-layout__main, .mid-layout__aside { display: grid; gap: 20px; min-width: 0; }
.mid-layout__aside { position: sticky; top: 104px; }
.mid-section, .mid-card { background: #fff; border: 1px solid rgba(35,79,93,.11); border-radius: var(--mid-radius); box-shadow: var(--mid-shadow); }
.mid-section { padding: clamp(22px, 3vw, 34px); }
.mid-section--about { background: linear-gradient(145deg, #fff 0%, #fff 54%, rgba(232,242,244,.68) 100%); border-color: rgba(98,149,164,.2); }
.mid-section--publications { background: linear-gradient(135deg, #fff 0%, #fff 52%, rgba(232,242,244,.74) 100%); border-color: rgba(98,149,164,.2); }
.mid-section__head { margin-bottom: 20px; padding-bottom: 15px; border-bottom: 1px solid rgba(216,228,231,.9); }
.mid-section__head--icon { display: flex; align-items: center; gap: 12px; }
.mid-section__icon { display: grid; place-items: center; flex: 0 0 36px; width: 36px; height: 36px; padding: 9px; border-radius: 11px; background: var(--mid-soft); color: var(--mid-dark); }
.mid-section__icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.mid-section__eyebrow { display: block; margin-bottom: 3px; color: var(--mid-brand); font-size: .7rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.mid-section h2, .mid-card h2, .mid-related h2 { margin: 0; color: var(--mid-deep); font-weight: 700; letter-spacing: -.025em; }
.mid-section h2 { font-size: clamp(1.35rem, 2vw, 1.8rem); }
.mid-section__content { color: #365966; font-size: .96rem; line-height: 1.8; }
.mid-section__content p:first-child { margin-top: 0; }
.mid-section__content p:last-child { margin-bottom: 0; }
.mid-section__content a { color: var(--mid-dark); font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: 3px; }

/* Galería */
.mid-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: minmax(180px, 260px); gap: 10px; min-width: 0; }
.mid-gallery__item { position: relative; overflow: hidden; width: 100%; max-width: 100%; min-width: 0; min-height: 180px; padding: 0; border: 0; border-radius: 14px; background: var(--mid-soft); cursor: zoom-in; }
.mid-gallery__item img { width: 100%; max-width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .22s ease; }
.mid-gallery__item:hover img { transform: scale(1.035); }
.mid-gallery--1 { grid-template-columns: 1fr; grid-auto-rows: auto; }
.mid-gallery--1 .mid-gallery__item { min-height: 0; aspect-ratio: 16 / 9; }
.mid-gallery--3 .mid-gallery__item:first-child, .mid-gallery--4 .mid-gallery__item:first-child, .mid-gallery--5 .mid-gallery__item:first-child { grid-row: span 2; }
.mid-video { overflow: hidden; border-radius: 14px; background: #111; aspect-ratio: 16 / 9; }
.mid-video iframe, .mid-video video { display: block; width: 100%; height: 100%; border: 0; }
.mid-video > a { display: grid; place-items: center; width: 100%; height: 100%; color: #fff; font-weight: 750; }

/* Columna práctica */
.mid-card { padding: 20px; }
.mid-card--warm { background: linear-gradient(145deg, #fff 0%, #fff 52%, rgba(255,241,232,.7) 100%); border-color: rgba(220,140,70,.18); }
.mid-card--location { overflow: hidden; position: relative; background: linear-gradient(145deg, #fff 0%, rgba(232,242,244,.75) 100%); }
.mid-card--location::after { content: ""; position: absolute; width: 170px; height: 170px; right: -62px; bottom: -88px; border: 1px solid rgba(98,149,164,.18); border-radius: 50%; box-shadow: 0 0 0 28px rgba(98,149,164,.04); pointer-events: none; }
.mid-card__head { position: relative; z-index: 2; display: flex; align-items: center; gap: 10px; margin-bottom: 16px; padding-bottom: 13px; border-bottom: 1px solid rgba(216,228,231,.88); }
.mid-card__head > span { display: grid; place-items: center; width: 32px; height: 32px; padding: 8px; border-radius: 10px; background: var(--mid-soft); color: var(--mid-dark); }
.mid-card__head h2 { font-size: .98rem; }
.mid-data-list { display: grid; gap: 9px; }
.mid-data-list a { display: grid; gap: 2px; min-width: 0; padding: 10px 11px; border-radius: 11px; background: rgba(247,249,249,.8); color: var(--mid-deep); text-decoration: none; transition: background-color .16s ease, transform .16s ease; }
.mid-data-list a:hover { background: var(--mid-soft); transform: translateY(-1px); }
.mid-data-list small { color: var(--mid-muted); font-size: .67rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.mid-data-list strong { overflow-wrap: anywhere; font-size: .83rem; font-weight: 700; }
.mid-location__address { position: relative; z-index: 2; margin: 0 0 16px; color: #365966; font-size: .9rem; line-height: 1.65; }
.mid-card__cta { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 12px; border-radius: 11px; background: var(--mid-deep); color: #fff; font-size: .78rem; font-weight: 750; text-decoration: none; }
.mid-card__cta svg { width: 16px; height: 16px; }
.mid-hours { display: grid; gap: 0; }
.mid-hours > div { display: grid; grid-template-columns: minmax(78px, .75fr) minmax(0, 1.25fr); gap: 12px; padding: 8px 0; border-bottom: 1px solid rgba(216,228,231,.7); }
.mid-hours > div:last-child { border-bottom: 0; padding-bottom: 0; }
.mid-hours > div:first-child { padding-top: 0; }
.mid-hours span { color: var(--mid-muted); font-size: .76rem; }
.mid-hours strong { color: var(--mid-deep); font-size: .76rem; font-weight: 700; text-align: right; }
.mid-socials { display: flex; flex-wrap: wrap; gap: 7px; }
.mid-socials a { display: inline-flex; min-height: 34px; align-items: center; padding: 6px 10px; border: 1px solid var(--mid-line); border-radius: 999px; background: var(--mid-surface); color: var(--mid-dark); font-size: .72rem; font-weight: 700; text-decoration: none; }
.mid-socials a:hover { background: var(--mid-dark); border-color: var(--mid-dark); color: #fff; }

/* Relacionados */
.mid-related { margin-top: clamp(28px, 4vw, 48px); padding-top: clamp(24px, 3vw, 34px); border-top: 1px solid rgba(35,79,93,.1); }
.mid-related__head { margin-bottom: 18px; }
.mid-related__head span { display: block; margin-bottom: 4px; color: var(--mid-brand); font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.mid-related h2 { font-size: clamp(1.45rem, 2.3vw, 2rem); }
.mid-related__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.mid-related-card { overflow: hidden; background: #fff; border: 1px solid rgba(35,79,93,.11); border-radius: 17px; box-shadow: 0 9px 25px rgba(21,56,70,.065); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.mid-related-card:hover { transform: translateY(-2px); border-color: rgba(98,149,164,.34); box-shadow: var(--mid-shadow-hover); }
.mid-related-card__media { display: block; overflow: hidden; aspect-ratio: 16 / 8.7; background: linear-gradient(135deg, var(--mid-soft), #f5e7dc); }
.mid-related-card__media img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .22s ease; }
.mid-related-card:hover .mid-related-card__media img { transform: scale(1.03); }
.mid-related-card__media > span { display: block; width: 100%; height: 100%; background: radial-gradient(circle at 20% 20%, rgba(152,202,167,.35), transparent 40%), radial-gradient(circle at 80% 70%, rgba(220,140,70,.22), transparent 42%); }
.mid-related-card__body { padding: 16px; }
.mid-related-card__body > span { display: block; margin-bottom: 5px; color: var(--mid-brand); font-size: .65rem; font-weight: 800; text-transform: uppercase; }
.mid-related-card h3 { margin: 0; font-size: 1rem; line-height: 1.25; }
.mid-related-card h3 a { color: var(--mid-deep); text-decoration: none; }
.mid-related-card p { margin: 8px 0 0; color: var(--mid-muted); font-size: .78rem; line-height: 1.5; }
.mid-related-card__link { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; color: var(--mid-dark); font-size: .72rem; font-weight: 800; text-decoration: none; }
.mid-related-card__link svg { width: 15px; height: 15px; }

/* Lightbox */
.mid-lightbox { width: min(1180px, calc(100% - 28px)); max-height: calc(100dvh - 28px); padding: 0; overflow: visible; border: 0; border-radius: 18px; background: transparent; }
.mid-lightbox::backdrop { background: rgba(9,20,25,.86); backdrop-filter: blur(6px); }
.mid-lightbox__image { display: block; width: 100%; max-height: calc(100dvh - 40px); object-fit: contain; border-radius: 18px; background: #10181b; box-shadow: 0 24px 70px rgba(0,0,0,.4); }
.mid-lightbox__close { position: absolute; z-index: 3; top: 10px; right: 10px; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid rgba(255,255,255,.28); border-radius: 50%; background: rgba(15,32,39,.82); color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; }

/* Archivo provisional */
.mid-archive-wrap { width: min(1180px, calc(100% - 32px)); margin: 36px auto 64px; }
.mid-archive__header { margin-bottom: 22px; }
.mid-archive__header h1 { color: var(--mid-deep); }
.mid-listing__mode { display: inline-block; margin: 0 0 10px; padding: 5px 9px; border-radius: 999px; background: var(--mid-soft); color: var(--mid-dark); font-size: .72rem; font-weight: 700; }
.mid-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap: 16px; }
.mid-card h2 { margin-top: 0; }

@media (max-width: 980px) {
	.mid-layout { grid-template-columns: 1fr; }
	.mid-layout__aside { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.mid-related__grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
	.mid-hero__media { aspect-ratio: 16 / 7.2; }
	.mid-hero--media.mid-hero--logo .mid-hero__identity { padding-top: 60px; }
}
@media (max-width: 680px) {
	.mid-single { padding-top: 16px; }
	.mid-single__shell { width: min(100% - 20px, 1260px); }
	.mid-hero { border-radius: 20px; }
	.mid-hero__media { width: calc(100% - 16px); min-height: 190px; aspect-ratio: 4 / 2.25; margin-top: 8px; border-radius: 16px; }
	.mid-hero__logo { width: 78px; height: 78px; margin-left: 20px; border-radius: 18px; }
	.mid-hero__logo--overlap { margin: -39px 0 -34px 20px; }
	.mid-hero__identity { padding: 26px 20px 24px; }
	.mid-hero--media.mid-hero--logo .mid-hero__identity { padding-top: 54px; }
	.mid-hero h1 { font-size: clamp(2rem, 10vw, 3rem); }
	.mid-hero__tagline { font-size: .98rem; }
	.mid-actions { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); }
	.mid-action { width: 100%; padding-inline: 10px; }
	.mid-section { padding: 20px 17px; }
	.mid-gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; }
	.mid-gallery--3 .mid-gallery__item:first-child, .mid-gallery--4 .mid-gallery__item:first-child, .mid-gallery--5 .mid-gallery__item:first-child { grid-row: auto; grid-column: 1 / -1; }
	.mid-layout__aside { grid-template-columns: 1fr; }
	.mid-related__grid { grid-template-columns: 1fr; }
	.mid-related-card { display: grid; grid-template-columns: 112px minmax(0,1fr); }
	.mid-related-card__media { height: 100%; aspect-ratio: auto; }
	.mid-related-card__body { padding: 14px; }
}
@media (max-width: 420px) {
	.mid-actions { grid-template-columns: 1fr; }
	.mid-gallery { grid-template-columns: 1fr; grid-auto-rows: 210px; }
	.mid-gallery .mid-gallery__item { grid-column: auto !important; }
	.mid-related-card { grid-template-columns: 92px minmax(0,1fr); }
}
@media (prefers-reduced-motion: reduce) {
	.mid-action, .mid-gallery__item img, .mid-related-card, .mid-related-card__media img { transition: none; }
}


/* =========================================================
   0.6.12 · REFUERZO RESPONSIVE DE FICHA
   ========================================================= */
.mid-single {
	max-width: 100%;
	overflow-x: clip;
}

.mid-single__shell,
.mid-profile,
.mid-hero,
.mid-layout,
.mid-layout__main,
.mid-layout__aside,
.mid-section,
.mid-card,
.mid-related,
.mid-related__grid,
.mid-related-card {
	min-width: 0;
	max-width: 100%;
}

.mid-section__content,
.mid-section__content > *,
.mid-card,
.mid-data-list,
.mid-location__address,
.mid-related-card__body {
	min-width: 0;
	overflow-wrap: anywhere;
}

.mid-section__content img,
.mid-section__content video,
.mid-section__content iframe,
.mid-section__content embed,
.mid-section__content object {
	max-width: 100%;
}

.mid-section__content iframe {
	width: 100%;
}

.mid-hero h1,
.mid-hero__tagline,
.mid-related-card h3,
.mid-data-list strong,
.mid-location__address {
	overflow-wrap: anywhere;
}

@media (max-width: 680px) {
	.mid-single__shell {
		width: calc(100% - 20px);
		max-width: calc(100% - 20px);
	}

	.mid-hero,
	.mid-layout,
	.mid-related {
		width: 100%;
	}

	.mid-actions {
		min-width: 0;
	}

	.mid-action {
		min-width: 0;
		white-space: normal;
		text-align: center;
	}
}


/* =========================================================
   Herramientas internas de ficha · 0.6.17
   Solo se imprimen para usuarios con capacidad de moderación.
   ========================================================= */
.mid-internal-tools {
	display: flex;
	justify-content: flex-end;
	margin: 0 0 10px;
}

.mid-internal-edit {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	min-height: 38px;
	padding: 8px 12px;
	border: 1px solid rgba(220, 140, 70, .32);
	border-radius: 999px;
	background: rgba(220, 140, 70, .10);
	color: var(--mid-dark, #153342);
	font-size: .78rem;
	font-weight: 800;
	line-height: 1;
	text-decoration: none;
	transition: transform .15s ease, background .15s ease, border-color .15s ease;
}

.mid-internal-edit:hover,
.mid-internal-edit:focus-visible {
	transform: translateY(-1px);
	background: rgba(220, 140, 70, .17);
	border-color: rgba(220, 140, 70, .48);
}

.mid-internal-notice {
	margin: 0 0 14px;
	padding: 12px 15px;
	border: 1px solid rgba(120, 173, 140, .34);
	border-radius: 14px;
	background: rgba(120, 173, 140, .11);
	color: #153342;
	font-weight: 700;
}

@media (max-width: 680px) {
	.mid-internal-tools {
		justify-content: flex-start;
	}

	.mid-internal-edit {
		min-height: 42px;
		padding-inline: 13px;
	}
}


/* 0.7.0 · Grupos de sedes */
.mid-sites-public { margin-top:clamp(28px,4vw,48px); padding-top:clamp(24px,3vw,34px); border-top:1px solid rgba(35,79,93,.1); }
.mid-sites-public__grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.mid-sites-public__item { display:flex; min-width:0; flex-direction:column; gap:6px; padding:16px; border:1px solid rgba(35,79,93,.12); border-radius:16px; background:#fff; color:var(--mid-deep); text-decoration:none; box-shadow:0 8px 22px rgba(21,56,70,.05); }
.mid-sites-public__item:hover { border-color:rgba(98,149,164,.38); box-shadow:0 14px 30px rgba(21,56,70,.09); }
.mid-sites-public__item strong { font-size:.95rem; }
.mid-sites-public__item span { color:var(--mid-muted); font-size:.76rem; line-height:1.45; }
.mid-sites-public__item em { margin-top:auto; color:var(--mid-dark); font-size:.72rem; font-style:normal; font-weight:800; }
@media(max-width:680px){ .mid-sites-public__grid{grid-template-columns:1fr;} }
