/* ============================================
   GLOBAL STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    background: #ffffff;
    color: #1e1e1e;
    line-height: 1.7;
    padding: 1.5rem 1rem;
}

.container {
    max-width: 780px;
    margin: 0 auto;
    background: #ffffff;
    padding: 2rem 1.8rem;
}

/* ============================================
   HEADER STYLES - Font System Italic untuk Judul
   ============================================ */
.blog-header {
    padding-bottom: 0;
    margin-bottom: 2rem;
    text-align: center;
}

.header-image {
    margin-bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    overflow: hidden;
}

.header-link {
    text-decoration: none;
    display: block;
    color: inherit;
    width: 100%;
    max-width: 100%;
}

.header-link:hover {
    text-decoration: none;
    color: inherit;
}

.header-banner {
    width: 70%;
    max-width: 800px;
    height: auto;
    display: block;
    margin: 0 auto;
    object-fit: contain;
    flex-shrink: 0;
}

/* Responsif untuk tablet */
@media (max-width: 768px) {
    .header-banner {
        width: 85% !important;
        max-width: 100%;
    }
}

/* Responsif untuk mobile */
@media (max-width: 480px) {
    .header-banner {
        width: 95% !important;
        max-width: 100%;
    }
}

/* Untuk layar sangat kecil */
@media (max-width: 360px) {
    .header-banner {
        width: 100% !important;
        max-width: 100%;
    }
}

/* Fallback teks jika banner tidak ada - Font System Italic untuk Judul */
.header-fallback {
    padding: 20px 0;
    user-select: text !important;
    -webkit-user-select: text !important;
    cursor: text !important;
}

.header-fallback * {
    user-select: text !important;
    -webkit-user-select: text !important;
    cursor: text !important;
}

/* JUDUL BLOG - Font System Italic (Georgia), UKURAN SANGAT BESAR (5rem) */
.blog-title {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 5rem;
    font-weight: 700;
    font-style: italic;
    color: #2c3e50;
    line-height: 1.1;
    margin-bottom: 0.2rem;
    user-select: text !important;
    -webkit-user-select: text !important;
    cursor: text !important;
}

.blog-title a {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 5rem;
    font-weight: 700;
    font-style: italic;
    color: #2c3e50;
    text-decoration: none;
    user-select: text !important;
    -webkit-user-select: text !important;
    cursor: text !important;
}

.blog-title a:hover {
    color: #2c3e50;
    text-decoration: none;
}

/* DESKRIPSI BLOG - Font Standar, UKURAN LEBIH KECIL (1.1rem) */
.blog-description {
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 1.1rem;
    color: #5a6a7a;
    font-weight: 400;
    margin-top: 0.25rem;
    user-select: text !important;
    -webkit-user-select: text !important;
    cursor: text !important;
}

/* ============================================
   LINK STYLES - GRAY, NO EFFECTS
   ============================================ */
a {
    color: #6b7280;
    font-weight: normal;
    text-decoration: none;
}

a:hover {
    color: #6b7280;
    font-weight: normal;
    text-decoration: none;
}

a:visited {
    color: #6b7280;
}

a:active {
    color: #6b7280;
}

/* ============================================
   SEARCH BOX STYLES
   ============================================ */
.search-wrap {
    margin: 1.8rem 0 2rem;
}

.search-box {
    display: flex;
    border: 1px solid #d0d7de;
    border-radius: 40px;
    overflow: hidden;
    background: #ffffff;
}

.search-box input {
    flex: 1;
    padding: 0.8rem 1.2rem;
    border: none;
    font-size: 0.95rem;
    background: transparent;
    outline: none;
    color: #1e1e1e;
}

.search-box input::placeholder {
    color: #7f8895;
    font-weight: 300;
}

.search-box button {
    background: transparent;
    border: none;
    padding: 0 1.2rem 0 0.8rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    font-size: 1.2rem;
}

.search-box button:hover {
    color: #6b7280;
}

.search-box button svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Search hint dihapus */

/* ============================================
   ARTICLE CONTENT STYLES
   ============================================ */
.article-content h1 {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 0.5rem 0;
    color: #2c3e50;
    letter-spacing: -0.02em;
}

