@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700&family=PT+Sans:wght@400;700&display=swap');

.ind-preview-header,
.ind-preview-footer,
.ind-editable-page {
  font-family: 'PT Sans', 'Segoe UI', sans-serif;
  color: #212121;
}

.ind-preview-header {
  background: #f9f9f9;
  padding: 1.25rem 4vw;
}

.ind-preview-header .wp-block-navigation {
  font-size: 0.9rem;
  font-weight: 700;
}

body:not(.home) .ind-preview-main,
body:not(.home) .ind-preview-main .wp-block-post-content {
  width: 100%;
  max-width: none;
  padding: 0;
  margin: 0 !important;
  box-shadow: none;
}

.ind-preview-main .ind-editable-page {
  width: 100%;
  margin: 0 !important;
}

.ind-editable-page h1,
.ind-editable-page h2,
.ind-editable-page h3,
.ind-preview-footer h3 {
  font-family: 'Cinzel', Georgia, serif;
}

.ind-editable-page h1,
.ind-editable-page h2,
body:not(.home) .ind-preview-main .ind-editable-page h2 {
  color: #0079ba;
}

.ind-editable-page h1 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.ind-editable-page h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.ind-editable-page h3 {
  font-size: 1.25rem;
}

.ind-editable-page p {
  line-height: 1.6;
}

.ind-editable-page a {
  color: #006da6;
}

.ind-editable-page .ind-preview-section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
}

.ind-editable-page .ind-preview-section + .ind-preview-section {
  border-top: 1px solid #e6e9eb;
}

.ind-editable-page .ind-preview-section > h2 {
  text-align: center;
  margin: 0 0 2rem;
}

.ind-editable-page .ind-preview-hero {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 1rem 3rem;
  max-width: 1120px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.ind-editable-page .ind-preview-hero > h1,
.ind-editable-page .ind-preview-hero > p {
  grid-column: 1;
  margin: 0;
}

.ind-editable-page .ind-preview-hero > figure {
  grid-column: 2;
  grid-row: 1 / span 4;
  margin: 0;
}

.ind-editable-page .ind-preview-hero img,
.ind-editable-page .ind-preview-section img {
  max-width: 100%;
  height: auto;
}

.ind-editable-page .ind-preview-community-hero {
  position: relative;
  min-height: 480px;
  max-width: none;
  align-content: center;
  padding: clamp(3rem, 8vw, 8rem) max(1.5rem, calc((100% - 1120px) / 2));
  overflow: hidden;
}

.ind-editable-page .ind-preview-community-hero > figure {
  position: absolute;
  grid-column: auto;
  grid-row: auto;
  inset: 0;
  width: 100%;
  height: 100%;
}

.ind-editable-page .ind-preview-community-hero > figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  pointer-events: none;
}

.ind-editable-page .ind-preview-community-hero > figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.editor-styles-wrapper .ind-editable-page .ind-preview-community-hero > figure img {
  height: 100% !important;
}

.ind-editable-page .ind-preview-community-hero > h1,
.ind-editable-page .ind-preview-community-hero > p {
  position: relative;
  z-index: 1;
  color: #fff;
  text-shadow: 0 1px 3px #000;
}

.ind-editable-page .ind-preview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
}

.ind-editable-page .ind-preview-card {
  min-width: 0;
  padding: 1.5rem;
  background: #f9f9f9;
}

.ind-editable-page .ind-preview-card > h3 {
  margin-top: 0;
}

.ind-editable-page .ind-preview-card figure {
  margin: 1rem 0;
}

.ind-editable-page .ind-preview-banner {
  margin: 0;
  text-align: center;
}

.ind-editable-page .ind-preview-banner img {
  max-width: 100%;
  height: auto;
}

/* Footer: reproduces the live footer (measured 2026-11-19). White band; bold 16 px PT Sans
   in 75% #212121, underlined links; a bold Cinzel 1.2rem title; 10% rules; content in the live
   content column (Bootstrap-style: 100% / 540 px / 80% / 75% / 70% / 65% of the page from
   576 / 768 / 992 / 1200 / 1440 px, 1200 px from 1800 px, less 15 px padding each side), so it widens with the window as live does. */
