.custom-banner-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-column-gap: 15px;
    grid-row-gap: 15px;
}
.custom-banner-card {
    border: 1px solid #eee;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    background: #fff;
    position: relative;
}
.custom-banner-thumb img {
    width: 100%;
    height: auto;
    display: block;
}
.custom-banner-content {
    padding: 15px;
}
.custom-banner-title {
    font-size: 1.1rem;
    margin: 0 0 10px;
}
.custom-banner-meta {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 10px;
}
.custom-banner-btn {
    display: inline-block;
    background: #ff6043;
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
}
.custom-banner-label {
    position: absolute;
    top: 0;
    left: 0;
    background: #ff6043;
    color: #fff;
    font-weight: bold;
    transform: rotate(-90deg) translate(-50%, -100%);
    transform-origin: left top;
    padding: 5px 10px;
}

.ad-pr {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 60px;
    background-color: #ff6043;
}
.ad-pr-span {
    transform: rotate(270deg) translate(-72px, 85px);
    display: block;
    text-align: center;
    margin: 0 auto;
    font-size: 2rem;
    height: 60px;
    width: 200px;
    top: 0;
    color: #fff;
    font-weight: 900;
}


@media screen and (max-width: 768px) {
    .ad-pr {
        width: 40px;
    }
    .ad-pr-span {
        font-size: 1.3rem;
        width: 180px;
    }
    .content-area.divar-listing-archive.rtcl .container .row .col-xl-9.col-lg-8.col-sm-12.col-12 {
        padding-bottom: 5rem;
    }
    .site-content-block { 
        padding-bottom: 6rem;
    }
    .divar-ad .attachment-full.size-full {
        min-height: auto !important;
    }
  }

