.fmd-location-index-page,
.fmd-location-city-page {
  --fmd-generated-container: min(92vw, 1366px);
  --fmd-generated-gap: clamp(36px, 4vw, 64px);
  --fmd-generated-wide: min(92vw, 1500px);
}

.fmd-location-index-page .remodeling-content,
.fmd-location-city-page .remodeling-content {
  width: 100%;
  max-width: none;
  padding: 0;
}

.fmd-location-index-page .entry-title,
.fmd-location-city-page .entry-title {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.fmd-location-index-page .service-homepage-adapted,
.fmd-location-city-page .service-homepage-adapted {
  left: auto;
  width: 100%;
  max-width: 100%;
  margin-left: 0;
}

.fmd-location-index-page .content-holder,
.fmd-location-city-page .content-holder {
  overflow: clip;
}

.fmd-location-index-page .service-r3-hero,
.fmd-location-city-page .service-r3-hero {
  min-height: min(760px, 92vh);
  overflow: hidden;
}

.fmd-location-index-page .service-r3-hero {
  background:
    linear-gradient(90deg, rgb(9 8 13 / 72%) 0%, rgb(9 8 13 / 44%) 48%, rgb(9 8 13 / 72%) 100%),
    url("/wp-content/uploads/fixmydom-generated/final-image-batch/fixmydom-uslugi-varna-hero.webp") center / cover no-repeat,
    #09080d;
}

.fmd-location-index-page .service-r3-hero-image,
.fmd-location-city-page .service-r3-hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fmd-location-index-page .service-r3-hero-image {
  display: none;
}

.fmd-location-index-page .header-container,
.fmd-location-city-page .header-container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.72fr) 50px;
  gap: 64px;
  align-items: center;
  width: var(--fmd-generated-wide);
  max-width: var(--fmd-generated-wide);
  height: 100%;
  min-height: inherit;
  margin-inline: auto;
  padding: 126px 0 74px 70px;
  min-width: 0;
}

.fmd-location-index-page .header-sidebar-element,
.fmd-location-city-page .header-sidebar-element {
  display: flex;
  position: relative;
  grid-column: 3;
  grid-row: 1;
  width: 50px;
  max-width: none;
  min-height: 0;
  height: auto;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  align-self: stretch;
  padding: 170px 0 44px;
  border-right: 1px solid rgb(255 255 255 / 10%);
}

.fmd-location-index-page .header-sidebar-element::before,
.fmd-location-city-page .header-sidebar-element::before {
  content: "";
  width: 1px;
  height: 148px;
  background: var(--remodeling-accent);
}

.fmd-location-index-page .service-r3-rail-label,
.fmd-location-city-page .service-r3-rail-label {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  white-space: nowrap;
}

.fmd-location-index-page .header-main-element,
.fmd-location-city-page .header-main-element {
  display: block;
  grid-column: 1;
  width: 100%;
  padding: 0;
  min-width: 0;
}

.fmd-location-index-page .header-title,
.fmd-location-city-page .header-title {
  max-width: 850px;
  overflow-wrap: anywhere;
}

.fmd-location-index-page .service-r3-hero-card,
.fmd-location-city-page .service-r3-hero-card {
  grid-column: 2;
  width: 100%;
  max-width: none;
  justify-self: auto;
  align-self: end;
}

.fmd-location-index-page .service-r3-counter .number-counters,
.fmd-location-city-page .service-r3-counter .number-counters {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  width: var(--fmd-generated-wide);
  max-width: var(--fmd-generated-wide);
  margin-inline: auto;
}

.fmd-location-index-page .service-r3-counter .counter,
.fmd-location-city-page .service-r3-counter .counter {
  align-items: center;
  gap: 12px;
}

.fmd-location-index-page .service-r3-counter .cntr-block,
.fmd-location-city-page .service-r3-counter .cntr-block,
.fmd-location-index-page .service-r3-counter .count,
.fmd-location-city-page .service-r3-counter .count {
  flex: 0 0 61px;
  display: flex;
  width: 61px;
  justify-content: flex-start;
}