.article-content h2 {
    font-size: 1.6rem;
    font-weight: 600;
    margin: 2rem 0 0.8rem 0;
    color: #2c3e50;
    border-bottom: 1px solid #edf0f5;
    padding-bottom: 0.3rem;
}

.article-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 1.5rem 0 0.6rem 0;
    color: #2c3e50;
}

.article-content p {
    margin: 0 0 1.2rem 0;
    color: #2c313c;
}

.article-content ul, .article-content ol {
    margin: 0 0 1.5rem 1.5rem;
    color: #2c313c;
}

.article-content li {
    margin-bottom: 0.4rem;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 1rem;
    margin: 1rem 0 1.8rem 0;
    display: block;
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}

.article-content strong {
    color: #0f1a2b;
    font-weight: 600;
}

/* ============================================
   BREADCRUMB STYLES
   ============================================ */
.breadcrumb {
    font-size: 0.85rem;
    color: #4a4f5a;
    margin: 0.3rem 0 1.2rem 0;
    padding: 0.5rem 0;
    border-bottom: 1px solid #eaeef3;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.3rem;
}

.breadcrumb a {
    color: #6b7280;
    font-weight: normal;
    text-decoration: none;
}

.breadcrumb a:hover {
    color: #6b7280;
    font-weight: normal;
    text-decoration: none;
}

.breadcrumb .separator {
    color: #7f8895;
    padding: 0 0.3rem;
}

.breadcrumb .current {
    color: #2c3e50;
    font-weight: normal;
}

/* ============================================
   TAGS STYLES
   ============================================ */
.article-tags {
    margin: 2rem 0 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid #eaeef3;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 0.6rem;
}

.article-tags a {
    background: #edf2f7;
    padding: 0.2rem 0.9rem;
    border-radius: 30px;
    font-size: 0.8rem;
    color: #6b7280;
    font-weight: normal;
    text-decoration: none;
    letter-spacing: 0.2px;
}

.article-tags a:hover {
    background: #edf2f7;
    color: #6b7280;
    font-weight: normal;
    text-decoration: none;
}

/* ============================================
   SOCIAL SHARE STYLES
   ============================================ */
.social-share {
    margin: 2rem 0 1.5rem;
    padding: 1.5rem 0;
    border-top: 1px solid #eaeef3;
    border-bottom: 1px solid #eaeef3;
}

.social-share h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.share-buttons {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    border-radius: 30px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: normal;
    border: 1px solid #eaeef3;
    background: #ffffff;
    color: #6b7280;
}

.share-btn:hover {
    color: #6b7280;
    font-weight: normal;
    text-decoration: none;
}

.share-btn.whatsapp {
    background: #25D366;
    color: white;
    border-color: #25D366;
}

.share-btn.whatsapp:hover {
    background: #25D366;
    color: white;
}

.share-btn.facebook {
    background: #1877F2;
    color: white;
    border-color: #1877F2;
}

.share-btn.facebook:hover {
    background: #1877F2;
    color: white;
}

/* Twitter/X button - tetap menggunakan warna hitam untuk konsistensi */
.share-btn.twitter {
    background: #000000;
    color: white;
    border-color: #000000;
}

.share-btn.twitter:hover {
    background: #000000;
    color: white;
}

.share-btn.telegram {
    background: #0088cc;
    color: white;
    border-color: #0088cc;
}

.share-btn.telegram:hover {
    background: #0088cc;
    color: white;
}

/* Threads button - warna hitam */
.share-btn.threads {
    background: #000000;
    color: white;
    border-color: #000000;
}

.share-btn.threads:hover {
    background: #000000;
    color: white;
}

/* ============================================
   RELATED POSTS STYLES
   ============================================ */
.related-posts {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid #eaeef3;
}

.related-posts h2 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1.2rem;
}

.related-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.related-card {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 1rem 1.2rem;
    border-left: 3px solid #6b7280;
    text-decoration: none;
    display: block;
}

.related-card .related-title {
    font-size: 0.95rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 0.2rem;
    line-height: 1.4;
}

.related-card .related-title:hover {
    color: #2c3e50;
    font-weight: bold;
}

.related-card .related-desc {
    font-size: 0.82rem;
    color: #5a6a7a;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-card .related-tag {
    display: inline-block;
    background: #edf2f7;
    padding: 0.1rem 0.6rem;
    border-radius: 12px;
    font-size: 0.7rem;
    color: #6b7280;
    font-weight: normal;
    margin-top: 0.3rem;
}

