/* ===================================================================================

* Theme Name: Exhibz Child
* Theme URI: https://themeforest.net/user/tripples/portfolio
* Description: Exhibz is a functional Event and Conference WordPress Theme.
* Version: 2.0
* Author: Tripples
* Author URI: http://www.themewinter.com
* Template: exhibz
* License: GNU General Public License version 3.0
* License URI: http://www.gnu.org/licenses/gpl-3.0.html
* Tags: one-column, right-sidebar, left-sidebar, custom-menu, featured-images, post-formats, sticky-post, translation-ready

* We encourage you to create Child theme for any modifications you will want to do.

* Why use Child theme?

* Because of future updates we may provide for this theme that will overwrite your
* modifications and all your custom work.

* If you are not familiar with Child Themes, you can read about it here:
* http://codex.wordpress.org/Child_Themes
* http://wp.tutsplus.com/tutorials/theme-development/child-themes-basics-and-creating-child-themes-in-wordpress/

====================================================================================== */

/* ===================================================================================
   Améliorations de l'UI pour les cartes du Widget Topics (ccgm)
   =================================================================================== */

/* Style de base de la carte */
.single-topics {
    border-radius: 16px !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    background: rgba(255, 255, 255, 0.03) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    overflow: visible !important; /* Laisse dépasser les petits points décoratifs */
    box-shadow: 0px 10px 30px 0px rgba(40, 55, 71, 0.05) !important;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), 
                box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), 
                border-color 0.4s ease !important;
}

/* Animation au survol de la carte */
.single-topics:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15) !important;
    border-color: rgba(40, 226, 47, 0.3) !important;
}

/* Remplacement de la décoration de points rouges par les points verts de la charte (#28E22F) */
.single-topics::before {
    background: radial-gradient(#28E22F 1.8px, transparent 1.8px) repeat !important;
    background-size: 6px 6px !important;
    left: -10px !important;
    top: -10px !important;
    width: 60px !important;
    height: 30px !important;
    z-index: 1 !important;
    opacity: 0 !important;
    transition: all ease 0.5s !important;
}

/* Affichage des points au survol */
.single-topics:hover::before {
    opacity: 1 !important;
}

/* Style du titre */
.single-topics .ts-title {
    font-size: 22px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    margin-bottom: 18px !important;
    letter-spacing: -0.3px !important;
    transition: color 0.3s ease !important;
}

/* Texte de description (paragraphe et listes) */
.single-topics p {
    font-size: 14.5px !important;
    line-height: 1.6 !important;
    opacity: 0.9 !important;
    transition: color 0.3s ease !important;
}

/* Liste à puces dans les cartes */
.single-topics p ul {
    margin: 10px 0 0 0 !important;
    padding-left: 15px !important;
}
.single-topics p li {
    margin-bottom: 8px !important;
    list-style-type: disc !important;
}

/* Modernisation du bouton de lien en cercle flottant */
.single-topics .topics-link {
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    color: #1a1a1a !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    right: 20px !important;
    bottom: 20px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    opacity: 0 !important;
    transform: translateY(10px) scale(0.9) !important;
    transition: opacity 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
                transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
                background-color 0.3s ease,
                color 0.3s ease !important;
}

/* Révélation du bouton au survol */
.single-topics:hover .topics-link {
    opacity: 1 !important;
    transform: translateY(0) scale(1) !important;
}

/* Effet de survol sur le bouton (Glow vert) */
.single-topics .topics-link:hover {
    background: #28E22F !important;
    color: #ffffff !important;
    box-shadow: 0 0 15px rgba(40, 226, 47, 0.5) !important;
    transform: scale(1.08) !important;
}

/* Transition douce de l'overlay de survol */
.single-topics::after {
    border-radius: 15px !important;
    transition: opacity 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

/* ===================================================================================
   Widget CCGM Topics
   =================================================================================== */
.ccgm-topics-card {
    position: relative;
    border-radius: 16px !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    background: rgba(255, 255, 255, 0.03) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    padding: 40px 35px 35px 35px !important;
    box-shadow: 0px 10px 30px 0px rgba(0, 0, 0, 0.05) !important;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), 
                box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), 
                border-color 0.4s ease !important;
    overflow: visible !important;
}

.ccgm-topics-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12) !important;
    border-color: rgba(40, 226, 47, 0.35) !important;
}

