/* -- THEME TWEAKS -- */

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

/* Text Balance / Pretty */

:is(h1, h2, h3, h4, h5, h6), .uc-balance {
	text-wrap: balance;
}

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

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

/* -- UTILITIES -- */

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

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

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

/* Visually Hidden */
.uc-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*/

.uc-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;
}

/* -- MAKE CARD COMPLETELY CLICKABLE -- */ 
/* Tutorial: https://youtu.be/HBriBrnRlQE?si=DLiSXEiBHt6lw91l */ 
/* Make sure you only have ONE link inside your card or this will not work!  */ 

.uc-stretch-link{
	position: relative;
}

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

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

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

/*CSS variables*/
:root {
    /* --- FLUID SPACING (Responsiveness built-in) --- */
    /* Mobile value, Scaling factor, Desktop value */
    --space-xs: clamp(0.5rem, 1vw, 0.75rem);   /* ~8px-12px (Tiny gaps) */
    --space-s:  clamp(1rem, 2vw, 1.5rem);      /* ~16px-24px (Card padding) */
    --space-m:  clamp(2rem, 4vw, 3rem);        /* ~32px-48px (Standard gaps) */
    --space-l:  clamp(4rem, 6vw, 6rem);        /* ~64px-96px (Section spacing) */
    --space-xl: clamp(6rem, 8vw, 9rem);        /* ~96px-144px (Hero spacing) */

    /* --- BORDERS & RADIUS --- */
    --radius-s: 4px;
    --radius-m: 8px;
    --radius-l: 16px;
    
    /* --- SHADOWS --- */
    --shadow-card: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}


.uc-twmt-theme-dark {
    /* Don't set a background color here! Just control the text. */
    color: #ffffff;
}

.twmt-theme-dark h1,
.twmt-theme-dark h2,
.twmt-theme-dark h3,
.twmt-theme-dark h4,
.twmt-theme-dark h5,
.twmt-theme-dark h6,
.twmt-theme-dark p,
.twmt-theme-dark li {
    color: #ffffff;
}
