/*
 Theme Name:   Medeus Child Theme
 Theme URI:    http://medeus.themerex.net/
 Description:  Medeus Child Theme
 Author:       ThemeRex
 Author URI:   http://themerex.net/
 Template:     medeus
 Version:      1.0
 Tags: blog, e-commerce, portfolio, grid-layout, one-column, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, custom-background, custom-colors, custom-header, custom-logo, custom-menu, editor-style, featured-image-header, featured-images, flexible-header, footer-widgets, full-width-template, microformats, post-formats, sticky-post, theme-options, threaded-comments, translation-ready, block-styles, wide-blocks
 Text Domain:  medeus
*/


/* =Theme customization starts here
------------------------------------------------------------ */
/* 1. Background el Site el asase */
.site-content, .main-container, article, section, .sc_layouts_panel_inner {
    background-color: #ececd6 !important;
}

/* 2. El Box el kbir (Container) - Fix el Rounded Corners */
.single-member {
    border-radius: 10px !important;
    overflow: hidden !important;
    border: none !important;
    background-color: transparent !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1) !important;
}

/* 3. El Soura (No Gaps) */
.gs_team_image__wrapper {
    background-color: transparent !important;
    line-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.gs_team_image__wrapper img {
    display: block !important;
    width: 100% !important;
    border-radius: 0 !important;
    margin-bottom: -1px !important; /* La t-shil el khat el abyad */
}

/* 4. Alwen el Frou3a (Khawd & Boushar) - Force Colors */
/* Khawd: Bg #7a1325 | Text #ececd6 */
.single-member-div.khawd .gs_member_info, 
.single-member-div.khawd .single-member {
    background-color: #7a1325 !important;
}
.single-member-div.khawd .gs-member-name, 
.single-member-div.khawd .gs-member-desig,
.single-member-div.khawd .gs-member-desc {
    color: #ececd6 !important;
}

/* Boushar: Bg #95af97 | Text #ffffff */
.single-member-div.boushar .gs_member_info, 
.single-member-div.boushar .single-member {
    background-color: #95af97 !important;
}
.single-member-div.boushar .gs-member-name, 
.single-member-div.boushar .gs-member-desig,
.single-member-div.boushar .gs-member-desc {
    color: #ffffff !important;
}

/* 5. Filter Buttons - No Blue & Custom Colors */
.gs-team-filter-cats li.filter > a {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.gs-team-filter-cats li.filter a span {
    background-color: #ccb08f !important;
    color: #ffffff !important;
    padding: 10px 25px !important;
    border-radius: 5px !important;
    display: block !important;
    transition: 0.3s !important;
}

/* Active State Filters */
.gs-team-filter-cats li.filter.active a[data-filter=".khawd"] span {
    background-color: #7a1325 !important;
    color: #ececd6 !important;
}

.gs-team-filter-cats li.filter.active a[data-filter=".boushar"] span {
    background-color: #95af97 !important;
    color: #ffffff !important;
}

/* 6. Extra Fixes (Icons & Lists) */
.sc_icons_item_description ul > li:before {
    color: #ccb08f !important;
}

/* Force removal of Blue Highlight on Mobile */
* {
    -webkit-tap-highlight-color: transparent !important;
}

.gs-team-filter-cats li.filter.active>a {
	background-color: #ececd6 !important;
}
/* 1. Force a default background color to prevent the "White Flash" */
.single-member, .gs_member_info {
    background-color: #7a1325 !important; /* Mne3tebir el default huwe el Khawd */
    transition: none !important; /* Mneshil el animation kermel ma ybayyin el lag */
}

/* 2. Iza ken boushar, bi-ghayyer el lawn fawran */
.single-member-div.boushar .single-member, 
.single-member-div.boushar .gs_member_info {
    background-color: #95af97 !important;
}

.sc_layouts_row_type_compact .sc_button.sc_button_size_small:not(.sc_button_simple) {
	background-color: #7a1325 !important;
}

/* El Hover state lal button el zghir */
.sc_layouts_row_type_compact .sc_button.sc_button_size_small:not(.sc_button_simple):hover {
    background-color: #95af97 !important;
    color: #fff !important; /* Iza baddik el text ydal abyad */
    transition: background-color 0.3s ease !important; /* Kermel ylawwen b-hede-e */
}