/* ATW Header — global (loaded on every page) */
.atw-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: #fff;
  border-bottom: 1px solid #ddd;
}

.atw-header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--atw-header-height);
}

/* Breadcrumb strip pinned to the bottom of the sticky header */
.atw-header__crumb {
  border-top: 1px solid #eee;
  padding: 7px 0;
  background: #fff;
}
.atw-header__crumb .rank-math-breadcrumb {
  margin-bottom: 0;
  font-size: 11px;
}

.atw-header__logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--atw-black);
  white-space: nowrap;
}

/* NOTE: on WooCommerce pages the body gets .woocommerce-page, whose rule
   `.woocommerce-page img { height:auto; max-width:100% }` outranks a single class
   and would blow this logo up to full size. Hence the descendant selector + max-width:none. */
.atw-header .atw-header__logo-mark {
  display: block;
  width: auto;
  height: 28px;
  max-width: none;
  flex: none;
}

.atw-header__nav {
  display: none;
  align-items: center;
  gap: 28px;
  flex: 1;
}

.atw-header__nav a {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--atw-black);
}

.atw-header__nav a:hover {
  text-decoration: underline;
}

.atw-header__cta {
  margin-left: auto;
  background: var(--atw-black);
  color: var(--atw-white);
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 10px 20px;
  white-space: nowrap;
}

@media (min-width: 1024px) {
  .atw-header__nav { display: flex; }
}
