/* === 장미의기사 스튜디오 커스텀 스타일 === */
/* TailwindCSS CDN과 함께 사용 */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400&display=swap');

:root {
  --color-rose: #c34169;
  --color-rose-light: #e8a0b5;
  --color-rose-dark: #9c2e50;
  --color-gold: #b68a30;
  --color-text: #333333;
  --color-text-light: #8c8a8a;
  --color-bg: #ffffff;
  --color-border: #e8e8e8;
  --color-bg-light: #fafafa;
  --max-width: 1090px;
  --font-display: 'Cormorant Garamond', 'Georgia', serif;
}

/* 기본 리셋 및 폰트 */
body {
  font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--color-text);
  background-color: var(--color-bg);
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

a {
  color: var(--color-text);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--color-rose);
}

img {
  max-width: 100%;
  height: auto;
}

/* === 컨테이너 === */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 16px;
}

/* === 헤더 === */
.header {
  text-align: center;
  padding: 30px 0;
  position: relative;
}

.header__logo img {
  max-height: 80px;
}

.header__utils {
  position: absolute;
  right: 16px;
  top: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.header__utils a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  font-size: 12px;
  color: var(--color-text-light);
  transition: all 0.2s;
}

.header__utils a:hover {
  border-color: var(--color-rose);
  color: var(--color-rose);
}

/* === 네비게이션 === */
.nav {
  background-color: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav__container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.nav__item {
  position: relative;
}

.nav__link {
  display: block;
  padding: 14px 16px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  text-transform: lowercase;
  letter-spacing: 1px;
  white-space: nowrap;
}

.nav__link:hover,
.nav__link--active {
  color: var(--color-rose);
}

.nav__separator {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: var(--color-border);
}

.nav__separator--room {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: var(--color-rose-light);
}

/* 햄버거 메뉴 */
.nav__toggle {
  display: none;
  background: none;
  border: none;
  padding: 12px 16px;
  cursor: pointer;
  font-size: 24px;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-text);
  margin: 5px 0;
  transition: all 0.3s;
}

/* === 섹션 타이틀 === */
.section-title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 4px;
  padding: 48px 0 20px;
  color: var(--color-text);
  text-align: center;
}

.section-title a {
  color: inherit;
}

/* === 페이지 타이틀 (서브페이지) === */
.page-title {
  text-align: center;
  padding: 10px 0 6px;
  margin-bottom: 24px;
}

.page-title__text {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 500;
  text-transform: lowercase;
  letter-spacing: 3px;
  padding-bottom: 12px;
  color: var(--color-text);
}

.page-title__text::after {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background-color: var(--color-rose-light);
  margin: 12px auto 0;
}

/* === 슬라이더 === */
.slider {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 1090 / 465;
}

.slider__track {
  display: flex;
  transition: transform 0.5s ease;
}

.slider__slide {
  min-width: 100%;
  aspect-ratio: 1090 / 465;
  object-fit: cover;
}

.slider__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.3);
  color: white;
  border: none;
  padding: 16px 12px;
  cursor: pointer;
  font-size: 18px;
  z-index: 10;
  transition: background 0.2s;
}

.slider__btn:hover {
  background: rgba(0, 0, 0, 0.6);
}

.slider__btn--prev { left: 0; }
.slider__btn--next { right: 0; }

/* === Room 미리보기 그리드 === */
.room-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.room-grid__item {
  overflow: hidden;
  border-radius: 2px;
}

.room-grid__item img {
  width: 100%;
  aspect-ratio: 353 / 220;
  object-fit: cover;
  transition: transform 0.3s;
}

.room-grid__item:hover img {
  transform: scale(1.03);
}

/* === 갤러리 그리드 === */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.gallery-grid__item {
  overflow: hidden;
  border-radius: 2px;
  position: relative;
  cursor: pointer;
}

.gallery-grid__item img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}

.gallery-grid__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: white;
  padding: 24px 10px 10px;
}

