/* majlis.click — blog (/blog, /blog/<slug>) */
.bl-wrap { width: 100%; max-width: 760px; margin: 0 auto; padding: 28px 20px 56px; }
.bl-wide { max-width: 1080px; }
.bl-crumb { font-size: 14px; margin-bottom: 14px; }
.bl-crumb a { color: var(--muted); text-decoration: none; }
.bl-crumb a::before { content: '← '; }
.bl-crumb a:hover { color: var(--primary); }

/* Artikel */
.bl-art-head h1 { font-size: clamp(32px, 6vw, 46px); line-height: 1.08; margin: 0 0 10px; text-wrap: balance; }
.bl-meta { margin: 0 0 22px; color: var(--muted); font-size: 14px; }
.bl-hero { position: relative; margin: 0 0 28px; border-radius: var(--radius); overflow: hidden; background: var(--tint); aspect-ratio: 16 / 9; }
.bl-hero img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.bl-body { font-size: 17.5px; line-height: 1.75; color: var(--ink); overflow-wrap: break-word; }
.bl-body > * { margin: 0 0 1.1em; }
.bl-body h2 { font-size: clamp(26px, 4.5vw, 32px); line-height: 1.2; margin: 1.6em 0 .55em; }
.bl-body h3 { font-family: 'Figtree', sans-serif; font-size: 20px; font-weight: 700; line-height: 1.3; margin: 1.4em 0 .5em; }
.bl-body h4, .bl-body h5, .bl-body h6 { font-size: 17.5px; font-weight: 700; margin: 1.2em 0 .4em; }
.bl-body ul, .bl-body ol { padding-left: 1.3em; }
.bl-body li { margin: .35em 0; }
.bl-body li::marker { color: var(--primary); }
.bl-body a { color: var(--primary); text-underline-offset: 3px; }
.bl-body img { display: block; max-width: 100%; height: auto; border-radius: 12px; margin: 1.4em auto; }
.bl-body figure { margin: 1.6em 0; }
.bl-body figcaption { font-size: 14px; color: var(--muted); text-align: center; margin-top: 8px; }
.bl-body blockquote { margin: 1.4em 0; padding: 14px 20px; border-radius: 12px; background: var(--tint); color: var(--ink); font-style: italic; }
.bl-body hr { border: 0; border-top: 1px solid var(--border); margin: 2em 0; }
.bl-body pre { overflow-x: auto; padding: 14px; border-radius: 10px; background: #2A2233; color: #F4EFF9; font-size: 14px; }
.bl-body code { font-size: .92em; }
.bl-body table { display: block; overflow-x: auto; border-collapse: collapse; width: 100%; font-size: 15.5px; }
.bl-body th, .bl-body td { border: 1px solid var(--border); padding: 9px 12px; text-align: left; vertical-align: top; }
.bl-body th { background: var(--tint); font-weight: 600; }
.bl-info { margin: 30px 0 0; }
.bl-info img { display: block; width: 100%; height: auto; border-radius: var(--radius); }

/* Soalan lazim */
.bl-faq { margin-top: 40px; }
.bl-faq h2 { margin-bottom: 14px; }
.bl-faq details { border: 1px solid var(--border); border-radius: 14px; background: var(--surface); margin-bottom: 10px; }
.bl-faq summary { cursor: pointer; padding: 16px 48px 16px 18px; font-weight: 600; position: relative; list-style: none; min-height: 44px; }
.bl-faq summary::-webkit-details-marker { display: none; }
.bl-faq summary::after { content: '+'; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--primary); }
.bl-faq details[open] summary::after { content: '−'; }
.bl-faq details > div { padding: 0 18px 16px; color: var(--ink); line-height: 1.65; }
.bl-faq details > div > *:last-child { margin-bottom: 0; }

