@font-face {
    font-display: swap;
    font-family: 'irs';
    src: url(../font/IRANSansWebFaNum.ttf) format('truetype')
}

html,
body {
    height: 100%;
    margin: 0;
}

body {
    background: #f3f6f7;
    font-family: 'irs';
    text-align: unset;
    font-size: 14px;
}

footer.fixed-footer {
    position: fixed;
    bottom: 15px;
    width: 85%;
    height: 80px;
    background-color: #ffffff;
    color: #303030;
    box-shadow: -1px 2px 4px 0px rgb(209 209 209 / 81%);
    z-index: 1000;
    font-size: 14px;
    right: 7.5%;
    border-radius: 25px;
    border: 1px solid #f1f1f1;
}

footer.fixed-footer .containerC {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: center;
    padding: 0 15px;
}

footer.fixed-footer .footer-item,
footer.fixed-footer .footer-item a {
    flex: 1;
    cursor: pointer;
    user-select: none;
    color: #535353;
    font-size: 12px;
}

footer.fixed-footer .footer-item i,
footer.fixed-footer .footer-item img {
    display: block;
    font-size: 20px;
    margin-bottom: 6px;
    font-weight: 300;
}

.custom-card {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 12px;
    box-shadow: 0 0px 1px rgba(0, 0, 0, 0.05);
}

.custom-card h7 {
    font-size: 15px;
}

.custom-line {
    border-top: 1px solid #e4e4e4;
    margin-left: 10px;
    margin-right: 10px;
}

.rtl {
    direction: rtl;
}

.custom-card i {
    vertical-align: middle;
    color: rgb(0, 195, 202);
}

.custom-card button,
.custom-card a {
    color: white;
    background-color: rgb(1, 189, 196);
    border-color: rgb(2, 155, 160);
    font-size: 14px;
}

.custom-card button.btn-success,
.custom-card a.btn-success {
    color: #fff;
    background-color: #28a745;
    border-color: #28a745;
}

.ln-match-det {
    line-height: 30px;
    font-size: 14px;
}

.hedg {
    padding: 5px;
}

.hedg img {
    width: 100%;
    border-radius: 8px;
}

.cardC>hr {
    margin-top: 5px;
    margin-bottom: 5px;
}

.hedg.abd img {
    border: 1px solid rgb(221, 221, 221);
}

.cadr_main {
    min-height: 200px;
    height: auto;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    !font-size: 18px;
    border-radius: 10px;
    padding: 20px;
    margin: 30px;
    border: 1px solid #f3f3f3;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.noShadow {
    box-shadow: none !important;
}

.lgCadr {
    position: relative;
}

.lgCadr i {
    position: absolute;
    top: 50%;
    left: 27px;
    transform: translateY(-50%);
    color: #888;
}

.lgCadr input {
    padding: 12px 12px 12px 40px;
    border: none;
    border-bottom: 1px solid #ccc;
    font-size: 16px;
    transition: border-color 0.3s ease;
    width: 100%;
}

.lgCadr input:focus {
    border-color: #4CAF50;
    outline: none;
}

.dflex {
    display: flex;
    justify-content: center;
    /* افقی */
    align-items: center;
    /* عمودی */
    height: 100%;
}

.dflex8 {
    height: 80%;
}

.cl-gray {
    color: #777777;
}

.ft-11 {
    font-size: 11px !important;
}

.ft-12 {
    font-size: 12px !important;
}

.ft-13 {
    font-size: 13px !important;
}

.ft-14 {
    font-size: 14px !important;
}

.ft-15 {
    font-size: 15px !important;
}

.ft-16 {
    font-size: 16px !important;
}

.ft-17 {
    font-size: 17px !important;
}

.ft-18 {
    font-size: 18px !important;
}

.userLinks {
    display: block !important;
    padding: 10px;
    border-bottom: 1px solid #ededed;
}

.userLinks a,
i {
    font-size: 14px;
    color: #6d6d6d;
}

.userLinks i {
    padding-left: 10px;
}

.userLinks i.fa-chevron-left {
    float: left;
    padding-top: 4px;
    color: #c9c9c9;
}

.npd {
    padding: 0px;
}

