:root {
  --header-height: 3.5rem;

  /*========== Colors ==========*/
  /*Color mode HSL(hue, saturation, lightness)*/
  --black-color: hsl(220, 24%, 12%);
  --black-color-light: hsl(220, 24%, 15%);
  --black-color-lighten: hsl(220, 20%, 18%);
  --white-color: #fff;
  --body-color: hsl(220, 100%, 97%);

  /*========== Font and typography ==========*/
  /*.5rem = 8px | 1rem = 16px ...*/
  --body-font: 'Poppins', sans-serif;
  --normal-font-size: 0.938rem;

  /*========== Font weight ==========*/
  --font-regular: 400;
  --font-semi-bold: 600;

  /*========== z index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;

  --color-white: #fff;
  --color-gray: #ededed;
  --color-white2: #f5f5f5;
  --color-gray3: #c3c3c3;
  --color-gray4: #727272;
  --color-black1: #47484a;
  --color-gray-footer: #bdc7e3;

  --color-yellow: #f6d046;
  --color-yellow-light: #ffe278;
  --color-yellow-light2: #ffeba2;
  --color-cyan: #52b3b0;

  --color-light-blue1: #c9d7ff;
  --color-light-blue2: #e6edff;
  --color-light-blue3: #ecf1ff;

  --color-primary-blue: #2547a2;

  --text-size-small: 12px;
  --text-size1: 14px;
  --text-size2: 16px;
  --text-size3: 18px;
  --text-size4: 20px;
  --text-size5: 22px;
  --text-size6: 24px;
  --text-size7: 26px;
  --text-size8: 28px;
  --text-size9: 30px;
  --text-size10: 40px;
  --text-size11: 50px;
  --text-size12: 60px;
  --text-size13: 70px;

  --color-black1: #4b4b4b;
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }

  100% {
    background-position: 200% 0;
  }
}

.section-title-sm1 {
  font-size: var(--text-size5);
  text-align: center;
  font-weight: 600;
  color: var(--color-primary-blue);
}

.section-title1 {
  font-size: var(--text-size9);
  text-align: center;
  font-weight: bold;
  color: var(--color-primary-blue);
}

.wrapper-search {
  width: 100%;
  display: flex;
  justify-content: end;
  border: 1px solid #ccc;
  border-radius: 8px;
  overflow: hidden;
  border-radius: 10px;
}

.wrapper-search-global {
  display: flex;
}

@media (max-width: 768px) {
  .wrapper-search-global {
    justify-content: center;
  }
}

.wrapper-search input[type='search'] {
  flex: 1;
  min-width: 0;
  border: none;
  padding: 5px 10px;
  outline: none;
  font-size: var(--text-size1);
  border-radius: 0px;
}

.custom-search-form {
  display: flex;
  width: 100%;
  max-width: 400px;
}

.custom-search-input {
  flex: 1;
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border: 1px solid var(--color-primary-blue);
  padding: 4px 10px;
  font-size: 0.875rem;
  /* kecilkan teks input */
  height: 34px;
  /* atur tinggi lebih kecil */
  box-shadow: none;
}

.custom-search-button {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
  background-color: var(--color-primary-blue);
  color: white;
  border: 1px solid var(--color-primary-blue);
  padding: 0 16px;
  font-size: 0.875rem;
  white-space: nowrap;
  /* ✅ Supaya tidak turun baris */
  display: flex;
  align-items: center;
  height: 34px;
  /* sama dengan input */
  gap: 6px;
}

.custom-search-input:focus {
  outline: none;
  box-shadow: none;
  border-color: var(--color-primary-blue);
}

.btn-search {
  white-space: nowrap;
  background-color: var(--color-primary-blue);
  color: var(--color-white);
  font-size: var(--text-size1);
  border: none;
  padding: 0 20px;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
}

.wrapper-search-all {
  margin-bottom: 20px;
  display: flex;
  justify-content: end;
}

@media (max-width: 576px) {
  .wrapper-search-all {
    justify-content: center;
  }
}

.custom-search-button:hover {
  background-color: var(--color-primary-blue);
  opacity: 0.8;
  color: white;
}

.custom-search-button:active {
  background-color: var(--color-primary-blue);
  opacity: 0.9;
  color: white;
}

.btn-search i {
  font-size: 14px;
}

.section-title1-dark {
  font-size: var(--text-size9);
  text-align: center;
  font-weight: 600;
  color: var(--color-black1);
}

.section-title2 {
  font-size: var(--text-size10);
  text-align: center;
  font-weight: bold;
  color: var(--color-primary-blue);
}

.section-title3 {
  font-size: var(--text-size10);
  text-align: center;
  font-weight: bold;
  color: var(--color-primary-blue);
}

.section-title5 {
  font-size: var(--text-size7);
  font-weight: 600;
  color: var(--color-primary-blue);
}

.section-title5 .fas {
  vertical-align: middle;
  font-size: var(--text-size3);
  margin-right: 3px;
  padding-bottom: 4px;
}

@media (max-width: 576px) {
  .section-title5 {
    font-size: var(--text-size3);
  }
}

@media (max-width: 992px) {
  .bg-berita-utama {
    margin-bottom: 50px;
  }
}

.color-primary {
  color: var(--color-primary-blue);
}

.bg-primary-blue {
  background-color: var(--color-primary-blue);
}

.color-secondary {
  color: var(--color-gray4);
}

.bg-white2 {
  background-color: var(--color-white);
}

body {
  overflow-x: hidden;
}

* {
  font-family: var(--body-font);
}

a.glink img {
  width: 38px;
  height: 38px;
  border-radius: 100%;
}

body {
  background-color: var(--color-white);
}

/* navbar start */
.container-main {
  width: 100%;
  max-width: 1375px;
  margin: auto;
}

.container-main.bg-white1 {
  background-color: var(--color-white);
}

.padding-horizontal {
  padding: 0 44px;
}

.py-30 {
  padding: 30px 0;
}

.py-20 {
  padding: 20px 0;
}

.pb-30 {
  padding-bottom: 30px;
}

.pb-20 {
  padding-bottom: 20px;
}

#cover-spin {
  cursor: not-allowed;
  position: fixed;
  width: 100%;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.7);
  z-index: 9999;
  display: none;
}

@-webkit-keyframes spin {
  from {
    -webkit-transform: rotate(0deg);
  }

  to {
    -webkit-transform: rotate(360deg);
  }
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

#loading {
  display: none;
  width: 20px;
  height: 20px;
  margin-bottom: 10px;
  border-style: solid;
  border-color: var(--color-primary-blue);
  border-top-color: transparent;
  border-width: 3px;
  border-radius: 50%;
  -webkit-animation: spin 0.8s linear infinite;
  animation: spin 0.8s linear infinite;
}

.loader {
  display: none;
  width: 20px;
  height: 20px;
  margin-bottom: 10px;
  border-style: solid;
  border-color: var(--color-primary-blue);
  border-top-color: transparent;
  border-width: 3px;
  border-radius: 50%;
  -webkit-animation: spin 0.8s linear infinite;
  animation: spin 0.8s linear infinite;
}

#cover-spin::after {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  width: 40px;
  height: 40px;
  border-style: solid;
  border-color: black;
  border-top-color: transparent;
  margin: auto;
  border-width: 5px;
  border-radius: 50%;
  -webkit-animation: spin 0.8s linear infinite;
  animation: spin 0.8s linear infinite;
}

/* =================================== end utility ====== */

.pagination__list {
  display: flex;
  list-style: none;
  padding: 0;
  gap: 8px;
}

.page__link {
  display: inline-block;
  padding: 6px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  text-decoration: none;
  color: #555;
  font-size: 14px;
  min-width: 36px;
  text-align: center;
  transition: all 0.2s ease;
}

.page__link:hover {
  background-color: #f2f2f2;
  border-color: #aaa;
}

.page__item.active a {
  font-weight: bold;
  background-color: var(--color-primary-blue);
  border: none;
  color: var(--color-white);
}

.scroll-to-top {
  position: fixed;
  bottom: 10px;
  right: 5px;
  z-index: 999999999999;
  background-color: var(--color-cyan);
  color: white;
  border: none;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  font-size: 20px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  display: flex;

  opacity: 0;
  transform: translateY(20px);
  visibility: hidden;

  transition: opacity 0.3s ease, transform 0.3s ease;
}

