/* ============================================================
   HERO STREAM
   ============================================================ */
.hero-stream {
	padding-top: 28px;
}

.hero-stream__grid {
	display: grid;
	grid-template-columns: minmax(0, 2.6fr) minmax(0, 1fr);
	gap: 48px;
	align-items: start;
}

.hero-stream__carousel {
	position: relative;
}

/* Track: scroll-snap container, chaque slide fait 100% de la largeur */
.hero-stream__track {
	display: flex;
	overflow-x: scroll;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
	aspect-ratio: 2 / 1;
	background: var(--ephemera-surface-strong);
}

.hero-stream__track::-webkit-scrollbar {
	display: none;
}

.hero-slide {
	flex: 0 0 100%;
	scroll-snap-align: start;
}

.hero-slide__link {
	display: block;
	width: 100%;
	height: 100%;
}

.hero-slide__media {
	width: 100%;
	height: 100%;
}

.hero-slide__image,
.side-article__image,
.section-card__image,
.grid-card__image,
.article-page__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Caption row: ← [kicker / title / meta] → */
.hero-stream__caption {
	display: grid;
	grid-template-columns: 44px 1fr 44px;
	align-items: center;
	gap: 8px;
	padding-top: 18px;
}

.hero-stream__btn {
	background: none;
	border: none;
	padding: 0;
	cursor: pointer;
	color: var(--ephemera-text);
	font-size: 1.5rem;
	line-height: 1;
	display: flex;
	align-items: center;
}

.hero-stream__btn--prev { justify-content: flex-start; }
.hero-stream__btn--next { justify-content: flex-end; }

.hero-stream__btn:hover {
	color: var(--ephemera-primary);
}

/* SVG-style thin arrows */
.hero-stream__btn svg {
	width: 22px;
	height: 22px;
	stroke: currentColor;
	stroke-width: 1.5;
	fill: none;
}

.hero-stream__caption-body {
	text-align: center;
}

.hero-stream__caption-link {
	display: block;
	color: inherit;
}

.hero-stream__caption-link:hover .hero-stream__caption-title {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.12em;
}

.hero-stream__caption-kicker {
	display: block;
	color: var(--ephemera-primary);
	font-family: "Roboto Flex", tahoma, sans-serif;
	font-size: 0.875rem;
	font-weight: 500;
	letter-spacing: 1px;
	line-height: 1.4;
	text-transform: uppercase;
	margin-bottom: 10px;
}

.hero-stream__caption-title {
	margin: 0;
	font-family: "Butler", Baskerville, Times, serif;
	font-size: 2.25rem;
	font-weight: 500;
	line-height: 120%;
	letter-spacing: 0.3px;
}

.hero-stream__caption-meta {
	margin-top: 10px;
	font-family: "Roboto Flex", tahoma, sans-serif;
	font-size: 0.875rem;
	font-weight: 400;
	line-height: 1.4;
	color: rgba(0, 0, 0, 0.65);
}

.hero-stream__dots-bar {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 8px;
	padding-top: 14px;
	padding-bottom: 28px;
}

.hero-stream__dot {
	width: 8px;
	height: 8px;
	padding: 0;
	border: none;
	border-radius: 999px;
	background: rgba(0, 0, 0, 0.18);
	cursor: pointer;
}

.hero-stream__dot.is-active {
	background: var(--ephemera-primary);
}

/* ---- Sidebar "THIS JUST IN" ---- */
.hero-stream__sidebar-title {
	margin: 0 0 0;
	padding-bottom: 12px;
	border-bottom: 2px solid var(--ephemera-primary);
	color: var(--ephemera-text);
	font-family: "Roboto Flex", tahoma, sans-serif;
	font-size: 1.25rem;
	font-weight: 400;
	letter-spacing: 2px;
	line-height: 1.6;
	text-transform: uppercase;
}

.hero-stream__sidebar-list {
	display: grid;
	gap: 0;
}

.side-article {
	border-top: 1px solid var(--ephemera-border);
	padding: 1.2rem 0;
}

.side-article:first-child {
	padding-top: 1rem;
	border-top: none;
}

.side-article:last-child {
	padding-bottom: 0;
}

.side-article__link {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 90px;
	gap: 16px;
	align-items: start;
}

.side-article__media {
	order: 2;
	aspect-ratio: 1;
	overflow: hidden;
}

.side-article__content {
	padding: 0;
}

.side-article__kicker {
	display: block;
	color: var(--ephemera-primary);
	font-family: "Roboto Flex", tahoma, sans-serif;
	font-size: 0.875rem;
	font-weight: 500;
	letter-spacing: 1px;
	text-transform: uppercase;
	margin-bottom: 4px;
}

.side-article__title {
	margin: 0 0 6px;
	font-family: "Roboto Flex", tahoma, sans-serif;
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.5;
	letter-spacing: normal;
}

.side-article__meta {
	margin-top: 4px;
}

