/* Wrapper geral — linha divisória fina acima, como no exemplo */
.avn-wrap {
    max-width: 720px;
    margin: 30px auto;
    padding-top: 24px;
    border-top: 1px solid #e6e6e6;
    box-sizing: border-box;
}
.avn-wrap * {
    box-sizing: border-box;
}

/* Caixa de avaliação — barra de destaque + fundo, ambos customizáveis */
.avn-box {
    position: relative;
    background: var(--avn-bg-color, #fdf1f1);
    border-radius: 4px;
    padding: 18px 22px 20px 26px;
}
.avn-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--avn-bar-color, #e0294b);
    border-radius: 4px 0 0 4px;
}

/* Label acima da nota */
.avn-label {
    font-size: 11px !important;
    color: #555;
    margin: 0 0 10px;
    line-height: 1.4;
}

/* Título da nota final */
.avn-score-title {
    font-size: 18px !important;
    font-weight: 700;
    color: #14142b;
    margin: 0 0 0;
    margin-top: 0 !important;
    letter-spacing: 0.2px;
}

/* Estrelas com preenchimento proporcional (aceita nota fracionada) */
.avn-stars {
    position: relative;
    display: inline-block;
    font-size: 20px;
    line-height: 1;
    letter-spacing: 4px;
    margin-bottom: 0;
    margin-right: 10px;
}
.avn-stars__empty {
    color: #e2e2e2;
}
.avn-stars__filled {
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    white-space: nowrap;
    color: #f5a623;
}

/* Citação da avaliação */
.avn-quote {
    font-size: 15px !important;
    font-style: italic;
    color: #333;
    line-height: 1.6;
    margin: 0;
}

/* Editor (Gutenberg) */
.avn-editor {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
}

.avn-text {
    display: flex;
    justify-content: space-between;
}
.avn-box-star {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media screen and (max-width: 567px) {
    .avn-box {
        padding: 16px 16px 18px 20px;
    }
    .avn-score-title {
        font-size: 16px;
    }
    .avn-text {
        display: block;
    }
    .avn-box-star {
        display: flex;
        justify-content: start;
    }
}
