/* 
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 */

/* Doctor description popup (Policlinic Doctor Loop Item) */
.doctor-description-popup-wrapper {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.doctor-description-popup {
    position: relative;
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}

.doctor-description-popup .close-popup {
    position: absolute;
    top: 12px;
    right: 16px;
    border: none;
    background: none;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    color: #333;
}

.doctor-description-popup .doctor-description-title {
    margin: 0 0 16px;
    padding-right: 24px;
}

@media (max-width: 767px) {
    .doctor-description-popup {
        padding: 24px;
    }

    .doctor-description-popup .doctor-description-title {
        font-size: 20px;
        line-height: 1.3;
    }
}

/* Pointer cursor on name/photo in loop items that have a description */
.e-loop-item:has(.doctor-description-data) .elementor-widget-theme-post-title,
.e-loop-item:has(.doctor-description-data) .elementor-widget-heading,
.e-loop-item:has(.doctor-description-data) .elementor-widget-theme-post-featured-image,
.e-loop-item:has(.doctor-description-data) .elementor-widget-image {
    cursor: pointer;
}
