/*--------------------------------------------------------------
# Forum Section
--------------------------------------------------------------*/
.forum {
  position: relative;
  background-image: url('/img/doodle.png');
  background-repeat: repeat;
  background-size: 250px; /* Sesuaikan dengan ukuran di body */
  padding: 0;
  
  /* Warna overlay dengan transparansi */
  &::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.6); /* Putih transparan 70% */
    z-index: 1;
  }
  
}

/* Konten general harus di atas overlay */
.forum > * {
  position: relative;
  z-index: 2;
}

/* H3 milik class .forum */
.forum h3 {
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
}

.forum h3 a {
  color: var(--heading-color);
  transition: 0.3s;
}

.forum h3 a:hover {
  color: var(--accent-color);
}


.forum h3 {
  font-size: 24px;
  margin: 0 0 15px 0;
  position: relative;
  padding-bottom: 10px;
  letter-spacing: 0.1vh;
  font-family: var(--default-font);
  color: var(--accent-color);
  height: 40px;
}

.forum h3:before {
  content: "";
  position: absolute;
  display: block;
  width: 100%;
  height: 1px;
  background: color-mix(in srgb, var(--default-color), transparent 90%);
  bottom: 0;
  left: 0;
}

.forum h3:after {
  content: "";
  position: absolute;
  display: block;
  width: 60px;
  height: 1px;
  background: var(--accent-color);
  bottom: 0;
  left: 0;
}

.forum .card {
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    transition: all 0.2s ease;
}

.forum .card-title {
    font-size: 1.05rem;
    font-weight: 600;
}

.forum .card-text {
    font-size: 0.85rem;
    line-height: 1.5;
}

.forum small {
    font-size: 0.75rem;
}

.forum .text-muted {
    color: #6c757d !important;
}

.forum h1 {
    font-size: 1.5rem;
    font-weight: 600;
}

    
.forum .card:hover {
    border-color: #d0d0d0;
}



    
.forum hr {
    border-top: 1px solid #e0e0e0;
    opacity: 0.5;
}
    
.forum .btn-primary {
    background-color: #0d6efd;
    border-color: #0d6efd;
}
    
.forum .form-control {
    font-size: 0.85rem;
}

.forum .alert-light {
    background-color: #f8f9fa;
    color: #212529;
}