/*
Theme Name: ITKita Blog Theme
Author: Amax
Description: Tema blog 2-kolom menyesuaikan desain utama itkita.com, dioptimalkan untuk n8n automation.
Version: 3.0
*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

:root {
    --primary-color: #f26522; /* Oranye ITKita */
    --text-color: #2c3e50;
    --bg-color: #f8f9fa;
    --font-family: 'Poppins', sans-serif;
}

* { box-sizing: border-box; }

body {
    font-family: var(--font-family);
    color: var(--text-color);
    margin: 0; padding: 0;
    background-color: var(--bg-color);
    line-height: 1.6;
}

a { color: var(--primary-color); text-decoration: none; transition: 0.3s; }
a:hover { color: #d35400; }

/* HEADER */
.site-header {
    position: fixed; top: 0; left: 0; width: 100%;
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    z-index: 9999; padding: 15px 0;
}
.header-inner {
    display: flex; justify-content: space-between; align-items: center;
    max-width: 1200px; margin: 0 auto; padding: 0 20px;
}
.header-logo a { font-size: 24px; font-weight: 700; color: var(--text-color); }
.header-logo span { color: var(--primary-color); }
.header-btn {
    background: var(--primary-color); color: #fff !important;
    padding: 10px 24px; border-radius: 5px; font-weight: 600; font-size: 14px;
}

/* LAYOUT 2 KOLOM */
.site-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px; max-width: 1200px; margin: 120px auto 60px auto; padding: 0 20px;
}
@media (min-width: 768px) {
    .site-wrapper { grid-template-columns: 7fr 3fr; }
}

/* KONTEN (INDEX & SINGLE) */
.main-content { min-width: 0; /* Mencegah overflow */ }
.post-item {
    background: #fff; padding: 25px; border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03); margin-bottom: 30px;
}
.post-item-index { border-bottom: 2px dashed #eee; }
.post-title { margin-top: 0; font-size: 22px; }
.post-title-single { font-size: 32px; margin-bottom: 10px; }
.post-meta { font-size: 13px; color: #7f8c8d; margin-bottom: 20px; }
.read-more {
    display: inline-block; margin-top: 15px; font-weight: 600; font-size: 14px;
}
.post-content img { max-width: 100%; height: auto; border-radius: 5px; margin: 15px 0; }

/* SIDEBAR & WIDGET */
.sidebar .widget {
    background: #fff; padding: 20px; border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03); margin-bottom: 30px;
}
.sidebar .widget-title {
    font-size: 18px; border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px; margin-top: 0; margin-bottom: 15px;
}

/* FOOTER */
.site-footer {
    background: #ffffff; padding: 50px 20px; border-top: 1px solid #eee; margin-top: 50px;
}
.footer-inner {
    max-width: 1200px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr; gap: 30px;
}
@media (min-width: 768px) { .footer-inner { grid-template-columns: 1fr 1fr; } }
.footer-title { color: var(--primary-color); font-size: 20px; margin-bottom: 20px; }
.contact-info p { margin: 10px 0; font-size: 14px; display: flex; align-items: flex-start; gap: 10px; }
.contact-info strong { min-width: 80px; }