/*
 * Main custom CSS for the Kadence Child theme.
 * This file holds theme-level design tokens and homepage-ready base styles.
 */

:root {
	--dhf-font-display: "Bricolage Grotesque", sans-serif;
	--dhf-font-body: "Inter", sans-serif;
	--dhf-color-accent: #ff760a;
	--dhf-color-action: #e9521c;
	--dhf-color-accent-soft: #ffe7d4;
	--dhf-color-text: #4a4a47;
	--dhf-color-heading: #2d3748;
	--dhf-color-muted: #4a5568;
	--dhf-color-border: #e3e3e3;
	--dhf-color-surface: #ededed;
	--dhf-color-paper: #ffffff;
	--dhf-content-width: min(1200px, calc(100vw - 48px));
	--dhf-shadow-soft: 0 18px 45px rgba(45, 55, 72, 0.08);
	--dhf-radius-card: 24px;
	--dhf-transition: 220ms ease;
}

body {
	color: var(--dhf-color-text);
	font-family: var(--dhf-font-body);
	background: var(--dhf-color-paper);
	font-size: 18px;
	line-height: 1.7;
	text-rendering: optimizeLegibility;
}

a {
	color: var(--dhf-color-accent);
	text-decoration-thickness: 0.08em;
	text-underline-offset: 0.12em;
	transition: color var(--dhf-transition);
}

a:hover,
a:focus {
	color: var(--dhf-color-heading);
}

h1,
h2,
h3,
h4,
h5,
h6,
.entry-title,
.wp-block-post-title,
.site-title,
.site-description {
	color: var(--dhf-color-heading);
	font-family: var(--dhf-font-display);
	font-style: normal;
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1.08;
	text-wrap: balance;
}

h1,
.wp-block-post-title,
.entry-title {
	font-size: clamp(2.6rem, 4vw, 4.75rem);
}

h2 {
	font-size: clamp(2.1rem, 3vw, 3.4rem);
}

h3 {
	font-size: clamp(1.7rem, 2.2vw, 2.5rem);
}

h4 {
	font-size: clamp(1.35rem, 1.8vw, 2rem);
}

h5 {
	font-size: clamp(1.15rem, 1.6vw, 1.5rem);
}

h6 {
	font-family: var(--dhf-font-body);
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 1.3;
	text-transform: uppercase;
}

p,
li,
blockquote,
.entry-content {
	color: var(--dhf-color-text);
}

strong,
b {
	color: var(--dhf-color-heading);
}

img {
	height: auto;
	max-width: 100%;
}

button,
.button,
.wp-block-button__link,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	font-family: var(--dhf-font-display);
	font-weight: 700;
	transition:
		transform var(--dhf-transition),
		box-shadow var(--dhf-transition),
		filter var(--dhf-transition);
}

button:hover,
.button:hover,
.wp-block-button__link:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	transform: translateY(-1px);
}

::selection {
	color: var(--dhf-color-heading);
	background: var(--dhf-color-accent-soft);
}

.site-main,
.content-area {
	overflow-wrap: anywhere;
}

.home .kb-row-layout-id340_ef4a37-0f > .kt-row-column-wrap {
	align-items: center;
	display: grid;
	gap: clamp(2rem, 5vw, 5.5rem);
	grid-template-columns: minmax(280px, 0.9fr) minmax(360px, 1.1fr);
	margin-inline: auto;
	max-width: var(--dhf-content-width);
	min-height: auto;
	padding-block: clamp(4rem, 7vw, 7rem) clamp(3rem, 5vw, 5rem);
}

.home .kb-row-layout-id340_ef4a37-0f > .kt-row-column-wrap > p {
	display: none;
}

.home .kadence-column340_933a39-2e,
.home .kt-inside-inner-col > .kadence-column340_933a39-2e:not(.specificity) {
	grid-column: 2;
	grid-row: 1;
	margin: 0;
}

.home .kadence-column340_e0addb-39 {
	align-self: stretch;
	display: block;
	grid-column: 1;
	grid-row: 1;
	min-width: 0;
}

.home .kadence-column340_6713bb-e9 {
	display: none;
}

