.tdop-header-shell {
  --tdop-navy: #021d3b;
  --tdop-teal: #006b75;
  --tdop-coral: #f05d3d;
  --tdop-ink: #111820;
  --tdop-line: #dce2e7;
  position: relative;
  z-index: 900;
  width: 100%;
  color: var(--tdop-ink);
  background: #fff;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.4;
}

.tdop-header-shell,
.tdop-header-shell * {
  box-sizing: border-box;
}

.tdop-header-shell a {
  color: inherit;
  text-decoration: none;
}

.tdop-header-shell button,
.tdop-header-shell input {
  font: inherit;
}

.tdop-header-inner {
  width: min(1320px, calc(100% - 48px));
  margin-inline: auto;
}

.tdop-header-shell.tdop-is-sticky {
  position: sticky;
  top: 0;
  z-index: 9990;
  box-shadow: 0 8px 30px rgba(2, 29, 59, 0.12);
}

.admin-bar .tdop-header-shell.tdop-is-sticky {
  top: 32px;
}

.tdop-utility-bar {
  color: #eaf2f5;
  background: #111820;
  border-bottom: 4px solid var(--tdop-coral);
}

.tdop-utility-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 38px;
  gap: 24px;
}

.tdop-utility-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-size: 11px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.tdop-utility-brand strong {
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.1em;
}

.tdop-utility-brand span {
  color: #b9c9cf;
}

.tdop-menu {
  display: flex;
  align-items: center;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tdop-menu li {
  position: relative;
  margin: 0;
  padding: 0;
}

.tdop-utility-nav .tdop-menu {
  gap: 22px;
}

.tdop-utility-nav a {
  display: block;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.tdop-utility-nav a:hover,
.tdop-utility-nav a:focus-visible {
  color: #7fe5ed;
}

.tdop-site-header {
  position: relative;
  background: #fff;
}

.tdop-main-row {
  display: flex;
  align-items: center;
  min-height: 132px;
  gap: 34px;
}

.tdop-brand {
  display: block;
  flex: 0 0 400px;
  width: 400px;
  max-width: 38%;
}

.tdop-brand img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 112px;
  object-fit: contain;
  object-position: left center;
}

.tdop-navigation-wrap {
  min-width: 0;
  margin-left: auto;
}

.tdop-primary-nav > .tdop-menu {
  justify-content: flex-end;
  gap: 27px;
}

.tdop-primary-nav > .tdop-menu > li > a {
  display: flex;
  align-items: center;
  min-height: 72px;
  color: #15202a;
  border-bottom: 4px solid transparent;
  font-size: 15px;
  font-weight: 800;
  white-space: nowrap;
}

.tdop-primary-nav > .tdop-menu > li > a:hover,
.tdop-primary-nav > .tdop-menu > li > a:focus-visible,
.tdop-primary-nav > .tdop-menu > .current-menu-item > a,
.tdop-primary-nav > .tdop-menu > .current-menu-ancestor > a {
  color: var(--tdop-teal);
  border-bottom-color: var(--tdop-teal);
}

.tdop-menu .sub-menu {
  position: absolute;
  top: calc(100% - 6px);
  left: -18px;
  z-index: 20;
  display: none;
  width: 230px;
  margin: 0;
  padding: 10px 0;
  list-style: none;
  background: #fff;
  border-top: 4px solid var(--tdop-teal);
  box-shadow: 0 16px 35px rgba(2, 29, 59, 0.18);
}

.tdop-menu li:hover > .sub-menu,
.tdop-menu li:focus-within > .sub-menu {
  display: block;
}

.tdop-menu .sub-menu a {
  display: block;
  padding: 11px 18px;
  color: #15202a;
  font-size: 13px;
  font-weight: 700;
}

.tdop-menu .sub-menu a:hover,
.tdop-menu .sub-menu a:focus-visible {
  color: var(--tdop-teal);
  background: #f2f7f7;
}

.tdop-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.tdop-search-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  margin: 0;
  padding: 0;
  color: var(--tdop-navy);
  background: #fff;
  border: 1px solid #b8c4ca;
  border-radius: 3px;
  cursor: pointer;
}

.tdop-search-toggle:hover,
.tdop-search-toggle:focus-visible {
  color: #fff;
  background: var(--tdop-navy);
  border-color: var(--tdop-navy);
}

.tdop-search-toggle svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 2;
}

.tdop-action-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 21px;
  color: #fff !important;
  background: var(--tdop-teal);
  border: 1px solid var(--tdop-teal);
  border-radius: 3px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.tdop-action-button:hover,
.tdop-action-button:focus-visible {
  background: var(--tdop-navy);
  border-color: var(--tdop-navy);
}

