/* ==========================================================================
   Bellance Academy — course & category pages
   Values mirror the Elementor pages (academy-dev-service-main / -internal).
   ========================================================================== */

.bla-page {
	--bla-brown: #7C6148;
	--bla-beige: #CFB195;
	--bla-cream: #FFF9F3;
	--bla-hero: #f1f2ee;
	--bla-line: #A7A7A7;
	--bla-gold: #c9a84c;
	--bla-text: #2F2F2F;
	--bla-dark: #0C0C0C;
	--bla-display: 'Urial', sans-serif;
	--bla-body: 'Mukta', sans-serif;
	display: block;
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
	font-family: var(--bla-body);
	color: #333;
	overflow-x: clip;
}

/* Hello Elementor boxes .site-main to 1140px on non-Elementor pages — our bands are full width. */
body main.site-main.bla-page,
body .bla-page {
	max-width: none !important;
	width: 100% !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}

.bla-page *,
.bla-page *::before,
.bla-page *::after {
	box-sizing: border-box;
}

.bla-page img {
	max-width: 100%;
	border: 0;
}

.bla-page h1,
.bla-page h2,
.bla-page h3,
.bla-page p {
	margin: 0;
	padding: 0;
}

.bla-page a {
	text-decoration: none;
}

.bla-page .bla-wrap {
	max-width: 1160px; /* 1140 content + 2×10 gutter, like Elementor boxed containers */
	margin-left: auto;
	margin-right: auto;
	padding-left: 10px;
	padding-right: 10px;
}

.bla-page .bla-center {
	text-align: center;
}

/* ---------- Headings ---------- */

.bla-page .bla-heading {
	font-family: var(--bla-display);
	font-size: 40px;
	font-weight: 400;
	line-height: 1;
	color: var(--bla-text);
	text-transform: none;
	letter-spacing: 0;
}

.bla-page .bla-heading--center {
	text-align: center;
}

.bla-page .bla-heading--lg {
	font-size: 44px;
	color: #000;
}

/* ---------- Tags ---------- */

.bla-page .bla-tag {
	display: inline-block;
	align-self: flex-start;
	font-family: var(--bla-body);
	font-size: 18px;
	font-weight: 500;
	line-height: 1;
	color: #fff;
	border: 1px solid #FFFFFF78;
	white-space: nowrap;
}

.bla-page .bla-tag--solid {
	background: var(--bla-brown);
	padding: 9px 16px;
}

.bla-page .bla-tag--glass {
	background: #7C614885;
	padding: 6px;
}

/* ---------- Buttons (Elementor button replica) ---------- */

.bla-page .bla-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 18px;
	min-height: 44px;
	padding: 12px 24px;
	font-family: var(--bla-body);
	font-size: 18px;
	font-weight: 500;
	line-height: 1;
	text-transform: none;
	border: 2px solid var(--bla-brown);
	border-radius: 0;
	cursor: pointer;
	transition: background-color .3s, color .3s, border-color .3s;
}

.bla-page .bla-btn .bla-btn__icon {
	width: 1em;
	height: 1em;
	fill: currentColor;
	flex-shrink: 0;
}

.bla-page .bla-btn--outline {
	background: #fff;
	color: #000;
}

.bla-page .bla-btn--solid {
	background: var(--bla-brown);
	color: #F2F2F2;
	font-size: 16px;
}

.bla-page .bla-btn--sm {
	font-size: 16px;
}

.bla-page .bla-btn--outline:hover,
.bla-page .bla-btn--outline:focus-visible,
.bla-page .bla-btn--solid:hover,
.bla-page .bla-btn--solid:focus-visible {
	background: var(--bla-brown);
	color: #fff;
}

