.testimonials-page {
    background: #ffffff;
}

.testimonials-page .testimonials-hero {
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #ffffff;
}

.testimonials-page .testimonials-hero-bg,
.testimonials-page .testimonials-hero-overlay {
    position: absolute;
    inset: 0;
}

.testimonials-page .testimonials-hero-bg {
    background:
        url("img/hero-bg-page.jpg")
        center / cover
        no-repeat;
    transform: scale(1.02);
}

.testimonials-page .testimonials-hero-overlay {
    background:
        linear-gradient(
            90deg,
            rgba(21, 85, 112, .96) 0%,
            rgba(21, 85, 112, .84) 52%,
            rgba(21, 85, 112, .48) 100%
        );
}

.testimonials-page .testimonials-hero-content {
    position: relative;
    z-index: 1;
    padding-top: 110px;
    padding-bottom: 110px;
}

.testimonials-page .testimonial-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
    color: rgba(255, 255, 255, .72);
    font-size: 13px;
}

.testimonials-page .testimonial-breadcrumb a {
    color: #ffffff;
    transition: opacity .2s;
}

.testimonials-page .testimonial-breadcrumb a:hover {
    opacity: .76;
}

.testimonials-page .testimonials-hero h1 {
    max-width: 820px;
    margin: 0;
    font-size: clamp(46px, 5.5vw, 72px);
    line-height: 1.04;
    letter-spacing: -.045em;
}

.testimonials-page .testimonials-hero h1 span {
    color: #ffffff;
}

.testimonials-page .testimonials-hero p {
    max-width: 700px;
    margin: 25px 0 0;
    color: rgba(255, 255, 255, .82);
    font-size: 17px;
    line-height: 1.75;
}

.testimonials-page .testimonials-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
    margin-top: 32px;
}

.testimonials-page .testimonial-summary {
    padding: 0;
    background: #155570;
}

.testimonials-page .testimonial-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.testimonials-page .testimonial-summary article {
    min-height: 145px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 30px;
    border-right: 1px solid rgba(255, 255, 255, .16);
    color: #ffffff;
}

.testimonials-page .testimonial-summary article:last-child {
    border-right: 0;
}

.testimonials-page .testimonial-summary strong {
    margin-bottom: 7px;
    font-size: 30px;
    line-height: 1;
}

.testimonials-page .testimonial-summary span {
    color: rgba(255, 255, 255, .72);
    font-size: 13px;
}

.testimonials-page .testimonial-wall-section {
    background: rgba(21, 85, 112, .04);
}

.testimonials-page .testimonial-wall-heading {
    align-items: end;
}

.testimonials-page .testimonial-wall-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.testimonials-page .testimonial-wall-card {
    position: relative;
    min-width: 0;
    display: flex;
    flex-direction: column;
    padding: 27px;
    border: 1px solid rgba(21, 85, 112, .15);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 8px 26px rgba(21, 85, 112, .06);
    transition:
        transform .3s,
        box-shadow .3s,
        border-color .3s;
}

.testimonials-page .testimonial-wall-card:hover {
    transform: translateY(-6px);
    border-color: rgba(21, 85, 112, .28);
    box-shadow: 0 18px 38px rgba(21, 85, 112, .12);
}