.side-article__link:hover .side-article__title {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.1em;
}

/* ============================================================
   SECTION THREE ("FROM THE HOTEL DESK" style)
   ============================================================ */
.section-three {
	padding: 56px 0 0;
	/* 56px padding + 122px heading + (414px image / 2) = 385px = milieu image centrale */
	background: linear-gradient(to bottom, var(--ephemera-cream) 385px, #ffffff 385px);
}

.section-three__heading {
	display: flex;
	align-items: baseline;
	gap: 0.5rem;
	padding: 0 0 1.5rem;
	border-bottom: 2px solid var(--ephemera-text);
	margin-bottom: 2rem;
}

.section-three__title-link {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	color: var(--ephemera-text);
}

.section-three__title-link:hover .section-three__title {
	color: var(--ephemera-primary);
}

.section-three__title {
	margin: 0;
	font-family: "Roboto Flex", tahoma, sans-serif;
	font-size: 3.625rem;
	font-weight: 500;
	letter-spacing: 5px;
	line-height: 1.1;
	text-transform: uppercase;
}

.section-three__title-icon {
	display: inline-block;
	width: 42px;
	height: 22px;
	flex-shrink: 0;
	color: var(--ephemera-primary);
}

.section-three__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.8fr) minmax(0, 1fr);
	gap: 2rem;
	align-items: start;
	padding-bottom: 3rem;
}

/* Décalage T+L exact : margin-top 52px sur les cartes latérales */
.section-card:not(.section-card--featured) {
	margin-top: 52px;
}

.section-card__link,
.grid-card__link {
	display: block;
	height: 100%;
}

.section-card__media {
	aspect-ratio: 3 / 2;
	overflow: hidden;
	background: var(--ephemera-surface-strong);
}


.section-card__content {
	padding: 0.85rem 0 1.5rem;
}

.section-card__kicker {
	display: block;
	color: var(--ephemera-primary);
	font-family: "Roboto Flex", tahoma, sans-serif;
	font-size: 0.875rem;
	font-weight: 500;
	letter-spacing: 1px;
	line-height: 1.4;
	text-transform: uppercase;
	margin-bottom: 6px;
}

.section-card__title {
	margin: 0 0 8px;
	font-family: "Butler", Baskerville, Times, serif;
	font-size: 1.5rem;
	font-weight: 400;
	line-height: 1.35;
	letter-spacing: 0.3px;
}

.section-card__meta {
	margin-top: 8px;
}

.section-card__link:hover .section-card__title,
.grid-card__link:hover .grid-card__title {
	text-decoration-line: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.12em;
	text-decoration-skip-ink: auto;
}

/* ============================================================
   ARCHIVE GRID
   ============================================================ */
.archive-grid {
	padding-top: 0;
}

.archive-grid__cards {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 28px 24px;
}

.grid-card {
	background: transparent;
	box-shadow: none;
}

.grid-card__media {
	aspect-ratio: 3 / 2;
	background: var(--ephemera-surface-strong);
	overflow: hidden;
}

.grid-card__content {
	padding: 0.85rem 0 0;
}

.grid-card__kicker {
	display: block;
	color: var(--ephemera-primary);
	font-family: "Roboto Flex", tahoma, sans-serif;
	font-size: 0.875rem;
	font-weight: 500;
	letter-spacing: 1px;
	line-height: 1.4;
	text-transform: uppercase;
	margin-bottom: 5px;
}

.grid-card__title {
	margin: 0 0 6px;
	font-family: "Butler", Baskerville, Times, serif;
	font-size: 1.125rem;
	font-weight: 400;
	line-height: 1.4;
	letter-spacing: 0.3px;
}

.grid-card__excerpt {
	margin: 6px 0 0;
	color: var(--ephemera-text-soft);
	font-size: 0.9rem;
	line-height: 1.45;
}

.grid-card__meta {
	margin-top: 8px;
}

/* ============================================================
   PAGE 404
   ============================================================ */
.error-404__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px 24px;
}

@media (max-width: 720px) {
	.error-404__grid {
		grid-template-columns: 1fr;
	}
}

/* ============================================================
   PAGINATION (paliers)
   ============================================================ */
.pagination {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 6px;
	padding-top: 40px;
}

.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 10px;
	border: 1px solid var(--ephemera-border);
	background: var(--ephemera-surface);
	font-size: 0.88rem;
	font-weight: 700;
}

.pagination .current {
	background: var(--ephemera-primary);
	border-color: var(--ephemera-primary);
	color: #fff;
}

.pagination .dots {
	border: none;
	background: transparent;
}

.pagination .prev,
.pagination .next {
	font-size: 1rem;
}

/* ============================================================
   NOS AUTRES CATÉGORIES (gold border box)
   ============================================================ */
.other-categories {
	padding-top: 70px;
	padding-bottom: 20px;
}

