/* ==================================================================
   STANDARD PAGE  —  banner + editor content
   The one template with no ACF layout behind it, so everything an
   editor can produce in the block editor has to look right here:
   headings, lists, quotes, tables, images, buttons. Typography
   inherits from .mb-copy in components.css; this file covers the
   elements .mb-copy does not.
   ================================================================== */

.sp-body { background: var(--surface); }

/* ---- the banner -----------------------------------------------------
   The shared .inner-hero is 640px tall because the section pages carry
   an eyebrow, a sub-headline and a button row inside it. This banner
   holds a title and at most one line, so it runs shorter — enough to
   read as a header, not so tall that the content starts below the fold.
   With no featured image the stage is absent and the overlay has
   nothing to sit on, so the gradient stands in for the photo. */
.sp-hero { min-height: 380px; }
.sp-hero .inner-hero-content { padding: 84px 40px; }

.sp-hero--plain {
  background: linear-gradient(135deg, var(--brand-deep) 0%, var(--brand-primary) 58%, var(--brand-teal) 100%);
}
.sp-hero--plain .inner-hero-overlay { opacity: .35; }

.sp-hero .inner-hero-content p {
  max-width: 720px;
  margin: 14px auto 0;
  color: rgba(255, 255, 255, .86);
  font-size: 18px;
  line-height: 30px;
}

/* ---- the content column ---------------------------------------------
   Capped at a comfortable reading measure and centred, because an
   editor page is read straight down rather than scanned in columns. */
.sp-content {
  max-width: 100%;
  margin: 0 auto;
}

.sp-content > *:first-child { margin-top: 0; }
.sp-content > *:last-child  { margin-bottom: 0; }

.sp-content h2 {
  margin: 48px 0 18px;
  font-size: 32px;
  line-height: 42px;
  color: var(--brand-primary);
}
.sp-content h3 {
  margin: 38px 0 14px;
  font-size: 24px;
  line-height: 33px;
  color: var(--brand-primary);
}
.page-id-11232 .sp-content h2, .page-id-10811 .sp-content h2 {
  margin: 0px 0 10px;
	font-weight:700;
}
.page-id-11232 .sp-content h3, .page-id-10811 .sp-content h3 {
  margin: 0px 0 10px;
	font-weight:700;
}
.sp-content h4 {
  margin: 32px 0 12px;
  font-size: 20px;
  line-height: 29px;
  color: var(--brand-ink);
}
.sp-content h5,
.sp-content h6 {
  margin: 28px 0 10px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--brand-accent);
}

.sp-content p {
  margin: 0 0 22px;
  font-size: 17px;
  line-height: 30px;
  color: var(--text-body);
}

.sp-content a {
  color: var(--brand-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color .25s var(--ease-out);
}
.sp-content a:hover { color: var(--brand-primary); }

/* Buttons the editor drops in keep their own styling — no underline. */
.sp-content .bookingbtn a,
.sp-content .ghostbtn a,
.sp-content .wp-block-button__link { text-decoration: none; }

.sp-content ul,
.sp-content ol {
  margin: 0 0 24px;
  padding-left: 22px;
}
.sp-content li {
  margin-bottom: 10px;
  font-size: 17px;
  line-height: 30px;
  color: var(--text-body);
}
.sp-content li::marker { color: var(--brand-accent); }
.sp-content li > ul,
.sp-content li > ol { margin: 10px 0 0; }

.sp-content blockquote {
  margin: 34px 0;
  padding: 24px 28px;
  background: var(--surface-sand);
  border-left: 4px solid var(--brand-accent);
  border-radius: 12px;
}
.sp-content blockquote p {
  margin: 0;
  font-size: 19px;
  line-height: 32px;
  color: var(--brand-ink);
}
.sp-content blockquote p + p { margin-top: 14px; }
.sp-content blockquote cite {
  display: block;
  margin-top: 12px;
  font-style: normal;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--brand-accent);
}

.sp-content img,
.sp-content iframe,
.sp-content video {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}
.sp-content figure { margin: 32px 0; }
.sp-content figcaption {
  margin-top: 10px;
  font-size: 14px;
  line-height: 23px;
  color: var(--text-muted);
  text-align: center;
}
.sp-content .alignleft  { float: left;  margin: 6px 28px 20px 0; }
.sp-content .alignright { float: right; margin: 6px 0 20px 28px; }
.sp-content .aligncenter { margin-left: auto; margin-right: auto; }

/* A table an editor pastes in should not break the layout. */
.sp-content .wp-block-table,
.sp-content .table-scroll { overflow-x: auto; margin: 32px 0; }
.sp-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
}
.sp-content th,
.sp-content td {
  padding: 13px 16px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  color: var(--text-body);
}
.sp-content th {
  background: var(--surface-alt);
  font-weight: 700;
  color: var(--brand-primary);
}

.sp-content hr {
  margin: 44px 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.sp-content code {
  background: var(--surface-alt);
  padding: 2px 6px;
  border-radius: 5px;
  font-size: 15px;
}
.sp-content pre {
  background: var(--surface-alt);
  padding: 20px 22px;
  border-radius: 12px;
  overflow-x: auto;
  margin: 0 0 24px;
}
.sp-content pre code { background: none; padding: 0; }

.sp-pages {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 15px;
  color: var(--text-muted);
}
.sp-pages a { margin: 0 4px; }

@media (max-width: 991px) {
  .sp-hero { min-height: 320px; }
  .sp-hero .inner-hero-content { padding: 70px 40px; }
}

@media (max-width: 767px) {
  .sp-hero { min-height: 260px; }
  .sp-hero .inner-hero-content { padding: 58px 24px; }
  .sp-hero .inner-hero-content p { font-size: 16px; line-height: 27px; }
  .sp-content h2 { font-size: 26px; line-height: 35px; margin-top: 38px; }
  .sp-content h3 { font-size: 21px; line-height: 30px; margin-top: 30px; }
  .sp-content p,
  .sp-content li { font-size: 16px; line-height: 28px; }
  .sp-content blockquote { padding: 20px 20px; }
  .sp-content blockquote p { font-size: 17px; line-height: 29px; }
  .sp-content .alignleft,
  .sp-content .alignright { float: none; margin: 24px auto; }
}