.post-page { min-height: 65vh; padding: 26px 0 80px; }
.post-page-shell { width: min(89%, 920px); margin: 0 auto; }
.post-back-link { display: inline-block; margin-bottom: 27px; color: var(--green); font-size: 11px; font-weight: 600; }
.post-back-link:hover { color: var(--green-dark); }
.post-page-status { padding: 70px 0; color: var(--muted); text-align: center; font-size: 13px; }
.post-detail-heading { position: relative; padding: 0 0 28px; }
.detail-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.detail-tags span { padding: 6px 9px; background: #e9eee8; color: var(--green); font-size: 9px; font-weight: 700; }
.detail-tags span:last-child { background: var(--lime); color: var(--ink); }
.post-detail-heading h1 { margin: 15px 0 8px; font-family: var(--serif); font-size: clamp(34px, 4.6vw, 56px); font-weight: 400; line-height: 1.3; }
.post-detail-location { margin: 0; color: var(--muted); font-size: 12px; }
.post-owner-actions { position: absolute; right: 0; bottom: 28px; display: flex; gap: 8px; }
.post-owner-actions[hidden] { display: none; }
.post-edit-link, .post-delete-button { display: inline-flex; min-width: 58px; min-height: 34px; align-items: center; justify-content: center; padding: 0 12px; border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; font-size: 10px; }
.post-edit-link:hover { border-color: var(--green); color: var(--green); }
.post-delete-button:hover { border-color: var(--coral); color: #a93f2d; }
.post-detail-price { margin: 16px 0 10px; color: var(--green); font-size: clamp(21px, 3vw, 29px); font-weight: 700; }
.post-property-table-section { margin: 0 0 34px; }
.post-property-table-section + .post-property-table-section { margin-top: -16px; }
.post-property-table-section h2 { margin: 9px 0 17px; font-family: var(--serif); font-size: 25px; font-weight: 400; }
.property-table-scroll { width: 100%; overflow-x: auto; border: 1px solid #d7dfd5; background: #fffefa; }
.property-info-table { width: 100%; border-collapse: collapse; color: #34473b; font-size: 13px; line-height: 1.6; }
.property-info-table th, .property-info-table td { min-width: 90px; padding: 12px 14px; border: 1px solid #d7dfd5; text-align: left; overflow-wrap: anywhere; white-space: pre-wrap; }
.property-info-table th { width: 17%; background: #edf1e9; color: var(--green-dark); font-weight: 700; }
.property-info-table td { width: 33%; }
.post-info-image { margin: 0 0 34px; padding: 18px; background: #eef1eb; text-align: center; }
.post-info-image img { display: block; width: auto; max-width: 100%; height: auto; margin: 0 auto; object-fit: contain; }
.post-photo-gallery { display: grid; gap: 18px; margin: 0 0 44px; }
.post-gallery-image { display: block; width: 100%; height: auto; background: #e1e6df; }
.post-description { padding: 34px 0 40px; border-top: 1px solid var(--line); }
.post-description h2, .post-video-section h2 { margin: 12px 0 17px; font-family: var(--serif); font-size: 30px; font-weight: 400; }
.post-description > p:last-child { margin: 0; color: #34473b; font-size: 15px; line-height: 2.1; white-space: pre-line; overflow-wrap: anywhere; }
.post-video-section { padding: 30px 0 40px; }
.post-video-frame { position: relative; overflow: hidden; aspect-ratio: 16 / 9; background: #15251b; }
.post-video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

@media (max-width: 650px) {
  .post-page { padding: 20px 0 58px; }
  .post-page-shell { width: 89%; }
  .post-page-status { padding: 55px 0; }
  .post-detail-heading { padding-bottom: 55px; }
  .post-detail-heading h1 { font-size: 36px; }
  .post-owner-actions { right: auto; bottom: 14px; left: 0; }
  .post-description h2, .post-video-section h2 { font-size: 27px; }
  .post-description > p:last-child { font-size: 14px; }
  .post-property-table-section { margin-bottom: 24px; }
  .property-info-table { font-size: 12px; }
  .property-info-table th, .property-info-table td { min-width: 82px; padding: 9px 10px; }
  .post-info-image { margin: 0 0 24px; padding: 8px; }
  .post-photo-gallery { gap: 10px; margin-bottom: 32px; }
}
