.rd-shell {
  --rd-ink: var(--ink,#132e47);
  --rd-blue: var(--blue,#0759a5);
  --rd-line: #dbe4eb;
  --rd-muted: #53697b;
  width: min(100% - 80px, 1304px);
  margin: 0 auto;
  padding: 30px 0 clamp(56px,7vw,100px);
  color: var(--rd-ink);
  text-align: start;
}
.rd-shell *, .rd-lightbox * { box-sizing: border-box; }
.rd-shell :is(p,dl,dd,h1,h2,ul), .rd-lightbox p { margin: 0; }
.rd-shell a { color: inherit; }
.rd-shell a:focus-visible, .rd-shell button:focus-visible, .rd-shell input:focus-visible, .rd-shell textarea:focus-visible, .rd-lightbox button:focus-visible {
  outline: 3px solid #2985d1;
  outline-offset: 3px;
}
.rd-shell svg, .rd-lightbox svg { width: 20px; height: 20px; display: inline-block; flex: none; }
.rd-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; font: 500 12px/1.5 Arial,sans-serif; color: var(--rd-muted); }
.rd-crumbs a { text-decoration: none; }
.rd-crumbs a:hover { text-decoration: underline; color: var(--rd-blue); }
.rd-crumbs svg { width: 12px; height: 12px; opacity: .65; }
.rd-title { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: clamp(26px,3.4vw,46px) 0 25px; }
.rd-title h1 { color: var(--rd-ink); font: 400 clamp(34px,4vw,62px)/1.08 Georgia,'Times New Roman',serif; letter-spacing: -.045em; text-wrap: balance; }
.rd-location { display: flex; gap: 8px; align-items: flex-start; margin-top: 12px!important; line-height: 1.5; font-size: 16px; color: var(--rd-muted); }
.rd-location svg { width: 18px; height: 21px; color: var(--rd-blue); }
.rd-actions { display: flex; gap: 8px; flex: none; }
.rd-action, .rd-controls button, .rd-lightbox button {
  width: 44px; height: 44px; display: inline-grid; place-items: center; padding: 0;
  border: 1px solid var(--rd-line); border-radius: 50%; color: var(--rd-ink); background: #fff; cursor: pointer;
}
.rd-action[hidden] { display: none; }
.rd-action:hover, .rd-action[aria-pressed="true"] { color: var(--rd-blue); border-color: #a7c9e7; background: #eaf4fb; }
.rd-action[data-rd-store="saved"][aria-pressed="true"] svg { fill: currentColor; }
.rd-layout { display: grid; grid-template-columns: minmax(0,1.9fr) minmax(272px,.86fr); grid-template-areas: 'gallery side' 'description side'; column-gap: clamp(24px,3.5vw,50px); row-gap: 28px; align-items: start; }
.rd-layout:has(.rd-gallery) { grid-template-rows: auto 1fr; }
.rd-no-gallery { grid-template-areas: 'description side'; }
.rd-gallery { grid-area: gallery; min-width: 0; }
.rd-stage {
  position: relative; isolation: isolate; background: #e6edf0; overflow: hidden;
  border-radius: 14px; box-shadow: inset 0 0 0 1px rgba(22,51,76,.08);
}
.rd-photo { display: block; width: 100%; aspect-ratio: 1.5; max-height: 610px; touch-action: pan-y pinch-zoom; }
.rd-photo img, .rd-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.rd-zoom, .rd-counter { position: absolute; z-index: 1; border-radius: 999px; }
.rd-zoom { top: 15px; right: 15px; width: 43px; height: 43px; display: grid; place-items: center; background: #fff; color: var(--rd-ink); }
.rd-counter { left: 15px; bottom: 15px; color: #fff; background: rgba(13,34,52,.84); font-size: 12px; letter-spacing: .08em; font-weight: 650; line-height: 32px; padding: 0 13px; font-variant-numeric: tabular-nums; }
.rd-controls { position: absolute; bottom: 12px; right: 12px; display: flex; gap: 6px; }
.rd-controls button { border-color: transparent; box-shadow: 0 2px 10px #132e471a; }
.rd-controls button:hover, .rd-lightbox button:hover { background: #dfeefa; color: #133e64; }
.rd-thumbs { display: flex; position: relative; gap: 8px; max-width: 100%; overflow-x: auto; padding: 5px 2px 7px; margin-top: 6px; scrollbar-width: thin; scrollbar-color: #b8c9d7 transparent; }
.rd-thumb { display: block; flex: 0 0 88px; height: 66px; padding: 2px; border: 2px solid transparent; border-radius: 9px; overflow: hidden; }
.rd-thumb img { border-radius: 5px; }
.rd-thumb:hover { border-color: #a7c9e7; }
.rd-thumb[aria-current="true"] { border-color: var(--rd-blue); }
.rd-side { grid-area: side; min-width: 0; }
.rd-side-inner { padding: clamp(20px,2.1vw,32px); border: 1px solid var(--rd-line); border-radius: 15px; box-shadow: 0 8px 25px #162e4608; background: white; }
.rd-tags { display: flex; gap: 7px; flex-wrap: wrap; margin: 0 0 16px; }
.rd-tags span { padding: 5px 10px; background: #edf4fb; color: #235780; font: 600 12px/1.35 Arial,sans-serif; border-radius: 5px; }
.rd-prices { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 13px; margin-bottom: 10px; }
.rd-prices strong { color: var(--rd-ink); font: 500 clamp(34px,3.6vw,48px)/1.07 Georgia,serif; letter-spacing: -.05em; }
.rd-prices span { font: 500 15px/1.5 Arial,sans-serif; color: var(--rd-muted); }
.rd-prices small { width: 100%; color: var(--rd-muted); font: 400 13px/1.5 Arial,sans-serif; }
.rd-properties { margin-top: 17px!important; }
.rd-properties div { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; border-top: 1px solid var(--rd-line); padding: 10px 0; font: 400 14px/1.5 Arial,sans-serif; }
.rd-properties dt, .rd-contacts dt { color: var(--rd-muted); }
.rd-properties dd { text-align: right; font-weight: 600; overflow-wrap: anywhere; }
.rd-contacts { border-top: 1px solid var(--rd-line); margin-top: 18px; padding-top: 18px; }
.rd-contacts h2 { margin: 0 0 14px; font: 400 28px/1.12 Georgia,serif; letter-spacing: -.035em; color: var(--rd-ink); }
.rd-contacts dl { display: grid; gap: 14px; }
.rd-contacts dt { font: 400 13px/1.4 Arial,sans-serif; margin-bottom: 2px; }
.rd-contacts dd { font: 600 16px/1.35 Arial,sans-serif; overflow-wrap: anywhere; }
.rd-contacts a { text-decoration: none; display: inline-block; color: var(--rd-blue); padding-block: 4px; }
.rd-contacts a:hover { text-decoration: underline; }
.rd-question, .rd-form button { width: 100%; display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 47px; margin-top: 24px; padding: 10px 14px; border: 0; background: var(--rd-blue); color: white!important; border-radius: 7px; text-decoration: none; font: 600 14px/1.35 Arial,sans-serif; cursor: pointer; }
.rd-question:hover, .rd-form button:hover { background: #084b87; }
.rd-question svg:last-child, .rd-form button svg:last-child { width: 17px; height: 17px; margin-left: auto; }
.rd-question svg:first-child, .rd-form button svg:first-child { width: 17px; height: 17px; }
.rd-description { grid-area: description; min-width: 0; }
.rd-copy { font: 400 17px/1.72 Arial,sans-serif; color: #30495e; overflow-wrap: break-word; }
.rd-copy p, .rd-copy li { margin-bottom: .85em; }
.rd-copy p:last-child, .rd-copy li:last-child { margin-bottom: 0; }
.rd-copy ul, .rd-copy ol { padding-inline-start: 1.25em; margin: 1em 0; }
.rd-copy li::marker { color: var(--rd-blue); }
.rd-copy :is(h1,h2,h3,h4) { color: var(--rd-ink); margin: 1.2em 0 .6em; font: 400 clamp(22px,2.7vw,35px)/1.22 Georgia,serif; letter-spacing: -.025em; }
.rd-copy :is(h1,h2,h3,h4):first-child { margin-top: 0; }
.rd-copy hr { border: 0; border-top: 1px solid var(--rd-line); margin: 25px 0; }
.rd-copy a, .rd-webform { color: var(--rd-blue); text-decoration: underline; text-underline-offset: 3px; }
.rd-copy img { display: block; max-width: 100%; height: auto; border-radius: 8px; }
.rd-copy table { display: block; max-width: 100%; overflow: auto; border-spacing: 0; }
.rd-copy :is(td,th) { text-align: start; vertical-align: top; }
.rd-meta { display: flex; gap: 6px 16px; flex-wrap: wrap; border-top: 1px solid var(--rd-line); margin-top: 24px; padding-top: 14px; color: var(--rd-muted); font: 400 12px/1.55 Arial,sans-serif; }
.rd-lightbox { padding: 0; inset: 0; margin: auto; width: min(100%,1400px); height: min(100%,1000px); max-width: 100vw; max-height: 100dvh; border: 0; background: #0d1b29; color: #fff; }
.rd-lightbox::backdrop { background: rgba(7,18,29,.94); }
.rd-lightbox-frame { display: grid; height: 100%; grid-template-rows: auto minmax(0,1fr) auto; gap: 10px; padding: 14px 18px; }
.rd-lightbox-top, .rd-lightbox-bottom { display: flex; align-items: center; gap: 8px; }
.rd-lightbox-top { justify-content: space-between; font: 500 16px/1.3 Arial,sans-serif; }
.rd-lightbox-top span { overflow-wrap: anywhere; }
.rd-lightbox-frame > img { display: block; height: 100%; width: 100%; object-fit: contain; min-height: 0; }
.rd-lightbox-bottom { justify-content: center; font: 500 14px/1.4 Arial,sans-serif; font-variant-numeric: tabular-nums; }
.rd-lightbox-bottom span { min-width: 74px; text-align: center; order: 2; }
.rd-lightbox-bottom button:last-of-type { order: 3; }
.rd-lightbox button { background: #263e52; color: #fff; border-color: #526880; flex: none; }
.rd-article .rd-title { padding-bottom: 24px; border-bottom: 1px solid var(--rd-line); }
.rd-article-frame { max-width: 850px; }
.rd-article .rd-copy img { margin: 16px 0; }
.rd-contacts-page .rd-article-frame, .rd-services-page .rd-article-frame { max-width: none; }
.rd-contact-layout { display: grid; grid-template-columns: 1.1fr 1fr; align-items: stretch; gap: 22px; }
.rd-contact-blocks { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.rd-contact-blocks section { min-width: 0; border: 1px solid var(--rd-line); border-radius: 10px; padding: clamp(14px,2.4vw,30px); }
.rd-contact-blocks h2 { font-size: clamp(20px,2vw,26px); }
.rd-contact-blocks p { margin: 0; }
.rd-office { margin: 0; position: relative; isolation: isolate; overflow: hidden; border-radius: 12px; min-height: 230px; display: flex; align-items: flex-end; background: #244965; }
.rd-article .rd-office img { position: absolute; z-index: -2; width: 100%; height: 100%; inset: 0; margin: 0; object-fit: cover; }
.rd-office::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,24,42,.92),rgba(8,24,42,.5) 38%,transparent 80%); z-index: -1; }
.rd-office figcaption { display: grid; gap: 3px; padding: clamp(18px,2.4vw,30px); color: white; font: 400 14px/1.4 Arial,sans-serif; }
.rd-office figcaption strong { font: 400 clamp(24px,2.7vw,34px)/1.15 Georgia,serif; letter-spacing: -.035em; margin-bottom: 4px; }
.rd-office figcaption a { color: white; }
.rd-contact-intro { max-width: 760px; margin-top: 34px; }
.rd-contacts-page .rd-form { max-width: 850px; }
.rd-services-page .rd-copy ul { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,275px),1fr)); gap: 15px; padding: 0; list-style: none; }
.rd-services-page .rd-copy li { margin: 0; }
.rd-services-page .rd-copy li a { display: flex; align-items: flex-end; min-height: 120px; height: 100%; padding: 24px; background: #f2f6fb; border: 1px solid var(--rd-line); border-radius: 12px; color: var(--rd-ink); font: 400 clamp(23px,2.3vw,32px)/1.13 Georgia,serif; text-decoration: none; letter-spacing: -.035em; }
.rd-services-page .rd-copy li a:hover { color: var(--rd-blue); border-color: #a7c9e7; }
.rd-about-page .rd-copy ul:has(>p), .rd-about-page .rd-copy ul:has(>div) { padding: 0; }
.rd-about-page .rd-copy img[data-rd-source$="office-v.jpg"] { width: 100%; max-height: 395px; object-fit: cover; }
.rd-about-page .rd-copy img[data-rd-source$="roman-s2016.jpg"] { max-width: min(100%,210px); }
.rd-form { margin-top: 32px; padding: clamp(18px,3.3vw,38px); background: #f1f6fa; border: 1px solid var(--rd-line); border-radius: 12px; scroll-margin-top: 88px; }
.rd-form h2 { font: 400 clamp(26px,3vw,36px)/1.15 Georgia,serif; letter-spacing: -.035em; margin: 0 0 20px; }
.rd-form form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.rd-form label { display: flex; flex-direction: column; gap: 6px; min-width: 0; color: var(--rd-ink); font: 600 14px/1.5 Arial,sans-serif; }
.rd-form label:first-child, .rd-form label:nth-child(2) { grid-column: 1/-1; }
.rd-form :is(input,textarea) { width: 100%; padding: 10px 12px; min-height: 45px; resize: vertical; border-radius: 5px; border: 1px solid #a9becf; color: var(--rd-ink); background: #fff; font: 400 16px/1.4 Arial,sans-serif; }
.rd-form-actions { grid-column: 1/-1; display: flex; align-items: center; flex-wrap: wrap; gap: 16px; }
.rd-form button { width: auto; min-width: 160px; margin: 0; }
.rd-webform { display: inline-block; padding-block: 8px; font: 600 14px/1.5 Arial,sans-serif; }
@media (max-width: 960px) {
  .rd-shell { width: calc(100% - 40px); }
  .rd-layout { grid-template-columns: minmax(0,1.4fr) minmax(256px,.82fr); gap: 20px; }
  .rd-photo { aspect-ratio: 1.2; }
}
@media (max-width: 740px) {
  .rd-shell { width: calc(100% - 32px); padding-top: 19px; }
  .rd-title { align-items: start; margin: 21px 0 17px; gap: 12px; flex-wrap: wrap; }
  .rd-actions { gap: 5px; }
  .rd-title h1 { letter-spacing: -.035em; }
  .rd-layout, .rd-no-gallery { display: flex; flex-direction: column; gap: 20px; }
  .rd-layout > * { width: 100%; }
  .rd-location { font-size: 14px; }
  .rd-photo { aspect-ratio: 1.42; }
  .rd-zoom { top: 10px; right: 10px; }
  .rd-counter { left: 10px; bottom: 10px; }
  .rd-controls { bottom: 8px; right: 8px; }
  .rd-thumb { flex-basis: 70px; height: 54px; }
  .rd-side-inner { padding: 19px; }
  .rd-copy { font-size: 16px; }
  .rd-lightbox-frame { padding: 10px; }
  .rd-contact-layout { grid-template-columns: 1fr; }
}
@media (max-width: 460px) {
  .rd-crumbs { font-size: 11px; gap: 4px; }
  .rd-form form { grid-template-columns: 1fr; }
  .rd-contact-blocks { gap: 8px; }
  .rd-contact-blocks h2 { font-size: 20px; }
  .rd-contact-blocks a, .rd-contact-blocks p { font-size: 14px; }
}
