.template-title {
    font-family: 'Poppins', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 84px;
    line-height: 96px;
    color: #1D1E1E;
}
.template-title span {
    font-family: 'Merriweather', sans-serif;
    font-style: italic;
    font-weight: 400;
    font-size: 81px;
    line-height: 96px;
    background: linear-gradient(90deg, #FF6002 40.87%, #FCB421 54.33%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    padding: 0 10px;
    margin: 0 -10px;
    display: inline-block;
    box-sizing: border-box;
}

.testimonials__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 100px;
}

.testimonials__item {
    padding: 39px 30px 30px;
    border: 1px solid #1D1E1E;
    border-radius: 30px;
}

.testimonials__item-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-height: 42px;
}

.testimonials__item-date {
    font-family: 'Poppins', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    text-align: right;
    color: #1D1E1E;
    opacity: 0.5;
    margin-bottom: 30px;
}

.testimonials__item-text {
    font-family: 'Poppins', sans-serif;
    font-style: normal;
    font-weight: 300;
    font-size: 22px;
    line-height: 33px;
    color: #1D1E1E;
}

.testimonials__item.blue .testimonials__item-text span {
    background: linear-gradient(90deg, #0083FD 0.46%, #02A9FA 22.98%, #2CBBFE 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    font-family: 'Merriweather', sans-serif;
    font-style: italic;
    font-weight: 400;
    font-size: 22px;
    line-height: 28px;
    padding: 0 2px;
    margin: 0 -2px;
    display: inline-block;
    box-sizing: border-box;
}

.testimonials__item.orange .testimonials__item-text span {
    background: linear-gradient(89.96deg, #FF6002 0.03%, #FEB121 56.73%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    font-family: 'Merriweather', sans-serif;
    font-style: italic;
    font-weight: 400;
    font-size: 22px;
    line-height: 28px;
    padding: 0 2px;
    margin: 0 -2px;
    display: inline-block;
    box-sizing: border-box;
}

@media (max-width: 767px) {
    .testimonials__grid {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-top: 60px;
    }

    .testimonials__item {
        padding: 25px 20px 20px;
        border-radius: 20px;
    }

    .testimonials__item-header {
        max-height: 32px;
    }

    .testimonials__item-header img {
        max-width: 55px;
        height: auto;
    }

    .testimonials__item-header .star__image {
        min-width:  150px;
    }

    .testimonials__item-date {
        font-size: 14px;
        line-height: 20px;
        margin-bottom: 20px;
    }

    .load-testimonials {
        margin-top: 30px;
        font-size: 14px;
    }

    .template-title,
    .template-title span {
        font-size: 40px;
        line-height: 1;
    }
}

@media (max-width: 480px) {
    .testimonials__grid {
        margin-top: 40px;
        gap: 12px;
    }

    .testimonials__item {
        padding: 20px 15px 15px;
        border-radius: 15px;
    }

    .testimonials__item-date {
        font-size: 12px;
        line-height: 18px;
        margin-bottom: 15px;
    }
}

.dark-theme .testimonials__item,.dark-theme .testimonials__item-text,.dark-theme .testimonials__item-date {
    border-color: #fff;
    color: #fff;
}