/**
 * Latest News Section — Pure CSS
 */

.sh-news {
    padding: 5rem 0;
    background: var(--pi-bg-card, #ffffff);
}

.sh-news__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* ── Header ── */
.sh-news__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
}

.sh-news__label {
    display: block;
    color: var(--pi-primary, #007d3d);
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.sh-news__title {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--pi-text, #1e293b);
    margin: 0;
}

@media (min-width: 768px) {
    .sh-news__title { font-size: 2.25rem; }
}

.sh-news__title-accent {
    color: var(--pi-primary, #007d3d);
}

/* ── View All Link ── */
.sh-news__view-all {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--pi-primary, #007d3d);
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s;
}

.sh-news__view-all:hover {
    color: var(--pi-secondary, #ffb703);
}

.sh-news__view-all--desktop {
    display: none;
}

@media (min-width: 768px) {
    .sh-news__view-all--desktop { display: inline-flex; }
}

.sh-news__arrow-icon {
    width: 1.25rem;
    height: 1.25rem;
}

/* ── Grid ── */
.sh-news__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .sh-news__grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1024px) {
    .sh-news__grid { grid-template-columns: 1fr 1fr 1fr; }
}

/* ── Mobile View All ── */
.sh-news__view-all-mobile {
    text-align: center;
    margin-top: 3rem;
}

@media (min-width: 768px) {
    .sh-news__view-all-mobile { display: none; }
}

.sh-news__view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 2rem;
    background: var(--pi-bg-card, #ffffff);
    border: 2px solid var(--pi-primary, #007d3d);
    color: var(--pi-primary, #007d3d);
    font-weight: 700;
    border-radius: var(--pi-radius, 0.75rem);
    text-decoration: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.2s;
}

.sh-news__view-all-btn:hover {
    background: var(--pi-primary, #007d3d);
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* ── Dark Mode ── */
.dark .sh-news {
    background: var(--pi-bg-card, #1e293b);
}

.dark .sh-news__title {
    color: var(--pi-text, #f1f5f9);
}

.dark .sh-news__view-all-btn {
    background: var(--pi-bg-card, #1e293b);
}
