/* Formatting-only refinements. Existing wording, images, links and branding remain unchanged. */

body {
  --prysm-body-size: 1rem;
  --prysm-heading-1: clamp(2rem, 2.5vw + 0.6rem, 2.75rem);
  --prysm-heading-2: clamp(1.55rem, 1.3vw + 1rem, 2rem);
  --prysm-heading-3: clamp(1.2rem, 0.5vw + 1rem, 1.4rem);
}

/* Keep the original Roboto/Poppins family, with a restrained heading hierarchy. */
body :is(.elementor, .site-main) h1 {
  font-size: var(--prysm-heading-1) !important;
  line-height: 1.2 !important;
  letter-spacing: -0.025em;
}
body :is(.elementor, .site-main) h2 {
  font-size: var(--prysm-heading-2) !important;
  line-height: 1.3 !important;
  letter-spacing: -0.02em;
}
body :is(.elementor, .site-main) h3 {
  font-size: var(--prysm-heading-3) !important;
  line-height: 1.4 !important;
}
body :is(.elementor, .site-main) h4 {
  font-size: 1.125rem !important;
  line-height: 1.4 !important;
}
body :is(.elementor, .site-main) h5 {
  font-size: 1.05rem !important;
  line-height: 1.45 !important;
}
body :is(.elementor, .site-main) h6 {
  font-size: 1rem !important;
  line-height: 1.45 !important;
}
body :is([data-elementor-type="wp-page"], [data-elementor-type="single-post"], .entry-content) :is(p, .elementor-widget-text-editor, .elementor-icon-box-description) {
  font-size: var(--prysm-body-size) !important;
  line-height: 1.7 !important;
  font-weight: 400;
}
body :is([data-elementor-type="wp-page"], [data-elementor-type="single-post"], .entry-content) p {
  margin-block: 0 1rem;
}
body :is([data-elementor-type="wp-page"], [data-elementor-type="single-post"]) > .elementor-top-section {
  padding-block: 1.75rem;
  padding-inline: 1.5rem;
}
body .elementor-widget-heading .elementor-heading-title {
  overflow-wrap: break-word;
}
body .elementor-widget-button .elementor-button {
  font-size: 0.95rem !important;
  line-height: 1.4 !important;
}

/* Raster pictograms are separate from photographs and editorial artwork. */
body .elementskit-info-box-icon:has(> img) {
  display: inline-flex !important;
  width: 4rem !important;
  height: 4rem !important;
  min-width: 4rem;
  flex: 0 0 4rem;
  align-items: center;
  justify-content: center;
  padding: 0 !important;
  margin: 0 !important;
}
body .elementskit-info-box-icon > img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: 4rem !important;
  max-height: 4rem !important;
  object-fit: contain;
}
body .elementskit-infobox.icon-top-align .elementskit-box-header {
  margin: 0 0 1rem !important;
}
body .elementskit-infobox .elementskit-info-box-title {
  margin: 0 0 0.65rem !important;
  font-size: 1.2rem !important;
  line-height: 1.4 !important;
}
body .elementskit-infobox .box-body > p {
  font-size: 1rem !important;
  line-height: 1.65 !important;
}
body .elementskit-infobox.icon-lef-right-aligin {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
body .elementskit-infobox.icon-lef-right-aligin .elementskit-box-header {
  flex: 0 0 auto;
  margin: 0 !important;
}
body .elementskit-infobox.icon-lef-right-aligin .box-body {
  min-width: 0;
}

/* Font and vector icons: bounded glyphs within predictable icon boxes. */
body .elementor-widget-icon-box .elementor-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem !important;
  height: 3.25rem !important;
  padding: 0.75rem !important;
  box-sizing: border-box;
  font-size: 1.75rem !important;
}
body .elementor-widget-icon-box .elementor-icon :is(i, svg) {
  width: 1em !important;
  height: 1em !important;
  font-size: inherit !important;
  line-height: 1 !important;
}
body .elementskit-info-box-icon > i {
  display: inline-block;
  font-size: 1.75rem !important;
  line-height: 1 !important;
}
body .elementskit-info-box-icon > svg {
  width: 1.75rem !important;
  height: 1.75rem !important;
}
body .elementor-icon-list-item {
  align-items: flex-start;
}
body .elementor-icon-list-icon {
  flex: 0 0 auto;
  width: 1.1rem;
  margin-top: 0.18em;
}
body .elementor-icon-list-icon :is(i, svg) {
  width: 1em !important;
  height: 1em !important;
  font-size: 1rem !important;
  line-height: 1 !important;
}

