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

.formadors-cercles {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px;
    align-items: flex-start;
}

.formador-item {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
}

/* Columna cercle */
.formador-col-cercle {
    flex-shrink: 0;
    position: relative;
}

.formador-cercle-link {
    display: block;
    position: relative;
    text-decoration: none;
}

.formador-cercle-img {
    display: flex;
    align-items: center;
    justify-content: center;
    width: var(--mida, 48px);
    height: var(--mida, 48px);
    border-radius: 50%;
    overflow: hidden;
}

.formador-cercle-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
	border: 2px solid #FFFFFF;
}

.formador-inicials {
    width: var(--mida, 48px);
    height: var(--mida, 48px);
    border-radius: 50%;
    background-color: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    color: #555;
}

.formador-nom-tooltip {
    display: none;
    position: absolute;
    bottom: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.75);
    color: #fff;
    font-size: 12px;
    padding: 3px 8px;
    border-radius: 4px;
    white-space: nowrap;
    pointer-events: none;
    z-index: 10;
}

.formador-cercle-link:hover .formador-nom-tooltip {
    display: block;
}

/* Columna info */
.formador-col-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    justify-content: center;
    align-self: center;
	padding-left: 10px;
}

.formador-nom-link {
    display: block;
    text-decoration: none;
    color: inherit;
    font-weight: 600;
    line-height: 1.3;
}

.formador-professio {
    display: block;
    font-size: 13px;
	color: #5C788787;
}

.formador-estudis {
    display: block;
    font-size: 13px;
	color: #5C788787;
}

/* Xarxes socials */
.formador-xarxes {
    display: flex;
    flex-direction: row;
    gap: 8px;
    align-items: center;
    margin-top: 4px;
}

.formador-xarxa-link {
    display: flex;
    align-items: center;
    color: inherit;
    text-decoration: none;
    transition: opacity 0.2s;
}

.formador-xarxa-link:hover {
    opacity: 0.7;
}
