/* ============================================================
   rich-sections.css -- catalogue texts normalised by App\Support\RichSections
   (visa / work permit / hajj-umrah detail pages, public + signed-in).
   Owner 2026-11-04 ('protita page dekho / sob sundor koro').
   Namespaced under .rs with !important where the site / panel themes
   force their own list styles.
   ============================================================ */
.rs { font-size: 14.5px; line-height: 1.7; color: #374151; text-align: left; }
.rs, .rs * { text-align: left !important; letter-spacing: normal !important; font-family: inherit !important; }
.rs * { background: transparent !important; }
.rs p { margin: 0 0 10px !important; }
.rs b, .rs strong { font-weight: 700 !important; color: #0f172a !important; }
.rs a { color: var(--tp, #04107C) !important; text-decoration: underline; word-break: break-word; }
.rs img { max-width: 100%; height: auto; }
.rs table { width: 100%; border-collapse: collapse; margin: 0 0 12px; }
.rs table td, .rs table th { border: 1px solid #e2e8f0; padding: 8px 12px; }

/* a titled group -> soft card */
.rs .rs-sec { position: relative; background: #f8faff !important; border: 1px solid #e3e8f8; border-radius: 5px; padding: 14px 16px; margin: 0 0 14px; }
.rs .rs-sec:last-child { margin-bottom: 0; }
.rs .rs-title { display: flex; align-items: center; gap: 9px; font-size: 15px !important; font-weight: 800 !important; line-height: 1.4; color: var(--tp, #04107C) !important; padding-bottom: 10px; margin-bottom: 12px; border-bottom: 1px dashed #d4dbf2; }
.rs .rs-title::before { content: ''; flex: 0 0 4px; width: 4px; height: 18px; border-radius: 2px; background: var(--tp, #04107C) !important; }
.rs .rs-title * { font-size: 15px !important; font-weight: 800 !important; color: var(--tp, #04107C) !important; }

/* numbered tiles */
.rs ol.rs-items { list-style: none !important; margin: 0 !important; padding: 0 !important; counter-reset: rsn;
    display: grid !important; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); gap: 8px 12px; }
.rs ol.rs-items > li { position: relative !important; counter-increment: rsn; list-style: none !important;
    margin: 0 !important; padding: 9px 12px 9px 42px !important; background: #fff !important;
    border: 1px solid #e8ecf8 !important; border-radius: 5px; line-height: 1.55 !important; font-size: 14px !important; color: #334155 !important; }
.rs ol.rs-items > li::before { content: counter(rsn) !important; position: absolute !important; left: 11px !important; top: 9px !important;
    width: 22px !important; height: 22px !important; border-radius: 50% !important; background: var(--tp, #04107C) !important;
    color: #fff !important; font-size: 11px !important; font-weight: 800 !important; line-height: 1 !important;
    display: flex !important; align-items: center !important; justify-content: center !important; border: 0 !important; }
.rs ol.rs-items > li * { font-size: 14px !important; line-height: 1.55 !important; }
.rs ol.rs-items > li:hover { border-color: #c9d3f3 !important; box-shadow: 0 3px 10px rgba(4,16,124,.06); }

/* sub-points under an item */
.rs ul.rs-sub, .rs ol.rs-sub { list-style: none !important; margin: 6px 0 0 !important; padding: 0 !important; }
.rs .rs-sub > li { position: relative !important; padding: 2px 0 2px 16px !important; margin: 0 !important; border: 0 !important; color: #475569 !important; }
.rs .rs-sub > li::before { content: '' !important; position: absolute !important; left: 3px !important; top: 10px !important; width: 6px !important; height: 6px !important;
    border-radius: 50% !important; background: #94a3b8 !important; }

/* a plain top-level point -> note card */
.rs .rs-note { position: relative; background: #f8faff !important; border: 1px solid #e3e8f8; border-radius: 5px; padding: 11px 16px 11px 30px; margin: 0 0 10px; font-weight: 600; color: #1e293b; line-height: 1.6; }
.rs .rs-note::before { content: ''; position: absolute; left: 16px; top: 14px; width: 4px; height: 18px; border-radius: 2px; background: var(--tp, #04107C) !important; }
.rs .rs-note:last-child { margin-bottom: 0; }

/* any list the normaliser left alone (inside a note, a table cell ...) */
.rs .rs-note ul, .rs .rs-note ol, .rs > ul, .rs > ol { padding-left: 20px !important; margin: 6px 0 !important; }

@media (max-width: 480px) {
    .rs .rs-sec { padding: 12px; }
    .rs ol.rs-items > li { padding: 8px 10px 8px 38px !important; }
    .rs ol.rs-items > li::before { left: 9px !important; }
}