.other-categories__box {
	position: relative;
	border: 1px solid var(--ephemera-gold);
	padding: 28px 32px 28px;
}

.other-categories__label {
	position: absolute;
	top: -0.7em;
	left: 50%;
	transform: translateX(-50%);
	background: var(--ephemera-bg);
	padding: 0 16px;
	color: var(--ephemera-text);
	font-family: "Roboto Condensed", Tahoma, sans-serif;
	font-size: 0.88rem;
	font-weight: 700;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	white-space: nowrap;
}

.other-categories__list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0;
	row-gap: 10px;
}

.other-categories__link {
	color: var(--ephemera-text);
	font-family: "Roboto Condensed", Tahoma, sans-serif;
	font-size: 0.9rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	padding: 0 14px;
	border-right: none;
}

.other-categories__link:hover,
.other-categories__link.is-current {
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

.other-categories__sep {
	color: var(--ephemera-text-soft);
	padding: 0 2px;
	font-size: 0.5rem;
	line-height: 1;
	align-self: center;
}

/* ============================================================
   ARTICLE PAGE
   ============================================================ */
.article-page {
	padding-top: 2rem;
}

.article-page__header {
	max-width: 900px;
	padding-bottom: 2rem;
}

.article-page__kicker {
	display: inline-block;
	color: var(--ephemera-primary);
	font-family: "Roboto Condensed", Tahoma, sans-serif;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	margin-bottom: 10px;
}

.article-page__title {
	margin: 0 0 0.5rem;
	font-family: "Butler", Baskerville, Times, serif;
	font-size: clamp(2.5rem, 4vw, 4.2rem);
	font-weight: 400;
	line-height: 1.04;
	letter-spacing: -0.03em;
}

.article-page__excerpt {
	max-width: 54rem;
	margin: 0.75rem 0 1rem;
	color: rgba(0, 0, 0, 0.85);
	font-size: 1.1rem;
	line-height: 1.55;
}

.article-page__meta {
	font-size: 0.88rem;
	color: var(--ephemera-text-soft);
}

/* Layout: TOC left (sticky) + content right */
.article-page__layout {
	display: grid;
	grid-template-columns: minmax(200px, 260px) minmax(0, 1fr);
	gap: 48px;
	align-items: start;
}

.article-page__toc {
	position: sticky;
	top: 110px;
}

/* TOC box — gold border */
.toc-box {
	border: 1px solid var(--ephemera-gold);
	padding: 18px 20px 16px;
	background: var(--ephemera-bg);
}

.toc-box__title {
	margin: 0 0 12px;
	font-family: "Roboto Condensed", Tahoma, sans-serif;
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	line-height: 1.4;
	text-transform: uppercase;
	color: var(--ephemera-text);
}

.toc-box__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.toc-box__list li + li {
	margin-top: 10px;
}

.toc-box__list a {
	color: var(--ephemera-primary);
	font-size: 0.92rem;
	line-height: 1.4;
	text-decoration: none;
}

.toc-box__list a:hover {
	text-decoration: underline;
	text-underline-offset: 0.12em;
}

/* Article body */
.article-page__figure {
	margin: 0 0 1.4rem;
}

.article-page__image {
	aspect-ratio: 3 / 2;
	object-fit: cover;
}

.article-page__caption {
	margin-top: 0.45rem;
	color: rgba(0, 0, 0, 0.65);
	font-size: 0.8rem;
	line-height: 1.4;
}

.article-page__body {
	font-family: "Roboto Flex", tahoma, sans-serif;
	font-size: 1.08rem;
	line-height: 1.78;
}

.article-page__body h2,
.article-page__body h3 {
	font-family: "Butler", Baskerville, Times, serif;
	font-weight: 400;
}

.article-page__body h2 {
	margin-top: 2.4rem;
	margin-bottom: 0.8rem;
	font-size: clamp(1.9rem, 2.4vw, 2.6rem);
	line-height: 1.06;
}

.article-page__body h3 {
	margin-top: 1.8rem;
	margin-bottom: 0.6rem;
	font-size: 1.7rem;
	line-height: 1.1;
}

.article-page__body p,
.article-page__body ul,
.article-page__body ol {
	margin: 0 0 1.2rem;
}

.article-page__body a {
	color: var(--ephemera-primary);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.16em;
}

.article-page__body figure,
.article-page__body .wp-block-image {
	margin: 1.6rem 0;
}

.article-page__body .wp-block-image figcaption,
.article-page__body figure figcaption {
	margin-top: 0.45rem;
	color: rgba(0, 0, 0, 0.65);
	font-size: 0.8rem;
	line-height: 1.4;
}

.article-page__body blockquote {
	margin: 2rem 0;
	padding: 0 0 0 22px;
	border-left: 3px solid var(--ephemera-gold);
	font-family: "Butler", Baskerville, Times, serif;
	font-style: italic;
	font-size: 1.3rem;
	line-height: 1.5;
}

/* Articles liés */
.article-related {
	padding: 3rem 0 2rem;
	border-top: 2px solid var(--ephemera-text);
	margin-top: 3rem;
}

.article-related .section-heading {
	margin-bottom: 0;
	padding-bottom: 0;
	border-bottom: none;
}

.article-related .section-heading__title {
	font-size: clamp(1.4rem, 2vw, 1.8rem);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (min-width: 50em) {
	.hero-stream__caption-title {
		font-size: 2.25rem;
	}
}

@media (max-width: 1180px) {
	.hero-stream__grid,
	.article-page__layout {
		grid-template-columns: 1fr;
	}

	.article-page__toc {
		position: static;
	}
}

@media (max-width: 980px) {
	.archive-grid__cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.section-three__grid {
		grid-template-columns: 1fr 1fr;
		gap: 2rem;
	}
}

@media (max-width: 720px) {
	/* ---- Hero : section passe full-width, padding remis sur caption/sidebar ---- */
	.hero-stream.shell {
		width: 100%;
		max-width: 100%;
		margin-inline: 0;
	}

	.hero-stream__caption,
	.hero-stream__dots-bar {
		padding-inline: 14px;
	}

	.hero-stream__sidebar {
		padding-inline: 14px;
	}

	/* ---- Section-three : titres réduits (override la règle desktop 3.625rem) ---- */
	.section-three__title {
		font-size: clamp(1.3rem, 5vw, 2rem);
		letter-spacing: 2px;
		white-space: normal;
	}

	.section-three__title-link {
		flex-wrap: wrap;
	}

	.section-three__title-icon {
		width: 24px;
		height: 14px;
	}

	/* ---- Section-three grid : empilement + reset décalage ---- */
	.section-three__grid {
		grid-template-columns: 1fr;
	}

	.section-card:not(.section-card--featured) {
		margin-top: 0;
	}

	/* ---- Archive ---- */
	.archive-grid__cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	/* ---- Side articles ---- */
	.side-article__link {
		grid-template-columns: minmax(0, 1fr) 80px;
		gap: 12px;
	}

	/* ---- Article page ---- */
	.article-page__header {
		padding-bottom: 1.4rem;
	}

	.article-page__title {
		font-size: clamp(2rem, 9vw, 3rem);
	}

	.article-page__excerpt,
	.article-page__body {
		font-size: 1rem;
	}
}

@media (max-width: 480px) {
	.archive-grid__cards {
		grid-template-columns: 1fr;
	}
}

/* === Responsive : autres titres larges (section-heading, archive-head) === */
@media (max-width: 1100px) {
	.section-heading__title {
		font-size: clamp(1.5rem, 4vw, 2.8rem);
		letter-spacing: 2px;
	}

	.archive-head__title {
		font-size: clamp(1.8rem, 4.5vw, 3.5rem);
	}
}

@media (max-width: 720px) {
	.section-heading__title {
		font-size: clamp(1rem, 4.5vw, 1.5rem);
		letter-spacing: 1px;
		white-space: normal;
	}

	.archive-head__title {
		font-size: clamp(1.4rem, 6vw, 2.2rem);
	}

	/* Caption hero : taille réduite sur petit écran */
	.hero-stream__caption-title {
		font-size: clamp(1.2rem, 5vw, 1.8rem);
	}

}

.site-header__contact {
	display: inline-flex;
	align-items: center;
	margin-right: 14px;
	padding: 9px 18px;
	border: 1px solid var(--ephemera-accent);
	border-radius: 999px;
	color: var(--ephemera-accent);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	transition: background 0.15s ease, color 0.15s ease;
}

.site-header__contact:hover {
	background: var(--ephemera-accent);
	color: var(--ephemera-inverse);
}

.post-share {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin-top: 36px;
	padding-top: 24px;
	border-top: 1px solid var(--ephemera-border);
}

.post-share__label {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--ephemera-text-soft);
}

.post-share__pill {
	padding: 8px 16px;
	border: 1px solid var(--ephemera-border);
	border-radius: 999px;
	font-size: 13px;
	font-weight: 600;
	color: var(--ephemera-text);
	transition: border-color 0.15s ease, color 0.15s ease;
}

.post-share__pill:hover {
	border-color: var(--ephemera-accent);
	color: var(--ephemera-accent);
}

.site-footer__news {
	max-width: 420px;
	margin-top: 32px;
	padding-top: 28px;
	border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.site-footer__news-title {
	margin: 0 0 6px;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.site-footer__news-text {
	margin: 0 0 14px;
	font-size: 14px;
	opacity: 0.7;
}

.site-footer__news-form {
	display: flex;
	gap: 8px;
}

.site-footer__news-input {
	flex: 1;
	min-width: 0;
	padding: 11px 14px;
	border: 1px solid rgba(255, 255, 255, 0.25);
	border-radius: 6px;
	background: rgba(255, 255, 255, 0.06);
	color: inherit;
	font: inherit;
	font-size: 14px;
}

.site-footer__news-btn {
	padding: 11px 18px;
	border: 0;
	border-radius: 6px;
	background: var(--ephemera-gold);
	color: #1c1c1c;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
}

.search-empty {
	max-width: 520px;
	margin: 0 auto;
	padding: 40px 0 60px;
	text-align: center;
}

.search-empty__text {
	margin: 0 0 20px;
	font-size: 17px;
	color: var(--ephemera-text-soft);
}

.search-empty__form {
	display: flex;
	gap: 8px;
}

.search-empty__input {
	flex: 1;
	padding: 12px 16px;
	border: 1px solid var(--ephemera-border);
	border-radius: 6px;
	background: var(--ephemera-surface);
	color: var(--ephemera-text);
	font: inherit;
	font-size: 15px;
}

.search-empty__btn {
	padding: 12px 20px;
	border: 0;
	border-radius: 6px;
	background: var(--ephemera-accent);
	color: var(--ephemera-inverse);
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
}

.ephemera-sticky-on .site-header {
	position: sticky;
	top: 0;
	z-index: 90;
	background: var(--ephemera-bg);
	box-shadow: 0 1px 0 var(--ephemera-border);
}

.ephemera-readbar {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	z-index: 120;
	pointer-events: none;
}

.ephemera-readbar__fill {
	display: block;
	width: 0;
	height: 100%;
	background: var(--ephemera-gold);
	transition: width 0.1s linear;
}

@media (max-width: 640px) {
	.site-header__contact {
		display: none;
	}

	.site-footer__news-form,
	.search-empty__form {
		flex-direction: column;
	}
}

.author-card {
	display: flex;
	align-items: center;
	gap: 24px;
}

.author-card__avatar {
	border-radius: 50%;
	flex-shrink: 0;
}

.author-card__bio {
	margin: 8px 0 0;
	font-size: 16px;
	color: var(--ephemera-text-soft);
}

.author-card__links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 14px 0 0;
	padding: 0;
	list-style: none;
}

.author-card__links a {
	display: inline-block;
	padding: 6px 14px;
	border: 1px solid var(--ephemera-border);
	border-radius: 999px;
	font-size: 13px;
	font-weight: 600;
	color: var(--ephemera-text);
}

.author-card__links a:hover {
	border-color: var(--ephemera-accent);
	color: var(--ephemera-accent);
}

.archive-grid__empty {
	padding: 30px 0 60px;
	text-align: center;
	font-size: 16px;
	color: var(--ephemera-text-soft);
}

@media (max-width: 640px) {
	.author-card {
		flex-direction: column;
		align-items: flex-start;
	}
}

.lexicon-crumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0 0 14px;
	padding: 0;
	list-style: none;
	font-size: 13px;
	color: var(--ephemera-text-soft);
}

.lexicon-crumbs li + li::before {
	content: "/";
	margin-right: 6px;
	opacity: 0.4;
}

.lexicon-crumbs a:hover {
	color: var(--ephemera-accent);
}

.lexicon__tools {
	position: sticky;
	top: 0;
	z-index: 40;
	margin: 0 0 28px;
	padding: 14px 0;
	background: var(--ephemera-bg);
	border-bottom: 1px solid var(--ephemera-border);
}

.lexicon__alphabet {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	margin-bottom: 12px;
}

.lexicon__letter {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 32px;
	height: 32px;
	border: 1px solid var(--ephemera-border);
	border-radius: 999px;
	font-size: 13px;
	font-weight: 700;
	color: var(--ephemera-text);
}

.lexicon__letter:hover {
	background: var(--ephemera-accent);
	border-color: var(--ephemera-accent);
	color: var(--ephemera-inverse);
}

.lexicon__letter--off {
	opacity: 0.3;
	pointer-events: none;
}

.lexicon__filter {
	width: 100%;
	max-width: 420px;
	padding: 10px 14px;
	border: 1px solid var(--ephemera-border);
	border-radius: 6px;
	background: var(--ephemera-surface);
	color: var(--ephemera-text);
	font: inherit;
	font-size: 15px;
}

.lexicon__group {
	margin-bottom: 34px;
	scroll-margin-top: 110px;
}

.lexicon__group-title {
	margin: 0 0 14px;
	padding-bottom: 8px;
	border-bottom: 2px solid var(--ephemera-gold);
	font-size: 24px;
	color: var(--ephemera-accent);
}

.lexicon__terms {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 8px 24px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 16px;
}

.lexicon__terms a:hover {
	color: var(--ephemera-accent);
	text-decoration: underline;
}

.lexicon__defs {
	margin: 0;
}

.lexicon__def {
	padding: 16px 0;
	border-bottom: 1px solid var(--ephemera-border);
	scroll-margin-top: 110px;
}

.lexicon__def dt {
	font-size: 19px;
	font-weight: 700;
	color: var(--ephemera-text);
}

.lexicon__def dd {
	margin: 8px 0 0;
	color: var(--ephemera-text-soft);
}

.lexicon__empty {
	font-size: 16px;
	color: var(--ephemera-text-soft);
}

.lexicon-block {
	margin-top: 36px;
	padding: 20px 24px;
	background: var(--ephemera-cream);
	border: 1px solid var(--ephemera-border);
	border-radius: 8px;
}

.lexicon-block__title {
	margin: 0 0 12px;
	font-size: 18px;
	color: var(--ephemera-text);
}

.lexicon-block__list {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 6px 24px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 15px;
}

.lexicon-block__list a:hover {
	color: var(--ephemera-accent);
	text-decoration: underline;
}

.lexicon-more {
	margin: 32px 0 0;
}

.lexicon-more__btn {
	display: inline-block;
	padding: 10px 20px;
	border: 1px solid var(--ephemera-accent);
	border-radius: 999px;
	font-size: 14px;
	font-weight: 700;
	color: var(--ephemera-accent);
	transition: background 0.15s ease, color 0.15s ease;
}

.lexicon-more__btn:hover {
	background: var(--ephemera-accent);
	color: var(--ephemera-inverse);
}

@media (max-width: 720px) {
	.lexicon__terms,
	.lexicon-block__list {
		grid-template-columns: 1fr;
	}
}

.faq-acc {
	border-bottom: 1px solid var(--ephemera-border);
}

.faq-acc__question {
	padding: 14px 0;
	font-size: 17px;
	font-weight: 700;
	color: var(--ephemera-text);
	cursor: pointer;
}

.faq-acc__question:hover {
	color: var(--ephemera-accent);
}

.faq-acc__answer {
	padding: 0 0 18px;
	color: var(--ephemera-text-soft);
}

.team-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	padding-bottom: 60px;
}

