/* propertypost02：对照 post03。透明底、无灰底板；单组按 template_id，无 Tab。 */

.propertypost02 {
  padding: var(--section-y) var(--page-pad);
  color: var(--color-text);
  background: transparent;
}

.propertypost02__inner {
  max-width: var(--content-max);
  margin-inline: auto;
}

.propertypost02__head {
  max-width: var(--head-max);
  margin: 0 auto var(--space-6);
  text-align: center;
}

.propertypost02__title {
  font-family: var(--font-heading);
  font-size: var(--fs-h2);
  font-weight: 500;
  line-height: 1.2;
}

.propertypost02 [data-post-section-desc] {
  margin-top: var(--space-3);
  color: var(--color-text-muted);
  font-size: 0.875rem;
  line-height: var(--lh-body);
}

.propertypost02__tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
}

.propertypost02__tab {
  padding: var(--space-2) var(--space-4);
  border: var(--line) solid var(--color-border);
  border-radius: var(--btn-radius);
  color: var(--color-text-muted);
  background: var(--color-bg);
  transition: color var(--t-fast) var(--ease), background var(--t-fast) var(--ease),
    border-color var(--t-fast) var(--ease);
}

.propertypost02__tab:hover,
.propertypost02__tab:focus-visible {
  color: var(--color-text);
  border-color: var(--color-text);
}

.propertypost02__tab[aria-selected="true"],
.propertypost02__tab[data-active] {
  background: var(--btn-bg);
  color: var(--btn-fg);
  border-color: transparent;
}

.propertypost02 [data-post-panel]:not([data-active]) {
  display: none;
}

.propertypost02__empty {
  padding: var(--space-6) 0;
  text-align: center;
  color: var(--color-text-muted);
}

.propertypost02__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  align-items: stretch;
}

.propertypost02__card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  background: var(--color-surface);
  border-radius: calc(var(--radius) * 2.5);
  transform: scale(1);
  transition: transform var(--t-fast) var(--ease);
}

.propertypost02__card:hover,
.propertypost02__card:focus-within {
  transform: scale(1.02);
}

.propertypost02__media {
  margin: 0;
  height: 16.25rem;
  overflow: hidden;
  background: var(--color-border);
}

.propertypost02__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.propertypost02__body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  gap: var(--space-5);
  padding: var(--space-5);
}

.propertypost02__copy {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  flex: 1 1 auto;
}

.propertypost02__badge {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.propertypost02__headline {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.propertypost02__price {
  margin: 0;
  font-weight: 600;
}

.propertypost02__facts {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.875rem;
}

.propertypost02__more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  gap: var(--space-2);
  min-height: 3rem;
  padding: var(--btn-pad);
  border: var(--line) solid var(--color-border);
  border-radius: var(--btn-radius);
  background: var(--color-bg);
  color: var(--color-text);
  font-weight: 500;
  transition: color var(--t-fast) var(--ease), background var(--t-fast) var(--ease),
    border-color var(--t-fast) var(--ease);
}

.propertypost02__more-icon {
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
}

.propertypost02__card:hover .propertypost02__more,
.propertypost02__card:focus-within .propertypost02__more,
.propertypost02__more:hover,
.propertypost02__more:focus-visible {
  background: var(--btn-bg);
  color: var(--btn-fg);
  border-color: transparent;
}

.propertypost02__cta {
  margin-top: var(--space-6);
  text-align: center;
}

.propertypost02__cta-link {
  display: inline-flex;
  align-items: center;
  padding: var(--btn-pad);
  background: var(--btn-bg);
  color: var(--btn-fg);
  border-radius: var(--btn-radius);
  font-weight: 500;
}

.propertypost02__cta-link:hover,
.propertypost02__cta-link:focus-visible {
  opacity: 0.88;
}

@media (min-width: 768px) {
  .propertypost02__title {
    font-size: calc(var(--fs-h1) * 1.25);
  }

  .propertypost02__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .propertypost02__title {
    font-size: calc(var(--fs-h1) * 1.5);
  }

  .propertypost02__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
