/* DeoDap Franchise — custom styles (verbatim from the original design). */
html { scroll-behavior: smooth; }
.brand-gradient { background: linear-gradient(135deg,#e11d3f 0%,#ff5470 100%); }
.brand-text { background: linear-gradient(135deg,#e11d3f,#ff5470); -webkit-background-clip: text; background-clip: text; color: transparent; }
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.faq-body { max-height: 0; overflow: hidden; transition: max-height .35s ease; }

/* Hero slider — the headline/sub-headline are swapped per slide, so a longer
   admin Title used to grow the whole section. Both blocks are line-clamped
   (safety net for very long copy) and given a reserved min-height measured in
   JS from the tallest slide, so the section height is identical on every slide.
   The small padding-bottom keeps descenders (y, g, p) off the clip edge and is
   subtracted back out of the margin so the spacing rhythm is unchanged. */
.hero-clamp { display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
.hero-clamp-title { -webkit-line-clamp: 3; padding-bottom: .06em; margin-bottom: calc(1.25rem - .06em); }
.hero-clamp-sub { -webkit-line-clamp: 2; padding-bottom: .12em; margin-bottom: calc(2rem - .12em); }

/* Legal pages — prose styling for admin-managed section bodies */
.legal-body p { margin: 12px 0 0; color: #4a5568; line-height: 1.7; font-size: 15.5px; }
.legal-body p:first-child { margin-top: 0; }
.legal-body ul { margin: 14px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.legal-body ul li { position: relative; padding-left: 22px; color: #4a5568; line-height: 1.65; font-size: 15.5px; }
.legal-body ul li::before { content: ""; position: absolute; left: 0; top: 9px; width: 7px; height: 7px; border-radius: 999px; background: #e11d3f; }
.legal-body ol { margin: 14px 0 0; padding-left: 22px; display: flex; flex-direction: column; gap: 12px; color: #4a5568; line-height: 1.65; font-size: 15.5px; }
.legal-body ol li { padding-left: 6px; }
.legal-body ol li::marker { color: #e11d3f; font-weight: 700; }
.legal-body a { color: #e11d3f; }
.legal-body strong { color: #12161f; }

/* Rich content blocks (admin-managed) — About page etc. Red-dot bullets,
   spaced paragraphs, styled headings/links so anything typed in the admin
   rich editor renders on-brand. */
.rich-content > :first-child { margin-top: 0; }
.rich-content p, .rich-content div { margin: 0 0 16px; color: #4a5568; line-height: 1.7; font-size: 16px; }
.rich-content p:last-child, .rich-content div:last-child { margin-bottom: 0; }
.rich-content h2, .rich-content h3 { color: #12161f; font-family: 'Sora', sans-serif; font-weight: 800; letter-spacing: -.5px; margin: 22px 0 10px; }
.rich-content h2 { font-size: clamp(22px,3vw,30px); }
.rich-content h3 { font-size: 19px; }
.rich-content ul { margin: 14px 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.rich-content ul li { position: relative; padding-left: 22px; color: #4a5568; line-height: 1.6; font-size: 16px; }
.rich-content ul li::before { content: ""; position: absolute; left: 0; top: 9px; width: 9px; height: 9px; border-radius: 999px; background: #e11d3f; }
.rich-content ol { margin: 14px 0; padding-left: 22px; display: flex; flex-direction: column; gap: 12px; color: #4a5568; line-height: 1.6; font-size: 16px; }
.rich-content ol li::marker { color: #e11d3f; font-weight: 700; }
.rich-content a { color: #e11d3f; }
.rich-content strong, .rich-content b { color: #12161f; }
/* Centered variant (About founding story) */
.rich-content.text-center ul { display: inline-flex; text-align: left; }

/* Legal TOC (on this page) hover/active */
.toc-link { border-left: 2px solid transparent; margin-left: -2px; transition: color .2s, border-color .2s; }
.toc-link:hover, .toc-link.active { color: #e11d3f; border-left-color: #e11d3f; }

::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-thumb { background: #cbd2dc; border-radius: 8px; border: 3px solid #fff; }