/* Testimonial stars stay small, on one line; avatars remain distinct from article images. */
body .elementskit-stars {
  display: flex !important;
  align-items: center;
  justify-content: inherit;
  gap: 0.25rem;
  list-style: none;
  padding: 0 !important;
  margin: 0 0 0.9rem !important;
}
body .elementskit-stars :is(li, a) {
  display: inline-flex !important;
  align-items: center;
  width: auto !important;
  line-height: 1;
  margin: 0 !important;
  padding: 0 !important;
}
body .elementskit-stars svg {
  display: block;
  width: 1.125rem !important;
  height: 1.125rem !important;
  max-width: 1.125rem !important;
  max-height: 1.125rem !important;
  flex: 0 0 auto;
}
body :is(.elementskit-profile-image, .elementskit-commentor-image) img {
  width: 3.5rem !important;
  height: 3.5rem !important;
  object-fit: contain;
}
body img[src*="/quote2x"] {
  width: 4.5rem !important;
  max-width: 4.5rem !important;
  height: auto !important;
}
body .elementor-element-4ffc8a12 {
  width: 4.5rem !important;
  max-width: 4.5rem !important;
}

/* Consistent masthead and accreditation logo proportions. */
body .elementor-location-header img[src*="color_logo_transparent"] {
  width: 11.5rem !important;
  max-width: 100% !important;
  height: auto !important;
  object-fit: contain;
}
body .elementor-location-footer img[src*="PRS_Logo"] {
  width: 11.5rem !important;
  max-width: 100% !important;
  height: auto !important;
  object-fit: contain;
}
body .elementor-location-footer :is(p, .elementor-icon-list-text, .prysm-static-contact) {
  font-size: 0.9rem !important;
  line-height: 1.65 !important;
}
body .elementor-location-footer .prysm-static-contact {
  padding: 1rem;
  gap: 0.5rem;
}

/* Contact Us: keep every label and paragraph, but give them clear visual roles. */
body .elementor-24 .elementor-element-771b748b {
  padding-block: 2rem 1rem;
}
body .elementor-24 .elementor-element-5e149b9b h2 {
  font-size: clamp(2rem, 2.5vw, 2.5rem) !important;
  line-height: 1.2 !important;
  margin: 0;
}
body .elementor-24 .elementor-element-45fa740c {
  padding-block: 0.75rem 3rem;
}
body .elementor-24 .elementor-element-45fa740c > .elementor-container {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: start;
}
body .elementor-24 .elementor-element-45fa740c > .elementor-container > .elementor-column {
  width: 100% !important;
  min-width: 0;
}
body .elementor-24 .elementor-element-45fa740c > .elementor-container > .elementor-column > .elementor-widget-wrap {
  padding: 0 !important;
  align-content: flex-start;
}
body .elementor-24 .elementor-element-1b5fb208 h2 {
  font-size: 0.9rem !important;
  line-height: 1.5 !important;
  letter-spacing: 0.04em;
  color: var(--e-global-color-accent);
}
body .elementor-24 :is(.elementor-element-2b2a11b3, .elementor-element-0e828ec) h2 {
  font-size: clamp(1.4rem, 1.2vw + 1rem, 1.65rem) !important;
  line-height: 1.4 !important;
  margin: 0;
}
body .elementor-24 .elementor-element-2b2a11b3 h2 {
  max-width: 27ch;
}
body .elementor-24 .elementskit-infobox {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.5rem 0;
}
body .elementor-24 .elementskit-info-box-icon {
  display: flex;
  width: 3rem;
  height: 3rem;
  min-width: 3rem;
  align-items: center;
  justify-content: center;
}
body .elementor-24 .elementskit-info-box-icon > i {
  font-size: 1.5rem !important;
}
body .elementor-24 .elementskit-info-box-title {
  font-size: 1.2rem !important;
  margin: 0 0 0.25rem !important;
}
body .elementor-24 .elementskit-infobox .box-body > p {
  margin: 0;
}
body .elementor-24 :is(.prysm-static-map, .prysm-static-contact) {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  margin: 0;
  border: 1px solid #dfe5e9;
  border-radius: 5px;
  padding: 1.25rem;
  font-size: 1rem;
  line-height: 1.6;
}
body .elementor-24 .prysm-static-contact {
  gap: 0.85rem;
}
body .elementor-24 .prysm-static-contact a {
  font-size: 1rem !important;
  line-height: 1.6;
}

@media (max-width: 767px) {
  body :is([data-elementor-type="wp-page"], [data-elementor-type="single-post"]) > .elementor-top-section {
    padding-inline: 1.25rem;
    padding-block: 1.25rem;
  }
  body .elementor-24 .elementor-element-45fa740c > .elementor-container {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
  }
  body .elementor-24 .elementor-element-45fa740c {
    padding-block: 0.5rem 2rem;
  }
  body .elementor-24 :is(.prysm-static-map, .prysm-static-contact) {
    padding: 1rem;
  }
  body .elementor-location-header img[src*="color_logo_transparent"] {
    width: 10rem !important;
  }
  body .elementskit-info-box-icon:has(> img) {
    width: 3.5rem !important;
    height: 3.5rem !important;
    min-width: 3.5rem;
    flex-basis: 3.5rem;
  }
}

