/*
 * WebSolex theme: design tokens, base styles and shared components.
 * Values come from the approved Figma frames (desktop 1920 px, mobile 402 px).
 * Fluid sizes scale linearly between those two widths.
 */

/* ------------------------------------------------------------------ Tokens */
:root {
	--c-primary: #54a2d9;
	--c-primary-dark: #3c85b9;
	--c-text: #53575c;
	--c-text-muted: #4b5563;
	--c-heading: #272727;
	--c-black: #000;
	--c-white: #fff;
	--c-grey: #9a9a9a;
	--c-line: #a3a3a3;
	--c-header: #e6f0f7;
	--c-tint: #f2f9ff;
	--c-star: #ffac33;

	--f-body: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--f-head: 'Mukta', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--f-display: 'Poiret One', var(--f-head);
	--f-alt: 'Rubik', var(--f-body);
	--f-small: 'Poppins', var(--f-body);

	/* Fluid type: first value at 402 px wide, last at 1920 px. */
	--fs-badge: clamp(11px, 10.21px + 0.198vw, 14px);
	--fs-small: clamp(14px, 13.47px + 0.132vw, 16px);
	--fs-body: clamp(13px, 11.68px + 0.329vw, 18px);
	--fs-btn: clamp(14px, 12.94px + 0.264vw, 18px);
	--fs-card-title: clamp(18px, 16.41px + 0.395vw, 24px);
	--fs-h3: clamp(22px, 17.23px + 1.186vw, 40px);
	--fs-h2: clamp(25px, 18.38px + 1.647vw, 50px);

	--container: 1440px;
	--gutter: 16px;
	--section-y: clamp(50px, 34.11px + 3.953vw, 110px);
	--radius-card: 14px;
	--radius-pill: 63px;
	--shadow-soft: 0 4px 250px rgba(0, 0, 0, 0.1);
	--ease: cubic-bezier(0.22, 0.61, 0.36, 1);
	--header-h: 52px;
}

@media (min-width: 1100px) {
	:root {
		--header-h: 96px;
	}
}

/* ------------------------------------------------------------------- Reset */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-padding-top: calc(var(--header-h) + 16px);
}

@media (prefers-reduced-motion: no-preference) {
	html {
		scroll-behavior: smooth;
	}
}

body {
	margin: 0;
	font-family: var(--f-body);
	font-size: var(--fs-body);
	font-optical-sizing: auto;
	line-height: 1.514;
	color: var(--c-text);
	background: var(--c-white);
	overflow-x: clip;
}

img,
svg {
	display: block;
	max-width: 100%;
}

img {
	height: auto;
}

h1,
h2,
h3,
h4 {
	margin: 0;
	font-family: var(--f-head);
	font-weight: 500;
	line-height: 1.2;
	color: var(--c-black);
}

p,
ul,
ol,
dl,
dd,
figure,
blockquote {
	margin: 0;
}

ul,
ol {
	padding: 0;
	list-style: none;
}

a {
	color: inherit;
	text-decoration: none;
}

a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
	outline: 2px solid var(--c-primary);
	outline-offset: 3px;
	border-radius: 4px;
}

button {
	font: inherit;
	color: inherit;
	background: none;
	border: 0;
	padding: 0;
	cursor: pointer;
}

address {
	font-style: normal;
}

/* --------------------------------------------------------------- Utilities */
.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link {
	position: absolute;
	top: 8px;
	left: 8px;
	z-index: 1000;
	padding: 10px 18px;
	background: var(--c-black);
	color: var(--c-white);
	border-radius: var(--radius-pill);
	transform: translateY(-200%);
}

.skip-link:focus {
	transform: none;
}

.container {
	width: min(100% - 2 * var(--gutter), var(--container));
	margin-inline: auto;
}

.u-accent {
	color: var(--c-primary);
}