.scroll-to-top.show {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.scroll-to-top:hover {
  opacity: 0.9;
}

.scroll-to-top:active {
  opacity: 0.85;
}

.slider-banner .slick-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background-color: transparent;
  color: var(--color-white);
  border: none;
  font-size: 50px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.slider-berita-utama .slick-arrow {
  position: absolute;
  top: 40%;
  transform: translateY(-40%);
  z-index: 10;
  background-color: transparent;
  color: var(--color-white);
  border: none;
  font-size: 40px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.slick-dots li {
  margin: 0 7px;
  width: 5px;
  height: 5px;
}

@media (max-width: 768px) {
  .slider-banner .slick-arrow {
    font-size: 30px;
  }
}

.slider-banner .slick-prev-custom {
  left: 20px;
}

.slider-banner .slick-next-custom {
  right: 20px;
}

.slider-berita-utama .slick-prev-custom {
  left: 10px;
}

.slider-berita-utama .slick-next-custom {
  right: 10px;
}

@media (max-width: 576px) {
  .slider-banner .slick-arrow {
    font-size: 20px;
  }

  .slider-banner .slick-prev-custom {
    left: 0;
  }

  .slider-banner .slick-next-custom {
    right: 0;
  }
}

a.glink img {
  width: 35px;
  height: 35px;
}

a.glink img:nth-child(1) {
  margin-right: 15px;
}

@media (max-width: 400px) {
  a.glink img {
    width: 30px;
    height: 30px;
  }
}

.header-main {
  margin-top: 3rem;
  border-bottom: 1px solid var(--color-gray3);
  background-color: var(--color-white2);
  border-top-left-radius: 40px;
  border-top-right-radius: 40px;
}

.title1 {
  color: var(--color-primary-blue);
  font-weight: 600;
  font-size: var(--text-size3);
  margin-bottom: 10px;
}

.title3 {
  color: var(--color-primary-blue);
  font-weight: 600;
  font-size: var(--text-size4);
  margin-bottom: 10px;
}

.title2 {
  color: var(--color-black1);
  font-weight: 600;
  font-size: var(--text-size4);
  margin-bottom: 0;
}

.title2:hover {
  color: var(--color-primary-blue);
}

@media (max-width: 576px) {
  .title2 {
    font-size: var(--text-size2);
  }
}

.nav__icon {
  max-width: 350px;
}

.nav__container {
  position: relative;
  height: 4rem;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
}

.header-status-lang {
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
}

.sosmed-wrapper {
  display: flex;
  gap: 10px;
  margin-left: 10px;
  margin-bottom: 20px;
}

.sosmed-wrapper a.sosmed {
  width: 35px;
  height: 35px;
  color: var(--color-primary-blue);
  border-radius: 50px;
  font-size: 20px;
  background-color: white;
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (max-width: 400px) {
  .sosmed-wrapper a.sosmed {
    width: 30px;
    height: 30px;
  }

  .sosmed-wrapper a.sosmed i {
    font-size: 14px;
  }
}

.nav__toggle {
  display: none;
}

.dropdown__menu {
  z-index: -1;
  display: none;
  margin: 0;
  padding: 0;
}

.dropdown__menu li {
  list-style: none;
}

.dropdown__link {
  display: block;
  font-weight: 500;
  padding: 2px;
}

.dropdown__link:hover {
  color: var(--color-primary-blue) !important;
  font-weight: 500;
}

ul.nav__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  text-decoration-line: none;
}

.nav__menu {
  display: flex;
  align-items: end;
}

.nav__menu .nav__list {
  display: flex;
  gap: 30px;
  align-items: end;
}

.nav__link {
  color: var(--color-primary-blue);
  font-weight: 600;
  font-size: 14px;
}

@media (min-width: 1201px) {
  .nav__menu {
    height: 4rem;
    /* background-color: coral; */
  }

  .nav__list {
    display: flex;
    height: 4rem;
    align-items: center;
  }

  .nav__menu .nav__list .nav__item {
    display: flex;
    height: 100%;
    justify-content: space-between;
    height: 100%;
    align-items: center;
    box-sizing: border-box;
    border-bottom: 3px solid transparent;
    transition: border-bottom 0.3s;
    /* background-color: lightblue; */
  }

  .nav__menu .nav__list .nav__item.active,
  .nav__menu .nav__list .nav__item:hover {
    border-bottom: 3px solid var(--color-primary-blue);
  }

  .nav__link {
    height: 4rem;
    display: flex;
    align-items: center;
  }

  /* Tampilkan saat hover */
  .nav__item.active>.dropdown__menu {
    background-color: var(--color-white2);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 20px;
    display: flex;
    gap: 20px;
    position: absolute;
    top: 65px;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
  }

  .nav__item.active>.dropdown__menu a {
    display: block;
    font-size: var(--text-size-small);
    text-decoration: none;
    margin-bottom: 5px;
    color: var(--color-gray4);
  }
}

@media (max-width: 1200px) {
  .nav__menu .nav__list .nav__item {
    display: block;
  }

  .nav__container {
    position: static;
  }

  .nav__list {
    overflow-y: auto;
  }

  .nav__item {
    display: block;
  }

  /* Tampilkan saat hover */
  .nav__item.active>.dropdown__menu {
    padding-top: 10px;
    z-index: 1000;
    display: block;
  }

  .nav__item.active>.dropdown__menu a {
    display: block;
    font-size: var(--text-size1);
    text-decoration: none;
    color: var(--color-gray4);
    margin-bottom: 5px;
  }
}

.nav__link {
  cursor: pointer;
}

.lang-item img {
  display: inline-block;
  width: 35px;
  height: 35px;
  border-radius: 50px;
}

.lang-id {
  margin-right: 10px;
}

/* end navbar */

.wrapper-button-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.wrapper-button-header .search-wrapper {
  margin: 20px 0;
}

.search-wrapper {
  display: flex;
  flex-direction: row-reverse;
  /* input muncul dari kanan */
  align-items: center;
  max-width: 300px;
  margin: 10px;
}

.search-input {
  margin-right: 5px;
  border: 2px solid #3f63c3;
  padding: 5px 0;
  border-radius: 50px;
  outline: none;
  font-size: 14px;
  color: #333;
  width: 0;
  opacity: 0;
  transition: all 0.3s ease;
  margin-left: 0;
}

.search-input::placeholder {
  color: #ccc;
}

.search-input.show {
  width: 100%;
  opacity: 1;
  padding: 5px 15px;
  margin-left: 5px;
}

.search-button {
  margin-right: 10px;
  background-color: #1d3ba1;
  border: none;
  padding: 10px;
  border-radius: 50px;
  width: 35px;
  height: 35px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  cursor: pointer;
}

.search-button i {
  font-size: 16px;
}

.button-disabilitas {
  cursor: pointer;
  display: inline-block;
  padding: 10px 40px 10px 10px;
  background-color: var(--color-primary-blue);
  color: var(--color-light-blue3);
  border-top-right-radius: 30px;
  border-bottom-right-radius: 30px;
  transition: 0.2s;

  position: fixed;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 9998;
  margin: 0;
}

.button-permohonan {
  cursor: pointer;
  display: inline-block;
  padding: 10px 40px 10px 10px;
  background-color: var(--color-primary-blue);
  color: var(--color-light-blue3);
  border-top-right-radius: 30px;
  border-bottom-right-radius: 30px;
  transition: 0.2s;

  position: fixed;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 9998;
  margin: 0;
}

@media (max-width: 576px) {
  .text-disabilitas {
    display: none;
  }

  .button-disabilitas {
    padding: 7px 20px;
  }
}

@media (max-width: 576px) {
  .button-disabilitas {
    margin: 10px 0;
  }
}

.button-disabilitas.button-blue {
  background-color: var(--color-primary-blue);
  color: var(--color-white);
}

.button-disabilitas:hover {
  opacity: 0.8;
}

.button-disabilitas:active {
  opacity: 0.9;
}

.button-disabilitas span {
  font-size: var(--text-size1);
  font-weight: 500;
}

.title-menu {
  margin-bottom: 10px;
  font-size: var(--text-size1);
  color: var(--color-primary-blue);
  font-weight: 500;
}

.text-date {
  font-size: var(--text-size-small);
  text-decoration: none;
  color: var(--color-black1);
}

.berita-utama-item.no-radius .text-date {
  font-size: var(--text-size1);
}

.berita-utama-item.no-radius .title2 {
  font-size: var(--text-size6);
}

@media (max-width: 576px) {
  .berita-utama-item.no-radius .title2 {
    font-size: var(--text-size2);
  }
}

.slider-banner .slick-dots li.slick-active button:before {
  color: var(--color-white);
}

/* width 1200 */
@media (max-width: 1200px) {
  .nav__toggle {
    display: block;
  }

  .nav__menu.show-menu {
    opacity: 1;
    pointer-events: inherit;
    top: 150px;
  }

  .nav__menu {
    opacity: 0;
    pointer-events: none;
    position: absolute;
    background-color: var(--color-white2);
    top: 150px;
    left: 0;
    width: 100vw;
    z-index: 999;
    /* transition: top 0.3s ease, opacity 0.3s ease; */
  }

  .nav__menu .nav__list {
    width: 100%;
    padding: 20px;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
  }

  .nav__toggle {
    position: relative;
    width: 50px;
    height: 50px;
  }

  .nav__burger,
  .nav__close {
    position: absolute;
    width: max-content;
    height: max-content;
    inset: 0;
    margin: auto;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--color-primary-blue);
    transition: opacity 0.1s, transform 0.4s;
  }

  .nav__close {
    opacity: 0;
  }

  /* Show icon */
  .show-icon .nav__burger {
    opacity: 0;
    transform: rotate(90deg);
  }

  .show-icon .nav__close {
    opacity: 1;
    transform: rotate(90deg);
  }

  .header-main {
    margin-top: 0;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
  }
}

/* end width 1200 */

/* width 992 */

/* end width 992 */

/* widh 576 */
@media (max-width: 576px) {
  .padding-horizontal {
    padding: 0 15px;
  }

  .nav__icon {
    max-width: 240px;
  }
}

@media (max-width: 400px) {
  .nav__icon {
    max-width: 210px;
  }
}

/* end width 576 */

/* slider banner */
.loading-overlay-modal {
  position: absolute;
  inset: 0;
  background-color: rgba(200, 200, 200, 0.6);
  /* abu-abu */
  z-index: 2;
  display: block;
}

.slider-banner-wrappper {
  content: '';
  position: relative;
  width: 100%;
  aspect-ratio: 8 / 3;
}

.slider-banner-video {
  background-color: var(--color-gray3);
  width: 100%;
  aspect-ratio: 8 / 3;
  position: relative;
  overflow: hidden;
}

.slider-banner-video video {
  width: 100%;
  height: 100%;
  object-position: bottom;
  object-fit: cover;
  display: block;
}

.slider-banner-shimmer {
  transition: 3s;
  width: 100%;
  aspect-ratio: 8 / 3;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  animation: shimmer 2s infinite;
  margin-bottom: 30px;
}

.slider-banner {
  display: none;
  aspect-ratio: 8 / 3;
}

.slider-banner div img {
  transition: 3s;
  width: 100%;
  aspect-ratio: 8/3;
}

.slider-banner .slick-dots {
  bottom: 15px;
}

.slider-banner .slick-dots li button:before {
  font-size: 15px !important;
}

/* end slider banner */

/* berita section */
.berita-section {
  padding: 30px 0;
}

@media (max-width: 576px) {
  .berita-section {
    padding: 20px;
  }
}

.berita-side {
  display: grid;
  column-gap: 20px;
  grid-template-columns: 1.4fr 1fr;
}

@media (max-width: 992px) {
  .berita-utama-grid {
    margin-bottom: 20px;
  }

  .berita-side {
    padding-top: 20px;
  }
}

.berita-utama-grid {
  padding-right: 20px;
}

@media (min-width: 1200px) {
  .berita-utama-grid {
    border-right: 1px solid var(--color-gray3);
  }
}

.berita-list-grid {
  border-right: 1px solid var(--color-gray3);
  padding-right: 20px;
}

.berita-text-wrapper {
  margin-bottom: 20px;
}

.berita-hero-text {
  display: none;
  transition: 0.1s;
}

.berita-text-item {
  display: flex;
  gap: 10px;
}

.berita-text-item .hash-no,
.berita-text-item h6 {
  cursor: pointer;
  line-height: 1.8;
  font-weight: 600;
  color: var(--color-gray4);
  font-size: var(--text-size1);
  transition: 0.2s ease-in-out;
}

.berita-text-item.pg-berita:hover h6,
.berita-text-item.pg-berita:hover .hash-no {
  color: var(--color-primary-blue);
}

.berita-text-item.pg-berita {
  margin-bottom: 15px;
}

.berita-text-item.pg-berita .total-read {
  font-size: var(--text-size-small);
  color: var(--color-gray4);
}

.berita-text-item.pg-berita h6 {
  font-size: var(--text-size2);
  margin-bottom: 0;
}

.berita-text-item.pg-berita .hash-no-wrapper {
  width: 12%;
}

@media (max-width: 768px) {
  .berita-text-item.pg-berita .hash-no-wrapper {
    width: 7%;
  }

  .berita-text-item.pg-berita {
    margin-bottom: 10px;
  }
}

@media (max-width: 576px) {
  .berita-text-item.pg-berita .hash-no-wrapper {
    width: 10%;
  }
}

.berita-text-item.pg-berita .hash-content {
  width: 88%;
}

.berita-text-item.pg-berita .hash-no {
  font-size: var(--text-size6);
}

@media (max-width: 576px) {
  .berita-text-item.pg-berita .hash-no {
    font-size: var(--text-size3);
  }
}

@media (max-width: 992px) {
  .berita-side {
    grid-template-columns: 0.6fr 0.4fr;
  }

  .berita-utama-grid {
    border-right: none;
    padding-right: 0;
  }
}

@media (max-width: 768px) {
  .berita-list-grid {
    border-right: none;
    padding-right: 0;
  }
}

@media (max-width: 576px) {
  .berita-side {
    grid-template-columns: 1fr;
  }

  .berita-list-grid {
    margin-bottom: 20px;
    border-bottom: 1px solid var(--color-gray3);
  }

  .layanan-card-item {
    margin-bottom: 15px;
  }

  .slider-banner .slick-dots {
    bottom: 4px;
  }
}

.slider-berita-utama {
  display: none;
  transition: 0.3s;
}

.slider-berita-utama-wrapper {
  content: '';
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
}

.slider-berita-utama-shimmer {
  transition: 3s;
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 2s infinite;
  margin-bottom: 30px;
  border-radius: 20px;
}

.berita-utama-item img {
  width: 100%;
  object-fit: cover;
  aspect-ratio: 5/3;
  border-radius: 20px;
  transition: 0.5s ease-in-out;
}

.berita-utama-item img:hover {
  transform: scale(1.2);
}

.img-berita-wrapper {
  overflow: hidden;
  margin-bottom: 10px;
  aspect-ratio: 5/3;
  width: 100%;
  border-radius: 20px;
}

.berita-utama-item.no-radius img {
  border-radius: 0 !important;
}

.layanan-card-item {
  display: flex;
  justify-content: center;
  background-color: #fff;
  margin-bottom: 18px;
  padding: 15px;
  border-radius: 20px;
  box-shadow: rgba(136, 165, 191, 0.48) 6px 2px 16px 0px,
    rgba(255, 255, 255, 0.8) -6px -2px 16px 0px;
}

.layanan-card-item img {
  width: 100%;
  max-width: 140px;
}

/* end berita section */

/* pengumuman section */
#pengumumanSection {
  background-color: #fff;

  padding: 30px 0;
}

