/* GZ Card Grid Styles - matches venue card theming */
.gz-card-grid-wrapper {
  display: flex;
  gap: 2rem;
  margin: 2rem 0;
}
.gz-card-grid-sidebar {
  min-width: 220px;
  background: #f7f7f7;
  border-radius: 8px;
  padding: 1.5rem 1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  height: fit-content;
}
.gz-card-grid-sidebar h4 {
  margin-top: 0;
  font-size: 1.1rem;
  color: #eb6b40;
  margin-bottom: 1rem;
}
.gz-card-grid-sidebar label {
  font-size: 1rem;
  color: #364b54;
  cursor: pointer;
}
.gz-card-grid {
  display: grid;
  grid-template-columns: repeat(var(--gz-card-columns, auto-fit), minmax(320px, 1fr));
  gap: 2rem;
  width: 100%;
  align-items: start; /* allow cards to have different heights */
}
.venue-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 6px 32px rgba(54,75,84,0.18);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s;
  position: relative;
  height: auto; /* let cards be their natural height */
}
.venue-card:hover {
  box-shadow: 0 12px 48px rgba(54,75,84,0.28);
}
.venue-image-container {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.venue-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.venue-category {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: #eb6b40;
  color: #fff;
  font-weight: bold;
  font-size: 0.95rem;
  padding: 0.3rem 0.9rem;
  border-radius: 4px;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(54,75,84,0.08);
}
.venue-content {
  padding: 1.2rem 1.2rem 1.5rem 1.2rem;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center; /* center all content horizontally */
  text-align: center; /* center text within elements */
}
.venue-title {
  font-size: 1.25rem;
  color: #364b54;
  margin: 0 0 0.7rem 0;
  font-weight: 700;
}
.venue-subtitle {
  color: #eb6b40;
  font-weight: 700;
  font-size: 1.08rem;
  margin: 0.3rem 0 0.7rem 0;
  line-height: 1.3;
}
.venue-excerpt {
  color: #7b7c7f;
  font-size: 1rem;
  margin-bottom: 1.2rem;
  flex: 0 1 auto;
  white-space: normal; /* respect <br> tags, allow wrapping */
  word-wrap: break-word; /* break long words if needed */
  overflow-wrap: break-word; /* modern property for word breaking */
  word-break: normal; /* only break at normal word boundaries */
  max-height: none !important; /* remove any height restrictions */
  overflow: visible !important; /* show all content */
  line-height: 1.6; /* better line spacing for readability */
  text-align: center; /* center the text */
}
.venue-excerpt p {
  margin: 0 0 0.5rem 0; /* spacing between paragraphs */
  text-align: center; /* center paragraphs */
}
.venue-excerpt p:last-child {
  margin-bottom: 0; /* remove bottom margin from last paragraph */
}
.venue-link {
  display: inline-block;
  background: #eb6b40;
  color: #fff;
  font-weight: 600;
  padding: 0.5rem 1.2rem;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.2s;
  align-self: flex-start;
}
.venue-link:hover {
  background: #364b54;
  color: #fff;
}
.venue-content.horizontal-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  justify-content: flex-start;
  flex-wrap: nowrap;
  position: static;
}
.venue-content.horizontal-layout .venue-title,
.venue-content.horizontal-layout .venue-subtitle {
  margin: 0;
}
.venue-content.horizontal-layout .venue-link {
  align-self: center;
  margin-top: 1.2rem;
  margin-bottom: 0;
  position: static;
  left: auto;
  transform: none;
}
@media (max-width: 900px) {
  .gz-card-grid-wrapper {
    flex-direction: column;
  }
  .gz-card-grid-sidebar {
    min-width: 0;
    margin-bottom: 2rem;
  }
}
@media (max-width: 600px) {
  .gz-card-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  .venue-content {
    padding: 1rem 0.7rem 1.2rem 0.7rem;
  }
  .venue-content.horizontal-layout {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  .venue-content.horizontal-layout .venue-link {
    align-self: flex-start;
    margin-top: 0.7rem;
  }
}
.gz-card-grid-pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin: 2rem 0 0 0;
}
.gz-card-grid-page {
  display: inline-block;
  background: #fff;
  color: #eb6b40;
  font-weight: 700;
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  border: 2px solid #eb6b40;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border 0.2s;
  cursor: pointer;
  font-size: 1.1rem;
  margin: 0 0.1rem;
  box-shadow: 0 2px 8px rgba(54,75,84,0.06);
}
.gz-card-grid-page.active,
.gz-card-grid-page:hover {
  background: #eb6b40;
  color: #fff;
  border-color: #eb6b40;
  box-shadow: 0 4px 16px rgba(54,75,84,0.10);
}
.gz-card-grid.row-layout {
  width: 100vw;
  max-width: none;
  margin-left: 50%;
  transform: translateX(-50%);
  background: #fff;
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
  scrollbar-gutter: stable;
  border-radius: 0;
  display: flex !important;
  flex-direction: row;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 1.2rem;
}
.gz-card-grid.row-layout .venue-card {
  min-width: 260px;
  max-width: 280px;
  width: 100%;
  flex: 0 0 auto;
  font-size: 0.97rem;
  padding: 0.7rem 0.5rem 1rem 0.5rem;
  margin-bottom: 0;
}
.gz-card-grid.row-layout .venue-title {
  font-size: 1.08rem;
}
.gz-card-grid.row-layout .venue-excerpt {
  font-size: 0.97rem;
}
.gz-card-grid.row-layout .venue-link {
  font-size: 0.97rem;
  padding: 0.4rem 1rem;
}
@media (max-width: 600px) {
  .gz-card-grid.row-layout .venue-card {
    min-width: 200px;
    max-width: 220px;
    font-size: 0.93rem;
  }
}