/* Faint square grid patches that sit behind several sections (Figma "Mask group"). */
.grid-patch {
	position: absolute;
	z-index: 0;
	width: 480px;
	height: 480px;
	pointer-events: none;
	background-image:
		linear-gradient(to right, #e5e5e5 1px, transparent 1px),
		linear-gradient(to bottom, #e5e5e5 1px, transparent 1px);
	background-size: 23.8px 23.8px;
	-webkit-mask-image: radial-gradient(closest-side, #000 0%, rgba(0, 0, 0, 0.45) 45%, transparent 100%);
	mask-image: radial-gradient(closest-side, #000 0%, rgba(0, 0, 0, 0.45) 45%, transparent 100%);
	opacity: 0.8;
}

@media (max-width: 767px) {
	.grid-patch {
		display: none;
	}
}

/* ------------------------------------------------------------------- Badge */
.badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 32px;
	padding: 4px 18px;
	font-family: var(--f-body);
	font-size: var(--fs-badge);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.01em;
	color: var(--c-white);
	background: var(--c-primary);
	border-radius: 22px;
}

@media (max-width: 767px) {
	.badge {
		min-height: 26px;
		padding-inline: 14px;
	}
}

/* -------------------------------------------------------- Section heading */
.section-head {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: clamp(10px, 8px + 0.5vw, 18px);
	text-align: center;
}

.section-head__title {
	font-size: var(--fs-h2);
	font-weight: 500;
	line-height: 1.2;
	color: var(--c-black);
	max-width: 32ch;
}

.section-head__title,
.section-head__subtitle {
	text-wrap: balance;
}

.section-head__subtitle {
	max-width: 1044px;
	font-size: var(--fs-body);
	color: var(--c-text);
}

@media (max-width: 767px) {
	.section-head__title {
		max-width: none;
	}
}

/* ----------------------------------------------------------------- Buttons */
.btn-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: clamp(10px, 6px + 0.6vw, 16px);
}

.btn {
	--btn-bg: var(--c-black);
	--btn-fg: var(--c-white);
	--btn-border: var(--btn-bg);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: clamp(33px, 30.27px + 0.68vw, 46px);
	padding: 6px clamp(14px, 11.9px + 0.53vw, 22px);
	font-family: var(--f-body);
	font-size: var(--fs-btn);
	font-weight: 600;
	line-height: 1.2;
	white-space: nowrap;
	color: var(--btn-fg);
	background: var(--btn-bg);
	border: 1px solid var(--btn-border);
	border-radius: var(--radius-pill);
	transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(84, 162, 217, 0.25);
}

.btn:active {
	transform: none;
}

.btn__icon {
	flex: none;
	width: 1em;
	height: 1em;
	transform: rotate(90deg);
	transition: transform 0.25s var(--ease);
}

.btn:hover .btn__icon {
	transform: rotate(90deg) translateY(-3px);
}

.btn--dark:hover {
	--btn-bg: #1d1d1d;
}

.btn--primary {
	--btn-bg: var(--c-primary);
	font-weight: 600;
}

.btn--primary:hover {
	--btn-bg: var(--c-primary-dark);
}

.btn--outline {
	--btn-bg: transparent;
	--btn-fg: var(--c-primary);
	--btn-border: var(--c-primary);
	font-weight: 500;
}

.btn--outline:hover {
	--btn-bg: var(--c-primary);
	--btn-fg: var(--c-white);
}

.btn--outline-dark {
	--btn-bg: transparent;
	--btn-fg: var(--c-black);
	--btn-border: var(--c-black);
	font-weight: 500;
}

.btn--outline-dark:hover {
	--btn-bg: var(--c-black);
	--btn-fg: var(--c-white);
}

.btn--light {
	--btn-bg: var(--c-white);
	--btn-fg: var(--c-black);
	font-weight: 500;
}

.btn--light:hover {
	--btn-bg: var(--c-black);
	--btn-fg: var(--c-white);
	--btn-border: var(--c-black);
}

/* ------------------------------------------------------------------ Header */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--c-header);
	transition: box-shadow 0.3s var(--ease);
}

.admin-bar .site-header {
	top: var(--wp-admin--admin-bar--height, 32px);
}

@media (max-width: 600px) {
	.admin-bar .site-header {
		top: 0;
	}
}

.site-header.is-scrolled {
	box-shadow: 0 6px 24px rgba(39, 39, 39, 0.08);
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: var(--header-h);
	gap: 24px;
}

.site-header__logo img {
	width: clamp(120px, 98px + 5.4vw, 205px);
	height: auto;
}

.nav-toggle {
	display: inline-flex;
	color: var(--c-primary);
	margin-right: -4px;
}

.nav-toggle__icon {
	width: 38px;
	height: 38px;
}

.site-header__cta {
	display: none;
}

/* Mobile navigation drawer. */
.site-nav {
	position: fixed;
	inset: var(--header-h) 0 auto 0;
	max-height: calc(100dvh - var(--header-h));
	overflow-y: auto;
	padding: 12px var(--gutter) 24px;
	background: var(--c-header);
	box-shadow: 0 16px 30px rgba(39, 39, 39, 0.12);
	visibility: hidden;
	opacity: 0;
	transform: translateY(-8px);
	transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0s linear 0.25s;
}

