/*
Theme Name: Sydney Child
Theme URI: http://athemes.com/theme/sydney
Author: aThemes
Author URI: http://athemes.com
Template: sydney
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sydney
*/
.elementor-icon-box-title {
	background-color: #203864 !important;
	padding: 20px;
	min-height: 200px !important;
}

.eb-courses-wrapper h2,
.eb-title {
    font-family: Roboto Serif, serif !important;
	font-size: 38px !important;
	line-height: 1 !important;
	color: #1B2460 !important;
	margin: 0 !important;
    padding: 0 !important;
	position: relative;
    padding-bottom: 15px;
    margin-bottom: 30px;
}

.eb-courses-wrapper h2,
.eb-title::after {
	content: '';
    position: absolute;
    bottom: -15px;
    left: 34px;
    transform: translateX(-50%);
    width: 7%; /* Adjust width to match your design */
    height: 3px; /* Adjust thickness */
    background-color: #e67148; /* Match the orange/red color in your image */
    border-radius: 2px;
}

/* Make shortcode container full width */
div.edwiser-bridge {
    width: 100% !important;
    max-width: 100% !important;
}

/* Course cards wrapper - use grid layout */
.sc-eb_courses-wrapper,
.eb_course_cards_wrap {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 20px !important;
    width: 100% !important;
}

/* Individual course card styling */
.wdm-col-3-2-1.eb-course-card,
.eb-course-card {
    background: #fff !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
    overflow: hidden !important;
    margin: 0 !important;
    width: 100% !important;
    transition: transform 0.3s ease !important;
}

.eb-course-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15) !important;
}

/* Remove any default column widths */
.wdm-col-3-2-1 {
    width: 100% !important;
    float: none !important;
    padding: 0 !important;
}

/* Course image */
.eb-course-card .wdm-course-grid-wrap {
    height: 200px !important;
    overflow: hidden !important;
}

.eb-course-card img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

/* Responsive */
@media (max-width: 768px) {
    .sc-eb_courses-wrapper,
    .eb_course_cards_wrap {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .sc-eb_courses-wrapper,
    .eb_course_cards_wrap {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}