.sp-homepage {
  background: #f5f7fb;
  color: #172033;
}

.sp-homepage .container {
  max-width: 1180px;
}

.sp-hero {
  background:
    linear-gradient(90deg, rgba(5, 28, 41, 0.96) 0%, rgba(7, 44, 64, 0.86) 37%, rgba(7, 44, 64, 0.46) 68%, rgba(7, 44, 64, 0.18) 100%),
    linear-gradient(180deg, rgba(5, 28, 41, 0.36) 0%, rgba(5, 28, 41, 0.72) 100%),
    url("/sp_theme/images/hero-satu-data-padang.png") center right / cover no-repeat,
    linear-gradient(135deg, #0f4d73 0%, #12384f 48%, #202f42 100%);
  color: #fff;
  overflow: hidden;
  padding: 72px 0 0;
}

.sp-hero__grid {
  align-items: center;
  display: grid;
  gap: 40px;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
}

.sp-kicker {
  color: #39bdb4;
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.sp-hero h1 {
  color: #fff;
  font-size: 3.35rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.02;
  margin: 0 0 18px;
  max-width: 760px;
}

.sp-hero p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.1rem;
  line-height: 1.7;
  margin: 0;
  max-width: 660px;
}

.sp-hero__search {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
  color: #172033;
  padding: 24px;
}

.sp-hero__search label {
  display: block;
  font-size: 0.88rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.sp-searchbox {
  background: #fff;
  border: 1px solid #d7dee9;
  border-radius: 8px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  min-height: 58px;
  overflow: hidden;
}

.sp-searchbox input {
  border: 0;
  color: #172033;
  font-size: 1rem;
  min-width: 0;
  outline: 0;
  padding: 0 18px;
}

.sp-searchbox button {
  align-items: center;
  background: #f2b705;
  border: 0;
  color: #172033;
  display: inline-flex;
  font-weight: 800;
  gap: 8px;
  justify-content: center;
  min-width: 128px;
  padding: 0 20px;
}

.sp-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.sp-tags a {
  background: #eef6f7;
  border: 1px solid #d5e9ec;
  border-radius: 999px;
  color: #145c71;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 7px 11px;
  text-decoration: none;
}

.sp-statbar {
  background: #fff;
  border-radius: 8px 8px 0 0;
  box-shadow: 0 -10px 40px rgba(20, 35, 55, 0.14);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 56px;
}

.sp-statbar a {
  color: #172033;
  padding: 24px 28px;
  text-decoration: none;
}

.sp-statbar a + a {
  border-left: 1px solid #e5ebf2;
}

.sp-statbar strong {
  display: block;
  font-size: 2rem;
  line-height: 1;
}

.sp-statbar span {
  color: #637084;
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  margin-top: 8px;
}

.sp-section {
  padding: 56px 0;
}

.sp-section--infographics {
  background: #eef4f8;
}

.sp-section--soft {
  background: #fff;
}

.sp-section__heading {
  align-items: end;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  margin-bottom: 24px;
}

.sp-section__heading h2 {
  color: #172033;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.15;
  margin: 0;
}

.sp-link {
  color: #11667b;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.sp-card-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sp-home-infographics-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sp-home-infographic-card {
  background: #fff;
  border: 1px solid #dfe7f0;
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(31, 48, 71, 0.08);
  display: grid;
  grid-template-rows: 178px 1fr auto;
  min-height: 392px;
  overflow: hidden;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.sp-home-infographic-card__media {
  align-items: center;
  background: linear-gradient(135deg, #e6f3f2, #edf2f8);
  display: flex;
  justify-content: center;
  overflow: hidden;
  text-decoration: none;
}

.sp-home-infographic-card__media img {
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
  width: 100%;
}

.sp-home-infographic-card__placeholder {
  align-items: center;
  background: #0f4d73;
  border-radius: 50%;
  color: #f2b705;
  display: inline-flex;
  font-size: 2rem;
  height: 78px;
  justify-content: center;
  transition: background-color 180ms ease, transform 180ms ease;
  width: 78px;
}

.sp-home-infographic-card:hover,
.sp-home-infographic-card:focus-within {
  border-color: #b8d6de;
  box-shadow: 0 18px 42px rgba(31, 48, 71, 0.16);
  transform: translateY(-4px);
}

.sp-home-infographic-card:hover .sp-home-infographic-card__media img,
.sp-home-infographic-card:focus-within .sp-home-infographic-card__media img {
  transform: scale(1.045);
}

.sp-home-infographic-card:hover .sp-home-infographic-card__placeholder,
.sp-home-infographic-card:focus-within .sp-home-infographic-card__placeholder {
  background: #11667b;
  transform: scale(1.06);
}

.sp-home-infographic-card__body {
  padding: 18px 18px 10px;
}

.sp-home-infographic-card__org {
  color: #11667b;
  display: block;
  font-size: 0.74rem;
  font-weight: 800;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.sp-home-infographic-card h3 {
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.3;
  margin: 0 0 10px;
}

.sp-home-infographic-card h3 a {
  color: #172033;
  text-decoration: none;
}

.sp-home-infographic-card p {
  color: #5d6879;
  display: -webkit-box;
  font-size: 0.92rem;
  line-height: 1.55;
  margin: 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.sp-home-infographic-card__meta {
  align-items: center;
  border-top: 1px solid #e7edf4;
  color: #5d6879;
  display: flex;
  font-size: 0.82rem;
  font-weight: 800;
  justify-content: space-between;
  padding: 14px 18px;
}

.sp-entity-card {
  background: #fff;
  border: 1px solid #dfe7f0;
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(31, 48, 71, 0.08);
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 294px;
  overflow: hidden;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.sp-section--soft .sp-entity-card {
  background: #f8fafc;
}

.sp-entity-card__image {
  align-items: center;
  background: linear-gradient(135deg, #e6f3f2, #edf2f8);
  display: flex;
  height: 104px;
  justify-content: center;
}

.sp-entity-card__image img {
  height: 64px;
  max-width: 70%;
  object-fit: contain;
  transition: transform 200ms ease;
}

.sp-entity-card:hover,
.sp-entity-card:focus-within {
  border-color: #b8d6de;
  box-shadow: 0 18px 42px rgba(31, 48, 71, 0.16);
  transform: translateY(-4px);
}

.sp-entity-card:hover .sp-entity-card__image img,
.sp-entity-card:focus-within .sp-entity-card__image img {
  transform: scale(1.06);
}

.sp-entity-card__body {
  padding: 18px 18px 10px;
}

.sp-entity-card h3 {
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.32;
  margin: 0 0 10px;
}

.sp-entity-card h3 a {
  color: #172033;
  text-decoration: none;
}

.sp-entity-card p {
  color: #5d6879;
  font-size: 0.92rem;
  line-height: 1.55;
  margin: 0;
}

.sp-entity-card__meta {
  align-items: center;
  border-top: 1px solid #e7edf4;
  color: #11667b;
  display: flex;
  font-size: 0.88rem;
  font-weight: 800;
  justify-content: space-between;
  padding: 14px 18px;
}

.sp-empty {
  background: #fff;
  border: 1px dashed #b8c4d4;
  border-radius: 8px;
  color: #657286;
  grid-column: 1 / -1;
  padding: 26px;
}

@media (max-width: 991px) {
  .sp-hero {
    padding-top: 48px;
  }

  .sp-hero__grid,
  .sp-card-grid,
  .sp-home-infographics-grid {
    grid-template-columns: 1fr;
  }

  .sp-hero h1 {
    font-size: 2.45rem;
  }
}

@media (max-width: 640px) {
  .sp-hero {
    padding-top: 36px;
  }

  .sp-hero__search {
    padding: 16px;
  }

  .sp-searchbox {
    grid-template-columns: 1fr;
  }

  .sp-searchbox input {
    min-height: 54px;
  }

  .sp-searchbox button {
    min-height: 48px;
    width: 100%;
  }

  .sp-statbar {
    grid-template-columns: 1fr;
    margin-top: 34px;
  }

  .sp-statbar a + a {
    border-left: 0;
    border-top: 1px solid #e5ebf2;
  }

  .sp-section__heading {
    align-items: start;
    flex-direction: column;
  }

  .sp-section {
    padding: 42px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sp-home-infographic-card,
  .sp-home-infographic-card__media img,
  .sp-home-infographic-card__placeholder,
  .sp-entity-card,
  .sp-entity-card__image img {
    transition: none;
  }

  .sp-home-infographic-card:hover,
  .sp-home-infographic-card:focus-within,
  .sp-entity-card:hover,
  .sp-entity-card:focus-within {
    transform: none;
  }

  .sp-home-infographic-card:hover .sp-home-infographic-card__media img,
  .sp-home-infographic-card:focus-within .sp-home-infographic-card__media img,
  .sp-home-infographic-card:hover .sp-home-infographic-card__placeholder,
  .sp-home-infographic-card:focus-within .sp-home-infographic-card__placeholder,
  .sp-entity-card:hover .sp-entity-card__image img,
  .sp-entity-card:focus-within .sp-entity-card__image img {
    transform: none;
  }
}