.admin-bar .site-nav {
	top: calc(var(--header-h) + var(--wp-admin--admin-bar--height, 0px));
}

.no-js .site-nav,
.site-nav.is-open {
	visibility: visible;
	opacity: 1;
	transform: none;
	transition-delay: 0s;
}

.no-js .site-nav {
	position: static;
	box-shadow: none;
}

.no-js .nav-toggle {
	display: none;
}

.menu {
	display: flex;
	flex-direction: column;
}

.menu__item {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	border-bottom: 1px solid rgba(84, 162, 217, 0.2);
}

.menu__item > a {
	flex: 1;
	padding: 12px 0;
	font-size: 17px;
	font-weight: 500;
	color: var(--c-black);
	transition: color 0.2s var(--ease);
}

.menu__item > a:hover,
.menu__item.current-menu-item > a,
.menu__item.current-menu-ancestor > a,
.menu__item.current_page_parent > a {
	color: var(--c-primary);
}

/* "Hiring" next to Careers. */
.menu__badge {
	display: inline-block;
	margin-left: 6px;
	padding: 2px 8px;
	font-family: var(--f-body);
	font-size: 11px;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: 0.02em;
	color: var(--c-white);
	vertical-align: 0.2em;
	white-space: nowrap;
	background: var(--c-primary);
	border-radius: 999px;
}

.menu__toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	color: var(--c-black);
}

.menu__chevron {
	width: 7px;
	height: 12px;
	transform: rotate(-90deg);
	transition: transform 0.2s var(--ease);
}

.menu__toggle[aria-expanded='true'] .menu__chevron {
	transform: rotate(90deg);
}

.menu .sub-menu {
	display: none;
	flex-basis: 100%;
	padding: 0 0 10px 14px;
}

.menu__item.is-open > .sub-menu,
.no-js .menu .sub-menu {
	display: block;
}

.sub-menu .menu__item {
	border: 0;
}

.sub-menu .menu__item > a {
	padding: 8px 0;
	font-size: 16px;
}

.site-nav__cta {
	margin-top: 18px;
}

@media (min-width: 1100px) {
	.nav-toggle,
	.site-nav__cta {
		display: none;
	}

	.site-header__cta {
		display: block;
	}

	.site-header__cta .btn {
		min-height: 46px;
		padding-inline: 22px;
		font-size: 18px;
	}

	.site-nav,
	.no-js .site-nav {
		position: static;
		max-height: none;
		overflow: visible;
		padding: 0;
		background: none;
		box-shadow: none;
		visibility: visible;
		opacity: 1;
		transform: none;
		transition: none;
	}

	.menu {
		flex-direction: row;
		align-items: center;
		gap: clamp(24px, 1px + 2.1vw, 42px);
	}

	.menu__item {
		flex-wrap: nowrap;
		border: 0;
	}

	.menu__item > a {
		padding: 8px 0;
		font-size: 20px;
	}

	.menu__toggle {
		width: 22px;
		height: 22px;
		margin-left: 4px;
	}

	.menu .sub-menu {
		position: absolute;
		top: 100%;
		left: -18px;
		display: block;
		min-width: 240px;
		padding: 10px 0;
		background: var(--c-white);
		border-radius: var(--radius-card);
		box-shadow: 0 18px 40px rgba(39, 39, 39, 0.12);
		visibility: hidden;
		opacity: 0;
		transform: translateY(8px);
		transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0s linear 0.2s;
	}

	.menu__item:hover > .sub-menu,
	.menu__item:focus-within > .sub-menu,
	.menu__item.is-open > .sub-menu {
		visibility: visible;
		opacity: 1;
		transform: none;
		transition-delay: 0s;
	}

	.sub-menu .menu__item > a {
		padding: 8px 18px;
		font-size: 17px;
	}
}

/* -------------------------------------------------------------- CTA band */
.cta-band {
	position: relative;
	z-index: 1;
	padding: clamp(40px, 28px + 3vw, 80px) var(--gutter) clamp(40px, 22px + 4.5vw, 100px);
}

.cta-band__card {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: clamp(8px, 4px + 1vw, 18px);
	max-width: 1588px;
	margin-inline: auto;
	padding: clamp(32px, 16px + 4vw, 96px) clamp(18px, 10px + 2vw, 48px);
	text-align: center;
	color: var(--c-white);
	background: linear-gradient(180deg, var(--c-primary) 0%, var(--c-primary-dark) 100%);
	border-radius: clamp(20px, 16.3px + 0.92vw, 35px);
}

