/*--------------------------------
Artwork CPT
----------------------------*/

.artwork-archive .artwork-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  padding: 2rem;
}

.artwork-card img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
}

.artwork-card h2 {
  margin: 0.5rem 0 0;
  font-size: 1.1rem;
}

.single-artwork {
  display: grid;
  gap: 2rem;
  /*
  padding: 2rem;
  */
}

.artwork-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.artwork-meta {
  max-width: 600px;
}

.artwork-price {
  font-weight: bold;
  font-size: 1.2rem;
}

.purchase-link {
  display: inline-block;
  margin-top: 1rem;
  background: black;
  color: white;
  padding: 0.75rem 1.25rem;
  text-decoration: none;
  border-radius: 4px;
}



/*--------- filter for archive-artwork.php --- */
/*----7.7.25----*/

.artwork-filters ul {
  display: flex;
  gap: 1rem;
  list-style: none;
  padding: 0;
}

.artwork-filters a {
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 0.25rem;
  background: #eee;
  color: #333;
}

.artwork-filters a.active {
  background: #333;
  color: #fff;
}

.artwork-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  margin-top: 2rem;
}


/*--------------------------------
--------Gallery Labels for Taxonomy Archives
------------------------------*/

.gallery-label {
  margin-top: 1rem;
  font-family: Georgia, serif;
  font-size: 0.95rem;
  color: #222;
  text-align: center;
  line-height: 1.4;
}

.gallery-label .artwork-title {
  font-weight: bold;
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.gallery-label p {
  margin: 0.25rem 0;
}

.artwork-price {
  font-weight: bold;
  color: #111;
  font-size: 1rem;
  margin-top: 0.5rem;
}

.purchase-link {
  display: inline-block;
  margin-top: 0.5rem;
  background: #111;
  color: #fff;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.2s ease-in-out;
}

.purchase-link:hover {
  background: #333;
}

.not-for-sale {
  color: #888;
  font-style: italic;
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

/*------------------------------
  --------------------------Artwork Card (template-part) Layout for HOMEPAGE
------------------------------*/

.artwork-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.artwork-card {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.artwork-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.artwork-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.artwork-card-image img {
  width: 100%;
  height: auto;
  display: block;
}

.artwork-card-content {
  padding: 1rem;
}

.artwork-card-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
}

.artwork-meta {
  font-size: 0.9rem;
  color: #555;
  margin: 0.25rem 0;
}

.artwork-price {
  font-weight: bold;
  color: #000;
  font-size: 1rem;
  margin-top: 0.5rem;
}