:root {
  --site-brand: #000e1f;
  --site-brand-tint: #ffffff;
  --site-accent: #e3003d;
  --site-black: #000e1f;
  --site-white: #ffffff;
  --site-grey-1: #80878f;
  --site-grey-2: #f7f4f4;
  --site-grey-3: #5f666d;
  --site-red-bg: #fff8f8;
  --site-gallery-background: #010001;
  --site-container-desktop: 1080px;
  --site-container-desktop-wide: 1216px;
  --site-home-section-padding-y-desktop: 48px;
  --site-home-section-padding-y-mobile: 32px;
  --site-font-text: 'Raleway', sans-serif;
  --site-font-heading: 'Raleway', sans-serif;
  --site-font-heading-weight: 700;
  --site-footer-logo-filter: brightness(0) invert(1);
  --site-logo-offset-y: 0%;
  --site-logo-scale: 1;

  --search-accent-color: var(--site-white);
  --search-font-family: var(--site-font-text);
  --search-article-tag-font-family: var(--site-font-text);
  --search-article-tag-text-color: var(--site-black);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  color: var(--site-black);
  font-family: var(--site-font-text);
}

main {
  width: 100%;
}

.layout-content--brand-tint {
  background: var(--site-brand-tint);
}

.homepage {
  width: 100%;
}

.article-card__link {
  color: inherit;
  display: block;
  text-decoration: none;
}

.article-card__image-wrap {
  background: rgba(0, 0, 0, 0.2);
  position: relative;
}

.article-card__image {
  display: block;
  height: 100%;
  width: 100%;
}

.article-card__image > img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.article-card__label {
  backdrop-filter: blur(2px);
  background: rgba(255, 255, 255, 0.8);
  border-radius: 2px;
  color: var(--site-black);
  font-size: 12px;
  font-weight: 500;
  left: 8px;
  letter-spacing: 1px;
  line-height: 1.3;
  padding: 2px 12px;
  position: absolute;
  text-transform: uppercase;
  top: 8px;
}

.article-card__photo-badge {
  align-items: center;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 2px 0 0 0;
  bottom: 0;
  color: var(--site-black);
  column-gap: 4px;
  display: inline-grid;
  font-size: 14px;
  font-weight: 700;
  grid-auto-columns: max-content;
  grid-auto-flow: column;
  line-height: 1.32;
  min-width: max-content;
  padding: 8px;
  position: absolute;
  right: 0;
  white-space: nowrap;
  width: auto;
}

.article-card__photo-icon {
  display: block;
  height: 15.75px;
  width: 15.75px;
  background-color: var(--site-black);
  -webkit-mask: url("/assets/icons/gallery.svg") center / contain no-repeat;
  mask: url("/assets/icons/gallery.svg") center / contain no-repeat;
}

.article-card__photo-count {
  display: inline-block;
  min-width: max-content;
  white-space: nowrap;
  word-break: keep-all;
}

@media (max-width: 1023px) {
  .layout-header--gallery-sticky {
    position: sticky;
    top: 0;
    z-index: 40;
  }
}

.desktop-nav-tag {
  border: 0;
  cursor: pointer;
  font: inherit;
}

.desktop-nav-tag {
  align-items: center;
  background: transparent;
  color: var(--site-black);
  display: inline-flex;
  font-size: 14px;
  font-weight: 700;
  gap: 6px;
  letter-spacing: 1px;
  line-height: 1.2;
  padding: 8px 16px;
  text-transform: uppercase;
}

.desktop-category {
  align-items: center;
  background: transparent;
  border: 0;
  color: var(--site-black);
  cursor: pointer;
  display: inline-flex;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1.2;
  padding: 8px 16px;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.desktop-category--with-arrow {
  gap: 6px;
}

/* Scroll lock when search modal is visible */

body.search-open {
  overflow: hidden;
}