.gallery-grid__title {
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gallery-grid__meta {
  display: flex;
  gap: 10px;
  font-size: 11px;
  opacity: 0.8;
}

.gallery-grid__meta span {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.gallery-grid__item:hover img {
  transform: scale(1.03);
}

/* === 게시판 공통 === */
.board {
  width: 100%;
  margin-top: 20px;
}

.board__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.board__info {
  font-size: 13px;
  color: var(--color-text-light);
}

.btn-write {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 16px;
  background-color: var(--color-rose);
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 13px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.btn-write:hover {
  background-color: var(--color-rose-dark);
  color: white;
}

.board__table {
  width: 100%;
  border-collapse: collapse;
  border-top: 1px solid var(--color-border);
}

.board__table th {
  padding: 10px 8px;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  background-color: var(--color-bg-light);
  border-bottom: 1px solid var(--color-border);
}

.board__table td {
  padding: 10px 8px;
  font-size: 13px;
  text-align: center;
  border-bottom: 1px solid var(--color-border);
}

.board__table .td-subject {
  text-align: left;
  padding-left: 12px;
}

.board__table .td-subject a:hover {
  color: var(--color-rose);
}

.badge-status {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 600;
  color: white;
}

.badge-status--pending {
  background-color: #aaaaaa;
}

.badge-status--confirmed {
  background-color: var(--color-rose);
}

.icon-lock {
  color: var(--color-text-light);
  font-size: 12px;
}

.icon-new {
  display: inline-block;
  width: 14px;
  height: 14px;
  background-color: var(--color-rose);
  color: white;
  font-size: 9px;
  font-weight: bold;
  text-align: center;
  line-height: 14px;
  border-radius: 2px;
  margin-left: 4px;
}

.reply-indent {
  padding-left: 20px !important;
}

.reply-icon {
  color: var(--color-rose);
  margin-right: 4px;
  font-size: 11px;
}

/* === 스케줄 캘린더 === */
.calendar {
  width: 100%;
  border-collapse: collapse;
}

.calendar__nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
}

.calendar__nav-btn {
  background: none;
  border: 1px solid var(--color-border);
  padding: 6px 12px;
  cursor: pointer;
  border-radius: 4px;
  font-size: 14px;
}

.calendar__nav-btn:hover {
  border-color: var(--color-rose);
  color: var(--color-rose);
}

.calendar__month {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 1px;
}

.calendar th {
  padding: 10px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  background-color: var(--color-bg-light);
  border: 1px solid var(--color-border);
}

.calendar th:first-child { color: var(--color-rose); }
.calendar th:last-child { color: #306cb6; }

.calendar td {
  width: 14.28%;
  height: 90px;
  vertical-align: top;
  padding: 4px 6px;
  border: 1px solid var(--color-border);
  font-size: 12px;
}

.calendar__date {
  font-weight: 600;
  font-size: 13px;
  margin-bottom: 4px;
}

.calendar__date--sunday { color: var(--color-rose); }
.calendar__date--saturday { color: #306cb6; }
.calendar__date--today {
  background-color: var(--color-rose);
  color: white;
  border-radius: 50%;
  display: inline-flex;
  width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
}

.calendar__event {
  display: block;
  padding: 2px 4px;
  margin: 2px 0;
  border-radius: 3px;
  font-size: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
  line-height: 1.3;
}

.calendar__event-time {
  font-weight: 600;
  font-size: 9px;
  opacity: 0.7;
}

.calendar__event--room-a { background-color: #ffe0e0; color: #c00; }
.calendar__event--room-b { background-color: #e0ffe0; color: #060; }
.calendar__event--room-c { background-color: #e0e0ff; color: #006; }
.calendar__event--room-ab { background-color: #fff8dc; color: #8b6914; }
.calendar__event--room-ac { background-color: #f0e0ff; color: #660099; }
.calendar__event--room-bc { background-color: #e0f5f0; color: #006655; }
.calendar__event--room-abc { background-color: #fff3e0; color: #c60; }
.calendar__event--full { background-color: #fff3e0; color: #c60; }

/* 캘린더 모바일 뷰 기본 숨김 (모바일 media query에서 display: block으로 오버라이드) */
.calendar--mobile {
  display: none;
}

/* === 폼 (예약/Q&A 글쓰기) === */
.form-write {
  max-width: 700px;
  margin: 20px auto;
  padding: 24px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
}

.form-write__group {
  margin-bottom: 16px;
}

.form-write__label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--color-text);
}

.form-write__label--required::after {
  content: " *";
  color: var(--color-rose);
}

.form-write__input,
.form-write__select,
.form-write__textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  font-size: 14px;
  font-family: inherit;
  box-sizing: border-box;
}

.form-write__input:focus,
.form-write__select:focus,
.form-write__textarea:focus {
  outline: none;
  border-color: var(--color-rose);
}

.form-write__textarea {
  min-height: 120px;
  resize: vertical;
}

.form-write__submit {
  width: 100%;
  padding: 12px;
  background-color: var(--color-rose);
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s;
}

.form-write__submit:hover {
  background-color: var(--color-rose-dark);
}

/* === 모달 (비밀글 비밀번호) === */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.modal-overlay--active {
  display: flex;
}

.modal {
  background: white;
  padding: 30px;
  border-radius: 8px;
  width: 90%;
  max-width: 400px;
  text-align: center;
}

.modal__title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
}

.modal__input {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  margin-bottom: 16px;
  font-size: 14px;
  box-sizing: border-box;
}

.modal__buttons {
  display: flex;
  gap: 8px;
  justify-content: center;
}

.modal__btn {
  padding: 8px 24px;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
  border: 1px solid var(--color-border);
}

.modal__btn--confirm {
  background-color: var(--color-rose);
  color: white;
  border: none;
}

/* === Information 페이지 === */
.price-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

.price-table th,
.price-table td {
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  font-size: 14px;
}

.price-table th {
  background-color: var(--color-bg-light);
  font-weight: 600;
  text-align: left;
  width: 25%;
}

.price-table .room-a { border-left: 3px solid #c00; }
.price-table .room-b { border-left: 3px solid #060; }
.price-table .room-c { border-left: 3px solid var(--color-rose); }
.price-table .room-1f { border-left: 3px solid #006; }
.price-table .room-ac { border-left: 3px solid #609; }
.price-table .room-full-photo { border-left: 3px solid #c00; }
.price-table .room-full-video { border-left: 3px solid #096; }

.info-section {
  margin: 30px 0;
}

.info-section__title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  padding: 10px 0;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--color-text);
}

/* === 푸터 === */
.footer {
  text-align: center;
  padding: 40px 0;
  margin-top: 60px;
  background-color: var(--color-bg-light);
}

.footer__sns {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
}

.footer__sns a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  color: var(--color-text-light);
  transition: all 0.2s;
}

.footer__sns a:hover {
  border-color: var(--color-rose);
  color: var(--color-rose);
}

.footer__info {
  font-size: 12px;
  color: var(--color-text-light);
  line-height: 1.8;
}

.footer__copyright {
  font-size: 11px;
  color: var(--color-text-light);
  margin-top: 16px;
}

/* === Lightbox === */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 2000;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.lightbox--active {
  display: flex;
}

.lightbox img {
  max-width: 90%;
  max-height: 90vh;
  object-fit: contain;
}

/* === 페이지네이션 === */
.pagination {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin: 20px 0;
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  padding: 0 8px;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  font-size: 13px;
}

.pagination .active {
  background-color: var(--color-rose);
  color: white;
  border-color: var(--color-rose);
}

/* === 로딩 스피너 === */
.loading {
  text-align: center;
  padding: 40px;
  color: var(--color-text-light);
}

.loading__spinner {
  display: inline-block;
  width: 30px;
  height: 30px;
  border: 3px solid var(--color-border);
  border-top-color: var(--color-rose);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ==================================
   반응형 디자인
   ================================== */

/* 태블릿 */
@media (max-width: 1023px) {
  .container {
    padding: 0 20px;
  }

  .header__utils {
    position: static;
    flex-direction: row;
    justify-content: center;
    margin-top: 10px;
  }

  .nav__list {
    flex-wrap: wrap;
  }

  .nav__link {
    padding: 10px 12px;
    font-size: 12px;
  }

  .room-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .calendar td {
    height: 70px;
    font-size: 11px;
  }
}

/* 모바일 */
@media (max-width: 767px) {
  /* 헤더: 컴팩트하게 — 로고 + 유틸 한 줄 */
  .header {
    padding: 12px 0 8px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
  }

  .header__logo {
    flex: 1;
    text-align: center;
  }

  .header__logo img {
    max-height: 40px;
  }

  .header__utils {
    position: static;
    flex-direction: row;
    justify-content: center;
    margin-top: 0;
    flex-wrap: nowrap;
    gap: 6px;
    width: 100%;
  }

  .header__utils a {
    padding: 3px 10px;
    font-size: 11px;
    border-radius: 20px;
  }

  /* 네비게이션 — 모바일 전면 재설계 */
  .nav {
    position: sticky;
    top: 0;
    border-top: none;
    border-bottom: 1px solid var(--color-border);
    background: white;
    z-index: 200;
  }

  /* 브랜드명(좌) + 햄버거(우) 레이아웃 */
  .nav__container {
    justify-content: space-between !important;
    align-items: center;
    padding: 0 20px;
    min-height: 52px;
  }

  /* 좌측 브랜드 텍스트 */
  .nav__container::before {
    content: "rose knight";
    font-family: var(--font-display);
    font-size: 13px;
    letter-spacing: 3px;
    color: var(--color-rose);
    text-transform: lowercase;
    font-weight: 500;
  }

  /* 햄버거 버튼 — 우측, 큰 터치 타겟 */
  .nav__toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    gap: 0;
    background: none;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
  }

  .nav__toggle:active {
    background: #fafafa;
  }

  /* MENU 텍스트 제거 */
  .nav__toggle::after {
    display: none;
  }

  /* 햄버거 3선 */
  .nav__toggle span {
    width: 20px;
    height: 1.5px;
    background: var(--color-text);
    margin: 3.5px 0;
    transition: transform 0.25s ease, opacity 0.2s ease;
    border-radius: 2px;
    display: block;
  }

  /* 열렸을 때 X 애니메이션 */
  .nav__toggle[aria-expanded="true"] {
    border-color: var(--color-rose);
    background: #fff5f7;
  }
  .nav__toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  .nav__toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }
  .nav__toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }

  /* 메뉴 드롭다운 */
  .nav__list {
    display: none;
    flex-direction: column;
    align-items: stretch;
    position: fixed;
    top: 53px;
    left: 0;
    right: 0;
    background: white;
    border-top: 2px solid var(--color-rose-light);
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 8px 24px rgba(0,0,0,0.10);
    z-index: 199;
    max-height: calc(100vh - 53px);
    overflow-y: auto;
    padding: 8px 0 16px;
  }

  .nav__list--open {
    display: flex;
    animation: navSlideDown 0.2s ease;
  }

  @keyframes navSlideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  /* 메뉴 아이템 */
  .nav__link {
    padding: 15px 28px;
    border-bottom: 1px solid #f7f7f7;
    font-family: var(--font-display);
    font-size: 16px;
    letter-spacing: 1.5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-transform: lowercase;
    color: var(--color-text);
    transition: background 0.15s, color 0.15s;
  }

  .nav__link:active {
    background: #fafafa;
  }

  /* 우측 화살표 */
  .nav__link::after {
    content: "";
    width: 6px;
    height: 6px;
    border-right: 1.5px solid var(--color-text-light);
    border-top: 1.5px solid var(--color-text-light);
    transform: rotate(45deg);
    flex-shrink: 0;
    transition: border-color 0.15s;
  }

  .nav__link--active {
    background: #fff5f7;
    color: var(--color-rose);
    font-weight: 600;
  }

  .nav__link--active::after {
    border-color: var(--color-rose);
  }

  /* 룸 아이템 — 들여쓰기로 그룹 표현 */
  .nav__item--room .nav__link {
    padding-left: 44px;
    font-size: 14px;
    color: var(--color-text-light);
    background: #fafafa;
  }

  .nav__item--room .nav__link--active {
    background: #fff5f7;
    color: var(--color-rose);
  }

  /* 룸 그룹 레이블 구분선 */
  .nav__separator--room {
    display: none;
  }

  .nav__separator {
    display: none;
  }

  /* 드롭다운 열렸을 때 배경 어둡게 (backdrop) */
  .nav__backdrop {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.25);
    z-index: 198;
    animation: fadeIn 0.2s ease;
  }

  .nav__backdrop--open {
    display: block;
  }

  @keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
  }

  /* 메인 콘텐츠 상단 여백 축소 */
  .container > .slider {
    margin-top: 12px !important;
  }

  /* 슬라이더: 화면 전체 폭으로 중앙 정렬 */
  .slider {
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    aspect-ratio: 4 / 3;
    border-radius: 0;
    margin-left: 0;
    margin-right: 0;
  }

  .slider__btn {
    padding: 12px 8px;
    font-size: 14px;
  }

  /* 섹션 타이틀 */
  .section-title {
    font-size: 13px;
    padding: 24px 0 10px;
    letter-spacing: 3px;
  }

  /* Room 그리드: 2열 */
  .room-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .room-grid__item:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  .room-grid__item img {
    border-radius: 6px;
  }

  /* 갤러리 그리드: 2열 + 간격 좁게 */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }

  .gallery-grid__item {
    border-radius: 6px;
  }

  /* 페이지 타이틀 */
  .page-title {
    margin-bottom: 16px;
  }

  .page-title__text {
    font-size: 24px;
    padding-bottom: 8px;
  }

  /* 캘린더 → 모바일 리스트 뷰 */
  .calendar--desktop {
    display: none;
  }

  .calendar--mobile {
    display: block;
  }

  .calendar__nav {
    padding: 10px 0;
    gap: 12px;
  }

  .calendar__month {
    font-size: 16px;
  }

  .calendar__mobile-item {
    display: flex;
    padding: 12px 8px;
    border-bottom: 1px solid #f0f0f0;
    gap: 12px;
    align-items: flex-start;
  }

  .calendar__mobile-date {
    min-width: 52px;
    font-weight: 700;
    font-size: 14px;
    background: var(--color-bg-light);
    text-align: center;
    padding: 4px 8px;
    border-radius: 6px;
  }

  /* 게시판 → 카드형 (개선) */
  .board__header {
    flex-direction: row;
    align-items: center;
    padding: 0 4px;
    margin-bottom: 8px;
  }

  .board__table {
    border-top: none;
  }

  .board__table thead {
    display: none;
  }

  .board__table tbody {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .board__table tr {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 14px 12px;
    border-bottom: 1px solid #f0f0f0;
    gap: 4px;
    background: white;
    transition: background 0.15s;
  }

  .board__table tr:active {
    background: #fafafa;
  }

  .board__table td {
    display: inline;
    text-align: left;
    padding: 0;
    border: none;
  }

  .board__table .td-num {
    display: none;
  }

  .board__table .td-subject {
    width: 100%;
    font-size: 14px;
    font-weight: 500;
    padding-left: 0;
    margin-bottom: 4px;
    order: 1;
  }

  .board__table .td-name {
    display: inline;
    font-size: 12px;
    color: var(--color-text-light);
    order: 2;
  }

  .board__table .td-name::after {
    content: " · ";
  }

  .board__table .td-date {
    display: inline;
    font-size: 12px;
    color: var(--color-text-light);
    order: 3;
  }

  .board__table td:last-child {
    order: 4;
    margin-left: auto;
  }

  .badge-status {
    font-size: 10px;
    padding: 2px 8px;
  }

  /* Reply 들여쓰기 모바일 */
  .reply-indent {
    padding-left: 12px !important;
  }

  /* 폼: 풀 스크린 느낌 */
  .form-write {
    padding: 20px 16px;
    margin: 8px 0;
    border-radius: 12px;
    border-color: #eee;
  }

  .form-write h3 {
    font-size: 15px !important;
  }

  .form-write__input,
  .form-write__select,
  .form-write__textarea {
    font-size: 16px; /* iOS 줌 방지 */
    padding: 12px;
    border-radius: 8px;
  }

  .form-write__submit {
    padding: 14px;
    border-radius: 8px;
    font-size: 15px;
  }

  /* 가격표: 카드형 변환 */
  .price-table {
    border: none;
  }

  .price-table thead {
    display: none;
  }

  .price-table tbody tr {
    display: block;
    padding: 14px 16px;
    margin-bottom: 8px;
    border: 1px solid #eee;
    border-radius: 10px;
    border-left-width: 4px;
  }

  .price-table td {
    display: block;
    border: none;
    padding: 2px 0;
    font-size: 13px;
  }

  .price-table td:first-child {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 6px;
    border-left: none;
  }

  .price-table td:nth-child(2) {
    color: var(--color-rose);
  }

  .price-table td:nth-child(3)::before {
    content: "인원: ";
    color: var(--color-text-light);
    font-size: 12px;
  }

  .price-table td:nth-child(4)::before {
    content: "주차: ";
    color: var(--color-text-light);
    font-size: 12px;
  }

  /* Info 섹션 */
  .info-section {
    margin: 20px 0;
  }

  .info-section__title {
    font-size: 14px;
    margin-bottom: 12px;
  }

  /* 푸터: 컴팩트 */
  .footer {
    padding: 24px 0;
    margin-top: 32px;
  }

  .footer__sns {
    margin-bottom: 12px;
  }

  .footer__sns a {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }

  .footer__info {
    font-size: 11px;
    line-height: 1.6;
  }

  .footer__copyright {
    font-size: 10px;
    margin-top: 10px;
  }

  /* 모달 */
  .modal {
    margin: 16px;
    border-radius: 16px;
    padding: 24px 20px;
  }
}

/* 캘린더 모바일 뷰 — 기본 숨김은 .calendar__event 블록 근처로 이동 */
