:root {
  --bg: #f7f5ef;
  --paper: #ffffff;
  --text: #25211c;
  --muted: #776f63;
  --line: #e5ded3;
  --brand: #7a5534;
  --brand-dark: #49331f;
  --accent: #b4895e;
  --green: #3f5d4a;
  --container: 1120px;
  --content: 980px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: "Malgun Gothic", "Apple SD Gothic Neo", system-ui, sans-serif;
  line-height: 1.7;
}

body.is-menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  padding: 0 44px;
  color: #fff;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--text);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  position: relative;
  line-height: 1;
}

.brand__logo {
  display: block;
  width: 142px;
  height: auto;
}

.brand__logo--dark {
  display: none;
}

.site-header.is-scrolled .brand__logo--light,
.site-header.is-open .brand__logo--light {
  display: none;
}

.site-header.is-scrolled .brand__logo--dark,
.site-header.is-open .brand__logo--dark {
  display: block;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 15px;
  font-weight: 700;
}

.nav-item {
  position: relative;
}

.nav-item > a,
.site-nav > a {
  display: inline-flex;
  align-items: center;
  min-height: 76px;
}

.site-nav > a::after,
.nav-item > a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.site-nav > a:hover::after,
.nav-item > a:hover::after {
  transform: scaleX(1);
}

.submenu {
  position: absolute;
  top: 68px;
  left: 50%;
  min-width: 170px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--text);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.nav-item:hover .submenu,
.nav-item:focus-within .submenu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.submenu a {
  display: block;
  padding: 9px 10px;
  border-radius: 6px;
  white-space: nowrap;
  font-size: 14px;
}

.submenu a:hover {
  background: #f5efe7;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 6px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(17, 14, 11, 0.72), rgba(17, 14, 11, 0.22));
}

.hero__slide {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--bg) center/cover no-repeat;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1s ease, transform 7s ease;
}

.hero__slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero__content {
  width: min(var(--container), calc(100% - 40px));
  padding-top: 48px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #eac69f;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(42px, 7vw, 86px);
  line-height: 1.06;
  letter-spacing: 0;
}

.hero h1,
.sub-hero h1,
.hero__content [data-site-setting],
.sub-hero [data-site-setting] {
  white-space: pre-line;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.15;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 22px;
  line-height: 1.25;
}

.hero p {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
}

.hero__actions,
.stay__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 900;
  cursor: pointer;
}

.button--primary {
  background: var(--brand);
  color: #fff;
}

.button--ghost {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}

.button--outline {
  border-color: var(--brand);
  background: transparent;
  color: var(--brand);
}

.section {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
  padding: 104px 0;
}

.section--space {
  width: min(var(--container), calc(100% - 40px));
}

.section--content {
  width: min(var(--container), calc(100% - 40px));
}

.section__head {
  max-width: 740px;
  margin-bottom: 32px;
}

.section__head p,
.split__text p,
.card p,
.notice-list p,
.panel p,
.contact p {
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 56px;
  align-items: center;
}

.split--reverse {
  grid-template-columns: 1.05fr 0.95fr;
}

.split--reverse .split__image {
  order: 2;
}

.split__image {
  min-height: 440px;
  overflow: hidden;
  border-radius: 8px;
}

.split__image img {
  width: 100%;
  height: 100%;
  min-height: 440px;
  object-fit: cover;
}

.split__text {
  font-size: 17px;
}

.verse {
  padding: 22px;
  border-left: 4px solid var(--accent);
  background: #fff9f0;
  color: var(--brand-dark) !important;
  font-weight: 700;
}

.statement {
  position: relative;
  padding: 132px 20px;
  color: #fff;
  background:
    linear-gradient(rgba(26, 20, 15, 0.64), rgba(26, 20, 15, 0.64)),
    url("./assets/images/index_3.jpg") center/cover fixed;
  text-align: center;
}

.statement__inner {
  width: min(860px, 100%);
  margin: 0 auto;
}

.statement h2 {
  font-size: clamp(34px, 5vw, 64px);
}

.statement p {
  margin-bottom: 12px;
  font-size: 23px;
  font-weight: 800;
}

.statement span {
  color: rgba(255, 255, 255, 0.82);
}

.cards {
  display: grid;
  gap: 22px;
}

.cards--three {
  grid-template-columns: repeat(3, 1fr);
}

.card,
.panel,
.notice-list article,
.stay__box,
.contact__info {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.card {
  overflow: hidden;
}

.card img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.card > div {
  padding: 22px;
}

.card__label {
  margin-bottom: 6px;
  color: var(--accent) !important;
  font-size: 13px;
  font-weight: 900;
}

.showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.showcase img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  object-fit: cover;
}

