.wpcg-cpo-offers {
	display: grid;
	align-items: start;
	gap: 18px;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
}

.wpcg-cpo-filters,
.wpcg-cpo-pagination {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 18px;
}

.wpcg-cpo-filters a,
.wpcg-cpo-pagination a {
	border: 1px solid #cbd5e1;
	border-radius: 999px;
	color: #334155;
	font-size: 0.9rem;
	font-weight: 700;
	padding: 7px 12px;
	text-decoration: none;
}

.wpcg-cpo-filters a:focus,
.wpcg-cpo-filters a:hover,
.wpcg-cpo-filters a.is-active,
.wpcg-cpo-pagination a:focus,
.wpcg-cpo-pagination a:hover,
.wpcg-cpo-pagination a.is-active {
	background: #163a5f;
	border-color: #163a5f;
	color: #ffffff;
}

.wpcg-cpo-pagination {
	margin-top: 18px;
}

.wpcg-cpo-card {
	background: #ffffff;
	border: 1px solid #d8dee8;
	border-radius: 8px;
	box-shadow: 0 8px 18px rgba(20, 33, 61, 0.08);
	color: #1e293b;
	overflow: hidden;
}

.wpcg-cpo-card--listing {
	display: flex;
	flex-direction: column;
	height: auto;
	min-height: 0;
}

.wpcg-cpo-card__image {
	aspect-ratio: 16 / 9;
	display: block;
	height: auto;
	object-fit: cover;
	width: 100%;
}

.wpcg-cpo-card__image-link {
	display: block;
	position: relative;
}

.wpcg-cpo-card__badges {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	left: 9px;
	position: absolute;
	top: 9px;
}

.wpcg-cpo-card__badges span,
.wpcg-cpo-single-badges span {
	background: #f97316;
	border-radius: 999px;
	color: #ffffff;
	font-size: 0.72rem;
	font-weight: 800;
	line-height: 1;
	padding: 6px 8px;
	text-transform: uppercase;
}

.wpcg-cpo-card__badges span.is-new,
.wpcg-cpo-single-badges span.is-new {
	background: #0f766e;
}

.wpcg-cpo-card__badges span.is-starting,
.wpcg-cpo-single-badges span.is-starting {
	background: #2563eb;
}

.wpcg-cpo-card__badges span.is-ending,
.wpcg-cpo-single-badges span.is-ending {
	background: #d97706;
}

.wpcg-cpo-card__badges span.is-expired,
.wpcg-cpo-single-badges span.is-expired {
	background: #64748b;
}

.wpcg-cpo-card__body-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
	margin: 0 0 7px;
	overflow: hidden;
}

.wpcg-cpo-card__body-tags span {
	background: #eef2f7;
	border-radius: 999px;
	color: #334155;
	font-size: 0.68rem;
	font-weight: 800;
	line-height: 1;
	padding: 5px 7px;
	text-transform: uppercase;
}

.wpcg-cpo-card__body-tags span.is-new {
	background: #dcfce7;
	color: #166534;
}

.wpcg-cpo-card__body-tags span.is-starting {
	background: #dbeafe;
	color: #1d4ed8;
}

.wpcg-cpo-card__body-tags span.is-ending {
	background: #fef3c7;
	color: #92400e;
}

.wpcg-cpo-card__body-tags span.is-expired {
	background: #e2e8f0;
	color: #475569;
}

.wpcg-cpo-card__body {
	padding: 20px;
}

.wpcg-cpo-card--listing .wpcg-cpo-card__body {
	display: grid;
	grid-template-rows: auto auto auto minmax(2.2em, 1fr) auto;
	height: clamp(196px, 44vw, 222px);
	overflow: hidden;
	padding: 11px 13px 13px;
}

.wpcg-cpo-card__logo {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 6px;
	display: block;
	height: 56px;
	margin-bottom: 16px;
	max-width: 180px;
	object-fit: contain;
	padding: 8px;
	width: auto;
}

