body {
    margin: 0;
    padding-top: 25px;
    max-width: 100%;
    overflow-x: hidden;
    font-family: Arial, sans-serif;
}

.content {
    padding: 10px;
    margin-bottom: 100px;
    max-width: 100%;
    overflow-x: hidden;
}

#banner_container {
    position: fixed;
    padding: 0 10px;
    padding-bottom: 0px;
    box-sizing: border-box;
    bottom: 0px;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    overflow-x: hidden;
}

#banner_ad {
    display: none;
    overflow-x: hidden;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    background-color: #f8f8f8;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
    max-width: 100%;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    margin-bottom: 20px;
    cursor: grab;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    height: 70px;
}

#banner_ad::-webkit-scrollbar {
    display: none;
}

.banner_content {
    display: flex;
    align-items: center;
    min-width: 250px;
    margin-right: -5px;
    padding: 0 5px;
    box-sizing: border-box;
    width: calc(100% - 10px);
    scroll-snap-align: start;
    cursor: pointer;
    transition: transform 0.3s ease;
    height: 100%;
    padding: 5px;
}

.banner_content:hover {
    transform: scale(1.05);
}

.banner_icon {
    max-width: 64px;
    max-height: 64px;
    margin-left: 5px;
    margin-right: 5px;
    object-fit: contain;
    flex-shrink: 0;
}

.banner_text {
    text-align: left;
    flex: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    padding-right: 5px;
}

.banner_text h4 {
    margin: 0;
    font-size: 14px;
    font-weight: bold;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.banner_text p {
    margin: 5px 0 0;
    font-size: 12px;
    font-style: italic;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    max-height: 4.5em;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pagination {
    position: absolute;
    bottom: 100%;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 20px;
    background-color: rgba(255, 255, 255, 0.7);
    z-index: 1000;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #cccccc;
    margin: 0 3px;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: #333;
}

[lang="ar"] .banner_text {
    direction: rtl;
    text-align: right;
}

.hidden-seo {
    display: none;
}

.gallery-wrapper {
    display: flex;
    flex-direction: column;
    flex: 1;
    margin: 0 0px;
    overflow: hidden;
    max-width: 100%;
  }
  .gallery-wrapper img {
    width: 100%;
    height: 20%;
    object-fit: cover;
  }