/**
 * Main Stylesheet
 * 
 * Global styles and base styles for the Tabcom Group theme.
 *
 * @package TabcomGroup
 */

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

body {
	margin: 0;
	padding: 0;
	font-family: var(--wp--preset--font-family--system);
	font-size: var(--wp--preset--font-size--base);
	line-height: 1.6;
	color: var(--wp--preset--color--primary);
	background-color: var(--wp--preset--color--white);
}

/* ==========================================================================
   Typography
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
	margin: 0 0 1rem;
	font-weight: 700;
	line-height: 1.2;
	color: var(--wp--preset--color--primary);
}

p {
	margin: 0 0 1rem;
}

a {
	color: var(--wp--preset--color--accent);
	text-decoration: none;
	transition: color 0.3s ease;
}

a:hover,
a:focus {
	color: var(--wp--preset--color--primary);
	text-decoration: underline;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

/* ==========================================================================
   Layout
   ========================================================================== */

.site {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

.site-main {
	flex: 1;
}

/* ==========================================================================
   Accessibility
   ========================================================================== */

.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

.skip-link {
	left: -9999px;
	position: absolute;
	top: 2.5rem;
	z-index: 999999;
}

.skip-link:focus {
	left: 6px;
}

/* ==========================================================================
   Utilities
   ========================================================================== */

.container {
	width: 100%;
	max-width: var(--wp--custom--containerWidth, 1200px);
	margin: 0 auto;
	padding: 0 var(--wp--preset--spacing--md, 1rem);
}

.container-wide {
	max-width: var(--wp--custom--containerWideWidth, 1400px);
}