.ind-preview-footer {
  background: #fff;
  padding: 46px 0 15px;
  margin-top: 0 !important;
}

.ind-preview-footer .ind-foot {
  width: calc(75% - 30px);
  margin: 0 auto !important;
  max-width: none;
}

/* Percentages of the page width inside the scrollbar (not vw): with a 15 px Windows
   scrollbar live's column at 1366 px is 70% of 1351. */
@media (max-width: 991px)  { .ind-preview-footer .ind-foot { width: calc(80% - 30px); } }
@media (max-width: 767px)  { .ind-preview-footer .ind-foot { width: min(510px, calc(100% - 30px)); } }
@media (max-width: 575px)  { .ind-preview-footer .ind-foot { width: calc(100% - 30px); } }
@media (min-width: 1200px) { .ind-preview-footer .ind-foot { width: calc(70% - 30px); } }
@media (min-width: 1440px) { .ind-preview-footer .ind-foot { width: calc(65% - 30px); } }
@media (min-width: 1800px) { .ind-preview-footer .ind-foot { width: 1170px; } }

.ind-preview-footer .ind-foot > * { margin-block: 0; }

.ind-preview-footer,
.ind-preview-footer p,
.ind-preview-footer a,
body.home .ind-preview-footer .wp-block-navigation .wp-block-navigation-item__content {
  font-family: 'PT Sans', 'Segoe UI', sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: normal;
  text-transform: none;
  text-shadow: none;
  color: rgba(33, 33, 33, 0.75);
}

.ind-preview-footer a,
body.home .ind-preview-footer .wp-block-navigation .wp-block-navigation-item__content {
  text-decoration: underline;
}

.ind-preview-footer .ind-foot-top { gap: 24px; align-items: flex-start; }

.ind-preview-footer .ind-foot-nav,
body.home .ind-preview-footer .wp-block-navigation { width: auto; flex: 1 1 auto; }

.ind-preview-footer .ind-foot-nav .wp-block-navigation__container,
body.home .ind-preview-footer .wp-block-navigation .wp-block-navigation__container {
  justify-content: flex-start !important;  /* beats the home header's flex-end !important */
  gap: 4px 28px;
  width: auto;
}

.ind-preview-footer .ind-foot-nav .wp-block-navigation-item__content { line-height: 20px; padding: 0; }

.ind-preview-footer .ind-foot-social { gap: 0; margin: -4px 0 0 !important; padding: 0; flex: none; }

.ind-preview-footer .ind-foot-social .wp-social-link {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #0079ba !important;
  color: #fff !important;
  margin: 0;
}

.ind-preview-footer .ind-foot-social .wp-social-link a {
  width: 32px;
  height: 32px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff !important;
  text-decoration: none;
}

.ind-preview-footer .ind-foot-social .wp-social-link svg { width: 18px; height: 18px; }

.ind-preview-footer hr.ind-foot-rule {
  border: 0;
  border-top: 1px solid rgba(33, 33, 33, 0.1);
  height: 0;
  margin: 24px 0 !important;
  opacity: 1;
  width: 100%;
  max-width: none;
}

.ind-preview-footer h3.ind-foot-title {
  font-family: 'Cinzel', Georgia, serif;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: normal;
  line-height: normal;
  color: #212121;
  margin: 0 0 14px !important;
}

.ind-preview-footer .ind-foot-address { line-height: 20px; margin-bottom: 16px !important; }

.ind-preview-footer .ind-foot-contact { display: flex; flex-wrap: wrap; gap: 0 21px; line-height: 24px; padding-bottom: 8px; }

.ind-preview-footer .ind-foot-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0 24px;
  line-height: normal;
}

