/* BHiSt [bhist_reveal] — button-less "Mehr lesen" disclosure.
   No-JS fallback: content is fully visible and the toggle is hidden (the
   .is-ready class is added by reveal.js only when JS runs). */
.bhist-reveal{margin:.25rem 0}
.bhist-reveal--center{text-align:center}

/* Content wrapper: animate open/closed via grid-template-rows 0fr <-> 1fr. */
.bhist-reveal__content{display:block}
.bhist-reveal.is-ready .bhist-reveal__content{
	display:grid;grid-template-rows:0fr;
	transition:grid-template-rows .35s ease;
}
.bhist-reveal.is-ready.is-open .bhist-reveal__content{grid-template-rows:1fr}
.bhist-reveal.is-ready .bhist-reveal__inner{overflow:hidden}
/* fade the inner content in/out alongside the height */
.bhist-reveal.is-ready .bhist-reveal__inner{opacity:0;transition:opacity .3s ease .05s}
.bhist-reveal.is-ready.is-open .bhist-reveal__inner{opacity:1}

/* The toggle — a real <button>, styled to read as a plain text link. */
.bhist-reveal__toggle{
	display:none; /* shown only once JS is ready */
	background:none;border:0;padding:0;margin:.5rem 0 0;cursor:pointer;
	font-family:var(--body_typography-font-family,"Open Sans",sans-serif);
	font-size:1rem;font-weight:600;color:var(--awb-color5,#801810);
	text-decoration:underline;text-underline-offset:3px;line-height:1.5;
}
.bhist-reveal.is-ready .bhist-reveal__toggle{display:inline-flex;align-items:center;gap:.35rem}
.bhist-reveal__toggle:hover{color:var(--awb-color4,#B7463A)}
.bhist-reveal__toggle:focus-visible{outline:2px solid var(--awb-color5,#801810);outline-offset:3px;border-radius:2px}
/* little chevron that flips when open */
.bhist-reveal__toggle::after{content:"";width:.5rem;height:.5rem;border-right:2px solid currentColor;
	border-bottom:2px solid currentColor;transform:rotate(45deg) translateY(-2px);transition:transform .25s ease}
.bhist-reveal.is-open .bhist-reveal__toggle::after{transform:rotate(-135deg) translateY(0)}

/* more/less label swap */
.bhist-reveal__label-less{display:none}
.bhist-reveal.is-open .bhist-reveal__label-more{display:none}
.bhist-reveal.is-open .bhist-reveal__label-less{display:inline}

/* keep a little breathing room above the revealed text */
.bhist-reveal.is-ready.is-open .bhist-reveal__inner{padding-top:.25rem}

@media (prefers-reduced-motion: reduce){
	.bhist-reveal.is-ready .bhist-reveal__content,
	.bhist-reveal.is-ready .bhist-reveal__inner,
	.bhist-reveal__toggle::after{transition:none}
}
