:root {
    --primary-color: #0f766e;
    --primary-light: #14b8a6;
    --primary-dark: #115e59;
    --accent-color: #f59e0b;
    --bg-color: #f8fafc;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.3);
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);
    --shadow-glow: 0 0 20px rgba(20, 184, 166, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-dark);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.main-content {
    flex: 1;
    margin-top: 80px;
    /* offset for fixed navbar */
}

/* Navbar CSS has been moved to header_landing.css */

/* Hero section CSS has been moved to index_landing.css */

/* Pages generic padding */
.page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.page-header {
    text-align: center;
    margin-bottom: 4rem;
}

.page-header h1 {
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.page-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Footer */
.footer {
    background: white;
    padding: 4rem 2rem 2rem;
    border-top: 1px solid #e2e8f0;
    margin-top: auto;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand h3 {
    color: var(--primary-dark);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-brand p {
    color: var(--text-muted);
    max-width: 400px;
}

.footer-links h4,
.footer-contact h4 {
    color: var(--text-dark);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer-links a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: 0.75rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-contact p {
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-contact i {
    color: var(--primary-light);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
    color: #94a3b8;
    font-size: 0.9rem;
}

/* Berita Cards */
.berita-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.berita-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e2e8f0;
}

.berita-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.berita-image {
    width: 100%;
    overflow: hidden;
    background: #f1f5f9;
    display: flex;
    justify-content: center;
}

.berita-image img {
    width: 60%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.berita-card:hover .berita-image img {
    transform: scale(1.05);
}

.detail-content {
    background: white;
    padding: 3.5rem;
    border-radius: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid #e2e8f0;
    font-size: 1.15rem;
    line-height: 1.8;
    color: #334155;
    white-space: pre-wrap;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .detail-content {
        padding: 1.5rem;
    }
}


.berita-card-body {
    padding: 1.5rem;
}

.berita-date {
    font-size: 0.85rem;
    color: var(--primary-light);
    font-weight: 500;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.berita-title {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.4;
}

.berita-excerpt {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.berita-readmore {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

.berita-readmore:hover {
    gap: 0.75rem;
}

/* Data Table for public UI */
.modern-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid #e2e8f0;
}

/* Responsive */
@media (max-width: 992px) {
    /* Responsive hero section CSS has been moved to index_landing.css */

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    /* Responsive navbar CSS has been moved to header_landing.css */

    .footer-content {
        grid-template-columns: 1fr;
    }
}