.nbd {
    border: none;
}

a:hover {
    text-decoration: none;
}

.dflexTop {
    align-items: start !important;
    height: auto;
}

.lgCadr.right i {
    left: unset;
    right: 27px;
}

.lgCadr.right input {
    padding: 12px 40px 12px 12px;
    direction: rtl;
}

.pdnsuc {
    color: rgb(199, 10, 10);
}

.pdsuc {
    color: rgb(0, 148, 57);
}

.lhb {
    line-height: 30px;
}

span.contactVal {
    color: #086885;
}

input.inp1.inpBetNum.text-center {
    margin: 10px !important;
    border: none;
    border-bottom: 1px solid darkgray;
    color: #0f90ff;
    font-weight: bold;
}

.ltr {
    direction: ltr;
}

.p3new {
    display: inline-block;
    aspect-ratio: 1 / 1;
    margin-left: 1.5%;
    margin-right: 1.5%;
    box-shadow: 0 -2px 5px rgb(209 209 209 / 30%);
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 0px !important;
    border-radius: 25%;
    align-content: center;
}

.p3new {
    display: inline-block;
    aspect-ratio: 1 / 1;
    margin-left: 1.5%;
    margin-right: 1.5%;
    box-shadow: 0 -2px 5px rgb(209 209 209 / 30%);
    border: none;
    padding: 0px !important;
    border-radius: 50%;
    align-content: center;
}

.p3new img {
    margin: auto;
    display: block;
    width: 80%;
    padding: 10px;
}

.p3newlbl {
    text-align: center;
    width: 100%;
    font-size: 12px;
    color: #535353;
}

.headBar {
    display: flex;
    text-align: center;
    padding-top: 10px;
    background-color: #ffffff;
    padding-bottom: 10px;
    box-shadow: 0 -2px 5px rgb(209 209 209 / 30%);
}

.headBar i {
    font-size: 20px;
    font-weight: 300;
}

.headBar div {
    flex: 1;
}

.headBar .profile {
    text-align: left;
    padding-left: 15px;
}

.headBar i {
    background-color: #f3f3f3;
    border-radius: 50%;
    padding: 10px;
    width: 40px;
    height: 40px;
    text-align: center;
}

.headBar .logo {
    align-content: center;
}

.headBar .notif {
    text-align: right;
    padding-right: 15px;
}


.bgc4 {
    background: #ff4891;
}

.bgc2 {
    background: #21bd7c;
}

.bgc3 {
    background: #f8aa34;
}

.bgc1 {
    background: #2aa2f8;
}

.bgc5 {
    background: #21b3bd;
}

.bgc6 {
    background: #f8aa34;
}

.bgc7 {
    background: #ff4891;
}

.bgc8 {
    background: #cf69ff;
}

.bgc9 {
    background: #21bd7c;
}


.bgc4 {
    background: #e5c0c5;
}

.bgc2 {
    background: #c4e5c0;
}

.bgc3 {
    background: #C0E5E4;
}

.bgc1 {
    background: #c0c4e5;
}

.bgc5 {
    background: #C0E5E4;
}

.bgc6 {
    background: #e5d5c0;
}

.bgc7 {
    background: #e5c0c5;
}

.bgc8 {
    background: #e2c0e5;
}

.bgc9 {
    background: #c4e5c0;
}

.mb1 {
    margin-bottom: 15px;
}

a {
    text-decoration: none;
}

.p3new img{
    width: 70px;
    margin: 7px;
}
.search-box {
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 600px;
    margin: 10px auto;
    background-color: #fff;
    direction: rtl;
    margin-bottom: 10px;
}

.search-box input {
    border: none;
    outline: none;
    flex: 1;
    direction: rtl;

}

.divider {
    width: 1px;
    background-color: #ccc;
    height: 30px;
}


/* overlay تمام صفحه */
.overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    display: none;
    /* نمایش با JS */
    align-items: center;
    justify-content: center;
    z-index: 1050;
}

.overlay .panel {
    width: 100%;
    max-width: 980px;
    height: 90vh;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
}

.panel-header {
    padding: 12px 16px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: space-between;
}