.team-card {
	padding: 24px;
	background: var(--ephemera-cream);
	border: 1px solid var(--ephemera-border);
	border-radius: 8px;
	text-align: center;
}

.team-card__avatar {
	margin: 0 auto 14px;
	border-radius: 50%;
}

.team-card__name {
	margin: 0 0 4px;
	font-size: 19px;
}

.team-card__name a {
	color: var(--ephemera-text);
}

.team-card__role {
	margin: 0 0 10px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--ephemera-gold);
}

.team-card__bio {
	margin: 0 0 12px;
	font-size: 14px;
	line-height: 1.55;
	color: var(--ephemera-text-soft);
}

.team-card__count {
	margin: 0 0 12px;
	font-size: 13px;
	color: var(--ephemera-text-soft);
}

.team-card__links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.team-card__links a {
	display: inline-block;
	padding: 5px 12px;
	border: 1px solid var(--ephemera-border);
	border-radius: 999px;
	font-size: 12px;
	font-weight: 600;
	color: var(--ephemera-text);
}

.team-card__links a:hover {
	border-color: var(--ephemera-accent);
	color: var(--ephemera-accent);
}

@media (max-width: 900px) {
	.team-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 600px) {
	.team-grid {
		grid-template-columns: 1fr;
	}
}

.ephemera-quiz {
	margin: 28px 0;
	padding: 24px;
	background: var(--ephemera-cream);
	border: 1px solid var(--ephemera-border);
	border-radius: 8px;
}

