.seo-review-rating-wrap,
.seo-review-comments-wrap,
.seo-review-author-card {
    --seo-review-primary: #056738;
    --seo-review-secondary: #0D9453;
    --seo-review-danger: #C02026;
    --seo-review-star: #FDD20E;
    --seo-review-text: #333333;
    --seo-review-border: #E0E0E0;
    --seo-review-muted: #A9A9A9;
    font-family: "Roboto", Arial, sans-serif;
    color: var(--seo-review-text);
    line-height: 1.4;
}

.seo-review-author-card {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.seo-review-rating-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    width: 100%;
}

.seo-review-stars {
    display: inline-flex;
    gap: 2px;
    color: var(--seo-review-border);
    font-size: 20px;
    line-height: 1;
}

.seo-review-star.is-active {
    color: var(--seo-review-star);
}

.seo-review-average {
    color: var(--seo-review-primary);
    font-weight: 600;
}

.seo-review-count,
.seo-review-empty,
.seo-review-comment-date,
.seo-review-moderation-note {
    color: var(--seo-review-muted);
    font-size: 14px;
}

.seo-review-comments-wrap {
    display: block;
    width: 100%;
    max-width: 100%;
}

.seo-review-comments-wrap ol,
.seo-review-comments-wrap li {
    list-style: none;
    margin-left: 0;
    padding-left: 0;
}

.seo-review-comments-title,
.seo-review-form-title,
.seo-review-author-title {
    color: var(--seo-review-primary);
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
}

.seo-review-author-title {
    background: #fff;
    border-radius: 14px;
    padding: 16px 18px;
    text-transform: uppercase;
}

.seo-review-author-body {
    align-items: center;
    background: #fff;
    border-radius: 14px;
    display: grid;
    gap: 22px;
    grid-template-columns: minmax(160px, 32%) 1fr;
    margin-top: 14px;
    padding: 18px;
}

.seo-review-author-image {
    align-self: stretch;
    border-radius: 12px;
    overflow: hidden;
}

.seo-review-author-avatar {
    aspect-ratio: 4 / 3;
    border-radius: 12px;
    display: block;
    height: 100%;
    max-width: 100%;
    object-fit: cover;
    width: 100%;
}

.seo-review-author-content {
    font-size: 16px;
    min-width: 0;
    overflow-wrap: anywhere;
}

.seo-review-author-content p:first-child {
    margin-top: 0;
}

.seo-review-author-content p:last-child {
    margin-bottom: 0;
}

.seo-review-author-socials {
    align-items: center;
    background: #fff;
    border-radius: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 14px;
    padding: 14px 18px;
}

.seo-review-author-social-item {
    display: inline-flex;
}

.seo-review-author-social {
    align-items: center;
    background: var(--seo-review-primary);
    border-radius: 8px;
    color: #fff;
    display: inline-flex;
    height: 38px;
    justify-content: center;
    transition: background-color .2s ease, transform .2s ease;
    width: 38px;
}

.seo-review-author-social:hover,
.seo-review-author-social:focus {
    background: var(--seo-review-secondary);
    color: #fff;
    transform: translateY(-1px);
}

.seo-review-author-social svg {
    display: block;
    fill: currentColor;
    height: 18px;
    width: 18px;
}

.seo-review-author-social-youtube {
    background: var(--seo-review-danger);
}

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

.seo-review-comment-list {
    display: grid;
    gap: 16px;
    margin: 0;
    padding: 0;
}

.seo-review-comment {
    margin: 0;
    max-width: 100%;
    position: relative;
}

.seo-review-comment-body {
    border: 1px solid var(--seo-review-border);
    border-radius: 14px;
    padding: 16px;
    background: #fff;
    max-width: 100%;
    overflow-wrap: anywhere;
}

.seo-review-comment-meta,
.seo-review-comment-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.seo-review-comment-meta {
    align-items: flex-start;
}

.seo-review-comment-author {
    align-items: center;
    color: var(--seo-review-primary);
    display: flex;
    font-weight: 600;
    gap: 8px;
    min-width: 0;
}

.seo-review-comment-author .avatar {
    border-radius: 50%;
    flex: 0 0 auto;
    height: 42px;
    object-fit: cover;
    width: 42px;
}

.seo-review-comment-author .fn {
    color: var(--seo-review-primary);
    overflow-wrap: anywhere;
}

.seo-review-comment-author .says {
    color: var(--seo-review-muted);
    font-weight: 400;
}

.seo-review-comment-stars {
    font-size: 16px;
    margin-bottom: 8px;
}

.seo-review-comment-metadata {
    color: var(--seo-review-muted);
    flex: 0 0 auto;
    font-size: 13px;
    text-align: right;
}

.seo-review-comment-metadata a {
    color: inherit;
    text-decoration: none;
}

.seo-review-comment-metadata a:hover {
    color: var(--seo-review-primary);
}

.seo-review-comment-content {
    margin-top: 10px;
}

.seo-review-comment-content p:last-child {
    margin-bottom: 0;
}

.seo-review-comment-content img,
.seo-review-comment-content iframe,
.seo-review-comment-content video {
    max-width: 100%;
    height: auto;
}

.seo-review-reply {
    margin-top: 12px;
}

.seo-review-reply a {
    color: var(--seo-review-danger);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
}