.search-inline {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    padding-right: 10px;
    margin-inline: auto;
    min-width: 100%;
}

.search-inline input {
    border: 1px solid #e6e6e6;
    border-radius: 8px;
    padding: 8px 36px 8px 12px;
    width: 100%;
    direction: rtl;
}

.search-inline .fa-search {
    position: relative;
    right: 34px;
    pointer-events: none;
    color: #888;
}

.panel-body {
    padding: 12px;
    overflow: auto;
    flex: 1;
}

/* لیست استان‌ها */
.province-list .province-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    cursor: pointer;
}

.province-list .province-item:hover {
    background: #fbfbfd;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.province-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.city-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

@media (min-width:768px) {
    .city-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.city-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    cursor: pointer;
}

.spec-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    cursor: pointer;
    border-radius: 5px;
    border: 1px solid #efefef;
    margin: 5px auto;
    background-color: white;
    font-size: 18px;
    user-select: none;
}

.back-btn {
    margin-right: 10px;
    font-size: 16px;
}

.clearBoth {
    clear: both;
}

.footFix {
    height: 100px;
}

.divFilBtns {
    display: flex;
    margin-bottom: 3px;
}

.divFilBtns .btn {
    flex: 1;
    font-size: 14px;
    margin: auto 5px;
}

.rvhSearch {
    background: white;
    border-top: 1px solid #f3f3f3
}

.rvhFilBtns {
    background: white;
    border-bottom: 1px solid #f5f5f5;
    padding-bottom: 7px;
}

.drCadr {
    min-height: 50px;
    height: auto;
    background-color: white;
    display: flex;
    justify-content: right;
    align-items: right;
    font-size: 18px;
    border-radius: 15px;
    padding: 10px;
    border: 1px solid #f3f3f3;
    margin-bottom: 7px;
    font-size: 14px;
}

.drCadr .container-fluid {
    margin: 0px;
    direction: rtl;
}

#rvDrs {
    margin-top: 10px;
}

.rvDrImg img {
    width: 80px;
    border-radius: 50%;
    border: 2px solid #ededed;
    float: right;
    margin-left: 20px;
}

.rvDrName {
    font-weight: bold;
    margin-bottom: 5px;
}

.rvDrTags span {
    padding: 3px 8px;
    display: inline-block;
    margin-bottom: 5px;
    border-radius: 10px;
    font-size: 12px;
    min-width: fit-content;
    background-color: #ecf8ff !important;
    color: #41779f !important;
}

.scroll-wrapper {
    overflow: hidden;
    /* مهم: اسکرول‌بار را مخفی می‌کند */
    width: 100%;
}

.scroll-inner {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    /* مخصوص موبایل */
    display: flex;
}

.scroll-inner::-webkit-scrollbar {
    display: none !important;
    /* iOS اینو هم نیاز داره */
}

.rvDrRateCom {
    align-items: end;
}

.rvDrRateCom div span {
    background: #f6fafb;
    display: block;
    margin: auto 10px;
    border-radius: 6px;
    padding: 5px;
    /* font-weight: bold; */
    color: #3c6979;
    font-size: 14px;
    direction: rtl;
}

.rvDrRateCom i {
    color: #3c6979;
}

.rvDrAddress {
    font-size: 15px;
}

.rvDrAddress i {
    font-size: 15px;
    vertical-align: middle;
}

.hrc {
    color: #a1a1a1;
}

.nav-link {
    color: #2f2f2f;
}

.ft14 {
    font-size: 14px !important;
}

.clgray {
    color: #5c5c5c;
}

.containerFull {
    padding-left: 0px;
    padding-right: 0px;

}

.containerFull .drCadr {
    border-radius: 0px;
}

.rvdrTitle {
    font-weight: bold;
}

.rvdrTitleLeft {
    font-weight: bold;
    color: #0091b6;
}

.hrc2 {
    color: #d5d8e6;
    border: 1px solid #d5d8e6;
}

.drnNameTitle {
    font-size: 18px;
}

.rwOnVD {
    border-right: 2px solid #e3e8e9;
    margin-right: 10px;
}

.white {
    color: white;
}

.whiteI {
    color: white !important;
}

