/* ==========================================================================
	TYPOGRAPHY
========================================================================== */

/* -- Base text ----------------------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	color: var(--text-primary);
	font-family: var(--font-sans);
	font-size: 1rem;
	line-height: 1.5;
}

/* -- Headings ------------------------------------------------------------ */
h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
	font-weight: 800;
	letter-spacing: -0.025em;
}

.hero-banner-heading,
.hero-banner h1 {
	font-size: clamp(2.75rem, 1.914rem + 4.18vw, 4.5rem); /* 44px → 72px */
	line-height: 1.05;
	letter-spacing: -0.025em;
}

h1 {
	font-size: clamp(2.375rem, 1.599rem + 3.88vw, 4rem); /* 38px → 64px */
	line-height: 1.08;
	letter-spacing: -0.025em;
}

h2 {
	font-size: clamp(1.875rem, 1.517rem + 1.79vw, 2.625rem); /* 30px → 42px */
	line-height: 1.12;
	letter-spacing: -0.022em;
}

h3 {
	font-size: clamp(1.5rem, 1.261rem + 1.2vw, 2rem); /* 24px → 32px */
	line-height: 1.18;
	letter-spacing: -0.018em;
}

h4 {
	font-size: clamp(1.25rem, 1.131rem + 0.6vw, 1.5rem); /* 20px → 24px */
	line-height: 1.25;
	letter-spacing: -0.01em;
}

h5 {
	font-size: 1.125rem; /* 18px */
	line-height: 1.3;
	letter-spacing: -0.005em;
}

/* -- Paragraphs & block text -------------------------------------------- */
p {
	line-height: 1.5rem;
	margin: 1rem 0;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

/* -- Inline text semantics ---------------------------------------------- */
dfn,
cite,
em,
i {
	font-style: italic;
}

abbr,
acronym {
	border-bottom: 1px dotted var(--text-muted);
	cursor: help;
}

mark,
ins {
	background: var(--yellow-tint-85);
	text-decoration: none;
}

big {
	font-size: 125%;
}

/* -- Code elements ------------------------------------------------------- */
pre,
code,
kbd,
tt,
var,
samp {
	font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

pre {
	background: var(--navy-tint-95);
	line-height: 1.6;
	margin: 0 0 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
	white-space: pre;
}

code,
kbd,
tt,
var,
samp {
	font-size: 0.95em;
}

code {
	background: var(--navy-tint-95);
	padding: 0.15em 0.35em;
	border-radius: 0.25rem;
}

pre code {
	background: transparent;
	padding: 0;
	border-radius: 0;
	font-size: 1em;
}

kbd {
	background: var(--navy);
	color: var(--white);
	border-radius: 0.25rem;
	padding: 0.1em 0.4em;
	line-height: 1;
}

var {
	font-style: italic;
}

samp {
	font-style: normal;
}

/* ==========================================================================
	ELEMENTS
========================================================================== */

/* -- Page --------------------------------------------------------------- */
body {
	background: var(--bg-page);
}

hr {
	background-color: var(--border-default);
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

/* -- Lists -------------------------------------------------------------- */
ul,
ol {
	margin: 0 0 1.5em 3em;
	padding: 0;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

/* -- Definition lists --------------------------------------------------- */
dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

/* -- Embedded media ----------------------------------------------------- */
/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

/* -- Images & figures --------------------------------------------------- */
img {
	height: auto;
	max-width: 100%;
}

figure {
	margin: 1em 0;
}

/* -- Tables ------------------------------------------------------------- */
table {
	margin: 0 0 1.5em;
	width: 100%;
}

/* ==========================================================================
	LINKS
========================================================================== */

a {
	color: var(--link);
}

a:visited {
	color: var(--link);
}

a:hover,
a:focus,
a:active {
	color: var(--link-hover);
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

/* ==========================================================================
	FORMS
========================================================================== */

/* -- Buttons ------------------------------------------------------------ */
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 2px solid var(--navy-100);
	border-radius: 9999px;
	background: var(--btn-primary-bg);
	color: var(--btn-primary-text);
	text-decoration: none;
	line-height: 1;
	padding: .5rem 1rem;
	font-weight: 600;
	transition:
		background-color 0.2s ease,
		border-color 0.2s ease,
		color 0.2s ease,
		box-shadow 0.2s ease,
		transform 0.2s ease;
}

.button:hover,
button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	background: var(--btn-primary-hover-bg);
	border-color: var(--navy-100);
	color: var(--navy-100);
}

.button:focus-visible,
button:focus-visible,
input[type="button"]:focus-visible,
input[type="reset"]:focus-visible,
input[type="submit"]:focus-visible {
	outline: 2px solid var(--focus-ring);
	outline-offset: 3px;
	background: var(--btn-primary-hover-bg);
	border-color: var(--navy-100);
	color: var(--navy-100);
}

.button:active,
button:active,
input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
	background: var(--btn-primary-active-bg);
	border-color: var(--navy-100);
	color: var(--navy-100);
	transform: translateY(1px);
}

/* -- Secondary button (navy fill) -------------------------------------- */
.button-secondary {
	border: 2px solid var(--navy-100);
	border-radius: 9999px;
	background: var(--navy-100);
	color: var(--white);
	text-decoration: none;
	line-height: 1;
	padding: .5rem 1rem;
	font-weight: 600;
	transition:
		background-color 0.2s ease,
		border-color 0.2s ease,
		color 0.2s ease,
		box-shadow 0.2s ease,
		transform 0.2s ease;
}

.button-secondary:hover {
	background: var(--navy-tint-5);
	border-color: var(--navy-tint-5);
	color: var(--white);
}

.button-secondary:focus-visible {
	outline: 2px solid var(--focus-ring);
	outline-offset: 3px;
	background: var(--navy-tint-5);
	border-color: var(--navy-tint-5);
	color: var(--white);
}

.button-secondary:active {
	background: var(--ink-100);
	border-color: var(--ink-100);
	color: var(--white);
	transform: translateY(1px);
}

/* -- Ghost button ------------------------------------------------------- */
.button-ghost {
	border: 2px solid var(--navy-100);
	border-radius: 9999px;
	background: transparent;
	color: var(--navy-100);
	text-decoration: none;
	line-height: 1;
	padding: .5rem 1rem;
	font-weight: 600;
	transition:
		background-color 0.2s ease,
		border-color 0.2s ease,
		color 0.2s ease,
		box-shadow 0.2s ease,
		transform 0.2s ease;
}

.button-ghost:hover {
	background: var(--sand-tint-90);
	border-color: var(--navy-100);
	color: var(--navy-100);
}

.button-ghost:focus-visible {
	outline: 2px solid var(--focus-ring);
	outline-offset: 3px;
	background: var(--sand-tint-90);
	border-color: var(--navy-100);
	color: var(--navy-100);
}

.button-ghost:active {
	background: var(--sand-tint-85);
	border-color: var(--navy-100);
	color: var(--navy-100);
	transform: translateY(1px);
}

/* -- Text inputs & textarea --------------------------------------------- */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: var(--text-secondary);
	border: 1px solid var(--border-default);
	border-radius: 3px;
	padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: var(--text-primary);
}

/* -- Select ------------------------------------------------------------- */
select {
	border: 1px solid var(--border-default);
}

/* -- Textarea ----------------------------------------------------------- */
textarea {
	width: 100%;
}

/* ==========================================================================
	COMMENT / POST NAVIGATION
========================================================================== */

.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
	margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}