/* Points de décoration verts */
.ccgm-topics-decor {
    position: absolute;
    left: -10px;
    top: -10px;
    width: 60px;
    height: 30px;
    background: radial-gradient(#28E22F 1.8px, transparent 1.8px) repeat !important;
    background-size: 6px 6px !important;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.ccgm-topics-card:hover .ccgm-topics-decor {
    opacity: 1;
}

.ccgm-topics-title {
    font-size: 22px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    margin-bottom: 18px !important;
    letter-spacing: -0.3px !important;
    transition: color 0.3s ease !important;
}

.ccgm-topics-description {
    font-size: 14.5px !important;
    line-height: 1.6 !important;
    opacity: 0.9 !important;
}

.ccgm-topics-description ul {
    margin: 15px 0 0 0 !important;
    padding-left: 20px !important;
}

.ccgm-topics-description li {
    margin-bottom: 8px !important;
    list-style-type: disc !important;
}

/* Bouton rond */
.ccgm-topics-btn {
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    color: #1a1a1a !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: absolute !important;
    right: 20px !important;
    bottom: 20px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    opacity: 0 !important;
    transform: translateY(10px) scale(0.9) !important;
    transition: opacity 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
                transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
                background-color 0.3s ease,
                color 0.3s ease !important;
}

.ccgm-topics-card:hover .ccgm-topics-btn {
    opacity: 1 !important;
    transform: translateY(0) scale(1) !important;
}

.ccgm-topics-btn:hover {
    background: #28E22F !important;
    color: #ffffff !important;
    box-shadow: 0 0 15px rgba(40, 226, 47, 0.5) !important;
    transform: scale(1.08) !important;
}

/* ===================================================================================
   Widget CCGM Événement Phare
   =================================================================================== */
.ccgm-featured-event-card {
    position: relative;
    background: #181818 !important;
    color: #ffffff !important;
    border-radius: 16px !important;
    padding: 35px !important;
    box-shadow: 0 15px 45px rgba(0,0,0,0.3) !important;
    overflow: hidden !important;
    border: 1px solid rgba(255,255,255,0.05) !important;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

.ccgm-featured-event-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 20px 50px rgba(40, 226, 47, 0.15) !important;
}

.ccgm-featured-event-inner {
    position: relative;
    z-index: 2;
}

/* Ligne verte décorative à droite */
.ccgm-featured-event-sidebar-line {
    position: absolute;
    top: 0;
    right: 0;
    width: 6px;
    height: 100%;
    background: #28E22F;
    z-index: 3;
}

.ccgm-featured-event-header {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.ccgm-featured-event-dot {
    width: 10px;
    height: 10px;
    background: #28E22F;
    border-radius: 50%;
    margin-top: 10px;
    margin-right: 12px;
    flex-shrink: 0;
    box-shadow: 0 0 10px rgba(40, 226, 47, 0.8);
}

.ccgm-featured-event-title {
    font-size: 24px !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    margin: 0 !important;
    line-height: 1.3 !important;
    letter-spacing: -0.3px;
}

.ccgm-featured-event-image {
    margin-bottom: 25px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.ccgm-featured-event-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    max-height: 250px;
    transition: transform 0.6s ease;
}

.ccgm-featured-event-card:hover .ccgm-featured-event-image img {
    transform: scale(1.05);
}

.ccgm-featured-event-details-title {
    font-size: 16px !important;
    color: #888888 !important;
    text-transform: uppercase;
    font-weight: 600 !important;
    letter-spacing: 1px;
    margin-bottom: 15px !important;
}

.ccgm-featured-event-meta-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    font-size: 15px;
}

.ccgm-featured-event-meta-icon {
    color: #28E22F;
    font-size: 18px;
    margin-right: 12px;
    width: 20px;
    text-align: center;
}

.ccgm-featured-event-meta-text {
    color: #e0e0e0;
}

.ccgm-featured-event-footer {
    margin-top: 30px;
}

.ccgm-featured-event-link-btn {
    display: inline-flex;
    align-items: center;
    background: transparent;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
}

.ccgm-featured-event-link-btn i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.ccgm-featured-event-link-btn:hover {
    background: #28E22F !important;
    color: #ffffff !important;
    border-color: #28E22F !important;
    box-shadow: 0 8px 20px rgba(40, 226, 47, 0.3);
}

.ccgm-featured-event-link-btn:hover i {
    transform: translateX(4px);
}

.ccgm-featured-event-placeholder {
    padding: 30px;
    border: 2px dashed rgba(40, 226, 47, 0.3);
    border-radius: 12px;
    text-align: center;
    color: #888;
    background: rgba(40, 226, 47, 0.02);
}

/* ===================================================================================
   Widget CCGM Programme du Mois
   =================================================================================== */
.ccgm-programme-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ccgm-programme-item {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 14px;
    padding: 20px 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.ccgm-programme-item:hover {
    transform: translateX(6px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    border-color: rgba(40, 226, 47, 0.2);
}

/* Badge Calendrier */
.ccgm-programme-date-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 60px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    flex-shrink: 0;
    margin-right: 25px;
}

.ccgm-programme-month {
    background: #28E22F;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 0;
    width: 100%;
    text-align: center;
    letter-spacing: 1px;
}

.ccgm-programme-day {
    background: #f7f7f7;
    color: #1a1a1a;
    font-size: 22px;
    font-weight: 800;
    padding: 6px 0;
    width: 100%;
    text-align: center;
    line-height: 1;
}

/* Info centrale */
.ccgm-programme-info {
    flex-grow: 1;
}

.ccgm-programme-title {
    font-size: 18px !important;
    font-weight: 700 !important;
    margin: 0 0 8px 0 !important;
    line-height: 1.3 !important;
}

.ccgm-programme-title a {
    color: #1a1a1a !important;
    text-decoration: none;
    transition: color 0.2s ease;
}

.ccgm-programme-title a:hover {
    color: #28E22F !important;
}

.ccgm-programme-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.ccgm-programme-meta-item {
    font-size: 13.5px;
    color: #666666;
    display: inline-flex;
    align-items: center;
}

.ccgm-programme-meta-item i {
    color: #28E22F;
    margin-right: 6px;
}

/* Bouton action à droite */
.ccgm-programme-action {
    margin-left: 20px;
    flex-shrink: 0;
}

.ccgm-programme-arrow-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f0f0f0;
    color: #1a1a1a !important;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.ccgm-programme-arrow-btn:hover {
    background: #28E22F;
    color: #ffffff !important;
    box-shadow: 0 0 10px rgba(40, 226, 47, 0.4);
    transform: scale(1.08);
}

.ccgm-programme-placeholder {
    padding: 25px;
    border: 1px dashed rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    text-align: center;
    color: #888;
    background: #fafafa;
}

@media (max-width: 576px) {
    .ccgm-programme-item {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
    }
    .ccgm-programme-date-badge {
        margin-right: 0;
        margin-bottom: 15px;
    }
    .ccgm-programme-action {
        margin-left: 0;
        margin-top: 15px;
        align-self: flex-end;
    }
    .ccgm-programme-item:hover {
        transform: translateY(-4px);
    }
}