.sf-pools-block-editor {
  margin: 16px 0;
  padding: 28px 24px;
  background: #fff;
  border: 1px dashed #1a5fa8;
  border-radius: 5px;
  max-width: none !important;
}

.sf-pools-block-editor__title {
  margin: 0 0 20px;
  font-family: Montserrat, sans-serif;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #0a1f44;
}

.sf-pools-block-editor__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.sf-pools-block-editor__card {
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(10, 31, 68, 0.12);
}

.sf-pools-block-editor__photo {
  height: 140px;
  background: #d9e6f2;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(10, 31, 68, 0.4);
  font-size: 13px;
  font-weight: 700;
  overflow: hidden;
}

.sf-pools-block-editor__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sf-pools-block-editor__body {
  background: #0a1f44;
  color: #fff;
  padding: 18px;
}

.sf-pools-block-editor__body strong {
  display: block;
  font-family: Montserrat, sans-serif;
  font-size: 18px;
  font-weight: 800;
}

.sf-pools-block-editor__body p {
  margin: 6px 0 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
}

.sf-pools-block-editor__meta {
  color: rgba(255, 255, 255, 0.75) !important;
}

.sf-pools-block-editor__phone {
  color: #ff6b2b !important;
  font-weight: 700 !important;
}

.sf-pools-block-editor__map {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 14px;
  height: 40px;
  border-radius: 5px;
  background: #ff6b2b;
  color: #fff;
  font-family: Montserrat, sans-serif;
  font-size: 12px;
  font-weight: 800;
}

.sf-pools-block-editor__panel {
  border-bottom: 1px solid #ddd;
  margin-bottom: 14px;
  padding-bottom: 14px;
}

.sf-pools-block-editor__panel strong {
  display: block;
  margin-bottom: 10px;
}

.sf-pools-block-editor__media img {
  display: block;
  width: 100%;
  max-height: 120px;
  object-fit: cover;
  border-radius: 4px;
}

.sf-pools-block-editor__media-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
  background: #f0f4f8;
  border-radius: 4px;
  color: #667;
  font-size: 12px;
}

.wp-block-swim-family-pools {
  max-width: none !important;
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.sf-inner-content .wp-block-swim-family-pools,
.sf-inner-content .sf-poolgrid-sec,
.sf-inner-content .sf-mpoolgrid-sec,
.sf-inner-content .sf-desktop-only:has(.sf-poolgrid-sec),
.sf-inner-content .sf-mobile-only:has(.sf-mpoolgrid-sec),
.sf-service-content .wp-block-swim-family-pools,
.sf-service-content .sf-poolgrid-sec,
.sf-service-content .sf-mpoolgrid-sec,
.sf-service-content .sf-desktop-only:has(.sf-poolgrid-sec),
.sf-service-content .sf-mobile-only:has(.sf-mpoolgrid-sec) {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  box-sizing: border-box;
}

.sf-poolgrid-sec,
.sf-mpoolgrid-sec {
  width: 100%;
  max-width: none;
  box-sizing: border-box;
}

@media (max-width: 720px) {
  .sf-pools-block-editor__grid {
    grid-template-columns: 1fr;
  }
}