.wpcg-cpo-card__business,
.wpcg-cpo-card__eyebrow,
.wpcg-cpo-card__category,
.wpcg-cpo-card__dates {
	color: #526179;
	font-size: 0.78rem;
	margin: 0 0 4px;
}

.wpcg-cpo-card__business {
	font-weight: 700;
	text-transform: none;
}

.wpcg-cpo-card__eyebrow {
	color: #d84f00;
	font-weight: 800;
	text-transform: uppercase;
}

.wpcg-cpo-card__title {
	font-size: 1.35rem;
	line-height: 1.25;
	margin: 0 0 12px;
}

.wpcg-cpo-card__title a {
	color: inherit;
	text-decoration: none;
}

.wpcg-cpo-card__title a:focus,
.wpcg-cpo-card__title a:hover {
	color: #163a5f;
	text-decoration: underline;
}

.wpcg-cpo-card--listing .wpcg-cpo-card__title {
	display: -webkit-box;
	font-size: 0.96rem;
	line-height: 1.18;
	margin-bottom: 4px;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.wpcg-cpo-card--listing .wpcg-cpo-card__summary {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	font-size: 0.82rem;
	line-height: 1.32;
	margin-bottom: 10px;
	overflow: hidden;
}

.wpcg-cpo-card--listing .wpcg-cpo-card__summary a {
	color: #163a5f;
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
}

.wpcg-cpo-card--listing .wpcg-cpo-card__summary a:focus,
.wpcg-cpo-card--listing .wpcg-cpo-card__summary a:hover {
	text-decoration: underline;
}

.wpcg-cpo-card__summary,
.wpcg-cpo-card__details,
.wpcg-cpo-card__claim,
.wpcg-cpo-card__content {
	margin: 0 0 14px;
}

.wpcg-cpo-card__content > :first-child {
	margin-top: 0;
}

.wpcg-cpo-card__content > :last-child {
	margin-bottom: 0;
}

.wpcg-cpo-card__content img {
	border-radius: 6px;
	height: auto;
	max-width: 100%;
}

.wpcg-cpo-card__claim {
	background: #f6f8fb;
	border-left: 4px solid #0f766e;
	padding: 12px;
}

.wpcg-cpo-card__services {
	margin: 0 0 16px 20px;
	padding: 0;
}

.wpcg-cpo-card__services li {
	margin-bottom: 4px;
}

.wpcg-cpo-card__code {
	align-items: center;
	background: #ecfeff;
	border: 1px solid #a5f3fc;
	border-radius: 6px;
	display: inline-flex;
	gap: 8px;
	margin: 0 0 14px;
	padding: 8px 10px;
}

.wpcg-cpo-card__code span {
	color: #155e75;
	font-size: 0.8rem;
	font-weight: 700;
	text-transform: uppercase;
}

.wpcg-cpo-card__gallery {
	display: grid;
	gap: 8px;
	grid-template-columns: repeat(3, 1fr);
	margin: 0 0 16px;
}

.wpcg-cpo-card__gallery img {
	aspect-ratio: 1;
	border-radius: 6px;
	display: block;
	height: auto;
	object-fit: cover;
	width: 100%;
}

.wpcg-cpo-card--single {
	margin-left: auto;
	margin-right: auto;
	max-width: 920px;
}

.wpcg-cpo-card--single .wpcg-cpo-card__image {
	max-height: 460px;
}

.wpcg-cpo-card--single .wpcg-cpo-card__body {
	padding: clamp(20px, 4vw, 36px);
}

.wpcg-cpo-card--single .wpcg-cpo-card__title {
	font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.wpcg-cpo-single-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 16px;
}

.wpcg-cpo-card--single .wpcg-cpo-card__gallery {
	grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
}

.wpcg-cpo-card__links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 16px;
}

