.ebfr-section.alignfull {
    background-color: #fafcff;
    padding-bottom: 3rem;
    width: 100vw;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}
.ebfr-container {
    padding: 0;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}
.ebfr-summary {
    background-color: transparent;
    padding: 2rem;
    border-radius: 0.75rem;
    margin-bottom: 2rem;
    box-shadow: none;
}
.ebfr-score-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.ebfr-score-label {
    display: inline-block;
    background-color: #dbeafe;
    color: #1e3a8a;
    font-size: 0.875rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    margin-bottom: 0.5rem;
}
.ebfr-score-content .ebfr-score-value {
    font-size: 4rem;
    font-weight: 900;
    color: #2563eb;
    line-height: 1;
    margin: 0;
}
.ebfr-score-max {
    font-size: 1.5rem;
    color: #64748b;
}
.ebfr-stars {
    color: #f59e0b;
    font-size: 1.875rem;
    margin: 0.5rem 0;
}
.ebfr-score-content p:last-of-type {
    color: #475569;
    margin-top: 1rem;
    margin-bottom: 0;
}
.ebfr-author-comment {
    margin-top: 2rem;
    background-color: #eff6ff;
    border-left: 4px solid #60a5fa;
    padding: 1.5rem;
    border-radius: 0 0.5rem 0.5rem 0;
}
.ebfr-author-comment p {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.6;
}
.ebfr-author-comment strong {
    display: block;
    margin-bottom: 0.25rem;
    font-size: 1rem;
}
.ebfr-cta-button .wp-block-button__link {
    background-color: #ef4444 !important;
    color: white !important;
    font-weight: 700;
    padding: 1rem 2.5rem !important;
    border-radius: 9999px !important;
    font-size: 1.125rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
}
.ebfr-cta-button .wp-block-button__link:hover {
    background-color: #dc2626 !important;
    transform: scale(1.05);
}
.ebfr-cta-button i {
    margin-left: 0.5rem;
}

.ebfr-chart-container {
    max-width: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
}

.ebfr-chart-container canvas {
    max-width: 100%;
    height: auto !important;
    width: auto !important;
}

.ebfr-author-comment {
    width: 100%;
    box-sizing: border-box;
}

.ebfr-author-comment .ebfr-author-header {
    display: flex !important;
    align-items: center !important;
    margin-bottom: 10px;
    flex-wrap: nowrap !important;
    width: 100%;
}

.ebfr-author-comment .ebfr-author-avatar {
    flex: 0 0 80px !important;
    margin-right: 15px !important;
}

.ebfr-author-comment .ebfr-author-title {
    flex: 1 !important;
    min-width: 0;
    word-wrap: break-word;
}

.ebfr-author-comment .ebfr-author-content {
    margin-top: 10px;
    margin-left: 0;
    width: 100%;
    word-wrap: break-word;
}

.ebfr-author-comment .wp-block-column {
    margin: 0 !important;
    padding: 0 !important;
}

@media (max-width: 1024px) {
    .ebfr-summary .wp-block-columns {
        flex-direction: column !important;
    }
    .ebfr-chart-container {
        margin: 1rem auto 0;
        max-width: 300px;
    }
    .ebfr-summary {
        padding: 1.5rem;
    }
    .ebfr-author-comment {
        max-width: 100%;
        overflow-x: hidden;
        padding: 1rem;
    }
    .ebfr-author-comment .ebfr-author-avatar {
        flex-basis: 70px !important;
        margin-right: 12px !important;
    }
}

@media (max-width: 768px) {
    .ebfr-chart-container {
        max-width: 250px;
    }
    .ebfr-score-content .ebfr-score-value {
        font-size: 3.5rem;
    }
    .ebfr-score-max {
        font-size: 1.25rem;
    }
    .ebfr-author-comment {
        padding: 0.8rem;
    }
    .ebfr-author-comment .ebfr-author-avatar {
        flex-basis: 60px !important;
        margin-right: 10px !important;
    }
}

@media (max-width: 640px) {
    .ebfr-summary {
        padding: 1rem;
    }
    .ebfr-chart-container {
        max-width: 250px;
    }
    .ebfr-score-content .ebfr-score-value {
        font-size: 3rem;
    }
    .ebfr-stars {
        font-size: 1.5rem;
    }
    .ebfr-cta-button .wp-block-button__link {
        padding: 0.8rem 2rem !important;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .ebfr-chart-container {
        max-width: 300px;
    }
    .ebfr-author-comment .ebfr-author-avatar {
        flex-basis: 50px !important;
        margin-right: 8px !important;
    }
    .ebfr-author-comment .ebfr-author-avatar img {
        width: 40px !important;
        height: 40px !important;
    }
    .ebfr-score-content .ebfr-score-value {
        font-size: 2.5rem;
    }
}

@media (min-width: 1025px) {
    .ebfr-chart-container {
        max-width: 350px;
    }
}
