:root {
	--hm-digital-ink: #111;
	--hm-digital-paper: #f5f2ec;
	--hm-digital-cyan: #00bfe3;
	--hm-digital-line: rgba(17, 17, 17, 0.16);
}

.hm-digital-banner,
.hm-digital-banner-reader,
.hm-digital-grid-section,
.hm-digital-reader {
	box-sizing: border-box;
	margin: 2.5rem auto;
	width: 100%;
}

.hm-digital-banner *,
.hm-digital-banner-reader *,
.hm-digital-grid-section *,
.hm-digital-reader * {
	box-sizing: border-box;
}

.hm-digital-kicker {
	color: var(--hm-digital-cyan);
	font-family: inherit;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	line-height: 1.2;
	margin: 0 0 0.75rem;
	text-transform: uppercase;
}

.hm-digital-banner {
	align-items: center;
	background:
		linear-gradient(135deg, rgba(255, 255, 255, 0.05), transparent 50%),
		var(--hm-digital-ink);
	color: #fff;
	display: grid;
	grid-template-columns: minmax(0, 680px) minmax(270px, 1fr);
	min-height: 360px;
	overflow: hidden;
	padding: clamp(2rem, 4vw, 3rem);
	position: relative;
}

.hm-digital-banner__accent {
	background: var(--hm-digital-cyan);
	height: 8px;
	left: 0;
	position: absolute;
	top: 0;
	width: clamp(100px, 18%, 230px);
}

.hm-digital-banner__content {
	max-width: 680px;
	padding-right: clamp(1.5rem, 5vw, 5rem);
	position: relative;
	z-index: 1;
}

.hm-digital-banner__title,
.entry-content .hm-digital-banner .hm-digital-banner__title {
	color: #fff;
	font-family: "Source Serif 4", Georgia, "Times New Roman", serif;
	font-size: clamp(2rem, 2.25vw, 2.25rem);
	font-weight: 700;
	letter-spacing: -0.035em;
	line-height: 0.98;
	margin: 0;
	border-bottom: 0 !important;
	padding-bottom: 0;
	text-wrap: balance;
}

.hm-digital-banner__description {
	color: rgba(255, 255, 255, 0.78);
	font-size: clamp(1rem, 1.5vw, 1.2rem);
	line-height: 1.55;
	margin: 1.5rem 0 0;
	max-width: 55ch;
}

