#project-to-home .compare-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
}
#featured-built-houses {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
#featured-built-houses button {
  appearance: none;
  margin: 0;
  padding: 0 14px;
  min-height: 44px;
  border: 1px solid #c9d3d2;
  border-radius: 22px;
  background: white;
  color: #192f40;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  pointer-events: auto;
  transition: background-color 150ms ease, color 150ms ease;
}
#featured-built-houses button[aria-pressed="true"] {
  background: #192f40;
  border-color: #192f40;
  color: white;
}
@media (hover: hover) {
  #featured-built-houses button[aria-pressed="false"]:hover {background: #eef4f2;}
}
#featured-built-houses button:focus-visible {outline: 3px solid #22678c; outline-offset: 2px;}
#project-to-home .compare-labels svg {display:block; width:18px; height:18px; flex:none;}
#project-to-home .compare[data-visible-pair="gagarin"] .compare-render {--pair-image-y:calc(-47.832% + min(12px,1vw));}
@media (max-width: 600px) {
  #featured-built-houses button {padding: 0 12px; font-size: 14px;}
}
@media (prefers-reduced-motion: reduce) {
  #featured-built-houses button {transition: none;}
}
#built .built-catalog-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #173747;
  font: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}
#built .built-catalog-link:focus-visible {outline: 3px solid #22678c; outline-offset: 2px;}
#built .viewer-mobile-actions > .built-catalog-link {grid-column: 1 / -1; justify-self: start;}

#project-to-home .compare[data-visible-pair="kalistro"] .compare-layer > img { object-position: center; transform-origin: center; }
#project-to-home .compare[data-visible-pair="kalistro"] .compare-render { transform: scale(1.018); }
#project-to-home .compare[data-visible-pair="kalistro"] .compare-photo { transform: translate(0.4084%, -0.8539%) scale(1.039144); }

#project-to-home .compare[data-visible-pair="merez"] .compare-layer > img { object-position: center; transform-origin: center; }
#project-to-home .compare[data-visible-pair="merez"] .compare-render { transform: scale(1.035); }
#project-to-home .compare[data-visible-pair="merez"] .compare-photo { transform: translate(-0.7981%, -1.2228%) scale(1.041693); }

