.page-header {
    text-align: center;
}

.page-header .container {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.page-header h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.page-header p {
    font-size: 1rem;
    opacity: 0.95;
}

.content-section {
    padding: 4rem 0;
    min-height: 60vh;
}

.policy-overview {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.policy-overview h2 {
    font-size: 1.6rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.policies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.policy-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary-color);
    transition: transform 0.3s, box-shadow 0.3s;
}

.policy-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.policy-card h3 {
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-size: 1.15rem;
}

.policy-card p {
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.policy-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background-color: var(--light-color);
    color: var(--text-dark);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.regulatory-bodies {
    margin-top: 4rem;
}

.regulatory-bodies h2 {
    text-align: center;
    font-size: 1.6rem;
    color: var(--dark-color);
    margin-bottom: 2rem;
}

.bodies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.body-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
}

.body-card h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.body-card p {
    opacity: 0.95;
}

/* News section background — gives cards contrast in light mode */
.news-content-section {
    background: var(--light-color);
    padding: 4rem 0;
    min-height: 60vh;
}

body.dark-mode .news-content-section {
    background: var(--bg);
}

/* Source filter tabs */
.news-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.news-filter-btn {
    padding: 0.4rem 1rem;
    border-radius: 9999px;
    border: 1.5px solid rgba(90, 154, 110, 0.4);
    background: transparent;
    color: var(--text-dark);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.news-filter-btn:hover {
    border-color: var(--primary-color);
    background: rgba(90, 154, 110, 0.07);
}

.news-filter-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

/* News grid */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

/* News card */
.news-card {
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

body.dark-mode .news-card {
    border-color: rgba(255, 255, 255, 0.07);
}

.news-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.13);
}

/* Card image */
.news-card-img-wrap {
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: var(--light-color);
    flex-shrink: 0;
}

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

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

/* Card body */
.news-card-body {
    padding: 1.25rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Source badge */
.news-source-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--primary-color);
    background: rgba(90, 154, 110, 0.1);
    border: 1px solid rgba(90, 154, 110, 0.25);
    border-radius: 9999px;
    padding: 0.2rem 0.65rem;
    margin-bottom: 0.6rem;
    width: fit-content;
}

.news-date {
    color: var(--text-dark);
    opacity: 0.55;
    font-size: 0.82rem;
    font-weight: 500;
    margin-bottom: 0.45rem;
}

.news-card h3 {
    color: var(--dark-color);
    margin-bottom: 0.75rem;
    font-size: 1.05rem;
    line-height: 1.45;
    flex: 1;
}

.news-card p {
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    opacity: 0.85;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.3s;
    margin-top: auto;
}

.read-more:hover {
    color: var(--secondary-color);
}

/* Skeleton loading cards */
.news-skeleton-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.news-skeleton-card {
    background: var(--white);
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

body.dark-mode .news-skeleton-card {
    border-color: rgba(255, 255, 255, 0.07);
}

.skeleton-img {
    width: 100%;
    height: 180px;
}

.skeleton-body {
    padding: 1.25rem 1.5rem 1.5rem;
}

.skeleton-line {
    border-radius: 6px;
    background: linear-gradient(90deg, var(--light-color) 25%, rgba(255,255,255,0.6) 50%, var(--light-color) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    margin-bottom: 0.6rem;
}

body.dark-mode .skeleton-line {
    background: linear-gradient(90deg, rgba(255,255,255,0.06) 25%, rgba(255,255,255,0.12) 50%, rgba(255,255,255,0.06) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.skeleton-badge  { height: 18px; width: 90px; }
.skeleton-date   { height: 14px; width: 70px; }
.skeleton-title  { height: 18px; width: 90%; }
.skeleton-title2 { height: 18px; width: 65%; }
.skeleton-text   { height: 12px; width: 100%; }
.skeleton-text2  { height: 12px; width: 85%; }
.skeleton-link   { height: 14px; width: 80px; margin-top: 0.5rem; }

/* Load more area */
.news-load-more-wrap {
    display: flex;
    justify-content: center;
    margin-top: 2.5rem;
}

.btn-load-more {
    padding: 0.7rem 2.5rem;
    border-radius: 9999px;
    border: 1.5px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, transform 0.15s;
}

.btn-load-more:hover {
    background: var(--primary-color);
    color: #fff;
    transform: scale(1.03);
}

.btn-load-more:disabled {
    opacity: 0.4;
    cursor: default;
    transform: none;
}

/* Empty / error state */
.news-empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-dark);
    opacity: 0.6;
    grid-column: 1 / -1;
}

@media (max-width: 768px) {
    .policies-grid,
    .news-grid,
    .news-skeleton-grid {
        grid-template-columns: 1fr;
    }
}
