﻿.ms-custompage-wrapper {
  /* max-width: 1020px; */
  margin: 0 auto;
}

.ms-custompage-wrapper ul {
  list-style: disc;
  list-style-position: inside;
}

.ms-custompage-wrapper img {
  border-radius: 0.4rem;
  overflow: hidden;
}
.ms-custompage-wrapper .ms-custompage-img-row a img {
  width: auto;
  height: 100%;
  object-fit: cover;
}

/* ------------------------------------------------------------------ */
/*  Hero: heading box (col-md-6) + 2 zdjecia (col-md-6)               */
/* ------------------------------------------------------------------ */
.ms-custompage-hero {
  margin-bottom: 2rem;
  gap: 1.5rem 0;
}

/* Kolumna z naglowkiem – box z borderem, wycentrowany */
.ms-custompage-hero__box-col {
  display: flex;
}
.ms-custompage-hero__box {
  border: 1px solid #e0d5c5;
  border-radius: 0.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
  width: 100%;
}
.ms-custompage-hero__box .ms-custompage-heading {
  margin: 0;
  text-align: left;
  font-weight: 300 !important;
  padding: clamp(2rem, 2.5vw, 4rem);
  font-size: clamp(2rem, 2.5vw, 2.5rem);
  line-height: 1.5;
}
.ms-custompage-hero__box .ms-custompage-heading strong.tiny {
  font-weight: 300 !important;
  color: #a18064;
}

/* Kolumna ze zdjeciami – dwa obok siebie, ta sama wysokosc */
.ms-custompage-hero__photos-col {
  display: flex;
}
.ms-custompage-hero__photos {
  display: flex;
  gap: 8px;
  width: 100%;
}
.ms-custompage-hero__photo {
  flex: 1 1 0;
  min-width: 0;
  display: block;
  overflow: hidden;
  border-radius: 0.4rem;
}
.ms-custompage-hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Mobile – box height auto */
@media (max-width: 767px) {
  .ms-custompage-hero__box {
    height: auto;
    padding: 1.25rem 1rem;
  }
}

/* Pozostale zdjecia – kazde na pelna szerokosc */
.ms-custompage-gallery__single {
  display: block;
  margin-bottom: 8px;
}
.ms-custompage-gallery__single img {
  width: 100%;
  display: block;
  border-radius: 0.4rem;
}
/* ------------------------------------------------------------------ */
/*  Contact block                                                       */
/* ------------------------------------------------------------------ */
.mscpl-contact-block {
  border-top-color: #e5e5e5 !important;
}

/* CTA button */
.mscpl-contact-cta {
  min-width: 180px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* Google widget */
.mscpl-google-widget {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 0.4rem;
  padding: 12px 16px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  box-shadow: 0 1px 4px rgba(0,0,0,.08);
  min-width: 180px;
  margin-bottom: 1.5rem;
}

.mscpl-google-logo-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: #3c4043;
}

.mscpl-google-link {
  color: #5f6368;
  line-height: 1;
  margin-left: 2px;
}
.mscpl-google-link:hover { color: #1a73e8; }

/* Stars CSS trick – exact same as Google widget */
.mscpl-stars-wrap {
  position: relative;
  display: inline-block;
  font-size: 22px;
  line-height: 1;
}
.mscpl-stars-outer {
  color: #dadce0;
  white-space: nowrap;
}
.mscpl-stars-inner {
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  white-space: nowrap;
  color: #fbbc04;
}

.mscpl-rating-numbers {
  font-size: 13px;
  color: #3c4043;
  white-space: nowrap;
}
.mscpl-rating-numbers strong {
  font-size: 16px;
}
.mscpl-reviews-count {
  color: #70757a;
}

/* Contact info */
.mscpl-contact-info-heading {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 12px;
}
.mscpl-contact-info p {
  /* margin-bottom: 6px; */
  /* font-size: 14px; */
  line-height: 1.5;
}
.mscpl-contact-info a {
  color: inherit;
  text-decoration: underline;
}
.mscpl-contact-info a:hover {
  color: var(--bs-primary, #333);
}
.mscpl-hours {
  color: #555;
}

/* Map */
.mscpl-map-container {
  border-radius: 0.4rem;
  overflow: hidden;
  box-shadow: 0 1px 6px rgba(0,0,0,.12);
}
.mscpl-map-container iframe {
  display: block;
}