.ind-preview-footer .ind-foot-legal span { color: #212121; }

.ind-preview-footer .ind-foot-legal a { line-height: 24px; padding: 6px 0; margin-top: 0; }

@media (max-width: 700px) {
  .ind-editable-page .ind-preview-hero,
  .ind-editable-page .ind-preview-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .ind-editable-page .ind-preview-hero > figure {
    grid-column: 1;
    grid-row: auto;
  }

  .ind-editable-page .ind-preview-community-hero > figure {
    grid-column: auto;
  }

  .ind-editable-page .ind-preview-section {
    padding: 2rem 1.25rem;
  }
}

.ind-editable-page .ind-sponsor-sample {
  max-width: 1400px;
  margin: 0 auto;
  padding: 4rem 0;
}

.ind-editable-page .ind-sponsor-sample > h2 {
  margin: 0 0 3rem;
  text-align: center;
  text-decoration: underline;
}

.ind-editable-page .ind-sponsor-sample .ind-sponsor-sample-card {
  margin: 0;
  gap: 0;
  align-items: center;
}

body:not(.wp-admin) .ind-editable-page .ind-sponsor-sample .ind-sponsor-sample-card {
  align-items: stretch;
}

body:not(.wp-admin) .ind-editable-page .ind-sponsor-sample .ind-sponsor-sample-card > .wp-block-column {
  align-self: stretch;
  display: flex;
  flex-direction: column;
}

.ind-editable-page .ind-sponsor-sample .ind-sponsor-sample-row {
  margin: 0;
  gap: 1.5rem 0;
}

.ind-editable-page .ind-sponsor-sample .ind-sponsor-sample-row + .ind-sponsor-sample-row {
  margin-top: 1.5rem;
}

.ind-editable-page .ind-sponsor-sample .ind-sponsor-sample-row > .wp-block-column:nth-child(even) .ind-sponsor-sample-card {
  flex-direction: row-reverse;
}

.ind-editable-page .ind-sponsor-sample .ind-sponsor-sample-image {
  margin: 0;
}

.ind-editable-page .ind-sponsor-sample .ind-sponsor-sample-image a {
  display: block;
}

.ind-editable-page .ind-sponsor-sample .ind-sponsor-sample-image img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

body:not(.wp-admin) .ind-editable-page .ind-sponsor-sample .ind-sponsor-sample-image {
  flex: 1;
  position: relative;
  aspect-ratio: 1;
}

body:not(.wp-admin) .ind-editable-page .ind-sponsor-sample .ind-sponsor-sample-image a {
  height: 100%;
}

body:not(.wp-admin) .ind-editable-page .ind-sponsor-sample .ind-sponsor-sample-image img {
  position: absolute;
  inset: 0;
  height: 100%;
}

.ind-editable-page .ind-sponsor-sample .ind-sponsor-sample-text {
  text-align: center;
  padding: 1rem;
}

body:not(.wp-admin) .ind-editable-page .ind-sponsor-sample .ind-sponsor-sample-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

body:not(.wp-admin) .ind-editable-page .ind-sponsor-sample .ind-sponsor-sample-card:is(:hover, :focus-within) .ind-sponsor-sample-text {
  background-color: #0079ba;
  color: #fff;
}

body:not(.wp-admin) .ind-editable-page .ind-sponsor-sample .ind-sponsor-sample-card:is(:hover, :focus-within) .ind-sponsor-sample-text :is(h3, a) {
  color: #fff;
}

.ind-editable-page .ind-sponsor-sample .ind-sponsor-sample-text h3 {
  font-size: clamp(1.05rem, 1.9vw, 1.5rem);
  font-weight: 700;
  overflow-wrap: normal;
  word-break: normal;
}

.editor-styles-wrapper .ind-editable-page .ind-sponsor-sample .ind-sponsor-sample-text h3 {
  font-size: 1rem;
}

.ind-editable-page .ind-sponsor-sample .ind-sponsor-sample-text p {
  font-size: 1rem;
}

@media (max-width: 700px) {
  .ind-editable-page .ind-sponsor-sample {
    padding: 3rem 0;
  }

  .ind-editable-page .ind-sponsor-sample .ind-sponsor-sample-card {
    flex-direction: row-reverse;
  }
}

.ind-editable-page .ind-faithful-section {
  max-width: 975px;
  margin: 0 auto;
  padding: 5rem 1.5rem;
}

.ind-editable-page .ind-faithful-section + .ind-faithful-section {
  border-top: 0;
}

.ind-editable-page .ind-faithful-section h2,
.ind-editable-page .ind-faithful-amenity > h3,
body:not(.home) .ind-preview-main .ind-faithful-amenity > h3 {
  color: #0079ba;
  font-family: 'Cinzel', Georgia, serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  text-align: center;
}

.ind-editable-page .ind-faithful-community-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  position: relative;
  min-height: 730px;
  align-content: center;
  padding: 4rem max(1.5rem, calc((100% - 975px) / 2));
  overflow: hidden;
}