.pengumuman-wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.swiper.swiper-pengumuman {
  width: 100%;
  height: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 30px;
}

.swiper-pengumuman .swiper-slide {
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  height: auto;
  aspect-ratio: 2 / 1;
}

.pengumuman-card {
  cursor: pointer;
  width: 100%;
  aspect-ratio: 2 / 1;
  border-radius: 20px;
  color: white;
  background-color: var(--color-primary-blue);
  display: flex;
  justify-content: center;
  align-items: flex-end;
  position: relative;
  overflow: hidden;
}

.pengumuman-card img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  transition: 0.5s ease-in-out;
}

.swiper-pengumuman-pagination {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

.swiper-pengumuman-pagination .swiper-pagination-bullet {
  position: relative;
  z-index: 9999;
  width: 12px;
  height: 12px;
  background: #ddd;
  opacity: 1;
  border-radius: 50%;
  transition: background 0.3s;
}

.swiper-pengumuman-pagination .swiper-pagination-bullet-active {
  background: #999;
}

.pengumuman-card:hover img {
  transform: scale(1.2);
}

.pengumuman-desc {
  position: relative;
  z-index: 1;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  width: 100%;
  padding: 12px;
  transform: translateY(100%);
  transition: transform 0.5s ease;
}

.pengumuman-desc h6 {
  font-size: var(--text-size1);
  font-weight: 500;
  margin: 0;
}

.pengumuman-desc small {
  font-size: var(--text-size-small);
}

.pengumuman-card:hover .pengumuman-desc {
  transform: translateY(0);
}

.col-event-mendatang.col-home {
  padding: 0 52px 0;
}

@media (max-width: 992px) {
  .col-event-mendatang {
    margin-top: 30px;
    padding: 0;
  }
}

.event-single-slider-wrapper {
  content: '';
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
}

.event-single-shimmer {
  transition: 3s;
  width: 100%;
  aspect-ratio: 4/5;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 2s infinite;
  margin-bottom: 30px;
}

@media (max-width: 992px) {

  .event-single-slider-wrapper,
  .event-single-shimmer {
    aspect-ratio: auto;
  }

  .event-single-shimmer {
    height: 350px;
  }
}

.event-single-slider {
  display: none;
}

.pengumuman-card div {
  color: white;
}

.event-single-item {
  margin: 0;
}

.event-single-item img {
  width: 100%;
  border-radius: 20px;
  aspect-ratio: 4/5;
}

/* end pengumuman section */

/* event section */
#eventSection {
  position: relative;
  padding: 30px 0;
  /* margin: 30px 0; */
  background-color: var(--color-primary-blue);
  transition: 0.3s ease-in-out;
}

.event-section-loading {
  position: relative;
  cursor: progress;
  pointer-events: none;
  z-index: 999;
}

.event-section-loading::after {
  content: 'Loading...';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.7);
  color: #333;
  font-size: 1.5rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99;
  pointer-events: none;
}

#eventSection .cal-event-title {
  font-size: 30px;
  color: var(--color-white);
  font-weight: 600;
}

.slide-event-image img {
  width: 100%;
  aspect-ratio: 16/8;
  object-fit: cover;
  border-radius: 20px;
}

/* .event-list-wrapper {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(2, 1fr);
} */

.event-list-wrapper {
  display: grid;
  gap: 30px;
  grid-template-rows: repeat(4, auto);
  /* jumlah baris maksimal per kolom */
  grid-auto-flow: column;
  /* arah isi: atas ke bawah */
}

@media (max-width: 992px) {
  .event-list-wrapper {
    grid-template-columns: 1fr;
  }
}

.event-wrapper-detail {
  display: flex;
  align-items: start;
  gap: 25px;
}

@media (max-width: 576px) {
  .event-wrapper-detail {
    flex-wrap: wrap;
    justify-content: center;
  }
}

.event-card {
  display: flex;
  color: white;
  border-radius: 6px;
  align-items: flex-start;
  gap: 20px;
}

@media (max-width: 576px) {
  .event-card {
    flex-direction: column;
    gap: 10px;
  }
}

.event-number {
  font-weight: bold;
  color: var(--color-yellow);
  /* Kuning emas */
  white-space: nowrap;
  font-size: 20px;
}

.event-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 14px;
}

.event-row {
  display: flex;
  gap: 10px;
}

.event-label {
  font-size: var(--text-size-small);
  width: 100px;
}

@media (max-width: 576px) {
  .event-label {
    width: 80px;
  }
}

.event-separator {
  font-size: var(--text-size-small);
  width: 3px;
}

.event-value {
  font-size: var(--text-size-small);
  flex: 1;
}

/* event section */

/* majalan section */
#majalahSection {
  padding: 30px 0;
}

.slider-majalah {
  display: none;
  margin-bottom: 30px;
}

.slide-majalah-item {
  margin: 0 15px;
}

.slide-majalah-item img {
  width: 100%;
  max-width: 180px;
  height: 100%;
}

@media (max-width: 576px) {
  .slide-majalah-item img {
    max-width: fit-content;
  }
}

.slider-majalah-wrapper {
  content: '';
  position: relative;
  width: 100%;
  height: 250px;
  aspect-ratio: 3 / 4;
}

.slider-koran-wrapper {
  content: '';
  position: relative;
  width: 100%;
  height: 250px;
  aspect-ratio: 3 / 4;
}

.slider-majalah-wrapper,
.slider-koran-wrapper {
  height: 290px;
}

@media (min-width: 1024px) and (max-width: 1200px) {

  .slider-majalah-wrapper,
  .slider-koran-wrapper {
    height: 230px;
  }

  .slider-koran-wrapper,
  .slider-majalah-wrapper {
    height: 230px;
  }
}

@media (max-width: 768px) {

  .slider-majalah-wrapper,
  .slider-koran-wrapper {
    height: 260px;
  }

  .wrapper-btn-visit {
    margin-top: 10px;
  }
}

@media (max-width: 576px) {
  .wrapper-btn-visit {
    margin-top: 45px;
  }
}

@media (max-width: 400px) {
  .wrapper-btn-visit {
    margin-top: 0px;
  }
}

.slider-majalah-shimmer,
.slider-koran-shimmer {
  transition: 3s;
  width: 100%;
  height: 296px;
  aspect-ratio: 3/4;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 2s infinite;
}

.btn-visit-magazine {
  text-decoration: none;
  background-color: var(--color-primary-blue);
  padding: 4px 6px;
  border-radius: 10px;
  font-size: 10px;
  color: var(--color-white);
  text-align: center;
  cursor: pointer;
}

.btn-visit-magazine:hover {
  opacity: 0.8;
}

.btn-visit-magazine:active {
  opacity: 0.9;
}

/* end majalan section */

/* footer section */
#footerSection {

  background-color: var(--color-primary-blue);
  padding: 50px 0;
  color: var(--color-gray-footer);
}

@media (max-width: 1200px) {
  #footerSection {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
  }
}

#footerSection .text-powered {
  font-size: var(--text-size-small);
}

.footer-title {
  font-size: 30px;
}

.footer-title2 {
  font-size: 25px;
}

@media (max-width: 576px) {
  .footer-title {
    font-size: 25px;
  }

  .footer-title2 {
    font-size: 20px;
  }
}

.footer-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 992px) {
  .footer-wrapper {
    grid-template-columns: 1fr;
  }
}

.footer-address {
  font-size: var(--text-size1);
}

.footer-icon {
  width: 22px;
  height: 22px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--color-gray-footer);
  padding: 5px;
  border-radius: 50%;
}

.footer-icon i {
  color: var(--color-primary-blue);
}

.footer-sosmed-item-link {
  cursor: pointer;
  text-decoration: none;
  color: var(--color-gray-footer);
  display: flex;
  align-items: center;
  column-gap: 15px;
  row-gap: 10px;
  margin-bottom: 10px;
}

.table-visitor-wrapper {
  font-size: var(--text-size1);
}

.wrapper-copyright {
  margin-top: 20px;
  font-size: var(--text-size1);
}

.wrapper-downapp {
  margin-top: 50px;
}

@media (max-width: 992px) {
  .wrapper-copyright {
    margin-top: 0;
    font-size: var(--text-size1);
  }

  .wrapper-downapp {
    margin-top: 20px;
    margin-bottom: 20px;
  }
}

@media (max-width: 992px) {
  #gpr-kominfo-widget-container {
    margin-top: 30px;
  }
}

/* end footer section */

