/*
 * Paris Smith location pages.
 * Loaded only on pages using the "Location Page" template.
 * Every rule is scoped to .ps-location-page with :where(), which adds no
 * specificity, so nothing here can affect the header, footer or other pages.
 */
body.ps-location-template #maincontent.frame {
  padding-left: 0;
  padding-right: 0;
}
/* The theme hides its header spacer on phones because its own intro blocks sit
   under the fixed header. Location pages start with text, so keep the spacer. */
@media screen and (max-width: 577px) {
  body.ps-location-template .header-spacer {
    display: block;
  }
}
:root {
  --ps-white: #fff;
  --ps-grey: #efefef;
  --ps-darkblue: #021729;
  --ps-blue: #043866;
  --ps-red: #cb0a38;
  --ps-purple: #8d5c82;
  --ps-muted: rgba(2, 23, 41, .62);
  --ps-line: rgba(2, 23, 41, .18);
  --ps-font: acumin-pro, sans-serif;
  --ps-headerfont: utopia-std-display, sans-serif;
}
:where(.ps-location-page), :where(.ps-location-page) * {
  box-sizing: border-box;
}
html:has(.ps-location-page) {
  scroll-behavior: smooth;
}
:where(.ps-location-page) {
  color: var(--ps-darkblue);
  background: var(--ps-white);
  font-family: var(--ps-font);
  font-size: 16px;
  line-height: 1.5;
}
:where(.ps-location-page) a {
  color: var(--ps-darkblue);
  font-weight: 500;
  text-decoration: none;
}
:where(.ps-location-page) .hero {
  background: var(--ps-grey);
  color: var(--ps-darkblue);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 48vw);
  grid-template-areas:
  "copy media"
  "office media";
  min-height: 56vh;
  position: relative;
  overflow: hidden;
}
:where(.ps-location-page) .hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  top: 0;
  left: 0;
  width: min(58vw, 980px);
  height: calc(100% - 5.6rem);
  background: var(--ps-red);
}
:where(.ps-location-page) .hero-inner {
  grid-area: copy;
  position: relative;
  z-index: 1;
  padding: clamp(44px, 7vw, 92px) clamp(24px, 7vw, 104px) 0;
}
:where(.ps-location-page) .hero-media {
  grid-area: media;
  position: relative;
  z-index: 1;
  min-height: 500px;
  background-size: cover;
  background-position: center;
}
:where(.ps-location-page) .office-panel {
  grid-area: office;
  position: relative;
  z-index: 2;
  align-self: end;
  width: min(460px, calc(100% - 48px));
  margin: 28px clamp(24px, 7vw, 104px) -42px;
  background: var(--ps-blue);
  color: var(--ps-white);
  box-shadow: 0 5px 5px rgba(0,0,0,.25);
  padding: 24px 30px;
}
:where(.ps-location-page) .breadcrumb {
  margin: 0 0 34px;
}
:where(.ps-location-page) .back-to a,
:where(.ps-location-page) .eyebrow,
:where(.ps-location-page) .section-kicker,
:where(.ps-location-page) .panel-label {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 13px;
  font-weight: 700;
}
:where(.ps-location-page) .back-to a,
:where(.ps-location-page) .hero .eyebrow,
:where(.ps-location-page) .hero h1,
:where(.ps-location-page) .hero .lede {
  color: var(--ps-white) !important;
}
:where(.ps-location-page) .back-to a {
  border-bottom: 1px solid rgba(255,255,255,.55);
}
:where(.ps-location-page) .eyebrow {
  margin: 0 0 16px;
}
:where(.ps-location-page) h1,
:where(.ps-location-page) h2,
:where(.ps-location-page) h3 {
  margin: 0;
  color: var(--ps-darkblue);
  font-family: var(--ps-headerfont);
  font-weight: 400;
  line-height: 1.05;
}
:where(.ps-location-page) h1 {
  max-width: 760px;
  font-size: clamp(42px, 5.4vw, 78px);
  line-height: 1.08;
}
:where(.ps-location-page) h2 {
  font-size: clamp(30px, 3.4vw, 48px);
  line-height: 1.18;
}
:where(.ps-location-page) h3 {
  font-size: 24px;
}
:where(.ps-location-page) .lede {
  max-width: 650px;
  margin: 26px 0 0;
  font-family: var(--ps-headerfont);
  font-size: clamp(18px, 1.5vw, 23px);
  line-height: 1.38;
}
:where(.ps-location-page) .hero-actions,
:where(.ps-location-page) .contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}
:where(.ps-location-page) .button {
  border: none;
  padding: 15px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ps-white);
  color: var(--ps-red);
  font-family: var(--ps-font);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 1.2;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 2px 2px rgba(0,0,0,.3);
  transition: .3s ease;
}
:where(.ps-location-page) .button:hover {
  background: var(--ps-blue);
  color: var(--ps-white);
}
:where(.ps-location-page) .button.secondary,
:where(.ps-location-page) .button.outline-light {
  background: var(--ps-blue);
  color: var(--ps-white);
}
:where(.ps-location-page) .button.secondary:hover,
:where(.ps-location-page) .button.outline-light:hover {
  background: var(--ps-red);
}
:where(.ps-location-page) .button.light {
  background: var(--ps-white);
  color: var(--ps-red);
}
:where(.ps-location-page) .office-panel address {
  display: grid;
  gap: 2px;
  margin: 0 0 18px;
  color: var(--ps-white);
  font-style: normal;
}
:where(.ps-location-page) .office-panel a {
  display: block;
  color: var(--ps-white);
  border-top: 1px solid rgba(255,255,255,.35);
  padding-top: 13px;
  margin-top: 13px;
}
:where(.ps-location-page) .panel-label {
  margin: 0 0 14px;
  color: var(--ps-white);
}
:where(.ps-location-page) .section {
  padding: clamp(54px, 7vw, 100px) clamp(24px, 7vw, 104px);
}
:where(.ps-location-page) .two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(290px, 380px);
  gap: clamp(36px, 7vw, 92px);
}
:where(.ps-location-page) .section p {
  max-width: 760px;
  color: var(--ps-darkblue);
}
:where(.ps-location-page) .section-kicker {
  margin: 0 0 16px;
  color: var(--ps-blue);
  font-family: var(--ps-font);
}
:where(.ps-location-page) .section h2 + p,
:where(.ps-location-page) .section h2 + ul,
:where(.ps-location-page) .section p + ul {
  margin-top: 24px;
}
:where(.ps-location-page) .tick-list,
:where(.ps-location-page) .team-list {
  list-style: square;
  padding-left: 20px;
}
:where(.ps-location-page) .tick-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 32px;
  margin: 30px 0 0;
}
:where(.ps-location-page) .tick-list li,
:where(.ps-location-page) .proof-grid li,
:where(.ps-location-page) .team-list li {
  margin: 7px 0;
}
:where(.ps-location-page) .tick-list li::marker,
:where(.ps-location-page) .proof-grid li::marker,
:where(.ps-location-page) .team-list li::marker {
  color: var(--ps-red);
}
:where(.ps-location-page) .quote-card {
  align-self: start;
  background: var(--ps-white);
  box-shadow: 0 5px 5px rgba(0,0,0,.22);
  border-top: 6px solid var(--ps-red);
  padding: 30px;
}
:where(.ps-location-page) .quote-card p {
  margin: 0 0 14px;
  font-family: var(--ps-headerfont);
  font-size: 27px;
  line-height: 1.24;
}
:where(.ps-location-page) .quote-card span {
  color: var(--ps-muted);
}
:where(.ps-location-page) .fees-section {
  padding-top: 0;
  padding-bottom: clamp(34px, 5vw, 64px);
}
:where(.ps-location-page) .fees-panel {
  max-width: 980px;
  border-left: 6px solid var(--ps-red);
  background: var(--ps-grey);
  padding: clamp(24px, 3vw, 36px);
}
:where(.ps-location-page) .fees-panel p {
  margin: 16px 0 0;
}
:where(.ps-location-page) .fees-panel ul {
  margin: 18px 0 0;
  padding-left: 22px;
}
:where(.ps-location-page) .fees-panel li {
  margin: 8px 0;
}
:where(.ps-location-page) .fees-panel a,
:where(.ps-location-page) .fee-earner-card a {
  color: var(--ps-blue);
  border-bottom: 1px solid rgba(4,56,102,.45);
}
:where(.ps-location-page) .service-location-section {
  background: var(--ps-white);
  padding-top: clamp(22px, 4vw, 54px);
}
:where(.ps-location-page) .local-context-copy {
  max-width: 980px;
  border-left: 6px solid var(--ps-red);
  background: var(--ps-grey);
  padding: clamp(24px, 3vw, 36px);
}
:where(.ps-location-page) .local-context-copy p {
  max-width: 860px;
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
}
:where(.ps-location-page) .local-proof,
:where(.ps-location-page) .related-section {
  background: var(--ps-grey);
}
:where(.ps-location-page) .section-heading {
  max-width: 860px;
  margin-bottom: 36px;
}
:where(.ps-location-page) .proof-grid,
:where(.ps-location-page) .related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}
:where(.ps-location-page) .proof-grid article,
:where(.ps-location-page) .related-grid > div,
:where(.ps-location-page) .team-list,
:where(.ps-location-page) details {
  background: var(--ps-white);
  box-shadow: 0 5px 5px rgba(0,0,0,.18);
  padding: 26px 30px;
}
:where(.ps-location-page) .proof-grid h3,
:where(.ps-location-page) .related-grid h3,
:where(.ps-location-page) summary {
  color: var(--ps-blue);
  font-family: var(--ps-font);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1.4px;
  line-height: 1.35;
  text-transform: uppercase;
}
:where(.ps-location-page) .proof-grid ul,
:where(.ps-location-page) .related-grid ul,
:where(.ps-location-page) .team-list {
  margin: 0;
}
:where(.ps-location-page) .team-section {
  background: var(--ps-white);
}
:where(.ps-location-page) .team-list {
  display: grid;
  gap: 12px;
  align-content: start;
}
:where(.ps-location-page) .fee-earner-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  text-align: center;
  padding: 24px;
  margin-top: 24px;
  background: var(--ps-grey);
  box-shadow: 0 5px 5px rgba(0,0,0,.18);
}
:where(.ps-location-page) .fee-earner-card img {
  display: block;
  width: 180px;
  height: 180px;
  min-height: 0;
  max-width: 100%;
  object-fit: cover;
  object-position: center 25%;
}
:where(.ps-location-page) .fee-earner-card > div {
  padding: 20px 0 0;
}
:where(.ps-location-page) .fee-earner-card h3 {
  margin-bottom: 12px;
}
:where(.ps-location-page) .fee-earner-card p {
  margin: 0 0 16px;
}
:where(.ps-location-page) .fee-earner-card .section-kicker {
  margin-bottom: 10px;
}
:where(.ps-location-page) .faq-section {
  background: var(--ps-white);
}
:where(.ps-location-page) .faq-list {
  display: grid;
  gap: 16px;
}
:where(.ps-location-page) details {
  cursor: pointer;
}
:where(.ps-location-page) summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
:where(.ps-location-page) summary::after {
  content: "+";
  color: var(--ps-red);
  font-size: 24px;
  line-height: .8;
}
:where(.ps-location-page) details[open] summary::after {
  content: "-";
}
:where(.ps-location-page) details p {
  margin: 18px 0 0;
}
:where(.ps-location-page) .related-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
:where(.ps-location-page) .related-grid a {
  color: var(--ps-blue);
  border-bottom: 1px solid rgba(4,56,102,.35);
}
:where(.ps-location-page) .contact-band {
  background: var(--ps-red);
  color: var(--ps-white);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 34px;
  align-items: center;
  padding: clamp(42px, 5vw, 72px) clamp(24px, 7vw, 104px);
}
:where(.ps-location-page) .contact-band h2,
:where(.ps-location-page) .contact-band p,
:where(.ps-location-page) .contact-band .section-kicker {
  color: var(--ps-white);
}
:where(.ps-location-page) .accreditations {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 36px);
  align-items: center;
  padding: 34px clamp(24px, 7vw, 104px);
  background: var(--ps-white);
}
:where(.ps-location-page) .accreditation-badge {
  min-height: 132px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
}
:where(.ps-location-page) .accreditation-badge img {
  display: block;
  max-width: 180px;
  max-height: 90px;
  width: auto;
  height: auto;
  object-fit: contain;
}
:where(.ps-location-page) .accreditation-badge iframe {
  width: 180px;
  height: 108px;
  border: 0;
}
:where(.ps-location-page) .sra-frame {
  position: relative;
  width: 180px;
  height: 108px;
}
:where(.ps-location-page) .sra-frame .sra-fallback,
:where(.ps-location-page) .sra-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
:where(.ps-location-page) .sra-frame .sra-fallback {
  object-fit: contain;
}
:where(.ps-location-page) .accreditation-badge span {
  color: var(--ps-darkblue);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}
