:root {
	--afs-navy: #003b70;
	--afs-blue: #0b4d98;
	--afs-green: #009c5b;
	--afs-yellow: #ffbd00;
	--afs-border: #d8e2ea;
	--afs-text: #123f65;
}

.afs-archive-main {
	width: min(1110px, calc(100% - 36px));
	margin: 34px auto 60px;
}

.afs-single,
.afs-catalog,
.afs-single-access {
	box-sizing: border-box;
	width: 100%;
	max-width: 1110px;
	margin-right: auto;
	margin-left: auto;
	color: var(--afs-text);
	font-family: Arial, Helvetica, sans-serif;
}

.afs-single *,
.afs-catalog * {
	box-sizing: border-box;
}

.afs-catalog-heading {
	margin: 0 0 28px;
	padding-bottom: 18px;
	border-bottom: 3px solid var(--afs-yellow);
}

.afs-catalog-heading span,
.afs-single-head > span {
	color: var(--afs-green);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .07em;
}

.afs-catalog-heading h1 {
	margin: 8px 0;
	color: var(--afs-navy);
	font-size: clamp(28px, 4vw, 42px);
}

.afs-catalog-heading p {
	margin: 0;
	color: #506d84;
}

.afs-store-section {
	margin-top: 48px;
}

.afs-store-section > .af-catalog-section-title {
	margin-bottom: 24px;
}

.afs-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	align-items: stretch;
}

.afs-columns-1 { grid-template-columns: 1fr; }
.afs-columns-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.afs-columns-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.afs-card {
	display: flex;
	overflow: hidden;
	min-width: 0;
	height: 100%;
	flex-direction: column;
	border: 1px solid var(--afs-border);
	border-radius: 15px;
	background: #fff;
	box-shadow: 0 8px 24px rgba(18, 55, 86, .08);
	transition: transform .22s ease, box-shadow .22s ease;
}

.afs-card:hover {
	box-shadow: 0 14px 34px rgba(18, 55, 86, .13);
	transform: translateY(-4px);
}

.afs-card-cover {
	position: relative;
	display: block;
	overflow: hidden;
	width: 100%;
	padding: 0;
	background: #001e3b;
	line-height: 0;
}

.afs-card-image,
.afs-card-cover .afs-video-placeholder {
	display: flex;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	align-items: center;
	justify-content: center;
	object-fit: cover;
	background: #003b70;
	color: #fff;
	font-size: 24px;
	font-weight: 800;
}

.afs-card-play {
	position: absolute;
	top: 50%;
	left: 50%;
	display: grid;
	width: 66px;
	height: 66px;
	place-items: center;
	border: 3px solid #fff;
	border-radius: 50%;
	background: rgba(0, 29, 56, .66);
	color: #fff;
	transform: translate(-50%, -50%);
}

.afs-card-play svg {
	display: block;
	width: 34px;
	height: 34px;
	fill: #fff;
}

.afs-card-play:not(.is-coming) svg {
	transform: translateX(2px);
}

.afs-hourglass-frame {
	fill: none;
	stroke: #fff;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 4;
}

.afs-hourglass-sand {
	fill: var(--afs-yellow);
}

.afs-card-body {
	display: flex;
	flex: 1;
	align-items: center;
	flex-direction: column;
	padding: 18px;
	text-align: center;
}

.afs-chip {
	display: inline-flex;
	padding: 5px 11px;
	border: 1px solid #a9dfc7;
	border-radius: 999px;
	background: #f2fbf7;
	color: #007f4b;
	font-size: 10px;
	font-weight: 800;
}

.afs-chip.is-coming {
	border-color: #f1cf70;
	background: #fff7d9;
	color: #785800;
}

.afs-card h3 {
	min-height: 48px;
	margin: 13px 0;
	color: var(--afs-navy);
	font-size: 18px;
	line-height: 1.3;
}

.afs-card h3 a {
	color: inherit;
	text-decoration: none;
}

.afs-rating {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 2px;
	margin: 4px 0 13px;
	color: #e2a000;
	font-size: 14px;
	line-height: 1;
}

.afs-star {
	position: relative;
	display: inline-block;
	color: #d6dce2;
}

.afs-star > span {
	position: absolute;
	top: 0;
	left: 0;
	overflow: hidden;
	color: #e2a000;
	white-space: nowrap;
}

.afs-rating-text {
	margin-left: 7px;
	color: var(--afs-navy);
	font-size: 11px;
	line-height: 1.3;
}

.afs-duration {
	margin: 4px 0 12px;
	font-size: 11px;
	line-height: 1.45;
}

.afs-card-body > hr {
	width: 100%;
	margin: 0 0 13px;
	border: 0;
	border-top: 1px solid var(--afs-border);
}

.afs-card-body > p:not(.afs-duration) {
	margin: 0 0 14px;
	color: var(--afs-text);
	font-size: 13px;
	line-height: 1.5;
}

.afs-card-price {
	margin: auto 0 14px;
	color: var(--afs-navy);
	font-size: 22px;
	font-weight: 800;
}

.afs-button {
	display: inline-flex !important;
	width: 100%;
	min-height: 46px;
	align-items: center;
	justify-content: center;
	margin-top: auto;
	padding: 13px 16px !important;
	border: 0 !important;
	border-radius: 9px !important;
	background: var(--afs-yellow) !important;
	box-shadow: none !important;
	color: #001f3d !important;
	font-weight: 800;
	text-align: center;
	text-decoration: none !important;
	transition: background .25s ease, color .25s ease;
}

