/* Global staging/test environment notice — stick with header as one unit */
.site-top {
  position: sticky;
  top: 0;
  z-index: 1040;
}

.site-top .header {
  position: relative;
  top: auto;
  z-index: auto;
}

.env-banner {
  background: #b45309;
  color: #fff;
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.35;
  padding: 0.45rem 1rem;
}

.industrial-wet-painting-page .block-type-title-text + .block-type-list-with-image .list-with-image-block {
  padding-top: 0;
}

.industrial-wet-painting-page .block-type-accordion .green-accordion-title,
.industrial-wet-painting-page .block-type-specsheet .specsheet-title {
  font-size: clamp(1.5rem, 3.2vw, 2.125rem);
}

.industrial-wet-painting-page .block-type-accordion .green-accordion-block--light .green-accordion-items {
  margin-top: 1.25rem;
  border-top-color: rgba(9, 61, 79, 0.38);
}

.industrial-wet-painting-page .block-type-accordion .green-accordion-block--light .green-accordion-item {
  border-bottom-color: rgba(9, 61, 79, 0.38);
}

.industrial-wet-painting-page .block-type-accordion .green-accordion-block--light .green-accordion-summary {
  padding: 1rem clamp(1.25rem, 4vw, 2.75rem);
  gap: 0.85rem;
}

.industrial-wet-painting-page .block-type-accordion .green-accordion-block--light .green-accordion-summary:not(.collapsed) {
  background: transparent;
  box-shadow: none;
}

.industrial-wet-painting-page .block-type-accordion .green-accordion-block--light .green-accordion-summary-text {
  font-size: 1.08rem;
  line-height: 1.45;
}

.industrial-wet-painting-page .block-type-accordion .green-accordion-block--light .green-accordion-title,
.industrial-wet-painting-page .block-type-accordion .green-accordion-block--light .green-accordion-subtitle {
  padding-inline: clamp(1.25rem, 4vw, 2.75rem);
}

.industrial-wet-painting-page .block-type-accordion .green-accordion-block--light .green-accordion-chevron {
  width: 1.35rem;
  height: 1.35rem;
  background: transparent;
  border: 0;
  color: #0a4f63;
}

.industrial-wet-painting-page .block-type-accordion .green-accordion-block--light .green-accordion-chevron svg {
  width: 1.1rem;
  height: 1.1rem;
}

.industrial-wet-painting-page .block-type-accordion .green-accordion-block--light .green-accordion-content {
  padding: 0 clamp(1.25rem, 4vw, 2.75rem) 1.1rem calc(clamp(1.25rem, 4vw, 2.75rem) + 1.45rem) !important;
}

.industrial-wet-painting-page .block-type-accordion .green-accordion-block--light .green-accordion-content p {
  color: rgba(9, 61, 79, 0.9);
}

.industrial-wet-painting-page .block-type-specsheet .specsheet-table th:first-child,
.pvd-vacuum-metallization-page .block-type-specsheet .specsheet-table th:first-child {
  text-align: right;
}

.industrial-wet-painting-page .block-type-specsheet .specsheet-table td:first-child .specsheet-category-cell,
.pvd-vacuum-metallization-page .block-type-specsheet .specsheet-table td:first-child .specsheet-category-cell {
  justify-content: flex-end;
}

.industrial-wet-painting-page .block-type-specsheet .specsheet-table td:first-child .specsheet-category,
.pvd-vacuum-metallization-page .block-type-specsheet .specsheet-table td:first-child .specsheet-category {
  text-align: right;
}

/* Tighten gap under colored heading before functional/technical properties table */
.industrial-wet-painting-page .block-type-colored-heading:has(+ .block-type-specsheet) .colored-heading-block,
.pvd-vacuum-metallization-page .block-type-colored-heading:has(+ .block-type-specsheet) .colored-heading-block {
  padding-bottom: 0;
}

