/* =========================================================
   resources.css — FAQ, Blog, Blog post, Packaging guide, Security measures
   Uses the colour tokens from style.css (--navy, --primary, --sky ...)
   ========================================================= */

/* ---------- Hero ---------- */
.rs-hero {
    position: relative; isolation: isolate; overflow: hidden;
    padding: 64px 0 56px; color: #fff;
    background: linear-gradient(135deg, var(--navy, #0A1F44) 0%, #12357A 55%, var(--primary, #1656C9) 100%);
}
.rs-hero::before {
    content: ""; position: absolute; inset: 0; z-index: -1; opacity: .16;
    background: var(--rs-hero-img, none) center / cover no-repeat;
    mix-blend-mode: luminosity;
}
.rs-hero::after {
    content: ""; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px; z-index: -1;
    border-radius: 50%; background: radial-gradient(circle, rgba(143, 193, 255, .25), transparent 70%);
}
.rs-hero .container { position: relative; }
.rs-crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: .82rem; color: #A9C1EA; margin-bottom: 16px; }
.rs-crumbs a { color: #D7E3FA; }
.rs-crumbs a:hover { color: #fff; text-decoration: underline; }
.rs-hero .eyebrow { color: #8FC1FF; }
.rs-hero h1 { color: #fff; font-size: clamp(1.8rem, 2.6vw + .8rem, 2.7rem); margin: 10px 0 14px; max-width: 820px; }
.rs-hero p.rs-sub { color: #D7E3FA; font-size: 1.05rem; max-width: 680px; line-height: 1.65; }
.rs-hero-center { text-align: center; }
.rs-hero-center h1, .rs-hero-center p.rs-sub { margin-left: auto; margin-right: auto; }
.rs-hero-center .rs-crumbs { justify-content: center; }

.rs-search { position: relative; max-width: 620px; margin: 26px auto 0; }
.rs-search input {
    width: 100%; height: 58px; padding: 0 130px 0 52px; border: 0; border-radius: 14px; font: inherit; font-size: 1rem; color: var(--text, #17202E);
    box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .55);
}
.rs-search input:focus { outline: 3px solid rgba(143, 193, 255, .6); }
.rs-search svg { position: absolute; left: 18px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); color: #7A869E; }
.rs-search button { position: absolute; right: 7px; top: 7px; bottom: 7px; padding: 0 22px; border: 0; border-radius: 10px; background: var(--accent, #F5A623); color: var(--navy, #0A1F44); font: 700 .92rem var(--font-head, 'Poppins', sans-serif); cursor: pointer; }
.rs-search button:hover { background: var(--accent-dark, #D98C10); }

.rs-hero-stats { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 26px; font-size: .9rem; color: #D7E3FA; }
.rs-hero-center .rs-hero-stats { justify-content: center; }
.rs-hero-stats span::before { content: "✔"; color: #4ADE80; margin-right: 8px; }

/* ---------- Sections ---------- */
.rs-section { padding: 64px 0; }
.rs-section.alt { background: var(--sky, #EEF4FF); }
.rs-section .section-head { margin-bottom: 40px; }
.rs-section .section-head p { color: var(--text-light, #5B6478); margin-top: 10px; }

/* ---------- Chips ---------- */
.rs-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.rs-chip {
    display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border-radius: 999px;
    border: 1px solid var(--border, #E4E9F1); background: #fff; color: var(--text-light, #5B6478);
    font: 600 .86rem var(--font-body, 'Inter', sans-serif); cursor: pointer; transition: all .2s ease; white-space: nowrap;
}
.rs-chip:hover { border-color: var(--primary, #1656C9); color: var(--primary, #1656C9); }
.rs-chip.is-active { background: var(--primary, #1656C9); border-color: var(--primary, #1656C9); color: #fff; }
.rs-chip small { opacity: .7; font-weight: 500; }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 40px; align-items: start; }
.faq-layout > * { min-width: 0; }
.faq-side { position: sticky; top: 100px; }
.faq-side h3 { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-light, #5B6478); margin-bottom: 12px; }
.faq-side nav { display: flex; flex-direction: column; gap: 4px; }
.faq-side nav a {
    display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 14px; border-radius: 10px;
    font-weight: 600; font-size: .92rem; color: var(--text, #17202E); transition: background .2s, color .2s;
}
.faq-side nav a span { font-size: .78rem; color: var(--text-light, #5B6478); background: var(--sky, #EEF4FF); border-radius: 999px; padding: 2px 9px; }
.faq-side nav a:hover, .faq-side nav a.is-active { background: var(--sky, #EEF4FF); color: var(--primary, #1656C9); }
.faq-side nav a.is-active span { background: var(--primary, #1656C9); color: #fff; }
.faq-side-cta { margin-top: 24px; padding: 20px; border-radius: 14px; background: linear-gradient(135deg, var(--navy, #0A1F44), var(--primary, #1656C9)); color: #fff; }
.faq-side-cta h4 { color: #fff; font-size: 1rem; margin-bottom: 6px; }
.faq-side-cta p { color: #D7E3FA; font-size: .86rem; margin-bottom: 14px; }
.faq-side-cta .btn { width: 100%; }

.faq-group { margin-bottom: 38px; scroll-margin-top: 110px; }
.faq-group-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.faq-group-head h2 { font-size: 1.3rem; }
.faq-group-head .count { font-size: .8rem; color: var(--text-light, #5B6478); }

.rs-faq { border: 1px solid var(--border, #E4E9F1); border-radius: 14px; background: #fff; margin-bottom: 12px; transition: border-color .2s, box-shadow .2s; }
.rs-faq:hover { border-color: #C9D7F2; }
.rs-faq.is-open { border-color: var(--primary, #1656C9); box-shadow: 0 14px 30px -20px rgba(22, 86, 201, .55); }
.rs-faq-q {
    width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px;
    background: none; border: 0; text-align: left; cursor: pointer; font: 600 1rem/1.45 var(--font-head, 'Poppins', sans-serif); color: var(--navy, #0A1F44);
}
.rs-faq-q:focus-visible { outline: 3px solid rgba(22, 86, 201, .3); outline-offset: -3px; border-radius: 14px; }
.rs-faq-ico { flex: 0 0 30px; width: 30px; height: 30px; border-radius: 50%; background: var(--sky, #EEF4FF); color: var(--primary, #1656C9); display: flex; align-items: center; justify-content: center; transition: transform .3s, background .2s, color .2s; }
.rs-faq-ico svg { width: 14px; height: 14px; }
.rs-faq.is-open .rs-faq-ico { transform: rotate(45deg); background: var(--primary, #1656C9); color: #fff; }
.rs-faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease; }
.rs-faq.is-open .rs-faq-a { grid-template-rows: 1fr; }
.rs-faq-a > div { overflow: hidden; }
.rs-faq-a p { padding: 0 20px 20px; margin: 0; color: var(--text-light, #5B6478); line-height: 1.75; font-size: .96rem; white-space: pre-line; }
.rs-faq mark { background: #FEF3C7; color: inherit; padding: 0 2px; border-radius: 3px; }
.faq-noresult { display: none; padding: 40px 20px; text-align: center; color: var(--text-light, #5B6478); border: 1px dashed var(--border, #E4E9F1); border-radius: 14px; }
.faq-noresult.is-visible { display: block; }

/* ---------- CTA band ---------- */
.rs-cta {
    display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center;
    padding: 34px 38px; border-radius: 20px; color: #fff; position: relative; overflow: hidden;
    background: linear-gradient(135deg, var(--navy, #0A1F44), var(--primary, #1656C9));
}
.rs-cta::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: rgba(255, 255, 255, .07); }
.rs-cta h2, .rs-cta h3 { color: #fff; font-size: clamp(1.3rem, 1.2vw + .8rem, 1.7rem); margin-bottom: 8px; }
.rs-cta p { color: #D7E3FA; margin: 0; }
.rs-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; position: relative; z-index: 1; }

/* ---------- Blog list ---------- */
.blog-toolbar { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; margin-bottom: 30px; }
.blog-featured {
    display: grid; grid-template-columns: 1.15fr 1fr; gap: 0; margin-bottom: 44px; border-radius: 20px; overflow: hidden;
    background: #fff; border: 1px solid var(--border, #E4E9F1); box-shadow: var(--shadow, 0 10px 30px rgba(10, 31, 68, .08));
    transition: transform .25s, box-shadow .25s;
}
.blog-featured:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg, 0 20px 50px rgba(10, 31, 68, .14)); }
.blog-featured-img { position: relative; min-height: 320px; background: var(--sky, #EEF4FF); }
.blog-featured-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.blog-featured-body { padding: 38px 38px 34px; display: flex; flex-direction: column; justify-content: center; }
.blog-featured-body .badge-featured { align-self: flex-start; margin-bottom: 14px; padding: 5px 12px; border-radius: 999px; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: #FEF3C7; color: #92400E; }
.blog-featured-body h2 { font-size: clamp(1.35rem, 1.2vw + .9rem, 1.9rem); margin-bottom: 12px; }
.blog-featured-body h2 a:hover { color: var(--primary, #1656C9); }
.blog-featured-body p { color: var(--text-light, #5B6478); margin-bottom: 18px; line-height: 1.7; }

.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.blog-card {
    display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border, #E4E9F1); border-radius: 16px; overflow: hidden;
    transition: transform .25s, box-shadow .25s, border-color .25s;
}
.blog-card:hover { transform: translateY(-5px); box-shadow: 0 18px 40px -20px rgba(10, 31, 68, .35); border-color: #C9D7F2; }
.blog-card-img { position: relative; aspect-ratio: 16 / 9; background: var(--sky, #EEF4FF); overflow: hidden; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.blog-card:hover .blog-card-img img { transform: scale(1.05); }
.blog-card-img .blog-cat { position: absolute; left: 14px; top: 14px; }
.blog-cat { display: inline-block; padding: 5px 12px; border-radius: 999px; font-size: .72rem; font-weight: 700; letter-spacing: .04em; background: #fff; color: var(--primary, #1656C9); box-shadow: 0 4px 12px rgba(0, 0, 0, .12); }
.blog-card-body { flex: 1; display: flex; flex-direction: column; padding: 20px 22px 22px; }
.blog-card-body h3 { font-size: 1.08rem; line-height: 1.4; margin-bottom: 10px; }
.blog-card-body h3 a:hover { color: var(--primary, #1656C9); }
.blog-card-body p { color: var(--text-light, #5B6478); font-size: .92rem; line-height: 1.65; margin-bottom: 16px; flex: 1; }
.blog-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: .8rem; color: #7A869E; }
.blog-meta span { display: inline-flex; align-items: center; gap: 5px; }
.blog-meta svg { width: 14px; height: 14px; }
.blog-readmore { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .88rem; color: var(--primary, #1656C9); }
.blog-readmore:hover { gap: 10px; }
.blog-empty { padding: 60px 20px; text-align: center; color: var(--text-light, #5B6478); border: 1px dashed var(--border, #E4E9F1); border-radius: 16px; background: #fff; }

.rs-pager { display: flex; justify-content: center; gap: 8px; margin-top: 44px; flex-wrap: wrap; }
.rs-pager a, .rs-pager span { min-width: 42px; height: 42px; padding: 0 12px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--border, #E4E9F1); background: #fff; font-weight: 600; font-size: .92rem; }
.rs-pager a:hover { border-color: var(--primary, #1656C9); color: var(--primary, #1656C9); }
.rs-pager .is-current { background: var(--primary, #1656C9); border-color: var(--primary, #1656C9); color: #fff; }

/* ---------- Blog post ---------- */
.post-hero { padding: 56px 0 120px; }
.post-hero .blog-meta { color: #C9D6EE; margin-top: 6px; font-size: .88rem; }
.post-hero .blog-cat { box-shadow: none; }
.post-cover { margin-top: -90px; position: relative; z-index: 2; }
.post-cover img { width: 100%; max-height: 520px; object-fit: cover; border-radius: 20px; box-shadow: 0 30px 60px -30px rgba(10, 31, 68, .6); background: var(--sky, #EEF4FF); }
.post-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 50px; align-items: start; padding: 50px 0 70px; }
.post-aside { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 20px; }
.post-box { background: #fff; border: 1px solid var(--border, #E4E9F1); border-radius: 16px; padding: 22px; }
.post-box h4 { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-light, #5B6478); margin-bottom: 14px; }
.post-toc ol { list-style: none; counter-reset: toc; display: flex; flex-direction: column; gap: 2px; }
.post-toc li { counter-increment: toc; }
.post-toc a { display: flex; gap: 10px; padding: 7px 8px; border-radius: 8px; font-size: .9rem; color: var(--text, #17202E); line-height: 1.4; border-left: 2px solid transparent; }
.post-toc a::before { content: ""; flex: 0 0 6px; width: 6px; height: 6px; margin-top: 7px; border-radius: 50%; background: #A9B4C8; }
.post-toc li.lvl3 a { padding-left: 26px; font-size: .84rem; }
.post-toc li.lvl3 a::before { width: 4px; height: 4px; flex-basis: 4px; }
.post-toc a:hover, .post-toc a.is-active { background: var(--sky, #EEF4FF); color: var(--primary, #1656C9); border-left-color: var(--primary, #1656C9); }
.post-cta-box { background: linear-gradient(135deg, var(--navy, #0A1F44), var(--primary, #1656C9)); color: #fff; border: 0; }
.post-cta-box h4 { color: #8FC1FF; }
.post-cta-box p { color: #D7E3FA; font-size: .92rem; margin-bottom: 16px; }
.post-cta-box .btn { width: 100%; margin-bottom: 8px; }
.post-cta-box .btn-outline { border-color: rgba(255, 255, 255, .5); }
.post-recent a { display: grid; grid-template-columns: 64px 1fr; gap: 12px; padding: 8px 0; align-items: center; }
.post-recent a + a { border-top: 1px solid var(--border, #E4E9F1); }
.post-recent img { width: 64px; height: 48px; object-fit: cover; border-radius: 8px; background: var(--sky, #EEF4FF); }
.post-recent strong { display: block; font-size: .86rem; line-height: 1.35; color: var(--navy, #0A1F44); }
.post-recent small { font-size: .74rem; color: #7A869E; }
.post-recent a:hover strong { color: var(--primary, #1656C9); }

.rs-prose { font-size: 1.06rem; line-height: 1.85; color: #2B3446; }
.rs-prose > * + * { margin-top: 1.1em; }
.rs-prose h2 { font-size: 1.6rem; margin-top: 1.8em; scroll-margin-top: 110px; }
.rs-prose h3 { font-size: 1.25rem; margin-top: 1.5em; scroll-margin-top: 110px; }
.rs-prose h4 { font-size: 1.08rem; margin-top: 1.3em; }
.rs-prose ul, .rs-prose ol { padding-left: 1.4em; }
.rs-prose ul { list-style: disc; }
.rs-prose ol { list-style: decimal; }
.rs-prose li + li { margin-top: .45em; }
.rs-prose li::marker { color: var(--primary, #1656C9); }
.rs-prose a { color: var(--primary, #1656C9); text-decoration: underline; text-underline-offset: 3px; }
.rs-prose img { border-radius: 14px; margin: 1.5em auto; height: auto; }
.rs-prose blockquote { margin: 1.6em 0; padding: 18px 24px; border-left: 4px solid var(--primary, #1656C9); background: var(--sky, #EEF4FF); border-radius: 0 12px 12px 0; font-style: italic; color: var(--navy, #0A1F44); }
.rs-prose pre { background: #0F172A; color: #E2E8F0; padding: 18px; border-radius: 12px; overflow-x: auto; font-size: .9rem; }
.rs-prose code { background: #EEF2F7; padding: 2px 6px; border-radius: 5px; font-size: .92em; }
.rs-prose pre code { background: none; padding: 0; }
.rs-prose table { width: 100%; border-collapse: collapse; font-size: .95rem; display: block; overflow-x: auto; }
.rs-prose th, .rs-prose td { border: 1px solid var(--border, #E4E9F1); padding: 10px 12px; text-align: left; }
.rs-prose th { background: var(--sky, #EEF4FF); }
.rs-prose > p:first-child { font-size: 1.15rem; color: var(--navy, #0A1F44); }

.post-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--border, #E4E9F1); }
.post-tags span { padding: 6px 12px; border-radius: 999px; background: var(--sky, #EEF4FF); color: var(--primary, #1656C9); font-size: .8rem; font-weight: 600; }
.post-share { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.post-share strong { font-size: .9rem; margin-right: 4px; }
.post-share a, .post-share button {
    width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border, #E4E9F1); background: #fff; cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center; color: var(--navy, #0A1F44); transition: all .2s;
}
.post-share a:hover, .post-share button:hover { background: var(--primary, #1656C9); border-color: var(--primary, #1656C9); color: #fff; }
.post-share svg { width: 18px; height: 18px; }
.post-progress { position: fixed; left: 0; top: 0; height: 3px; width: 0; background: linear-gradient(90deg, var(--accent, #F5A623), #E21F23); z-index: 1200; transition: width .1s linear; }

/* ---------- Guide pages (packaging / security) ---------- */
.rs-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; counter-reset: rs; }
.rs-step { position: relative; background: #fff; border: 1px solid var(--border, #E4E9F1); border-radius: 16px; padding: 26px 24px 24px; transition: transform .25s, box-shadow .25s; }
.rs-step:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -22px rgba(10, 31, 68, .35); }
.rs-step-no { position: absolute; right: 20px; top: 16px; font: 800 2.2rem/1 var(--font-head, 'Poppins', sans-serif); color: #E6EDF9; }
.rs-step-ico { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; background: var(--sky, #EEF4FF); color: var(--primary, #1656C9); margin-bottom: 16px; }
.rs-step-ico svg { width: 26px; height: 26px; }
.rs-step h3 { font-size: 1.06rem; margin-bottom: 8px; }
.rs-step p { color: var(--text-light, #5B6478); font-size: .93rem; line-height: 1.65; }

.rs-dodont { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.rs-list-card { background: #fff; border-radius: 16px; padding: 26px 26px 22px; border: 1px solid var(--border, #E4E9F1); }
.rs-list-card h3 { display: flex; align-items: center; gap: 10px; font-size: 1.15rem; margin-bottom: 16px; }
.rs-list-card h3 .tag { width: 34px; height: 34px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; font-size: 1.05rem; }
.rs-list-card.do { border-top: 4px solid #16A34A; }
.rs-list-card.do .tag { background: #DCFCE7; color: #166534; }
.rs-list-card.dont { border-top: 4px solid #DC2626; }
.rs-list-card.dont .tag { background: #FEE2E2; color: #991B1B; }
.rs-list-card ul li { position: relative; padding: 8px 0 8px 28px; color: #2B3446; font-size: .95rem; line-height: 1.55; border-bottom: 1px dashed #EEF1F6; }
.rs-list-card ul li:last-child { border-bottom: 0; }
.rs-list-card.do ul li::before { content: "✓"; position: absolute; left: 4px; top: 8px; color: #16A34A; font-weight: 800; }
.rs-list-card.dont ul li::before { content: "✕"; position: absolute; left: 4px; top: 8px; color: #DC2626; font-weight: 800; }

.rs-split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.rs-split img { width: 100%; border-radius: 20px; box-shadow: var(--shadow-lg, 0 20px 50px rgba(10, 31, 68, .14)); }
.rs-split h2 { font-size: clamp(1.5rem, 1.4vw + .9rem, 2rem); margin: 8px 0 14px; }
.rs-split p { color: var(--text-light, #5B6478); line-height: 1.75; margin-bottom: 14px; }

.rs-address { background: #fff; border-radius: 16px; padding: 24px; border: 2px dashed #C9D7F2; }
.rs-address h4 { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--primary, #1656C9); margin-bottom: 10px; }
.rs-address p { color: var(--navy, #0A1F44) !important; font-weight: 600; line-height: 1.7; margin: 0 !important; }
.rs-address .btn { margin-top: 14px; }

.rs-note { display: flex; gap: 14px; padding: 18px 20px; border-radius: 14px; background: #FFFBEB; border: 1px solid #FDE68A; color: #78350F; font-size: .94rem; line-height: 1.6; }
.rs-note strong { color: #78350F; }
.rs-note-ico { font-size: 1.3rem; line-height: 1; }

.rs-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.rs-card { background: #fff; border-radius: 16px; padding: 24px 20px; border: 1px solid var(--border, #E4E9F1); text-align: center; }
.rs-card .rs-step-ico { margin: 0 auto 14px; }
.rs-card h3 { font-size: 1rem; margin-bottom: 6px; }
.rs-card p { color: var(--text-light, #5B6478); font-size: .88rem; line-height: 1.6; }

.rs-timeline { position: relative; max-width: 860px; margin: 0 auto; }
.rs-timeline::before { content: ""; position: absolute; left: 25px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--primary, #1656C9), #8FC1FF); }
.rs-tl-item { position: relative; padding: 0 0 26px 74px; }
.rs-tl-item:last-child { padding-bottom: 0; }
.rs-tl-dot { position: absolute; left: 0; top: 0; width: 52px; height: 52px; border-radius: 50%; background: #fff; border: 2px solid var(--primary, #1656C9); color: var(--primary, #1656C9); display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 6px var(--sky, #EEF4FF); }
.rs-tl-dot svg { width: 24px; height: 24px; }
.rs-tl-item h3 { font-size: 1.1rem; margin: 4px 0 6px; }
.rs-tl-item p { color: var(--text-light, #5B6478); line-height: 1.7; font-size: .95rem; }
.rs-tl-item .rs-tl-tag { display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--primary, #1656C9); }

/* reveal on scroll (only when JS adds .rs-js to <html>) */
.rs-js .rs-reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.rs-js .rs-reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .faq-layout { grid-template-columns: 1fr; }
    .faq-side { position: static; }
    .faq-side nav { flex-direction: row; flex-wrap: wrap; }
    .faq-side nav a { padding: 8px 12px; background: #fff; border: 1px solid var(--border, #E4E9F1); }
    .faq-side-cta { display: none; }
    .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .post-layout { grid-template-columns: 1fr; }
    .post-aside { position: static; }
    .rs-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .rs-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
    .rs-hero { padding: 46px 0 40px; }
    .rs-section { padding: 46px 0; }
    .blog-featured { grid-template-columns: 1fr; }
    .blog-featured-img { min-height: 210px; }
    .blog-featured-body { padding: 24px; }
    .blog-grid { grid-template-columns: 1fr; }
    .rs-cta { grid-template-columns: 1fr; padding: 26px 22px; }
    .rs-steps, .rs-dodont, .rs-split, .rs-cards { grid-template-columns: 1fr; }
    .rs-search input { padding-right: 16px; height: 52px; }
    .rs-search button { display: none; }
    .post-hero { padding-bottom: 90px; }
    .post-cover { margin-top: -70px; }
    .rs-prose { font-size: 1rem; }
    .faq-side nav { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; -webkit-overflow-scrolling: touch; }
    .faq-side nav a { white-space: nowrap; flex: 0 0 auto; }
}
@media (prefers-reduced-motion: reduce) {
    .rs-js .rs-reveal { opacity: 1; transform: none; transition: none; }
    .rs-faq-a { transition: none; }
}
