/* Focused follow-up from the client's November corrections. */
.site-footer .footer-links .field--name-field-legal-documents,
.site-footer .footer-links .field--name-field-legal-documents .field__items,
.site-footer .footer-links .field--name-field-legal-documents .field__item {display:contents}
#cookie-banner .field--name-field-legal-documents {margin-top:8px}
#cookie-banner .field--name-field-legal-documents a {color:inherit;text-decoration:underline}
body #main-content #lifestyle .mosaic-stack .weekend-moment .mosaic-caption h3 {font-size:clamp(16px,1.25vw,18px);line-height:1.4}
@media(min-width:992px){
 #lifestyle .mosaic-stack {min-height:0}
 #lifestyle .mosaic-stack > .mosaic-item {flex:1 1 0;min-height:0;height:auto}
}
/* The iframe frame has line-height:0; textual fallback must not inherit it. */
#contacts .rb-map-placeholder {line-height:1.6}
#contacts .rb-map-placeholder > p,
#contacts .rb-map-placeholder > a,
#contacts .rb-map-placeholder > button {flex-shrink:0}
#contacts .rb-map-placeholder > button {min-height:44px;line-height:1.4}
#cookie-banner .close,
#cookie-banner .btn-close,
#cookie-banner .cookie-close,
#cookie-banner .cookie-banner-close,
#cookie-banner #cookie-close,
#cookie-banner [data-dismiss],
#cookie-banner [data-bs-dismiss],
#cookie-banner [aria-label="Закрыть"],
#cookie-banner [aria-label="Close"] {display:none!important}
.booking-form .form-policy-note {width:100%;text-align:left;margin-top:12px}
.booking-form .form-policy-label {width:100%;align-items:flex-start;gap:10px}
.booking-form .form-policy-label input[type=checkbox] {flex:0 0 16px;width:16px;height:16px;margin:3px 0 0}
#header .brand-logo .shore-client-logo,#header .shore-drawer-brand .shore-client-logo {display:block;width:280px;max-width:100%;height:auto;object-fit:contain}
#header .brand-logo {flex:0 1 280px}
#header .shore-drawer-brand {max-width:calc(100% - 52px)}
#header .shore-drawer-brand .shore-client-logo {filter:invert(1)}
.site-footer .footer-logo {display:block;max-width:360px}
.site-footer .footer-logo .shore-client-logo {display:block;width:100%;height:auto;filter:invert(1)}
body #main-content .hero-content .hero-title {margin-top:0}
body:has(main:not(.shore-internal)) #main-content #houses .house-specs {align-items:stretch}
body:has(main:not(.shore-internal)) #main-content #houses .house-specs .spec-item {align-items:center;min-height:22px;justify-content:center}
body:has(main:not(.shore-internal)) #main-content #houses .house-specs .spec-value,
body #main-content .shore-detail-copy .house-specs .spec-value {font-size:13.12px;line-height:21px;white-space:nowrap;letter-spacing:0}
body #main-content .house-specs .spec-icon {width:18px;height:21px;align-items:center}
body #main-content .house-specs .spec-icon svg {width:18px;height:18px;display:block}
body #main-content .weekend-moment .mosaic-caption h3 {font-size:clamp(17px,1.6vw,24px);line-height:1.35}
.rb-map-placeholder {min-height:560px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;text-align:center;padding:28px;background:#eeeae2;color:#272a24}
.rb-map-placeholder p {max-width:470px;margin:0}
.rb-map-placeholder a {text-decoration:underline;color:inherit}
.rb-map-placeholder[hidden],iframe[data-rb-map-src][hidden],#cookie-banner[hidden],.rb-cookie-options[hidden] {display:none!important}
#cookie-banner.rb-cookie-banner {position:fixed;left:20px;right:20px;bottom:20px;width:auto;max-width:760px;max-height:calc(100dvh - 40px);overflow-y:auto;margin:0 auto;transform:none;z-index:1200;border:1px solid #b9afa0;box-shadow:0 8px 32px #0003;background:#fffdf8;color:#252922;padding:20px;border-radius:12px}
#cookie-banner.rb-cookie-banner .cookie-content {display:block}
#cookie-banner .rb-cookie-actions {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:14px}
#cookie-banner button,.rb-cookie-open {font:inherit;cursor:pointer;min-height:44px;border:1px solid currentColor;border-radius:6px;padding:10px 12px;background:transparent;color:inherit;line-height:1.35}
#cookie-banner button:hover {background:#ece6d9}
#cookie-banner button:focus-visible,.rb-cookie-open:focus-visible,.rb-map-enable:focus-visible {outline:3px solid #98784c;outline-offset:3px}
#cookie-banner .rb-cookie-options {margin-top:16px;border-top:1px solid #cdc4b7;padding-top:16px}
#cookie-banner .rb-cookie-options label {display:flex;gap:10px;align-items:center;min-height:44px;margin:8px 0}
#cookie-banner input {accent-color:#67523a;width:20px;height:20px;flex-shrink:0}
#cookie-banner .rb-cookie-note {font-size:13px}
.site-footer .rb-cookie-open {margin-top:0}
.site-footer .footer-links {flex-wrap:wrap;align-items:center;gap:8px 16px;max-width:100%}
.site-footer .footer-bottom {gap:16px;align-items:center}
.site-footer .footer-links a,.site-footer .rb-cookie-open {white-space:nowrap}
.site-footer .rb-cookie-open {flex-shrink:0}
@media(min-width:1200px){
 #header #site-menu > ul {gap:20px}
 .site-footer .footer-bottom {flex-direction:row;font-size:12px}
 .site-footer .copyright {flex:0 0 auto;font-size:inherit;white-space:nowrap}
 .site-footer .footer-links {flex:0 0 auto;flex-wrap:nowrap;gap:8px;margin-left:auto;font-size:inherit}
}
@media(min-width:1200px) and (max-width:1279px){.site-footer .footer-bottom {font-size:11px}}
@media(max-width:1199px){
 .site-footer .footer-bottom {flex-direction:column;align-items:flex-start}
 .site-footer .footer-links {width:100%;justify-content:flex-start}
}
@media(max-width:767px){
 .site-footer .footer-links {display:grid;grid-template-columns:minmax(0,1fr);justify-items:start;gap:8px}
 .site-footer .copyright {text-align:left}
 .site-footer .rb-cookie-open {justify-self:start;max-width:100%}
}
.site-footer .footer-links > * {max-width:100%;min-width:0}
@media(min-width:768px){body:has(main:not(.shore-internal)) #main-content #i0hm2 .hero-content {transform:translateY(-22px)}}
@media(max-width:767px){
 #header .brand-logo {flex-basis:235px}#header .brand-logo .shore-client-logo {width:235px}
 body:has(main:not(.shore-internal)) #main-content #houses .house-specs .spec-item {align-items:center;flex-direction:column;gap:5px;text-align:center}
 body:has(main:not(.shore-internal)) #main-content #houses .house-specs .spec-value,body #main-content .shore-detail-copy .house-specs .spec-value {font-size:11px;line-height:18px}
 .rb-map-placeholder {min-height:400px;padding:22px}
 #cookie-banner.rb-cookie-banner {left:12px;right:12px;bottom:12px;max-height:calc(100dvh - 24px);padding:16px}
 #cookie-banner .rb-cookie-actions {grid-template-columns:1fr;gap:8px}
}
@media(max-width:360px){#header .brand-logo {flex-basis:200px}#header .brand-logo .shore-client-logo {width:200px}body:has(main:not(.shore-internal)) #main-content #houses .house-specs .spec-value {font-size:10px}}

/* House facts: consistent inset, one baseline, compact middle columns. */
body #main-content .house-specs,
body #main-content #houses .house-specs,
body #main-content .shore-detail-copy .house-specs {
  display:grid;grid-template-columns:1.25fr 1.05fr .85fr .95fr;
  align-items:center;gap:8px;padding:14px 10px;
}
body #main-content .house-specs .spec-item,
body:has(main:not(.shore-internal)) #main-content #houses .house-specs .spec-item {
  display:flex;flex-direction:row;align-items:center;justify-content:center;
  gap:7px;min-height:22px;min-width:0;margin:0;padding:0;text-align:center;
}
body #main-content .house-specs .spec-value {line-height:22px;white-space:nowrap}
body #main-content .house-specs .spec-icon {height:22px}
@media(min-width:992px){
  #houses .houses-grid {align-items:stretch}
  #houses .houses-grid .house-info {flex:1;display:flex;flex-direction:column}
  #houses .houses-grid .house-info > div:first-child {flex:1;display:flex;flex-direction:column}
  #houses .houses-grid .house-desc {flex:1}
}
@media(max-width:991px){
  body #main-content .house-specs,
  body #main-content #houses .house-specs,
  body #main-content .shore-detail-copy .house-specs {grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;padding:12px 8px}
  body #main-content .house-specs .spec-item,
  body:has(main:not(.shore-internal)) #main-content #houses .house-specs .spec-item {flex-direction:column;gap:5px;align-items:center}
  body #main-content .house-specs .spec-value {font-size:11px;line-height:18px}
}
.reviews-more .btn {display:inline-flex;align-items:center;justify-content:center;gap:12px}
.reviews-more .btn svg {flex:0 0 18px}

/* Supplied internal-page photos: retain uncropped review text and compact grids. */
.shore-internal .shore-detail-gallery .field--name-field-house-gallery.field__items {
 display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;
}
.shore-internal .shore-detail-gallery a.photoswipe {display:block;overflow:hidden;border-radius:12px}
.shore-internal .shore-detail-gallery img {display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover}
.shore-internal .shore-detail-image--supplied .field__item {margin:0}
.shore-internal .shore-detail-image--supplied img {display:block;width:100%;height:auto;max-height:680px;object-fit:contain}
.shore-internal .shore-company-gallery {grid-column:1/-1;max-width:560px}
.shore-internal .shore-company-gallery .field--name-field-house-gallery.field__items {grid-template-columns:1fr}
.shore-internal .shore-photo-album--full .review-photo-card {align-self:start;background:#fff}
.shore-internal .shore-photo-album--full .review-photo {display:block;width:100%;height:auto;aspect-ratio:auto;object-fit:contain}
.shore-internal .shore-photo-album--full .shore-album-photos {align-items:start}
@media(max-width:991px){
 .shore-internal .shore-detail-gallery .field--name-field-house-gallery.field__items {grid-template-columns:repeat(3,minmax(0,1fr))}
 .shore-internal .shore-company-gallery .field--name-field-house-gallery.field__items {grid-template-columns:1fr}
}
@media(max-width:639px){
 .shore-internal .shore-detail-gallery .field--name-field-house-gallery.field__items {grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .shore-internal .shore-company-gallery .field--name-field-house-gallery.field__items {grid-template-columns:1fr}
}

/* The shared review source also supplies the homepage preview: never crop its text. */
#reviews .shore-photo-album .review-photo,
.shore-photo-album .review-photo {height:auto;aspect-ratio:auto;object-fit:contain}
.shore-photo-album .review-photo-card {align-self:start;background:#fff}

/* Equal-height review frames; contain preserves every line of each screenshot. */
.shore-photo-album .shore-album-photos .review-photo-card {
 height:clamp(180px,18vw,240px);align-self:stretch;
}
.shore-photo-album .shore-album-photos .review-photo-card > a.photoswipe {
 display:flex;align-items:center;justify-content:center;
 width:100%;height:100%;padding:12px;box-sizing:border-box;
}
#reviews .shore-photo-album .shore-album-photos img.review-photo,
.shore-internal .shore-photo-album .shore-album-photos img.review-photo {
 display:block;width:100%;height:100%;aspect-ratio:auto;object-fit:contain;
}

/* Activity details: photo without a frame, native text flows beside and below. */
.shore-internal .shore-detail.shore-detail--activity {display:flow-root}
.shore-detail--activity .shore-activity-media {
 float:left;width:44%;max-width:540px;box-sizing:border-box;
 padding:0 32px 24px 0;margin:0;
}
.shore-detail--activity .shore-activity-media .shore-detail-image {
 display:block;width:100%;margin:0;padding:0;border-radius:24px;overflow:hidden;
}
.shore-detail--activity .shore-activity-media :is(.field,.field__items,.field__item,a.photoswipe) {display:block;margin:0;padding:0}
.shore-internal .shore-detail--activity .shore-activity-media img {
 display:block;width:100%;height:auto;max-height:none;aspect-ratio:auto;
 object-fit:contain;margin:0;padding:0;border-radius:24px;
}
.shore-detail--activity .shore-activity-description {max-width:none;padding:0;margin:0}
.shore-detail--activity .shore-activity-description p:first-child {margin-top:0}
/* About: full-width editorial copy, then the supplied photographs. */
.shore-internal .shore-company.shore-company--text-first {grid-template-columns:minmax(0,1fr)}
.shore-company--text-first .shore-company-copy {width:100%;max-width:none}
.shore-company--text-first .shore-company-photos {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-items:start}
.shore-company--text-first .shore-company-photos :is(.shore-company-media,.shore-company-gallery) {width:100%;max-width:none;grid-column:auto;min-width:0}
.shore-company--text-first .shore-company-media .field__item {margin:0}
/* Only the internal Contacts page hides its duplicate section labels. */
body.body-node--800 #contacts .contacts-info > .section-tag,
body.body-node--800 #contacts .contacts-info > .section-title {display:none}
body.body-node--800 #contacts .contacts-info {padding-top:0}
@media(max-width:767px){
 .shore-detail--activity .shore-activity-media {float:none;width:100%;max-width:none;padding:0 0 24px}
 .shore-company--text-first .shore-company-photos {grid-template-columns:minmax(0,1fr)}
}

/* Remove only the internal Contacts container vertical inset. */
body.body-node--800 #contacts #iryd3y {padding-top:0;padding-bottom:0}

/* Keep the approved weekend mosaic ratio with the new portrait coffee photo. */
#lifestyle .mosaic-large .weekend-moment > img {aspect-ratio:4/3}
