.seg-document-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  font-family: Arial, sans-serif;
}

.seg-section {
  margin-bottom: 40px;
}

.seg-section-title {
  color: #333;
  border-bottom: 2px solid #333;
  padding-bottom: 10px;
  margin-bottom: 20px;
  font-size: 24px;
}

.seg-document-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-bottom: 32px;
}

.seg-document-card {
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  background: white;
}

.seg-document-image {
  width: 100%;
  height: 400px;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #ddd;
}

.seg-document-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.seg-document-content {
  padding: 15px;
}

.seg-document-title {
  margin: 0 0 15px 0;
  font-size: 16px;
  color: #333;
  font-weight: bold;
  height: 40px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.seg-document-buttons {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.seg-btn {
  display: inline-block !important;
  padding: 8px 16px !important;
  border-radius: 4px !important;
  text-decoration: none !important;
  font-weight: bold !important;
  text-align: center !important;
  transition: background-color 0.3s !important;
  min-width: 100px !important;
  border: none !important;
  line-height: 1.5 !important;
  cursor: pointer !important;
}

.seg-btn-view {
  background-color: #008fd5 !important;
  color: white !important;
}

.seg-btn-view:hover {
  background-color: #008fd5 !important;
  text-decoration: none !important;
  color: white !important;
}

.seg-btn-order {
  background-color: #174564 !important;
  color: white !important;
}

.seg-btn-order:hover {
  background-color: #174564 !important;
  text-decoration: none !important;
  color: white !important;
}

@media (max-width: 992px) {
  .seg-document-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .seg-document-container {
    grid-template-columns: 1fr;
  }
}

.prints-archive .seg-section {
  margin-bottom: 64px;
}

.tax-prints-category .storefront-breadcrumb, .post-type-archive-print .storefront-breadcrumb {
  margin-bottom: 20px !important;
}
