.properties-page {
  background: #f7f5f0;
  min-height: 100vh;
}

.properties-page .page-wrapper {
  background: #f7f5f0;
}

.properties-page__hero {
  padding: 160px 0 80px;
}

.properties-page__hero .sec-title {
  margin-bottom: 28px;
}

.properties-page__toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.properties-page__filter {
  border: 1px solid #d8d2c6;
  background: #fff;
  color: #333;
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.properties-page__filter.is-active,
.properties-page__filter:hover {
  background: #222;
  border-color: #222;
  color: #fff;
}

.properties-page__status {
  margin-bottom: 28px;
  color: #777;
  font-size: 14px;
}

.properties-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  padding-bottom: 100px;
}

.property-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.property-card__media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  height: 240px;
  overflow: hidden;
  background: #ece7de;
}

.property-card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.35s ease;
}

.property-card:hover .property-card__media img {
  transform: scale(1.04);
}

.property-card__body {
  padding: 22px 22px 26px;
}

.property-card__category {
  margin-bottom: 8px;
  color: #888;
  font-size: 13px;
}

.property-card__title {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.4;
}

.property-card__title a {
  color: #222;
  text-decoration: none;
}

.property-card__summary {
  margin: 0;
  color: #666;
  font-size: 14px;
  line-height: 1.7;
}

.properties-empty {
  color: #777;
  font-size: 15px;
  padding: 24px 0 80px;
}

.property-detail-page {
  background: #f7f5f0;
  color: #222;
  min-height: 100vh;
}

.property-detail-page .page-wrapper {
  background: #f7f5f0;
}

.property-detail-page .main-header {
  background: #fff;
}

.property-detail-page .main-footer {
  margin-top: 0;
}

.property-detail {
  width: min(820px, calc(100% - 40px));
  margin: 0 auto;
  padding: 140px 0 80px;
  color: #222;
}

.property-detail__brand {
  margin-bottom: 18px;
  color: #888;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-align: center;
}

.property-detail__category {
  margin-bottom: 18px;
  color: #5a7a00;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}

.property-detail__title {
  margin: 0 0 16px;
  color: #111 !important;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.35;
  text-align: center;
}

.property-detail__date {
  margin: 0 0 36px;
  color: #777;
  font-size: 14px;
  text-align: center;
}

.property-detail__cover {
  margin-bottom: 40px;
  border-radius: 16px;
  overflow: hidden;
}

.property-detail__cover img {
  display: block;
  width: 100%;
  height: auto;
}

.property-detail__content,
.property-detail__notice {
  color: #333;
  font-size: 16px;
  line-height: 1.9;
}

.property-detail__content h2,
.property-detail__content h3,
.property-detail__notice h2,
.property-detail__notice h3 {
  margin: 28px 0 12px;
  color: #111;
}

.property-detail__content p,
.property-detail__notice p {
  margin: 0 0 16px;
  color: #333;
}

.property-detail__content img,
.property-detail__notice img,
.ql-editor img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 18px 0;
  display: block;
}

.property-detail__content table {
  width: 100%;
  margin: 24px 0;
  border-collapse: collapse;
}

.property-detail__content th,
.property-detail__content td {
  border: 1px solid #ddd;
  padding: 12px 14px;
  text-align: left;
  color: #333;
}

.property-detail__section {
  margin-top: 56px;
}

.property-detail__heading {
  margin: 0 0 20px;
  color: #111;
  font-size: 28px;
}

.property-detail__qa-item + .property-detail__qa-item {
  margin-top: 24px;
}

.property-detail__qa-q {
  margin: 0 0 8px;
  color: #111;
  font-size: 18px;
}

.property-detail__qa-a {
  margin: 0;
  color: #555;
  line-height: 1.8;
}

.property-detail__nav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid #e5e0d6;
}

.property-detail__nav a {
  color: #333;
  text-decoration: none;
  font-size: 15px;
}

.property-detail__nav a:hover {
  color: #111;
}

.property-detail__empty {
  color: #666;
  text-align: center;
  padding: 120px 20px;
}

@media (max-width: 991.98px) {
  .properties-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .properties-page__hero {
    padding-top: 96px;
  }

  .properties-grid {
    grid-template-columns: 1fr;
  }
}
