/* LAH Newsletters — front end */
.lahn {
	--lahn-accent: #00665e;
	--lahn-accent-dark: #004b45;
	--lahn-tint: #eef5f4;
	--lahn-ink: #1c2422;
	--lahn-muted: #6b7673;
	--lahn-line: #dfe6e4;
	--lahn-radius: 6px;
	font-family: "Almarai", Helvetica, Arial, sans-serif;
	color: var(--lahn-ink);
	max-width: 1120px;
	margin-inline: auto;
}
.lahn *, .lahn *::before, .lahn *::after { box-sizing: border-box; }
.lahn a { text-decoration: none; }

/* Cover (true A4 proportion, never cropped sideways) */
.lahn-cover {
	display: block;
	position: relative;
	aspect-ratio: 1 / 1.414;
	background: #fff;
	border-radius: var(--lahn-radius);
	overflow: hidden;
	box-shadow: 0 1px 2px rgba(16, 40, 36, .08), 0 6px 18px rgba(16, 40, 36, .10);
	transition: transform .25s ease, box-shadow .25s ease;
}
.lahn-cover__img {
	display: block;
	width: 100% !important;
	height: 100% !important;
	object-fit: cover;
	object-position: top center;
}
.lahn-cover__ph {
	position: absolute; inset: 0;
	display: flex; align-items: center; justify-content: center;
	padding: 1.25rem; text-align: center;
	background: var(--lahn-accent); color: #fff; font-weight: 700;
}

/* Latest issue */
.lahn-hero {
	display: grid;
	grid-template-columns: minmax(200px, 340px) 1fr;
	gap: clamp(1.5rem, 4vw, 3.5rem);
	align-items: center;
	padding: clamp(1.5rem, 4vw, 3rem);
	background: var(--lahn-tint);
	border-radius: calc(var(--lahn-radius) * 2);
	margin-bottom: clamp(2.5rem, 6vw, 4.5rem);
}
.lahn-hero__cover { box-shadow: 0 2px 4px rgba(16, 40, 36, .08), 0 18px 40px rgba(16, 40, 36, .18); }
.lahn-hero__cover:hover { transform: translateY(-4px); }
.lahn-eyebrow {
	display: inline-block;
	font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
	color: var(--lahn-accent);
	padding: .35rem .7rem; border-radius: 99px;
	background: rgba(0, 102, 94, .1);
}
.lahn-hero__title { margin: .9rem 0 .35rem; font-size: clamp(1.6rem, 3.2vw, 2.4rem); line-height: 1.2; font-weight: 700; }
.lahn-hero__title a { color: var(--lahn-ink); }
.lahn-hero__title a:hover { color: var(--lahn-accent); }
.lahn-hero__date { margin: 0 0 1.6rem; color: var(--lahn-muted); font-size: 1.05rem; }