.cta-band__title {
	font-size: clamp(24px, 15.79px + 2.042vw, 55px);
	font-weight: 500;
	color: var(--c-white);
	text-wrap: balance;
}

.cta-band__text {
	font-size: var(--fs-body);
	color: rgba(255, 255, 255, 0.95);
}

.cta-band .btn-row {
	margin-top: clamp(8px, 4px + 1vw, 20px);
}

/* ------------------------------------------------------------------ Footer */
.site-footer {
	color: var(--c-white);
	background: var(--c-black);
	padding-block: clamp(24px, 14px + 2.5vw, 64px) 0;
}

.site-footer__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	grid-template-areas:
		'brand'
		'groups'
		'contact'
		'office'
		'recognition'
		'social'
		'copyright';
}

.site-footer__brand {
	grid-area: brand;
}

.site-footer__logo img {
	width: clamp(160px, 150.7px + 2.3vw, 195px);
}

.site-footer__tagline {
	max-width: 480px;
	margin-top: 16px;
	font-size: 12px;
	line-height: 1.6;
	color: var(--c-white);
}

.site-footer__heading {
	font-family: var(--f-alt);
	font-size: 20px;
	font-weight: 600;
	color: var(--c-white);
}

.site-footer__heading--blue {
	color: var(--c-primary);
}

/* Link groups: accordion on phones, inline lists on desktop. */
.site-footer__groups {
	grid-area: groups;
	margin-top: 16px;
}

.footer-group {
	border-bottom: 1px solid rgba(255, 255, 255, 0.8);
}

.footer-group__title {
	font-family: var(--f-head);
	font-size: 18px;
	font-weight: 400;
	color: var(--c-white);
}

.footer-group__toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: 10px 6px;
	text-align: left;
}

.footer-group__chevron {
	width: 8px;
	height: 14px;
	color: var(--c-white);
	transform: rotate(-90deg);
	transition: transform 0.2s var(--ease);
}

.footer-group__toggle[aria-expanded='true'] .footer-group__chevron {
	transform: rotate(90deg);
}

.footer-group__body {
	padding: 0 6px 14px;
}

.js .footer-group__body[hidden] {
	display: none;
}

.inline-list {
	display: flex;
	flex-wrap: wrap;
	row-gap: 4px;
	font-size: 14px;
	color: var(--c-grey);
}

.inline-list li {
	display: inline-flex;
	align-items: center;
}

.inline-list li:not(:last-child)::after {
	content: '';
	display: inline-block;
	width: 1px;
	height: 0.9em;
	margin-inline: 12px;
	background: var(--c-grey);
}

.inline-list a {
	transition: color 0.2s var(--ease);
}

.inline-list a:hover {
	color: var(--c-white);
}

.site-footer__contact,
.site-footer__office {
	margin-top: 24px;
	padding-left: 22px;
	border-left: 1px solid var(--c-white);
}

.site-footer__contact {
	grid-area: contact;
}

.site-footer__office {
	grid-area: office;
}

.contact-list {
	display: grid;
	gap: 10px;
	margin-top: 10px;
	font-size: 14px;
	color: var(--c-white);
}

.contact-list li {
	display: flex;
	align-items: flex-start;
	gap: 14px;
}

.contact-list__icon {
	flex: none;
	width: 16px;
	height: 16px;
	margin-top: 3px;
	color: var(--c-white);
}

.contact-list a:hover {
	color: var(--c-primary);
}

/* Taller invisible tap area (at least 24 px) for the phone and email links; nothing visible changes. */
.contact-list a {
	position: relative;
}

.contact-list a::after {
	content: '';
	position: absolute;
	inset: -4px -2px;
}

/* The e-mail address moves to its own line as a whole when it fits there, and
   breaks before "@" (the <wbr> in footer.php) only when the column is too
   narrow for it. */
.contact-list__email {
	display: inline-block;
}

.site-footer__recognition {
	grid-area: recognition;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 28px;
	margin-top: 24px;
	padding-top: 32px;
	border-top: 1px solid rgba(255, 255, 255, 0.6);
	text-align: center;
}

.recognition {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 24px;
}

.recognition img {
	width: auto;
}

.recognition__clutch {
	height: clamp(130px, 120px + 2.4vw, 167px);
}

.recognition__google {
	height: clamp(54px, 50px + 1vw, 69px);
}

.site-footer__social {
	grid-area: social;
	display: none;
}

