.showcase__header {
  display: flex;
  flex-direction: column;
  padding: 8rem 5rem 3rem 5rem;
  background-color: #E9EFFF;
  flex: 1;
  gap: 4rem;

  background: linear-gradient(0deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.6) 100%), url('../assets/images/services/services.webp'), lightgray 0px -248.685px / 100% 292.355% no-repeat;
  background-repeat: no-repeat;
  background-size: cover;
}

.showcase__titles {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1;
  color: white;
  text-align: center;
}

.showcase__button {
  margin: 0;
  justify-content: start;
  width: fit-content;
  height: fit-content;
}

.showcase__form-width {
  flex: 1;
}

.showcase__form-container {
  width: 100%;
}

/* Gallery navigation  */
.gallery__nav {
  display: flex;
  flex-direction: row;
  gap: 3rem;
  justify-content: center;
  padding: 1rem 0rem;
  font-size: 14px;
}

.services {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  flex-wrap: wrap;
}

.service {
  min-width: 240px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  border: 2px solid white;
  padding: 1rem;
  flex: 1;
  background-color: rgba(0,0,0,0);
  align-items: center;
}

.service__header {
  color: white;
}

.service__text {
  color: white;
  text-align: center;
}

/* Individual sections: */

.service__left {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.service__container {
  padding: 3rem;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 1rem;
}

.service__container--centered {
  justify-content: center;
}

.service__container--teaser {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.service__container--teaser .service__left--centered {
  border: 2px solid lightgray;
  border-radius: 15px;
  padding: 2rem;
  box-sizing: border-box;
}

.service__left--centered {
  flex: 1;
  max-width: 700px;
  align-items: center;
  text-align: center;
}

.services__button-styled {
  margin: 0;
  width: fit-content;
  text-decoration: none;
}

a.submit__button.services__button {
  cursor: pointer;
  box-sizing: border-box;
}

.service__teaser-partner {
  flex: 1;
  max-width: 520px;
}

.golf__callout-partner--teaser {
  margin-top: 2rem;
  max-width: none;
}

.golf__callout-partner--teaser .golf__partner {
  margin-top: 1rem;
}

.service__right {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  grid-column-gap: 1rem;
  grid-row-gap: 1rem;
}

.service__feature-image {
  width: 25vw;
  height: 25vh;
  text-align: center;
  align-items: center;
  display: flex;
  justify-content: center;
  border-radius: 5px;
}

.service__image-1 {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.6) 100%), url('../assets/images/showcase/theater-1.webp'), lightgray 0px -248.685px / 100% 292.355% no-repeat;
  object-fit: contain;
  background-size: 100%;
  background-position: center;
}
.service__image-2 {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.6) 100%), url('../assets/images/showcase/theater-2.webp'), lightgray 0px -248.685px / 100% 292.355% no-repeat;
  object-fit: contain;
  background-size: 100%;
  background-position: center;
}
.service__image-3 {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.6) 100%), url('../assets/images/showcase/theater-5.webp'), lightgray 0px -248.685px / 100% 292.355% no-repeat;
  object-fit: contain;
  background-size: 100%;
  background-position: center;
}
.service__image-4 {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.6) 100%), url('../assets/images/showcase/theater-3.webp'), lightgray 0px -248.685px / 100% 292.355% no-repeat;
  object-fit: contain;
  background-size: 100%;
  background-position: center;
}


.service__image-5 {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.6) 100%), url('../assets/images/showcase/music-1.webp'), lightgray 0px -248.685px / 100% 292.355% no-repeat;
  object-fit: contain;
  background-size: 100%;
  background-position: -10rem, 0rem;
}
.service__image-6 {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.6) 100%), url('../assets/images/showcase/music-2.webp'), lightgray 0px -248.685px / 100% 292.355% no-repeat;
  object-fit: contain;
  background-size: 100%;
  background-position: center;
}
.service__image-7 {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.6) 100%), url('../assets/images/showcase/music-3.webp'), lightgray 0px -248.685px / 100% 292.355% no-repeat;
  object-fit: contain;
  background-size: 100%;
  background-position: center;
}
.service__image-8 {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.6) 100%), url('../assets/images/showcase/music-4.webp') lightgray 0px -248.685px / 100% 292.355% no-repeat;
  object-fit: contain;
  background-size: 100%;
  background-position: center;
}


