:root {
  --color-white: #fff;
  --color-blue: #1b9fe0;
  --bg-blue: #1b9fe0;
  --bg-blue-hover: #188fc9;
  --color-orange: #f29015;
  --bg-orange: #f29015;
  --bg-orange-hover: #d87c0c;
  --color-gray: #000000;
  --color-title: #000000;
  --radius: 24px;
}

* {
  box-sizing: border-box;
  font-family: "Poppins", Arial, sans-serif;
}
html,
body {
  overflow-x: hidden;
}
body {
  min-height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
}

h6[data-start] {
  font-weight: 500 !important;
}

.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.section {
  padding: 3rem 6rem;
  width: 100%;
}

@media screen and (max-width: 900px) {
  .section {
    padding: 4rem 1.5rem;
  }
}

@media screen and (max-width: 480px) {
  .section {
    padding: 3em 1em;
  }
}

@media screen and (max-width: 1024px) {
  .section {
    padding: 2rem 1rem;
  }
  .footer-container {
    padding: 2rem 1rem;
  }
}

/* Global Typography */
h1 {
  font-size: 3em !important;
  font-weight: 600 !important;
  font-family: "Montserrat", Arial, sans-serif;
  line-height: 1.2;
}
h2 {
  font-size: 3rem !important;
  font-weight: 600 !important;
  font-family: "Montserrat", Arial, sans-serif;
}
h3 {
  font-size: 2.5rem !important;
  font-weight: 600 !important;
  font-family: "Montserrat", Arial, sans-serif;
}
h4 {
  font-size: 2rem !important;
  font-weight: 600 !important;
  font-family: "Montserrat", Arial, sans-serif;
}
h5 {
  font-size: 1.75rem !important;
  font-weight: 500 !important;
  font-family: "Montserrat", Arial, sans-serif;
}
h6 {
  font-size: 1.5rem !important;
  font-weight: 400 !important;
  color: #505050;
}
a,
button {
  font-size: 1rem !important;
  font-weight: 400 !important;
  line-height: 1.6;
  text-decoration: none !important;
}
p {
  font-size: 1rem !important;
  font-weight: 400 !important;
  line-height: 1.6;
  text-decoration: none !important;
  color: #505050;
}
ul,
li {
  font-size: 1rem !important;
  font-weight: 400 !important;
  line-height: 1.6;
  text-decoration: none !important;
  color: #505050;
}



.title-highlight {
  color: var(--color-orange);
  font-size: 3rem !important; 
  font-weight: 600 !important;
  font-family: "Montserrat", Arial, sans-serif;
  line-height: 1.2;
}

/* Tablet */
@media screen and (max-width: 900px) {
  .title-highlight {
    font-size: 2.75rem !important;
  }
  h1 {
    font-size: 2.75rem !important; /* 44px */
  }
  h2 {
    font-size: 2.25rem !important; /* 36px */
  }
  h3 {
    font-size: 2rem !important; /* 32px */
  }
  h4 {
    font-size: 1.5rem !important; /* 24px */
  }
  h5 {
    font-size: 1.25rem !important; /* 20px */
  }
  h6 {
    font-size: 1rem !important; /* 16px */
  }
  p,
  a,
  ul, 
  li,
  button {
    font-size: 0.95rem !important; /* 15.2px */
  }
}

/* Mobile */
@media screen and (max-width: 600px) {
  .title-highlight {
    font-size: 2.25rem !important;
  }
  h1 {
    font-size: 2.25rem !important; /* 36px */
  }
  h2 {
    font-size: 1.75rem !important; /* 28px */
  }
  h3 {
    font-size: 1.5rem !important; /* 24px */
  }
  h4 {
    font-size: 1.25rem !important; /* 20px */
  }
  h5 {
    font-size: 1.125rem !important; /* 18px */
  }
  h6 {
    font-size: 1rem !important; /* 16px */
  }
  p,
  ul, li,
  a,
  button {
    font-size: 0.875rem !important; /* 14px */
  }
}

