/* ── 1) nav 높이만큼 푸시 ─────────────────────────── */
/* Bootstrap 기본 navbar 높이가 4rem라 가정 */
body {
  padding-top: 4rem;    /* fixed-top navbar 높이 */
}

/* ── 2) content 가로 중앙 정렬 ───────────────────── */
.content {
  display: flex;
  flex-direction: column;
  align-items: center;  /* 자식 요소들을 가로(수평) 중앙에 배치 */
  /* text-align: center;  <-- 인라인 텍스트만 중앙이면 이걸 사용해도 됩니다 */
}

/* ── 3) 콘텐츠 상단 여백(선택) ───────────────────── */
.content > div {
  margin: 8px;     /* nav 바로 아래 붙으면 너무 가깝다면 여백 주기 */
  text-align: center;
}
/* 이미지 블록화(여백/줄바꿈 이슈 방지) */
.block-img { display: block; }
/* 하단 버튼 2개: 160px+160px + 7px 간격 = 327px 딱 맞춤 */
.ticket-grid {
  display: grid;
  grid-template-columns: 160px 160px;
  column-gap: 7px;
  align-items: start;
  margin-top: 12px;            /* 1시간권과의 간격 (원하면 16/20 조절) */
}
.new-text{
	color: #3A3A3A;
	text-align: center;
	font-family: Pretendard;
	font-size: 14px;
	font-style: normal;
	font-weight: 400;
	line-height: 14px; /* 100% */
}
.news-section {
  /* 부모 전체를 가로 중앙 정렬 */
  margin-top: 80px !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center; /* 텍스트 센터링 */
}

.new-text {
  margin-bottom: 1rem; /* 버튼과 간격 */
}

.btn-container {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
}

.instagram-btn,
.youtube-btn {
  display: inline-flex;       /* flex 컨테이너로 변경 */
  align-items: center;        /* 수직 중앙 */
  justify-content: center;    /* 수평 중앙 */
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  user-select: none;
  height: 41px;             /* 필요 시 고정 높이 지정 */
  width: 162px;
}

/* 기존 색상 */
.instagram-btn {
  background: var(--text-bg-gray, #E3E3E3);
  color: #3A3A3A;
}
.youtube-btn {
  background: var(--text-bg-gray, #E3E3E3);
  color: #3A3A3A;
}

.instagram-btn:hover,
.youtube-btn:hover {
  opacity: 0.9;
}
/* 카드 전체 모양 */
.custom-card {
  border-radius: 15px;
  overflow: hidden;
}

/* 카드 헤더 */
.custom-card-header {
  background-color: #FF6F0F;
  border-bottom: none;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
}

/* 카드 내 바로가기 버튼 */
.custom-card-btn {
  background-color: #FF6F0F;
  border-radius: 30px;
  padding: 10px 30px;
}

/* (선택) 버튼 hover 시 살짝 투명도 조정 */
.custom-card-btn:hover {
  opacity: 0.9;
}
a {
  text-decoration: none;   /* 밑줄 제거 */
  color: inherit;          /* 상위 요소의 색상 상속 */
}
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.6);
}
.modal-content {
  background-color: #fefefe;
  margin: 10% auto;
  padding: 0;
  border: 1px solid #888;
  width: 90%;
  max-width: 400px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.modal-content img {
  border-radius: 8px 8px 0 0;
}
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  padding: 10px;
  cursor: pointer;
}
.close:hover {
  color: black;
}

