#panel_block {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(255, 255, 255, 0.78);
  z-index: 9999;
  display: none;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.panel_slider {
  position: relative;
  width: 640px;
  max-width: 95vw;
  background: #ffffff;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}

#slide_image_link {
  display: block;
}

.slide_image_area {
  position: relative;
  width: 100%;
  height: 360px;
  background: #dcdcdc;
  overflow: hidden;
}

.slide_image_area img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.btn_close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 30;
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: white;
  font-size: 24px;
  cursor: pointer;
  line-height: 1;
}

.slide_number {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 20;
  background: rgba(0, 0, 0, 0.55);
  color: white;
  font-size: 14px;
  padding: 6px 10px;
  border-radius: 8px;
}

.nav_btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  min-width: 50px;
  padding: 10px 14px;
  border: none;
  border-radius: 10px;
  background: rgba(34, 34, 34, 0.85);
  color: white;
  font-size: 14px;
  cursor: pointer;
}

.nav_prev {
  left: 12px;
}

.nav_next {
  right: 12px;
}

.slide_controls {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  z-index: 20;
  width: auto;
}

.slide_bullets {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
}

.bullet {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #d9d9d9;
  cursor: pointer;
}

.bullet.active {
  background: #ffffff;
  transform: scale(1.15);
}

.slide_bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  padding: 18px;
  background: #ffffff;
}

.slide_title_link {
  width: 70%;
  margin: 0;
  font-size: 20px;
  color: #222;
  font-weight: bold;
  line-height: 1.3;
  text-align: left;
  font-family: "Bangers", system-ui;
    font-weight: 400;
    font-style: normal;
}

.slide_action_area {
  width: 30%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.visit_btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 90px;
  padding: 10px 16px;
  border-radius: 10px;
  background: #222;
  color: white;
  text-decoration: none;
  font-size: 14px;
  transition: background 0.2s ease;
}

.visit_btn:hover {
  background: #444;
}

@media (max-width: 600px) {
  #panel_block {
    padding: 12px;
  }

  .panel_slider {
    width: 100%;
    max-width: 100%;
  }

  .slide_image_area {
    height: 220px;
  }

  .btn_close {
    width: 34px;
    height: 34px;
    font-size: 22px;
    top: 8px;
    right: 8px;
  }

  .slide_number {
    font-size: 12px;
    padding: 5px 8px;
    left: 10px;
    top: 10px;
  }

  .nav_btn {
    min-width: 56px;
    padding: 8px 10px;
    font-size: 12px;
  }

  .nav_prev {
    left: 8px;
  }

  .nav_next {
    right: 8px;
  }

  .slide_controls {
    bottom: 10px;
  }

  .slide_bullets {
    gap: 6px;
    padding: 6px 10px;
  }

  .bullet {
    width: 10px;
    height: 10px;
  }

  .slide_bottom {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 14px 12px 16px 12px;
  }

  .slide_title_link {
    width: 100%;
    font-size: 18px;
    text-align: center;
  }

  .slide_action_area {
    width: 100%;
    justify-content: center;
  }

  .visit_btn {
    min-width: 80px;
    padding: 9px 14px;
    font-size: 13px;
  }
}