:root{--ink:#162632;--muted:#607480;--line:#d9e6ee;--paper:#fff;--blue:#f3f8fc;--accent:var(--category-color,#c51d34);--serif:Georgia,"Times New Roman",serif;--sans:Arial,Helvetica,sans-serif}*{box-sizing:border-box}html,body{margin:0;padding:0;background:#dfe8ee;color:var(--ink);font-family:var(--sans);-webkit-print-color-adjust:exact;print-color-adjust:exact}.brochure-body{padding:32px}.brochure-actions{position:fixed;z-index:50;top:18px;right:18px;display:flex;gap:8px}.brochure-actions button{border:0;background:#162632;color:#fff;padding:12px 16px;font-size:11px;letter-spacing:.1em;text-transform:uppercase;cursor:pointer}.brochure-actions button+button{background:#fff;color:#162632;border:1px solid #aebfc9}.brochure{width:min(210mm,100%);margin:auto;background:#fff;box-shadow:0 24px 70px rgba(19,47,65,.18)}.brochure-cover{min-height:297mm;position:relative;display:grid;grid-template-rows:auto 1fr auto;overflow:hidden;padding:18mm 17mm 15mm;background:linear-gradient(155deg,#fff 0 46%,color-mix(in srgb,var(--accent) 5%,#edf6fc) 100%);page-break-after:always}.brochure-cover:after{content:"";position:absolute;inset:auto -18% -12% 34%;height:48%;opacity:.11;background-image:linear-gradient(var(--accent) 1px,transparent 1px),linear-gradient(90deg,var(--accent) 1px,transparent 1px);background-size:30px 30px;transform:rotate(-7deg);pointer-events:none}.brochure-brand{position:relative;z-index:2;display:flex;align-items:center;gap:16px}.brochure-brand img{width:38mm;height:auto}.brochure-brand span{font-size:9px;letter-spacing:.24em;text-transform:uppercase;color:#647986}.brochure-cover-copy{position:relative;z-index:2;align-self:center;max-width:135mm}.brochure-kicker{font-size:9px;letter-spacing:.22em;text-transform:uppercase;color:var(--accent);font-weight:700;margin-bottom:10mm}.brochure-cover h1{font-family:var(--serif);font-size:18mm;line-height:.98;letter-spacing:-.045em;font-weight:400;margin:0 0 7mm}.brochure-location{font-size:4.2mm;color:var(--muted);max-width:110mm;margin:0 0 9mm;line-height:1.5}.brochure-price{display:flex;gap:3mm;align-items:baseline;border-top:1px solid var(--line);padding-top:7mm;width:max-content;max-width:100%}.brochure-price strong{font-family:var(--serif);font-size:8mm;font-weight:400}.brochure-price span{font-size:3mm;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}.brochure-hero{position:absolute;z-index:1;right:-13mm;bottom:50mm;width:95mm;height:112mm;margin:0;overflow:hidden}.brochure-hero:before{content:"";position:absolute;z-index:1;inset:0;background:linear-gradient(90deg,#fff 0,rgba(255,255,255,.5) 10%,transparent 38%)}.brochure-hero img{width:100%;height:100%;object-fit:cover}.brochure-cover-graphic{position:absolute;right:9mm;bottom:53mm;width:88mm;height:108mm;border:1px solid color-mix(in srgb,var(--accent) 32%,#cadbe5);display:grid;place-items:center;background:color-mix(in srgb,var(--accent) 7%,#f5faff)}.brochure-cover-graphic span{font-family:var(--serif);font-size:58mm;color:color-mix(in srgb,var(--accent) 24%,transparent)}.brochure-cover-bottom{position:relative;z-index:3;display:flex;justify-content:space-between;align-items:end;border-top:1px solid var(--line);padding-top:8mm}.brochure-cover-bottom>div:first-child span{display:block;font-size:8px;letter-spacing:.18em;color:var(--muted)}.brochure-cover-bottom>div:first-child strong{font-family:var(--serif);font-size:9mm;font-weight:400}.brochure-qr-block{display:flex;align-items:center;gap:4mm;max-width:70mm}.brochure-qr-block p{font-size:2.8mm;line-height:1.4;color:var(--muted);margin:0}.brochure-qr canvas{display:block;width:34mm!important;height:34mm!important;background:#fff}.brochure-section{padding:18mm 17mm;min-height:100mm;position:relative;page-break-inside:auto}.brochure-section+.brochure-section{border-top:1px solid var(--line)}.brochure-section:nth-of-type(even){background:#f8fbfe}.brochure-section-head{display:grid;grid-template-columns:14mm 1fr;gap:6mm;align-items:start;margin-bottom:11mm}.brochure-section-head>span{font-family:var(--serif);font-size:7mm;color:var(--accent);line-height:1}.brochure-section-head small{display:block;color:var(--accent);font-size:8px;letter-spacing:.22em;text-transform:uppercase;font-weight:700;margin-bottom:3mm}.brochure-section-head h2{font-family:var(--serif);font-size:12mm;font-weight:400;line-height:1.05;letter-spacing:-.035em;margin:0}.brochure-map{border:1px solid var(--line);background:#f8fbfe}.brochure-map svg{width:100%;height:auto;display:block}.brochure-note{font-size:2.8mm;line-height:1.55;color:var(--muted);margin:4mm 0 0}.brochure-data-grid{display:grid;grid-template-columns:repeat(2,1fr);margin:0;border-top:1px solid var(--line);border-left:1px solid var(--line)}.brochure-data-grid>div{padding:6mm;border-right:1px solid var(--line);border-bottom:1px solid var(--line);break-inside:avoid}.brochure-data-grid dt,.brochure-contact dt{font-size:7.5px;letter-spacing:.15em;text-transform:uppercase;color:var(--muted);margin-bottom:2mm}.brochure-data-grid dd,.brochure-contact dd{margin:0;font-family:var(--serif);font-size:4.5mm;line-height:1.35;overflow-wrap:anywhere}.brochure-data-grid a,.brochure-documents a{color:inherit;text-decoration:none}.brochure-description{background:linear-gradient(155deg,#fff,color-mix(in srgb,var(--accent) 4%,#f5faff))!important}.brochure-rich-text{font-family:var(--serif);font-size:4.3mm;line-height:1.72;columns:2;column-gap:13mm}.brochure-rich-text h2,.brochure-rich-text h3,.brochure-rich-text h4{break-after:avoid;column-span:all;font-family:var(--sans);font-size:4.5mm}.brochure-rich-text p{margin-top:0}.brochure-rich-text table{width:100%;border-collapse:collapse;font-family:var(--sans);font-size:3mm}.brochure-rich-text td,.brochure-rich-text th{border:1px solid var(--line);padding:2mm}.brochure-gallery{display:grid;grid-template-columns:repeat(2,1fr);gap:4mm}.brochure-gallery figure{margin:0;height:72mm;overflow:hidden;break-inside:avoid}.brochure-gallery figure:first-child:nth-last-child(odd){grid-column:1/-1}.brochure-gallery img{width:100%;height:100%;object-fit:cover}.brochure-documents ul{list-style:none;margin:0;padding:0;border-top:1px solid var(--line)}.brochure-documents li{display:grid;grid-template-columns:16mm 1fr;gap:5mm;padding:5mm 0;border-bottom:1px solid var(--line);break-inside:avoid}.brochure-documents li span{font-size:8px;letter-spacing:.15em;color:var(--accent);font-weight:700}.brochure-documents li a{font-size:3.8mm}.brochure-contact{background:linear-gradient(135deg,color-mix(in srgb,var(--accent) 7%,#f5faff),#fff)!important}.brochure-contact dl{display:grid;grid-template-columns:repeat(2,1fr);gap:0;margin:0;border-top:1px solid var(--line);border-left:1px solid var(--line)}.brochure-contact dl>div{padding:7mm;border-right:1px solid var(--line);border-bottom:1px solid var(--line);break-inside:avoid}.brochure-closing{min-height:210mm;display:grid;place-items:center;text-align:center;padding:25mm;background:#f7fbfe;page-break-before:always}.brochure-closing>img{width:55mm}.brochure-closing>p{font-family:var(--serif);font-size:8mm;color:#405865;margin:-25mm 0 0}.brochure-closing-qr{display:flex;flex-direction:column;align-items:center;gap:5mm}.brochure-closing-qr canvas{width:42mm!important;height:42mm!important}.brochure-closing-qr span{max-width:140mm;font-size:2.8mm;color:var(--muted);overflow-wrap:anywhere}.qr-error{font-size:10px;color:#a11}.value-files{display:flex;flex-wrap:wrap;gap:2mm}.value-files a{font-size:3mm;border-bottom:1px solid currentColor}
@media(max-width:760px){.brochure-body{padding:0}.brochure-actions{top:auto;bottom:12px;right:12px}.brochure{width:100%}.brochure-cover{min-height:100svh;padding:28px 24px}.brochure-cover h1{font-size:14vw}.brochure-hero{opacity:.32;right:-20%;width:80%;height:45%}.brochure-data-grid{grid-template-columns:1fr}.brochure-rich-text{columns:1}.brochure-contact dl{grid-template-columns:1fr}.brochure-gallery{grid-template-columns:1fr}.brochure-section{padding:54px 24px}.brochure-section-head h2{font-size:42px}}
@page{size:A4;margin:0}@media print{html,body{background:#fff}.brochure-body{padding:0}.brochure-actions{display:none!important}.brochure{width:210mm;margin:0;box-shadow:none}.brochure-cover{width:210mm;height:297mm;min-height:297mm}.brochure-section{break-inside:auto}.brochure-gallery figure,.brochure-data-grid>div,.brochure-contact dl>div,.brochure-documents li{break-inside:avoid}.brochure-map svg{max-height:112mm}.brochure-closing{height:297mm;min-height:297mm}.brochure-qr canvas{image-rendering:pixelated}}
@media print{.brochure-section-head{break-inside:avoid;break-after:avoid-page}.brochure-description{break-before:page}.brochure-map-section,.brochure-documents,.brochure-contact{break-inside:avoid-page}}

/* LISTIO 1.1.1 - static cartographic export matching the PAT/PMP workflow */
.brochure-map{position:relative;overflow:hidden;background:#f7fbfe}
.brochure-map img,.brochure-map svg{display:block;width:100%;height:auto;max-height:118mm;object-fit:cover}
.brochure-map--image{background:#e9f1f6}
.brochure-map-attribution{margin:2mm 0 0;text-align:right;font-size:2.2mm;color:#71838e;letter-spacing:.02em}
@media print{.brochure-map img,.brochure-map svg{max-height:112mm}}

/* LISTIO 1.1.2 - remote Mapbox snapshot with local technical fallback */
.brochure-map-fallback[hidden]{display:none}
.brochure-map-fallback,.brochure-map-fallback svg{width:100%;height:auto;display:block}

/* LISTIO 1.1.4 — copertă editorială cu imaginea obiectivului */
.brochure-cover.has-image{color:#fff;background:#10161b}
.brochure-cover-media{position:absolute;z-index:0;inset:0;overflow:hidden}
.brochure-cover-media img{width:100%;height:100%;object-fit:cover;object-position:center}
.brochure-cover-media span{position:absolute;inset:0;background:linear-gradient(90deg,rgba(7,11,14,.9) 0%,rgba(7,11,14,.62) 52%,rgba(7,11,14,.2) 100%),linear-gradient(180deg,rgba(7,11,14,.15) 0%,transparent 45%,rgba(7,11,14,.76) 100%)}
.brochure-cover.has-image:after{opacity:.18;mix-blend-mode:screen}
.brochure-cover.has-image .brochure-brand span{color:rgba(255,255,255,.7)}
.brochure-cover.has-image .brochure-kicker{display:inline-block;padding:2.2mm 3.2mm;background:var(--accent);color:#fff}
.brochure-cover.has-image h1{max-width:150mm;color:#fff;text-shadow:0 2mm 8mm rgba(0,0,0,.28)}
.brochure-cover.has-image .brochure-location{color:rgba(255,255,255,.78)}
.brochure-cover.has-image .brochure-price{border-color:rgba(255,255,255,.42)}
.brochure-cover.has-image .brochure-price span{color:rgba(255,255,255,.72)}
.brochure-cover.has-image .brochure-cover-bottom{border-color:rgba(255,255,255,.4)}
.brochure-cover.has-image .brochure-cover-bottom>div:first-child span{color:rgba(255,255,255,.68)}
.brochure-cover.has-image .brochure-qr-block{padding:3mm;background:rgba(255,255,255,.94);color:var(--ink)}
.brochure-cover.has-image .brochure-qr-block p{color:#526873}
.brochure-cover-thumbs{position:absolute;z-index:2;right:17mm;bottom:57mm;display:grid;grid-template-columns:repeat(3,24mm);gap:2mm}
.brochure-cover-thumbs figure{height:19mm;margin:0;border:1px solid rgba(255,255,255,.72);overflow:hidden;background:#fff}
.brochure-cover-thumbs img{width:100%;height:100%;object-fit:cover}
@media(max-width:760px){.brochure-cover-thumbs{display:none}.brochure-cover.has-image .brochure-cover-copy{align-self:end;margin-bottom:110px}.brochure-cover-media span{background:linear-gradient(180deg,rgba(7,11,14,.28),rgba(7,11,14,.9))}}
@media print{.brochure-cover-media img{height:297mm}.brochure-cover.has-image{-webkit-print-color-adjust:exact;print-color-adjust:exact}}

/* LISTIO 1.1.7 - force two public-data fields per row in the saved PDF.
   Some mobile print engines keep the screen max-width media query active while
   generating A4 output, which previously collapsed this grid to one column. */
@media print {
  .brochure-data-grid {
    display: flex !important;
    flex-flow: row wrap !important;
    width: 100% !important;
  }

  .brochure-data-grid > div {
    flex: 0 0 50% !important;
    width: 50% !important;
    max-width: 50% !important;
  }
}

/* LISTIO 1.2.0 — broșură Auto */
.brochure-family-auto .brochure-cover:after{content:"";position:absolute;right:-80px;bottom:-120px;width:480px;height:480px;opacity:.13;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='480' height='480' viewBox='0 0 480 480' fill='none' stroke='%23ffffff' stroke-width='6'%3E%3Ccircle cx='240' cy='240' r='184'/%3E%3Ccircle cx='240' cy='240' r='104'/%3E%3Ccircle cx='240' cy='240' r='30'/%3E%3Cpath d='M240 56v368M56 240h368M111 111l258 258M369 111 111 369'/%3E%3C/svg%3E");background-size:contain;background-repeat:no-repeat;pointer-events:none}.brochure-family-auto .brochure-cover-copy,.brochure-family-auto .brochure-cover-bottom,.brochure-family-auto .brochure-brand{position:relative;z-index:2}.brochure-family-auto .brochure-section-head span{background:#111820;color:#fff}.brochure-family-auto .brochure-data-grid>div:nth-child(4n+1),.brochure-family-auto .brochure-data-grid>div:nth-child(4n+2){background:#f4f8fb}
