:root {
  --bg-100: #f8f8f8;
  --text-100: #111111;
  --text-80: #222222;
  --text-50: #444444;
  --gold: #c1a35f;
  --gold-50: #d3cbb7;
  --text-gold: #111111;
  --gray: #d8d8d8;
  --gray-80: #e0e0e0;
  --gray-50: #f0f0f0;
  --text-gray: #111111;
  --margin-top: 60px;
  --sidebar-width: 250px;
}

[data-theme="dark"] {
  --bg-100: #111111;
  --text-100: #f8f8f8;
  --text-80: #e0e0e0;
  --text-50: #b0b0b0;
  --gray: #444444;
  --gray-80: #333333;
  --gray-50: #222222;
}

[data-theme="dark"] input {
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

/* named anchor */
.anchor,
.anchor-season {
  scroll-margin-top: 110px;
}

body {
  background-color: var(--bg-100);
  font-family: Inter, Arial, Helvetica, sans-serif;
  color: var(--text-100);
  padding-top: var(--margin-top);
}

body * {
  scrollbar-color: var(--gray-80) var(--bg-100);
}

.hiddenImg {
  display: none;
}

a {
  color: inherit;
}

b,
strong {
  font-weight: bold !important;
}

.button-set {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.button {
  display: inline-flex;
  padding: 4px 16px;
  background-color: var(--bg-100);
  font-weight: bold;
  color: var(--text-100);
  border: 2px solid var(--gray);
  border-radius: 4px;
  cursor: pointer;
  font-size: 13px;
  line-height: 13px;
  text-align: center;
  gap: 4px;
  align-items: center;
  height: 25px;
}

.button[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}

.button:not(.primary):not([disabled]):hover,
.button:not(.primary):not([disabled]):focus,
.button:not(.primary):not([disabled]).active {
  outline: none;
  border-color: var(--gold);
}

.button.primary {
  background-color: var(--gold);
  border-color: transparent;
  color: var(--text-gold);
}

.button.primary:not([disabled]):hover,
.button.primary:not([disabled]):focus {
  outline: none;
  opacity: 0.7;
}

.button > svg,
.button > img {
  width: 16px;
  height: 16px;
}

.header {
  display: flex;
  align-items: center;
  padding: 16px;
  background-color: var(--bg-100);
  border-bottom: 1px solid var(--gray);
  position: fixed;
  z-index: 500;
  top: 0;
  height: 60px;
  width: 100%;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.header-title {
  font-size: 20px;
  font-weight: bold;
  color: var(--gold);
  display: flex;
  align-items: center;
}

.header-title > svg {
  height: 48px;
}

.content-wrapper {
  width: 1500px;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 24px;
}

.sneaker-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 32px;
  gap: 16px;
  align-items: flex-start;
}

.sneaker-item__image-link:hover {
  opacity: 0.7;
}

.sneaker-item__image-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
  justify-content: flex-end;
}

.sneaker-item__image {
  max-width: 100%;
  max-height: 600px;
  border-radius: 8px;
}

.sneaker-item__name {
  font-size: 20px;
  font-weight: bold;
}

.sneaker-item__subtitle {
  font-size: 16px;
  color: var(--text-80);
}

.sneaker-item__details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sneaker-item__status {
  color: var(--text-50);
  font-size: 14px;
}

.fact-table {
  border-collapse: collapse;
  font-size: 16px;
  line-height: 1.3;
}

.fact-table td {
  padding: 8px 0;
  padding-inline-end: 40px;
  border-bottom: 1px solid var(--gray);
  vertical-align: middle;
}

.fact-table td:first-child {
  font-weight: bold;
  font-size: 14px;
}

.main-header {
  background-color: var(--bg-100);
  border-bottom: 1px solid var(--gray);
  padding: 24px 0;
  position: relative;
}

.home-header {
  text-align: center;
}

.main-header img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.main-header-inner {
  width: 1500px;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.home-header > .main-header-inner {
  gap: 24px;
}

.home-header-logo {
  display: flex;
  justify-content: center;
}

.home-header-logo > svg {
  width: 256px;
  color: var(--gold);
}

.home-header-buttons {
  display: flex;
  justify-content: center;
}

.icon-button {
  display: flex;
  align-items: center;
  gap: 12px;
  background-color: var(--gold);
  color: var(--text-gold);
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  padding: 12px 24px;
}

.icon-button > svg {
  width: 24px;
  height: 24px;
  color: var(--secondary-accent);
}

.icon-button:hover {
  opacity: 0.7;
}

.main-header h1:not(.home-header h1) {
  margin: 0;
  font-size: 22px;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 12px;
}

.main-header .title-logo {
  display: inline-block;
  margin: 0 auto;
  align-items: center;
}

.main-header__description {
  line-height: 1.25;
  font-size: 15px;
}

.sneaker-item-images {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 16px;
  margin-top: 16px;
  align-items: flex-start;
}

.sneaker-item-images__image {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sneaker-item-images__thumbnail-link {
  display: flex;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--gray);
  width: 100%;
  height: 100%;
  aspect-ratio: 1;
  background-color: #e6e6e6;
}

.sneaker-item-images__thumbnail-link > picture {
  width: 100%;
  height: 100%;
  display: flex;
}

.sneaker-item-images__thumbnail-link:hover {
  opacity: 0.7;
}

.sneaker-item-images__thumbnail {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.post-item__content {
  margin-top: 24px;
  padding-bottom: 32px;
  font-size: 19px;
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.post-item__content > p a:not(.button)[href],
.post-item__content > blockquote a[href],
.post-item__content > h2 > a[href],
.post-item__content table a[href],
.post-item__content .league-table a[href],
.post-item__content > h3 > a[href],
.post-item__content > h4 > a[href],
.post-item__content > ul > a[href],
.post-item__content > ol > a[href],
.post-item__content > ul > li > a[href],
.post-item__content > ol > li > a[href],
.underline-link {
  color: var(--text-100);
  border-bottom: 2px solid var(--gold);
}

.post-item__content > p a:not(.button)[href]:hover,
.post-item__content > blockquote a[href]:hover,
.post-item__content > h2 > a[href]:hover,
.post-item__content table a[href]:hover,
.post-item__content .league-table a[href]:hover,
.post-item__content > h3 > a[href]:hover,
.post-item__content > h4 > a[href]:hover,
.post-item__content > ul > a[href]:hover,
.post-item__content > ol > a[href]:hover,
.post-item__content > ul > li > a[href]:hover,
.post-item__content > ol > li > a[href]:hover,
.underline-link:hover {
  border-color: var(--text-100);
}

.content-blocks {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 24px 0;
}

.content-block__title,
.sneaker-list-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 8px;
}

.sneaker-list {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 12px;
  align-items: flex-start;
}

.sneaker-list__item {
  display: flex;
  flex-direction: column;
  border-radius: 8px;
  background-color: var(--gray-50);
  border: 1px solid var(--gray);
  overflow: hidden;
}

.sneaker-list__item-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
}

.sneaker-list__item:hover {
  opacity: 0.7;
}

.sneaker-list__item-image {
  background-color: #e6e6e6;
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: contain;
  border-bottom: 1px solid var(--gray);
}

.sneaker-list__item-name {
  font-size: 15px;
  font-weight: bold;
  line-height: 1.2;
}

.sneaker-item__description {
  font-size: 19px;
  line-height: 1.5;
}

.sneaker-list__item-release-date {
  font-size: 14px;
  color: var(--text-80);
}

.archive-year {
  display: flex;
  flex-direction: column;
}

.archive-year__details {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.archive-year__title {
  font-size: 20px;
  font-weight: bold;
}

.archive-year__subtitle {
  font-size: 16px;
  color: var(--text-80);
}

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

.archive-year__details + .archive-year__items {
  margin-top: 16px;
}

.clean-link:not(:has(img)) {
  border-bottom: 2px solid var(--gold);
}

.clean-link:not(:has(img)):hover {
  border-color: var(--text-100);
}

.fact-table__brand-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 20px;
}

.brand-link > picture {
  display: flex;
}

.brand-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.brand-link > span {
  border-bottom: 2px solid var(--gold);
}

.brand-link:hover > img {
  opacity: 0.7;
}

.brand-link:hover > span {
  border-color: var(--text-100);
}

.list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 16px;
  align-items: flex-start;
}

.list__item {
  display: flex;
  border: 1px solid var(--gray);
  gap: 8px;
  padding: 8px;
  border-radius: 8px;
}

.list__item:hover,
.list__item:focus {
  border-color: var(--gold);
}

.tab-container__titles {
  display: inline-flex;
  gap: 4px;
  overflow-x: auto;
  background-color: var(--gray-80);
  border: 1px solid var(--gray);
  border-radius: 8px;
  padding: 4px;
  max-width: 100%;
}

.tab-container__title {
  color: inherit;
  font-size: 15px;
  cursor: pointer;
  padding-bottom: 2px;
  white-space: nowrap;
  padding: 4px;
  border-radius: 4px;
}

.tab-container__title > a {
  color: inherit;
}

.tab-container__title:only-child {
  cursor: initial;
}

.tab-container__title.active {
  background-color: var(--gold);
  color: var(--text-gold);
}

.tab-container__title:not(.active) {
  color: var(--text-80);
}

.tab-container__title:not(.active):hover {
  opacity: 0.7;
}

.tab-container__content {
  margin-top: 16px;
}

.tab-container__content-tab {
  display: none;
}

.tab-container__content-tab.active {
  display: initial;
}

.home-title {
  font-size: 32px;
  color: var(--gold);
}

.home-header__subtext {
  font-size: 18px;
}

.home-header__subtext strong {
  color: var(--gold);
  font-weight: bold;
}

.breadcrumbs-container {
  border-bottom: 1px solid var(--gray);
  padding: 12px 16px;
}

.breadcrumbs-container.no-margin {
  margin-bottom: 0;
}

.breadcrumbs-container > .container {
  overflow-x: auto;
  /* border fix */
  padding-bottom: 2px;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 2px;
  white-space: nowrap;
  font-size: 14px;
}

.breadcrumbs svg {
  width: 16px;
  height: 16px;
  color: #707070;
  flex-shrink: 0;
}

html[dir="rtl"] .breadcrumbs svg {
  transform: scale(-1, 1);
}

.breadcrumb__home {
  display: flex;
  align-items: center;
}

.breadcrumb__home svg {
  width: 16px;
  height: 16px;
  color: var(--text-100);
  opacity: 0.5;
}

.breadcrumb__home svg:hover {
  opacity: 1;
}

.breadcrumbs a:not(.breadcrumb__home) {
  text-decoration: none;
  border-bottom: 1px solid var(--gray);
}

.breadcrumbs a:hover {
  border-color: var(--text-100);
}

.button-subtle {
  background: none;
  border: none;
  font-size: inherit;
  font-family: inherit;
  color: inherit;
  cursor: pointer;
  padding: 0;
  font-weight: bold;
  color: var(--gold);
}

.button-subtle:hover {
  color: inherit;
}

.sidebar {
  background-color: var(--bg-100);
  position: fixed;
  width: var(--sidebar-width);
  top: 60px;
  bottom: 0px;
  display: flex;
  flex-direction: column;
  z-index: 2;
  border-inline-end: 1px solid var(--gray);
  /* z-index: 5000; */
}

.content-container:not(.no-sidebar) {
  padding-inline-start: var(--sidebar-width);
}

.brand-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
  align-items: flex-start;
}

