/*
 * SAVOX BS knowledge and technical pages.
 * Scoped to explicit BS-only main classes so other locales stay unchanged
 * until their own reviewed language rollout.
 */

.savox-bs-luxury-guide {
  --amber: var(--lux-amber);
  --amber-ink: var(--lux-amber);
  --lux-bg: #f4efe6;
  --lux-bg-deep: #e9e0d3;
  --lux-surface: #fcf9f3;
  --lux-surface-strong: #fffdf8;
  --lux-title: #172033;
  --lux-text: #58616d;
  --lux-muted: #56606c;
  --lux-line: rgba(101, 76, 43, .19);
  --lux-line-strong: rgba(175, 116, 42, .42);
  --lux-amber: #f2a23c;
  --lux-amber-bright: #f2a23c;
  --lux-title-gradient: linear-gradient(103deg, #d7b77a 0%, #f2a23c 54%, #c87519 100%);
  --lux-title-gradient-on-dark: linear-gradient(104deg, #fffdf8 0%, #d7b77a 58%, #f2a23c 100%);
  --lux-shadow: 0 34px 80px -58px rgba(52, 38, 22, .52);
  --lux-grid: rgba(91, 70, 43, .055);
  overflow: clip;
  background: var(--lux-bg);
  color: var(--lux-title);
  color-scheme: light;
  transition: background-color .28s ease, color .28s ease;
}

html[data-theme="night"] .savox-bs-luxury-guide {
  --lux-bg: #071022;
  --lux-bg-deep: #050b19;
  --lux-surface: #0d1931;
  --lux-surface-strong: #111f3b;
  --lux-title: #f5f1e9;
  --lux-text: #adb8cc;
  --lux-muted: #8997b2;
  --lux-line: rgba(116, 143, 202, .24);
  --lux-line-strong: rgba(242, 162, 60, .46);
  --lux-amber: #f2a23c;
  --lux-amber-bright: #ffc268;
  --lux-title-gradient: linear-gradient(104deg, #fffdf8 0%, #d7b77a 58%, #f2a23c 100%);
  --lux-shadow: 0 38px 90px -58px rgba(0, 0, 0, .92);
  --lux-grid: rgba(130, 154, 207, .045);
  color-scheme: dark;
}

/* Shared technical-guide canvas */
.savox-bs-luxury-guide.prototype-guide-page {
  --pg-bg: var(--lux-bg);
  --pg-bg-2: var(--lux-bg-deep);
  --pg-surface: var(--lux-surface);
  --pg-surface-2: var(--lux-surface-strong);
  --pg-border: var(--lux-line);
  --pg-muted: var(--lux-text);
  background:
    radial-gradient(900px 580px at 92% 2%, rgba(199, 125, 34, .07), transparent 70%),
    var(--lux-bg);
  color: var(--lux-title);
}

.savox-bs-luxury-guide.prototype-guide-page .page-hero {
  contain: paint;
  min-height: clamp(590px, 63vw, 800px);
  display: grid;
  align-items: center;
  padding-block: clamp(86px, 9vw, 138px);
  border-bottom-color: var(--lux-line-strong);
  background:
    linear-gradient(90deg, rgba(255, 253, 248, .76), rgba(255, 253, 248, .18) 58%, transparent),
    radial-gradient(760px 520px at 86% 12%, rgba(199, 125, 34, .14), transparent 70%),
    repeating-linear-gradient(0deg, var(--lux-grid) 0 1px, transparent 1px 72px),
    repeating-linear-gradient(90deg, var(--lux-grid) 0 1px, transparent 1px 72px),
    linear-gradient(145deg, #f9f5ee, #ece2d3 78%, #e5d8c6) !important;
}

html[data-theme="night"] .savox-bs-luxury-guide.prototype-guide-page .page-hero {
  background:
    linear-gradient(90deg, rgba(5, 11, 25, .42), transparent 64%),
    radial-gradient(820px 540px at 84% 9%, rgba(242, 162, 60, .12), transparent 70%),
    repeating-linear-gradient(0deg, var(--lux-grid) 0 1px, transparent 1px 72px),
    repeating-linear-gradient(90deg, var(--lux-grid) 0 1px, transparent 1px 72px),
    linear-gradient(145deg, #071126, #050b19 68%, #0a1730) !important;
}

.savox-bs-luxury-guide.prototype-guide-page .page-hero::before {
  left: max(8px, calc((100vw - var(--container)) / 2 - 22px));
  background: linear-gradient(transparent, var(--lux-line-strong), transparent);
}

.savox-bs-luxury-guide.prototype-guide-page .page-hero::after {
  right: clamp(-170px, -7vw, -58px);
  bottom: clamp(-170px, -9vw, -72px);
  width: clamp(320px, 40vw, 700px);
  border-color: rgba(199, 125, 34, .18);
  box-shadow: 0 0 0 54px rgba(199, 125, 34, .035), 0 0 0 112px rgba(199, 125, 34, .02);
}

.savox-bs-luxury-guide.prototype-guide-page .page-hero > .container::after {
  position: absolute;
  top: 50%;
  right: 2px;
  color: var(--lux-amber);
  content: "SAVOX / KNOWLEDGE";
  font: 650 .54rem/1 var(--mono);
  letter-spacing: .22em;
  opacity: .72;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
}

.savox-bs-luxury-guide.prototype-guide-page .breadcrumb {
  color: var(--lux-muted);
}

.savox-bs-luxury-guide.prototype-guide-page .page-hero .eyebrow,
.savox-bs-luxury-guide.prototype-guide-page .eyebrow.dark {
  color: var(--lux-amber);
}

.savox-bs-luxury-guide.prototype-guide-page .page-hero h1 {
  width: fit-content;
  max-width: 1180px;
  background: var(--lux-title-gradient);
  background-clip: text;
  color: var(--lux-title);
  font-size: clamp(3.35rem, 6.45vw, 7.6rem);
  font-weight: 770;
  line-height: .88;
  letter-spacing: -.052em;
  text-wrap: balance;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.savox-bs-luxury-guide.prototype-guide-page :is(.content-grid, .intro-grid, .section-heading, .link-panel) h2,
.savox-bs-luxury-guide.prototype-guide-page .cta-inner h2 {
  width: fit-content;
  max-width: 100%;
  background: var(--lux-title-gradient);
  background-clip: text;
  color: var(--lux-title);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* The four BS MarketGuidePage routes do not load the shared prototype
   typography sheet. Keep their title language aligned with the approved
   SAVOX guide pages without changing HR/SR or any other page family. */
:is(html[lang="bs"],html[lang="sl"]) .market-guide-page.savox-bs-luxury-guide.prototype-guide-page .page-hero h1 {
  font-family: var(--font-display), system-ui, sans-serif;
  text-transform: uppercase;
}

:is(html[lang="bs"],html[lang="sl"]) .market-guide-page.savox-bs-luxury-guide.prototype-guide-page :is(.content-grid, .intro-grid, .wall-intro, .section-heading, .link-panel, .cta-inner) h2 {
  font-family: var(--font-display), system-ui, sans-serif;
  font-size: clamp(2.35rem, 4.35vw, 5.2rem);
  font-weight: 730;
  line-height: .96;
  letter-spacing: -.025em;
  text-transform: uppercase;
  text-wrap: balance;
}

/* The Slovenian catch-all also serves older page families whose shared CSS
   bundle includes savox-pages.css. Restore the four MarketGuidePage routes to
   the exact BS-master base values instead of inheriting those unrelated
   prototype-guide declarations. */
html[lang="sl"] .market-guide-page.savox-bs-luxury-guide.prototype-guide-page .page-hero {
  position: static;
  overflow: visible;
  border-bottom: 0;
  isolation: auto;
}

html[lang="sl"] .market-guide-page.savox-bs-luxury-guide.prototype-guide-page .page-hero > .container {
  position: static;
  z-index: auto;
}

html[lang="sl"] .market-guide-page.savox-bs-luxury-guide.prototype-guide-page .page-hero::before,
html[lang="sl"] .market-guide-page.savox-bs-luxury-guide.prototype-guide-page .page-hero::after {
  content: none;
}

html[lang="sl"] .market-guide-page.savox-bs-luxury-guide.prototype-guide-page .breadcrumb {
  margin-bottom: 56px;
  font-size: .72rem;
  letter-spacing: .05em;
}

html[lang="sl"] .market-guide-page.savox-bs-luxury-guide.prototype-guide-page .page-hero h1 {
  margin-top: 0;
}

html[lang="sl"] .market-guide-page.savox-bs-luxury-guide.prototype-guide-page .page-hero h1 > .savox-title-line-lock {
  white-space: normal;
}

/* The SL catch-all loads the shared prototype sheet while the BS master
   MarketGuidePage routes do not. Preserve the BS-master row alignment only
   across the shared intermediate layout; both locales already use the same
   mobile stack through 560px and the same desktop alignment from 901px. */
@media (min-width: 561px) and (max-width: 900px) {
  html[lang="sl"]
  .market-guide-page.savox-bs-luxury-guide.prototype-guide-page .section-heading {
    align-items: end;
  }
}

html[lang="sl"] .market-guide-page.savox-bs-luxury-guide.prototype-guide-page .page-hero .hero-lead {
  margin-bottom: 1em;
}

html[lang="sl"] .market-guide-page.savox-bs-luxury-guide.prototype-guide-page > .section:not(.page-hero) {
  position: static;
  border-bottom: 0;
}

html[lang="sl"] .market-guide-page.savox-bs-luxury-guide.prototype-guide-page .factor-grid {
  border: 0;
}

html[lang="sl"] .market-guide-page.savox-bs-luxury-guide.prototype-guide-page .factor-card > span {
  font: 400 1rem var(--serif);
}

html[lang="sl"] .market-guide-page.savox-bs-luxury-guide.prototype-guide-page :is(.factor-card > span, .number-list span) {
  -webkit-text-stroke: 0;
}

html[lang="sl"] .market-guide-page.savox-bs-luxury-guide.prototype-guide-page .factor-card h3 {
  font: 400 1.75rem var(--serif);
  text-transform: none;
}

html[lang="sl"] .market-guide-page.savox-bs-luxury-guide.prototype-guide-page .number-list li {
  align-items: normal;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  min-height: 0;
}

html[lang="sl"] .market-guide-page.savox-bs-luxury-guide.prototype-guide-page .number-list span {
  font: 400 1rem var(--serif);
}

html[lang="sl"] .market-guide-page.savox-bs-luxury-guide.prototype-guide-page .guide-links a {
  position: static;
  grid-template-columns: 120px 1fr;
  gap: 22px;
}

html[lang="sl"] .market-guide-page.savox-bs-luxury-guide.prototype-guide-page .guide-links a::after {
  content: none;
}

html[lang="sl"] .market-guide-page.savox-bs-luxury-guide.prototype-guide-page .guide-links a > span {
  grid-column: auto;
  font-family: inherit;
}

html[lang="sl"] .market-guide-page.savox-bs-luxury-guide.prototype-guide-page .guide-links a > b {
  grid-column: auto;
  font: 400 1.15rem var(--serif);
  text-transform: none;
}

html[lang="sl"] .market-guide-page.savox-bs-luxury-guide.prototype-guide-page .section-heading > div {
  max-width: none;
}

html[lang="sl"] .market-guide-page.savox-bs-luxury-guide.prototype-guide-page .section-heading .section-note {
  max-width: 440px;
}

:where(html[lang="sl"]) .market-guide-page.savox-bs-luxury-guide.prototype-guide-page .cta-inner > div {
  max-width: 760px;
}

.savox-bs-luxury-guide.prototype-guide-page > .section-dark:not(.quality-documents) :is(.content-grid, .intro-grid, .section-heading, .link-panel) h2,
.savox-bs-luxury-guide.prototype-guide-page .cta-section .cta-inner h2 {
  background-image: var(--lux-title-gradient-on-dark);
  color: #f7f3eb;
}

.savox-bs-luxury-guide.prototype-guide-page .page-hero .hero-lead {
  max-width: 850px;
  color: var(--lux-text);
  font-size: clamp(1rem, 1.28vw, 1.2rem);
}

.savox-bs-luxury-guide.prototype-guide-page > .section:not(.page-hero),
.savox-bs-luxury-guide.prototype-guide-page > .section.container:not(.page-hero) {
  border-bottom-color: var(--lux-line);
  background: var(--lux-bg);
  color: var(--lux-title);
}

.savox-bs-luxury-guide.prototype-guide-page > .section-soft {
  background:
    radial-gradient(760px 430px at 88% 10%, rgba(199, 125, 34, .065), transparent 72%),
    linear-gradient(180deg, var(--lux-bg-deep), var(--lux-bg));
}

.savox-bs-luxury-guide.prototype-guide-page > .section-dark:not(.page-hero) {
  background:
    radial-gradient(760px 470px at 86% 9%, rgba(242, 162, 60, .09), transparent 72%),
    linear-gradient(145deg, #09152b, #050b19) !important;
  color: #f7f3eb;
}

.savox-bs-luxury-guide.prototype-guide-page > .section-dark:not(.page-hero):not(.quality-documents) :is(h2, h3, strong) {
  color: #f7f3eb;
}

.savox-bs-luxury-guide.prototype-guide-page > .section-dark:not(.page-hero):not(.quality-documents) :is(.rich-copy, .rich-copy-light, p) {
  color: #b8c2d4;
}

.savox-bs-luxury-guide.prototype-guide-page > .section:not(.page-hero)::before {
  position: absolute;
  top: 0;
  left: max(24px, calc((100vw - 1320px) / 2));
  width: 72px;
  height: 1px;
  background: linear-gradient(90deg, var(--lux-amber), transparent);
  content: "";
}

.savox-bs-luxury-guide.prototype-guide-page :is(.content-grid, .intro-grid, .section-heading, .link-panel, .cta-inner) h2,
.savox-bs-luxury-guide.prototype-guide-page .factor-card h3,
.savox-bs-luxury-guide.prototype-guide-page .process-list h3,
.savox-bs-luxury-guide.prototype-guide-page .permit-faq h3,
.savox-bs-luxury-guide.prototype-guide-page .status-key h3,
.savox-bs-luxury-guide.prototype-guide-page .guide-links b {
  color: var(--lux-title);
}

.savox-bs-luxury-guide.prototype-guide-page :is(.rich-copy, .section-note, .source-disclaimer, .factor-card p, .process-list p, .permit-faq p, .status-key p, .number-list p) {
  color: var(--lux-text);
}

.savox-bs-luxury-guide.prototype-guide-page .rich-copy {
  max-width: 780px;
  font-size: clamp(1rem, 1.08vw, 1.12rem);
  line-height: 1.88;
}

.savox-bs-luxury-guide.prototype-guide-page .rich-copy strong {
  color: var(--lux-title);
}

.savox-bs-luxury-guide.prototype-guide-page .content-grid {
  gap: clamp(42px, 8vw, 130px);
}

.savox-bs-luxury-guide.prototype-guide-page .factor-grid {
  gap: 1px;
  border-color: var(--lux-line);
  background: var(--lux-line);
  box-shadow: var(--lux-shadow);
}

.savox-bs-luxury-guide.prototype-guide-page .factor-card {
  position: relative;
  min-height: 310px;
  overflow:hidden;
  padding: clamp(30px, 3.2vw, 48px);
  border: 0;
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--lux-surface-strong) 94%, transparent), var(--lux-surface));
}

.savox-bs-luxury-guide.prototype-guide-page .factor-card::after {
  position: absolute;
  right: -56px;
  bottom: -76px;
  width: 150px;
  aspect-ratio: 1;
  border: 1px solid rgba(199, 125, 34, .13);
  border-radius: 50%;
  content: "";
  transition: transform .45s ease, border-color .3s ease;
}

.savox-bs-luxury-guide.prototype-guide-page .factor-card:hover {
  background: var(--lux-surface-strong);
  box-shadow: 0 30px 65px -54px rgba(60, 42, 20, .7);
}

.savox-bs-luxury-guide.prototype-guide-page .factor-card:hover::after {
  border-color: rgba(199, 125, 34, .35);
  transform: scale(1.16);
}

.savox-bs-luxury-guide.prototype-guide-page :is(.factor-card > span, .number-list span, .process-list span, .permit-faq article > span) {
  color: var(--lux-amber);
  -webkit-text-stroke-color: var(--lux-amber);
}

.savox-bs-luxury-guide.prototype-guide-page .section-dark :is(.number-list, .number-list-dark) span {
  color: var(--lux-amber-bright);
  -webkit-text-stroke-color: var(--lux-amber-bright);
}

.savox-bs-luxury-guide.prototype-guide-page :is(.number-list, .process-list, .permit-faq, .status-key) {
  border-color: var(--lux-line);
}

.savox-bs-luxury-guide.prototype-guide-page :is(.number-list, .process-list, .permit-faq, .status-key) :is(li, article) {
  border-color: var(--lux-line);
}

.savox-bs-luxury-guide.prototype-guide-page :is(.number-list li, .process-list li, .permit-faq article) {
  position: relative;
}

.savox-bs-luxury-guide.prototype-guide-page :is(.number-list li, .process-list li, .permit-faq article):hover {
  background: color-mix(in srgb, var(--lux-amber) 5%, transparent);
}

.savox-bs-luxury-guide.prototype-guide-page .permit-faq details {
  margin-bottom: 12px;
  overflow: hidden;
  border: 1px solid var(--lux-line);
  background: color-mix(in srgb, var(--lux-surface) 92%, transparent);
  box-shadow: 0 20px 46px -44px rgba(52, 38, 22, .62);
  transition: border-color .25s ease, background .25s ease;
}

.savox-bs-luxury-guide.prototype-guide-page .permit-faq details[open] {
  border-color: var(--lux-line-strong);
  background: var(--lux-surface-strong);
}

.savox-bs-luxury-guide.prototype-guide-page .permit-faq summary {
  display: grid;
  min-height: 82px;
  grid-template-columns: 48px minmax(0, 1fr) 28px;
  gap: clamp(14px, 2vw, 22px);
  align-items: center;
  padding-inline: clamp(20px, 2.8vw, 38px);
  color: var(--lux-title);
  font: 700 clamp(1rem, 1.2vw, 1.18rem)/1.4 var(--font-display), system-ui, sans-serif;
  cursor: pointer;
  list-style: none;
  transition: color .25s ease, background .25s ease;
}

.savox-bs-luxury-guide.prototype-guide-page .permit-faq summary::-webkit-details-marker {
  display: none;
}

.savox-bs-luxury-guide.prototype-guide-page .permit-faq summary > span {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--lux-line-strong);
  color: var(--lux-amber);
  font: 700 .66rem/1 var(--mono);
  letter-spacing: .12em;
}

.savox-bs-luxury-guide.prototype-guide-page .permit-faq summary::after {
  justify-self: end;
  color: var(--lux-amber);
  content: "+";
  font: 300 1.55rem/1 var(--font-display), system-ui, sans-serif;
  transition: transform .3s ease;
}

.savox-bs-luxury-guide.prototype-guide-page .permit-faq details[open] summary::after {
  transform: rotate(45deg);
}

.savox-bs-luxury-guide.prototype-guide-page .permit-faq summary:hover {
  background: color-mix(in srgb, var(--lux-amber) 6%, transparent);
  color: var(--lux-amber);
}

.savox-bs-luxury-guide.prototype-guide-page .permit-faq details > p {
  max-width: 980px;
  margin: 0;
  padding: 0 clamp(20px, 2.8vw, 38px) 30px calc(clamp(20px, 2.8vw, 38px) + 70px);
  line-height: 1.78;
}

.savox-bs-luxury-guide.prototype-guide-page .legal-note {
  border-color: var(--lux-line-strong);
  border-left-color: var(--lux-amber);
  background: color-mix(in srgb, var(--lux-amber) 8%, transparent);
  color: color-mix(in srgb, var(--lux-title) 76%, var(--lux-amber));
}

.savox-bs-luxury-guide.prototype-guide-page .scope-table-wrap {
  border-color: var(--lux-line);
  background: var(--lux-surface);
  box-shadow: var(--lux-shadow);
  scrollbar-color: var(--lux-amber) var(--lux-bg);
}

.savox-bs-luxury-guide.prototype-guide-page .scope-table :is(th, td) {
  border-color: var(--lux-line);
}

.savox-bs-luxury-guide.prototype-guide-page .scope-table thead th {
  background: #0a152a;
  color: var(--lux-amber-bright);
}

.savox-bs-luxury-guide.prototype-guide-page .scope-table tbody th {
  background: var(--lux-surface-strong);
  color: var(--lux-title);
}

.savox-bs-luxury-guide.prototype-guide-page .scope-table td {
  background: var(--lux-surface);
  color: var(--lux-text);
}

.savox-bs-luxury-guide.prototype-guide-page .scope-table tbody tr:hover :is(th, td) {
  background: color-mix(in srgb, var(--lux-amber) 7%, var(--lux-surface));
}

.savox-bs-luxury-guide.prototype-guide-page .guide-links {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--lux-line);
  background: var(--lux-line);
  box-shadow: var(--lux-shadow);
}

.savox-bs-luxury-guide.prototype-guide-page .guide-links a {
  min-width: 0;
  padding-inline: clamp(18px, 2.4vw, 32px);
  border-color: var(--lux-line);
  background: var(--lux-surface);
}

.savox-bs-luxury-guide.prototype-guide-page .guide-links a:hover {
  padding-inline: clamp(18px, 2.4vw, 32px);
  background: var(--lux-surface-strong);
}

.savox-bs-luxury-guide.prototype-guide-page .guide-links span,
.savox-bs-luxury-guide.prototype-guide-page .guide-links small {
  color: var(--lux-muted);
}

.savox-bs-luxury-guide.prototype-guide-page .guide-links a:hover b {
  color: var(--lux-amber);
}

/* Cijena: editorial connection between investment, experience and proof. */
.savox-bs-luxury-guide.guide-price-page .price-related-panel {
  grid-template-columns: minmax(260px, .72fr) minmax(0, 1.28fr);
  gap: clamp(38px, 5.6vw, 88px);
  align-items: center;
  margin-block: clamp(42px, 6vw, 92px);
  padding: clamp(34px, 4.6vw, 72px);
  overflow: hidden;
  border: 1px solid var(--lux-line-strong);
  background:
    radial-gradient(560px 340px at 8% 20%, rgba(199, 125, 34, .09), transparent 72%),
    repeating-linear-gradient(90deg, var(--lux-grid) 0 1px, transparent 1px 72px),
    var(--lux-surface);
  box-shadow: var(--lux-shadow);
}

.savox-bs-luxury-guide.guide-price-page .price-related-panel::before {
  left: 0;
  width: 96px;
}

.savox-bs-luxury-guide.guide-price-page .price-related-panel > div:first-child {
  min-width: 0;
}

.savox-bs-luxury-guide.guide-price-page .price-related-panel h2 {
  max-width: 12ch;
  font-size: clamp(2.35rem, 3.7vw, 4.65rem);
  line-height: .95;
}

.savox-bs-luxury-guide.guide-price-page .price-related-panel .guide-links {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--lux-line);
  background: var(--lux-line);
  box-shadow: none;
}

.savox-bs-luxury-guide.guide-price-page .price-related-panel .guide-links a {
  min-width: 0;
  grid-template-columns: minmax(78px, 108px) minmax(0, 1fr) 24px;
  gap: clamp(14px, 2vw, 28px);
  align-items: center;
  padding: 23px clamp(18px, 2vw, 28px);
}

.savox-bs-luxury-guide.guide-price-page .price-related-panel .guide-links a:first-child {
  background: color-mix(in srgb, var(--lux-amber) 7%, var(--lux-surface));
}

.savox-bs-luxury-guide.guide-price-page .price-related-panel .guide-links a:first-child span {
  color: var(--lux-amber);
}

.savox-bs-luxury-guide.guide-price-page .price-related-panel .guide-links b {
  min-width: 0;
  font-size: clamp(.98rem, 1.22vw, 1.18rem);
  line-height: 1.3;
}

.savox-bs-luxury-guide.guide-price-page .price-related-panel .guide-links a::after {
  grid-column: 3;
}

.savox-bs-luxury-guide.prototype-guide-page .cta-section {
  border-top: 1px solid rgba(242, 162, 60, .26);
  background:
    radial-gradient(720px 400px at 75% 40%, rgba(242, 162, 60, .11), transparent 70%),
    repeating-linear-gradient(90deg, rgba(130, 154, 207, .035) 0 1px, transparent 1px 72px),
    #050b19;
}

.savox-bs-luxury-guide.prototype-guide-page .cta-inner h2,
.savox-bs-luxury-guide.prototype-guide-page .cta-inner p {
  color: #f5f1e9;
}

.savox-bs-luxury-guide .cta-section .button-primary {
  border-color: var(--lux-amber);
  background: linear-gradient(135deg, #d99137, #c47b21);
  color: #081024;
  box-shadow: 0 22px 48px -30px rgba(242, 162, 60, .75);
}

.savox-bs-luxury-guide .cta-section .button-primary:hover,
.savox-bs-luxury-guide .cta-section .button-primary:focus-visible {
  background: transparent;
  color: var(--lux-amber-bright);
}

.savox-bs-luxury-guide .cta-section .eyebrow {
  color: var(--lux-amber-bright);
}

/* Decision guide-specific panels */
html[data-theme="day"] .savox-bs-luxury-guide.guide-experience-page {
  --experience-ink: #071126;
  --experience-panel: #0d1933;
  --experience-line: rgba(71, 96, 151, .3);
  background: var(--lux-bg);
}

html[data-theme="day"] .savox-bs-luxury-guide .experience-checks,
html[data-theme="day"] .savox-bs-luxury-guide .experience-faq {
  background: linear-gradient(180deg, var(--lux-bg-deep), var(--lux-bg));
}

html[data-theme="day"] .savox-bs-luxury-guide .experience-balance .decision-balance-grid,
html[data-theme="day"] .savox-bs-luxury-guide .experience-sources .evidence-source-grid {
  border-color: var(--lux-line);
  background: var(--lux-line);
}

html[data-theme="day"] .savox-bs-luxury-guide .experience-balance .decision-balance-card,
html[data-theme="day"] .savox-bs-luxury-guide .experience-balance .decision-balance-card.is-risk,
html[data-theme="day"] .savox-bs-luxury-guide .experience-sources .evidence-source-grid > a,
html[data-theme="day"] .savox-bs-luxury-guide .experience-sources .evidence-source-grid > a:hover {
  background: var(--lux-surface);
  box-shadow: inset 0 1px rgba(255, 255, 255, .72);
}

html[data-theme="day"] .savox-bs-luxury-guide .experience-balance .decision-balance-card h3,
html[data-theme="day"] .savox-bs-luxury-guide .experience-sources .evidence-source-grid h3 {
  color: var(--lux-title);
}

html[data-theme="day"] .savox-bs-luxury-guide .experience-balance .decision-balance-card li,
html[data-theme="day"] .savox-bs-luxury-guide .experience-sources .evidence-source-grid p {
  border-color: var(--lux-line);
  color: var(--lux-text);
}

.savox-bs-luxury-guide .experience-checks .factor-grid,
.savox-bs-luxury-guide .experience-proof-grid {
  border-color: var(--lux-line);
  background: var(--lux-line);
}

.savox-bs-luxury-guide .experience-checks .factor-card,
.savox-bs-luxury-guide .experience-proof-grid article {
  background: var(--lux-surface);
}

.savox-bs-luxury-guide.guide-experience-page :is(.experience-checks .factor-card, .experience-proof-grid article) h3 {
  color: var(--lux-title);
}

.savox-bs-luxury-guide.guide-experience-page :is(.experience-checks .factor-card, .experience-proof-grid article) p {
  color: var(--lux-text);
}

.savox-bs-luxury-guide.guide-experience-page :is(.experience-balance .decision-balance-card > span, .experience-sources .evidence-source-grid span, .experience-sources .evidence-source-grid b) {
  color: var(--lux-amber-bright);
}

html[data-theme="day"] .savox-bs-luxury-guide .experience-hero .button-ghost {
  border-color: var(--lux-line-strong);
  background: color-mix(in srgb, var(--lux-surface) 72%, transparent);
  color: var(--lux-title);
}

/* Quality and document archive */
html[data-theme="day"] .savox-bs-quality.savox-bs-luxury-guide.prototype-guide-page > .quality-documents.section-dark {
  background:
    radial-gradient(820px 490px at 50% 4%, rgba(199, 125, 34, .1), transparent 68%),
    linear-gradient(180deg, var(--lux-bg-deep), var(--lux-bg)) !important;
  color: var(--lux-title);
}

html[data-theme="day"] .savox-bs-quality.savox-bs-luxury-guide.prototype-guide-page > .quality-documents.section-dark .eyebrow {
  color: var(--lux-amber);
}

html[data-theme="night"] .savox-bs-quality.savox-bs-luxury-guide.prototype-guide-page > .quality-documents.section-dark {
  background:
    radial-gradient(820px 490px at 50% 4%, rgba(242, 162, 60, .1), transparent 68%),
    #050b19 !important;
}

.savox-bs-quality .quality-certificate-grid {
  gap: 1px;
  border-color: var(--lux-line);
  background: var(--lux-line);
  box-shadow: var(--lux-shadow);
}

.savox-bs-quality .quality-certificate-grid article {
  min-height: 410px;
  background: var(--lux-surface);
}

.savox-bs-quality .quality-certificate-grid article:hover {
  background: var(--lux-surface-strong);
}

html[data-theme="day"] .savox-bs-quality .quality-certificate-grid {
  gap: 16px;
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

html[data-theme="day"] .savox-bs-quality .quality-certificate-grid article {
  border: 1px solid rgba(126, 91, 45, .24);
  border-top-color: rgba(200, 117, 25, .58);
  background: linear-gradient(155deg, rgba(255, 253, 248, .95), rgba(237, 226, 209, .92));
  box-shadow: 0 30px 64px -48px rgba(71, 50, 24, .48), inset 0 1px #fff;
  text-align: center;
}

html[data-theme="day"] .savox-bs-quality .quality-certificate-grid article:hover {
  border-color: rgba(200, 117, 25, .64);
  background: linear-gradient(155deg, #fffdf8, #eddfca);
  box-shadow: 0 34px 70px -42px rgba(106, 68, 24, .5), 0 0 0 1px rgba(215, 183, 122, .18), inset 0 1px #fff;
}

.savox-bs-quality .quality-certificate-grid article > div {
  border: 1px solid color-mix(in srgb, var(--lux-line) 80%, transparent);
  background:
    radial-gradient(circle at 50% 42%, rgba(199, 125, 34, .08), transparent 68%),
    color-mix(in srgb, var(--lux-surface-strong) 84%, var(--lux-bg-deep));
}

html[data-theme="day"] .savox-bs-quality .quality-certificate-grid article > div {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

html[data-theme="day"] .savox-bs-quality .quality-certificate-grid article > div img {
  filter: brightness(0) saturate(100%) invert(12%) sepia(18%) saturate(1440%) hue-rotate(179deg) brightness(91%) contrast(95%);
  opacity: .86;
}

.savox-bs-quality .quality-certificate-grid h3,
.savox-bs-quality .quality-rating-current h3 {
  color: var(--lux-title);
}

.savox-bs-quality .quality-certificate-grid p,
.savox-bs-quality .quality-rating-current p {
  color: var(--lux-text);
}

.savox-bs-quality .quality-no-document {
  color: var(--lux-muted);
}

.savox-bs-quality .quality-rating-current {
  border-color: var(--lux-line-strong);
  background: color-mix(in srgb, var(--lux-amber) 7%, var(--lux-surface));
  box-shadow: var(--lux-shadow);
}

/* Knowledge hub */
.savox-bs-knowledge {
  background: var(--lux-bg);
  color: var(--lux-title);
}

.savox-bs-knowledge .pzh-hero {
  border-bottom-color: var(--lux-line-strong);
  background:
    linear-gradient(90deg, rgba(255, 253, 248, .78), rgba(255, 253, 248, .15) 65%, transparent),
    radial-gradient(900px 500px at 84% 4%, rgba(199, 125, 34, .13), transparent 70%),
    repeating-linear-gradient(0deg, var(--lux-grid) 0 1px, transparent 1px 72px),
    repeating-linear-gradient(90deg, var(--lux-grid) 0 1px, transparent 1px 72px),
    linear-gradient(145deg, #f9f5ee, #e9dfd0);
}

html[data-theme="night"] .savox-bs-knowledge .pzh-hero {
  background:
    radial-gradient(900px 500px at 84% 4%, rgba(242, 162, 60, .1), transparent 70%),
    repeating-linear-gradient(0deg, var(--lux-grid) 0 1px, transparent 1px 72px),
    repeating-linear-gradient(90deg, var(--lux-grid) 0 1px, transparent 1px 72px),
    #050b19;
}

.savox-bs-knowledge .pzh-hero .breadcrumb {
  color: var(--lux-muted);
}

.savox-bs-knowledge .pzh-hero h1,
.savox-bs-knowledge .pzh-section-head h2,
.savox-bs-knowledge .pzh-article-card h3,
.savox-bs-knowledge .pzh-card h2,
.savox-bs-knowledge .pzh-clusters a {
  color: var(--lux-title);
}

.savox-bs-knowledge .pzh-hero h1,
.savox-bs-article .pba-hero h1 {
  width: fit-content;
  max-width: 100%;
  background: var(--lux-title-gradient);
  background-clip: text;
  color: var(--lux-title);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.savox-bs-knowledge .pzh-section-head h2,
.savox-bs-article :is(.pba-prose, .pba-related) h2 {
  width: fit-content;
  max-width: 100%;
  background: var(--lux-title-gradient);
  background-clip: text;
  color: var(--lux-title);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.savox-bs-knowledge .pzh-hero .container > p:last-child,
.savox-bs-knowledge .pzh-article-card p,
.savox-bs-knowledge .pzh-card p {
  color: var(--lux-text);
}

.savox-bs-knowledge :is(.pzh-articles, .pzh-feature, .pzh-grid-section, .pzh-clusters) {
  border-color: var(--lux-line);
}

.savox-bs-knowledge .pzh-articles {
  background:
    radial-gradient(850px 460px at 88% 15%, rgba(199, 125, 34, .075), transparent 72%),
    var(--lux-bg);
}

.savox-bs-knowledge .pzh-feature {
  background:
    radial-gradient(700px 400px at 15% 55%, rgba(199, 125, 34, .06), transparent 72%),
    var(--lux-bg-deep);
}

.savox-bs-knowledge .pzh-grid-section {
  background: var(--lux-bg);
}

.savox-bs-knowledge .pzh-clusters {
  background:
    radial-gradient(800px 400px at 50% 0, rgba(199, 125, 34, .075), transparent 75%),
    var(--lux-bg-deep);
}

.savox-bs-knowledge :is(.pzh-article-card, .pzh-card) {
  border-color: var(--lux-line);
  background: var(--lux-surface);
  box-shadow: var(--lux-shadow);
  transition: border-color .3s ease, box-shadow .3s ease, transform .3s ease;
}

.savox-bs-knowledge :is(.pzh-article-card, .pzh-card):hover {
  border-color: var(--lux-line-strong);
  box-shadow: 0 38px 76px -56px rgba(57, 40, 20, .7);
  transform: translateY(-4px);
}

.savox-bs-knowledge :is(.pzh-article-image, .pzh-card-image) {
  border-color: var(--lux-line);
  background: var(--lux-bg-deep);
}

.savox-bs-knowledge .pzh-article-image::after,
.savox-bs-knowledge .pzh-card-image::after {
  background: linear-gradient(180deg, transparent 58%, rgba(11, 18, 30, .36));
}

.savox-bs-knowledge .pzh-article-date {
  border-left-color: var(--lux-line-strong);
}

.savox-bs-knowledge .pzh-article-date strong,
.savox-bs-knowledge .pzh-archive-status span,
.savox-bs-knowledge .pzh-card-more,
.savox-bs-knowledge .pzh-pagination-direction {
  color: color-mix(in srgb, var(--lux-title) 84%, transparent);
}

.savox-bs-knowledge .pzh-archive-status,
.savox-bs-knowledge .pzh-pagination {
  border-color: var(--lux-line);
}

.savox-bs-knowledge .pzh-archive-status small,
.savox-bs-knowledge .pzh-card-meta small,
.savox-bs-knowledge .pzh-card-meta time {
  color: var(--lux-muted);
}

.savox-bs-knowledge .pzh-clusters .container > div {
  border-color: var(--lux-line);
  background: var(--lux-line);
}

.savox-bs-knowledge .pzh-clusters a {
  background: var(--lux-surface);
}

.savox-bs-knowledge .pzh-clusters a:hover {
  background: var(--lux-surface-strong);
}

.savox-bs-knowledge .pzh-pagination-item a {
  border-color: var(--lux-line);
  color: var(--lux-text);
}

.savox-bs-knowledge .pzh-pagination-item a:hover {
  border-color: var(--lux-amber);
  color: var(--lux-title);
}

.savox-bs-knowledge .pzh-pagination-item a[aria-current="page"] {
  border-color: var(--lux-amber);
  background: color-mix(in srgb, var(--lux-amber) 12%, transparent);
  color: var(--lux-title);
}

/* Blog articles reached from Vodiči i savjeti */
.savox-bs-article {
  --pba-line: var(--lux-line);
  background: var(--lux-bg);
  color: var(--lux-title);
}

.savox-bs-article .pba-hero {
  border-bottom-color: var(--lux-line-strong);
  background:
    radial-gradient(780px 520px at 18% 18%, rgba(199, 125, 34, .11), transparent 72%),
    repeating-linear-gradient(90deg, var(--lux-grid) 0 1px, transparent 1px 72px),
    linear-gradient(145deg, #f8f4ed, #e9dfd0);
}

html[data-theme="night"] .savox-bs-article .pba-hero {
  background:
    radial-gradient(780px 520px at 18% 18%, rgba(242, 162, 60, .085), transparent 72%),
    linear-gradient(145deg, #071022, #050b1a 62%, #081329);
}

.savox-bs-article .pba-hero .breadcrumb,
.savox-bs-article .pba-lead,
.savox-bs-article .pba-prose p,
.savox-bs-article .pba-toc li a {
  color: var(--lux-text);
}

.savox-bs-article .pba-hero h1,
.savox-bs-article .pba-prose h2,
.savox-bs-article .pba-toc > p,
.savox-bs-article .pba-related h2,
.savox-bs-article .pba-checklist li span,
.savox-bs-article .pba-faq summary {
  color: var(--lux-title);
}

.savox-bs-article .pba-meta dd {
  color: var(--lux-title);
}

.savox-bs-article .pba-hero-media {
  border-color: var(--lux-line-strong);
  background: var(--lux-surface);
  box-shadow: var(--lux-shadow);
}

.savox-bs-article .pba-body {
  background:
    radial-gradient(700px 500px at 82% 18%, rgba(199, 125, 34, .05), transparent 72%),
    var(--lux-bg);
}

.savox-bs-article .pba-related {
  border-color: var(--lux-line);
  background: var(--lux-bg-deep);
}

.savox-bs-article .pba-related .container > div {
  border-color: var(--lux-line);
  background: var(--lux-line);
}

.savox-bs-article .pba-related a {
  background: var(--lux-surface);
  color: var(--lux-title);
}

.savox-bs-article .pba-related a:hover {
  background: var(--lux-surface-strong);
}

/* Keyboard, motion and responsive polish */
.savox-bs-luxury-guide :is(a, button, summary):focus-visible {
  outline: 2px solid var(--lux-amber);
  outline-offset: 4px;
}

@media (max-width: 960px) {
  .savox-bs-luxury-guide.prototype-guide-page .page-hero > .container::after {
    display: none;
  }

  .savox-bs-luxury-guide.prototype-guide-page .page-hero {
    min-height: 560px;
  }

  .savox-bs-luxury-guide.guide-price-page .price-related-panel {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .savox-bs-luxury-guide.guide-price-page .price-related-panel h2 {
    max-width: 15ch;
  }
}

@media (max-width: 900px) {
  body:has(.savox-bs-luxury-guide) #savox-theme-dock {
    top: calc(100dvh - 64px);
    right: auto;
    bottom: auto;
    left: calc(100vw - 104px);
  }

  .savox-bs-luxury-guide .breadcrumb a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
  }
}

@media (max-width: 760px) {
  html[lang="sl"] .market-guide-page.savox-bs-luxury-guide.prototype-guide-page .factor-card h3 {
    margin-top: 28px;
  }

  html[lang="sl"] .market-guide-page.savox-bs-luxury-guide.prototype-guide-page .guide-links a {
    grid-template-columns: 1fr;
    gap: 5px;
  }
}

@media (max-width: 700px) {
  .savox-bs-luxury-guide.prototype-guide-page .page-hero {
    min-height: 520px;
    padding-block: 74px 68px;
    background-size: auto, auto, 56px 56px, 56px 56px, auto !important;
  }

  .savox-bs-luxury-guide.prototype-guide-page .page-hero h1 {
    font-size: clamp(2.55rem, 12vw, 4.2rem);
    line-height: .91;
  }

  :is(html[lang="bs"],html[lang="sl"]) .market-guide-page--low-energy.savox-bs-luxury-guide.prototype-guide-page .page-hero > .container {
    min-width: 0;
  }

  :is(html[lang="bs"],html[lang="sl"]) .market-guide-page--low-energy.savox-bs-luxury-guide.prototype-guide-page .page-hero h1 {
    overflow-wrap: anywhere;
    font-size: clamp(2.1rem, 9.7vw, 3.2rem);
  }

  :is(html[lang="bs"],html[lang="sl"]) .market-guide-page.savox-bs-luxury-guide.prototype-guide-page :is(.content-grid, .intro-grid, .wall-intro, .section-heading, .link-panel, .cta-inner) h2 {
    font-size: clamp(2.1rem, 9.5vw, 3.4rem);
  }

  .savox-bs-luxury-guide.prototype-guide-page .factor-card {
    min-height: 235px;
  }

  html[lang="bs"] .savox-bs-luxury-guide.guide-experience-page .experience-checks .factor-card h3 {
    font-size: 1.5rem;
  }

  .savox-bs-luxury-guide.prototype-guide-page .permit-faq summary {
    min-height: 74px;
    grid-template-columns: 42px minmax(0, 1fr) 22px;
    gap: 12px;
    padding-inline: 16px;
    font-size: .96rem;
  }

  .savox-bs-luxury-guide.prototype-guide-page .permit-faq summary > span {
    width: 38px;
    height: 38px;
  }

  .savox-bs-luxury-guide.prototype-guide-page .permit-faq details > p {
    padding: 0 18px 24px;
  }

  .savox-bs-luxury-guide.guide-price-page .price-related-panel {
    width: calc(100% - 32px);
    margin-block: 30px 54px;
    padding: 28px 18px 18px;
  }

  .savox-bs-luxury-guide.guide-price-page .price-related-panel .guide-links a {
    grid-template-columns: minmax(0, 1fr) 22px;
    gap: 7px 12px;
    padding: 20px 16px;
  }

  .savox-bs-luxury-guide.guide-price-page .price-related-panel .guide-links a span,
  .savox-bs-luxury-guide.guide-price-page .price-related-panel .guide-links a b {
    grid-column: 1;
  }

  .savox-bs-luxury-guide.guide-price-page .price-related-panel .guide-links a::after {
    grid-column: 2;
    grid-row: 1 / 3;
  }

  .savox-bs-quality .quality-certificate-grid article {
    min-height: 360px;
  }

  .savox-bs-knowledge :is(.pzh-article-card, .pzh-card):hover {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .savox-bs-luxury-guide,
  .savox-bs-luxury-guide *,
  .savox-bs-luxury-guide *::before,
  .savox-bs-luxury-guide *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

.savox-bs-knowledge .pzh-hero h1 span {
  color:inherit;
  -webkit-text-fill-color:currentColor;
}

/* Approved homepage title language, scoped only to BS SAVOX pages. */
.savox-bs-luxury-guide :is(h1,h2) {
  background:none !important;
  color:var(--lux-title) !important;
  -webkit-text-fill-color:currentColor !important;
}
.savox-bs-luxury-guide .savox-luxury-title-lead,
.savox-bs-luxury-guide .savox-luxury-title-accent {
  display:block;
  width:fit-content;
  max-width:100%;
}
.savox-bs-luxury-guide .savox-luxury-title-lead {
  color:var(--lux-title) !important;
  -webkit-text-fill-color:currentColor !important;
}
.savox-bs-luxury-guide .savox-luxury-title-accent {
  background:linear-gradient(103deg,#d7b77a 0%,#f2a23c 54%,#c87519 100%) !important;
  background-clip:text !important;
  color:transparent !important;
  -webkit-background-clip:text !important;
  -webkit-text-fill-color:transparent !important;
}
:is(html[lang="bs"],html[lang="sl"])[data-theme="day"] .savox-bs-luxury-guide .savox-luxury-title-accent {
  -webkit-text-stroke:0;
  paint-order:normal;
}

/* First approved-style prototype: the price page mirrors the homepage title
   treatment exactly. Navy carries small text contrast; orange carries form. */
:is(html[lang="bs"],html[lang="sl"])[data-theme="day"] .savox-bs-luxury-guide.guide-price-page {
  --lux-amber:#f2a23c;
  --lux-amber-bright:#f2a23c;
  --amber:#f2a23c;
  --amber-ink:#172033;
}
:is(html[lang="bs"],html[lang="sl"])[data-theme="day"] .savox-bs-luxury-guide.guide-price-page .savox-luxury-title-accent {
  -webkit-text-stroke:0;
  paint-order:normal;
}
:is(html[lang="bs"],html[lang="sl"])[data-theme="day"] .savox-bs-luxury-guide.guide-price-page .eyebrow {
  display:flex;
  gap:12px;
  align-items:center;
  color:#172033 !important;
}
:is(html[lang="bs"],html[lang="sl"])[data-theme="day"] .savox-bs-luxury-guide.guide-price-page .eyebrow::before {
  width:30px;
  height:1px;
  flex:none;
  background:#f2a23c;
  content:"";
}
:is(html[lang="bs"],html[lang="sl"])[data-theme="day"] .savox-bs-luxury-guide.guide-price-page :is(
  .factor-card > span,
  .number-list span,
  .permit-faq summary > span,
  .price-related-panel .guide-links a:first-child span
) {
  color:#172033;
  -webkit-text-stroke:0;
}
:is(html[lang="bs"],html[lang="sl"])[data-theme="day"] .savox-bs-luxury-guide.guide-price-page .permit-faq summary::after,
:is(html[lang="bs"],html[lang="sl"])[data-theme="day"] .savox-bs-luxury-guide.guide-price-page .guide-links a::after {
  color:#f2a23c;
}
:is(html[lang="bs"],html[lang="sl"])[data-theme="day"] .savox-bs-luxury-guide.guide-price-page :is(.permit-faq summary:hover,.guide-links a:hover b) {
  color:#172033;
}

/* A selected day theme must not retain night-only proof or CTA surfaces. */
html[data-theme="day"] .savox-bs-luxury-guide:is(.prototype-guide-page,.savox-bs-article) > :is(.section-dark:not(.page-hero),.cta-section) {
  background:linear-gradient(180deg,var(--lux-bg-deep),var(--lux-bg)) !important;
}
html[data-theme="day"] .savox-bs-luxury-guide:is(.prototype-guide-page,.savox-bs-article) > :is(.section-dark:not(.page-hero),.cta-section) :is(h2,h3,strong,.savox-luxury-title-lead) {
  color:var(--lux-title) !important;
}
html[data-theme="day"] .savox-bs-luxury-guide:is(.prototype-guide-page,.savox-bs-article) > :is(.section-dark:not(.page-hero),.cta-section) :is(.rich-copy,.rich-copy-light,.section-note,.light-note,.cta-inner p,p) {
  color:var(--lux-text) !important;
}
html[data-theme="day"] .savox-bs-luxury-guide:is(.prototype-guide-page,.savox-bs-article) > :is(.section-dark:not(.page-hero),.cta-section) :is(.eyebrow,.eyebrow.dark) {
  color:var(--lux-amber) !important;
}
:is(html[lang="bs"],html[lang="sl"])[data-theme="day"] .savox-bs-luxury-guide.guide-price-page > :is(.section-dark:not(.page-hero),.cta-section) :is(.eyebrow,.eyebrow.dark) {
  color:#172033 !important;
}
html[data-theme="day"] .savox-bs-luxury-guide.prototype-guide-page > .section-dark .number-list-dark span {
  color:var(--lux-amber);
  -webkit-text-stroke-color:var(--lux-amber);
}

/* SAVOX master: title gradient is reserved for headings. Day-mode labels stay
   navy, while their rules, icons, counters and interaction cues use one orange. */
:is(html[lang="bs"],html[lang="sl"])[data-theme="day"] .savox-bs-luxury-guide :is(.eyebrow,.eyebrow.dark,.ps-index) {
  color:#172033 !important;
}
:is(html[lang="bs"],html[lang="sl"])[data-theme="day"] .savox-bs-luxury-guide :is(.eyebrow,.ps-index)::before,
:is(html[lang="bs"],html[lang="sl"])[data-theme="day"] .savox-bs-luxury-guide .ps-index > span {
  background:#f2a23c !important;
  color:#f2a23c !important;
}

/* FULL DEPLOYMENT V1.2 — route-specific guide polish. */
.savox-bs-luxury-guide.prototype-guide-page .cta-actions {
  justify-content: flex-end;
}
.savox-bs-luxury-guide.prototype-guide-page .cta-actions .button-primary {
  border-color: rgba(242,162,60,.9) !important;
  background: linear-gradient(108deg,#e58a24 0%,#f2a23c 52%,#d7b77a 100%) !important;
  color: #101a2b !important;
  box-shadow: 0 24px 50px -30px rgba(242,162,60,.6),inset 0 1px rgba(255,246,224,.58) !important;
}
.savox-bs-luxury-guide.prototype-guide-page .cta-actions .button-primary:is(:hover,:focus-visible) {
  border-color: #ffb14b !important;
  background: linear-gradient(108deg,#dc7e1c 0%,#ffad43 54%,#dfc18a 100%) !important;
  color: #08111f !important;
  transform: translateY(-2px);
}
.savox-bs-luxury-guide.prototype-guide-page .cta-actions .button-secondary {
  border-color: rgba(215,183,122,.62);
  background: linear-gradient(112deg,rgba(9,20,40,.9),rgba(20,37,64,.82));
  color: #efd196;
}
html[data-theme="day"] .savox-bs-luxury-guide.prototype-guide-page .cta-actions .button-secondary {
  border-color: rgba(194,119,31,.62);
  background: linear-gradient(112deg,rgba(255,253,248,.99),rgba(248,241,231,.98) 66%,rgba(239,226,207,.96));
  color: #172334;
  box-shadow: 0 18px 38px -31px rgba(83,52,17,.54),inset 0 1px rgba(255,255,255,.96);
}
.savox-bs-luxury-guide.prototype-guide-page .cta-actions .button-secondary:is(:hover,:focus-visible) {
  border-color: #f2a23c;
  box-shadow: 0 22px 44px -31px rgba(118,68,15,.58),0 0 0 1px rgba(215,183,122,.12) inset;
  transform: translateY(-1px);
}

:is(html[lang="bs"],html[lang="sl"])[data-theme="night"] .savox-bs-luxury-guide :is(.button-secondary,.button-ghost,.ps-outline-button) {
  border: 1px solid rgba(215,183,122,.68) !important;
  background: linear-gradient(112deg,rgba(7,17,36,.74),rgba(17,31,54,.58)) !important;
  color: #efd196 !important;
  box-shadow: 0 18px 42px -32px rgba(0,0,0,.92),inset 0 1px rgba(255,255,255,.045) !important;
}
:is(html[lang="bs"],html[lang="sl"])[data-theme="night"] .savox-bs-luxury-guide :is(.button-secondary,.button-ghost,.ps-outline-button):is(:hover,:focus-visible) {
  border-color: #e7c78b !important;
  background: linear-gradient(112deg,rgba(13,27,50,.92),rgba(23,42,70,.78)) !important;
  color: #f4dcae !important;
  box-shadow: 0 24px 48px -32px rgba(0,0,0,.95),0 0 0 1px rgba(215,183,122,.11) !important;
  transform: translateY(-1px);
}
:is(html[lang="bs"],html[lang="sl"])[data-theme="day"] .savox-bs-luxury-guide :is(.button-secondary,.button-ghost,.ps-outline-button) {
  border: 1px solid rgba(194,119,31,.62) !important;
  background: linear-gradient(112deg,rgba(255,253,248,.99),rgba(248,241,231,.98) 66%,rgba(239,226,207,.96)) !important;
  color: #172334 !important;
  box-shadow: 0 18px 38px -31px rgba(83,52,17,.54),inset 0 1px rgba(255,255,255,.96) !important;
}
:is(html[lang="bs"],html[lang="sl"])[data-theme="day"] .savox-bs-luxury-guide :is(.button-secondary,.button-ghost,.ps-outline-button):is(:hover,:focus-visible) {
  border-color: #e48a25 !important;
  background: linear-gradient(112deg,#fffdf8,#f5ead9 68%,#ead6b8) !important;
  color: #172334 !important;
  box-shadow: 0 22px 44px -31px rgba(118,68,15,.58),0 0 0 1px rgba(255,255,255,.72) inset !important;
  transform: translateY(-1px);
}

:is(html[lang="bs"],html[lang="sl"])[data-theme="day"] .savox-bs-luxury-guide.prototype-guide-page .scope-table thead th {
  border-block: 2px solid #f2a23c;
  background: linear-gradient(180deg,#ead9c2,#f5eadc);
  color: #172334;
  box-shadow: inset 0 1px rgba(255,255,255,.82);
}

.market-guide-page--low-energy.savox-bs-luxury-guide .wall-visual {
  overflow: hidden;
  padding: 0;
  background: transparent;
}
.market-guide-page--low-energy.savox-bs-luxury-guide .wall-visual img {
  padding: 0 !important;
  object-fit: cover !important;
}
.market-guide-page--walls.savox-bs-luxury-guide .wall-visual {
  overflow: visible;
  padding: 0;
  border-color: transparent;
  background: transparent !important;
  box-shadow: none;
}
.market-guide-page--walls.savox-bs-luxury-guide .wall-visual img {
  padding: 0 !important;
  object-fit: contain !important;
}

.market-guide-page--process.savox-bs-luxury-guide .market-guide-process-cta .cta-inner {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.market-guide-page--process.savox-bs-luxury-guide .market-guide-process-cta .cta-inner > div:first-child {
  max-width: 900px;
}
.market-guide-page--process.savox-bs-luxury-guide .market-guide-process-cta .cta-inner h2 {
  margin-inline: auto;
}
.market-guide-page--process.savox-bs-luxury-guide .market-guide-process-cta .cta-actions {
  justify-content: center;
}

/* The BS explainer contains the longest low-energy title words. A 0.8px cap
   adjustment at the largest desktop size keeps the glyphs inside their track
   while preserving the approved typography everywhere below that cap. */
@media (min-width: 864px) {
  html[lang="bs"]
  .market-guide-page--low-energy.savox-bs-luxury-guide.prototype-guide-page .wall-intro h2 {
    font-size: clamp(2.35rem,4.35vw,5.15rem);
  }
}

/* BS master and SL translation share one deterministic low-energy media/copy
   split. minmax(0,1fr) prevents translated min-content from resizing either
   column; the existing <=800px single-column contract remains untouched. */
@media (min-width: 801px) {
  :is(html[lang="bs"],html[lang="sl"])
  .market-guide-page--low-energy.savox-bs-luxury-guide .wall-intro {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }

  :is(html[lang="bs"],html[lang="sl"])
  .market-guide-page--low-energy.savox-bs-luxury-guide .wall-intro > * {
    min-width: 0;
  }
}

/* The BS master has one longer unbroken word in the low-energy explainer.
   Ease only the first 63px of the two-column breakpoint so the approved
   50/50 layout remains intact without clipping the word at 801px. */
@media (min-width: 801px) and (max-width: 863px) {
  html[lang="bs"]
  .market-guide-page--low-energy.savox-bs-luxury-guide.prototype-guide-page .wall-intro h2 {
    font-size: clamp(2.3rem,4.35vw,2.35rem);
  }
}

@media (min-width: 901px) {
  .market-guide-page--low-energy.savox-bs-luxury-guide .wall-intro,
  .market-guide-page--low-energy.savox-bs-luxury-guide > .section-dark .content-grid,
  .guide-structure-page.savox-bs-luxury-guide > .section.container.content-grid,
  .guide-structure-page.savox-bs-luxury-guide .link-panel,
  .guide-permit-page.savox-bs-luxury-guide .link-panel {
    align-items: center;
  }
}

/* FULL DEPLOYMENT V1.4 RC71 — reviewed German technical-guide parity.
   Keep every override behind the dedicated capability class: generic DE and
   all other locale/page families retain their existing presentation. */
html[lang="de"] .savox-de-technical-guide,
html[lang="de"] .savox-de-technical-guide :is(
  .page-hero > .container,
  .content-grid > *,
  .intro-grid > *,
  .wall-intro > *,
  .section-heading > *,
  .link-panel > *,
  .cta-inner > *,
  .scope-table-wrap
) {
  min-width: 0;
}

html[lang="de"] .savox-de-technical-guide .scope-table-wrap {
  max-width: 100%;
  overflow-x: auto;
}

html[lang="de"] .savox-de-technical-guide.prototype-guide-page :is(
  h1,
  h2,
  h3,
  .savox-luxury-title-lead,
  .savox-luxury-title-accent
) {
  max-width: 100%;
  overflow-wrap: anywhere;
  hyphens: auto;
}

html[lang="de"][data-theme="day"] .savox-de-technical-guide .savox-luxury-title-accent {
  -webkit-text-stroke: 0;
  paint-order: normal;
}

html[lang="de"][data-theme="day"] .savox-de-technical-guide :is(.eyebrow,.eyebrow.dark) {
  color: #172033 !important;
}

html[lang="de"][data-theme="day"] .savox-de-technical-guide .eyebrow::before {
  background: #f2a23c !important;
}

html[lang="de"][data-theme="day"] .savox-de-technical-guide :is(
  .factor-card > span,
  .number-list span,
  .process-list span,
  .permit-faq article > span,
  .permit-faq summary > span
) {
  color: #f2a23c;
  -webkit-text-stroke-color: #f2a23c;
}

html[lang="de"][data-theme="day"] .savox-de-technical-guide.prototype-guide-page .scope-table thead th {
  border-block: 2px solid #f2a23c;
  background: linear-gradient(180deg,#ead9c2,#f5eadc);
  color: #172334;
  box-shadow: inset 0 1px rgba(255,255,255,.82);
}

@media (min-width: 801px) {
  html[lang="de"] .market-guide-page--low-energy.savox-de-technical-guide .wall-intro {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }

  html[lang="de"] .market-guide-page--low-energy.savox-de-technical-guide .wall-intro > * {
    min-width: 0;
  }
}

@media (max-width: 700px) {
  html[lang="de"] .savox-de-technical-guide.prototype-guide-page .page-hero > .container {
    min-width: 0;
  }

  html[lang="de"] .savox-de-technical-guide.prototype-guide-page .page-hero h1 {
    max-width: 100%;
    overflow-wrap: anywhere;
    hyphens: auto;
    font-size: clamp(2rem,9.2vw,3.2rem);
  }

  html[lang="de"] .savox-de-technical-guide.prototype-guide-page :is(
    .content-grid,
    .intro-grid,
    .wall-intro,
    .section-heading,
    .link-panel,
    .cta-inner
  ) h2 {
    max-width: 100%;
    overflow-wrap: anywhere;
    hyphens: auto;
    font-size: clamp(1.95rem,8.7vw,3.15rem);
  }

}

/* FULL DEPLOYMENT V1.4 RC72 — German house-guide containment only.
   The capability class prevents these defensive language rules from changing
   generic DE pages or the approved BS/SL compositions. */
html[lang="de"] .savox-de-house-guide,
html[lang="de"] .savox-de-house-guide :is(
  .page-hero > .container,
  .content-grid > *,
  .section-heading > *,
  .link-panel > *,
  .cta-inner > *,
  .factor-grid > *,
  .decision-balance-grid > *,
  .experience-proof-grid > *,
  .evidence-source-grid > *,
  .pmo-process-grid > *,
  .pmo-related-grid > *
) {
  min-width: 0;
}

html[lang="de"] .savox-de-house-guide :is(
  h1,
  h2,
  h3,
  .savox-luxury-title-lead,
  .savox-luxury-title-accent,
  .pmo-fixed-title-lead,
  .pmo-fixed-title-accent
) {
  max-width: 100%;
  overflow-wrap: anywhere;
  hyphens: auto;
}

html[lang="de"] .savox-de-house-guide :is(
  .savox-title-line-lock,
  .pmo-fixed-title-lead,
  .pmo-fixed-title-accent
) {
  display: block;
  width: fit-content;
  max-width: 100%;
  white-space: normal;
}

/* RC73 direct-DE knowledge, article and quality surfaces. */
html[lang="de"] .savox-de-corporate-page.savox-bs-luxury-guide :is(h1,h2,h3,.savox-luxury-title-lead,.savox-luxury-title-accent) {
  max-width:100%;
  overflow-wrap:anywhere;
  hyphens:auto;
}
html[lang="de"][data-theme="day"] .savox-de-corporate-page.savox-bs-luxury-guide .savox-luxury-title-accent {
  -webkit-text-stroke:0;
  paint-order:normal;
}
html[lang="de"][data-theme="day"] .savox-de-corporate-page.savox-bs-luxury-guide :is(.eyebrow,.eyebrow.dark,.ps-index) {
  color:#172033 !important;
}
html[lang="de"][data-theme="day"] .savox-de-corporate-page.savox-bs-luxury-guide :is(.eyebrow,.ps-index)::before,
html[lang="de"][data-theme="day"] .savox-de-corporate-page.savox-bs-luxury-guide .ps-index > span {
  background:#f2a23c !important;
  color:#f2a23c !important;
}
html[lang="de"][data-theme="day"] .savox-de-corporate-page.savox-bs-luxury-guide :is(.button-secondary,.button-ghost,.ps-outline-button) {
  border:1px solid rgba(194,119,31,.62) !important;
  background:linear-gradient(112deg,rgba(255,253,248,.99),rgba(248,241,231,.98) 66%,rgba(239,226,207,.96)) !important;
  color:#172334 !important;
  box-shadow:0 18px 38px -31px rgba(83,52,17,.54),inset 0 1px rgba(255,255,255,.96) !important;
}
html[lang="de"][data-theme="night"] .savox-de-corporate-page.savox-bs-luxury-guide :is(.button-secondary,.button-ghost,.ps-outline-button) {
  border:1px solid rgba(215,183,122,.68) !important;
  background:linear-gradient(112deg,rgba(7,17,36,.74),rgba(17,31,54,.58)) !important;
  color:#efd196 !important;
  box-shadow:0 18px 42px -32px rgba(0,0,0,.92),inset 0 1px rgba(255,255,255,.045) !important;
}
