/* ============================================================
   Design Club — Base reset & typography
   ============================================================ */

*,
*::before,
*::after {
	box-sizing: border-box;
	border: 0 solid var(--dc-border);
}

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
	font-feature-settings: 'cv11', 'ss01';
}

body {
	margin: 0;
	background-color: var(--dc-background);
	color: var(--dc-foreground);
	font-family: var(--dc-font-sans);
	font-weight: var(--dc-fw-regular);
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0;
	font-family: var(--dc-font-sans);
	font-weight: var(--dc-fw-semibold);
	letter-spacing: -0.025em;
	line-height: 1.1;
	color: var(--dc-charcoal);
}

p {
	margin: 0;
}

a {
	color: inherit;
	text-decoration: none;
	transition: color 0.2s ease;
}

button {
	font-family: inherit;
	cursor: pointer;
	border: 0;
	background: transparent;
	padding: 0;
	color: inherit;
}

img,
svg,
video {
	max-width: 100%;
	display: block;
}

::selection {
	background-color: var(--dc-terracotta);
	color: var(--dc-white);
}

::-webkit-scrollbar {
	width: 6px;
	height: 6px;
}
::-webkit-scrollbar-track {
	background: transparent;
}
::-webkit-scrollbar-thumb {
	background: #d1d1d6;
	border-radius: 3px;
}

input,
select,
textarea {
	font-family: inherit;
	font-size: inherit;
	color: inherit;
}

input:focus,
select:focus,
textarea:focus {
	outline: none;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.dc-skip-link {
	position: absolute;
	top: -40px;
	left: 0;
	background: var(--dc-charcoal);
	color: var(--dc-white);
	padding: 8px;
	z-index: 200;
}

.dc-skip-link:focus {
	top: 0;
}

/* Canvas template body */
body.dc-canvas {
	background: var(--dc-off-white);
}

/* ============================================================
   Elementor compatibility — full-bleed sections for Design Club widgets
   The Design Club widgets are designed to span the full viewport.
   Elementor's defaults wrap them in 1140px-max containers; reset that.
   ============================================================ */
body.dc-body .elementor-container,
body.dc-body .elementor-row,
body.dc-body .elementor-column,
body.dc-body .elementor-widget-wrap {
	max-width: 100% !important;
	width: 100% !important;
}

body.dc-body .elementor-widget-container {
	padding: 0 !important;
}

body.dc-body .elementor-section {
	padding: 0 !important;
}

/* ============================================================
   Legacy theme leftovers — hide popups & containers from the old
   Salient/WPBakery install that could leak onto the new home.
   ============================================================ */
body.dc-home .pum-overlay,
body.dc-home .vc_row,
body.dc-home .row-bg-wrap {
	display: none !important;
}
