/* Adapt the approved layouts to Elementor containers and the Hub widget markup. */
.xr4-view.e-con {
  --container-default-padding-top: 0px;
  --container-default-padding-bottom: 0px;
  --container-default-padding-left: 0px;
  --container-default-padding-right: 0px;
  --widgets-spacing: 0px;
  --widgets-spacing-row: 0px;
  --widgets-spacing-column: 0px;
  display: flex;
  flex-flow: column nowrap;
  width: 100%;
  max-width: 100%;
  gap: 0;
  padding: 0;
  color: var(--ink);
  font: 1rem/1.65 var(--body);
}
.xr4-view .wrap.e-con {
  width: min(calc(100% - var(--edge) * 2), 1376px);
  max-width: 1376px;
  margin-inline: auto;
}
.xr4-view .hero-grid.e-con,
.xr4-view .history-grid.e-con {
  display: grid;
  align-items: center;
  grid-template-rows: auto;
}
.xr4-view .section-head.e-con {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: nowrap;
  gap: 24px;
}
.xr4-view .section-head > .xr4-title-group { width: auto; }
.xr4-view .hero-actions.e-con {
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  gap: 26px;
}
.xr4-view .press-hero .hero-actions.e-con { gap: 20px; }
.xr4-view .hero-actions > .elementor-widget { width: auto; flex: 0 1 auto; }
.xr4-view .section-head .section-note { width: auto; }
.xr4-view .hero-intro.elementor-widget-text-editor p,
.xr4-view .section-note.elementor-widget-text-editor p,
.xr4-view .xr4-history-text.elementor-widget-text-editor p {
  margin: 0;
  padding: 0;
  color: inherit;
  font: inherit;
  text-wrap: inherit;
}
.xr4-view .xr4-history-text {
  color: #e2e4f5;
  max-width: 44ch;
  font: 1rem/1.65 var(--body);
}

/* Hub's Liquid Text renders a heading inside a second typography wrapper. */
.xr4-view .ld-fancy-heading .ld-fh-element {
  display: block !important;
  max-width: 100%;
  font-family: var(--display);
}
.xr4-view .eyebrow .ld-fancy-heading .ld-fh-element {
  display: flex !important;
  align-items: center;
  gap: 11px;
  margin: 0;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
}
.xr4-view .eyebrow .ld-fancy-heading { color: inherit; font: inherit; }
.xr4-view .ld-fancy-heading h2.ld-fh-element {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2.1rem,3.5vw,3.95rem);
  font-weight: 680;
  letter-spacing: -.054em;
  line-height: 1.03;
}
.xr4-view .history .ld-fancy-heading h2 { color: white; margin: 18px 0 22px; }
.xr4-view .trust .ld-fancy-heading h2 { font-size: clamp(1.95rem,2.7vw,3rem); }
.xr4-view .section-head .eyebrow.elementor-widget { margin-block-end: 13px; }
.xr4-view .hero-actions.e-con { margin-block-start: 30px; }