.related-card.single {
    grid-column: 1 / -1;
    max-width: 50%;
    margin: 0 auto;
}

/* ============================================
   SEARCH RESULTS STYLES
   ============================================ */
.search-results {
    margin: 1.5rem 0 2rem;
}

.search-results h2 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid #eaeef3;
}

.search-results h2 span {
    color: #6b7280;
    font-weight: normal;
}

.search-result-item {
    padding: 0.8rem 0;
    border-bottom: 1px solid #eaeaea;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item a {
    color: #2c3e50;
    font-weight: bold;
    text-decoration: none;
    font-size: 1.05rem;
}

.search-result-item a:hover {
    color: #2c3e50;
    font-weight: bold;
    text-decoration: none;
}

.search-result-item .result-desc {
    font-size: 0.9rem;
    color: #5a6a7a;
    margin-top: 0.2rem;
}

.search-result-item .result-tags {
    margin-top: 0.3rem;
}

.search-result-item .result-tags span {
    display: inline-block;
    background: #edf2f7;
    padding: 0.1rem 0.7rem;
    border-radius: 12px;
    font-size: 0.7rem;
    color: #6b7280;
    font-weight: normal;
    margin-right: 0.3rem;
}

.search-no-results {
    color: #6b7280;
    font-size: 1rem;
    padding: 1rem 0;
}

.search-recommendations {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 2px solid #eaeef3;
}

.search-recommendations h3 {
    color: #2c3e50;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.search-recommendations .rec-item {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.search-recommendations .rec-item:last-child {
    border-bottom: none;
}

.search-recommendations .rec-item a {
    color: #2c3e50;
    font-weight: bold;
    text-decoration: none;
}

.search-recommendations .rec-item a:hover {
    color: #2c3e50;
    font-weight: bold;
    text-decoration: none;
}

.search-recommendations .rec-item .rec-desc {
    font-size: 0.85rem;
    color: #6b7280;
}

/* ============================================
   INDEX/HOMEPAGE STYLES
   ============================================ */
.highlight-section {
    margin-bottom: 2.5rem;
}

.highlight-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.highlight-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.2rem;
}

.highlight-card {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 1.2rem 1.5rem;
    border-left: 3px solid #6b7280;
    text-decoration: none;
    display: block;
}

.highlight-card a {
    text-decoration: none;
    display: block;
}

.highlight-card .post-title {
    font-size: 1.1rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 0.3rem;
}

.highlight-card .post-title:hover {
    color: #2c3e50;
    font-weight: bold;
}

.highlight-card .post-desc {
    font-size: 0.92rem;
    color: #5a6a7a;
    line-height: 1.5;
}

/* ============================================
   FOOTER STYLES
   ============================================ */
.footer-note {
    margin-top: 2.5rem;
    padding-top: 1.2rem;
    border-top: 1px solid #eaeef3;
    font-size: 0.85rem;
    color: #5f6a7a;
    text-align: center;
}

.footer-note a {
    color: #6b7280;
    font-weight: normal;
    text-decoration: none;
}

.footer-note a:hover {
    color: #6b7280;
    font-weight: normal;
    text-decoration: none;
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */
@media (max-width: 600px) {
    .container {
        padding: 1.5rem 1rem;
    }
    
    .blog-title {
        font-size: 3.8rem; /* Tetap besar di mobile */
    }
    
    .blog-title a {
        font-size: 3.8rem;
    }
    
    .blog-description {
        font-size: 1rem;
    }
    
    .article-content h1 {
        font-size: 1.8rem;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
    
    .related-card.single {
        max-width: 100%;
    }
    
    .share-buttons {
        justify-content: center;
    }
    
    .share-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    .search-results h2 {
        font-size: 1.1rem;
    }
}

@media (max-width: 400px) {
    body {
        padding: 0.5rem;
    }
    
    .container {
        padding: 1rem 0.8rem;
    }
    
    .blog-title {
        font-size: 2.8rem;
    }
    
    .blog-title a {
        font-size: 2.8rem;
    }
    
    .blog-description {
        font-size: 0.9rem;
    }
    
    .article-content h1 {
        font-size: 1.5rem;
    }
}