/* Labmodul local-only product page design proposals v1.0
   Scope: page-id-4167. No live or staging dependencies. */

body.page-id-4167 .page-header {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-position: center center !important;
  background-size: cover !important;
}
body.page-id-4167 .page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
body.page-id-4167 .page-header .container {
  position: relative;
  z-index: 1;
}
body.page-id-4167 .page-title {
  max-width: 980px;
  margin-inline: auto;
  font-family: "Century Gothic", CenturyGothic, AppleGothic, sans-serif;
  font-weight: 400;
  line-height: 1.06;
  text-wrap: balance;
}
body.page-id-4167 .breadcrumbs {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}
body.page-id-4167 .breadcrumbs li + li::before {
  content: "—";
  margin-right: 12px;
  color: #f36f21;
}
body.page-id-4167 .elementor-element-51c7445 .ot-heading.is-dots::after {
  background: #f36f21;
}
body.page-id-4167 .elementor-element-51c7445 .main-heading {
  font-family: "Century Gothic", CenturyGothic, AppleGothic, sans-serif;
  font-weight: 400;
  line-height: 1.08;
  text-wrap: balance;
}
body.page-id-4167 .project_filters a {
  font-family: "Century Gothic", CenturyGothic, AppleGothic, sans-serif;
  font-weight: 500;
}
body.page-id-4167 .filter-count {
  color: #f36f21;
  font-size: .72em;
}
body.page-id-4167 .projects-box {
  background: #fff;
}
body.page-id-4167 .projects-thumbnail {
  overflow: hidden;
}
body.page-id-4167 .projects-thumbnail img {
  width: 100%;
  object-fit: cover;
}
body.page-id-4167 .portfolio-info h5,
body.page-id-4167 .portfolio-info .title-link {
  font-family: "Century Gothic", CenturyGothic, AppleGothic, sans-serif;
  font-weight: 500;
}
body.page-id-4167 .portfolio-cates a {
  font-family: "Century Gothic", CenturyGothic, AppleGothic, sans-serif;
  color: #5f6966;
}

/* Proposal A — Nordic blueprint */
html.lm-products-a body.page-id-4167 .page-header {
  min-height: 610px;
  text-align: left;
}
html.lm-products-a body.page-id-4167 .page-header::before {
  background:
    linear-gradient(90deg, rgba(22,34,31,.88) 0%, rgba(22,34,31,.62) 54%, rgba(22,34,31,.28) 100%),
    linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.28));
}
html.lm-products-a body.page-id-4167 .page-header .dcell {
  vertical-align: bottom;
  padding: 0 0 76px;
}
html.lm-products-a body.page-id-4167 .page-header .container {
  max-width: 1500px;
  padding-inline: 64px;
  text-align: left;
}
html.lm-products-a body.page-id-4167 .page-title {
  max-width: 900px;
  margin: 0;
  color: #fff !important;
  font-size: clamp(48px, 5.4vw, 82px);
}
html.lm-products-a body.page-id-4167 .page-title::after {
  content: "";
  display: block;
  width: 164px;
  height: 2px;
  margin-top: 30px;
  background: #f36f21;
}
html.lm-products-a body.page-id-4167 .breadcrumbs {
  justify-content: flex-start;
  color: rgba(255,255,255,.84);
}
html.lm-products-a body.page-id-4167 .breadcrumbs a { color: #fff; }
html.lm-products-a body.page-id-4167 .elementor-element-51c7445 {
  padding: 98px 0 42px;
  background:
    linear-gradient(rgba(255,255,255,.9),rgba(255,255,255,.9)),
    url("/__labmodul_original_blueprint.jpg") center/cover no-repeat;
}
html.lm-products-a body.page-id-4167 .elementor-element-51c7445 .elementor-container {
  max-width: 1500px;
}
html.lm-products-a body.page-id-4167 .elementor-element-51c7445 .theratio-align-center {
  text-align: left;
}
html.lm-products-a body.page-id-4167 .elementor-element-51c7445 .main-heading {
  max-width: 780px;
  margin: 0;
  font-size: clamp(40px,4vw,64px);
}
html.lm-products-a body.page-id-4167 .elementor-element-51c7445 .ot-heading.is-dots::after {
  margin-left: 0;
}
html.lm-products-a body.page-id-4167 .project_filters {
  justify-content: flex-start !important;
  gap: 10px 28px;
  flex-wrap: wrap;
  margin: 56px 0 36px;
  padding: 22px 0;
  border-top: 1px solid #d8ddd9;
  border-bottom: 1px solid #d8ddd9;
}
html.lm-products-a body.page-id-4167 .project_filters li { margin: 0 !important; }
html.lm-products-a body.page-id-4167 .project_filters a {
  position: relative;
  padding: 8px 0 10px;
  color: #27322f;
}
html.lm-products-a body.page-id-4167 .project_filters a.selected::after,
html.lm-products-a body.page-id-4167 .project_filters a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: #f36f21;
}
html.lm-products-a body.page-id-4167 .projects-grid {
  background-image:
    linear-gradient(rgba(39,50,47,.045) 1px, transparent 1px),
    linear-gradient(90deg,rgba(39,50,47,.045) 1px,transparent 1px);
  background-size: 96px 96px;
}
html.lm-products-a body.page-id-4167 .project-item { padding: 14px; }
html.lm-products-a body.page-id-4167 .projects-box {
  border: 1px solid #d8ddd9;
  transition: transform .22s ease, border-color .22s ease;
}
html.lm-products-a body.page-id-4167 .projects-box:hover {
  transform: translateY(-5px);
  border-color: #f36f21;
}
html.lm-products-a body.page-id-4167 .projects-thumbnail img { height: 350px !important; }
html.lm-products-a body.page-id-4167 .portfolio-info {
  position: relative;
  opacity: 1;
  visibility: visible;
  transform: none;
  padding: 24px 26px 28px;
  background: #fff;
}
html.lm-products-a body.page-id-4167 .portfolio-info h5 { font-size: 22px; }

