/* Promotional slider (Advertisements Banner) SECTION START  */
/* ================================ Common Utility Classes ================================ */
.promotion-section {
    position: relative;
    background: #0064000D;
    padding: 25px 15px;
    /*margin-top: 80px;*/
    box-sizing: border-box;
}

/* Title */
.promo-title {
    text-align: center;
    padding: 0 10px;
}
.promo-title h2 {
    font-family: "Source Sans Pro", sans-serif;
    font-size: 24px;
    font-weight: 400;
    line-height: 1.2;
    margin: 0;
}
@media (min-width: 576px) { .promo-title h2 { font-size: 1.75rem; } }
@media (min-width: 992px) { .promo-title h2 { font-size: 2rem; } }

/* Slider wrapper */
.promo-slider {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 1200px;
    margin: auto;
    padding: 10px 0;
    box-sizing: border-box;
}

/* Track */
/*.promo-track {*/
/*    display: flex;*/
/*    transition: transform 0.5s ease-in-out;*/
/*    will-change: transform;*/
/*    gap: 20px;*/
/*    padding: 0 10px;*/
/*}*/

/* Cards */
.promo-address {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 0;
}

.truncate-address {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    flex: 1;
}
.promo-card, .promo-cta-card {
    flex: 0 0 100%;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
    text-align: center;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Image block */
.promo-img-wrap {
    width: 100%;
    /*padding-top: 65%;*/
    aspect-ratio: 16 / 9;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.promo-img {
    position: absolute;
    inset: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Text content */
.promo-content {
    padding: 1rem;
    font-size: 16px;
    color: #333;
    font-weight: 400;
    font-family: "Source Sans Pro", sans-serif;
    text-align: left;
}
.promo-content p {
    margin: 0;
    font-size: 16px;
    font-weight: 400;
}

/* CTA card */
.promo-cta-card {
    background: url("/assets/front/img/post-your-ad-image.png") center/cover no-repeat;
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    align-items: center;
    display: flex;
    justify-content: center;
    min-height: 320px;
}
.promo-cta-link {
    color: #fff;
    text-decoration: none;
    font-size: 35px;
    font-weight: 400;
    font-family: Source Sans Pro, serif;
    text-align: center;
}

/* Dots */
.promo-dots {
    text-align: center;
    margin-top: 15px;
}
.promo-dots button {
    width: 12px;
    height: 12px;
    margin: 0 5px;
    border-radius: 50%;
    border: none;
    background: #ccc;
    cursor: pointer;
    transition: background 0.2s;
}
.promo-dots button.active { background: #008000; }
/* Track */
.promo-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    will-change: transform;
    gap: 20px;
    padding: 0 10px;
}

/* Responsive cards */
@media (min-width:576px) and (max-width:767px){
    .promo-card, .promo-cta-card { flex:0 0 calc(50% - 15px); max-width:calc(50% - 15px); }
}
@media (min-width:768px) and (max-width:991px){
    .promo-card, .promo-cta-card { flex:0 0 calc(28% - 13px); max-width:calc(28% - 13px); }
}
@media (min-width:992px) and (max-width:1199px){
    .promo-card, .promo-cta-card { flex:0 0 calc(28% - 15px); max-width:calc(28% - 15px); }
}
@media (min-width:1200px){
    .promo-card, .promo-cta-card { flex:0 0 calc(28% - 16px); max-width:calc(28% - 16px); }
}
/* Responsive cards */
@media (max-width:575px){
    .promo-track {
        gap: 0;
        padding: 0;
    }
    .promo-card,
    .promo-cta-card {
        flex: 0 0 100%;
        max-width: 100%;
        margin: 0 auto;
    }
}
/* Promotional slider (Advertisements Banner) SECTION End */