.industrial-wet-painting-page .block-type-colored-heading:has(+ .block-type-specsheet) .colored-heading__separator,
.pvd-vacuum-metallization-page .block-type-colored-heading:has(+ .block-type-specsheet) .colored-heading__separator {
  margin-bottom: clamp(1.25rem, 2.5vw, 2rem);
}

.industrial-wet-painting-page .block-type-colored-heading + .block-type-specsheet .specsheet-inner,
.pvd-vacuum-metallization-page .block-type-colored-heading + .block-type-specsheet .specsheet-inner {
  padding-top: 0;
}

.industrial-wet-painting-page .block-type-specsheet .specsheet-block::before {
  background-image: url("../images/logo-icon.svg");
  background-position: 22% 58%;
  background-size: min(36rem, 48vw);
  transform: none;
  opacity: 0.07;
}

.pvd-vacuum-metallization-page .block-type-specsheet .specsheet-block::before {
  background-image: url("../images/logo-icon.svg");
  background-position: 22% 58%;
  background-size: min(36rem, 48vw);
  transform: none;
  opacity: 0.07;
}

.pvd-vacuum-metallization-page .block-type-title-text + .block-type-list-with-image .list-with-image-block {
  padding-top: 0;
}

.pvd-vacuum-metallization-page .block-type-accordion .green-accordion-title,
.pvd-vacuum-metallization-page .block-type-specsheet .specsheet-title {
  font-size: clamp(1.5rem, 3.2vw, 2.125rem);
}

/* Accordion layout like industrial wet painting (light variant), text stays white on dark image block */
.pvd-vacuum-metallization-page .block-type-accordion .green-accordion-block:not(.green-accordion-block--light) .green-accordion-items {
  margin-top: 1.25rem;
  border-top-color: rgba(255, 255, 255, 0.35);
}

.pvd-vacuum-metallization-page .block-type-accordion .green-accordion-block:not(.green-accordion-block--light) .green-accordion-item {
  border-bottom-color: rgba(255, 255, 255, 0.35);
}

.pvd-vacuum-metallization-page .block-type-accordion .green-accordion-block:not(.green-accordion-block--light) .green-accordion-summary {
  padding: 1rem clamp(1.25rem, 4vw, 2.75rem);
  gap: 0.85rem;
}

.pvd-vacuum-metallization-page .block-type-accordion .green-accordion-block:not(.green-accordion-block--light) .green-accordion-summary:not(.collapsed) {
  background: transparent;
  box-shadow: none;
}

.pvd-vacuum-metallization-page .block-type-accordion .green-accordion-block:not(.green-accordion-block--light) .green-accordion-summary-text {
  font-size: 1.08rem;
  line-height: 1.45;
  color: #fff;
}

.pvd-vacuum-metallization-page .block-type-accordion .green-accordion-block:not(.green-accordion-block--light) .green-accordion-title,
.pvd-vacuum-metallization-page .block-type-accordion .green-accordion-block:not(.green-accordion-block--light) .green-accordion-subtitle {
  padding-inline: clamp(1.25rem, 4vw, 2.75rem);
}

.pvd-vacuum-metallization-page .block-type-accordion .green-accordion-block:not(.green-accordion-block--light) .green-accordion-chevron {
  width: 1.35rem;
  height: 1.35rem;
  background: transparent;
  border: 0;
  color: #fff;
}

.pvd-vacuum-metallization-page .block-type-accordion .green-accordion-block:not(.green-accordion-block--light) .green-accordion-chevron svg {
  width: 1.1rem;
  height: 1.1rem;
}

.pvd-vacuum-metallization-page .block-type-accordion .green-accordion-block:not(.green-accordion-block--light) .green-accordion-content {
  padding: 0 clamp(1.25rem, 4vw, 2.75rem) 1.1rem calc(clamp(1.25rem, 4vw, 2.75rem) + 1.45rem) !important;
}