.bla-page .bla-btn:focus-visible {
	outline: 2px solid var(--bla-beige);
	outline-offset: 2px;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.bla-page .bla-hero {
	background: var(--bla-hero);
	border-top: 2px solid var(--bla-line);
	border-bottom: 2px solid var(--bla-line);
}

.bla-page .bla-hero__inner {
	display: flex;
	align-items: stretch;
	min-height: 348px;
}

.bla-page .bla-hero__text {
	flex: 0 0 50.45%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 20px;
	padding: 10px;
}

.bla-page .bla-hero__title {
	font-family: var(--bla-display);
	font-size: 67px;
	font-weight: 400;
	line-height: 1;
	color: #212121;
	text-transform: capitalize;
	letter-spacing: 0;
}

.bla-page .bla-hero__subtitle {
	font-family: var(--bla-body);
	font-size: 18px;
	font-weight: 500;
	line-height: 1.15;
	color: #161616;
}

.bla-page .bla-hero__media {
	flex: 1 1 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 0;
}

.bla-page .bla-hero__media img {
	display: block;
	width: 100%;
	height: 348px;
	object-fit: contain;
	object-position: center center;
	filter: saturate(0);
}

/* ==========================================================================
   Intro row (title + text + Get in touch) and course cards
   ========================================================================== */

.bla-page .bla-listing {
	padding: 40px 0 50px;
}

.bla-page .bla-related {
	padding: 30px 0 10px;
}

.bla-page .bla-intro {
	display: flex;
	align-items: stretch;
}

.bla-page .bla-intro__text {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 0 10px 20px;
}

.bla-page .bla-intro__title {
	font-family: var(--bla-display);
	font-size: 40px;
	font-weight: 400;
	line-height: 1;
	color: #000;
	text-transform: none;
}

.bla-page .bla-intro__desc {
	font-family: var(--bla-body);
	font-size: 18px;
	font-weight: 400;
	line-height: 1.1;
	color: #000;
}

.bla-page .bla-intro__cta {
	flex: 0 0 25%;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	padding: 10px;
}

.bla-page .bla-cards {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 20px;
	padding: 10px;
}

.bla-page .bla-card {
	position: relative;
	flex: 0 0 calc((100% - 40px) / 3);
	min-height: 450px;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 10px;
	background-color: #222;
	background-position: center center;
	background-size: cover;
	overflow: hidden;
}

.bla-page .bla-card::before {
	content: '';
	position: absolute;
	inset: 0;
	background-image: linear-gradient(180deg, #FFFFFF00 17%, var(--bla-dark) 97%);
	pointer-events: none;
}

.bla-page .bla-card__cover {
	position: absolute;
	inset: 0;
	z-index: 1;
}

.bla-page .bla-card__body {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 10px;
	pointer-events: none;
}

.bla-page .bla-card__body a {
	pointer-events: auto;
}

.bla-page .bla-card__title {
	margin-top: 3px;
	font-family: var(--bla-display);
	font-size: 26px;
	font-weight: 500;
	line-height: 1;
	color: #fff;
	text-transform: none;
}

.bla-page .bla-card__title a {
	color: #fff;
}

.bla-page .bla-card__rule {
	width: 100%;
	height: 0;
	margin: 2px 0;
	border: 0;
	border-top: 1px solid #fff;
	background: none;
	opacity: 1;
}

.bla-page .bla-card__desc {
	margin-bottom: 6px;
	font-family: var(--bla-body);
	font-size: 14px;
	font-weight: 300;
	line-height: 23px;
	color: #fff;
}

.bla-page .bla-card .bla-btn {
	align-self: flex-start;
	margin-top: 4px;
}

/* ==========================================================================
   Curriculum
   ========================================================================== */

.bla-page .bla-curriculum {
	padding: 40px 0;
}

.bla-page .bla-course-body {
	max-width: 900px;
	margin: 0 auto;
	padding: 20px;
	font-family: 'DM Sans', Arial, Helvetica, sans-serif;
}

.bla-page .bla-module-title {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 12px 0 16px;
	font-family: var(--bla-body);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: var(--bla-brown);
}

.bla-page .bla-module-title::after {
	content: '';
	flex: 1;
	height: 1px;
	background: #eee6d8;
}

.bla-page .bla-curriculum-grid + .bla-module-title {
	margin-top: 36px;
}

.bla-page .bla-curriculum-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.bla-page .bla-course-body > .bla-curriculum-grid:last-child {
	margin-bottom: 48px;
}

.bla-page .bla-curriculum-item {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 0;
	padding: 16px 18px;
	background: #fff;
	border: 1px solid #eee6d8;
	border-left: 3px solid var(--bla-gold);
	border-radius: 2px;
	list-style: none;
}

.bla-page .bla-curriculum-item i {
	flex-shrink: 0;
	width: 22px;
	font-size: 18px;
	text-align: center;
	color: var(--bla-gold);
}

.bla-page .bla-curriculum-item span {
	font-size: 15px;
	line-height: 1.4;
	color: #333;
}

/* ==========================================================================
   Testimonials
   ========================================================================== */

.bla-page .bla-testimonials {
	margin-top: 40px;
	padding: 50px 0;
	background: var(--bla-cream);
	border-top: 2px solid var(--bla-line);
	border-bottom: 2px solid var(--bla-line);
}

.bla-page .bla-testimonials .bla-heading {
	padding: 10px 10px 0;
	margin-bottom: 20px;
}

.bla-page .bla-testimonials__sub {
	padding: 0 10px 30px;
	font-family: var(--bla-body);
	font-size: 16px;
	line-height: 1.5;
	color: var(--bla-text);
	text-align: center;
}

.bla-page .bla-rv {
	position: relative;
	padding: 0 50px;
	font-family: 'Mukta', Roboto, Arial, sans-serif;
}

.bla-page .bla-rv__clip {
	overflow: hidden;
}

.bla-page .bla-rv__rail {
	display: flex;
	flex-wrap: nowrap;
	gap: 24px;
	transition: transform .45s cubic-bezier(.4, 0, .2, 1);
	will-change: transform;
}

.bla-page .bla-rv__item {
	flex: 0 0 calc(33.333% - 16px);
	max-width: calc(33.333% - 16px);
	padding: 28px 26px 24px;
	background: #fff;
	border-radius: 14px;
}

.bla-page .bla-rv__top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	margin-bottom: 12px;
}

.bla-page .bla-rv__who {
	display: flex;
	align-items: center;
	gap: 12px;
}

.bla-page .bla-rv__pic {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	font-size: 18px;
	font-weight: 600;
	line-height: 1;
	color: #fff;
}

.bla-page .bla-rv__name {
	font-size: 15px;
	font-weight: 600;
	line-height: 1.3;
	color: #1a1a1a;
}

.bla-page .bla-rv__date {
	margin-top: 1px;
	font-size: 12.5px;
	line-height: 1.3;
	color: #888;
}

.bla-page .bla-rv__g {
	flex-shrink: 0;
	margin-top: 2px;
	line-height: 0;
}

.bla-page .bla-rv__stars {
	display: flex;
	align-items: center;
	gap: 1px;
	margin-bottom: 10px;
	font-size: 18px;
	line-height: 1;
	color: #FBBC04;
}

.bla-page .bla-rv__vrf {
	width: 16px;
	height: 16px;
	margin-left: 6px;
}

.bla-page .bla-rv__txt {
	font-size: 14.5px;
	line-height: 1.6;
	color: #3c3c3c;
	text-align: left;
}

.bla-page .bla-rv__arr {
	position: absolute;
	top: 50%;
	z-index: 3;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	min-width: 0;
	min-height: 0;
	margin: 0;
	padding: 0;
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 50%;
	box-shadow: 0 2px 8px rgba(0, 0, 0, .1);
	cursor: pointer;
	transform: translateY(-50%);
	transition: box-shadow .2s, background .2s, opacity .2s;
}

.bla-page .bla-rv__arr:hover {
	background: #f9f9f9;
	box-shadow: 0 2px 12px rgba(0, 0, 0, .14);
}

.bla-page .bla-rv__arr[disabled] {
	opacity: .4;
	cursor: default;
}

.bla-page .bla-rv__arr--l { left: 2px; }
.bla-page .bla-rv__arr--r { right: 2px; }

.bla-page .bla-rv__arr svg {
	width: 18px;
	height: 18px;
	fill: none;
	stroke: #333;
	stroke-width: 2.2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

/* ==========================================================================
   Instagram CTA
   ========================================================================== */

.bla-page .bla-ig {
	padding: 50px 0;
	border-top: 1px solid var(--bla-beige);
	border-bottom: 1px solid var(--bla-beige);
	text-align: center;
	font-family: 'Mukta', Roboto, Arial, sans-serif;
}

.bla-page .bla-testimonials + .bla-ig {
	border-top: 0;
}

.bla-page .bla-ig__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
}

.bla-page .bla-ig__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	border-radius: 16px;
	background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.bla-page .bla-ig__icon svg {
	width: 34px;
	height: 34px;
	fill: #fff;
}

.bla-page .bla-ig__handle {
	font-size: 22px;
	font-weight: 700;
	line-height: 1.2;
	color: #1a1a1a;
	transition: color .2s;
}

.bla-page .bla-ig__handle:hover {
	color: #c13584;
}

.bla-page .bla-ig__sub {
	margin-top: -8px;
	font-size: 15px;
	line-height: 1.4;
	color: #777;
}

.bla-page .bla-ig__btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 14px 40px;
	font-size: 15px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: .3px;
	color: #fff;
	background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
	border-radius: 50px;
	box-shadow: 0 4px 16px rgba(225, 48, 108, .3);
	transition: opacity .25s, transform .25s, box-shadow .25s;
}

