/* ============================================
   CUSTOM.CSS – STYLE EXCLUSIF POUR PAGE D’ACCUEIL
   ============================================ */

/* =======================
   MODULE D’ACCUEIL PREMIUM
   ======================= */
.elite-home-module {
    background-color: #f8f8f8;
    padding: 40px 25px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    color: #222;
    font-family: "Playfair Display", serif;
    position: relative;
    overflow: hidden;
}

/* Neutraliser tout style Aiga hérité */
.elite-home-module h1,
.elite-home-module h2,
.elite-home-module h3 {
    all: unset;
    display: block;
    color: #1a1a1a;
    font-family: "Playfair Display", serif;
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.2;
}

.elite-home-module h1 {
    font-size: 2.8rem;
}

.elite-home-module h2 {
    font-size: 1.9rem;
    color: #333;
}

.elite-home-module h1::before,
.elite-home-module h1::after,
.elite-home-module h2::before,
.elite-home-module h2::after {
    content: none !important;
    border: none !important;
    background: none !important;
}

/* Texte et paragraphes */
.elite-home-module p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 20px;
}

/* Liens et boutons */
.elite-home-module a {
    color: #0044cc;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.25s ease;
}

.elite-home-module a:hover {
    color: #ff6600;
    text-decoration: underline;
}

/* Bouton premium */
.elite-home-module .btn-premium {
    display: inline-block;
    padding: 12px 28px;
    background: linear-gradient(135deg, #ff6600, #ffa200);
    color: #fff !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 30px;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.elite-home-module .btn-premium:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 14px rgba(0,0,0,0.25);
}

/* Images */
.elite-home-module img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
    margin: 0 auto 20px;
    transition: transform 0.4s ease;
}

.elite-home-module img:hover {
    transform: scale(1.03);
}

/* Responsive */
@media (max-width: 992px) {
    .elite-home-module {
        padding: 30px 20px;
    }

    .elite-home-module h1 {
        font-size: 2.3rem;
    }

    .elite-home-module h2 {
        font-size: 1.6rem;
    }
}

@media (max-width: 576px) {
    .elite-home-module {
        padding: 20px 15px;
    }

    .elite-home-module h1 {
        font-size: 1.9rem;
    }

    .elite-home-module h2 {
        font-size: 1.4rem;
    }
}

/* Image Intro Articles */
.com_content.view-article .article-main .article-intro-media .item-image {
  max-height: none !important;
  height: auto !important;
}

.com_content.view-article .article-main .article-intro-media .item-image img {
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  object-fit: contain !important;
}
