/* TDFS demo brand overrides (example file)
   This file shows how a product team can layer brand styling on top of TXDS components. */

.tdfs-brand .tdfs-brand-nav-shell {
  background: var(--txds-color-primary-50) !important;
  border-bottom: 2px solid var(--txds-color-primary-10);
  box-shadow: 0 4px 14px rgba(42, 61, 78, 0.28);
}

.tdfs-brand .tdfs-brand-nav {
  background: transparent;
  border-bottom: 0;
  box-shadow: none;
  border-radius: 0;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 64px;
}

.tdfs-brand .txds-desktop-nav__left {
  align-items: center;
}

.tdfs-brand .tdfs-brand-nav-links-wrap {
  position: relative;
}

.tdfs-brand .txds-desktop-nav__logo {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  height: auto;
}

.tdfs-brand .tdfs-brand-wordmark {
  display: inline-flex;
  align-items: center;
  font-family: "Geologica", sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  color: #fff;
  letter-spacing: -0.01em;
}

.tdfs-brand .txds-desktop-nav__links {
  height: 62px;
  align-items: center;
}

.tdfs-brand .txds-desktop-nav__links > li {
  display: flex;
  align-items: center;
}

.tdfs-brand .tdfs-nav-menu-trigger {
  appearance: none;
  -webkit-appearance: none;
  background: none;
  border: 0;
  padding: 0;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
  white-space: nowrap;
  text-decoration: none;
  color: var(--txds-color-gray-05);
  cursor: pointer;
}

.tdfs-brand .txds-desktop-nav__search-input {
  border: 1px solid #8f7a50;
  gap: 8px;
}

.tdfs-brand .txds-desktop-nav__search-input input {
  background: #ffffff;
  border: 1px solid #6b7280;
  border-radius: 2px;
  min-height: 32px;
  padding: 4px 8px;
  color: #111827;
}

.tdfs-brand .txds-desktop-nav__search-input input::placeholder {
  color: #4b5563;
  opacity: 1;
}

.tdfs-brand .tdfs-brand-page-header-inner {
  padding: 48px 64px;
  min-height: auto;
}

.tdfs-brand .txds-footer__links-list {
  list-style: none !important;
  margin: 0;
  padding-left: 0;
}

.tdfs-brand .txds-footer__links-list li {
  list-style: none !important;
}

.tdfs-brand .txds-footer__links-list li::marker {
  content: "";
}

.tdfs-brand .tdfs-mobile-menu-toggle,
.tdfs-brand .tdfs-mobile-menu-panel {
  display: none;
}

.tdfs-brand .tdfs-mobile-menu-toggle.txds-mobile-menu-btn--default .txds-mobile-menu-btn__label,
.tdfs-brand .tdfs-mobile-menu-toggle.txds-mobile-menu-btn--default .txds-mobile-menu-btn__icon svg {
  color: var(--txds-color-gray-05);
  stroke: var(--txds-color-gray-05);
}

.tdfs-brand .tdfs-mobile-menu-toggle[aria-expanded="true"] .txds-mobile-menu-btn__label,
.tdfs-brand .tdfs-mobile-menu-toggle[aria-expanded="true"] .txds-mobile-menu-btn__icon svg {
  color: var(--txds-color-secondary-10);
  stroke: var(--txds-color-secondary-10);
}

.tdfs-brand.tdfs-mobile-menu-open {
  overflow: hidden;
}

.tdfs-component-map {
  max-width: 1400px;
  margin: 0 auto;
  padding: 24px 64px 8px;
}

.tdfs-component-map__heading {
  margin: 0 0 8px;
  font-family: "Geologica", sans-serif;
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--txds-color-primary-60);
}

.tdfs-component-map__intro {
  margin: 0 0 12px;
  color: var(--txds-color-gray-70);
}

.tdfs-component-map__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.tdfs-component-map__list a {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border: 1px solid var(--txds-color-gray-30);
  border-radius: 999px;
  color: var(--txds-color-primary-60);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  background: #fff;
}

.tdfs-component-map__list a:hover {
  background: var(--txds-color-primary-10);
  border-color: var(--txds-color-primary-40);
}

.tdfs-component-map__note {
  margin: 12px 0 0;
  font-size: 0.875rem;
  color: var(--txds-color-gray-70);
}

@media (max-width: 1100px) {
  .tdfs-brand .tdfs-brand-nav {
    padding: 0 24px;
  }

  .tdfs-brand .tdfs-brand-wordmark {
    font-size: 1rem;
  }

  .tdfs-brand .txds-desktop-nav__search {
    min-width: 0;
  }

  .tdfs-brand .txds-desktop-nav__search-input {
    width: 180px;
    min-width: 0;
  }

  .tdfs-brand .txds-desktop-nav__search-input input {
    min-width: 0;
  }
}

@media (max-width: 900px) {
  .tdfs-brand .tdfs-brand-nav {
    display: none;
  }

  .tdfs-brand .tdfs-brand-nav-shell {
    padding: 8px 16px;
  }

  .tdfs-brand .tdfs-brand-page-header-inner {
    padding: 40px 24px;
  }

  .tdfs-component-map {
    padding: 20px 24px 4px;
  }

  .tdfs-brand .tdfs-mobile-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
  }

  .tdfs-brand .tdfs-mobile-menu-panel[hidden] {
    display: none !important;
  }

  .tdfs-brand .tdfs-mobile-menu-panel:not([hidden]) {
    display: flex;
    width: 100%;
    max-width: none;
    margin-top: 8px;
    border-radius: 0;
    box-shadow: none;
  }

  .tdfs-brand .tdfs-mobile-menu-panel .txds-mobile-menu__logo {
    height: auto;
  }

  .tdfs-brand .tdfs-mobile-menu-panel .tdfs-brand-wordmark {
    font-size: 1rem;
    line-height: 1.2;
  }
}