/* video section */
#videoSection {
  padding: 30px 0;
}

.title-video-section {
  font-size: 30px;
  text-align: center;
  font-weight: bold;
  color: var(--color-primary-blue);
}

.video-wrapper {
  margin: auto;
  width: 100%;
  max-width: 1000px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  position: relative;
}

.tv-card {
  position: relative;
  width: 100%;
  max-width: 450px;
  margin: 20px auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.tv-card-body {
  position: relative;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  padding: 30px 30px 60px;
  border-top-left-radius: 30px;
  border-top-right-radius: 30px;
  border-bottom-left-radius: 48px;
  border-bottom-right-radius: 48px;
  background: white;
  z-index: 2;
}

.tv-card-footer {
  position: relative;
  margin-top: -45px;
  text-align: center;
  padding: 70px 30px 30px 30px;
  border-bottom-left-radius: 48px;
  border-bottom-right-radius: 48px;
  background-color: var(--color-yellow);
  z-index: 1;
}

.tv-card-footer a {
  text-decoration: underline;
  color: #000;
  font-weight: 500;
}

@media (max-width: 880px) {
  .video-wrapper {
    grid-template-columns: 1fr;
  }
}

.tv-title {
  background-color: white;
  text-align: center;
  color: var(--color-primary-blue);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 15px;
}

.tv-main-video iframe {
  border-radius: 20px;
  width: 100%;
  height: 250px;
  /* display: none; */
}

.tv-single-video iframe {
  width: 100%;
  height: 250px;
  /* display: none; */
}

.tv-main-video img {
  border-radius: 20px;
  width: 100%;
  height: 250px;
  display: none;
}

.tv-thumbnail-list {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.tv-thumbnail-item {
  cursor: pointer;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.tv-thumbnail-item img {
  width: 120px;
  border-radius: 20px;
}

.tv-thumbnail-item div {
  font-size: var(--text-size1);
  color: #183a8c;
  font-weight: 500;
}

.tv-button-wrapper {
  margin-top: 30px;
  text-align: center;
  position: relative;
}

.tv-button {
  background: var(--color-yellow, #ffd300);
  color: #183a8c;
  font-weight: bold;
  display: inline-block;
  padding: 15px 20px;
  border-radius: 20px;
  box-shadow: 0 8px 0 #e0ba00;
  text-decoration: none;
  transition: 0.3s;
}

.tv-button:hover {
  transform: translateY(2px);
  box-shadow: 0 6px 0 #e0ba00;
}

/* end video section */

/* aduan section */

.contact-us-section {
  padding: 30px 0;
  margin: auto;
  width: 100%;
  max-width: 1000px;
  text-align: center;
}

.section-title-footer {
  font-size: 30px;
  text-align: center;
  font-weight: bold;
  color: var(--color-primary-blue);
}

.logo {
  max-width: 150px;
  /* Adjust based on actual logo size */
  height: auto;
}

.contact-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}

.contact-info {
  flex: 1;
  min-width: 300px;
  /* Ensures a minimum width for this column */
  text-align: left;
}

.info-item {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
}

.icon-circle {
  background-color: var(--color-yellow);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 15px;
  color: var(--color-primary-blue);
  font-size: 1.5em;
}

.icon-circle-sosmed {
  background-color: var(--color-white);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  gap: 10px;
  align-items: center;
  color: var(--color-primary-blue);
  font-size: 1.5em;
}

.icon-circle-desc h3 {
  font-weight: 600;
  font-size: var(--text-size6);
  color: var(--color-primary-blue);
}

.icon-circle-desc p {
  color: var(--color-primary-blue);
  margin: 0;
  font-weight: 500;
  font-style: italic;
}

.ci .info-item h3 {
  color: #333;
  margin: 0 0 5px 0;
  font-size: 1.1em;
}

.contact-form {
  flex: 1;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  gap: 25px;
  text-align: left;
}

@media (max-width: 768px) {
  .contact-form {
    gap: 20px;
  }
}

.contact-form .form-group input,
.contact-form .form-group textarea {
  width: 100%;
  padding: 12px 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1em;
  box-sizing: border-box;
}

.contact-form .form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.submit-button {
  background-color: var(--color-cyan);
  color: #fff;
  padding: 12px 25px;
  border: none;
  border-radius: 25px;
  font-size: 1.1em;
  cursor: pointer;
  align-self: flex-end;
  transition: background-color 0.3s ease;
}

.submit-button:hover {
  opacity: 0.8;
}

.social-media {
  margin-top: 40px;
  display: flex;
  gap: 20px;
}

.social-icon {
  background-color: var(--color-gray4);
  color: #3b5998;
  /* Social icon color */
  font-size: 1.8em;
  transition: color 0.3s ease;
}

.social-icon:hover {
  color: #2c3e50;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .contact-content {
    flex-direction: column;
    align-items: center;
  }

  .info-item {
    display: flex;
    align-items: center;
  }

  .contact-info,
  .contact-form {
    width: 100%;
    max-width: 500px;
    /* Limit width on smaller screens */
  }

  .submit-button {
    align-self: center;
    /* Center button on smaller screens */
  }
}

@media (max-width: 480px) {
  .contact-us-section {
    padding: 20px;
  }

  .section-title {
    font-size: 2em;
  }

  .social-icon {
    font-size: 1.5em;
  }
}

/* end aduan section */

/* ================================================= */
/* HALAMAN INFORMASI KOTA */

/* sejarah section */

#sejarahSection {
  padding: 30px 0;
}

.sejarah-wrapper {
  display: grid;
  grid-template-columns: 0.6fr 0.4fr;
  gap: 40px;
}

@media (max-width: 992px) {
  .sejarah-wrapper {
    grid-template-columns: 1fr;
  }
}

.title-sejarah-kota {
  font-size: var(--text-size5);
  color: var(--color-primary-blue);
}

.accordion-content {
  margin-bottom: 15px;
}

.accordion-body {
  font-family: sans-serif;
  color: var(--color-primary-blue);
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.2s ease-out;
}

.accordion-title {
  display: inline-block;
  color: #1c3faa;
  font-weight: bold;
  margin-bottom: 10px;
  cursor: pointer;
  border-bottom: 1px solid var(--color-primary-blue);
}

.accordion-images-wrapper {
  display: flex;
  justify-content: center;
}

.accordion-images {
  position: relative;
  width: 300px;
  height: 400px;
  cursor: pointer;
}

.accordion-images img {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 40px;
  object-fit: cover;
  transition: transform 0.5s ease, opacity 0.5s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.accordion-images img.next-image {
  z-index: 0;
  opacity: 0.6;
  transform: translate(50px, -40px) scale(0.95);
}

.accordion-images img.active-image {
  z-index: 1;
  opacity: 1;
  transform: translate(0, 0) scale(1);
}

/* end sejarah section */
/* END HALAMAN INFORMASI KOTA */
/* ================================================= */

/* HALAMAN INFORMASI PEMERINTAHAN */
/* visi misi section */
#visimisiSection {
  position: relative;
  padding: 30px 0;
}

.visi-wrapper {
  position: relative;
  z-index: 2;
  padding: 40px 60px;
  width: 100%;
  max-width: 750px;
  margin: auto;
  background-color: var(--color-white2);
  border-radius: 15px;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 50px;
}

.visi-wrapper .visi-text {
  color: var(--color-primary-blue);
  font-size: var(--text-size3);
}

@media (max-width: 768px) {
  .visi-wrapper .visi-text {
    font-size: var(--text-size2);
  }
}

.misi-wrapper {
  padding: 40px 60px;
  width: 100%;
  max-width: 992px;
  margin: auto;
  background-color: var(--color-white2);
  border-radius: 15px;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 50px;
}

.misi-item {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  margin-bottom: 40px;
}

@media (max-width: 576px) {
  .misi-item {
    flex-wrap: wrap;
    gap: 10px;
  }
}

.misi-item:last-child {
  margin-bottom: 0;
}

.misi-item-number {
  width: 85px;
  font-size: 64px;
  font-weight: 700;
  color: var(--color-primary-blue);
  -webkit-text-stroke: 1.5px var(--color-primary-blue);
  color: transparent;
  /* agar hanya garis luarnya terlihat */
  flex-shrink: 0;
  line-height: 1;
}

@media (max-width: 576px) {
  .misi-item-number {
    font-size: 50px;
  }
}

.misi-item-desc {
  font-size: var(--text-size3);
  line-height: 1.6;
  color: var(--color-primary-blue);
  max-width: 700px;
}

@media (max-width: 768px) {
  .misi-item {
    gap: 20px;
    margin-bottom: 25px;
  }

  .misi-item-desc {
    font-size: var(--text-size2);
  }
}

.btn-yellow-download {
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  background-color: var(--color-yellow);
  color: var(--color-primary-blue);
  padding: 10px 25px;
  border-radius: 15px;
  font-weight: 600;
  display: inline-block;
}

.btn-yellow-download:hover {
  opacity: 0.8;
}

.btn-yellow-download:active {
  opacity: 0.9;
}

.global-pimpinan-wrapper {
  max-width: 1000px;
  margin: auto;
}

.title-big-primary1 {
  font-size: var(--text-size11);
  margin: 0;
  color: var(--color-primary-blue);
  font-weight: bold;
}

.title-big-primary2 {
  font-size: var(--text-size9);
  margin: 0;
  color: var(--color-primary-blue);
  font-weight: bold;
}

.text-profil-wrapper {
  margin-bottom: 40px;
}

.text-md-title {
  font-size: var(--text-size8);
  color: var(--color-primary-blue);
  font-weight: 500;
  margin: 0;
}

@media (max-width: 768px) {
  .text-md-title {
    font-size: var(--text-size6);
  }

  .title-big-primary1 {
    font-size: var(--text-size9);
  }
}

.wrapper-user-pimpinan {
  border-radius: 12px;
  margin-bottom: 30px;
}

.pimpinan-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 100px;
  margin-bottom: 80px;
}

.pimpinan-item:last-child {
  margin-bottom: 0;
}

@media (max-width: 992px) {
  .pimpinan-item {
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .pimpinan-item {
    flex-wrap: wrap;
    margin-bottom: 50px;
  }
}

.image-box img {
  height: 400px;
  object-fit: cover;
  border-radius: 24px;
  pointer-events: none;
}

.info-box-user h6 {
  font-size: var(--text-size6);
  font-weight: 700;
  color: var(--color-primary-blue);
  margin: 0;
}

@media (max-width: 768px) {
  .info-box-user h6 {
    font-size: var(--text-size5);
  }
}

.subtitle-user {
  font-style: italic;
  color: var(--color-primary-blue);
  margin-bottom: 20px;
}

.detail-info-user {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 25px;
}

.detail-info-user td {
  padding: 3px 0;
  vertical-align: top;
  font-size: var(--text-size2);
  color: var(--color-primary-blue);
}

@media (max-width: 576px) {
  .detail-info-user td {
    font-size: var(--text-size1);
  }
}

.detail-info-user td:first-child {
  font-weight: 600;
  color: var(--color-primary-blue);
  white-space: nowrap;
  width: 180px;
}

.detail-info-user td:nth-child(2) {
  width: 10px;
}

#profilWalikotaSection {
  padding: 30px 0;
}

