/* hero block (PublicContentHeroBlock): full-bleed opener with motto, countdown, button and an optional background image.
   Without an image it is a normal block (page background, normal gap); with an image it is a band. */
.public-content .content-block.content-block--hero {
	width: 100%;
}
.public-content .content-hero {
	position: relative;
}
.public-content .content-hero-inner {
	width: min(var(--content-width), 100% - 2rem);
	margin: 0 auto;
	display: grid;
	gap: 2rem;
	grid-template-columns: 1fr;
	align-items: center;
}
/* A hero printed by a renderer (committee pages, PublicContentHeroBlock::renderTitleHero()) sits in a block that already
   has the content width. */
.public-content .content-block--dynamic .content-hero-inner { width: 100%; }
/* With an image: the image fills the whole hero behind the text, under a light overlay that keeps the text readable. */
.public-content .content-hero--with-image { overflow: hidden; }
.public-content .content-hero--with-image .content-hero-inner { padding: var(--content-band-padding) 0; }
.public-content .content-hero--with-image .content-hero-copy {
	position: relative;
	z-index: 1;
	max-width: 40rem;
}
.public-content .content-hero-eyebrow {
	margin: 0 0 .5rem;
	color: var(--content-accent);
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	font-size: .9rem;
}
.public-content .content-hero-title { margin-bottom: 1rem; overflow-wrap: anywhere; }
.public-content .content-hero-text { font-size: 1.1rem; color: var(--content-text); }
/* Badge next to the title (PublicContentHeroBlock::renderTitleHero() $badgeHtml; committee pages: the committee logo or its
   text tile): a white seal with a soft shadow, the image contained inside. Above the title on phones, beside it from 48rem. */
.public-content .content-hero-identity {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 1rem;
}
.public-content .content-hero-identity-text { min-width: 0; }
.public-content .content-hero-identity .content-hero-title { margin-bottom: .35rem; }
.public-content .content-hero-identity .content-hero-text { color: var(--content-muted); font-size: 1rem; font-weight: 600; letter-spacing: .01em; }
.public-content .content-hero-identity .content-hero-text p { margin: 0; }
.public-content .content-hero-badge {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 4.5rem;
	height: 4.5rem;
	padding: .5rem;
	overflow: hidden;
	border: 1px solid var(--content-border);
	border-radius: 1rem;
	background: var(--content-card);
	box-shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 .5rem 1.25rem rgba(16, 24, 40, .08);
}
.public-content .content-hero-badge-image { display: block; width: 100%; height: 100%; object-fit: contain; }
.public-content .content-hero-badge-text {
	color: var(--content-primary);
	font-family: var(--content-font-display);
	font-size: 1.05rem;
	line-height: 1.05;
	text-align: center;
	text-transform: uppercase;
	overflow-wrap: normal;
}
@media (min-width: 48rem) {
	.public-content .content-hero-identity { flex-direction: row; align-items: center; gap: 1.75rem; }
	.public-content .content-hero-badge { width: 7.5rem; height: 7.5rem; padding: .75rem; border-radius: 1.5rem; }
	.public-content .content-hero-badge-text { font-size: 1.6rem; }
}
/* Side links: compact outline buttons with an arrow on the title row (title left, buttons right, centred to the title);
   below the title on phones. */
.public-content .content-hero-heading {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: .75rem;
	margin-bottom: 1rem;
}
.public-content .content-hero-heading .content-hero-title { margin-bottom: 0; min-width: 0; }
.public-content .content-hero-side-links {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}
.public-content a.content-hero-side-link {
	display: inline-flex;
	align-items: center;
	gap: .45rem;
	padding: var(--olmun-btn-padding-y-sm) var(--olmun-btn-padding-x-sm);
	border: 1px solid var(--content-primary);
	background: transparent;
	color: var(--content-primary);
	font-size: var(--olmun-btn-font-size-sm);
	white-space: nowrap;
}
.public-content a.content-hero-side-link:hover,
.public-content a.content-hero-side-link:focus { background: var(--content-primary); color: #fff; }
.public-content a.content-hero-side-link:focus-visible { outline: 3px solid var(--content-accent); outline-offset: 2px; }
.public-content .content-hero-side-link-arrow { flex: none; width: 1rem; height: 1rem; transition: transform .15s ease; }
.public-content a.content-hero-side-link:hover .content-hero-side-link-arrow { transform: translateX(.15rem); }
@media (prefers-reduced-motion: reduce) { .public-content .content-hero-side-link-arrow { transition: none; } }
@media (min-width: 48rem) {
	.public-content .content-hero-heading {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		gap: 1rem 2rem;
	}
	.public-content .content-hero-side-links { flex: none; justify-content: flex-end; }
}
.public-content .content-hero-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1.25rem 2rem;
	margin-top: 1.5rem;
}
.public-content .content-hero-countdown {
	background: var(--content-primary);
	color: #fff;
	border-radius: var(--content-radius);
	padding: 1rem 1.5rem;
	min-width: 13rem;
}
.public-content .content-hero-countdown p { margin: 0; line-height: 1.3; }
.public-content .content-hero-countdown-value { font-size: 1.5rem; font-weight: 700; }
/* Four tiles (days, hours, minutes, seconds), kept live by themes/olmun2025/js/public-content-countdown.js. */
.public-content .content-hero-countdown-tiles {
	display: grid;
	grid-template-columns: repeat(4, minmax(3.5rem, 1fr));
	gap: .5rem;
	margin-bottom: .6rem;
}
.public-content .content-hero-countdown-tile {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: .5rem .25rem;
	border-radius: calc(var(--content-radius) * .75);
	background: rgba(255, 255, 255, .14);
	text-align: center;
}
.public-content .content-hero-countdown-number {
	font-size: 2rem;
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -.02em;
	font-variant-numeric: tabular-nums;
}
.public-content .content-hero-countdown-unit {
	font-size: .75rem;
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
	opacity: .9;
}
@media (max-width: 23rem) {
	.public-content .content-hero-countdown { padding: .9rem 1rem; }
	.public-content .content-hero-countdown-number { font-size: 1.6rem; }
	.public-content .content-hero-countdown-unit { font-size: .65rem; letter-spacing: .02em; }
}
.public-content .content-hero-countdown-caption { font-weight: 600; }
.public-content .content-hero-countdown-date { margin-top: .35rem !important; opacity: .9; font-size: .95rem; }
/* The shared large button (.btn.btn-lg, olmun-bootstrap-theme.css) in the accent colour. */
.public-content a.content-hero-cta {
	background: var(--content-accent);
	border-color: var(--content-accent);
	color: #fff;
}
.public-content a.content-hero-cta:hover,
.public-content a.content-hero-cta:focus { background: var(--content-accent-hover); border-color: var(--content-accent-hover); color: #fff; }
.public-content a.content-hero-cta:focus-visible { outline: 3px solid var(--content-primary); outline-offset: 2px; }
.public-content .content-hero-media {
	position: absolute;
	inset: 0;
}
.public-content .content-hero-media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(255, 255, 255, .82);
}
.public-content .content-hero-media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
/* Desktop layout (same breakpoint as the hero padding): the text sits on the left, so the overlay fades out to the right. */
@media (min-width: 62rem) {
	.public-content .content-hero-media::after {
		background: linear-gradient(90deg, rgba(255, 255, 255, .92) 0%, rgba(255, 255, 255, .8) 45%, rgba(255, 255, 255, .45) 100%);
	}
}
