/* ============================================================
   news-detail.css - News-Specific Styles
   APHA (Asia Pacific Health Association)
   Depends on: detail-common.css
   ============================================================ */

/* --- News Featured Image (newspic) --- */
.news-featured-image {
    max-width: 100%;
    height: auto;
    border-radius: 2px;
    margin: 0 auto 1.2em auto;
    display: block;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

/* --- PDF Preview Section --- */
.news-pdf-preview {
    margin: 0 0 1.2em 0;
    padding: 12px 16px;
    background: #f8f9fa;
    border: 1px solid #e2e8f0;
    border-radius: 3px;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    font-size: 14px;
}

.news-pdf-preview div {
    padding: 6px 0;
    border-bottom: 1px solid #e2e8f0;
}

.news-pdf-preview div:last-child {
    border-bottom: none;
}

.news-pdf-preview span {
    color: #1a2a4a;
    font-weight: 500;
    margin-right: 8px;
}

.news-pdf-preview div:hover {
    background: #f1f5f9;
}

/* --- Newskind Sidebar --- */
/* The newskind user control sits in the sidebar alongside .sideLinks */
/* It needs the same formal styling treatment */

.right .newskind-section {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    margin-bottom: 16px;
}

.right .newskind-section h3 {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 15px;
    color: #1a2a4a !important;
    margin: 0 0 10px 0;
    font-weight: 700;
    padding: 0 0 8px 0;
    border-bottom: 2px solid #c9a84c;
    background: none !important;
    text-align: left;
}

.right .newskind-section a {
    display: block;
    padding: 8px 12px;
    color: #2d3748;
    text-decoration: none;
    font-size: 13px;
    border-bottom: 1px solid #f1f5f9;
    -webkit-transition: background 0.2s, color 0.2s;
    transition: background 0.2s, color 0.2s;
}

.right .newskind-section a:last-child {
    border-bottom: none;
}

.right .newskind-section a:hover {
    background: #f8f9fa;
    color: #1a2a4a;
}

/* --- News Detail Banner date display --- */
.news-banner .news-date {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 400;
    letter-spacing: 0.3px;
}

/* --- Responsive for news-specific elements --- */
@media (max-width: 768px) {
    .news-featured-image {
        margin: 0 auto 1em auto;
    }

    .news-pdf-preview {
        padding: 10px 12px;
        font-size: 13px;
    }

    .news-banner .news-date {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .news-featured-image {
        margin: 0 auto 0.8em auto;
    }

    .news-pdf-preview {
        padding: 8px 10px;
        font-size: 12px;
    }

    .news-banner .news-date {
        font-size: 12px;
    }
}
