.textMain .write-review {
	font: 400 16px/20px Verdana,Arial,Helvetica,sans-serif;
	float: right;
	position: relative;
	border: 2px solid #262626;
	border-radius: 20px;
	padding: 2px;
	margin-bottom: 15px;
}

.textMain .write-review a {
    display: block;
    padding: 8px 15px;
    text-decoration: none;
    background: #262626;
    border-radius: 20px;
    color: #fff;
}

.textMain .write-review a:hover {
    background: #b05e2f;
    color: #fff;
}

.textMain .write-review a::before {
    margin-right: 15px;
}

.textMain .write-review a::before {
	content: "\e82f";
	font-family: "fontello";
	 font-size: 19px; 
	margin-left: 8px;
	 display: inline-block; 
	transition: transform 0.3s ease;
}

.textMain .write-review a:hover::before {
    transform: translateY(-2px);
}

.textMain .reviewList {
    width: 100%;
    margin: 35px 0 50px;
}

.textMain .reviewList ul {
    column-count: 2;
    column-gap: 26px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.textMain .reviewList li {
    position: relative;
    display: inline-block;
    width: 100%;
    margin: 0 0 26px;
    padding: 27px 28px 24px;
    background: #fff;
    border: 1px solid #e3dfdc;
    border-radius: 14px;
    box-sizing: border-box;
    overflow: hidden;
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
    page-break-inside: avoid;
    box-shadow: 0 6px 20px rgba(45, 44, 48, 0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.textMain .reviewList li::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--themeOneBg), var(--themeFourBg));
}

.textMain .reviewList li::after {
    content: "\201C";
    position: absolute;
    top: 8px;
    right: 22px;
    color: rgba(208, 145, 106, 0.3);
    font-family: Georgia, serif;
    font-size: 82px;
    line-height: 1;
    pointer-events: none;
}

.textMain .reviewList li:hover {
    border-color: rgba(208, 145, 106, 0.4);
    box-shadow:
        0 14px 30px rgba(45, 44, 48, 0.11),
        0 4px 10px rgba(208, 145, 106, 0.07);
    transform: translateY(-4px);
}

.textMain .reviewList .rateImg {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    width: fit-content;
    max-width: 100%;
    margin: 0 0 18px;
    padding: 8px 13px;
    background: #faf5f0;
    border: 1px solid rgba(208, 145, 106, 0.2);
    border-radius: 7px;
    box-sizing: border-box;
}

.textMain .reviewList .rateImg img {
    display: block;
    flex: 0 0 83px;
    width: 83px;
    height: 18px;
    object-fit: contain;
}

.textMain .reviewList .rateImg span {
    display: inline-block;
    color: #5b5855;
    font-size: 13px;
    line-height: 18px;
    font-weight: 600;
    white-space: normal;
}

.textMain .reviewList li > p {
    position: relative;
    z-index: 1;
    margin: 0;
    color: #4c4a48;
    font-size: 15px;
    line-height: 1.8;
    font-weight: 400;
}

/* Patient information - always one row */
.textMain .reviewList .patientBox {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    width: 100%;
    margin: 21px 0 0;
    padding: 14px 0 0;
    border-top: 1px solid #ece8e5;
    box-sizing: border-box;
}

.textMain .reviewList .revName {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
    padding: 0;
    color: var(--themeTwoBg);
    font-size: 15px;
    line-height: 1.4;
    font-weight: 700;
    text-align: left;
}

.textMain .reviewList .source {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin: 0;
    color: #77736f;
    font-size: 14px;
    line-height: 1.4;
    white-space: nowrap;
}

.textMain .reviewList .source .textMainBold {
    color: #77736f;
    font-weight: 600;
}

.textMain .reviewList .source a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    background: #f7f5f3;
    border: 1px solid #e4e0dc;
    border-radius: 50%;
    transition:
        background 0.3s ease,
        border-color 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.textMain .reviewList .source a img {
    display: block;
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.textMain .reviewList .source a:hover {
    background: #fff;
    border-color: rgba(208, 145, 106, 0.5);
    box-shadow: 0 5px 12px rgba(45, 44, 48, 0.1);
    transform: translateY(-2px);
}

.clear-float {
    clear: both;
}

.reviewMore {
    margin-top: 22px;
    text-align: center;
}

.reviewMore a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 11px 22px 11px 25px;
    border: 1px solid var(--themeTwoBg);
    border-radius: 50px;
    background: var(--themeTwoBg);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 101, 160, 0.15);
    transition: all 0.3s ease;
}

.reviewMore a::after {
    content: "\f101";
    font-family: "fontello";
    font-size: 17px;
    transition: transform 0.3s ease;
}

.reviewMore a:hover {
    background: var(--themeOneBg);
    color: var(--fontDark);
    border-color: var(--themeOneBg);
    box-shadow: 0 6px 18px rgba(254, 122, 0, 0.2);
    transform: translateY(-2px);
    text-decoration: none;
}

.reviewMore a:hover::after {
    transform: translateX(4px);
}

.textMain .reviewList li .patient {
    margin: 10px 0;
}

.textMain .reviewList li .readmore {
    margin-top: 15px;
}

.textMain .reviewList li .readmore a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
    transition: color 0.3s ease;
}

.textMain .reviewList li .readmore a::after {
    content: "\f101";
    /* Fontello arrow */
    font-family: "fontello";
    font-size: 16px;
    transition: transform 0.3s ease;
}

.textMain .reviewList li .readmore a:hover {
    color: var(--themeOneBg);
    text-decoration: none;
}

.textMain .reviewList li .readmore a:hover::after {
    transform: translateX(4px);
}

.textMain .galleries ul {
    margin: 0px;
    padding: 0px;
}