.ephemera-quiz__bar {
	height: 5px;
	margin-bottom: 20px;
	background: var(--ephemera-surface-strong);
	border-radius: 999px;
	overflow: hidden;
}

.ephemera-quiz__bar-fill {
	display: block;
	width: 0;
	height: 100%;
	background: var(--ephemera-gold);
	transition: width 0.2s ease;
}

.ephemera-quiz__count {
	margin: 0 0 16px;
	font-size: 14px;
	color: var(--ephemera-text-soft);
}

.ephemera-quiz__start,
.ephemera-quiz__email-btn {
	padding: 11px 22px;
	border: 0;
	border-radius: 999px;
	background: var(--ephemera-accent);
	color: var(--ephemera-inverse);
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
}

.ephemera-quiz__question {
	margin: 0 0 16px;
	font-size: 20px;
	font-weight: 700;
	color: var(--ephemera-text);
}

.ephemera-quiz__answers {
	display: grid;
	gap: 8px;
}

.ephemera-quiz__answer {
	padding: 12px 16px;
	border: 1px solid var(--ephemera-border);
	border-radius: 6px;
	background: var(--ephemera-surface);
	font-size: 15px;
	text-align: left;
	cursor: pointer;
	transition: border-color 0.15s ease;
}

.ephemera-quiz__answer:hover {
	border-color: var(--ephemera-accent);
	color: var(--ephemera-accent);
}

