body {
  font-family: var(--ww-font, "Open Sans"), sans-serif;
}
amp-story-page {
  background-color: rgba(34, 34, 34, 0);
}
amp-story-grid-layer {
  overflow: visible;
}
@media (max-aspect-ratio: 9 / 16) {
  @media (min-aspect-ratio: 320 / 678) {
    amp-story-grid-layer.grid-layer {
      margin-top: calc((100% / 0.5625 - 100% / 0.66666666666667) / 2);
    }
  }
}
@media not all and (min-resolution: 0.001dpcm) {
  @media {
    p.text-wrapper > span {
      font-size: calc(100% - 0.5px);
    }
  }
}
.page-fullbleed-area {
  position: absolute;
  overflow: hidden;
  width: 100%;
  left: 0;
  height: calc(1.1851851851852 * 100%);
  top: calc((1 - 1.1851851851852) * 100% / 2);
}
.page-safe-area {
  overflow: visible;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: calc(0.84375 * 100%);
  margin: auto 0;
}
.mask {
  position: absolute;
  overflow: hidden;
}
.fill {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
}
._initialize {
  pointer-events: initial;
  width: 100%;
  height: 100%;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
}
.page_background {
  position: absolute;
  pointer-events: none;
  left: 0;
  top: -9.25926%;
  width: 100%;
  height: 118.51852%;
}
.page_background_color {
  background-color: #222;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.block_gradient_black {
  position: absolute;
  pointer-events: none;
  left: -2%;
  top: 55%;
  width: 105%;
  height: 65%;
}
.gradient_black {
  background-image: linear-gradient(
    0turn,
    rgba(0, 0, 0, 0.6) 50%,
    rgba(0, 0, 0, 0) 100%
  );
  will-change: transform;
}
.leaf_logo_walkly {
  position: absolute;
  pointer-events: none;
  left: 79.12621%;
  top: 94.01294%;
  width: 8.00971%;
  height: 5.98706%;
  opacity: 0.5;
}
.logo_walkly {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
}
.leaf_txt {
  pointer-events: initial;
  width: 100%;
  height: 100%;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
}
.txt_10px {
  white-space: pre-wrap;
  overflow-wrap: break-word;
  word-break: break-word;
  margin: 0.28356149655963% 0;
  font-size: 0.161812em;
  line-height: 1.3;
  text-align: left;
  padding: 0;
  color: #fff;
}
.txt_11px {
  white-space: pre-wrap;
  overflow-wrap: break-word;
  word-break: break-word;
  margin: 0.65676245358911% 0;
  font-size: 0.177994em;
  line-height: 1;
  text-align: left;
  padding: 0;
  color: #fff;
}
.txt_12px_icons {
  font-size: 0.194175em;
  line-height: 1.5;
  padding: 0;
  color: #fff;
  text-indent: 0.4em;
}
.txt_costs {
  font-size: 0.733336em;
}
.txt_15px {
  overflow-wrap: break-word;
  word-break: break-word;
  margin: 1.179836107337% 0;
  font-size: 0.242718em;
  line-height: 1;
  text-align: left;
  padding: 0;
  color: #fff;
}
.txt_21px_left {
  white-space: pre-wrap;
  overflow-wrap: break-word;
  word-break: break-word;
  margin: 1.2060546875% 0;
  font-size: 0.339806em;
  line-height: 1;
  text-align: left;
  padding: 0;
  color: #fff;
}
.txt_21px_right {
  white-space: nowrap;
  overflow-wrap: break-word;
  word-break: break-word;
  font-size: 0.339806em;
}
.txt_80px {
  white-space: nowrap;
  overflow-wrap: break-word;
  word-break: break-word;
  font-size: 1.294498em;
  line-height: 1;
  text-align: center;
  padding: 0;
  color: #fff;
}
.txt_bold700 {
  font-weight: 700;
}
.txt_bold700_trans {
  font-weight: 700;
  color: rgba(255, 255, 255, 0.3);
}
.leaf_img {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  filter: brightness(100%);
}
.leaf_logo_company {
  position: absolute;
  pointer-events: none;
  left: 11.77184%;
  top: 1.2945%;
  width: 76.45631%;
  height: 19.41748%;
  opacity: 0.9;
}
.leaf_clip_surface {
  position: absolute;
  pointer-events: none;
  left: 0;
  top: 31.42621%;
  width: 100%;
  text-indent: 0.9315em;
}
.leaf_clip_floor {
  position: absolute;
  pointer-events: none;
  left: 11.65049%;
  top: 63.59223%;
  width: 26.45631%;
  height: 2.10356%;
}
.leaf_clip_title {
  position: absolute;
  pointer-events: none;
  left: 11.65049%;
  top: 65.04854%;
  width: 76.45631%;
  height: 4.69256%;
}
.leaf_clip_description {
  position: absolute;
  pointer-events: none;
  left: 11.65049%;
  top: 69.7411%;
  width: 76.21359%;
  height: 2.42718%;
}
.leaf_title {
  position: absolute;
  pointer-events: none;
  left: 11.65049%;
  top: 77.89%;
  width: 80%;
  height: 3.23625%;
  opacity: 1;
}
.leaf_icons_and_text {
  position: absolute;
  pointer-events: none;
  display: flex;
  gap: 3%;
  left: 11.65049%;
  top: 82.20065%;
  width: 64%;
  height: 2.589%;
}
.leaf_icons_and_text > div {
  display: inline-flex;
}
.amp_icon {
  width: 0.2589em;
  height: 0.2589em;
}
.leaf_address {
  position: absolute;
  pointer-events: none;
  left: 14.56311%;
  top: 85.43689%;
  width: 73.54369%;
  height: 2.42718%;
}
.leaf_epc {
  position: absolute;
  pointer-events: none;
  left: 77.6699%;
  top: 82.03883%;
  height: 3.23625%;
}
.txt_epc {
  width: fit-content;
  pointer-events: initial;
  padding: 5% 8%;
  font-size: 0.177994em;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 0 1px #0003;
  white-space: nowrap;
}
.txt_epc[data-epc="A++"] {
  background-color: #28803b;
}
.txt_epc[data-epc="A+"] {
  background-color: #28803b;
}
.txt_epc[data-epc="A"] {
  background-color: #5b963f;
}
.txt_epc[data-epc="A-"] {
  background-color: #5b963f;
}
.txt_epc[data-epc="B-"] {
  background-color: #cdc739;
}
.txt_epc[data-epc="B"] {
  background-color: #cdc739;
}
.txt_epc[data-epc="B+"] {
  background-color: #cdc739;
}
.txt_epc[data-epc="C-"] {
  background-color: #eecf3d;
}
.txt_epc[data-epc="C"] {
  background-color: #eecf3d;
}
.txt_epc[data-epc="C+"] {
  background-color: #eecf3d;
}
.txt_epc[data-epc="D-"] {
  background-color: #fab752;
}
.txt_epc[data-epc="D"] {
  background-color: #fab752;
}
.txt_epc[data-epc="D+"] {
  background-color: #fab752;
}
.txt_epc[data-epc="E-"] {
  background-color: #e47231;
}
.txt_epc[data-epc="E"] {
  background-color: #e47231;
}
.txt_epc[data-epc="E+"] {
  background-color: #e47231;
}
.txt_epc[data-epc="F-"] {
  background-color: #d7353b;
}
.txt_epc[data-epc="F"] {
  background-color: #d7353b;
}
.txt_epc[data-epc="F+"] {
  background-color: #d7353b;
}
.txt_epc[data-epc="G-"] {
  background-color: #8b0000;
}
.txt_epc[data-epc="G"] {
  background-color: #8b0000;
}
.txt_epc[data-epc="G+"] {
  background-color: #8b0000;
}
.leaf_icon_address {
  position: absolute;
  pointer-events: none;
  left: 11.65049%;
  top: 85.76052%;
  width: 2.42718%;
  height: 1.61812%;
}
.leaf_background_contact {
  position: absolute;
  pointer-events: none;
  left: 11.77184%;
  top: 12.45955%;
  width: 76.45631%;
  height: 50.2%;
  opacity: 1;
}
.contact_area {
  pointer-events: initial;
  width: 100%;
  height: 100%;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  border-radius: 7% 7% 7% 7%;
}
.background_contact {
  background-color: rgba(255, 255, 255, 0.85);
  will-change: transform;
}
.leaf_txt_contact_us {
  position: absolute;
  pointer-events: none;
  left: 11.40777%;
  top: 15.69579%;
  width: 77.18447%;
  height: 5.33981%;
  opacity: 1;
}
.leaf_logo_contact_company {
  position: absolute;
  pointer-events: none;
  left: 11.77184%;
  top: 23.78641%;
  width: 76.45631%;
  height: 19.41748%;
  opacity: 1;
}
.leaf_logo_contact_company_with_name {
  position: absolute;
  pointer-events: none;
  left: 11.77184%;
  top: 21.35922%;
  width: 76.45631%;
  height: 19.41748%;
  opacity: 1;
}
.leaf_txt_contact_name {
  position: absolute;
  pointer-events: none;
  left: 11.65243%;
  top: 40.45307%;
  width: 77.18447%;
  height: 4.04531%;
  opacity: 1;
}
.txt_contact_name {
  white-space: pre-wrap;
  overflow-wrap: break-word;
  word-break: break-word;
  margin: 0.64836379716981% 0;
  font-size: 0.291262em;
  line-height: 1;
  text-align: center;
  padding: 0;
  color: #000;
  font-weight: 700;
}
.leaf_icon_email {
  position: absolute;
  pointer-events: none;
  left: 23.30097%;
  top: 46.37249%;
  width: 3.88349%;
  height: 2.84789%;
  opacity: 1;
}
.leaf_icon_phone {
  position: absolute;
  pointer-events: none;
  left: 23.30097%;
  top: 50.37961%;
  width: 3.88349%;
  height: 2.84789%;
  opacity: 1;
}
.leaf_txt_email {
  position: absolute;
  pointer-events: none;
  left: 29.5534%;
  top: 46.1165%;
  width: 57.78252%;
  height: 3.55987%;
  opacity: 1;
  overflow: hidden;
}
.leaf_txt_phone {
  position: absolute;
  pointer-events: none;
  left: 29.5534%;
  top: 50.32362%;
  width: 57.83981%;
  height: 3.55987%;
  opacity: 1;
}
.leaf_icon_office_phone {
  position: absolute;
  pointer-events: none;
  left: 23.30097%;
  top: 54.38673%;
  width: 3.88349%;
  height: 2.84789%;
  opacity: 1;
}
.leaf_txt_office_phone {
  position: absolute;
  pointer-events: none;
  left: 29.5534%;
  top: 54.33074%;
  width: 57.83981%;
  height: 3.55987%;
  opacity: 1;
}
.leaf_icon_url {
  position: absolute;
  pointer-events: none;
  left: 23.30097%;
  top: 58.39385%;
  width: 3.88349%;
  height: 2.84789%;
  opacity: 1;
}
.leaf_txt_url {
  position: absolute;
  pointer-events: none;
  left: 29.5534%;
  top: 58.33786%;
  width: 57.83981%;
  height: 3.55987%;
  opacity: 1;
}
.leaf_btn_replay {
  position: absolute;
  pointer-events: none;
  left: 43.93204%;
  top: 63.26861%;
  width: 14.56311%;
  height: 9.70874%;
  opacity: 1;
}
.txt_contact_us {
  white-space: pre-wrap;
  overflow-wrap: break-word;
  word-break: break-word;
  margin: 0.64836379716981% 0;
  font-size: 0.38835em;
  line-height: 1;
  text-align: center;
  padding: 0;
  color: #000;
  font-weight: 700;
}
.leaf_txt_contact_details {
  white-space: pre-wrap;
  overflow-wrap: break-word;
  word-break: break-word;
  margin: 1.6% 0;
  font-size: 0.194175em;
  line-height: 1;
  text-align: left;
  padding: 0;
  color: #000;
}
.play_button_overlay {
  height: fit-content;
}
.play_button_overlay amp-story-grid-layer {
  margin: auto;
  display: block;
}
.play_button_overlay_background {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: auto;
  display: block;
  width: auto;
  height: 120%;
}
.play_button_overlay_blur {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  filter: blur(40px);
  margin: auto;
  display: block;
  width: 100%;
  height: 100%;
  z-index: -1;
}
.play_button_block_gradient_black {
  position: absolute;
  pointer-events: none;
  top: 55%;
  width: 100%;
  height: 65%;
}
@media (max-aspect-ratio: 408 / 721) {
  .play_button_overlay {
    padding-top: calc((408px - 100vw) * 721 / 408 / 2.3);
  }
  .replay-button {
    top: 70%;
  }
  .no-contact-replay {
    top: 70%;
  }
}
.play_button_text {
  width: 70%;
  padding: 10px 5px;
  text-align: center;
  font-size: 0.3em;
  line-height: 1;
  margin: 45% auto;
  color: #fff;
  text-shadow: 0 0 2px rgba(0, 0, 0, 0.9);
  border-radius: 4% 4% 4% 4%/22% 22% 22% 22%;
}
.play_button {
  position: absolute;
  z-index: 250;
  width: 20vh;
  height: 20vh;
  max-width: 90px;
  max-height: 90px;
  background-image: url(https://cdn.walkly.app/2022/07/icon-play.png);
  background-color: transparent;
  border: none;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  cursor: pointer;
  opacity: 1;
}
.play_button:focus,
.play_button:hover {
  opacity: 0.9;
}
.replay-button {
  display: none;
  position: absolute;
  z-index: 25;
  width: 20vh;
  height: 20vh;
  max-width: 50px;
  max-height: 50px;
  background-image: url(https://cdn.walkly.app/2021/12/icon-replay.png);
  background-color: transparent;
  border: none;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  top: 65%;
  left: 50%;
  transform: translate(-50%, -50%);
  cursor: pointer;
  opacity: 1;
}
.replay-button:hover {
  opacity: 0.9;
}
.no-contact-replay {
  display: none;
  position: absolute;
  z-index: 25;
  width: 20vh;
  height: 20vh;
  max-width: 50px;
  max-height: 50px;
  background-image: url(https://cdn.walkly.app/2021/12/icon-replay.png);
  background-color: transparent;
  border: none;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  cursor: pointer;
  opacity: 1;
}
.no-contact-replay:hover {
  opacity: 0.9;
}

/* ------------------------------------------------------------------------
   v4 — customer-app overlay style (Web tour)
   Everything above is stylesheet.v3.min.css unchanged, except the body font
   rule. Values come from --ww-* custom properties that WWP writes per page in
   a :root block (models/overlay_style.py `css_variables`); structural switches
   are <body> classes (`css_classes`). Every fallback below is v3's value, so a
   page without variables or classes (Classic) renders exactly like v3.
   Scope: room pages only (amp-story-page[data-room-type]); the play/cover and
   contact pages keep v3's look.
   ------------------------------------------------------------------------ */

/* Room-label group: floor + title + description move together. */
amp-story-page[data-room-type] .leaf_clip_floor {
  left: var(--ww-label-x, 11.65049%);
  top: var(--ww-label-floor-y, 63.59223%);
  width: var(--ww-label-floor-width, 26.45631%);
}
amp-story-page[data-room-type] .leaf_clip_title {
  left: var(--ww-label-x, 11.65049%);
  top: var(--ww-label-title-y, 65.04854%);
}
amp-story-page[data-room-type] .leaf_clip_description {
  left: var(--ww-label-x, 11.65049%);
  top: var(--ww-label-desc-y, 69.7411%);
}
amp-story-page[data-room-type] .leaf_clip_floor .txt_10px,
amp-story-page[data-room-type] .leaf_clip_title .txt_21px_left,
amp-story-page[data-room-type] .leaf_clip_description .txt_11px {
  text-align: var(--ww-label-align, left);
}
amp-story-page[data-room-type] .leaf_clip_floor .txt_10px,
amp-story-page[data-room-type] .leaf_clip_description .txt_11px {
  text-shadow: var(--ww-label-lines-shadow, none);
}
amp-story-page[data-room-type] .leaf_clip_title .txt_21px_left {
  color: var(--ww-label-color, #fff);
  text-shadow: var(--ww-label-shadow, none);
}

/* Room-label title box (presets with a background or border): hugs the title. */
.ww_label_box amp-story-page[data-room-type] .leaf_clip_title .txt_21px_left > span {
  display: inline-block;
  max-width: 100%;
  box-sizing: border-box;
  padding: var(--ww-label-padding, 0);
  background-color: var(--ww-label-bg, transparent);
  background-image: var(--ww-label-bg-image, none);
  border: var(--ww-label-border, none);
  border-radius: var(--ww-label-radius, 0);
}

/* Clip-surface figure (Full): moves under a room-label group that covers it (G15). */
amp-story-page[data-room-type] .leaf_clip_surface {
  top: var(--ww-surface-y, 31.42621%);
}

/* Property block: title + stats + EPC + map pin + address move together. */
amp-story-page[data-room-type] .leaf_title {
  left: var(--ww-prop-x, 11.65049%);
  top: var(--ww-prop-title-y, 77.89%);
}
amp-story-page[data-room-type] .leaf_icons_and_text {
  left: var(--ww-prop-stats-x, 11.65049%);
  top: var(--ww-prop-stats-y, 82.20065%);
  justify-content: var(--ww-prop-justify, normal);
}
amp-story-page[data-room-type] .leaf_epc {
  left: var(--ww-prop-epc-x, 77.6699%);
  top: var(--ww-prop-epc-y, 82.03883%);
}
amp-story-page[data-room-type] .leaf_icon_address {
  left: var(--ww-prop-x, 11.65049%);
  top: var(--ww-prop-pin-y, 85.76052%);
}
amp-story-page[data-room-type] .leaf_address {
  left: var(--ww-prop-address-x, 14.56311%);
  top: var(--ww-prop-address-y, 85.43689%);
  width: var(--ww-prop-address-width, 73.54369%);
}
amp-story-page[data-room-type] .leaf_title .txt_15px,
amp-story-page[data-room-type] .leaf_address .txt_11px {
  text-align: var(--ww-prop-align, left);
}
amp-story-page[data-room-type] .leaf_title .txt_15px,
amp-story-page[data-room-type] .leaf_icons_and_text .txt_12px_icons,
amp-story-page[data-room-type] .leaf_address .txt_11px {
  color: var(--ww-prop-color, #fff);
  text-shadow: var(--ww-prop-shadow, none);
}
amp-story-page[data-room-type] .leaf_icons_and_text .amp_icon {
  filter: var(--ww-prop-icon-filter, none);
}
amp-story-page[data-room-type] .leaf_icon_address .leaf_img {
  filter: var(--ww-prop-icon-filter, brightness(100%));
}

/* Centred property block: the map pin moves inline in front of the centred
   address (its separate image would stay at the far left). */
.ww_prop_center amp-story-page[data-room-type] .leaf_icon_address {
  display: none;
}
.ww_prop_center amp-story-page[data-room-type] .leaf_address .txt_11px > span::before {
  content: "";
  display: inline-block;
  width: 0.9em;
  height: 0.9em;
  margin-right: 0.25em;
  vertical-align: -0.1em;
  background: url(https://cdn.walkly.app/2021/11/icon-map-pin.png) center / contain no-repeat;
  filter: var(--ww-prop-icon-filter, none);
}

/* Property block wrapper (.ww_prop_unit around title, stats, EPC, map pin and
   address). Without a box it generates no box at all (display: contents), so
   every part keeps its own position from the rules above (Classic = v3).
   With a box (.ww_prop_box) it is the card: placed at the block's x/y, padded,
   and the parts flow inside it on a grid — title / stats + EPC / pin + address
   — so the card hugs whatever the walkly has (a 2-line address, no stats, a
   wider font). Padding and radius are F2's tokens at the property title's size
   (0.242718em of the layer): 0.55em 0.75em → 0.133495em 0.182039em. */
.ww_prop_unit {
  display: contents;
}
.ww_prop_box amp-story-page[data-room-type] .ww_prop_unit {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  position: absolute;
  pointer-events: none;
  box-sizing: content-box;
  left: calc(var(--ww-prop-x, 11.65049%) - 0.182039em);
  top: calc(var(--ww-prop-title-y, 77.89%) - 0.133495em);
  width: 80%;
  padding: 0.133495em 0.182039em;
  background-color: var(--ww-prop-bg, transparent);
  background-image: var(--ww-prop-bg-image, none);
  border: var(--ww-prop-border, none);
  border-radius: calc(var(--ww-prop-radius, 0px) * 0.242718);
}
.ww_prop_box amp-story-page[data-room-type] .ww_prop_unit > div {
  position: relative;
  left: auto;
  top: auto;
  width: auto;
  height: auto;
  min-width: 0;
}
.ww_prop_box amp-story-page[data-room-type] .ww_prop_unit .leaf_txt,
.ww_prop_box amp-story-page[data-room-type] .ww_prop_unit .leaf_txt > .fill {
  position: static;
  height: auto;
}
.ww_prop_box amp-story-page[data-room-type] .ww_prop_unit > .leaf_title {
  grid-column: 1 / -1;
}
.ww_prop_box amp-story-page[data-room-type] .ww_prop_unit > .leaf_icons_and_text {
  grid-column: 1 / 3;
}
.ww_prop_box amp-story-page[data-room-type] .ww_prop_unit > .leaf_epc {
  grid-column: 3;
  justify-self: end;
}
.ww_prop_box amp-story-page[data-room-type] .ww_prop_unit > .leaf_icon_address {
  grid-column: 1;
  width: 0.161812em;
  height: 0.161812em;
  margin-right: 0.04em;
}
.ww_prop_box amp-story-page[data-room-type] .ww_prop_unit > .leaf_address {
  grid-column: 2 / -1;
}

/* Frosted presets: blur only where supported, else -bg (the more opaque
   fallback) from the rules above (G4). */
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .ww_label_box amp-story-page[data-room-type] .leaf_clip_title .txt_21px_left > span {
    background-color: var(--ww-label-bg-frosted, var(--ww-label-bg, transparent));
    -webkit-backdrop-filter: var(--ww-label-backdrop, none);
    backdrop-filter: var(--ww-label-backdrop, none);
  }
  .ww_prop_box amp-story-page[data-room-type] .ww_prop_unit {
    background-color: var(--ww-prop-bg-frosted, var(--ww-prop-bg, transparent));
    -webkit-backdrop-filter: var(--ww-prop-backdrop, none);
    backdrop-filter: var(--ww-prop-backdrop, none);
  }
}

/* ------------------------------------------------------------------------
   v4 — `extended` overlay style (exact Overlay Studio values, customer app)
   Only active with the <body> classes below, which WWP adds when a style
   carries an `extended` block (models/overlay_style.py); pages without them
   — every v1 style, Classic included — match none of these rules.
   ww_label_ext / ww_prop_ext: text scale (--ww-*-scale), own font, shadow;
   ww_prop_right: right-aligned property block (map pin inline);
   ww_label_band: Banner — the bottom gradient layer in the label's colour;
   ww_label_anim / ww_prop_anim: CSS entrances, played when amp-story makes
   the page active (they replace amp's animate-in for the room label);
   ww_logo_hidden: the agency logo on the room pages switched off (the
   contact page's logo stays).
   ------------------------------------------------------------------------ */

/* Room-label group: scaled text and line boxes, own font. */
.ww_label_ext amp-story-page[data-room-type] .leaf_clip_floor {
  height: calc(2.10356% * var(--ww-label-scale, 1));
}
.ww_label_ext amp-story-page[data-room-type] .leaf_clip_title {
  height: calc(4.69256% * var(--ww-label-scale, 1));
}
.ww_label_ext amp-story-page[data-room-type] .leaf_clip_description {
  height: calc(2.42718% * var(--ww-label-scale, 1));
}
.ww_label_ext amp-story-page[data-room-type] .leaf_clip_floor .txt_10px {
  font-size: calc(0.161812em * var(--ww-label-scale, 1));
}
.ww_label_ext amp-story-page[data-room-type] .leaf_clip_title .txt_21px_left {
  font-size: calc(0.339806em * var(--ww-label-scale, 1));
}
.ww_label_ext amp-story-page[data-room-type] .leaf_clip_description .txt_11px {
  font-size: calc(0.177994em * var(--ww-label-scale, 1));
}
.ww_label_ext amp-story-page[data-room-type] .leaf_clip_floor .txt_10px,
.ww_label_ext amp-story-page[data-room-type] .leaf_clip_title .txt_21px_left,
.ww_label_ext amp-story-page[data-room-type] .leaf_clip_description .txt_11px {
  font-family: var(--ww-label-font, inherit);
}
.ww_label_box.ww_label_ext amp-story-page[data-room-type] .leaf_clip_title .txt_21px_left > span {
  box-shadow: var(--ww-label-box-shadow, none);
}

/* Property block: scaled text, icons and line boxes, own font. */
.ww_prop_ext amp-story-page[data-room-type] .leaf_title,
.ww_prop_ext amp-story-page[data-room-type] .leaf_epc {
  height: calc(3.23625% * var(--ww-prop-scale, 1));
}
.ww_prop_ext amp-story-page[data-room-type] .leaf_icons_and_text {
  height: calc(2.589% * var(--ww-prop-scale, 1));
}
.ww_prop_ext amp-story-page[data-room-type] .leaf_icon_address {
  width: calc(2.42718% * var(--ww-prop-scale, 1));
  height: calc(1.61812% * var(--ww-prop-scale, 1));
}
.ww_prop_ext amp-story-page[data-room-type] .leaf_address {
  height: calc(2.42718% * var(--ww-prop-scale, 1));
}
.ww_prop_ext amp-story-page[data-room-type] .leaf_title .txt_15px {
  font-size: calc(0.242718em * var(--ww-prop-scale, 1));
}
.ww_prop_ext amp-story-page[data-room-type] .leaf_icons_and_text .txt_12px_icons {
  font-size: calc(0.194175em * var(--ww-prop-scale, 1));
}
.ww_prop_ext amp-story-page[data-room-type] .leaf_icons_and_text .amp_icon {
  width: calc(0.2589em * var(--ww-prop-scale, 1));
  height: calc(0.2589em * var(--ww-prop-scale, 1));
}
.ww_prop_ext amp-story-page[data-room-type] .leaf_address .txt_11px {
  font-size: calc(0.177994em * var(--ww-prop-scale, 1));
}
.ww_prop_ext amp-story-page[data-room-type] .leaf_title .txt_15px,
.ww_prop_ext amp-story-page[data-room-type] .leaf_icons_and_text .txt_12px_icons,
.ww_prop_ext amp-story-page[data-room-type] .leaf_address .txt_11px {
  font-family: var(--ww-prop-font, inherit);
}
.ww_prop_box.ww_prop_ext amp-story-page[data-room-type] .ww_prop_unit {
  left: calc(var(--ww-prop-x, 11.65049%) - 0.182039em * var(--ww-prop-scale, 1));
  top: calc(var(--ww-prop-title-y, 77.89%) - 0.133495em * var(--ww-prop-scale, 1));
  padding: calc(0.133495em * var(--ww-prop-scale, 1)) calc(0.182039em * var(--ww-prop-scale, 1));
  border-radius: calc(var(--ww-prop-radius, 0px) * 0.242718 * var(--ww-prop-scale, 1));
  box-shadow: var(--ww-prop-box-shadow, none);
}
.ww_prop_box.ww_prop_ext amp-story-page[data-room-type] .ww_prop_unit > .leaf_icon_address {
  width: calc(0.161812em * var(--ww-prop-scale, 1));
  height: calc(0.161812em * var(--ww-prop-scale, 1));
}

/* Right-aligned property block: the map pin moves inline in front of the
   address, as for the centred block. */
.ww_prop_right amp-story-page[data-room-type] .leaf_icon_address {
  display: none;
}
.ww_prop_right amp-story-page[data-room-type] .leaf_address .txt_11px > span::before {
  content: "";
  display: inline-block;
  width: 0.9em;
  height: 0.9em;
  margin-right: 0.25em;
  vertical-align: -0.1em;
  background: url(https://cdn.walkly.app/2021/11/icon-map-pin.png) center / contain no-repeat;
  filter: var(--ww-prop-icon-filter, none);
}

/* Banner: the page's bottom gradient layer, recoloured and starting above
   the label — transparent at its top, the label's colour from the label down. */
.ww_label_band amp-story-page[data-room-type] .block_gradient_black {
  top: var(--ww-band-top, 55%);
  height: var(--ww-band-height, 65%);
}
.ww_label_band amp-story-page[data-room-type] .gradient_black {
  background-image: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    var(--ww-band-color, rgba(0, 0, 0, 0.6)) var(--ww-band-solid, 50%),
    var(--ww-band-color, rgba(0, 0, 0, 0.6)) 100%
  );
}

/* Entrances (Overlay Studio's fade / slide up / pop / drop / wipe / type).
   Distances are the Studio's design px on its 1080×1920 frame, in the layer's
   em (1em = 10% of the 84.375%-high layer): 90px → 0.555556em, 120px →
   0.740741em. --ww-*-anim is a full `animation` value written by WWP. */
@keyframes ww-in-opacity {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes ww-in-slide-up {
  from { transform: translateY(0.555556em); }
  to { transform: none; }
}
@keyframes ww-in-pop {
  from { transform: scale(0.6); }
  to { transform: none; }
}
@keyframes ww-in-drop {
  from { transform: translateY(-0.740741em); }
  to { transform: none; }
}
/* The clip reaches 2em (20% of the layer) past the element on every side:
   the animated parts are v3's fixed-height line boxes and a box, a shadow
   or larger text overflows them, so a clip at the element's own edges would
   keep cutting that off after the wipe (fill-mode both keeps the end state). */
@keyframes ww-in-wipe {
  from { clip-path: inset(-2em calc(100% + 2em) -2em -2em); }
  to { clip-path: inset(-2em -2em -2em -2em); }
}
.ww_label_anim amp-story-page[data-room-type][active] .leaf_clip_floor,
.ww_label_anim amp-story-page[data-room-type][active] .leaf_clip_title,
.ww_label_anim amp-story-page[data-room-type][active] .leaf_clip_description {
  animation: var(--ww-label-anim, none);
}
/* Without a card the property parts animate one by one; with the card
   (.ww_prop_box) the card animates as a whole. */
.ww_prop_anim amp-story-page[data-room-type][active] .ww_prop_unit > div {
  animation: var(--ww-prop-anim, none);
}
.ww_prop_box.ww_prop_anim amp-story-page[data-room-type][active] .ww_prop_unit {
  animation: var(--ww-prop-anim, none);
}
.ww_prop_box.ww_prop_anim amp-story-page[data-room-type][active] .ww_prop_unit > div {
  animation: none;
}
/* Springy = Flutter's elasticOut; needs CSS linear(), else the bezier above. */
@supports (animation-timing-function: linear(0, 1)) {
  .ww_label_anim amp-story-page[data-room-type][active] .leaf_clip_floor,
  .ww_label_anim amp-story-page[data-room-type][active] .leaf_clip_title,
  .ww_label_anim amp-story-page[data-room-type][active] .leaf_clip_description {
    animation: var(--ww-label-anim-linear, var(--ww-label-anim, none));
  }
  .ww_prop_anim amp-story-page[data-room-type][active] .ww_prop_unit > div {
    animation: var(--ww-prop-anim-linear, var(--ww-prop-anim, none));
  }
  .ww_prop_box.ww_prop_anim amp-story-page[data-room-type][active] .ww_prop_unit {
    animation: var(--ww-prop-anim-linear, var(--ww-prop-anim, none));
  }
  .ww_prop_box.ww_prop_anim amp-story-page[data-room-type][active] .ww_prop_unit > div {
    animation: none;
  }
}

/* Agency logo switched off (extended.logo.visible = false). */
.ww_logo_hidden .leaf_logo_company {
  display: none;
}

/* Property card placed per anchor column (extended.property_details.place,
   only with a box). The band (.ww_prop_band around .ww_prop_unit) takes the
   card's usual 80% place; the card inside is as wide as its content and sits
   at the band's start / centre / end by flexbox — nothing is moved by
   offsets, and the card's own look and entrances stay as they are. Without
   the class the band generates no box (pages without it look as before). */
.ww_prop_band {
  display: contents;
}
.ww_prop_box.ww_prop_place amp-story-page[data-room-type] .ww_prop_band {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  position: absolute;
  pointer-events: none;
  left: calc(var(--ww-prop-x, 11.65049%) - 0.182039em * var(--ww-prop-scale, 1));
  top: calc(var(--ww-prop-title-y, 77.89%) - 0.133495em * var(--ww-prop-scale, 1));
  width: calc(80% + 0.364078em * var(--ww-prop-scale, 1));
}
.ww_prop_box.ww_prop_place_center amp-story-page[data-room-type] .ww_prop_band {
  justify-content: center;
}
.ww_prop_box.ww_prop_place_right amp-story-page[data-room-type] .ww_prop_band {
  justify-content: flex-end;
}
.ww_prop_box.ww_prop_place amp-story-page[data-room-type] .ww_prop_unit {
  position: relative;
  left: auto;
  top: auto;
  width: auto;
  max-width: 80%;
  max-width: calc(100% - 0.364078em * var(--ww-prop-scale, 1));
}

/* Units switched off (extended.<unit>.visible = false), on the room pages. */
body.ww_label_hidden amp-story-page[data-room-type] .leaf_clip_floor,
body.ww_label_hidden amp-story-page[data-room-type] .leaf_clip_title,
body.ww_label_hidden amp-story-page[data-room-type] .leaf_clip_description,
body.ww_prop_hidden amp-story-page[data-room-type] .ww_prop_band,
body.ww_prop_hidden amp-story-page[data-room-type] .ww_prop_unit {
  display: none;
}

/* Property values switched off (extended.property_details.hidden_fields);
   type, sale/rent and price are left out of the title by WWP itself. */
body.ww_prop_hide_bedrooms .leaf_bedrooms,
body.ww_prop_hide_living_area .leaf_living_area,
body.ww_prop_hide_bathrooms .leaf_bathrooms,
body.ww_prop_hide_year .leaf_year,
body.ww_prop_hide_plot_area .position_img_plotsurface,
body.ww_prop_hide_epc .leaf_epc,
body.ww_prop_hide_address .leaf_icon_address,
body.ww_prop_hide_address .leaf_address {
  display: none;
}

/* The room label (floor, title, description) always draws above the
   property details where they overlap, as in the Overlay Studio — the
   property block comes later in the page, so without this it covered the
   label (CTO feedback 5). */
.leaf_clip_floor,
.leaf_clip_title,
.leaf_clip_description {
  z-index: 2;
}

/* The room label's description line starts under the label's box, not inside
   its bottom padding (CTO feedback 8). The box ends at the title line's top
   (--ww-label-title-y) + its text's top margin (1.2060546875% of the
   76.45631%-wide title box = 0.61474% of the layer) + the title's height with
   its padding above and below ((1 + 2 x 0.2em, or 0.35em with `extended`) x
   0.339806em x scale) + its border (up to 4px a side; without one, that is
   the gap). The Banner band (ww_label_band) has no box, so it's unchanged. */
.ww_label_box amp-story-page[data-room-type] .leaf_clip_description {
  top: calc(var(--ww-label-title-y, 65.04854%) + 0.61474% + 0.339806em * 1.4 * var(--ww-label-scale, 1) + 8px);
}
.ww_label_box.ww_label_ext amp-story-page[data-room-type] .leaf_clip_description {
  top: calc(var(--ww-label-title-y, 65.04854%) + 0.61474% + 0.339806em * 1.7 * var(--ww-label-scale, 1) + 8px);
}

/* The room description inside the room label's box, under the title, as the
   Overlay Studio draws it (CTO feedback 10): pages rendered since then carry
   it inside the title's span (`.ww_label_desc`, hidden unless
   `ww_label_desc_in`), and WWP sets `ww_label_desc_in` for a boxed label —
   then the separate description line is hidden. The Studio's metrics, in em
   of the title: the line at 0.7 of its size, weight 500, 85 % opacity, 0.15em
   below it, at most 2 lines, both lines centred in the box. Pages rendered
   before (no `ww_label_desc_in`) keep the separate line placed by the rules
   above. */
.ww_label_desc {
  display: none;
}
.ww_label_desc_in amp-story-page[data-room-type] .leaf_clip_title .ww_label_desc {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  margin-top: 0.15em;
  font-size: 0.7em;
  font-weight: 500;
  line-height: 1.1;
  opacity: 0.85;
  white-space: normal;
}
.ww_label_desc_in amp-story-page[data-room-type] .leaf_clip_title .txt_21px_left > span {
  text-align: center;
}
.ww_label_desc_in amp-story-page[data-room-type] .leaf_clip_description {
  display: none;
}
