/* Homepage shortcuts, scoped to preserve the other approved sections. */
.single-content .gek-home-demo .gek-home-practical {
  background: #e7eee9;
  padding-block: clamp(3.5rem, 6vw, 5rem);
}

.single-content .gek-home-demo .gek-home-practical::before,
.single-content .gek-home-demo .gek-home-practical::after {
  content: none;
}

.single-content .gek-home-demo .gek-home-practical__panel {
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr);
}

.single-content .gek-home-demo .gek-home-practical__panel > .wp-block-group__inner-container {
  display: contents;
}

.single-content .gek-home-demo .gek-home-practical__heading {
  padding: 0;
}

.single-content .gek-home-demo .gek-home-practical__heading h2 {
  white-space: normal;
  text-align: left;
}

.single-content .gek-home-demo .gek-home-practical__heading p:not(.gek-home-kicker) {
  border: 0;
  color: #50665b;
  font-size: 1.0625rem;
  line-height: 1.65;
  margin: 1.25rem 0 0 !important;
  max-width: 31ch;
  padding: 0;
}

.single-content .gek-home-demo .gek-home-quicklinks {
  gap: 1rem !important;
  margin: 0 !important;
  grid-auto-rows: 1fr;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.single-content .gek-home-demo .gek-home-quicklinks a {
  align-content: start;
  background: #fff !important;
  border: 1px solid #d3dfd6 !important;
  border-radius: 20px !important;
  box-shadow: 0 4px 14px rgb(23 63 53 / 3%) !important;
  color: #173f35 !important;
  display: grid !important;
  gap: 1rem;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto 1fr;
  min-height: 196px;
  padding: 1.5rem !important;
  text-align: left;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.single-content .gek-home-demo .gek-home-quicklink > .kt-btn-inner-text {
  display: contents;
}

.single-content .gek-home-demo .gek-home-quicklink > .kt-btn-inner-text > span,
.single-content .gek-home-demo .gek-home-quicklinks a > span:not(.kt-btn-inner-text) {
  display: flex;
  flex-direction: column;
  gap: .65rem;
  grid-column: 1 / -1;
  grid-row: 2;
  min-width: 0;
}

.single-content .gek-home-demo .gek-home-quicklinks small {
  align-self: center;
  border: 0;
  color: #a95632;
  font-size: .75rem;
  font-weight: 700;
  grid-column: 1;
  grid-row: 1;
  height: auto;
  justify-content: flex-start;
  letter-spacing: .1em;
  width: auto;
}

.single-content .gek-home-demo .gek-home-quicklinks strong {
  color: #173f35 !important;
  font-family: var(--gek-display-font, Georgia, serif);
  font-size: clamp(1.4rem, 1.9vw, 1.65rem);
  font-weight: 400;
  letter-spacing: -.015em;
  line-height: 1.2;
  text-align: left;
}

.single-content .gek-home-demo .gek-home-quicklinks em {
  color: #50665b;
  font-size: .9375rem;
  font-style: normal;
  line-height: 1.55;
  text-align: left;
}

.single-content .gek-home-demo .gek-home-quicklinks b {
  background: #edf2ee;
  border-radius: 50%;
  color: #173f35;
  font-size: 1.125rem;
  grid-column: 2;
  grid-row: 1;
  height: 36px;
  justify-self: end;
  transition: background .2s ease, color .2s ease;
  width: 36px;
}

.single-content .gek-home-demo .gek-home-quicklinks a:hover {
  border-color: #a5bbae !important;
  box-shadow: 0 8px 22px rgb(23 63 53 / 8%) !important;
  transform: translateY(-2px);
}

.single-content .gek-home-demo .gek-home-quicklinks a:is(:hover, :focus-visible) b {
  background: #173f35;
  color: #fff;
  transform: none;
}

.single-content .gek-home-demo .gek-home-quicklinks a:focus-visible {
  outline: 3px solid #173f35;
  outline-offset: 4px;
}

@media (max-width: 1000px) {
  .single-content .gek-home-demo .gek-home-practical__panel {
    align-items: start;
    grid-template-columns: minmax(0, 1fr);
  }

  .single-content .gek-home-demo .gek-home-practical__heading p:not(.gek-home-kicker) {
    max-width: 45ch;
  }
}

@media (max-width: 600px) {
  .single-content .gek-home-demo .gek-home-quicklinks {
    grid-template-columns: minmax(0, 1fr);
  }

  .single-content .gek-home-demo .gek-home-quicklinks a {
    gap: .75rem;
    min-height: 0;
    padding: 1.25rem !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .single-content .gek-home-demo .gek-home-quicklinks :is(a, b) {
    transition: none;
  }

  .single-content .gek-home-demo .gek-home-quicklinks a:hover {
    transform: none;
  }
}