.service__image-9 {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.6) 100%), url('../assets/images/showcase/electric-5.webp'), lightgray 0px -248.685px / 100% 292.355% no-repeat;
  object-fit: contain;
  background-size: 100%;
  background-position: -10rem, 0rem;
}
.service__image-10 {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.6) 100%), url('../assets/images/showcase/electric-2.webp'), lightgray 0px -248.685px / 100% 292.355% no-repeat;
  background-size: 175%;
  background-position: center;
}
.service__image-11 {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.6) 100%), url('../assets/images/showcase/electric-3.webp'), lightgray 0px -248.685px / 100% 292.355% no-repeat;
  background-size: 175%;
  background-position: center;
}
.service__image-12 {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.6) 100%), url('../assets/images/showcase/electric-4.webp') lightgray 0px -248.685px / 100% 292.355% no-repeat;
  background-size: 100%;
  background-position: center;
}

.service__feature-image__text {
  color: white;
  font-weight: 800;
  padding: 0rem .5rem;
}

.golf__container {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 100%;
  box-sizing: border-box;
}

.golf__header {
  display: flex;
  flex-direction: column;
  padding: 8rem 5rem 3rem;
  flex: 1;
  justify-content: center;
  align-items: center;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.45) 100%), url('../assets/images/services/simulator.jpg'), lightgray 50% / cover no-repeat;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.golf__header .showcase__titles {
  max-width: 52rem;
}

.golf__header .hero__subtitle {
  width: auto;
  max-width: 42rem;
  line-height: 1.15;
  opacity: 0.95;
}

.golf__kicker {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #316696;
}

.golf__block {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-top: 1px solid rgba(49, 102, 150, 0.22);
  padding: 2.25rem 0 0.5rem;
  min-width: 0;
  max-width: 100%;
}

.golf__block > p,
.golf__enclosure-content > p,
.golf__callout p:not(.golf__callout-title),
.golf__partner p {
  line-height: 1.12;
  color: #333;
}

.golf__block h4 {
  font-size: 1.05rem;
  font-weight: 700;
}

.golf__block--intro {
  align-items: center;
  text-align: center;
  gap: 1.15rem;
  border-top: none;
  padding-top: 1rem;
}

.golf__block--intro h3 {
  line-height: 1.1;
}

.golf__block--intro h2 {
  line-height: 1.12;
  max-width: 40ch;
}

.golf__block--intro p {
  max-width: 70ch;
}

.golf__title-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.75rem 1.1rem;
}

.golf__title-row h3,
.golf__title-row h4 {
  margin: 0;
}

.golf__title-row h3::after {
  content: '';
  display: inline-block;
  width: 2px;
  height: 0.85em;
  background-color: rgba(49, 102, 150, 0.35);
  margin-left: 1.1rem;
  vertical-align: middle;
}

.golf__descriptor {
  font-size: 1.2rem;
  font-weight: 600;
  color: #316696;
}

.golf__block--enclosure {
  display: grid;
  grid-template-columns: 1fr min(33vw, 620px);
  grid-template-areas:
    "title image"
    "content image"
    "partner partner";
  column-gap: 2rem;
  row-gap: 1rem;
  align-items: start;
}

.golf__enclosure-title {
  grid-area: title;
}

.golf__enclosure-figure {
  grid-area: image;
  margin: 0;
}

.golf__enclosure-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 5px;
  box-shadow: 0 4px 20px rgba(29, 61, 90, 0.12);
}

.golf__enclosure-content {
  grid-area: content;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0;
}

.golf__list {
  margin: 0.5rem 0 0 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.golf__table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  margin-top: 0.75rem;
  font-size: 0.95rem;
}

.golf__table-title {
  margin-top: 1rem;
}

.golf__table-caption {
  caption-side: top;
  text-align: left;
  font-weight: 700;
  padding-bottom: 0.5rem;
  color: #316696;
  letter-spacing: 0.01em;
}

.golf__table th,
.golf__table td {
  border: 1px solid rgba(49, 102, 150, 0.15);
  padding: 0.65rem 0.75rem;
  text-align: left;
  vertical-align: top;
  line-height: 1.12;
}

