/* ===== ARAPI NEWS PAGES ===== */

/* ---- Page wrapper ---- */
.news-page-wrap {
    background: #0e0404;
    min-height: 100vh;
}

/* ---- Hero banner ---- */
.news-hero {
    background: linear-gradient(135deg, #120505 0%, #1e0808 100%);
    padding: 52px 5% 44px;
    border-bottom: 1px solid #2a0a0a;
}

.news-hero-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #9a1b1b;
    color: white;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 6px 20px;
    border-radius: 99px;
    margin-bottom: 18px;
}

.news-hero h1 {
    color: white;
    font-size: 38px;
    font-weight: 800;
    margin: 0;
    line-height: 1.2;
}

.news-hero p {
    color: #9a7a7a;
    font-size: 16px;
    margin-top: 10px;
}

/* ---- News grid ---- */
.news-grid-section {
    padding: 56px 5%;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

@media (max-width: 1024px) { .news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .news-grid { grid-template-columns: 1fr; } }

/* ---- News card ---- */
.news-card {
    background: #1a0606;
    border: 1px solid #2e0e0e;
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    border-color: #9a1b1b;
    box-shadow: 0 12px 40px rgba(154,27,27,.18);
}

.news-card-img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    display: block;
}

.news-card-img-placeholder {
    width: 100%;
    height: 210px;
    background: #120505;
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.news-card-date {
    font-size: 12px;
    font-weight: 600;
    color: #9a1b1b;
    letter-spacing: .5px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.news-card-title {
    color: #ffffff;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.45;
    margin-bottom: 12px;
}

.news-card-excerpt {
    color: #9a8888;
    font-size: 14px;
    line-height: 1.7;
    flex: 1;
    margin-bottom: 20px;
}

.news-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #9a1b1b;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: gap .2s;
}
.news-card-link:hover { gap: 10px; color: #c52222; }

/* ---- Empty state ---- */
.news-empty {
    text-align: center;
    padding: 100px 24px;
    color: #4a2a2a;
    grid-column: 1 / -1;
}
.news-empty p { font-size: 18px; margin-top: 16px; }

/* ===== DETAIL PAGE ===== */

.detail-wrap {
    background: #0e0404;
    min-height: 100vh;
}

/* ---- Breadcrumb ---- */
.detail-breadcrumb {
    background: #120505;
    padding: 16px 5%;
    border-bottom: 1px solid #2a0a0a;
}

.detail-breadcrumb a {
    color: #9a1b1b;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color .2s;
}
.detail-breadcrumb a:hover { color: #c52222; }

.detail-breadcrumb span {
    color: #4a2a2a;
    margin: 0 8px;
}

.detail-breadcrumb .crumb-current {
    color: #9a8888;
    font-size: 14px;
}

/* ---- Article layout ---- */
.detail-body {
    padding: 56px 5%;
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 48px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 900px) {
    .detail-body { grid-template-columns: 1fr; }
    .detail-sidebar { order: 2; }
}

/* ---- Article main ---- */
.detail-main {}

.detail-cover {
    width: 100%;
    max-height: 440px;
    object-fit: cover;
    border-radius: 18px;
    display: block;
    margin-bottom: 36px;
    border: 1px solid #2e0e0e;
}

.detail-meta {
    font-size: 13px;
    font-weight: 600;
    color: #9a1b1b;
    letter-spacing: .5px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.detail-title {
    color: #ffffff;
    font-size: 32px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 28px;
}

.detail-divider {
    border: none;
    border-top: 1px solid #2a0a0a;
    margin: 0 0 32px;
}

.detail-excerpt {
    color: #c09090;
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid #2a0a0a;
    font-style: italic;
}

.detail-content {
    color: #b89090;
    font-size: 16px;
    line-height: 1.9;
    white-space: pre-wrap;
}

/* ---- Sidebar ---- */
.detail-sidebar {}

.sidebar-box {
    background: #1a0606;
    border: 1px solid #2e0e0e;
    border-radius: 16px;
    overflow: hidden;
    position: sticky;
    top: 24px;
}

.sidebar-box-header {
    padding: 16px 20px;
    border-bottom: 1px solid #2e0e0e;
    font-size: 12px;
    font-weight: 700;
    color: #9a1b1b;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sidebar-news-item {
    padding: 16px 20px;
    border-bottom: 1px solid #1e0808;
    display: block;
    text-decoration: none;
    transition: background .15s;
}
.sidebar-news-item:last-child { border-bottom: none; }
.sidebar-news-item:hover { background: #210a0a; }

.sidebar-news-title {
    color: #e0c0c0;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 5px;
}

.sidebar-news-date {
    color: #4a2a2a;
    font-size: 12px;
}
