/* Muslim1001 Blog - Master Aesthetic CSS */
:root {
    --bg: #ffffff;
    --text: #111111;
    --muted: #888888;
    --border: #eeeeee;
    --accent: #000000;
}

* { box-sizing: border-box; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

/* Container Marka - Presisi 5S */
.container, .container-single {
    max-width: 850px;
    margin: 0 auto;
    padding: 60px 20px;
}

/* Header Section */
header {
    text-align: center;
    margin-bottom: 80px;
}

.back-link {
    text-decoration: none;
    font-size: 0.7rem;
    letter-spacing: 3px;
    color: var(--muted);
    text-transform: uppercase;
    transition: 0.3s;
}

.back-link:hover { color: var(--accent); }

h1 {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: 4px;
    margin-top: 20px;
    text-transform: uppercase;
}

/* --- GRID SYSTEM (INDEX & RELATED) --- */
.post-list {
    display: grid;
    grid-template-columns: 1fr; /* Mobile First */
    gap: 25px;
}

@media (min-width: 650px) {
    .post-list { grid-template-columns: 1fr 1fr; } /* Tablet/Desktop */
}

/* Card Styling - Mengkilat & Minimalis */
.post-card {
    background: #fff;
    border: 1px solid var(--border);
    padding: 30px;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    min-height: 200px;
}

.post-card:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
}

.meta {
    font-size: 0.65rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.post-card h3 {
    font-size: 1.2rem;
    margin: 0 0 12px 0;
    line-height: 1.4;
    font-weight: 700;
}

.post-card p {
    font-size: 0.9rem;
    color: #555;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3; /* Maksimal 3 baris teaser agar rapi */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-tag {
    font-size: 0.65rem;
    font-weight: 800;
    margin-top: 20px;
    letter-spacing: 1px;
    border-bottom: 2px solid var(--accent);
    align-self: flex-start;
    padding-bottom: 2px;
}

/* --- DETAIL PAGE (BACA.PHP) --- */
.full-content {
    margin-top: 40px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 60px;
}

.golden-rule {
    background: #fafafa;
    padding: 20px 25px;
    border-left: 5px solid var(--accent);
    font-style: italic;
    font-size: 0.95rem;
    margin: 40px 0;
    color: #444;
}

.content-body {
    font-size: 1.15rem;
    line-height: 2;
    color: #1a1a1a;
}

.content-body p { margin-bottom: 30px; }

/* Related Section */
.related-section {
    margin-top: 60px;
}

.related-section h4 {
    font-size: 0.8rem;
    letter-spacing: 4px;
    text-align: center;
    margin-bottom: 40px;
    color: var(--muted);
}