/* Header and footer aligned with talentpicker.io public layout */

.topbar {
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 30;
  background: #fff;
  border: 0;
  box-shadow: none;
}

body.admin-bar .topbar {
  top: 32px;
}

@media (max-width: 782px) {
  body.admin-bar .topbar {
    top: 46px;
  }
}

.tp-bar {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  min-height: 84px;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .tp-bar {
    padding: 24px 40px;
  }
}

@media (min-width: 1024px) {
  .tp-bar {
    padding: 24px 48px;
  }
}

.tp-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #27272a;
}

.tp-logo:hover {
  text-decoration: none;
}

.tp-logo-mark {
  display: block;
  height: 28px;
  width: auto;
}

.tp-logo-text {
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  color: #27272a;
}

.tp-nav {
  display: none;
}

@media (min-width: 768px) {
  .tp-nav {
    display: flex;
    align-items: center;
    gap: 48px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 30;
  }
}

.tp-nav-link {
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: #3f3f46;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s;
  white-space: nowrap;
}

.tp-nav-link:hover,
.tp-nav-link.is-active {
  color: #6a40bf;
  text-decoration: none;
}

.tp-nav-link.is-active {
  font-weight: 600;
}

.tp-drop {
  position: relative;
  z-index: 1;
}

.tp-drop.is-open {
  z-index: 40;
}

.tp-drop-bridge {
  position: absolute;
  top: 100%;
  left: 50%;
  width: 200%;
  height: 8px;
  transform: translateX(-50%);
  pointer-events: none;
}

.tp-drop.is-open .tp-drop-bridge {
  pointer-events: auto;
}

.tp-drop-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 360px;
  background: #fff;
  border: 1px solid #e4e4e7;
  border-radius: 12px;
  box-shadow: 0 16px 24px rgba(24, 24, 27, 0.1);
  padding-bottom: 16px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 50;
}

.tp-drop--compact .tp-drop-panel {
  min-width: 180px;
  padding-bottom: 0;
}

.tp-drop.is-open .tp-drop-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.tp-drop-layout {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 24px;
}

.tp-drop--compact .tp-drop-layout {
  padding: 16px;
}

@media (min-width: 1024px) {
  .tp-drop-layout {
    flex-direction: row;
    gap: 48px;
  }
}

.tp-drop-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  min-width: 280px;
}

.tp-drop--compact .tp-drop-col {
  min-width: 0;
}

.tp-drop-col--split {
  border-right: 1px solid #e4e4e7;
  padding-right: 24px;
}

.tp-drop-side {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 32px;
  min-width: 520px;
}

.tp-drop-side .tp-drop-col {
  min-width: 240px;
}

.tp-drop-heading {
  margin: 0;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  color: #71717a;
}

.tp-drop-item {
  display: block;
  width: 100%;
  padding: 4px 0;
  color: #3f3f46;
  text-decoration: none;
  box-sizing: border-box;
}

.tp-drop-item:hover {
  color: #6a40bf;
  text-decoration: none;
}

.tp-drop-item.is-highlight {
  background: #f5effc;
  border-radius: 6px;
  box-shadow: 0 0 0 6px #f5effc;
}

.tp-drop-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tp-drop-row.is-top {
  align-items: flex-start;
}

.tp-drop-row.is-top .tp-drop-icon {
  margin-top: 2px;
}

.tp-drop-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 6px;
  background: color-mix(in srgb, #6a40bf 5%, white);
  color: #6a40bf;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tp-drop-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

.tp-drop-label {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  color: #27272a;
}

.tp-drop-desc {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  color: #71717a;
}

.tp-cta {
  display: none;
  align-items: center;
  gap: 12px;
}

@media (min-width: 768px) {
  .tp-cta {
    display: flex;
  }
}

.tp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  height: 36px;
  padding: 0 14px;
  border-radius: 4px;
  border: 1px solid transparent;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}

.tp-btn-solid {
  background: #6a40bf;
  border-color: #6a40bf;
  color: #fff;
}

.tp-btn-solid:hover {
  background: #6a40bf;
  border-color: #6a40bf;
  color: #fff;
  text-decoration: none;
}

.tp-btn-outline {
  background: transparent;
  border-color: #e4e4e7;
  color: #27272a;
}

.tp-btn-outline:hover {
  background: #f4f4f5;
  color: #27272a;
  text-decoration: none;
}

.tp-btn-lg {
  height: 40px;
  padding: 0 16px;
  width: 100%;
}

.tp-burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: auto;
  height: 36px;
  padding: 0 8px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

@media (min-width: 768px) {
  .tp-burger {
    display: none;
  }
}

.tp-burger-icon {
  position: relative;
  display: block;
  width: 18px;
  height: 2px;
  background: #27272a;
}

.tp-burger-icon::before,
.tp-burger-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: #27272a;
}

.tp-burger-icon::before {
  top: -6px;
}

.tp-burger-icon::after {
  top: 6px;
}

.tp-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(17, 16, 34, 0.75);
  backdrop-filter: blur(4px);
}