.lahn-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.lahn-btn {
	display: inline-flex; align-items: center; justify-content: center;
	min-height: 46px; padding: .7rem 1.4rem;
	border-radius: 99px; font-weight: 700; font-size: .95rem; line-height: 1;
	border: 2px solid var(--lahn-accent);
	transition: background .2s, color .2s, border-color .2s;
}
.lahn .lahn-btn--solid, .lahn-single .lahn-btn--solid { background: var(--lahn-accent); color: #fff; }
.lahn .lahn-btn--solid:hover, .lahn-single .lahn-btn--solid:hover { background: var(--lahn-accent-dark); border-color: var(--lahn-accent-dark); color: #fff; }
.lahn .lahn-btn--ghost { background: transparent; color: var(--lahn-accent); }
.lahn .lahn-btn--ghost:hover { background: var(--lahn-accent); color: #fff; }

/* Archive */
.lahn-archive__head {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
	gap: 1rem; margin-bottom: 1.5rem;
}
.lahn-archive__title { margin: 0; font-size: clamp(1.3rem, 2.4vw, 1.7rem); font-weight: 700; color: var(--lahn-ink); }
.lahn-filter { display: flex; flex-wrap: wrap; gap: .4rem; }
.lahn-filter button {
	appearance: none; cursor: pointer;
	font: inherit; font-size: .88rem; font-weight: 700;
	padding: .45rem .95rem; border-radius: 99px;
	border: 1px solid var(--lahn-line); background: #fff; color: var(--lahn-muted);
	transition: all .2s;
}
.lahn-filter button:hover { border-color: var(--lahn-accent); color: var(--lahn-accent); }
.lahn-filter button.is-active { background: var(--lahn-accent); border-color: var(--lahn-accent); color: #fff; }

/* theme overrides */
.lahn { text-align: start; }
.lahn ul.lahn-grid, .lahn ul.lahn-grid > li { list-style: none !important; margin: 0; padding: 0; }
.lahn ul.lahn-grid > li::before, .lahn ul.lahn-grid > li::marker { content: none !important; display: none !important; }
.lahn-card[hidden] { display: none; }

.lahn-grid {
	list-style: none; margin: 0; padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
	gap: 2.25rem 1.75rem;
}
.lahn-card { margin: 0; padding: 0; }
.lahn-card a { display: block; color: inherit; }
.lahn-card a:hover .lahn-cover,
.lahn-card a:focus-visible .lahn-cover { transform: translateY(-5px); box-shadow: 0 2px 4px rgba(16, 40, 36, .08), 0 16px 32px rgba(16, 40, 36, .18); }
.lahn-card a:focus-visible { outline: none; }
.lahn-card a:focus-visible .lahn-cover { outline: 3px solid var(--lahn-accent); outline-offset: 3px; }
.lahn-card__title { display: block; margin-top: 1rem; font-weight: 700; font-size: 1rem; line-height: 1.35; color: var(--lahn-ink); }
.lahn-card a:hover .lahn-card__title { color: var(--lahn-accent); }
.lahn-card__date { display: block; margin-top: .25rem; font-size: .88rem; color: var(--lahn-muted); }

@media (max-width: 760px) {
	.lahn-hero { grid-template-columns: 1fr; text-align: center; }
	.lahn-hero__cover { width: min(70%, 280px); margin-inline: auto; }
	.lahn-actions { justify-content: center; }
	.lahn-grid { grid-template-columns: repeat(2, 1fr); gap: 1.75rem 1rem; }
	.lahn-card__title { font-size: .92rem; }
}
@media (prefers-reduced-motion: reduce) {
	.lahn-cover, .lahn-btn { transition: none; }
}

/* Single newsletter */
.lahn-single { --lahn-accent: #00665e; --lahn-accent-dark: #004b45; --lahn-line: #dfe6e4; font-family: "Almarai", Helvetica, Arial, sans-serif; }
.lahn-single__bar {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
	padding-bottom: 1.25rem; margin-bottom: 1.5rem; border-bottom: 1px solid var(--lahn-line);
}
.lahn-single__date { color: #6b7673; font-size: 1.05rem; }
.lahn-single .lahn-btn { text-decoration: none; }
.lahn-single__frame { width: 100%; height: 85vh; border: 0; border-radius: 6px; }
.lahn-pager {
	display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem;
	margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--lahn-line);
}
.lahn-pager a { text-decoration: none; color: #1c2422; font-weight: 700; }
.lahn-pager a:hover { color: var(--lahn-accent); }
.lahn-pager small { display: block; font-weight: 400; color: #6b7673; font-size: .8rem; margin-bottom: .2rem; }
.lahn-pager__next { text-align: end; }
.lahn-pager__all { padding: .5rem 1rem; border: 1px solid var(--lahn-line); border-radius: 99px; font-size: .9rem; }
@media (max-width: 600px) {
	.lahn-pager { grid-template-columns: 1fr 1fr; }
	.lahn-pager__all { grid-column: 1 / -1; grid-row: 2; justify-self: center; }
}
