/*
Theme Name: Heilige Huisjes
Description: Licht thema voor heiligehuisjes.be, gebaseerd op Twenty Twenty-Five. Kleuren uit het logo (nachtblauw en goud), met licht door glas-in-lood als beeld.
Template: twentytwentyfive
Version: 0.1.3
Requires at least: 6.7
Requires PHP: 8.0
Text Domain: heiligehuisjes
License: GNU General Public License v2 or later
*/

/* Header -------------------------------------------------------------- */
.hh-header {
	position: relative;
	background: var(--wp--preset--color--white);
	box-shadow: 0 1px 0 var(--wp--preset--color--accent-6);
}
/* A thin "stained glass" band under the header. */
.hh-header::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -5px;
	height: 5px;
	background: linear-gradient(90deg,
		#203954 0 22%, #FFBD24 22% 30%, #9B2D22 30% 38%, #2E6E8E 38% 52%,
		#FFBD24 52% 56%, #203954 56% 74%, #9B2D22 74% 80%, #2E6E8E 80% 92%, #FFBD24 92% 100%);
	z-index: 2;
}
.hh-logo { display: flex; align-items: flex-end; gap: .75rem; text-decoration: none; color: var(--wp--preset--color--accent-1); }
.hh-logo img { height: 56px; width: auto; display: block; }
.hh-logo__text { display: flex; flex-direction: column; gap: .3em; line-height: 1; }
.hh-logo__naam { font-family: var(--wp--preset--font-family--literata); font-size: 1.45rem; font-weight: 700; letter-spacing: -.01em; }
.hh-logo__tagline { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--wp--preset--color--accent-3); }
.hh-logo:hover .hh-logo__naam { color: var(--wp--preset--color--accent-3); }
@media (max-width: 600px) {
	.hh-logo img { height: 42px; }
	.hh-logo__naam { font-size: 1.15rem; }
	.hh-logo__tagline { font-size: .62rem; }
}
.hh-header .wp-block-navigation a { text-decoration: none; }
.hh-header .wp-block-navigation a:hover,
.hh-header .wp-block-navigation .current-menu-item > a {
	text-decoration: underline;
	text-decoration-color: var(--wp--preset--color--accent-2);
	text-decoration-thickness: 3px;
	text-underline-offset: 6px;
}

/* Footer -------------------------------------------------------------- */
.hh-footer a { color: inherit; }
.hh-footer a:hover { color: var(--wp--preset--color--accent-2); }
.hh-footer .hh-footer-logo img { width: 220px; height: auto; }
.hh-footer h2 {
	color: var(--wp--preset--color--accent-2);
	font-family: var(--wp--preset--font-family--manrope);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
}
.hh-footer ul { list-style: none; padding: 0; margin: 0; }
.hh-footer li { margin: .35em 0; }

/* Homepage hero ------------------------------------------------------- */
.hh-hero .wp-block-cover__inner-container { max-width: var(--wp--style--global--wide-size); }
.hh-hero h1 { color: #fff; text-shadow: 0 2px 18px rgb(0 0 0 / .35); }
.hh-hero p { text-shadow: 0 1px 10px rgb(0 0 0 / .4); }
.hh-overline {
	color: var(--wp--preset--color--accent-2) !important;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
}
.hh-hero .wp-block-button.is-style-outline .wp-block-button__link {
	color: #fff;
	border-color: #fff;
	background: transparent;
}
.hh-hero .wp-block-button.is-style-outline .wp-block-button__link:hover {
	background: #fff;
	color: var(--wp--preset--color--accent-1);
}

/* Section with a soft sandstone background. */
.hh-band { background: var(--wp--preset--color--accent-5); }

/* Cards on the light background stand out a bit more. */
.hh-card__link { background: var(--wp--preset--color--white); }

/* Agenda block inside a white panel on the homepage. */
.hh-panel {
	background: var(--wp--preset--color--white);
	border: 1px solid var(--wp--preset--color--accent-6);
	border-top: 4px solid var(--wp--preset--color--accent-2);
	border-radius: 8px;
}

/* Keep the hero a sensible height on very tall screens. */
.hh-hero.wp-block-cover { min-height: min(72vh, 720px) !important; }
@media (max-width: 600px) { .hh-hero.wp-block-cover { min-height: 78vh !important; } }
@media (max-width: 781px) {
	.hh-hero.wp-block-cover { min-height: min(78vh, 640px) !important; }
	/* On small screens the text spans the whole photo: darken it evenly, more towards the bottom. */
	.hh-hero .wp-block-cover__background {
		background: linear-gradient(180deg, rgba(15, 28, 44, .45) 0%, rgba(15, 28, 44, .82) 70%) !important;
		opacity: 1 !important;
	}
}

/* Homepage: the hero sits directly under the header. */
.home .wp-site-blocks > main,
.home .wp-site-blocks > main > .entry-content > .hh-hero:first-child { margin-block-start: 0; }

/* Bottom of "de kunst van het geloven" (capitals: the baseline) = bottom of the logo. */
.hh-logo__naam, .hh-logo__tagline { line-height: 1; }
.hh-logo__tagline { text-box: trim-end cap alphabetic; }
@supports not (text-box: trim-end cap alphabetic) {
	.hh-logo__tagline { margin-bottom: -.12em; }
}
