/* WordPress integration. Mobile first; Bootstrap 5 breakpoint scale. */

body.admin-bar .main-header {
  top: 32px;
}

.custom-logo-link img {
  width: 160px;
  height: auto;
}

.mm-category-description {
  max-width: 850px;
  margin: 0 auto 36px;
  line-height: 1.8;
}

.mm-entry-content {
  max-width: 1100px;
  margin-inline: auto;
}

.mm-entry-content::after {
  content: "";
  display: table;
  clear: both;
}

.mm-entry-image {
  max-width: 650px;
  margin: 0 auto 40px;
}

.mm-entry-image img {
  width: 100%;
  height: auto;
}

.mm-entry-profile-image {
  max-width: 450px;
}

.mm-entry-profile-image img {
  display: block;
  aspect-ratio: 450 / 650;
  object-fit: cover;
  object-position: center 25%;
}

.mm-entry-content img {
  max-width: 100%;
  height: auto;
}

.mm-entry-content h1 {
  font-size: 2rem;
}

.mm-image-placeholder {
  width: 100%;
  height: 100%;
  min-height: 220px;
  background: linear-gradient(145deg,#241c20,#402536);
  display: grid;
  place-items: center;
  color: #d6b671;
  font-size: 3rem;
}

.home-profile-photo .mm-image-placeholder {
  aspect-ratio: 9/13;
}

.service-visual-photo .mm-image-placeholder,
.article-card-image .mm-image-placeholder {
  aspect-ratio: 3/2;
}

.locality-grid .mm-image-placeholder {
  aspect-ratio: 8/5;
}

.mm-address {
  padding: 18px 0;
  color: inherit;
}

.mm-address>span {
  display: block;
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #cbb078;
}

.mm-address address {
  margin: 8px 0 0;
  line-height: 1.7;
  font-style: normal;
}

.contact-links .mm-address {
  grid-column: 1/-1;
}

.pagination {
  margin-top: 40px;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.page-numbers {
  border: 1px solid #b49555;
  border-radius: 8px;
  padding: 10px 16px;
  text-decoration: none;
  color: inherit;
}

.page-numbers.current {
  background: #d5b878;
  color: #1d1419;
}

.mm-sitemap a {
  color: #cdb279;
}

.mm-sitemap li {
  padding-block: 5px;
}

.alignwide {
  max-width: 1200px;
}

.aligncenter {
  display: block;
  margin-inline: auto;
}

.wp-caption {
  max-width: 100%;
}

.wp-caption-text {
  font-size: .875rem;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

.screen-reader-text:focus {
  position: static;
  width: auto;
  height: auto;
  clip-path: none;
}

.navbar-nav .current-menu-item>a {
  color: #d8b66b;
}

.mm-entry-content iframe {
  max-width: 100%;
}

.home-profile-price strong {
  overflow-wrap: anywhere;
}

.home-profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 576px) {
  .mm-entry-content h1 {
    font-size: 2.25rem;
  }
}

@media (min-width: 768px) {
  .mm-entry-content h1 {
    font-size: 2.5rem;
  }
}

@media (min-width: 992px) {
  .mm-category-description {
    margin-bottom: 48px;
  }
}

@media (min-width: 1200px) {
  .mm-entry-content {
    padding-inline: 24px;
  }
}

@media (min-width: 1400px) {
  .mm-entry-content {
    max-width: 1200px;
  }
}
