.edc-wrapper {
    margin: 0;
    padding: 14px;
    border-radius: 6px;
    background: #FEF3FF;
    color: #2f3340;
    font-family: "Segoe UI", Tahoma, sans-serif;
}

.edc-headline {
    margin: 0 0 10px;
    color: #1F1F1F;
    font-size: 21px;
    line-height: 1.2;
    font-weight: 700;
}

.edc-card {
    max-width: 690px;
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 10px;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0px 8px 24px 0px #00000014;
}

.edc-card-clickable {
    cursor: pointer;
}

.edc-card-clickable:focus-visible {
    outline: 2px solid #853291;
    outline-offset: 2px;
}


.edc-media img {
    width: 250px;
    aspect-ratio: 16/9;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
    object-fit: cover;
    display: block;
}

.edc-media-placeholder {
    width: 100%;
    height: 100%;
    min-height: 95px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8f98a4;
    background: #e2e7ee;
    font-size: 20px;
    font-weight: 700;
}

.edc-content {
    display: flex;
    flex-direction: column;
    min-width: 0;
    margin-top: 5px;
    padding-right: 10px;
    padding-bottom: 10px;
}

.edc-author-row {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 4px;
    color: #853291;
    font-size: 11px;
    font-weight: 700;
    margin-bottom:0 !important;
}

.edc-author-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #8d52b7;
    display: inline-block;
}

.edc-title {
    margin: 8px 0 8px;
    color: #111928;
    font-size: 15px;
    line-height: 1.25;
    font-weight: 700;
}

.edc-amount-line {
    color: #6B7280;
    font-size: 13px;
    line-height: 1.2;
    margin-bottom:  5px !important;
}

.edc-amount-line strong {
    color: #E0771B;
    font-weight: 700;
    margin-right: 5px;
}

.edc-progress-track {
    position: relative;
    width: 100%;
    height: 5px;
    background: #efe9df;
    border-radius: 999px;
    overflow: hidden;
}

.edc-progress-fill {
    display: block;
    width: 0;
    height: 100%;
    background: #F7941D;
    transition: width 0.8s ease;
}

.edc-footer {
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.edc-stats {
    display: flex;
    align-items: center;
    gap: 14px;
    color: #8b91a0;
    font-size: 11px;
    line-height: 1;
    flex-wrap: wrap;
}

.edc-stat-item {
    position: relative;
    display: flex;
    gap: 5px;
    align-items: end;
    color: #6B7280;
    font-weight: 700;
}

.edc-button {
    display: inline-block;
    border-radius: 999px;
    padding: 4px 14px;
    background: #853291;
    color: #fff !important;
    text-decoration: none;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
    border: 1px solid #853291;
}

.edc-button:hover,
.edc-button:focus {
    color: #853291 !important;
    border: 1px solid #853291;
    background: #fff;
    filter: brightness(0.95);
}

.edc-debug {
    margin: 12px 0 0;
    padding: 10px 12px;
    max-height: 320px;
    overflow: auto;
    background: #101820;
    color: #d4f3ff;
    border-radius: 8px;
    font-family: Consolas, "Courier New", monospace;
    font-size: 12px;
    line-height: 1.4;
}

@media (max-width: 860px) {
    .edc-headline {
        font-size: clamp(19px, 3vw, 24px);
    }

    .edc-card {
        grid-template-columns: 140px 1fr;
    }

    .edc-title {
        font-size: clamp(14px, 2.5vw, 18px);
    }
}

@media (max-width: 620px) {
    .edc-wrapper {
        padding: 10px;
        border-radius: 8px;
    }

    .edc-card {
        grid-template-columns: 1fr;
        gap: 0;
        padding: 8px;
    }

    .edc-media img,
    .edc-media-placeholder {
        width: 100%;
        min-height: 180px;
        border-radius: 8px 8px 6px 6px;
    }

    .edc-content {
        margin-top: 8px;
        padding: 0 2px 2px;
    }

    .edc-author-row {
        font-size: 10px;
        line-height: 1.2;
    }

    .edc-title {
        margin: 4px 0 5px;
        font-size: 16px;
        line-height: 1.25;
    }

    .edc-amount-line {
        margin: 0 0 8px;
        font-size: 12px;
    }

    .edc-progress-track {
        height: 5px;
    }

    .edc-footer {
        margin-top: 10px;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .edc-stats {
        gap: 10px 12px;
        font-size: 10px;
        line-height: 1.3;
    }

    .edc-stat-item {
        gap: 4px;
    }

    .edc-button {
        align-self: stretch;
        text-align: center;
        padding: 8px 14px;
        font-size: 12px;
    }
}
