/* Highlight: articles, Facebook posts and videos from Walanja. Plain panels (this is reading, not booking); the type of each post is a real label. */
.hl { padding: 24px 0 72px; background: var(--wj-paper, #F6F7F8); font-family: var(--wj-font); color: var(--wj-ink, #252525); min-height: 60vh; }
.hl, .hl *:not(.fa):not(.fas):not(.far):not(.fab):not([class^="fa-"]) { font-family: var(--wj-font) !important; }
.hl p { margin: 0; }
.hl a:focus-visible, .hl button:focus-visible, .hl-modal button:focus-visible, .hl-modal a:focus-visible { outline: 3px solid var(--wj-focus, rgba(242, 76, 0, .45)); outline-offset: 2px; }
.hl-title { margin: 0 0 4px; font-size: 28px; font-weight: 800; letter-spacing: -.02em; }
.hl-lead { margin-bottom: 18px !important; color: var(--wj-ink-2, #616161); font-size: 15px; }
.hl-chips { display: flex; gap: 8px; margin: 0 0 22px; padding: 2px 0 6px; overflow-x: auto; scrollbar-width: thin; }
.hl-chip { flex: 0 0 auto; display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border: 1px solid var(--wj-line-strong, #C9C9C4); border-radius: 10px; background: var(--wj-card); color: var(--wj-ink, #252525); font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.hl-chip:hover { border-color: var(--wj-ink, #252525); color: var(--wj-ink, #252525); }
.hl-chip[aria-current="page"] { border-color: var(--wj-orange, #F24C00); background: var(--wj-orange-tint, #FFF0E8); color: var(--wj-orange-ink, #C73D00); font-weight: 700; }

.hl-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.hl-card { position: relative; display: flex; flex-direction: column; border: 1px solid var(--wj-line, #E3E3E0); border-radius: 16px; background: var(--wj-card); color: inherit; text-align: left; text-decoration: none; overflow: hidden; }
.hl-card:hover { border-color: var(--wj-line-strong, #C9C9C4); color: inherit; }
button.hl-card { padding: 0; font: inherit; cursor: pointer; width: 100%; }
.hl-card.is-first { grid-column: span 2; }
.hl-media { position: relative; display: block; aspect-ratio: 16 / 9; background: var(--wj-paper, #F6F7F8); }
.hl-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hl-type { position: absolute; top: 12px; left: 12px; padding: 4px 10px; border-radius: 8px; background: var(--wj-card); color: var(--wj-ink, #252525); font-size: 12px; font-weight: 700; }
.hl-pin { position: absolute; top: 12px; right: 12px; padding: 4px 10px; border-radius: 8px; background: var(--wj-orange, #F24C00); color: #fff; font-size: 12px; font-weight: 700; }
.hl-play { position: absolute; inset: 0; display: grid; place-items: center; }
.hl-play::before { content: ""; width: 56px; height: 56px; border-radius: 50%; background: rgba(37, 37, 37, .72); }
.hl-play::after { content: ""; position: absolute; width: 0; height: 0; margin-left: 4px; border-style: solid; border-width: 10px 0 10px 16px; border-color: transparent transparent transparent #fff; }
.hl-body { display: flex; flex: 1 1 auto; flex-direction: column; gap: 6px; padding: 14px 16px 16px; }
.hl-meta { color: var(--wj-ink-2, #616161); font-size: 13px; }
.hl-name { font-size: 18px; font-weight: 800; line-height: 1.3; letter-spacing: -.01em; }
.hl-card.is-first .hl-name { font-size: 22px; }
.hl-text { color: var(--wj-ink-2, #616161); font-size: 14px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.hl-stats { display: flex; gap: 14px; margin-top: auto; padding-top: 6px; color: var(--wj-ink-2, #616161); font-size: 13px; font-variant-numeric: tabular-nums; }
.hl-stats span { display: inline-flex; align-items: center; gap: 5px; }

.hl-pager { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 24px; }
.hl-pager span { color: var(--wj-ink-2, #616161); font-size: 14px; }
.hl-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; border: 1px solid var(--wj-line-strong, #C9C9C4); border-radius: 12px; background: var(--wj-card); color: var(--wj-ink, #252525); font: inherit; font-size: 14px; font-weight: 700; text-decoration: none; cursor: pointer; }
.hl-btn:hover { border-color: var(--wj-ink, #252525); color: var(--wj-ink, #252525); }
.hl-btn--main { border-color: var(--wj-orange, #F24C00); background: var(--wj-orange, #F24C00); color: #fff; }
.hl-btn--main:hover { border-color: var(--wj-orange-dark, #A33000); background: var(--wj-orange-dark, #A33000); color: #fff; }
.hl-btn.is-off { pointer-events: none; opacity: .45; }
.hl-empty { padding: 48px 20px; border: 2px dashed var(--wj-line-strong, #C9C9C4); border-radius: 16px; background: var(--wj-card); text-align: center; }
.hl-empty h2 { margin: 0 0 6px; font-size: 20px; font-weight: 800; }
.hl-empty p { margin-bottom: 16px !important; color: var(--wj-ink-2, #616161); }

/* the Facebook and video dialogs */
.hl-modal .modal-content { border: 0; border-radius: 20px; overflow: hidden; }
.hl-modal, .hl-modal *:not(.fa):not(.fas):not(.far):not(.fab) { font-family: var(--wj-font) !important; }
.hl-modal-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--wj-line, #E3E3E0); }
.hl-modal-head img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.hl-modal-head strong { display: block; font-size: 15px; font-weight: 800; }
.hl-modal-head small { color: var(--wj-ink-2, #616161); font-size: 12px; }
.hl-modal-head .hl-grow { flex: 1 1 auto; min-width: 0; }
.hl-close { flex: 0 0 auto; width: 40px; height: 40px; border: 1px solid var(--wj-line-strong, #C9C9C4); border-radius: 50%; background: var(--wj-card); font-size: 22px; line-height: 1; cursor: pointer; }
.hl-modal-body { max-height: 70vh; overflow-y: auto; }
.hl-modal-body img { display: block; width: 100%; height: auto; }
.hl-modal-text { padding: 16px; color: var(--wj-ink, #252525); font-size: 15px; line-height: 1.65; white-space: pre-line; overflow-wrap: anywhere; }
.hl-modal-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 12px 16px; border-top: 1px solid var(--wj-line, #E3E3E0); }
.hl-video { position: relative; aspect-ratio: 16 / 9; background: #000; }
.hl-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* article */
.hl-crumbs { margin-bottom: 14px; color: var(--wj-ink-2, #616161); font-size: 14px; }
.hl-crumbs a { color: var(--wj-orange-ink, #C73D00); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.hl-article { max-width: 820px; margin: 0 auto; border: 1px solid var(--wj-line, #E3E3E0); border-radius: 16px; background: var(--wj-card); overflow: hidden; }
.hl-article-img { display: block; width: 100%; height: auto; }
.hl-article-body { padding: 24px 28px 28px; }
.hl-article h1 { margin: 0 0 10px; font-size: 30px; font-weight: 800; line-height: 1.2; letter-spacing: -.02em; }
.hl-article .hl-meta { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-bottom: 18px; }
.hl-prose { color: var(--wj-ink, #252525); font-size: 16px; line-height: 1.75; overflow-wrap: anywhere; max-width: 68ch; }
.hl-prose img { max-width: 100%; height: auto; border-radius: 12px; }
.hl-prose h2, .hl-prose h3 { margin: 1.4em 0 .5em; font-weight: 800; line-height: 1.3; }
.hl-prose a { color: var(--wj-orange-ink, #C73D00); text-decoration: underline; text-underline-offset: 3px; }
.hl-prose p { margin: 0 0 1em; }
.hl-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--wj-line, #E3E3E0); }
.hl-tag { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border: 1px solid var(--wj-line-strong, #C9C9C4); border-radius: 8px; background: var(--wj-card); color: var(--wj-ink, #252525); font-size: 13px; font-weight: 600; text-decoration: none; }
.hl-tag:hover { border-color: var(--wj-orange, #F24C00); background: var(--wj-orange-tint, #FFF0E8); color: var(--wj-orange-ink, #C73D00); }
.hl a.hl-tag:focus-visible { outline: 3px solid var(--wj-focus, rgba(242, 76, 0, .45)); outline-offset: 2px; }
.hl-more { max-width: 1100px; margin: 36px auto 0; }
.hl-more h2 { margin: 0 0 14px; font-size: 20px; font-weight: 800; }

@media (max-width: 991.98px) {
    .hl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 575.98px) {
    .hl { padding: 16px 0 56px; }
    .hl-title { font-size: 23px; }
    .hl-grid { grid-template-columns: 1fr; gap: 16px; }
    .hl-card.is-first { grid-column: auto; }
    .hl-card.is-first .hl-name { font-size: 18px; }
    .hl-article-body { padding: 18px 16px 22px; }
    .hl-article h1 { font-size: 24px; }
    .hl-modal .modal-dialog { position: fixed; right: 0; bottom: 0; left: 0; width: 100%; max-width: none; margin: 0; min-height: 0; align-items: flex-end; }
    .hl-modal .modal-content { border-radius: 20px 20px 0 0; }
}
.hl-crumbs + .hl-title { overflow-wrap: anywhere; }
.hl-crumbs + .hl-title + .hl-lead { margin-bottom: 26px !important; }
