/* AK Fighters - brand overrides on Gymfito template */
:root {
	--ak-accent: #c8102e;
	--ak-accent-2: #e0454a;
	--ak-accent-deep: #8f0a1c;
	--ak-text: #201e1d;
	--ak-bg: #01010f;
	--primary-color: #c8102e;
}

.ak-primary-color,
.ak-primary-color-hover:hover {
	color: var(--ak-accent) !important;
}

.ak-primary-bg,
.ak-primary-bg-hover:hover,
.button-primary,
a.button-primary {
	background-color: var(--ak-accent) !important;
}

.button-primary:hover,
a.button-primary:hover {
	background-color: var(--ak-accent-deep) !important;
}

/* Logo sizing for photo logo */
.ak-site_branding img,
.footer .logo img,
.offcanvas .logo img {
	height: 48px;
	width: auto;
	max-width: 160px;
	object-fit: contain;
}

@media (max-width: 767px) {
	.ak-site_branding img {
		height: 40px;
	}
}

/* —— Plans carousel —— */
.package-content.ak-plans-wrap {
	display: block;
	width: 100%;
	max-width: 100%;
	position: relative;
	z-index: 1;
}

.ak-plans-carousel {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 12px;
	width: 100%;
	max-width: 100%;
}

.ak-plans-carousel .ak-plans-swiper {
	width: 100%;
	max-width: 100%;
	min-width: 0;
	overflow: hidden;
	padding: 8px 2px 20px;
}

.ak-plans-carousel .swiper-wrapper {
	align-items: stretch;
}

.ak-plans-carousel .swiper-slide {
	height: auto;
	box-sizing: border-box;
}

.ak-plans-nav {
	width: 48px;
	height: 48px;
	border: 1px solid rgba(255, 255, 255, 0.25);
	background: rgba(1, 1, 15, 0.75);
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background 0.2s ease, border-color 0.2s ease;
	z-index: 2;
}

.ak-plans-nav:hover:not(.swiper-button-disabled) {
	background: var(--ak-accent);
	border-color: var(--ak-accent);
}

.ak-plans-nav.swiper-button-disabled {
	opacity: 0.35;
	cursor: default;
	pointer-events: none;
}

.package-content .package-card {
	height: 100%;
	width: 100%;
	box-sizing: border-box;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 36px 24px;
	background-color: #32191a;
	transition: background-color 0.2s ease;
}

.package-content .package-card.color2 {
	background-color: rgba(50, 25, 26, 0.55);
	border: 1px solid rgba(51, 56, 70, 0.5);
}

.package-content .package-card.style2.active {
	background-color: #c8102e;
	border-color: #c8102e;
}

.package-content .package-card.style2.active .button-primary.style_2 {
	background: #ffffff !important;
	color: #01010f;
}

.package-content .package-card.style2.active .button-primary.style_2 span svg path {
	fill: #01010f;
}

.package-content .package-card .title h5 {
	padding: 6px 20px 4px;
	background-color: #ffffff;
	color: #01010f;
	display: inline-flex;
	line-height: 100%;
	margin-bottom: 16px;
}

.package-content .package-card .title h3 {
	text-transform: uppercase;
	font-size: clamp(0.95rem, 1.6vw, 1.25rem);
	line-height: 1.3;
	min-height: 2.6em;
	color: #fff;
}

.package-content .package-card .title h6 {
	font-size: 18px;
	font-weight: 500;
	color: #d5bda2;
	margin-top: 6px;
}

.package-content .package-card .border-horizontal {
	height: 1px;
	width: 100%;
	background-color: #c8102e;
	margin: 24px 0 28px;
}

.package-content .package-card .package-list {
	text-align: start;
	max-width: 320px;
	list-style: none;
	padding: 0;
	margin: 0;
	width: 100%;
	flex: 1;
}

.package-content .package-card .package-list li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin-bottom: 12px;
	color: #fff;
	font-size: 0.95rem;
}

.package-content .package-card .button-primary {
	margin-top: 28px;
	text-transform: uppercase;
}

@media (max-width: 767px) {
	.ak-plans-carousel {
		grid-template-columns: auto minmax(0, 1fr) auto;
		gap: 6px;
	}

	.ak-plans-nav {
		width: 40px;
		height: 40px;
	}
}

.ak-about-title {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0;
}

.ak-about-title-top,
.ak-about-title-bottom {
	display: block;
}

.ak-about-title-bottom {
	display: flex;
	flex-wrap: nowrap;
	align-items: baseline;
	gap: 0.35em;
}

