.mjs-testimonials,
.mjs-testimonial-submit {
    max-width: 1180px;
    margin: 0 auto;
    padding: 72px 28px;
    color: #0B1F3A;
}

.mjs-testimonials {
    padding-bottom: 42px;
}

.mjs-testimonial-submit {
    padding-top: 38px;
    padding-bottom: 86px;
}

.mjs-testimonials__heading,
.mjs-testimonial-submit__intro {
    max-width: 780px;
    margin-bottom: 34px;
}

.mjs-testimonial-eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    color: #F58220;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .17em;
}

.mjs-testimonials h1,
.mjs-testimonial-submit h2 {
    margin: 0 0 12px;
    color: #0B1F3A;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.2rem, 5vw, 4rem);
    line-height: .98;
}

.mjs-testimonial-submit h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
}

.mjs-testimonials__heading p,
.mjs-testimonial-submit__intro p {
    margin: 0;
    color: #43546b;
    font-size: 1rem;
    line-height: 1.7;
}

.mjs-testimonial-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.mjs-testimonial-card {
    position: relative;
    padding: 30px;
    border: 1px solid rgba(11,31,58,.10);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(11,31,58,.06);
}

.mjs-testimonial-card__quote {
    position: absolute;
    top: 13px;
    right: 22px;
    color: rgba(245,130,32,.18);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 68px;
    line-height: 1;
}

.mjs-testimonial-card__text {
    position: relative;
    z-index: 1;
    min-height: 150px;
    color: #26384f;
    font-size: .98rem;
    line-height: 1.75;
}

.mjs-testimonial-card__text p {
    margin: 0;
}

.mjs-testimonial-card__person {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(11,31,58,.08);
}

.mjs-testimonial-card__photo {
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
}

.mjs-testimonial-card__photo img {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
}

.mjs-testimonial-card__person strong {
    display: block;
    color: #0B1F3A;
    font-size: .98rem;
}

.mjs-testimonial-card__meta {
    margin-top: 3px;
    color: #66768a;
    font-size: .82rem;
}

.mjs-testimonial-card__type {
    display: inline-block;
    margin-top: 7px;
    padding: 4px 8px;
    border-radius: 999px;
    background: #EAF5FF;
    color: #1455D9;
    font-size: .72rem;
    font-weight: 700;
}

.mjs-testimonial-empty {
    padding: 38px;
    border: 1px dashed rgba(11,31,58,.18);
    border-radius: 14px;
    background: #FFF9F2;
    text-align: center;
}

.mjs-testimonial-empty p {
    margin: 0 0 14px;
}

.mjs-testimonial-empty a {
    color: #F58220;
    font-weight: 800;
    text-decoration: none;
}

.mjs-testimonial-form {
    padding: 30px;
    border: 1px solid rgba(11,31,58,.10);
    border-radius: 15px;
    background: #FFF9F2;
}

.mjs-testimonial-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.mjs-field--wide {
    grid-column: 1 / -1;
}

.mjs-field label {
    display: block;
    margin-bottom: 8px;
    color: #0B1F3A;
    font-size: .9rem;
    font-weight: 750;
}

.mjs-field label > span,
.mjs-field > label span {
    color: #F58220;
}

.mjs-field input[type="text"],
.mjs-field input[type="email"],
.mjs-field input[type="file"],
.mjs-field select,
.mjs-field textarea {
    box-sizing: border-box;
    width: 100%;
    min-height: 52px;
    padding: 13px 15px;
    border: 1px solid rgba(11,31,58,.18);
    border-radius: 8px;
    background: #fff;
    color: #0B1F3A;
    font: inherit;
    outline: none;
}

.mjs-field textarea {
    min-height: 170px;
    resize: vertical;
}

.mjs-field input:focus,
.mjs-field select:focus,
.mjs-field textarea:focus {
    border-color: #F58220;
    box-shadow: 0 0 0 3px rgba(245,130,32,.10);
}

.mjs-field small {
    display: block;
    margin-top: 7px;
    color: #718096;
    font-size: .78rem;
    line-height: 1.45;
}

.mjs-consent {
    padding: 16px 18px;
    border-radius: 8px;
    background: #EAF5FF;
}

.mjs-consent label {
    display: flex;
    gap: 10px;
    margin: 0;
    line-height: 1.55;
}

.mjs-consent input {
    flex: 0 0 auto;
    margin-top: 4px;
}

.mjs-consent label span {
    color: #29415e;
    font-weight: 500;
}

.mjs-honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.mjs-testimonial-submit-btn {
    margin-top: 22px;
    min-height: 50px;
    padding: 13px 26px;
    border: 0;
    border-radius: 8px;
    background: #F58220;
    color: #fff;
    font-size: .92rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(245,130,32,.18);
}

.mjs-testimonial-submit-btn:hover {
    transform: translateY(-1px);
    filter: brightness(.97);
}

.mjs-testimonial-moderation-note {
    margin: 12px 0 0;
    color: #718096;
    font-size: .8rem;
}

.mjs-testimonial-notice {
    margin: 0 0 24px;
    padding: 15px 17px;
    border-radius: 9px;
    font-weight: 700;
    line-height: 1.5;
}

.mjs-testimonial-notice--success {
    border: 1px solid #86c69b;
    background: #eef9f1;
    color: #14532d;
}