.home .kadence-column340_e0addb-39 > .kt-inside-inner-col {
	aspect-ratio: 563 / 793;
	background-image: url("/wp-content/themes/DESIGNHISTORYFORUM-ORG/assets/images/hero-left-poster.webp") !important;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: contain;
	display: block;
	min-height: clamp(460px, 60vw, 760px);
	width: 100%;
}

.home .kadence-column340_e0addb-39 .wp-block-kadence-image,
.home .kadence-column340_e0addb-39 figure {
	display: none;
}

.home .wp-block-kadence-image.kb-image340_3371f5-8b:not(.kb-specificity-added):not(.kb-extra-specificity-added) {
	margin: 0;
}

.home .wp-block-kadence-image.kb-image340_3371f5-8b {
	position: relative;
	z-index: 1;
}

.home .kb-image340_3371f5-8b .kb-is-ratio-image {
	aspect-ratio: 4 / 5;
}

.home .kb-image340_3371f5-8b img {
	height: 100%;
	object-fit: cover;
	object-position: center;
	width: 100%;
}

.home .wp-block-kadence-image.kb-image340_77740a-f5 {
	display: none;
}

.home .kt-adv-heading340_2cfe6c-80,
.home .kt-adv-heading340_2cfe6c-80[data-kb-block="kb-adv-heading340_2cfe6c-80"] {
	--dhf-hero-wdth: 100;
	--dhf-hero-stretch: 100%;
	font-stretch: var(--dhf-hero-stretch);
	font-variation-settings: "wdth" var(--dhf-hero-wdth), "wght" 800;
	transition: font-variation-settings 140ms ease-out, font-stretch 140ms ease-out;
	will-change: font-variation-settings;
}

@media (prefers-reduced-motion: reduce) {
	.home .kt-adv-heading340_2cfe6c-80,
	.home .kt-adv-heading340_2cfe6c-80[data-kb-block="kb-adv-heading340_2cfe6c-80"] {
		transition: none;
	}
}

.home .kb-row-layout-id340_24e797-25 .wp-block-kadence-column > .kt-inside-inner-col {
	cursor: pointer;
	position: relative;
	transform: translate3d(0, 0, 0);
	transform-origin: center;
	transition:
		transform 180ms ease,
		box-shadow 180ms ease,
		filter 180ms ease,
		background-color 180ms ease;
	will-change: transform, box-shadow;
}

.home .kb-row-layout-id340_24e797-25 .wp-block-kadence-column > .kt-inside-inner-col::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}

.home .kb-row-layout-id340_24e797-25 .wp-block-kadence-column > .kt-inside-inner-col > * {
	position: relative;
	z-index: 2;
}

.home .kb-row-layout-id340_24e797-25 .wp-block-kadence-column:hover > .kt-inside-inner-col,
.home .kb-row-layout-id340_24e797-25 .wp-block-kadence-column:focus-within > .kt-inside-inner-col,
.home .kb-row-layout-id340_24e797-25 .wp-block-kadence-column.is-hovered > .kt-inside-inner-col {
	box-shadow: 9px 9px 0 0 #000000;
	filter: saturate(1.03);
	transform: translate3d(6px, 6px, 0);
}

.home .kb-row-layout-id340_24e797-25 .wp-block-kadence-column.is-pressed > .kt-inside-inner-col,
.home .kb-row-layout-id340_24e797-25 .wp-block-kadence-column:active > .kt-inside-inner-col {
	box-shadow: 3px 3px 0 0 #000000;
	transform: translate3d(12px, 12px, 0);
}

.home .kb-row-layout-id340_24e797-25 .wp-block-kadence-column.dhf-clickable-card:focus-visible > .kt-inside-inner-col {
	outline: 3px solid var(--dhf-color-heading);
	outline-offset: 6px;
}

.home .entry-content .wp-block-kadence-advancedbtn .kb-button.wp-block-kadence-singlebtn {
	align-items: center;
	border: 3px solid #111111 !important;
	border-radius: 0;
	box-shadow: 14px 14px 0 0 #111111 !important;
	display: inline-flex;
	font-family: var(--dhf-font-display);
	font-weight: 700;
	gap: 0.35rem;
	justify-content: center;
	padding: 0.72rem 1.35rem;
	position: relative;
	text-decoration: none;
	text-transform: none;
	transform: translate3d(0, 0, 0);
	transform-origin: center;
	transition:
		transform 180ms ease,
		box-shadow 180ms ease,
		filter 180ms ease,
		color 180ms ease,
		background-color 180ms ease;
	will-change: transform, box-shadow;
}

