/* Advanced compact Places UI Kit for pilot listing header.
   Only native host styles; Google attribution is never hidden or obscured. */
.wn-gr-header {
  display:block;
  width:min(100%,340px);
  margin:2px 0 4px;
  padding:0;
  clear:both;
}
.wn-gr-header gmp-advanced-place-details-compact {
  display:block;
  width:100%;
  min-width:180px;
  box-sizing:border-box;
  margin:0;
  padding:0;
  border:0;
  background:transparent;
  color-scheme:light;
  --gmp-color-surface:transparent;
  --gmp-color-primary:#257e92;
  --gmp-color-on-surface:#273745;
  --gmp-font-family:inherit;
}
@media (max-width:480px) { .wn-gr-header { width:min(100%,320px); } }
.wn-gr-review-wrapper {margin:1.2rem 0;padding:1rem;border:1px solid #e5e7eb;border-radius:12px}
.wn-gr-review-wrapper gmp-place-details {display:block;width:100%;max-width:420px;min-height:320px}
.wn-gr-load {padding:.7rem 1rem;border-radius:7px;background:#232323;color:#fff;border:0;cursor:pointer}


/* Native WeddingDir review section — isolated Google panel; preserves original reviews. */
.wn-gr-listing-panel{display:block;max-width:100%;margin:1rem 0 1.6rem;padding:1.15rem;border:1px solid #e4e2dd;border-radius:10px;background:#fff;color:#263744;box-sizing:border-box}
.wn-gr-listing-panel .wn-gr-panel-heading{margin:0 0 .35rem;font-size:1.25rem;line-height:1.4;font-weight:600;color:#237f99}
.wn-gr-listing-panel .wn-gr-panel-description{margin:0 0 .85rem;font-size:.925rem;color:#5d6872}
.wn-gr-listing-widget gmp-place-details{display:block;width:min(100%,640px);min-height:320px}
.wn-gr-listing-panel .wn-gr-load{background:#237f99;color:#fff;font-weight:600;min-height:42px}
.wn-gr-listing-panel .wn-gr-load:hover,.wn-gr-listing-panel .wn-gr-load:focus-visible{background:#1d6376}
@media(max-width:600px){.wn-gr-listing-panel{padding:.85rem}.wn-gr-listing-widget gmp-place-details{width:100%}}

/* v0.1.8: modest refinement of last confirmed working WeddingDir insertion.
   Avoid manipulating Google's internally rendered UI Kit elements. */
.wn-gr-listing-panel{padding:.9rem 1rem;margin:.65rem 0 1.1rem;box-shadow:none}
.wn-gr-listing-panel .wn-gr-panel-heading{margin:0 0 .2rem;font-size:1.1rem}
.wn-gr-listing-panel .wn-gr-panel-description{margin:0 0 .65rem;font-size:.8rem}
.wn-gr-listing-panel .wn-gr-load{padding:.55rem .85rem;font-size:.9rem}
.wn-gr-listing-widget{max-width:100%}

/* v0.1.9: Replace redundant side Review heading with a full-width Google section.
   Scope: only injected pilot panel and the exact heading it replaced. */
.wn-gr-replaced-native-heading-column, .wn-gr-replaced-native-heading {display:none !important}
.wn-gr-listing-panel {flex:1 1 100%;width:100%;max-width:none;min-width:0;margin:.35rem 0 1rem;padding:1rem 1.15rem}
.wn-gr-listing-panel .wn-gr-panel-heading {font-size:1.25rem;margin:0 0 .65rem}
.wn-gr-listing-panel .wn-gr-listing-widget {width:100%;}
@media(max-width:600px){.wn-gr-listing-panel{padding:.8rem}}

/* v0.3.3 — pilot-only Google rating on the Minnesota DJ category card. */
.elementor-22375 #weddingdir_listing_14845 .wn-gr-card-rating {
  display:block; width:min(100%, 270px); margin:4px 0 4px;
  max-width:100%; box-sizing:border-box;
}
.elementor-22375 #weddingdir_listing_14845 .wn-gr-card-rating gmp-advanced-place-details-compact {
  display:block; max-width:100%; width:100%; color-scheme:light;
  --gmp-mat-color-surface:transparent;
  --gmp-mat-color-primary:#257e92;
  --gmp-mat-color-on-surface:#273745;
  --gmp-mat-font-family:inherit;
}
/* Original WeddingDir score is available as fallback until the Google widget loads. */
.elementor-22375 #weddingdir_listing_14845.wn-gr-google-loaded .category_wrap .rating.cat_item {display:none!important}

/* v0.3.4: reserve a small, stable space for Google's rating inside the carousel. */
.elementor-22375 #weddingdir_listing_14845 .wn-gr-card-rating {
  display:block; max-width:100%; width:min(100%,270px); min-height:28px;
  margin:3px 0 5px; overflow:visible;
}

/* v0.3.5: move Places rating into the category/top rating row.
   Keep Google's full native rating, review link and attribution visible. */
.elementor-22375 #weddingdir_listing_14845 .category_wrap {
  display:flex; align-items:center; justify-content:space-between;
  gap:8px; flex-wrap:wrap; min-width:0;
}
.elementor-22375 #weddingdir_listing_14845 .category_wrap .wn-gr-card-rating {
  flex:0 1 206px; width:206px; max-width:100%; min-width:0;
  min-height:0; margin:0 0 0 auto !important; padding:0 !important;
  overflow:visible; box-sizing:border-box;
}
.elementor-22375 #weddingdir_listing_14845 .category_wrap .wn-gr-card-rating gmp-advanced-place-details-compact {
  display:block; max-width:100%; width:100%; margin:0; padding:0;
  background:transparent; border:0; color-scheme:light;
  --gmp-color-surface:transparent;
  --gmp-color-primary:#257e92;
  --gmp-color-on-surface:#273745;
  --gmp-font-family:inherit;
}
@media (max-width:380px) {
  .elementor-22375 #weddingdir_listing_14845 .category_wrap .wn-gr-card-rating {
    flex-basis:180px; width:180px;
  }
}

