/*
Theme Name: melontreeA
Author: 
Description: Your description goes here
Version: 1.0
Template: generatepress

This is the child theme for GeneratePress theme, generated with Generate Child Theme plugin by catchthemes.

(optional values you can add: Theme URI, Author URI, License, License URI, Tags, Text Domain)
*/



/* 1) html·body가 100% 높이를 가지도록 */
html, body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}

/* 2) #main도 화면 전체 높이를 차지 */
#main {
  position: relative;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

/* 3) 지도를 #main 안에서 절대 배치하여 꽉 채우기 */
#map {
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  max-height: 100%;
}

.custom-infowindow{
  background-color: #fff;
}

.site-content {
  display: block;
}

.lucky-list{
  display: none;
}

.inside-header {
  width: 100%;
  max-width: 100%;
  z-index: 9;
  display: flex;
  align-items: center;
  position: absolute;
}


.btn-prev-page {
  display: inline-block;
  margin-bottom: 1rem;
  padding: .5rem 1rem;
  background: #0078ff;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: .9rem;
}
.btn-prev-page:hover {
  background: #005ace;
}

#post-vote-container {
  margin-top: 2rem;
}
#post-vote-container button {
  margin-right: 1rem;
  padding: .5rem 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: #f8f8f8;
  cursor: pointer;
}
#post-vote-container button:disabled {
  opacity: 0.6;
  cursor: default;
}

/* 포스트 오버레이 박스 */
.post-overlay {
  position: relative;
  width: 300px;
  max-height: 400px;
  overflow-y: auto;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
  padding: 1rem;
}

/* 닫기 버튼 */
.post-overlay .overlay-close {
  position: absolute;
  top:8px;
  right:8px;
  background:transparent;
  border:none;
  font-size:1.2rem;
  cursor:pointer;
}