/* ===============================================
  single post
=================================================*/
.apartment-for-dtm .main {
  content-visibility: visible;
}

/* page header */
body.apartment-for-dtm .main header {
  border: none;
}

/* page content */
body.apartment-for-dtm .content {
  border: none;
  padding-top: 0;
  line-height: 1.5;
}

/* property */
.property {
  --color-primary: #ec194e;
  --color-link: #1a71da;
  --color-orange: #ff7300;
  --color-border: #dee2e6;
  --color-th: #f1f1f1;
}

.property a {
  color: var(--color-link);
}

.property__section + .property__section {
  margin-top: 2rem;
}

body.apartment-for-dtm .content .property__heading {
  background: none;
  color: #fff;
  background-color: var(--color-primary);
  margin: 0;
  padding: 0.3em 0.3em 0.5em 1em;
  position: relative;
  font-size: 2rem;
  font-weight: bold;
  line-height: inherit;
  margin-bottom: 1rem;
  min-height: unset;
}

body.apartment-for-dtm .content .property__heading::after {
  content: "";
  background-image: none;
  background-color: #fff;
  width: 0.2em;
  height: calc(100% - 1em);
  position: absolute;
  top: 50%;
  bottom: unset;
  left: 0.4em;
  transform: translateY(-50%);
}

.property__header {
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  grid-gap: 2rem;
}

/* summary */
.property__summary {
}

.property__summary-price {
  font-size: 160%;
  color: var(--color-primary);
  font-weight: bold;
}

.property__summary-price2 {
}

.property__summary-address {
  display: block;
  font-size: 110%;
  font-weight: 500;
}

/* cta */
.property__cta {
}

.property__cta.fixed {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
}

.property__cta .property__btn {
  text-decoration: none;
  color: #fff;
  background-color: var(--color-orange);
  box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  grid-gap: 0.3em;
  padding: 1em 1em;
  font-size: 130%;
  font-weight: 500;
  border-radius: 0.5rem;
  line-height: 1;
  white-space: nowrap;
}

.property__btn small {
  font-size: 65%;
  font-weight: normal;
}

.property__btn i {
  font-size: 120%;
}

/* gallery */
.property__gallery {
}

/* description */
body.apartment-for-dtm .content .property__heading--2 {
  font-size: 1.8rem;
  margin-bottom: 2px;
}

body.apartment-for-dtm .content .property__heading--2::after {
}

.property__description {
  border: 1px solid var(--color-border);
  padding: 1em;
}

/* property information */
body.apartment-for-dtm .content .property__heading--3 {
  font-size: 1.8rem;
  color: var(--color-primary);
  background-color: #fff;
  border-bottom: 2px solid;
}

body.apartment-for-dtm .content .property__heading--3::after {
  background-color: var(--color-primary);
}

.property__table {
  border-color: var(--color-border);
  width: 100%;
}

.property__table :is(tbody, td, tfoot, th, thead, tr) {
  border-color: inherit;
  border-style: dotted;
  border-width: 0;
}

.property__table > :not(caption) > * {
  border-width: 1px 0;
}

.property__table > :not(caption) > * > * {
  padding: 0.75em 0.75em;
  background-color: transparent;
  border-width: 0 1px;
}

.property__table th,
.property__table td {
  width: 100%;
  display: block;
}

.property__table th {
  background-color: var(--color-th);
  white-space: nowrap;
  vertical-align: top;
  text-align: left;
  font-weight: 500;
}

.property__table td {
  vertical-align: top;
}

.property__table .em {
  color: var(--color-primary);
  font-weight: bold;
}

.property__table td p:first-child {
  margin-top: 0;
}

/* map */
.property .property__map {
  color: #fff;
  background-color: var(--color-link);
  border-bottom: 2px solid #124989;
  text-decoration: none;
  border-radius: 100vh;
  padding: 0.5em 1em;
  line-height: 1;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  grid-gap: 0.3em;
  font-size: 90%;
}

@media (min-width: 768px) {
  .property__table th,
  .property__table td {
    display: table-cell;
    width: auto;
  }

  .property__table th {
    width: 20%;
  }

  .property__table td {
    width: 30%;
  }
}