.pvd-vacuum-metallization-page .block-type-accordion .green-accordion-block:not(.green-accordion-block--light) .green-accordion-content p {
  color: rgba(255, 255, 255, 0.95);
}

/* Brizganje plastike: tighten intro -> "Ključne prednosti" spacing */
.plastic-injection-page .block-type-title-text > .container {
  padding-bottom: clamp(0.5rem, 1.2vw, 0.9rem);
}

.plastic-injection-page .block-type-title-text + .block-type-list-with-image .list-with-image-inner {
  padding-top: clamp(0.45rem, 1.2vw, 0.8rem);
}

/* Brizganje plastike: keep machine-park section headings at regular h2 size */
.plastic-injection-page .block-type-machine-park-materials .machine-park-materials__title {
  font-size: clamp(1.5rem, 3.2vw, 2.125rem);
}

/* Lasersko graviranje: white -> light gray gradient like homepage cards wrapper */
.laser-engraving-page .block-type-list-with-image .list-with-image-block {
  background-color: #fff;
  background-image: linear-gradient(to top, #f8f9fa 0%, #fff 100%);
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

/* Digitalni tisk: grayish bg on "Ključne prednosti", white gap before gray matches header→intro, breathing room inside gray, wider "Zakaj izbrati nas?" list */
.digital-printing-page .block-type-list-with-image .list-with-image-block {
  background-color: #e9ecef;
  background-image: none;
}

.digital-printing-page .block-type-title-text > .container {
  padding-bottom: clamp(2rem, 4vw, 3.5rem);
}

.digital-printing-page .block-type-title-text .text-left > *:last-child {
  margin-bottom: 0;
}

.digital-printing-page .block-type-title-text + .block-type-list-with-image .list-with-image-inner {
  padding-top: clamp(1.25rem, 2.5vw, 2rem);
}

.digital-printing-page .why-choose-list-cta__inner {
  max-width: 56rem;
}

.digital-printing-page .why-choose-list-cta__list {
  max-width: min(50rem, 100%);
}

/* Celostno vodenje projektov: home-cards-like gradient + tighter spacing */
.project-management-page .block-type-list-with-image .list-with-image-block {
  background-color: #fff;
  background-image: linear-gradient(to top, #f8f9fa 0%, #fff 100%);
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.project-management-page .block-type-title-text + .block-type-list-with-image .list-with-image-block {
  padding-top: 0;
}

/* Pregled celostnih storitev: tighten gap under colored heading before table */
.project-management-page .block-type-colored-heading:has(+ .block-type-specsheet) .colored-heading-block {
  padding-bottom: 0;
}

.project-management-page .block-type-colored-heading:has(+ .block-type-specsheet) .colored-heading__separator {
  margin-bottom: clamp(1.25rem, 2.5vw, 2rem);
}

.project-management-page .block-type-colored-heading + .block-type-specsheet .specsheet-inner {
  padding-top: 0;
}

/* Celostne storitve – pregled: regular h2 scale and specsheet alignment like other service pages */
.project-management-page .block-type-specsheet .specsheet-title {
  font-size: clamp(1.5rem, 3.2vw, 2.125rem);
}

.project-management-page .block-type-specsheet .specsheet-block::before {
  background-image: url("../images/logo-icon.svg");
  background-position: 22% 58%;
  background-size: min(36rem, 48vw);
  transform: none;
  opacity: 0.07;
}

.project-management-page .block-type-specsheet .specsheet-table th:first-child {
  text-align: right;
}

.project-management-page .block-type-specsheet .specsheet-table td:first-child .specsheet-category-cell {
  justify-content: flex-end;
}

.project-management-page .block-type-specsheet .specsheet-table td:first-child .specsheet-category {
  text-align: right;
}

/* Celostno vodenje projektov: "Panoge" block background image + white 50% overlay */
.project-management-page .block-type-text-with-list-cta .section.bg-light {
  position: relative;
  background-color: #f8f9fa;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.75)),
    var(--project-management-industries-bg-image, none);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}
