:root {
  --ink: #ffffff;
  --ink-2: #1A1A1A;
  --ink-3: #2E2E2E;
  --gold: #333;
  --gold-lt: #222;
  --cream: #F4EFE6;
  --stone: #E0D8CC;
  --mist: #000000;
  --white: #333;
  --serif: "Lucida Sans", Arial, Helvetica, sans-serif;
  --sans: 'Inter', system-ui, sans-serif;
  --surface: #efefef;
  --line: rgba(51, 51, 51, .12);
  --r: 2px;
  --r-lg: 8px;
  --ease: cubic-bezier(.22, .68, 0, 1.2);
}

/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   RESET + BASE
â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0 }

html { scroll-behavior: smooth; font-size: 16px }

body {
  font-family: var(--sans);
  background: var(--ink);
  color: var(--mist);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none }
img { display: block; max-width: 100% }
button { cursor: pointer; font-family: var(--sans) }

/* REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .75s ease, transform .75s ease;
}
.reveal.up { opacity: 1; transform: none }
.d1 { transition-delay: .1s }
.d2 { transition-delay: .2s }
.d3 { transition-delay: .3s }
.d4 { transition-delay: .4s }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none }
  html { scroll-behavior: auto }
}

/* NAV */
nav#mainNav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  height: 68px;
  /* transparent at rest (as on dev) â€” the page header behind it is --surface,
     so the bar reads as one continuous band; .scrolled paints it in */
  background: transparent;
  transition: background .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}

nav#mainNav.scrolled {
  background: var(--surface);
  border-color: rgba(200, 169, 110, .12);
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .06);
}

