:root {
  --green: #589b37;
  --green-dark: #3f7828;
  --blue: #2ea3f2;
  --ink: #444;
  --muted: #777;
  --line: #e6e6e6;
  --soft: #f6f7f5;
  --footer: #263126;
  --max: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); text-decoration: none; }
a:hover, a:focus-visible { color: var(--green-dark); text-decoration: underline; }

h1, h2, h3 {
  margin-top: 0;
  color: var(--green);
  font-family: Roboto, Helvetica, Arial, sans-serif;
  font-weight: 500;
  line-height: 1.25;
}

h1 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
h2 { font-size: clamp(1.35rem, 2vw, 1.75rem); }
h3 { font-size: 1.2rem; }

.site-header {
  position: relative;
  z-index: 10;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 14px rgba(0,0,0,.06);
}

.site-header__inner {
  width: min(calc(100% - 36px), var(--max));
  min-height: 112px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.site-brand { color: var(--ink); text-decoration: none; }
.site-brand:hover { text-decoration: none; }
.site-brand__title { display: block; color: var(--green); font: 500 1.7rem/1.15 Roboto, sans-serif; }
.site-brand__tagline { display: block; margin-top: 7px; color: var(--muted); font-size: .93rem; }
.site-nav { display: flex; flex-wrap: wrap; gap: 24px; }
.site-nav a { color: #333; font-weight: 600; }
.site-nav a:hover { color: var(--green); text-decoration: none; }

.page-shell {
  width: min(calc(100% - 36px), var(--max));
  margin: 48px auto 64px;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(270px, .9fr);
  gap: 56px;
  align-items: start;
}

.page-intro { margin-bottom: 28px; }
.page-intro p { color: var(--muted); }

.listing-card {
  margin-bottom: 44px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  box-shadow: 0 8px 24px rgba(30,45,30,.08);
}

.listing-card__image { aspect-ratio: 1132 / 749; overflow: hidden; background: var(--soft); }
.listing-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.listing-card:hover .listing-card__image img { transform: scale(1.015); }
.listing-card__body { padding: 25px 28px 28px; }
.listing-card__body h2 { margin-bottom: 10px; }
.facts-line { color: #555; font-weight: 600; }
.tagline { font-size: 1.05rem; }
.button-link {
  display: inline-block;
  padding: 9px 16px;
  color: #fff;
  background: var(--green);
  border-radius: 3px;
  font-weight: 700;
}
.button-link:hover { color: #fff; background: var(--green-dark); text-decoration: none; }

.sidebar { border-left: 1px solid var(--line); padding-left: 34px; }
.widget { margin-bottom: 42px; }
.widget > h2 { padding-bottom: 12px; border-bottom: 3px solid var(--green); }
.post-summary { padding: 15px 0; border-bottom: 1px solid var(--line); }
.post-summary h3 { margin-bottom: 5px; }
.post-summary p { margin: 6px 0; }
.post-meta { color: #888; font-size: .82rem; }
.city-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 18px; }
.market-widget img { margin: 14px 0 22px; border: 1px solid var(--line); }

.picture-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin: 30px 0 46px;
}
.picture-tile { color: var(--ink); background: #fff; border: 1px solid var(--line); }
.picture-tile:hover { text-decoration: none; box-shadow: 0 8px 22px rgba(0,0,0,.1); }
.picture-tile img { width: 100%; aspect-ratio: 4/3; object-fit: cover; background: var(--soft); }
.picture-tile span { display: block; padding: 10px 12px; text-align: center; font-weight: 600; }

.property-summary { padding: 26px 28px; background: var(--soft); border-left: 5px solid var(--green); }
.property-summary dl { display: grid; grid-template-columns: max-content 1fr; gap: 4px 16px; }
.property-summary dt { font-weight: 700; }
.property-summary dd { margin: 0; }

.room-photo { width: 100%; margin: 22px 0 18px; border: 1px solid var(--line); }
.photo-navigation { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 32px; }
.back-link { font-weight: 700; }

.site-footer { color: #d9dfd9; background: var(--footer); }
.site-footer__inner {
  width: min(calc(100% - 36px), var(--max));
  margin: auto;
  padding: 48px 0 34px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}
.site-footer h2 { color: #fff; font-size: 1.18rem; }
.site-footer a { display: block; color: #bdddac; }
.copyright { margin: 0; padding: 18px; text-align: center; color: #aeb9ae; background: rgba(0,0,0,.18); font-size: .85rem; }

@media (max-width: 900px) {
  .page-shell { grid-template-columns: 1fr; gap: 32px; }
  .sidebar { border-left: 0; border-top: 1px solid var(--line); padding: 34px 0 0; }
  .picture-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .site-header__inner { min-height: auto; padding: 22px 0; align-items: flex-start; flex-direction: column; }
  .site-brand__title { font-size: 1.4rem; }
  .site-nav { gap: 16px; }
  .page-shell { margin-top: 32px; }
  .picture-grid { grid-template-columns: 1fr; }
  .site-footer__inner { grid-template-columns: 1fr; gap: 24px; }
  .property-summary dl { grid-template-columns: 1fr; gap: 0; }
  .property-summary dd { margin-bottom: 6px; }
}

.blog-entry {padding:0 0 28px;margin:0 0 32px;border-bottom:1px solid var(--line)}
.blog-date{color:var(--muted);font-size:.9rem}
.notice{padding:20px 24px;background:var(--soft);border-left:4px solid var(--green)}
