/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

/* ##### Container Grid Layout ##### */
.coaches-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

/* Base Card Styling */
.coaches-container .coach-card-link {
    text-decoration: none !important;
    color: inherit !important;
    transition: transform 0.3s ease;
}

.coaches-container .coach-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.08);
}

.coaches-container .coach-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.1);
    border-color: #d1d1d1;
}

/* Image Handling - Overriding inline styles */
.coaches-container .coach-image-featured img {
    width: 100% !important;
    height: 240px !important; /* Adjusted for better proportion */
    object-fit: cover !important;
    display: block;
    object-position: top;
    
}

/* Details Section */
.coaches-container .coach-details {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    text-align: left;
}

.coaches-container .coach-title {
    font-size: 14px;
    color: #ff4d6d; /* Elemento Pink/Red */
    margin-bottom: 5px;
    line-height: 1.3;
    min-height: 40px;
}

.coaches-container .coach-name {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 12px;
}

/* Rating Badge */
.coaches-container .coach-rating {
    margin-bottom: 15px;
}

.coaches-container .coach-rating div {
    font-weight: bold;
    letter-spacing: 0.5px;
}

/* Pricing & Type */
.coaches-container .coach-rate {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.coaches-container .coach-rate-static {
    font-size: 11px;
    color: #888;
    margin-left: 4px;
}

.coaches-container .coach-rate-static-2 p {
    font-size: 12px;
    font-weight: bold;
    color: #ff4d6d;
    text-transform: uppercase;
    margin-bottom: 15px;
}

/* The Element Icons (Air/Fire/Earth) */
.coaches-container .category-logo-coaches {
    width: 120px !important;
    height: auto !important;
    margin: 10px auto 20px auto; /* Centering the icon */
    display: block;
    opacity: 0.9;
}

/* Divider & Level */
.coaches-container .coach-divider {
    height: 1px;
    background: #eee;
    width: 100%;
    margin-top: auto; /* Pushes to bottom */
    margin-bottom: 10px;
}

.coaches-container .coach-type {
    font-size: 13px;
    color: #ff4d6d;
    font-weight: 500;
    text-align: left;
}

/* ##### Coach Registration Form ###### */
.ef-section-body .pmpro_form_field-checkbox-grouped ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

.ef-section-body .pmpro_form_field-checkbox-grouped li {
    margin: 0;
    padding: 0;
}

.ef-section-body .pmpro_form_field-checkbox-grouped-item {
    display: flex;
    align-items: center!important;
    gap: 0.85rem;
    padding: 12px 14px;
    border: 1px solid #e5e0d7;
    border-radius: 10px;
    background: #faf8f4;
}

.ef-section-body .pmpro_form_field-checkbox-grouped-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
    flex: none;
}

.ef-section-body .pmpro_form_field-checkbox-grouped-item label {
    cursor: pointer;
    margin: 0;
    line-height: 1.4;
    font-weight: 600;
    color: #222;
}

@media (min-width: 768px) {
    .ef-section-body .pmpro_form_field-checkbox-grouped ul {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}