/* =========================================
   assets/css/news.css
========================================= */

/* --- PAGE HEADER & BREADCRUMBS --- */
.page-header {
    background-color: #f4f7f6;
    background-image: radial-gradient(circle at 50% 50%, rgba(23, 111, 145, 0.05) 0%, rgba(244, 247, 246, 1) 100%);
    padding: 120px 0 60px;
    text-align: center;
    border-bottom: 1px solid #e0e0e0;
}

.page-header__title {
    font-size: 2.8rem;
    color: #176f91; /* iHerd Theme Primary */
    margin-bottom: 15px;
    font-weight: 700;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    font-size: 0.95rem;
}

.breadcrumb__list {
    list-style: none;
    display: flex;
    padding: 0;
    margin: 0;
    align-items: center;
}

.breadcrumb__item {
    display: flex;
    align-items: center;
    color: #666;
}

.breadcrumb__item a {
    color: #176f91;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.breadcrumb__item a:hover {
    color: #0f4c64;
    text-decoration: underline;
}

.breadcrumb__item + .breadcrumb__item::before {
    content: "/";
    margin: 0 12px;
    color: #aaa;
    font-size: 0.9rem;
}

.breadcrumb__item--active {
    color: #333;
    font-weight: 600;
}

/* --- MAIN NEWS SECTION --- */
.news-section {
    padding: 100px 0 120px;
    background-color: #ffffff;
}

/* --- EMPTY STATE CARD --- */
.news-empty-card {
    max-width: 700px;
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid #e5e9ec;
    border-radius: 20px;
    padding: 60px 40px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(23, 111, 145, 0.06);
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Animated Icon Wrapper */
.news-empty-card__icon-wrapper {
    position: relative;
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.news-empty-card__icon-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(23, 111, 145, 0.08);
    border-radius: 50%;
    animation: pulse 3s infinite ease-in-out;
}

.news-empty-card__icon {
    width: 44px;
    height: 44px;
    color: #176f91;
    position: relative;
    z-index: 2;
}

.news-empty-card__tag {
    display: inline-block;
    background-color: rgba(23, 111, 145, 0.1);
    color: #176f91;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 6px 16px;
    border-radius: 30px;
    margin-bottom: 20px;
}

.news-empty-card__title {
    font-size: 1.75rem;
    color: #222222;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.3;
}

.news-empty-card__text {
    font-size: 1.05rem;
    color: #666666;
    line-height: 1.7;
    margin-bottom: 35px;
    max-width: 560px;
}

/* BUTTON ACTIONS */
.news-empty-card__actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn--primary {
    background-color: #176f91;
    color: #ffffff;
    border: 2px solid #176f91;
}

.btn--primary:hover {
    background-color: #0f4c64;
    border-color: #0f4c64;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(23, 111, 145, 0.2);
}

.btn--outline {
    background-color: transparent;
    color: #176f91;
    border: 2px solid #176f91;
}

.btn--outline:hover {
    background-color: #176f91;
    color: #ffffff;
    transform: translateY(-2px);
}

/* --- PULSE ANIMATION --- */
@keyframes pulse {
    0% {
        transform: scale(0.95);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.4;
    }
    100% {
        transform: scale(0.95);
        opacity: 0.8;
    }
}

/* --- FADE-UP ANIMATION --- */
.fade-up {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 768px) {
    .page-header {
        padding: 100px 0 50px;
    }

    .page-header__title {
        font-size: 2.25rem;
    }

    .news-section {
        padding: 60px 20px;
    }

    .news-empty-card {
        padding: 40px 20px;
    }

    .news-empty-card__title {
        font-size: 1.4rem;
    }

    .news-empty-card__actions {
        width: 100%;
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }
}