.targito-case-archive-hero,
.targito-case-archive {
	box-sizing: border-box;
	font-family: "Outfit", sans-serif;
	margin-left: calc(50% - 50vw);
	position: relative;
	width: 100vw;
}

.targito-case-archive-hero *, .targito-case-archive * { box-sizing: border-box; }
.targito-case-archive-hero__inner, .targito-case-archive__inner {
	margin: 0 auto;
	max-width: calc(var(--wd-container-w, 1248px) - 30px);
	width: min(calc(var(--wd-container-w, 1248px) - 30px), calc(100% - 30px));
}

.targito-case-archive-hero { background: #fff; padding: 48px 0; }
.targito-case-archive-hero__inner { align-items: center; display: grid; gap: 64px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.targito-case-archive-hero__content { align-items: flex-start; display: flex; flex-direction: column; gap: 16px; }
.targito-case-archive-hero h1 { color: #232935; font-size: 48px; font-weight: 700; letter-spacing: -.96px; line-height: 52px; margin: 0; }
.targito-case-archive-hero__subtitle { color: #545e72; font-size: 19px; line-height: 30px; margin: 0 0 8px; }
.targito-case-archive-hero__awards { align-items: center; border-top: 1px solid #e1e3ea; display: flex; gap: 24px; padding-top: 33px; width: 100%; }
.targito-case-archive-hero__awards > span { color: #78849a; flex: 0 0 auto; font-size: 12px; font-weight: 500; }
.targito-case-archive-hero__awards > div { display: flex; flex-wrap: wrap; gap: 16px; }
.targito-case-archive-hero__award { align-items: center; background: #edeef2; border: 1px solid #e1e3ea; border-radius: 50%; color: #78849a; display: flex; font-size: 8px; height: 44px; justify-content: center; overflow: hidden; padding: 5px; text-align: center; width: 44px; }
.targito-case-archive-hero__award img { max-height: 100%; max-width: 100%; object-fit: contain; }
.targito-case-archive-hero__image { border-radius: 6px; height: 396px; overflow: hidden; }
.targito-case-archive-hero__image img { display: block; height: 100%; object-fit: cover; width: 100%; }

.targito-case-archive { background: #fff; padding: 64px 0 80px; }
.targito-case-featured { border: 1px solid #e1e3ea; border-radius: 6px; display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); min-height: 322px; overflow: hidden; }
.targito-case-featured > article, .targito-case-card { color: inherit; position: relative; }
.targito-case-card__hit { inset: 0; position: absolute; z-index: 5; }
.targito-case-featured__primary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); min-height: 320px; }
.targito-case-featured__primary-copy { align-items: flex-start; background: #fff; display: flex; flex-direction: column; justify-content: center; padding: 32px; }
.targito-case-featured__primary-copy h2, .targito-case-card--text h3 { color: #232935; font-size: 28px; font-weight: 700; line-height: 34px; margin: 0 0 12px; }
.targito-case-featured__primary-copy p, .targito-case-card--text p { color: #545e72; font-size: 14px; line-height: 22px; margin: 0; }
.targito-case-featured__right { background: #f7f8fa; border-left: 1px solid #e1e3ea; display: flex; flex-direction: column; }
.targito-case-featured__right .targito-case-card__media { flex: 0 0 234px; }
.targito-case-card__media { background-color: #2d3444; background-position: center; background-size: cover; display: flex; flex-direction: column; justify-content: flex-end; min-height: 200px; overflow: hidden; padding: 20px; position: relative; }
.targito-case-card__media::before { background: linear-gradient(180deg, rgba(35,41,53,.05), rgba(35,41,53,.8)); content: ""; inset: 0; position: absolute; }
.targito-case-card__media.is-large { height: 100%; min-height: 320px; padding: 24px; }
.targito-case-card__metric, .targito-case-card__metric-label { position: relative; z-index: 1; }
.targito-case-card__metric { color: #fff; font-size: 32px; font-weight: 700; letter-spacing: -.32px; line-height: 32px; }
.targito-case-card__media.is-large .targito-case-card__metric { font-size: 48px; letter-spacing: -.96px; line-height: 48px; }
.targito-case-card__metric-label { color: #a0a9b8; font-size: 12px; line-height: 20px; margin-top: 2px; }
.targito-case-card__copy { background: #fff; display: flex; flex-direction: column; gap: 4px; padding: 20px; }
.targito-case-card__copy h3 { color: #232935; font-size: 16px; font-weight: 600; line-height: 22px; margin: 0; }
.targito-case-card__copy p { color: #545e72; font-size: 14px; line-height: 20px; margin: 0; }
.targito-case-featured__right .targito-case-card__copy { min-height: 87px; }

.targito-case-grid { display: grid; gap: 24px; grid-template-columns: repeat(3, minmax(0, 1fr)); padding-top: 24px; }
.targito-case-card { border: 1px solid #e1e3ea; border-radius: 6px; display: flex; flex-direction: column; min-height: 331px; overflow: hidden; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.targito-case-card:hover { border-color: #c8102e; box-shadow: 0 10px 28px rgba(35,41,53,.09); transform: translateY(-3px); }
.targito-case-card--regular .targito-case-card__copy { flex: 1; min-height: 128px; }
.targito-case-card--text { background: #f7f8fa; justify-content: center; padding: 33px; }
.targito-case-card--text p { margin-bottom: 20px; }
.targito-case-card--text > span { color: #c8102e; font-size: 14px; font-weight: 600; }
.targito-case-card h3 .glossaryLink, .targito-case-featured h2 .glossaryLink, .targito-case-featured h3 .glossaryLink { color: inherit !important; pointer-events: none; text-decoration: none !important; }

.targito-case-newsletter { align-items: center; background: #232935; border-radius: 6px; display: grid; gap: 32px; grid-column: 1 / -1; grid-template-columns: minmax(0, 1.5fr) minmax(360px, 1fr); min-height: 106px; padding: 24px 40px; }
.targito-case-newsletter h3 { color: #fff; font-size: 20px; font-weight: 600; line-height: 32px; margin: 0; }
.targito-case-newsletter p { color: #a0a9b8; font-size: 14px; line-height: 22px; margin: 3px 0 0; }
.targito-case-newsletter form { align-items: center; display: flex; gap: 8px; }
.targito-case-newsletter input[type="email"] { background: #2d3444; border: 1px solid #3a4255; border-radius: 100px; color: #fff; flex: 1; font-family: inherit; font-size: 14px; height: 40px; padding: 0 19px; }
.targito-case-newsletter input::placeholder { color: #78849a; opacity: 1; }
.targito-case-newsletter button { background: #c8102e; border: 0; border-radius: 6px; color: #fff; cursor: pointer; font-family: inherit; font-size: 16px; font-weight: 500; height: 46px; padding: 0 29px; white-space: nowrap; }
.targito-case-newsletter button span { display: inline-block; transition: transform .2s ease; }
.targito-case-newsletter button:hover span { transform: translateX(5px); }
.targito-case-newsletter .wpforms-container { margin: 0 !important; width: 100%; }
.targito-case-newsletter .wpforms-form { align-items: center; display: grid; gap: 8px 12px; grid-template-columns: minmax(0, 1fr) auto; }
.targito-case-newsletter .wpforms-field-container { display: contents; }
.targito-case-newsletter .wpforms-field { min-width: 0; padding: 0 !important; }
.targito-case-newsletter .wpforms-field-email { grid-column: 1; grid-row: 1; }
.targito-case-newsletter .wpforms-field-email > .wpforms-field-label { clip: rect(0 0 0 0); clip-path: inset(50%); height: 1px; overflow: hidden; position: absolute; white-space: nowrap; width: 1px; }
.targito-case-newsletter .wpforms-field-email input[type="email"] { background: #2d3444 !important; border: 1px solid #3a4255 !important; border-radius: 100px !important; color: #fff !important; font-family: inherit !important; font-size: 14px !important; height: 40px !important; max-width: none !important; padding: 0 19px !important; width: 100% !important; }
.targito-case-newsletter .wpforms-field-email input::placeholder { color: #78849a !important; opacity: 1; }
.targito-case-newsletter .wpforms-field-checkbox { grid-column: 1 / -1; grid-row: 2; }
.targito-case-newsletter .wpforms-field-checkbox fieldset { margin: 0 !important; padding: 0 !important; }
.targito-case-newsletter .wpforms-field-checkbox ul { margin: 0 !important; }
.targito-case-newsletter .wpforms-field-checkbox li { align-items: center; display: flex; gap: 7px; }
.targito-case-newsletter .wpforms-field-checkbox input { flex: 0 0 auto; margin: 0 !important; }
.targito-case-newsletter .wpforms-field-checkbox label { color: #a0a9b8 !important; font-size: 11px !important; line-height: 16px !important; }
.targito-case-newsletter .wpforms-submit-container { grid-column: 2; grid-row: 1; margin: 0 !important; padding: 0 !important; }
.targito-case-newsletter .wpforms-submit-container button.wpforms-submit { background: #c8102e !important; border: 0 !important; border-radius: 6px !important; color: #fff !important; font-family: inherit !important; font-size: 16px !important; font-weight: 500 !important; height: 46px !important; padding: 0 29px !important; }
.targito-case-newsletter .wpforms-error { color: #ffd6db !important; font-size: 11px !important; }
.targito-case-archive__empty { color: #545e72; font-size: 18px; padding: 80px 0; text-align: center; }

@media (max-width: 1024px) {
	.targito-case-archive-hero__inner { gap: 40px; }
	.targito-case-archive-hero__awards { align-items: flex-start; flex-direction: column; gap: 12px; }
	.targito-case-featured { grid-template-columns: 1fr; }
	.targito-case-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.targito-case-featured__right { border-left: 0; border-top: 1px solid #e1e3ea; grid-column: 1 / -1; }
	.targito-case-newsletter { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
	.targito-case-archive-hero { padding: 48px 0; }
	.targito-case-archive-hero__inner { grid-template-columns: 1fr; }
	.targito-case-archive-hero h1 { font-size: 40px; line-height: 44px; }
	.targito-case-archive-hero__image { aspect-ratio: 4 / 3; height: auto; order: -1; }
	.targito-case-archive-hero__awards > div { gap: 10px; }
	.targito-case-archive { padding-top: 48px; }
	.targito-case-featured, .targito-case-grid { grid-template-columns: 1fr; }
	.targito-case-featured__primary { grid-template-columns: 1fr; }
	.targito-case-featured__primary-copy, .targito-case-featured__right { grid-column: auto; grid-row: auto; }
	.targito-case-featured__right { border-top: 1px solid #e1e3ea; }
	.targito-case-newsletter { padding: 28px 22px; }
	.targito-case-newsletter form { align-items: stretch; flex-direction: column; }
	.targito-case-newsletter button { width: 100%; }
	.targito-case-newsletter .wpforms-form { align-items: stretch; grid-template-columns: 1fr; }
	.targito-case-newsletter .wpforms-field-email, .targito-case-newsletter .wpforms-field-checkbox, .targito-case-newsletter .wpforms-submit-container { grid-column: 1; grid-row: auto; }
}

@media (prefers-reduced-motion: reduce) {
	.targito-case-card, .targito-case-newsletter button span { transition: none; }
}
