/* easy Responsive CSS */
.textMain .resp-tabs-list li {
    font: 600 16px/30px var(--siteFont);
    color: var(--fontLight);
    text-transform: uppercase;
}
.textMain h2.resp-accordion {
    font: 700 16px/30px var(--headingFont);
    color: var(--fontLight);
}
.textMain .revMain .resp-tab-content, .textMain .revMain h2.resp-tab-active, .revMain .resp-tab-content, .revMain h2.resp-tab-active {
    border: 0px !important;
}
.textMain .resp-tabs-list li a,
.textMain h2.resp-accordion a {
    background: var(--themeOneBg);
}
.textMain .resp-tabs-list li a {
    border-radius: 5px;
}
.textMain .resp-tabs-container h2.resp-tab-active a,
.textMain .resp-tabs-list li.resp-tab-active a {
    background: var(--themeTwoBg);
}
.textMain .resp-tabs-list li.resp-tab-active:before {
    border-top: 10px solid var(--themeTwoBg);
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    bottom: -5px;
}
/* Testimonial CSS */
.textMain .write-review {
    font: 400 16px/20px Verdana, Arial, Helvetica, sans-serif;
    float: right;
    position: relative;
    border: 2px solid #ccc;
}
.textMain .write-review a {
    display: block;
    padding: 5px 15px;
    text-decoration: none;
}
.textMain .write-review a::before {
    margin-right: 15px;
}
.textMain .reviewList>ul>li {
    background: none;
    position: relative;
    text-align: left;
    margin: 30px 1%;
    padding: 15px;
    -webkit-box-shadow: inset 0 0 5px 1px rgba(51, 51, 51, 0.2);
    -moz-box-shadow: inset 0 0 5px 1px rgba(51, 51, 51, 0.2);
    -ms-box-shadow: inset 0 0 5px 1px rgba(51, 51, 51, 0.2);
    -o-box-shadow: inset 0 0 5px 1px rgba(51, 51, 51, 0.2);
    box-shadow: inset 0 0 5px 1px rgba(51, 51, 51, 0.2);
}
.textMain .reviewList>ul>li::before {
    border-top: 3px solid #ccc;
    border-left: 3px solid #ccc;
    top: -10px;
    left: -10px;
}
.textMain .reviewList>ul>li::before,
.textMain .reviewList>ul>li::after {
    position: absolute;
    content: '';
    width: 35px;
    height: 35px;
}
.textMain .reviewList>ul>li::after {
    border-right: 3px solid #ccc;
    border-bottom: 3px solid #ccc;
    right: -10px;
    bottom: -10px;
}
.revName {
    font-style: italic;
    text-align: right;
}
.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 var(--fontDark);
    padding: 2px;
}
.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 {
    fill: #00e !important;
    stroke: #00e !important;
}
.dfw-whitemode svg .star1_stroke {
    fill: #00e !important;
    stroke: #00e !important;
}
.dfw-whitemode svg .star4_stroke {
    stroke: #00e !important;
}
.dfw-blackmode svg .star1 {
    fill: #fc0 !important;
    stroke: #fc0 !important;
}
.dfw-blackmode svg .star1_stroke {
    fill: #fc0 !important;
    stroke: #fc0 !important;
}
.dfw-blackmode svg .star4_stroke {
    stroke: #fc0 !important;
}
.dfw-greymode svg .star1 {
    fill: #000 !important;
    stroke: #000 !important;
}
.dfw-greymode svg .star1_stroke {
    fill: #000 !important;
    stroke: #000 !important;
}
.dfw-greymode svg .star4_stroke {
    stroke: #000 !important;
}

/* =========================================
   PATIENT STORIES
========================================= */

.textMain .patient-stories {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 24px !important;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}

.textMain .patient-stories > li {
    display: block;
    width: auto;
    max-width: none;
    min-width: 0;
    height: auto;
    min-height: 0;
    grid-column: auto;
    grid-row: auto;
    float: none;
    clear: none;
    position: relative;
    margin: 0;
    padding: 32px 32px 28px;
    box-sizing: border-box;
    background: #f8f7f3;
    border-left: 3px solid #b49a72;
}


/* =========================================
   TITLE
========================================= */

.patient-stories > li h3 {
    margin: 0 55px 14px 0;
    padding: 0;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 23px;
    line-height: 1.3;
    font-weight: 400;

    color: #263831;
}


/* =========================================
   REVIEW TEXT
========================================= */

.patient-stories > li p {
    margin: 0;
    padding: 0;

    font-size: 16px;
    line-height: 1.65;

    color: #626762;
}


/* =========================================
   READ MORE
========================================= */

.patient-stories > li .revMore {
    margin: 22px 0 0;
    padding: 0;
}

.patient-stories > li .revMore a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: auto;
    margin: 0;
    padding: 12px 20px;
    border: 1px solid #ddd9d0;
    border-radius: 20px;
    background: transparent;
    font-size: 11px;
    line-height: 1;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #4d554f;
    text-decoration: none;
}


.patient-stories > li .revMore a::after {
    content: "→";
    font-size: 16px;
    line-height: 1;
}


/* =========================================
   HOVER
========================================= */

.patient-stories > li {
    transition: transform .25s ease,
        box-shadow .25s ease;
}

