/**
 * Aadyanex homepage — clients, why-us, CTA, and blog polish
 */

/* Break shortcode blocks out of Spectra content width */
.home .wp-block-shortcode:has(.adyanex-home-clients),
.home .wp-block-shortcode:has(.adyanex-home-why),
.home .wp-block-shortcode:has(.adyanex-home-blogs),
.home .wp-block-shortcode:has(.adyanex-home-cta),
.blog .wp-block-shortcode:has(.adyanex-blog-archive) {
	max-width: none !important;
	width: 100% !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}

/* ------------------------------------------------------------------ */
/* Trusted clients — compact round review cards                         */
/* ------------------------------------------------------------------ */

.adyanex-home-clients {
	padding: clamp(1.25rem, 2.5vw, 1.75rem) 0;
	background: var(--adyanex-white-soft, #fafdfc);
	border-bottom: 1px solid var(--adyanex-white-border, #e5f3ef);
}

.adyanex-home-clients__inner {
	max-width: min(960px, calc(100vw - 2rem));
	margin: 0 auto;
	padding: 0 clamp(0.75rem, 2vw, 1rem);
}

.adyanex-home-clients__tagline {
	margin: 0 0 1rem;
	text-align: center;
	font-size: clamp(0.78rem, 1.5vw, 0.9rem);
	font-weight: 600;
	color: var(--adyanex-muted, #6b7280);
	line-height: 1.45;
}

.adyanex-home-clients__tagline strong {
	color: var(--adyanex-primary, #0d9488);
	font-weight: 800;
}

.adyanex-home-clients__grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: stretch;
	gap: clamp(0.75rem, 2vw, 1rem);
	margin: 0;
	padding: 0;
	list-style: none;
}

.adyanex-home-clients__item {
	margin: 0;
	padding: 0;
	flex: 1 1 220px;
	max-width: 300px;
}

.adyanex-home-clients__card {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	margin: 0;
	padding: 1.15rem 1rem 1rem;
	border-radius: 20px;
	background: var(--adyanex-white, #fff);
	border: 1px solid var(--adyanex-white-border, #e5f3ef);
	box-shadow: 0 6px 18px rgba(15, 118, 110, 0.06);
	min-height: 100%;
	overflow: visible;
	transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.adyanex-home-clients__card:hover {
	transform: translateY(-3px);
	border-color: rgba(13, 148, 136, 0.25);
	box-shadow: 0 12px 28px rgba(15, 118, 110, 0.1);
}

.adyanex-home-clients__avatar-wrap {
	position: relative;
	flex-shrink: 0;
	width: 96px;
	height: 96px;
	margin-bottom: 0.65rem;
}

.adyanex-home-clients__avatar {
	position: relative;
	display: block;
	width: 96px;
	height: 96px;
	border-radius: 50%;
	box-sizing: border-box;
	line-height: 0;
	font-size: 0;
	background: var(--adyanex-white-mint, #f0fdfa);
	border: 3px solid var(--adyanex-white, #fff);
	outline: 2px solid rgba(13, 148, 136, 0.28);
	box-shadow: 0 4px 16px rgba(13, 148, 136, 0.16);
	overflow: hidden;
	text-decoration: none;
	transition: outline-color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}

.adyanex-home-clients__avatar br {
	display: none;
}

.adyanex-home-clients__card:hover .adyanex-home-clients__avatar {
	outline-color: var(--adyanex-primary, #0d9488);
	transform: scale(1.03);
	box-shadow: 0 8px 22px rgba(13, 148, 136, 0.24);
}

.adyanex-home-clients__photo {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100% !important;
	max-width: none;
	min-width: 100%;
	min-height: 100%;
	border-radius: 50%;
	object-fit: cover;
	object-position: center 22%;
	background: #e5e7eb;
}

.adyanex-home-clients__logo-badge {
	position: absolute;
	right: -1px;
	bottom: -1px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	padding: 3px;
	border-radius: 50%;
	background: var(--adyanex-white, #fff);
	border: 2px solid var(--adyanex-primary, #0d9488);
	box-shadow: 0 2px 8px rgba(15, 118, 110, 0.18);
	overflow: hidden;
}

.adyanex-home-clients__logo-badge img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.adyanex-home-clients__stars {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.12rem;
	margin-bottom: 0.45rem;
}

.adyanex-home-clients__star {
	width: 0.72rem;
	height: 0.72rem;
	fill: #d1d5db;
}

.adyanex-home-clients__star.is-filled {
	fill: #f59e0b;
}

.adyanex-home-clients__quote {
	margin: 0 0 0.65rem;
	font-size: 0.76rem;
	line-height: 1.55;
	color: var(--adyanex-body, #4b5563);
	display: -webkit-box;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.adyanex-home-clients__footer {
	display: flex;
	flex-direction: column;
	gap: 0.1rem;
	margin-top: auto;
}

.adyanex-home-clients__name {
	font-style: normal;
	font-size: 0.78rem;
	font-weight: 800;
	color: var(--adyanex-black, #111);
	line-height: 1.25;
}

.adyanex-home-clients__role {
	font-size: 0.66rem;
	font-weight: 600;
	color: var(--adyanex-primary-deep, #0f766e);
	letter-spacing: 0.02em;
}

/* ------------------------------------------------------------------ */
/* Why Aadyanex                                                         */
/* ------------------------------------------------------------------ */

.adyanex-home-why {
	padding: clamp(3.5rem, 7vw, 5.5rem) clamp(1.25rem, 4vw, 2rem);
	background: linear-gradient(180deg, var(--adyanex-white-mint, #f0fdfa) 0%, var(--adyanex-white-soft, #fafdfc) 100%);
}

.adyanex-home-why__inner {
	max-width: min(1180px, 100%);
	margin: 0 auto;
}

.adyanex-home-why__header {
	text-align: center;
	max-width: 720px;
	margin: 0 auto clamp(2.5rem, 5vw, 3.5rem);
}

.adyanex-home-why__eyebrow {
	display: inline-block;
	margin-bottom: 0.75rem;
	padding: 0.35rem 0.9rem;
	border-radius: 999px;
	background: rgba(13, 148, 136, 0.1);
	border: 1px solid rgba(13, 148, 136, 0.2);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--adyanex-primary-deep, #0f766e);
}

.adyanex-home-why__title {
	margin: 0 0 1rem;
	font-size: clamp(1.65rem, 3.8vw, 2.35rem);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.03em;
	color: var(--adyanex-black, #111);
}

.adyanex-home-why__lead {
	margin: 0;
	font-size: clamp(0.95rem, 1.8vw, 1.08rem);
	line-height: 1.7;
	color: var(--adyanex-body, #4b5563);
}

.adyanex-home-why__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(1rem, 2.5vw, 1.5rem);
	margin-bottom: clamp(2rem, 4vw, 2.75rem);
}

.adyanex-home-why__card {
	padding: clamp(1.25rem, 2.5vw, 1.65rem);
	border-radius: 18px;
	background: var(--adyanex-white, #fff);
	border: 1px solid var(--adyanex-white-border, #e5f3ef);
	box-shadow: 0 8px 28px rgba(15, 118, 110, 0.06);
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.adyanex-home-why__card:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 40px rgba(15, 118, 110, 0.12);
	border-color: rgba(13, 148, 136, 0.35);
}

.adyanex-home-why__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	margin-bottom: 1rem;
	border-radius: 12px;
	background: var(--adyanex-gradient, linear-gradient(135deg, #2dd4bf, #0d9488));
	color: #fff;
}

.adyanex-home-why__icon svg {
	width: 1.35rem;
	height: 1.35rem;
}

.adyanex-home-why__card h3 {
	margin: 0 0 0.55rem;
	font-size: clamp(1rem, 1.8vw, 1.1rem);
	font-weight: 700;
	line-height: 1.3;
	color: var(--adyanex-black, #111);
}

.adyanex-home-why__card p {
	margin: 0;
	font-size: 0.88rem;
	line-height: 1.65;
	color: var(--adyanex-body, #4b5563);
}

.adyanex-home-why__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.75rem;
}

.adyanex-home-why__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.85rem 1.5rem;
	border-radius: 999px;
	font-size: 0.92rem;
	font-weight: 700;
	text-decoration: none;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.adyanex-home-why__btn--primary {
	background: var(--adyanex-gradient, linear-gradient(135deg, #2dd4bf, #0d9488));
	color: #fff !important;
	box-shadow: 0 10px 24px rgba(13, 148, 136, 0.28);
}

.adyanex-home-why__btn--primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 14px 32px rgba(13, 148, 136, 0.35);
	color: #fff !important;
}

.adyanex-home-why__btn--ghost {
	background: var(--adyanex-white, #fff);
	color: var(--adyanex-primary-deep, #0f766e) !important;
	border: 2px solid var(--adyanex-primary, #0d9488);
}

.adyanex-home-why__btn--ghost:hover {
	background: var(--adyanex-primary-pale, #f0fdfa);
	color: var(--adyanex-primary-dark, #115e59) !important;
}

/* ------------------------------------------------------------------ */
/* Homepage CTA banner                                                  */
/* ------------------------------------------------------------------ */

.adyanex-home-cta {
	position: relative;
	overflow: hidden;
	padding: clamp(3rem, 6vw, 4.5rem) clamp(1.25rem, 4vw, 2rem);
	background: var(--adyanex-gradient, linear-gradient(135deg, #2dd4bf 0%, #0d9488 50%, #0f766e 100%));
	color: #fff;
}

.adyanex-home-cta__bg {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(circle at 15% 30%, rgba(255, 255, 255, 0.14), transparent 35%),
		radial-gradient(circle at 85% 70%, rgba(0, 0, 0, 0.08), transparent 40%);
	pointer-events: none;
}

.adyanex-home-cta__inner {
	position: relative;
	z-index: 1;
	max-width: 720px;
	margin: 0 auto;
	text-align: center;
}

.adyanex-home-cta__title {
	margin: 0 0 0.85rem;
	font-size: clamp(1.65rem, 4vw, 2.35rem);
	font-weight: 800;
	line-height: 1.12;
	letter-spacing: -0.03em;
	color: #fff;
}

.adyanex-home-cta__lead {
	margin: 0 0 1.5rem;
	font-size: clamp(0.95rem, 1.8vw, 1.08rem);
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.92);
}

.adyanex-home-cta__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.75rem;
}

.adyanex-home-cta__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.9rem 1.6rem;
	border-radius: 999px;
	font-size: 0.92rem;
	font-weight: 700;
	text-decoration: none;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.adyanex-home-cta__btn--primary {
	background: #111;
	color: #fff !important;
	box-shadow: 0 12px 28px rgba(17, 17, 17, 0.28);
}

.adyanex-home-cta__btn--primary:hover {
	transform: translateY(-2px);
	background: #000;
	color: #fff !important;
}

.adyanex-home-cta__btn--ghost {
	background: rgba(255, 255, 255, 0.14);
	color: #fff !important;
	border: 1.5px solid rgba(255, 255, 255, 0.55);
}

.adyanex-home-cta__btn--ghost:hover {
	background: rgba(255, 255, 255, 0.24);
	color: #fff !important;
}

/* ------------------------------------------------------------------ */
/* Homepage + archive blog cards                                        */
/* ------------------------------------------------------------------ */

.adyanex-home-blogs {
	padding: clamp(2.5rem, 5vw, 4rem) 0;
	background: linear-gradient(180deg, #f8fcfb 0%, #ffffff 100%);
	border-top: 1px solid var(--adyanex-white-border, #e5f3ef);
}

.adyanex-home-blogs__inner,
.adyanex-blog-archive__inner {
	max-width: min(1180px, calc(100vw - 2rem));
	margin: 0 auto;
	padding: 0 clamp(0.75rem, 2vw, 1rem);
}

.adyanex-home-blogs__header {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1.5rem;
	margin-bottom: clamp(1.5rem, 3vw, 2rem);
}

.adyanex-home-blogs__eyebrow,
.adyanex-blog-archive__eyebrow {
	display: inline-block;
	margin-bottom: 0.55rem;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--adyanex-primary, #0d9488);
}

.adyanex-home-blogs__title-main,
.adyanex-blog-archive__title {
	margin: 0 0 0.65rem;
	font-size: clamp(1.65rem, 3.8vw, 2.35rem);
	font-weight: 800;
	line-height: 1.12;
	letter-spacing: -0.03em;
	color: var(--adyanex-heading, #111827);
}

.adyanex-home-blogs__lead,
.adyanex-blog-archive__lead {
	margin: 0;
	max-width: 42rem;
	font-size: clamp(0.95rem, 1.8vw, 1.05rem);
	line-height: 1.65;
	color: var(--adyanex-muted, #6b7280);
}

.adyanex-home-blogs__view-all {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	flex-shrink: 0;
	padding: 0.8rem 1.2rem;
	border-radius: 999px;
	background: rgba(13, 148, 136, 0.08);
	color: var(--adyanex-primary, #0d9488) !important;
	font-size: 0.9rem;
	font-weight: 700;
	text-decoration: none;
	border: 1px solid rgba(13, 148, 136, 0.18);
	transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.adyanex-home-blogs__view-all:hover {
	transform: translateY(-2px);
	background: rgba(13, 148, 136, 0.14);
	box-shadow: 0 10px 24px rgba(13, 148, 136, 0.12);
	color: var(--adyanex-primary-dark, #0f766e) !important;
}

.adyanex-home-blogs__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(1rem, 2.5vw, 1.5rem);
}

.adyanex-home-blogs__grid--archive {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.adyanex-home-blogs__card {
	display: flex;
	flex-direction: column;
	height: 100%;
	border-radius: 20px;
	overflow: hidden;
	background: var(--adyanex-white, #fff);
	border: 1px solid var(--adyanex-white-border, #e5f3ef);
	box-shadow: 0 8px 24px rgba(15, 118, 110, 0.06);
	transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.adyanex-home-blogs__card:hover {
	transform: translateY(-4px);
	border-color: rgba(13, 148, 136, 0.22);
	box-shadow: 0 16px 36px rgba(15, 118, 110, 0.12);
}

.adyanex-home-blogs__media {
	display: block;
	position: relative;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: linear-gradient(135deg, #ccfbf1 0%, #99f6e4 100%);
}

.adyanex-home-blogs__media--tech {
	display: flex;
	align-items: stretch;
	background: linear-gradient(145deg, color-mix(in srgb, var(--tech-color, #0d9488) 8%, #fff) 0%, var(--tech-bg, #f0fdfa) 55%, #fff 100%);
}

.adyanex-home-blogs__media--tech .adyanex-blog-tech-hero {
	width: 100%;
}

.adyanex-home-blogs__media-link {
	position: absolute;
	inset: 0;
	z-index: 3;
	display: block;
}

.adyanex-blog-archive-tech-card {
	overflow: hidden;
	border-radius: 14px;
	min-height: 220px;
}

.adyanex-blog-archive-tech-card .adyanex-blog-tech-hero {
	min-height: 220px;
}

.adyanex-blog-tech-hero {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
	width: 100%;
	min-height: 100%;
	padding: 1.5rem 1rem;
	text-align: center;
	box-sizing: border-box;
}

.adyanex-blog-tech-hero__glow {
	position: absolute;
	inset: 18% 22%;
	border-radius: 50%;
	background: radial-gradient(circle, color-mix(in srgb, var(--tech-color, #0d9488) 22%, transparent) 0%, transparent 72%);
	pointer-events: none;
}

.adyanex-blog-tech-hero__logo {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 22px;
	background: rgba(255, 255, 255, 0.92);
	border: 1px solid color-mix(in srgb, var(--tech-color, #0d9488) 14%, #fff);
	box-shadow: 0 14px 36px color-mix(in srgb, var(--tech-color, #0d9488) 18%, transparent);
	transition: transform 0.3s ease;
}

.adyanex-blog-tech-hero__logo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.adyanex-blog-tech-hero--card .adyanex-blog-tech-hero__logo {
	width: 4.5rem;
	height: 4.5rem;
	padding: 0.85rem;
}

.adyanex-blog-tech-hero--featured .adyanex-blog-tech-hero__logo {
	width: 5.5rem;
	height: 5.5rem;
	padding: 1rem;
}

.adyanex-blog-tech-hero--single {
	min-height: 220px;
	padding: 2.5rem 1.5rem;
	border-radius: 18px;
	margin-bottom: 1.5rem;
	background: linear-gradient(145deg, color-mix(in srgb, var(--tech-color, #0d9488) 10%, #fff) 0%, var(--tech-bg, #f0fdfa) 60%, #fff 100%);
	border: 1px solid color-mix(in srgb, var(--tech-color, #0d9488) 16%, transparent);
}

.adyanex-blog-tech-hero--single .adyanex-blog-tech-hero__logo {
	width: 6.5rem;
	height: 6.5rem;
	padding: 1.15rem;
	border-radius: 24px;
}

.adyanex-blog-tech-hero__fallback {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	font-size: 1.35rem;
	font-weight: 800;
	color: var(--tech-color, #0d9488);
}

.adyanex-blog-tech-hero__label {
	position: relative;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	padding: 0.3rem 0.75rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.88);
	border: 1px solid color-mix(in srgb, var(--tech-color, #0d9488) 18%, transparent);
	color: var(--tech-color, #0d9488);
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.adyanex-home-blogs__card:hover .adyanex-blog-tech-hero__logo {
	transform: scale(1.05);
}

.adyanex-home-blogs__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.35s ease;
}

.adyanex-home-blogs__card:hover .adyanex-home-blogs__media img {
	transform: scale(1.04);
}

.adyanex-home-blogs__placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	font-size: 3rem;
	font-weight: 800;
	color: rgba(13, 148, 136, 0.45);
}

.adyanex-home-blogs__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 1.15rem 1.15rem 1.25rem;
}

.adyanex-home-blogs__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.65rem;
	margin-bottom: 0.7rem;
	font-size: 0.78rem;
	color: var(--adyanex-muted, #6b7280);
}

.adyanex-home-blogs__cat {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.28rem 0.65rem 0.28rem 0.45rem;
	border-radius: 999px;
	background: var(--tech-bg, rgba(13, 148, 136, 0.1));
	color: var(--tech-color, var(--adyanex-primary, #0d9488));
	font-weight: 700;
}

.adyanex-home-blogs__tech-badge {
	position: absolute;
	right: 0.85rem;
	bottom: 0.85rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.65rem;
	height: 2.65rem;
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.94);
	border: 1px solid rgba(255, 255, 255, 0.8);
	box-shadow: 0 8px 24px rgba(17, 24, 39, 0.14);
	backdrop-filter: blur(8px);
}

.adyanex-blog-tech-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	border-radius: 8px;
	background: var(--tech-bg, rgba(13, 148, 136, 0.1));
	color: var(--tech-color, #0d9488);
}

.adyanex-blog-tech-icon img {
	display: block;
	width: 100%;
	height: 100%;
	min-width: 1rem;
	min-height: 1rem;
	object-fit: contain;
}

.adyanex-blog-tech-icon--sm {
	width: 1.35rem;
	height: 1.35rem;
	padding: 0.18rem;
}

.adyanex-blog-tech-icon--md {
	width: 1.75rem;
	height: 1.75rem;
	padding: 0.28rem;
}

.adyanex-blog-tech-icon--lg {
	width: 2.25rem;
	height: 2.25rem;
	padding: 0.35rem;
}

.adyanex-blog-tech-icon--fallback span {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	font-size: 0.72rem;
	font-weight: 800;
	color: var(--tech-color, #0d9488);
}

.adyanex-blog-tech-icon--all svg {
	width: 0.95rem;
	height: 0.95rem;
}

.adyanex-blog-archive__filter-label {
	line-height: 1.2;
}

.adyanex-single-post-tech {
	display: inline-flex;
	align-items: center;
	gap: 0.85rem;
	margin: 0 0 1.5rem;
	padding: 0.85rem 1rem;
	border-radius: 14px;
	background: var(--tech-bg, rgba(13, 148, 136, 0.08));
	border: 1px solid color-mix(in srgb, var(--tech-color, #0d9488) 18%, transparent);
}

.adyanex-single-post-tech__text {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
}

.adyanex-single-post-tech__label {
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--tech-color, #0d9488);
	opacity: 0.85;
}

.adyanex-single-post-tech__text strong {
	font-size: 0.98rem;
	color: var(--adyanex-heading, #111827);
}

.adyanex-home-blogs__title {
	margin: 0 0 0.65rem;
	font-size: 1.05rem;
	line-height: 1.45;
	font-weight: 800;
}

.adyanex-home-blogs__title a {
	color: var(--adyanex-heading, #111827);
	text-decoration: none;
}

.adyanex-home-blogs__title a:hover {
	color: var(--adyanex-primary, #0d9488);
}

.adyanex-home-blogs__excerpt {
	margin: 0 0 1rem;
	font-size: 0.92rem;
	line-height: 1.65;
	color: var(--adyanex-muted, #6b7280);
	flex: 1;
}

.adyanex-home-blogs__link {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	margin-top: auto;
	font-size: 0.88rem;
	font-weight: 700;
	color: var(--adyanex-primary, #0d9488) !important;
	text-decoration: none;
}

.adyanex-home-blogs__link:hover {
	color: var(--adyanex-primary-dark, #0f766e) !important;
}

.adyanex-home-blogs__read-time {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
}

.adyanex-home-blogs__read-time::before {
	content: "";
	width: 3px;
	height: 3px;
	border-radius: 50%;
	background: currentColor;
	opacity: 0.45;
}

.adyanex-home-blogs__card.is-featured {
	grid-column: 1 / -1;
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
	min-height: 320px;
}

.adyanex-home-blogs__card.is-featured .adyanex-home-blogs__media {
	aspect-ratio: auto;
	min-height: 100%;
}

.adyanex-home-blogs__card.is-featured .adyanex-home-blogs__body {
	padding: clamp(1.25rem, 3vw, 2rem);
	justify-content: center;
}

.adyanex-home-blogs__card.is-featured .adyanex-home-blogs__title {
	font-size: clamp(1.25rem, 2.5vw, 1.65rem);
}

.adyanex-home-blogs__featured-badge {
	position: absolute;
	top: 1rem;
	left: 1rem;
	padding: 0.35rem 0.75rem;
	border-radius: 999px;
	background: rgba(17, 24, 39, 0.78);
	color: #fff;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	backdrop-filter: blur(6px);
}

.adyanex-blog-archive {
	background: #f4fbf9;
}

.adyanex-blog-archive__hero {
	position: relative;
	overflow: hidden;
	padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2rem, 4vw, 3rem);
	background: linear-gradient(135deg, #042f2e 0%, #0f766e 48%, #14b8a6 100%);
}

.adyanex-blog-archive__hero-bg {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(circle at top right, rgba(255, 255, 255, 0.16), transparent 34%),
		radial-gradient(circle at bottom left, rgba(4, 47, 46, 0.35), transparent 40%);
	pointer-events: none;
}

.adyanex-blog-archive__hero-inner {
	position: relative;
	z-index: 1;
	max-width: min(1180px, calc(100vw - 2rem));
	margin: 0 auto;
	padding: 0 clamp(0.75rem, 2vw, 1rem);
}

.adyanex-blog-archive__breadcrumb {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.45rem;
	margin-bottom: 1rem;
	font-size: 0.82rem;
	color: rgba(255, 255, 255, 0.78);
}

.adyanex-blog-archive__breadcrumb a {
	color: #fff;
	text-decoration: none;
	font-weight: 600;
}

.adyanex-blog-archive__breadcrumb a:hover {
	text-decoration: underline;
}

.adyanex-blog-archive__hero-content {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1.5rem;
}

.adyanex-blog-archive__title,
.adyanex-blog-archive__lead,
.adyanex-blog-archive__eyebrow {
	color: #fff;
}

.adyanex-blog-archive__eyebrow {
	color: rgba(255, 255, 255, 0.82);
}

.adyanex-blog-archive__lead {
	opacity: 0.92;
	max-width: 40rem;
}

.adyanex-blog-archive__stats {
	display: grid;
	grid-template-columns: repeat(2, minmax(110px, 1fr));
	gap: 0.85rem;
	flex-shrink: 0;
}

.adyanex-blog-archive__stat {
	padding: 1rem 1.1rem;
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.18);
	backdrop-filter: blur(8px);
	text-align: center;
}

.adyanex-blog-archive__stat strong {
	display: block;
	font-size: 1.65rem;
	line-height: 1;
	color: #fff;
}

.adyanex-blog-archive__stat span {
	display: block;
	margin-top: 0.35rem;
	font-size: 0.78rem;
	color: rgba(255, 255, 255, 0.82);
}

.adyanex-blog-archive__toolbar-wrap {
	position: relative;
	margin-top: -1.35rem;
	padding: 0 clamp(0.75rem, 2vw, 1rem);
}

.adyanex-blog-archive__toolbar {
	max-width: min(1180px, calc(100vw - 2rem));
	margin: 0 auto;
	padding: 0.85rem;
	border-radius: 20px;
	background: #fff;
	border: 1px solid var(--adyanex-white-border, #e5f3ef);
	box-shadow: 0 14px 36px rgba(15, 118, 110, 0.1);
}

.adyanex-blog-archive__filters {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
}

.adyanex-blog-archive__filter {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	padding: 0.72rem 1rem;
	border-radius: 999px;
	background: #f8fcfb;
	border: 1px solid #e5f3ef;
	color: var(--adyanex-heading, #111827);
	text-decoration: none;
	font-size: 0.88rem;
	font-weight: 700;
	transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.adyanex-blog-archive__filter:hover {
	border-color: rgba(13, 148, 136, 0.28);
	color: var(--adyanex-primary, #0d9488);
	transform: translateY(-1px);
}

.adyanex-blog-archive__filter.is-active {
	background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
	border-color: transparent;
	color: #fff;
	box-shadow: 0 10px 24px rgba(13, 148, 136, 0.22);
}

.adyanex-blog-archive__filter.is-active[style*="--tech-color"] {
	background: linear-gradient(135deg, var(--tech-color, #0d9488) 0%, color-mix(in srgb, var(--tech-color, #0d9488) 78%, #000) 100%);
	border-color: transparent;
	color: #fff;
	box-shadow: 0 10px 24px color-mix(in srgb, var(--tech-color, #0d9488) 28%, transparent);
}

.adyanex-blog-archive__filter-count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 1.5rem;
	height: 1.5rem;
	padding: 0 0.4rem;
	border-radius: 999px;
	background: rgba(17, 24, 39, 0.08);
	font-size: 0.72rem;
}

.adyanex-blog-archive__filter.is-active .adyanex-blog-archive__filter-count {
	background: rgba(255, 255, 255, 0.18);
	color: #fff;
}

.adyanex-blog-archive__inner {
	padding: clamp(1.75rem, 3vw, 2.5rem) clamp(0.75rem, 2vw, 1rem) clamp(2rem, 4vw, 3rem);
}

.adyanex-home-blogs__grid--archive.has-featured {
	gap: clamp(1rem, 2.5vw, 1.35rem);
}

.adyanex-blog-archive__pagination {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: 2.25rem;
}

.adyanex-blog-archive__pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.65rem;
	height: 2.65rem;
	padding: 0 0.9rem;
	border-radius: 999px;
	border: 1px solid var(--adyanex-white-border, #e5f3ef);
	background: #fff;
	color: var(--adyanex-heading, #111827);
	text-decoration: none;
	font-weight: 700;
	box-shadow: 0 4px 14px rgba(15, 118, 110, 0.05);
}

.adyanex-blog-archive__pagination .page-numbers.current,
.adyanex-blog-archive__pagination .page-numbers:hover {
	background: var(--adyanex-primary, #0d9488);
	border-color: var(--adyanex-primary, #0d9488);
	color: #fff;
}

.adyanex-blog-archive__empty {
	padding: 3rem 1.5rem;
	border-radius: 24px;
	background: #fff;
	border: 1px dashed #cfe8e2;
	text-align: center;
}

.adyanex-blog-archive__empty h2 {
	margin: 0 0 0.65rem;
	font-size: 1.35rem;
}

.adyanex-blog-archive__empty p {
	margin: 0 0 1rem;
	color: var(--adyanex-muted, #6b7280);
}

.adyanex-blog-archive__empty-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.8rem 1.2rem;
	border-radius: 999px;
	background: var(--adyanex-primary, #0d9488);
	color: #fff !important;
	text-decoration: none;
	font-weight: 700;
}

.adyanex-blog-archive__cta {
	padding: 0 clamp(0.75rem, 2vw, 1rem) clamp(2.5rem, 5vw, 4rem);
}

.adyanex-blog-archive__cta-inner {
	max-width: min(1180px, calc(100vw - 2rem));
	margin: 0 auto;
	padding: clamp(1.75rem, 4vw, 2.5rem);
	border-radius: 24px;
	text-align: center;
	background: linear-gradient(135deg, #042f2e 0%, #0f766e 100%);
	color: #fff;
	box-shadow: 0 18px 40px rgba(15, 118, 110, 0.18);
}

.adyanex-blog-archive__cta-inner h2 {
	margin: 0 0 0.65rem;
	font-size: clamp(1.35rem, 3vw, 1.85rem);
	color: #fff;
}

.adyanex-blog-archive__cta-inner p {
	margin: 0 0 1.25rem;
	color: rgba(255, 255, 255, 0.9);
}

.adyanex-blog-archive__cta-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.9rem 1.5rem;
	border-radius: 999px;
	background: #fff;
	color: #0f766e !important;
	text-decoration: none;
	font-weight: 800;
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.adyanex-blog-archive__cta-btn:hover {
	transform: translateY(-2px);
	color: #042f2e !important;
}

/* Legacy archive hero block kept for backwards compatibility */
.adyanex-blog-archive__hero-inner:only-child {
	max-width: min(1180px, calc(100vw - 2rem));
}

/* ------------------------------------------------------------------ */
/* Homepage blog grid polish                                            */
/* ------------------------------------------------------------------ */

.home .wp-block-query.alignwide {
	max-width: min(1180px, calc(100vw - 2rem)) !important;
	margin-left: auto !important;
	margin-right: auto !important;
}

.home .wp-block-query .wp-block-post-template {
	gap: clamp(1.25rem, 3vw, 2rem) !important;
}

.home .wp-block-query .wp-block-post-featured-image img {
	border-radius: 14px !important;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.home .wp-block-query .wp-block-post:hover .wp-block-post-featured-image img {
	transform: scale(1.02);
	box-shadow: 0 12px 32px rgba(15, 118, 110, 0.15);
}

.home .wp-block-group.alignwide:has(.wp-block-query) {
	background: var(--adyanex-white-panel, #f8fcfb);
}

.home .wp-block-group.alignwide:has(.wp-block-query) .wp-block-heading {
	font-size: clamp(1.5rem, 3.5vw, 2rem) !important;
	font-weight: 800 !important;
	letter-spacing: -0.02em;
}

/* Section rhythm — consistent vertical spacing between homepage blocks */
.home .wp-block-shortcode + .wp-block-shortcode,
.home .wp-block-shortcode + .wp-block-group,
.home .wp-block-group + .wp-block-shortcode {
	margin-top: 0;
}

/* ------------------------------------------------------------------ */
/* Responsive                                                           */
/* ------------------------------------------------------------------ */

@media (max-width: 1024px) {
	.adyanex-home-why__grid,
	.adyanex-home-blogs__grid,
	.adyanex-home-blogs__grid--archive {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.adyanex-home-blogs__card.is-featured {
		grid-template-columns: 1fr;
	}

	.adyanex-home-blogs__header,
	.adyanex-blog-archive__hero-content {
		flex-direction: column;
		align-items: flex-start;
	}

	.adyanex-blog-archive__stats {
		width: 100%;
		max-width: 280px;
	}
}

@media (max-width: 781px) {
	.home .wp-block-query .wp-block-post-template {
		grid-template-columns: 1fr !important;
	}

	.home .wp-block-query .wp-block-post-featured-image {
		height: auto !important;
		max-height: 260px;
		overflow: hidden;
	}

	.home .wp-block-query .wp-block-post-featured-image img {
		height: 220px !important;
		object-fit: cover;
		width: 100%;
	}
}

@media (max-width: 600px) {
	.adyanex-home-why__grid,
	.adyanex-home-blogs__grid,
	.adyanex-home-blogs__grid--archive {
		grid-template-columns: 1fr;
	}

	.adyanex-blog-archive__filters {
		overflow-x: auto;
		flex-wrap: nowrap;
		padding-bottom: 0.25rem;
		scrollbar-width: none;
	}

	.adyanex-blog-archive__filters::-webkit-scrollbar {
		display: none;
	}

	.adyanex-blog-archive__filter {
		flex: 0 0 auto;
	}

	.adyanex-home-clients__item {
		flex: 1 1 100%;
		max-width: 320px;
	}

	.adyanex-home-why__actions,
	.adyanex-home-cta__actions {
		flex-direction: column;
		align-items: stretch;
	}

	.adyanex-home-why__btn,
	.adyanex-home-cta__btn {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.adyanex-home-clients__card:hover,
	.adyanex-home-clients__card:hover .adyanex-home-clients__avatar,
	.adyanex-home-why__card:hover,
	.adyanex-home-cta__btn--primary:hover,
	.adyanex-home-why__btn--primary:hover {
		transform: none;
	}
}