.notice-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.notice-list article {
  padding: 22px;
}

.notice-list span {
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
}

.board-list {
  border-top: 2px solid #222;
}

.board-list__item {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 24px;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.board-list__item h2 {
  margin: 0;
  color: #111;
  font-size: 20px;
  line-height: 1.45;
  font-weight: 800;
}

.board-list__item a {
  transition: color 0.2s ease;
}

.board-list__item a:hover {
  color: var(--brand);
}

.board-list__date,
.gallery-board span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.board-detail {
  border-top: 2px solid #222;
}

.board-detail__head {
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.board-detail__head h2 {
  margin: 0 0 14px;
  color: #111;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.35;
}

.board-detail__head p {
  display: flex;
  gap: 18px;
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.board-detail__content {
  min-height: 260px;
  padding: 34px 0;
  color: #333;
  font-size: 17px;
  line-height: 1.9;
  border-bottom: 1px solid var(--line);
}

.board-detail__content p {
  margin: 0 0 16px;
}

.board-detail__actions {
  display: flex;
  justify-content: flex-end;
  padding-top: 24px;
}

.board-detail__empty {
  display: grid;
  gap: 18px;
  min-height: 260px;
  place-items: center;
  border-top: 2px solid #222;
  border-bottom: 1px solid var(--line);
}

.gallery-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.gallery-board article {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.gallery-board img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  cursor: zoom-in;
}

.gallery-board article > div {
  padding: 20px;
}

.gallery-board h2 {
  margin: 8px 0 0;
  color: #111;
  font-size: 19px;
  line-height: 1.45;
  font-weight: 800;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 34px;
}

.pagination button {
  min-width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
  color: var(--muted);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.pagination button.is-active {
  border-color: #111;
  background: #111;
  color: #fff;
}

.empty-board {
  display: grid;
  min-height: 240px;
  place-items: center;
  border-top: 2px solid #222;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 17px;
}

.community__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 22px;
}

.panel {
  padding: 26px;
}

.list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.list li {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.gallery__grid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 6px;
  object-fit: cover;
}

.stay {
  width: 100%;
  padding: 110px 20px;
  background:
    linear-gradient(90deg, rgba(44, 36, 27, 0.78), rgba(44, 36, 27, 0.36)),
    url("./assets/images/banner01.jpg") center/cover;
}

.stay__box {
  width: min(760px, 100%);
  margin: 0 auto;
  padding: 42px;
  background: rgba(255, 255, 255, 0.94);
}

.contact__grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 22px;
}

.contact__info {
  padding: 30px;
}

.address {
  color: var(--brand-dark) !important;
  font-size: 22px;
  font-weight: 900;
}

.map {
  height: 360px;
  min-height: 360px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #eee4d6;
}

.map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 100%;
  border: 0;
}

.footer {
  padding: 50px 0 40px;
  background: #1c1c1c;
  color: #909090;
}

.footer__inner {
  display: flex;
  align-items: start;
  width: min(var(--container), 100%);
  margin: 0 auto;
  padding: 0 20px;
}

.footer__left {
  width: 70%;
  min-width: 0;
}

.footer__mark {
  width: 155px;
  margin-bottom: 24px;
  height: auto;
}

.footer__right {
  display: flex;
  width: 30%;
  justify-content: flex-end;
}

.footer__info {
  display: flex;
  flex-wrap: wrap;
  gap: 0 16px;
  font-style: normal;
  line-height: 23px;
  font-size: 15px;
  font-weight: 500;
  color: #909090;
}

.footer__copy {
  margin: 0;
  padding-top: 6px;
  color: #757575 !important;
  font-size: 16px;
  font-weight: 600;
}

.footer__cs {
  min-width: 250px;
  text-align: left;
  color: #ababab;
  font-size: 15px;
}

.footer__cs h2 {
  margin: 0;
  padding-bottom: 8px;
  color: #e4e4e4;
  font-size: 17px;
}

.footer__tel {
  display: inline-block;
  margin-bottom: 0;
  color: #fff;
  font-size: 34px;
  font-weight: 600;
  letter-spacing: 2px;
  line-height: 1.2;
  text-decoration: none;
}

.footer__select {
  display: block;
  margin-top: 28px;
}

.footer__select span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.footer__select select {
  width: 100%;
  height: 38px;
  padding: 0 14px;
  border: 0;
  border-radius: 0;
  background: #131313;
  color: #8a8a8a;
  font-size: 13px;
  font-weight: 600;
}

.footer strong {
  color: #909090;
}

.footer__copy strong {
  color: #757575;
}

.footer p {
  margin: 0;
}

.footer__time {
  color: #ababab !important;
  font-size: 15px;
  font-weight: 400;
}

.sub-hero {
  min-height: 420px;
  display: grid;
  place-items: end start;
  padding: 130px max(20px, calc((100vw - var(--container)) / 2)) 70px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(24, 18, 14, 0.72), rgba(24, 18, 14, 0.25)),
    var(--sub-bg, url("./assets/images/index_3.jpg")) center/cover;
}