.fmd-location-index-page .service-r3-counter .cntr-block span,
.fmd-location-city-page .service-r3-counter .cntr-block span,
.fmd-location-index-page .service-r3-counter .count,
.fmd-location-city-page .service-r3-counter .count {
  color: var(--remodeling-accent);
  font-family: "micra", arial, "sans serfif";
  font-size: 33px;
  line-height: 1;
  white-space: nowrap;
}

.fmd-location-index-page .service-r3-counter .count-content,
.fmd-location-city-page .service-r3-counter .count-content {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 4px;
  margin-left: 0;
}

.fmd-location-index-page .service-r3-counter .count-content .title,
.fmd-location-city-page .service-r3-counter .count-content .title {
  color: #fff;
  font-family: "micra", arial, sans-serif;
  font-size: clamp(11px, 0.72vw, 14px);
  line-height: 1.15;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.fmd-location-index-page .service-r3-counter .count-content .subtitle,
.fmd-location-city-page .service-r3-counter .count-content .subtitle {
  display: block;
  color: var(--remodeling-accent);
  font-size: clamp(11px, 0.68vw, 13px);
  line-height: 1.25;
  overflow-wrap: anywhere;
}

@media (min-width: 1121px) and (max-width: 1199px) {
  .fmd-location-index-page .service-r3-counter .counter,
  .fmd-location-city-page .service-r3-counter .counter {
    min-height: 149.78125px;
  }
}

@media (min-width: 1200px) and (max-width: 1279px) {
  .fmd-location-index-page .service-r3-counter .counter,
  .fmd-location-city-page .service-r3-counter .counter {
    min-height: 149.78125px;
  }
}

@media (min-width: 1280px) {
  .fmd-location-index-page .service-r3-counter .counter,
  .fmd-location-city-page .service-r3-counter .counter {
    min-height: 123.390625px;
  }
}

.fmd-location-index-page .service-r3-split-grid,
.fmd-location-city-page .service-r3-split-grid {
  display: grid;
  grid-template-columns: minmax(520px, 1.02fr) minmax(520px, 0.82fr);
  gap: var(--fmd-generated-gap);
  align-items: center;
}

.fmd-location-index-page .service-r3-split-reverse .service-r3-split-grid,
.fmd-location-city-page .service-r3-split-reverse .service-r3-split-grid {
  grid-template-columns: minmax(520px, 0.82fr) minmax(520px, 1.02fr);
}

.fmd-location-index-page .half-col,
.fmd-location-city-page .half-col {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.fmd-location-index-page .service-r3-text-panel,
.fmd-location-city-page .service-r3-text-panel {
  width: 100%;
  max-width: none;
}

.fmd-location-index-page .service-r3-photo,
.fmd-location-city-page .service-r3-photo {
  width: 100%;
  min-height: clamp(320px, 34vw, 520px);
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.fmd-location-index-page .service-r3-photo {
  position: relative;
  color: transparent;
  font-size: 0;
  background:
    linear-gradient(180deg, rgb(9 8 13 / 10%), rgb(9 8 13 / 42%)),
    url("/wp-content/uploads/fixmydom-generated/final-image-batch/fixmydom-za-nas-varna-kachestven-remont.webp") center / cover no-repeat,
    #111019;
}

.fmd-location-index-page .service-r3-photo::after {
  content: "Избор на услуга по град";
  position: absolute;
  right: clamp(14px, 2vw, 22px);
  bottom: clamp(14px, 2vw, 22px);
  max-width: min(70%, 280px);
  padding: 9px 12px;
  border: 1px solid rgb(179 149 99 / 44%);
  background: rgb(9 8 13 / 72%);
  color: #fff;
  font-family: "micra", arial, sans-serif;
  font-size: 11px;
  line-height: 1.25;
  text-align: right;
  text-transform: uppercase;
  letter-spacing: 0;
}

.fmd-location-index-page .service-r3-photo img,
.fmd-location-city-page .service-r3-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fmd-location-index-page .service-r3-photo img {
  display: none;
}

.fmd-location-city-page .service-r3-photo::after {
  display: none;
  content: none;
}

.fmd-location-city-page .service-r3-photo figcaption {
  display: none;
}

.fmd-location-city-page .service-r3-counter + .service-r3-split .service-r3-photo {
  background:
    linear-gradient(180deg, rgb(9 8 13 / 8%), rgb(9 8 13 / 38%)),
    url("/wp-content/uploads/fixmydom-generated/final-image-batch/fixmydom-uslugi-varna-osnovni-remontni-uslugi.webp") center / cover no-repeat,
    #111019;
}

.fmd-location-city-page .service-r3-type-stage + .service-r3-type-stage {
  background:
    radial-gradient(circle at 82% 16%, rgb(179 149 99 / 11%), transparent 30%),
    linear-gradient(180deg, rgb(17 16 25 / 96%), rgb(9 8 13 / 96%)),
    #111019;
}

.fmd-location-city-page .service-r3-type-stage + .service-r3-type-stage + .service-r3-split .service-r3-photo {
  background:
    linear-gradient(180deg, rgb(9 8 13 / 8%), rgb(9 8 13 / 38%)),
    url("/wp-content/uploads/fixmydom-generated/final-image-batch/fixmydom-uslugi-varna-finalen-remont-obekt.webp") center / cover no-repeat,
    #111019;
}

.fmd-location-index-page .service-r3-type-grid,
.fmd-location-city-page .service-r3-type-grid,
.fmd-location-index-page .service-r3-faq-grid,
.fmd-location-city-page .service-r3-faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: clamp(16px, 2vw, 24px);
}

.fmd-location-index-page .location-finder-r3 {
  display: block;
  width: var(--fmd-generated-wide);
  max-width: var(--fmd-generated-wide);
  min-height: 0;
  padding: clamp(16px, 1.8vw, 28px);
  background:
    radial-gradient(circle at 18% 0%, rgb(179 149 99 / 10%), transparent 32%),
    linear-gradient(180deg, rgb(255 255 255 / 4%), rgb(9 8 13 / 16%)),
    #111019;
}

.fmd-location-index-page .location-finder-r3::before {
  content: none;
}

.fmd-location-index-page .location-finder-r3 > img,
.fmd-location-index-page .location-finder-r3 > picture,
.fmd-location-index-page .location-finder-r3 .service-r3-type-bg {
  display: none;
}

.fmd-location-index-page .location-finder-r3 .service-r3-type-intro {
  max-width: 960px;
  margin: 0 auto clamp(14px, 2vw, 24px);
  border-right: 0;
  text-align: center;
}

.fmd-location-index-page .location-finder-r3-search {
  display: block;
  margin-top: clamp(12px, 1.6vw, 18px);
}

.fmd-location-index-page .location-directory-r3-groups {
  display: grid;
  gap: 10px;
}

.fmd-location-index-page .location-directory-r3-group {
  border: 1px solid rgb(179 149 99 / 28%);
  background: rgb(9 8 13 / 66%);
}

.fmd-location-index-page .location-directory-r3-group summary {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  color: #fff;
  cursor: pointer;
  list-style: none;
}

.fmd-location-index-page .location-directory-r3-group summary::-webkit-details-marker {
  display: none;
}

.fmd-location-index-page .location-directory-r3-group summary::after {
  content: "+";
  flex: 0 0 auto;
  color: var(--remodeling-accent);
  font-size: 20px;
  line-height: 1;
}

.fmd-location-index-page .location-directory-r3-group[open] summary::after {
  content: "-";
}

.fmd-location-index-page .location-directory-r3-group-title {
  font-family: "micra", arial, sans-serif;
  font-size: clamp(12px, 0.95vw, 15px);
  text-transform: uppercase;
}

.fmd-location-index-page .location-directory-r3-group-note {
  color: rgb(220 220 220 / 74%);
  font-size: 13px;
}

.fmd-location-index-page .location-directory-r3-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 276px), 1fr));
  gap: 10px;
  max-height: clamp(390px, 38vh, 480px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 0 16px 16px;
  scrollbar-color: rgb(179 149 99 / 78%) rgb(255 255 255 / 8%);
}