.tdop-sections-row {
  color: #fff;
  background: var(--tdop-navy);
}

.tdop-sections-nav {
  overflow-x: auto;
  scrollbar-width: thin;
}

.tdop-sections-nav > .tdop-menu {
  min-width: max-content;
}

.tdop-sections-nav > .tdop-menu > li > a {
  display: block;
  padding: 16px 15px;
  color: #fff;
  border-bottom: 3px solid transparent;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.tdop-sections-nav > .tdop-menu > li > a:hover,
.tdop-sections-nav > .tdop-menu > li > a:focus-visible,
.tdop-sections-nav > .tdop-menu > .current-menu-item > a,
.tdop-sections-nav > .tdop-menu > .current-menu-ancestor > a {
  background: rgba(255, 255, 255, 0.1);
  border-bottom-color: #50d7df;
}

.tdop-search-panel {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  z-index: 30;
  padding: 22px 24px;
  background: #fff;
  border-top: 1px solid var(--tdop-line);
  box-shadow: 0 18px 40px rgba(2, 29, 59, 0.18);
}

.tdop-search-panel[hidden] {
  display: none;
}

.tdop-search-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  width: min(760px, 100%);
  margin: 0 auto;
}

.tdop-search-form input {
  min-width: 0;
  height: 52px;
  margin: 0;
  padding: 0 17px;
  color: var(--tdop-ink);
  background: #fff;
  border: 2px solid var(--tdop-navy);
  border-radius: 0;
  font-size: 16px;
}

.tdop-search-form button {
  height: 52px;
  margin: 0;
  padding: 0 25px;
  color: #fff;
  background: var(--tdop-navy);
  border: 2px solid var(--tdop-navy);
  border-radius: 0;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.tdop-header-shell :focus-visible {
  outline: 3px solid var(--tdop-coral);
  outline-offset: 3px;
}

.tdop-header-shell .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
  white-space: nowrap;
}

@media (max-width: 1180px) {
  .tdop-main-row {
    gap: 18px;
  }

  .tdop-brand {
    flex-basis: 330px;
    width: 330px;
  }

  .tdop-primary-nav > .tdop-menu {
    gap: 18px;
  }

  .tdop-primary-nav > .tdop-menu > li > a {
    font-size: 13px;
  }
}

@media (max-width: 980px) {
  .tdop-header-inner {
    width: min(1320px, calc(100% - 30px));
  }

  .tdop-utility-nav {
    display: none;
  }

  .tdop-main-row {
    min-height: 88px;
    flex-wrap: wrap;
    padding-top: 8px;
  }

  .tdop-brand {
    flex: 0 1 280px;
    width: 280px;
    max-width: calc(100% - 58px);
  }

  .tdop-brand img {
    max-height: 72px;
  }

  .tdop-navigation-wrap {
    order: 4;
    flex: 0 0 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    background: #fff;
    border-top: 1px solid var(--tdop-line);
  }

  .tdop-primary-nav > .tdop-menu {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 0;
  }

  .tdop-primary-nav > .tdop-menu > li > a {
    min-height: 0;
    padding: 12px 14px;
    border-bottom: 3px solid transparent;
    font-size: 13px;
  }

  .tdop-primary-nav > .tdop-menu > li > a:hover,
  .tdop-primary-nav > .tdop-menu > li > a:focus-visible,
  .tdop-primary-nav > .tdop-menu > .current-menu-item > a {
    border-bottom-color: var(--tdop-teal);
  }

  .tdop-header-actions {
    margin-left: auto;
  }
}

@media (max-width: 782px) {
  .admin-bar .tdop-header-shell.tdop-is-sticky {
    top: 46px;
  }
}

