.faq-hub-page {
  background-color: #f6f8fb;
}

.faq-hub-hero {
  position: relative;
  overflow: visible;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  padding-bottom: 2.5rem;
}

.faq-hub-hero .page-bg-header {
  padding-top: 6.5rem !important;
  padding-bottom: 2rem !important;
}

@media (min-width: 768px) {
  .faq-hub-hero .page-bg-header {
    padding-top: 7rem !important;
  }
}

.faq-hub-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(233, 173, 40, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(233, 173, 40, 0.1) 0%, transparent 50%);
}

.faq-hub-hero-content {
  position: relative;
  z-index: 1;
}

.faq-hub-hero .form-control {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(233, 173, 40, 0.3);
  color: #fff;
  backdrop-filter: blur(10px);
}

.faq-hub-hero .form-control::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.faq-hub-hero .form-control:focus {
  background: rgba(255, 255, 255, 0.15);
  border-color: #e9ad28;
  box-shadow: 0 0 20px rgba(233, 173, 40, 0.3);
  color: #fff;
}

.faq-topic-card {
  border: 1px solid #e8ecf1;
  border-radius: 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  height: 100%;
  background: #fff;
}

.faq-topic-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(15, 52, 96, 0.08);
  border-color: #e9ad28;
  text-decoration: none;
}

.faq-topic-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: linear-gradient(135deg, #1a1a2e, #0f3460);
  color: #e9ad28;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.faq-article-row {
  border-bottom: 1px solid #eef1f5;
  padding: 1rem 0;
}

.faq-article-row:last-child {
  border-bottom: none;
}

.faq-article-row a {
  color: #1a1a2e;
  font-weight: 600;
}

.faq-article-row a:hover {
  color: #0f3460;
}

.faq-featured-card {
  border: 1px solid #e8ecf1;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  transition: box-shadow 0.2s ease;
  height: 100%;
}

.faq-featured-card h3 {
  line-height: 1.35;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.faq-featured-card .faq-card-desc {
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.faq-article-row p {
  line-height: 1.5;
  word-wrap: break-word;
}

.faq-featured-card:hover {
  box-shadow: 0 8px 24px rgba(15, 52, 96, 0.1);
}

.faq-filter-input {
  max-width: 420px;
}

.faq-breadcrumb-bar {
  font-size: 0.9rem;
}

.faq-breadcrumb-bar a {
  color: #0f3460;
  text-decoration: none;
}

.faq-breadcrumb-bar a:hover {
  text-decoration: underline;
}

.faq-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #0f3460;
  font-weight: 600;
  text-decoration: none;
  margin-bottom: 1rem;
}

.faq-back-link:hover {
  color: #e9ad28;
}

.badge-faq-hub {
  background-color: #e9ad28 !important;
  color: #1a1a2e !important;
}

.faq-hub-section-title {
  font-weight: 700;
  color: #1a1a2e;
}

.faq-cta-box {
  background: linear-gradient(135deg, #1a1a2e 0%, #0f3460 100%);
  border-radius: 12px;
  color: #fff;
}

.faq-cta-box .btn-faq-cta {
  background: #e9ad28;
  border: none;
  color: #1a1a2e;
  font-weight: 600;
}

.faq-cta-box .btn-faq-cta:hover {
  background: #f0bc42;
  color: #1a1a2e;
}

.faq-article-hidden {
  display: none !important;
}

.faq-hub-question-list li {
  list-style: none;
}

.faq-hub-question-list .faq-article-row {
  padding: 0.75rem 0;
}

.faq-micro-page {
  max-width: 720px;
}

.faq-micro-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1a1a2e;
  line-height: 1.35;
  margin-bottom: 1.25rem;
}

.faq-micro-body p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #444;
  margin-bottom: 1rem;
}

.faq-micro-cta a,
.faq-micro-related a {
  color: #0f3460;
  font-weight: 600;
}

.faq-micro-cta a:hover,
.faq-micro-related a:hover {
  color: #e9ad28;
}

.faq-hub-page .faq-hub-main {
  padding-top: 1rem;
  padding-bottom: 3rem;
}