.is1 {
    font-size: 18px;
}

.is2 {
    font-size: 22px;
}

.drAdrTB {
    padding: 0px;
}

.drAdrTB .col-6 div {
    border-radius: 7px;
    padding: 10px;
    font-size: 14px;
    background: #f3f3f3;
    margin-top: 10px;
    text-align: center;
}

.drAdrTB .col-6.cl div {
    background: #f1f6f7;
}

.drAdrTB hr {
    width: 90%;
    margin: auto;
    margin-top: 10px;
}

.nav-tabs .nav-link.active {
    color: #168bc2;
}

.btn.btn-light.shareDr {
    position: absolute;
    left: 20px;
    top: -3px;
    font-size: 12px;
    border-radius: 23px;
}

.commTime {
    display: block;
    color: #535353;
    font-size: 12px;
    padding-top: 5px;
    padding-bottom: 5px;
}

.comRate {
    background-color: rgb(0, 168, 168);
    border-radius: 50%;
    padding: 5px;
    color: white;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
}

.commenter {
    font-size: 16px;
}

.hrbc {
    border-bottom: 1px solid #bd7e6f;
}

.drPostsDiv {
    width: 100%;
    border: 1px solid rgb(201, 201, 201);
    border-radius: 4px;
    aspect-ratio: 1 / 1;
}

.icom {
    background-color: #ececec;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    text-align: center;
    align-content: center;
    color: #5d9cac;
}

.gray {
    color: rgb(75, 75, 75) !important;
}

.rvDrImg2 img {
    border-radius: 15px;
}

.drNameUnder {
    color: #303030;
    font-size: 12px;
}

.brls {
    height: 25px;
    width: 1px;
    background-color: #b1b1b1;
    display: inline-block;
    float: left;
    margin-left: -1rem;
    margin-top: 5px;
    border-radius: 5px;
}

.modal button {
    font-size: 14px;
}

.workTimesDivDay {
    background: #f0f0f0;
    margin-bottom: 15px;
    padding: 10px;
    border-radius: 0px 5px 5px 0px;
}

.workTimesDivTime {
    background: #f8f8f8;
    margin-bottom: 15px;
    padding: 10px;
    border-radius: 5px 0px 0px 5px;
}

img.mapAppLogo {
    width: 50px;
}

.rvLocAppsLbl {
    font-size: 14px;
    padding-top: 10px;
}

.bold {
    font-weight: bold;
}

.nobatDays div {
    border: 1px solid #eaeaea;
    padding: 3px 8px;
    display: inline-block;
    margin-bottom: 5px;
    border-radius: 10px;
    color: #0d262e;
    text-align: center;
    min-width: 90px;
}

.nobatDays div.active {
    border: 1px solid #49a7ff;
    color: #113c64;
}

.nobatDate {
    display: block;
}

.nobatTimes div {
    padding: 3px;
}

.nobatTimes div span {
    border: 1px solid #eaeaea;
    width: 90%px;
    display: block;
    padding: 10px;
    border-radius: 10px;
}

.nobatTime.active {
    border: 1px solid #49a7ff;
    color: #113c64;
}

.nobatTime.disabled {
    color: #bebebe;
}

.p-25 {
    padding: .6rem !important;
}

.verfInput {
    height: 50px;
}