.fmd-location-index-page .location-directory-r3-card {
  min-width: 0;
  padding: 14px;
  border: 1px solid rgb(255 255 255 / 10%);
  background: rgb(32 31 36 / 82%);
}

.fmd-location-index-page .location-directory-r3-card h3 {
  margin: 0 0 10px;
  color: #fff;
  font-family: "micra", arial, sans-serif;
  font-size: 14px;
  text-transform: uppercase;
}

.fmd-location-index-page .location-directory-r3-card p {
  display: none;
}

.fmd-location-index-page .location-directory-r3-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.fmd-location-index-page .location-directory-r3-links .service-r3-local-link {
  flex: 0 1 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 0;
  min-height: 40px;
  padding: 8px 9px;
  font-size: 12.5px;
  line-height: 1.25;
  text-align: center;
}

.fmd-location-index-page .service-r3-type-card,
.fmd-location-city-page .service-r3-type-card,
.fmd-location-index-page .service-r3-faq-card,
.fmd-location-city-page .service-r3-faq-card {
  min-width: 0;
}

.fmd-location-city-page .service-r3-type-stage {
  align-items: start;
  width: min(92vw, 1500px);
  max-width: min(92vw, 1500px);
  padding-top: clamp(48px, 5vw, 78px);
  padding-bottom: clamp(48px, 5vw, 78px);
}