/* end visi misi section */

/* lambang section */

#lambangSection {
  padding: 30px 0;
}

.img-lambang-wrapper {
  margin: auto;
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: 1200px;
}

.img-lambang-wrapper img {
  display: block;
  width: 100%;
}

.img-struktur {
  pointer-events: none;
  border-radius: 48px;
}

.wrapper-makna-lambang {
  max-width: 900px;
  margin: auto;
  margin-top: 60px;
  text-align: center;
}

.wrapper-makna-lambang h2 {
  font-size: var(--text-size8);
  font-weight: 800;
  color: var(--color-primary-blue);
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .wrapper-makna-lambang h2 {
    font-size: var(--text-size6);
  }
}

.wrapper-makna-lambang .subtitle {
  font-size: var(--text-size3);
  color: var(--color-primary-blue);
  margin-bottom: 50px;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .wrapper-makna-lambang .subtitle {
    font-size: var(--text-size2);
  }
}

@media (max-width: 576px) {
  .wrapper-makna-lambang .subtitle {
    font-size: var(--text-size1);
  }
}

.wrapper-makna-lambang h3 {
  font-size: var(--text-size6);
  font-weight: 700;
  color: var(--color-primary-blue);
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .wrapper-makna-lambang h3 {
    font-size: var(--text-size4);
  }
}

.wrapper-makna-lambang p {
  font-size: var(--text-size2);
  color: var(--color-primary-blue);
  line-height: 1.8;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .wrapper-makna-lambang p {
    font-size: var(--text-size2);
  }
}

@media (max-width: 576px) {
  .wrapper-makna-lambang p {
    font-size: var(--text-size1);
  }
}

.wrapper-makna-lambang strong {
  font-weight: 700;
}

.makna-desc-wrapper {
  margin: auto;
  color: var(--color-primary-blue);
  width: 100%;
  max-width: 885px;
}

/* end lambang section */

/* section struktur */
#strukturSection {
  padding: 30px 0;
}

/* end section struktur */
/* END HALAMAN INFORMASI PEMERINTAHAN */

/* HALAMAN INFORMASI KOTA */
/* demografi section */
#demografiSection {
  padding: 30px 0;
}

.image-stat-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}

.image-stat-wrapper img {
  width: 100%;
  max-width: 400px;
  padding: 0 20px;
}

.image-stat-wrapper-full {
  display: flex;
  justify-content: center;
}

.image-stat-wrapper-full img {
  width: 100%;
  max-width: 600px;
  padding: 0 20px;
}

.img-peta-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.img-peta-wrapper img {
  width: 100%;
  max-width: 800px;
  display: block;
}

/* end demografi section */

.list-opd-global {
  padding: 20px;
  height: 500px;
  border-radius: 20px;
  box-shadow: 10px 10px 22px 0px rgba(132, 132, 132, 0.75);
}

.list-opd-wrapper {
  height: 100%;
  overflow-y: scroll;
  padding: 10px;
}

.list-opd-wrapper {
  scrollbar-width: thin;
  scrollbar-color: var(--color-primary-blue) transparent;
}

.list-opd-wrapper::-webkit-scrollbar {
  width: 4px;
}

.list-opd-wrapper::-webkit-scrollbar-track {
  background: transparent;
}

.list-opd-wrapper::-webkit-scrollbar-thumb {
  background-color: var(--color-primary-blue);
  border-radius: 10px;
}

.opd-item-link {
  margin-bottom: 16px;
}

.opd-item-link a,
.no-result-opd {
  color: #000;
  text-decoration: none;
  font-size: var(--text-size-small);
  display: block;
  font-weight: 400;
}

.opd-item-link a:hover,
.opd-item-link a:focus {
  color: var(--color-primary-blue);
}

@media (max-width: 992px) {
  .wrapper-col-opd {
    margin-bottom: 60px;
  }
}

.text-search-opd {
  width: 100%;
  padding: 15px 30px;
  font-size: var(--text-size-small);
  border: none;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  color: #333;
  outline: none;
  transition: box-shadow 0.3s ease;
}

.text-search-opd::placeholder {
  color: #b0b0b0;
  font-weight: 500;
}

/* Optional: saat fokus */
.text-search-opd:focus {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* end opd section */

/* selayang pandang section */
#selayangPandangSection {
  position: relative;
  background-color: var(--color-yellow-light);
}

.toping {
  position: absolute;
}

.toping-selayang2,
.toping-kota2 {
  left: 0;
}

.toping-selayang1,
.toping-kota1 {
  right: 0;
}

@media (max-width: 768px) {
  .toping {
    display: none;
  }
}

.text-selayang {
  margin: auto;
  text-align: center;
  margin-top: 20px;
  width: 100%;
  max-width: 650px;
  color: var(--color-primary-blue);
}

@media (max-width: 576px) {
  .text-selayang {
    font-size: var(--text-size-small);
  }
}

.selayang-pandang-item {
  display: flex;
  justify-content: center;
  align-items: center;
}

.selayang-pandang-item img {
  width: 100%;
  display: block;
}

/* end selayang pandang section */

/* skpd section */
/* #skpdSection {
  background-color: var(--color-light-blue3);
} */



.pejabat-item {
  padding: 10px;
  display: flex;
  gap: 20px;
}

.image-wrap-pjb {
  background-color: var(--color-gray4);
  width: 100px;
  height: 108px;
}

.image-wrap-pjb img {
  pointer-events: none;
  width: 100px;
  height: 108px;
  object-fit: cover;
  object-position: top;
}

.text-jb-label {
  font-size: 10px;
  font-weight: 600;
}

.text-jb-isi {
  font-size: var(--text-size1);
  font-weight: 600;
  color: var(--color-primary-blue);
}

.wrapper-list-pejabat .pejabat-item:nth-child(odd) {
  background-color: var(--color-light-blue1);
}

.wrapper-list-pejabat .pejabat-item:nth-child(even) {
  background-color: var(--color-light-blue2);
}

.wrapper-list-pejabat {
  overflow-y: scroll;
  height: 600px;
  -ms-overflow-style: none;
}

.wrapper-list-pejabat::-webkit-scrollbar {
  display: none;
}

.pejabat-desc {
  display: flex;
  align-items: center;
}

.bg-pilih-opd {
  position: relative;
}

/* 1. Mengubah container utama menjadi bentuk pill/kapsul */
.form-select-opd .select2-container--default .select2-selection--single {
  height: 50px !important;
  border-radius: 25px !important;
  /* Membuat bentuk kapsul */
  border: 1px solid #707070 !important;
  padding-left: 15px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  /* Penting agar background biru tidak keluar jalur */
}

/* 2. Menghilangkan border default saat fokus */
.select2-container--default.select2-container--focus .select2-selection--single {
  border: 1px solid #3d7ea6 !important;
}

/* 3. Mengatur teks placeholder/pilihan */
.form-select-opd .select2-selection__rendered {
  color: #707070 !important;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 50px !important;
}

/* 4. Membuat kotak biru di sisi kanan (Arrow Container) */
.form-select-opd .select2-selection__arrow {
  height: 100% !important;
  width: 60px !important;
  /* Lebar area biru */
  background-color: #3d7ea6 !important;
  /* Warna biru sesuai gambar */
  border-radius: 0 25px 25px 0 !important;
  top: 0 !important;
  right: 0 !important;
}

/* 5. Mengubah icon panah menjadi putih */
.form-select-opd .select2-selection__arrow b {
  border-color: #fff transparent transparent transparent !important;
  /* Panah Putih */
  border-width: 7px 6px 0 6px !important;
  margin-left: -3px !important;
}

/* 6. Mengubah arah panah saat dropdown terbuka */
.select2-container--default.select2-container--open .select2-selection__arrow b {
  border-color: transparent transparent #fff transparent !important;
  border-width: 0 6px 7px 6px !important;
}

.bg-pilih-opd img {
  z-index: 1;
  padding: 10px;
  margin-bottom: 20px;
  position: absolute;
  bottom: -50px;
  width: 80%;
}

@media (max-width: 992px) {
  .bg-pilih-opd img {
    display: none;
  }
}

/* end skpd section */
/* END HALAMAN INFORMASI KOTA */

/* HALAMAN WISATA BUDAYA */

.header-wisbud {
  position: relative;
  padding: 30px;
}

.title-wisbud {
  text-align: center;
}

.row-plane {
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.title-wisbud h5 {
  margin-bottom: -10px;
  font-size: var(--text-size8);
  font-weight: 500;
  color: var(--color-primary-blue);
}

.title-wisbud h3 {
  position: relative;
  margin: 0;
  font-size: var(--text-size12);
  font-weight: bold;
  color: var(--color-primary-blue);
}

.title-wisbud h3 img {
  width: 65px;
  position: absolute;
  top: -46px;
  margin-left: -85px;
}

@media (max-width: 768px) {
  .title-wisbud h3 img {
    display: none;
  }

  .title-wisbud h5 {
    margin-bottom: 0;
    font-size: var(--text-size4);
  }

  .title-wisbud h3 {
    font-size: var(--text-size10);
  }
}

@media (max-width: 576px) {
  .title-wisbud h5 {
    margin-bottom: 0;
    font-size: var(--text-size3);
  }

  .title-wisbud h3 {
    font-size: var(--text-size8);
  }
}

.search-sort-wrapper {
  width: 100%;
  max-width: 900px;
  margin: auto;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
}

.sort-button {
  align-self: flex-end;
}

.wisbud-search {
  position: relative;
  width: 100%;
  max-width: 400px;
}

.wisbud-search input[type='search'] {
  width: 100%;
  padding: 10px 45px 10px 15px;
  border: 1px solid #375a9e;
  border-radius: 25px;
  font-size: 16px;
  outline: none;
  color: #375a9e;
}

.wisbud-search input::placeholder {
  color: #b0b0d0;
}

.wisbud-search .search-button {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #375a9e;
  font-size: 18px;
  cursor: pointer;
}

.sort-button {
  position: absolute;
  right: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 15px;
  background-color: #375a9e;
  color: white;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-size: 16px;
}

@media (max-width: 768px) {
  .sort-button {
    position: relative;
  }
}

.wisbud-masonry-wrapper {
  position: relative;
  margin: 0 auto;
  max-width: 900px;
}

.masonry-wrapper {
  display: flex;
  justify-content: center;
  gap: 20px;
  align-items: flex-start;
}

.masonry-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.masonry-item {
  position: relative;
  overflow: hidden;
  border-radius: 25px;
  background: var(--color-gray3);
  cursor: pointer;
  transition: 0.5s;
}

.masonry-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: 0.5s;
}