/* ==========================================================================
	POSTS AND PAGES
========================================================================== */

.sticky {
	display: block;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/* ==========================================================================
	COMMENTS
========================================================================== */

.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* ==========================================================================
	MEDIA
========================================================================== */

/* -- Smilies ------------------------------------------------------------ */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* -- Logo link ---------------------------------------------------------- */
/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/* ==========================================================================
	CAPTIONS
========================================================================== */

.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/* ==========================================================================
	GALLERIES
========================================================================== */

/* -- Gallery grid ------------------------------------------------------- */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

/* -- Gallery columns ---------------------------------------------------- */
.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

/* -- Captions ----------------------------------------------------------- */
.gallery-caption {
	display: block;
}

/* ==========================================================================
	ACCESSIBILITY
========================================================================== */

/* -- Screen reader text ------------------------------------------------- */
/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: var(--navy-tint-95);
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: var(--link);
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* -- Skip link target --------------------------------------------------- */
/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* ==========================================================================
	ALIGNMENTS
========================================================================== */

.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}


/* ==========================================================================
	GLOBAL SOCIAL LINKS
========================================================================== */

.global-social-links {}

.global-social-links .global-social-link {
	text-decoration: none;
	margin-left: 0.5rem;
}

.global-social-links .global-social-link .global-social-link-icon {
	font-size: 1.5rem;
	transition: transform 0.2s ease-in-out, opacity 0.2s ease-in-out;
}

/* -- Facebook ------------------------------------------------------------ */
.global-social-links .global-social-link.global-facebook-link .global-social-link-icon {
	color: var(--social-facebook);
}

/* -- Instagram ----------------------------------------------------------- */
.global-social-links .global-social-link.global-instagram-link .global-social-link-icon {
	color: var(--social-instagram);
}

/* -- Twitter / X --------------------------------------------------------- */
.global-social-links .global-social-link.global-x-twitter-link .global-social-link-icon {
	color: var(--social-x);
}

/* -- LinkedIn ------------------------------------------------------------ */
.global-social-links .global-social-link.global-linkedin-link .global-social-link-icon {
	color: var(--social-linkedin);
}

/* -- Pinterest ----------------------------------------------------------- */
.global-social-links .global-social-link.global-pinterest-link .global-social-link-icon {
	color: var(--social-pinterest);
}

/* -- YouTube ------------------------------------------------------------- */
.global-social-links .global-social-link.global-youtube-link .global-social-link-icon {
	color: var(--social-youtube);
}

/* -- States -------------------------------------------------------------- */
.global-social-links .global-social-link:first-of-type {
	margin-left: 0;
}

.global-social-links .global-social-link:hover .global-social-link-icon,
.global-social-links .global-social-link:focus .global-social-link-icon {
	transform: translateY(-1px);
	opacity: 0.85;
}