/* Liquid Buttons keep a native, editable URL and label. */
.xr4-view .xr4-cta .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 22px;
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: 36px;
  box-shadow: none;
  font: 550 .94rem/1.28 var(--labels);
  letter-spacing: normal;
  text-decoration: none;
  text-transform: none;
}
.xr4-view .xr4-cta .btn .btn-txt { color: inherit; font: inherit; letter-spacing: inherit; }
.xr4-view .xr4-cta .btn-icon:empty { display: none; }
.xr4-view .xr4-cta-navy .btn { background: var(--navy); color: white; }
.xr4-view .xr4-cta-navy .btn:hover { background: #1f266e; transform: translateY(-1px); }
.xr4-view .xr4-cta-white .btn { background: white; color: var(--navy); }
.xr4-view .xr4-cta-white .btn:hover { background: #e7fcff; }
.xr4-view .xr4-cta-text .btn {
  min-height: 0;
  padding: 5px 0;
  gap: 7px;
  background: transparent;
  color: white;
  border: 0;
  border-radius: 0;
  font: 520 .95rem/1.5 var(--labels);
}
.xr4-view .xr4-cta-text .btn-txt {
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
}
.xr4-view .xr4-history-link { margin-top: 22px; }
.xr4-view .xr4-history-link .btn { gap: 10px; }
.xr4-view .xr4-playlist .btn::before,
.xr4-view .xr4-history-link .btn::before,
.xr4-view .print-main .lqd-imggrp-content-inner p::before {
  position: static;
  display: inline-block;
  flex: none;
  width: 18px;
  height: 18px;
  margin: 0;
  content: "";
  background: currentColor;
  opacity: 1;
  transform: none;
  mask: var(--xr4-glyph) center / contain no-repeat;
}
.xr4-view .xr4-playlist {
  --xr4-glyph: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.65' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='4'/%3E%3Cpath d='m10 8 6 4-6 4Z'/%3E%3C/svg%3E");
}
.xr4-view .xr4-history-link {
  --xr4-glyph: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.65' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='13' rx='2'/%3E%3Cpath d='m8 21 4-4 4 4m-4-4v4'/%3E%3C/svg%3E");
}

/* Reflow the editable side labels below each print, including in the editor. */
.xr4-view .photo-board.e-con {
  display: block;
  width: auto;
  position: relative;
  overflow: visible;
}
.xr4-view .photo-board > .print { position: absolute; }
.xr4-view .photo-board > .print-main { width: 84%; }
.xr4-view .photo-board > .print-small { width: 39%; }
.xr4-view .print .lqd-imggrp-img-container {
  display: flex !important;
  flex-direction: column-reverse;
  align-items: stretch !important;
  width: 100%;
}
.xr4-view .print figure { width: 100%; margin: 0; }
.xr4-view .print .lqd-imggrp-content,
.xr4-view .print .lqd-imggrp-content-inner {
  position: static;
  inset: auto;
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
  transform: none;
  writing-mode: horizontal-tb;
}
.xr4-view .print .lqd-imggrp-content-inner p {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  padding: 5px 2px 7px;
  text-align: left;
  font: 500 clamp(.69rem,.84vw,.84rem)/1.2 var(--labels);
  letter-spacing: normal;
  text-transform: none;
  color: #35384d;
  writing-mode: horizontal-tb;
  transform: none;
}
.xr4-view .print-main .lqd-imggrp-content-inner p::before {
  --xr4-glyph: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.65' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 7 3.5-.1L9 4h6l1.5 3H20a1 1 0 0 1 1 1v10a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a1 1 0 0 1 1-1Z'/%3E%3Ccircle cx='12' cy='13' r='3.3'/%3E%3C/svg%3E");
  width: 15px;
  height: 15px;
}
.xr4-view .print-small .lqd-imggrp-content-inner p {
  padding: 5px 0 6px;
  font-size: clamp(.65rem,.76vw,.78rem);
}
.xr4-view .logo-row > .xr4-logo {
  display: grid;
  place-items: center;
  height: 70px;
}
.xr4-view .xr4-logo > .elementor-widget-container {
  display: grid;
  place-items: center;
  min-width: 0;
  width: 100%;
}
.xr4-view .xr4-logo .lqd-imggrp-single,
.xr4-view .xr4-logo .lqd-imggrp-img-container { width: 100%; }
.xr4-view .xr4-logo figure { margin: 0; }
.xr4-view .xr4-logo figure img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 58px;
  margin-inline: auto;
  object-fit: contain;
}

/* The wall title is independent Liquid Text. Its search field belongs to the searchable posts widget. */
.xr4-view .wall.e-con {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: center;
  gap: 0 24px;
}
.xr4-view .wall > .section-head {
  grid-row: 1;
  grid-column: 1;
  align-items: center;
}
.xr4-view .xr4-wall-widget,
.xr4-view .xr4-wall-widget > .elementor-widget-container,
.xr4-view .xr4-wall-widget .xr4-wall-inner {
  display: contents;
}
.xr4-view .wall .search {
  grid-row: 1;
  grid-column: 2;
  justify-self: end;
  margin-bottom: 24px;
}
.xr4-view .wall :is(.filters,.filter-info,.press-grid,.empty-state,.more-row) { grid-column: 1/-1; }
body.elementor-editor-active .xr4-view .wall > .xr4-wall-widget {
  display: block;
  grid-column: 1/-1;
}
body.elementor-editor-active .xr4-view .wall .search { margin-left: auto; }
@media (max-width: 800px) {
  .xr4-view .hero-actions.e-con { gap: 15px; margin-block-start: 22px; }
  .xr4-view .hero-actions .xr4-cta:not(.xr4-cta-text) .btn { padding: 11px 16px; }
  .xr4-view .logo-row.e-con { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .xr4-view .history-grid.e-con { grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); }
}
@media (max-width: 650px) {
  .xr4-view .hero-grid.e-con,
  .xr4-view .history-grid.e-con { grid-template-columns: minmax(0,1fr); }
  .xr4-view .section-head.e-con {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .xr4-view .section-head .eyebrow.elementor-widget { margin-block-end: 9px; }
  .xr4-view .photo-board.e-con { width: min(94%,490px); }
  .xr4-view .photo-board > .print-main { width: 76%; }
  .xr4-view .photo-board > .print-small { width: 36%; }
  .xr4-view .print .lqd-imggrp-content-inner p { font-size: .7rem; padding: 4px 0 5px; gap: 5px; }
  .xr4-view .print-small .lqd-imggrp-content-inner p { font-size: .64rem; }
  .xr4-view .history .ld-fancy-heading h2 { margin: 12px 0 16px; }
  .xr4-view .xr4-history-text { max-width: none; }
  .xr4-view .xr4-history-link { margin-top: 13px; }
  .xr4-view .logo-row.e-con { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .xr4-view .logo-row > .xr4-logo { height: 58px; }
  .xr4-view .xr4-logo figure img { max-height: 48px; }
  .xr4-view .wall.e-con { grid-template-columns: minmax(0,1fr); }
  .xr4-view .wall > .section-head { margin-bottom: 18px; align-items: stretch; }
  .xr4-view .wall .search {
    grid-column: 1;
    grid-row: 2;
    justify-self: stretch;
    width: 100%;
    margin: 0 0 15px;
  }
}
