@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Thai:wght@400;500;600;700;800&display=swap');

:root {
  --ink: #253c56;
  --muted: #64748b;
  --deep: #153e70;
  --primary: #2563a6;
  --primary-dark: #153e70;
  --accent: #a5ddff;
  --line: #dfe8f2;
  --surface: #ffffff;
  --canvas: #f5f9ff;
  --shadow: 0 8px 24px rgba(21, 62, 112, .03);
}

*, *::before, *::after { box-sizing: border-box; }
html { height: auto; scroll-behavior: smooth; }
body {
  min-width: 0;
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
  font: 16px/1.7 "Noto Sans Thai", "Segoe UI", Tahoma, sans-serif;
}
img, iframe { max-width: 100%; }
img { height: auto; }
p { line-height: 1.75; }
a { color: var(--primary-dark); text-underline-offset: 3px; }
a:hover { color: var(--deep); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid #f0ae57;
  outline-offset: 3px;
}
h1, h2, h3, h4, h5, h6 {
  color: var(--deep);
  font-family: inherit;
  font-weight: 750;
  letter-spacing: 0;
  line-height: 1.35;
  text-shadow: none;
}
#main { width: 100%; }
#site_content {
  width: min(1180px, calc(100% - 32px));
  max-width: 1180px;
  padding: 0 0 28px;
  overflow: visible;
  background: transparent;
  box-shadow: none;
  display: flow-root;
}
#header {
  width: 100%;
  height: auto;
  margin: 0 0 26px;
  background: none;
}
#menubar {
  width: 100%;
  height: auto;
  min-height: 80px;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 0 0 18px 18px;
  box-shadow: 0 10px 26px rgba(16, 43, 59, .04);
}
#welcome, #menu_items { float: none; width: auto; height: auto; margin: 0; padding: 0; text-align: left; }
.site-brand { display: inline-flex; align-items: center; gap: 11px; color: var(--deep); text-decoration: none; white-space: nowrap; }
.site-brand:hover { color: var(--deep); }
.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 13px;
  background: var(--deep);
  color: #fff;
  font: 800 24px/1 "Segoe UI", Arial, sans-serif;
  letter-spacing: -2px;
}
.brand-mark span { color: #65d5c8; }
.brand-copy { display: grid; gap: 0; line-height: 1.25; }
.brand-copy strong { font: 800 20px/1.25 "Segoe UI", Tahoma, sans-serif; letter-spacing: -.5px; }
.brand-copy strong span { color: var(--primary); }
.brand-copy small { font-size: 11px; font-weight: 500; color: var(--muted); letter-spacing: .01em; }
ul#menu { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 4px; float: none; margin: 0; padding: 0; list-style: none; }
ul#menu li { display: block; margin: 0; padding: 0; }
ul#menu li a {
  display: block;
  float: none;
  margin: 0;
  padding: 10px 13px;
  border-radius: 10px;
  background: transparent;
  box-shadow: none;
  color: var(--muted);
  font: 650 14px/1.4 "Noto Sans Thai", "Segoe UI", Tahoma, sans-serif;
  text-align: center;
  text-shadow: none;
  text-decoration: none;
  white-space: nowrap;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}
ul#menu li:hover a, ul#menu li.current a { color: var(--primary-dark); background: #eaf3ff; border-radius: 10px; box-shadow: none; text-shadow: none; }
ul#menu li.menu-cta a, ul#menu li.menu-cta:hover a, ul#menu li.menu-cta.current a { margin-left: 6px; padding: 10px 15px; color: white; background: var(--primary); }
ul#menu li.menu-cta a:hover { background: var(--primary-dark); transform: translateY(-1px); }

#content { width: calc(100% - 324px); margin: 0; padding: 0; float: left; min-width: 0; }
#content .content_item { width: auto; min-width: 0; margin: 0 0 22px; padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow); }
#content_topic {
  display: flow-root;
  width: min(100%, 980px);
  max-width: 100%;
  margin: 0 auto 24px;
  padding: 28px;
  float: none;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
