/* Cajun Boil Locations Grid - v1.0.0 */
.cb-locations-grid {
  --cb-cols: 5;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  gap: 20px;
  width: 100%;
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  font-family: var(--body_typography-font-family, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
}

.cb-locations-grid *,
.cb-locations-grid *::before,
.cb-locations-grid *::after {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.cb-location-card {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 calc((100% - 80px) / 5);
  flex: 0 0 calc((100% - 80px) / 5);
  flex: 0 0 calc((100% - (var(--cb-cols, 5) - 1) * 20px) / var(--cb-cols, 5));
  min-width: 0;
  background-color: #ffffff;
  padding: 28px 24px;
  box-shadow: 15px 15px 30px 0px rgba(0, 0, 0, 0.1);
  border-radius: 2px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
}

.cb-location-title {
  font-family: var(--h3_typography-font-family, inherit);
  font-size: 30px !important;
  font-weight: 700 !important;
  color: #000000 !important;
  margin: 0 0 10px 0 !important;
  line-height: 1.3 !important;
}

.cb-location-rating {
  display: -webkit-inline-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 6px;
  margin-bottom: 18px;
  font-size: 1.05rem;
  font-weight: 500;
  color: #1a1a1a;
}

.cb-stars {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 2px;
  color: #f5b400;
}

.cb-stars svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
  display: block;
}

.cb-location-info {
  list-style: none !important;
  margin: 0 0 22px 0 !important;
  padding: 0 !important;
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 14px;
}

.cb-info-item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.92rem;
  line-height: 1.4;
}

.cb-icon-circle {
  -ms-flex-negative: 0;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: #000000;
  color: #ffffff;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  margin-top: 1px;
}

.cb-icon-circle svg {
  width: 13px;
  height: 13px;
  fill: currentColor;
  display: block;
}

.cb-info-link {
  color: #1640c4;
  text-decoration: none;
  word-break: break-word;
}

.cb-info-link:hover,
.cb-info-link:focus-visible {
  text-decoration: underline;
  color: #0d2a85;
}

.cb-btn-directions {
  margin-top: auto;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  gap: 8px;
  background-color: #c81010;
  color: #ffffff !important;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none !important;
  padding: 7px 18px;
  border-radius: 3px;
  -webkit-transition: background-color 0.2s ease, -webkit-transform 0.15s ease;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.cb-btn-directions svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  -ms-flex-negative: 0;
  flex-shrink: 0;
  display: block;
}

.cb-btn-directions:hover {
  background-color: #9e0b0b;
}

.cb-info-link:focus-visible,
.cb-btn-directions:focus-visible {
  outline: 3px solid #000000;
  outline-offset: 2px;
}

/* Laptop y Tablet: 2 columnas centradas */
@media (max-width: 1280px) {
  .cb-location-card {
    -ms-flex: 0 0 calc((100% - 20px) / 2);
    flex: 0 0 calc((100% - 20px) / 2);
  }
}

/* Móviles: 1 columna */
@media (max-width: 767px) {
  .cb-location-card {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
  }

  .cb-btn-directions {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cb-btn-directions {
    -webkit-transition: none;
    transition: none;
  }
}
