/* ============================================================
    PAGE DISCORD ID: 33
   ============================================================ */
  
   body.page-id-33 {
    background-color: #000C26 !important;
    background-image: url('../images/illustration_page_discord_v2_1920.webp') !important;
    background-repeat: no-repeat !important;
    background-position: top center !important;
    background-size: 1920px 1024px !important;
    min-height: 1024px !important;
}
  
  /**
 * Limite la largeur de la page.
 */
   .page-id-33 .site-main,
  .page-id-33 .entry-content-wrap {
    max-width: 1920px;
    margin: 0 auto;
}


/* ============================================================
    WIDGET SERVEUR
   ============================================================ */



/**
 * Conteneur principal centré et limité en largeur.
 */
.discord-connect-wrap {
    max-width: 700px;
    margin: 0 auto;
}

/**
 * Panneau du widget — fond sombre style Discord.
 */
.discord-form-panel {
    background: #1e2124;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

/**
 * Header du widget — logo + nom du serveur + stats.
 */
.discord-server-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 2rem;
    background: #2c2f33;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.discord-server-logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 3px solid #4A5DF2;
}

.discord-server-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.discord-server-info h2 {
    color: #ffffff !important;
    font-size: 1.2rem !important;
    margin: 0 0 0.3rem 0 !important;
}

.discord-server-stats {
    display: flex;
    gap: 1rem;
}

.discord-stat {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.discord-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

/**
 * Point vert — membres actuellement en ligne.
 */
.online-dot {
    background: #3ba55c;
}

/**
 * Corps du widget — titre, description et bouton rejoindre.
 */
.discord-form-body {
    padding: 2rem;
}

.discord-form-body h3 {
    color: #ffffff !important;
    font-size: 1.5rem !important;
    text-align: center;
    margin-bottom: 0.5rem !important;
}

.discord-form-subtitle {
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

/**
 * Bouton "Rejoindre le serveur" — lien direct vers l'invitation Discord.
 */
.discord-btn-primary {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    height: 50px;
    background: #4A5DF2 !important;
    border: 4px solid #60BAFF !important;
    border-radius: 40px !important;
    color: #ffffff !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    cursor: pointer;
    box-sizing: border-box;
    transition: background 0.2s;
    margin-bottom: 1rem;
}

.discord-btn-primary:hover {
    background: #3a4de0 !important;
    color: #ffffff !important;
}

/* custom du widget */

/* ── Bordure magenta + glow sur le panneau ── */
.discord-form-panel {
    background: #1e2124;
    border-radius: 8px;
    overflow: hidden;
    border: 4px solid #ff00d9;
    box-shadow: 0 0 50px rgba(255, 0, 217, 0.6);
}

/* ── Textes en blanc + Futura LT ── */
.discord-server-info h2 {
    color: #ffffff !important;
    font-family: 'Futura LT', sans-serif;
    font-size: 1.2rem !important;
    margin: 0 0 0.3rem 0 !important;
}

.discord-stat {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    color: rgb(255, 255, 255);
    font-family: 'Futura LT', sans-serif;
}

.discord-form-body h3 {
    color: #ffffff !important;
    font-family: 'Futura LT', sans-serif;
    font-size: 1.5rem !important;
    text-align: center;
    margin-bottom: 0.5rem !important;
}

.discord-form-subtitle {
    color: rgb(255, 255, 255);
    font-family: 'Futura LT', sans-serif;
    text-align: center;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}