.bla-page .bla-ig__btn:hover {
	color: #fff;
	opacity: .92;
	transform: translateY(-2px);
	box-shadow: 0 6px 24px rgba(225, 48, 108, .4);
}

.bla-page .bla-ig__btn svg {
	width: 18px;
	height: 18px;
	fill: #fff;
	flex-shrink: 0;
}

/* ---------- Accordion curriculum (long courses) ---------- */

.bla-page .bla-acc-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 0 0 14px;
	font-family: var(--bla-body);
	font-size: 15px;
	color: #6b6b6b;
}

.bla-page .bla-acc-all {
	min-height: 0;
	min-width: 0;
	padding: 4px 0;
	background: none;
	border: 0;
	border-bottom: 1px solid var(--bla-brown);
	border-radius: 0;
	font-family: var(--bla-body);
	font-size: 15px;
	font-weight: 500;
	color: var(--bla-brown);
	cursor: pointer;
}

.bla-page .bla-acc-all:hover,
.bla-page .bla-acc-all:focus {
	background: none;
	color: #000;
}

.bla-page .bla-acc {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-bottom: 48px;
}

.bla-page .bla-acc__item {
	background: #fff;
	border: 1px solid #eee6d8;
	border-left: 3px solid var(--bla-brown);
	border-radius: 2px;
}

