/* ==============================
   INFORMASI RS PUSPA HUSADA
============================== */

.rsp-info-page {
  background: #f6f9fc;
  color: #24354b;
  min-height: 60vh;
}

.rsp-info-hero {
  position: relative;
  overflow: hidden;
  padding: 65px 20px 70px;
  text-align: center;
  color: #fff;
  background: linear-gradient(135deg, #23866f, #398f7c);
}

.rsp-info-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: -5%;
  width: 110%;
  height: 100%;
  background: rgba(255, 255, 255, 0.06);
  clip-path: polygon(0 0, 100% 35%, 100% 100%, 0 100%);
  pointer-events: none;
}

.rsp-info-hero-content {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
}

.rsp-info-eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
}

.rsp-info-hero h1 {
  margin: 0 0 16px;
  color: #fff;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.2;
  font-weight: 750;
}

.rsp-info-hero p {
  max-width: 650px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.92);
  font-size: 17px;
  line-height: 1.8;
}

.rsp-info-container {
  width: min(1100px, calc(100% - 40px));
  margin: 0 auto;
  padding: 44px 0 60px;
}

.rsp-info-heading {
  margin-bottom: 26px;
}

.rsp-info-heading h2 {
  margin: 0 0 8px;
  color: #20364e;
  font-size: 27px;
}

.rsp-info-heading p {
  margin: 0;
  color: #6b7c91;
  font-size: 14px;
}

.rsp-info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.rsp-info-card {
  min-width: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e1e8ef;
  border-radius: 12px;
  box-shadow: 0 3px 8px rgba(27, 48, 70, 0.08);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.rsp-info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 22px rgba(27, 48, 70, 0.12);
}

.rsp-info-image {
  display: block;
  height: 205px;
  overflow: hidden;
  background: #e3f2ed;
}

.rsp-info-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.rsp-info-card:hover .rsp-info-image img {
  transform: scale(1.04);
}

.rsp-info-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: #168d7b;
  font-weight: 600;
  background: #e4f4ef;
}

.rsp-info-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 21px;
}

.rsp-info-category {
  align-self: flex-start;
  margin-bottom: 10px;
  padding: 5px 10px;
  color: #087f72;
  background: #e6f6f2;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
}

.rsp-info-date {
  margin-bottom: 9px;
  color: #78879a;
  font-size: 12px;
}

.rsp-info-title {
  margin: 0 0 12px;
  font-size: 18px;
  line-height: 1.5;
}

.rsp-info-title a {
  color: #20364e;
  text-decoration: none;
}

.rsp-info-title a:hover {
  color: #078e7c;
}

.rsp-info-excerpt {
  margin: 0 0 20px;
  color: #697b90;
  font-size: 13px;
  line-height: 1.8;
}

.rsp-info-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding: 12px 14px;
  color: #078b79;
  border: 1px solid #159c88;
  border-radius: 7px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.rsp-info-link:hover {
  color: #fff;
  background: #078b79;
}

.rsp-info-pagination {
  margin-top: 38px;
  text-align: center;
}

.rsp-info-pagination ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  padding: 0;
  list-style: none;
}

.rsp-info-pagination a,
.rsp-info-pagination span {
  display: inline-block;
  padding: 9px 14px;
  color: #087f72;
  border: 1px solid #dce8e5;
  border-radius: 6px;
  background: #fff;
  text-decoration: none;
}

.rsp-info-pagination .current {
  color: #fff;
  background: #087f72;
  border-color: #087f72;
}

.rsp-info-empty {
  padding: 45px 20px;
  text-align: center;
  background: #fff;
  border-radius: 12px;
}

@media (max-width: 900px) {
  .rsp-info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .rsp-info-image {
    height: 190px;
  }
}

@media (max-width: 600px) {
  .rsp-info-hero {
    padding: 48px 20px;
  }

  .rsp-info-hero p {
    font-size: 15px;
  }

  .rsp-info-container {
    width: calc(100% - 30px);
    padding: 32px 0 42px;
  }

  .rsp-info-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .rsp-info-image {
    height: 220px;
  }
}

/* ===== PENCARIAN INFORMASI ===== */

.rsp-info-search {
  max-width: 760px;
  margin: 0 auto 42px;
}

.rsp-info-search-label {
  display: block;
  margin-bottom: 10px;
  color: #24354b;
  font-size: 15px;
  font-weight: 600;
}

.rsp-info-search-box {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 6px 7px 6px 16px;
  background: #fff;
  border: 1px solid #dce5ec;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(27, 48, 70, 0.06);
}

.rsp-info-search-box > svg {
  flex-shrink: 0;
  color: #7b8b9c;
}

.rsp-info-search-box input[type="search"] {
  flex: 1;
  min-width: 0;
  width: 100%;
  padding: 12px 0;
  margin: 0;
  border: none;
  outline: none;
  box-shadow: none;
  background: transparent;
  color: #24354b;
  font-family: inherit;
  font-size: 15px;
}

.rsp-info-search-box input[type="search"]:focus {
  outline: none;
  box-shadow: none;
}

.rsp-info-search-box input::placeholder {
  color: #94a3b8;
}

.rsp-info-search-box button {
  flex-shrink: 0;
  padding: 13px 24px;
  border: none;
  border-radius: 8px;
  background: #02abbc;
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}

.rsp-info-search-box button:hover {
  background: #078f9c;
}

.rsp-info-reset-search {
  display: inline-block;
  margin-top: 10px;
  color: #078b79;
  font-size: 13px;
  text-decoration: none;
}

.rsp-info-reset-search:hover {
  text-decoration: underline;
}

@media (max-width: 600px) {
  .rsp-info-search {
    margin-bottom: 32px;
  }

  .rsp-info-search-label {
    font-size: 14px;
  }

  .rsp-info-search-box {
    gap: 8px;
    min-height: 52px;
    padding-left: 12px;
  }

  .rsp-info-search-box > svg {
    width: 19px;
    height: 19px;
  }

  .rsp-info-search-box input[type="search"] {
    font-size: 13px;
  }

  .rsp-info-search-box button {
    padding: 12px 15px;
    font-size: 13px;
  }
}
