.gsc-section {
  background: var(--gsc-section-bg);
  font-family: var(--gsc-body-font-family);
  padding: 24px 0 40px;
}

.gsc-inner {
  max-width: 1232px;
  margin: 0 auto;
  padding: 0 16px;
}

.gsc-heading-wrap {
  margin-bottom: 18px;
}

.gsc-heading {
  margin: 0 0 6px;
  color: var(--gsc-heading-color);
  font-size: var(--gsc-heading-font-size);
  line-height: 1.15;
  font-weight: 700;
  font-family: var(--gsc-heading-font-family);
}

.gsc-subheading {
  margin: 0;
  color: var(--gsc-text-color);
  font-size: var(--gsc-subheading-font-size);
  max-width: 760px;
}

.gsc-carousel {
  position: relative;
}

.gsc-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 288px;
  gap: 26px;
  overflow-x: auto;
  padding-bottom: 16px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.gsc-track::-webkit-scrollbar {
  display: none;
}

.gsc-card {
  background: var(--gsc-card-bg);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 2px var(--gsc-shadow-color);
  border: 1px solid var(--gsc-border-color);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  width: 288px;
  min-height: 378px;
}

.gsc-image-wrap {
  height: 192px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(24, 63, 139, 0.18), rgba(15, 23, 42, 0.08));
}

.gsc-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gsc-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.gsc-card-title {
  margin: 0;
  color: var(--gsc-title-color);
  font-size: var(--gsc-title-font-size);
  line-height: 32px;
  font-weight: 600;
  font-family: var(--gsc-heading-font-family);
}

.gsc-card-text {
  margin: 0;
  color: var(--gsc-text-color);
  font-size: var(--gsc-text-font-size);
  line-height: 20px;
  min-height: 60px;
}

.gsc-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--gsc-button-text-color);
  text-decoration: none;
  font-size: var(--gsc-button-font-size);
  font-weight: 700;
  line-height: 20px;
  font-family: var(--gsc-body-font-family);
}

.gsc-link:hover,
.gsc-link:focus {
  text-decoration: underline;
}

.gsc-link-icon {
  color: var(--gsc-button-icon-color);
  font-size: 16px;
  line-height: 1;
}

.gsc-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
}

.gsc-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: var(--gsc-dot-inactive);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, width 0.2s ease;
}

.gsc-dot.is-active {
  background: var(--gsc-dot-active);
  width: 24px;
}

.gsc-dot:focus-visible {
  outline: 2px solid var(--gsc-dot-active);
  outline-offset: 2px;
}

@media (min-width: 768px) {
  .gsc-track {
    grid-auto-columns: 288px;
  }
}

@media (max-width: 767px) {
  .gsc-section {
    padding: 24px 0 40px;
  }

  .gsc-heading {
    font-size: 26px;
  }

  .gsc-track {
    grid-auto-columns: 86%;
  }

  .gsc-card {
    width: auto;
    min-height: 0;
  }
}

.gsc-image-preview {
  display: block;
  width: 100%;
  max-width: 220px;
  height: auto;
  margin-bottom: 8px;
  border: 1px solid #dbe2ea;
  border-radius: 8px;
}

.gsc-image-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