.sub-hero h1 {
  margin-bottom: 12px;
  font-size: clamp(38px, 6vw, 72px);
}

.sub-hero p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
}

.local-nav {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.76);
}

.local-nav__inner {
  display: flex;
  align-items: center;
  gap: 10px;
  width: min(var(--container), calc(100% - 40px));
  min-height: 58px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.local-nav__home,
.local-nav__section,
.local-nav__current {
  white-space: nowrap;
}

.local-nav__current {
  color: #111;
}

.local-nav__divider {
  color: #c8bba9;
}

.local-nav__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-left: auto;
}

.local-nav__link {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-size: 13px;
}

.local-nav__link.is-active {
  border-color: #111;
  background: #111;
  color: #fff;
}

.content-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 44px;
  align-items: start;
}

.side-title {
  position: sticky;
  top: 104px;
}

.side-title h2 {
  font-size: clamp(28px, 4vw, 42px);
}

.prose {
  display: grid;
  gap: 20px;
  font-size: 17px;
}

.prose p {
  margin-bottom: 0;
  color: var(--muted);
}

.feature-list {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.feature-list li {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.space-copy {
  width: min(var(--container), 100%);
  margin: 0 auto 44px;
  color: #111;
}

.space-copy::before {
  content: "";
  display: block;
  width: 12px;
  height: 1px;
  margin-bottom: 6px;
  background: #111;
}

.space-copy h2 {
  margin: 0 0 52px;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0;
}

.space-copy p {
  margin: 0 0 56px;
  color: #111;
  font-size: 20px;
  line-height: 1.7;
}

.space-copy strong {
  display: block;
  margin-bottom: 12px;
  color: #111;
  font-size: 24px;
  line-height: 1.45;
  font-weight: 900;
}

.page-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  width: min(var(--container), 100%);
  margin: 0 auto;
}

.page-gallery img {
  width: 100%;
  aspect-ratio: 3 / 2;
  border-radius: 8px;
  object-fit: cover;
  cursor: zoom-in;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.page-gallery img:hover,
.page-gallery img:focus {
  filter: brightness(0.94);
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  transform: translateY(-2px);
}

.exhibition-gallery article {
  min-width: 0;
}

.exhibition-gallery h3 {
  margin: 16px 0 8px;
  color: #111;
  font-size: 20px;
  font-weight: 900;
}

.exhibition-gallery p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.lightbox {
  width: min(1100px, calc(100% - 32px));
  max-height: calc(100vh - 32px);
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: #111;
  color: #fff;
  overflow: hidden;
}

.lightbox::backdrop {
  background: rgba(0, 0, 0, 0.76);
}

.lightbox img {
  display: block;
  width: 100%;
  max-height: calc(100vh - 92px);
  object-fit: contain;
  background: #111;
}

.lightbox p {
  margin: 0;
  padding: 14px 18px;
  color: rgba(255, 255, 255, 0.82);
}

.lightbox__close {
  position: absolute;
  top: 10px;
  right: 12px;
  z-index: 1;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.68);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.timeline {
  display: grid;
  gap: 14px;
}

.timeline article {
  padding: 22px;
  border-left: 4px solid var(--accent);
  background: var(--paper);
}

.notice-table {
  display: grid;
  gap: 12px;
}

.notice-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.notice-row span {
  color: var(--accent);
  font-weight: 900;
}

.booking-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.booking-preview article {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.space-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--paper);
  border-top: 2px solid var(--brand);
}

.space-table th,
.space-table td {
  padding: 14px;
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.space-table th {
  color: var(--brand-dark);
  background: #fbf7f0;
}

.stay-page {
  color: #111;
}

.stay-intro {
  margin-bottom: 54px;
}

.stay-intro h2 {
  margin: 0 0 24px;
  color: #111;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.35;
  font-weight: 900;
}

.stay-intro p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.85;
}

.stay-intro strong {
  color: #111;
}

.stay-image {
  margin-bottom: 70px;
}

.stay-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.stay-section {
  margin-bottom: 70px;
}

.bar-title {
  display: inline-block;
  margin: 0 0 24px;
  padding-bottom: 10px;
  border-bottom: 3px solid #111;
  color: #111;
  font-size: 28px;
  font-weight: 900;
}

.stay-course-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.stay-course {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.stay-course h3 {
  margin: 0 0 16px;
  color: #111;
  font-size: 20px;
}

.stay-course ul {
  display: grid;
  gap: 9px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.stay-course a {
  color: var(--muted);
}

.stay-course a::before {
  content: "·";
  margin-right: 8px;
  color: var(--brand);
}

.map-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.booking-dialog {
  width: min(520px, calc(100% - 32px));
  border: 0;
  border-radius: 8px;
  padding: 32px;
}

.booking-dialog::backdrop {
  background: rgba(0, 0, 0, 0.58);
}

.dialog-close {
  position: absolute;
  top: 12px;
  right: 14px;
  border: 0;
  background: transparent;
  font-size: 28px;
  cursor: pointer;
}

.booking-form {
  display: grid;
  gap: 14px;
}

.booking-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.booking-form input,
.booking-form select {
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font: inherit;
}

.admin-login-link {
  min-height: 36px !important;
  padding: 0 14px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.admin-shell {
  width: min(520px, calc(100% - 40px));
  min-height: calc(100vh - 280px);
  margin: 0 auto;
  padding: 150px 0 90px;
}

.admin-shell--wide {
  width: min(var(--container), calc(100% - 40px));
}

.login-card,
.admin-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.login-card {
  display: grid;
  gap: 16px;
  padding: 34px;
}

.login-card h1,
.admin-head h1,
.admin-panel h2 {
  margin: 0;
  color: #111;
}

.login-card p,
.admin-head p,
.admin-note {
  margin: 0;
  color: var(--muted);
}

.login-card label,
.admin-form label,
.admin-setting-row {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.login-card input,
.admin-form input,
.admin-form textarea,
.admin-form select,
.admin-setting-row input,
.admin-setting-row textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--text);
  font: inherit;
}

.admin-form textarea {
  resize: vertical;
}

.admin-form select {
  appearance: auto;
}

.login-card__hint {
  padding: 10px 12px;
  border-radius: 6px;
  background: #fbf7f0;
  font-size: 13px;
}

.admin-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}

.admin-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 22px;
}

.admin-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 22px;
  align-items: start;
}