.home .entry-content .wp-block-kadence-advancedbtn .kb-button.wp-block-kadence-singlebtn:hover,
.home .entry-content .wp-block-kadence-advancedbtn .kb-button.wp-block-kadence-singlebtn:focus {
	box-shadow: 8px 8px 0 0 #111111 !important;
	filter: saturate(1.03);
	transform: translate3d(6px, 6px, 0);
}

.home .entry-content .wp-block-kadence-advancedbtn .kb-button.wp-block-kadence-singlebtn:active {
	box-shadow: 3px 3px 0 0 #111111 !important;
	transform: translate3d(11px, 11px, 0);
}

.home .entry-content .wp-block-kadence-advancedbtn .kb-button.wp-block-kadence-singlebtn:focus-visible {
	outline: 3px solid var(--dhf-color-heading);
	outline-offset: 5px;
}

.home .entry-content .wp-block-kadence-advancedbtn .kb-button.kb-btn-global-inherit.wp-block-kadence-singlebtn {
	background: var(--dhf-color-action);
	color: var(--dhf-color-paper);
}

.home .entry-content .wp-block-kadence-advancedbtn .kb-button.kb-btn-global-inherit.wp-block-kadence-singlebtn:hover,
.home .entry-content .wp-block-kadence-advancedbtn .kb-button.kb-btn-global-inherit.wp-block-kadence-singlebtn:focus,
.home .entry-content .wp-block-kadence-advancedbtn .kb-button.kb-btn-global-inherit.wp-block-kadence-singlebtn:active {
	background: var(--dhf-color-action);
	color: var(--dhf-color-paper);
}

.home .entry-content .wp-block-kadence-advancedbtn .kb-button.kb-btn-global-outline.wp-block-kadence-singlebtn {
	background: var(--dhf-color-action);
	color: var(--dhf-color-paper);
}

.home .entry-content .wp-block-kadence-advancedbtn .kb-button.kb-btn-global-outline.wp-block-kadence-singlebtn:hover,
.home .entry-content .wp-block-kadence-advancedbtn .kb-button.kb-btn-global-outline.wp-block-kadence-singlebtn:focus,
.home .entry-content .wp-block-kadence-advancedbtn .kb-button.kb-btn-global-outline.wp-block-kadence-singlebtn:active {
	background: var(--dhf-color-action);
	color: var(--dhf-color-paper);
}

.home .entry-content .wp-block-kadence-advancedbtn .kb-button .kt-btn-inner-text {
	position: relative;
	top: 1px;
}

.single-post .dhf-article-tools {
	border-top: 1px solid rgba(45, 55, 72, 0.12);
	display: flex;
	flex-wrap: wrap;
	gap: 2rem 3rem;
	justify-content: space-between;
	margin: 0 0 clamp(2rem, 5vw, 3rem);
	padding-top: 1.15rem;
	position: relative;
}

.single-post .dhf-article-tools__group {
	flex: 1 1 340px;
	min-width: 0;
}

.single-post .dhf-article-tools__group--share {
	align-items: flex-end;
	display: flex;
	flex-direction: column;
}

.single-post .dhf-article-tools__label {
	color: var(--dhf-color-muted);
	font-family: var(--dhf-font-body);
	font-size: 1rem;
	margin: 0 0 0.85rem;
}