/* Proposal B — Framed gallery */
html.lm-products-b body.page-id-4167 .page-header {
  min-height: 470px;
}
html.lm-products-b body.page-id-4167 .page-header::before {
  background: linear-gradient(180deg,rgba(24,33,31,.2),rgba(24,33,31,.5));
}
html.lm-products-b body.page-id-4167 .page-header .dcell {
  vertical-align: bottom;
  padding-bottom: 0;
}
html.lm-products-b body.page-id-4167 .page-header .container {
  width: min(1180px,calc(100% - 80px));
  margin-bottom: -76px;
  padding: 44px 56px 48px;
  text-align: left;
  background: rgba(255,255,255,.96);
  border-left: 4px solid #f36f21;
  box-shadow: 0 24px 65px rgba(19,31,28,.15);
}
html.lm-products-b body.page-id-4167 .page-title {
  max-width: 900px;
  margin: 0;
  color: #27322f;
  font-size: clamp(42px,4.5vw,68px);
}
html.lm-products-b body.page-id-4167 .breadcrumbs {
  justify-content: flex-start;
  color: #5f6966;
}
html.lm-products-b body.page-id-4167 .breadcrumbs a { color: #27322f; }
html.lm-products-b body.page-id-4167 .elementor-element-51c7445 {
  padding: 162px 0 58px;
}
html.lm-products-b body.page-id-4167 .elementor-element-51c7445 .main-heading {
  max-width: 760px;
  margin-inline: auto;
  font-size: clamp(38px,3.6vw,58px);
}
html.lm-products-b body.page-id-4167 .project_filters {
  justify-content: center !important;
  flex-wrap: wrap;
  gap: 8px;
  margin: 54px auto 42px;
  max-width: 1250px;
}
html.lm-products-b body.page-id-4167 .project_filters li { margin: 0 !important; }
html.lm-products-b body.page-id-4167 .project_filters a {
  display: inline-flex;
  gap: 7px;
  padding: 11px 16px;
  border: 1px solid #d8ddd9;
  color: #27322f;
  background: #fff;
}
html.lm-products-b body.page-id-4167 .project_filters a.selected,
html.lm-products-b body.page-id-4167 .project_filters a:hover {
  color: #fff;
  border-color: #27322f;
  background: #27322f;
}
html.lm-products-b body.page-id-4167 .project-item { padding: 12px; }
html.lm-products-b body.page-id-4167 .projects-box {
  border: 1px solid #e1e5e2;
  box-shadow: 0 16px 42px rgba(24,34,31,.07);
}
html.lm-products-b body.page-id-4167 .projects-thumbnail img {
  height: 330px !important;
  transition: transform .45s ease;
}
html.lm-products-b body.page-id-4167 .projects-box:hover .projects-thumbnail img { transform: scale(1.035); }
html.lm-products-b body.page-id-4167 .portfolio-info {
  position: relative;
  opacity: 1;
  visibility: visible;
  transform: none;
  padding: 25px 28px 30px;
  background: #fff;
  border-top: 3px solid #f36f21;
}
html.lm-products-b body.page-id-4167 .portfolio-info h5 { font-size: 23px; }

/* Proposal C — Technical index */
html.lm-products-c body.page-id-4167 .page-header {
  min-height: 500px;
  background-color: #f5f7f5 !important;
  background-position: right center !important;
  background-size: 58% auto !important;
  background-repeat: no-repeat !important;
}
html.lm-products-c body.page-id-4167 .page-header::before {
  background: linear-gradient(90deg,#f5f7f5 0%,#f5f7f5 42%,rgba(245,247,245,.9) 52%,rgba(245,247,245,.08) 82%);
}
html.lm-products-c body.page-id-4167 .page-header .dcell { vertical-align: middle; }
html.lm-products-c body.page-id-4167 .page-header .container {
  max-width: 1500px;
  padding-inline: 64px;
  text-align: left;
}
html.lm-products-c body.page-id-4167 .page-title {
  max-width: 690px;
  margin: 0;
  padding-left: 30px;
  color: #27322f;
  border-left: 3px solid #f36f21;
  font-size: clamp(44px,4.6vw,72px);
}
html.lm-products-c body.page-id-4167 .breadcrumbs {
  justify-content: flex-start;
  padding-left: 33px;
  color: #5f6966;
}
html.lm-products-c body.page-id-4167 .breadcrumbs a { color: #27322f; }
html.lm-products-c body.page-id-4167 .elementor-element-51c7445 {
  padding: 90px 0 44px;
  background:
    linear-gradient(rgba(255,255,255,.94),rgba(255,255,255,.94)),
    url("/__labmodul_original_blueprint.jpg") center/cover no-repeat;
}
html.lm-products-c body.page-id-4167 .elementor-element-51c7445 .theratio-align-center { text-align: left; }
html.lm-products-c body.page-id-4167 .elementor-element-51c7445 .main-heading {
  max-width: 680px;
  margin: 0;
  font-size: clamp(40px,3.8vw,60px);
}
html.lm-products-c body.page-id-4167 .elementor-element-51c7445 .ot-heading.is-dots::after { margin-left: 0; }
html.lm-products-c body.page-id-4167 .project-filter-wrapper {
  display: grid;
  grid-template-columns: minmax(240px,300px) minmax(0,1fr);
  gap: 38px;
  width: min(1760px,calc(100% - 56px));
  margin-inline: auto;
}
html.lm-products-c body.page-id-4167 .project-filter-wrapper > .container {
  width: auto;
  margin: 0;
  padding: 0;
}
html.lm-products-c body.page-id-4167 .project_filters {
  position: sticky;
  top: 116px;
  display: flex !important;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  margin: 0;
  padding: 0;
  border-top: 1px solid #d8ddd9;
}
html.lm-products-c body.page-id-4167 .project_filters li { width: 100%; margin: 0 !important; }
html.lm-products-c body.page-id-4167 .project_filters a {
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 16px 4px;
  color: #27322f;
  border-bottom: 1px solid #d8ddd9;
}
html.lm-products-c body.page-id-4167 .project_filters a.selected,
html.lm-products-c body.page-id-4167 .project_filters a:hover {
  padding-left: 16px;
  color: #f36f21;
  border-left: 2px solid #f36f21;
}
html.lm-products-c body.page-id-4167 .projects-grid { width: 100% !important; }
html.lm-products-c body.page-id-4167 .project-item {
  width: 33.333333% !important;
  padding: 9px;
}
html.lm-products-c body.page-id-4167 .projects-box {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid #d8ddd9;
  background: #fff;
}
html.lm-products-c body.page-id-4167 .projects-thumbnail {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #eef1ef;
}
html.lm-products-c body.page-id-4167 .projects-thumbnail::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg,rgba(255,255,255,.025),rgba(29,42,38,.045));
}
html.lm-products-c body.page-id-4167 .projects-thumbnail img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  object-position: center;
  filter: saturate(.72) contrast(1.06) brightness(1.035);
  transform: scale(1.002);
  transition: transform .35s ease, filter .35s ease;
}
html.lm-products-c body.page-id-4167 .projects-box:hover .projects-thumbnail img {
  filter: saturate(.82) contrast(1.08) brightness(1.04);
  transform: scale(1.025);
}
html.lm-products-c body.page-id-4167 .portfolio-info {
  position: relative;
  flex: 1;
  opacity: 1;
  visibility: visible;
  transform: none;
  padding: 18px 18px 22px;
  background: #fff;
}
html.lm-products-c body.page-id-4167 .portfolio-info h5 {
  display: -webkit-box;
  min-height: 47px;
  margin-bottom: 8px;
  overflow: hidden;
  font-size: 18px;
  line-height: 1.3;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
html.lm-products-c body.page-id-4167 .portfolio-info::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 84px;
  height: 2px;
  background: #f36f21;
}

