﻿.ad-detail-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,.05);
}

.ad-detail-img {
    width: 100%;
    max-height: 450px;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
    border-radius: 14px 14px 0 0;
}

.ad-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
}

.ad-date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f3f8f3;
    padding: 6px 12px;
    border-radius: 30px;
    color: #198754;
    font-weight: 600;
    margin-bottom: 25px;
}

.ad-description { 
    
    color: #333;
    white-space: pre-line;
    line-height: 2;
    font-size: 17px;
}

    .ad-description.urdu {
        direction: rtl;
        text-align: right;
        font-family: "Noto Nastaliq Urdu";
        font-size: 20px;
        line-height: 1.4; /* pehle 2.3 tha */
        white-space: pre-line;
    }
    .ad-description br {
        display: block;
        content: "";
        margin-bottom: 6px;
    }
.ad-detail-body {
    padding: 30px;
}

@media(max-width:576px) {

    .ad-title {
        font-size: 22px;
    }

    .ad-description {
        font-size: 14px;
    }

    .ad-detail-img {
        max-height: 240px;
    }
}