/* Homepage only. Keep the existing links, typography and project controls. */
#projects.wrap.block {
  padding-block-start: clamp(16px, 2.2vw, 32px);
}
#services.ksj-section .ksj-body {
  width: 100%;
  max-width: none;
  min-width: 0;
  box-sizing: border-box;
}
#services.ksj-section .ks-quick-header {
  text-align: left;
  margin-bottom: clamp(18px, 2.1vw, 32px);
}
#services.ksj-section .ks-quick-header h2 {
  font-size: clamp(29px, 3.45vw, 52px);
  letter-spacing: -.045em;
  text-align: start;
}
#services.ksj-section .ks-start-studio {
  box-sizing: border-box;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: clamp(20px, 3.5vw, 52px);
  padding: clamp(22px, 3.4vw, 50px);
  background: #f3f5f4;
  border-radius: 8px;
}
#services.ksj-section .ks-start-studio h3 {
  font-size: clamp(26px, 2.45vw, 38px);
  line-height: 1.1;
  letter-spacing: -.035em;
}
#services.ksj-section .ks-start-studio .lead {margin-top: 14px; max-width: 33ch}
#services.ksj-section .ks-start-studio .copy {max-width: 49ch}
#services.ksj-section .ks-start-studio .scene {width: 100%}
#services.ksj-section .ks-start-studio .scene img {mix-blend-mode: multiply}
#services.ksj-section .ksj-more {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(20px, 3vw, 48px);
  padding: 0;
  margin: clamp(22px, 2.5vw, 38px) 0 0;
}
#services.ksj-section .ksj-more a.ksj-service {
  display: grid;
  grid-template-columns: clamp(88px, 9vw, 136px) minmax(0, 1fr) 28px;
  grid-template-rows: auto;
  align-items: center;
  grid-column: auto;
  grid-row: auto;
  gap: clamp(14px, 1.5vw, 24px);
  padding: 14px 0;
  margin: 0;
  min-height: 0;
  border: 0;
  border-bottom: 1px solid #d6dedf;
  background: transparent;
  text-decoration: none;
}
#services.ksj-section .ksj-more a.ksj-service .ksj-scene {
  grid-area: 1 / 1;
  width: 100%;
  aspect-ratio: 1.5;
  height: auto;
  margin: 0;
  border-radius: 4px;
  overflow: hidden;
}
#services.ksj-section .ksj-more .ksj-scene img {width: 100%; height: 100%; object-fit: cover}
#services.ksj-section .ksj-more a.ksj-service h3 {
  grid-area: 1 / 2;
  max-width: none;
  margin: 0;
  font-size: clamp(19px, 1.65vw, 26px);
  line-height: 1.18;
  letter-spacing: -.025em;
  text-wrap: pretty;
}
#services.ksj-section .ksj-more a.ksj-service .ksj-arrow {
  grid-area: 1 / 3;
  position: static;
  inset: auto;
  justify-self: end;
  color: #254856;
  background: transparent;
  transition: transform .18s ease-out;
}
#services.ksj-section .ksj-more #all-link {
  grid-column: 1 / -1;
  grid-row: auto;
  justify-self: start;
  width: auto;
  min-height: 44px;
  padding: 8px 0;
  margin-top: 12px;
  gap: 12px;
  background: transparent;
  border: 0;
}
#services :is(a, button):focus-visible {outline: 2px solid #30647a; outline-offset: 3px}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  #services.ksj-section .ksj-more a.ksj-service:hover .ksj-arrow {transform: translateX(2px)}
}
@media (max-width: 760px) {
  #services.ksj-section .ks-start-studio {display: flex; align-items: stretch; gap: 0; padding: 22px 18px}
  #services.ksj-section .ks-start-studio article {display: contents}
  #services.ksj-section .ks-start-studio .scene {order: 1; width: min(100%, 460px); margin: 12px auto 0}
  #services.ksj-section .ks-start-studio .gift {order: 2}
  #services.ksj-section .ks-start-studio .cta {order: 3; align-self: flex-start}
  #services.ksj-section .ksj-more {grid-template-columns: 1fr; margin-top: 12px}
  #services.ksj-section .ksj-more a.ksj-service {grid-template-columns: 78px minmax(0, 1fr) 20px; gap: 14px}
  #services.ksj-section .ksj-more a.ksj-service h3 {font-size: clamp(17px, 4.6vw, 21px)}
  #services.ksj-section .ksj-more #all-link {margin-top: 8px}
}