.fmd-location-city-page .service-r3-type-intro {
  align-self: start;
  padding: clamp(24px, 2.8vw, 40px);
  border-right: 0;
}

.fmd-location-city-page .service-r3-type-grid,
.fmd-location-city-page .service-r3-faq-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.5vw, 18px);
  align-items: start;
}

.fmd-location-city-page .service-r3-type-card,
.fmd-location-city-page .service-r3-faq-card {
  height: auto;
  min-height: 0;
  padding: clamp(16px, 1.7vw, 22px);
}

.fmd-location-city-page .service-r3-type-card h3,
.fmd-location-city-page .service-r3-faq-card h3 {
  margin-bottom: 8px;
  font-size: clamp(15px, 1vw, 17px);
  line-height: 1.25;
}

.fmd-location-city-page .service-r3-type-card p,
.fmd-location-city-page .service-r3-faq-card p {
  margin-bottom: 0;
  font-size: clamp(14px, 0.95vw, 15.5px);
  line-height: 1.42;
}

@media (max-width: 1199px) {
  .fmd-location-index-page .header-sidebar-element,
  .fmd-location-city-page .header-sidebar-element {
    display: none;
  }

  .fmd-location-index-page .header-container,
  .fmd-location-city-page .header-container {
    display: grid;
    grid-template-columns: 1fr;
    width: min(92%, 1366px);
    min-height: 0;
    padding: 136px 0 42px;
  }

  .fmd-location-index-page .service-r3-hero-card,
  .fmd-location-city-page .service-r3-hero-card {
    grid-column: 1;
    justify-self: stretch;
    max-width: none;
  }
}

@media (max-width: 1599px) and (min-width: 1200px) {
  .fmd-location-index-page .header-container,
  .fmd-location-city-page .header-container {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.72fr);
    width: var(--fmd-generated-container);
    padding-left: 0;
  }

  .fmd-location-index-page .header-sidebar-element,
  .fmd-location-city-page .header-sidebar-element {
    display: none;
  }
}

