/* =========================================================
   Terms and Conditions page (livewire/other/terms-conditions.blade.php), same design as finalrentals.com:
   dark band with breadcrumb + title, reading column, "On this page" contents on the side.
   Rules copied from .com public/assets/manage/manage.css (mb2-, fr-band, bp-, tc- parts), with this
   site's own font instead of Poppins. The text is cleaned by App\Support\BlogHtml (copied from .com).
   ========================================================= */
.mb2-page {
    --mb-ink: #143635; --mb-ink-dark: #0B2221; --mb-mint: #81FBBF; --mb-mint-soft: #EAF7F0;
    --mb-text: #2F3B3A; --mb-muted: #5A6766; --mb-line: #DCE7E3; --mb-bg-soft: #F4F9F7;
    --mb-error: #C93A3A; --mb-ok: #2E7D57;
    -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
    padding-bottom: 56px; background: #FFFFFF;
}
.mb2-page *, .mb2-page *::before, .mb2-page *::after { box-sizing: border-box; }
.mb2-page [hidden] { display: none !important; }
.mb2-page h1, .mb2-page h2, .mb2-page p { margin: 0; }
.mb2-page .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.main.mb2-wrap { overflow: visible; overflow-x: clip; }
/* same width as the site header (.auto__container: 1296px, 40px / 30px side padding) */
.mb2-container { width: 100%; max-width: 1296px; margin: 0 auto; padding-left: 40px; padding-right: 40px; }
@media (max-width: 1180px) { .mb2-container { padding-left: 30px; padding-right: 30px; } }
.mb2-band { background: var(--mb-ink); padding: 48px 0 0; }
.mb2-title { font-size: 34px; font-weight: 600; line-height: 1.15; letter-spacing: -.02em; color: #FFFFFF; }
.fr-band { position: relative; isolation: isolate;
    background:
        radial-gradient(620px 420px at 8% 0%, rgba(129, 251, 191, .16), transparent 70%),
        radial-gradient(520px 380px at 60% 100%, rgba(129, 251, 191, .10), transparent 70%),
        var(--mb-ink); }
.fr-band::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background-image: radial-gradient(rgba(201, 227, 218, .16) 1px, transparent 1.4px); background-size: 22px 22px;
    -webkit-mask-image: linear-gradient(110deg, #000 0%, rgba(0,0,0,.55) 45%, transparent 75%);
            mask-image: linear-gradient(110deg, #000 0%, rgba(0,0,0,.55) 45%, transparent 75%); }

.bp-crumbs { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; color: var(--mb-muted); }
.bp-crumbs a { color: #2E7D57; text-decoration: none; }
.bp-crumbs a:hover { text-decoration: underline; text-underline-offset: 3px; }
.bp-crumbs svg { color: #A9BDB6; }

.bp-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 64px; align-items: start; padding-top: 40px; }
.bp-side { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 16px; }

/* table of contents */
.bp-toc { border: 1px solid var(--mb-line); border-radius: 16px; padding: 18px 18px 14px; background: #FFFFFF; max-height: calc(100vh - 340px); overflow: auto; }
.bp-toc__title { font-size: 14px; font-weight: 600; color: var(--mb-ink); margin-bottom: 8px !important; }
.bp-toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.bp-toc li { counter-increment: toc; }
.bp-toc a { display: grid; grid-template-columns: 22px 1fr; gap: 6px; padding: 7px 8px; margin: 0 -8px; border-radius: 8px; font-size: 13px; line-height: 1.45; color: #3F4B4A; text-decoration: none; }
.bp-toc a::before { content: counter(toc); font-weight: 600; color: #A9BDB6; }
.bp-toc a:hover { background: var(--mb-bg-soft); color: var(--mb-ink); }
.bp-toc a.is-on { background: var(--mb-mint-soft); color: var(--mb-ink); font-weight: 600; }
.bp-toc a.is-on::before { color: #2E7D57; }

.bp-body { max-width: 760px; font-size: 17px; line-height: 1.8; color: #2F3B3A; overflow-wrap: break-word; }
.bp-body > :first-child { margin-top: 0 !important; }
.bp-body p { margin: 0 0 20px !important; font-size: 17px; line-height: 1.8; color: #2F3B3A; padding: 0; }
.bp-body h2 { margin: 48px 0 14px !important; padding: 0; font-size: 28px; font-weight: 600; line-height: 1.3; letter-spacing: -.01em; color: var(--mb-ink); scroll-margin-top: 110px; }
.bp-body h3 { margin: 32px 0 10px !important; padding: 0; font-size: 21px; font-weight: 600; line-height: 1.4; color: var(--mb-ink); }
.bp-body h4, .bp-body h5, .bp-body h6 { margin: 24px 0 8px !important; font-size: 17px; font-weight: 600; color: var(--mb-ink); }
.bp-body h2 + h3 { margin-top: 18px !important; }
.bp-body strong, .bp-body b { font-weight: 600; color: var(--mb-ink); }
.bp-body em, .bp-body i { font-style: italic; }
.bp-body a { color: var(--mb-ink); font-weight: 500; text-decoration: underline; text-decoration-color: var(--mb-mint); text-decoration-thickness: 2px; text-underline-offset: 3px; margin: 0; }
.bp-body a:hover { text-decoration-color: var(--mb-ink); }
.bp-body ul, .bp-body ol { margin: 0 0 22px !important; padding-left: 24px !important; }
.bp-body ul li { list-style: disc; }
.bp-body ol li { list-style: decimal; }
.bp-body li { margin: 0 0 8px; padding-left: 4px; font-size: 17px; line-height: 1.7; color: #2F3B3A; }
.bp-body li::marker { color: #2E7D57; font-weight: 600; }
.bp-body li > p { margin: 0 0 6px !important; }
.bp-body li > ul, .bp-body li > ol { margin: 8px 0 0 !important; }
.bp-body blockquote { margin: 28px 0 !important; padding: 18px 22px; border-left: 4px solid var(--mb-mint); background: var(--mb-bg-soft); border-radius: 0 14px 14px 0; font-size: 18px; color: var(--mb-ink); }
.bp-body blockquote p:last-child { margin-bottom: 0 !important; }
.bp-body img { max-width: 100% !important; height: auto !important; border-radius: 14px; display: block; margin: 8px auto; }
.bp-body figure { margin: 28px 0 !important; }
.bp-body figcaption { margin-top: 8px; font-size: 13px; color: var(--mb-muted); text-align: center; }
.bp-body hr { border: 0; height: 1px; background: var(--mb-line); margin: 40px 0; }
.bp-body .bp-table { margin: 0 0 24px; overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--mb-line); border-radius: 14px; }
.bp-body table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 15px; background: #FFFFFF; }
.bp-body th, .bp-body thead td { background: var(--mb-ink); color: #FFFFFF; font-weight: 600; text-align: left; padding: 12px 16px; }
.bp-body td { padding: 12px 16px; border-bottom: 1px solid #E8EFEC; vertical-align: top; line-height: 1.55; }
.bp-body tbody tr:nth-child(even) td { background: var(--mb-bg-soft); }
.bp-body tr:last-child td { border-bottom: 0; }
.bp-body .bp-video { position: relative; aspect-ratio: 16 / 9; margin: 0 0 24px; border-radius: 14px; overflow: hidden; background: #000; }
.bp-body .bp-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }


@media (max-width: 1100px) { .bp-layout { grid-template-columns: minmax(0, 1fr) 260px; gap: 40px; } }
@media (max-width: 991px) {
    .bp-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    .bp-side { position: static; }
    .bp-toc { display: none; }
    .bp-body { max-width: none; }
}
@media (max-width: 640px) {
    .bp-layout { padding-top: 24px; }
    .bp-body, .bp-body p, .bp-body li { font-size: 16px; line-height: 1.75; }
    .bp-body h2 { font-size: 23px; margin-top: 36px !important; }
    .bp-body h3 { font-size: 19px; }
}

/* blog article: a line that introduces a list sits close to it; "Label:" at the start of a paragraph reads as a label */
.bp-body p:has(+ ul), .bp-body p:has(+ ol) { margin-bottom: 10px !important; }
.bp-body p > b:first-child, .bp-body p > strong:first-child { color: var(--mb-ink); font-weight: 600; }
.bp-body h3 + p, .bp-body h3 + ul, .bp-body h3 + ol { margin-top: 0 !important; }
.bp-body ul + p, .bp-body ol + p { margin-top: 4px !important; }

/* =========================================================
   Terms and Conditions (tc-), livewire/other/terms-conditions.blade.php
   Uses mb2-* band and the blog article styles (bp-layout, bp-body, bp-toc).
   ========================================================= */
.tc-band .mb2-container { padding-top: 22px; padding-bottom: 40px; }
.tc-crumbs { color: #A9CFC2; }
.tc-crumbs a { color: var(--mb-mint); }
.tc-crumbs span { color: #C9E3DA; }
.tc-title { margin-top: 12px !important; font-size: 36px; }
.tc-sub { margin-top: 8px !important; font-size: 15px; line-height: 1.5; color: rgba(255, 255, 255, .78); }
.tc-lead { margin-top: 10px !important; font-size: 15px; line-height: 1.6; color: #C9E3DA; max-width: 620px; }
.tc-layout { padding-top: 40px; }
.tc-sec { scroll-margin-top: 110px; padding-bottom: 8px; }
.tc-sec + .tc-sec { border-top: 1px solid var(--mb-line); padding-top: 8px; margin-top: 28px; }
.tc-body .tc-sec h2 { margin-top: 24px !important; }
.tc-body .tc-sec:first-child h2 { margin-top: 0 !important; }
.tc-label { display: block; width: fit-content; margin-bottom: 8px; font-size: 12px; font-weight: 600; letter-spacing: .02em; color: #2E7D57; background: var(--mb-mint-soft); border-radius: 999px; padding: 3px 10px; }
.tc-body .tc-clauses { list-style: none; padding-left: 0 !important; }
.tc-body .tc-clauses li { list-style: none; padding: 12px 16px; margin-bottom: 8px; border: 1px solid var(--mb-line); border-radius: 12px; background: #FFFFFF; }
.tc-clause { display: block; font-size: 12.5px; font-weight: 600; color: var(--mb-ink); margin-bottom: 2px; }
.tc-body .tc-list { padding-left: 0 !important; counter-reset: tc; }
.tc-body .tc-list > li { list-style: none; counter-increment: tc; position: relative; padding: 0 0 0 44px; margin-bottom: 14px; }
.tc-body .tc-list > li::before { content: counter(tc); position: absolute; left: 0; top: 1px; width: 28px; height: 28px; border-radius: 50%; background: var(--mb-bg-soft); color: var(--mb-ink); font-size: 12.5px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; }
.tc-help { margin-top: 36px; padding: 20px 22px; border-radius: 16px; background: var(--mb-bg-soft); }
.tc-help .tc-help__title { margin: 0 0 4px !important; font-weight: 600; color: var(--mb-ink); }
.tc-help p:last-child { margin-bottom: 0 !important; }
.tc-print { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; border: 1.5px solid var(--mb-line); border-radius: 10px; background: #FFFFFF; color: var(--mb-ink); font-size: 14px; font-weight: 600; cursor: pointer; }
.tc-print:hover { border-color: var(--mb-ink); background: var(--mb-mint-soft); }
.tc-page .bp-toc { max-height: none; }
@media (max-width: 991px) { .tc-print { display: none; } }
@media (max-width: 640px) {
    .tc-title { font-size: 26px; }
    .tc-lead { font-size: 14px; }
    .tc-layout { padding-top: 24px; }
    .tc-body .tc-list > li { padding-left: 38px; }
    .tc-body .tc-list > li::before { width: 26px; height: 26px; }
}
@media print {
    .tc-band, .bp-side, .tc-help, header, footer { display: none !important; }
    .tc-layout { display: block; padding: 0; }
    .tc-body { max-width: none; font-size: 11pt; }
}

/* Legal pages from the admin (Privacy Policy, Terms of Use): table of contents with h2 + h3, full width when short */
.tc-toc { list-style: none; margin: 0; padding: 0; }
.tc-toc a { display: block; padding: 6px 8px; margin: 0 -8px; border-radius: 8px; font-size: 13px; line-height: 1.45; color: #3F4B4A; text-decoration: none; }
.tc-toc a:hover { background: var(--mb-bg-soft); color: var(--mb-ink); }
.tc-toc a.is-on { background: var(--mb-mint-soft); color: var(--mb-ink); font-weight: 600; }
.tc-toc .tc-toc__l2 > a { font-weight: 600; color: var(--mb-ink); }
.tc-toc .tc-toc__l2 + .tc-toc__l2, .tc-toc .tc-toc__l3 + .tc-toc__l2 { margin-top: 6px; }
.tc-toc .tc-toc__l3 > a { padding-left: 20px; }
.tc-page .bp-toc { max-height: calc(100vh - 140px); }
.tc-layout--full { grid-template-columns: minmax(0, 1fr); }
.tc-body h3 { scroll-margin-top: 110px; }
.tc-body hr { margin: 32px 0; }
.tc-body .bp-table table thead td, .tc-body .bp-table table thead th { background: var(--mb-ink); color: #FFFFFF; }
.tc-body .bp-table table thead strong { color: #FFFFFF; }

.bp-toc .tc-toc a { display: block; grid-template-columns: none; }
.bp-toc .tc-toc a::before { content: none; }

/* Supplier terms: side card (supplier + back to the booking) */
.tc-who { border: 1px solid var(--mb-line); border-radius: 16px; padding: 20px; background: #FFFFFF; }
.tc-who__icon { width: 46px; height: 46px; border-radius: 12px; background: var(--mb-ink); color: var(--mb-mint); display: inline-flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 600; }
.tc-who__name { margin-top: 12px !important; font-size: 16px; font-weight: 600; line-height: 1.35; color: var(--mb-ink); }
.tc-back { margin-top: 14px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 44px; border-radius: 10px; background: var(--mb-ink); color: #FFFFFF; font-size: 14px; font-weight: 600; text-decoration: none; }
.tc-back:hover { background: var(--mb-ink-dark); color: #FFFFFF; }
@media (max-width: 991px) {
    .tc-page .bp-side { order: -1; }
    .tc-who { display: flex; align-items: center; gap: 12px; padding: 12px 14px; }
    .tc-who__icon { width: 38px; height: 38px; font-size: 16px; flex: 0 0 auto; }
    .tc-who__name { margin: 0 !important; flex: 1 1 auto; font-size: 14.5px; }
    .tc-back { margin: 0; width: auto; padding: 0 16px; min-height: 38px; flex: 0 0 auto; }
}

/* ---------- heading: light mint band (this site's design, replaces .com's dark band) ---------- */
.lg-band { background: var(--mb-mint-soft); border-bottom: 1px solid var(--mb-line); }
.lg-band .mb2-container { padding-top: 26px; padding-bottom: 30px; }
.lg-crumbs { color: var(--mb-muted); }
.lg-crumbs span { color: var(--mb-ink); }
.lg-head { display: flex; align-items: center; gap: 14px; margin-top: 14px; }
.lg-icon { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--mb-ink); color: var(--mb-mint); }
.mb2-page .lg-title { margin: 0; font-size: 34px; font-weight: 600; line-height: 1.15; letter-spacing: -.02em; color: var(--mb-ink); }
.mb2-page .lg-sub { margin: 6px 0 0; font-size: 14.5px; line-height: 1.5; color: var(--mb-muted); }
@media (max-width: 640px) {
    .lg-band .mb2-container { padding-top: 18px; padding-bottom: 22px; }
    .lg-head { gap: 12px; margin-top: 10px; }
    .lg-icon { width: 42px; height: 42px; border-radius: 12px; }
    .lg-icon svg { width: 19px; height: 19px; }
    .mb2-page .lg-title { font-size: 25px; }
}
@media print { .lg-band { display: none !important; } }

/* ---------- text sizes: match the live finalrentals.com page (15.5px Poppins body, 23px h2, 18px h3).
   This site uses Inter, which runs wider than Poppins, so the body is 15px to read at the same size. ---------- */
.mb2-page .tc-body, .mb2-page .tc-body p, .mb2-page .tc-body li { font-size: 15px; line-height: 1.75; }
.mb2-page .tc-body p { margin: 0 0 16px !important; }
.mb2-page .tc-body li { margin: 0 0 6px; }
.mb2-page .tc-body h2 { font-size: 23px; line-height: 1.3; margin: 40px 0 12px !important; }
.mb2-page .tc-body h3 { font-size: 18px; line-height: 1.4; margin: 18px 0 8px !important; }
.mb2-page .tc-body h4, .mb2-page .tc-body h5, .mb2-page .tc-body h6 { font-size: 15px; }
.mb2-page .tc-body table { font-size: 14px; }
@media (max-width: 640px) {
    .mb2-page .tc-body, .mb2-page .tc-body p, .mb2-page .tc-body li { font-size: 15px; line-height: 1.7; }
    .mb2-page .tc-body h2 { font-size: 21px; margin-top: 32px !important; }
    .mb2-page .tc-body h3 { font-size: 17px; }
}
