/* Tewantin Property layout, with the Noosaville river palette. RJR ads stay black/cyan. */
:root{--ink:#143846;--hero:#164a5b;--cream:#f7f3ea;--paper:#fefcf5;--light:#fffaf0;--sage:#d9e9e7;--gold:#efd29f;--ochre:#b77b42;--border:#d7ccba;--muted:#49616a;--ad:#171c20}
body{color:var(--ink)}
a:focus-visible,summary:focus-visible{outline-color:#a96835}
.market-band,.field-note,.read-next,.story-feature:nth-child(even),.map-group{background:#e5efea;border-color:#c5d9d4}
.card-map-art{min-height:5.6rem;color:var(--light);background:#316674}
.card-map-art span,.card-map-art small{color:var(--light)}
.hero-media figcaption a{white-space:normal}
.place-shot:focus-visible{outline-offset:-4px}
.map-explorer .map-figure{min-width:0}
.map-explorer nav a{border-color:#a8c4c1}
.map-explorer nav a strong{display:block}
.prose figure{margin-block:1.3rem}
.prose figure img{width:100%;max-height:36rem;object-fit:contain;background:var(--sage)}
.prose figure figcaption{padding:.45rem .1rem;color:var(--muted)}
.article-layout .prose{max-width:none}
.table-scroll{overflow:auto;margin-block:1.2rem}
.table-scroll table{width:100%;border-collapse:collapse;background:var(--paper)}
.table-scroll td,.table-scroll th{padding:.54rem .8rem;text-align:left;border-bottom:1px solid var(--border)}
.stats.noosa-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(8rem,1fr));gap:.65rem;margin-bottom:1.6rem}
.noosa-stats>div{border:1px solid var(--border);background:var(--paper);padding:.68rem;text-align:center;border-radius:.25rem}
.noosa-stats strong{display:block;font:500 clamp(1.5rem,3vw,2.05rem)/1.12 Georgia,serif;margin-bottom:.32rem}
.noosa-precincts{margin-top:1.5rem}
.noosa-precincts .card{border-top-color:var(--border)}
.noosa-gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(15rem,1fr));gap:1rem}
.noosa-gallery figure{min-width:0;background:var(--paper);border:1px solid var(--border);border-radius:.3rem;overflow:hidden}
.noosa-gallery img{width:100%;aspect-ratio:4/3;object-fit:cover}
.noosa-gallery figcaption{padding:.6rem .78rem;color:var(--muted)}
.map-figure iframe{border-radius:0 .3rem 0 0}
.map-figure .map-detail{padding:.6rem 1rem;border-top:1px solid var(--border);font-size:.93rem;min-height:2.7rem}
@media(max-width:760px){.noosa-gallery{grid-template-columns:1fr}.map-explorer .map-figure{position:static}.hero-copy p{margin-top:.75rem}.masthead .mast-inner{flex-wrap:wrap}}

.precinct-photos{margin-block:2rem;padding-top:.85rem;border-top:1px solid var(--border)}
.precinct-photos .noosa-gallery{grid-template-columns:repeat(auto-fit,minmax(min(100%,14rem),1fr));gap:.85rem;margin-top:.7rem}
.precinct-photos .noosa-gallery figure{margin:0}.precinct-photos .noosa-gallery img{object-fit:cover}
.precinct-photos .noosa-gallery figure>a{display:block}
.precinct-photos .noosa-gallery figcaption{padding:.6rem .7rem;font-size:.875rem;line-height:1.4}
@media(max-width:520px){.precinct-photos .noosa-gallery{grid-template-columns:1fr}}
.recent-sales tbody th{font-weight:600}
.recent-sales td:last-child,.recent-sales thead th:last-child{text-align:right;white-space:nowrap}
@media(max-width:520px){.recent-sales td,.recent-sales th{padding:.55rem .38rem;font-size:.9rem}}

/* Same scan order as Tewantin: headline medians, period, detailed figures. */
.noosa-rounds {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,8rem),10.6rem));gap:clamp(.55rem,2vw,1.25rem);align-items:start;justify-content:start}
.noosa-rounds>div {width:100%;justify-self:start;background:#dcece8;border-color:#9bbab7}
.noosa-rounds>div:nth-child(2n){background:#f1e1c6;border-color:#ccad7c}
.noosa-rounds dd {font-size:clamp(1.2rem,2.8vw,1.83rem)}
.noosa-rounds dt {max-width:13ch}
.stat-note {font-size:.9rem;color:var(--muted);margin:-.25rem 0 1rem}
.place-tiles {align-items:start}
.place-tile.place-tile-text {border-left:.23rem solid #9bbab7}
.card.card-text {background:#f0f4ee;border-top:.23rem solid #9bbab7}
@media (max-width:560px){
 .noosa-rounds{grid-template-columns:repeat(2,minmax(0,1fr));justify-items:start}
 .noosa-rounds>div{width:min(100%,9.3rem)}
 .noosa-rounds dd{font-size:clamp(1.16rem,5vw,1.46rem)}
}

/* No-photo pages: editorial rhythm and a decorative river-line device, never placeholder imagery. */
.photo-free-head{position:relative;isolation:isolate;overflow:hidden;display:grid;grid-template-columns:minmax(0,1fr) minmax(8rem,23%);gap:1.6rem;align-items:center;background:linear-gradient(114deg,#153c4a 20%,#1e5764);padding:clamp(1.7rem,4.5vw,3.55rem)}
.photo-free-copy{min-width:0}
.photo-free-head h1{font-size:clamp(2.35rem,5vw,4.45rem);line-height:1.07;overflow-wrap:break-word}
.photo-free-head p{max-width:58ch;line-height:1.55}
.river-device{position:relative;width:100%;height:clamp(6rem,14vw,12rem);align-self:end;pointer-events:none;opacity:.65}
.river-device i{position:absolute;inset:auto 0 0 0;height:88%;border:1px solid #dcebd7;border-radius:55% 48% 51% 58%;transform:rotate(-23deg)}
.river-device i:nth-child(2){inset:auto .5rem .95rem .5rem;height:77%;opacity:.7}
.river-device i:nth-child(3){inset:auto 1rem 1.9rem 1rem;height:66%;opacity:.4}
.photo-free-article .story-chapter{padding:clamp(1rem,3vw,1.6rem);border:1px solid #c7d8d5;border-left:4px solid #527d83;border-radius:.25rem;background:#fefcf5;scroll-margin-top:6rem}
.photo-free-article .story-chapter:nth-of-type(even){background:#edf4ef}
.photo-free-article .story-chapter p{max-width:66ch;margin-bottom:.65rem}
.photo-free-article .story-chapter p:last-child{margin-bottom:0}
.story-index{margin:0 0 1.3rem;padding:1rem 1.2rem;border:1px solid #c3d8d2;border-radius:.3rem;background:#e9f1ea}
.story-index ul{list-style:none;display:flex;flex-wrap:wrap;padding:0;margin:.6rem 0 0;gap:.45rem .7rem}
.story-index a{display:inline-block;font-size:.94rem;text-decoration:underline;text-underline-offset:.15em}
.lifestyle-panel{margin-block:2.2rem;background:#e7f0eb;border:1px solid #c5d9d4;border-radius:.4rem;padding:clamp(1rem,3vw,1.75rem)}
.lifestyle-panel .section-head{margin-top:0}
.outing-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.85rem}
.outing{padding:1rem;background:#fefcf5;border-radius:.3rem;border-top:4px solid #547b83;line-height:1.55}
.outing:nth-child(2){border-top-color:#8d7956}.outing:nth-child(3){border-top-color:#4b7465}
.outing h3{margin:.3rem 0 .55rem;font:500 clamp(1.25rem,2.4vw,1.65rem)/1.15 Georgia,serif}
.outing h3 a{text-underline-offset:.15em}.outing p{margin:0}
.outing-label{font-size:.9rem;font-weight:700;color:#3d5b63}
@media(max-width:700px){.photo-free-head{grid-template-columns:minmax(0,1fr);gap:0}.river-device{display:none}.outing-grid{grid-template-columns:minmax(0,1fr)}.story-index ul{display:grid;gap:.5rem}}

/* Match the neighbourhood and precinct cards whether or not there is a verified photo. */
.district-grid{grid-auto-rows:1fr}
.district-card{width:100%;height:100%;min-width:0}
.district-card .card-image{flex:none;aspect-ratio:1.74}
.district-card .card-illustration{background:linear-gradient(125deg,#dcece6,#eee7d5)}
.district-card .card-illustration::before,.district-card .card-illustration::after,.district-card .card-illustration span{border-color:#83a7a8}
.district-card .card-body{width:100%;min-height:13.25rem}
.district-card h3{font-size:clamp(1.12rem,2vw,1.4rem);line-height:1.18}
.district-card h3 a{text-decoration:underline;text-decoration-thickness:.06em;text-underline-offset:.15em}
.district-card .card-map{margin-top:auto}
.noosa-gallery figure>a{display:block}
@media(max-width:600px){.district-card .card-body{min-height:12rem}}

/* A continuous property-and-lifestyle journey, with room for the river imagery. */
.home-hero .hero-copy h1{font-size:clamp(2.6rem,4.95vw,4.8rem);line-height:1.015;max-width:10.5ch;text-wrap:balance}
.home-hero .hero-copy p{max-width:38ch;line-height:1.55}
.home-hero .actions{gap:.6rem 1.05rem}
.home-hero .actions a:not(.button){text-decoration:underline;text-underline-offset:.18em}
.home-editorial{margin-block:clamp(1.65rem,4.4vw,3.6rem)}
.home-editorial>section+section{margin-top:clamp(2rem,4.65vw,3.75rem)}
.home-editorial .district-grid{gap:clamp(.8rem,1.8vw,1.25rem)}
.home-editorial .after-cards{display:flex;flex-wrap:wrap;gap:.55rem 1.5rem}
.home-editorial .after-cards a,.property-led .market-pills a:not(.button){font-weight:700;text-decoration:underline;text-underline-offset:.18em}
.home-editorial .district-card .card-body{min-height:10.2rem}
.property-led{border:1px solid #aac9c5;border-left:4px solid #447e80;padding:clamp(1.1rem,3vw,2.1rem)}
.property-led .noosa-rounds{margin-block:1rem;justify-content:start}
.property-led .market-pills{align-items:center;flex-wrap:wrap;gap:.7rem 1.1rem}
.flow-panel{margin-block:clamp(1.5rem,3vw,2.7rem);padding:clamp(1.05rem,2.7vw,1.55rem);border:1px solid #c8d9d1;border-radius:.4rem;background:#eaf1eb}
.flow-panel h2,.prose .flow-panel h2{margin:.28rem 0 .8rem;font:500 clamp(1.7rem,3vw,2.35rem)/1.12 Georgia,serif}
.flow-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.7rem}
.flow-link{display:flex;flex-direction:column;gap:.42rem;color:var(--ink);background:var(--paper);min-width:0;border:1px solid #c8d9d1;border-radius:.28rem;padding:.87rem;text-decoration:none}
.flow-link strong{font-weight:750;text-decoration:underline;text-underline-offset:.15em;line-height:1.25}
.flow-link span{line-height:1.43;color:#344f59;font-size:.95rem}
.flow-link:hover{background:#f7eedb}
.section-nav{margin-block:0 1.2rem;display:flex;flex-wrap:wrap;gap:.5rem 1rem;padding:.95rem 1.05rem;background:#eaf1eb;border:1px solid #c8d9d1;border-radius:.4rem}
.section-nav a{min-height:2.1rem;align-content:center;font-weight:700;text-underline-offset:.2em}
#neighbourhoods,#market,#start-here,#river-life,#food-and-shops,#community-and-travel{scroll-margin-top:1.5rem}
@media(max-width:760px){
 .home-hero .hero-copy h1{font-size:clamp(2.45rem,9.4vw,3.35rem)}
 .flow-grid{grid-template-columns:1fr}
 .flow-link{padding:.7rem .85rem}
 .home-editorial .district-card .card-body{min-height:9.1rem}
}