.ind-editable-page .ind-faithful-community-hero > figure {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
}

.ind-editable-page .ind-faithful-community-hero > figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  pointer-events: none;
}

.ind-editable-page .ind-faithful-community-hero > figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.editor-styles-wrapper .ind-editable-page .ind-faithful-community-hero > figure img {
  height: 100% !important;
}

.ind-editable-page .ind-faithful-community-hero > h1,
.ind-editable-page .ind-faithful-community-hero > p {
  position: relative;
  z-index: 1;
  max-width: 490px;
  color: #fff;
  text-shadow: 0 1px 3px #000;
}

.ind-editable-page .ind-faithful-community-hero > .ind-faithful-hero-topics {
  font-family: 'Cinzel', Georgia, serif;
  font-size: clamp(1.05rem, 2vw, 1.5rem);
  font-weight: 700;
  line-height: 1.9;
  text-decoration: underline;
}

.ind-editable-page .ind-faithful-section-title {
  text-align: center;
}

.ind-editable-page .ind-faithful-amenity {
  text-align: center;
}

.ind-editable-page .ind-faithful-amenity > p {
  margin: 1.1rem auto;
  max-width: 850px;
}

.ind-editable-page .ind-faithful-photo-pair,
.ind-editable-page .ind-faithful-sponsor-grid,
.ind-editable-page .ind-faithful-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.ind-editable-page .ind-faithful-photo-pair > *,
.ind-editable-page .ind-faithful-sponsor-grid > *,
.ind-editable-page .ind-faithful-contact-grid > * {
  margin-block-start: 0;
}

.ind-editable-page .ind-faithful-photo-pair figure {
  max-width: 285px;
  margin: 0 auto;
}

.ind-editable-page .ind-faithful-photo-pair img,
.ind-editable-page .ind-faithful-sponsor img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.ind-editable-page .ind-faithful-photo {
  text-align: center;
}

.ind-editable-page .ind-faithful-photo p {
  font-family: 'Cinzel', Georgia, serif;
  margin: 1rem 0 0;
}

.ind-editable-page .ind-faithful-contact > p:first-child {
  font-family: 'Cinzel', Georgia, serif;
  font-weight: 700;
}

.ind-editable-page .ind-faithful-copy h2,
.ind-editable-page .ind-faithful-help > h2,
.ind-editable-page .ind-faithful-contacts > h2,
.ind-editable-page .ind-faithful-split h2 {
  text-align: left;
}

.ind-editable-page .ind-faithful-help-item {
  padding: 1rem 0;
  border-bottom: 1px solid #e8e8e8;
}

.ind-editable-page .ind-faithful-help-item h3 {
  margin-bottom: 1rem;
}

.ind-editable-page .ind-faithful-split,
.ind-editable-page .ind-faithful-sponsor-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 3rem;
}

.ind-editable-page .ind-faithful-sponsor-intro {
  text-align: center;
}

.ind-editable-page .ind-faithful-sponsor-intro > h1 {
  font-size: 1.1rem;
}

.ind-editable-page .ind-faithful-sponsor-intro > p:last-child {
  font-family: 'Cinzel', Georgia, serif;
  color: #0079ba;
  font-size: 1.6rem;
}