/* Owner-approved homepage Preview edits: reposition existing artwork only. */
body .elementor-16 .elementor-element-3101c488 > .elementor-container {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 3rem;
  max-width: 1140px;
  align-items: start;
}
body .elementor-16 .elementor-element-3101c488 > .elementor-container > .elementor-column {
  width: 100% !important;
  min-width: 0;
}
body .elementor-16 .elementor-element-3101c488 .elementor-widget-wrap {
  padding: 0 !important;
  align-content: flex-start;
}
body .elementor-16 .elementor-element-22477b9f {
  container-type: inline-size;
}
body .elementor-16 .elementor-element-745f3b39 h1 {
  max-width: 100%;
  font-size: min(var(--prysm-heading-1), 7.2cqi) !important;
  white-space: nowrap;
  margin-top: 0;
}
body .elementor-16 .elementor-element-52675056 img {
  display: block;
  width: 100% !important;
  max-width: 26rem !important;
  height: auto !important;
  object-fit: contain;
}
/* The About Us section keeps its existing text after its image moves above. */
body .elementor-16 .elementor-element-7ea27e8c > .elementor-container > .elementor-column {
  width: 100% !important;
}
body .elementor-16 .elementor-element-3a3ad217 > .elementor-widget-wrap {
  max-width: 48rem;
  padding: 0 !important;
}
/* Remove this one large in-page logo, not the repeated masthead logo. */
body .elementor-16 .elementor-element-d32fb29 {
  display: none !important;
}
body .elementor-16 .elementor-element-dafaf6d > .elementor-container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: start;
}
body .elementor-16 .elementor-element-dafaf6d > .elementor-container > .elementor-column {
  width: 100% !important;
  min-width: 0;
}
body .elementor-16 .elementor-element-c0f5fe0 > .elementor-widget-wrap {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 0 !important;
}
body .elementor-16 .elementor-element-c0f5fe0 .elementor-widget-image {
  width: 100% !important;
}
body .elementor-16 .elementor-element-c0f5fe0 img {
  display: block;
  width: 100% !important;
  height: auto !important;
  object-fit: contain;
}
body .elementor-16 .elementor-element-504b47c .elementor-section {
  padding: 0 !important;
  margin: 0 !important;
}
body .elementor-16 .elementor-element-504b47c .elementor-container {
  display: block;
}
body .elementor-16 .elementor-element-504b47c .elementor-column {
  width: 100% !important;
  min-width: 0;
}
body .elementor-16 .elementor-element-504b47c .elementor-widget-wrap {
  padding: 0 !important;
}
body .elementor-16 .elementor-element-504b47c .elementor-widget-elementskit-icon-box {
  width: 100% !important;
}
body .elementor-16 .elementor-element-504b47c .elementskit-infobox {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem 0 !important;
  border: 0;
  border-bottom: 1px solid #dfe5e9;
  text-align: left !important;
}
body .elementor-16 .elementor-element-504b47c .elementskit-box-header {
  flex: 0 0 4rem;
  margin: 0 !important;
}
body .elementor-16 .elementor-element-504b47c .elementskit-info-box-icon {
  display: inline-flex;
  width: 4rem;
  height: 4rem;
  align-items: center;
  justify-content: center;
}
body .elementor-16 .elementor-element-504b47c .box-body {
  flex: 1;
  min-width: 0;
}
body .elementor-16 .elementor-element-504b47c .box-body > p {
  margin-bottom: 0;
}
/* The relocated Bracknell image leaves no empty Investor Scheme image slot. */
body .elementor-16 .elementor-element-15888e1d:not(:has(.elementor-widget)) {
  display: none !important;
}
body .elementor-16 .elementor-element-162cef03 {
  width: 100% !important;
}
body .elementor-16 .elementor-element-162cef03 > .elementor-widget-wrap {
  max-width: 48rem;
}
@media (max-width: 767px) {
  body .elementor-16 :is(.elementor-element-3101c488, .elementor-element-dafaf6d) > .elementor-container {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
  }
  body .elementor-16 .elementor-element-504b47c .elementskit-box-header {
    flex-basis: 3.5rem;
  }
  body .elementor-16 .elementor-element-504b47c .elementskit-info-box-icon {
    width: 3.5rem;
    height: 3.5rem;
  }
}

/* The screenshot's Welcome/Bracknell block now belongs to the left hero column. */
body .elementor-16 .elementor-element-7eb8233c {
  margin-top: 1.5rem;
}
body .elementor-16 .elementor-element-7eb8233c > .elementor-container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}
body .elementor-16 .elementor-element-7eb8233c > .elementor-container > .elementor-column {
  display: flex !important;
  width: 100% !important;
  min-width: 0;
}
body .elementor-16 .elementor-element-7eb8233c .elementskit-infobox {
  padding: 1rem 0 !important;
}
body .elementor-16 .elementor-element-36f68fc3 .elementskit-box-header {
  display: none;
}
/* Its previous section now contains only empty wrappers and an unused spacer. */
body .elementor-16 .elementor-element-395b15fa:not(:has(.elementor-widget-elementskit-icon-box)) {
  display: none !important;
}
@container (max-width: 400px) {
  body .elementor-16 .elementor-element-7eb8233c > .elementor-container {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.5rem;
  }
}