.golf__table thead th {
  background-color: #E9EFFF;
  color: #1D3D5A;
  font-weight: 800;
}

.golf__table tbody th[scope="row"] {
  background-color: rgba(236, 242, 246, 0.85);
  color: #1D3D5A;
  font-weight: 700;
  white-space: nowrap;
}

.golf__table-compact {
  margin-top: 0.25rem;
}


.golf__table-note {
  font-size: 0.9rem;
  margin: 0.25rem 0 0;
  line-height: 1.12;
  color: #555;
  font-style: italic;
}

.golf__callout-partner {
  grid-area: partner;
  justify-self: center;
  width: 100%;
  max-width: 42rem;
  margin-top: 3rem;
  padding: 0;
  text-align: center;
}

.golf__callout-partner .golf__callout-title {
  text-align: center;
}

.golf__partner {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.golf__callout-partner .golf__partner {
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-top: 1rem;
}

.golf__partner-image {
  width: 250px;
  height: auto;
  flex-shrink: 0;
}

.golf__callout {
  border-left: 3px solid #316696;
  padding: 0.35rem 0 0.35rem 1rem;
  margin-top: 0.5rem;
}

.golf__callout.golf__callout-partner {
  border-left: none;
  padding: 0;
}

.golf__callout-title {
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 800;
  margin-bottom: 0.35rem;
  color: #316696;
}

.golf__cta {
  font-weight: 700;
  margin-top: 0.75rem;
  line-height: 1.12;
  color: #1D3D5A;
}

.golf__block--cta {
  align-items: center;
  text-align: center;
  padding-top: 2.5rem;
  padding-bottom: 1.5rem;
  gap: 1.15rem;
  border-top-color: rgba(49, 102, 150, 0.35);
}

.golf__block--cta p {
  max-width: 52ch;
}

.golf__block--cta .services__button-styled {
  margin-top: 0.5rem;
}

.golf__footer {
  font-weight: 600;
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid #e5e5e5;
}


@media screen and (max-width: 1300px) {
  .service__feature-image {
    width: 25vw;
    height: 20vh;
  }
}

@media screen and (max-width: 1050px) {
  .services {
      gap: 1rem;
  }

  .showcase__header {
    padding: 8rem 3rem 3rem 3rem;
  }

  .golf__header {
    padding: 8rem 3rem 3rem;
  }

  .golf__container {
    padding: 3rem;
  }
}

@media screen and (max-width: 1000px) {
}

@media screen and (max-width: 900px) {
  .service__container {
    padding: 3rem;
    flex-direction: column;
  }

  #home-automation {
      flex-direction: column-reverse;
  }

  .service__feature-image {
    align-items: center;
    width: auto;
  }

  .golf__header {
    padding: 8rem 2rem 3rem;
  }

  .golf__title-row h3::after {
    display: none;
  }

  .service__container--teaser {
    align-items: center;
  }

  .golf__block--enclosure {
    grid-template-columns: 1fr;
    grid-template-areas:
      "title"
      "image"
      "content"
      "partner";
  }

  .golf__title-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }

  .golf__callout-partner {
    padding: 0;
  }

  .golf__container {
    padding: 2rem 1.25rem;
  }

  .golf__table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .golf__table tbody th[scope="row"] {
    white-space: normal;
  }

  .golf__partner-image {
    width: min(250px, 100%);
    max-width: 100%;
  }

  .service__teaser-partner {
    max-width: 100%;
  }
}

@media screen and (max-width: 650px) {
  .service__right {
    grid-template-columns: repeat(1, 1fr);
    grid-template-rows: repeat(1, 1fr);
  }

  .service__feature-image {
    height: 180px;
  }
}

@media screen and (max-width: 400px) {
  .showcase__header {
    padding: 5rem 1rem 3rem 1rem;
  }

  .golf__header {
    padding: 5rem 1rem 3rem;
  }

  .service__feature-image {
    height: 50vw;
  }

  .golf__container {
    padding: 2rem 1rem;
  }

  .golf__block {
    padding-top: 1.5rem;
    gap: 0.85rem;
  }
}