/* Self-hosted fonts for index page */
@font-face {
  font-family: 'league_gothicregular';
  src: url('/fonts/leaguegothic-regular-webfont.woff') format('woff'),
       url('/fonts/leaguegothic-regular-webfont.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'sofia_pro_lightregular';
  src: url('/fonts/SofiaProLight-webfont.woff') format('woff'),
       url('/fonts/SofiaProLight-webfont.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* Index page specific */
body {
  font-family: 'sofia_pro_lightregular', sans-serif;
  padding-top: 100px;
}

@media (min-width: 768px) {
  body {
    padding-top: 150px;
  }
}

h1 {
  font-family: 'league_gothicregular', sans-serif;
  font-size: 40px;
  text-transform: uppercase;
  font-weight: normal;
  color: #000;
}

@media (min-width: 768px) {
  h1 {
    font-size: 52px;
  }
}

p {
  margin: 0 0 30px 0;
}

/* Gallery grid */
.art-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

@media (min-width: 600px) {
  .art-gallery {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

.art-item {
  position: relative;
}

.art-item img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}

/* Feature sizes */
.art-item.feature {
  grid-column: span 2;
}

.art-item.xl {
  grid-column: span 2;
}

@media (min-width: 600px) {
  .art-item.xl {
    grid-column: span 3;
  }
}

/* Sold badge */
.sold {
  position: absolute;
  top: -5px;
  left: -5px;
  background-color: red;
  color: white;
  text-transform: uppercase;
  font-size: 11px;
  padding: 3px 6px;
  font-weight: bold;
  z-index: 1;
}

@media (min-width: 768px) {
  .sold {
    font-size: 13px;
    padding: 5px;
  }
}

/* Placeholder for more letters */
.art-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  aspect-ratio: 1;
  padding: 20px;
}

.art-placeholder p {
  margin: 0;
  font-size: 16px;
  line-height: 1.2em;
}

/* Share section */
.share {
  border-top: 1px solid #ccc;
  padding-top: 15px;
  margin-top: 30px;
}
