/* --THEME TWEAKS-- */

.site-header {
	padding-inline: clamp(1rem, 0.848rem + 0.750vw, 1.5rem);
}

/* Site Wrapper */
.site-wrapper  {
	width: 100%;
	max-width: 1920px;
	margin-inline: auto;
	background-color: var(--base-0);
}

/* Main Content Area Height */
#main {
	min-height:65vh;
}

/* Text Balance / Pretty */

:is(h1,h2,h3,h4,h5,h6), .balance {
	margin-bottom: 0px;
}

p, blockquote, li {
	text-wrap: pretty;
}

p:last-child:last-of-type {
	margin-bottom: 0px;
}

/* Inside Post Tom Marhin H2-H6 */
.single-post :is(h2,h3,h4,h5,6) {
	margin-top: 1.5em;
}

/* --UTILITIES-- */

/* Line Limits */
.line-limit-3, .line-limit-2 {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.line-limit-3, {
	-webkit-line-clamp: 3;
}

.line-limit-2, {
	-webkit-line-clamp: 2;
}


/* Visually Hidden */
.visually-hidden:not(:focus):not(:active) {
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	height: 1px;
	overflow: hidden;
	position: absolute;
	white-space: nowrap;
	width: 1px;
}

/* Transition */
.transition{
	transition: all .25s ease-in-out;
}

/* --GP MENU ACCESSIBILITY TWEAK-- */
#site-navigation ul.sub-menu {
	display: block;
}

#site-navigation li:hover .gp-icon svg {
	transform: rotate(180deg);
}

#site-navigation li:hover .sub-menu {
	visibility: visible;
}

/* Link the Whole Card - make sure tou only have ONE link inside the card!  */ 

.stretch-link{
	position: relative;
}

.stretch-link a::after{
	content: '';
	position: absolute;
	inset: 0;
}

.stretch-link a:is(:focus-visible)::after{
	outline: 2px solid;
}

.stretch-link a:is(:hover, :focus){
	outline: none;
}