.ephemera-quiz__score {
	margin: 0 0 6px;
	font-size: 15px;
	color: var(--ephemera-text-soft);
}

.ephemera-quiz__result-title {
	margin: 0 0 8px;
	font-size: 22px;
	font-weight: 700;
	color: var(--ephemera-accent);
}

.ephemera-quiz__result-text {
	margin: 0 0 16px;
	font-size: 15px;
	color: var(--ephemera-text);
}

.ephemera-quiz__share {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-bottom: 16px;
}

.ephemera-quiz__share-label {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--ephemera-text-soft);
}

.ephemera-quiz__share-link {
	padding: 6px 13px;
	border: 1px solid var(--ephemera-border);
	border-radius: 999px;
	font-size: 13px;
	font-weight: 600;
	color: var(--ephemera-text);
}

.ephemera-quiz__share-link:hover {
	border-color: var(--ephemera-accent);
	color: var(--ephemera-accent);
}

.ephemera-quiz__email {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 16px;
}

.ephemera-quiz__email-text {
	width: 100%;
	margin: 0;
	font-size: 14px;
	color: var(--ephemera-text-soft);
}

.ephemera-quiz__email-input {
	flex: 1;
	min-width: 200px;
	padding: 10px 14px;
	border: 1px solid var(--ephemera-border);
	border-radius: 6px;
	font: inherit;
	font-size: 14px;
}