@media (max-width: 640px) {
  .tdop-header-inner {
    width: calc(100% - 24px);
  }

  .tdop-utility-inner {
    min-height: 34px;
  }

  .tdop-utility-brand strong {
    font-size: 10px;
  }

  .tdop-utility-brand span {
    display: none;
  }

  .tdop-main-row {
    min-height: 76px;
    gap: 8px;
  }

  .tdop-brand {
    flex-basis: 205px;
    width: 205px;
    max-width: calc(100% - 102px);
  }

  .tdop-brand img {
    max-height: 58px;
  }

  .tdop-action-button {
    display: none;
  }

  .tdop-sections-nav > .tdop-menu > li > a {
    padding: 13px 11px;
    font-size: 12px;
  }

  .tdop-search-panel {
    padding: 16px 12px;
  }

  .tdop-search-form button {
    padding-inline: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tdop-header-shell *,
  .tdop-header-shell *::before,
  .tdop-header-shell *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Version 1.1: editorial search-led masthead */
.tdop-utility-actions {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
}

.tdop-utility-action {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  color: #fff !important;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.tdop-utility-action:hover,
.tdop-utility-action:focus-visible {
  color: #75e4ec !important;
}

.tdop-main-row {
  display: grid;
  grid-template-columns: minmax(290px, 400px) minmax(320px, 1fr);
  min-height: 132px;
  gap: clamp(28px, 4vw, 52px);
  padding: 0;
}

.tdop-brand {
  width: 400px;
  max-width: 100%;
}

.tdop-brand img {
  width: 100%;
  max-height: 112px;
}

.tdop-header-search {
  position: relative;
  min-width: 0;
}

.tdop-header-search form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 72px;
  width: 100%;
  height: 66px;
  margin: 0;
  background: #fff;
  border: 1px solid var(--tdop-navy);
}

.tdop-header-search input {
  min-width: 0;
  height: 64px;
  margin: 0;
  padding: 0 17px;
  color: #142331;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: clamp(17px, 1.55vw, 22px);
  font-weight: 450;
  letter-spacing: -0.025em;
  line-height: 1;
}

.tdop-header-search input::placeholder {
  color: #6b7780;
  font-weight: 400;
  letter-spacing: -0.02em;
  opacity: 0.92;
}

.tdop-header-search input:focus {
  outline: 0;
  box-shadow: inset 0 0 0 2px var(--tdop-teal);
}

.tdop-header-search button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 64px;
  margin: 0;
  padding: 0;
  color: #05080b;
  background: transparent;
  border: 0;
  border-radius: 0;
  cursor: pointer;
}

.tdop-header-search button:hover,
.tdop-header-search button:focus-visible {
  color: #fff;
  background: var(--tdop-navy);
}

.tdop-header-search svg {
  width: 38px;
  height: 38px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 2.8;
}

.tdop-search-results {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  left: 0;
  z-index: 80;
  max-height: min(480px, 70vh);
  overflow-y: auto;
  color: #15202a;
  background: #fff;
  border: 1px solid #ccd6dc;
  border-top: 4px solid var(--tdop-teal);
  box-shadow: 0 18px 45px rgba(2, 29, 59, 0.22);
}

.tdop-search-results[hidden] {
  display: none;
}

.tdop-search-result {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  align-items: center;
  gap: 15px;
  min-height: 83px;
  padding: 10px 13px;
  color: #15202a !important;
  background: #fff;
  border-bottom: 1px solid #e3e8eb;
}

.tdop-search-result:last-child {
  border-bottom: 0;
}

.tdop-search-result:hover,
.tdop-search-result:focus-visible,
.tdop-search-result.is-active {
  color: var(--tdop-navy) !important;
  background: #eef7f8;
}

.tdop-search-result img {
  display: block;
  width: 92px;
  height: 62px;
  margin: 0;
  object-fit: cover;
  background: #edf1f3;
}

.tdop-search-result-copy {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.tdop-search-result-copy small {
  color: var(--tdop-teal);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.09em;
  line-height: 1.2;
  text-transform: uppercase;
}

.tdop-search-result-copy strong {
  display: -webkit-box;
  overflow: hidden;
  color: inherit;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.28;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.tdop-search-message {
  padding: 20px;
  color: #52606a;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

.tdop-search-message.tdop-is-loading::before {
  display: inline-block;
  width: 13px;
  height: 13px;
  margin-right: 8px;
  content: "";
  vertical-align: -2px;
  border: 2px solid #c4d1d6;
  border-top-color: var(--tdop-teal);
  border-radius: 50%;
  animation: tdop-search-spin 0.65s linear infinite;
}

@keyframes tdop-search-spin {
  to { transform: rotate(360deg); }
}

.tdop-sections-nav > .tdop-menu {
  justify-content: flex-start;
}

.tdop-sections-nav > .tdop-menu > li > a {
  font-size: 13px;
  letter-spacing: 0;
  text-transform: uppercase;
}

@media (max-width: 1100px) {
  .tdop-main-row {
    grid-template-columns: minmax(260px, 330px) minmax(300px, 1fr);
    gap: 25px;
  }

  .tdop-brand {
    width: 330px;
  }
}

@media (max-width: 760px) {
  .tdop-main-row {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 14px;
    padding: 16px 0 20px;
  }

  .tdop-brand {
    width: min(360px, 100%);
    max-width: 100%;
  }

  .tdop-brand img {
    max-height: 94px;
  }

  .tdop-header-search form {
    grid-template-columns: minmax(0, 1fr) 60px;
    height: 58px;
  }

  .tdop-header-search input,
  .tdop-header-search button {
    height: 56px;
  }

  .tdop-header-search input {
    font-size: 18px;
  }

  .tdop-header-search button {
    width: 60px;
  }

  .tdop-header-search svg {
    width: 31px;
    height: 31px;
  }

  .tdop-sections-nav > .tdop-menu {
    flex-wrap: nowrap;
  }
}

@media (max-width: 520px) {
  .tdop-utility-actions {
    gap: 10px;
  }

  .tdop-utility-action {
    font-size: 10px;
  }

  .tdop-header-search input {
    padding-inline: 12px;
    font-size: 16px;
  }

  .tdop-search-result {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 11px;
    min-height: 72px;
    padding: 8px;
  }

  .tdop-search-result img {
    width: 72px;
    height: 54px;
  }

  .tdop-search-result-copy strong {
    font-size: 14px;
  }
}

/* Mobile search row and navigation disclosure. */
.tdop-header-shell .tdop-menu-toggle { display: none; }
@media (max-width: 760px) {
  .tdop-mobile-menu-ready .tdop-main-row {
    grid-template-columns: minmax(0, 1fr) 54px;
    column-gap: 10px;
  }
  .tdop-mobile-menu-ready .tdop-brand { grid-column: 1 / -1; justify-self: center; }
  .tdop-mobile-menu-ready .tdop-brand img { object-position: center; }
  .tdop-mobile-menu-ready .tdop-header-search { grid-column: 1; }
  .tdop-mobile-menu-ready .tdop-header-search form { grid-template-columns: minmax(0, 1fr) 48px; }
  .tdop-mobile-menu-ready .tdop-header-search button { width: 48px; }
  .tdop-mobile-menu-ready .tdop-header-search svg { width: 27px; height: 27px; }
  .tdop-header-shell.tdop-mobile-menu-ready .tdop-menu-toggle {
    display: inline-flex;
    grid-column: 2;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 58px;
    margin: 0;
    padding: 0;
    color: #fff;
    background: var(--tdop-navy);
    border: 1px solid var(--tdop-navy);
    border-radius: 3px;
    cursor: pointer;
  }
  .tdop-header-shell .tdop-menu-toggle:hover,
  .tdop-header-shell .tdop-menu-toggle:focus-visible { background: var(--tdop-teal); }
  .tdop-menu-toggle-icon,
  .tdop-menu-toggle-icon::before,
  .tdop-menu-toggle-icon::after {
    display: block;
    width: 24px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
  }
  .tdop-menu-toggle-icon { position: relative; transition: background-color 200ms ease; }
  .tdop-menu-toggle-icon::before,
  .tdop-menu-toggle-icon::after { position: absolute; left: 0; content: ""; transition: top 240ms ease, transform 240ms ease; }
  .tdop-menu-toggle-icon::before { top: -7px; }
  .tdop-menu-toggle-icon::after { top: 7px; }
  .tdop-menu-is-open .tdop-menu-toggle-icon { background: transparent; }
  .tdop-menu-is-open .tdop-menu-toggle-icon::before { top: 0; transform: rotate(45deg); }
  .tdop-menu-is-open .tdop-menu-toggle-icon::after { top: 0; transform: rotate(-45deg); }
  .tdop-mobile-menu-ready .tdop-sections-row {
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    visibility: hidden;
    transition: grid-template-rows 280ms ease, opacity 220ms ease, visibility 0s linear 280ms;
  }
  .tdop-mobile-menu-ready.tdop-menu-is-open .tdop-sections-row {
    grid-template-rows: 1fr;
    opacity: 1;
    visibility: visible;
    transition: grid-template-rows 280ms ease, opacity 220ms ease, visibility 0s;
  }
  .tdop-mobile-menu-ready .tdop-sections-nav { min-height: 0; overflow: hidden; padding-block: 0; }
  .tdop-mobile-menu-ready .tdop-sections-nav > .tdop-menu {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding-block: 8px;
    min-width: 0;
    width: 100%;
  }
  .tdop-mobile-menu-ready .tdop-sections-nav > .tdop-menu > li > a {
    min-height: 48px;
    padding: 14px 12px;
    border-bottom: 1px solid rgba(255,255,255,.14);
    white-space: normal;
  }
  .tdop-mobile-menu-ready .tdop-sections-nav > .tdop-menu > li > a:focus-visible { outline-offset: -3px; }
  .tdop-mobile-menu-ready .tdop-sections-nav .sub-menu {
    position: static;
    display: block;
    width: 100%;
    box-shadow: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tdop-mobile-menu-ready .tdop-sections-row,
  .tdop-menu-toggle-icon,
  .tdop-menu-toggle-icon::before,
  .tdop-menu-toggle-icon::after { transition: none !important; }
}
