/*
	AHG36 2026, shell: colours, header, mobile menu, newsletter block, footer, buttons.
	Loaded on every public page, also on the ones that still use the old CSS, so every
	class starts with nx_ and the blocks reset what they need themselves.
*/

body.nx {
  --paper: #f8f5ef;
  --wall: #ece6db;
  --tint: #f1ece3;
  --ink: #1d1b19;
  --muted: #6b655d;
  --line: #ddd5c8;
  --accent: #b23a26;
  --dark: #151312;
  --header_font: "Cormorant Garamond", Georgia, serif;
  --main_font: "DM Sans", Arial, sans-serif;
  background: var(--paper);
  margin: 0;
}
body.nx_no_scroll {
  overflow: hidden;
}

.nx_shell,
.nx_shell *,
.nx_shell *::before,
.nx_shell *::after {
  box-sizing: border-box;
}
.nx_shell {
  font-family: var(--main_font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  text-align: left;
}
.nx_shell ul,
.nx_shell li,
.nx_shell p {
  margin: 0;
  padding: 0;
  list-style: none;
  background: none;
  float: none;
}
.nx_shell a {
  color: inherit;
  text-decoration: none;
}
.nx_shell img {
  display: block;
  max-width: 100%;
  height: auto;
}
.nx_shell button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
.nx_shell .material-symbols-outlined {
  font-size: 24px;
  line-height: 1;
  vertical-align: middle;
}

.nx_wrap {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 32px;
  box-sizing: border-box;
}
.nx_mshow {
  display: none !important;
}
.nx_sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

/* ---------- buttons, links ---------- */
.nx_btn,
.nx_shell button.nx_btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 10px 26px;
  background: var(--ink);
  color: #fff;
  border: 1px solid var(--ink);
  border-radius: 2px;
  font-family: var(--main_font);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.02em;
  text-decoration: none;
  text-transform: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.nx_btn:hover,
.nx_shell button.nx_btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.nx_btn_big {
  min-height: 54px;
  padding: 12px 34px;
  font-size: 16px;
}
.nx_btn_line,
.nx_shell button.nx_btn_line {
  background: transparent;
  color: var(--ink);
}
.nx_btn_line:hover,
.nx_shell button.nx_btn_line:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.nx_btn_accent {
  background: var(--accent);
  border-color: var(--accent);
}
.nx_btn_accent:hover {
  background: #fff;
  border-color: #fff;
  color: var(--dark);
}
.nx_btn_light,
.nx_shell a.nx_btn_light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}
.nx_btn_light:hover,
.nx_shell a.nx_btn_light:hover {
  background: #fff;
  border-color: #fff;
  color: var(--dark);
}
.nx_btns {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  margin-top: 30px;
}
.nx_link,
.nx_shell a.nx_link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 500;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}
.nx_link .material-symbols-outlined {
  font-size: 18px;
  transition: transform 0.2s;
}
.nx_link:hover .material-symbols-outlined {
  transform: translateX(4px);
}

/* ---------- header ---------- */
.nx_top {
  background: var(--ink);
  color: #fff;
  font-size: 13.5px;
}
.nx_top .nx_wrap {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 8px;
  padding-bottom: 8px;
}
.nx_header {
  position: sticky;
  top: 0;
  z-index: 1200;
  background: rgba(248, 245, 239, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.admin-bar .nx_header {
  top: 32px;
}
.nx_header_row {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 78px;
}
.nx_logo img {
  width: 150px;
}
.nx_navi {
  flex: 1;
}
.nx_navi_list {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 2vw, 34px);
}
.nx_navi_list > li {
  position: relative;
}
.nx_navi_list a {
  display: block;
  padding: 8px 0;
  font-size: 15.5px;
  border-bottom: 1px solid transparent;
  white-space: nowrap;
}
.nx_navi_list > li > a:hover,
.nx_navi_list > .current-menu-item > a {
  border-bottom-color: var(--accent);
}
.nx_navi_list .sub-menu {
  position: absolute;
  left: -18px;
  top: 100%;
  min-width: 200px;
  padding: 10px 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
}
.nx_navi_list li:hover > .sub-menu,
.nx_navi_list li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
}
.nx_navi_list .sub-menu a:hover {
  color: var(--accent);
}
.nx_tools {
  display: flex;
  align-items: center;
  gap: 16px;
}
.nx_tools a:hover,
.nx_tools button:hover {
  color: var(--accent);
}
.nx_lang {
  font-size: 14px;
  color: var(--muted);
  margin-right: 4px;
}
.nx_lang a.on,
.nx_drawer_small a.on {
  color: var(--ink);
  font-weight: 700;
}
.nx_search {
  border-top: 1px solid var(--line);
  padding: 14px 0;
}
.nx_search[hidden] {
  display: none;
}
.nx_search form {
  display: flex;
  gap: 10px;
}
.nx_shell input[type="text"],
.nx_shell input[type="email"],
.nx_shell select {
  flex: 1;
  width: auto;
  min-width: 0;
  min-height: 46px;
  margin: 0;
  padding: 8px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 2px;
  box-shadow: none;
  font-family: var(--main_font);
  font-size: 15px;
  color: var(--ink);
}

