/*
Theme Name: Hubfolio Child
Author: ThemesCamp
Author URI:  http://themeforest.net/user/themescamp
Theme URI: http://themeforest.net/user/themescamp/portfolio
Template: hubfolio
Description: This is child theme for hubfolio Theme.
Version: 1.0.0
License: GNU General Public License version 3.0
License URI: http://www.gnu.org/licenses/gpl-3.0.html
Text Domain: hubfolio-child
Tags: one-column, two-columns, right-sidebar,custom-colors,featured-images
*/

.logo1 {
    max-width: 60px !important;
} 
.ccc .elementor-widget-tcg-nav-menu{
    margin-left: auto;
    margin-right: auto;}
.elementor-261 .elementor-element.elementor-element-40f8ff86 > .elementor-widget-container{border: none !important}
.whiteText * {
	color:#FFF !important;
}.elementor-element-43b036c7 .tcgelements-menu-list ul a {
    font-size: 32px !important;
}


.elementor-element.elementor-element-20ba7f68.e-con-full.e-flex.e-con.e-child {
    padding-top: 150px;
}




/* ==========================================
   CSS POUR ARTICLES ELEMENTOR - DARK & RED STYLE
   ========================================== */

/* Fond de la page en noir partout */
body,
.agents,
.agents .elementor-3922 {
    background: #111 !important;
    min-height: 100vh;
    padding: 2rem 0;
    color: #fff;
}

/* Section des filtres */
.agents .elementor-element-26d287b.filtre {
    background: rgba(224,49,49,0.12) !important;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(224,49,49,0.16);
    border-radius: 20px;
    padding: 0 2rem 2rem 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 8px 32px rgba(224,49,49,0.08);
}

/* Container des boutons de filtre */
.agents .e-filter {
    display: flex !important;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
    align-items: center;
}

/* Boutons de filtre */
.agents .e-filter-item { 
    background: rgba(224,49,49,0.10) !important;
    border: 1px solid rgba(224,49,49,0.22) !important;
    color: #fff !important;
    padding: 0.4rem 1rem !important;
    border-radius: 25px !important;
    cursor: pointer;
    transition: all 0.3s ease !important;
    font-size: 0.8rem !important;
    font-weight: 500 !important;
    backdrop-filter: blur(10px);
    text-transform: capitalize;
    font-family: inherit;
    flex-basis: auto;
}

.agents .e-filter-item:hover,
.agents .e-filter-item:focus {
    background: #E03131 !important;
    color: #fff !important;
    border-color: #E03131 !important;
    box-shadow: 0 4px 12px rgba(224,49,49,0.20) !important;
    outline: 2px solid #E03131 !important;
    outline-offset: 2px;
}

.agents .e-filter-item[aria-pressed="true"] {
    background: linear-gradient(45deg, #E03131, #ff5858) !important;
    border-color: transparent !important;
    transform: scale(1.05) !important;
    box-shadow: 0 4px 20px rgba(224,49,49,0.4) !important;
    color: #fff !important;
}

/* Container des articles */
.agents .elementor-element-42ffc21.items {
    margin-top: 0;
}

/* Grille des articles */
.agents .elementor-loop-container.elementor-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)) !important;
    gap: 2rem !important;
    margin-top: 1rem;
}

/* Cards d'articles : fond blanc, texte noir */
.agents .e-loop-item {
    background: #fff !important;
    color: #111 !important;
    border-radius: 20px !important;
    box-shadow: 0 10px 40px rgba(224,49,49,0.08) !important;
    transition: all 0.4s ease !important;
    border: 1px solid rgba(224,49,49,0.22) !important;
    position: relative;
    overflow: hidden;
    animation: fadeIn 0.6s ease-out;
}

/* Ligne rouge en haut des cards */
.agents .e-loop-item::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, #E03131, #ff5858);
    z-index: 1;
}

.agents .e-loop-item:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 20px 60px rgba(224,49,49,0.12) !important;
}

