.content-header {
    width: fit-content;
}

.card-info-new {
    padding: 12px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.post-like {
    border-top: 1px solid var(--Button-Brand---Outlined-Border---Disabled, rgba(0, 0, 0, 0.05));
    padding-top: 10px;
    margin-top: auto !important;
}

.new-publishedTime {
    color: var(--osp-text-color-text-description, rgba(0, 0, 0, 0.45));
    text-align: left;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 150%; /* 21px */
    margin-top: 4px;
    display: block;
}

.count-read span {
    color: var(--osp-text-color-text-description, rgba(0, 0, 0, 0.45));
    text-align: center;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 150%; /* 21px */
}

.mt-10 {
    margin-top: 10px;
}

.mt-20 {
    margin-top: 20px;
}

.w-90 {
    width: 90%;
}

.gap-3px {
    gap: 3px;
}

.new-item-name {
    color: var(--osp-text-color-text, rgba(0, 0, 0, 0.88));
    text-align: left;
    font-family: Inter, sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 150%; /* 24px */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 0;
}

    .new-item-name a {
        color: inherit;
        text-decoration: none;
    }

.new-item-description {
    color: var(--osp-text-color-text, rgba(0, 0, 0, 0.88));
    font-family: Inter, sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 8px;
    margin-bottom: 0;
}

.count-read {
    align-items: center;
    display: flex;
    gap: 4px;
}

.card-image-new img {
    height: 200px;
    width: 100%;
    border-radius: 8px 8px 0 0;
    object-fit: cover;
}

.new-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid #ebebeb;
}

    .new-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    }

.new-content {
    border: 1px solid #E4E4E4;
    border-top: 1px solid var(--blue-alias-brand);
    border-radius: 4px;
}

.mb-20px {
    margin-bottom: 20px;
}

.news-body {
    padding: 20px;
}

.mt-20 {
    margin-top: 20px;
}
.competition-count-summary, .pagination {
    display: none;
}

.competition-description {
    display: none;
}

.link-view-more {
    color: var(--blue-alias-brand, #1251EE);
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 150%;
}

.competition-content {
    margin-top: 24px;
}

.stats {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.stat-card {
    width: calc(25% - 15px);
    padding: 16px 24px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.stat-icon {
    display: inline-block;
    padding: 8px;
    border-radius: 8px;
}

.stat-card:first-child .stat-icon {
    background-color: #E6F4FF;
}

.stat-card:nth-child(2) .stat-icon {
    background-color: #ECFDF5;
}

.stat-card:nth-child(3) .stat-icon {
    background-color: #FFF7E6;
}

.stat-card:nth-child(4) .stat-icon {
    background-color: #F9F0FF;
}

.stat-card:nth-child(5) .stat-icon {
    background-color: #FFF7E6;
}

.stat-card:nth-child(6) .stat-icon {
    background-color: #ECFDF5;
}

.stat-card:nth-child(7) .stat-icon {
    background-color: #F9F0FF;
}

.stat-card:nth-child(8) .stat-icon {
    background-color: #E6F4FF;
}

.stat-value {
    margin-top: 8px;
    font-size: 32px;
    font-weight: 700;
    line-height: 150%;
}

.stat-label {
    font-size: 16px;
    font-weight: 500;
    line-height: 150%;
    color: rgba(0, 0, 0, 0.45);
}

@media (max-width: 768px) {
    .stats {
        flex-direction: row;
        gap: 20px;
        flex-wrap: wrap;
    }

    .stat-card {
        flex: 0 0 calc(50% - 10px);
    }

    aside {
        padding-left: 10px;
        padding-right: 10px;
    }
}

/* Tooltip for statistics breakdown */
.stat-card {
    transition: transform 0.2s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
    z-index: 101;
}

.stat-breakdown-tooltip {
    display: none;
    position: absolute;
    bottom: -10px; /* Space for arrow */
    left: 50%;
    transform: translateX(-50%) translateY(100%);
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 16px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    min-width: 180px;
    pointer-events: none;
    border-top: 3px solid #1251EE; /* Brand accent */
}

.stat-card:hover .stat-breakdown-tooltip {
    display: block;
    animation: fadeInTooltip 0.2s ease-out;
}

@keyframes fadeInTooltip {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(90%);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(100%);
    }
}

.stat-breakdown-tooltip::before {
    content: '';
    position: absolute;
    top: -10px; /* Adjust based on border-top */
    left: 50%;
    transform: translateX(-50%);
    border-width: 0 8px 8px 8px;
    border-style: solid;
    border-color: transparent transparent #1251EE transparent;
}

.breakdown-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    border-bottom: 1px dashed #f1f5f9;
}

.breakdown-row:last-child {
    border-bottom: none;
}

.breakdown-label {
    font-size: 14px;
    font-weight: 500;
    color: #64748b;
}

.breakdown-value {
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
}