.main-news {
    max-width: 1580px;
    margin-left: auto;
    margin-right: auto;
}

.main-news-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    gap: 1rem;
}

.main-news-header h2,
.main-news > h2 {
.main-news-header h2::before {
.main-news-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.main-news-item {
    background: var(--pub-surface, #23272b);
    border: 1.5px solid rgba(59,130,246,.18);
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: box-shadow .2s, transform .2s, border-color .2s;
    position: relative;
}

.main-news-item:hover {
    border-color: #3b82f6;
    box-shadow: 0 8px 32px rgba(59,130,246,.15);
    transform: translateY(-5px);
}

.main-news-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    border-bottom: 2px solid rgba(59,130,246,.2);
    transition: filter .25s;
}

.main-news-item:hover img {
    filter: brightness(.88);
}

.main-news-item-body {
    padding: 1rem 1.1rem 1.1rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: .4rem;
}

.main-news-item h3,
.news-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    line-height: 1.35;
}

.main-news-item p {
    color: #aaa;
    font-size: .9rem;
    margin: 0;
    flex: 1;
    line-height: 1.5;
}

.main-news-date {
    font-size: .8rem;
    color: #6b9fd4;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: .3rem;
}

.main-news-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    margin-top: auto;
    padding-top: .4rem;
}

.main-news-read-link {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    font-size: .8rem;
    font-weight: 700;
    color: #60a5fa;
    text-decoration: none;
    transition: color .18s, transform .18s;
    white-space: nowrap;
}
.main-news-read-link:hover {
    color: #93c5fd;
    transform: translateX(2px);
    text-decoration: none;
}

.main-news-more-link {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    color: var(--pub-cta-text, #1a1200);
    background: linear-gradient(135deg, var(--pub-cta, #ffcc00) 0%, var(--pub-cta-dark, #ffb300) 100%);
    font-weight: 700;
    text-decoration: none;
    font-size: .95rem;
    border-radius: 8px;
    padding: .5rem 1rem;
    transition: transform .16s ease, box-shadow .16s ease, filter .16s ease;
    white-space: nowrap;
    box-shadow: 0 3px 12px rgba(255,179,0,.28);
    position: relative;
    overflow: hidden;
}
.main-news-more-link::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent 35%, rgba(255,255,255,.22) 50%, transparent 65%);
    transform: translateX(-100%);
    transition: transform .55s ease;
}
.main-news-more-link:hover::after { transform: translateX(100%); }
.main-news-more-link:hover {
    color: var(--pub-cta-text, #1a1200);
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(255,179,0,.42);
    filter: brightness(1.06);
}

.main-news-more-bottom {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.main-news-more-div {
    display: flex;
    margin-top: 2rem;
    justify-content: flex-end;
}

@media (max-width: 900px) {
    .main-news { padding: 1.5rem .75rem; margin: 1.5rem auto; }
    .main-news-list { grid-template-columns: 1fr 1fr; gap: 1rem; }
    .main-news-item img { height: 130px; }
    .main-news-header h2 { font-size: 1.5rem; }
}

@media (max-width: 550px) {
    .main-news-list { grid-template-columns: 1fr; }
    .main-news-header { flex-direction: column; align-items: flex-start; }
}