.patient-stories > li:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .06);
}

.reviewText {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    color: #ffffff;
    padding-bottom: 25px;
}

.reviewHeading {
    font: 800 18px/30px var(--siteFont);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--themeThreeBg);
    margin: 0;
}

.review-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #9c8a5a;
    /* Gold/tan border color */
    border-radius: 12px;
    padding: 8px 18px;
    background-color: rgba(0, 0, 0, 0.25);
    /* Subtle dark fill */
}

.rating-score {
    font: 800 16px/30px var(--siteFont);
    color: #ffffff;
}

.reviewText .stars {
    color: #ffc107;
    /* Bright yellow/gold for stars */
    font-size: 1.1rem;
    letter-spacing: 2px;
    top: -5px;
  position: relative;
}

.divider {
    color: #9c8a5a;
    font-weight: 300;
    user-select: none;
    padding: 10px;
}

.review-count {
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #ffffff;
}
h1.reviewHeading span {
    font-size: 70px;
}

/* =========================================
   TABLET
========================================= */

@media (max-width: 991px) {

    .patient-stories {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }

    .patient-stories > li {
        padding: 28px 25px 25px;
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 600px) {

    .patient-stories {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .patient-stories > li {
        padding: 27px 23px 24px;
    }

    .patient-stories > li h3 {
        font-size: 21px;
    }

    .patient-stories > li p {
        font-size: 15px;
    }

}


.patient-reviews {
    width: 100%;

}

.patient-review-section {
    padding: 45px 0 0;
}


.patient-review-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 32px;
}

.patient-review-title-wrap {
    display: flex;
    align-items: center;
    gap: 22px;
}

.patient-review-icon {
    width: 78px;
    height: 78px;
    flex: 0 0 78px;
    border-radius: 50%;
    background: #dcecf7;
    display: flex;
    align-items: center;
    justify-content: center;
}

.knee-reviews .patient-review-icon {
    background: #e9e3d8;
}

.overall-reviews .patient-review-icon {
    background: #dcecf7;
}

.patient-review-icon span {
    font-size: 36px;

}

.patient-review-label {
    display: block;
    margin-bottom: 5px;
    font-size: 11px;
    line-height: 1;
    letter-spacing: 3px;
    font-weight: 600;
}

.patient-review-title h2 {
    margin: 0 0 5px;
    font-size: 42px;
    line-height: 1;
    font-weight: 500;

}

.patient-review-title p {
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
}

.patient-review-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #6d8ca7;
    color: #0b4d80;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-decoration: none;
    white-space: nowrap;
}

.patient-review-link span {
    font-size: 20px;
    line-height: 10px;
    transition: transform 0.2s ease;
}


.patient-review-link:hover span {
    transform: translateX(4px);
}

.patient-review-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
}

.patient-review-card {
    min-height: 184px;
    padding: 20px 18px 18px;
    background: #ffffff;
    border: 1px solid #d9e5ed;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
}

.patient-review-card:hover {
    box-shadow: 0 8px 25px rgba(20, 55, 80, 0.08);
    transform: translateY(-2px);
    transition: all 0.2s ease;
}

.patient-review-stars {
    margin-bottom: 14px;
    color: #f5a000;
    font-size: 17px;
    letter-spacing: 1px;
    line-height: 1;
}


.patient-review-author {
    margin-top: auto;
    padding-top: 18px;
    font: 700 17px/23px var(--siteFont);
}

.knee-reviews .patient-review-label {
    color: #87632e;
}

.knee-reviews .patient-review-link {
    color: #765523;
    border-color: #9c8055;
}

.knee-reviews .patient-review-stars {
    color: #f1a000;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 1200px) {

    .patient-review-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
    }

    .patient-review-card {
        min-height: 190px;
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 767px) {

    .patient-review-section {
        padding: 45px 0 50px;
    }

    .patient-review-container {
	width: auto;
}

    .patient-review-heading {
        display: block;
        margin-bottom: 25px;
    }

    .patient-review-title-wrap {
        align-items: flex-start;
        gap: 15px;
    }

    .patient-review-icon {
        width: 58px;
        height: 58px;
        flex: 0 0 58px;
    }

    .patient-review-icon span {
        font-size: 27px;
    }

    .patient-review-title h2 {
        font-size: 32px;
    }


    .patient-review-link {
        margin-top: 20px;
    }

    .patient-review-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .patient-review-card {
        min-height: auto;
        padding: 20px;
    }

    .patient-review-quote {
        font-size: 14px;
    }

    .textMain .patient-stories {
	grid-template-columns: repeat(1, minmax(0, 1fr));
}
    
    
    
    
}









/*----- Accessibility -----*/
html[data-theme='dark'] .accessible_on .textMain .reviewList > ul > li {
    box-shadow: inset 0 5px 5px 2px rgba(255, 255, 255, 0.5);
}

.accessible_on svg .star1 {
    fill: var(--linkColor) !important;
    stroke: var(--linkColor) !important;
}

.accessible_on svg .star1_stroke {
    fill: var(--linkColor) !important;
    stroke: var(--linkColor) !important;
}

.accessible_on svg .star4_stroke {
    stroke: var(--linkColor) !important;
}