.testimonials-page .testimonial-card-top {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonials-page .testimonial-avatar {
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #155570;
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .04em;
}

.testimonials-page .testimonial-avatar.large {
    flex-basis: 56px;
    width: 56px;
    height: 56px;
    font-size: 15px;
}

.testimonials-page .testimonial-person {
    min-width: 0;
    display: grid;
    gap: 3px;
}

.testimonials-page .testimonial-person strong {
    overflow: hidden;
    color: var(--ink);
    font-size: 14px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.testimonials-page .testimonial-person span {
    color: var(--muted);
    font-size: 12px;
}

.testimonials-page .featured-badge {
    margin-left: auto;
    padding: 5px 9px;
    border-radius: 100px;
    background: rgba(21, 85, 112, .09);
    color: #155570;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.testimonials-page .testimonial-stars {
    margin-top: 22px;
    color: #155570;
    font-size: 14px;
    letter-spacing: 3px;
}

.testimonials-page .testimonial-wall-card blockquote {

    flex:1;

    margin:17px 0 25px;

    color:var(--muted);

    font-size:14px;

    line-height:1.75;

    white-space:pre-line;

    overflow-wrap:break-word;

    word-break:break-word;

    max-height:220px;

    overflow-y:auto;

}

.testimonials-page .testimonial-wall-card time {
    padding-top: 16px;
    color: rgba(21, 85, 112, .62);
    font-size: 11px;
}

.testimonials-page .testimonial-alert {
    margin-bottom: 25px;
    padding: 15px 17px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
}

.testimonials-page .testimonial-alert.success {
    border: 1px solid rgba(21, 85, 112, .22);
    background: rgba(21, 85, 112, .08);
    color: #155570;
}

.testimonials-page .testimonial-alert.error {
    border: 1px solid rgba(21, 85, 112, .24);
    background: rgba(21, 85, 112, .06);
    color: #155570;
}

.testimonials-page .leave-comment-section {
    background: #ffffff;
}

.testimonials-page .leave-comment-layout {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 70px;
    align-items: center;
}

.testimonials-page .leave-comment-copy h2 {
    max-width: 560px;
}

.testimonials-page .leave-comment-copy > p {
    max-width: 600px;
    color: var(--muted);
}

.testimonials-page .comment-requirements {
    display: grid;
    gap: 13px;
    margin-top: 28px;
}

.testimonials-page .comment-requirements div {
    display: flex;
    align-items: center;
    gap: 11px;
    color: var(--muted);
    font-size: 14px;
}

.testimonials-page .comment-requirements span {
    flex: 0 0 25px;
    width: 25px;
    height: 25px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(21, 85, 112, .10);
    color: #155570;
    font-size: 12px;
    font-weight: 900;
}

.testimonials-page .comment-form-card {
    padding: 32px;
    border: 1px solid rgba(21, 85, 112, .16);
    border-radius: 20px;
    background: rgba(21, 85, 112, .04);
    box-shadow: 0 16px 40px rgba(21, 85, 112, .08);
}

.testimonials-page .logged-in-account {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
    padding-bottom: 22px;
    border-bottom: 1px solid rgba(21, 85, 112, .14);
}

.testimonials-page .logged-in-account > div:last-child {
    display: grid;
    gap: 3px;
}

.testimonials-page .logged-in-account span {
    color: var(--muted);
    font-size: 12px;
}

.testimonials-page .logged-in-account strong {
    color: var(--ink);
    font-size: 15px;
}

.testimonials-page .testimonial-comment-form {
    display: grid;
}

.testimonials-page .testimonial-comment-form label {
    margin-bottom: 9px;
    color: var(--ink);
    font-size: 13px;
    font-weight: 800;
}

.testimonials-page .testimonial-comment-form textarea {
    width: 100%;
    min-height: 170px;
    resize: vertical;
    padding: 15px 16px;
    border: 1px solid rgba(21, 85, 112, .20);
    border-radius: 13px;
    outline: 0;
    background: #ffffff;
    color: var(--ink);
    font: inherit;
    font-size: 14px;
    line-height: 1.7;
    transition:
        border-color .2s,
        box-shadow .2s;
}

.testimonials-page .testimonial-comment-form textarea:focus {
    border-color: #155570;
    box-shadow: 0 0 0 4px rgba(21, 85, 112, .10);
}

.testimonials-page .testimonial-comment-form textarea::placeholder {
    color: rgba(21, 85, 112, .52);
}

.testimonials-page .comment-form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    margin-top: 18px;
}

.testimonials-page .comment-form-footer > span {
    color: var(--muted);
    font-size: 11px;
}

.testimonials-page .login-required-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.testimonials-page .login-required-icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    margin-bottom: 20px;
    border-radius: 15px;
    background: #155570;
    color: #ffffff;
}

.testimonials-page .login-required-card h3 {
    margin: 0 0 10px;
    font-size: 24px;
}

