/* News Page - Premium Design */

.news-page {
    --news-accent: #4A5568;
    --news-primary: #1A365D;
    --news-bg-soft: #FFFFFF;
    --news-border-light: #E2E8F0;
    --news-text-main: #2D3748;
    --news-category-notice: #4A90E2;
    --news-category-facility: #52C41A;
    --news-category-recruit: #F5222D;

    background: #fff;
}

/* Hero Section (Consistent with Business Pages) */
.news-hero {
    position: relative;
    min-height: 700px;
    background: var(--news-bg-soft);
    overflow: hidden;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    text-align: left;
}

.news-hero-media {
    position: absolute;
    top: 0;
    right: 0;
    width: 65vw !important;
    height: 100% !important;
    background-size: cover;
    background-position: center;
    z-index: 0;
    opacity: 0.9;
    clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
}

.news-hero .container {
    position: relative;
    z-index: 2;
    margin-left: 5%;
    /* Shifted towards the left instead of centered */
    margin-right: auto;
    max-width: none;
    /* Allow it to occupy space closer to the edge */
    width: auto;
}

.news-hero-eyebrow {
    font-size: 1.2rem;
    letter-spacing: 0.2rem;
    font-weight: 700;
    margin: 0 0 15px 0px;
    color: var(--news-accent);
    text-transform: uppercase;
}

.news-hero-title {
    font-family: 'Zen Kaku Gothic New', sans-serif;
    font-size: clamp(3.5rem, 6vw, 4.5rem);
    line-height: 1.1;
    font-weight: 900;
    margin: 0 0 24px 0px;
    color: var(--news-primary);
}

.news-hero-lead {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--news-text-main);
    margin: 0 0 24px 0px;
    max-width: 500px;
}

/* Category Filters */
.news-filters {
    padding: 60px 0 20px;
}

.filter-list {
    display: flex;
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-btn {
    padding: 10px 24px;
    border-radius: 30px;
    border: 1px solid var(--news-border-light);
    background: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--news-accent);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--news-primary);
    color: #fff;
    border-color: var(--news-primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(26, 54, 93, 0.1);
}

/* News Cards */
.news-section {
    padding-bottom: 120px;
}

.news-cards-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 900px;
    margin: 40px auto;
}

.news-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.news-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    padding: 30px;
    background: #fff;
    border: 1px solid var(--news-border-light);
    border-radius: 20px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    gap: 30px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    /* Subtle shadow for visibility */
}

.news-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: var(--news-primary);
    opacity: 0;
    transition: opacity 0.3s;
}

.news-card:hover {
    transform: translateX(10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    border-color: transparent;
}

.news-card:hover::after {
    opacity: 1;
}

.news-card-date {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--news-accent);
    font-family: 'Zen Kaku Gothic New', sans-serif;
}

.news-card-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.news-card-category {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 4px;
    background: var(--news-bg-soft);
    color: var(--news-accent);
    width: fit-content;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.news-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.5;
    color: var(--news-text-main);
}

.news-card-arrow {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--news-bg-soft);
    border-radius: 50%;
    color: var(--news-primary);
    font-size: 1.2rem;
    transition: all 0.3s;
}

.news-card:hover .news-card-arrow {
    background: var(--news-primary);
    color: #fff;
}

/* Pagination Style */
.news-pagination {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 60px;
}

.pg-item {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--news-bg-soft);
    color: var(--news-accent);
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s;
}

.pg-item.active {
    background: var(--news-primary);
    color: #fff;
    box-shadow: 0 10px 20px rgba(26, 54, 93, 0.2);
}

.pg-item:hover:not(.active) {
    background: var(--news-border-light);
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 900px) {
    .news-hero {
        min-height: 500px;
        align-items: flex-end;
        padding-bottom: 60px;
    }

    .news-hero-media {
        width: 100vw !important;
        clip-path: none;
        opacity: 0.4;
    }

    .news-card {
        grid-template-columns: 1fr auto;
        padding: 24px;
    }

    .news-card-date {
        font-size: 0.9rem;
    }

    .news-card-arrow {
        grid-row: span 2;
    }
}