.fade-slide-enter {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.fade-slide-enter-active {
    opacity: 1;
    transform: translateY(0);
}

.fade-slide-exit {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.4s ease;
}

.fade-slide-exit-active {
    opacity: 0;
    transform: translateY(-20px);
}


/* --- Flip 3D Base --- */
.flip-container {
    perspective: 1000px;
    position: relative;
    width: 100%;
}

/* کارت اصلی */
.flip-card {
    position: relative;
    width: 100%;
    transform-style: preserve-3d;
    transition: transform 0.6s ease;
}

/* حالت چرخیده */
.flip-card.flipped {
    transform: rotateY(180deg);
}

/* لایه‌های جلو و پشت */
.flip-front,
.flip-back {
    width: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* جلو */
.flip-front {
    position: relative;
    /* باعث درست شدن ارتفاع و جلوگیری از بیرون زدن محتوا */
}

/* پشت */
.flip-back {
    position: absolute;
    /* روی front قرار می‌گیرد */
    top: 0;
    left: 0;
    transform: rotateY(180deg);
}

/* --- Transition smoothing (optional) --- */
.flip-front,
.flip-back {
    transition: opacity 0.3s ease;
}

/* رفع پرش در بعضی مرورگرها */
.flip-container,
.flip-card,
.flip-front,
.flip-back {
    will-change: transform;
}

.profileImage i {
    background: #6cb6bb;
    width: 50px;
    height: 50px;
    vertical-align: middle;
    align-content: center;
    text-align: center;
    border-radius: 50%;
    font-size: 24px;
    padding: 0px !important;
    color: #ffffff;
    font-weight: 300;
    margin-right: 15px;
}

.btn i {
    vertical-align: middle;
}

.profParts {}

.profPartsIcon {}

.profPartsIcon i {
    background: rgb(236, 241, 241);
    color: rgb(7, 65, 88);
    font-size: 35px;
    font-weight: 200;
    padding: 15px;
    border-radius: 6px;
}

.profPartsLabel {
    padding-top: 2px;
    padding-bottom: 2px;
    background: rgb(250, 253, 253);
    border-radius: 3px;
    margin-top: 10px;
}

.headBar .logo img {
    height: 40px;
}

#specListFilter {
    flex: 1;
    padding-top: 8px;
    padding-bottom: 8px;
}

body {
    -webkit-user-select: none;
    /* Chrome, Safari */
    -moz-user-select: none;
    /* Firefox */
    -ms-user-select: none;
    /* IE/Edge قدیمی */
    user-select: none;
    /* استاندارد */
}

.spec-canvas .offcanvas-body {
    height: calc(75dvh - 56px);
    /* ارتفاع هدر */
    overflow-y: auto;
}

/* ======= Offcanvas تخصص‌ها و استان/شهر ======= */
.bconv-offcanvas {
    height: min(75vh, 75dvh) !important;
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
}

/* Search */
.bconv-search {
    position: sticky;
    top: 0;
    padding: 12px;
    background: #fff;
    border-bottom: 1px solid #eee;
    z-index: 10;
}

.bconv-search input {
    width: 100%;
    padding: 14px 14px;
    border-radius: 10px;
    border: 1px solid #ddd;
    outline: none;
    font-size: 14px;
}

/* List */
.bconv-list {
    list-style: none;
    margin: 0;
    padding: 0;
    overflow-y: auto;
    max-height: calc(75dvh - 120px);
    /* ارتفاع Offcanvas - header - search */
}

.bconv-list li {
    padding: 14px 16px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: background 0.2s;
}

.bconv-list li:hover {
    background: #f8f9fa;
}

/* Back button زیر اینپوت */
.bconv-back-container {
    padding: 8px 12px;
    border-bottom: 1px solid #eee;
    background: #fff;
}

.bconv-back-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 8px;
    border: none;
    background: #f1f3f5;
    font-size: 13px;
    color: #333;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s;
    width: 100%;
}

.bconv-back-btn:hover {
    background: #e9ecef;
}

.bconv-back-btn i {
    font-size: 12px;
}

.bconv-back-btn span {
    flex: 1;
    padding: 5px;
}

/* برای موبایل */
.bconv-offcanvas * {
    user-select: none;
}

.flip-card {
    perspective: 1000px;
    width: 100%;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.flip-card.flipped .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    width: 100%;
    backface-visibility: hidden;
}

.flip-card-back {
    transform: rotateY(180deg);
}

.form-switcher {
    position: relative;
    width: 100%;
    overflow: hidden;
    transition: height 0.3s ease;
}

.form-panel {
    width: 100%;
}

/* فرم دوم */
.form-back {
    position: absolute;
    inset: 0;
    transform: translateX(100%);
    opacity: 0;
    pointer-events: none;
    background: #fff;
    transition: transform 0.35s ease, opacity 0.35s ease;
}

/* حالت نمایش فرم دوم */
.form-switcher.show-back .form-front {
    transform: translateX(-100%);
    opacity: 0;
    pointer-events: none;
}

