/* ==========================================================================
   News Section
   ========================================================================== */

.news-section {
    background-color: #fff;
    padding: 5rem 4rem;
}

.news-section__inner {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 3rem;
    max-width: 1100px;
    margin: 0 auto;
    align-items: start;
}

/* ---------- Left side ---------- */

.news-section__left {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-top: 1rem;
}

.news-section__label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: #888;
}

.news-section__heading {
    font-size: 1.5rem;
    font-weight: 400;
    color: #333;
    margin: 0;
    white-space: nowrap;
}

.news-section__heading-accent {
    font-weight: 700;
    color: #fc7a62;
}

/* ---------- Right side ---------- */

.news-section__right {
    display: flex;
    flex-direction: column;
}

/* News list */
.news-section__list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.news-section__empty {
    padding: 1rem 1.25rem;
    background-color: #fdf6f4;
    border-radius: 4px;
    color: #333;
    font-size: 0.875rem;
    line-height: 1.6;
    text-align: center;
}

/* Individual news item */
.news-section__item {
    position: relative;
    display: flex;
    align-items: stretch;
    gap: 4px;
    text-decoration: none;
    transition: color 0.2s ease;
}

.news-section__item-main {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
    min-width: 0;
    padding: 0.875rem 1.5rem;
    background-color: #fdf6f4;
    border-radius: 6px;
    transition: transform 0.2s ease, background-color 0.2s ease;
    will-change: transform;
}

/* Badge */
.news-section__item-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.25rem 0.75rem;
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #fc7a62;
    border: 1px solid #fc7a62;
    border-radius: 3px;
    white-space: nowrap;
}

/* Date */
.news-section__item-date {
    font-size: 0.8125rem;
    color: #333;
    white-space: nowrap;
}

/* Title */
.news-section__item-title {
    flex: 1;
    font-size: 0.8125rem;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.2s ease;
}

/* Arrow with left border divider */
.news-section__item-arrow {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1rem;
    background-color: #fdf6f4;
    border-radius: 6px;
    font-size: 1.125rem;
    color: #fc7a62;
    line-height: 1;
    transition: transform 0.2s ease, color 0.2s ease, background-color 0.2s ease;
    will-change: transform;
}

.news-section__item-arrow-icon {
    display: inline-block;
    transition: transform 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.news-section__item:hover .news-section__item-main,
.news-section__item:focus-visible .news-section__item-main {
    transform: translateX(3px);
    border-radius: 6px 0 0 6px;
}

.news-section__item:hover .news-section__item-arrow,
.news-section__item:focus-visible .news-section__item-arrow {
    transform: translateX(-3px);
}

.news-section__item:hover .news-section__item-title,
.news-section__item:focus-visible .news-section__item-title {
    color: #fc7a62;
}

.news-section__item:hover .news-section__item-arrow-icon,
.news-section__item:focus-visible .news-section__item-arrow-icon {
    transform: translateX(-2px);
}

/* ---------- CTA ---------- */

.news-section__cta-wrap {
    display: flex;
    justify-content: flex-end;
    margin-top: 1.5rem;
}

/* ---------- Responsive ---------- */

@media (max-width: 768px) {
    .news-section {
        padding: 4rem 2rem;
    }

    .news-section__inner {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .news-section__item-title {
        display: none;
    }
}