.ind-editable-page .ind-faithful-sponsor-banner {
  height: 138px;
  overflow: hidden;
}

.ind-editable-page .ind-faithful-sponsor-banner figure,
.ind-editable-page .ind-faithful-sponsor-banner img {
  width: 100%;
  height: 100%;
  margin: 0;
}

.ind-editable-page .ind-faithful-sponsor-banner img {
  object-fit: cover;
  object-position: center;
}

.ind-editable-page.ind-full-sponsor-review .ind-faithful-sponsor-banner {
  height: auto;
  max-width: 760px;
  margin: 0 auto;
}

.ind-editable-page.ind-full-sponsor-review .ind-faithful-sponsor-banner img {
  height: auto;
}

.ind-editable-page .ind-faithful-sponsor {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 1rem;
  min-height: 250px;
}

.ind-editable-page .ind-faithful-sponsor > figure,
.ind-editable-page .ind-faithful-split > figure,
.ind-editable-page .ind-faithful-sponsor-hero > figure {
  margin: 0;
}

.ind-editable-page .ind-faithful-sponsor img,
.ind-editable-page .ind-faithful-split img,
.ind-editable-page .ind-faithful-sponsor-hero img,
.ind-editable-page .ind-faithful-photo-pair img,
.ind-editable-page .ind-faithful-poster img {
  max-width: 100%;
  height: auto;
}

.ind-editable-page .ind-faithful-sponsor-text {
  text-align: center;
}

.ind-editable-page .ind-faithful-sponsor-text h3 {
  font-size: 1.15rem;
}

.ind-editable-page .ind-faithful-poster {
  text-align: center;
  padding: 2rem 1.5rem;
}

.ind-editable-page .ind-faithful-poster figure {
  max-width: 950px;
  margin: 0 auto;
}

.ind-editable-page .ind-faithful-storm {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 1fr);
  gap: 0 2rem;
  text-align: center;
}

.ind-editable-page .ind-faithful-storm > * {
  grid-column: 1;
}

.ind-editable-page .ind-faithful-storm > p:last-child {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  font-weight: 700;
}

.ind-editable-page .ind-faithful-storm p a {
  display: inline-block;
  margin: 0.3rem 0;
  padding: 0.6rem 1rem;
  background: #0079ba;
  color: #fff;
  text-decoration: none;
}

.ind-editable-page.ind-community-review .ind-community-photo-pair {
  gap: 2rem;
  margin: 3rem 0 0;
  align-items: flex-start;
}

.ind-editable-page.ind-community-review .ind-community-photo-pair figure {
  max-width: 285px;
  margin: 0 auto;
}

.ind-editable-page.ind-community-review .ind-community-photo-pair img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.ind-editable-page.ind-community-review .ind-community-contact-grid {
  margin-top: 3rem;
}

.ind-editable-page.ind-community-review .ind-community-contact-row {
  gap: 2rem;
  margin: 0 0 2rem;
}

.ind-editable-page.ind-community-review .ind-community-meetings,
.ind-editable-page.ind-community-review .ind-community-events {
  max-width: 975px;
}

.ind-editable-page.ind-community-review .ind-community-meetings > p,
.ind-editable-page.ind-community-review .ind-community-events > p {
  margin: 0;
  padding: 1rem 0;
  border-bottom: 1px solid #e8e8e8;
}

@media (max-width: 700px) {
  .ind-editable-page .ind-faithful-section {
    padding: 3rem 1.25rem;
  }

  .ind-editable-page .ind-faithful-community-hero {
    min-height: 450px;
    padding: 3rem 1.25rem;
  }

  .ind-editable-page .ind-faithful-split,
  .ind-editable-page .ind-faithful-sponsor-hero,
  .ind-editable-page .ind-faithful-photo-pair,
  .ind-editable-page .ind-faithful-sponsor-grid,
  .ind-editable-page .ind-faithful-contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .ind-editable-page .ind-faithful-sponsor {
    min-height: 180px;
  }

  .ind-editable-page .ind-faithful-storm {
    grid-template-columns: minmax(0, 1fr);
  }

  .ind-editable-page .ind-faithful-storm > p:last-child {
    grid-column: 1;
    grid-row: auto;
  }
}

