.progres-dashboard{
    max-width:1100px;
}

.progres-hero{
    background:#fff;
    padding:40px;
    border-radius:12px;
    text-align:center;
    margin-bottom:30px;
}

.progres-logo{
    width:220px;
    margin-bottom:20px;
}

.progres-version{
    display:inline-block;
    margin:10px 0;
    padding:5px 12px;
    background:#2563eb;
    color:#fff;
    border-radius:20px;
    font-size:13px;
}

.progres-cards{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;
    margin-bottom:30px;
}

.progres-cards .card{
    background:#fff;
    padding:20px;
    border-radius:10px;
    text-align:center;
    box-shadow:0 2px 10px rgba(0,0,0,.05);
}

.progres-modules{
    background:#fff;
    padding:25px;
    border-radius:10px;
    margin-bottom:30px;
}

.progres-modules ul{
    columns:2;
}

.progres-actions{
    display:flex;
    gap:12px;
}

.progres-banner-preview{
    width:420px;
    min-height:120px;
    border:2px dashed #dcdcde;
    background:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    margin:12px 0;
    padding:10px;
    border-radius:8px;
}

.progres-banner-preview img{
    max-width:100%;
    height:auto;
    display:block;
}

.progres-banner-placeholder{
    color:#777;
    font-style:italic;
}

.ads-slot{
    display:flex;
    justify-content:center;
    align-items:center;
    margin:20px auto;
}

.ads-slot img{
    max-width:100%;
    height:auto;
}

.ads-slot img{
    max-width:100%;
    height:auto;
    display:inline-block;
}

/* =====================================
   TRENDING WIDGET
===================================== */

.progres-trending-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.progres-trending-rank {
    flex: 0 0 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    border-radius: 50%;
    background: #0f2f97;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}

.progres-trending-card .sidebar-card-content {
    flex: 1;
    min-width: 0;
}

/* =====================================
   LATEST POSTS WIDGET
===================================== */

.progres-latest-post {
    margin: 0 0 16px;
    padding: 0 0 16px;
    border-bottom: 1px solid #e5e5e5;
}

.progres-latest-post:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
}

.progres-latest-post__thumb {
    display: block;
}

.progres-latest-post__thumb img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 6px;
}

.progres-latest-post--lead .progres-latest-post__thumb img {
    aspect-ratio: 16 / 9;
}

.progres-latest-post--lead .progres-latest-post__content {
    margin-top: 10px;
}

.progres-latest-post--lead .progres-latest-post__content h4 {
    font-size: 17px;
    line-height: 1.4;
    margin-bottom: 7px;
}

.progres-latest-post--compact {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.progres-latest-post--compact .progres-latest-post__thumb {
    flex: 0 0 92px;
    width: 92px;
}

.progres-latest-post--compact .progres-latest-post__thumb img {
    width: 92px;
    height: 65px;
    aspect-ratio: auto;
}

.progres-latest-post--compact .progres-latest-post__content {
    flex: 1;
    min-width: 0;
}

.progres-latest-post--compact .progres-latest-post__content h4 {
    margin: 0 0 5px;
    font-size: 14px;
    line-height: 1.4;
}

.progres-latest-post__content h4 a {
    color: #222;
    text-decoration: none;
}

.progres-latest-post__content h4 a:hover {
    color: #0f2f97;
}

.progres-latest-post__date {
    display: block;
    font-size: 11px;
    line-height: 1.3;
    color: #777;
}

@media (max-width: 768px) {
    .progres-latest-post--compact .progres-latest-post__thumb {
        flex-basis: 84px;
        width: 84px;
    }

    .progres-latest-post--compact .progres-latest-post__thumb img {
        width: 84px;
        height: 60px;
    }
}


/* =====================================
   MOST READ THIS WEEK WIDGET
===================================== */

.progres-most-read-week-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 0 0 12px;
    padding: 0 0 12px;
    border-bottom: 1px solid #e5e5e5;
}

.progres-most-read-week-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
}

.progres-most-read-week-rank {
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #0f2f97;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}

.progres-most-read-week-content {
    flex: 1;
    min-width: 0;
}

.progres-most-read-week-content h4 {
    margin: 0;
    font-size: 14px;
    line-height: 1.45;
}

.progres-most-read-week-content h4 a {
    color: #222;
    text-decoration: none;
}

.progres-most-read-week-content h4 a:hover {
    color: #0f2f97;
}

.progres-most-read-week-views {
    display: block;
    margin-top: 4px;
    color: #777;
    font-size: 11px;
}

.progres-most-read-week-empty {
    margin: 0;
    color: #777;
    font-size: 13px;
}
