/* 
Theme Name: Aceso Academy
Theme URI: https://acesoacademy.co.uk/
Author: Freelance-Creator
Author URI: https://www.freelance-creator.com/
Template: astra
Version: 1.0.0
*/

/* Astra Header Builder
#ast-desktop-header, #ast-mobile-header {
	position: fixed;
	top: 0;
	left: 0;
	padding: 0;
	width: 100%;
	transition: all ease-out 0.5s;
	z-index: 999;
}

#ast-desktop-header.active, #ast-mobile-header.active {
	background: #FFF;
	box-shadow: 5px 3px 20px 0 rgba(0, 0, 0, 0.1);
	padding: 0;
}

#ast-desktop-header.active img.custom-logo, #ast-mobile-header.active img.custom-logo {
	width: 150px!important;
	-webkit-transition: all ease-out .5s;
	-moz-transition: all ease-out .5s;
	-o-transition: all ease-out .5s;
	transition: all ease-out .5s;
}

#ast-desktop-header.active img.custom-logo, #ast-mobile-header.active img.custom-logo {
	content: url('/wp-content/uploads/2026/06/web-logo.png');
}

#ast-desktop-header.active .menu-link, #ast-mobile-header.active .menu-link {
	color: #101732;
}

#ast-desktop-header.active .menu-link:hover, #ast-mobile-header.active .menu-link:hover {
	color: #678e97;
}
*/

/* Basket icon - white when the transparent header is active */
body.ast-theme-transparent-header .ast-site-header-cart .ast-icon-shopping-cart {
    color: #ffffff !important;
}

/* Content */
/*.elementor-widget-image-carousel .swiper-slide-image {
	filter: brightness(0) saturate(100%) invert(80%) sepia(10%) saturate(300%) hue-rotate(170deg) brightness(95%);
	transition: filter 0.3s ease;
}

.elementor-widget-image-carousel .swiper-slide:hover .swiper-slide-image {
	filter: none;
}*/

.ast-page-builder-template.single .post-navigation {
	display: none;
}

/* Course Cards */
.aceso-courses-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
	margin: 40px 0 0;
}

.aceso-course-card {
	background: #fff;
	border-radius: 10px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
	border-top: 4px solid #678E97;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.aceso-course-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

/* Featured Image */
.aceso-course-image {
	width: 100%;
	overflow: hidden;
	line-height: 0;
}

.aceso-course-thumb {
	width: 100%;
	height: 180px;
	object-fit: cover;
	display: block;
	transition: transform 0.4s ease;
}

.aceso-course-card:hover .aceso-course-thumb {
	transform: scale(1.03);
}

/* Card Body */
.aceso-course-body {
	display: flex;
	flex-direction: column;
	flex-grow: 1;
	padding: 24px;
}

/* Suite Badge */
.aceso-course-suite {
	display: inline-block;
	background: #678E97;
	color: #fff;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding: 4px 10px;
	border-radius: 4px;
	margin-bottom: 12px;
	width: fit-content;
}

/* Title */
.aceso-course-title {
	font-size: 17px;
	font-weight: 700;
	color: #101732;
	margin: 0 0 10px;
	line-height: 1.4;
}

.aceso-course-title a {
	text-decoration: none;
	color: #101732;
	transition: color 0.3s ease;
}

.aceso-course-title a:hover {
	color: #678E97;
}

/* Excerpt */
.aceso-course-excerpt {
	font-size: 14px;
	color: #555;
	line-height: 1.6;
	margin: 0 0 16px;
	flex-grow: 1;
}

/* Meta List */
.aceso-course-meta {
	list-style: none;
	padding: 16px 0 0;
	margin: 0 0 20px;
	border-top: 1px solid #eee;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 8px 16px;
}

.aceso-course-meta li {
	font-size: 13px;
	color: #444;
}

.aceso-meta-label {
	font-weight: 600;
	color: #101732;
	margin-right: 4px;
}

/* Footer */
.aceso-course-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	border-top: 1px solid #eee;
	padding-top: 18px;
	margin-top: auto;
	gap: 10px;
}

.aceso-course-price {
	font-size: 22px;
	font-weight: 700;
	color: #101732;
	white-space: nowrap;
}

.aceso-course-buttons {
	display: flex;
	gap: 8px;
	align-items: center;
	flex-wrap: wrap;
}

/* View Course button */
.aceso-details-btn {
	display: inline-block;
	background: transparent;
	color: #101732 !important;
	font-size: 13px;
	font-weight: 600;
	padding: 9px 16px;
	border-radius: 6px;
	text-decoration: none;
	border: 2px solid #101732;
	transition: background 0.3s ease, color 0.3s ease;
	white-space: nowrap;
}

.aceso-details-btn:hover {
	background: #101732;
	color: #fff !important;
}

/* Book Now button - solid style */
.aceso-book-btn {
	display: inline-block;
	background: #101732;
	color: #fff !important;
	font-size: 13px;
	font-weight: 600;
	padding: 9px 16px;
	border-radius: 6px;
	text-decoration: none;
	border: 2px solid #101732;
	transition: background 0.3s ease, border-color 0.3s ease;
	white-space: nowrap;
}

.aceso-book-btn:hover {
	background: #678E97;
	border-color: #678E97;
}

/* No courses message */
.aceso-no-courses {
	text-align: center;
	color: #666;
	font-size: 15px;
	padding: 40px 0;
}

@media (max-width: 1024px) {
	.aceso-courses-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 600px) {
	.aceso-courses-grid {
		grid-template-columns: 1fr;
	}

	.aceso-course-footer {
		flex-direction: column;
		align-items: flex-start;
	}
}