.single-post .dhf-article-tools__actions {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.single-post .dhf-article-tools__chip {
	align-items: center;
	background: transparent;
	border: 0;
	box-shadow: none;
	color: var(--dhf-color-heading);
	display: inline-flex;
	justify-content: center;
	min-height: 2.75rem;
	min-width: 2.75rem;
	padding: 0;
	text-decoration: none;
	transition:
		transform 180ms ease,
		background-color 180ms ease,
		color 180ms ease;
}

.single-post .dhf-article-tools__chip:hover,
.single-post .dhf-article-tools__chip:focus-visible {
	background: rgba(45, 55, 72, 0.05);
	border-radius: 999px;
	color: var(--dhf-color-action);
	outline: none;
	transform: translateY(-1px);
}

.single-post .dhf-article-tools__badge {
	align-items: center;
	border: 2px solid currentColor;
	border-radius: 999px;
	display: inline-flex;
	height: 4.1rem;
	justify-content: center;
	line-height: 1;
	min-width: 4.1rem;
	padding-inline: 0.9rem;
	text-transform: none;
}

.single-post .dhf-article-tools__icon {
	display: block;
	height: 1.55rem;
	max-width: 1.85rem;
	width: auto;
}

.single-post .dhf-article-tools__chip--share .dhf-article-tools__badge {
	font-family: var(--dhf-font-body);
	font-size: 0.82rem;
	font-weight: 700;
	height: 4.1rem;
	letter-spacing: -0.01em;
	min-width: 4.1rem;
}

.single-post .dhf-article-tools__hint {
	color: var(--dhf-color-muted);
	font-size: 0.92rem;
	margin: 0.9rem 0 0;
	max-width: 34rem;
}

.single-post .dhf-article-tools__toast {
	background: #111111;
	border-radius: 999px;
	bottom: -0.5rem;
	color: #ffffff;
	font-size: 0.88rem;
	opacity: 0;
	padding: 0.65rem 0.95rem;
	position: absolute;
	right: 0;
	transform: translateY(100%);
	transition: opacity 180ms ease, transform 180ms ease;
}

.single-post .dhf-article-tools__toast.is-visible {
	opacity: 1;
	transform: translateY(110%);
}

.single-post .wp-block-kadence-advancedgallery .splide__pagination {
	display: none !important;
}

.single-post .entry-related-carousel .splide__pagination {
	flex-wrap: nowrap !important;
	gap: 0.45rem;
	justify-content: center;
	overflow: hidden;
}

.single-post .entry-related-carousel .splide__pagination li {
	flex: 0 0 auto;
	margin: 0 !important;
}

.single-post .entry-related-carousel .splide__pagination__page {
	height: 0.82rem;
	margin: 0 !important;
	width: 0.82rem;
}

@media (prefers-reduced-motion: reduce) {
	.home .kb-row-layout-id340_24e797-25 .wp-block-kadence-column > .kt-inside-inner-col {
		transition: none;
	}

	.home .entry-content .wp-block-kadence-advancedbtn .kb-button.wp-block-kadence-singlebtn {
		transition: none;
	}

	.single-post .dhf-article-tools__chip,
	.single-post .dhf-article-tools__toast {
		transition: none;
	}
}

@media (max-width: 1024px) {
	.home .kb-row-layout-id340_ef4a37-0f > .kt-row-column-wrap {
		gap: 2.5rem;
		grid-template-columns: 1fr;
		padding-inline: 1.5rem;
	}

	.home .kadence-column340_933a39-2e,
	.home .kt-inside-inner-col > .kadence-column340_933a39-2e:not(.specificity),
	.home .kadence-column340_e0addb-39 {
		grid-column: 1;
	}

	.home .kadence-column340_e0addb-39 {
		grid-row: 1;
	}

	.home .kadence-column340_933a39-2e,
	.home .kt-inside-inner-col > .kadence-column340_933a39-2e:not(.specificity) {
		grid-row: 2;
	}

	.home .kadence-column340_e0addb-39 > .kt-inside-inner-col {
		min-height: clamp(360px, 78vw, 620px);
	}

	.home .kb-image340_3371f5-8b .kb-is-ratio-image {
		aspect-ratio: 16 / 11;
	}

	.single-post .dhf-article-tools__group--share {
		align-items: flex-start;
	}
}

@media (max-width: 767px) {
	body {
		font-size: 17px;
	}

	.home .kb-row-layout-id340_ef4a37-0f > .kt-row-column-wrap {
		padding-block: 3rem;
	}

	.single-post .dhf-article-tools {
		gap: 1.4rem;
	}

	.single-post .dhf-article-tools__toast {
		left: 0;
		right: auto;
	}
}
