/* theme tweaks */
/*line-camp for getting 2 lines only */
.line-clamp {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.site-header {
	padding-inline : clamp(1rem, 0.848rem + 0.758w, 1.5rem);
}
/* text balance / pretty */

:is(h1, h2 h3,h4,h5,h6), .balance{
	text-wrap: balance;
}
p, blockquote, li {
	text-wrap: pretty;
	
}

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

/* Uitilities */

/*line limits*/
.line-limit-3, .line-limit2 {
	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;
	white-space: nowrap;
	width: 1px;
	
}


/* transitions */
.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;
}