.mjs-testimonial-notice--error {
    border: 1px solid #f2a8a8;
    background: #fff2f2;
    color: #8a1f1f;
}

@media (max-width: 900px) {
    .mjs-testimonial-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .mjs-testimonials,
    .mjs-testimonial-submit {
        padding-left: 20px;
        padding-right: 20px;
    }

    .mjs-testimonial-cards,
    .mjs-testimonial-grid {
        grid-template-columns: 1fr;
    }

    .mjs-field--wide {
        grid-column: auto;
    }

    .mjs-testimonial-form,
    .mjs-testimonial-card {
        padding: 22px;
    }

    .mjs-testimonial-submit-btn {
        width: 100%;
    }
}


/* =========================================================
   OpenHub Testimonials 1.1 — Share panel
   ========================================================= */

.oht-share-panel {
    margin: 0 0 28px;
    padding: 18px;
    border: 1px solid rgba(11,31,58,.10);
    border-radius: 12px;
    background: #EAF5FF;
}

.oht-share-panel__copy {
    margin-bottom: 14px;
}

.oht-share-panel__copy strong {
    display: block;
    color: #0B1F3A;
    font-size: .96rem;
}

.oht-share-panel__copy span {
    display: block;
    margin-top: 4px;
    color: #52657d;
    font-size: .84rem;
    line-height: 1.5;
}

.oht-share-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.oht-share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 9px 14px;
    border: 1px solid rgba(11,31,58,.14);
    border-radius: 8px;
    background: #fff;
    color: #0B1F3A;
    font: inherit;
    font-size: .82rem;
    font-weight: 750;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.oht-share-btn:hover,
.oht-share-btn:focus {
    border-color: rgba(245,130,32,.55);
    box-shadow: 0 5px 14px rgba(11,31,58,.08);
    transform: translateY(-1px);
}

.oht-share-btn--whatsapp {
    border-color: rgba(37,211,102,.35);
}

.oht-share-feedback {
    min-height: 18px;
    margin-top: 9px;
    color: #43617f;
    font-size: .76rem;
}

@media (max-width: 680px) {
    .oht-share-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .oht-share-btn {
        width: 100%;
    }
}


/* =========================================================
   OpenHub Testimonials 1.1.1 — Responsive testimonial cards
   ========================================================= */

.mjs-testimonial-cards {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    align-items: stretch;
}

.mjs-testimonial-card:only-child {
    grid-column: 1 / -1;
    width: min(100%, 760px);
    max-width: 760px;
    justify-self: center;
}

.mjs-testimonial-card:only-child .mjs-testimonial-card__text {
    min-height: 0;
    font-size: 1.02rem;
    line-height: 1.75;
}

.mjs-testimonial-card:only-child .mjs-testimonial-card__person {
    max-width: 520px;
}

@media (max-width: 680px) {
    .mjs-testimonial-cards {
        grid-template-columns: 1fr;
    }

    .mjs-testimonial-card:only-child {
        width: 100%;
        max-width: none;
    }
}


/* =========================================================
   OpenHub Testimonials 1.2.0 — scalable grid + pagination
   ========================================================= */

.mjs-testimonial-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
}

.mjs-testimonial-card,
.mjs-testimonial-card:only-child {
    width: auto;
    max-width: none;
    justify-self: stretch;
    padding: 24px;
}

.mjs-testimonial-card:only-child {
    grid-column: auto;
}

.mjs-testimonial-card__text,
.mjs-testimonial-card:only-child .mjs-testimonial-card__text {
    min-height: 0;
    font-size: .94rem;
    line-height: 1.65;
}

.mjs-testimonial-card__person,
.mjs-testimonial-card:only-child .mjs-testimonial-card__person {
    max-width: none;
}

.mjs-testimonial-card__quote {
    display: none !important;
}

.oht-pagination {
    margin-top: 30px;
}

.oht-pagination ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.oht-pagination a,
.oht-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    min-height: 40px;
    padding: 8px 12px;
    border: 1px solid rgba(11,31,58,.14);
    border-radius: 8px;
    background: #fff;
    color: #0B1F3A;
    text-decoration: none;
    font-size: .82rem;
    font-weight: 700;
}

.oht-pagination .current {
    border-color: #F58220;
    background: #F58220;
    color: #fff;
}

.oht-powered-by {
    margin-top: 24px;
    color: #7a8798;
    font-size: .75rem;
    text-align: right;
}

.oht-powered-by a {
    color: #1455D9;
    font-weight: 700;
    text-decoration: none;
}

.oht-powered-by a:hover {
    text-decoration: underline;
}

@media (max-width: 960px) {
    .mjs-testimonial-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .mjs-testimonial-cards {
        grid-template-columns: 1fr;
    }

    .oht-powered-by {
        text-align: center;
    }
}


/* =========================================================
   OpenHub Testimonials 1.3.3 — balanced single testimonial
   ========================================================= */

.mjs-testimonial-card:only-child {
    grid-column: 1 / -1;
    width: min(100%, 560px);
    max-width: 560px;
    justify-self: center;
}

.mjs-testimonial-card:only-child .mjs-testimonial-card__text {
    font-size: .96rem;
    line-height: 1.72;
}

@media (max-width: 680px) {
    .mjs-testimonial-card:only-child {
        width: 100%;
        max-width: none;
    }
}
