/* ============================================================================
   COMMUNITY 2026 - SXO 2026 GOLD STANDARD
   Template: community_section_2026.html.twig
   Classes exactes du template matchées 1:1
   ============================================================================ */

/* ═══════════════════════════════════════════════════════════
   SECTION CONTAINER
   ═══════════════════════════════════════════════════════════ */
.sxo-2026-wrapper .trust-community-2026 {
    display: block;
    visibility: visible;
    opacity: 1;
    background: #ffffff;
    padding: 80px 0;
    position: relative;
}

/* ═══════════════════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════════════════ */
.sxo-2026-wrapper .community-header-2026 {
    text-align: center;
    margin-bottom: 50px;
}

.sxo-2026-wrapper .community-title-2026 {
    font-size: 1.75rem;
    font-weight: 800;
    color: #1e3a5f;
    margin-bottom: 16px;
    line-height: 1.2;
}

.sxo-2026-wrapper .community-subtitle-2026 {
    color: #64748b;
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ═══════════════════════════════════════════════════════════
   GRID DE TILES
   ═══════════════════════════════════════════════════════════ */
.sxo-2026-wrapper .community-tiles-grid-2026 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ═══════════════════════════════════════════════════════════
   TILE (lien social)
   ═══════════════════════════════════════════════════════════ */
.sxo-2026-wrapper .community-tile-2026 {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid rgba(30, 58, 95, 0.08);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.sxo-2026-wrapper .community-tile-2026:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(30, 58, 95, 0.12);
    border-color: #1e40af;
}

/* ═══════════════════════════════════════════════════════════
   TILE ICON
   ═══════════════════════════════════════════════════════════ */
.sxo-2026-wrapper .community-tile-icon-2026 {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sxo-2026-wrapper .community-tile-icon-2026 i {
    font-size: 1.5rem;
    color: #ffffff;
}

/* ═══════════════════════════════════════════════════════════
   TILE CONTENT
   ═══════════════════════════════════════════════════════════ */
.sxo-2026-wrapper .community-tile-title-2026 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1e3a5f;
    margin-bottom: 4px;
}

.sxo-2026-wrapper .community-tile-description-2026 {
    font-size: 0.875rem;
    color: #64748b;
    margin: 0;
    line-height: 1.4;
}

/* ═══════════════════════════════════════════════════════════
   TILE ARROW
   ═══════════════════════════════════════════════════════════ */
.sxo-2026-wrapper .community-tile-arrow-2026 {
    margin-left: auto;
    width: 36px;
    height: 36px;
    background: rgba(30, 64, 175, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.sxo-2026-wrapper .community-tile-arrow-2026 i {
    color: #1e40af;
    font-size: 0.875rem;
}

.sxo-2026-wrapper .community-tile-2026:hover .community-tile-arrow-2026 {
    background: #1e40af;
}

.sxo-2026-wrapper .community-tile-2026:hover .community-tile-arrow-2026 i {
    color: #ffffff;
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════ */
@media (min-width: 768px) {
    .sxo-2026-wrapper .community-tiles-grid-2026 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    .sxo-2026-wrapper .trust-community-2026 {
        padding: 100px 0;
    }

    .sxo-2026-wrapper .community-title-2026 {
        font-size: 2.5rem;
    }

    .sxo-2026-wrapper .community-tiles-grid-2026 {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .sxo-2026-wrapper .community-tile-2026,
    .sxo-2026-wrapper .community-tile-arrow-2026 {
        transition: none;
    }

    .sxo-2026-wrapper .community-tile-2026:hover {
        transform: none;
    }
}