.hm-digital-button {
	align-items: center;
	background: var(--hm-digital-cyan);
	color: #071318;
	display: inline-flex;
	font-size: 0.82rem;
	font-weight: 800;
	gap: 1.5rem;
	letter-spacing: 0.08em;
	margin-top: 2rem;
	padding: 0.95rem 1.2rem;
	text-decoration: none;
	text-transform: uppercase;
	transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.hm-digital-button:hover,
.hm-digital-button:focus {
	background: #fff;
	color: #111;
	transform: translateY(-2px);
}

.hm-digital-button__arrow {
	font-size: 1.25rem;
	line-height: 1;
}

.hm-digital-banner__cover-link {
	align-self: end;
	display: block;
	filter: drop-shadow(-20px 20px 30px rgba(0, 0, 0, 0.42));
	justify-self: center;
	line-height: 0;
	max-width: 270px;
	position: relative;
	transform: rotate(1.5deg) translateY(1rem);
	transition: filter 220ms ease, transform 220ms ease;
	width: 100%;
	z-index: 1;
}

.hm-digital-banner__cover-link:hover,
.hm-digital-banner__cover-link:focus {
	filter: drop-shadow(-26px 24px 34px rgba(0, 0, 0, 0.52));
	transform: rotate(0) translateY(0.75rem);
}

.hm-digital-banner__cover {
	aspect-ratio: 8.5 / 11;
	display: block;
	height: auto;
	object-fit: cover;
	width: 100%;
}

.hm-digital-banner-reader {
	align-items: center;
	background: #e3f2f7;
	color: var(--hm-digital-ink);
	display: grid;
	gap: clamp(2rem, 4vw, 4.5rem);
	grid-template-columns: minmax(250px, 650px) minmax(360px, 500px);
	justify-content: center;
	overflow: hidden;
	padding: clamp(1.25rem, 2vw, 1.75rem) clamp(1.5rem, 2.6vw, 2.5rem);
}

.hm-digital-banner-reader__content {
	min-width: 0;
}

.hm-digital-banner-reader__title,
.entry-content .hm-digital-banner-reader .hm-digital-banner-reader__title {
	border-bottom: 0 !important;
	color: var(--hm-digital-ink);
	font-family: "Source Serif 4", Georgia, "Times New Roman", serif;
	font-size: clamp(1.75rem, 2vw, 2rem);
	font-weight: 700;
	letter-spacing: 0;
	line-height: 1.12;
	margin: 0;
	max-width: 32ch;
	padding-bottom: 0;
	text-wrap: balance;
}

.hm-digital-banner-reader__description {
	color: #40515a;
	font-size: 0.92rem;
	line-height: 1.45;
	margin: 1.15rem 0 0;
}

.hm-digital-banner-reader__media {
	justify-self: end;
	max-width: 500px;
	min-width: 0;
	width: 100%;
}

.hm-digital-banner-reader__frame {
	background: #292929;
	height: 338px;
	position: relative;
	width: 100%;
}

.hm-digital-banner-reader .hm-digital-button {
	margin-top: 1.25rem;
}

.hm-digital-banner-reader__button--stacked {
	display: none;
}

.hm-digital-banner-reader .hm-digital-button:hover,
.hm-digital-banner-reader .hm-digital-button:focus {
	background: var(--hm-digital-ink);
	color: #fff;
}

.hm-digital-banner-reader__frame iframe {
	border: 0;
	bottom: 0;
	height: 100%;
	left: 0;
	position: absolute;
	right: 0;
	top: 0;
	width: 100%;
}

.hm-digital-banner-reader--modal {
	grid-template-columns: minmax(250px, 650px) minmax(280px, 420px);
}

.hm-digital-banner-reader__modal-trigger {
	align-items: center;
	background: #292929;
	border: 0;
	cursor: pointer;
	display: flex;
	height: 270px;
	justify-content: center;
	line-height: 0;
	padding: 1rem;
	position: relative;
	text-decoration: none;
	width: 100%;
}

.hm-digital-banner-reader__modal-trigger::after {
	background: rgba(0, 0, 0, 0.14);
	content: "";
	inset: 0;
	opacity: 0;
	position: absolute;
	transition: opacity 180ms ease;
}

.hm-digital-banner-reader__modal-trigger:hover::after,
.hm-digital-banner-reader__modal-trigger:focus-visible::after {
	opacity: 1;
}

.hm-digital-banner-reader__modal-trigger:focus-visible {
	outline: 3px solid var(--hm-digital-cyan);
	outline-offset: 3px;
}

.hm-digital-banner-reader__modal-cover {
	box-shadow: -10px 12px 24px rgba(0, 0, 0, 0.35);
	display: block;
	height: 238px;
	max-width: 72%;
	object-fit: cover;
	width: auto;
}

.hm-digital-banner-reader__modal-prompt {
	align-items: center;
	background: var(--hm-digital-cyan);
	bottom: 1rem;
	color: #071318;
	display: inline-flex;
	font-size: 0.72rem;
	font-weight: 800;
	gap: 0.45rem;
	letter-spacing: 0.08em;
	line-height: 1;
	padding: 0.65rem 0.8rem;
	position: absolute;
	right: 1rem;
	text-transform: uppercase;
	z-index: 1;
}

.hm-digital-banner-reader__modal-prompt svg {
	fill: currentColor;
	height: 1rem;
	width: 1rem;
}

.hm-digital-reader-modal {
	background: #111;
	border: 0;
	color: #fff;
	max-height: calc(100dvh - 2rem);
	max-width: 1200px;
	padding: 0;
	width: calc(100vw - 2rem);
}

.hm-digital-reader-modal::backdrop {
	background: rgba(4, 11, 14, 0.82);
}

.hm-digital-reader-modal__panel {
	display: grid;
	grid-template-rows: auto minmax(0, 1fr);
	height: min(860px, calc(100dvh - 2rem));
	position: relative;
}

dialog.hm-digital-reader-modal .hm-digital-reader-modal__header {
	align-items: center;
	background: #111 !important;
	display: flex;
	gap: 1rem;
	justify-content: space-between;
	margin: 0 !important;
	padding: 0.85rem 1rem 0.85rem 1.25rem !important;
}

dialog.hm-digital-reader-modal .hm-digital-reader-modal__header h2,
.entry-content dialog.hm-digital-reader-modal .hm-digital-reader-modal__header h2 {
	border-bottom: 0 !important;
	color: #fff;
	font-family: "Source Serif 4", Georgia, "Times New Roman", serif;
	font-size: clamp(1rem, 2vw, 1.35rem);
	line-height: 1.15;
	margin: 0 !important;
	padding: 0 !important;
}

.hm-digital-reader-modal__close {
	align-items: center;
	background: transparent;
	border: 1px solid rgba(255, 255, 255, 0.4);
	color: #fff;
	cursor: pointer;
	display: inline-flex;
	height: 2.5rem;
	justify-content: center;
	padding: 0;
	width: 2.5rem;
}

.hm-digital-reader-modal__close:hover,
.hm-digital-reader-modal__close:focus-visible {
	background: var(--hm-digital-cyan);
	border-color: var(--hm-digital-cyan);
	color: #071318;
}

.hm-digital-reader-modal__close:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
}

