/*
Theme Name: Protindo Blog
Theme URI: https://www.protindo.com/blog
Author: Antigravity
Description: A custom standalone theme for Protindo Blog.
Version: 1.0.0
Text Domain: protindo-blog
*/

:root {
    --protindo-primary: #1da1f2;
    --protindo-secondary: #007bff;
    --protindo-gradient: linear-gradient(135deg, #1da1f2 0%, #6f42c1 100%);
    --protindo-text: #333;
    --protindo-light: #f8f9fa;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--protindo-text);
    line-height: 1.6;
    background-color: #fff;
}

.protindo-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    background-color: #fff;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    padding: 15px 0;
}

.navbar-brand {
    font-weight: 800;
    color: var(--protindo-primary) !important;
    letter-spacing: -0.5px;
}

.nav-link {
    font-weight: 600;
    color: #444 !important;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--protindo-primary) !important;
}

/* Footer */
footer {
    background-color: #111;
    color: #eee;
    padding: 80px 0 20px;
}

.footer-title {
    color: #fff;
    font-weight: 700;
    margin-bottom: 25px;
}

.footer-link {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-link:hover {
    color: #fff;
}

.btn-buy {
    background: var(--protindo-gradient);
    color: #fff;
    border: none;
    padding: 10px 20px;
}

.btn-buy:hover {
    color: #fff;
    opacity: 0.9;
}

/* Header (Old - keep for now if needed by other parts, but we use .site-header in header.php now) */
.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.site-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--protindo-primary);
    text-transform: uppercase;
}

.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.main-navigation a {
    text-decoration: none;
    color: var(--protindo-text);
    font-weight: 500;
}


/* Section Products */
.protindo-section {
    padding: 80px 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
}

.section-header p {
    color: #888;
    font-size: 0.9rem;
    margin: 5px 0 0 0;
}

.view-all {
    color: var(--protindo-primary);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.view-all::after {
    content: '→';
}

/* Two-Column Layout */
.two-column-layout {
    display: flex;
    gap: 40px;
}

.main-content {
    flex: 2;
}

.sidebar-area {
    flex: 1;
    min-width: 300px;
}

/* Post List Styling */
.post-item {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #eee;
}

.post-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.post-title a {
    text-decoration: none;
    color: var(--protindo-text);
}

.post-excerpt {
    color: #666;
    margin-bottom: 20px;
}

.read-more {
    font-weight: 600;
    color: var(--protindo-primary);
    text-decoration: none;
}

/* Sidebar Widgets */
.sidebar-area .widget {
    margin-bottom: 40px;
}

.sidebar-area .widget-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--protindo-primary);
    display: inline-block;
}

.sidebar-area ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-area li {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.sidebar-area a {
    text-decoration: none;
    color: #555;
    transition: color 0.2s;
}

.sidebar-area a:hover {
    color: var(--protindo-primary);
}

@media (max-width: 991px) {
    .two-column-layout {
        flex-direction: column;
    }
}

/* Single Post View */
.single-post-content {
    margin-bottom: 60px;
}

.entry-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.entry-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.entry-meta {
    font-size: 0.9rem;
    color: #888;
}

.entry-content {
    font-size: 1.1rem;
    color: #444;
    line-height: 1.8;
}

.entry-content p {
    margin-bottom: 1.5em;
}

.entry-footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
    font-size: 0.9rem;
    color: #888;
}

.entry-footer span {
    display: block;
    margin-bottom: 5px;
}

@media (max-width: 768px) {
    .entry-title {
        font-size: 2rem;
    }
}