.image.structure {
  display: flex;
  justify-content: center; /* horizontal center */
  margin-top: 20px; /* opsional, beri jarak dari atas */
}

.image.structure img {
  max-width: 100%;
  height: auto;
}


/* Styling h3 */
.views-view--grid h3 {
  font-size: 1.5rem;
  margin: 16px 0 4px;
  border: 1px solid rgba(0, 0, 0, 0.5);
  border-left: 5px solid var(--bs-primary);
  border-radius: 10px;
  padding: 10px 15px;
  color: var(--bs-primary);
  transition: color 0.3s ease;
}

.views-view--grid h3 a {
  font-size: 1.5rem;
	text-decoration: None;
	color: var(--bs-primary);
}

.views-view--grid h3 a:hover {
  font-size: 1.5rem;
	text-decoration: None;
	color: #FFDE21;
}

.views-view--grid h3:hover {
  color: #FFDE21;
  border-left: 5px solid white;
  border: 1px solid white;
  background-color: var(--bs-primary);
}

.views-view--grid h3:hover a {
  color: white;
}

.views-view--grid h3 a:hover {
  color: #FFDE21 !important;
}

/* Styling links */
.views-col a {
  display: block;
  padding: 10px 16px;
  margin-bottom: 6px;
  background-color: #fff;
  border-bottom: 5px solid var(--bs-primary);
  border-radius: 10px;
  font-weight: bold;
  color: #212529;
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.views-col a:hover {
  background-color: var(--bs-primary);
  border-bottom: 5px solid white;
  color: #fff;
  transform: translateY(-2px);
}

/* Sembunyikan semua item awalnya */
.views-view--grid .views-row .views-col {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.4s ease;
}

/* Saat hover, munculkan dengan transisi halus */
.views-view--grid:hover .views-col {
  opacity: 1;
  max-height: 100px; /* Cukup tinggi untuk tiap item */
  overflow: visible;
}

/* Scrollable jika banyak item */
.scrollable-section .views-row {
  max-height: 240px;
  overflow-y: auto;
  transition: max-height 0.3s ease;
}

/* Scrollbar halus opsional */
.scrollable-section .views-row::-webkit-scrollbar {
  width: 6px;
}

.scrollable-section .views-row::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 4px;
}

/* tambahan */
.hover-items:hover {
	background-color: var(--bs-primary);
}

.hover-items:hover a {
	color: white !important;
}

.hover-items a:hover {
	text-decoration: underline !important;
}

.accordion-button:not(.collapsed) {
	background-color: var(--bs-primary) !important;
}

.accordion-button:not(.collapsed) a {
  color: #FFDE21 !important; 
}

.accordion-button:not(.collapsed) a:hover {
	text-decoration: underline !important;
}