/* Typography: the Figma design uses Plus Jakarta Sans throughout,
   replacing the template's Inter */
body,
h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 {
	font-family: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
}

/* Brand palette on top of the template's theme-1 scale */
.theme-1 {
	--primary: #243c56;
	--primary-hover: #16283a;
	--secondary: #fdce42;
	--secondary-hover: #f0bd28;
	--primary-transparent: #eef2f7;
	--primary-100: #0e1b28;
}

/* Header divider. With the breadcrumb band removed the header sits
   directly on the course content, and the template gives it no edge at
   all (header { background: transparent }, no shadow).

   A solid stroke token reads as a hard rule here, so the line is brand
   navy at 5% instead, paired with a wide, negatively-spread shadow that
   fades out rather than stacking under the edge. The result separates
   without drawing a border. */
header.header-two {
	background: #fff;
	border-bottom: 1px solid rgba(14, 27, 40, 0.05);
	box-shadow: 0 8px 16px -8px rgba(14, 27, 40, 0.05);
}

/* Logo sizing */
.header-logo .logo,
.menu-logo .img-fluid {
	max-height: 52px;
	width: auto;
}

/* Active and hovered nav links in link blue. Selector depth matches the
   template's "header.fixed" variant so it wins in both states */
header.header-two .header-nav .main-menu-wrapper .main-nav > li.active > a,
header.header-two .header-nav .main-menu-wrapper .main-nav > li:hover > a {
	color: #3763c2;
}

/* Sign In pill: brand yellow fill, navy ink, radius 40 (Figma Header/Opus) */
.btn-signin {
	background: #fdce42;
	border: 1px solid #fdce42;
	color: #0e1b28 !important;
	border-radius: 40px;
	padding: 8px 16px;
	font-size: 14px;
	font-weight: 500;
}

.btn-signin:hover,
.btn-signin:focus {
	background: #f0bd28;
	border-color: #f0bd28;
	color: #0e1b28 !important;
}

.currency-dropdown > a {
	color: #232a39;
	font-size: 14px;
}

/* Course hero (Figma node 131:3604): navy card, white copy. The template
   ships this block as .card.bg-light, so every text colour inside has to
   be lifted explicitly rather than inherited. */
.course-hero-card {
	background: #0e1b28;
	border-color: #0e1b28;
}

.course-hero-card h3 {
	color: #fff;
}

/* Hero rating average (Figma node 131:3646): brand yellow on the navy
   card, next to the star icons. This used to be `.text-gray-9`, but that
   Bootstrap utility ships `color: var(--gray-900) !important` — a rule no
   descendant selector can beat — so the number rendered near-black on the
   near-black card background and was effectively invisible. */
.course-hero-card .hero-rating-value {
	color: #fdce42;
}

.course-hero-card p {
	color: rgba(255, 255, 255, 0.75);
}

/* Instructor / course-level pairs (Figma nodes 131:3632 and 221:6783).
   The design shows no avatar here — just a muted label over a lighter
   value. Two classes beat the blanket .course-hero-card p rule above. */
.course-hero-meta .meta-label {
	font-size: 14px;
	color: #737883;
}

.course-hero-meta .meta-value {
	font-size: 16px;
	font-weight: 500;
	color: #e7e7e7;
}

/* Hero thumbnail: Figma sizes it 368x207 (16:9). Without flex-shrink:0 the
   d-lg-flex row squeezes it below its intended width. */
.course-hero-card .course-hero-media {
	flex-shrink: 0;
}

.course-hero-card .course-hero-media img {
	width: 100%;
}

@media (min-width: 992px) {
	.course-hero-card .course-hero-media img {
		width: 368px;
	}
}

/* Main course image (Figma node 131:3652): 856x428 (2:1), radius 10, an
   IMAGE fill with a solid black 50% fill stacked on top, and the 92px
   play button from node 131:3606 centred over it. This is the only
   clickable image on the page — the hero thumbnail is static.
   NOTE: the only OPUS asset for this course is 300x169, so it upscales.
   Drop in a >=1712px export to make it sharp. */
.course-detail-media a {
	display: block;
	position: relative;
}

.course-detail-image {
	width: 100%;
	aspect-ratio: 2 / 1;
	object-fit: cover;
	border-radius: 10px;
}

.course-detail-overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.5);
	border-radius: 10px;
}

/* White at 80% with a black glyph — the inverse of the template's
   .play-icon, which is a dark circle with a white glyph */
.course-play-icon {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 92px;
	height: 92px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.8);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #000;
	font-size: 30px;
	transition: background 0.2s ease;
}

.course-detail-media a:hover .course-play-icon {
	background: #fff;
}

/* Purchase box (Figma node 131:3777): navy price, near-black pill CTA.
   The template ships .btn-primary purple here. */
.course-price {
	font-size: 30px;
	font-weight: 700;
	color: #16283a;
}

.btn-buy {
	height: 50px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #08131e;
	border: 1px solid #08131e;
	border-radius: 50px;
	color: #fff;
	font-size: 14px;
	font-weight: 500;
}

.btn-buy:hover,
.btn-buy:focus {
	background: #16283a;
	border-color: #16283a;
	color: #fff;
}

/* Guardar / Compartir: outlined pills, ink label */
.wishlist-btns .btn-wish {
	border-radius: 50px;
	color: #232a39;
	font-weight: 500;
}

/* Reviews (Figma node 131:3764). The template has no reviews block on
   this page, so the summary strip and the two-column card grid are
   defined here using the same tokens as the FAQ and content accordions. */
.course-reviews .rating-summary {
	display: flex;
	align-items: center;
	gap: 20px;
	background: #f4f6f9;
	border-radius: 5px;
	padding: 20px 24px;
}

.course-reviews .rating-score {
	font-size: 40px;
	font-weight: 700;
	line-height: 1;
	color: #232a39;
	margin: 0;
}

.course-reviews .review-card {
	height: 100%;
	border: 1px solid #e7e7e7;
	border-radius: 5px;
	padding: 16px;
}

.course-reviews .review-card .avatar {
	width: 44px;
	height: 44px;
	flex-shrink: 0;
}

.course-reviews .review-card .avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Placeholder avatar until a real student photo is supplied */
.course-reviews .avatar-placeholder {
	background: #e4e7ec;
	border-radius: 50%;
}

/* Footer announcement band: solid accent line, no text, no animation */
.footer-announcement-band {
	height: 16px;
	background: var(--secondary);
}

/* Footer logo exported from Figma: orange bird, white lettering */
.footer-four .footer-logo img {
	width: 186px;
	height: auto;
}

/* Figma caps the brand description narrower than the template's 500px */
.footer-four .footer-about p {
	max-width: 330px;
}