/* Card Size Options */
.venue-card.card-size-small {
  max-width: 280px;
  font-size: 0.9rem;
}

.venue-card.card-size-small .venue-title {
  font-size: 1.1rem;
}

.venue-card.card-size-small .venue-subtitle {
  font-size: 0.95rem;
}

.venue-card.card-size-small .venue-excerpt {
  font-size: 0.9rem;
}

.venue-card.card-size-small .venue-link {
  font-size: 0.9rem;
  padding: 0.4rem 1rem;
}

.venue-card.card-size-small .venue-content {
  padding: 1rem 1rem 1.2rem 1rem;
}

.venue-card.card-size-large {
  max-width: 400px;
  font-size: 1.05rem;
}

.venue-card.card-size-large .venue-title {
  font-size: 1.4rem;
}

.venue-card.card-size-large .venue-subtitle {
  font-size: 1.15rem;
}

.venue-card.card-size-large .venue-excerpt {
  font-size: 1.05rem;
}

.venue-card.card-size-large .venue-link {
  font-size: 1.05rem;
  padding: 0.6rem 1.4rem;
}

.venue-card.card-size-large .venue-content {
  padding: 1.5rem 1.5rem 2rem 1.5rem;
}

.venue-card.card-size-extra-large {
  max-width: 500px;
  font-size: 1.1rem;
}

.venue-card.card-size-extra-large .venue-title {
  font-size: 1.5rem;
}

.venue-card.card-size-extra-large .venue-subtitle {
  font-size: 1.2rem;
}

.venue-card.card-size-extra-large .venue-excerpt {
  font-size: 1.1rem;
}

.venue-card.card-size-extra-large .venue-link {
  font-size: 1.1rem;
  padding: 0.7rem 1.6rem;
}

.venue-card.card-size-extra-large .venue-content {
  padding: 1.8rem 1.8rem 2.2rem 1.8rem;
}

/* Image Size Options */
.venue-image-container.image-size-thumbnail {
  aspect-ratio: 1/1;
}

.venue-image-container.image-size-medium {
  aspect-ratio: 4/3;
}

.venue-image-container.image-size-medium_large {
  aspect-ratio: 4/3;
}

.venue-image-container.image-size-large {
  aspect-ratio: 3/2;
}

.venue-image-container.image-size-full {
  aspect-ratio: 4/3;
}

/* Custom aspect ratio options */
.venue-image-container.image-size-square {
  aspect-ratio: 1/1;
}

.venue-image-container.image-size-portrait {
  aspect-ratio: 3/4;
}

.venue-image-container.image-size-landscape {
  aspect-ratio: 16/9;
}

.venue-image-container.image-size-wide {
  aspect-ratio: 21/9;
}

/* Responsive adjustments for card sizes */
@media (max-width: 768px) {
  .venue-card.card-size-large,
  .venue-card.card-size-extra-large {
    max-width: 100%;
    font-size: 1rem;
  }
  
  .venue-card.card-size-large .venue-title,
  .venue-card.card-size-extra-large .venue-title {
    font-size: 1.25rem;
  }
  
  .venue-card.card-size-large .venue-content,
  .venue-card.card-size-extra-large .venue-content {
    padding: 1.2rem 1.2rem 1.5rem 1.2rem;
  }
} 