:root {
  --first-color: #020817;   /* black navy background */
  --second-color: #f8fbff;  /* teks putih */
  --third-color: #4dd8ff;   /* cyan highlight */
  --fourth-color: #0b5fa5;  /* navy blue utama */
}

body {
  background: var(--first-color);
  color: var(--second-color);
}

.logo {
  width: 13rem;
  max-width: 100%;
}

.time-post {
  font-size: 0.7rem;
  padding: 0;
  margin: 0;
  font-weight: 700;
  color: #9fd8ff;
}

.card-post {
  background: linear-gradient(
    180deg,
    #0b5fa5 0%,
    #083b6f 55%,
    #031a33 100%
  );
  color: var(--second-color);
  border: 1px solid rgba(77, 216, 255, 0.45);
  box-shadow: 0 0 14px rgba(77, 216, 255, 0.22);
}

.card-post h1,
.card-post h2,
.card-post h3,
.card-post h4,
.card-post h5,
.card-post h6,
.card-post p,
.card-post strong {
  color: var(--second-color);
}

.img-post {
  width: 30rem;
  max-width: 100%;
}

.page.active {
  color: #ffffff !important;
  background: linear-gradient(
    180deg,
    #4dd8ff 0%,
    #0b7ed0 55%,
    #031a33 100%
  );
  opacity: 1 !important;
  border: 1px solid rgba(77, 216, 255, 0.55);
}

.btn-info {
  background: linear-gradient(
    180deg,
    #4dd8ff 0%,
    #0b7ed0 55%,
    #031a33 100%
  );
  border-color: var(--third-color) !important;
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 0 10px rgba(77, 216, 255, 0.35);
}

.btn-info:hover {
  background: linear-gradient(
    180deg,
    #8ee3ff 0%,
    #1297e8 50%,
    #020b1a 100%
  );
  color: #ffffff;
}

.teks-berjaalan {
  border-bottom: 1px dashed var(--third-color);
  padding: 0.3rem;
  margin-bottom: 0.9rem;
  background: linear-gradient(
    180deg,
    #031a33 0%,
    #020817 100%
  );
  color: #ffffff;
}

.teks-berjaalan h1,
.teks-berjaalan h2,
.teks-berjaalan h3,
.teks-berjaalan h4,
.teks-berjaalan h5,
.teks-berjaalan h6,
.teks-berjaalan p,
.teks-berjaalan strong {
  padding: 0;
  margin: 0;
  font-size: 0.8rem;
  text-transform: uppercase;
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0,0,0,0.7);
}

.copyright {
  text-transform: uppercase;
  font-size: 0.7rem;
  text-align: center;
  color: #9fd8ff;
}

/* For Mobile Portrait View */
@media screen and (max-device-width: 480px) and (orientation: portrait) {
  .title-home {
    font-size: 1rem;
  }

  .logo {
    width: 9rem;
    max-width: 100%;
  }

  .search-bar {
    width: 10rem;
    max-width: 100%;
  }
}