@media (max-width: 1024px) {
  html.lm-products-a body.page-id-4167 .page-header .container,
  html.lm-products-c body.page-id-4167 .page-header .container { padding-inline: 36px; }
  html.lm-products-c body.page-id-4167 .project-filter-wrapper {
    grid-template-columns: 1fr;
  }
  html.lm-products-c body.page-id-4167 .project_filters {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px 20px;
  }
  html.lm-products-c body.page-id-4167 .project_filters li { width: auto; }
  html.lm-products-c body.page-id-4167 .project-item { width: 50% !important; }
}
@media (max-width: 767px) {
  body.page-id-4167 .page-header { min-height: 410px !important; }
  html.lm-products-a body.page-id-4167 .page-header .container,
  html.lm-products-c body.page-id-4167 .page-header .container { padding-inline: 22px; }
  html.lm-products-b body.page-id-4167 .page-header .container {
    width: calc(100% - 32px);
    padding: 30px 24px;
    margin-bottom: -54px;
  }
  html.lm-products-b body.page-id-4167 .elementor-element-51c7445 { padding-top: 120px; }
  html.lm-products-c body.page-id-4167 .page-header {
    background-position: center !important;
    background-size: cover !important;
  }
  html.lm-products-c body.page-id-4167 .page-header::before {
    background: rgba(245,247,245,.88);
  }
  html.lm-products-c body.page-id-4167 .project-filter-wrapper {
    width: calc(100% - 28px);
  }
  html.lm-products-c body.page-id-4167 .project-item { width: 100% !important; }
  html.lm-products-c body.page-id-4167 .projects-thumbnail img { height: 100% !important; }
}
/* Approved follow-up adjustments for Proposal C.
   Keep these after the proposal rules so later theme hover rules cannot
   replace the approved Nordic card presentation. */