.textMain .galleries li {
    margin: 3px;
    padding: 0px;
    display: inline-block;
    vertical-align: top;
}

.textMain .galleries li img {
    border: 2px solid #000;
    padding: 2px;
    border-radius: 15px;
}

.textMain .galleries li::before {
    display: none;
}

.stars {
    margin: 5px;
    text-align: center;
    display: inline-block;
    vertical-align: top;
}

.rating-display {
    color: #9f9fa2;
    font: 400 16px/26px 'Open Sans', sans-serif;
    text-align: center;
    display: none;
    margin: 0px auto;
}

svg .star1 {
    fill: #fff !important;
    stroke: #fff !important;
}

svg .star1_stroke {
    fill: #fff !important;
    stroke: #fff !important;
}

svg .star4 {
    fill: none !important;
    stroke: none !important;
}

svg .star4_stroke {
    stroke: #fff !important;
}

.dfw-whitemode svg .star1,
.dfw-greymode svg .star1 {
    fill: #000 !important;
    stroke: #000 !important;
}

.dfw-whitemode svg .star1_stroke,
.dfw-greymode svg .star1_stroke {
    fill: #000 !important;
    stroke: #000 !important;
}

.dfw-whitemode svg .star4_stroke,
.dfw-greymode svg .star4_stroke {
    stroke: #000 !important;
}
.textMain .reviewList .patient-stories-detail {
	column-count: 1;
	margin-top: 20px;
}
.comment-details {
	padding: 15px 0;
}
@media (max-width: 900px) {
    .textMain .reviewList {
        margin: 30px 0 40px;
    }

    .textMain .reviewList ul {
        column-gap: 18px;
    }

    .textMain .reviewList li {
        margin-bottom: 18px;
        padding: 23px 22px 21px;
    }

    .textMain .reviewList .rateImg {
        gap: 8px;
        margin-bottom: 15px;
        padding: 7px 11px;
    }

    .textMain .reviewList .rateImg span {
        font-size: 12px;
        line-height: 17px;
    }

    .textMain .reviewList li > p {
        font-size: 14px;
        line-height: 1.75;
    }

    .textMain .reviewList .patientBox {
        gap: 12px;
        margin-top: 18px;
        padding-top: 12px;
    }

    .textMain .reviewList .revName {
        font-size: 14px;
    }


    .textMain .reviewList .source a {
        width: 28px;
        height: 28px;
        flex-basis: 28px;
    }

    .textMain .reviewList .source a img {
        width: 17px;
        height: 17px;
    }

    .reviewMore {
        margin-top: 20px;
    }

    .reviewMore a {
        padding: 10px 20px 10px 22px;
        font-size: 14px;
    }

    .textMain .reviewList li .readmore {
        margin-top: 13px;
    }

    .textMain .reviewList li .readmore a {
        font-size: 14px;
        gap: 7px;
    }
}

@media screen and (max-width: 700px) {

    .textMain .reviewList {
        margin: 25px 0 35px;
    }

    .textMain .reviewList ul {
        column-count: 1;
    }

    .textMain .reviewList li {
        margin-bottom: 16px;
        padding: 22px 20px 20px;
        border-radius: 13px;
    }

    .textMain .reviewList li::after {
        top: 7px;
        right: 15px;
        font-size: 70px;
    }

    .textMain .reviewList .rateImg {
        width: 100%;
        max-width: 100%;
        gap: 8px;
        margin-bottom: 15px;
        padding: 7px 10px;
    }

    .textMain .reviewList .rateImg img {
        flex: 0 0 83px;
    }

    .textMain .reviewList .rateImg span {
        flex: 1 1 0;
        font-size: 12px;
        line-height: 17px;
    }

    .textMain .reviewList li > p {
        font-size: 14px;
        line-height: 1.72;
    }

    .textMain .reviewList .patientBox {
        gap: 10px;
        margin-top: 17px;
        padding-top: 12px;
    }

    .textMain .reviewList .revName {
        font-size: 14px;
    }

    .textMain .reviewList .source {
        gap: 6px;
    }

    .textMain .reviewList .source a {
        width: 28px;
        height: 28px;
        flex-basis: 28px;
    }

    .textMain .reviewList li .patient {
        margin: 8px 0;
    }

    .textMain .reviewList li .readmore {
        margin-top: 12px;
    }

    .textMain .reviewList li .readmore a {
        font-size: 14px;
        gap: 6px;
    }

    .textMain .reviewList li .readmore a::after {
        font-size: 14px;
    }

    .reviewMore {
        margin-top: 18px;
    }

    .reviewMore a {
        padding: 10px 19px 10px 21px;
        font-size: 14px;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .textMain .reviewList li {
        padding: 20px 17px 18px;
    }

    .textMain .reviewList .rateImg {
        padding: 7px 9px;
    }

    .textMain .reviewList .rateImg span {
        font-size: 11px;
        line-height: 16px;
    }

    .textMain .reviewList li > p {
        font-size: 14px;
        line-height: 1.7;
    }

    .textMain .reviewList .patientBox {
        gap: 8px;
    }

    .textMain .reviewList .revName {
        font-size: 13px;
    }

    .textMain .reviewList .source {
        gap: 5px;
    }

    .textMain .reviewList .source a {
        width: 26px;
        height: 26px;
        flex-basis: 26px;
    }

    .textMain .reviewList .source a img {
        width: 16px;
        height: 16px;
    }

    .textMain .reviewList li .readmore a {
        font-size: 13px;
    }

    .reviewMore a {
        width: 100%;
        max-width: 220px;
        box-sizing: border-box;
        padding: 10px 17px;
        font-size: 13px;
    }
}