.testimonials-page .login-required-card p {
    margin: 0 0 24px;
    color: var(--muted);
    font-size: 14px;
}

.testimonials-page .testimonial-bottom-cta {
    padding: 72px 0;
    background: #155570;
    color: #ffffff;
}

.testimonials-page .testimonial-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 35px;
}

.testimonials-page .testimonial-bottom-inner h2 {
    max-width: 760px;
    margin: 7px 0 0;
    color: #ffffff;
    font-size: clamp(30px, 3.5vw, 48px);
}

@media (max-width: 1020px) {
    .testimonials-page .testimonial-summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .testimonials-page .testimonial-summary article:nth-child(2) {
        border-right: 0;
    }

    .testimonials-page .testimonial-summary article:nth-child(-n + 2) {
        border-bottom: 1px solid rgba(255, 255, 255, .16);
    }

    .testimonials-page .testimonial-wall-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .testimonials-page .leave-comment-layout {
        grid-template-columns: 1fr;
        gap: 45px;
    }
}

@media (max-width: 720px) {
    .testimonials-page .testimonials-hero {
        min-height: 510px;
    }

    .testimonials-page .testimonials-hero-content {
        padding-top: 80px;
        padding-bottom: 80px;
    }

    .testimonials-page .testimonials-hero h1 {
        font-size: 41px;
        line-height: 1.08;
    }

    .testimonials-page .testimonials-hero p {
        font-size: 15px;
        line-height: 1.7;
    }

    .testimonials-page .testimonials-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .testimonials-page .testimonial-summary-grid,
    .testimonials-page .testimonial-wall-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-page .testimonial-summary article,
    .testimonials-page .testimonial-summary article:nth-child(2) {
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .16);
    }

    .testimonials-page .testimonial-summary article:last-child {
        border-bottom: 0;
    }

    .testimonials-page .testimonial-wall-heading {
        display: block;
    }

    .testimonials-page .testimonial-wall-heading .btn {
        margin-top: 20px;
    }

    .testimonials-page .comment-form-card {
        padding: 23px;
    }

    .testimonials-page .comment-form-footer {
        align-items: stretch;
        flex-direction: column;
    }

    .testimonials-page .comment-form-footer .btn {
        width: 100%;
    }

    .testimonials-page .testimonial-bottom-inner {
        align-items: flex-start;
        flex-direction: column;
    }
}

.testimonials-page .testimonial-wall-heading > div > p {
    max-width: 650px;
    margin: 14px 0 0;
    color: var(--muted);
}

.testimonials-page .testimonial-wall-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 34px;
    align-items: start;
}

.testimonials-page .testimonial-wall-content {
    min-width: 0;
}

.testimonials-page .testimonial-wall-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.testimonials-page .testimonial-wall-card.testimonial-hidden {
    display: none;
}

.testimonials-page .testimonial-load-more-wrap {
    display: flex;
    justify-content: center;
    margin-top: 32px;
}

.testimonials-page .testimonial-comment-sidebar {
    position: sticky;
    top: 110px;
}

.testimonials-page .comment-form-card {
    padding: 28px;
}

.testimonials-page .comment-form-card > h3 {
    margin: 8px 0 10px;
    color: var(--ink);
    font-size: 27px;
    letter-spacing: -.025em;
}

.testimonials-page .comment-card-intro {
    margin: 0 0 22px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
}

.testimonials-page .login-required-card h4 {
    margin: 0 0 10px;
    color: var(--ink);
    font-size: 22px;
}

.testimonials-page .comment-card-notes {
    display: grid;
    gap: 9px;
    margin-top: 24px;
    padding-top: 20px;
}

.testimonials-page .comment-card-notes span {
    color: var(--muted);
    font-size: 11px;
    line-height: 1.5;
}

.testimonials-page .leave-comment-section {
    display: none;
}

@media (max-width: 1100px) {
    .testimonials-page .testimonial-wall-layout {
        grid-template-columns: minmax(0, 1fr) 320px;
        gap: 25px;
    }
}