.nav-logo {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-logo { flex: 0 0 auto }
.nav-logo img { width: 83%; padding-left: 35px }

.nav-links { display: flex; gap: 32px; list-style: none }

.nav-links a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #333;
  transition: color .2s;
}
.nav-links a:hover { color: #222 }
.nav-links a:active { color: #111 }

/* current page marker */
.nav-links > li > a.is-current,
.nav-links > li > ul a.is-current { color: #111; font-weight: 600 }

/* â”€â”€ DESKTOP DROPDOWN SUB-MENUS â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.nav-links > li { position: relative; list-style: none }
.nav-links > li > a { display: inline-flex; align-items: center; gap: 6px }

.nav-links > li.has-sub > a::after {
  content: '';
  width: 6px; height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-top: -3px;
  transition: transform .2s ease;
  opacity: .7;
}
.nav-links > li.has-sub:hover > a::after,
.nav-links > li.has-sub:focus-within > a::after {
  transform: rotate(225deg);
  margin-top: 2px;
}

.nav-links > li > ul {
  position: absolute;
  top: 100%; left: 50%;
  transform: translate(-50%, -6px);
  min-width: 220px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 14px 32px rgba(0, 0, 0, .10);
  list-style: none;
  padding: 6px 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  z-index: 250;
}
.nav-links > li:hover > ul,
.nav-links > li:focus-within > ul {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translate(-50%, 0);
}
.nav-links > li > ul li { list-style: none }

.nav-links > li > ul a {
  display: block;
  padding: 11px 18px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #333;
  white-space: nowrap;
  border-bottom: 1px solid rgba(51, 51, 51, .08);
  transition: background .2s, color .2s;
}
.nav-links > li > ul li:last-child a { border-bottom: 0 }
.nav-links > li > ul a:hover,
.nav-links > li > ul a:focus-visible {
  background: rgba(51, 51, 51, .06);
  color: #111;
  outline: none;
}

.mobile-nav-item { display: none }

/* â”€â”€ NAV SEARCH â”€â”€ */
.nav-search {
  flex: 0 0 36px;
  width: 36px; min-width: 36px; max-width: 36px;
  position: static;
  z-index: 240;
  transition: flex-basis .24s ease, width .24s ease, max-width .24s ease;
}
.nav-search form {
  width: 36px; height: 36px;
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  transition: width .24s ease, background .2s, border-color .2s, box-shadow .2s;
}
.nav-search.is-open {
  flex-basis: 238px; width: 238px; max-width: 238px;
  position: absolute; right: 2%; top: 69px;
}
.nav-search.is-open form {
  width: 238px;
  background: #fff;
  border-color: rgba(51, 51, 51, .16);
  box-shadow: 0 8px 22px rgba(0, 0, 0, .08);
}
.nav-search input {
  width: 0; min-width: 0; height: 100%;
  border: 0; outline: 0;
  background: transparent;
  color: #333;
  font-family: var(--sans);
  font-size: 12px; font-weight: 500; letter-spacing: .4px;
  opacity: 0; padding: 0;
  transition: width .24s ease, opacity .18s ease, padding .24s ease;
}
.nav-search.is-open input { width: 100%; opacity: 1; padding: 0 0 0 13px }
.nav-search input::placeholder { color: rgba(51, 51, 51, .55) }

.nav-search-icon {
  width: 36px; height: 36px; flex: 0 0 36px;
  border: 1px solid rgba(51, 51, 51, .16);
  border-radius: 50%;
  background: rgba(255, 255, 255, .72);
  color: #333;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.nav-search-icon:hover,
.nav-search-icon:focus-visible,
.nav-search-icon:active,
.nav-search.is-open .nav-search-icon {
  background: #fff;
  border-color: rgba(51, 51, 51, .32);
  box-shadow: 0 8px 22px rgba(0, 0, 0, .08);
  outline: none;
  transform: translateY(-1px);
}
.nav-search-icon svg { width: 16px; height: 16px; display: block }

/* â”€â”€ NAV RIGHT â”€â”€ */
.nav-right { display: flex; align-items: center; gap: 14px }

.nav-sell {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ink);
  background: #222;
  border: none;
  padding: 10px 24px;
  border-radius: var(--r);
  transition: background .2s, transform .2s;
}
.nav-sell:hover { background: #222; transform: translateY(-1px) }

.user-menu { position: relative; display: flex; align-items: center }

.user-toggle {
  width: 36px; height: 36px;
  border: 1px solid rgba(51, 51, 51, .16);
  border-radius: 50%;
  background: rgba(255, 255, 255, .72);
  color: #333;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.user-toggle:hover,
.user-toggle:focus-visible,
.user-menu.is-open .user-toggle {
  background: #fff;
  border-color: rgba(51, 51, 51, .32);
  box-shadow: 0 8px 22px rgba(0, 0, 0, .08);
  outline: none;
  transform: translateY(-1px);
}
.user-toggle svg { width: 17px; height: 17px; display: block }

.user-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 156px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 14px 32px rgba(0, 0, 0, .10);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  z-index: 260;
}
.user-menu.is-open .user-dropdown,
.user-menu:focus-within .user-dropdown,
.user-menu:hover .user-dropdown {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateY(0);
}
.user-dropdown a {
  display: block;
  padding: 12px 14px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #333;
  border-bottom: 1px solid rgba(51, 51, 51, .08);
  transition: background .2s, color .2s;
}
.user-dropdown a:last-child { border-bottom: 0 }
.user-dropdown a:hover,
.user-dropdown a:focus-visible,
.user-dropdown a:active {
  background: rgba(51, 51, 51, .06);
  color: #111;
  outline: none;
}

/* â”€â”€ HAMBURGER â”€â”€ */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  width: 22px; height: 1.5px;
  background: black;
  border-radius: 2px;
  transition: .3s;
}
.hamburger:hover span,
.hamburger:focus-visible span { background: #222 }

/* PAGE HEADER / BREADCRUMB */
.page-head {
  background: var(--surface);
  border-bottom: 1px solid rgba(200, 169, 110, .1);
  padding: 124px 5% 56px;
  position: relative;
  overflow: hidden;
}

/* subtle grain texture â€” same treatment as dev hero */
.page-head::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  opacity: .4;
}

.page-head-inner { position: relative; z-index: 2 }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #333;
  margin-bottom: 16px;
}
.eyebrow::before {
  content: '';
  width: 28px; height: 1px;
  background: var(--gold);
}

h1.page-h {
  font-family: var(--serif);
  font-size: clamp(34px, 4.5vw, 58px);
  font-weight: 400;
  line-height: 1.08;
  color: var(--white);
  margin-bottom: 16px;
}
h1.page-h em { color: #333; font-style: normal }

.page-p {
  font-size: 15px;
  font-weight: 300;
  color: var(--mist);
  max-width: 560px;
  line-height: 1.9;
}

.crumbs {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
  margin-top: 26px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: rgba(51, 51, 51, .55);
}
.crumbs a { color: rgba(51, 51, 51, .75); transition: color .2s }
.crumbs a:hover { color: #111 }
.crumbs span[aria-current] { color: #111 }
.crumbs .sep { opacity: .45 }

/* LAYOUT sidebar + content */
.section { padding: 72px 5% 100px }

.media-layout {
  /*display: grid;
  grid-template-columns: 260px minmax(0, 1fr) 300px;
  gap: 48px;*/
  align-items: start;
  padding: 100px;
}

/* SIDEBAR */
.sidebar { position: sticky; top: 92px }

.side-box {
  background: var(--surface);
  border: 1px solid rgba(200, 169, 110, .1);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-bottom: 24px;
}

.side-box > h2 {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  padding: 18px 20px;
  border-bottom: 1px solid rgba(51, 51, 51, .08);
  margin: 0;
}

/* accordion */
.acc-item { border-bottom: 1px solid rgba(51, 51, 51, .08) }
.acc-item:last-child { border-bottom: 0 }

.acc-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 20px;
  background: none;
  border: 0;
  text-align: left;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .6px;
  color: #333;
  transition: background .2s, color .2s;
}
.acc-trigger:hover,
.acc-trigger:focus-visible { background: rgba(51, 51, 51, .06); color: #111; outline: none }

.acc-trigger::after {
  content: '';
  flex: 0 0 auto;
  width: 6px; height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-top: -3px;
  opacity: .7;
  transition: transform .25s ease, margin-top .25s ease;
}
.acc-item.is-open .acc-trigger::after { transform: rotate(225deg); margin-top: 2px }
.acc-item.is-open .acc-trigger { color: #111; font-weight: 600 }

.acc-panel {
  display: none;
  background: rgba(51, 51, 51, .04);
  max-height: 260px;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.acc-item.is-open .acc-panel { display: block }

.acc-panel ul { list-style: none; padding: 6px 0 }
.acc-panel li { list-style: none }
.acc-panel a {
  display: block;
  padding: 8px 22px;
  font-size: 12.5px;
  font-weight: 300;
  color: #000;
  transition: background .2s, color .2s, padding-left .2s;
}
.acc-panel a:hover,
.acc-panel a:focus-visible {
  background: rgba(51, 51, 51, .07);
  color: #111;
  padding-left: 26px;
  outline: none;
}

/* thin scrollbar inside panels */
.acc-panel::-webkit-scrollbar { width: 6px }
.acc-panel::-webkit-scrollbar-thumb { background: rgba(51, 51, 51, .22); border-radius: 6px }
.acc-panel::-webkit-scrollbar-track { background: transparent }

/* simple link list (View By Seller) */
.side-links { list-style: none; padding: 6px 0 }
.side-links li { list-style: none }
.side-links a {
  display: block;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 300;
  color: #000;
  border-bottom: 1px solid rgba(51, 51, 51, .06);
  transition: background .2s, color .2s, padding-left .2s;
}
.side-links li:last-child a { border-bottom: 0 }
.side-links a:hover,
.side-links a:focus-visible {
  background: rgba(51, 51, 51, .07);
  color: #111;
  padding-left: 24px;
  outline: none;
}

/* MEDIA ARTICLE CARDS */
.media-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(51, 51, 51, .12);
  margin-bottom: 34px;
}

.media-head h2 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  color: var(--white);
  line-height: 1.3;
}

.media-count {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--mist);
  opacity: .65;
}

.media-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: rgba(200, 169, 110, .1);
  border: 1px solid rgba(200, 169, 110, .1);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.media-item {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  background: var(--surface);
  padding: 26px 28px;
  position: relative;
  transition: background .3s;
}
.media-item:hover { background: #d5d5d5 }

.media-thumb {
  width: 168px;
  height: 112px;
  background: #fff;
  border: 1px solid rgba(51, 51, 51, .10);
  border-radius: var(--r);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 12px;
}
.media-thumb img {
  max-width: 100%;
  max-height: 100%;
  width: auto; height: auto;
  object-fit: contain;
  transition: transform .4s var(--ease);
}
.media-item:hover .media-thumb img { transform: scale(1.04) }

.media-body { min-width: max-content;
  padding-left: 100px; }

.media-date {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #333;
  margin-bottom: 7px;
}

.media-title {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 400;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 8px;
}
.media-title a { transition: color .2s }
.media-title a:hover { color: #111 }

.media-source {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--mist);
  opacity: .68;
}

.media-cta {
  flex: 0 0 auto;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: black;
  border: none;
  border-radius: var(--r);
  white-space: nowrap;
  text-align: right;
}
/*.media-cta:hover,
.media-cta:focus-visible {
  background: #000;
  transform: translateY(-1px);
  outline: none;
}*/
.media-cta:focus-visible { box-shadow: 0 0 0 3px rgba(51, 51, 51, .28) }

.gallery-mark {
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 400;
  line-height: 1;
  color: #333;
  letter-spacing: 1px;
}

/* Artist Alerts content uses the existing listing-card system. */
.alert-item { min-height: 164px }

.alert-copy {
  max-width: 760px;
  font-size: 13.5px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--mist);
}

.alert-copy strong { color: #ca280d; font-weight: 700 }
.alert-copy-secondary { margin-top: 8px }

.alert-tag {
  pointer-events: none;
  text-align: center;
}

.alert-login {
  margin-top: 24px;
  font-size: 13px;
  font-weight: 300;
  color: var(--mist);
}

.alert-login a {
  color: #111;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.alert-login a:hover,
.alert-login a:focus-visible { color: #555 }

/* SOCIAL RAIL */
.social-rail { position: sticky; top: 92px; display: flex; flex-direction: column; gap: 24px }

.social-card {
  background: var(--surface);
  border: 1px solid rgba(200, 169, 110, .1);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.social-card > h3 {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  padding: 18px 20px;
  border-bottom: 1px solid rgba(51, 51, 51, .08);
  margin: 0;
}

.social-card-body { padding: 14px }
.social-card-body:empty { display: none }

.social-link {
  display: block;
  padding: 13px 20px;
  border-top: 1px solid rgba(51, 51, 51, .08);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #333;
  transition: background .2s, color .2s;
}
.social-link:hover,
.social-link:focus-visible {
  background: rgba(51, 51, 51, .06);
  color: #111;
  outline: none;
}
.social-card-body .fb-page,
.social-card-body .fb-page span,
.social-card-body iframe { max-width: 100% !important }

.twitter-timeline { max-width: 100% }

.social-note {
  font-size: 12px;
  font-weight: 300;
  color: var(--mist);
  opacity: .7;
  line-height: 1.7;
  padding: 0 4px 4px;
}
.social-note a { text-decoration: underline; text-underline-offset: 3px }

/* FOOTER */
footer {
  background: var(--ink);
  border-top: 1px solid rgba(200, 169, 110, .1);
  padding: 72px 5% 40px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}

.footer-brand .logo {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
}
.footer-brand .logo img { width: 25% }

.footer-brand p {
  font-size: 14px;
  font-weight: 300;
  color: var(--mist);
  line-height: 1.85;
  max-width: 280px;
}

.newsletter-row { display: flex; gap: 0; margin-top: 24px }

.newsletter-row input {
  font-family: var(--sans);
  font-size: 13px;
  color: #333;
  background: rgba(244, 239, 230, .05);
  border: 1px solid #333;
  border-right: none;
  border-radius: var(--r) 0 0 var(--r);
  padding: 10px 14px;
  outline: none;
  flex: 1;
  min-width: 0;
  transition: border-color .2s;
}
.newsletter-row input:focus { border-color: #222 }
.newsletter-row input::placeholder { color: var(--mist) }

.newsletter-row button {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ink);
  background: #333;
  border: none;
  padding: 10px 18px;
  border-radius: 0 var(--r) var(--r) 0;
  transition: background .2s;
  white-space: nowrap;
}
.newsletter-row button:hover { background: #222 }

.f-col h4 {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.f-col ul { list-style: none; display: flex; flex-direction: column; gap: 11px }

.f-col a {
  font-size: 14px;
  font-weight: 300;
  color: #000;
  transition: color .2s;
}
.f-col a:hover { color: #555 }

.footer-bottom {
  border-top: 1px solid rgba(51, 51, 51, .12);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p { font-size: 13px; font-weight: 300; color: black }

.footer-socials { display: flex; gap: 10px }

.soc {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid black;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  color: black;
  transition: border-color .2s, color .2s;
}
.soc svg { width: 19px; height: 19px; display: block }
.soc:hover { border-color: var(--gold); color: var(--gold) }

/* RESPONSIVE */
@media (max-width: 1180px) {
  .media-layout { grid-template-columns: 240px minmax(0, 1fr); }
  .social-rail {
    grid-column: 1 / -1;
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
  }
  .social-card { flex: 1 1 320px }
}

@media (max-width: 1024px) {
  nav#mainNav { gap: 10px; padding: 0 3% }
  .hamburger { display: none }

  .nav-logo { flex: 0 0 132px; min-width: 132px }
  .nav-logo img { width: 100% !important; padding-left: 0 !important }

  .nav-links { gap: 10px; flex: 1 1 auto; justify-content: center; min-width: 0 }
  .nav-links a { font-size: 10.5px; letter-spacing: 1px }

  .nav-search { flex: 0 0 36px; min-width: 36px; max-width: 36px }
  .nav-search.is-open { flex-basis: 190px; width: 190px; max-width: 190px }
  .nav-search.is-open form { width: 190px }

  .nav-right { gap: 8px; flex: 0 0 auto }
  .nav-sell { font-size: 10.5px; letter-spacing: .7px; padding: 9px 14px }

  .footer-top { grid-template-columns: 1fr 1fr }
}

@media (max-width: 900px) {
  .media-layout { grid-template-columns: minmax(0, 1fr) }
  .sidebar { position: static }
  .sidebar .side-box { margin-bottom: 16px }
}

@media (max-width: 768px) {
  .nav-sell { display: none }
  .nav-right { order: 4; display: flex; margin-left: auto }

  nav#mainNav { justify-content: flex-start; gap: 12px }

  .hamburger {
    order: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px; height: 34px;
    margin-left: 0;
    padding: 6px;
    border-radius: var(--r);
    transition: background .2s;
  }
  .hamburger:hover,
  .hamburger:focus-visible,
  nav#mainNav.menu-open .hamburger { background: rgba(51, 51, 51, .06); outline: none }

  nav#mainNav.menu-open .hamburger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg) }
  nav#mainNav.menu-open .hamburger span:nth-child(2) { opacity: 0 }
  nav#mainNav.menu-open .hamburger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg) }

  .nav-logo { order: 2; flex: 0 1 150px; min-width: 96px }

  .nav-search { order: 5; flex: 0 0 36px; min-width: 36px; max-width: 36px }
  .nav-search.is-open {
    flex-basis: min(210px, 36vw);
    width: min(210px, 36vw);
    max-width: min(210px, 36vw);
  }
  .nav-search.is-open form { width: min(210px, 36vw) }

  .nav-links {
    position: absolute;
    top: 100%; left: 5%; right: auto;
    width: min(320px, 90vw);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    text-align: left;
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .08);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transform-origin: top left;
    transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
  }
  nav#mainNav.menu-open .nav-links {
    opacity: 1; visibility: visible; pointer-events: auto;
    transform: translateY(0);
  }
  nav#mainNav.menu-open .nav-links li { width: 100%; border-bottom: 1px solid rgba(51, 51, 51, .08) }
  nav#mainNav.menu-open .nav-links li:last-child { border-bottom: 0 }
  nav#mainNav.menu-open .nav-links a { display: block; padding: 13px 16px }
  nav#mainNav.menu-open .nav-links a:hover,
  nav#mainNav.menu-open .nav-links a:focus-visible,
  nav#mainNav.menu-open .nav-links a:active {
    background: rgba(51, 51, 51, .06);
    color: #222;
    outline: none;
  }

  /* â”€â”€ MOBILE DROPDOWN SUB-MENUS â”€â”€ */
  nav#mainNav.menu-open .nav-links > li > ul {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    display: none;
    min-width: 0;
    width: 100%;
    border: 0;
    box-shadow: none;
    padding: 0;
    background: rgba(51, 51, 51, .04);
  }
  nav#mainNav.menu-open .nav-links > li.is-open > ul { display: block }
  nav#mainNav.menu-open .nav-links > li > ul a {
    padding: 11px 28px;
    font-size: 11px;
    border-bottom: 1px solid rgba(51, 51, 51, .06);
  }
  nav#mainNav.menu-open .nav-links > li.has-sub > a::after { margin-left: auto }

  nav#mainNav.menu-open .nav-links .mobile-nav-item { display: block }
  nav#mainNav.menu-open .nav-links .mobile-nav-item a { font-weight: 600 }
  nav#mainNav.menu-open .nav-links .mobile-nav-sell a {
    margin: 10px 12px;
    padding: 11px 14px;
    color: black;
    text-align: center;
  }
  nav#mainNav.menu-open .nav-links .mobile-nav-sell a:hover,
  nav#mainNav.menu-open .nav-links .mobile-nav-sell a:focus-visible {
    background: #333;
    color: #fff;
  }

  .page-head { padding: 108px 5% 44px }
  .section { padding: 48px 5% 72px }

  .media-item {
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 18px;
    padding: 20px;
  }
  .media-thumb { width: 120px; height: 84px; padding: 9px }
  .media-title { font-size: 17px }
  .media-cta { grid-column: 2; justify-self: start; margin-top: 4px }
  .alert-item { min-height: 0 }

  .footer-top { grid-template-columns: 1fr }
}

@media (max-width: 480px) {
  nav#mainNav {
    height: auto;
    min-height: 68px;
    flex-wrap: nowrap;
    align-content: center;
    padding-top: 8px;
    padding-bottom: 8px;
  }
  .nav-logo { flex: 1 1 auto; min-width: 86px }
  .nav-right { order: 4; display: flex; margin-left: 0 }
  .nav-search { order: 3; flex: 0 0 36px }
  .nav-search.is-open {
    position: absolute;
    left: 5%; right: 5%;
    top: calc(100% + 8px);
    width: 90%; max-width: 90%;
    flex-basis: auto;
  }
  .nav-search.is-open form { width: 100% }

  .page-head { padding: 100px 5% 40px }

  .media-item { grid-template-columns: minmax(0, 1fr); gap: 14px }
  .media-thumb { width: 100%; height: 120px }
  .media-cta { grid-column: 1; width: 100%; text-align: center }
}