/* Imported offer cards. Every rule is scoped to plugin-owned markup. */
.fatg-offers {
	margin: 24px 0;
	color: #172334;
}
.fatg-offers-heading { margin-bottom: 18px; }
.fatg-offers-heading > span { display: block; margin-bottom: 6px; color: #3e6aa7; font-size: 10px; font-weight: 700; letter-spacing: 1.3px; }
.fatg-offers-heading h2 { margin: 0 0 6px; font-size: 25px; line-height: 1.3; }
.fatg-offers-heading p { margin: 0; color: #667386; font-size: 14px; line-height: 1.6; }
.fatg-offers-list { display: grid; gap: 16px; }
.fatg-offers .fatg-offers-empty { padding: 28px; border: 1px solid #e3e9f1; border-radius: 16px; background: #fff; color: #667386; }
.mag-box.wide-post-box .posts-items > li.fatg-offer-host {
	/* Jannah applies display:flex !important to this exact list layout. */
	display: block !important;
	float: none;
	clear: both;
	width: 100%;
	max-width: none;
	padding: 0;
	margin: 0 0 16px;
	border: 0;
	background: transparent;
	list-style: none;
}
.mag-box.wide-post-box .posts-items > li.fatg-offer-host:last-child { margin-bottom: 0; }
.fatg-offer-card,
.fatg-offer-card * { box-sizing: border-box; }
.fatg-offer-card {
	display: grid;
	grid-template-columns: 160px minmax(0, 1fr);
	align-items: start;
	gap: 22px;
	width: 100%;
	padding: 22px;
	margin: 0;
	border: 1px solid #e3e9f1;
	border-radius: 17px;
	background: #fff;
	color: #172334;
	box-shadow: 0 3px 14px #10233f04;
	text-align: left;
	line-height: 1.5;
}
.fatg-offer-card a { text-decoration: none; }
.fatg-offer-card a:focus-visible,
.fatg-offer-card button:focus-visible {
	outline: 3px solid #2e72e7;
	outline-offset: 3px;
}
.fatg-offer-media,
.fatg-offer-voucher {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 160px;
	height: 160px;
	min-width: 0;
	overflow: hidden;
	border: 1px solid #edf0f5;
	border-radius: 12px;
	background: #fff;
}
.fatg-offer-media img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: 100%;
	padding: 7px;
	margin: 0;
	border: 0;
	border-radius: 0;
	object-fit: contain;
	box-shadow: none;
}
.fatg-offer-voucher {
	flex-direction: column;
	gap: 13px;
	padding: 17px;
	border-color: #d7e5fc;
	background: linear-gradient(145deg, #f1f6ff, #e7efff);
	color: #1c53ad;
	text-align: center;
}
.fatg-offer-media > .fatg-offer-voucher { width: 100%; height: 100%; border: 0; border-radius: inherit; }
.fatg-voucher-detail { font-size: 10px; color: #6680a9; }
.fatg-voucher-label { font-size: 9px; font-weight: 700; letter-spacing: 1.2px; line-height: 1.6; }
.fatg-offer-voucher > strong { max-width: 100%; font-size: 21px; line-height: 1.3; font-weight: 750; overflow-wrap: anywhere; }
.fatg-offer-main { display: flex; flex-direction: column; min-width: 0; min-height: 160px; }
.fatg-offer-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 7px 12px; margin-bottom: 9px; }
.fatg-offer-store {
	display: inline-block;
	padding: 3px 9px;
	border-radius: 6px;
	background: #eef4ff;
	color: #3155a4;
	font-size: 10px;
	font-weight: 700;
	line-height: 1.6;
	overflow-wrap: anywhere;
}
.fatg-offer-store:empty { display: none; }
.fatg-offer-time { color: #778291; font-size: 11px; line-height: 1.5; }
.fatg-offer-card .fatg-offer-name { margin: 0 0 9px; padding: 0; font-size: 18px; line-height: 1.4; font-weight: 650; letter-spacing: -.2px; text-transform: none; overflow-wrap: anywhere; }
.fatg-offer-card .fatg-offer-name a { color: #172334; }
.fatg-offer-card .fatg-offer-name a:hover { color: #0b5bd6; }
.fatg-offer-card .fatg-offer-summary { margin: 0 0 15px; padding: 0; color: #657183; font-size: 12px; line-height: 1.7; overflow-wrap: anywhere; }
.fatg-offer-value { display: flex; align-items: center; flex-wrap: wrap; gap: 13px 20px; margin: 0 0 17px; }
.fatg-offer-value:empty { display: none; }
.fatg-offer-price { min-width: 0; }
.fatg-offer-price > span { display: block; margin-bottom: 3px; color: #526176; font-size: 11px; font-weight: 500; letter-spacing: normal; line-height: 1.5; overflow-wrap: anywhere; }
.fatg-offer-price > strong { display: block; color: #105fd7; font-size: 27px; font-weight: 750; line-height: 1.2; letter-spacing: -.8px; overflow-wrap: anywhere; }
.fatg-offer-card button.fatg-coupon {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 3px 12px;
	min-width: 140px;
	max-width: 100%;
	min-height: 54px;
	padding: 8px 12px;
	margin: 0;
	border: 1px dashed #98b9ea;
	border-radius: 9px;
	background: #f5f8ff;
	color: #2455a2;
	font-family: inherit;
	font-size: 12px;
	line-height: 1.4;
	text-align: left;
	text-transform: none;
	box-shadow: none;
	cursor: pointer;
}
.fatg-offer-card button.fatg-coupon:hover { background: #edf3ff; border-color: #5488d9; }
.fatg-coupon > span:first-child { grid-column: 1 / -1; color: #627c9f; font-size: 9px; letter-spacing: .7px; line-height: 1.5; }
.fatg-coupon > strong { min-width: 0; font-size: 13px; line-height: 1.4; font-weight: 700; letter-spacing: .2px; overflow-wrap: anywhere; }
.fatg-coupon .fatg-copy-status { color: #476996; font-size: 10px; font-weight: 500; white-space: nowrap; }
.fatg-coupon[aria-busy="true"] { cursor: progress; }
.fatg-coupon[data-copy-result="success"] .fatg-copy-status { color: #19733f; }
.fatg-coupon[data-copy-result="error"] .fatg-copy-status { color: #a53434; }
.fatg-offer-footer { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 17px; margin-top: auto; }
.fatg-offer-purchase { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.fatg-offer-card a.fatg-offer-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 42px;
	max-width: 100%;
	padding: 10px 18px;
	border: 1px solid #0965ec;
	border-radius: 8px;
	background: #0965ec;
	color: #fff;
	font-size: 12px;
	font-weight: 650;
	line-height: 1.5;
	text-align: center;
	text-decoration: none;
	overflow-wrap: anywhere;
	transition: background-color .15s, border-color .15s;
}
.fatg-offer-card a.fatg-offer-cta:hover { background: #0754c5; border-color: #0754c5; color: #fff; }
.fatg-offer-disclosure { color: #69778a; font-size: 11px; line-height: 1.5; white-space: nowrap; }
.fatg-offer-card a.fatg-offer-detail { display: inline-block; padding: 8px 0; color: #6c7a8c; font-size: 11px; line-height: 1.5; text-decoration: underline; text-underline-offset: 3px; }
.fatg-offer-card a.fatg-offer-detail:hover { color: #105fd7; }
.fatg-offer-extra { flex-basis: 100%; display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; margin-top: 12px; }
.fatg-offer-extra a { color: #42668e; font-size: 11px; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
@media (max-width: 620px) {
	.fatg-offers-heading h2 { font-size: 22px; }
	.fatg-offer-card { grid-template-columns: 96px minmax(0, 1fr); gap: 13px 14px; padding: 16px; border-radius: 14px; }
	.fatg-offer-media,
	.fatg-offer-voucher { grid-column: 1; grid-row: 1 / 3; width: 96px; height: 96px; border-radius: 9px; }
	.fatg-offer-media img { padding: 4px; }
	.fatg-offer-voucher { gap: 8px; padding: 10px; }
	.fatg-voucher-detail { font-size: 8px; }
	.fatg-voucher-label { font-size: 7px; letter-spacing: .7px; }
	.fatg-offer-voucher > strong { font-size: 15px; }
	.fatg-offer-main { display: contents; }
	.fatg-offer-meta { grid-column: 2; grid-row: 1; align-self: start; align-items: flex-start; gap: 5px; margin: 0; }
	.fatg-offer-time { flex-basis: 100%; font-size: 10px; }
	.fatg-offer-card .fatg-offer-name { grid-column: 2; grid-row: 2; align-self: start; font-size: 15px; line-height: 1.45; margin: 0; letter-spacing: -.1px; }
	.fatg-offer-card .fatg-offer-summary { grid-column: 1 / -1; grid-row: auto; margin: 0; font-size: 12px; }
	.fatg-offer-value { grid-column: 1 / -1; grid-row: auto; gap: 12px 18px; margin: 0; }
	.fatg-offer-price > strong { font-size: 26px; }
	.fatg-offer-card button.fatg-coupon { flex: 1 1 160px; min-width: 160px; }
	.fatg-offer-extra { grid-column: 1 / -1; grid-row: auto; margin-top: 0; }
	.fatg-offer-footer { grid-column: 1 / -1; grid-row: auto; gap: 5px 15px; margin: 2px 0 0; }
	.fatg-offer-card a.fatg-offer-cta { min-height: 44px; font-size: 12px; padding: 11px 16px; }
	.fatg-offer-card a.fatg-offer-detail { padding: 11px 0; }
}
@media (prefers-reduced-motion: reduce) {
	.fatg-offer-card a.fatg-offer-cta { transition: none; }
}