/* Elementor sponsor cards (Sponsors - Elementor Test, page 167): on hover or
   keyboard focus, the text side turns brand blue with white text, as on the live
   site. Elementor's free version can't recolour text on a parent's hover, so the
   cards carry these classes (Advanced > CSS Classes) and the theme does it. */
.ind-el-sponsor-text {
  transition: background-color 0.2s ease;
}

.ind-el-sponsor-card:is(:hover, :focus-within) .ind-el-sponsor-text {
  background-color: #0079ba;
}

.ind-el-sponsor-card:is(:hover, :focus-within) .ind-el-sponsor-text :is(h1, h2, h3, h4, p, a, span, div) {
  color: #fff !important;
}

/* Fixed header on Elementor pages (editable-preview-header.js), as on the live
   site: 90 px, transparent over the first section, white links over a hero
   photo, white background with dark links after scrolling. */
body.ind-fixed-header .ind-preview-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 90px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0 4vw;
  background: transparent;
  transition: background-color 0.25s ease, box-shadow 0.25s ease;
}

body.admin-bar.ind-fixed-header .ind-preview-header {
  top: 32px;
}

body.ind-fixed-header .ind-preview-header .wp-block-navigation {
  width: 100%;
  font-family: 'PT Sans', 'Segoe UI', sans-serif;
  font-size: 16px;
  font-weight: 700;
}

