.elysense-status {
	margin-block: 1em;
}

.elysense-home {
	--elysense-paper: #fbfaf7;
	--elysense-wash: #f2eee8;
	--elysense-border: #ded8d0;
	--elysense-ink: #211e1c;
	--elysense-muted: #6c645f;
	--elysense-accent: #8b4f3f;
	color: var(--elysense-ink);
	font-family: inherit;
	margin: 0 0 4rem;
	max-width: 100%;
	overflow-wrap: anywhere;
}

.elysense-home__hero {
	background: #f5efe7;
	display: grid;
	grid-template-columns: minmax(0, 45fr) minmax(0, 55fr);
	min-height: clamp(30rem, 38vw, 35rem);
}

.elysense-home__hero-content {
	align-self: center;
	padding: clamp(3rem, 5vw, 5.5rem);
}

.elysense-home__hero:not(.has-image) { grid-template-columns: minmax(0, 1fr); }
.elysense-home__hero:not(.has-image) .elysense-home__hero-content { max-width: 48rem; }

.elysense-home__hero-media {
	align-items: center;
	background: #e9dfd4;
	display: flex;
	justify-content: center;
	margin: 0;
	min-width: 0;
	overflow: hidden;
}

.elysense-home__hero-image {
	display: block;
	height: 100%;
	max-height: 35rem;
	object-fit: contain;
	width: 100%;
}

.elysense-home__eyebrow {
	color: var(--elysense-accent);
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .15em;
	margin: 0 0 .8rem;
	text-transform: uppercase;
}

.elysense-home__hero h1 {
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(2.75rem, 5vw, 4.6rem);
	font-weight: 400;
	letter-spacing: -.035em;
	line-height: 1.03;
	margin: 0;
	max-width: 14ch;
}

.elysense-home__hero-content > p:not(.elysense-home__eyebrow) {
	font-size: clamp(1.05rem, 1.7vw, 1.25rem);
	line-height: 1.65;
	margin: 1.35rem 0 1.75rem;
	max-width: 35rem;
}

.elysense-home__button {
	background: var(--elysense-ink);
	border: 1px solid var(--elysense-ink);
	color: #fff;
	display: inline-block;
	font-size: .82rem;
	font-weight: 700;
	letter-spacing: .06em;
	padding: .9rem 1.35rem;
	text-decoration: none;
	text-transform: uppercase;
}