@media (min-width: 992px) {
  body.apartment-for-dtm .content .property__heading {
    font-size: 2.3rem;
    margin-bottom: 2.5rem;
  }

  .property__header {
    flex-direction: row;
    justify-content: space-between;
    margin-bottom: 1rem;
  }

  .property__cta.fixed {
    left: calc((100% - 1060px + 740px) / 2);
    width: 740px;
  }

  .property__cta .property__btn {
    font-size: 100%;
  }

  .property__summary {
  }

  .property__section + .property__section {
    margin-top: 3rem;
  }

  body.apartment-for-dtm .content .property__heading--2 {
    font-size: 1.8rem;
    margin-bottom: 2px;
  }

  .property__description {
    font-size: 90%;
  }

  body.apartment-for-dtm .content .property__heading--3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
  }

  .property__table {
    font-size: 85%;
    table-layout: fixed;
  }
}

/* ===============================================
  category archive
=================================================*/
.content .box2 {
  padding: 0;
  background-color: transparent;
}
.properties {
  --color-primary: #ec194e;
  --color-link: #1a71da;
  --color-orange: #ff7300;
  --color-border: #dee2e6;
  --color-th: #f1f1f1;
}

.properties {
  display: flex;
  flex-direction: column;
  grid-gap: 15px;
  margin-top: 15px;
}

.properties a {
  text-decoration: underline;
  color: var(--color-link);
}

.properties__item {
  background-color: #fff;
  line-height: 1.6;
  border: 1px solid;
}

.properties__left {
  display: grid;
  grid-template-areas:
    "fig summary"
    "fig meta";
  grid-template-columns: 30% 1fr;
  grid-template-rows: auto 1fr;
  padding: 10px;
  grid-gap: 0.5em;
}

.properties__fig {
  grid-area: fig;
}

.properties__summary {
  grid-area: summary;
}

.properties__name {
  font-weight: bold;
  margin-bottom: 0.5em;
}

.properties__name a {
  color: inherit;
}

.properties__traffic {
  margin-bottom: 0.5em;
}

.properties__address {
}

.properties__meta {
  grid-area: meta;
  align-self: flex-start;
  display: flex;
  grid-gap: 0.5em;
}

.properties__right {
  padding: 10px;
  display: flex;
  flex-wrap: wrap;
  grid-gap: 10px;
}

.properties__table {
  width: 100%;
}

.properties__table th,
.properties__table td {
  padding: 0.75em 0.75em;
  border: 1px solid #e7e1e0;
}

.properties__table th {
  background-color: var(--color-th);
  font-weight: normal;
  text-align: center;
}

.properties__table td {
  text-align: center;
}

.properties__set {
  display: flex;
  align-items: center;
  justify-content: center;
  grid-gap: 0.5em;
}
.properties__badge {
  background-color: var(--color-th);
  padding: 0.25em 0.375em;
  margin-right: 2px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  white-space: nowrap;
  text-align: center;
  line-height: 1.25;
}

.properties__group {
  display: flex;
  justify-content: center;
  grid-gap: 0.5em;
  width: 100%;
}

a.properties__btn {
  color: #fff;
  background-color: var(--color-link);
  border-bottom: 2px solid #124989;
  text-decoration: none;
  line-height: 1;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  grid-gap: 0.3em;
  text-align: center;
  white-space: nowrap;
  width: 100%;
  padding: 1em;
}

@media (min-width: 768px) {
  .properties__item {
    display: flex;
    font-size: 80%;
  }

  .properties__left {
    width: 50%;
  }

  .properties__right {
    width: 50%;
  }
}

@media (min-width: 1200px) {
  .properties__left {
    width: 45%;
    grid-gap: 0.5em 1em;
  }

  .properties__right {
    width: 55%;
  }

  :where(.properties__right) .properties__set {
    align-items: flex-start;
  }

  .properties__group {
    flex-direction: column;
  }

  a.properties__btn {
    width: auto;
  }
}
