
.advertisement__section{
    max-width: 1200px;
    margin: 80px auto 10px;
    padding: 30px 20px;
    border-radius: 5px;
}


/* Main Advertisement Container */
.advertisement__container {
    max-width: 1200px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 40px 30px;
    margin: 0 auto 30px; /* Horizontally center the container */
    overflow: hidden; /* Contain floated elements */
}

/* Text and Content Styling */
.advertisement__title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    text-align: left;
}

.advertisement__body {
    overflow: hidden; /* Clear the floats */
}

.advertisement__description {
    float: left; /* Float the description */
    width: 55%; /* Width for the description */
    line-height: 1.6;
    color: #333;
    text-align: left;
}

.advertisement__description span{
    display: block;
    font-size: 14px;
    padding-top: 10px;
}

/* Image Styling */
.advertisement__image__wrapper {
    float: right; /* Float the image to the right */
    width: 40%;
}

.advertisement__image {
    width: 100%;
    border-radius: 8px;
    object-fit: cover; /* Ensure the image covers the entire area */
}


/* Media query for smaller screens */
@media (max-width: 768px) {
    .advertisement__body {
        text-align: center;
    }

    .advertisement__description, .advertisement__image__wrapper {
        float: none; /* Remove floating */
        width: 100%; /* Make elements take full width */
        margin-bottom: 15px;
    }
}