.guides[data-guide-photos] .guide-grid {
  display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,1fr);
  gap: 0 clamp(28px, 4vw, 64px); align-items: stretch;
}
.guides[data-guide-photos] a.guide {
  display: grid; grid-template-columns: minmax(108px,.78fr) minmax(0,1fr);
  grid-template-rows: auto auto; column-gap: clamp(16px,2vw,28px);
  align-content: center; align-items: end; border: 0; border-radius: 0;
  padding: 16px 0; margin: 0; min-height: 0; min-width: 0;
  text-decoration: none; color: inherit; background: transparent; box-shadow: none;
}
.guides[data-guide-photos] a.guide + a.guide {border-bottom: 1px solid #d9e0e1}
.guides[data-guide-photos] .guide .guide-photo {
  display: block; margin: 0; grid-column: 1; grid-row: 1 / 3;
  width: 100%; aspect-ratio: 1.72; overflow: hidden; border-radius: 5px;
  align-self: center;
}
.guides[data-guide-photos] .guide img {
  display: block; width: 100%; height: 100%; object-fit: cover;
}
.guides[data-guide-photos] a.guide strong {
  display: block; grid-area: 1 / 2; margin: 0; font-size: clamp(19px,1.65vw,26px);
  line-height: 1.15; letter-spacing: -.032em; text-wrap: pretty;
}
.guides[data-guide-photos] a.guide .guide-caption {
  margin: 6px 0 0; grid-area: 2 / 2; align-self: start;
  font-size: clamp(14px,1.06vw,16px); color: #47606b; line-height: 1.4;
}
.guides[data-guide-photos] .guide:first-child {
  grid-row: 1 / 3; grid-column: 1; display: flex; flex-direction: column;
  gap: 0; align-items: stretch; padding: 0;
}
.guides[data-guide-photos] .guide:first-child .guide-photo {aspect-ratio: 2.38; margin-bottom: 14px}
.guides[data-guide-photos] .guide:first-child img {object-position: 50% 57%}
.guides[data-guide-photos] .guide:first-child strong {font-size: clamp(24px,2.1vw,32px)}
.guides[data-guide-photos] .guide:hover,.guides[data-guide-photos] .guide:focus-visible {background: transparent; box-shadow:none}
.guides[data-guide-photos] .guide:focus-visible {outline:2px solid #265a78;outline-offset:4px}
@media (hover:hover) and (prefers-reduced-motion:no-preference) {
  .guides[data-guide-photos] .guide img {transition:transform 240ms ease-out}
  .guides[data-guide-photos] .guide:hover img {transform: scale(1.025)}
}
@media (max-width:800px) {
  .guides[data-guide-photos] .guide-grid {grid-template-columns: minmax(0,1fr)}
  .guides[data-guide-photos] .guide:first-child {grid-row:auto; grid-column:auto; padding-bottom:18px; border-bottom:1px solid #d9e0e1}
  .guides[data-guide-photos] .guide:first-child .guide-photo {aspect-ratio:2.05; margin-bottom:12px}
  .guides[data-guide-photos] a.guide {grid-template-columns:clamp(84px,24%,144px) minmax(0,1fr); gap:0 16px; padding:14px 0}
  .guides[data-guide-photos] .guide .guide-photo {aspect-ratio:1.32}
  .guides[data-guide-photos] a.guide strong {font-size:clamp(18px,4.5vw,22px)}
  .guides[data-guide-photos] a.guide .guide-caption {font-size:14px; margin-top:4px}
}
.guides[data-guide-photos] {scroll-margin-top: 76px}
@media (max-width:800px) {
  .guides[data-guide-photos] .section-head {align-items:flex-start; gap:8px; margin-bottom:16px}
  .guides[data-guide-photos] .section-head h2 {margin-bottom:0}
}

#services.ksj-section .ks-start-studio {background:#e5edef}
#services.ksj-section .ks-start-studio .scene img {mix-blend-mode:normal}
#services.ksj-section .ks-start-studio[data-start-photo] {background:#eef0e8}
#services.ksj-section .ks-start-studio[data-start-photo] .scene {aspect-ratio:1.65; border-radius:5px}
#services.ksj-section .ks-start-studio[data-start-photo] .scene img {width:100%;height:100%;object-fit:cover;object-position:50% 54%}

#home-hero .topic-choices {
  grid-area: stories;
  align-self: end;
  position: relative;
  z-index: 1;
  width: min(442px,100%);
  min-width: 0;
  background: #192e37;
  border-radius: 7px;
  overflow: hidden;
  color: white;
  text-align: left;
}
.topic-choices .tc-entry {position:relative; isolation:isolate; overflow:hidden}
.topic-choices .tc-entry + .tc-entry {border-top:1px solid rgb(255 255 255 / .13)}
.topic-choices .tc-photo {position:absolute; z-index:-2; right:0; top:0; width:68%; height:100%; object-fit:cover; pointer-events:none; transition:transform .42s ease-out}
.topic-choices .tc-entry::before {content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#192e37 18%,#192e37ed 42%,#192e3770 72%,#12222c40)}
#home-hero .topic-choices .tc-head {display:flex;justify-content:space-between;align-items:center;gap:12px;width:100%;min-height:50px;padding:12px 16px;border:0;border-radius:0;color:white;background:transparent;appearance:none;box-shadow:none;font:inherit;font-size:clamp(15px,1.1vw,17px);font-weight:600;line-height:1.24;text-align:left;cursor:pointer;-webkit-tap-highlight-color:transparent}
.topic-choices .tc-shortname,.topic-choices .tc-detail-photo {display:none}
.topic-choices .service-chevron {width:20px;height:20px;flex:none;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8;transition:transform .3s ease}
.topic-choices .tc-head[aria-expanded=true] .service-chevron {transform:scaleY(-1)}
#home-hero .topic-choices .tc-head:focus-visible {outline:none}
#home-hero .topic-choices .tc-head:focus-visible .service-chevron {outline:2px solid #fff;outline-offset:3px;border-radius:2px}
.topic-choices .tc-panel {display:grid;grid-template-rows:0fr;visibility:hidden;transition:grid-template-rows .35s cubic-bezier(.2,.7,.25,1),visibility 0s .35s}
.topic-choices .tc-panel[data-open] {grid-template-rows:1fr;visibility:visible;transition-delay:0s}
.topic-choices .tc-clip {min-height:0;overflow:hidden}
.topic-choices .tc-body {padding:2px 16px 8px;opacity:0;transform:translateY(4px);transition:opacity .2s,transform .25s}
.topic-choices .tc-panel[data-open] .tc-body {opacity:1;transform:none}
.topic-choices .tc-entry:has([data-open]) .tc-photo {transform:scale(1.035)}
#home-hero .topic-choices .tc-copy {max-width:24ch;font:inherit;font-weight:450;font-size:14px;line-height:1.4;color:white;margin:0}
#home-hero .topic-choices .tc-link {display:inline-flex;align-items:center;gap:7px;min-height:44px;margin-top:3px;color:white;font:inherit;font-size:14px;font-weight:600;text-decoration:none}
#home-hero .topic-choices .tc-link:hover {text-decoration:underline;text-underline-offset:4px}
#home-hero .topic-choices .tc-link:focus-visible {outline:2px solid white;outline-offset:2px}
@media(max-width:700px){#home-hero .topic-choices .tc-copy {max-width:21ch}#home-hero .topic-choices .tc-head {min-height:48px}}
@media(prefers-reduced-motion:reduce){#home-hero .topic-choices :is(.tc-panel,.tc-photo,.tc-body,.service-chevron){transition:none}}

/* Compact project finder, scoped to the homepage preview. */
#projects #gas-collections.ks-quickline {
  --ql-ink:#16364b;--ql-accent:#225879;--ql-action:#15384e;--ql-muted:#475c6a;
  --ql-rule:#ccd6df;--ql-surface:#f4f6f8;--ql-hover:#e9eff4;
  display:grid;grid-template-columns:minmax(170px,1fr) max-content max-content max-content max-content;
  grid-template-areas:"intro area floor more go";align-items:center;gap:0 clamp(11px,1.5vw,27px);
  margin:clamp(24px,3vw,46px) 0 0;padding:16px clamp(14px,1.65vw,26px);width:100%;max-width:none;min-height:0;
  border:1px solid var(--ql-rule);border-radius:8px;color:var(--ql-ink);
  background:var(--ql-surface);box-shadow:none;
  text-align:left;scroll-margin-top:clamp(150px,27vh,250px);
}
#gas-collections.ks-quickline :where(button,summary,select,a):focus-visible {outline:2px solid #22678c;outline-offset:2px}
#projects #gas-collections.ks-quickline:focus {outline:none}
#gas-collections.ks-quickline .ql-short {display:none}
#gas-collections.ks-quickline .qp-intro {grid-area:intro;display:flex;align-items:center;gap:11px;margin:0;min-width:0}
#gas-collections.ks-quickline .ql-icon {display:block;flex:none;fill:none;stroke:currentColor;stroke-width:1.45;stroke-linecap:round;stroke-linejoin:round}
#gas-collections.ks-quickline .ql-mark {width:43px;height:43px;color:var(--ql-accent)}
#gas-collections.ks-quickline h2 {margin:0;max-width:none;line-height:1.04;font-size:clamp(20px,1.7vw,26px);font-weight:650;color:var(--ql-ink);letter-spacing:-.042em;text-wrap:balance}
#gas-collections.ks-quickline .qp-intro p {margin:5px 0 0;font:inherit;font-size:13px;color:var(--ql-muted);line-height:1.25}
#gas-collections.ks-quickline .qp-presets {display:contents}
#gas-collections.ks-quickline fieldset {float:none;margin:0;padding:0;border:0;min-width:0}
#gas-collections.ks-quickline .qp-presets fieldset:first-child {grid-area:area}
#gas-collections.ks-quickline .qp-presets fieldset:nth-child(2) {grid-area:floor}
#gas-collections.ks-quickline .qp-label {display:block;margin:0 0 5px;padding:0;font-size:13px;line-height:1.22;color:var(--ql-muted);font-weight:570}
#gas-collections.ks-quickline .qp-choices {display:flex;align-items:stretch;flex-wrap:nowrap;gap:0;border:1px solid var(--ql-rule);border-radius:5px;background:#fff;overflow:visible;padding:0}
#gas-collections.ks-quickline .qp-choices button {
  position:relative;display:inline-flex;align-items:center;justify-content:center;gap:6px;white-space:nowrap;box-shadow:none;
  margin:0;min-width:0;min-height:44px;padding:0 clamp(8px,.79vw,15px);height:auto;flex:1 1 auto;
  background:transparent;border:0;border-radius:4px;color:var(--ql-ink);font-family:inherit;font-weight:550;font-size:14px;
  line-height:1.12;transition:background-color .16s ease,color .16s ease,box-shadow .16s ease;transform:none;
}
#gas-collections.ks-quickline .qp-choices button + button::before {content:"";position:absolute;left:0;top:26%;height:48%;width:1px;background:var(--ql-rule)}
#gas-collections.ks-quickline .qp-choices button[aria-pressed=true] {z-index:1;background:var(--ql-accent);color:#fff;box-shadow:0 2px 4px rgb(21 56 78 / .2)}
#gas-collections.ks-quickline .qp-choices button[aria-pressed=true]::after {content:"";position:absolute;bottom:4px;left:calc(50% - 6px);width:12px;height:2px;border-radius:1px;background:currentColor}
#gas-collections.ks-quickline .qp-choices button[aria-pressed=true]::before,#gas-collections.ks-quickline .qp-choices button[aria-pressed=true]+button::before {opacity:0}
#gas-collections.ks-quickline .ql-elevation {width:20px;height:20px}
#gas-collections.ks-quickline details,#gas-collections.ks-quickline details::details-content {display:contents}
#gas-collections.ks-quickline summary {grid-area:more;justify-self:center;display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;margin:0;padding:0 4px;border:0;background:transparent;color:var(--ql-ink);font:inherit;font-weight:580;font-size:14px;line-height:1.15;cursor:pointer;white-space:nowrap;list-style:none}
#gas-collections.ks-quickline summary::-webkit-details-marker {display:none}
#gas-collections.ks-quickline .ql-tune {flex:none;width:18px;height:18px;color:var(--ql-accent)}
#gas-collections.ks-quickline .ql-chevron {width:14px;height:14px;transition:transform .16s ease}
#gas-collections.ks-quickline details[open] .ql-chevron {transform:rotate(180deg)}
#gas-collections.ks-quickline .ql-arrow {width:17px;height:17px}
#gas-collections.ks-quickline .qp-more {grid-column:1/-1;grid-row:2;display:grid;grid-template-columns:repeat(3,minmax(100px,1fr)) auto auto;align-items:end;gap:12px;margin:14px 0 0;padding:14px 0 0;border-top:1px solid var(--ql-rule)}
#gas-collections.ks-quickline details:not([open]) .qp-more {display:none}
#gas-collections.ks-quickline .qp-more :is(select,button,a){min-height:44px;font-size:14px}
#gas-collections.ks-quickline .qp-more label{min-width:0}
#gas-collections.ks-quickline .qp-more select {max-width:100%;width:100%;border-radius:4px;color:var(--ql-ink)}
#gas-collections.ks-quickline .qp-submit {grid-area:go;justify-self:stretch;align-self:center;display:flex;align-items:center;justify-content:center;gap:12px;margin:0;padding:0 16px;min-height:46px;min-width:0;border:0;border-radius:5px;background:var(--ql-action);color:white;box-shadow:none;line-height:1.15;font-size:14px;font-weight:650;white-space:nowrap;transform:none}
#gas-collections.ks-quickline .qp-all {display:inline-flex;align-items:center;gap:6px;color:var(--ql-ink)}
#gas-collections.ks-quickline .qp-more button[aria-pressed=true] {background:var(--ql-accent);border-color:var(--ql-accent);color:#fff}
@media(hover:hover){
 #gas-collections.ks-quickline .qp-choices button[aria-pressed=false]:hover {background:var(--ql-hover)}
 #gas-collections.ks-quickline .qp-submit:hover{background:var(--ql-accent)}
 #gas-collections.ks-quickline summary:hover{text-decoration:underline;text-underline-offset:4px}
}
@media(max-width:1150px) and (min-width:761px){
 #projects #gas-collections.ks-quickline {grid-template-columns:minmax(160px,1fr) max-content max-content;grid-template-areas:"intro area floor" "intro more go";gap:7px 17px}
 #gas-collections.ks-quickline .qp-more{grid-row:3;grid-template-columns:repeat(3,minmax(0,1fr))}
 #gas-collections.ks-quickline summary{justify-self:start}
}
@media(max-width:760px){
 #projects #gas-collections.ks-quickline {grid-template-columns:minmax(66px,.7fr) minmax(0,1.3fr);grid-template-areas:"intro intro" "area area" "floor floor" "more go";gap:6px 5px;padding:12px;margin-top:22px;scroll-margin-top:clamp(115px,22svh,180px)}
 #gas-collections.ks-quickline h2{font-size:21px;max-width:22ch;line-height:1.06;text-wrap:initial}
 #gas-collections.ks-quickline .qp-intro{gap:7px}
 #gas-collections.ks-quickline .ql-mark{width:36px;height:38px}
 #gas-collections.ks-quickline .qp-intro p{font-size:12px;margin-top:3px}
 #gas-collections.ks-quickline .qp-presets fieldset {display:grid;grid-template-columns:clamp(72px,21vw,104px) minmax(0,1fr);align-items:center;column-gap:6px}
 #gas-collections.ks-quickline .qp-presets legend{float:left;width:auto;align-self:center;grid-column:1;grid-row:1;margin:0}
 #gas-collections.ks-quickline .qp-choices{grid-column:2;grid-row:1}
 #gas-collections.ks-quickline .qp-choices button {padding-inline:4px;font-size:14px;gap:4px}
 #gas-collections.ks-quickline summary{min-width:44px;justify-self:start;gap:5px;font-size:13px}
 #gas-collections.ks-quickline .ql-short{display:inline}
 #gas-collections.ks-quickline details:not([open]) .qp-collapsed{position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden}
 #gas-collections.ks-quickline details[open] .ql-short{display:none}
 #gas-collections.ks-quickline details:has(.qp-collapsed[title]:not([title=""])) .ql-short{color:var(--ql-accent);text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:3px}
 #gas-collections.ks-quickline .qp-more{grid-row:5;grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0;padding:8px 0}
 #gas-collections.ks-quickline .qp-more .qp-all{grid-column:1/-1}
 #gas-collections.ks-quickline .qp-submit{min-height:44px;padding:0 7px;gap:5px}
}
@media(max-width:365px){#gas-collections.ks-quickline .ql-mark{width:29px}#gas-collections.ks-quickline h2{font-size:19px}#gas-collections.ks-quickline .qp-choices button{font-size:13px}#gas-collections.ks-quickline .ql-elevation{width:17px;height:17px}#gas-collections.ks-quickline .qp-presets fieldset{grid-template-columns:72px minmax(0,1fr)}#gas-collections.ks-quickline .qp-submit{font-size:13px}}
@media(prefers-reduced-motion:reduce){#gas-collections.ks-quickline *,#gas-collections.ks-quickline *::after{transition:none!important}}


#banks.ks-logos{box-sizing:border-box;background:#fff;color:#193747;padding:clamp(24px,3.7vw,58px) 0;font-family:inherit;scroll-margin-top:96px}
.ks-logos *{box-sizing:border-box}
.ks-logos .kl-panel{width:92%;max-width:1580px;margin:auto;padding:clamp(24px,2.6vw,40px);background:#f3f6f7;border-radius:9px}
.ks-logos .kl-head{display:flex;align-items:center;justify-content:space-between;gap:18px}
.ks-logos h2{margin:0;color:inherit;font:inherit;font-weight:620;font-size:clamp(25px,2.55vw,38px);line-height:1.08;letter-spacing:-.045em}
.ks-logos .kl-grid{display:grid;grid-template-columns:1fr 1.32fr .95fr 1fr;gap:28px;margin-top:clamp(27px,3.3vw,51px)}
.ks-logos .kl-item{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;min-width:0;color:inherit;text-decoration:none;gap:13px}
.ks-logos .kl-logos{display:flex;align-items:center;gap:16px;height:46px;min-width:0;max-width:100%}
.ks-logos .kl-logos img{height:auto;object-fit:contain;display:block;max-width:100%;margin:0}
.ks-logos .kl-vtb{width:103px}.ks-logos .kl-sber{width:104px}.ks-logos .kl-domclick{width:91px}.ks-logos .kl-domrf{width:123px}.ks-logos .kl-fed{width:96px}
.ks-logos .kl-kind{font-size:14px;line-height:1.32;color:#425b69}
.ks-logos .kl-item[href] .kl-kind{color:#254d64}
.ks-logos .kl-kind span{margin-left:3px;white-space:nowrap}
.ks-logos a:focus-visible{outline:2px solid #225879;outline-offset:4px}
@media(hover:hover){.ks-logos .kl-item:hover .kl-kind{text-decoration:underline;text-underline-offset:4px}}
@media(max-width:1040px){.ks-logos .kl-grid{grid-template-columns:1fr 1.25fr;gap:26px 30px}}
@media(max-width:620px){#banks.ks-logos{padding:26px 0}.ks-logos .kl-panel{width:calc(100% - 40px);padding:20px 15px 14px;display:flex;flex-direction:column;align-items:stretch;gap:22px}.ks-logos .kl-head{display:contents}.ks-logos h2{font-size:clamp(23px,6.4vw,30px);max-width:21ch}.ks-logos .kl-grid{margin:0;grid-template-columns:1fr 1.12fr;gap:22px 12px}.ks-logos .kl-item{gap:6px}.ks-logos .kl-logos{height:42px;gap:6px}.ks-logos .kl-pair{align-items:flex-start;flex-direction:column;justify-content:center;gap:2px}.ks-logos .kl-sber{width:76px}.ks-logos .kl-domclick{width:54px}.ks-logos .kl-domrf{width:99px}.ks-logos .kl-fed{width:76px}.ks-logos .kl-vtb{width:82px}.ks-logos .kl-kind{font-size:12px;line-height:1.35}}

#rating-first:has(+ #banks.ks-logos){padding-bottom:clamp(40px,4vw,72px)}
.ks-logos .kl-foot{display:flex;justify-content:flex-end;margin-top:14px}
#banks .kl-mortgage{display:inline-flex;align-items:center;gap:8px;min-height:44px;color:#274e63;font-size:15px;font-weight:450;line-height:1.4;text-decoration:underline;text-decoration-color:#93a9b3;text-underline-offset:4px}
#banks .kl-mortgage span{text-decoration:none}
@media(hover:hover){#banks .kl-mortgage:hover{color:#132f40;text-decoration-color:currentColor}}
@media(max-width:620px){.ks-logos .kl-foot{margin-top:-8px}#banks .kl-mortgage{font-size:14px}}

#home-hero .ks-full-hero-stories {
  width: min(100%, 344px);
  padding: 9px 12px 0;
}
#home-hero .ks-full-hero-story {
  position: relative;
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr) 16px;
  grid-template-rows: auto auto;
  align-content: center;
  align-items: center;
  gap: 3px 10px;
  min-height: 68px;
}
#home-hero .ks-full-hero-story-photo {
  grid-area: 1 / 1 / 3 / 2;
  width: 68px;
  height: 66px;
  object-fit: cover;
  border-radius: 4px;
}
#home-hero .ks-full-hero-story h2 {
  grid-area: 1 / 2;
  align-self: end;
  margin: 0;
  font-size: 17px;
  line-height: 1.13;
}
#home-hero .ks-full-hero-story p {
  grid-area: 2 / 2;
  align-self: start;
  margin: 0;
  font-size: 14px;
  line-height: 1.25;
}
#home-hero .ks-full-hero-story a {
  grid-area: 1 / 3 / 3 / 4;
  position: static;
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 44px;
  gap: 0;
  font-size: 0;
  line-height: 0;
  text-decoration: none;
}
#home-hero .ks-full-hero-story a span {
  grid-area: 1 / 1;
  font-size: 17px;
  line-height: 1;
}
#home-hero .ks-full-hero-story a::after {
  content: "";
  position: absolute;
  inset: 0;
}
#home-hero .ks-full-hero-story:focus-within {
  outline: 2px solid #fff;
  outline-offset: 2px;
}
#home-hero .ks-full-hero-story-controls {
  min-height: 44px;
  margin: 0;
}
#home-hero .ks-full-hero-story-controls button.ks-full-hero-pause {
  width: 44px;
  height: 44px;
}
@media (max-width: 700px) {
  #home-hero .ks-full-hero-stories { width: min(100%, 310px); }
  #home-hero .ks-full-hero-story { grid-template-columns: 60px minmax(0, 1fr) 14px; column-gap: 8px; min-height: 60px; }
  #home-hero .ks-full-hero-story-photo { width: 60px; height: 60px; }
  #home-hero .ks-full-hero-story h2 { font-size: 16px; }
}