/* Colours per page, set by editable-preview-header.js from the first section's classes. */
body.ind-fixed-header .ind-preview-header :is(a, .wp-block-navigation__responsive-container-open) {
  color: var(--ind-hdr-top, #212121);
}

body.ind-fixed-header .ind-preview-header.ind-scrolled {
  background: var(--ind-hdr-bg, #fff);
}

body.ind-fixed-header .ind-preview-header.ind-scrolled :is(a, .wp-block-navigation__responsive-container-open) {
  color: var(--ind-hdr-link, #212121);
}

body.ind-fixed-header .ind-preview-header a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 6px;
}

/* Content starts under the header: the first section extends behind it. */
body.ind-fixed-header .ind-preview-main {
  margin-top: 0 !important;
}

/* Pages built from live geometry (sections marked ind-geo) already place content
   below the header; only hand-built pages need the 90 px offset. */
body.ind-fixed-header .ind-preview-main [data-elementor-type] > .e-con:first-child:not(.ind-geo) {
  padding-top: calc(var(--padding-top, 0px) + 90px);
}

/* Links inside Elementor text blocks: same colour as the text, underlined, as
   on the live site (the theme and Elementor kit would otherwise make them blue). */
body.elementor-page .elementor-widget-text-editor a {
  color: inherit;
  text-decoration: underline;
}

/* Elementor pages: render text like the live site. The parent theme tightens
   letters by 0.1 px and Elementor sets headings to line-height 1; the live site
   uses normal letter spacing and the font's normal line height. A widget's own
   line-height setting (more specific) still wins. */
body.elementor-page .elementor,
body.elementor-page .elementor :is(h1, h2, h3, h4, h5, h6, p, a, span, li) {
  letter-spacing: normal;
}

body.elementor-page .elementor-widget-heading .elementor-heading-title,
body.elementor-page .elementor-widget-text-editor {
  line-height: normal;
}

/* Wrap lines like the live site: the parent theme balances heading lines
   (text-wrap: pretty), which breaks them at different words. */
body.elementor-page .elementor :is(h1, h2, h3, h4, h5, h6, p) {
  text-wrap: wrap;
  overflow-wrap: break-word;
}

/* A linked photo fills its cell like an unlinked one: Elementor wraps it in an
   inline-block link that would otherwise shrink to the picture's own width. */
body.elementor-page .elementor-widget-image a {
  display: block;
}

/* Video at the live page's 2:1 shape (Elementor's choices are 16:9, 21:9, 4:3...). */
body.elementor-page .ind-video-2x1 .elementor-wrapper {
  --video-aspect-ratio: 2;
  aspect-ratio: 2 / 1;
}

/* Text laid over a video or picture: covers the section, lets clicks through. */
body.elementor-page .ind-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

/* The live site's content container (a Bootstrap-style grid): 65% of the page width (inside the scrollbar, so % not vw) from
   1440 px, 70% from 1200, 75% from 992, 80% from 768, 540 px from 576, full width below,
   never wider than 1200 px, with 15 px side padding. Rows built from live geometry put their
   columns inside it as percentages, so photos and line lengths grow with the window as on
   live (text sizes stay fixed). */
body.elementor-page .ind-live-container {
  width: 65%;
  max-width: 1200px;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 15px;
  padding-right: 15px;
  box-sizing: border-box;
}
@media (min-width: 1800px) { body.elementor-page .ind-live-container { width: 1200px; } }
@media (max-width: 1439px) { body.elementor-page .ind-live-container { width: 70%; } }
@media (max-width: 1199px) { body.elementor-page .ind-live-container { width: 75%; } }
@media (max-width: 991px)  { body.elementor-page .ind-live-container { width: 80%; } }
@media (max-width: 767px)  { body.elementor-page .ind-live-container { width: 540px; max-width: 100%; } }
@media (max-width: 575px)  { body.elementor-page .ind-live-container { width: 100%; } }

/* Live's big cover titles step in size: 3rem below 768 px, 4rem to 1679, 5rem from 1680.
   Widgets with this class multiply their px font sizes by --ind-fs. */
body.elementor-page .ind-fs-cover { --ind-fs: 1; }
@media (min-width: 1680px) { body.elementor-page .ind-fs-cover { --ind-fs: 1.25; } }
@media (max-width: 767px)  { body.elementor-page .ind-fs-cover { --ind-fs: 0.75; } }

/* A photo box that fills its card's height (the card's text sets the height). */
body.elementor-page .ind-fill-h { align-self: stretch; }
body.elementor-page .ind-fill-h .elementor-widget-image { height: 100%; position: relative; }
body.elementor-page .ind-fill-h .elementor-widget-image img { position: absolute; inset: 0; width: 100%; height: 100% !important; }
body.elementor-page .ind-fill-h .elementor-widget-image img { object-fit: cover; }

/* Live's fluid band padding (top and bottom): min at a 414 px window, max from 1680 px. */
body.elementor-page .ind-pad-sm { padding-top: clamp(16px, calc(16px + 8 * (100vw - 414px) / 1266), 24px) !important; padding-bottom: clamp(16px, calc(16px + 8 * (100vw - 414px) / 1266), 24px) !important; }
body.elementor-page .ind-pad-md { padding-top: clamp(24px, calc(24px + 16 * (100vw - 414px) / 1266), 40px) !important; padding-bottom: clamp(24px, calc(24px + 16 * (100vw - 414px) / 1266), 40px) !important; }
body.elementor-page .ind-pad-lg { padding-top: clamp(32px, calc(32px + 32 * (100vw - 414px) / 1266), 64px) !important; padding-bottom: clamp(32px, calc(32px + 32 * (100vw - 414px) / 1266), 64px) !important; }
body.elementor-page .ind-pad-xl { padding-top: clamp(40px, calc(40px + 48 * (100vw - 414px) / 1266), 88px) !important; padding-bottom: clamp(40px, calc(40px + 48 * (100vw - 414px) / 1266), 88px) !important; }

/* Photos that keep their live shape while their width follows the grid. */
body.elementor-page .ind-ar-1x1 img, body.elementor-page .e-con.ind-ar-1x1 { aspect-ratio: 1 / 1; height: auto !important; }
body.elementor-page .ind-ar-3x4 img { aspect-ratio: 3 / 4; height: auto !important; }
