

.grid-container {
	margin-top: 10px;
	border-radius: 20px;
	}

.inside-header {
    padding: 10px 40px;
}

.inside-article {
	border-radius: 20px;
}

.widget-area .widget {
	border-radius: 20px;
}

.button {
	border: 2px solid #000;
	border-radius: 5px;
}
/* 모바일 이미지 벗어남 해결*/
img { width : 100%; box-sizing : content-box; height : auto; }


/* GeneratePress 테마: 모바일 썸네일 위치 왼쪽 정렬 */
/* Align the featured images (thumbnails) to the left on mobile devices in GeneratePress */

@media (max-width: 900px) {
.post-image-aligned-left .post-image,
.post-image-aligned-right .post-image {
    float: left !important;
     padding-right: 20px;
	    width: 150px;
    aspect-ratio: auto 150 / 125;
    height: 150px;
	}
}


.button {
	font-size: 14px;
    padding: 4px;
    color: #000;
    width: 23%;
    border: 1px solid #c4c4c4;
    border-radius: 5px;
		text-align: center;		
}


@media (min-width: 900px) {
.entry-summary{
	padding-top: 30px;
}
.button {
		margin-top: 20px;
	}
}

/* link underbar remove */

a {
text-decoration: none!important;
}






/* 소제목꾸미기 */
.single .entry-content h2 {
	background-color: #bee9b4; 
	color: #000000;
padding: 0.4em 1em 0.4em 0.5em; 
margin: 0.5em 0em; 
border-radius: 15px 15px 15px 0px; 
font-weight: bold; 
box-shadow: 5px 5px 5px #469789;
font-size: 1.5em;	
}

.single .entry-content h3 {
		border-left: #ffa037 10px solid; 
padding: 0.5em 0.5em; background: #fcf3d4; 
margin: 0.5em 0em; color: #ffa037; 
font-weight: bold;
		font-size: 1.3125em;
}

.page .entry-content h2 {
	padding: 0.4em 1em 0.1em 0.2em; 
	margin: 0.5em 0em; 
	color: #000000; 
	border-bottom: 8px #E68900 double; 
	font-weight: bold;
}


.page .entry-content h3 {
	padding: 0.4em 1em 0.1em 0.2em; 
	margin: 0.5em 0em; 
	color: #000000; 
	border-bottom: 4px #f14c4c solid; 
	font-weight: bold;
}

/* 이미지 둥글게 그림자 */

.inside-article img {
	margin-bottom: 1rem;
	padding: 5px;
  border-radius: 16px;
  box-shadow: 0 0 1.25rem rgb(0 0 0 / 15%);
}

/* 페이션트 가리기 */
.paging-navigation {
	display: none;
}/* 이미지버튼 */

}


/* ------이미지배경 버튼 -------- */
.background_image_section {
  position: relative; /* Required for ::after positioning */
  display: flex; /* Apply Flexbox layout */
  flex-direction: column; /* Align items vertically */
  align-items: center; /* Center align */
  justify-content: center; /* Vertically centered */
	background-size: 100% auto; /* 원본 이미지 크기를 유지하며 컨테이너 안에 맞춤 */
  background-repeat: no-repeat; /* 이미지 반복 없음 */
  background-position: center center; /* 이미지가 컨테이너 중앙에 위치하도록 설정 */

}

.background_image_section::before {
  content: ""; /* 필수: 가상 요소에 내용을 추가하려면 content 속성이 필요함 */
  position: absolute; /* 컨테이너 내에서 절대 위치 지정 */
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6); /* 검은색 오버레이, 투명도 조정으로 어둡게 처리 */
  z-index: 1; /* 텍스트 위로 오도록 z-index 설정 */
}

/* Center text style */
.center_text {
  font-size: 35px; /* Text size */
  color: #fff; /* Text color */
  margin-bottom: 15px; /* Margin to button below text */
	text-align: center;
	font-weight: bold;
  z-index: 1; /* Ensure text is above the overlay */
}

/* 버튼 기본 스타일 */
.custom_button {
  font-size: 16px; /* 버튼 내 글자 크기 */
  color: #fff; /* 글자 색상: 백색 */
  padding: 10px 20px; /* 내부 여백 */
  border: none; /* 테두리 없음 */
  cursor: pointer; /* 마우스 오버시 커서 변경 */
  position: relative; /* 오버레이 위에 버튼을 표시하기 위해 relative 설정 */
  z-index: 2;
  transition: background-color 0.3s; /* 배경 색상 변경 효과 */
}

/* 추출된 버튼 색상을 적용 */
.first_button {
  background-color: #ed3650; /* 첫 번째 버튼 색상 */
}

.second_button {
  background-color: #0693e3; /* 두 번째 버튼 색상 */
}

/* 버튼 호버 효과 */
.custom_button:hover {
  opacity: 0.7; /* 호버시 투명도 변경 */
}

/* Responsive adjustments */
@media (max-width: 900px) {
	
  .center_text {
    font-size: 18px; /* Adjust text size for smaller screens */
  }
  .custom_button {
    padding: 8px 15px; /* Adjust button padding for smaller screens */

  }
}



/* 반짝이 배너 */
.woorooroo-box {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 75%; /* 위치 수정1 */
  right: 10%; /* 위치 수정2 */
  z-index: 99;
  cursor: pointer;
  font-size: 1.1em; /* 글자크기 */
  font-weight: bold; /* 글자 두께 */
  font-stretch: normal;
  font-style: normal;
  line-height: 1.31;
  letter-spacing: -0.16px;
  text-align: center;
  text-decoration: none;
  width: 20%;
  height: auto;
  border-radius: 15px;
  overflow: hidden;
  background: linear-gradient(to bottom, #00f, #fff);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.woorooroo-box p {
    display: none;
}





.woorooroo-box-top, .woorooroo-box-bottom {
  position: relative;
  width: 100%;
  height: 50px;
}






.woorooroo-box-top {
  background-color: red;
  animation: wooroorooTop 0.3s infinite alternate; /* 상단배너 배경 색상변경 속도 */
}


.woorooroo-box-bottom {
  background-color: #DCDCDC;
}


.woorooroo-box-top-text, .woorooroo-box-bottom-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-weight: bold;
  max-width: 280px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}


.woorooroo-box-bottom-text {
  animation: wooroorooBottom 0.3s infinite alternate;  /* 하단배너 글자색상 변경속도 */
}


@keyframes wooroorooTop {
  from { background-color: red; }
  to { background-color: blue; }
}


@keyframes wooroorooBottom {
  from { color: blue; }
  to { color: red; }
}


@media (max-width: 768px) {
  .woorooroo-box {
    top: auto; 
    bottom: 0;  /* 위치 수정3 */
    left: 0; 
    right: 0; 
    width: 100%; 
    height: auto;
  }
  .woorooroo-box-bottom {
    display: none; 
  }
  .woorooroo-box-top {
    width: 100%;
    height: 50px; 
  }
}