#home-hero .ks-full-hero-stories {
  background: linear-gradient(105deg, rgb(22 47 70 / 54%), rgb(28 56 82 / 46%));
  border-color: rgb(223 236 248 / 23%);
  -webkit-backdrop-filter: blur(4px) saturate(68%) brightness(89%);
  backdrop-filter: blur(4px) saturate(68%) brightness(89%);
}

#rating-first:has(+#banks.ac-band) { padding-bottom: clamp(40px,4vw,72px); }
#banks.ac-band .ac-inner {
  grid-template-columns: max-content max-content minmax(0,1fr);
  grid-template-areas: "title title marks" "credit files marks";
  gap: 10px clamp(20px,2.8vw,48px);
  padding-block: clamp(30px,3.3vw,54px);
}
#banks.ac-band .ac-inner:has(.ac-files[open]) {grid-template-areas: "title title marks" "credit files marks" "papers papers papers";}
#banks.ac-band .ac-lead, #banks.ac-band .ac-files, #banks.ac-band .ac-files[open] {display:contents}
#banks.ac-band .ac-heading {grid-area:title}
#banks.ac-band .ac-credit {grid-area:credit;justify-self:start}
#banks.ac-band summary {grid-area:files;justify-self:start}
#banks.ac-band .ac-docs {grid-area:papers}
#banks.ac-band .ac-brandline {grid-area:marks;gap:clamp(14px,1.8vw,32px);justify-content:space-evenly}
#banks.ac-band {padding-bottom:clamp(12px,1vw,18px)}
@media(min-width:701px) and (max-width:1150px) {
  #banks.ac-band .ac-inner {grid-template-columns:minmax(0,1fr) auto auto;grid-template-areas:"title credit files" "marks marks marks";row-gap:24px}
  #banks.ac-band .ac-inner:has(.ac-files[open]) {grid-template-areas:"title credit files" "marks marks marks" "papers papers papers"}
  #banks.ac-band .ac-brandline {justify-content:space-between}
}
@media(max-width:700px) {
  #banks.ac-band .ac-inner {grid-template-columns:1fr auto;grid-template-areas:"title title" "marks marks" "files credit";gap:0;padding:30px 0 12px}
  #banks.ac-band .ac-inner:has(.ac-files[open]) {grid-template-areas:"title title" "marks marks" "files credit" "papers papers"}
  #banks.ac-band .ac-brandline {gap:21px 8%;padding:25px 0 23px;justify-content:center;border-bottom:1px solid #e1e7e6}
  #banks.ac-band summary {max-width:100%;margin-top:5px}
  #banks.ac-band .ac-credit {justify-self:end;margin-top:5px;align-self:center}
  #banks.ac-band .ac-docs {width:100%}
}

#rating-first .kn-rank-line {
  display:flex;
  align-items:center;
  gap:9px;
}
#rating-first .kn-rank-line .laurel-place {
  flex:none;
  display:inline-grid;
  place-items:center;
  box-sizing:border-box;
  width:65px;
  height:51px;
  padding-bottom:3px;
  background:url("/wp-content/uploads/keystroy-home/o1.12.98-speed1/rating-wreath-71b8c61cefecb752.svg") center / contain no-repeat;
  color:#193645;
  font:inherit;
  font-size:31px;
  font-weight:650;
  line-height:1;
  letter-spacing:0;
  font-variant-numeric:lining-nums tabular-nums;
}
@media (min-width:1024px) {
  #rating-first #kn-rank-title .kn-category {font-size:.9em}
}
@media (max-width:700px) {
  #rating-first .kn-rank-line {gap:7px}
  #rating-first .kn-rank-line .laurel-place {width:55px;height:44px;font-size:26px}
}