.masonry-item:hover {
  box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px,
    rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px,
    rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
}

.masonry-item:hover img {
  transform: scale(1.2);
}

.masonry-item .caption {
  text-align: center;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px 12px 30px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
}

.masonry-item .cap-title {
  font-size: var(--text-size5);
  font-weight: bold;
  color: white;
}

.masonry-item .cap-sub {
  font-size: var(--text-size-small);
  color: white;
}

.h-300 {
  height: 300px;
}

.h-350 {
  height: 350px;
}

/* modal wisata budaya */
.custom-open-btn {
  padding: 10px 20px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

/* Overlay */
.modal-wisbud-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 1050;
}

.modal-wisbud-overlay.custom-show {
  opacity: 1;
  visibility: visible;
}

/* Modal Container */
.modal-wisbud {
  border: 3px solid white;
  position: relative;
  width: 90%;
  max-width: 800px;
  border-radius: 15px;
  overflow: hidden;
  background: #000;
  transform: scale(0.95);
  transition: transform 0.3s ease;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

.modal-wisbud-overlay.custom-show .modal-wisbud {
  transform: scale(1);
}

.modal-wisbud img {
  width: 100%;
  height: auto;
  object-fit: cover;
  max-height: 600px;
  display: block;
}

@media (max-width: 400px) {
  .modal-wisbud img {
    width: auto;
    height: 100%;
    object-fit: cover;
    max-height: 600px;
    display: block;
  }
}

/* Overlay text on image */
.modal-wisbud-content {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 20px;
  color: white;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
  box-sizing: border-box;
}

.modal-wisbud-content h2 {
  margin: 0;
  font-size: 24px;
}

.modal-wisbud-content em {
  font-size: 14px;
  color: #ccc;
  display: block;
  margin-top: 4px;
}

.custom-qr {
  margin: 15px 0 10px;
}

.custom-qr img {
  width: 60px;
  height: 60px;
  display: block;
}

.custom-qr small {
  display: block;
  font-size: 12px;
  margin-top: 5px;
  color: #ccc;
}

.modal-wisbud-content p {
  font-size: 14px;
  line-height: 1.5;
  margin-top: 10px;
}

.custom-close-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  z-index: 10;
  transition: background-color 0.2s ease;
}

.custom-close-btn:hover {
  background-color: rgba(255, 0, 0, 0.7);
}

.modal-keterangan-scroll {
  max-height: 100px;
  overflow-y: auto;
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.6;
  padding-right: 5px;

  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* IE and Edge */

  /* Webkit (Chrome, Safari) */
}

.modal-keterangan-scroll::-webkit-scrollbar {
  display: none;
}

@media (max-width: 480px) {
  .modal-wisbud-content h2 {
    font-size: 20px;
  }

  .modal-wisbud-content p {
    font-size: 13px;
  }

  .custom-close-btn {
    width: 28px;
    height: 28px;
    font-size: 18px;
  }
}

.header-wisbud .toping-kota2 {
  left: 30px;
}

.header-wisbud .toping-kota1 {
  right: 30px;
}

@media (max-width: 768px) {
  .header-wisbud .toping-kota2 {
    display: none;
  }

  .header-wisbud .toping-kota1 {
    display: none;
  }
}

.filter-box {
  display: none;
  position: absolute;
  right: 0;
  width: 300px;
  background: white;
  padding: 30px 40px;
  border-radius: 30px;
  box-shadow: rgba(17, 17, 26, 0.1) 0px 0px 16px;
  z-index: 1000;
}

.filter-box h3 {
  margin-top: 10px;
  font-size: var(--text-size5);
  color: var(--color-primary-blue);
  font-weight: 600;
}

.filter-box .filter-section {
  margin-bottom: 20px;
}

.filter-box .filter-section label {
  font-weight: 500;
  display: block;
  column-gap: 10px;
  display: flex;
  align-items: center;
  font-size: var(--text-size3);
  color: var(--color-primary-blue);
}

.custom-checkbox {
  appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid #ccc;
  border-radius: 4px;
  position: relative;
  background-color: white;
  transition: 0.2s;
}

/* Checked style */
.custom-checkbox:checked {
  background-color: var(--color-primary-blue);
  /* warna kuning */
  border-color: var(--color-primary-blue);
}

/* Checked icon (centang) */
.custom-checkbox:checked::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 5px;
  width: 4px;
  height: 9px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* end modal wisata budaya */

/* END HALAMAN WISATA BUDAYA */

