/* Étude du jour / étude : premier passage, propriétés logiques (RTL/LTR), charte via les couleurs globales Astra. */
.zh-study {
	--zh-gold: var(--ast-global-color-6, #b8964e);
	--zh-blue: var(--ast-global-color-0, #1d3a6b);
	--zh-text: var(--ast-global-color-2, #1f2937);
	--zh-muted: #5b6472;
	--zh-line: rgba(0, 0, 0, .12);
	max-inline-size: 46rem;
	margin-inline: auto;
	padding-block: 2rem 1rem;
	padding-inline: 1rem;
	color: var(--zh-text);
	box-sizing: border-box;
}
.zh-study[lang="he"] { font-family: 'Assistant', system-ui, sans-serif; }
.zh-study[lang="he"] .zh-study__title { font-family: 'David Libre', 'Assistant', serif; font-weight: 700; }

.zh-study__eyebrow {
	margin: 0 0 .5rem;
	font-size: .85rem;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--zh-gold);
}
.zh-study[dir="rtl"] .zh-study__eyebrow { letter-spacing: 0; text-transform: none; font-size: .95rem; }
.zh-study__title {
	margin: 0 0 1rem;
	font-size: clamp(1.75rem, 4.5vw, 2.5rem);
	line-height: 1.2;
	color: var(--zh-blue);
}
.zh-study__empty { margin-block: 1.5rem; padding: 1.25rem; border: 1px dashed var(--zh-line); border-radius: 8px; color: var(--zh-muted); }

.zh-meta { margin: 0 0 1.5rem; padding: 0; }
.zh-meta__row { display: flex; flex-wrap: wrap; gap: .25rem .75rem; margin-block-end: .35rem; align-items: baseline; }
.zh-meta dt { font-weight: 700; color: var(--zh-muted); }
.zh-meta dt::after { content: ' :'; }
.zh-study[dir="rtl"] .zh-meta dt::after { content: ':'; }
.zh-meta dd { margin: 0; }
.zh-chip { display: inline-block; margin-inline-end: .4rem; padding: .1rem .6rem; border: 1px solid var(--zh-line); border-radius: 999px; font-size: .9rem; }

.zh-media { display: grid; gap: 1.25rem; margin-block: 1.25rem 1.75rem; }
.zh-media__block > :first-child { margin-block-start: 0; }
.zh-media iframe { max-inline-size: 100%; }
.zh-media__spotify { display: block; border: 0; border-radius: 12px; }
.zh-media__block--pdf iframe { block-size: min(80vh, 760px) !important; }
.zh-media__duration, .zh-media__link { margin: .5rem 0 0; font-size: .95rem; color: var(--zh-muted); }
.zh-media__link a { font-weight: 700; }

.zh-study__content { font-size: 1.125rem; line-height: 1.8; }
.zh-study[lang="he"] .zh-study__content { font-size: 1.2rem; line-height: 1.95; }
.zh-study__content > :first-child { margin-block-start: 0; }

.zh-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	justify-content: space-between;
	max-inline-size: 46rem;
	margin: 2rem auto 3rem;
	padding-inline: 1rem;
	box-sizing: border-box;
}
.zh-nav__link {
	display: flex;
	flex: 1 1 14rem;
	align-items: center;
	gap: .75rem;
	padding: .9rem 1rem;
	border: 1.5px solid var(--ast-global-color-6, #b8964e);
	border-radius: 8px;
	text-decoration: none;
	color: inherit;
}
.zh-nav__link:hover, .zh-nav__link:focus-visible { background: var(--ast-global-color-6, #b8964e); color: var(--ast-global-color-4, #fff); }
.zh-nav__link--next { justify-content: space-between; text-align: end; }
.zh-nav__text { display: grid; gap: .1rem; min-inline-size: 0; }
.zh-nav__label { font-size: .8rem; font-weight: 700; opacity: .75; }
.zh-nav__title { overflow-wrap: anywhere; }
.zh-nav__icon { flex: none; }
.zh-nav__link--next .zh-nav__icon { transform: scaleX(-1); }
.zh-nav[dir="rtl"] .zh-nav__icon { transform: scaleX(-1); }
.zh-nav[dir="rtl"] .zh-nav__link--next .zh-nav__icon { transform: none; }

@media (max-width: 600px) {
	.zh-study { padding-block-start: 1.25rem; }
	.zh-nav { flex-direction: column; }
	.zh-nav__link { flex: 0 0 auto; }
}

/* Fiche enseignant (même langage visuel que l'étude). */
.zh-meta__link { color: inherit; text-decoration-color: var(--zh-gold); text-underline-offset: .2em; }
.zh-teacher__header { margin-block-end: 1.5rem; }
.zh-teacher__header--photo { display: grid; grid-template-columns: 9rem 1fr; gap: 1.5rem; align-items: start; }
.zh-teacher__photo { inline-size: 9rem; block-size: auto; max-block-size: 12rem; object-fit: cover; border-radius: 12px; border: 1px solid var(--zh-line); }
.zh-teacher__role { margin: 0 0 .75rem; font-size: 1.15rem; font-weight: 600; color: var(--zh-muted); }
.zh-teacher__lead { margin: 0 0 .75rem; font-size: 1.15rem; line-height: 1.7; }
.zh-teacher__links { margin: 0; font-weight: 700; }
.zh-teacher__links a { color: var(--zh-blue); }
.zh-teacher__h2 { margin: 2rem 0 .75rem; padding-block-end: .4rem; border-block-end: 2px solid var(--zh-gold); font-size: 1.35rem; color: var(--zh-blue); }
.zh-rel__list { margin: 0; padding: 0; list-style: none; }
.zh-rel__item { display: flex; flex-wrap: wrap; align-items: baseline; gap: .15rem .6rem; padding-block: .55rem; border-block-end: 1px solid var(--zh-line); }
.zh-rel__link { font-weight: 600; text-decoration: none; color: var(--zh-text); overflow-wrap: anywhere; }
.zh-rel__link:hover, .zh-rel__link:focus-visible { color: var(--zh-gold); text-decoration: underline; }
.zh-lang-tag { padding: .05rem .5rem; border: 1px solid var(--zh-line); border-radius: 999px; font-size: .8rem; color: var(--zh-muted); white-space: nowrap; }

@media (max-width: 600px) {
	.zh-teacher__header--photo { grid-template-columns: 1fr; gap: 1rem; }
	.zh-teacher__photo { inline-size: 7rem; max-block-size: 9.5rem; }
}

/* Fiche série / cours (même langage visuel que l'étude et l'enseignant). */
.zh-series__figure { margin: 0 0 1.5rem; }
.zh-series__img { display: block; inline-size: 100%; block-size: auto; max-block-size: 26rem; object-fit: cover; border-radius: 12px; border: 1px solid var(--zh-line); }
.zh-lessons { margin: 0; padding: 0; list-style: none; counter-reset: zh-lesson; }
.zh-lessons__item { display: flex; flex-wrap: wrap; align-items: baseline; gap: .15rem .6rem; padding-block: .55rem; border-block-end: 1px solid var(--zh-line); counter-increment: zh-lesson; }
.zh-lessons__item::before { content: counter(zh-lesson); flex: none; min-inline-size: 1.6rem; font-size: .85rem; font-weight: 700; color: var(--zh-gold); }

/* Événement / rencontre */
.zh-event__status { display: inline-block; margin: 0 0 .5rem; padding: .15rem .7rem; border: 1px solid var(--zh-line); border-radius: 999px; font-size: .9rem; font-weight: 700; color: var(--zh-muted); }
.zh-event__status--cancelled { color: #9b2c2c; border-color: #9b2c2c; }
.zh-event__actions { margin: 1rem 0 0; }
.zh-event__cta { display: inline-block; padding: .6rem 1.4rem; border-radius: 8px; background: var(--zh-gold); color: #0a2540; font-weight: 700; text-decoration: none; }
.zh-event__cta:hover, .zh-event__cta:focus-visible { filter: brightness(.95); text-decoration: underline; }

/* Accueil, À propos et listes publiques (même charte : bleu nuit, or, crème ; propriétés logiques RTL/LTR). */
.zh-home, .zh-list {
	--zh-gold: var(--ast-global-color-6, #D4A853);
	--zh-blue: var(--ast-global-color-1, #0B2D4D);
	--zh-text: var(--ast-global-color-2, #0B2D4D);
	--zh-cream: var(--ast-global-color-4, #FFF9F0);
	--zh-muted: #5b6472;
	--zh-line: rgba(0, 0, 0, .12);
	max-inline-size: 64rem;
	margin-inline: auto;
	padding-block: 1.5rem 3rem;
	padding-inline: 1rem;
	box-sizing: border-box;
	color: var(--zh-text);
}
.zh-home[lang="he"], .zh-list[lang="he"] { font-family: 'Assistant', system-ui, sans-serif; }
.zh-home[lang="he"] .zh-home__title, .zh-home[lang="he"] .zh-home__today-title, .zh-list[lang="he"] .zh-list__title, .zh-home[lang="he"] .zh-card__title, .zh-list[lang="he"] .zh-card__title { font-family: 'David Libre', 'Assistant', serif; font-weight: 700; }
.zh-home__hero { padding: clamp(2rem, 6vw, 4rem) clamp(1.25rem, 5vw, 3rem); border-radius: 16px; background: var(--zh-blue); color: var(--zh-cream); }
.zh-home__title { margin: 0 0 .75rem; font-size: clamp(2rem, 6vw, 3.25rem); line-height: 1.15; color: var(--zh-cream); }
.zh-home__lead { margin: 0; max-inline-size: 38rem; font-size: clamp(1.05rem, 2.6vw, 1.3rem); line-height: 1.6; color: var(--zh-cream); opacity: .92; }
.zh-home__actions { margin: 1.75rem 0 0; }
.zh-btn { display: inline-block; padding: .75rem 1.6rem; border-radius: 8px; background: var(--zh-gold); color: #0B2D4D; font-weight: 700; text-decoration: none; }
.zh-btn:hover, .zh-btn:focus-visible { filter: brightness(.95); text-decoration: underline; color: #0B2D4D; }
.zh-home__today { margin-block: 1.5rem; padding: 1.25rem 1.5rem; border: 1.5px solid var(--zh-gold); border-radius: 12px; background: var(--zh-cream); }
.zh-home__eyebrow { margin: 0 0 .4rem; font-size: .85rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #8a6a1f; }
.zh-home[dir="rtl"] .zh-home__eyebrow { letter-spacing: 0; text-transform: none; font-size: .95rem; }
.zh-home__today-title { margin: 0 0 .35rem; font-size: clamp(1.3rem, 3.4vw, 1.7rem); line-height: 1.3; }
.zh-home__today-title a { color: var(--zh-blue); text-decoration: none; }
.zh-home__today-title a:hover, .zh-home__today-title a:focus-visible { text-decoration: underline; }
.zh-home__today-meta { margin: 0 0 .5rem; color: var(--zh-muted); }
.zh-home__more { margin: .5rem 0 0; font-weight: 700; }
.zh-home__more a { color: var(--zh-blue); text-underline-offset: .2em; text-decoration-color: var(--zh-gold); }
.zh-home__more a::after { content: ' \2192'; }
.zh-home[dir="rtl"] .zh-home__more a::after { content: ' \2190'; }
.zh-home__empty { margin: 0; color: var(--zh-muted); font-size: 1.05rem; }
.zh-home__cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 1rem; margin: 0 0 1.5rem; padding: 0; list-style: none; }
.zh-card { position: relative; display: flex; flex-direction: column; border: 1px solid var(--zh-line); border-radius: 12px; background: #fff; overflow: hidden; }
.zh-card:hover, .zh-card:focus-within { border-color: var(--zh-gold); box-shadow: 0 2px 10px rgba(11, 45, 77, .1); }
.zh-card__media { aspect-ratio: 16 / 9; background: var(--zh-cream); }
.zh-card__img { display: block; inline-size: 100%; block-size: 100%; object-fit: cover; }
.zh-card__body { padding: 1rem 1.15rem 1.15rem; }
.zh-card__title { margin: 0 0 .35rem; font-size: 1.2rem; line-height: 1.3; }
.zh-card__a { color: var(--zh-blue); text-decoration: none; overflow-wrap: anywhere; }
.zh-card__a::after { content: ''; position: absolute; inset: 0; }
.zh-card__a:focus-visible { outline: 2px solid var(--zh-gold); outline-offset: -2px; }
.zh-card__role { margin: 0 0 .35rem; font-weight: 600; color: var(--zh-muted); }
.zh-card__text { margin: 0; color: var(--zh-muted); line-height: 1.55; }
.zh-card--access { border-block-start: 3px solid var(--zh-gold); }
.zh-home__intro { padding-block: 1rem 0; max-inline-size: 42rem; font-size: 1.1rem; line-height: 1.75; }
.zh-home__intro p { margin: 0 0 .5rem; }
.zh-list__header { margin-block-end: 1.5rem; padding-block-end: .5rem; border-block-end: 2px solid var(--zh-gold); }
.zh-list__title { margin: 0; font-size: clamp(1.75rem, 4.5vw, 2.5rem); line-height: 1.2; color: var(--zh-blue); }
.zh-list .zh-study__empty { margin-block: 1.5rem; padding: 1.25rem; border: 1px dashed var(--zh-line); border-radius: 8px; color: var(--zh-muted); }
.zh-pager ul { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.5rem 0 0; padding: 0; list-style: none; }
.zh-pager a, .zh-pager .current { display: inline-block; padding: .35rem .85rem; border: 1px solid var(--zh-line); border-radius: 8px; text-decoration: none; color: var(--zh-blue); }
.zh-pager .current { background: var(--zh-gold); border-color: var(--zh-gold); font-weight: 700; }
@media (max-width: 600px) {
	.zh-home, .zh-list { padding-block-start: 1rem; }
	.zh-home__cards { grid-template-columns: 1fr; }
	.zh-home__today { padding: 1rem; }
}
.archive.zh-study-view.ast-separate-container { background-color: var(--ast-global-color-4, #FFF9F0); }
.zh-list__grid { grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); }
@media (max-width: 600px) { .zh-list__grid { grid-template-columns: 1fr; } }