.seo-review-reply a:hover {
    color: var(--seo-review-primary);
}

.seo-review-children {
    display: grid;
    gap: 14px;
    margin: 14px 0 0 34px;
    padding: 0 0 0 18px;
    position: relative;
}

.seo-review-children::before {
    background: var(--seo-review-border);
    bottom: 8px;
    content: "";
    left: 0;
    position: absolute;
    top: 0;
    width: 2px;
}

.seo-review-children > .seo-review-comment::before {
    background: var(--seo-review-border);
    content: "";
    height: 2px;
    left: -18px;
    position: absolute;
    top: 28px;
    width: 18px;
}

.seo-review-form-wrap {
    margin-top: 24px;
    padding: 18px;
    border: 1px solid var(--seo-review-border);
    border-radius: 14px;
    max-width: 100%;
}

.seo-review-form-wrap p {
    margin: 0 0 14px;
}

.seo-review-form-wrap label {
    display: inline-block;
    margin-bottom: 6px;
    font-weight: 500;
}

.seo-review-form-wrap input[type="text"],
.seo-review-form-wrap input[type="email"],
.seo-review-form-wrap input[type="url"],
.seo-review-form-wrap textarea {
    width: 100%;
    max-width: 100%;
    min-height: 120px;
    border: 1px solid var(--seo-review-border);
    border-radius: 10px;
    padding: 10px 12px;
    font-family: "Roboto", Arial, sans-serif;
    box-sizing: border-box;
}

.seo-review-form-wrap input[type="submit"] {
    background: var(--seo-review-secondary);
    border: 0;
    border-radius: 10px;
    color: #fff;
    cursor: pointer;
    font-family: "Roboto", Arial, sans-serif;
    font-weight: 500;
    padding: 11px 18px;
}

.seo-review-form-wrap input[type="submit"]:hover {
    background: var(--seo-review-primary);
}

.seo-review-form-wrap .required,
.seo-review-form-wrap .comment-form-cookies-consent label a {
    color: var(--seo-review-danger);
}

@media (max-width: 1024px) {
    .seo-review-comments-title,
    .seo-review-form-title,
    .seo-review-author-title {
        font-size: 22px;
    }

    .seo-review-author-body {
        gap: 18px;
        grid-template-columns: minmax(140px, 34%) 1fr;
        padding: 16px;
    }

    .seo-review-comment-body {
        padding: 14px;
    }

    .seo-review-children {
        margin-left: 24px;
    }

    .seo-review-form-wrap {
        padding: 16px;
    }
}

@media (max-width: 767px) {
    .seo-review-rating-wrap {
        align-items: flex-start;
        gap: 6px 8px;
    }

    .seo-review-stars {
        font-size: 18px;
    }

    .seo-review-average,
    .seo-review-count {
        font-size: 14px;
    }

    .seo-review-comments-title,
    .seo-review-form-title,
    .seo-review-author-title {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .seo-review-author-title {
        padding: 14px;
    }

    .seo-review-author-body {
        gap: 14px;
        grid-template-columns: 1fr;
        margin-top: 12px;
        padding: 14px;
    }

    .seo-review-author-image {
        max-width: 320px;
        width: 100%;
    }

    .seo-review-author-content {
        font-size: 15px;
    }

    .seo-review-author-socials {
        justify-content: flex-start;
        margin-top: 12px;
        padding: 12px 14px;
    }

    .seo-review-comments-list {
        gap: 12px;
    }

    .seo-review-comment-body {
        border-radius: 12px;
        padding: 12px;
    }

    .seo-review-comment-meta,
    .seo-review-comment-head {
        display: grid;
        gap: 4px;
    }

    .seo-review-comment-metadata {
        margin-left: 50px;
        text-align: left;
    }

    .seo-review-children {
        gap: 12px;
        margin-left: 14px;
        padding-left: 14px;
    }

    .seo-review-children > .seo-review-comment::before {
        left: -14px;
        width: 14px;
    }

    .seo-review-comment-date,
    .seo-review-empty,
    .seo-review-moderation-note {
        font-size: 13px;
    }

    .seo-review-form-wrap {
        margin-top: 18px;
        padding: 14px;
        border-radius: 12px;
    }

    .seo-review-form-wrap input[type="submit"] {
        width: 100%;
        padding: 12px 16px;
    }
}

@media (max-width: 480px) {
    .seo-review-rating-wrap {
        display: grid;
        grid-template-columns: 1fr;
    }

    .seo-review-stars {
        font-size: 17px;
    }

    .seo-review-comments-title,
    .seo-review-form-title,
    .seo-review-author-title {
        font-size: 18px;
    }

    .seo-review-comment-body,
    .seo-review-form-wrap,
    .seo-review-author-title,
    .seo-review-author-body,
    .seo-review-author-socials {
        padding: 12px;
    }

    .seo-review-comment-author {
        align-items: flex-start;
    }

    .seo-review-comment-author .says {
        display: none;
    }

    .seo-review-comment-metadata {
        margin-left: 0;
    }

    .seo-review-children {
        margin-left: 8px;
        padding-left: 12px;
    }

    .seo-review-author-image {
        max-width: 100%;
    }

    .seo-review-author-social {
        height: 36px;
        width: 36px;
    }
}
