/* Anan Property Scope - rails on articles, listings and area guides.
   Palette follows the site: gold #ae8c63, taupe #6e6659, cream #f2efe9, ink #252a2c. */

.ana-ps, .ana-psr { margin: 44px 0 8px; clear: both; }
.ana-ps--inline { margin: 32px 0; }
.ana-ps__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; margin: 0 0 18px; }
.ana-ps__head .ana-ps__eyebrow { flex: 0 0 100%; margin: 0; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #ae8c63; }
.single-post .single-content .ana-ps__head p.ana-ps__eyebrow { font-size: 12px; margin: 0; max-width: none; }
.single-post .single-content .ana-ps__head p.ana-ps__title { font-family: Fraunces, Georgia, serif; font-size: 26px; line-height: 1.2; margin: 0; max-width: none; }
.ana-ps__head .ana-ps__title { margin: 0; font-family: Fraunces, Georgia, serif; font-size: 26px; line-height: 1.2; font-weight: 500; color: #252a2c; max-width: none; }
.ana-ps__head .ana-ps__all { margin-left: auto; font-size: 14px; font-weight: 600; color: #ae8c63; text-decoration: none; white-space: nowrap; }
.ana-ps__head .ana-ps__all:hover { color: #252a2c; }

/* the theme's own card grid, constrained to our column */
.ana-ps__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.ana-ps--inline .ana-ps__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ana-ps__grid > .listing_wrapper, .ana-ps__grid > .property_listing_wrapper, .ana-ps__grid > [class*="col-"] { width: auto; max-width: none; flex: none; padding: 0; margin: 0; }
.ana-ps__grid .property_listing { margin: 0; }
@media (max-width: 991.98px) { .ana-ps__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575.98px) { .ana-ps__grid, .ana-ps--inline .ana-ps__grid { grid-template-columns: 1fr; } .ana-ps__head .ana-ps__title { font-size: 22px; } }

/* full-width bleed inside the article column (images already bleed wider than the text measure) */
.single-post .single-content .ana-ps { max-width: none; }

/* "Reading about" cards (property pages, area guides) */
.ana-psr__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.ana-psr__card { display: block; text-decoration: none !important; color: #252a2c; }
.ana-psr__img { display: block; aspect-ratio: 3 / 2; overflow: hidden; border-radius: 14px; background: #f2efe9; margin-bottom: 10px; }
.ana-psr__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.ana-psr__card:hover .ana-psr__img img { transform: scale(1.03); }
.ana-psr__cat { display: block; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #ae8c63; margin-bottom: 4px; }
.ana-psr__title { display: block; font-family: Fraunces, Georgia, serif; font-size: 18px; line-height: 1.3; color: #252a2c; }
.ana-psr__date { display: block; font-size: 12px; color: #6e6659; margin-top: 6px; }
@media (max-width: 767.98px) { .ana-psr__grid { grid-template-columns: 1fr; } }
.single-estate_property .ana-psr { margin-top: 36px; padding-top: 28px; border-top: 1px solid #e6e1d8; }

/* sidebar listing card (replaces the generic advisor card) */
.ana-psw { display: block; border: 1px solid #e6e1d8; border-radius: 16px; overflow: hidden; background: #fff; text-decoration: none !important; color: #252a2c; margin: 0 0 16px; }
.ana-psw__label { display: block; padding: 12px 16px 8px; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #ae8c63; }
.ana-psw__img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #f2efe9; }
.ana-psw__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ana-psw__title { display: block; padding: 12px 16px 2px; font-family: Fraunces, Georgia, serif; font-size: 17px; line-height: 1.3; }
.ana-psw__meta { display: block; padding: 0 16px 14px; font-size: 13px; color: #6e6659; }
.ana-psw:hover .ana-psw__title { color: #ae8c63; }

/* search-phrase links share the reader's gold underline */
a.ana-ps-link { text-decoration: underline; text-decoration-color: #ae8c63; text-underline-offset: 3px; }
