/*
Theme Name: Studeon Child
Theme URI: http://studeon.axiomthemes.com/
Description: Studeon - excellent WordPress theme with many different blog and header layouts
Author: AxiomThemes
Author URI: http://axiomthemes.com/
Template: studeon
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: flexible-header, custom-background, custom-colors, custom-header, custom-menu, featured-image-header, featured-images, full-width-template, microformats, post-formats, theme-options, threaded-comments, translation-ready
Text Domain: studeon
*/


/* =Theme customization starts here
-------------------------------------------------------------- */


/* === TrainingWorkx Layout Fixes === */

/* Fix events widget - thumbnail overlapping title */
.sc_events_detailed_wrap {
    display: flex !important;
    align-items: center !important;
    overflow: visible !important;
    position: relative !important;
}

.sc_events_item_thumb_wrap {
    position: relative !important;
    flex-shrink: 0 !important;
    width: 60px !important;
    height: 60px !important;
    overflow: hidden !important;
    border-radius: 4px !important;
    margin-right: 15px !important;
}

.sc_events_item_thumb_wrap .sc_events_item_thumb {
    width: 100% !important;
    height: 100% !important;
    display: block !important;
}

.sc_events_item_thumb_wrap .sc_events_item_thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

.sc_events_item_title_wrap {
    flex: 1 !important;
    overflow: hidden !important;
    min-width: 0 !important;
}

.sc_events_item_title_wrap .sc_events_item_title,
.sc_events_item_title_wrap .sc_events_item_title a {
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: block !important;
    max-width: 100% !important;
}

/* Fix courses grid - prevent image/text cutoff */
.sc_courses_item {
    overflow: visible !important;
}

.sc_courses_item_featured_image {
    overflow: hidden !important;
}

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

/* Ensure event date circle doesn't overlap content */
.sc_events_item_date_wrap {
    flex-shrink: 0 !important;
    margin-right: 15px !important;
}