.form-switcher.show-back .form-back {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
}

a {
    text-decoration: none;
    color: inherit;
}

.bconv-section-title {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 20px 0;
    color: #424242;
}

.bconv-section-title span {
    position: relative;
    padding: 0 15px;
    /* فاصله متن از خطوط */
    font-weight: bold;
    color: #5c5c5c;
}

.bconv-section-title::before,
.bconv-section-title::after {
    content: '';
    flex: 1;
    height: 2px;
    background: linear-gradient(to right, rgb(224, 224, 224), rgba(200, 200, 200, 0));
}

.bconv-section-title::after {
    background: linear-gradient(to left, rgb(219, 219, 219), rgba(200, 200, 200, 0));
}

.reserveItem {
    margin: 0px 11px;
    background: #fafafa;
    padding: 9px;
    border-radius: 8px;
    display: flex;
}

.reserveItemDoctorImg {
    width: 60px;
    border-radius: 50%;
    border: 2px solid #ededed;
    float: right;
    margin-left: 7px;
}

#doctorAvatarS {
    width: 100px;
    float: none;
    margin: 0px;
}

.bconv-offcanvas-doctorName {
    width: fit-content;
    margin: auto;
    font-weight: 600;
}

.reserveDetailAddress {
    background: #f8f8f8;
    padding: 10px;
    border-radius: 5px;
    margin-top: 5px;
}

.btn-success {
    background: rgb(0, 187, 167);
    border: none;
}

.rvdComment {
    border-radius: 5px;
    width: 100%;
    border: 1px solid darkgray;
}

.flex-1 {
    flex: 1;
}

.rvSelectRate {
    min-width: max-content;
    text-align: center;
    border-radius: 5px;
}

.rvSelectRate.active {
    border: 2px solid rgb(0, 187, 167);
}

footer.fixed-footer .footer-item i.ti {
    font-size: 27px;
    margin-bottom: 2px;
    margin-top: -4px;
    font-weight: normal;
}

/* ===== News Slider ===== */

.newsSwiper,
.newsSwiper .swiper-slide {
    width: 100%;
    height: auto;
}

/* Card */
.news-card {
    border: none;
    overflow: hidden;
}

/* Image wrapper (50% width, height defines slide) */
.news-image-wrapper {
    width: 100%;
    aspect-ratio: 1 / 1;
    /* مربعی | ارتفاع = نصف عرض */
    overflow: hidden;
    position: relative;
}

/* Image fit */
.news-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Text area */
.news-card .card-body {
    height: 100%;
    padding: 1rem;
}

/* Limit text lines */
.news-card .card-text {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 12px;
}

/* Pagination outside card */
.news-pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
}

.news-pagination .swiper-pagination-bullet {
    width: 34px;
    height: 34px;
    line-height: 34px;
    border-radius: 6px;
    background: #f1f1f1;
    color: #333;
    opacity: 1;
    cursor: pointer;
    font-size: 14px;
}

.news-pagination .swiper-pagination-bullet-active {
    background: #0d6efd;
    color: #fff;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .news-image-wrapper {
        aspect-ratio: 16 / 9;
    }

    .news-card .card-text {
        -webkit-line-clamp: 3;
    }
}

.news-image-wrapper {
    height: 100%;
}

.news-card .card-title {
    font-size: 15px;
    font-weight: 600;
}

.news-pagination .swiper-pagination-bullet {
    margin: 0px !important;
    background: #ededed;
    background: linear-gradient(0deg, rgba(237, 237, 237, 1) 0%, rgb(255, 255, 255) 100%);
    border: 1px solid #e0e0e0;
}

.news-pagination .swiper-pagination-bullet-active {
    color: teal;
    border: 1px solid #00abc9;
    outline: none;
    box-shadow: 0 0 10px #9ecaed;
}


.news-image-wrapper {
    height: 100%;
    /* هم‌قد کارت */
}

.news-image-wrapper img {
    width: 100%;
    height: 100%;
    /* هم‌قد کارت */
    object-fit: cover;
    /* حفظ نسبت تصویر */
}

.news-card .card-body {
    height: 100%;
    padding: 1rem;
    padding-left: 0rem;
}

