.site-copyright {
  margin-top: 0;
  padding-top: 1.5rem;
  border-top: 1px solid #e5e7eb;
}

@media (min-width: 640px) {
  .site-copyright {
    padding-top: 1.75rem;
  }
}

.site-copyright__text {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.5;
  text-align: center;
  color: #6b7280;
}

/* Spacing below header — standalone pages only (FAQ, contact, etc.) */
.site-main {
  padding-top: 1.5rem;
}

body > .flex.flex-col.min-h-screen {
  overflow-x: clip;
  max-width: 100%;
}

.site-main:has(.breadcrumb-bar),
.site-main:has(.directory-top-banner),
.site-main:has(.standard-banner-carousel),
.site-main:has(.wlb-hero),
.site-main:has(.promo-hero),
.site-main:has(.home-masthead),
.site-main:has(.home-slider-section) {
  padding-top: 0;
}

.site-content {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

/* Extra top padding only on standalone pages (FAQ, contact, etc.) */
.page-section:not(.page-section--with-breadcrumb) {
  padding-top: 0;
}

@media (min-width: 640px) {
  .site-main {
    padding-top: 2rem;
  }

  .site-main:has(.breadcrumb-bar),
  .site-main:has(.directory-top-banner),
  .site-main:has(.standard-banner-carousel),
  .site-main:has(.wlb-hero),
.site-main:has(.promo-hero),
  .site-main:has(.home-masthead),
  .site-main:has(.home-slider-section) {
    padding-top: 0;
  }

  .site-content {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
}

@media (min-width: 1024px) {
  .site-main {
    padding-top: 2.5rem;
  }

  .site-main:has(.breadcrumb-bar),
  .site-main:has(.directory-top-banner),
  .site-main:has(.standard-banner-carousel),
  .site-main:has(.wlb-hero),
.site-main:has(.promo-hero),
  .site-main:has(.home-masthead),
  .site-main:has(.home-slider-section) {
    padding-top: 0;
  }

  .site-content {
    padding-top: 2.5rem;
  }
}

.site-flash {
  padding: 0.65rem 0;
  border-bottom: 1px solid transparent;
}

.site-flash__message {
  margin: 0;
  padding: 0.65rem 0.85rem;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.45;
  border-radius: 0.5rem;
}

.site-flash__message--success {
  color: #166534;
  background: #dcfce7;
  border: 1px solid #bbf7d0;
}

.site-flash__message--error {
  color: #991b1b;
  background: #fef2f2;
  border: 1px solid #fecaca;
}

.site-flash__message--info {
  color: var(--bharat-primary-dark);
  background: var(--bharat-primary-light);
  border: 1px solid var(--bharat-primary-muted);
}

/* Breadcrumb — left-aligned with page content column */
.breadcrumb-bar {
  border-bottom: 1px solid rgb(17 24 39 / 0.05);
}

.breadcrumb-bar__track {
  padding-block: 0.4375rem;
}

@media (min-width: 640px) {
  .breadcrumb-bar__track {
    padding-block: 0.5rem;
  }
}

.breadcrumb-bar__scroll {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #d1d5db rgb(17 24 39 / 0.05);
}

.breadcrumb-bar__scroll::-webkit-scrollbar {
  height: 3px;
}

.breadcrumb-bar__scroll::-webkit-scrollbar-track {
  background: rgb(17 24 39 / 0.05);
}

.breadcrumb-bar__scroll::-webkit-scrollbar-thumb {
  background: #d1d5db;
}

.breadcrumb-bar__scroll:focus {
  outline: none;
}

.breadcrumb-bar__scroll:focus-visible {
  outline: 2px solid var(--bharat-primary);
  outline-offset: 2px;
}

.breadcrumb-bar__scroll nav {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: max-content;
  max-width: 100%;
}

.breadcrumb-bar__list {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0;
  min-width: max-content;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumb-bar__item {
  display: flex;
  flex-shrink: 0;
  align-items: center;
}

.breadcrumb-bar__item + .breadcrumb-bar__item::before {
  content: '';
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  margin-inline: 0.375rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%239ca3af'%3E%3Cpath fill-rule='evenodd' d='M7.21 14.77a.75.75 0 01.02-1.06L11.168 10 7.23 6.29a.75.75 0 111.04-1.08l4.5 4.25a.75.75 0 010 1.08l-4.5 4.25a.75.75 0 01-1.06-.02z' clip-rule='evenodd'/%3E%3C/svg%3E") center / contain no-repeat;
}

.breadcrumb-bar__home {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  transition: color 0.15s ease;
}

.breadcrumb-bar__home:hover {
  color: #6b7280;
}

.breadcrumb-bar__home svg {
  display: block;
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
}

.breadcrumb-bar__link,
.breadcrumb-bar__current {
  font-size: 0.8125rem;
  line-height: 1.125rem;
  white-space: nowrap;
}

.breadcrumb-bar__link {
  font-weight: 500;
  color: #6b7280;
  text-decoration: none;
  transition: color 0.15s ease;
}

.breadcrumb-bar__link:hover {
  color: #374151;
}

.breadcrumb-bar__current {
  font-weight: 700;
  color: var(--bharat-primary);
}

@media (max-width: 767px) {
  .breadcrumb-bar__scroll {
    scrollbar-width: none;
  }

  .breadcrumb-bar__scroll::-webkit-scrollbar {
    display: none;
    height: 0;
  }
}