.brand-list__item {
  display: flex;
  flex-direction: column;
  border-radius: 8px;
  background-color: var(--gray-50);
  border: 1px solid var(--gray);
  overflow: hidden;
  padding: 16px;
  gap: 16px;
}

.brand-list__item picture {
  display: flex;
  flex-direction: column;
}

.brand-list__item-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
  /* padding: 16px; */
}

.brand-list__item:hover {
  opacity: 0.7;
}

.brand-list__item-image {
  width: 64px;
  height: 64px;
  align-self: center;
}

.brand-list__item-name {
  font-size: 15px;
  font-weight: bold;
  line-height: 1.2;
}

.brand-list__item-details {
  font-size: 14px;
  color: var(--text-80);
}

.brand-list__item-release-date {
  font-size: 14px;
  color: var(--text-80);
}

.news-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  gap: 12px;
  align-items: flex-start;
}

.news-list__item {
  display: flex;
  flex-direction: column;
  border-radius: 8px;
  background-color: var(--gray-50);
  border: 1px solid var(--gray);
  overflow: hidden;
}

.news-list__item-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
}

.news-list__item:hover {
  opacity: 0.7;
}

.news-list__item-image {
  background-color: #ffffff;
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: contain;
  border-bottom: 1px solid var(--gray);
}