.bla-page .bla-acc__head {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 18px 20px;
	cursor: pointer;
	list-style: none;
	user-select: none;
}

.bla-page .bla-acc__head::-webkit-details-marker { display: none; }
.bla-page .bla-acc__head::marker { content: ''; }

.bla-page .bla-acc__head:focus-visible {
	outline: 2px solid var(--bla-beige);
	outline-offset: -2px;
}

.bla-page .bla-acc__num {
	flex-shrink: 0;
	font-family: var(--bla-display);
	font-size: 22px;
	line-height: 1;
	color: var(--bla-gold);
}

.bla-page .bla-acc__title {
	flex: 1;
	font-family: var(--bla-body);
	font-size: 18px;
	font-weight: 600;
	line-height: 1.25;
	color: var(--bla-text);
}

.bla-page .bla-acc__count {
	flex-shrink: 0;
	font-family: var(--bla-body);
	font-size: 14px;
	color: #8a7a6a;
}

.bla-page .bla-acc__chev {
	flex-shrink: 0;
	width: 10px;
	height: 10px;
	margin-left: 4px;
	border-right: 2px solid var(--bla-brown);
	border-bottom: 2px solid var(--bla-brown);
	transform: rotate(45deg) translateY(-3px);
	transition: transform .25s;
}

