/* Bangkok Local SEO / lightweight, accessible public coverage module.
   Scoped to .rbk-local so it never changes the site's hero, images or footer. */
.rbk-local {
  --local-ink: #19324d;
  --local-blue: #1f69b6;
  --local-line: #dbe5ef;
  --local-muted: #60758b;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  padding: clamp(20px, 3vw, 38px) 0;
  color: var(--local-ink);
  font-family: "Noto Sans Thai", Tahoma, "Segoe UI", sans-serif;
  text-align: left;
}
.rbk-local *, .rbk-local *::before, .rbk-local *::after { box-sizing: border-box; }
.rbk-local__shell {
  width: min(1120px, calc(100% - 32px));
  max-width: 100%;
  min-width: 0;
  margin: auto;
  padding: clamp(16px, 2.4vw, 26px);
  border-radius: 24px;
  border: 1px solid var(--local-line);
  background: linear-gradient(180deg,#fff 0%,#f7faff 100%);
  box-shadow: 0 14px 34px rgba(18,55,94,.065);
  overflow: hidden;
}
.rbk-local__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.rbk-local__top > div { min-width: 0; }
.rbk-local__eyebrow {
  display: block; margin-bottom: 6px; color: var(--local-blue);
  font-size: 11px; line-height: 1.4; letter-spacing: .13em; font-weight: 800;
}
.rbk-local h2 {
  margin: 0 0 7px; color: #102c47;
  font-size: clamp(20px,2.25vw,26px); line-height: 1.4; font-weight: 800;
}
.rbk-local__top p {
  margin: 0; max-width: 800px; font-size: 13.5px; line-height: 1.85;
  color: var(--local-muted);
}
.rbk-local__number {
  display: inline-flex; align-items: center; flex: 0 0 auto;
  padding: 10px 14px; border-radius: 13px;
  border: 1px solid #b9d4f1; background: #eaf4ff;
  color: #164e8e; font-size: 14px; font-weight: 900; white-space: nowrap;
}
.rbk-local__spots { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin-top: 16px; }
.rbk-local__spot {
  min-width: 0; padding: 13px 15px; border: 1px solid #d8e6f5;
  border-radius: 15px; background: #fff;
  display: flex; flex-direction: column; gap: 4px;
}
.rbk-local__spot-label { color: #49769f; font-size: 11px; font-weight: 700; }
.rbk-local__spot strong { font-size: 16px; font-weight: 800; color: #183f69; line-height: 1.4; }
.rbk-local__spot small { font-size: 12px; font-weight: 500; color: #6b8095; line-height: 1.5; overflow-wrap: anywhere; }
.rbk-local__all {
  margin-top: 13px; border: 1px solid var(--local-line);
  border-radius: 15px; background: #fff;
  overflow: hidden;
}
.rbk-local summary { cursor: pointer; list-style: none; }
.rbk-local summary::-webkit-details-marker { display: none; }
.rbk-local__all > summary {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 12px 15px;
  color: #1c456e;
}
.rbk-local__all > summary > span:first-child { font-weight: 800; font-size: 13.5px; }
.rbk-local__all > summary > small { color: var(--local-muted); font-size: 11px; margin-left: auto; }
.rbk-local__arrow {
  flex: 0 0 9px; width: 9px; height: 9px;
  border-right: 2px solid #4b7299; border-bottom: 2px solid #4b7299;
  transform: rotate(45deg); transition: transform .18s ease;
}
.rbk-local__all[open] .rbk-local__arrow { transform: rotate(225deg); }
.rbk-local__district-grid {
  display: grid; grid-template-columns: repeat(2,minmax(0,1fr));
  align-items: start; gap: 9px; max-height: 440px;
  overflow-y: auto; overscroll-behavior: contain;
  padding: 12px; border-top: 1px solid var(--local-line);
  background: #f8fbff;
}
.rbk-local__district {
  min-width: 0; border: 1px solid #dbe6f2; border-radius: 11px;
  background: #fff; overflow: hidden;
}
.rbk-local__district > summary {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 5px 10px; padding: 10px 11px;
}
.rbk-local__district > summary span { font-size: 12.75px; font-weight: 750; color: #204b74; }
.rbk-local__district > summary small { font-size: 10.5px; color: #617991; }
.rbk-local__district[open] { border-color: #b2cee9; }
.rbk-local__district[open] > summary { background: #eef6ff; }
.rbk-local__district-body { padding: 11px; border-top: 1px solid #e5edf5; }
.rbk-local__district-body p { margin: 0 0 6px; font-size: 12px; line-height: 1.85; color: #46627d; overflow-wrap: anywhere; }
.rbk-local__district-body p:last-child { margin-bottom: 0; }
.rbk-local__district-body b { color: #244e77; }
.rbk-local__bottom {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px 18px; margin-top: 12px; flex-wrap: wrap;
}
.rbk-local__bottom > span { color: var(--local-muted); font-size: 11.5px; line-height: 1.7; }
.rbk-local a.rbk-local__contact {
  display: inline-flex; align-items: center; gap: 8px;
  color: #115fa8; font-size: 12.5px; font-weight: 800; text-decoration: none;
}
.rbk-local a.rbk-local__contact:hover { text-decoration: underline; }
.rbk-local summary:focus-visible, .rbk-local a:focus-visible { outline: 2px solid #1882d6; outline-offset: 2px; }
@media (max-width: 640px) {
  .rbk-local { padding: 18px 0; }
  .rbk-local__shell { width: calc(100% - 24px); padding: 15px; border-radius: 18px; }
  .rbk-local__top { gap: 8px; }
  .rbk-local__number { padding: 7px 9px; font-size: 12px; }
  .rbk-local h2 { font-size: clamp(18px,5vw,22px); }
  .rbk-local__top p { font-size: 12.75px; line-height: 1.8; }
  .rbk-local__spots { gap: 8px; }
  .rbk-local__spot { padding: 11px 10px; }
  .rbk-local__spot strong { font-size: 14px; }
  .rbk-local__spot small { font-size: 11px; }
  .rbk-local__all > summary { flex-wrap: wrap; gap: 4px 8px; padding: 11px; }
  .rbk-local__all > summary > small { order: 3; width: 100%; margin-left: 0; }
  .rbk-local__district-grid { grid-template-columns: 1fr; max-height: 360px; padding: 9px; }
}
@media (max-width: 320px) {
  .rbk-local__spots { grid-template-columns: 1fr; }
  .rbk-local__top { flex-wrap: wrap; }
}
