/* ============================================
   SHALAT.ID — Custom Styles (Light Theme)
   Tailwind CDN handles most styling
   This file is for prose overrides and extras
   ============================================ */

/* Prose — light theme article content */
.prose-shalat {
    color: #1A1A1A;
    line-height: 1.8;
}

.prose-shalat h2 {
    font-family: 'Playfair Display', serif;
    color: #1A1A1A;
    font-size: 1.5rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(212, 212, 204, 0.5);
}

.prose-shalat h3 {
    font-family: 'Playfair Display', serif;
    color: #1A1A1A;
    font-size: 1.25rem;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.prose-shalat p {
    margin-bottom: 1.25rem;
    color: #333333;
}

.prose-shalat a {
    color: #8B6914;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.prose-shalat a:hover {
    color: #6B5010;
}

.prose-shalat strong {
    color: #1A1A1A;
    font-weight: 600;
}

.prose-shalat blockquote {
    border-left: 3px solid #8B6914;
    padding-left: 1.25rem;
    color: #6B6B60;
    font-style: italic;
    margin: 1.5rem 0;
}

.prose-shalat ul,
.prose-shalat ol {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.prose-shalat li {
    margin-bottom: 0.5rem;
    color: #333333;
}

.prose-shalat table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

.prose-shalat th {
    background: #F5F5F0;
    color: #6B6B60;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid #D4D4CC;
}

.prose-shalat td {
    padding: 0.75rem;
    border-bottom: 1px solid rgba(212, 212, 204, 0.4);
    color: #333333;
    font-size: 0.875rem;
}

.prose-shalat dfn {
    color: #8B6914;
    font-style: normal;
    font-weight: 500;
}

.prose-shalat code {
    background: #F5F5F0;
    color: #8B6914;
    padding: 0.15rem 0.4rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
}

.prose-shalat pre {
    background: #F5F5F0;
    border: 1px solid #D4D4CC;
    border-radius: 0.5rem;
    padding: 1.25rem;
    overflow-x: auto;
    margin: 1.5rem 0;
}

.prose-shalat img {
    border-radius: 0.5rem;
    margin: 1.5rem 0;
}

/* Arabic text */
.prose-shalat [lang="ar"] {
    font-family: 'Amiri', serif;
    font-size: 1.5rem;
    line-height: 2.2;
    direction: rtl;
    text-align: right;
    color: #1A1A1A;
}

/* Line clamp */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Tabular numbers for jadwal */
.tabular-nums {
    font-variant-numeric: tabular-nums;
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Selection */
::selection {
    background: rgba(139, 105, 20, 0.15);
    color: #1A1A1A;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #FAFAF8;
}

::-webkit-scrollbar-thumb {
    background: #D4D4CC;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #6B6B60;
}

/* Ad slot spacing */
.shalat-ad {
    text-align: center;
}
