
body {
 font-family: 'Fira Code', 'Consolas', 'Courier New', monospace;

  margin: 0;
}
a {
  text-decoration: none;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Open Sans", Arial, sans-serif;
}
p {
  font-family: "OpenSans", arial;
}
.container {
  align-self: flex-end;
  margin: 0 auto;
  width: 75%;
}
.jumbotron {
  box-sizing: border-box;
  background: url("../images/padang_tengah.jpg");
  background-position: center;
  background-size: cover;
  margin-bottom: 20px;
  left: 0;
  right: 0;
  height: 500px;
}
.jumbotron .inner h1,
h3 {
  margin: 0;
}
.inner h1 {
  font-size: 3em;
}
.inner h3 {
  font-size: 1.5em;
}
.jumbotron .inner {
  padding: 50px 0;
  background-color: rgba(255, 255, 255, 0.3);
  position: relative;
  top: 50%;
  transform: translateY(-50%);
  text-align: center;
  margin: auto 0;
  width: auto;
}
nav {
  background: linear-gradient(90deg, #024959 60%, #92cf48 100%);
}
.row {
  display: flex;
  box-sizing: border-box;
  height: 90px;
  flex-wrap: wrap;
}
.nav-brand {
  padding: 5px;
  flex: 1;
  position: relative;
  height: 100%;
}
.nav-brand a {
  display: flex;
  align-items: center;
}
.nav-brand img {
  margin-left: 10px;
  height: 75px;
  vertical-align: middle;
}
.nav-brand h1,
.nav-brand h6 {
  margin: 0;
  color: #ffffff;
  font-size: 1.7rem;
}
.nav-menu {
  flex: 4;
  height: 100%;
}
li {
  list-style: none;
}

.nav-menu ul {
  display: flex;
  justify-content: flex-start;
  margin: 0;
  padding: 0;
}
.nav-menu ul li {
  text-align: center;
  width: 90px;
  line-height: 90px;
  font-family: "Rajdhani", sans-serif;
}
.nav-menu ul li a {
  background: #024959;
  color: #ffe;
  padding: 5 10px;
  width: 100%;
  box-sizing: border-box;
  display: inline-block;
  font-size: 100rem; /* Membesarkan teks menu */
  font-weight: 200; /* Membuat teks lebih tebal */
  font-size: 1.3rem; /* Membesarkan icon */
  margin-right: 28px;
}
.nav-menu ul li a:hover {
  background: #092140;
  border-bottom: 5px solid #92cf48;
}
.nav-menu ul li a:active {
  background: #92cf48;
}
.nav-sisa {
  flex: 1;
  position: relative;
}
.nav-sisa .kontak {
  line-height: 90px;
  text-align: center;
  text-transform: uppercase;
}
.nav-sisa .kontak a {
  border-radius: 5px;
  font-family: "Rajdhani", sans-serif;
  padding: 0 10px;
  background-color: #92cf48;
  line-height: 30px;
  font-weight: 550;
  color: white;
  display: inline-block;
  border: 2px solid #92cf48;
  transition: 0.5s all;
}
.nav-sisa .kontak a:hover {
  background: none;
  color: #92cf48;
}

/* ✅ Tambahkan bagian responsif berikut */
@media (max-width: 768px) {
  .row {
    flex-direction: column;
    height: auto;
    align-items: stretch;
  }

  .nav-menu {
    width: 100%;
    height: auto;
  }

  .nav-menu ul {
    flex-direction: column;
    width: 100%;
  }

  .nav-menu ul li {
    width: 100%;
    line-height: 50px;
  }

  .nav-menu ul li a {
    height: 50px;
  }

  .nav-sisa {
    width: 100%;
    text-align: center;
    margin-top: 10px;
  }

  .nav-sisa .kontak {
    line-height: 50px;
    height: auto;
  }

  .nav-brand {
    text-align: center;
    height: auto;
  }

  .nav-brand img {
    height: 50px;
    margin-left: 0;
  }

  .nav-brand a {
    flex-direction: column;
    align-items: center;
  }
}

.clear {
  clear: both;
}

.judul_section {
  width: 100%;
  text-align: center;
  margin: 15px 0;
}

.judul_section h1 {
  color: black;
  font-weight: bold;
  font-family: "Rajdhani", sans-serif;
  margin: 0;
}

.judul_section hr {
  width: 250px;
  border-top: 3px solid #024959;
  margin: 0 auto;
}

.berita .berita_section {
  width: 100%;
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
}

.grid {
  display: flex;
  flex-direction: row;
  position: relative;
  width: 100%;
  box-sizing: border-box;
  margin: 0 3px 6px;
  gap: 10px;
  flex-wrap: wrap;
}
.cover_grid_news {
  width: 270px;
  height: auto;
}
.cover_grid_news img {
  height: auto;
  width: 250px;
}
.read-more {
  display: inline-block;
  width: calc(100% - 270px - 10px);
  margin: 5px;
}
.judul {
  height: auto;
  margin: 0;
}
.judul h3 {
  font-size: 1.3rem;
  margin: 0;
  font-weight: bold;
  text-align: justify;
}
.judul h3 a {
  text-transform: uppercase;
  color: #000;
}
.judul h3 a:hover {
  color: #92cf48;
}

.isi p {
  text-align: justify;
  font-size: 15px;
  margin-bottom: 0;
}

.attr {
  margin: 0;
  font-family: "OpenSans", arial;
  font-size: 12px;
}
.attr p {
  color: rgba(0, 0, 0, 0.5);
  margin: 0;
  font-weight: bold;
}
.attr p a {
  color: rgba(0, 0, 0, 0.5);
}
.attr p a:hover {
  color: rgba(0, 0, 0, 1);
}

.tombol_lihat {
  margin: 0;
  float: right;
  text-transform: uppercase;
  font-family: "OpenSans", arial;
  font-weight: bold;
  font-size: 11px;
  font-style: italic;
  color: #92cf48;
  padding-bottom: 10px;
}
.tombol_lihat a {
  color: rgba(0, 0, 0, 0.5);
}
.tombol_lihat a:hover {
  color: #92cf48;
}

.more_berita {
  margin: 0 auto;
  padding: 10px 0;
  width: 100%;
  background: linear-gradient(135deg, #024959 60%, #92cf48 100%);
  text-align: center;
}
.more_berita a {
  color: white;
}
.more_berita h3 {
  margin: 0;
  color: white;
}

.galeri {
  justify-content: center;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
.galeri img {
  margin: 5px;
  box-shadow: 3px 3px 8px 0px rgba(0, 0, 0, 0.3);
  max-width: 17vw;
  height: 100%;
}
.img {
  margin: 5px;
  margin-right: 0px;
  max-width: 240px;
  height: 100%;
}

/* Artikel */
.artikel-section {
  margin: 10px 0;
}
.artikel-section .attr {
  margin-bottom: 25px;
}
.imgartikel img {
  margin-right: 15px;
  max-width: 400px;
}

/* ✅ MEDIA QUERY UNTUK MOBILE */
@media (max-width: 768px) {
  .grid {
    flex-direction: column;
    align-items: center;
  }

  .cover_grid_news {
    width: 100%;
    text-align: center;
  }

  .cover_grid_news img {
    width: 90%;
    max-width: 300px;
  }

  .read-more {
    width: 95%;
  }

  .judul h3 {
    text-align: center;
    font-size: 1.1rem;
  }

  .isi p {
    font-size: 14px;
  }

  .tombol_lihat {
    float: none;
    text-align: center;
    display: block;
    margin-top: 10px;
  }

  .galeri img {
    max-width: 90vw;
  }

  .imgartikel {
    float: none;
    text-align: center;
    display: block;
  }

  .imgartikel img {
    max-width: 100%;
    height: auto;
    margin: 0 auto 10px;
  }
}

/* Kontak Kami */

/* Footer */
.footer {
  display: flex;
  margin-top: 50px;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #092140;
  flex-direction: column;
}
.footer h1 {
  margin: 0;
  color: white;
}
.rowflex {
  padding: 10px 0;
  width: 100%;
}
.peta {
  float: left;
  box-sizing: border-box;
  border-right: 2px solid #024959;
  text-align: center;
  height: 208px;
  width: 50%;
}
.peta iframe {
  margin: 10px;
}
.kutipan {
  padding: 0 20px;
  color: white;
  float: left;
  box-sizing: border-box;
  border-left: 2px solid #024959;
  text-align: center;
  height: 208px;
  width: 50%;
}
.kutipan img {
  height: 100px;
  margin-top: 10px;
}
.kutipan p {
  font-size: 1.5vw;
  margin: 0;
}
.copyright-section {
  text-align: center;
  color: white;
  background-color: #024959;
  height: 50px;
  flex: 1;
}