.news-list__item-title {
  font-size: 15px;
  font-weight: bold;
  line-height: 1.2;
}

.news-list__item-release-date {
  font-size: 14px;
  color: var(--text-80);
}

.news-item {
  display: flex;
  align-items: flex-start;
  gap: 48px;
}

.news-item__meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.news-item__description {
  font-size: 19px;
  line-height: 1.5;
}

.news-item__content {
  font-size: 19px;
  line-height: 1.5;
}

.news-item__content h1 {
  font-size: 22px;
  font-weight: bold;
}

.news-item__content h2 {
  font-size: 20px;
  font-weight: bold;
}

.news-item__content img {
  display: block;
  max-width: min(100%, 600px);
  max-height: min(50vh, 600px);
  margin: 0 auto;
}

.news-item__content p,
.news-item__content h1,
.news-item__content h2,
.news-item__content h3,
.news-item__content ul,
.news-item__content ol,
.news-item__content div {
  margin: 24px auto 0;
}

.news-item__content h1,
.news-item__content h2,
.news-item__content h3 {
  margin-top: 32px;
}

.news-item__content h1 > span {
  line-height: 1.5;
  color: var(--accent);
  border-bottom: 4px solid var(--secondary-accent);
}

:is([data-theme="dark"], [data-theme="blackout"], [data-theme="custom-light"])
  .news-item__content
  h1
  > span {
  color: var(--text-100);
}