.wpcg-cpo-card__links a {
	border: 1px solid #cbd5e1;
	border-radius: 999px;
	color: #334155;
	font-size: 0.9rem;
	padding: 6px 10px;
	text-decoration: none;
}

.wpcg-cpo-card__button {
	align-items: center;
	background: #163a5f;
	border-radius: 6px;
	color: #ffffff;
	display: inline-flex;
	font-weight: 700;
	justify-content: center;
	min-height: 44px;
	padding: 10px 16px;
	text-decoration: none;
}

.wpcg-cpo-card__button--secondary {
	background: #eef2f7;
	color: #163a5f;
}

.wpcg-cpo-card__button--secondary:focus,
.wpcg-cpo-card__button--secondary:hover {
	background: #dbe5f0;
	color: #163a5f;
}

.wpcg-cpo-card--listing .wpcg-cpo-card__button {
	min-height: 34px;
	padding: 6px 10px;
	width: 100%;
}

.wpcg-cpo-card__button:focus,
.wpcg-cpo-card__button:hover {
	background: #0f2c48;
	color: #ffffff;
}

.wpcg-cpo-card__button--disabled,
.wpcg-cpo-card__button--disabled:focus,
.wpcg-cpo-card__button--disabled:hover {
	background: #eef2f7;
	color: #64748b;
	cursor: default;
}

.wpcg-cpo-card--coming-soon {
	border-style: dashed;
}

.wpcg-cpo-card--coming-soon .wpcg-cpo-card__image {
	background: #f8fafc;
}

.wpcg-cpo-code-box {
	align-items: center;
	background: #f8fafc;
	border: 1px solid #d8dee8;
	border-radius: 8px;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0 0 16px;
	padding: 12px;
}

.wpcg-cpo-code-box__label {
	color: #526179;
	font-size: 0.82rem;
	font-weight: 800;
	text-transform: uppercase;
}

.wpcg-cpo-code-box__code {
	background: #ffffff;
	border: 1px dashed #94a3b8;
	border-radius: 6px;
	color: #163a5f;
	font-size: 1rem;
	font-weight: 800;
	letter-spacing: 0;
	padding: 8px 10px;
}

.wpcg-cpo-code-box__code.is-hidden {
	color: #64748b;
}

.wpcg-cpo-code-box__button {
	background: #163a5f;
	border: 0;
	border-radius: 6px;
	color: #ffffff;
	cursor: pointer;
	font-weight: 700;
	min-height: 36px;
	padding: 8px 12px;
}

.wpcg-cpo-code-box__button:focus,
.wpcg-cpo-code-box__button:hover {
	background: #0f2c48;
}

.wpcg-cpo-printable {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0 0 16px;
}

.wpcg-cpo-notice {
	background: #f8fafc;
	border: 1px solid #d8dee8;
	border-radius: 8px;
	color: #334155;
	padding: 16px;
}

.wpcg-offers-section {
	color: #102338;
	margin: 0 auto;
	max-width: 1180px;
	width: 100%;
}

.wpcg-offers-header {
	align-items: end;
	display: flex;
	gap: 16px;
	justify-content: space-between;
	margin: 0 0 18px;
}

.wpcg-offers-title {
	color: #102338;
	font-size: 1.55rem;
	line-height: 1.15;
	margin: 0;
}

.wpcg-offers-more {
	color: #17446c;
	font-size: 0.9rem;
	font-weight: 800;
	text-decoration: none;
}

.wpcg-offers-more:focus,
.wpcg-offers-more:hover {
	color: #0f2c48;
	text-decoration: underline;
}

