/* Author card at the end of articles. */
@property --mha-a { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.mha {
	position: relative;
	isolation: isolate;
	width: min(54rem, calc(100vw - 2 * var(--mhr-gutter)));
	margin: 3.25rem 0 2.5rem calc(50% - min(27rem, 50vw - var(--mhr-gutter)));
	padding: 2px;
	border-radius: 24px;
	background: rgba(224, 72, 58, .22);
	color: #d6dbe3;
	font-family: var(--mhr-sans);
	overflow: hidden;
	box-shadow: 0 46px 90px -48px rgba(8, 12, 20, .9), 0 18px 40px -30px rgba(192, 57, 43, .45);
}
.mha * { box-sizing: border-box; }
.mha__ring {
	position: absolute; inset: 0; z-index: 0; border-radius: inherit; pointer-events: none;
	background: conic-gradient(from var(--mha-a), transparent 0 52%, #e0483a 68%, #f0c35a 78%, #fff 82%, transparent 92%);
}
/* Red and green of the Moroccan flag. */
.mha__flag {
	position: absolute; z-index: 3; inset: 2px auto auto 2px; width: 120px; height: 4px;
	border-radius: 24px 0 4px 0;
	background: linear-gradient(90deg, #c1272d 0 62%, #006233 62% 100%);
}
.mha__inner {
	position: relative; z-index: 1;
	display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 38px; align-items: start;
	padding: 38px 40px 34px; border-radius: 22px; overflow: hidden;
	background:
		radial-gradient(circle at 0% 0%, rgba(192, 57, 43, .30), transparent 40%),
		radial-gradient(circle at 100% 100%, rgba(240, 195, 90, .14), transparent 45%),
		linear-gradient(150deg, #1a2230 0%, #0f1620 55%, #0a0e15 100%);
}
.mha__inner::before {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
	background-size: 30px 30px;
	-webkit-mask-image: radial-gradient(circle at 16% 30%, #000, transparent 62%);
	mask-image: radial-gradient(circle at 16% 30%, #000, transparent 62%);
}
.mha__inner::after {
	content: "MH"; position: absolute; right: -8px; bottom: -42px; pointer-events: none;
	font: 900 170px/1 Georgia, "Times New Roman", serif; letter-spacing: -.06em; color: rgba(255, 255, 255, .03);
}
.mha__side, .mha__copy { position: relative; z-index: 1; min-width: 0; }
.mha__side { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.mha__avatar { position: relative; width: 168px; height: 168px; display: grid; place-items: center; }
.mha__orbit { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.mha__orbit circle { fill: none; stroke: rgba(240, 195, 90, .45); stroke-width: 1.5; stroke-dasharray: 3 7; stroke-linecap: round; }
.mha__sat { position: absolute; inset: 0; pointer-events: none; }
.mha__sat i { position: absolute; top: -4px; left: 50%; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: #f0c35a; box-shadow: 0 0 0 4px rgba(240, 195, 90, .18), 0 0 16px #f0c35a; }
.mha__photo { display: block; width: 130px; height: 130px; padding: 4px; border-radius: 50%; background: linear-gradient(140deg, #f0c35a, #e0483a 50%, #8b1e14); }
.mha__photo img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; border: 4px solid #0f1620; background: #1a2230; }
.mha__ok { position: absolute; right: 18px; bottom: 18px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #1e8e3e; color: #fff; border: 3px solid #0f1620; box-shadow: 0 6px 16px -6px rgba(30, 142, 62, .9); }
.mha__ok svg, .mha__press svg, .mha__stats svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.mha__ok svg { stroke-width: 3; }
.mha__press { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(240, 195, 90, .4); background: rgba(240, 195, 90, .08); color: #f0c35a; font: 800 10.5px/1.2 var(--mhr-sans); letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }

.mha__net { display: flex; flex-direction: column; gap: 7px; width: 100%; max-width: 236px; margin: 4px auto 0; }
.mha__net-k { display: block; margin: 0 0 4px; text-align: center; font: 800 .66rem/1.2 var(--mhr-sans); letter-spacing: .16em; text-transform: uppercase; color: #f3c25b; }
.mha__net a { position: relative; display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 11px; background: rgba(255, 255, 255, .035); color: #fff; text-decoration: none; overflow: hidden; transition: border-color .25s, background .25s, transform .25s; }
.mha__net a::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--c); opacity: .85; }
.mha__net a:hover, .mha__net a:focus-visible { border-color: var(--c); background: rgba(255, 255, 255, .07); }
.mha__net-i { flex: 0 0 30px; display: grid; place-items: center; height: 30px; border-radius: 8px; background: var(--c); font: 800 .7rem/1 var(--mhr-sans); color: #fff; }
.mha__net-t { display: flex; flex-direction: column; min-width: 0; text-align: left; }
.mha__net-t b { font: 700 .82rem/1.2 var(--mhr-sans); color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mha__net-t small { margin-top: 2px; font: 500 .68rem/1.25 var(--mhr-sans); color: rgba(255, 255, 255, .6); }
.mha__net svg { flex: 0 0 14px; width: 14px; height: 14px; margin-left: auto; fill: none; stroke: rgba(255, 255, 255, .55); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: stroke .25s, transform .25s; }
.mha__net a:hover svg { stroke: #fff; }

.mha__kicker { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 8px; color: #ff8a7c; font: 800 11.5px/1.2 var(--mhr-sans); letter-spacing: .16em; text-transform: uppercase; }
.mha__kicker i { width: 8px; height: 8px; border-radius: 50%; background: #e0483a; }
.mha__name { margin: 0 0 10px; font: 700 clamp(28px, 3.2vw, 40px)/1.08 var(--mhr-serif); letter-spacing: -.02em; }
.mha__name a { color: #fff; text-decoration: none; background: linear-gradient(90deg, #e0483a, #f0c35a) left bottom / 100% 3px no-repeat; padding-bottom: 6px; }
.mha__name a:hover { color: #f0c35a; }
.mha__role { margin: 0 0 6px; color: #f0c35a; font: 700 13px/1.4 var(--mhr-sans); letter-spacing: .08em; text-transform: uppercase; }
.mha__bio { margin: 14px 0 0; color: #d6dbe3; font: 400 16px/1.75 var(--mhr-sans); }

.mha__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 20px 0 4px; padding: 0; list-style: none; }
.mha__stats li { position: relative; overflow: hidden; margin: 0; padding: 14px 14px 13px; border-radius: 14px; background: rgba(255, 255, 255, .045); border: 1px solid rgba(255, 255, 255, .09); }
.mha__stats li::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .07) 50%, transparent 70%); translate: -100% 0; pointer-events: none; }
.mha__stats svg { display: block; margin: 0 0 8px; color: #ff8a7c; width: 18px; height: 18px; }
.mha__stats b { display: block; color: #fff; font: 800 20px/1.15 var(--mhr-sans); }
.mha__stats span { display: block; margin-top: 4px; color: #8f9aab; font-size: 12.5px; line-height: 1.35; }

.mha__social { display: flex; flex-wrap: wrap; gap: 9px; margin: 20px 0 0; padding: 18px 0 0; border-top: 1px solid rgba(255, 255, 255, .09); }
.mha__social a { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .05); color: #e6e9ee; text-decoration: none; transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s; }
.mha__social a svg { display: block; width: 17px; height: 17px; }
.mha__social a:hover, .mha__social a:focus-visible { background: #e0483a; border-color: #e0483a; color: #fff; transform: translateY(-3px); box-shadow: 0 10px 20px -10px rgba(224, 72, 58, .9); }

.mha__all { display: inline-flex; align-items: center; gap: 10px; margin-top: 20px; padding: 13px 22px; border-radius: 999px; background: linear-gradient(135deg, #e0483a, #b42318); color: #fff; font: 800 14px/1.2 var(--mhr-sans); text-decoration: none; box-shadow: 0 14px 28px -14px rgba(224, 72, 58, .95); transition: transform .2s, box-shadow .2s; }
.mha__all span { transition: translate .2s; }
.mha__all:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 18px 32px -14px rgba(224, 72, 58, 1); }
.mha__all:hover span { translate: 4px 0; }
.mha a:focus-visible { outline: 3px solid rgba(240, 195, 90, .6); outline-offset: 3px; }

@keyframes mhaRing { to { --mha-a: 360deg; } }
@keyframes mhaSpin { to { rotate: 360deg; } }
@keyframes mhaPulse { 0% { box-shadow: 0 0 0 0 rgba(224, 72, 58, .6); } 100% { box-shadow: 0 0 0 9px rgba(224, 72, 58, 0); } }
@keyframes mhaSweep { 0%, 60% { translate: -100% 0; } 85%, 100% { translate: 100% 0; } }
@keyframes mhaUp { from { opacity: 0; translate: 0 28px; } to { opacity: 1; translate: 0 0; } }
@keyframes mhaIn { from { opacity: 0; transform: translateX(-8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
	.mha__ring { animation: mhaRing 7s linear infinite; }
	.mha__orbit { animation: mhaSpin 40s linear infinite; }
	.mha__sat { animation: mhaSpin 9s linear infinite; }
	.mha__kicker i { animation: mhaPulse 1.8s ease-out infinite; }
	.mha__stats li::after { animation: mhaSweep 5s ease-in-out infinite; }
	.mha__stats li:nth-child(2)::after { animation-delay: .6s; }
	.mha__stats li:nth-child(3)::after { animation-delay: 1.2s; }
	.mha__net a { animation: mhaIn .5s ease-out both; animation-delay: calc(var(--d, 0s) + .2s); }
	.mha__net a:hover { transform: translateX(3px); }
	.mha__net a:hover svg { transform: translate(2px, -2px); }
	@supports (animation-timeline: view()) {
		.mha__inner { animation: mhaUp linear both; animation-timeline: view(); animation-range: entry 0% cover 25%; }
	}
}

@media (max-width: 820px) {
	.mha__inner { grid-template-columns: 1fr; gap: 22px; padding: 30px 22px 26px; text-align: center; }
	.mha__kicker, .mha__social { justify-content: center; }
	.mha__stats { text-align: left; }
}
@media (max-width: 520px) {
	.mha__stats { grid-template-columns: 1fr; }
	.mha__stats li { display: grid; grid-template-columns: 22px auto 1fr; align-items: center; gap: 10px; }
	.mha__stats svg { margin: 0; }
	.mha__stats span { margin: 0; }
	.mha__name { font-size: 28px; }
	.mha__all { width: 100%; justify-content: center; }
}