/* Pharma News Feed — Frontend Styles */

.pharma-news-grid {
    display: grid;
    gap: 24px;
    margin: 24px 0;
}

.pharma-news-cols-1 { grid-template-columns: 1fr; }
.pharma-news-cols-2 { grid-template-columns: repeat(2, 1fr); }
.pharma-news-cols-3 { grid-template-columns: repeat(3, 1fr); }
.pharma-news-cols-4 { grid-template-columns: repeat(4, 1fr); }

@media ( max-width: 900px ) {
    .pharma-news-cols-3,
    .pharma-news-cols-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media ( max-width: 600px ) {
    .pharma-news-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Box */
.pharma-news-box {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.2s ease;
}

.pharma-news-box:hover {
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

/* Box Header */
.pharma-news-box__header {
    background: #003087;
    padding: 12px 16px;
}

.pharma-news-box__title {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Box Body */
.pharma-news-box__body {
    padding: 12px 16px;
    flex: 1;
}
.pnf-box-description{font-size:15px!important;}
.pharma-news-box__empty {
    color: #888;
    font-size: 13px;
    margin: 0;
    padding: 8px 0;
}

/* List */
.pharma-news-box__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.pharma-news-box__item {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    line-height: 1.4;
}

.pharma-news-box__item:last-child {
    border-bottom: none;
}

.pharma-news-box__link {
    display: block;color: #0460A0!important;
    font-size: 15px;
    color: #1a1a2e;
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 3px;
}

.pharma-news-box__link:hover {
    color: #0460A0;
    text-decoration: underline;
}

.pnf-box-description {
    font-size: 13px;
    color: #444;
    line-height: 1.5;
}

.pharma-news-box__excerpt {
    font-size: 12px;
    color: #444;
    line-height: 1.6;
    margin: 4px 0 6px;
}

.pharma-news-box__meta {
    font-size: 11px;
    color: #999;
}

.pharma-news-box__meta time {
    color: #666;
}