.bla-page .bla-acc__item[open] > .bla-acc__head .bla-acc__chev {
	transform: rotate(-135deg) translateY(-2px);
}

.bla-page .bla-acc__item[open] > .bla-acc__head {
	border-bottom: 1px solid #eee6d8;
}

.bla-page .bla-acc__item > .bla-curriculum-grid {
	padding: 16px;
	background: #fcfaf7;
}

.bla-page .bla-empty {
	padding: 30px 10px;
	font-size: 18px;
	text-align: center;
	color: #555;
}

/* ==========================================================================
   Responsive — breakpoints match Elementor (1024 / 760)
   ========================================================================== */

@media (max-width: 1024px) {
	.bla-page .bla-hero__title { font-size: 56px; }
	.bla-page .bla-card { flex-basis: calc((100% - 20px) / 2); }
	.bla-page .bla-intro__cta { flex-basis: 30%; }
}

@media (max-width: 960px) {
	.bla-page .bla-rv__item {
		flex-basis: calc(50% - 12px);
		max-width: calc(50% - 12px);
	}
}

@media (max-width: 760px) {
	.bla-page .bla-hero__inner {
		flex-direction: column;
		justify-content: flex-start;
		gap: 12px;
		min-height: 65vh;
	}
	.bla-page .bla-hero__text {
		flex: 0 0 auto;
		justify-content: flex-start;
		gap: 10px;
		padding: 30px 10px 0;
	}
	.bla-page .bla-hero__title { font-size: 35px; }
	.bla-page .bla-hero__media { padding-bottom: 20px; }
	.bla-page .bla-hero__media img { height: 250px; }

	.bla-page .bla-listing { padding-top: 14px; }
	.bla-page .bla-intro { flex-direction: column; }
	.bla-page .bla-intro__text { padding: 14px 14px 0; }
	.bla-page .bla-intro__title { font-size: 28px; }
	.bla-page .bla-intro__desc { font-size: 17px; line-height: 1.2; }
	.bla-page .bla-intro__cta { justify-content: flex-start; padding: 20px 10px 10px; }

	.bla-page .bla-card { flex-basis: 100%; min-height: 375px; }
	.bla-page .bla-card__title { font-size: 27px; }

	.bla-page .bla-heading { font-size: 28px; }
	.bla-page .bla-curriculum-grid { grid-template-columns: 1fr; }
	.bla-page .bla-acc__head { gap: 12px; padding: 16px 14px; }
	.bla-page .bla-acc__title { font-size: 16px; }
	.bla-page .bla-acc__count { display: none; }
	.bla-page .bla-acc__item > .bla-curriculum-grid { padding: 12px 10px; gap: 10px; }
}

@media (max-width: 600px) {
	.bla-page .bla-rv { padding: 0 40px; }
	.bla-page .bla-rv__item {
		flex-basis: 100%;
		max-width: 100%;
	}
	.bla-page .bla-rv__arr { width: 34px; height: 34px; }
	.bla-page .bla-rv__arr--l { left: 0; }
	.bla-page .bla-rv__arr--r { right: 0; }
}

@media (max-width: 480px) {
	.bla-page .bla-course-body { padding: 20px 10px; }
	.bla-page .bla-ig { padding: 40px 0; }
	.bla-page .bla-ig__handle { font-size: 19px; }
	.bla-page .bla-ig__btn { padding: 12px 32px; font-size: 14px; }
	.bla-page .bla-ig__icon { width: 56px; height: 56px; }
	.bla-page .bla-ig__icon svg { width: 28px; height: 28px; }
}

@media (prefers-reduced-motion: reduce) {
	.bla-page .bla-rv__rail,
	.bla-page .bla-btn,
	.bla-page .bla-ig__btn { transition: none; }
}
