.reference-body > .reference-photos { margin: 0 0 54px; align-items: start; }
.reference-photos img { display: block; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 18px; }
.reference-photos figcaption { margin-top: 12px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.reading-links a { color: #147344; text-decoration: underline; text-underline-offset: 4px; font-size: 15px; }
.reading-links a:hover { color: #0b4728; }
.reading-links a span { margin-left: 8px; }
.reference-comparison { margin: 24px 0 30px; overflow-x: auto; }
.reference-comparison table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.65; text-align: left; }
.reference-comparison caption { text-align: left; color: var(--muted); font-size: 13px; margin-bottom: 12px; }
.reference-comparison th,.reference-comparison td { padding: 16px; vertical-align: top; border-bottom: 1px solid var(--line); }
.reference-comparison thead { background: var(--paper-deep); }
.reference-comparison th { font-weight: 600; }
.reference-comparison th:first-child { width: 20%; }
@media(max-width: 600px) {
 .reference-body > .reference-photos { margin-bottom: 38px; }
 .reference-comparison th,.reference-comparison td { padding: 12px 9px; font-size: 13px; }
 .reference-comparison th:first-child { width: 24%; }
}
.pallet-projects { margin-top: 64px; }
.pallet-projects .eyebrow { color: #147344; }
.pallet-projects h2 { margin: 0 0 16px; font-size: clamp(28px,3.5vw,42px); font-weight: 500; letter-spacing: -.04em; line-height: 1.15; }
.pallet-projects-intro { color: var(--muted); margin: 0 0 28px; font-size: 17px; line-height: 1.7; }
.pallet-project-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.pallet-project { display: grid; grid-template-columns: 112px minmax(0,1fr); align-items: start; gap: 18px; padding: 22px; border: 1px solid var(--line); border-radius: 16px; }
.pallet-project > img { width: 112px; height: 72px; object-fit: cover; border-radius: 8px; }
.pallet-project h3 { margin: 0 0 10px; font-size: 20px; font-weight: 500; line-height: 1.3; letter-spacing: -.02em; }
.pallet-project p { margin: 0 0 14px; font-size: 14px; line-height: 1.65; color: var(--muted); }
.pallet-project-actions { display: flex; flex-wrap: wrap; gap: 12px 18px; }
.pallet-project-actions a { color: #147344; font-size: 13px; font-weight: 500; text-underline-offset: 4px; }
.pallet-project-actions a span { margin-left: 5px; }
.pallet-video-dialog { width: min(1000px,calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 1px solid #496354; border-radius: 16px; background: #101a15; color: #fff; }
.pallet-video-dialog::backdrop { background: rgba(0,0,0,.78); }
.pallet-video-heading { display: flex; gap: 20px; align-items: center; justify-content: space-between; padding: 18px 22px; }
.pallet-video-heading h2 { margin: 0; font-size: 20px; font-weight: 500; }
.pallet-video-heading button { border: 1px solid #496354; color: #fff; background: transparent; border-radius: 8px; min-width: 44px; min-height: 44px; cursor: pointer; }
#pallet-video-content iframe { display: block; width: 100%; aspect-ratio: 16/9; border: 0; }
.pallet-video-consent { padding: 24px; line-height: 1.7; }
.pallet-video-consent p { margin: 0 0 18px; }
.pallet-video-consent a { color: #9bdeaf; }
.pallet-video-consent button { margin-top: 16px; padding: 12px 18px; color: #101a15; background: var(--green-bright); border: 0; border-radius: 8px; cursor: pointer; font: inherit; }
@media(max-width: 760px) {
 .pallet-project-grid { grid-template-columns: 1fr; }
 .pallet-project { grid-template-columns: 88px minmax(0,1fr); padding: 16px; gap: 14px; }
 .pallet-project > img { width: 88px; height: 58px; }
 .pallet-project h3 { font-size: 18px; }
 .pallet-video-heading { padding: 14px; }
 .pallet-video-heading h2 { font-size: 17px; }
}
.pallet-type-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.pallet-type-nav a { padding: 13px 25px; border: 1px solid #496354; border-radius: 999px; color: #eaf0e9; font-size: 15px; font-weight: 500; line-height: 1.3; text-decoration: none; }
.pallet-type-nav a:hover { border-color: var(--green-bright); color: var(--green-bright); }
.pallet-type-nav a[aria-current="page"] { background: var(--green-bright); color: #102017; border-color: var(--green-bright); }
.pallet-type-nav a:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.reading + .reference-photos { margin-top: 48px; }
@media(max-width: 480px) { .pallet-type-nav { gap: 6px; } .pallet-type-nav a { padding: 12px 15px; font-size: 14px; } }

/* Keep the article in its original continuous reading layout. */
.pallet-steps { padding-left: 26px; margin: 28px 0 0; }
.pallet-steps li { margin: 0 0 24px; padding-left: 8px; }
.pallet-steps li::marker { color: #147344; font-weight: 600; }
.pallet-steps h3 { margin: 0 0 8px; font-size: 20px; font-weight: 500; line-height: 1.3; letter-spacing: -.02em; }
.pallet-steps p { margin-bottom: 0; }

/* Match the published /proekty palette and typography, keeping the article flow. */
.pallet-page {
  --ink: #0a110f;
  --paper: #f1f3ed;
  --paper-deep: #e5eadd;
  --muted: #4d5752;
  --green: #147344;
  --green-bright: #b8db72;
  --line: #c9d1bc;
  background: var(--paper);
}
.pallet-page .reference-hero { padding: 30px 0 70px; background: #0a110f; border: 0; }
.pallet-page .reference-hero::before,.pallet-page .reference-hero::after { display: none; }
.pallet-page .breadcrumbs { margin-bottom: 55px; color: #b8c2bd; }
.pallet-page .breadcrumbs a { color: #b8c2bd; }
.pallet-page .reference-hero .eyebrow { margin: 0; color: #b8db72; font-size: 11px; font-weight: 600; letter-spacing: 2px; }
.pallet-page h1 { margin: 25px 0; font-size: clamp(48px,6vw,86px); font-weight: 500; line-height: 1.02; letter-spacing: -3.5px; }
.pallet-page h1 em { display: block; color: #b8db72; font-style: normal; }
.pallet-page .intro { max-width: 710px; color: #c2ccc6; font-size: 19px; line-height: 1.7; }
.pallet-page .reference-body { padding-top: 70px; }
.pallet-page .reading { display: block; max-width: 850px; }
.pallet-page .reading-section { padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.pallet-page .reading h2 { font-size: clamp(28px,3vw,38px); font-weight: 500; letter-spacing: -1.5px; line-height: 1.15; }
.pallet-page .reading p { color: #4d5752; font-size: 16px; line-height: 1.8; }
.pallet-page .reading-links a { color: #147344; font-weight: 500; text-underline-offset: 5px; }
.pallet-page .reference-photos img { border: 0; border-radius: 28px; }
.pallet-page .reference-photos figcaption { color: #4d5752; }
.pallet-page .reference-comparison thead { background: #e5eadd; }
.pallet-page .reference-comparison th,.pallet-page .reference-comparison td { border-color: #c9d1bc; }
.pallet-page .reference-comparison td { color: #4d5752; }
.pallet-page .pallet-type-nav a { border-color: #415b49; color: #c2ccc6; }
.pallet-page .pallet-type-nav a[aria-current="page"] { background: #b8db72; border-color: #b8db72; color: #102c23; }
.pallet-page .pallet-type-nav a:hover { border-color: #b8db72; color: #b8db72; }
.pallet-page .pallet-type-nav a[aria-current="page"]:hover { color: #102c23; }
.pallet-page .pallet-project { background: #102c23; border: 0; border-radius: 28px; padding: 26px; }
.pallet-page .pallet-project > img { border-radius: 12px; }
.pallet-page .pallet-project h3 { color: #f2f5ed; font-weight: 500; }
.pallet-page .pallet-project p { color: #cad4c9; }
.pallet-page .pallet-project-actions a { color: #b8db72; }
.pallet-page .pallet-projects h2,.pallet-page .related h2 { font-size: clamp(28px,3vw,38px); font-weight: 500; letter-spacing: -1.5px; }
.pallet-page .pallet-projects-intro { font-size: 16px; line-height: 1.8; }
.pallet-page .reference-cards a { border: 0; border-radius: 28px; background: #e5eadd; box-shadow: none; }
.pallet-page .reference-cards a:hover { background: #dce5ce; transform: none; box-shadow: none; }
.pallet-page .reference-cards a .reference-card-copy { color: #0a110f; }
.pallet-page .reference-cards .reference-card-copy small { color: #4d5752; }
.pallet-page .reference-contact { background: #102c23; border: 0; }
.pallet-page .reference-contact::before { display: none; }
.pallet-page .reference-contact .eyebrow { color: #b8db72; }
.pallet-page .reference-contact h2 { color: #f2f5ed; }
.pallet-page .reference-contact p { color: #cad4c9; }
.pallet-page .pallet-video-dialog { background: #102c23; border-color: #415b49; border-radius: 28px; }
.pallet-page .pallet-video-consent a { color: #b8db72; }
@media(max-width:600px) {
  .pallet-page .wrap { width: calc(100% - 36px); }
  .pallet-page .reference-hero { padding-bottom: 45px; }
  .pallet-page .breadcrumbs { margin-bottom: 35px; }
  .pallet-page h1 { font-size: clamp(40px,12.56vw,49px); letter-spacing: -2px; }
  .pallet-page .intro { font-size: 17px; }
  .pallet-page .reference-body { padding-top: 40px; }
  .pallet-page .reading h2 { font-size: 30px; letter-spacing: -1px; }
  .pallet-page .pallet-project { padding: 22px; }
  .pallet-page .pallet-projects h2,.pallet-page .related h2 { font-size: 28px; letter-spacing: -1px; }
}
