/* Typography: Playfair Display for headlines, Inter for everything else. */

body.cihc-theme.cihc-brand-type {
	--global-body-font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	--global-heading-font-family: "Playfair Display", Georgia, "Times New Roman", serif;
	--global-primary-nav-font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	--global-secondary-nav-font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-family: var(--cihc-sans);
	color: var(--cihc-text);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

.cihc-brand-type h1,
.cihc-brand-type h2,
.cihc-brand-type h3,
.cihc-brand-type h4,
.cihc-brand-type .entry-title,
.cihc-brand-type .archive-title,
.cihc-brand-type .site-title {
	font-family: var(--cihc-serif);
	font-weight: 600;
	letter-spacing: -0.012em;
	color: var(--cihc-ink);
}

.cihc-brand-type h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); line-height: 1.14; }
.cihc-brand-type h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.22; }
.cihc-brand-type h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); line-height: 1.3; }

.cihc-brand-type .main-navigation a,
.cihc-brand-type .header-navigation a,
.cihc-brand-type .mobile-navigation a,
.cihc-brand-type .button,
.cihc-brand-type .wp-block-button__link,
.cihc-brand-type input,
.cihc-brand-type select,
.cihc-brand-type textarea,
.cihc-brand-type button {
	font-family: var(--cihc-sans);
}

/* Reading comfort inside articles and pages. */
.cihc-theme .entry-content {
	font-size: 1.0625rem;
	line-height: 1.8;
}

.cihc-theme .entry-content p {
	margin-bottom: 1.35em;
}

.cihc-theme .entry-content a:not(.button):not(.wp-block-button__link):not(.cihc-button) {
	color: var(--cihc-blue);
	text-decoration: underline;
	text-decoration-color: var(--cihc-gold);
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
	transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.cihc-theme .entry-content a:not(.button):not(.wp-block-button__link):not(.cihc-button):hover {
	color: var(--cihc-blue-deep);
	text-decoration-color: var(--cihc-blue);
}

.cihc-theme .entry-content blockquote,
.cihc-theme .wp-block-quote {
	margin: 2.2em 0;
	padding: 0.2em 0 0.2em 1.6em;
	border: 0;
	border-left: 2px solid var(--cihc-gold);
	font-family: var(--cihc-serif);
	font-style: italic;
	font-size: clamp(1.25rem, 2.4vw, 1.55rem);
	line-height: 1.55;
	color: var(--cihc-ink);
	background: none;
}

.cihc-theme .entry-content blockquote cite {
	display: block;
	margin-top: 0.8em;
	font-family: var(--cihc-sans);
	font-size: 0.8rem;
	font-style: normal;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--cihc-muted);
}

.cihc-theme .entry-content hr,
.cihc-theme .wp-block-separator {
	width: 48px;
	height: 1px;
	margin: 2.6em auto;
	border: 0;
	background: var(--cihc-gold);
}

/* A refined drop cap on the first paragraph of posts. */
.cihc-drop-cap.single-post .entry-content > p:first-of-type::first-letter {
	float: left;
	margin: 0.06em 0.12em 0 0;
	font-family: var(--cihc-serif);
	font-size: 4.1em;
	font-weight: 600;
	line-height: 0.82;
	color: var(--cihc-blue);
}

/* Shared small elements. */
.cihc-kicker {
	display: inline-block;
	font-family: var(--cihc-sans);
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.22em;
	line-height: 1.4;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--cihc-gold);
}

a.cihc-kicker:hover {
	color: var(--cihc-blue);
}

.cihc-lead {
	font-size: clamp(1.1rem, 1.8vw, 1.3rem);
	line-height: 1.7;
	color: var(--cihc-muted);
}