/* Ajakan */
.bl-cta { margin-top: 48px; padding: 26px 24px; border-radius: 20px; background: #2A2233; color: #F7F2FB; text-align: center; }
.bl-cta-k { margin: 0 0 6px; font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: #D9BD84; }
.bl-cta h2 { color: #fff; font-size: 28px; margin: 0 0 8px; }
.bl-cta p { margin: 0 auto 16px; max-width: 46ch; color: #E2D9EC; }
.bl-cta .btn { margin: 4px; }
.bl-cta .btn-outline { color: #fff; border-color: rgba(255,255,255,.55); }
.bl-cta .btn-outline:hover { background: rgba(255,255,255,.1); color: #fff; }

/* Senarai */
.bl-list-head { margin-bottom: 22px; }
.bl-list-head h1 { margin-bottom: 4px; }
.bl-list-head p { margin: 0; }
.bl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.bl-card { display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); overflow: hidden; color: var(--ink); text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.bl-card:hover { color: var(--ink); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(42, 34, 51, .1); }
.bl-card-img { display: block; position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--tint); }
.bl-card-img img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.bl-card-txt { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 20px; }
.bl-card-txt time { font-size: 13px; color: var(--muted); }
.bl-card-txt strong { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 23px; line-height: 1.2; font-weight: 600; }
.bl-card-txt .muted { font-size: 14.5px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.bl-pager { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 26px; }
.bl-none { padding: 40px 0; text-align: center; }
.bl-empty { text-align: center; padding-top: 70px; }
@media (max-width: 520px) {
  .bl-wrap { padding: 20px 16px 44px; }
  .bl-body { font-size: 17px; }
  .bl-cta { padding: 22px 16px; }
}
@media (prefers-reduced-motion: reduce) { .bl-card { transition: none; } .bl-card:hover { transform: none; } }

/* Butang kongsi artikel (26 Okt 2026) */
.bl-share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 24px; }
.bl-share-k { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-right: 4px; }
.bl-sh { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface, #fff); color: var(--ink); font-family: inherit; font-size: 14px; font-weight: 600; line-height: 1; text-decoration: none; cursor: pointer; transition: background .2s, border-color .2s; }
.bl-sh:hover { background: color-mix(in srgb, var(--primary) 8%, #fff); border-color: color-mix(in srgb, var(--primary) 40%, var(--border)); color: var(--ink); }
.bl-sh:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.bl-sh-wa svg { color: #1F9D55; } .bl-sh-fb svg { color: #1877F2; } .bl-sh-th svg { color: #111; }
.bl-share-end { margin-top: 40px; padding: 22px 22px 6px; border: 1px solid var(--border); border-radius: 16px; background: var(--surface, #fff); }
.bl-share-end p { margin: 0 0 14px; font-weight: 600; }
@media (max-width: 520px) {
  .bl-share-top .bl-sh span { display: none; } /* ikon sahaja di atas, label penuh di bawah artikel */
  .bl-share-top .bl-sh { width: 44px; padding: 0; justify-content: center; }
}
.bl-share-end .bl-share { margin: 0 0 16px; padding: 0; border: 0; background: none; box-shadow: none; }

/* Artikel berkaitan (hujung artikel) */
.bl-rel { margin-top: 44px; }
.bl-rel h2 { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 28px; font-weight: 600; margin: 0 0 16px; }
.bl-rel .bl-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.bl-rel .bl-card-txt { padding: 12px 14px 16px; }
.bl-rel .bl-card-txt strong { font-size: 19px; }
@media (max-width: 560px) {
  .bl-rel .bl-grid { grid-template-columns: 1fr; gap: 10px; }
  .bl-rel .bl-card { flex-direction: row; align-items: stretch; }
  .bl-rel .bl-card-img { flex: 0 0 120px; aspect-ratio: auto; min-height: 84px; }
  .bl-rel .bl-card-txt { padding: 10px 12px; justify-content: center; gap: 4px; }
  .bl-rel .bl-card-txt time { font-size: 12px; }
  .bl-rel .bl-card-txt strong { font-size: 17px; }
}