#content_topic .content_item_topic { width: 100%; min-width: 0; margin: 0; overflow-wrap: anywhere; }
#content_topic img, #content_topic textarea, #content_topic input[type="text"] { max-width: 100%; }
#content_topic fieldset { min-width: 0; max-width: 100%; }
.sidebar_container { width: 300px; margin: 0; padding: 0; float: right; background: transparent; }
.sidebar { width: 100%; margin: 0 0 18px; padding: 20px; float: none; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow); }
.sidebar_item { width: auto; font: inherit; overflow-wrap: anywhere; }
.sidebar h2, .sidebar h3 { color: var(--deep); text-shadow: none; font-weight: 750; }
.sidebar h2 { font-size: 20px; margin: 0 0 14px; }
.sidebar p { color: var(--ink); }
.sidebar label { display: block; margin-bottom: 5px; color: var(--muted); font-size: 12px; font-weight: 700; }
.sidebar .login-links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 7px; margin: 0; padding: 0; font-size: 12px; }
.sidebar input[type="text"], .sidebar input[type="password"], .sidebar input[type="email"] {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid #cfdeed;
  border-radius: 10px;
  background: #fbfdff;
  color: var(--ink);
  font: inherit;
}
.sidebar input[type="submit"], .form_settings .submit {
  width: auto;
  min-height: 42px;
  margin: 0;
  padding: 9px 17px;
  border: 0;
  border-radius: 10px;
  background: var(--primary);
  box-shadow: none;
  color: white;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  cursor: pointer;
}
.sidebar input[type="submit"]:hover, .form_settings .submit:hover { background: var(--primary-dark); }
.form_settings input, .form_settings textarea, .form_settings select { max-width: 100%; padding: 9px 11px; border: 1px solid #cfdeed; border-radius: 9px; background: #fff; color: var(--ink); font: inherit; }
.form_settings span { max-width: 100%; }
.content_container, .content_container_com, .content_container_com3, .content_container_com4, .content_container_com5,
.content_container_com6, .content_container_com2, .content_container_room, .content_container_roomtop,
.content_container_room2, .content_container_room3, .content_images_text, .content_images_text_com,
.content_item_topic, .content_item_com, #content_topic, #content_com, #data2 {
  max-width: 100%;
}
.content_container_room, .content_container_roomtop {
  width: 100%;
  height: auto;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  font-size: 15px;
}
.content_container_roomtop { border-color: #b6d8f5; background: #eff6ff; }
.content_container_room p, .content_container_roomtop p { margin: 0; padding: 0; }
.content_container_room a, .content_container_roomtop a { color: var(--deep); font-weight: 700; overflow-wrap: anywhere; }
.content_container_room a:hover, .content_container_roomtop a:hover { color: var(--primary); }
.content_container_room2, .content_container_room3 { width: 100%; height: auto; min-height: 0; padding: 4px 10px 11px; font-size: 12px; color: var(--muted); }
.content_container_room2 p, .content_container_room3 p { padding: 0; }
.content_item_topic, .content_item_com { width: 100%; overflow-wrap: anywhere; }
#data2 { width: 100%; }
.button_small, .readmore { width: auto; height: auto; display: inline-block; margin: 0; padding: 0; border-radius: 10px; background: var(--primary); box-shadow: none; }
.button_small a, .readmore a { display: inline-block; padding: 8px 15px; color: #fff; text-decoration: none; }
#footer { width: min(1180px, calc(100% - 32px)); height: auto; min-height: 0; margin: 0 auto 28px; padding: 23px 8px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; text-align: center; }
#footer a { padding: 0; color: var(--primary-dark); }
#footer .footer-copy { display: inline-block; margin: 0 8px; }
#footer .footer-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 9px; }

/* Homepage */
body.page-home #site_content { display: grid; grid-template-columns: minmax(0, 1fr) 300px; grid-template-areas: "header header" "hero hero" "main side"; gap: 0 24px; align-items: start; }
body.page-home #header { grid-area: header; }
body.page-home .home-hero { grid-area: hero; }
body.page-home #content { grid-area: main; width: 100%; float: none; }
body.page-home .sidebar_container { grid-area: side; width: 100%; float: none; }
body.page-home #content .content_item { padding: 0; border: 0; background: transparent; box-shadow: none; }
.home-hero {
  position: relative;
  min-height: 270px;
  display: flex;
  align-items: center;
  margin: 0 0 26px;
  padding: clamp(30px, 5vw, 60px);
  overflow: hidden;
  border-radius: 22px;
  background: radial-gradient(circle at 85% 10%, rgba(55, 184, 166, .32), transparent 29%), linear-gradient(120deg, #102b3b, #174d58 70%, #176a71);
  color: #fff;
}
.home-hero::before, .home-hero::after { content: ""; position: absolute; width: 300px; height: 300px; border: 1px solid rgba(255,255,255,.13); border-radius: 50%; pointer-events: none; }
.home-hero::before { right: -70px; bottom: -190px; }
.home-hero::after { right: 140px; top: -220px; }
.hero-content { position: relative; z-index: 1; max-width: 700px; }
.hero-eyebrow, .eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 12px; color: #79e2d5; font-size: 12px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.hero-eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #79e2d5; }
.home-hero h1 { margin: 0 0 12px; color: #fff; font-size: clamp(30px, 4.2vw, 52px); font-weight: 800; line-height: 1.22; }
.home-hero p { max-width: 640px; margin: 0; padding: 0; color: #d7eded; font-size: 16px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 23px; }
.hero-actions a { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 9px 17px; border: 1px solid rgba(255,255,255,.28); border-radius: 10px; color: #fff; font-size: 14px; text-decoration: none; }
.hero-actions a:first-child { border-color: #66d8c8; background: #66d8c8; color: #0e3440; }
.hero-actions a:hover { background: #fff; color: var(--deep); }
.home-panel { margin: 0 0 22px; padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--shadow); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 14px; margin-bottom: 17px; }
.section-heading .eyebrow { margin: 0 0 3px; color: var(--primary); }
.section-heading h2 { margin: 0; font-size: clamp(21px, 2.2vw, 27px); }
.section-heading > a { flex: none; font-size: 13px; font-weight: 700; text-decoration: none; }
.post-list { margin: 0; padding: 0; list-style: none; }
.post-list li + li { border-top: 1px solid var(--line); }
.post-row { display: flex; gap: 14px; align-items: center; padding: 14px 0; }
.post-row .post-number { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: #eaf3ff; color: var(--primary); font-size: 13px; font-weight: 800; }
.post-number, .post-thumbnail { flex: none; }
.post-details { min-width: 0; flex: 1; }
.post-thumbnail, .board-topic-thumbnail { display: block; width: 96px; height: 72px; overflow: hidden; border-radius: 10px; background: #eaf2fc; }
.post-thumbnail img, .board-topic-thumbnail img { display: block; width: 100%; height: 100%; object-fit: cover; }
.board-topic-line { display: flex; align-items: center; gap: 12px; margin: 0; }
.board-topic-line > a { min-width: 0; flex: 1; }
.board-topic-thumbnail { width: 88px; height: 66px; flex: none; }
.form_settings .board-topic-thumbnail { width: 88px; height: 66px; float: none; }
.post-row h3 { margin: 0 0 2px; font-size: 15px; font-weight: 700; line-height: 1.5; overflow-wrap: anywhere; }
.post-row h3 a { color: var(--deep); text-decoration: none; }
.post-row h3 a:hover { color: var(--primary); text-decoration: underline; }
.post-row time { color: var(--muted); font-size: 12px; }
.empty-state { margin: 0; color: var(--muted); }
.news-grid, .room-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.news-card, .room-card { display: block; min-width: 0; padding: 17px; border: 1px solid var(--line); border-radius: 13px; background: #fbfdff; color: var(--deep); text-decoration: none; transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease; }
.news-card-image { display: block; height: 150px; margin: -17px -17px 16px; overflow: hidden; border-radius: 12px 12px 0 0; background: #eaf2fc; }
.news-card-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.news-card:hover, .room-card:hover { transform: translateY(-2px); border-color: #96c6ef; box-shadow: 0 10px 25px rgba(14,43,54,.08); color: var(--deep); }
.news-card .card-index, .room-card .card-index { display: block; margin: 0 0 11px; color: var(--primary); font: 800 12px/1 "Segoe UI", sans-serif; letter-spacing: .1em; }
.news-card h3, .room-card h3 { margin: 0; color: var(--deep); font-size: 15px; line-height: 1.5; overflow-wrap: anywhere; }
.news-card p, .room-card p { margin: 7px 0 0; padding: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.news-card .card-arrow, .room-card .card-arrow { display: block; margin-top: 11px; color: var(--primary); font-size: 19px; line-height: 1; }
.room-card:nth-child(2) .card-index { color: #5477b9; }
.room-card:nth-child(3) .card-index { color: #b47943; }
.room-card:nth-child(4) .card-index { color: #9c658e; }
.service-strip { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 22px; padding: 20px 24px; border: 1px solid #cee2f8; border-radius: 16px; background: #e5f1ff; }
.service-strip p { margin: 4px 0 0; padding: 0; color: var(--muted); font-size: 13px; }
.service-strip strong { font-size: 16px; }
.service-strip a { flex: none; font-size: 13px; font-weight: 750; text-decoration: none; }
.site-metrics, .legacy-site-metrics { position: static; width: auto; height: auto; overflow: visible; clip-path: none; white-space: normal; margin: 0 auto 12px; }
#footer { clear: both; overflow-wrap: anywhere; }
#footer img { max-width: 100%; height: auto; }

@media (max-width: 930px) {
  body:not(.page-home) #site_content { display: flex; flex-direction: column; }
  body:not(.page-home) #header { order: 0; }
  body:not(.page-home) #content, body:not(.page-home) #content_topic { order: 1; }
  body:not(.page-home) .sidebar_container { order: 2; }
  #menubar { align-items: flex-start; flex-direction: column; gap: 10px; }
  #menu_items { width: 100%; }
  ul#menu { justify-content: flex-start; }
  #content, .sidebar_container { width: 100%; float: none; }
  .sidebar_container { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 18px; }
  .sidebar { margin: 0; }
  body.page-home #site_content { grid-template-columns: minmax(0, 1fr); grid-template-areas: "header" "hero" "main" "side"; gap: 0; }
  body.page-home .sidebar_container { width: 100%; }
}
@media (max-width: 620px) {
  #site_content, #footer { width: min(100% - 24px, 1180px); }
  #header { margin-bottom: 16px; }
  #menubar { padding: 13px; border-radius: 0 0 14px 14px; }
  .brand-mark { width: 39px; height: 39px; font-size: 22px; }
  .brand-copy strong { font-size: 18px; }
  ul#menu { flex-wrap: wrap; justify-content: flex-start; gap: 1px; width: 100%; overflow: visible; padding-bottom: 3px; }
  ul#menu li a { padding: 8px 10px; font-size: 12px; }
  ul#menu li.menu-cta a { margin-left: 3px; padding: 8px 10px; }
  #content .content_item { padding: 18px; }
  #content_topic { padding: 18px; border-radius: 15px; }
  #content_topic fieldset { width: 100%; overflow-x: auto; }
  .sidebar_container { grid-template-columns: 1fr; }
  .home-hero { min-height: 0; margin-bottom: 16px; padding: 27px 22px; border-radius: 17px; }
  .home-hero h1 { font-size: 31px; }
  .home-hero p { font-size: 14px; }
  .home-panel { margin-bottom: 16px; padding: 18px; border-radius: 15px; }
  .post-row { gap: 9px; }
  .post-row .post-number { width: 32px; height: 32px; font-size: 11px; }
  .post-thumbnail { width: 58px; height: 58px; }
  .board-topic-thumbnail { width: 68px; height: 54px; }
  .form_settings .board-topic-thumbnail { width: 68px; height: 54px; }
  .news-grid, .room-grid { grid-template-columns: 1fr; }
  .section-heading { align-items: start; }
  .section-heading > a { padding-top: 4px; }
  .service-strip { display: block; padding: 18px; }
  .service-strip a { display: inline-block; margin-top: 10px; }
  .content_container, .content_container_com3, .content_container_com4, .content_container_com5,
  .content_container_com6, .content_container_com2, .content_images_text, .content_images_text_com,
  .content_image, .image_text { width: 100%; height: auto; float: none; }
  table { display: block; width: 100%; max-width: 100%; overflow-x: auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Editorial community theme. Shared legacy layout stays compatible with PHP pages. */
html { scroll-padding-top: 24px; }
body { font-size: 15px; -webkit-font-smoothing: antialiased; }
::selection { color: var(--deep); background: var(--accent); }
a { text-underline-offset: 4px; }
button, input, textarea, select { font: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline-color: #3182ce; outline-offset: 4px; }
h1, h2, h3, h4, h5, h6 { font-weight: 700; letter-spacing: -.025em; line-height: 1.45; }
.skip-link { position: fixed; z-index: 100; top: -80px; left: 16px; padding: 12px 20px; border-radius: 8px; background: var(--deep); color: #fff; }
.skip-link:focus { top: 12px; color: #fff; }
#site_content, #footer { width: min(1240px, calc(100% - 64px)); max-width: 1240px; }
#site_content { padding-bottom: 32px; }
#header { margin-bottom: 28px; }
#menubar { position: relative; min-height: 100px; padding: 20px 0; gap: 24px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; box-shadow: none; }
.site-brand { gap: 12px; }
.brand-mark { display: flex; align-items: center; justify-content: center; width: 44px; height: 46px; border-radius: 14px 14px 14px 3px; font-size: 29px; }
.brand-mark span { color: var(--accent); }
.brand-copy { gap: 3px; }
.brand-copy strong { font-size: 22px; line-height: 1.2; letter-spacing: -.8px; }
.brand-copy strong span { color: #5385b5; }
.brand-copy small { font-size: 10px; letter-spacing: .02em; }
ul#menu li a { padding: 11px 15px; border-radius: 7px; font-size: 13px; font-weight: 500; line-height: 1.6; }
ul#menu li:hover a, ul#menu li.current a { border-radius: 7px; background: #e7f1ff; color: var(--deep); }
ul#menu li.menu-cta a, ul#menu li.menu-cta:hover a, ul#menu li.menu-cta.current a { margin-left: 16px; padding: 11px 19px; border-radius: 8px; background: var(--deep); }
ul#menu li.menu-cta a:hover { background: #235b96; }
ul#menu .menu-cta span { padding-left: 6px; color: var(--accent); }
.menu-toggle { display: none; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--deep); cursor: pointer; }
.menu-toggle svg { width: 20px; height: 20px; }
#content { width: calc(100% - 328px); }
#content .content_item, #content_topic, .sidebar { border-radius: 14px; }
.sidebar { margin-bottom: 22px; padding: 24px; }
.sidebar h2 { margin-bottom: 16px; font-size: 21px; font-weight: 700; }
.sidebar label { margin-bottom: 7px; color: #506780; font-weight: 600; }
.sidebar .login-links { gap: 8px; padding-top: 2px; font-size: 11px; }
.login-links a { text-decoration: none; font-weight: 500; }
.login-links a:last-child { font-weight: 700; }
.sidebar input[type='text'], .sidebar input[type='password'], .sidebar input[type='email'] { min-height: 46px; border-color: #d9e4f0; border-radius: 8px; background: #f8fbff; font-size: 14px; transition: border-color .2s, background .2s; }
.sidebar input:focus { border-color: #6ca6dd; background: #fff; }
.sidebar input::placeholder { color: #71839a; font-size: 12px; }
.sidebar input[type='submit'], .form_settings .submit { min-height: 44px; padding: 10px 18px; border-radius: 8px; background: var(--deep); font-size: 13px; font-weight: 600; line-height: 1.6; }
.sidebar input[type='submit']:hover, .form_settings .submit:hover { background: #235b96; }
.login-panel input[type='submit'] { width: 100%; margin-top: 4px; }
.login-panel h2 { margin-bottom: 4px; }
.login-panel .login-intro { margin-bottom: 16px; padding: 0; color: var(--muted); font-size: 12px; }
.login-symbol { display: grid; place-items: center; width: 43px; height: 43px; margin-bottom: 17px; border-radius: 12px; background: #eaf3ff; color: var(--primary); }
.login-symbol svg { width: 23px; height: 23px; }
.sidebar.community-panel { position: relative; overflow: hidden; padding: 28px 24px; border-color: var(--deep); background: var(--deep); box-shadow: none; }
.community-panel::after { content: ''; position: absolute; right: -52px; bottom: -62px; width: 155px; height: 155px; border: 1px solid #3c6696; border-radius: 50%; pointer-events: none; }
.community-panel .eyebrow { color: var(--accent); font-size: 9px; }
.community-panel h2 { color: #fff; font-size: 25px; line-height: 1.55; }
.community-panel p { margin: 10px 0 18px; padding: 0; color: #d5e6fa; font-size: 12px; }
.community-panel a { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 20px; color: var(--accent); font-size: 12px; text-decoration: none; }
.community-panel a:hover { text-decoration: underline; }
.content_container_roomtop { border-color: #c7def6; background: #eff6ff; }

body.page-home #site_content { grid-template-columns: minmax(0, 1fr) 300px; grid-template-areas: 'header header' 'hero hero' 'discovery discovery' 'main side'; gap: 0 28px; }
body.page-home #header { margin-bottom: 0; }
body.page-home .discovery-strip { grid-area: discovery; }
body.page-home #content .content_item { margin: 0; }
.home-hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; min-height: 445px; margin: 0; padding: 35px 0 40px; overflow: visible; border-radius: 0; background: transparent; color: var(--ink); }
.home-hero::before, .home-hero::after { display: none; }
.hero-content { padding: 12px 0; }
.hero-eyebrow { gap: 8px; margin-bottom: 22px; padding: 5px 11px; border: 1px solid #d5e5f7; border-radius: 30px; background: #eaf4ff; color: #35658e; font-size: 11px; font-weight: 500; letter-spacing: 0; }
.hero-eyebrow::before, .status-dot { content: ''; display: inline-block; flex: none; width: 6px; height: 6px; border-radius: 50%; background: #398ac9; }
.home-hero h1 { margin-bottom: 20px; color: var(--deep); font-size: clamp(37px, 4.1vw, 58px); line-height: 1.38; letter-spacing: -.045em; }
.hero-highlight { position: relative; display: inline-block; color: #2878b7; }
.hero-highlight svg { position: absolute; bottom: -2px; left: 0; width: 100%; height: 12px; fill: none; stroke: #8acbfa; stroke-width: 5; stroke-linecap: round; }
.home-hero p { max-width: 480px; color: var(--muted); font-size: 14px; line-height: 1.95; }
.hero-actions { align-items: center; gap: 12px; margin-top: 25px; }
.hero-actions a { gap: 18px; min-height: 46px; padding: 12px 20px; border: 0; border-radius: 8px; color: var(--deep); font-size: 12px; font-weight: 600; transition: background .2s, transform .2s; }
.hero-actions a:first-child { background: var(--deep); color: #fff; }
.hero-actions a:first-child span { color: var(--accent); font-size: 19px; }
.hero-actions a:first-child:hover { background: #235b96; transform: translateY(-2px); }
.hero-actions a:last-child:hover { background: #eaf3ff; }
.hero-note { display: flex; align-items: center; gap: 11px; margin-top: 26px; color: #627990; font-size: 10px; }
.community-dots { display: flex; padding-left: 3px; }
.community-dots span { display: grid; place-items: center; width: 25px; height: 25px; margin-left: -3px; border: 2px solid var(--canvas); border-radius: 50%; background: #e6d7bf; color: #7b6851; font: 700 10px/1 'Segoe UI', sans-serif; }
.community-dots span:nth-child(2) { background: #c7e2fa; color: #376b96; }
.community-dots span:nth-child(3) { background: #dcd5e8; color: #79678e; }
.hero-art { position: relative; display: flex; flex-direction: column; align-items: center; min-width: 0; padding: 22px 0 15px; }
.hero-art > img { display: block; width: 100%; max-width: 520px; height: auto; }
.art-label { position: absolute; top: 12px; left: 50%; width: 100%; transform: translateX(-50%); color: #71869c; text-align: center; font: 500 8px/1.4 'Segoe UI', sans-serif; letter-spacing: 2.5px; }
.art-caption { display: flex; align-items: center; gap: 8px; margin-top: -16px; padding: 8px 15px; border: 1px solid #dae8f5; border-radius: 24px; background: #fafdff; color: #57728c; font-size: 10px; }
.discovery-strip { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; padding: 17px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.discovery-label { margin-right: auto; color: #506c88; font-size: 12px; font-weight: 600; }
.discovery-strip a { display: inline-flex; align-items: center; gap: 9px; padding: 7px 15px; border: 1px solid var(--line); border-radius: 30px; background: #fff; color: #4b6885; font-size: 11px; font-weight: 500; text-decoration: none; transition: border-color .2s, background .2s; }
.discovery-strip a > span { color: #3b75a5; font: 500 21px/1 'Segoe UI', sans-serif; }
.discovery-strip a:hover { border-color: #9ac5eb; background: #edf6ff; }
.home-panel { margin-bottom: 28px; padding: 27px 28px; border-radius: 14px; }
.section-heading { gap: 14px; margin-bottom: 20px; }
.eyebrow, .section-heading .eyebrow { display: block; margin-bottom: 6px; color: #557795; font: 600 9px/1.5 'Segoe UI', sans-serif; letter-spacing: 1.6px; }
.section-heading h2 { font-size: clamp(20px, 2vw, 25px); }
.heading-dot { color: #4599d7; }
.section-heading > a { padding-bottom: 3px; color: #456e94; font-size: 11px; font-weight: 500; }
.section-heading > a:hover { color: var(--deep); text-decoration: underline; }
.section-heading > a span { padding-left: 5px; }
.post-list li { margin: 0; }
.post-list li + li { border-color: #edf2f8; }
.post-row { gap: 16px; padding: 18px 0; }
.post-list li:last-child .post-row { padding-bottom: 3px; }
.post-row .post-number { display: block; align-self: flex-start; width: 27px; height: auto; padding-top: 2px; border-radius: 0; background: none; color: #8ca3bb; font: 500 16px/1.7 'Segoe UI', sans-serif; }
.post-thumbnail { width: 84px; height: 64px; border: 1px solid #e2ebf6; border-radius: 8px; background: #f0f6fd; }
.post-row h3 { margin-bottom: 6px; font-size: 14px; font-weight: 600; line-height: 1.7; letter-spacing: 0; }
.post-row h3 a { color: var(--ink); font-weight: inherit; }
.post-row time { color: #5d728b; font-size: 11px; }
.post-arrow { color: #8ba6bf; font: 400 19px/1 'Segoe UI', sans-serif; transition: transform .2s, color .2s; }
.post-row:hover .post-arrow { color: var(--primary); transform: translate(2px, -2px); }
.empty-state { padding: 27px 10px 20px; text-align: center; }
.empty-icon { display: inline-grid; place-items: center; flex: none; width: 51px; height: 51px; margin-bottom: 15px; border-radius: 14px; background: #edf5ff; color: #4884b5; font: 400 34px/1 'Segoe UI', sans-serif; }
.empty-state h3, .news-unavailable h3 { margin-bottom: 6px; font-size: 16px; }
.empty-state p, .news-unavailable p { padding: 0; color: var(--muted); font-size: 12px; }
.empty-state a, .news-unavailable a { display: inline-block; margin-top: 16px; font-size: 12px; }
.news-unavailable { display: flex; align-items: flex-start; gap: 18px; padding: 20px; border: 1px dashed #cfe2f5; border-radius: 10px; background: #f8fbff; }
.news-unavailable .empty-icon { margin: 0; }
.news-grid, .room-grid { gap: 14px; }
.news-card, .room-card { position: relative; padding: 22px; border-radius: 10px; background: #f7faff; }
.news-card:hover, .room-card:hover { transform: translateY(-3px); border-color: #9cbfe3; box-shadow: 0 7px 18px rgba(21,62,112,.05); }
.news-card-image { height: 160px; margin: -22px -22px 20px; border-radius: 9px 9px 0 0; background: #e7f1fd; }
.news-card-image img { transition: transform .3s; }
.news-card:hover img { transform: scale(1.04); }
.news-card .card-index, .room-card .card-index { margin-bottom: 10px; color: #517594; font: 600 9px/1.3 'Segoe UI', sans-serif; letter-spacing: 1.3px; }
.news-card h3, .room-card h3 { font-size: 16px; line-height: 1.6; }
.news-card p, .room-card p { font-size: 12px; font-weight: 400; line-height: 1.9; }
.news-card .card-arrow, .room-card .card-arrow { margin-top: 16px; color: #4d7da3; font: 400 21px/1 'Segoe UI', sans-serif; }
.room-card { padding: 24px; }
.room-card .card-arrow { position: absolute; right: 20px; top: 12px; }
.room-icon { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 20px; border-radius: 11px; background: #deedff; color: #3f79ab; font: 400 30px/1 'Segoe UI', sans-serif; }
.room-card:nth-child(2) { background: #f8f7fc; border-color: #e9e5f1; }
.room-card:nth-child(2) .room-icon { background: #e9e2f5; color: #8d75ac; }
.room-card:nth-child(2) .card-index { color: #756186; }
.room-card:nth-child(3) { background: #fbf9f4; border-color: #eee7da; }
.room-card:nth-child(3) .room-icon { background: #f3e6ce; color: #a18650; }
.room-card:nth-child(3) .card-index { color: #7d6b46; }
.room-card:nth-child(4) { background: #f4f9ff; border-color: #dce9f6; }
.room-card:nth-child(4) .room-icon { background: #dceefa; color: #5489b0; }
.room-card:nth-child(4) .card-index { color: #426e92; }
.room-icon svg { width: 23px; height: 23px; }
.discovery-strip a > span svg { display: block; width: 17px; height: 17px; }
.service-strip { gap: 20px; margin-bottom: 24px; padding: 30px; border: 1px solid #cee2f8; border-radius: 12px; background: #e5f1ff; }
.service-strip .eyebrow { color: #527b9f; }
.service-strip strong { display: block; color: var(--deep); font-size: 23px; font-weight: 700; }
.service-strip p { margin-top: 5px; color: #557490; font-size: 12px; }
.service-strip a { padding: 11px 15px; border: 1px solid #adcce9; border-radius: 8px; color: var(--deep); font-size: 11px; }
.service-strip a:hover { background: #d3e8ff; }
.service-strip a span { margin-left: 8px; }
#footer { padding: 30px 0; font-size: 12px; }
#footer .footer-links { gap: 18px; margin-top: 12px; font-size: 11px; }
#footer .footer-links a { text-decoration: none; }
#footer .footer-brand { margin-bottom: 24px; }
#footer .footer-brand a { color: var(--deep); font: 800 24px/1.3 'Segoe UI', sans-serif; letter-spacing: -.8px; text-decoration: none; }
#footer .footer-brand span { color: #5385b5; }
.footer-brand p { margin-top: 7px; padding: 0; font-size: 11px; }

@media (max-width: 1060px) {
  #site_content, #footer { width: calc(100% - 40px); }
  #menubar { gap: 16px; }
  .brand-copy strong { font-size: 20px; }
  ul#menu li a { padding: 10px 11px; font-size: 12px; }
  ul#menu li.menu-cta a { margin-left: 6px; padding: 10px 13px; }
  .home-hero { min-height: 400px; }
  .home-hero h1 { font-size: 45px; }
  .discovery-strip { gap: 8px; }
  .discovery-strip a { padding: 7px 11px; }
  .discovery-label { font-size: 11px; }
  body.page-home #site_content { grid-template-columns: minmax(0, 1fr) 270px; gap: 0 22px; }
  .home-panel { padding: 23px; }
  .sidebar { padding: 21px; }
  .section-heading { align-items: flex-start; flex-wrap: wrap; gap: 8px; }
}
@media (max-width: 930px) {
  #menubar { align-items: center; flex-direction: row; }
  #menu_items { width: auto; }
  ul#menu { justify-content: flex-end; }
  #content, .sidebar_container { width: 100%; }
  body.page-home #site_content { grid-template-columns: minmax(0, 1fr); grid-template-areas: 'header' 'hero' 'discovery' 'main' 'side'; gap: 0; }
  .sidebar_container { align-items: start; gap: 20px; margin-top: 0; }
  .sidebar { margin: 0; }
  .home-hero { gap: 0; }
  .home-hero h1 { font-size: 42px; }
  .home-hero p { font-size: 13px; }
  .hero-actions { gap: 4px; }
  .hero-actions a { gap: 10px; padding: 10px 13px; font-size: 11px; }
  .hero-note { font-size: 9px; }
  .discovery-label { width: 100%; margin-bottom: 4px; }
  .discovery-strip { margin-bottom: 24px; }
  .art-label { font-size: 7px; letter-spacing: 1.5px; }
}
@media (max-width: 760px) {
  #menubar { flex-wrap: wrap; min-height: 80px; padding: 17px 0; }
  #welcome { flex: 1; }
  #menu_items { width: 100%; }
  ul#menu { justify-content: flex-start; }
  #menu_items.menu-ready { width: auto; }
  .menu-ready .menu-toggle { display: inline-flex; }
  .menu-ready #menu { display: none; }
  .menu-ready.menu-open #menu { position: absolute; z-index: 20; top: calc(100% - 3px); right: 0; left: 0; display: flex; align-items: stretch; flex-direction: column; gap: 3px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: 0 14px 35px rgba(21,62,112,.12); }
  .menu-ready.menu-open #menu a { padding: 12px 15px; text-align: left; }
  .menu-ready.menu-open #menu .menu-cta a { margin: 4px 0 0; }
  .home-hero { grid-template-columns: 1fr .85fr; padding: 26px 0 30px; }
  .home-hero h1 { font-size: 37px; }
  .hero-eyebrow { margin-bottom: 18px; font-size: 10px; }
  .hero-note { margin-top: 21px; }
  .art-label { display: none; }
  .art-caption { padding: 6px 10px; font-size: 8px; }
}
@media (max-width: 620px) {
  #site_content, #footer { width: calc(100% - 32px); }
  #header { margin-bottom: 20px; }
  .brand-mark { width: 38px; height: 40px; font-size: 25px; border-radius: 11px 11px 11px 3px; }
  .brand-copy strong { font-size: 20px; }
  .brand-copy small { font-size: 9px; }
  .menu-toggle { padding: 8px 10px; font-size: 12px; }
  .home-hero { grid-template-columns: 1fr; gap: 4px; min-height: 0; padding: 28px 2px 26px; }
  .hero-content { padding: 0; }
  .home-hero h1 { font-size: clamp(36px, 8.5vw, 48px); line-height: 1.4; }
  .home-hero p { max-width: 100%; font-size: 13px; }
  .hero-eyebrow { margin-bottom: 20px; }
  .hero-actions { gap: 6px; margin-top: 22px; }
  .hero-actions a { min-height: 46px; padding: 10px 15px; font-size: 12px; }
  .hero-note { margin-top: 22px; font-size: 10px; }
  .hero-art { width: min(100%, 370px); margin: 10px auto 0; padding: 0; }
  .hero-art > img { width: 100%; }
  .art-caption { margin-top: -15px; font-size: 9px; }
  .discovery-strip { gap: 8px; padding: 18px 0; }
  .discovery-label { font-size: 12px; }
  .discovery-strip a { min-height: 40px; padding: 7px 12px; font-size: 11px; }
  .home-panel { margin-bottom: 20px; padding: 22px 18px; border-radius: 12px; }
  .section-heading { gap: 8px; margin-bottom: 16px; }
  .section-heading h2 { font-size: 22px; }
  .section-heading > a { padding-top: 2px; font-size: 10px; }
  .eyebrow, .section-heading .eyebrow { font-size: 8px; }
  .post-row { gap: 10px; padding: 16px 0; }
  .post-row .post-number { width: 19px; height: auto; font-size: 13px; }
  .post-row h3 { font-size: 13px; }
  .post-thumbnail { width: 56px; height: 56px; border-radius: 6px; }
  .post-arrow { display: none; }
  .room-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .room-card { padding: 18px 14px; }
  .room-card .card-index { font-size: 8px; letter-spacing: .6px; }
  .room-card h3 { font-size: 14px; }
  .room-card p { font-size: 11px; }
  .room-card p br { display: none; }
  .room-card .card-arrow { right: 12px; top: 5px; }
  .room-icon { width: 37px; height: 37px; margin-bottom: 17px; }
  .news-card-image { height: 185px; }
  .news-unavailable { flex-direction: column; gap: 12px; padding: 17px; }
  .service-strip { display: flex; align-items: flex-start; flex-direction: column; gap: 17px; padding: 24px; }
  .service-strip strong { font-size: 22px; }
  .service-strip a { margin-top: 0; }
  .sidebar_container { grid-template-columns: 1fr; gap: 20px; }
  .sidebar { padding: 24px; }
}
