/**
 * Cabinet Timbers — Utility Classes
 *
 * Single-purpose utility classes for layout and spacing.
 * Extended during the design implementation phase.
 *
 * @package Cabinet_Timbers
 * @since   1.0.0
 */

/* -------------------------------------------------------------------------
   Display
   ------------------------------------------------------------------------- */

.ct-hidden {
	display: none !important;
}

.ct-block {
	display: block;
}

.ct-flex {
	display: flex;
}

.ct-grid {
	display: grid;
}

/* -------------------------------------------------------------------------
   Spacing
   ------------------------------------------------------------------------- */

.ct-mt-0 { margin-block-start: 0; }
.ct-mb-0 { margin-block-end: 0; }
.ct-my-1 { margin-block: var(--ct-spacing-unit); }
.ct-p-1  { padding: var(--ct-spacing-unit); }

/* -------------------------------------------------------------------------
   Text
   ------------------------------------------------------------------------- */

.ct-text-center { text-align: center; }
.ct-text-left   { text-align: left; }
.ct-text-right  { text-align: right; }

.ct-sr-only {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal;
}

/* -------------------------------------------------------------------------
   Container
   ------------------------------------------------------------------------- */

.ct-container {
	width: 100%;
	max-width: var(--ct-content-max-width);
	margin-inline: auto;
	padding-inline: var(--ct-spacing-unit);
}

/* -------------------------------------------------------------------------
   Accessibility
   ------------------------------------------------------------------------- */

.screen-reader-text,
.ct-skip-link {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

.ct-skip-link:focus {
	background: #fff;
	clip: auto;
	clip-path: none;
	color: #000;
	display: block;
	font-size: 1rem;
	height: auto;
	left: 6px;
	line-height: normal;
	padding: 12px 16px;
	text-decoration: none;
	top: 6px;
	width: auto;
	z-index: 100000;
}