.news-item__content p,
.news-item__content h1,
.news-item__content h2,
.news-item__content h3,
.news-item__content ul,
.news-item__content ol,
.news-item__content blockquote,
.news-item__content
  div:not(.image-set):not(.news-content__slideshow):not(.news-content__slideshow-controls) {
  width: 680px;
  margin-inline-start: auto;
  margin-inline-end: auto;
}

.news-item__content > *:first-child {
  margin-top: 0;
}

.news-item__content blockquote {
  border-inline-start: 5px solid var(--bg-60);
  padding-inline-start: 24px;
}

.news-item__content blockquote p {
  width: auto;
}

.news-item__content a {
  text-decoration: none;
  border-bottom: 1px solid var(--text-50);
}

.news-item__content a[href*="/static/"] {
  border: none;
}

.news-item__content a:hover {
  border-color: var(--text-100);
}

ul,
ol {
  /* list-style-position: inside; */
  /* list-style-type: disc; */
  padding-left: 20px;
}

ul {
  list-style-type: square;
}

.decade-container {
  background-color: var(--bg-100);
  border-bottom: 1px solid var(--gray);
  padding: 12px 0;
  position: sticky;
  top: 60px;
  z-index: 1;
}

.decade-container__inner {
  width: 1500px;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 24px;
}

.decade-container-dd {
  display: none !important;
  background-color: var(--bg-100);
  font-family: inherit;
}

.decade-container-dd > option {
  background-color: var(--bg-100);
}

.footer {
  border-top: 1px solid var(--gray);
}

.footer-social-list {
  display: flex;
  gap: 16px;
}

.footer-social-el > svg {
  width: 32px;
  height: 32px;
}

.footer-social-list > a:hover {
  opacity: 0.7;
}

.model-list__outer {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.model-list {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 12px;
  align-items: flex-start;
}

.model-list__item {
  display: flex;
  flex-direction: column;
  border-radius: 8px;
  background-color: var(--gray-50);
  border: 1px solid var(--gray);
  overflow: hidden;
}

.model-list__item-name {
  font-size: 15px;
  font-weight: bold;
  line-height: 1.2;
}

.model-list__item-release-date {
  font-size: 14px;
  color: var(--text-80);
}

.model-list__item-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
}

.model-list__item-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  /* aspect-ratio: 16/9; */
  overflow: hidden;
  border-bottom: 1px solid var(--gray);
}

.model-list__item-images img {
  width: 100%;
  height: 100%;
  border-radius: 0;
  object-fit: contain;
  aspect-ratio: 16/9;
  background-color: #e6e6e6;
}

.model-list__item-images-2 {
  aspect-ratio: 16/9;
}

.model-list__item-images-3 > *:first-child {
  grid-area: 1 / 1 / 3 / 2;
}

.model-list__item-images-2 > *:first-child {
  grid-area: 1 / 1 / 3 / 2;
}

.model-list__item-images-2 > *:nth-child(2n) {
  grid-area: 1 / 2 / 3 / 3;
}

.model-list__item-images-1 > * {
  grid-area: 1 / 1 / 3 / 3;
}

.model-list__item:hover {
  opacity: 0.7;
}

.sneaker-item__added-by {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: bold;
  background-color: var(--gray-50);
  border: 1px solid var(--gray);
  padding: 8px;
  border-radius: 8px;
  width: 320px;
  max-width: 100%;
}

.sneaker-item__added-by-avatar {
  width: 64px;
  height: 64px;
  border-radius: 4px;
}

@media (max-width: 1439px) {
  :root {
    --sidebar-width: 200px;
  }
}

@media (max-width: 1023px) {
  :root {
    --sidebar-width: 175px;
  }

  .header {
    padding: 8px;
  }

  .sneaker-item {
    margin-top: 12px;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .mobile-no {
    display: none;
  }

  .header-title > svg {
    height: 32px;
  }

  :root {
    --sidebar-width: 0px;
  }

  .header {
    padding: 12px;
  }

  .main-header {
    padding: 12px 0;
  }

  .main-header-inner {
    padding: 0 12px;
  }

  .content-wrapper {
    padding: 0 12px;
  }

  .content-blocks {
    padding: 12px 0;
    gap: 12px;
  }

  .model-list__outer {
    gap: 12px;
  }

  .sneaker-item-images {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 8px;
  }

  .sneaker-list {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }

  .sneaker-list__item-content {
    padding: 8px;
  }

  .breadcrumbs-container {
    padding: 12px;
  }

  .button-set-decades {
    display: none;
  }

  .decade-container-dd {
    display: initial !important;
  }
}

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

@media (max-width: 424px) {
  .news-list {
    grid-template-columns: 1fr;
  }
}