.faq-hub-page .coliving-faq-post-content {
  padding-top: 5.5rem;
}

@media (min-width: 768px) {
  .faq-hub-page .coliving-faq-post-content {
    padding-top: 6rem;
  }
}

/* ── Full-page FAQ post layout ──────────────────────────────────────── */

.faq-post-body {
  background-color: #f6f8fb;
}

.faq-post-hero {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  position: relative;
  overflow: hidden;
  padding-top: 6.5rem;
  padding-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .faq-post-hero {
    padding-top: 7.5rem;
    padding-bottom: 3rem;
  }
}

.faq-post-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 85%, rgba(233,173,40,0.12) 0%, transparent 55%),
    radial-gradient(circle at 85% 15%, rgba(233,173,40,0.08) 0%, transparent 55%);
  pointer-events: none;
}

.faq-post-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
}

.faq-post-breadcrumb {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
}

.faq-post-breadcrumb a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
}

.faq-post-breadcrumb a:hover {
  color: #e9ad28;
  text-decoration: underline;
}

.faq-post-hero-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
  .faq-post-hero-title {
    font-size: 2.25rem;
  }
}

.faq-post-hero-desc {
  color: rgba(255,255,255,0.75);
  font-size: 1.05rem;
  max-width: 640px;
  margin-bottom: 0;
  line-height: 1.6;
}

.faq-post-container {
  padding-top: 2.5rem;
}

.faq-post-article {
  background: #fff;
  border: 1px solid #e8ecf1;
  border-radius: 14px;
  padding: 2rem;
  box-shadow: 0 2px 12px rgba(15,52,96,0.06);
}

@media (min-width: 768px) {
  .faq-post-article {
    padding: 2.5rem 3rem;
  }
}

.faq-post-body-content p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #333;
  margin-bottom: 1.1rem;
}

.faq-post-body-content h2,
.faq-post-body-content h3 {
  color: #1a1a2e;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.faq-post-body-content ul,
.faq-post-body-content ol {
  font-size: 1.025rem;
  line-height: 1.75;
  color: #333;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.faq-post-cta-box {
  background: #f0f4fa;
  border-left: 4px solid #e9ad28;
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
}

.faq-post-cta-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #1a1a2e, #0f3460);
  border-radius: 8px;
  color: #e9ad28;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.faq-post-cta-link {
  color: #0f3460;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.97rem;
}

.faq-post-cta-link:hover {
  color: #e9ad28;
}

.faq-post-related-link {
  font-size: 0.95rem;
  color: #555;
}

.faq-post-related-link a {
  color: #0f3460;
  font-weight: 600;
  text-decoration: none;
}

.faq-post-related-link a:hover {
  color: #e9ad28;
}

.faq-post-back {
  padding-top: 1.25rem;
  border-top: 1px solid #eef1f5;
}

/* Sidebar */

.faq-sidebar-cta {
  background: linear-gradient(135deg, #1a1a2e 0%, #0f3460 100%);
  border-radius: 12px;
  color: #fff;
  padding: 1.5rem;
}

.faq-sidebar-related {
  background: #fff;
  border: 1px solid #e8ecf1;
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
}

.faq-sidebar-related-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1a1a2e;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
}

.faq-sidebar-related-item {
  border-bottom: 1px solid #eef1f5;
  padding: 0.6rem 0;
}

.faq-sidebar-related-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.faq-sidebar-related-item a {
  color: #1a1a2e;
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  line-height: 1.45;
  display: block;
}

.faq-sidebar-related-item a:hover {
  color: #0f3460;
}

.faq-sidebar-categories {
  background: #fff;
  border: 1px solid #e8ecf1;
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
}

.faq-sidebar-cat-link {
  display: flex;
  align-items: center;
  font-size: 0.9rem;
  font-weight: 500;
  color: #444;
  text-decoration: none;
  padding: 0.45rem 0;
  border-bottom: 1px solid #f0f0f0;
}

.faq-sidebar-cat-link:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.faq-sidebar-cat-link:hover {
  color: #0f3460;
}