.wpcg-offers-grid {
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.wpcg-offers-card {
	background: #fffaf1;
	border: 1px solid #d9e2ee;
	border-radius: 22px;
	box-shadow: 0 14px 30px rgba(15, 35, 56, 0.08);
	display: grid;
	grid-template-rows: auto auto auto 1fr auto;
	min-height: 236px;
	overflow: hidden;
	padding: 20px;
	position: relative;
	transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.wpcg-offers-card::before {
	background: linear-gradient(90deg, #f97316, #17446c);
	content: "";
	height: 4px;
	left: 20px;
	position: absolute;
	right: 20px;
	top: 0;
}

.wpcg-offers-card:focus-within,
.wpcg-offers-card:hover {
	border-color: #b7c7d9;
	box-shadow: 0 18px 36px rgba(15, 35, 56, 0.12);
	transform: translateY(-2px);
}

.wpcg-offers-card__top {
	align-items: start;
	display: flex;
	gap: 10px;
	justify-content: space-between;
	margin: 0 0 28px;
	min-height: 28px;
}

.wpcg-offers-card__business {
	color: #50627a;
	display: -webkit-box;
	font-size: 0.76rem;
	font-weight: 900;
	letter-spacing: 0.04em;
	line-height: 1.25;
	margin: 0;
	overflow: hidden;
	text-transform: uppercase;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.wpcg-offers-card__badge {
	background: #fff2e8;
	border: 1px solid #fed7aa;
	border-radius: 999px;
	color: #c2410c;
	flex: 0 0 auto;
	font-size: 0.68rem;
	font-weight: 900;
	line-height: 1;
	max-width: 112px;
	overflow: hidden;
	padding: 7px 9px;
	text-overflow: ellipsis;
	text-transform: uppercase;
	white-space: nowrap;
}

.wpcg-offers-card__badge.is-new {
	background: #ecfdf5;
	border-color: #a7f3d0;
	color: #047857;
}

.wpcg-offers-card__badge.is-starting {
	background: #eff6ff;
	border-color: #bfdbfe;
	color: #1d4ed8;
}

.wpcg-offers-card__badge.is-ending {
	background: #fffbeb;
	border-color: #fde68a;
	color: #b45309;
}

.wpcg-offers-card__badge.is-expired {
	background: #f1f5f9;
	border-color: #cbd5e1;
	color: #475569;
}

.wpcg-offers-card__headline {
	color: #14395d;
	display: -webkit-box;
	font-size: 1.55rem;
	font-weight: 900;
	line-height: 1.08;
	margin: 0 0 8px;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.wpcg-offers-card__subtitle {
	color: #12263f;
	display: -webkit-box;
	font-size: 0.98rem;
	font-weight: 800;
	line-height: 1.3;
	margin: 0 0 8px;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 1;
}

.wpcg-offers-card__date {
	color: #65758b;
	font-size: 0.98rem;
	font-weight: 800;
	line-height: 1.35;
	margin: 0 0 18px;
}

.wpcg-offers-card__cta {
	align-items: center;
	background: #14395d;
	border-radius: 999px;
	color: #ffffff;
	display: inline-flex;
	font-size: 0.92rem;
	font-weight: 900;
	justify-content: center;
	min-height: 40px;
	padding: 9px 16px;
	text-decoration: none;
	width: 100%;
}

.wpcg-offers-card__cta:focus,
.wpcg-offers-card__cta:hover {
	background: #0f2c48;
	color: #ffffff;
}

.wpcg-offers-empty {
	background: #f8fafc;
	border: 1px solid #d9e2ee;
	border-radius: 18px;
	color: #40526a;
	margin: 0;
	padding: 18px;
}

@media (max-width: 980px) {
	.wpcg-offers-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 620px) {
	.wpcg-offers-header {
		align-items: start;
		flex-direction: column;
		gap: 8px;
	}

	.wpcg-offers-grid {
		grid-template-columns: 1fr;
	}

	.wpcg-offers-card {
		min-height: 220px;
		padding: 18px;
	}

	.wpcg-offers-card::before {
		left: 18px;
		right: 18px;
	}

	.wpcg-offers-card__headline {
		font-size: 1.45rem;
	}
}