/* v0.3.6: compact pilot attribution without hiding Google's mandated branding.
   Keep Google's native rating, linked review count, disclosure and attribution.
   Google Maps text stays readable at >=12px; no clipping or opacity tricks. */
.elementor-22375 #weddingdir_listing_14845 .category_wrap .wn-gr-card-rating {
  flex: 0 1 188px;
  width: 188px;
  max-width: 100%;
  margin-left: auto !important;
  line-height: 1.25;
}
.elementor-22375 #weddingdir_listing_14845 .category_wrap .wn-gr-card-rating gmp-advanced-place-details-compact {
  --gmp-mat-color-surface: transparent;
  --gmp-mat-color-on-surface: #273745;
  --gmp-mat-color-on-surface-variant: #5e5e5e;
  --gmp-mat-color-primary: #257e92;
  --gmp-mat-font-family: inherit;
  box-sizing: border-box;
  font-size: 12px;
  line-height: 1.25;
}
.elementor-22375 #weddingdir_listing_14845 .category_wrap .wn-gr-card-rating gmp-place-attribution {
  display: block;
  font-size: 12px;
  line-height: 1.2;
  color: #5e5e5e;
  margin: 1px 0 0;
}
@media(max-width:380px) {
  .elementor-22375 #weddingdir_listing_14845 .category_wrap .wn-gr-card-rating {
    flex-basis: 180px;
    width: 180px;
  }
}

/* 0.3.7: One readable line; no oversized Google Places UI Kit panel.
   The source label and score visibly share the same distinct rating group. */
.elementor-22375 #weddingdir_listing_14845 .category_wrap .wn-gr-card-rating.wn-gr-card-inline {
  flex:0 1 auto !important;
  width:auto !important;
  max-width:100%;
  min-height:0;
  display:inline-flex;
  align-items:center;
  justify-content:flex-end;
  flex-wrap:wrap;
  column-gap:7px;
  row-gap:2px;
  margin:0 0 0 auto !important;
  padding:4px 0 !important;
  border:0;
  line-height:1.25;
  color:#263f4b;
  box-sizing:border-box;
}
.elementor-22375 #weddingdir_listing_14845 .wn-gr-card-inline a {
  text-decoration:none;
  white-space:nowrap;
}
.elementor-22375 #weddingdir_listing_14845 .wn-gr-card-score-link {
  display:inline-flex;
  align-items:center;
  gap:3px;
  color:#284f61;
}
.elementor-22375 #weddingdir_listing_14845 .wn-gr-card-score {
  font-size:15px;
  font-weight:700;
  line-height:1.3;
}
.elementor-22375 #weddingdir_listing_14845 .wn-gr-card-star {
  color:#edaa20;
  font-size:15px;
}
.elementor-22375 #weddingdir_listing_14845 .wn-gr-card-count {
  font-size:12px;
  text-decoration:underline;
  text-underline-offset:2px;
}
.elementor-22375 #weddingdir_listing_14845 .wn-gr-card-source {
  font-size:12px;
  font-weight:500;
  color:#52626c;
  text-decoration:underline;
  text-underline-offset:2px;
}
.elementor-22375 #weddingdir_listing_14845 .wn-gr-card-thirdparty {
  flex-basis:100%;
  font-size:12px;
  text-align:right;
}
.elementor-22375 #weddingdir_listing_14845 .wn-gr-card-inline a:hover,
.elementor-22375 #weddingdir_listing_14845 .wn-gr-card-inline a:focus-visible {
  text-decoration:underline;
}