.ephemera-quiz__restart {
	background: none;
	border: 0;
	padding: 0;
	font-size: 13px;
	color: var(--ephemera-text-soft);
	text-decoration: underline;
	cursor: pointer;
}

.ephemera-quizpop {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 110;
	max-width: 300px;
	padding: 20px;
	background: var(--ephemera-surface);
	border: 1px solid var(--ephemera-border);
	border-radius: 8px;
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.ephemera-quizpop__close {
	position: absolute;
	top: 6px;
	right: 10px;
	border: 0;
	background: none;
	font-size: 20px;
	color: var(--ephemera-text-soft);
	cursor: pointer;
}

.ephemera-quizpop__kicker {
	margin: 0 0 4px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--ephemera-gold);
}

.ephemera-quizpop__title {
	margin: 0 0 4px;
	font-size: 17px;
	font-weight: 700;
	color: var(--ephemera-text);
}

.ephemera-quizpop__meta {
	margin: 0 0 12px;
	font-size: 13px;
	color: var(--ephemera-text-soft);
}

.ephemera-quizpop__btn {
	display: inline-block;
	padding: 9px 18px;
	border-radius: 999px;
	background: var(--ephemera-accent);
	color: var(--ephemera-inverse);
	font-size: 14px;
	font-weight: 700;
}

.fiche-cta {
	margin: 32px 0;
	text-align: center;
}

.fiche-cta__btn {
	display: inline-block;
	padding: 14px 32px;
	border-radius: 999px;
	background: var(--ephemera-accent);
	color: var(--ephemera-inverse);
	font-size: 16px;
	font-weight: 700;
}

.fiche-cta__btn:hover {
	opacity: 0.88;
}

.ephemera-popular {
    margin: 32px auto;
    max-width: 800px;
    padding: 20px 24px;
    background: var(--ephemera-cream);
    border: 1px solid var(--ephemera-border);
    border-radius: 8px;
}

.ephemera-popular__title {
    margin: 0 0 12px;
    font-size: 18px;
    color: var(--ephemera-text);
}

.ephemera-popular__list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px 24px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 15px;
}

.ephemera-popular__list a {
    color: var(--ephemera-text);
    text-decoration: none;
}

.ephemera-popular__list a:hover {
    color: var(--ephemera-accent);
    text-decoration: underline;
}

.ephemera-popular--sidebar {
    max-width: none;
    margin: 20px 0 0;
}

.ephemera-popular--sidebar .ephemera-popular__list {
    grid-template-columns: 1fr;
}

.ephemera-popular--home,
.ephemera-popular--category,
.ephemera-popular--404 {
    margin: 40px auto;
}

.ephemera-ticker {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 9px 20px;
    background: var(--ephemera-text);
    color: var(--ephemera-inverse);
    overflow: hidden;
}

.ephemera-ticker__label {
    flex-shrink: 0;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ephemera-inverse);
}

.ephemera-ticker__viewport {
    overflow: hidden;
    flex: 1;
}

.ephemera-ticker__track {
    display: flex;
    gap: 40px;
    margin: 0;
    padding: 0;
    list-style: none;
    white-space: nowrap;
    width: max-content;
    animation: ephemera-tick 40s linear infinite;
}

.ephemera-ticker__track:hover {
    animation-play-state: paused;
}

.ephemera-ticker__item a {
    color: var(--ephemera-inverse);
    font-size: 14px;
    text-decoration: none;
}

.ephemera-ticker__item a:hover {
    text-decoration: underline;
}

@keyframes ephemera-tick {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .ephemera-ticker__track { animation: none; }
    .ephemera-ticker__viewport { overflow-x: auto; }
}