.site-footer__social--mobile {
	display: block;
	margin-top: 28px;
	padding-top: 28px;
	border-top: 1px solid rgba(255, 255, 255, 0.6);
}

.social {
	display: flex;
	justify-content: center;
	gap: 15px;
}

.social__link {
	display: block;
	border-radius: 50%;
	transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}

a.social__link:hover {
	transform: translateY(-2px);
}

.social__icon {
	width: 39px;
	height: 39px;
}

.social--outline .social__icon {
	width: 40px;
	height: 40px;
}

.site-footer__copyright {
	grid-area: copyright;
	margin-top: 28px;
	padding-block: 16px;
	font-family: var(--f-small);
	font-size: 12px;
	text-align: center;
	color: var(--c-white);
	border-top: 1px solid rgba(255, 255, 255, 0.6);
	text-wrap: balance;
}

@media (min-width: 1024px) {
	.site-footer__grid {
		grid-template-columns: minmax(0, 542fr) minmax(0, 313fr) minmax(0, 345fr) minmax(0, 240fr);
		grid-template-areas:
			'brand contact office social'
			'groups groups groups recognition'
			'copyright copyright copyright copyright';
		column-gap: 0;
	}

	.site-footer__brand {
		padding-right: 40px;
	}

	.site-footer__tagline {
		margin-top: 28px;
		font-size: 16px;
		color: var(--c-grey);
	}

	.site-footer__contact,
	.site-footer__office {
		align-self: end;
		margin-top: 0;
		padding-left: 26px;
		border-left-color: rgba(255, 255, 255, 0.6);
	}

	.site-footer__contact .site-footer__heading,
	.site-footer__office .site-footer__heading {
		color: var(--c-primary);
	}

	.contact-list {
		font-size: 17px;
		margin-top: 12px;
	}

	.site-footer__social {
		display: block;
		align-self: start;
		justify-self: end;
		padding-top: 8px;
	}

	.site-footer__social--mobile {
		display: none;
	}

	.site-footer__groups {
		margin-top: 40px;
		padding-right: 60px;
	}

	.footer-group {
		padding-block: 20px;
		border-bottom-color: rgba(255, 255, 255, 0.25);
	}

	.footer-group:first-child {
		padding-top: 0;
	}

	.footer-group:last-child {
		border-bottom: 0;
	}

	.footer-group__title {
		font-size: 20px;
		font-weight: 600;
	}

	.footer-group__toggle {
		padding: 0;
		cursor: default;
	}

	.footer-group__chevron {
		display: none;
	}

	.footer-group__body,
	.js .footer-group__body[hidden] {
		display: block;
		padding: 8px 0 0;
	}

	.inline-list {
		font-size: 17px;
	}

	.site-footer__recognition {
		align-self: center;
		margin-top: 40px;
		padding-top: 0;
		border-top: 0;
		gap: 40px;
	}

	.recognition {
		gap: 28px;
	}

	.site-footer__copyright {
		margin-top: 24px;
		padding-block: 22px 28px;
		font-size: 15px;
		border-top-color: rgba(255, 255, 255, 0.25);
	}
}

/* ------------------------------------------------- Scroll reveal animation */
@media (prefers-reduced-motion: no-preference) {
	.js [data-reveal] {
		opacity: 0;
		transform: translateY(24px);
		transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
		transition-delay: var(--reveal-delay, 0s);
	}

	.js [data-reveal].is-visible {
		opacity: 1;
		transform: none;
	}
}

/* ------------------------------------------------------ Generic templates */
.page-main {
	padding-block: var(--section-y);
}

.page-hero {
	padding-block: clamp(40px, 28px + 3vw, 90px) clamp(24px, 18px + 1.5vw, 48px);
	text-align: center;
	background: linear-gradient(180deg, var(--c-tint) 0%, var(--c-white) 100%);
}

.page-hero__title {
	font-size: var(--fs-h2);
	font-weight: 500;
}

.entry-content {
	max-width: 860px;
	margin-inline: auto;
	font-size: var(--fs-body);
}

.entry-content > * + * {
	margin-top: 1.1em;
}

.entry-content h2,
.entry-content h3 {
	margin-top: 1.6em;
}

.entry-content h2 {
	font-size: clamp(24px, 20px + 1vw, 36px);
}

.entry-content h3 {
	font-size: var(--fs-card-title);
}