@media (max-width: 900px) {
    .testimonials-page .testimonial-wall-layout {
        grid-template-columns: 1fr;
    }

    .testimonials-page .testimonial-comment-sidebar {
        position: static;
        order: -1;
    }

    .testimonials-page .testimonial-wall-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .testimonials-page .testimonial-wall-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-page .comment-form-card {
        padding: 22px;
    }
}

.testimonial-avatar-image {
    display: block;
    object-fit: cover;
}

.testimonial-alert {
    transition:
        opacity 0.5s ease,
        transform 0.5s ease;
}

.testimonial-alert.fade-out {
    opacity: 0;
    transform: translateY(-8px);
}

.testimonials-page .rating-summary-card {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 42px;
    margin-bottom: 32px;
    padding: 30px;
    border: 1px solid rgba(21, 85, 112, 0.14);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 12px 32px rgba(21, 85, 112, 0.07);
}

.testimonials-page .rating-overview {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-right: 35px;
    border-right: 1px solid rgba(21, 85, 112, 0.12);
    text-align: center;
}

.testimonials-page .rating-summary-label {
    color: rgba(21, 85, 112, 0.65);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.testimonials-page .rating-average {
    margin-top: 9px;
    color: #155570;
    font-size: 58px;
    line-height: 1;
    letter-spacing: -0.05em;
}

.testimonials-page .rating-average-stars {
    margin-top: 12px;
    color: #155570;
    font-size: 18px;
    letter-spacing: 3px;
}

.testimonials-page .rating-review-count {
    margin-top: 10px;
    color: rgba(21, 85, 112, 0.65);
    font-size: 11px;
}

.testimonials-page .rating-breakdown {
    display: grid;
    align-content: center;
    gap: 13px;
}

.testimonials-page .rating-breakdown-row {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) 35px;
    align-items: center;
    gap: 12px;
}

.testimonials-page .rating-star-number {
    color: rgba(21, 85, 112, 0.72);
    font-size: 11px;
    font-weight: 600;
}

.testimonials-page .rating-breakdown-row strong {
    color: #155570;
    font-size: 11px;
    text-align: right;
}

.testimonials-page .rating-progress {
    height: 8px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(21, 85, 112, 0.09);
}

.testimonials-page .rating-progress span {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: #155570;
}

.testimonials-page .testimonial-rating-field {
    margin: 0 0 20px;
    padding: 0;
    border: 0;
}

.testimonials-page .testimonial-rating-field legend {
    margin-bottom: 9px;
    color: var(--ink);
    font-size: 13px;
    font-weight: 800;
}

.testimonials-page .testimonial-rating-input {
    display: inline-flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 4px;
}

.testimonials-page .testimonial-rating-input input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.testimonials-page .testimonial-rating-input label {
    margin: 0;
    color: rgba(21, 85, 112, 0.22);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    transition:
        color 0.18s ease,
        transform 0.18s ease;
}

.testimonials-page
.testimonial-rating-input
label:hover,
.testimonials-page
.testimonial-rating-input
label:hover ~ label,
.testimonials-page
.testimonial-rating-input
input:checked ~ label {
    color: #155570;
}

.testimonials-page
.testimonial-rating-input
label:hover {
    transform: scale(1.1);
}

.testimonials-page .testimonial-rating-field small {
    display: block;
    margin-top: 9px;
    color: var(--muted);
    font-size: 11px;
}

@media (max-width: 720px) {
    .testimonials-page .rating-summary-card {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 24px;
    }

    .testimonials-page .rating-overview {
        padding-right: 0;
        padding-bottom: 25px;
        border-right: 0;
        border-bottom:
            1px solid rgba(21, 85, 112, 0.12);
    }
}

.testimonial-delete-form {
    margin-top:15px;
}


.testimonial-delete-btn {

    border:1px solid #c94a4a;

    background:transparent;

    color:#c94a4a;

    padding:8px 14px;

    border-radius:8px;

    font-size:12px;

    font-weight:700;

    cursor:pointer;

}


.testimonial-delete-btn:hover {

    background:#c94a4a;

    color:#fff;

}