#cke_1_contents {
    height: 150px !important;
}

h6,
.h6,
h5,
.h5,
h4,
.h4,
h3,
.h3,
h2,
.h2,
h1,
.h1 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-weight: 500;
    line-height: 1.2;
}

.mb-4 {
    margin-bottom: 1.5rem !important;
   
}

.card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: var(--bs-card-height);
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border-radius: 15px;
    margin-bottom: 3rem;
    box-shadow: 0 0 1.25rem rgba(108, 118, 134, 0.1);
    transition: 0.6s;
}

.card.newform {
    border: 1px solid #e5e5e5;
}

.card.vendor-box:hover {
    transform: translateY(-5px);
}

.card-img,
.card-img-top,
.card-img-bottom {
    border-top-left-radius: calc(0.375rem - 1px);
    border-top-right-radius: calc(0.375rem - 1px);
}

.card-img,
.card-img-top,
.card-img-bottom {
    width: 100%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.card-img-top {
    height: 350px;
}

.card-img-bottom {
    height: 200px;
}

img,
svg {
    vertical-align: middle;
}

.card-title {
    text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.card-text {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-height: 84px;
}

.card-body {
    flex: 1 1 auto;
    padding: 1rem 1rem;
    color: var(--bs-card-color);
}
.card-body .small {
    margin-bottom: 5px;
}

.card-body .small .date, .date_layout {
    background-color: #00aeaf;
   color: #fff;
    padding: 5px 10px;
    border-radius: 8px;
}

.text-muted {
    --bs-text-opacity: 1;
    color: #6c757d !important;
}

small,
.small {
    font-size: 0.875em;
}

.card-title {
    margin-bottom: 0.5rem;
}

.input-group {
    position: relative;
    display: block;
    /* flex-wrap: wrap; */
    align-items: stretch;
    width: 100%;
}
.input-group> :not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback) {
    margin-left: -1px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}
.input-group .btn {
    position: relative;
    z-index: 2;
}
button:not(:disabled),
[type=button]:not(:disabled),
[type=reset]:not(:disabled),
[type=submit]:not(:disabled) {
    cursor: pointer;
}

.card-body {
    flex: 1 1 auto;
    padding: 1rem 1rem;
    color: var(--bs-card-color);
}
/* ....................................new/.......... */

/* Progress Bar */
.progress{
    height:10px;
    border-radius:20px;
    background:#e9ecef;
    overflow:hidden;
}

.progress-bar{
    background:linear-gradient(90deg,#28a745,#6ddf8b);
    border-radius:20px;
    transition:width 0.6s ease;
}
/* .......new ads */
 .ads{
    max-width:1100px;
    margin:25px auto;
    padding:10px;
    display:flex;
    justify-content:center;
    /* height: 180px; */
}

/* AD IMAGE */
.ads img{
    width: 100%;
    max-width: 1100px;
     /* height: 300px;              */
    max-height: 250px;
    object-fit: cover;          
    object-position: center;   
     background: #fff8f0;
    border: 2px solid #ff6b00;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
    display: block;
}
/* ...comment */
/* ================= Comment Section ================= */
/* Comment Button */
.open-comment-btn {
    background: #0ea5a4;
    color: #fff;
    padding: 10px 22px;
    border: none;
    margin-top: 30px;
    border-radius: 8px;
    cursor: pointer;
}

.comment-section {
    max-height: 0;
    overflow: hidden;
    transition: 0.4s;
    background: #fff;
    margin-top: 15px;
    border-radius: 12px;
    padding: 0 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.comment-section.active {
    max-height: 300px;
    padding: 20px;
}

.comment-section input,
.comment-section textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 6px;
    border: 1px solid #ddd;
}

.comment-section button {
    background: #0284c7;
    color: #fff;
    padding: 8px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

/* Comment List */
.comment-list {
    margin-top: 30px;
}

.comment-box {
    background: #f9fafb;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 12px;
    border-left: 4px solid #0ea5a4;
}

.comment-actions {
    margin-top: 8px;
}

.comment-actions span {
    cursor: pointer;
    margin-right: 15px;
    color: #0284c7;
}

/* Reply Box */
.reply-box {
    margin-top: 10px;
    margin-left: 30px;
    background: #eef2ff;
    padding: 10px;
    border-radius: 8px;
}
/* ======================
   MOBILE VIEW FIX
====================== */
@media (max-width: 767px) {

    /* Bootstrap columns को full width करना */
    .col-xs-7,
    .col-xs-5 {
        width: 100% !important;
        max-width: 100%;
        flex: 0 0 100%;
         margin-left: 0px;
    }

    /* Caption spacing */
    .caption {
        padding: 5px 0;
         margin-left: 0px;
    }

    /* Title text */
    .caption .title {
        font-size: 14px;
        margin-bottom: 4px;
        margin-left: 0px;
    }

    /* Date ko title ke niche lana */
    .date_layout {
        display: block;
        float: none !important;
        font-size: 14px;
        color:black;
        font-weight: 600px;
        margin-top: -25px;
        background-color: white;
    }
}