.admin-sidebar {
  display: grid;
  gap: 6px;
  position: sticky;
  top: 92px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.admin-sidebar button {
  padding: 12px 14px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.admin-sidebar button:hover,
.admin-sidebar button.is-active {
  background: #111;
  color: #fff;
}

.admin-main {
  min-width: 0;
}

.admin-panel {
  padding: 26px;
}

.admin-main > .admin-panel {
  display: none;
}

.admin-main > .admin-panel.is-active {
  display: block;
}

.admin-split,
.admin-two-col {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 24px;
}

.admin-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 20px 0 28px;
}

.admin-kpis article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.admin-kpis span,
.admin-mini-list span,
.admin-setting-row small {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.admin-kpis strong {
  display: block;
  margin-top: 8px;
  color: #111;
  font-size: 32px;
  line-height: 1;
}

.admin-post-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.admin-mini-list,
.admin-content-list,
.reservation-calendar {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.admin-mini-list article,
.reservation-calendar__item,
.admin-empty {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.admin-empty {
  margin: 0;
  color: var(--muted);
}

.admin-post-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: stretch;
}

.admin-post-item button {
  display: grid;
  gap: 4px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.admin-post-item.is-active button:first-child {
  border-color: #111;
}

.admin-post-item__delete {
  min-width: 62px;
  place-items: center;
  color: #a03324 !important;
}

.admin-post-list span {
  color: var(--muted);
  font-size: 13px;
}

.admin-post-list strong {
  color: #111;
}

.admin-form {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.admin-form--narrow {
  max-width: 560px;
}

.admin-form__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.admin-form__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-setting-row {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.admin-setting-row strong {
  color: #111;
}

.admin-table {
  margin-top: 18px;
  overflow: auto;
}

.admin-table table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.admin-table th,
.admin-table td {
  padding: 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  white-space: nowrap;
}

.admin-table th {
  color: #111;
  font-size: 13px;
}

.is-inline-admin .inline-edit-target {
  outline: 1px dashed rgba(160, 119, 75, 0.5);
  outline-offset: 4px;
}

.inline-edit-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  margin: 4px 0 4px 8px;
  padding: 0 10px;
  border: 1px solid #111;
  border-radius: 999px;
  background: #fff;
  color: #111;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  vertical-align: middle;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  z-index: 20;
}

.inline-edit-button:hover {
  background: #111;
  color: #fff;
}

.inline-image-target:not(.hero__slide) {
  position: relative;
}

.inline-edit-button--image {
  position: absolute;
  right: 18px;
  bottom: 18px;
  margin: 0;
}

.inline-edit-button--link {
  border-style: dashed;
}

.inline-link-target {
  position: relative;
  cursor: pointer;
}

.inline-link-target .inline-edit-button--link {
  position: absolute;
  right: 12px;
  top: 12px;
  margin: 0;
}

.site-link-target:hover {
  outline: 1px solid rgba(160, 119, 75, 0.45);
  outline-offset: 4px;
}

.hero__admin-image-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.hero__admin-image-controls .inline-edit-button--image {
  position: static;
  margin: 0;
}

.inline-editor {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.45);
}

.inline-editor__box {
  display: grid;
  gap: 14px;
  width: min(560px, 100%);
  padding: 26px;
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.24);
}

.inline-editor__box h2,
.inline-editor__box p {
  margin: 0;
}

.inline-editor__box h2 {
  color: #111;
  font-size: 24px;
}

.inline-editor__box p {
  color: var(--muted);
}

.inline-editor__box input,
.inline-editor__box textarea {
  width: 100%;
  min-height: 44px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--text);
  font: inherit;
}

.inline-editor__box textarea {
  resize: vertical;
}

.inline-editor__tools {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.inline-editor__tools label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
}

.inline-editor__tools input[type="color"] {
  width: 42px;
  min-height: 34px;
  padding: 2px;
}

.inline-editor__tools input[type="checkbox"] {
  width: auto;
  min-height: auto;
}

.inline-editor__actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.scroll-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 80;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.86);
  color: #fff;
  font-size: 24px;
  font-weight: 900;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 940px) {
  .site-header {
    height: 68px;
    padding: 0 20px;
  }

  .menu-button {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 68px;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 18px 20px 28px;
    background: rgba(255, 255, 255, 0.98);
    color: var(--text);
    border-bottom: 1px solid var(--line);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 13px 0;
  }

  .nav-item > a,
  .site-nav > a {
    min-height: auto;
  }

  .submenu {
    position: static;
    min-width: auto;
    padding: 0 0 8px 14px;
    border: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .split,
  .split--reverse,
  .cards--three,
  .gallery-board,
  .stay-course-grid,
  .admin-grid,
  .admin-layout,
  .admin-split,
  .admin-two-col,
  .showcase,
  .notice-list,
  .community__grid,
  .contact__grid,
  .content-grid,
  .booking-preview {
    grid-template-columns: 1fr;
  }

  .split--reverse .split__image {
    order: 0;
  }

  .section {
    padding: 76px 0;
  }

  .space-copy h2 {
    margin-bottom: 36px;
  }

  .space-copy p {
    margin-bottom: 42px;
    font-size: 18px;
  }

  .space-copy strong {
    font-size: 21px;
  }

  .board-list__item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .admin-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-sidebar {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-form__row,
  .admin-post-item {
    grid-template-columns: 1fr;
  }

  .local-nav__inner {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 8px;
    padding: 14px 0;
  }

  .local-nav__links {
    flex-basis: 100%;
    margin-left: 0;
  }

  .footer {
    padding: 34px 20px;
  }

  .footer__inner {
    flex-direction: column;
    gap: 26px;
  }

  .footer__left,
  .footer__right {
    width: 100%;
  }

  .footer__mark {
    width: 135px;
    margin-bottom: 18px;
  }

  .footer__right {
    justify-content: flex-start;
  }

  .footer__cs {
    min-width: 0;
    width: 100%;
  }

  .footer__tel {
    font-size: 28px;
  }
}

@media (max-width: 560px) {
  .hero__content,
  .section {
    width: min(100% - 28px, var(--container));
  }

  .hero p {
    font-size: 16px;
  }

  .split__image,
  .split__image img {
    min-height: 300px;
  }

  .gallery__grid {
    grid-template-columns: 1fr;
  }

  .admin-sidebar,
  .admin-kpis {
    grid-template-columns: 1fr;
  }

  .page-gallery {
    grid-template-columns: 1fr;
  }

  .gallery-board {
    grid-template-columns: 1fr;
  }

  .stay-intro p br {
    display: none;
  }

  .notice-row {
    grid-template-columns: 1fr;
  }

  .stay__box {
    padding: 28px;
  }
}