/* Container interne des cards */
.agents .elementor-element-30a3bad.item {
    padding: 2rem !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* Titres des articles dans la card : noir */
.agents .e-loop-item .elementor-heading-title {
    font-size: 1.3rem !important;
    font-weight: 700 !important;
    color: #111 !important;
    margin-bottom: 1rem !important;
    line-height: 1.4 !important;
}

/* Extraits des articles dans la card : noir */
.agents .e-loop-item .elementor-widget-theme-post-excerpt p {
    color: #111 !important;
    line-height: 1.6 !important;
    margin-bottom: 1.5rem !important;
    font-size: 0.95rem !important;
    opacity: 0.85;
}

/* Section meta (auteur + tag) dans la card : noir */
.agents .e-loop-item .elementor-widget-tcg-post-info {
    padding-top: 1rem !important;
    border-top: 1px solid #eee;
}
.agents .e-loop-item .elementor-post-info {
   display: flex !important;
    flex-wrap: wrap;
    gap: 0.6rem;
    align-items: center;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    font-size: 0.92rem !important;
    background: none !important;
    border: none !important;
}

/* Info auteur dans la card : noir */
.agents .e-loop-item .elementor-repeater-item-a0829fe,
.agents .e-loop-item .elementor-repeater-item-a0829fe a {
    color: #111 !important;
}

.agents .e-loop-item .elementor-repeater-item-b18b008 .elementor-icon-list-icon {
    display: none !important;
}
.agents  .Platform ul{list-style: none !important; }

/* Icônes dans la card */
.agents .e-loop-item .elementor-icon-list-icon {
    width: 16px !important;
    height: 16px !important;
    opacity: 0.8;
}
.agents .e-loop-item .elementor-icon-list-icon svg {
    width: 16px !important;
    height: 16px !important;
}

/* Animation d'apparition */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px);}
    to { opacity: 1; transform: translateY(0);}
}

/* Responsive Design */
@media (max-width: 768px) {
    .agents .elementor-3922 { padding: 1rem 0;}
    .agents .elementor-element-26d287b.filtre {
        padding: 1.5rem !important;
        border-radius: 15px !important;
        margin: 0 1rem 2rem 1rem;
    }
    .agents .elementor-loop-container.elementor-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
        padding: 0 1rem;
    }
    .agents .elementor-element-30a3bad.item { padding: 1.5rem !important;}
    .agents .e-loop-item { border-radius: 15px !important;}
    .agents .e-filter-item { font-size: 0.8rem !important; padding: 0.5rem 1rem !important;}
}
@media (max-width: 480px) {
    .agents .elementor-loop-container.elementor-grid { grid-template-columns: 1fr !important; gap: 1rem !important;}
    .agents .e-filter { gap: 0.5rem !important;}
    .agents .e-filter-item { font-size: 0.75rem !important; padding: 0.4rem 0.8rem !important;}
}

/* États cachés pour le filtrage */
.agents .e-loop-item.hidden { display: none !important;}
.agents .e-loop-item.visible { display: block !important; animation: fadeIn 0.6s ease-out;}

/* Amélioration des focus pour l'accessibilité */
.agents .e-filter-item:focus { outline: 2px solid #E03131 !important; outline-offset: 2px; }

/* Smooth scroll si nécessaire */
html  { scroll-behavior: smooth; }

/* Performance optimizations */
.agents .e-loop-item { will-change: transform; }
.agents .e-filter-item { will-change: transform, background-color; }


/* =========== SEARCH & FILTERS =========== */

/* Conteneur général */


.agents ul.elementor-post-info {list-style: none ; }
.agents ul.elementor-post-info li::marker{display:none;}


#agent-filters {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    background: rgba(224,49,49,0.10);
    border: 1px solid rgba(224,49,49,0.18);
    border-radius: 20px;
    padding: 1.5rem 2rem;
    margin: 0 0 2rem 0;
    box-shadow: 0 4px 18px rgba(224,49,49,0.06);
    flex-wrap: wrap;
}



/* INPUT SEARCH */
#agent-filters input[type="text"]#search-agent {
    background: #19191b;
    color: #fff;
    border: 1.5px solid rgba(224,49,49,0.22);
    border-radius: 18px;
    padding: 0.7rem 1.1rem;
    font-size: 1rem;
    font-family: inherit;
    outline: none;
    transition: border 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 10px rgba(224,49,49,0.03);
}