.news-card .card-text {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-list .news-card {
    height: 100px;
}

.news-list .card-body {
    height: 100px;
    padding-bottom: 0px;
    padding-top: 0px;
}

.news-list .card-title {
    font-size: 12px;
    padding-bottom: 5px;
}

.newsDivider {
    width: 100%;
    background-color: #ffffff;
    height: 1px;
    margin-bottom: 10px;
    margin-top: -5px;
    border-bottom: 2px dashed #e7e7e7;
}

span.news-date {
    font-size: 11px;
    border-radius: 4px;
    width: fit-content;
    padding: 2px 5px;
    margin-bottom: 2px;
}

.news-list .btn {
    font-size: 12px;
    padding: 2px 5px;
    margin: 0px;
    float: left;
    margin-left: 5px;
}

.news-list .news-mostviews-cadr {
    min-height: 30px;
    height: unset;
}

.news-mostviews-cadr .card-body {
    height: unset;
}

.newsDivider2 {
    border-bottom: 1px solid #e7e7e7;
    background: none;
    margin-bottom: 0.5rem;
}

.news-mostviews-cadr .card-title {
    font-size: 14px;
    font-weight: 500;
    line-height: 25px;
}

.hasBullet:before {
    content: '';
    width: var(--bullet_size);
    height: var(--bullet_size);
    background: #d00c0c;
    flex-shrink: 0;
}

.bullet4 {
    --bullet_size: 4px;
    --gap-distance: 3px;
}

.hasBullet {
    display: flex;
    gap: var(--gap-distance);
    align-items: baseline;
}

.nsds {
    background-color: #f5f5f5;
    padding: 5px;
    border-radius: 5px;
}

.bullet8 {
    --bullet_size: 8px;
    --gap-distance: 4px;
}

.shortNewsText {
    background: #f5f5f5;
    padding: 5px 10px;
    border-radius: 10px;
    font-size: 14px;
    line-height: 24px;
}

.video-duration {
    position: absolute;
    bottom: 8px;
    left: 8px;
    /* گوشه چپ */
    font-size: 12px;
    padding: 4px 6px;
}

.card-text.text-truncate-2 {
    -webkit-line-clamp: 2;
}

.course-cat-image {
    box-shadow: 0px 0px 1px 1px rgba(0, 0, 0, 0.1);
    background: white;
}

.spp-list-cover {}

.spp-list-cover img {
    width: 100%;
    border-radius: 5px;
}

.spp-list-pname {
    font-weight: 600;
    direction: rtl;
    width: 95%;
    margin: auto;
    font-size: 13px;
    border-bottom: 1px solid rgb(233, 233, 233);
}

.spp-list-pprice {
    color: #797979;
    font-weight: normal;
    border-radius: 0px !important;
    border-bottom: 0px;
}

.btngr {
    background: #48b3b3;
    border: none;
    color: white !important;
}

.spp-list-pprice i {
    vertical-align: middle;
    color: #8a8a8a;
}

.spp-list-pprice b,
b.bprice {
    font-size: 15px;
    color: #48b3b3;
}

.circle {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #f0f0f0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #777777;
    border: 1px solid #f0f0f0;
}

.dividerH {
    width: 100%;
    height: 1px;
    background-color: #e7e7e7;
    margin: 10px 0px;
}

.rvCourseList i {
    color: #777777;
    font-size: 12px;
    vertical-align: middle;
}

.rvCourseList i.fa-play-circle {
    color: #4dcbeb;
    font-size: 16px;
    vertical-align: middle;
    margin-right: 20px;
}

.duration {
    color: #777777;
    font-size: 12px;
}

.courseText {
    background-color: #fafafa;
    border-top: 1px solid #efefef;
    border-bottom: 1px solid #efefef;
    line-height: 24px;
}

.verm {
    vertical-align: middle;
}

.watermark {
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 14px;
    color: white;
    opacity: 0.7;
    pointer-events: none;
    user-select: none;
    text-shadow: 0 0 5px black;
    z-index: 10;
}

.rvDrTags span.bg-label-info {
    background-color: #d9f8fc !important;
    color: #009cad !important;
}