.entry-content a {
	color: var(--c-primary);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.entry-content ul,
.entry-content ol {
	padding-left: 1.3em;
}

.entry-content ul {
	list-style: disc;
}

.entry-content ol {
	list-style: decimal;
}

.entry-content img {
	border-radius: var(--radius-card);
}

.entry-meta {
	margin-top: 12px;
	font-size: var(--fs-small);
	color: var(--c-text-muted);
}

.entry-featured {
	max-width: 1080px;
	margin: 0 auto clamp(24px, 18px + 1.5vw, 48px);
}

.entry-featured img {
	width: 100%;
	border-radius: var(--radius-card);
}

.archive-list {
	display: grid;
	gap: clamp(20px, 16px + 1vw, 32px);
}

@media (min-width: 768px) {
	.archive-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1100px) {
	.archive-list {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.pagination {
	margin-top: 40px;
	text-align: center;
}

.pagination .nav-links {
	display: inline-flex;
	gap: 8px;
}

.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding-inline: 10px;
	border: 1px solid var(--c-primary);
	border-radius: var(--radius-pill);
	color: var(--c-primary);
}

.pagination .page-numbers.current {
	color: var(--c-white);
	background: var(--c-primary);
}

/* -------------------------------------------------------------- Post card */
.post-cards {
	display: grid;
	gap: 20px;
}

@media (min-width: 768px) {
	.post-cards {
		grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	}
}

@media (min-width: 1024px) {
	.post-cards {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.post-card__inner {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
}

.post-card__media {
	position: relative;
	overflow: hidden;
	border-radius: 30px;
	background: var(--c-tint);
	aspect-ratio: 430 / 232;
}

.post-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s var(--ease);
}

.post-card__date {
	display: none;
}

.post-card__title {
	margin-top: 12px;
	font-size: clamp(20px, 18.4px + 0.4vw, 24px);
	font-weight: 600;
	line-height: 1.3;
	color: var(--c-primary);
}

.post-card__title a::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 1;
}

.post-card__excerpt {
	margin-top: 6px;
	padding-bottom: 8px;
	font-size: 14px;
	line-height: 1.5;
	color: var(--c-text);
	border-bottom: 1px solid var(--c-text);
}

.post-card__more {
	display: none;
}

.post-card__meta {
	display: flex;
	flex-direction: column;
	margin-top: 8px;
	padding: 8px 12px;
	font-size: 14px;
	color: var(--c-text);
	background: var(--c-tint);
	border-radius: 10px;
}

.post-card__category {
	font-family: var(--f-head);
	font-size: 20px;
	font-weight: 500;
	line-height: 1.3;
	color: var(--c-primary);
}

@media (min-width: 768px) {
	.post-card__inner {
		padding: clamp(14px, 12px + 0.5vw, 18px);
		background: var(--c-white);
		border-radius: var(--radius-card);
		box-shadow: var(--shadow-soft);
		transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
	}

	.post-card__inner:hover {
		transform: translateY(-4px);
		box-shadow: 0 16px 60px rgba(84, 162, 217, 0.2);
	}

	.post-card__inner:hover .post-card__media img {
		transform: scale(1.04);
	}

	.post-card__media {
		border-radius: var(--radius-card);
	}

	.post-card__date {
		position: absolute;
		top: 12px;
		right: 12px;
		z-index: 2;
		display: block;
		padding: 4px 12px;
		font-size: 14px;
		font-weight: 500;
		color: var(--c-white);
		background: var(--c-primary);
		border-radius: 20px;
	}

	.post-card__title {
		margin-top: 18px;
		color: var(--c-black);
	}

	.post-card__inner:hover .post-card__title {
		color: var(--c-primary);
	}

	.post-card__excerpt {
		flex: 1;
		margin-top: 8px;
		padding: 0;
		font-size: 16px;
		border: 0;
	}

	.post-card__more {
		position: relative;
		z-index: 2;
		display: inline-flex;
		align-items: center;
		gap: 8px;
		align-self: flex-start;
		margin-top: 14px;
		font-size: 16px;
		font-weight: 500;
		color: var(--c-primary);
	}

	.post-card__more-icon {
		width: 11px;
		height: 14px;
		transform: rotate(90deg);
		transition: transform 0.25s var(--ease);
	}

	.post-card__more:hover .post-card__more-icon {
		transform: rotate(90deg) translateY(-3px);
	}

	.post-card__meta {
		display: none;
	}
}

.u-center {
	text-align: center;
}

.page-hero .badge {
	margin-bottom: 14px;
}

.entry-content .btn {
	color: var(--btn-fg);
	text-decoration: none;
}