/* Extra Small (<=400px) */
@media screen and (max-width: 400px) {
  .title-highlight {
    font-size: 2rem !important;
  }
  h1 {
    font-size: 2rem !important; /* 32px */
  }
  h2 {
    font-size: 1.5rem !important; /* 24px */
  }
  h3 {
    font-size: 1.25rem !important; /* 20px */
  }
  h4 {
    font-size: 1.125rem !important; /* 18px */
  }
  h5 {
    font-size: 1rem !important; /* 16px */
  }
  h6 {
    font-size: 0.875rem !important; /* 14px */
  }
  p,
  a,
  ul, li,
  button {
    font-size: 0.8125rem !important; /* 13px */
  }
}

.list-group-item[aria-expanded="true"] {
  background-color: #e6f0ea;
  font-weight: bold;
}

/* ===== Custom Select Global Start ===== */

.custom-select,
.custom-select__selected {
  max-height: 48px !important;
}

.custom-select {
  position: relative;
  width: 100%;
  flex: 1 1 160px;
  z-index: 9999;
}

.custom-select select {
  display: none;
}

.custom-select__options::-webkit-scrollbar {
  display: none;
}

.custom-select__selected {
  min-width: 160px;
  background-color: #fff;
  color: var(--color-gray);
  font-weight: 500;
  padding: 0.7rem 1.2rem;
  border-radius: 2rem;
  color: #505050;
  border: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  transition: box-shadow 0.2s;
}

.custom-select .custom-select__options .custom-select__option {
  font-size: 16px;
  color: #505050 !important;
  font-weight: 500;
}

@media screen and (max-width: 768px) {
  .custom-select__selected {
      font-size: 14px;
  }
  
  .custom-select .custom-select__options .custom-select__option {
      font-size: 14px !important;
  }
}


.custom-select__selected:after {
  content: "\f078";
  font-family: "FontAwesome";
  color: var(--color-gray);
  margin-left: 1rem;
  font-size: 14px !important;
  transition: transform 0.2s;
}
.custom-select.open .custom-select__selected:after {
  transform: rotate(-180deg);
  background-color: #ffff;
  font-size: 14px !important;
}




.custom-select__options {
  position: absolute;
  
  left: 0;
  background-color: #fff !important;
  right: 0;
  border-radius: 1.5rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15) !important;
  z-index: 99999 !important;
  max-height: 220px;
  overflow-y: auto;
  display: none;
  margin-top: 0.2rem;
  top: 100%;
  border: 1px solid #e0e0e0;
}

.custom-select.open .custom-select__options {
  display: block !important;
}
.custom-select__option {
  padding: 0.7rem 1.2rem;
  cursor: pointer;
  color: var(--color-gray);
  transition: all 0.3s;
  font-size: 1rem;
  background-color: #fff !important;
}
.custom-select__option:hover,
.custom-select__option.selected {
  background: #f0f4fa !important;
  color: var(--bg-blue, #359ed9);
}

/* Pastikan parent container tidak memotong dropdown */
.news-filter-card,
.news-left-column,
.news-layout,
.news-filter-wrapper,
.news-inner,
.section {
  overflow: visible !important;
  position: relative;
}

/* Force dropdown to be visible */
.custom-select.open {
  z-index: 99999 !important;
}

@media (max-width: 768px) {
  .custom-select,
  .custom-select__selected,
  .custom-select__option {
    min-width: 0 !important;
    width: 100% !important;
    box-sizing: border-box;
  }
}

.custom-pagination-wrapper {
  display: flex;
  justify-content: center;
  margin: 2rem 0;
}

.custom-pagination {
  display: flex;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.custom-page-item {
  display: inline-block;
}

.custom-page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 2px solid #e0e0e0;
  border-radius: var(--radius);
  color: var(--color-blue);
  background-color: #fff;
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.2s ease-in-out;
}

.custom-page-link.btn-pagination {
  border-color: var(--color-blue);
  background-color: var(--bg-blue);
  color: #fff;
}

.custom-page-link:hover {
  background-color: var(--bg-blue);
  border: 2px solid var(--color-blue);
  color: #fff;
  transition: background 0.3s color 0.3s;
}

.custom-page-link.btn-pagination:hover {
  background-color: var(--bg-blue-hover);
  transition: background 0.3s color 0.3s;
}

.custom-page-link.is-active {
  background-color: var(--bg-blue);
  color: #fff;
  border-color: var(--bg-blue);
}

.custom-page-link i {
  font-size: 1rem;
}