.tp-overlay.is-open {
  display: block;
}

.tp-sheet {
  background: #fff;
  width: 100%;
  height: 100%;
  padding: 16px;
  overflow-y: auto;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .tp-sheet {
    padding: 24px;
  }
}

.tp-sheet-top {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-bottom: 16px;
}

@media (min-width: 768px) {
  .tp-sheet-top {
    margin-bottom: 24px;
  }
}

.tp-sheet-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #27272a;
  cursor: pointer;
}

.tp-sheet-nav {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 24px;
}

.tp-mobile-label {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  color: #71717a;
}

.tp-mobile-links,
.tp-acc-panel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.tp-mobile-link,
.tp-mobile-sub {
  color: #27272a;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
}

.tp-mobile-sub {
  color: #3f3f46;
  font-weight: 400;
}

.tp-mobile-link:hover,
.tp-mobile-sub:hover,
.tp-acc-btn:hover {
  color: #6a40bf;
  text-decoration: none;
}

.tp-mobile-link.is-highlight {
  background: #f5effc;
  border-radius: 6px;
  box-shadow: 0 0 0 6px #f5effc;
}

.tp-acc-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border: 0;
  background: transparent;
  color: #27272a;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.tp-acc-btn svg {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.tp-acc.is-open .tp-acc-btn svg {
  transform: rotate(180deg);
}

.tp-acc-panel {
  display: none;
  padding: 8px 0 0 16px;
}

.tp-acc.is-open .tp-acc-panel {
  display: flex;
}

.tp-sheet-cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 16px;
}

.seo-footer {
  background: #18181b;
  color: #d4d4d8;
  margin-top: auto;
}

.tp-footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 48px 24px;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .tp-footer-inner {
    padding: 64px 40px;
  }
}

@media (min-width: 1024px) {
  .tp-footer-inner {
    padding: 64px 48px;
  }
}

.tp-news {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 40px;
  margin-bottom: 40px;
}

@media (min-width: 768px) {
  .tp-news {
    padding-bottom: 48px;
    margin-bottom: 48px;
  }
}

@media (min-width: 1024px) {
  .tp-news {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }
}

.tp-kicker {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffc48c;
}

.seo-footer .tp-news h2 {
  margin: 0 0 16px;
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .seo-footer .tp-news h2 {
    font-size: 30px;
  }
}

@media (min-width: 1024px) {
  .seo-footer .tp-news h2 {
    font-size: 36px;
  }
}

.tp-news-lead {
  margin: 0;
  max-width: 440px;
  color: #a1a1aa;
  font-size: 16px;
  line-height: 1.7;
}

.tp-news-form {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 20px;
}

.tp-fields {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 640px) {
  .tp-fields {
    grid-template-columns: repeat(3, 1fr);
  }
}

.tp-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
}

.tp-field input {
  width: 100%;
  height: 40px;
  box-sizing: border-box;
  padding: 0 12px;
  border: 1px solid #e4e4e7;
  border-radius: 4px;
  background: #fff;
  color: #18181b;
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
}

.tp-field input::placeholder {
  color: #71717a;
}

.tp-field input:focus-visible {
  border-color: #6a40bf;
  outline: 2px solid #6a40bf;
  outline-offset: 2px;
}

.tp-req {
  color: #e53e3e;
  margin-left: 2px;
}

.tp-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #d4d4d8;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
}

.tp-consent input {
  width: 16px;
  height: 16px;
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: #6a40bf;
}

.tp-consent a {
  color: #fff;
  text-decoration: underline;
}

.tp-star {
  color: #ffc48c;
}

.tp-news-submit {
  align-self: stretch;
  height: 40px;
  padding: 0 16px;
  background: #6a40bf;
  border-color: #6a40bf;
}

.tp-news-submit:hover {
  background: #5933a6;
  border-color: #5933a6;
}

@media (min-width: 640px) {
  .tp-news-submit {
    align-self: flex-start;
    width: auto;
  }
}

.tp-news-status {
  display: none;
  margin: 0;
  color: #d4d4d8;
  font-size: 14px;
}

.tp-news-form.is-done .tp-news-status {
  display: block;
}

.tp-cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 640px) {
  .tp-cols {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .tp-cols {
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
  }
}

@media (min-width: 1024px) {
  .tp-cols {
    grid-template-columns: repeat(5, 1fr);
  }
}

.tp-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.seo-footer .tp-col h3 {
  margin: 0;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
}

.tp-col a {
  color: #a1a1aa;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  text-decoration: none;
}

.tp-col a:hover {
  color: #fff;
}

.tp-bottom {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

@media (min-width: 768px) {
  .tp-bottom {
    flex-direction: row;
    align-items: center;
  }
}

.tp-copy {
  margin: 0;
  font-size: 14px;
  color: #d4d4d8;
}

.tp-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 14px;
}

.tp-legal a {
  color: #a1a1aa;
  text-decoration: none;
}

.tp-legal a:hover {
  color: #fff;
}
