/* Editorial comparison, using the homepage's colours, type and link arrows. */
.tor-panel {color:var(--portal-navy);padding-top:16px;min-width:0;letter-spacing:0}
.tor-title {font-size:40px;max-width:1060px;margin-bottom:36px}
.tor-title span {display:block}
.tor-map-row {--bs-gutter-x:32px;--bs-gutter-y:32px}
.tor-map {margin:0}
.tor-map-image {display:block;position:relative;border-radius:32px}
.tor-map-image>img {width:100%;height:auto;border-radius:inherit}
.tor-map-image .arrow-circle {position:absolute;bottom:20px;right:20px;width:52px;height:52px;background:#fff;border-color:#fff;color:var(--portal-navy)}
.tor-map figcaption {margin-top:20px;font-size:28px;font-weight:600}
/* Both maps are 1440 × 770. Match the dialog to the height-limited image,
   including the body's 12px padding, instead of leaving side gutters. */
.tor-map-modal .modal-dialog {
  width:calc(100% - 32px);
  max-width:min(1440px, calc((100vh - 160px) * 1.87012987 + 24px));
  max-width:min(1440px, calc((100dvh - 160px) * 1.87012987 + 24px));
  margin-inline:auto
}
.tor-map-modal .modal-header {padding:20px 24px}
.tor-map-modal .modal-body {padding:12px}
.tor-map-modal .modal-body>img {display:block;width:100%;height:auto;max-height:calc(100vh - 160px);max-height:calc(100dvh - 160px);object-fit:contain;border-radius:12px}
.tor-conditions {--conditions-pad-x:48px;--conditions-pad-y:48px;--conditions-radius:40px;margin-top:80px;padding:var(--conditions-pad-y) var(--conditions-pad-x);background:var(--portal-pale);border-radius:var(--conditions-radius)}
.tor-conditions-row {--bs-gutter-x:64px;--bs-gutter-y:40px}
.tor-panel h3 {font-size:24px;font-weight:600;line-height:1.3}
.tor-investor-list {list-style:none;padding:0;margin:24px 0 0;font-size:17px;line-height:1.5}
.tor-investor-list li {position:relative;padding:16px 0 16px 24px;border-top:1px solid #d8e8de}
.tor-investor-list li::before {content:'';position:absolute;left:0;top:25px;width:6px;height:6px;background:var(--portal-green-dark);border-radius:50%}
.tor-project {padding:0 0 28px}
.tor-project h3 {font-size:18px;font-weight:400}
.tor-project h3 span {display:block;margin-top:6px;font-size:28px;font-weight:600}
/* Same fact anatomy in both territories: value + unit, then its explanation. */
.tor-project-facts {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:32px;margin:28px 0 0}
.tor-project-facts>div {display:flex;flex-direction:column;align-items:flex-start;min-width:0}
.tor-project-facts dt {font-size:15px;line-height:1.5;font-weight:400;max-width:260px}
.tor-project-facts dd {order:-1;margin:0 0 12px}
.tor-project-facts dd strong {display:block;color:var(--portal-green-dark);font-size:56px;font-weight:500;line-height:1.05}
.tor-project-facts dd span {display:block;margin-top:8px;font-size:17px;line-height:1.3}
.tor-project--zarechny {border-top:1px solid #cbded2;padding-top:28px;padding-bottom:0}
/* A shared accent base, flush with the parent: not two detached cards. */
.tor-common-conditions {padding:32px var(--conditions-pad-x);margin:36px calc(-1 * var(--conditions-pad-x)) calc(-1 * var(--conditions-pad-y));background:#08743e;color:#fff;border-radius:0 0 var(--conditions-radius) var(--conditions-radius);font-size:18px;line-height:1.5}
/* Reuse the upper 5/7 columns and gutters for exact text-edge alignment. */
.tor-common-conditions .tor-conditions-row {--bs-gutter-y:20px}
.tor-common-conditions p {min-width:0;max-width:580px}
.tor-common-conditions strong {font-weight:700}
.tor-benefits {margin-top:80px}
/* One connected three-column matrix, with the exact cell grouping of the prototype. */
.tor-benefits-scroll {max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-color:#7e9d8b var(--portal-pale);border:1px solid var(--portal-line);border-radius:24px;background:var(--portal-pale);isolation:isolate}
.tor-benefits-table {width:100%;min-width:760px;table-layout:fixed;border-collapse:separate;border-spacing:0;background:#fff;color:var(--portal-navy);font-size:20px;line-height:1.4}
.tor-benefits-property {width:18%}
.tor-benefits-table th,.tor-benefits-table td {border:0;border-right:1px solid var(--portal-line);border-bottom:1px solid var(--portal-line);padding:24px 20px;text-align:center;vertical-align:middle}
.tor-benefits-table tr>:last-child {border-right:0}
.tor-benefits-table tbody tr:last-child>* {border-bottom:0}
.tor-benefits-table thead th,.tor-benefits-table thead td,.tor-benefits-table tbody td:first-child {background:var(--portal-pale)}
.tor-benefits-table tbody td:not(:first-child)>strong {color:var(--portal-green-dark)}
.tor-benefits-table th,.tor-benefits-table strong {font-weight:600}
.tor-benefits-table strong,.tor-benefits-table span {display:block}
.tor-benefits-table span {margin-top:20px;font-size:16px;font-weight:400;line-height:1.5}
.tor-benefits-table thead tr:first-child,.tor-benefits-table tbody tr {height:160px}
.tor-benefits-table thead tr:nth-child(2) {height:84px}
.tor-benefits-table tbody td:not(:first-child) span {margin-top:32px}
.tor-benefits-hint {display:none}
.tor-preferences {list-style:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 48px;margin:48px 0 0;padding:0}
.tor-preferences li {position:relative;border-top:1px solid var(--portal-line);padding:24px 0 24px 42px;font-size:18px;line-height:1.5}
.tor-preferences li::before {content:'';position:absolute;left:3px;top:30px;width:12px;height:20px;border:solid var(--portal-green-dark);border-width:0 2px 2px 0;transform:rotate(40deg)}
.tor-infrastructure {display:flex;align-items:center;justify-content:space-between;gap:40px;padding:32px 40px;margin-top:32px;background:var(--portal-navy);color:#fff;border-radius:24px}
.tor-infrastructure p {max-width:980px;font-size:26px;line-height:1.35}
.tor-infrastructure svg {width:64px;height:64px;flex-shrink:0;color:#70c592}
@media(max-width:1199.98px) {
  .tor-title {font-size:32px}
  .tor-conditions {--conditions-pad-x:32px;--conditions-pad-y:32px}
  .tor-conditions-row {--bs-gutter-x:36px}
  .tor-investor-list {font-size:16px}
  .tor-project-facts {gap:24px}
  .tor-project-facts dd strong {font-size:48px}
  .tor-project h3 span {font-size:24px}
  .tor-common-conditions {font-size:16px}
  .tor-benefits-property {width:24%}
  .tor-benefits-table {font-size:18px}
  .tor-benefits-table th,.tor-benefits-table td {padding:20px 14px}
}
@media(max-width:991.98px) {
  .tor-projects {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:32px}
  .tor-project--zarechny {border-top:0;border-left:1px solid #cbded2;padding:0 0 0 28px}
  .tor-project-facts {grid-template-columns:minmax(0,1fr)}
  .tor-project {padding-bottom:0}
}
@media(max-width:767.98px) {
  .tor-panel {padding-top:12px}
  .tor-title {font-size:28px;margin-bottom:24px;overflow-wrap:break-word}
  .tor-map-image {border-radius:24px}
  .tor-map-image .arrow-circle {width:40px;height:40px;right:12px;bottom:12px}
  .tor-map figcaption {font-size:24px;margin-top:14px}
  .tor-conditions {--conditions-pad-x:20px;--conditions-pad-y:24px;--conditions-radius:24px;margin-top:48px}
  .tor-panel h3 {font-size:22px}
  .tor-investor-list {font-size:15px;margin-top:18px}
  .tor-projects {display:block}
  .tor-project h3 {font-size:16px}
  .tor-project h3 span {font-size:24px}
  .tor-project-facts {margin-top:20px;gap:24px}
  .tor-project-facts dt {max-width:none}
  .tor-project-facts dd strong {font-size:40px}
  .tor-project-facts dd span {font-size:16px}
  .tor-project--zarechny {margin-top:28px;padding:28px 0 0;border-left:0;border-top:1px solid #cbded2}
  .tor-common-conditions {padding-block:24px;margin-top:28px;font-size:16px}
  .tor-benefits {margin-top:48px}
  .tor-benefits-scroll {border-radius:16px}
  .tor-benefits-hint {display:block;margin:0 0 16px;font-size:14px;line-height:1.5;color:#63716f}
  .tor-preferences {grid-template-columns:minmax(0,1fr);margin-top:32px}
  .tor-preferences li {font-size:16px;padding:20px 0 20px 32px}
  .tor-preferences li::before {top:25px;width:10px;height:17px}
  .tor-infrastructure {gap:20px;padding:24px;margin-top:20px;align-items:flex-start}
  .tor-infrastructure p {font-size:20px}
  .tor-infrastructure svg {width:32px;height:32px}
}
@media print {
  .tor-benefits-scroll {overflow:visible;border-radius:0}
  .tor-benefits-table {min-width:0}
  .tor-benefits-hint {display:none}
}
