/* Styles pour les résidences */
.residence-wrapper {
    display: flex;
    flex-direction: row;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.residence-wrapper:last-child {
    border-bottom: none;
}

.residence-image {
    width: 49%;
    height: auto;
    overflow: hidden;
    border-radius: 8px;
}

.residence-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.residence-image img:hover {
    transform: scale(1.02);
}

.residence-section {
    display: flex;
    flex-direction: column;
    padding: 20px;
}

.section-header h1 {
    font-family: 'Barlow Condensed', serif;
    color: #baa360;
    font-size: 32px;
    font-style: normal;
    font-weight: bold;
    line-height: normal;
}

.residence-content {
    width: 49%;
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 10px 0;
}

/*.residence-title {
    font-size: 1.8rem;
    color: #E1A551;
    margin-bottom: 10px;
    border-bottom: 2px solid #E1A551;
    padding-bottom: 5px;
}*/

.section-description {
    line-height: 1.6;
    color: #555;
}

/* STYLES POUR LE FORMATAGE WYSIWYG - CORRECTION IMPORTANTE */
.section-description strong,
.section-description b {
    font-weight: bold !important;
}

.section-description em,
.section-description i {
    font-style: italic !important;
}

.section-description u {
    text-decoration: underline !important;
}

.section-description a {
    text-decoration: none;
    transition: color 0.3s ease;
}

.section-description a:hover {
    text-decoration: underline;
}

.section-description blockquote {
    border-left: 4px solid #E1A551;
    padding-left: 15px;
    margin: 15px 0;
    font-style: italic;
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 4px;
}

/* Styles existants pour les titres */
.section-description h1,
.section-description h2,
.section-description h3,
.section-description h4,
.section-description h5,
.section-description h6 {
    color: #E1A551;
    margin-top: 20px;
    margin-bottom: 10px;
    font-weight: bold;
}

.section-description h1 { font-size: 2em; }
.section-description h2 { font-size: 1.8em; }
.section-description h3 { font-size: 1.5em; }
.section-description h4 { font-size: 1.3em; }
.section-description h5 { font-size: 1.1em; }
.section-description h6 { font-size: 1em; }

.section-description p {
    padding-bottom: 5px;
}

.section-description ul,
.section-description ol {
    margin-left: 20px;
    margin-bottom: 15px;
    padding-left: 10px;
    list-style: disc;
}

.section-description li {
    margin-bottom: 5px;
}

.section-description img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin: 10px 0;
}

/* Styles spécifiques existants */
.residence-elegance h3 {
    font-family: 'Gilda Display', serif;
    color: #E1A551;
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 8px;
}

.residence-elegance p {
    color: #7f8c8d;
    font-style: italic;
}

.section-bienetre,
.section-pratique {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #E1A551;
}

.section-bienetre h4,
.section-pratique h4 {
    color: #E1A551;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ico_code {
    color: #E1A551;
    font-size: 1.1em;
}

.bienetre-liste,
.pratique-liste {
    color: #555;
    line-height: 1.5;
}

.section-divers {
    background-color: #ecf0f1;
    padding: 15px;
    border-radius: 8px;
    color: #E1A551;
    line-height: 1.6;
}

.residence-address {
    background: linear-gradient(135deg, #E1A551, #2980b9);
    color: white;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    margin-top: 20px;
}

.residence-address p {
    margin: 0;
    font-weight: 500;
}

/* Message d'absence de résidence */
.no-residence {
    text-align: center;
    padding: 40px 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    margin: 20px 0;
}

.no-residence p {
    color: #6c757d;
    font-size: 1.1rem;
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .residence-wrapper {
        flex-direction: column;
        gap: 20px;
    }
    
    .residence-image, 
    .residence-content {
        width: 100%;
    }

    .residence-section {
        padding: 15px;
    }
}

@media (max-width: 480px) { 
    .section-bienetre,
    .section-pratique,
    .section-divers {
        padding: 12px;
    }
}