.bnr-area {
  margin-bottom: 4em;
}

.bnr-area-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin: 0;
  padding: 0;
}

.bnr-area-item {
  width: 100%;
  text-align: center;
}

.bnr-area-item-thumb {
  width: calc(50% - 8px);
  margin-bottom: 1em;
}

.bnr-area-btn,
.bnr-area-text-btn {
  width: 100%;
  border: 0;
  font: inherit;
  cursor: pointer;
}

.bnr-area-btn {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding: 0;
  background: transparent;
  text-align: left;
}

.bnr-area-btn img {
  display: block;
  width: 100%;
  height: 400px;
  object-fit: contain;
  margin: 0 auto;
}

.bnr-area-thumb-title {
  display: block;
  color: #467FC7;
  font-size: 1.6rem;
  line-height: 1.4;
  text-align: center;
}

.bnr-area-text-btn {
  display: flex;
  align-items: center;
  min-height: 100%;
  padding: 1rem 1.2rem;
  color: #467FC7;
  text-align: left;
  background-color: #f7f5f4;
  transition: background-color 0.3s ease;
}

.bnr-area-text-btn:hover {
  background-color: #eeebe9;
}

.bnr-area-text-title {
  font-size: 1.6rem;
  line-height: 1.4;
}

.bnr-modal .modal-dialog {
  width: 90%;
  max-width: 90%;
  margin: 1.75rem auto;
}

.bnr-modal .modal-content {
  border: 0;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.bnr-modal .modal-header {
  background-color: #f7f5f4;
  border-bottom: 1px solid #eeebe9;
}

.bnr-modal .modal-title {
  color: #725d58;
  font-weight: bold;
}

.bnr-modal .modal-body {
  padding: 1.5rem;
}

.bnr-modal .modal-body img {
  width: 100%;
  max-height: 80vh;
  object-fit: contain;
}

.bnr-modal-pdf {
  display: block;
  width: 100%;
  height: 80vh;
  border: 0;
  background-color: #f7f5f4;
}

.bnr-modal-pdf-link {
  margin: 0;
  padding: 0.8rem 1rem;
  background-color: #fff;
  font-size: 1.4rem;
}

.bnr-modal .carousel-control-prev,
.bnr-modal .carousel-control-next {
  top: 50%;
  width: 50px;
  height: 50px;
  background-color: rgba(114, 93, 88, 0.8);
  border: 0;
  border-radius: 50%;
  opacity: 0.8;
  transform: translateY(-50%);
  transition: background-color 0.3s ease, opacity 0.3s ease;
  z-index: 5;
}

.bnr-modal .carousel-control-prev:hover,
.bnr-modal .carousel-control-next:hover {
  background-color: #725d58;
  opacity: 1;
}

.bnr-modal .carousel-control-prev {
  left: 20px;
}

.bnr-modal .carousel-control-next {
  right: 20px;
}

@media (max-width: 767px) {
  .bnr-area-list {
    gap: 0 10px;
  }

  .bnr-area-item-thumb {
    width: calc(50% - 5px);
  }

  .bnr-area-btn img {
    height: 150px;
  }

  .bnr-area-text-btn {
    padding: 0.9rem 1rem;
  }

  .bnr-area-thumb-title,
  .bnr-area-text-title {
    font-size: 1.4rem;
  }

  .bnr-modal .carousel-control-prev,
  .bnr-modal .carousel-control-next {
    width: 40px;
    height: 40px;
  }

  .bnr-modal-pdf {
    height: 70vh;
  }

  .bnr-modal .carousel-control-prev {
    left: 10px;
  }

  .bnr-modal .carousel-control-next {
    right: 10px;
  }
}
