.klientu-atsiliepimai-wrap {
    display: grid;
    gap: 24px;
    max-width: 860px;
}

.klientu-atsiliepimai-wrap .screen-reader-text {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    border: 0 !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
}

.ka-action-section,
.ka-form-section,
.ka-list-section {
    width: 100%;
}

.ka-action-section h2,
.ka-form-section h2,
.ka-list-section h2 {
    margin: 0 0 16px;
}

.ka-message {
    margin: 0 0 16px;
    padding: 12px 14px;
    border-left: 4px solid #1f7a4d;
    background: #effaf4;
}

.ka-validation-message {
    padding: 12px 14px;
    border-left: 4px solid #b32d2e;
    background: #fff1f1;
    color: #7a1f1f;
    font-weight: 700;
}

.ka-message-success {
    display: grid;
    gap: 4px;
    padding: 16px 18px;
}

.ka-review-toggle {
    display: grid;
    gap: 18px;
}

.ka-review-toggle summary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    width: 100%;
    max-width: 360px;
    padding: 12px 22px;
    border-radius: 8px;
    background: #1f5f8b;
    color: #fff;
    cursor: pointer;
    font-weight: 800;
    list-style: none;
}

.ka-review-toggle summary::-webkit-details-marker {
    display: none;
}

.ka-review-toggle summary:hover,
.ka-review-toggle summary:focus {
    background: #174768;
}

.ka-review-toggle[open] summary {
    display: none;
}

.ka-review-toggle[open] ~ .ka-list-section {
    display: none;
}

.ka-review-toggle .ka-form-section h2 {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.ka-form {
    display: grid;
    gap: 14px;
}

.ka-form label {
    display: grid;
    gap: 6px;
    font-weight: 600;
}

.ka-form small {
    color: #667085;
    font-weight: 400;
}

.ka-form input:not([type="radio"]):not([type="checkbox"]),
.ka-form select,
.ka-form textarea {
    box-sizing: border-box;
    width: 100%;
    min-height: 42px;
    padding: 10px 12px;
    border: 1px solid #c9ced6;
    border-radius: 6px;
    background: #fff;
    color: #15171a;
    font: inherit;
}

.ka-form textarea {
    min-height: 130px;
    resize: vertical;
}

.ka-rating-field {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    border: 0;
}

.ka-rating-field legend {
    margin: 0;
    padding: 0;
    font-weight: 600;
}

.klientu-atsiliepimai-wrap .ka-form .ka-stars {
    display: flex !important;
    width: auto !important;
    min-height: 42px;
    flex-direction: row-reverse !important;
    justify-content: flex-end !important;
    align-items: center !important;
    gap: 4px !important;
}

.klientu-atsiliepimai-wrap .ka-form .ka-stars input[type="radio"] {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    min-width: 0 !important;
    min-height: 0 !important;
    margin: -1px !important;
    padding: 0 !important;
    border: 0 !important;
    opacity: 0 !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
    appearance: none !important;
}

.klientu-atsiliepimai-wrap .ka-form .ka-stars label {
    display: inline-flex !important;
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    min-height: 38px !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: #c9ced6 !important;
    cursor: pointer;
    font-size: 34px !important;
    font-weight: 400 !important;
    line-height: 1 !important;
}

.klientu-atsiliepimai-wrap .ka-form .ka-stars label::before {
    content: "\2605";
}

.klientu-atsiliepimai-wrap .ka-form .ka-stars input:checked ~ label,
.klientu-atsiliepimai-wrap .ka-form .ka-stars label:hover,
.klientu-atsiliepimai-wrap .ka-form .ka-stars label:hover ~ label,
.klientu-atsiliepimai-wrap .ka-form .ka-stars input:focus-visible + label {
    color: #d89216 !important;
}

.ka-turnstile {
    min-height: 65px;
    width: 300px;
    max-width: 100%;
}

.ka-turnstile .cf-turnstile,
.ka-turnstile iframe {
    max-width: 100%;
}

.ka-consent {
    grid-template-columns: 20px 1fr;
    align-items: start;
    font-weight: 400;
}

.ka-consent input {
    width: 18px;
    min-height: 18px;
    margin-top: 2px;
}

.ka-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.ka-form button {
    justify-self: start;
    min-height: 44px;
    padding: 10px 18px;
    border: 0;
    border-radius: 6px;
    background: #1f5f8b;
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
}

.ka-form button:hover,
.ka-form button:focus {
    background: #174768;
}

.ka-form .ka-back-button {
    border: 1px solid #1f5f8b;
    background: #fff;
    color: #1f5f8b;
}

.ka-form .ka-back-button:hover,
.ka-form .ka-back-button:focus {
    background: #eef6fb;
    color: #174768;
}

.ka-hidden {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.ka-review-list {
    display: grid;
    gap: 14px;
}

.ka-review {
    padding: 16px;
    border: 1px solid #d9dde3;
    border-radius: 8px;
    background: #fff;
}

.ka-review-header {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    justify-content: space-between;
    margin-bottom: 8px;
}

.ka-review-header span {
    color: #b7791f;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: 3px;
    line-height: 1;
}

.ka-review p {
    margin: 0 0 10px;
}

.ka-empty {
    color: #667085;
    font-size: 0.92em;
}

.ka-emoji-picker {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: -6px;
}

.ka-form .ka-emoji-button {
    display: inline-flex;
    width: 42px;
    height: 42px;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid #d9dde3;
    border-radius: 8px;
    background: #fff;
    color: #15171a;
    font-size: 22px;
    line-height: 1;
}

.ka-form .ka-emoji-button:hover,
.ka-form .ka-emoji-button:focus {
    border-color: #1f5f8b;
    background: #eef6fb;
}

.ka-load-sentinel {
    width: 100%;
    height: 1px;
}

.ka-loading {
    padding: 12px 0;
    color: #667085;
    font-size: 0.92em;
}

.ka-footer-reviews {
    color: #9da6ad;
    margin-top: -12px !important;
    padding-top: 0;
}

.ka-footer-reviews h2 {
    margin: 0 0 16px !important;
    padding: 0 !important;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0;
    text-transform: uppercase;
}

.ka-footer-review {
    padding: 0 0 12px;
    margin: 0 0 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.ka-footer-review strong {
    display: block;
    margin-bottom: 6px;
    color: #9da6ad;
    font-size: 13px;
    font-weight: 500;
}

.ka-footer-review p {
    display: -webkit-box;
    margin: 0 0 4px;
    overflow: hidden;
    color: #9da6ad;
    font-size: 13px;
    line-height: 1.75;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.ka-footer-stars {
    color: #ff7a1a;
    font-size: 17px;
    letter-spacing: 1px;
    line-height: 1;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.24);
}

.ka-footer-more {
    display: inline-flex;
    color: #fff;
    text-decoration: none;
}

.ka-footer-more span {
    color: #fff;
    font-size: 13px;
    font-weight: 800;
}

.ka-footer-more:hover span,
.ka-footer-more:focus span {
    text-decoration: underline;
}