@media (max-width: 900px) {
  .fmd-location-index-page .service-r3-counter .number-counters,
  .fmd-location-city-page .service-r3-counter .number-counters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fmd-location-city-page .service-r3-type-grid,
  .fmd-location-city-page .service-r3-faq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fmd-location-index-page .service-r3-split-grid,
  .fmd-location-city-page .service-r3-split-grid,
  .fmd-location-index-page .service-r3-split-reverse .service-r3-split-grid,
  .fmd-location-city-page .service-r3-split-reverse .service-r3-split-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 901px) and (max-width: 1120px) {
  .fmd-location-index-page .service-r3-counter .number-counters,
  .fmd-location-city-page .service-r3-counter .number-counters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .fmd-location-index-page .service-r3-counter .number-counters,
  .fmd-location-city-page .service-r3-counter .number-counters {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 1024px) and (max-width: 1365px) {
  .fmd-location-index-page .location-directory-r3-grid {
    max-height: 330px;
  }
}

@media (max-width: 520px) {
  .fmd-location-index-page .service-r3-counter .number-counters,
  .fmd-location-city-page .service-r3-counter .number-counters {
    grid-template-columns: 1fr;
  }

  .fmd-location-index-page .service-r3-hero,
  .fmd-location-city-page .service-r3-hero {
    min-height: auto;
  }

  .fmd-location-index-page .service-r3-actions,
  .fmd-location-city-page .service-r3-actions {
    width: 100%;
  }

  .fmd-location-index-page .location-finder-r3 {
    width: calc(100vw - 40px);
    max-width: 430px;
    padding: 16px 12px;
  }

  .fmd-location-index-page .location-directory-r3-group summary {
    display: grid;
    grid-template-columns: 1fr auto;
    min-height: 50px;
    padding: 12px;
  }

  .fmd-location-index-page .location-directory-r3-group-note {
    grid-column: 1 / -1;
    display: none;
  }

  .fmd-location-index-page .location-directory-r3-grid {
    max-height: min(46vh, 390px);
    padding: 0 10px 10px;
  }

  .fmd-location-index-page .location-directory-r3-links .service-r3-local-link {
    width: 100%;
    min-height: 42px;
  }

  .fmd-location-index-page .location-directory-r3-links {
    grid-template-columns: 1fr;
  }

  .fmd-location-city-page .service-r3-type-grid,
  .fmd-location-city-page .service-r3-faq-grid {
    grid-template-columns: 1fr;
  }
}

.fmd-location-index-page .service-homepage-r3 div#header-block .header-container,
.fmd-location-city-page .service-homepage-r3 div#header-block .header-container {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.72fr) 50px;
  gap: 64px;
  width: var(--fmd-generated-wide);
  max-width: var(--fmd-generated-wide);
  height: 100%;
  min-height: inherit;
  padding: 126px 0 74px 70px;
}

@media (max-width: 1599px) and (min-width: 1200px) {
  .fmd-location-index-page .service-homepage-r3 div#header-block .header-container,
  .fmd-location-city-page .service-homepage-r3 div#header-block .header-container {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.72fr);
    width: var(--fmd-generated-container);
    max-width: var(--fmd-generated-container);
    padding-left: 0;
  }
}

@media (max-width: 1199px) {
  .fmd-location-index-page .service-homepage-r3 div#header-block .header-container,
  .fmd-location-city-page .service-homepage-r3 div#header-block .header-container {
    grid-template-columns: 1fr;
    width: min(92%, 1366px);
    max-width: min(92%, 1366px);
    min-height: 0;
    padding: 136px 0 42px;
  }
}

@media (min-width: 1600px) {
  .fmd-location-index-page .service-homepage-r3 div#header-block .header-container,
  .fmd-location-city-page .service-homepage-r3 div#header-block .header-container {
    align-items: stretch;
    padding: 0;
  }

  .fmd-location-index-page .service-homepage-r3 div#header-block .header-main-element,
  .fmd-location-city-page .service-homepage-r3 div#header-block .header-main-element {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-self: stretch;
    padding: 126px 0 74px 70px;
  }

  .fmd-location-index-page .service-homepage-r3 div#header-block .service-r3-hero-card,
  .fmd-location-city-page .service-homepage-r3 div#header-block .service-r3-hero-card {
    align-self: end;
    margin-bottom: 74px;
  }

  .fmd-location-index-page .service-homepage-r3 div#header-block .header-sidebar-element,
  .fmd-location-city-page .service-homepage-r3 div#header-block .header-sidebar-element {
    align-self: stretch;
  }
}
