/* =========================================================
   News Pages – Index & Article
   ========================================================= */

/* ── Shared ── */
.news-badge {
    display: inline-block;
    background-color: #E1C038;
    color: #111;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.25rem 0.65rem;
    border-radius: 4px;
    margin-bottom: 0.75rem;
}

.news-meta {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.news-meta .dot {
    width: 3px;
    height: 3px;
    background: rgba(255,255,255,0.35);
    border-radius: 50%;
    display: inline-block;
}

/* ── Index: Page Header ── */
.news-page-header {
    margin-top: 110px;
    padding: 2.5rem 0 1.75rem;
}

.news-page-header h1 {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #fff;
}

.news-page-header h1 span {
    color: #E1C038;
}

/* ── Index: Section Labels ── */
.news-section-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.35);
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.news-section-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255,255,255,0.08);
}

/* ── Index: Featured Hero ── */
.news-hero {
    position: relative;
    height: 520px;
    background-color: #1A1E25;
    overflow: hidden;
    border-radius: 12px;
    display: flex;
    align-items: flex-end;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    color: inherit;
}

.news-hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.55;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.news-hero:hover .news-hero-img {
    transform: scale(1.03);
    opacity: 0.65;
}

.news-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,12,16,0.97) 0%, rgba(10,12,16,0.6) 55%, transparent 100%);
}

.news-hero-body {
    position: relative;
    z-index: 1;
    padding: 2rem 2.5rem;
    width: 100%;
}

.news-hero-title {
    font-size: clamp(1.5rem, 3vw, 2.3rem);
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
    margin-bottom: 0.5rem;
}

.news-hero-subtitle {
    font-size: 1rem;
    color: rgba(255,255,255,0.75);
    margin-bottom: 1rem;
    font-weight: 300;
    max-width: 650px;
}

/* ── Index: Secondary Cards ── */
.news-card {
    background-color: #1A1E25;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255,255,255,0.06);
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(0,0,0,0.45);
    color: inherit;
    border-color: rgba(225,192,56,0.25);
}

.news-card-img-wrap {
    position: relative;
    height: 200px;
    overflow: hidden;
    background-color: #12151b;
}

.news-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.news-card:hover .news-card-img-wrap img {
    transform: scale(1.06);
}

.news-card-body {
    padding: 1.25rem 1.4rem 1.4rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.news-card-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.35;
    margin-bottom: 0.4rem;
}

.news-card-subtitle {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.6);
    font-weight: 300;
    margin-bottom: auto;
    padding-bottom: 1rem;
}

/* ── Index: Compact Article List ── */
.news-list-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    background-color: #1A1E25;
    border-radius: 8px;
    padding: 1rem 1.25rem;
    text-decoration: none;
    color: inherit;
    transition: background-color 0.2s ease, transform 0.2s ease;
    border: 1px solid rgba(255,255,255,0.05);
}

.news-list-item:hover {
    background-color: #1f242d;
    transform: translateX(4px);
    color: inherit;
    border-color: rgba(225,192,56,0.2);
}

.news-list-img {
    width: 80px;
    height: 60px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
    background-color: #12151b;
}

.news-list-content {
    flex: 1;
    min-width: 0;
}

.news-list-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.35;
    margin-bottom: 0.2rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-list-meta {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.45);
}

/* ── Index: Empty State ── */
.news-empty {
    text-align: center;
    padding: 5rem 1rem;
    color: rgba(255,255,255,0.3);
}

.news-empty i {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
    color: rgba(255,255,255,0.15);
}

/* ── Article: Hero (with thumbnail) ── */
.article-hero {
    position: relative;
    height: 420px;
    overflow: hidden;
    margin-top: 68px;
}

.article-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
}

.article-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(34,40,49,1) 0%, rgba(34,40,49,0.5) 60%, rgba(34,40,49,0.2) 100%);
}

.article-hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2.5rem;
}

/* ── Article: No-thumbnail header ── */
.article-no-hero {
    margin-top: 110px;
    padding: 2.5rem 0 1rem;
}

/* ── Article: Typography ── */
.article-title {
    font-size: clamp(1.6rem, 4vw, 2.8rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 0.6rem;
}

.article-subtitle {
    font-size: 1.1rem;
    font-weight: 300;
    margin-bottom: 1rem;
}

.article-meta {
    font-size: 0.82rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.article-meta .dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    display: inline-block;
}

.article-divider {
    height: 1px;
    background: rgba(255,255,255,0.08);
    margin: 2rem 0;
}

/* ── Article: Body Content ── */
.article-body {
    font-size: 1rem;
    line-height: 1.85;
    font-weight: 300;
    max-width: 780px;
}

.article-body h1,
.article-body h2,
.article-body h3,
.article-body h4,
.article-body h5 {
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.article-body p {
    margin-bottom: 1.25rem;
}

.article-body img {
    max-width: 100%;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.article-body a {
    color: #E1C038;
    text-decoration: none;
}

.article-body a:hover {
    text-decoration: underline;
}

.article-body blockquote {
    border-left: 3px solid #E1C038;
    padding-left: 1.25rem;
    margin-left: 0;
    color: rgba(255,255,255,0.6);
    font-style: italic;
}

/* ── Article: Back Link ── */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.82rem;
    text-decoration: none;
    margin-bottom: 2rem;
    transition: color 0.2s ease;
}

.back-link:hover {
    color: #E1C038;
}