.elysense-home__button:hover { background: var(--elysense-accent); border-color: var(--elysense-accent); color: #fff; }

.elysense-home__section {
	border-bottom: 1px solid var(--elysense-border);
	padding: clamp(3.75rem, 7vw, 6rem) 0;
}

.elysense-home__section-header { margin-bottom: clamp(1.75rem, 3vw, 2.75rem); }

.elysense-home__section-header--linked {
	align-items: end;
	display: flex;
	gap: 1.5rem;
	justify-content: space-between;
}

.elysense-home__section-header h2,
.elysense-home__about h2 {
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(2rem, 4vw, 3.4rem);
	font-weight: 400;
	letter-spacing: -.025em;
	line-height: 1.08;
	margin: 0;
}

.elysense-home__topics {
	display: grid;
	gap: clamp(1rem, 2vw, 1.5rem);
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.elysense-home__topic {
	background: var(--elysense-paper);
	border: 1px solid var(--elysense-border);
	color: var(--elysense-ink);
	display: flex;
	flex-direction: column;
	min-height: 14.5rem;
	padding: clamp(1.35rem, 3vw, 2rem);
	text-decoration: none;
}

.elysense-home__topic:hover { border-color: var(--elysense-accent); color: var(--elysense-accent); }
.elysense-home__topic h3 { font-family: Georgia, "Times New Roman", serif; font-size: 1.5rem; font-weight: 400; line-height: 1.2; margin: 0 0 .75rem; }
.elysense-home__topic p { color: var(--elysense-muted); line-height: 1.6; margin: 0 0 1rem; }
.elysense-home__topic > span { color: var(--elysense-accent); font-size: .75rem; font-weight: 700; letter-spacing: .06em; margin-top: auto; text-transform: uppercase; }

.elysense-home__articles {
	display: grid;
	gap: clamp(1.5rem, 3vw, 2.5rem);
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.elysense-home__section--latest {
	background: var(--elysense-paper);
	margin-inline: calc(50% - 50vw);
	padding-inline: max(1.25rem, calc((100vw - 1200px) / 2));
}

.elysense-home__text-link {
	border-bottom: 1px solid currentColor;
	color: var(--elysense-ink);
	flex: 0 0 auto;
	font-size: .78rem;
	font-weight: 700;
	letter-spacing: .06em;
	padding-bottom: .2rem;
	text-decoration: none;
	text-transform: uppercase;
}

.elysense-home__text-link:hover { color: var(--elysense-accent); }
.elysense-home a:focus-visible { outline: 3px solid var(--elysense-accent); outline-offset: 3px; }

.elysense-home__about {
	margin: 0 auto;
	max-width: 52rem;
	padding: clamp(4rem, 8vw, 7rem) 1.25rem;
	text-align: center;
}

.elysense-home__about > p:not(.elysense-home__eyebrow) { color: var(--elysense-muted); font-size: 1.08rem; line-height: 1.7; margin: 1.25rem auto 1.5rem; max-width: 42rem; }

.elysense-article-index {
	--elysense-paper: #fbfaf7;
	--elysense-wash: #f2eee8;
	--elysense-border: #ded8d0;
	--elysense-ink: #211e1c;
	--elysense-muted: #6c645f;
	--elysense-accent: #8b4f3f;
	color: var(--elysense-ink);
	font-family: inherit;
	margin-block: 0 4rem;
	max-width: 100%;
	overflow-wrap: anywhere;
}

.elysense-article-index__hero {
	background: var(--elysense-paper);
	border-bottom: 1px solid var(--elysense-border);
	display: flex;
	flex-direction: column;
	justify-content: center;
	margin-bottom: 0;
	min-height: clamp(17rem, 30vw, 24rem);
	padding: clamp(2.75rem, 5vw, 4.5rem) clamp(1.25rem, 6vw, 6rem);
}

.elysense-article-index__hero-eyebrow,
.elysense-article-index__eyebrow {
	color: var(--elysense-accent);
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .15em;
	margin: 0 0 .8rem;
	text-transform: uppercase;
}

.elysense-article-index__hero h1 {
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: clamp(3.5rem, 5vw, 4.5rem);
	font-weight: 500;
	letter-spacing: -.035em;
	line-height: 1.06;
	margin: 0;
	max-width: 23ch;
}

.elysense-article-index__hero-intro {
	color: var(--elysense-muted);
	font-size: clamp(1.05rem, 2vw, 1.3rem);
	line-height: 1.65;
	margin: 1.35rem 0 0;
	max-width: 43rem;
}

.elysense-article-index__categories {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: .6rem;
	margin: 0;
	padding: 1.25rem 0 2.25rem;
}

.elysense-article-index__categories-label {
	color: var(--elysense-muted);
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .12em;
	margin-right: .5rem;
	text-transform: uppercase;
}

.elysense-article-index__category {
	border: 1px solid var(--elysense-border);
	border-radius: 999px;
	color: var(--elysense-ink);
	font-size: .88rem;
	font-weight: 600;
	padding: .65rem 1.05rem;
	text-decoration: none;
	transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.elysense-article-index__category:hover,
.elysense-article-index__category.is-active {
	background: var(--elysense-ink);
	border-color: var(--elysense-ink);
	color: #fff;
}

.elysense-article-index a:focus-visible {
	outline: 3px solid var(--elysense-accent);
	outline-offset: 3px;
}

.elysense-article-index__section {
	border-top: 1px solid var(--elysense-border);
	padding-block: clamp(3.75rem, 7vw, 6.5rem);
}

.elysense-article-index__section:first-of-type {
	padding-top: clamp(3.75rem, 7vw, 6.5rem);
}

.elysense-article-index__section-header {
	align-items: end;
	display: flex;
	gap: 1.5rem;
	justify-content: space-between;
	margin-bottom: clamp(1.75rem, 3vw, 2.75rem);
}

.elysense-article-index__section-header h2 {
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(2rem, 4vw, 3.4rem);
	font-weight: 400;
	letter-spacing: -.025em;
	line-height: 1.05;
	margin: 0;
}

.elysense-article-index__view-all {
	border-bottom: 1px solid currentColor;
	color: var(--elysense-ink);
	flex: 0 0 auto;
	font-size: .82rem;
	font-weight: 700;
	letter-spacing: .06em;
	padding-bottom: .25rem;
	text-decoration: none;
	text-transform: uppercase;
}

.elysense-article-index__view-all:hover {
	color: var(--elysense-accent);
}

.elysense-article-index__grid {
	display: grid;
	gap: clamp(1.5rem, 3vw, 2.5rem);
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.elysense-article-card {
	background: transparent;
	display: flex;
	flex-direction: column;
	margin: 0;
	min-width: 0;
}

.elysense-article-card__image-link,
.elysense-article-card__image-placeholder {
	background: var(--elysense-wash);
	display: block;
}

.elysense-article-card__image-placeholder {
	aspect-ratio: 4 / 3;
	display: block;
	width: 100%;
}

.elysense-article-card__image {
	display: block;
	height: auto;
	object-fit: contain;
	width: 100%;
}

.elysense-article-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 1.3rem .15rem 0;
}

.elysense-article-card__category {
	color: var(--elysense-accent);
	font-size: .7rem;
	font-weight: 700;
	letter-spacing: .12em;
	margin: 0 0 .65rem;
	text-transform: uppercase;
}

.elysense-article-card__title {
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(1.35rem, 2vw, 1.7rem);
	font-weight: 400;
	letter-spacing: -.015em;
	line-height: 1.22;
	margin: 0 0 .8rem;
}

.elysense-article-card__title a {
	color: inherit;
	text-decoration: none;
}

.elysense-article-card__title a:hover {
	color: var(--elysense-accent);
}

.elysense-article-card__excerpt {
	color: var(--elysense-muted);
	font-size: .95rem;
	line-height: 1.65;
	margin: 0 0 1.15rem;
}

.elysense-article-card__more {
	color: var(--elysense-ink);
	font-size: .78rem;
	font-weight: 700;
	letter-spacing: .06em;
	margin-top: auto;
	text-decoration: none;
	text-transform: uppercase;
}

.elysense-article-card__more:hover {
	color: var(--elysense-accent);
}

.elysense-article-index__section--library {
	background: var(--elysense-paper);
	margin-inline: calc(50% - 50vw);
	padding-inline: max(1.25rem, calc((100vw - 1200px) / 2));
}

.elysense-article-index__pagination {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem;
	justify-content: center;
	margin-top: 3.5rem;
}

.elysense-article-index__pagination .page-numbers {
	border: 1px solid var(--elysense-border);
	color: var(--elysense-ink);
	min-width: 2.65rem;
	padding: .65rem .8rem;
	text-align: center;
	text-decoration: none;
}

.elysense-article-index__pagination .current {
	background: var(--elysense-ink);
	color: #fff;
}

.elysense-article-index__empty {
	border: 1px solid var(--elysense-border);
	padding: 1.5rem;
}

@media (max-width: 900px) {
	.elysense-home__hero-content { padding: 3rem; }
	.elysense-home__topics,
	.elysense-home__articles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.elysense-article-index__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.elysense-article-index__grid .elysense-article-card:last-child:nth-child(odd) { max-width: calc(50% - .75rem); }
}

@media (max-width: 600px) {
	.elysense-home { margin-bottom: 2rem; }
	.elysense-home__hero { display: flex; flex-direction: column; min-height: 0; }
	.elysense-home__hero-content { padding: 2.5rem 1.25rem; width: 100%; }
	.elysense-home__hero-media { width: 100%; }
	.elysense-home__hero-image { height: auto; max-height: none; object-fit: contain; }
	.elysense-home__hero h1 { font-size: clamp(2.35rem, 11vw, 3.2rem); }
	.elysense-home__hero-content > p:not(.elysense-home__eyebrow) { line-height: 1.5; margin-block: 1rem 1.35rem; }
	.elysense-home__section { padding-block: 3.25rem; }
	.elysense-home__section-header--linked { align-items: start; flex-direction: column; }
	.elysense-home__section-header h2,
	.elysense-home__about h2 { font-size: 2.2rem; }
	.elysense-home__topics,
	.elysense-home__articles { grid-template-columns: minmax(0, 1fr); }
	.elysense-home__topic { min-height: 11rem; }
	.elysense-home__about { padding-block: 3.75rem; }
	.elysense-article-index__hero { min-height: 0; padding: 2.75rem 1.25rem 3rem; }
	.elysense-article-index__hero h1 { font-size: clamp(2.4rem, 11vw, 3.25rem); max-width: 18ch; }
	.elysense-article-index__categories { gap: .5rem; padding-bottom: 1.5rem; }
	.elysense-article-index__categories-label { flex-basis: 100%; margin-bottom: .35rem; }
	.elysense-article-index__category { padding: .58rem .85rem; }
	.elysense-article-index__grid { grid-template-columns: minmax(0, 1fr); }
	.elysense-article-index__grid .elysense-article-card:last-child:nth-child(odd) { max-width: none; }
	.elysense-article-index__section { padding-block: 3.5rem; }
	.elysense-article-index__section-header { align-items: end; }
	.elysense-article-index__section-header h2 { font-size: 2.2rem; }
	.elysense-article-card__excerpt { display: none; }
}
