/* Penyempurnaan tombol akhir artikel, navigasi album, dan footer ringkas */
.article-page .article-detail {
  padding: 42px 0 64px;
}

.article-next-step {
  display: grid;
  gap: 24px;
  margin-top: 34px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid rgba(0, 51, 102, .12);
  border-radius: 24px;
  background: radial-gradient(circle at 100% 0, rgba(255, 102, 0, .12), transparent 38%), linear-gradient(145deg, #f7fbff, #edf6ff);
  box-shadow: 0 16px 34px rgba(0, 45, 90, .08);
}

.article-next-step-copy h2 {
  margin: 8px 0 10px;
  font-size: clamp(1.45rem, 4vw, 2rem);
}

.article-next-step-copy p {
  max-width: 650px;
  margin: 0;
  color: #526b82;
  font-size: .98rem;
  line-height: 1.65;
}

.article-next-step-actions {
  display: grid;
  gap: 12px;
}

.article-action {
  min-height: 70px;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 12px;
  justify-content: stretch;
  padding: 12px 16px;
  border-radius: 15px;
  text-align: left;
}

.article-action > span:last-child,
.gallery-toolbar-button > span:last-child {
  display: grid;
  gap: 2px;
}

.article-action small,
.gallery-toolbar-button small {
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .06em;
  line-height: 1.2;
  opacity: .8;
  text-transform: uppercase;
}

.article-action strong,
.gallery-toolbar-button strong {
  font-size: .88rem;
  line-height: 1.25;
}

.article-action-icon,
.gallery-toolbar-icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  color: #fff;
  background: var(--navy);
  font-size: 1.2rem;
}

.article-action img,
.gallery-toolbar-button img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.article-action-gallery {
  color: #fff;
  border-color: #07599f;
  background: linear-gradient(135deg, #003366, #07599f);
  box-shadow: 0 12px 26px rgba(0, 51, 102, .2);
}

.article-action-gallery .article-action-icon {
  background: rgba(255, 255, 255, .14);
}

.article-action-whatsapp {
  color: #fff;
  border-color: #159947;
  background: linear-gradient(135deg, #117b3b, #19aa50);
  box-shadow: 0 12px 26px rgba(21, 153, 71, .22);
}

.article-action:hover,
.gallery-toolbar-button:hover {
  transform: translateY(-2px);
  filter: brightness(1.03);
}

.article-return-nav {
  display: flex;
  justify-content: center;
  margin-top: 22px;
}

.article-return-nav .btn {
  min-width: min(100%, 260px);
  background: #fff;
}

.gallery-page-section {
  padding-bottom: 64px;
}

.gallery-album-toolbar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 30px;
  padding: 14px;
  border: 1px solid #dbe8f2;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 16px 38px rgba(0, 45, 90, .09);
}

.gallery-toolbar-button {
  min-width: 0;
  min-height: 68px;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 10px;
  justify-content: stretch;
  padding: 11px 14px;
  border: 1px solid #d4e1ec;
  border-radius: 14px;
  color: var(--navy);
  background: #f8fbfe;
  box-shadow: none;
  text-align: left;
}

.gallery-toolbar-icon {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  font-size: 1.05rem;
}

.gallery-toolbar-whatsapp {
  color: #fff;
  border-color: #159947;
  background: linear-gradient(135deg, #117b3b, #19aa50);
  box-shadow: 0 10px 24px rgba(21, 153, 71, .18);
}

.gallery-toolbar-article {
  border-color: rgba(255, 102, 0, .34);
  background: #fff7f0;
}

.gallery-toolbar-article .gallery-toolbar-icon {
  background: var(--orange);
}

.compact-site-footer {
  padding: 0;
  color: #d8e7f4;
  background: linear-gradient(135deg, #001d3b, #003366);
}

.compact-footer-main {
  display: flex;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0 22px;
}

.compact-footer-brand {
  display: flex;
  flex: 0 1 320px;
  flex-direction: column;
  gap: 7px;
  color: #fff;
}

.compact-footer-brand img {
  width: 190px;
  height: 52px;
  object-fit: contain;
  object-position: left center;
}

.compact-footer-brand span {
  color: #bcd1e2;
  font-size: .72rem;
  font-weight: 700;
  line-height: 1.4;
}

.compact-site-footer .footer-socials {
  justify-content: flex-end;
  margin: 0;
}

.compact-site-footer .footer-socials a {
  min-height: 44px;
  color: #fff;
  background: rgba(255, 255, 255, .04);
}

.compact-footer-legal {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 13px 0 16px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  color: #a9c2d6;
  font-size: .68rem;
}

@media (min-width: 760px) {
  .article-next-step {
    grid-template-columns: minmax(0, 1.05fr) minmax(290px, .95fr);
    align-items: center;
  }
}

@media (max-width: 768px) {
  .article-page .article-detail {
    padding: 26px 0 44px;
  }

  .article-detail article {
    padding: 20px 16px;
    border-radius: 20px;
  }

  .article-next-step {
    margin-top: 28px;
    padding: 20px 16px;
    border-radius: 20px;
  }

  .article-next-step-actions,
  .gallery-album-toolbar {
    grid-template-columns: 1fr;
  }

  .article-action,
  .gallery-toolbar-button {
    min-height: 66px;
    width: 100%;
  }

  .gallery-page-section {
    padding-bottom: 46px;
  }

  .gallery-album-toolbar {
    gap: 10px;
    padding: 12px;
    border-radius: 18px;
  }

  .compact-footer-main {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
    padding: 24px 0 18px;
  }

  .compact-footer-brand {
    flex-basis: auto;
    align-items: center;
    text-align: center;
  }

  .compact-footer-brand img {
    object-position: center;
  }

  .compact-site-footer .footer-socials {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    width: 100%;
  }

  .compact-site-footer .footer-socials a {
    width: 100%;
    justify-content: flex-start;
  }

  .compact-footer-legal {
    flex-direction: column;
    gap: 4px;
    justify-content: center;
    text-align: center;
  }
}
