* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
}

body {
  font-family: Futura, Jost, sans-serif;
  background: #000;
  color: #fff;
  overflow: auto;
}

h1 {
  text-align: center;
}

a {
  color: #6583bc;
  text-decoration: none;
}

#main {
  padding: 20px;
  margin-top: 80px;
  min-height: calc(100vh - 80px - 60px);
}

#navigation {
  height: 80px;
  border-bottom: 1px solid #333;
  position: fixed;
  background: #111;
  top: 0;
  left: 0;
  right: 0;
  color: #fff;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

#navigation-inner {
  max-width: 1400px;
  margin: 0 auto;
  height: 100%;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 30px;
}
@media (max-width: 768px) {
  #navigation-inner {
    flex-wrap: wrap;
    gap: 15px;
    padding: 10px;
  }
}

#logo {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.5px;
  transition: color 0.2s ease;
}
#logo:hover {
  color: #6583bc;
}
@media (max-width: 768px) {
  #logo {
    font-size: 18px;
  }
}

#navigation-links {
  display: flex;
  gap: 5px;
  margin: 0;
  padding: 0;
}
#navigation-links a {
  padding: 8px 16px;
  border-radius: 6px;
  color: #aaa;
  font-weight: 500;
  transition: all 0.2s ease;
}
#navigation-links a:hover {
  background: #1a1a1a;
  color: #6583bc;
}
@media (max-width: 768px) {
  #navigation-links {
    gap: 2px;
  }
  #navigation-links a {
    padding: 6px 10px;
    font-size: 0.9rem;
  }
}

#navigation-search {
  margin-left: auto;
  display: flex;
  gap: 5px;
}
#navigation-search input[type=search] {
  padding: 10px 16px;
  border: 1px solid #333;
  border-radius: 6px;
  background: #1a1a1a;
  color: #fff;
  font-size: 0.95rem;
  font-family: inherit;
  width: 300px;
  transition: all 0.2s ease;
}
#navigation-search input[type=search]::placeholder {
  color: #666;
}
#navigation-search input[type=search]:focus {
  outline: none;
  border-color: #6583bc;
  background: #222;
}
@media (max-width: 968px) {
  #navigation-search input[type=search] {
    width: 200px;
  }
}
@media (max-width: 768px) {
  #navigation-search input[type=search] {
    width: 100%;
  }
}
#navigation-search button {
  padding: 10px 16px;
  border: 1px solid #333;
  border-radius: 6px;
  background: #6583bc;
  color: #fff;
  font-family: inherit;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
#navigation-search button:hover {
  background: rgb(136.5384615385, 159.6153846154, 203.4615384615);
  transform: translateY(-1px);
}
#navigation-search button:active {
  transform: translateY(0);
}
#navigation-search button .material-icons {
  font-size: 20px;
}
@media (max-width: 768px) {
  #navigation-search {
    width: 100%;
    flex-basis: 100%;
  }
}

.work-list,
.artist-list,
.museum-list,
.subject-list,
.movement-list {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}

.list-item {
  background: #111;
  color: #fff;
  border: 1px solid #333;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}
.list-item:hover {
  transform: translateY(-4px);
  border-color: #555;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}
.list-item-link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  flex: 1;
}
.list-item-image {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  background: #0a0a0a;
  overflow: hidden;
}
.list-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.list-item-image:hover img {
  transform: scale(1.05);
}
.list-item-content {
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.list-item-title {
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.3;
  color: #fff;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 2.6em;
}
.list-item-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.85rem;
}
.list-item-actions {
  display: flex;
  gap: 0;
  border-top: 1px solid #222;
  background: #0a0a0a;
}
.list-item-actions a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  color: #777;
  text-decoration: none;
  transition: all 0.2s ease;
  border-right: 1px solid #222;
}
.list-item-actions a:last-child {
  border-right: none;
}
.list-item-actions a:hover {
  background: #1a1a1a;
  color: #6583bc;
}
.list-item-actions a .material-icons {
  font-size: 20px;
}

.work-list-item .work-list-item-year {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  color: #fff;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 500;
}
.work-list-item .work-list-item-meta {
  gap: 5px;
}
.work-list-item .work-list-item-artist {
  color: #aaa;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.work-list-item .work-list-item-museum {
  color: #777;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.work-list-item .work-list-item-unknown {
  color: #555;
  font-style: italic;
}

.artist-list-item .artist-list-item-years {
  color: #aaa;
  display: flex;
  gap: 6px;
  align-items: center;
}
.artist-list-item .artist-list-item-separator {
  color: #555;
}
.artist-list-item .artist-list-item-works {
  color: #777;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
}
.artist-list-item .artist-list-item-works .material-icons {
  font-size: 16px;
}