/* Placeholder style pour le champ search */
#agent-filters input::placeholder {
    color: #fff;
    opacity: 0.5;
    font-style: italic;
}

/* Option color: garder du contraste sur select */
#agent-filters select option {
    color: #19191b;
    background: #fff;
}




#agent-filters input[type="text"]#search-agent:focus {
    border-color: #E03131;
    box-shadow: 0 0 0 2px #E0313155;
}

/* SELECTS (catégories/tags) */
#agent-filters select {
    background: #19191b;
    color: #fff;
    border: 1.5px solid rgba(224,49,49,0.22);
    border-radius: 18px;
    padding: 0.7rem 2.1rem 0.7rem 1.1rem;
    font-size: 1rem;
    font-family: inherit;
    outline: none;
    appearance: none;
    transition: border 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 10px rgba(224,49,49,0.03);
    background-image:
        linear-gradient(45deg, transparent 85%, #E03131 85%),
        
			
			url("data:image/svg+xml;utf8,<svg fill='white' viewBox='0 0 24 24' width='18' height='18' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
	
    background-repeat: no-repeat, no-repeat;
    background-position: right 1rem center, right 0.5rem center;
    background-size: 1px 80%, 18px 18px;
    cursor: pointer;
}

#agent-filters select:focus {
    border-color: #E03131;
    box-shadow: 0 0 0 2px #E0313199;
}

/* Responsive : moins d’espace sur mobile */
@media (max-width: 600px) {
    #agent-filters {
        flex-direction: column;
        align-items: stretch;
        padding: 1rem;
        gap: 0.7rem;
    }
    #agent-filters input,
    #agent-filters select {
        width: 100%;
        min-width: 0;
    }
}




/* wrapper général */
 .agent-meta {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* style commun à tous les badges */
.backtrans .agent-badge{
  display: inline-block !important;
  color: rgba(224,49,49) !important;
  border-radius: 15px; 
  padding: 0.20em 0.85em;
  font-size: 0.75em;
  font-weight: 600;
  text-decoration: none !important;
  box-shadow: 0 1px 8px rgba(224,49,49,0.09);
  transition: transform 0.15s, box-shadow 0.15s;
  border: 1px solid #FFF !important;
  letter-spacing: 0.01em;
  margin: 0; /* on gère le gap via flex */
    
}
.agent-badge {
  display: inline-block !important;
  color: #fff !important;
  border-radius: 15px; 
  padding: 0.20em 0.85em;
  font-size: 0.75em;
  font-weight: 600;
  text-decoration: none !important;
  box-shadow: 0 1px 8px rgba(224,49,49,0.09);
  transition: transform 0.15s, box-shadow 0.15s;
  border: 1.2px solid transparent;
  letter-spacing: 0.01em;
  margin: 0; /* on gère le gap via flex */
}

/* Hover commun */
.agent-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(224,49,49,0.25);
}

/* catégories (rouge dégradé) */
.agent-cat-badge {
  background: linear-gradient(45deg, #E03131 60%, #ff5858 100%);
  border-color: #E03131;
}
.agent-cat-badge:hover {
  background: linear-gradient(90deg, #E03131 40%, #ff5858 100%);
}

/* tags (orange dégradé) */
.agent-tag-badge {
  background: linear-gradient(45deg, #FF8C00 60%, #FFB84D 100%);
  border-color: #FF8C00;
}
.agents .agent-tag-badge:hover {
  background: linear-gradient(90deg, #FF8C00 40%, #FFB84D 100%);
}

/* plateformes (dark mode) */
.agent-platform-badge {
  background: linear-gradient(45deg, #19191b 60%, #333 100%);
  border-color: #444;
}
.agent-platform-badge:hover {
  background: linear-gradient(90deg, #19191b 40%, #333 100%);
}

.backtrans .agent-platform-badge,
.backtrans .agent-tag-badge,
.backtrans .agent-cat-badge{
    background: transparent !important;
}
 
/* responsive pour petits écrans */
@media (max-width: 500px) {
.agent-meta {
    gap: 0.3rem;
  }
}

.readmore a, .readmore span{color:#000 !important; font-weight: 400; font-size:14px !important; text-decoration:underline;}
