/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.2
*/

/* Sticky sidebar/column */
.sticky-col {
  position: sticky;
  top: 100px;      /* adjust for your header height */
  align-self: flex-start;
}
/* Fluid Typography Scale */

h1, .fs-h1 {
	font-size: clamp(3rem, 2.7273rem + 1.0909vw, 3.6rem);
}

h2, .fs-h2 {
	font-size: clamp(2.25rem, 2.0455rem + 0.8182vw, 2.7rem);
}

h3, .fs-h3 {
	font-size: clamp(1.875rem, 1.7045rem + 0.6818vw, 2.25rem);
}

h4, .fs-h4 {
	font-size: clamp(1.5rem, 1.3636rem + 0.5455vw, 1.8rem);
}

h5, .fs-h5 {
	font-size: clamp(1.25rem, 1.1364rem + 0.4545vw, 1.5rem);
}

h6, .fs-h6 {
	font-size: clamp(1.125rem, 1.0227rem + 0.4091vw, 1.35rem);
}

p, .fs-p {
	font-size: clamp(0.8333rem, 0.7576rem + 0.303vw, 1rem);
}
/* Borrowed from Bootstrap */ 
/* Tutorial: https://youtu.be/HBriBrnRlQE?si=DLiSXEiBHt6lw91l */ 
/* Make sure you only have ONE link inside your card 😅 or this will not work!  */ 

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

/* ==========================================================================
   V2 Design System
   ========================================================================== */

:root {
	--v2-primary: #3A43D1;
	--v2-dark-navy: #131954;
	--v2-dark-section: #0F1225;
	--v2-body-text: #3D3D4E;
	--v2-muted: #6B7280;
	--v2-light-border: #E5E7EB;
	--v2-surface: #F7F8FA;
	--v2-white: #FFFFFF;
	--v2-radius-sm: 8px;
	--v2-radius-md: 12px;
	--v2-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
	--v2-shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Header overrides */
.site-header {
	border-bottom: 1px solid var(--v2-light-border);
}

/* Navigation CTA button (last menu item) */
.main-navigation .menu > li:last-child > a {
	background-color: var(--v2-primary);
	color: var(--v2-white) !important;
	padding: 10px 24px;
	border-radius: var(--v2-radius-sm);
	font-weight: 600;
	font-size: 14px;
	transition: opacity 0.2s ease;
}

.main-navigation .menu > li:last-child > a:hover {
	opacity: 0.9;
}

/* Card utility */
.v2-card {
	background: var(--v2-white);
	border: 1px solid var(--v2-light-border);
	border-radius: var(--v2-radius-md);
	padding: 32px;
}

.v2-card-shadow {
	background: var(--v2-white);
	border-radius: var(--v2-radius-md);
	box-shadow: var(--v2-shadow-sm);
}

/* Button base */
.v2-btn {
	display: inline-block;
	background-color: var(--v2-primary);
	color: var(--v2-white);
	padding: 14px 32px;
	border-radius: var(--v2-radius-sm);
	font-family: 'Poppins', sans-serif;
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
	transition: opacity 0.2s ease;
	cursor: pointer;
}

.v2-btn:hover {
	opacity: 0.9;
	color: var(--v2-white);
}

.v2-btn-outline {
	display: inline-block;
	background-color: transparent;
	color: var(--v2-primary);
	padding: 14px 32px;
	border: 1.5px solid var(--v2-primary);
	border-radius: var(--v2-radius-sm);
	font-family: 'Poppins', sans-serif;
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
	transition: all 0.2s ease;
}

.v2-btn-outline:hover {
	background-color: var(--v2-primary);
	color: var(--v2-white);
}

/* Section label */
.v2-label {
	font-family: 'Poppins', sans-serif;
	font-size: 14px;
	font-weight: 600;
	color: var(--v2-primary);
	text-transform: uppercase;
	letter-spacing: 2px;
}

/* Section utilities */
.v2-section-gray {
	background-color: var(--v2-surface);
}

.v2-section-dark {
	background-color: var(--v2-dark-section);
	color: var(--v2-white);
}

/* Footer bar (copyright) */
.site-footer .footer-bar {
	background-color: var(--v2-surface);
	border-top: 1px solid var(--v2-light-border);
	font-size: 13px;
	color: #9CA3AF;
}

.site-footer .footer-bar a {
	color: #9CA3AF;
}