.hm-digital-reader-modal__close svg {
	fill: none;
	height: 1.2rem;
	stroke: currentColor;
	stroke-width: 2;
	width: 1.2rem;
}

.hm-digital-reader-modal__frame {
	background: #292929;
	min-height: 0;
	position: relative;
}

.hm-digital-reader-modal__frame iframe {
	border: 0;
	height: 100%;
	inset: 0;
	position: absolute;
	width: 100%;
}

.hm-digital-reader-modal__loading {
	align-items: center;
	background: #292929;
	color: #fff;
	display: flex;
	flex-direction: column;
	font-size: 0.9rem;
	gap: 0.75rem;
	inset: 3.95rem 0 0;
	justify-content: center;
	position: absolute;
	z-index: 2;
}

.hm-digital-reader-modal__loading a {
	color: var(--hm-digital-cyan);
	font-weight: 700;
	text-underline-offset: 0.2em;
}

.hm-digital-reader-modal.is-loaded .hm-digital-reader-modal__loading {
	display: none;
}

.hm-digital-cover-placeholder {
	align-items: center;
	background: linear-gradient(160deg, #123c49 0%, #071318 70%);
	color: #fff;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	line-height: 1.05;
	padding: 12% 9%;
	text-align: center;
}

.hm-digital-cover-placeholder > span {
	font-size: clamp(1.4rem, 4vw, 2.8rem);
	font-weight: 800;
	letter-spacing: 0.08em;
}

.hm-digital-cover-placeholder > strong {
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(1.1rem, 2.4vw, 2rem);
}

.hm-digital-reader__header,
.hm-digital-grid-section__header {
	border-bottom: 3px solid var(--hm-digital-ink);
	margin-bottom: 1.75rem;
	padding-bottom: 1rem;
}

.hm-digital-reader__header h2,
.hm-digital-grid-section__header h2,
.entry-content .hm-digital-reader__header h2,
.entry-content .hm-digital-grid-section__header h2 {
	color: var(--hm-digital-ink);
	font-family: "Source Serif 4", Georgia, "Times New Roman", serif;
	font-size: clamp(2rem, 4vw, 3.5rem);
	line-height: 1;
	margin: 0;
}

.hm-digital-reader__frame {
	background: #292929;
	height: 0;
	padding-top: max(60%, 326px);
	position: relative;
	width: 100%;
}

.hm-digital-reader__frame iframe {
	border: 0;
	bottom: 0;
	height: 100%;
	left: 0;
	position: absolute;
	right: 0;
	top: 0;
	width: 100%;
}

.hm-digital-reader__fallback {
	font-size: 0.8rem;
	margin: 0.65rem 0 0;
	text-align: right;
}

.hm-digital-reader__fallback a {
	color: #4b4b4b;
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

.hm-digital-grid {
	display: grid;
	gap: clamp(1.5rem, 3vw, 3rem);
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hm-digital-grid--2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hm-digital-grid--3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hm-digital-card {
	min-width: 0;
}

.hm-digital-card__cover-link {
	background: var(--hm-digital-paper);
	box-shadow: 0 16px 30px rgba(17, 17, 17, 0.12);
	display: block;
	line-height: 0;
	overflow: hidden;
	position: relative;
	transition: box-shadow 220ms ease, transform 220ms ease;
}

.hm-digital-card__cover-link::after {
	border: 1px solid rgba(255, 255, 255, 0.5);
	bottom: 8px;
	content: "";
	left: 8px;
	opacity: 0;
	pointer-events: none;
	position: absolute;
	right: 8px;
	top: 8px;
	transition: opacity 220ms ease;
}

.hm-digital-card__cover-link:hover,
.hm-digital-card__cover-link:focus {
	box-shadow: 0 24px 42px rgba(17, 17, 17, 0.2);
	transform: translateY(-6px);
}

.hm-digital-card__cover-link:hover::after,
.hm-digital-card__cover-link:focus::after {
	opacity: 1;
}

.hm-digital-card__cover {
	aspect-ratio: 8.5 / 11;
	display: block;
	height: auto;
	object-fit: cover;
	transition: transform 350ms ease;
	width: 100%;
}

.hm-digital-card__cover-link:hover .hm-digital-card__cover,
.hm-digital-card__cover-link:focus .hm-digital-card__cover {
	transform: scale(1.018);
}

.hm-digital-card__body {
	border-top: 3px solid var(--hm-digital-ink);
	margin-top: 1rem;
	padding-top: 0.85rem;
}

.hm-digital-card__date {
	color: #5a5a5a;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	margin: 0 0 0.4rem;
	text-transform: uppercase;
}

.hm-digital-card__title,
.entry-content .hm-digital-card .hm-digital-card__title {
	color: var(--hm-digital-ink);
	font-family: "Source Serif 4", Georgia, "Times New Roman", serif;
	font-size: clamp(1.2rem, 2vw, 1.65rem);
	line-height: 1.15;
	margin: 0;
}

.hm-digital-card__title a {
	color: var(--hm-digital-ink);
	text-decoration: none;
}

.hm-digital-card__title a:hover,
.hm-digital-card__title a:focus {
	color: #007e98;
}

.hm-digital-issues-notice {
	background: #fff8e5;
	border-left: 4px solid #dba617;
	color: #3c2f0e;
	padding: 0.8rem 1rem;
}

@media (max-width: 860px) {
	.hm-digital-banner {
		grid-template-columns: minmax(0, 1fr) minmax(150px, 32%);
		min-height: 320px;
		padding: 2rem;
	}

	.hm-digital-grid,
	.hm-digital-grid--3,
	.hm-digital-grid--4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 800px) {
	.hm-digital-banner-reader {
		display: flex;
		flex-direction: column;
		gap: 1.5rem;
		padding: 1.5rem;
	}

	.hm-digital-banner-reader__content,
	.hm-digital-banner-reader__media {
		width: 100%;
	}

	.hm-digital-banner-reader__button--inline {
		display: none;
	}

	.hm-digital-banner-reader .hm-digital-banner-reader__button--stacked {
		align-self: center;
		display: inline-flex;
		margin: 0 auto;
	}

	.hm-digital-banner-reader__media {
		align-self: center;
		margin-inline: auto;
	}
}

@media (max-width: 560px) {
	.hm-digital-banner {
		display: flex;
		flex-direction: column-reverse;
		padding: 1.5rem;
	}

	.hm-digital-banner__content {
		padding: 2.5rem 0 0;
		width: 100%;
	}

	.hm-digital-banner__cover-link {
		align-self: center;
		justify-self: auto;
		max-width: 190px;
		transform: rotate(1.5deg);
		width: 58%;
	}

	.hm-digital-banner__cover-link:hover,
	.hm-digital-banner__cover-link:focus {
		transform: rotate(0) translateY(-2px);
	}

	.hm-digital-banner-reader__title,
	.entry-content .hm-digital-banner-reader .hm-digital-banner-reader__title {
		font-size: clamp(1.5rem, 7vw, 1.75rem);
	}

	.hm-digital-banner-reader__modal-trigger {
		height: 250px;
	}

	.hm-digital-banner-reader__modal-cover {
		height: 218px;
	}

	.hm-digital-reader-modal {
		max-height: 100dvh;
		width: 100vw;
	}

	.hm-digital-reader-modal__panel {
		height: 100dvh;
	}

	.hm-digital-reader__frame {
		padding-top: max(60%, 326px);
	}

	.hm-digital-grid,
	.hm-digital-grid--2,
	.hm-digital-grid--3,
	.hm-digital-grid--4 {
		gap: 1.75rem 1rem;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 1199px) {
	.hm-digital-banner-reader__description {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.hm-digital-button,
	.hm-digital-banner__cover-link,
	.hm-digital-card__cover-link,
	.hm-digital-card__cover {
		transition: none;
	}
}
