.bfe-card {
    margin: 32px 0;
    padding: 28px;
    border: 1px solid #d7e3f3;
    border-radius: 28px;
    background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
    box-shadow: 0 18px 40px rgba(35, 104, 245, 0.06);
}

.bfe-eyebrow {
    margin: 0 0 10px;
    color: #2368f5;
    font-size: 0.82rem;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.bfe-title {
    margin: 0 0 10px;
    color: #102038;
    font-size: clamp(1.6rem, 2vw, 2.1rem);
    line-height: 1.15;
}

.bfe-copy,
.bfe-form__hint,
.bfe-empty,
.bfe-rating-badge span,
.bfe-review-item__meta span,
.bfe-form label span,
.bfe-stars-field legend {
    color: #5f7190;
}

.bfe-notice {
    margin: 0 0 20px;
    padding: 14px 16px;
    border-radius: 16px;
    font-weight: 600;
}

.bfe-notice.is-success {
    background: #edf8f1;
    color: #14532d;
}

.bfe-notice.is-error {
    background: #fff2f2;
    color: #9f1239;
}

.entry-header + .entry-content,
.entry-content + .author-box,
.author-box + .related-posts,
.page-hub .entry-header + .entry-content,
.page-hub .entry-content + .section-block,
.editorial-sidebar .widget + .widget,
.home-sidebar .widget + .widget {
    margin-top: 24px;
}

.breadcrumbs + .entry-header.card,
.entry-header.card + .entry-content.card,
.single-post .entry-header,
.single .entry-header {
    margin-bottom: 24px;
}

.single-post .entry-header h1,
.single .entry-header h1,
.single-post .entry-header .entry-title,
.single .entry-header .entry-title {
    margin-bottom: 18px;
}

.single-post .entry-content > .wp-post-image:first-child,
.single .entry-content > .wp-post-image:first-child,
.single-post .entry-content > figure:first-child,
.single .entry-content > figure:first-child,
.single-post .entry-content > .wp-block-image:first-child,
.single .entry-content > .wp-block-image:first-child,
.single-post .entry-content > img:first-child,
.single .entry-content > img:first-child {
    margin-top: 12px;
}

.bfe-reviews__header {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 20px;
}

.bfe-rating-badge {
    min-width: 188px;
    padding: 16px 18px;
    border: 1px solid #d7e3f3;
    border-radius: 20px;
    background: #ffffff;
    text-align: center;
}

.bfe-rating-badge.is-empty {
    display: none;
}

.bfe-rating-badge strong {
    display: block;
    margin-bottom: 6px;
    color: #102038;
    font-size: 1.45rem;
    line-height: 1;
}

.bfe-review-list {
    display: grid;
    gap: 14px;
    margin-bottom: 0;
}

.bfe-review-item {
    padding: 18px;
    border: 1px solid #d7e3f3;
    border-radius: 22px;
    background: #ffffff;
}

.bfe-review-item__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    align-items: center;
    margin-bottom: 12px;
}

.bfe-review-item__meta strong,
.bfe-review-item__rating {
    color: #102038;
}

.bfe-review-item__content {
    margin: 0;
    color: #102038;
}

.bfe-stars {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    color: #d8e2f2;
}

.bfe-star {
    font-size: 15px;
    line-height: 1;
}

.bfe-star.is-filled {
    color: #f5b545;
}

.bfe-form__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.bfe-review-form .bfe-form__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    align-items: start;
}

.bfe-form__grid label {
    display: grid;
    gap: 8px;
}

.bfe-form__full {
    grid-column: 1 / -1;
}

.bfe-stars-field {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    border: 0;
    width: auto;
}

.bfe-stars-field legend {
    padding: 0;
}

.bfe-stars-input {
    display: inline-flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 6px;
}

.bfe-stars-input__input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.bfe-stars-input__star {
    color: #d8e2f2;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    transition: color 0.16s ease, transform 0.16s ease;
}

.bfe-stars-input__star:hover,
.bfe-stars-input__star:hover ~ .bfe-stars-input__star,
.bfe-stars-input__input:checked + .bfe-stars-input__star,
.bfe-stars-input__input:checked + .bfe-stars-input__star ~ .bfe-stars-input__star {
    color: #f5b545;
}

.bfe-stars-input__star:hover {
    transform: translateY(-1px);
}

.bfe-form input,
.bfe-form textarea,
.bfe-form select {
    width: 100%;
    min-width: 0;
    padding: 12px 14px;
    border: 1px solid #cfe0f4;
    border-radius: 16px;
    background: #ffffff;
    color: #102038;
    font: inherit;
}

.bfe-form textarea {
    resize: vertical;
    min-height: 92px;
}

.bfe-submit {
    margin-top: 14px;
}

.bfe-like-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border: 1px solid #d7e3f3;
    border-radius: 999px;
    background: #ffffff;
    color: #102038;
    font: inherit;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.bfe-inline-actions {
    margin: 28px 0 0;
}

.bfe-reviews .bfe-form {
    margin-top: 0;
}

.bfe-review-form .bfe-submit {
    min-width: 220px;
    margin-top: 12px;
}

.bfe-like-button.is-liked {
    background: #2368f5;
    border-color: #2368f5;
    color: #ffffff;
    box-shadow: 0 10px 22px rgba(35, 104, 245, 0.18);
}

.bfe-like-button__icon {
    font-size: 0;
    line-height: 1;
}

.bfe-like-button__icon svg {
    display: block;
    width: 18px;
    height: 18px;
}

.bfe-like-button__icon::before {
    content: none !important;
}

.bfe-like-button__icon::before {
    content: "👍";
    font-size: 1rem;
    line-height: 1;
}

.bfe-like-button__count {
    min-width: 1.6em;
    text-align: center;
}

.bfe-like-button__icon::before {
    font-size: 0.92rem;
}

.bfe-like-button__label,
.bfe-like-button__count {
    font-size: 0.95rem;
}

.bfe-like-button__count {
    min-width: 1.2em;
}

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

.cta-card .button {
    width: 100%;
    min-height: 58px;
    padding: 14px 18px;
    line-height: 1.3;
    text-align: center;
    justify-content: center;
    white-space: normal;
    text-wrap: balance;
}

.bfe-form__hint {
    display: none;
}

.bfe-reviews .bfe-empty {
    margin: 0 0 12px;
}

.bfe-review-form-wrap {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #e8eef8;
}

.bfe-review-form__intro {
    max-width: 760px;
    margin-bottom: 16px;
}

.bfe-review-form__intro h4 {
    margin: 0 0 10px;
    color: #102038;
    font-size: 1.2rem;
}

.bfe-review-form__intro p {
    margin: 0;
    color: #5f7190;
}

.bfe-review-form {
    max-width: 760px;
}

.bfe-review-form .bfe-submit {
    min-width: 200px;
}

@media (max-width: 767px) {
    .bfe-card {
        padding: 20px;
        border-radius: 24px;
    }

    .bfe-reviews__header {
        flex-direction: column;
    }

    .bfe-form__grid,
    .bfe-review-form .bfe-form__grid {
        grid-template-columns: 1fr;
    }

    .bfe-stars-field {
        grid-column: 1 / -1;
        width: auto;
    }

    .bfe-review-form .bfe-submit {
        width: 100%;
        min-width: 0;
    }

    .bfe-inline-actions {
        margin: 24px 0 16px;
    }

    .bfe-like-button {
        gap: 8px;
        padding: 9px 14px;
        font-size: 0.9rem;
    }

    .bfe-rating-badge {
        min-width: 0;
        width: 100%;
    }
}
