/* Noutati / arhive categorii – Scoala Comerciala */
.sc-news {
    --sc-navy: #2b2a6b;
    --sc-navy-2: #1f2d5f;
    --sc-accent: #f5b301;
    --sc-text: #1e2235;
    --sc-muted: #6b7088;
    --sc-bg: #f4f5fa;
    --sc-radius: 16px;
    background: var(--sc-bg);
    color: var(--sc-text);
    padding-bottom: 72px;
}

.sc-news__wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* HERO */
.sc-news__hero {
    background: linear-gradient(135deg, var(--sc-navy) 0%, var(--sc-navy-2) 100%);
    color: #fff;
    padding: 48px 0 96px;
    position: relative;
    overflow: hidden;
}
.sc-news__hero::after {
    content: "";
    position: absolute;
    right: -120px;
    top: -120px;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .06);
}
.sc-news__crumbs {
    font-size: 14px;
    opacity: .8;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}
.sc-news__crumbs a { color: #fff; text-decoration: none; }
.sc-news__crumbs a:hover { text-decoration: underline; }
.sc-news__title {
    color: #fff;
    font-size: clamp(32px, 5vw, 52px);
    line-height: 1.1;
    margin: 0 0 12px;
    font-weight: 800;
}
.sc-news__desc,
.sc-news__desc p {
    max-width: 680px;
    margin: 0;
    font-size: 17px;
    line-height: 1.6;
    color: rgba(255, 255, 255, .85);
}

.sc-news__content {
    margin-top: -56px;
    position: relative;
    z-index: 1;
}

/* CARD */
.sc-card {
    background: #fff;
    border-radius: var(--sc-radius);
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(31, 45, 95, .08);
    display: flex;
    flex-direction: column;
    transition: transform .25s ease, box-shadow .25s ease;
}
.sc-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 34px rgba(31, 45, 95, .16);
}
.sc-card__media {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #e7e9f3;
}
.sc-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
}
.sc-card:hover .sc-card__media img { transform: scale(1.05); }
.sc-card__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--sc-navy), var(--sc-navy-2));
    color: rgba(255, 255, 255, .9);
    font-weight: 800;
    font-size: 22px;
    text-align: center;
    padding: 20px;
}
.sc-card__body {
    padding: 22px 24px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.sc-card__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 13px;
    color: var(--sc-muted);
    margin-bottom: 12px;
}
.sc-card__badge {
    background: rgba(43, 42, 107, .08);
    color: var(--sc-navy);
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    letter-spacing: .02em;
}
.sc-card__title {
    font-size: 20px;
    line-height: 1.3;
    margin: 0 0 10px;
    font-weight: 700;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.sc-card__title a { color: var(--sc-text); text-decoration: none; }
.sc-card__title a:hover { color: var(--sc-navy); }
.sc-card__excerpt {
    color: var(--sc-muted);
    font-size: 15px;
    line-height: 1.6;
    margin: 0 0 18px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.sc-card__more {
    margin-top: auto;
    align-self: flex-start;
    font-weight: 700;
    font-size: 15px;
    color: var(--sc-navy);
    text-decoration: none;
    border-bottom: 2px solid var(--sc-accent);
    padding-bottom: 2px;
}
.sc-card__more span { display: inline-block; transition: transform .2s ease; }
.sc-card__more:hover span { transform: translateX(4px); }

/* FEATURED */
.sc-card--featured {
    flex-direction: row;
    margin-bottom: 32px;
}
.sc-card--featured .sc-card__media {
    flex: 0 0 55%;
    aspect-ratio: auto;
    min-height: 360px;
}
.sc-card--featured .sc-card__body {
    padding: 40px;
    justify-content: center;
}
.sc-card--featured .sc-card__title {
    font-size: clamp(24px, 2.6vw, 32px);
}
.sc-card--featured .sc-card__excerpt {
    font-size: 16px;
    -webkit-line-clamp: 5;
}
.sc-card--featured .sc-card__more { margin-top: 6px; }

/* GRID */
.sc-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

/* PAGINATION */
.sc-pagination {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 48px;
}
.sc-pagination .page-numbers {
    min-width: 46px;
    height: 46px;
    padding: 0 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-radius: 12px;
    background: #fff;
    color: var(--sc-navy);
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(31, 45, 95, .08);
    transition: background .2s ease, color .2s ease;
}
.sc-pagination a.page-numbers:hover {
    background: var(--sc-navy);
    color: #fff;
}
.sc-pagination .page-numbers.current {
    background: var(--sc-navy);
    color: #fff;
}
.sc-pagination .page-numbers.dots {
    background: transparent;
    box-shadow: none;
}

.sc-empty {
    background: #fff;
    border-radius: var(--sc-radius);
    padding: 48px;
    text-align: center;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .sc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
    .sc-card--featured .sc-card__body { padding: 28px; }
    .sc-card--featured .sc-card__media { min-height: 300px; flex-basis: 50%; }
}
@media (max-width: 767px) {
    .sc-news__hero { padding: 32px 0 80px; }
    .sc-grid { grid-template-columns: 1fr; }
    .sc-card--featured { flex-direction: column; margin-bottom: 22px; }
    .sc-card--featured .sc-card__media { min-height: 0; aspect-ratio: 16 / 10; }
    .sc-card--featured .sc-card__body { padding: 22px 24px 24px; }
    .sc-pagination .prev,
    .sc-pagination .next { flex-basis: 100%; }
}
