/* =========================================================
   PROPERTY CALCULATORS (Figma 3.0) — Area Converter, Property Investment, Investment Score
   Shared by resources/views/new/calculators/*. Same tokens as the home-loan calculators.
   Sizes are fluid: clamp(phone, scales with the screen, Figma size at a 1920px screen).
========================================================= */
.ct-page {
  --ct-blue: #3f5bb0;
  --ct-purple: #654b91;
  --ct-pink: #c4447d;
  --ct-navy: #17105b;
  --ct-ink: #1f1f2b;
  --ct-text: #4a4a57;
  --ct-muted: #7a7a88;
  --ct-line: #e8e5f0;
  --ct-soft: #f7f5fc;
  --ct-gradient: linear-gradient(90deg, #3f5bb0 0%, #654b91 50%, #c4447d 100%);
  --ct-green: #16794a;

  --ct-h1: clamp(26px, 1.25rem + 2.2vw, 52px);
  --ct-h2: clamp(24px, 2.19vw, 42px);
  --ct-sub: clamp(14px, .94vw, 18px);
  --ct-card-h: clamp(19px, 1.56vw, 30px);
  --ct-label: clamp(14px, .94vw, 18px);
  --ct-input: clamp(15px, 1vw, 19px);
  --ct-big: clamp(30px, 2.92vw, 56px);
  --ct-body: clamp(14px, .94vw, 18px);
  --ct-small: clamp(12px, .73vw, 14px);
  --ct-item-h: clamp(16px, 1.25vw, 24px);

  --ct-gutter: clamp(16px, 4.17vw, 80px);
  --ct-sec-y: clamp(36px, 5vw, 96px);
  color: var(--ct-text);
  background: #fff; /* body is grey (#ededed) and showed through the last section's bottom padding above the footer */
}
.ct-wrap { width: 100%; margin: 0 auto; padding: 0 var(--ct-gutter); }
.ct-sec { padding: var(--ct-sec-y) 0; }
.ct-soft { background: var(--ct-soft); }
.ct-gradient-text { background: var(--ct-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- banner ---------- */
.ct-banner { position: relative; height: clamp(190px, 30vw, 420px); overflow: hidden; }
.ct-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* brand gradient overlay over the bright banner photos: strong enough for the white title, photo still visible */
.ct-banner-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(23,16,91,.72) 0%, rgba(101,75,145,.58) 50%, rgba(196,68,125,.70) 100%); }
/* tablet + desktop: one fixed banner shape (the 2172x724 calculator banners) so every calculator banner is the same
   height; an image with another ratio (area-converter is 2387x659) is cropped by object-fit instead of changing the height.
   Phones keep a min height + crop. */
@media (min-width: 768px) {
  .ct-banner { height: auto; aspect-ratio: 2172 / 724; }
  .ct-banner .ct-banner-inner { position: absolute; inset: 0; } /* .ct-banner prefix: beats the base .ct-banner-inner rule below */
}
.ct-banner-inner { position: relative; height: 100%; display: flex; align-items: center; justify-content: center; padding: 0 16px; text-align: center; }
.ct-banner h1 { margin: 0; color: #fff; font-size: var(--ct-h1); font-weight: 700; line-height: 1.15; letter-spacing: -.5px; text-shadow: 0 2px 18px rgba(0,0,0,.35); }
.ct-banner h1::after { content: ""; display: block; height: clamp(3px, .35vw, 5px); margin-top: clamp(6px, .8vw, 10px); border-radius: 99px; background: linear-gradient(90deg, #4f8cff, #8fb6ff); }

/* ---------- section heading ---------- */
.ct-head { margin-bottom: clamp(20px, 2.2vw, 42px); }
.ct-head h2 { margin: 0; color: var(--ct-ink); font-size: var(--ct-h2); font-weight: 700; line-height: 1.2; }
.ct-head p { max-width: 980px; margin: clamp(8px, .7vw, 12px) 0 0; color: var(--ct-muted); font-size: var(--ct-sub); line-height: 1.5; }
.ct-head.is-center { text-align: center; }
.ct-head.is-center p { margin-left: auto; margin-right: auto; }

/* ---------- calculator card ---------- */
.ct-calc { background: #fff; border: 1px solid var(--ct-line); border-radius: 18px; box-shadow: 0 10px 30px rgba(23,16,91,.05); overflow: hidden; }
.ct-calc > .row { --bs-gutter-x: 0; --bs-gutter-y: 0; }
.ct-pane { padding: clamp(20px, 2.5vw, 48px); }
.ct-pane-result { background: var(--ct-soft); height: 100%; display: flex; flex-direction: column; }
.ct-pane h3 { margin: 0 0 clamp(18px, 1.9vw, 36px); color: var(--ct-ink); font-size: var(--ct-card-h); font-weight: 600; }

.ct-field + .ct-field { margin-top: clamp(18px, 1.6vw, 30px); }
.ct-label { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 10px; color: var(--ct-ink); font-size: var(--ct-label); font-weight: 600; }
.ct-label small { color: var(--ct-muted); font-size: var(--ct-small); font-weight: 500; }
.ct-control { width: 100%; height: clamp(46px, 3.13vw, 60px); padding: 0 16px; border: 1px solid #dcd8e6; border-radius: 10px; background: #fff; color: var(--ct-ink); font-size: var(--ct-input); font-weight: 500; transition: border-color .2s, box-shadow .2s; }
.ct-control:focus { outline: none; border-color: var(--ct-purple); box-shadow: 0 0 0 3px rgba(101,75,145,.15); }
select.ct-control { appearance: none; padding-right: 40px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23654b91' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 18px; }
.ct-prefix { position: relative; }
.ct-prefix > span { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--ct-muted); font-size: var(--ct-input); pointer-events: none; }
.ct-prefix > .ct-control { padding-left: 38px; }

.ct-range { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; margin: 14px 0 6px; border-radius: 99px; background: linear-gradient(90deg, #3f5bb0, #c4447d) 0/var(--fill, 50%) 100% no-repeat, #e6e3ee; cursor: pointer; }
.ct-range::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 18px; height: 18px; border-radius: 50%; border: 3px solid var(--ct-purple); background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.18); }
.ct-range::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; border: 3px solid var(--ct-purple); background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.18); }
.ct-range:focus-visible { outline: 2px solid var(--ct-blue); outline-offset: 4px; }
.ct-minmax { display: flex; justify-content: space-between; color: var(--ct-muted); font-size: var(--ct-small); }

.ct-toggle { display: inline-flex; padding: 3px; border-radius: 99px; background: #efecf6; }
.ct-toggle button { padding: 4px 12px; border: 0; border-radius: 99px; background: transparent; color: var(--ct-muted); font-size: var(--ct-small); font-weight: 600; }
.ct-toggle button.is-on { background: #fff; color: var(--ct-navy); box-shadow: 0 1px 4px rgba(23,16,91,.12); }

.ct-note { display: flex; gap: 12px; margin-top: clamp(18px, 1.6vw, 30px); padding: clamp(12px, 1vw, 18px); border-radius: 10px; background: #fff8ec; color: #6b5420; font-size: var(--ct-small); line-height: 1.5; }
.ct-note svg { flex: 0 0 20px; width: 20px; height: 20px; color: #c99a2e; }

.ct-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: clamp(46px, 3.13vw, 60px); margin-top: clamp(18px, 1.6vw, 30px); border: 0; border-radius: 10px; background: var(--ct-gradient); color: #fff; font-size: clamp(15px, 1.04vw, 20px); font-weight: 600; text-decoration: none; transition: opacity .2s, transform .2s, box-shadow .2s; }
.ct-btn:hover { color: #fff; opacity: .94; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(101,75,145,.25); }

/* result side */
.ct-result-label { margin: 0 0 6px; color: var(--ct-muted); font-size: var(--ct-label); font-weight: 500; }
.ct-result-big { margin: 0; font-size: var(--ct-big); font-weight: 700; line-height: 1.1; word-break: break-word; }
.ct-result-big small { color: var(--ct-ink); font-size: .42em; font-weight: 600; }
.ct-result-box { padding: clamp(16px, 1.6vw, 30px); border-radius: 14px; background: #fff; box-shadow: 0 6px 20px rgba(23,16,91,.05); }
.ct-stats { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(10px, 1vw, 18px); margin-top: clamp(14px, 1.2vw, 22px); }
.ct-stat { padding: clamp(12px, 1vw, 18px); border-radius: 12px; background: #fff; }
.ct-stat span { display: block; color: var(--ct-muted); font-size: var(--ct-small); }
.ct-stat strong { display: block; margin-top: 4px; color: var(--ct-ink); font-size: clamp(17px, 1.25vw, 24px); font-weight: 700; }
.ct-stat strong.is-up { color: var(--ct-green); }
.ct-fine { margin: auto 0 0; padding-top: clamp(14px, 1.2vw, 22px); color: var(--ct-muted); font-size: var(--ct-small); line-height: 1.55; }

/* growth chart (bars from JS) */
.ct-chart { margin-top: clamp(14px, 1.2vw, 22px); padding: clamp(14px, 1.2vw, 22px); border-radius: 14px; background: #fff; }
.ct-chart h4 { margin: 0 0 14px; color: var(--ct-ink); font-size: var(--ct-label); font-weight: 600; }
.ct-bars { display: flex; align-items: flex-end; gap: clamp(8px, 1vw, 18px); height: clamp(150px, 10.4vw, 200px); }
.ct-bar { flex: 1 1 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; min-width: 0; }
.ct-bar i { display: block; width: 100%; max-width: 46px; border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, #8f6fd0, #3f5bb0); opacity: .35; transition: height .35s ease; }
.ct-bar:last-child i { opacity: 1; background: var(--ct-gradient); }
.ct-bar b { margin-bottom: 6px; color: var(--ct-ink); font-size: clamp(10px, .68vw, 13px); font-weight: 600; white-space: nowrap; }
.ct-bar em { margin-top: 6px; color: var(--ct-muted); font-size: clamp(10px, .68vw, 13px); font-style: normal; }

/* ---------- investment score ---------- */
.ct-group + .ct-group { margin-top: clamp(20px, 1.9vw, 36px); }
.ct-group h4 { display: flex; align-items: center; gap: 10px; margin: 0 0 clamp(10px, 1vw, 18px); color: var(--ct-navy); font-size: var(--ct-label); font-weight: 700; }
.ct-group h4::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ct-gradient); }
.ct-factor { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 14px; padding: clamp(6px, .55vw, 10px) 0; }
.ct-factor label { color: var(--ct-ink); font-size: clamp(14px, .83vw, 16px); font-weight: 500; }
.ct-factor output { min-width: 64px; padding: 2px 10px; border-radius: 99px; background: #e9f7ef; color: var(--ct-green); font-size: var(--ct-small); font-weight: 700; text-align: center; }
.ct-factor .ct-range { grid-column: 1 / -1; margin: 8px 0 0; }

.ct-gauge { position: relative; width: clamp(170px, 11.5vw, 220px); aspect-ratio: 1; margin: 0 auto; }
.ct-gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ct-gauge circle { fill: none; stroke-width: 12; }
.ct-gauge .ct-g-bg { stroke: #e6e3ee; }
.ct-gauge .ct-g-fg { stroke: url(#ctGaugeGrad); stroke-linecap: round; transition: stroke-dasharray .4s ease; }
.ct-gauge-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.ct-gauge-center strong { color: var(--ct-ink); font-size: clamp(40px, 3.13vw, 60px); font-weight: 800; line-height: 1; }
.ct-gauge-center span { margin-top: 4px; color: var(--ct-muted); font-size: var(--ct-small); }
.ct-verdict { margin: clamp(12px, 1vw, 18px) 0 0; font-size: clamp(20px, 1.56vw, 30px); font-weight: 700; text-align: center; }
.ct-breakdown { margin-top: clamp(16px, 1.4vw, 26px); }
.ct-breakdown h4 { margin: 0 0 10px; color: var(--ct-ink); font-size: var(--ct-label); font-weight: 600; }
.ct-brow + .ct-brow { margin-top: 12px; }
.ct-brow div { display: flex; justify-content: space-between; color: var(--ct-text); font-size: clamp(13px, .83vw, 16px); }
.ct-brow div b { color: var(--ct-ink); }
.ct-brow .ct-track { height: 6px; margin-top: 6px; border-radius: 99px; background: #e6e3ee; overflow: hidden; }
.ct-brow .ct-track i { display: block; height: 100%; border-radius: 99px; background: var(--ct-gradient); transition: width .35s ease; }

.ct-bands { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(10px, 1vw, 20px); }
.ct-band { padding: clamp(16px, 1.4vw, 26px); border-radius: 14px; background: #fff; border: 1px solid var(--ct-line); border-top: 4px solid var(--band, var(--ct-blue)); }
.ct-band div { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.ct-band strong { color: var(--ct-ink); font-size: clamp(20px, 1.46vw, 28px); font-weight: 800; }
.ct-band span { color: var(--band, var(--ct-blue)); font-size: var(--ct-small); font-weight: 700; text-transform: uppercase; letter-spacing: .4px; }
.ct-band p { margin: 12px 0 0; font-size: clamp(13px, .83vw, 16px); line-height: 1.55; }
@media (max-width: 1199.98px) { .ct-bands { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575.98px) { .ct-bands { grid-template-columns: 1fr; } }

/* ---------- reference table ---------- */
.ct-table-wrap { border: 1px solid var(--ct-line); border-radius: 14px; overflow: hidden; background: #fff; }
.ct-table { width: 100%; min-width: 760px; margin: 0; border-collapse: collapse; }
.ct-table th, .ct-table td { padding: clamp(10px, .9vw, 18px) clamp(12px, 1.04vw, 20px); font-size: clamp(13px, .83vw, 16px); white-space: nowrap; text-align: left; }
/* brand gradient once across the whole header row (on each th it restarted in every column) */
.ct-table thead tr { background: var(--ct-gradient); }
.ct-table thead th { background: transparent; color: #fff; font-weight: 600; }
.ct-table tbody tr:nth-child(even) td { background: #fbfaff; }
.ct-table tbody td { border-top: 1px solid #f0eef5; }
.ct-table tbody td:first-child { color: var(--ct-navy); font-weight: 600; }

/* ---------- chips (related tools / quick conversions) ---------- */
.ct-chips-box { padding: clamp(18px, 1.7vw, 32px); border-radius: 16px; background: #fff; border: 1px solid var(--ct-line); }
.ct-chips-box h3 { margin: 0 0 clamp(12px, 1vw, 20px); color: var(--ct-ink); font-size: var(--ct-item-h); font-weight: 600; }
.ct-chips { display: flex; flex-wrap: wrap; gap: clamp(8px, .7vw, 14px); }
.ct-chip { display: inline-flex; align-items: center; gap: 8px; padding: clamp(8px, .55vw, 11px) clamp(14px, 1vw, 20px); border: 1px solid #ddd8ea; border-radius: 99px; background: #fff; color: var(--ct-ink); font-size: clamp(13px, .89vw, 17px); font-weight: 500; text-decoration: none; cursor: pointer; transition: border-color .2s, color .2s, background .2s; }
.ct-chip:hover, .ct-chip.is-on { border-color: var(--ct-purple); color: var(--ct-purple); background: #f6f2fd; }

/* ---------- info cards + numbered guide ---------- */
.ct-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.4vw, 26px); }
.ct-cards.is-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ct-card { padding: clamp(18px, 1.7vw, 32px); border-radius: 16px; background: #fff; border: 1px solid var(--ct-line); box-shadow: 0 8px 24px rgba(23,16,91,.04); }
.ct-card-ico { display: flex; align-items: center; justify-content: center; width: clamp(40px, 2.6vw, 50px); height: clamp(40px, 2.6vw, 50px); margin-bottom: clamp(12px, 1vw, 18px); border-radius: 12px; background: #f2ebfb; color: var(--ct-purple); }
.ct-card-ico svg { width: 55%; height: 55%; }
.ct-card h3 { margin: 0 0 10px; color: var(--ct-ink); font-size: var(--ct-item-h); font-weight: 600; line-height: 1.3; }
.ct-card p { margin: 0; font-size: var(--ct-body); line-height: 1.6; }
@media (max-width: 1199.98px) { .ct-cards.is-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767.98px) { .ct-cards, .ct-cards.is-4 { grid-template-columns: 1fr; } }

.ct-guide { counter-reset: guide; }
.ct-guide-item { position: relative; padding: clamp(16px, 1.4vw, 26px) 0 clamp(16px, 1.4vw, 26px) clamp(48px, 3.4vw, 64px); border-top: 1px solid var(--ct-line); }
.ct-guide-item:first-child { border-top: 0; }
.ct-guide-item::before { counter-increment: guide; content: counter(guide); position: absolute; left: 0; top: clamp(16px, 1.4vw, 26px); width: clamp(34px, 2.3vw, 44px); height: clamp(34px, 2.3vw, 44px); display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--ct-gradient); color: #fff; font-size: var(--ct-label); font-weight: 700; }
.ct-guide-item h3 { margin: 0 0 8px; color: var(--ct-ink); font-size: var(--ct-item-h); font-weight: 600; }
.ct-guide-item p { margin: 0; font-size: var(--ct-body); line-height: 1.7; }

/* ---------- FAQ ---------- */
.ct-faq.accordion { border: 1px solid var(--ct-line); border-radius: 14px; overflow: hidden; background: #fff; }
.ct-faq .accordion-item { border: 0; border-bottom: 1px solid var(--ct-line); border-radius: 0; }
.ct-faq .accordion-item:last-child { border-bottom: 0; }
.ct-faq .accordion-button { padding: clamp(14px, 1.2vw, 22px) clamp(16px, 1.25vw, 24px); color: var(--ct-ink); font-size: clamp(15px, 1.04vw, 20px); font-weight: 600; background: #fff; box-shadow: none; }
.ct-faq .accordion-button:not(.collapsed) { color: var(--ct-navy); background: #fcfbff; box-shadow: none; }
.ct-faq .accordion-button:focus { box-shadow: none; }
.ct-faq .accordion-button:focus-visible { outline: 2px solid var(--ct-blue); outline-offset: -2px; }
.ct-faq .accordion-body { padding: 0 clamp(16px, 1.25vw, 24px) clamp(16px, 1.25vw, 24px); font-size: var(--ct-body); line-height: 1.7; }

/* ---------- property links by city ---------- */
.ct-city-tabs { display: flex; flex-wrap: nowrap; gap: 8px; margin-bottom: clamp(16px, 1.4vw, 26px); overflow-x: auto; scrollbar-width: none; }
.ct-city-tabs::-webkit-scrollbar { display: none; }
.ct-city-tabs button { flex-shrink: 0; padding: 8px 18px; border: 1px solid #e2e2e2; border-radius: 8px; background: #fff; color: #333; font-size: clamp(13px, .83vw, 16px); font-weight: 500; white-space: nowrap; transition: all .2s; }
.ct-city-tabs button:hover { border-color: var(--ct-pink); color: var(--ct-pink); }
.ct-city-tabs button.is-on { border-color: var(--ct-navy); background: #f0f0fb; color: var(--ct-navy); }
.ct-link-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.4vw, 26px); }
.ct-link-col h3 { margin: 0 0 10px; font-size: clamp(15px, 1.04vw, 20px); font-weight: 600; }
.ct-link-col h3 a { color: var(--ct-ink); text-decoration: none; }
.ct-link-col h3 a:hover { color: var(--ct-purple); }
.ct-link-col ul { margin: 0; padding: 0; list-style: none; }
.ct-link-col li + li { margin-top: 8px; }
.ct-link-col li a { color: var(--ct-text); font-size: clamp(13px, .89vw, 17px); text-decoration: none; }
.ct-link-col li a:hover { color: var(--ct-blue); text-decoration: underline; }
@media (max-width: 767.98px) { .ct-link-cols { grid-template-columns: 1fr; } }

/* ---------- property + blog cards ---------- */
.ct-grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.25vw, 24px); }
@media (max-width: 1199.98px) { .ct-grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575.98px) { .ct-grid4 { grid-template-columns: 1fr; } }
.ct-prop { display: flex; flex-direction: column; overflow: hidden; border-radius: 16px; background: #fff; border: 1px solid var(--ct-line); color: inherit; text-decoration: none; transition: transform .3s, box-shadow .3s; }
.ct-prop:hover { color: inherit; transform: translateY(-4px); box-shadow: 0 14px 30px rgba(23,16,91,.1); }
.ct-prop-img { aspect-ratio: 16 / 10; background: #eee center / cover no-repeat; }
.ct-prop-body { display: flex; flex-direction: column; flex: 1; padding: clamp(14px, 1.25vw, 24px); }
.ct-prop-body h3 { margin: 0; overflow: hidden; color: var(--ct-ink); font-size: clamp(16px, 1.15vw, 22px); font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.ct-prop-body .ct-place { margin: 6px 0 0; overflow: hidden; color: var(--ct-muted); font-size: var(--ct-small); text-overflow: ellipsis; white-space: nowrap; }
.ct-prop-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 14px; }
.ct-prop-foot span { display: block; color: var(--ct-muted); font-size: clamp(11px, .63vw, 12px); text-transform: uppercase; letter-spacing: .3px; }
.ct-prop-foot strong { color: var(--ct-ink); font-size: clamp(15px, 1.04vw, 20px); font-weight: 700; }
.ct-prop-foot em { color: var(--ct-purple); font-size: var(--ct-small); font-style: normal; font-weight: 600; white-space: nowrap; }
.ct-blog { display: block; overflow: hidden; border-radius: 16px; background: #fff; border: 1px solid var(--ct-line); color: inherit; text-decoration: none; transition: transform .3s, box-shadow .3s; }
.ct-blog:hover { color: inherit; transform: translateY(-4px); box-shadow: 0 14px 30px rgba(23,16,91,.1); }
.ct-blog-img { aspect-ratio: 16 / 9; background: #eee center / cover no-repeat; }
.ct-blog div:last-child { padding: clamp(14px, 1.25vw, 22px); }
.ct-blog h3 { display: -webkit-box; margin: 0; overflow: hidden; color: var(--ct-ink); font-size: clamp(15px, .94vw, 18px); font-weight: 600; line-height: 1.35; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.ct-blog time { display: block; margin-top: 8px; color: var(--ct-muted); font-size: var(--ct-small); }

/* "Schedule a visit" block (styles from home.css) needs the page gutter here */
.ct-page .ra-contact-section { padding-left: var(--ct-gutter); padding-right: var(--ct-gutter); }

/* Figma sizes for the shared "Schedule a visit" block (same values as on Home), the result heading
   and the reference table header — desktop 1200px+, scaling up to the Figma size at 1920px */
@media (min-width: 1200px) {
  .ct-page .ra-contact-title { font-size: clamp(28px, 2.224vw, 42.7px); }
  .ct-page .ra-contact-sub { font-size: clamp(21px, 1.776vw, 34.1px); }
  .ct-page .ra-expert-body h3 { font-size: clamp(20px, 1.6667vw, 32px); }
  .ct-page .ra-expert-desc { font-size: clamp(14px, 1.1458vw, 22px); }
  .ct-page .ra-call-label, .ct-page .ra-call-phone { font-size: clamp(12px, 1.2083vw, 23.2px); }
  .ct-page .ra-expert-email p, .ct-page .ra-expert-email a { font-size: clamp(14px, 1.2344vw, 23.7px); }
  .ct-page .ra-contact-form .ra-line-input { font-size: clamp(14px, 1.1406vw, 21.9px); }
  .ct-page .ra-contact-form .ra-consent { font-size: clamp(14px, 1.0938vw, 21px); }
  .ct-page .ra-contact-form .ra-submit { font-size: clamp(16px, 1.2813vw, 24.6px); }
}
.ct-result-title { margin: 0 0 10px; color: var(--ct-ink); font-size: clamp(17px, 1.2vw, 23px); font-weight: 600; }
.ct-table thead th { font-size: clamp(14px, .94vw, 18px); }

/* ---------- Area Converter content (Nov 2026): only page tokens, no new font family ---------- */
/* long banner title ("Area Converter Calculator for Investors: One Plot, Every Unit, Zero Guesswork") */
.ct-banner h1.ct-h1-long { max-width: 1100px; font-size: clamp(22px, 1rem + 1.8vw, 46px); }
.ct-head p strong, .ct-card p strong, .ct-guide-item p strong { color: var(--ct-ink); font-weight: 600; }
/* three result tiles side by side (Square Yard / Acre / Hectare) */
.ct-stats.is-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ct-stats.is-3 .ct-stat strong { font-size: clamp(15px, 1.1vw, 22px); word-break: break-word; }
@media (max-width: 399.98px) { .ct-stats.is-3 { grid-template-columns: 1fr; } }
.ct-result-hint { margin: clamp(14px, 1.2vw, 22px) 0 0; color: var(--ct-text); font-size: var(--ct-small); font-weight: 500; line-height: 1.55; }
.ct-result-hint + .ct-fine { margin-top: 0; padding-top: 8px; }
.ct-fine a, .ct-cta p a { color: var(--ct-purple); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.ct-fine a:hover, .ct-cta p a:hover { color: var(--ct-pink); }
/* explanation under "Most Searched Conversions" */
.ct-chips-note { margin: clamp(14px, 1.2vw, 22px) 0 0; font-size: var(--ct-body); line-height: 1.7; }
/* no italic: the slanted last letter ran into the following space ("Feet means" looked like "Feetmeans") */
.ct-chips-note em { color: var(--ct-ink); font-style: normal; font-weight: 600; }
/* plain paragraphs ("Why Converting Land Area Pays Off…") */
.ct-prose { max-width: 1100px; }
.ct-prose p { margin: 0; font-size: var(--ct-body); line-height: 1.75; }
.ct-prose p + p { margin-top: clamp(12px, 1vw, 18px); }
/* two cards side by side ("Why Converting Land Area Pays Off…"); stacked below 768px like .ct-cards */
.ct-cards.is-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ct-cards.is-2 .ct-card { position: relative; overflow: hidden; }
.ct-cards.is-2 .ct-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--ct-gradient); }
@media (max-width: 767.98px) { .ct-cards.is-2 { grid-template-columns: 1fr; } }
/* guide whose headings already carry "1." "2." "3.": no number badge, no left indent */
.ct-guide.is-plain .ct-guide-item { padding-left: 0; }
.ct-guide.is-plain .ct-guide-item::before { content: none; }
/* closing call to action, right above the "Schedule a visit" form */
.ct-cta { padding: clamp(22px, 2.5vw, 48px); border-radius: 18px; background: var(--ct-soft); border: 1px solid var(--ct-line); border-left: 5px solid var(--ct-purple); }
.ct-cta h2 { margin: 0 0 10px; color: var(--ct-ink); font-size: var(--ct-h2); font-weight: 700; line-height: 1.2; }
.ct-cta p { margin: 0; font-size: var(--ct-sub); line-height: 1.6; }
/* investment score: tick-box checklist (one fieldset per pillar) */
fieldset.ct-group { min-width: 0; margin: 0; padding: 0; border: 0; }
fieldset.ct-group > legend { float: none; width: 100%; margin: 0; padding: 0; font-size: inherit; }
.ct-check { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; margin: 0; padding: 10px 14px; border: 1px solid var(--ct-line); border-radius: 10px; background: #fff; cursor: pointer; transition: border-color .15s, background-color .15s; }
.ct-check + .ct-check { margin-top: 8px; }
.ct-check input { width: 18px; height: 18px; margin: 0; accent-color: var(--ct-purple); cursor: pointer; }
.ct-check span { color: var(--ct-ink); font-size: clamp(14px, .83vw, 16px); font-weight: 500; }
.ct-check output { min-width: 64px; padding: 2px 10px; border-radius: 99px; background: #f1f0f5; color: var(--ct-muted); font-size: var(--ct-small); font-weight: 700; text-align: center; }
.ct-check:has(input:checked) { border-color: #cfc6e6; background: #faf8ff; }
.ct-check:has(input:checked) output { background: #e9f7ef; color: var(--ct-green); }
.ct-check:focus-within { outline: 2px solid var(--ct-blue); outline-offset: 2px; }
.ct-card p a { color: var(--ct-purple); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
/* calculator intro (H2 + first paragraph): paragraph runs the full width like the heading */
.ct-head.is-full p { max-width: none; }
/* "Trending Properties": heading with arrows on the right, cards scroll sideways (4 / 2 / 1.15 per view) */
.ct-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.ct-slider-nav { display: flex; flex: 0 0 auto; gap: 10px; }
.ct-slider-btn { width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; padding: 0 0 3px; border: 1px solid var(--ct-line); border-radius: 50%; background: #fff; color: var(--ct-ink); font-size: 26px; line-height: 1; transition: background-color .2s, color .2s, opacity .2s; }
.ct-slider-btn:hover:not(:disabled) { background: var(--ct-purple); border-color: var(--ct-purple); color: #fff; }
.ct-slider-btn:disabled { opacity: .35; cursor: default; }
.ct-slider { --ct-gap: clamp(14px, 1.25vw, 24px); display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * var(--ct-gap)) / 4); gap: var(--ct-gap); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 6px 0 10px; scrollbar-width: none; }
.ct-slider::-webkit-scrollbar { display: none; }
.ct-slider > .ct-prop { scroll-snap-align: start; }
.ct-slider:focus-visible { outline: 2px solid var(--ct-blue); outline-offset: 4px; }
@media (max-width: 1199.98px) { .ct-slider { grid-auto-columns: calc((100% - var(--ct-gap)) / 2); } }
@media (max-width: 575.98px) { .ct-slider { grid-auto-columns: 85%; } .ct-slider-btn { width: 36px; height: 36px; font-size: 22px; } }