.afs-button:hover,
.afs-button:focus-visible {
	background: var(--afs-navy) !important;
	color: var(--afs-yellow) !important;
}

.afs-video-section {
	width: 100%;
	margin-bottom: 28px;
}

.afs-player,
.afs-video-gate {
	position: relative;
	overflow: hidden;
	width: 100%;
	aspect-ratio: 16 / 9;
	background: #001e3b;
}

.afs-player video,
.afs-player iframe,
.afs-video-cover {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
	object-fit: cover;
}

.afs-video-placeholder {
	display: flex;
	width: 100%;
	height: 100%;
	align-items: center;
	justify-content: center;
	background: #003b70;
	color: #fff;
	font-size: 30px;
	font-weight: 800;
}

.afs-video-empty > span,
.afs-video-overlay {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	background: rgba(0, 29, 56, .3);
	color: #fff;
	font-weight: 800;
	text-align: center;
	text-shadow: 0 1px 4px #000;
}

.afs-video-overlay b {
	display: grid;
	width: 82px;
	height: 82px;
	place-items: center;
	border: 4px solid #fff;
	border-radius: 50%;
	background: rgba(0, 29, 56, .72);
}

.afs-video-overlay b svg {
	display: block;
	width: 44px;
	height: 44px;
}

.afs-video-overlay small {
	margin-top: 10px;
	font-size: 13px;
	letter-spacing: .05em;
}

.afs-single-layout {
	display: grid;
	grid-template-columns: minmax(0, 1.65fr) minmax(300px, 1fr);
	gap: 28px;
	align-items: start;
}

.afs-main-column,
.afs-sidebar {
	min-width: 0;
}

.afs-single-head {
	padding: 4px 0 20px;
	border-bottom: 1px solid var(--afs-border);
}

.afs-single-head h1 {
	margin: 7px 0 18px;
	color: var(--afs-navy);
	font-size: clamp(28px, 3vw, 38px);
	line-height: 1.14;
}

.afs-single-head .afs-rating {
	justify-content: flex-start;
	margin-bottom: 0;
}

.afs-categories,
.afs-description {
	padding: 21px 0;
	border-bottom: 1px solid var(--afs-border);
}

.afs-categories h2,
.afs-description h2 {
	margin: 0 0 14px;
	color: var(--afs-green);
	font-size: 12px;
	letter-spacing: .05em;
}

.afs-categories > div {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.afs-categories > div > span {
	display: inline-flex;
	padding: 7px 12px;
	border: 1px solid #a9dfc7;
	border-radius: 18px;
	background: #f2fbf7;
	color: #007f4b;
	font-size: 12px;
}

.afs-description {
	font-size: 16px;
	line-height: 1.65;
}

.afs-description p:first-of-type { margin-top: 0; }
.afs-description p:last-child { margin-bottom: 0; }

.afs-sidebar {
	position: sticky;
	top: 20px;
}

.afs-price-box,
.afs-info {
	overflow: hidden;
	margin-bottom: 18px;
	border: 1px solid var(--afs-border);
	border-radius: 12px;
	background: #fff;
}

.afs-price-box {
	padding: 28px 20px;
	background: #f0fbf7;
	text-align: center;
}

.afs-price-box h2 {
	margin: 0 0 14px;
	color: #006b45;
	font-size: 11px;
}

.afs-price-value {
	display: block;
	margin-bottom: 18px;
	color: var(--afs-navy);
	font-size: 28px;
}

.afs-price-box p {
	margin: 0;
	padding: 13px;
	border-radius: 8px;
	background: #fff4d5;
	color: #765600;
	font-size: 13px;
	line-height: 1.45;
}

.afs-info h2 {
	margin: 0;
	padding: 18px;
	background: #eaf4fb;
	font-size: 12px;
	text-align: center;
}

.afs-info > div {
	display: flex;
	justify-content: space-between;
	gap: 15px;
	padding: 17px;
	border-top: 1px solid var(--afs-border);
	font-size: 12px;
}

.afs-empty {
	padding: 25px;
	border: 1px solid var(--afs-border);
	border-radius: 10px;
	text-align: center;
}

body.single-af_simulador #primary > .container > .row > .col-sm-12.col-lg-3.col-md-4.col-12,
body.single-af_simulador #secondary {
	display: none !important;
}

body.single-af_simulador #main,
body.single-af_simulador #main .entry-content,
body.single-af_simulador #primary,
body.single-af_simulador #primary > .container > .row > .col-sm-12.col-lg-9.col-md-8.col-12 {
	width: 100%;
	max-width: none;
	flex: 0 0 100%;
}

@media (max-width: 900px) {
	.afs-grid,
	.afs-columns-4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.afs-single-layout {
		grid-template-columns: 1fr;
	}

	.afs-sidebar {
		position: static;
	}
}

@media (max-width: 600px) {
	.afs-archive-main {
		width: min(100% - 24px, 1110px);
	}

	.afs-grid,
	.afs-columns-2,
	.afs-columns-4 {
		grid-template-columns: 1fr;
	}

	.afs-card h3 {
		min-height: 0;
	}

	.afs-rating {
		flex-wrap: wrap;
	}
}

@media (prefers-reduced-motion: reduce) {
	.afs-card {
		transition: none;
	}
}