/* ---------- drawers (mobile menu, filters) ---------- */
.nx_drawer {
  position: fixed;
  inset: 0;
  z-index: 1300;
  background: rgba(21, 19, 18, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}
.nx_drawer.open {
  opacity: 1;
  visibility: visible;
}
.nx_drawer_panel {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(340px, 88vw);
  padding: 64px 26px 30px;
  background: var(--paper);
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform 0.25s;
}
.nx_drawer.open .nx_drawer_panel {
  transform: none;
}
.nx_drawer_close,
.nx_shell button.nx_drawer_close {
  position: absolute;
  top: 18px;
  right: 18px;
}
.nx_drawer_menu a {
  display: block;
  padding: 12px 0;
  font-family: var(--header_font);
  font-size: 28px;
  line-height: 1.2;
  border-bottom: 1px solid var(--line);
}
.nx_drawer_menu .sub-menu a {
  padding-left: 16px;
  font-size: 22px;
}
.nx_drawer_small,
.nx_shell p.nx_drawer_small {
  margin-top: 22px;
  font-size: 15px;
  color: var(--muted);
}

/* ---------- newsletter + artists ---------- */
.nx_signup {
  clear: both;
  padding: clamp(56px, 7vw, 96px) 0;
  border-top: 1px solid var(--line);
  background: var(--paper);
}
.nx_signup_grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(30px, 6vw, 100px);
}
.nx_h2,
.nx_shell p.nx_h2 {
  font-family: var(--header_font);
  font-size: clamp(28px, 2.6vw, 38px);
  font-weight: 500;
  line-height: 1.1;
  margin-bottom: 10px;
}
.nx_signup p {
  color: var(--muted);
  margin-bottom: 20px;
}
.nx_signup_form {
  max-width: 520px;
}
/* Contact Form 7 newsletter form: one line, e-mail + button */
.nx_signup_form form p,
.nx_signup_form .wpcf7-form > p {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
}
.nx_signup_form .wpcf7-form-control-wrap {
  flex: 1 1 220px;
  display: flex;
}
.nx_signup_form br {
  display: none;
}
.nx_signup_form input[type="submit"] {
  min-height: 46px;
  padding: 10px 26px;
  background: var(--ink);
  color: #fff;
  border: 1px solid var(--ink);
  border-radius: 2px;
  font-family: var(--main_font);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  width: auto;
  margin: 0;
}
.nx_signup_form input[type="submit"]:hover {
  background: var(--accent);
  border-color: var(--accent);
}
.nx_signup_form .wpcf7-spinner {
  display: none;
}
.nx_signup_form .wpcf7-response-output {
  margin: 12px 0 0;
  font-size: 14px;
}
.nx_signup_artist {
  padding-left: clamp(0px, 4vw, 60px);
  border-left: 1px solid var(--line);
}

/* ---------- footer ---------- */
.nx_footer {
  clear: both;
  background: var(--dark);
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  padding: clamp(46px, 5vw, 70px) 0 24px;
}
.nx_footer_grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 34px;
}
.nx_footer_brand img {
  width: 170px;
  margin-bottom: 18px;
  filter: brightness(0) invert(1);
}
.nx_footer_head,
.nx_shell p.nx_footer_head {
  font-family: var(--header_font);
  font-size: 22px;
  color: #fff;
  margin-bottom: 12px;
}
.nx_footer li {
  padding: 3px 0;
}
.nx_footer p + p {
  margin-top: 12px;
}
.nx_footer a:hover {
  color: #fff;
}
.nx_footer .nx_btn {
  margin-top: 16px;
}
.nx_social {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
}
.nx_apps {
  display: flex;
  gap: 12px;
}
.nx_apps img {
  filter: brightness(0) invert(1);
  opacity: 0.8;
}
.nx_footer_bottom {
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 13.5px;
}

/* leftovers of the parent templates around the shell */
body.nx .hideme,
body.nx #overlay:not(.shown),
body.nx .skip-link:not(:focus) {
  display: none;
}
body.nx .footer_conetnt + .p30,
body.nx footer.nx_footer ~ .p30 {
  display: none;
}

@media (max-width: 1180px) {
  .nx_navi_list a {
    font-size: 14.5px;
  }
  .nx_logo img {
    width: 128px;
  }
  .nx_header_row {
    gap: 18px;
  }
  .nx_footer_grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 1000px) {
  .nx_mhide {
    display: none !important;
  }
  .nx_mshow {
    display: flex !important;
  }
  .nx_header_row {
    min-height: 64px;
    justify-content: space-between;
  }
  .nx_top .nx_wrap {
    justify-content: center;
  }
  .nx_signup_grid {
    grid-template-columns: 1fr;
  }
  .nx_signup_artist {
    padding: 30px 0 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 782px) {
  .admin-bar .nx_header {
    top: 0;
  }
}

@media (max-width: 767px) {
  .nx_wrap {
    padding: 0 16px;
  }
  .nx_logo img {
    width: 112px;
  }
  .nx_btns .nx_btn {
    flex: 1 1 100%;
  }
  .nx_footer_grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .nx_signup_form input[type="submit"] {
    flex: 1 1 100%;
  }
}
