/* Optilo launch polish: Thai-first header and community surface */
header#home nav,
header.header-style-01 .navbar,
header.header-style-01 .nav-container,
.navbar.navbar-area {
  background: rgba(255, 255, 255, 0.94) !important;
  backdrop-filter: blur(16px);
}

header#home nav .container,
header.header-style-01 .nav-container,
header.header-style-01 .container.bg-white.nav-container {
  align-items: center !important;
  gap: 1rem !important;
}

header#home nav .navbar-right-content,
header#home nav .navbar-right-flex,
header.header-style-01 .navbar-right-content,
header.header-style-01 .navbar-right-flex {
  display: flex !important;
  align-items: center !important;
  gap: .6rem !important;
  flex-wrap: nowrap !important;
}

header#home nav .navbar-right-btn,
header.header-style-01 .navbar-right-btn {
  display: inline-flex !important;
  align-items: center !important;
}

.language-switcher,
header#home nav .language-switcher,
header.header-style-01 .language-switcher {
  display: inline-flex !important;
  align-items: center !important;
  gap: .35rem !important;
  white-space: nowrap !important;
  flex-wrap: nowrap !important;
}

.language-switcher a,
.language-switcher button,
header#home nav .navbar-right-btn a,
header.header-style-01 .navbar-right-btn a {
  white-space: nowrap !important;
}

header#home nav .logo img,
header#home nav img.site-dark-logo,
header.header-style-01 .logo img,
header.header-style-01 img.site-dark-logo {
  max-height: 48px;
  width: auto;
}

.profile-settings-area.section-bg-2,
.community-shell,
.contact-question,
.contact-question-search,
.most-search-single,
.community-hero-card,
.community-panel-card,
.community-list-card {
  border: 1px solid rgba(148, 163, 184, 0.18) !important;
  border-radius: 28px !important;
  background: rgba(255, 255, 255, 0.94) !important;
  box-shadow: 0 18px 60px -38px rgba(15, 23, 42, 0.45) !important;
}

.profile-settings-area.section-bg-2,
.community-shell {
  background:
    radial-gradient(circle at top left, rgba(20, 184, 166, 0.10), transparent 28%),
    radial-gradient(circle at top right, rgba(59, 130, 246, 0.10), transparent 30%),
    linear-gradient(180deg, rgba(255,255,255,0.92) 0%, rgba(248,250,252,0.98) 100%) !important;
}

.community-hero-title,
.contact-question-search-title {
  letter-spacing: -.03em;
}

.contact-question-search-form-flex {
  gap: .75rem;
}

.contact-question-search .single-input input {
  min-height: 54px;
  border-radius: 999px !important;
}

.question_tips_search_type .btn,
.question_tips_search_type select,
.language-switcher .btn {
  border-radius: 999px !important;
}

@media (max-width: 991px) {
  header#home nav .navbar-right-content,
  header.header-style-01 .navbar-right-content {
    flex-wrap: wrap !important;
    justify-content: flex-end;
  }

  .contact-question-search-form-flex {
    flex-direction: column;
  }
}