@media (max-width: 992px) {
  :where(.ps-location-page) .hero {
    grid-template-columns: 1fr;
    grid-template-areas:
    "copy"
    "media"
    "office";
  }
  :where(.ps-location-page) .hero::after {
    width: 100%;
    height: auto;
    bottom: 0;
  }
  :where(.ps-location-page) .hero-inner {
    padding: 42px 24px 32px;
  }
  :where(.ps-location-page) .hero-media {
    min-height: 320px;
  }
  :where(.ps-location-page) .office-panel {
    width: auto;
    margin: 0 24px 36px;
  }
  :where(.ps-location-page) .two-col,
  :where(.ps-location-page) .proof-grid,
  :where(.ps-location-page) .related-grid,
  :where(.ps-location-page) .contact-band,
  :where(.ps-location-page) .accreditations {
    grid-template-columns: 1fr;
  }
  :where(.ps-location-page) .accreditations {
    gap: 12px;
  }
  :where(.ps-location-page) .accreditation-badge {
    min-height: 108px;
  }
  :where(.ps-location-page) .tick-list {
    grid-template-columns: 1fr;
  }
  :where(.ps-location-page) h1 {
    font-size: clamp(40px, 11vw, 58px);
  }
  :where(.ps-location-page) .fee-earner-card {
    grid-template-columns: 1fr;
  }
  :where(.ps-location-page) .fee-earner-card img {
    min-height: 0;
    aspect-ratio: 410 / 273;
  }
}