html.lm-products-c body.page-id-4167 .project_filters li:first-child .filter-count {
  display: none !important;
}
html.lm-products-c body.page-id-4167 .portfolio-cates {
  display: none !important;
}
html.lm-products-c body.page-id-4167 .projects-box,
html.lm-products-c body.page-id-4167 .projects-box:hover,
html.lm-products-c body.page-id-4167 .projects-box:focus-within {
  background: #fff !important;
}
html.lm-products-c body.page-id-4167 .portfolio-info,
html.lm-products-c body.page-id-4167 .projects-box:hover .portfolio-info,
html.lm-products-c body.page-id-4167 .projects-box:focus-within .portfolio-info {
  position: relative !important;
  inset: auto !important;
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  color: #27322f !important;
  background: #fff !important;
}
html.lm-products-c body.page-id-4167 .portfolio-info h5,
html.lm-products-c body.page-id-4167 .portfolio-info .title-link,
html.lm-products-c body.page-id-4167 .projects-box:hover .portfolio-info h5,
html.lm-products-c body.page-id-4167 .projects-box:hover .portfolio-info .title-link,
html.lm-products-c body.page-id-4167 .projects-box:focus-within .portfolio-info h5,
html.lm-products-c body.page-id-4167 .projects-box:focus-within .portfolio-info .title-link {
  opacity: 1 !important;
  visibility: visible !important;
  color: #27322f !important;
}
html.lm-products-c body.page-id-4167 .projects-thumbnail .overlay,
html.lm-products-c body.page-id-4167 .projects-box:hover .projects-thumbnail .overlay {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}