/* ===========================
   Shared Blog Post Styles
=========================== */

body { background: #f5f6fa; }

/* Hide slicknav on desktop */
@media (min-width: 992px) {
    #header .mobile-nav { display: none; }
}

/* ── Post Hero ── */
.post-hero {
    padding: 110px 0 50px;
    color: #fff;
    position: relative;
}
.post-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.45);
}
.post-hero .container { position: relative; z-index: 1; }

.accent-code  { background: linear-gradient(135deg, #0f3460, #11998e); }
.accent-flute { background: linear-gradient(135deg, #6a0572, #f5576c); }
.accent-raaga { background: linear-gradient(135deg, #7b2d00, #f7b733); }
.accent-music { background: linear-gradient(135deg, #1a1a2e, #4a00e0); }

.post-hero h1 {
    font-size: 36px;
    font-weight: 800;
    line-height: 1.3;
    margin: 14px 0 18px;
}
.post-hero h1 .bangla {
    font-size: 26px;
    font-weight: 600;
    opacity: .85;
    display: block;
    margin-top: 6px;
}
.post-meta { font-size: 14px; opacity: .8; }
.post-meta span { margin-right: 20px; }
.post-meta i { margin-right: 5px; }

/* ── Category badge ── */
.post-category {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    padding: 4px 14px;
    border-radius: 20px;
}
.cat-code  { background: #d1fae5; color: #065f46; }
.cat-flute { background: #fce7f3; color: #9d174d; }
.cat-raaga { background: #fef3c7; color: #92400e; }
.cat-music { background: #ede9fe; color: #5b21b6; }

/* ── Post body ── */
.post-main { padding: 60px 0 80px; }

.post-body {
    background: #fff;
    border-radius: 12px;
    padding: 48px 52px;
    box-shadow: 0 4px 24px rgba(0,0,0,.07);
    font-size: 16px;
    color: #374151;
    line-height: 1.85;
    margin-bottom: 30px;
}

.post-body h2 {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 40px 0 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f3f4f6;
}
.post-body h2:first-of-type { margin-top: 24px; }

.post-body h3 {
    font-size: 18px;
    font-weight: 700;
    color: #374151;
    margin: 28px 0 12px;
}

.post-body p { margin-bottom: 18px; }

.post-body ul, .post-body ol {
    padding-left: 22px;
    margin-bottom: 18px;
}
.post-body li { margin-bottom: 8px; }

.post-body strong { color: #1a1a2e; }

.post-body table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 24px;
    font-size: 14px;
}
.post-body table th {
    background: #f9fafb;
    color: #374151;
    font-weight: 700;
    padding: 10px 14px;
    border: 1px solid #e5e7eb;
    text-align: left;
}
.post-body table td {
    padding: 10px 14px;
    border: 1px solid #e5e7eb;
    color: #4b5563;
}
.post-body table tr:nth-child(even) td { background: #f9fafb; }

/* ── Notation blocks ── */
.notation-block {
    background: #1a1a2e;
    border-radius: 8px;
    padding: 20px 24px;
    margin: 20px 0;
    color: #e5e7eb;
}
.notation-block p { margin-bottom: 8px; color: #e5e7eb; }
.notation-block p:last-child { margin-bottom: 0; }
.notation {
    font-family: 'Courier New', monospace;
    font-size: 18px;
    letter-spacing: 3px;
    color: #fcd34d;
}
.teevra { color: #f87171; }
.notation-note {
    font-size: 12px !important;
    color: #9ca3af !important;
    letter-spacing: 0 !important;
    font-family: inherit !important;
    margin-top: 10px !important;
}

/* ── Company grid ── */
.company-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 16px 0 32px;
}
.company-tag {
    background: #f3f4f6;
    color: #374151;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid #e5e7eb;
}
.company-tag.highlight {
    background: #dbeafe;
    color: #1e40af;
    border-color: #bfdbfe;
}

/* ── Info box ── */
.info-box {
    background: #eff6ff;
    border-left: 4px solid #3b82f6;
    border-radius: 0 8px 8px 0;
    padding: 16px 20px;
    margin: 24px 0;
    display: flex;
    gap: 14px;
    align-items: flex-start;
}
.info-box i {
    font-size: 20px;
    color: #3b82f6;
    margin-top: 2px;
    flex-shrink: 0;
}
.info-box p { margin: 0; color: #1e40af; font-size: 14px; }

/* ── Two-col boxes ── */
.two-col-boxes {
    display: flex;
    gap: 16px;
    margin: 20px 0;
}
.two-col-boxes .info-box { flex: 1; }
@media (max-width: 600px) { .two-col-boxes { flex-direction: column; } }

/* ── Effects table ── */
.effects-table thead tr th {
    background: #1a1a2e;
    color: #fff;
    border-color: #374151;
}

/* ── Raaga info table ── */
.raaga-info-table { margin: 20px 0; }
.raaga-info-table th {
    width: 200px;
    background: #f9fafb;
}

/* ── Source link ── */
.post-source {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid #e5e7eb;
}
.post-source a {
    color: #6b7280;
    font-size: 13px;
    text-decoration: none;
    transition: color .2s;
}
.post-source a:hover { color: #F2784B; }
.post-source i { margin-right: 6px; }

/* ── Back button ── */
.btn-back {
    display: inline-block;
    padding: 11px 26px;
    border-radius: 8px;
    background: #1a1a2e;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: opacity .2s;
    margin-bottom: 40px;
}
.btn-back:hover { opacity: .8; color: #fff; text-decoration: none; }
.btn-back i { margin-right: 8px; }

/* ── Responsive ── */
@media (max-width: 767px) {
    .post-hero { padding: 90px 0 36px; }
    .post-hero h1 { font-size: 26px; }
    .post-body { padding: 28px 22px; }
    .post-body h2 { font-size: 20px; }
    .raaga-info-table th { width: 130px; }
}