.subject-list-item .subject-list-item-description {
  color: #aaa;
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.subject-list-item .subject-list-item-works {
  color: #777;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
}
.subject-list-item .subject-list-item-works .material-icons {
  font-size: 16px;
}

.movement-list-item .movement-list-item-description {
  color: #aaa;
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.movement-list-item .movement-list-item-works {
  color: #777;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
}
.movement-list-item .movement-list-item-works .material-icons {
  font-size: 16px;
}

.museum-list-item .museum-list-item-location {
  color: #aaa;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.museum-list-item .museum-list-item-count {
  color: #777;
  font-size: 0.8rem;
}

.map-popup-work-list {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  width: 100%;
  min-width: 100px;
}

.map-popup-work-list .item {
  width: 50px;
  height: 50px;
  background: #f9f9f9;
  border: 1px solid #ccc;
  border-radius: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.map-popup-work-list .item img {
  max-width: 100%;
  max-height: 100%;
}

.no-work-image,
.no-artist-image,
.no-museum-image,
.no-subject-image,
.no-movement-image {
  min-height: 200px;
  min-width: 200px;
  width: 100%;
  height: 100%;
  background: url("/assets/img/work-placeholder.png") no-repeat center center;
  background-size: contain;
}

.letter-navigation {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding: 20px;
  background-color: #ffffff;
  border-radius: 50px;
  margin: 20px;
}
.letter-navigation a {
  text-decoration: none;
  color: #333;
  font-size: 20px;
  font-weight: 500;
  margin: 10px;
  padding: 10px 20px;
  border-radius: 25px;
  transition: all 0.3s ease;
}
.letter-navigation a:hover {
  background-color: #6583bc;
  color: #fff;
  transform: scale(1.1);
}
.letter-navigation a:focus {
  outline: none;
  background-color: #6583bc;
  color: #fff;
}
.letter-navigation a.active {
  background-color: #6583bc;
  color: #fff;
}

#footer {
  padding: 30px 20px;
  border-top: 1px solid #333;
  background: #0a0a0a;
  text-align: center;
}

#footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}
#footer-links a {
  color: #777;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}
#footer-links a:hover {
  color: #6583bc;
}

/* Work Detail Page */
.work-detail {
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px;
}

.work-detail-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
@media (max-width: 968px) {
  .work-detail-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

.work-detail-image {
  position: sticky;
  top: 120px;
  border-radius: 8px;
  overflow: hidden;
  background: #111;
  border: 1px solid #333;
}
.work-detail-image a {
  display: block;
  cursor: zoom-in;
}
.work-detail-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}
.work-detail-image a:hover img {
  transform: scale(1.02);
}

.work-detail-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.work-detail-header {
  border-bottom: 2px solid #333;
  padding-bottom: 20px;
}

.work-detail-title {
  font-size: 2.5rem;
  font-weight: 600;
  margin: 0 0 10px 0;
  text-align: left;
  line-height: 1.2;
}

.work-detail-year {
  font-size: 1.2rem;
  color: #999;
  font-weight: 300;
}

.work-detail-metadata {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.work-detail-meta-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  align-items: baseline;
  padding: 15px 0;
  border-bottom: 1px solid #222;
}

.work-detail-meta-label {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #777;
  font-weight: 500;
}

.work-detail-meta-value {
  font-size: 1.1rem;
  color: #fff;
  transition: color 0.2s ease;
}
.work-detail-meta-value:hover {
  color: #6583bc;
}

.work-detail-meta-unknown {
  color: #555;
  font-style: italic;
}

.work-detail-actions {
  padding-top: 20px;
}

.work-detail-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: #111;
  border: 1px solid #333;
  border-radius: 6px;
  color: #6583bc;
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
}
.work-detail-link:hover {
  background: #1a1a1a;
  border-color: #6583bc;
  transform: translateY(-2px);
}
.work-detail-link .material-icons {
  font-size: 18px;
}

@media (max-width: 768px) {
  .work-detail-title {
    font-size: 2rem;
  }
  .work-detail-meta-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .work-detail-image {
    position: relative;
    top: 0;
  }
}
/* Artist Header */
.artist-header {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 40px;
  padding: 30px;
  background: #111;
  border: 1px solid #333;
  border-radius: 12px;
}
@media (max-width: 968px) {
  .artist-header {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

.artist-header-image {
  position: relative;
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: 8px;
  overflow: hidden;
  background: #0a0a0a;
  border: 1px solid #333;
}
.artist-header-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 968px) {
  .artist-header-image {
    max-width: 300px;
    margin: 0 auto;
  }
}

.artist-header-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.artist-header-title {
  font-size: 2.5rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.2;
  color: #fff;
}
@media (max-width: 768px) {
  .artist-header-title {
    font-size: 2rem;
  }
}

.artist-header-years {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.3rem;
  color: #999;
  font-weight: 300;
}
.artist-header-years .artist-year-separator {
  color: #555;
}

.artist-header-description {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #ccc;
  margin: 0;
}

.artist-header-summary {
  padding: 20px;
  background: #0a0a0a;
  border-left: 3px solid #6583bc;
  border-radius: 6px;
}
.artist-header-summary p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
  color: #ddd;
}

.artist-header-actions {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.artist-header-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 6px;
  color: #6583bc;
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
  font-size: 0.95rem;
}
.artist-header-link:hover {
  background: #222;
  border-color: #6583bc;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
.artist-header-link .material-icons {
  font-size: 20px;
}

/*# sourceMappingURL=main.css.map */