.ephemera-readnext {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 110;
    max-width: 320px;
    padding: 18px;
    background: var(--ephemera-cream);
    border: 1px solid var(--ephemera-border);
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.ephemera-readnext__close {
    position: absolute;
    top: 4px;
    right: 9px;
    border: 0;
    background: none;
    font-size: 20px;
    color: var(--ephemera-text-soft);
    cursor: pointer;
}

.ephemera-readnext__kicker {
    margin: 0 0 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ephemera-accent);
}

.ephemera-readnext__link {
    display: flex;
    gap: 12px;
    align-items: center;
    color: var(--ephemera-text);
    text-decoration: none;
}

.ephemera-readnext__media img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 8px;
}

.ephemera-readnext__title {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
}

.ephemera-readnext__link:hover .ephemera-readnext__title {
    color: var(--ephemera-accent);
}

.ephemera-react {
    margin: 32px 0 8px;
    padding: 18px 20px;
    background: var(--ephemera-cream);
    border: 1px solid var(--ephemera-border);
    border-radius: 8px;
    text-align: center;
}

.ephemera-react__title {
    margin: 0 0 12px;
    font-size: 15px;
    font-weight: 700;
    color: var(--ephemera-text);
}

.ephemera-react__row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.ephemera-react__btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    min-width: 64px;
    padding: 8px 10px;
    border: 1px solid var(--ephemera-border);
    border-radius: 8px;
    background: var(--ephemera-bg);
    cursor: pointer;
    transition: transform 0.12s ease, border-color 0.12s ease;
}

.ephemera-react__btn:hover {
    transform: translateY(-2px);
    border-color: var(--ephemera-accent);
}

.ephemera-react.is-done .ephemera-react__btn {
    cursor: default;
    opacity: 0.75;
}

.ephemera-react__btn.is-active {
    border-color: var(--ephemera-accent);
    opacity: 1;
}

.ephemera-react__emoji {
    font-size: 22px;
    line-height: 1;
}

.ephemera-react__label {
    font-size: 11px;
    color: var(--ephemera-text-soft);
}

.ephemera-react__count {
    font-size: 12px;
    font-weight: 700;
    color: var(--ephemera-text);
    min-height: 14px;
}

.ephemera-lsr {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 130;
    margin-top: 4px;
    background: var(--ephemera-cream);
    border: 1px solid var(--ephemera-border);
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
    overflow: hidden;
}

.ephemera-lsr__item {
    display: block;
    padding: 10px 14px;
    font-size: 14px;
    color: var(--ephemera-text);
    text-decoration: none;
    border-bottom: 1px solid var(--ephemera-border);
}

.ephemera-lsr__item:hover {
    background: var(--ephemera-bg);
    color: var(--ephemera-accent);
}

.ephemera-lsr__all {
    display: block;
    width: 100%;
    padding: 10px 14px;
    border: 0;
    background: var(--ephemera-bg);
    font-size: 13px;
    font-weight: 700;
    color: var(--ephemera-accent);
    text-align: left;
    cursor: pointer;
}

.ephemera-videohero {
    margin: 0 0 24px;
}

.ephemera-videohero iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
    border-radius: 8px;
}


.ephemera-arch-cols-2 .archive-grid__cards { grid-template-columns: repeat(2, 1fr) !important; }
.ephemera-arch-cols-3 .archive-grid__cards { grid-template-columns: repeat(3, 1fr) !important; }
.ephemera-arch-cols-4 .archive-grid__cards { grid-template-columns: repeat(4, 1fr) !important; }
.ephemera-arch-list .archive-grid__cards { grid-template-columns: 1fr !important; }
.ephemera-arch-noexcerpt .grid-card__excerpt { display: none !important; }
.ephemera-arch-nometa .grid-card__meta { display: none !important; }

@media (max-width: 900px) {
    .ephemera-arch-cols-3 .archive-grid__cards,
    .ephemera-arch-cols-4 .archive-grid__cards { grid-template-columns: repeat(2, 1fr) !important; }
}

@media (max-width: 640px) {
    .ephemera-arch-cols-2 .archive-grid__cards,
    .ephemera-arch-cols-3 .archive-grid__cards,
    .ephemera-arch-cols-4 .archive-grid__cards { grid-template-columns: 1fr !important; }

    .ephemera-popular__list { grid-template-columns: 1fr; }
}

.ephemera-pop-replace .article-related { display: none; }
.ephemera-pop404-replace.error404 .error-404-recent { display: none; }
.ephemera-meta__views,
.ephemera-byline__views {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-left: 10px;
    color: var(--ephemera-text-soft);
}

.ephemera-byline__views {
    font-size: 12px;
}

.ephemera-byline__hot {
    display: inline-block;
    margin-left: 8px;
    background: var(--ephemera-ink, #1f1b16);
    color: var(--ephemera-paper, #f7f3ec);
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 999px;
}
