.gr-gmb-feed {
  --gr-title-size: 0.95rem;
  --gr-meta-size: 0.95rem;
  --gr-author-size: 1.15rem;
  --gr-text-size: 0.92rem;
  --gr-stars-size: 0.92rem;
  border: 1px solid #e6ebf2;
  border-radius: 18px;
  padding: 1.1rem;
  background: linear-gradient(180deg, #fff 0%, #f8fbff 100%);
}

.gr-gmb-head {
  margin-bottom: 0.9rem;
}

.gr-gmb-feed .gr-gmb-title {
  margin: 0;
  font-size: var(--gr-title-size) !important;
  line-height: 1.25;
  font-weight: 700;
  color: #1a2533;
}

.gr-gmb-meta {  font-size: var(--gr-meta-size);
  margin: 0.2rem 0 0;
  color: #526177;
  display: flex;
  gap: 0.45rem;
}

.gr-gmb-grid {
  display: grid;
  grid-template-columns: repeat(var(--gr-cols-xl, auto-fit), minmax(var(--gr-card-min, 220px), 1fr));
  gap: 0.8rem;
}

.gr-gmb-slider {
  position: relative;
  padding: 0 2.2rem;
}

.gr-gmb-slider-viewport {
  overflow: hidden;
}

.gr-gmb-slider-track {
  display: flex;
  gap: 0;
  align-items: stretch;
  transition: transform 0.35s ease;
  will-change: transform;
}

.gr-gmb-slide {
  min-width: 0;
  flex: 0 0 320px;
  display: flex;
  padding: 0 0.4rem;
  box-sizing: border-box;
}

.gr-gmb-slide .gr-gmb-card {
  width: 100%;
  height: 100%;
}

.gr-gmb-slider-btn {
  position: absolute;
  top: 42%;
  transform: translateY(-50%);
  z-index: 2;
  width: 1.8rem;
  height: 1.8rem;
  border: 1px solid #d6dfeb;
  border-radius: 999px;
  background: #fff;
  color: #2a3b52;
  cursor: pointer;
  line-height: 1;
  font-size: 1.15rem;
}

.gr-gmb-slider-btn:disabled {
  opacity: 0.4;
  cursor: default;
}

.gr-gmb-slider-prev {
  left: 0.1rem;
}

.gr-gmb-slider-next {
  right: 0.1rem;
}

.gr-gmb-slider-dots {
  display: flex;
  justify-content: center;
  gap: 0.35rem;
  margin-top: 0.45rem;
}

.gr-gmb-dot {
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 999px;
  background: #cad6e5;
  cursor: pointer;
  padding: 0;
}

.gr-gmb-dot.is-active {
  background: #536e91;
}

.gr-gmb-card {
  background: #fff;
  border: 1px solid #e6ebf2;
  border-radius: 14px;
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-width: 0;
}

.gr-gmb-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
}

.gr-gmb-card-top strong {
  font-size: var(--gr-author-size);
  line-height: 1.25;
  min-width: 0;
  flex: 1 1 auto;
  overflow-wrap: break-word;
  word-break: normal;
}

.gr-gmb-stars {
  color: #f59e0b;
  font-size: var(--gr-stars-size);
  white-space: nowrap;
  margin-left: auto;
  flex: 0 0 auto;
}

.gr-gmb-location {
  font-size: 0.8rem;
  color: #4b5a70;
  background: #eef4fb;
  border-radius: 999px;
  align-self: flex-start;
  padding: 0.15rem 0.55rem;
}

.gr-gmb-text {
  margin: 0;
  color: #243447;
  line-height: 1.45;
  font-size: var(--gr-text-size);
  overflow-wrap: anywhere;
}

.gr-gmb-card-footer {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #607089;
  font-size: 0.82rem;
}

.gr-gmb-card-footer a {
  color: #005fcc;
  text-decoration: none;
  font-weight: 600;
}

.gr-gmb-card-footer a:hover {
  text-decoration: underline;
}

.gr-gmb-notice {
  border: 1px solid #d7dce3;
  border-radius: 10px;
  padding: 0.8rem;
  background: #fafbfc;
  color: #35475d;
}

.gr-configurator-card {
  max-width: 980px;
  background: #fff;
  border: 1px solid #dfe6ef;
  border-radius: 10px;
  padding: 1rem 1.25rem;
}

#gr-configurator .form-table th {
  width: 220px;
}

#gr-configurator label {
  display: inline-block;
  margin: 0 12px 6px 0;
}

#grc-group-custom {
  max-height: 180px;
  overflow: auto;
  border: 1px solid #e6ebf2;
  border-radius: 8px;
  padding: 0.5rem 0.7rem;
  background: #fafcff;
}

#grc-shortcode {
  font-family: Consolas, Monaco, monospace;
}

#grc-copy-state {
  margin-left: 8px;
  color: #1f7a1f;
  font-weight: 600;
}

.grc-preview-wrap {
  margin-top: 8px;
}

.grc-preview-feed {
  max-width: 100%;
}

.gr-mapper-card {
  max-width: 980px;
  background: #fff;
  border: 1px solid #dfe6ef;
  border-radius: 10px;
  padding: 1rem 1.25rem;
  margin: 0 0 14px;
}

.gr-mapper-controls {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.gr-mapper-results {
  margin-top: 10px;
}

.gr-map-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.gr-map-item {
  border: 1px solid #e6ebf2;
  border-radius: 8px;
  padding: 8px 10px;
  background: #fbfdff;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.gr-map-main {
  min-width: 0;
}

.gr-map-address {
  color: #5d6d84;
  margin: 2px 0 5px;
}

.gr-map-main code {
  display: inline-block;
  font-size: 12px;
}

.gr-map-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.gr-gmb-feed {
  overflow: hidden;
}

.gr-gmb-feed[data-gr-cols="3"] {
  --gr-author-size: 1.08rem;
  --gr-stars-size: 0.9rem;
  --gr-text-size: 0.9rem;
}

.gr-gmb-feed[data-gr-cols="4"] {
  --gr-author-size: 1rem;
  --gr-stars-size: 0.86rem;
  --gr-text-size: 0.88rem;
}

.gr-gmb-feed[data-gr-cols="5"],
.gr-gmb-feed[data-gr-cols="6"] {
  --gr-author-size: 0.92rem;
  --gr-stars-size: 0.8rem;
  --gr-text-size: 0.84rem;
  --gr-meta-size: 0.9rem;
}

@media (max-width: 1200px) {
  .gr-gmb-grid {
    grid-template-columns: repeat(var(--gr-cols-lg, var(--gr-cols-xl, auto-fit)), minmax(var(--gr-card-min, 220px), 1fr));
  }
}

@media (max-width: 992px) {
  .gr-gmb-grid {
    grid-template-columns: repeat(var(--gr-cols-md, var(--gr-cols-lg, auto-fit)), minmax(var(--gr-card-min, 220px), 1fr));
  }
}

@media (max-width: 782px) {
  .gr-gmb-grid {
    grid-template-columns: repeat(var(--gr-mobile-cols, 1), minmax(0, 1fr));
  }

  .gr-gmb-slider {
    padding: 0 1.6rem;
  }
}


