/* BUILD WIDE beta shell: shared safety and responsive behavior. */
:root {
  --fmx-beta-container: 1180px;
  --fmx-beta-space: clamp(40px, 6vw, 76px);
  --fmx-beta-radius: 10px;
}

.site-main { overflow: clip; }
.site-main img { max-width: 100%; height: auto; }
.site-main h1,
.site-main h2,
.site-main h3 { overflow-wrap: anywhere; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #ffe500;
  outline-offset: 3px;
}

.fm-beta-empty,
.fm-empty-v14 {
  padding: 22px;
  border: 1px dashed #cfc5b4;
  background: #faf7f0;
  color: #4e493f;
}
.fm-beta-empty strong { display: block; margin-bottom: 6px; color: #171717; }
.fm-beta-empty p { margin: 0; }

.fm-final-team-focus li > a {
  display: block;
  color: inherit;
  text-decoration: none;
}
.fm-final-team-focus li > a:hover strong { color: var(--fm-yellow, #ffe500); }

.entry-content table { display: block; max-width: 100%; overflow-x: auto; }
.pagination a,
.pagination span { min-width: 40px; min-height: 40px; }

.fmx-beta-intro { margin-bottom: 24px; color: #4e493f; }
.fmx-beta-intro p { margin: 0; }

.fmx-search-result-card { min-width: 0; background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; }
.fmx-search-result-card__link { display: flex; min-height: 100%; flex-direction: column; gap: 10px; padding: 22px; }
.fmx-search-result-card__type { align-self: flex-start; padding: 3px 8px; background: #ffe500; color: #111; font-size: 11px; font-weight: 900; }
.fmx-search-result-card h2 { margin: 0; font-size: 20px; line-height: 1.45; }
.fmx-search-result-card p { margin: 0; color: #5f6368; }
.fmx-search-result-card__cta { margin-top: auto; font-size: 13px; font-weight: 900; }

.fmx-correction-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 28px 0; padding: 22px; border: 1px solid #d8d1c5; background: #faf7f0; }
.fmx-correction-cta span { display: block; color: #766b56; font-size: 10px; font-weight: 900; letter-spacing: .16em; }
.fmx-correction-cta strong { display: block; margin-top: 4px; }
.fmx-correction-cta p { margin: 4px 0 0; color: #5f5a51; font-size: 13px; }
.fmx-correction-cta > a { flex: 0 0 auto; min-height: 44px; padding: 11px 18px; background: #111; color: #fff; font-weight: 900; }

.ad-slot { flex-direction: column; gap: 2px; min-height: 64px; }
.ad-slot small { color: #8d7777; font-size: 10px; font-weight: 700; }
.fmx-404-page .fmx-search-form-large { margin-top: 24px; }
.fmx-contact-router__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 22px; }
.fmx-contact-router__grid a { display: flex; min-height: 112px; flex-direction: column; justify-content: center; gap: 5px; padding: 18px; border: 1px solid #ddd5c8; background: #faf7f0; }
.fmx-contact-router__grid strong { color: #111; }
.fmx-contact-router__grid span { color: #625d54; font-size: 13px; }
.fm-kosal-travel-breadcrumbs { padding-top: 16px; }
.fm-kosal-travel-breadcrumbs .breadcrumbs { color: #5f6368; }
.fm-kosal-travel-breadcrumbs .breadcrumbs a { color: #111; }

@media (max-width: 900px) {
  .fm-site-header__inner { min-width: 0; }
  .fm-site-header__logo img { max-width: min(190px, 42vw); }
  .layout-with-sidebar,
  .fm-archive-layout-v14,
  .fm-detail-layout-v14 { grid-template-columns: minmax(0, 1fr) !important; }
  .sidebar,
  .fm-archive-side-v14,
  .fm-detail-side-v14 { width: 100%; }
}

@media (max-width: 560px) {
  .fm-site-header__cta { display: none !important; }
  .fm-site-header__actions { margin-left: auto; }
  .fm-site-header__inner { padding-right: 78px; }
  .fm-page-hero-v14__buttons,
  .fm-team-hero-v14__copy .fm-page-hero-v14__buttons { display: grid; grid-template-columns: 1fr; }
  .fm-btn,
  .fm-final-btn { width: 100%; }
  .fm-fat-footer__bottom,
  .fm-fat-footer__bottom nav { display: grid !important; gap: 10px; }
  .fmx-correction-cta { align-items: stretch; flex-direction: column; }
  .fmx-correction-cta > a { text-align: center; }
  .fmx-search-result-card__link { padding: 18px; }
  .fmx-contact-router__grid { grid-template-columns: 1fr; }
}