.ak-about-title-bottom .stroke-text {
	font-size: inherit;
	line-height: inherit;
	font-weight: inherit;
	margin: 0;
	flex-shrink: 0;
}

.about-section .img-content {
	min-height: 610px;
}

.about-section .img-content .img-content-one {
	height: 444px;
	max-height: 444px;
}

.about-section .img-content .img-content-one .about_1 {
	width: 100%;
	height: 444px;
	object-fit: cover;
	object-position: 72% center;
	display: block;
}

.about-section .img-content .img-content-two .img-content-about_2 {
	width: calc(50% - 15px);
	height: 405px;
	max-height: 405px;
	top: 185px;
	right: 0;
}

.about-section .img-content .img-content-two .img-content-about_2 .about_2 {
	width: 100%;
	height: 405px;
	object-fit: cover;
	object-position: center;
	display: block;
}

@media screen and (max-width: 767px) {
	.about-section .img-content .img-content-two .img-content-about_2 {
		width: 48%;
	}
}

.trainer-details .trainer-content-title {
	margin-bottom: 20px;
}

.trainer-details .trainer-meta {
	display: grid;
	grid-template-columns: max-content 1fr;
	column-gap: 3rem;
	row-gap: 1rem;
	align-items: start;
}

.trainer-details .trainer-meta p {
	margin-bottom: 0;
}

.trainer-details .trainer-details-img img {
	width: 100%;
	aspect-ratio: 438 / 560;
	object-fit: cover;
	object-position: center top;
	display: block;
}

.moving-section-wrap,
.moving-section-wrap-two {
	display: flex;
	width: 100%;
	max-width: 100%;
}

.moving-section-wrap .moving-section-in,
.moving-section-wrap-two .moving-section-in {
	width: max-content;
	min-width: 100%;
}

#horario .schedule-calendar .br-routine th,
#horario .schedule-calendar td {
	height: 58px;
	font-size: 16px;
}

#horario .schedule-calendar .cs-item {
	margin: 2px;
	padding: 6px 8px;
}

#horario .schedule-calendar .cs-item .cs-item-title {
	font-size: 18px;
	line-height: 1.1;
}

#horario .schedule-calendar .cs-item .cs-item-short-title {
	font-size: 13px;
	line-height: 1.2;
}

#horario .schedule-calendar .cs-item .cs-item-short-title p {
	margin-bottom: 0;
}

#horario .stroke-text.type2 {
	font-size: 110px !important;
	transform: translate(50%, -8px);
}

@media screen and (max-width: 767px) {
	#horario .stroke-text.type2 {
		font-size: 60px !important;
	}
}

.feature-card .normal .feature-card-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.feature-video .scrolling-image {
	object-fit: cover;
}

.post-card.style2 .post-content .post-img a {
	display: block;
	width: 100%;
}

.post-card.style2 .post-content .post-img img.post-img-lift {
	width: 100%;
	height: auto;
	aspect-ratio: 589 / 421;
	object-fit: cover;
	object-position: center 72%;
}

.ak-ig-posts > .col {
	display: flex;
}

.ak-ig-posts .post-card.style2 {
	height: 100%;
	width: 100%;
	justify-content: space-between;
}

.ak-ig-posts .post-card.style2 .post-content {
	width: 100%;
	flex: 1 1 auto;
}

.ak-ig-posts .post-card.style2 .post-info {
	min-height: 7.25rem;
}

.ak-ig-posts .post-card.style2 .post-btn {
	margin-top: auto;
}

/* Banner Disciplinas: menos recorte / zoom que cover */
.ak-bg.ak-bg-pullback {
	background-size: 100% auto;
	background-position: center 55%;
}

.services-card .services-info img[src*="services_icon1"],
.services-card .services-info img[src*="services_icon5"],
.services-card .services-info img[src*="services_icon6"] {
	width: 88px;
	height: 88px;
}

.offcanvas .ak-offcanvas-thumb {
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
}

/* SEO: H1 accesible sin alterar el hero visual */
.ak-seo-h1 {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* Team cards: same size regardless of photo ratio */
.team-content {
	align-items: stretch;
}

.team-card,
.team-card > a {
	height: 100%;
}

.team-card > a {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.team-card .team-header-info {
	position: relative;
	width: 100%;
	aspect-ratio: 3 / 4;
	overflow: hidden;
	background: #12121a;
}

.team-card .team-header-info .card-img-top {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
	display: block;
}