/* layanan  */
.layanan-kota {
  cursor: pointer;
  display: grid !important;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

@media (max-width: 992px) {
  .layanan-kota {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .layanan-kota {
    grid-template-columns: repeat(2, 1fr);
  }
}

.layanan-item-box {
  transition: 0.3s;
}

.layanan-item-box:hover {
  box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px,
    rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
  /* box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px; */
}

.layanan-item-box:active {
  box-shadow: rgba(50, 50, 93, 0.25) 0px 30px 60px -12px inset,
    rgba(0, 0, 0, 0.3) 0px 18px 36px -18px inset;
}

.layanan-item-box {
  /* background-color: var(--color-primary-blue); */
  padding: 15px;
  border-radius: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.layanan-item-box img {
  height: 100px;
  width: 100%;
  max-width: 230px;
  object-fit: contain;
}

.layanan-item-desc {
  margin-top: 5px;
  text-align: center;
  color: var(--color-black1);
  font-weight: 600;
  font-size: var(--text-size2);
}

@media (max-width: 576px) {
  .layanan-item-desc {
    font-size: var(--text-size1);
  }

  .layanan-item-box img {
    height: 50px;
  }
}

/* end layanan  */

/* disable save image */
.fancybox__content img {
  pointer-events: none !important;
}

.bg-footer-pic img {
  pointer-events: none;
  background-color: var(--color-white2);
  width: 100%;
  position: relative;
  display: block;
  object-position: bottom;
  object-fit: cover;
  aspect-ratio: 3.8/1;
}

.modal-dialog.modal-lg2 {
  --bs-modal-width: 900px;
}

.dashboard-ppid {
  padding: 40px 0;
  background-color: #fff;
}

.penguumuman-section {
  padding: 40px 0;
  background-color: #fff;
}

.section-info-statistik {
  padding: 40px 0;
  background-color: #fff;
}

.section-layanan-eksternal {
  padding: 40px 0;
  background-color: #fff;
}

.section-pengertian {
  padding: 40px 0;
  background-color: #fff;
}

.section-statistik-charts {
  padding: 40px 0;
  background-color: #fff;
}

/* Banner Oranye Atas */
.banner-status-orange {
  background-color: #e67e22;
  border-radius: 15px;
  padding: 15px;
  text-align: center;
}

.banner-status-orange a {
  color: white;
  font-weight: bold;
  text-decoration: none;
  font-size: 1.1rem;
}

/* Search Bar Utama */
.main-search-ppid {
  display: flex;
  border: 2px solid #ddd;
  border-radius: 50px;
  padding: 5px 5px 5px 25px;
}

.main-search-ppid input {
  border: none;
  width: 100%;
  outline: none;
  font-size: 1rem;
}

.main-search-ppid button {
  background-color: #2c71b5;
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
}

/* Cards Layanan */
.card-layanan-ppid {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
}

.card-layanan-ppid img {
  width: 60px;
}

.card-layanan-ppid h5 {
  color: #2c71b5;
  font-weight: bold;
  margin: 0;
}

/* Statistik */
.container-statistik {
  background-color: #f8f9fa;
  border-radius: 20px;
  display: flex;
  justify-content: space-around;
  padding: 30px;
  text-align: center;
}

.stat-item h2 {
  font-size: 3rem;
  color: #2c71b5;
  font-weight: 800;
}

.stat-item p {
  color: #e67e22;
}

/* Weather Card */
.card-weather-ppid {
  border: 1px solid #ffffff;
  border-radius: 20px;
  padding: 20px;
  color: #ffffff;
  background-color: #e67e22;
}

.weather-forecast {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
  border-top: 1px solid #eee;
  padding-top: 10px;
}

.forecast-item {
  text-align: center;
}

/* Banner Dikecualikan */
.banner-dikecualikan-orange {
  background-color: #e67e22;
  border-radius: 20px;
  padding: 25px;
  color: white;
  display: flex;
  align-items: center;
  gap: 20px;
}

.banner-dikecualikan-orange i {
  font-size: 2.5rem;
}



/* --- Tombol Disabilitas (Kiri) --- */
.wrapper-disabilitas {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
  /* Z-index rendah agar tidak menutupi pop-up menu sarana */
}

.button-disabilitas {
  cursor: pointer;
  padding: 12px 20px 12px 15px;
  background-color: #2c71b5;
  /* Warna biru */
  color: #fff;
  border-top-right-radius: 30px;
  border-bottom-right-radius: 30px;
  transition: 0.3s;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
}

/* Tampilan Desktop (Kode asli Anda tetap aman) */
.wrapper-permohonan {
  position: absolute;
  right: 205px !important;
  top: 40%;
  transform: translateY(-50%);
  z-index: 100;
  margin: 0;
  padding: 0;
}

/* Tampilan Mobile - Solusi Anti-Hilang */
@media screen and (max-width: 768px) {
  .wrapper-permohonan {
    position: fixed !important;
    right: 55px !important;
    /* Beri jarak 15px dari kanan agar tidak mepet/terpotong */
    left: auto !important;
    /* top: 75% !important; */
    /* Kita turunkan ke area bawah (75%) supaya tidak tabrakan dengan konten tengah */
    transform: translateY(-50%) !important;
    z-index: 99999 !important;
    /* Naikkan z-index lebih tinggi lagi */
    width: auto !important;
    /* Paksa lebar mengikuti isi tombol */
    height: auto !important;
    /* Paksa tinggi mengikuti isi tombol */
    display: block !important;
    /* Pastikan pembungkusnya tampil */
  }

  /* Memastikan tombol di dalamnya ikut muncul dan punya ukuran */
  .wrapper-permohonan .button-permohonan {
    display: inline-block !important;
    width: auto !important;
    white-space: nowrap;
    /* Mencegah teks terlipat ke bawah */
  }
}

.button-permohonan {
  cursor: pointer;
  /* Padding disesuaikan: lebih besar di kiri (sisi luar), normal di kanan (sisi nempel) */
  padding: 12px 15px 12px 25px;
  background-color: #e67e22;
  color: #fff;

  /* RADIUS HANYA DI SISI KIRI (ATAS & BAWAH) */
  border-top-left-radius: 30px;
  border-bottom-left-radius: 30px;
  /* SISI KANAN DIBUAT RATA (0) */
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;

  transition: 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: -4px 4px 10px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  border: none;
}

/* Pastikan teks tetap satu baris dan terlihat jelas */
.button-permohonan span {
  white-space: nowrap;
  font-weight: 600;
  font-size: 14px;
}

/* Efek Hover agar Interaktif */
.button-disabilitas:hover,
.button-permohonan:hover {
  padding-right: 30px;
  padding-left: 30px;
  filter: brightness(1.1);
}

.card-chart {
  border: none;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  /* padding: 20px; */
  background: #fff;
  min-height: 400px;
}

.chart-title {
  color: #2c71b5;
  font-weight: bold;
  margin-bottom: 25px;
  font-size: 1.2rem;
}

.chart-container-pie {
  position: relative;
  height: 300px;
  /* Sesuaikan tinggi agar tidak terlalu besar */
  width: 100%;
}

/* Memastikan canvas responsive */
canvas {
  width: 100% !important;
  height: auto !important;
}

.section-pengertian {
  padding: 60px 0;
}

/* Kotak Gradasi Sisi Kiri */
.visual-box-gradient {
  width: 100%;
  height: 250px;
  background: linear-gradient(135deg, #2c71b5 0%, #ffb84d 100%);
  border-radius: 20px;
  /* Efek sedikit miring/skew jika ingin persis seperti gambar */
  transform: perspective(1000px) rotateY(-5deg);
  box-shadow: 20px 20px 60px rgba(0, 0, 0, 0.05);
}

/* Styling Teks */
.title-pengertian {
  color: #2c71b5;
  font-weight: 800;
  font-size: 2.5rem;
  margin-bottom: 20px;
  line-height: 1.2;
}

.text-description {
  color: #555;
  font-size: 1.05rem;
  line-height: 1.8;
  text-align: justify;
}

/* Responsif untuk layar HP */
@media (max-width: 768px) {
  .title-pengertian {
    font-size: 1.8rem;
    text-align: center;
  }

  .visual-box-gradient {
    height: 200px;
  }
}

.section-layanan-eksternal {
  padding: 30px 0;
}

.item-layanan-eksternal {
  display: flex;
  align-items: flex-start;
  /* Ikon sejajar dengan baris pertama teks */
  gap: 15px;
}

.icon-layanan img {
  width: 60px;
  /* Sesuaikan ukuran ikon sesuai gambar */
  height: auto;
  object-fit: contain;
}

.text-layanan h6 {
  color: #2c71b5;
  /* Biru sesuai brand */
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 5px;
  letter-spacing: 0.5px;
}

.text-layanan p {
  color: #666;
  font-size: 12px;
  line-height: 1.4;
  margin: 0;
}

/* Responsif: Menambah jarak saat di layar kecil/tablet */
@media (max-width: 991px) {
  .item-layanan-eksternal {
    margin-bottom: 20px;
  }
}

.card-info-white {
  background: #fff;
  border-radius: 20px;
  padding: 25px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  height: 100%;
}

.card-info-white-statistik {
  background: #fff;
  border-radius: 20px;
  padding: 25px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  height: 60%;
}

.title-info {
  color: #2c71b5;
  font-weight: bold;
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.list-info-item {
  border-bottom: 1px solid #eee;
  padding: 15px 0;
}

.list-info-item:last-child {
  border-bottom: none;
}

.list-info-item p {
  font-size: 0.9rem;
  margin-bottom: 5px;
  color: #444;
}

.list-info-item small {
  color: #e67e22;
  /* Warna Oranye */
  font-weight: 500;
}

/* Styling Statistik Kolom 3 */
.stat-list-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  font-size: 0.9rem;
  color: #555;
}

.stat-list-item i {
  color: #2c71b5;
  margin-right: 8px;
  width: 20px;
}

.stat-val {
  font-weight: bold;
  color: #e67e22;
}

.download-app-box small {
  font-size: 12px;
  color: #666;
}

.title-news {
  color: #2c71b5;
  font-weight: 800;
  margin-bottom: 20px;
  font-size: 1.5rem;
}

/* Headline News */
.img-main-headline {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 20px;
}

.headline-title {
  color: #333;
  font-weight: 700;
  line-height: 1.4;
}

/* Berita Rilis (Tengah) */
.release-thumb img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 15px;
  background-color: #eee;
  /* Placeholder jika gambar loading */
}

.release-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Infografis (Kanan) */
.img-infografis {
  width: 100%;
  height: auto;
  border-radius: 15px;
  border: 2px solid #2c71b5;
}

.infografis-wrapper {
  position: relative;
  padding-bottom: 30px;
}

.section-media-sosial {
  background-color: #fff;
}

.title-sosmed {
  color: #2c71b5;
  font-weight: 800;
  margin-bottom: 5px;
}

.subtitle-sosmed {
  color: #2c71b5;
  font-weight: 600;
  font-size: 14px;
}

.img-logo-sosmed {
  height: 150px;
  /* Atur tinggi seragam agar rapi */
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.sosmed-icons {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.icon-item {
  width: 32px;
  height: 32px;
  background-color: #e67e22;
  /* Warna Oranye */
  color: #fff !important;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: transform 0.3s ease;
  text-decoration: none;
}

.icon-item:hover {
  transform: scale(1.1);
  background-color: #d35400;
}

/* Penyesuaian Responsif */
@media (max-width: 768px) {
  .img-logo-sosmed {
    height: 60px;
  }
}

/* 1. Kondisi Default (Saat tidak dipilih/hover) */
/* 1. Default (Semua Menu) */
.nav-item .custom-dropdown-btn {
  background-color: transparent;
  color: #333 !important;
  border-radius: 8px;
  padding: 8px 8px !important;
  transition: all 0.3s ease;
}

/* 2. Hover (Semua Menu) */
.nav-item:hover>.custom-dropdown-btn,
.nav-item .custom-dropdown-btn[aria-expanded="true"] {
  background-color: #2c71b5;
  color: white !important;
  border-radius: 8px;
}

/* 3. Dropdown Menu (Latar Belakang Biru) */
.custom-dropdown-menu {
  background-color: #2c71b5;
  border: none;
  border-radius: 0 8px 8px 8px;
  /* Lengkungan disesuaikan agar rapi */
  margin-top: -1px;
}

/* 4. Teks di dalam Menu (Default Semuanya Putih) */
.custom-dropdown-menu .dropdown-item {
  color: white !important;
  /* Default putih sesuai permintaan */
  font-weight: 500;
  transition: all 0.2s ease;
  padding: 10px 20px;
}

/* 5. EFEK HOVER: Teks berubah Oranye saat kursor di atasnya */
.custom-dropdown-menu .dropdown-item:hover {
  color: #ffb84d !important;
  /* Oranye hanya muncul saat hover */
  background-color: rgba(255, 255, 255, 0.1);
  /* Background highlight tipis */
}

/* Styling Submenu Level 2 (Nested Dropdown) */
.custom-dropdown-menu .dropend {
  position: relative;
}

/* Memunculkan submenu saat di-hover */
.custom-dropdown-menu .dropend:hover>.dropdown-menu {
  display: block;
  position: absolute;
  top: 0;
  left: 100%;
  /* Tampak melayang di sebelah kanan menu utama */
  margin-top: 0;
  background-color: #2c71b5;
  /* Samakan warna background biru */
  border: none;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  /* Bayangan agar lebih jelas */
}

/* Menyamakan teks item di dalam submenu */
.custom-dropdown-menu .dropend .dropdown-menu .dropdown-item {
  color: white !important;
  font-weight: 500;
  transition: all 0.2s ease;
  padding: 10px 20px;
}

/* Efek hover item submenu (warna oranye) */
.custom-dropdown-menu .dropend .dropdown-menu .dropdown-item:hover {
  color: #ffb84d !important;
  background-color: rgba(255, 255, 255, 0.1);
}

/* MENU BIASA (NON-DROPDOWN) */

/* MENU BIASA - Samakan dengan dropdown */



.ppid-banner {
  /* Gradasi Biru ke Putih sesuai gambar */
  background: linear-gradient(to right, #0093dd 0%, #0093dd 30%, #e9ecef 100%);
  height: 160px;
  /* Sesuaikan tinggi banner */
  border-radius: 15px;
  /* Opsional: jika ingin sudut melengkung */
  margin: 20px;
  overflow: hidden;
}

.banner-content {
  height: 150px;
  position: relative;
}

.btn-permohonan {
  position: absolute;
  right: 20px;
  bottom: 20px;
  background-color: #e86d43;
  /* Warna orange sesuai gambar */
  color: white;
  padding: 10px 20px;
  border-radius: 50px 15px 15px 50px;
  /* Bentuk melengkung unik */
  text-decoration: none;
  transition: transform 0.3s ease;
}

.btn-permohonan:hover {
  color: white;
  transform: scale(1.05);
}

.small-text {
  font-size: 0.75rem;
  line-height: 1;
}

/* Icon style jika tidak pakai library bisa pakai gambar manual */
.bi-file-earmark-text {
  margin-left: 10px;
}

/* Styling Navigasi */
.tab-menu-section {
  padding: 40px 20px;
  background-color: #ffffff;
}

.tab-container {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
}

/* Styling Tombol Default */
.tab-item {
  background-color: #ffffff;
  color: #666;
  border: 1.5px solid #E67E4E;
  border-radius: 15px;
  padding: 12px 25px;
  min-width: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-weight: 500;
  text-align: center;
  font-size: 14px;
  transition: all 0.3s ease;
  /* Untuk transisi halus */
}

/* EFEK HOVER: Saat mouse mendekat */
.tab-item:hover {
  background-color: #fdf2ed;
  /* Oranye sangat muda */
  border-color: #d46d3d;
  color: #E67E4E;
}

/* EFEK ACTIVE: Saat tab terpilih */
.tab-item.active {
  background-color: #E67E4E;
  color: white;
  font-weight: 700;
}

/* ==========================================
   KHUSUS TAMPILAN MOBILE (Maksimal 768px)
   ========================================== */
@media screen and (max-width: 768px) {

  /* 1. Paksa container menjadi satu baris mendatar dan bisa di-scroll kesamping */
  .tab-container {
    flex-wrap: nowrap !important;
    /* Mencegah tombol turun ke bawah */
    justify-content: flex-start !important;
    /* Rata kiri agar scroll mulai dari awal */
    overflow-x: auto !important;
    /* Mengaktifkan fungsi geser/scroll horizontal */
    padding: 10px 5px !important;
    /* Beri sedikit ruang atas-bawah agar bayangan/border tidak terpotong */

    /* Menyembunyikan scrollbar bawaan browser agar terlihat bersih seperti aplikasi modern */
    -webkit-overflow-scrolling: touch;
    /* Scroll halus di iOS/Safari */
    scrollbar-width: none;
    /* Sembunyikan scrollbar di Firefox */
  }

  .tab-container::-webkit-scrollbar {
    display: none;
    /* Sembunyikan scrollbar di Chrome, Safari, dan Edge */
  }

  /* 2. Sesuaikan ukuran tombol agar pas saat berjejer kesamping */
  .tab-item {
    flex: 0 0 auto !important;
    /* Mencegah tombol menyusut atau gepeng */
    white-space: nowrap !important;
    /* Memaksa teks di dalam tombol tetap satu baris (tidak patah ke bawah) */
    padding: 10px 20px !important;
    /* Sedikit sesuaikan padding di mobile */
    min-width: max-content !important;
    /* Lebar tombol otomatis mengikuti panjang teks */
  }

  /* Menghapus tag <br> bawaan HTML khusus di mobile agar teks tidak patah dua baris */
  .tab-item br {
    display: none !important;
  }
}

/* ==========================================
   KHUSUS TAMPILAN MOBILE (Maksimal 768px)
   ========================================== */
@media screen and (max-width: 768px) {

  .banner-info-container {
    flex-direction: column !important;
    /* Ubah susunan dari kesamping (row) menjadi kebawah (column) */
    height: auto !important;
    /* Lepas tinggi 180px agar menyesuaikan konten */
    padding: 30px 20px !important;
    /* Reset padding kiri 60px ganti dengan padding rata tengah */
    gap: 25px !important;
    /* Beri jarak antar baris konten */
  }

  .banner-info-item {
    flex: none !important;
    /* Matikan fungsi flex desktop */
    width: 100% !important;
    /* Maksimalkan lebar item teks */
  }

  .banner-info-item h2 {
    font-size: 30px !important;
    /* Sedikit mengecilkan ukuran angka agar pas di layar HP kecil */
  }

  .banner-info-item p {
    font-size: 14px !important;
    /* Menyeimbangkan ukuran teks deskripsi */
  }
}

/* ==========================================
   KHUSUS TAMPILAN MOBILE Visi & Misi (Maksimal 768px)
   ========================================== */
@media screen and (max-width: 768px) {

  /* 1. Bebaskan tinggi container utama yang kaku */
  .visi-misi-section>div {
    height: auto !important;
    padding: 30px 0 !important;
    background: #0091D5 !important;
    /* Gunakan warna solid di mobile agar teks hitam/putih tetap kontras & terbaca */
  }

  /* Khusus background Misi di mobile agar senada */
  .visi-misi-section:nth-of-type(2)>div {
    background: #ffffff !important;
    border: 1px solid #E9B959 !important;
  }

  /* 2. Ubah susunan flex menjadi vertikal ke bawah */
  .container-flex-custom {
    flex-direction: column !important;
    padding: 0 20px !important;
    gap: 20px !important;
    text-align: center !important;
  }

  /* Khusus bagian Misi, ubah urutan judul agar MISI muncul di atas daftar lis */
  .visi-misi-section:nth-of-type(2) .container-flex-custom {
    flex-direction: column-reverse !important;
  }

  /* 3. Sesuaikan ukuran teks judul raksasa di mobile */
  .container-flex-custom h1 {
    font-size: 50px !important;
  }

  .container-flex-custom h2 {
    font-size: 20px !important;
    text-align: center !important;
    color: #ffffff !important;
    /* Ubah ke putih khusus di mobile agar terbaca di atas background biru */
  }

  .container-flex-custom p {
    font-size: 18px !important;
  }

  .container-flex-custom ol {
    text-align: left !important;
    font-size: 14px !important;
  }

  /* 4. Normalisasi tombol download agar tidak menutupi teks */
  .button-download-container {
    position: relative !important;
    bottom: auto !important;
    right: auto !important;
    margin-top: 25px !important;
    display: flex !important;
    justify-content: center !important;
  }

  .button-download-container a {
    width: 90% !important;
    /* Lebarkan tombol di mobile agar mudah diklik */
    justify-content: center !important;
  }
}

/* Styling Konten (Default disembunyikan) */
.tab-content {
  display: none;
  animation: fadeIn 0.5s ease;
}

.tab-content.active {
  display: block;
}

/* Animasi muncul */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Tambahan CSS Banner & Content sesuai style Anda */
.banner-box {
  width: 100%;
  height: 180px;
  background: linear-gradient(to right, #0081C9 30%, rgba(0, 129, 201, 0.7)), url('https://ppid.tangerangkota.go.id/assets/img/banner-ppid.jpg');
  background-size: cover;
  border-radius: 20px;
  display: flex;
  align-items: center;
  padding-left: 60px;
  color: white;
}

.content-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
}

.image-box {
  flex: 1;
  display: flex;
  justify-content: center;
}

.text-box {
  flex: 1.2;
}

/* Container Utama */


.logo-pusat {
  width: 280px;
  z-index: 10;
  cursor: pointer;
  /* Animasi transisi yang halus */
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), filter 0.3s ease;
}

/* Saat kursor berada di atas logo */
.logo-pusat:hover {
  transform: scale(1.1);
  /* Logo membesar dan sedikit miring */
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
  /* Memberi bayangan */
}

#ao-toggle {
  display: none;
}

/* Gaya Kotak Keterangan */
.ao-annotations span {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  padding: 15px;
  border-radius: 4px;
  font-size: 12px;
  color: #333;
  font-style: italic;
  /* Teks miring sesuai permintaan */
  width: 320px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.4s ease;
  z-index: 5;
  line-height: 1.4;
  pointer-events: none;
  /* Agar tidak mengganggu klik logo saat sembunyi */
}

/* Munculkan saat diklik */
#ao-toggle:checked~.ao-annotations span {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

/* Gaya Umum Ikon Panah Lingkaran Biru */
.ao-annotations span::after {
  position: absolute;
  width: 30px;
  height: 30px;
  background-color: #5bc5cf;
  /* Warna biru toska */
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-style: normal;
  /* Panah tidak miring */
  font-weight: bold;
  top: 50%;
  transform: translateY(-50%);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* --- POSISI KOTAK & ARAH PANAH (UNICODE) --- */

/* SISI KIRI (Panah menunjuk ke kanan logo) */
.note-1 {
  top: 80px;
  left: 100px;
}

.note-1::after {
  content: '\203A';
  /* Simbol panah > */
  right: -15px;
}

.note-2 {
  bottom: 55px;
  left: 70px;
}

.note-2::after {
  content: '\203A';
  /* Simbol panah > */
  right: -15px;
}

/* SISI KANAN (Panah menunjuk ke kiri logo) */
.note-3 {
  top: 90px;
  right: 100px;
  padding-left: 35px !important;
  text-align: left;
}

.note-3::after {
  content: '\2039';
  /* Simbol panah < */
  left: -15px;
}

.note-4 {
  top: 175px;
  right: 75px;
  padding-left: 35px !important;
  text-align: left;
}

.note-4::after {
  content: '\2039';
  /* Simbol panah < */
  left: -15px;
}

.note-5 {
  bottom: 45px;
  right: 65px;
  padding-left: 35px !important;
  text-align: left;
}

.note-5::after {
  content: '\2039';
  /* Simbol panah < */
  left: -15px;
}

/* --- MEDIA QUERY UNTUK MOBILE VIEW (Layar ≤ 768px) --- */
@media (max-width: 768px) {

  /* SOLUSI UTAMA: Bebaskan tinggi container dan izinkan konten memanjang ke bawah */
  .hero-container {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    /* Susun dari atas */
    height: auto !important;
    /* Hapus batasan 450px */
    min-height: 450px !important;
    /* Tetap pertahankan tinggi minimum agar background bagus */
    overflow: visible !important;
    /* JANGAN POTONG KONTEN yang memanjang ke bawah */
    padding: 30px 15px !important;
    box-sizing: border-box !important;
  }

  /* Mengatur area klik label logo */
  .hero-container label[for="ao-toggle"] {
    display: block !important;
    width: 160px !important;
    margin: 0 auto 20px auto !important;
    text-align: center !important;
    position: relative !important;
    z-index: 20 !important;
    cursor: pointer;
  }

  /* Memastikan gambar logo tampil proporsional di tengah */
  .logo-pusat {
    display: inline-block !important;
    max-width: 100% !important;
    height: auto !important;
  }

  /* Mengubah container catatan menjadi mode tumpuk ke bawah */
  .ao-annotations {
    display: flex !important;
    flex-direction: column !important;
    gap: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    z-index: 10 !important;
    /* Memberikan efek transisi smooth saat container meluas */
    transition: all 0.4s ease;
  }

  /* Mereset struktur absolute box catatan menjadi block normal di mobile */
  .ao-annotations span {
    position: relative !important;
    top: auto !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 15px !important;
    text-align: left !important;

    /* Efek sembunyi bawaan desktop sebelum diklik */
    opacity: 0;
    transform: scale(0.95);
    pointer-events: none;
    transition: all 0.4s ease;

    /* Menyembunyikan ruang kosong saat belum diklik agar background tidak lowong berlebih */
    display: none;
  }

  /* TAMPILKAN hanya saat #ao-toggle dicentang (diklik) */
  #ao-toggle:checked~.ao-annotations span {
    display: block !important;
    opacity: 1 !important;
    transform: scale(1) !important;
    pointer-events: auto !important;
  }

  /* Sembunyikan ikon panah bulat karena layout sudah vertikal */
  .ao-annotations span::after {
    display: none !important;
  }
}

/* --- TAMPILAN DESKTOP (Persis seperti codingan awal Anda) --- */
.banner-section {
  margin: 20px auto;
  max-width: 1200px;
  padding: 0 15px;
}

.custom-banner {
  width: 100%;
  height: 180px;
  background: linear-gradient(90deg, #0081C9 0%, rgb(0 146 227 / 80%) 50%, rgb(254 254 254 / 40%) 100%);
  background-size: cover;
  background-position: center;
  border-radius: 20px;
  display: flex;
  align-items: center;
  /* Vertikal Center */
  justify-content: center;
  /* Horizontal Center */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  padding: 0 20px;
  /* Jaga space teks di dalam banner */
}

.banner-title {
  font-size: 28px;
  /* Sesuaikan ukuran font desktop jika diperlukan */
  text-align: center;
  margin: 0;
}

/* --- TAMPILAN MOBILE APPS (Maksimal layar 768px) --- */
@media screen and (max-width: 768px) {
  .banner-section {
    margin: 10px auto;
    /* Perkecil margin luar di HP agar hemat ruang */
    padding: 0 10px;
  }

  .custom-banner {
    height: 120px !important;
    /* Turunkan tinggi banner agar proporsional di layar HP */
    border-radius: 12px !important;
    /* Sedikit perkecil radius sudut agar manis di layar kecil */
    padding: 0 15px !important;
  }

  .banner-title {
    font-size: 20px !important;
    /* Perkecil font agar teks panjang tidak meluber/terpotong */
    line-height: 1.4 !important;
    text-align: center !important;
  }
}