/*
 * izolmak.com.mk solution pages (/reshenija and its categories): a hero, then each solution with its examples.
 * Board: https://claude.ai/artifact/DhZs2ENzHo4nigqkQjQ7vL. The file name changes with its content: CSS is cached 30 days.
 */
.sp { --sp-blue: #1B3679; --sp-ground: #072378; --sp-yellow: #FDB813; --sp-gold: #8a5d00; display: block; background: #ffffff; color: #1f2937; }
.sp-wrap { max-width: 1152px; margin: 0 auto; padding: 0 24px; box-sizing: border-box; }
.sp a:focus-visible { outline: 3px solid var(--sp-yellow); outline-offset: 3px; }
.sp h1, .sp h2, .sp h3 { text-transform: none; }

/* buttons */
.sp-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.sp-btn, .sp-btn2 { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px;
  border-radius: 4px; font-size: 15px; text-decoration: none; box-sizing: border-box; }
.sp-btn { background: var(--sp-yellow); color: var(--sp-blue); font-weight: 700; }
.sp-btn:hover { background: #ffc93d; color: var(--sp-blue); }
.sp-btn2 { border: 1px solid rgba(255, 255, 255, .55); color: #ffffff; font-weight: 500; }
.sp-btn2:hover { border-color: #ffffff; background: rgba(255, 255, 255, .08); color: #ffffff; }

/* hero */
.sp-hero { position: relative; overflow: hidden; background: var(--sp-ground); color: #ffffff; }
.sp-hero-shape { position: absolute; inset: 0; background: var(--sp-blue); clip-path: polygon(62% 0, 100% 0, 100% 100%, 50% 100%); }
.sp-hero-shape::before { content: ""; position: absolute; inset: 0; background: var(--sp-yellow); clip-path: polygon(60.6% 0, 62% 0, 50% 100%, 48.6% 100%); }
.sp-hero .sp-wrap { position: relative; padding-top: 24px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 32px; }
.sp-crumbs { font-size: 14px; color: #c9d3ee; }
.sp-crumbs a { color: #ffffff; text-decoration: none; }
.sp-crumbs a:hover { text-decoration: underline; }
.sp-crumbs > span[aria-hidden] { color: var(--sp-yellow); margin: 0 4px; }
.sp-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.sp-hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.sp-eyebrow { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--sp-yellow); }
.sp .sp-hero h1 { margin: 0; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.12; font-weight: 700; color: #ffffff; }
.sp-lead { margin: 0; max-width: 520px; font-size: 18px; line-height: 1.6; color: #dfe5f5; }
.sp-y { color: var(--sp-yellow); }
.sp-hero-pic { display: block; width: 100%; height: 320px; object-fit: cover; border: 6px solid #ffffff; border-radius: 10px; box-sizing: border-box;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .35); background: #ffffff; }
.sp-hero-pic--contain { object-fit: contain; }
.sp-jumps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.sp-jump { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 12px 14px; border-radius: 8px; color: #ffffff; text-decoration: none;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); }
.sp-jump:hover { background: rgba(255, 255, 255, .16); color: #ffffff; }
.sp-jump img { width: 32px; height: 32px; object-fit: contain; flex-shrink: 0; background: #ffffff; border-radius: 6px; padding: 4px; box-sizing: border-box; }
.sp-jump > span { display: flex; flex-direction: column; }
.sp-jump strong { font-size: 15px; }
.sp-jump > span > span { font-size: 13px; color: #c9d3ee; }

/* a solution and its examples */
.sp-sec { padding: 72px 0; scroll-margin-top: 16px; }
.sp-sec--tint { background: #F0F2FA; }
.sp-sec .sp-wrap { display: flex; flex-direction: column; gap: 32px; }
.sp-sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: end; }
.sp-sec-head--one { grid-template-columns: minmax(0, 760px); }
.sp-num { margin: 0 0 10px; font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--sp-gold); }
.sp .sp-sec h2 { margin: 0 0 12px; font-size: clamp(26px, 3vw, 34px); line-height: 1.2; color: var(--sp-blue); }
.sp-text { margin: 0; font-size: 17px; line-height: 1.6; color: #374151; }
.sp-sec-side { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.sp-side-h { margin: 0; font-size: 13px; font-weight: 700; color: #374151; }
.sp-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.sp-tag { display: inline-flex; align-items: center; min-height: 26px; padding: 0 10px; border-radius: 13px; background: #e8ecf7; color: var(--sp-blue);
  font-size: 12px; font-weight: 700; }
.sp-tag--y { background: #fff1c9; color: #6b4800; }
.sp-more { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; color: var(--sp-blue); text-decoration: none; }
.sp-more:hover { color: #0f2150; text-decoration: underline; }

.sp-cards { display: grid; gap: 24px; }
.sp-cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sp-cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.sp-ex { display: flex; flex-direction: column; overflow: hidden; border-radius: 10px; background: #ffffff; color: inherit; text-decoration: none;
  box-shadow: 0 2px 12px rgba(27, 54, 121, .08); transition: box-shadow .2s ease, transform .2s ease; }
.sp-ex:hover { box-shadow: 0 8px 24px rgba(27, 54, 121, .16); transform: translateY(-2px); }
.sp-ex-media { display: block; height: 190px; background: #ffffff; }
.sp-ex-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sp-ex-media--contain img { object-fit: contain; padding: 8px; box-sizing: border-box; }
.sp-ex-body { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 18px 20px 20px; }
.sp-ex-name { font-size: 20px; font-weight: 700; line-height: 1.25; color: var(--sp-blue); }
.sp-ex-text { font-size: 15px; line-height: 1.5; color: #374151; }
.sp-ex .sp-tags { gap: 6px; margin-top: auto; }
.sp-ex-go { font-size: 14px; font-weight: 700; color: var(--sp-blue); }
.sp-ex:hover .sp-ex-go { text-decoration: underline; }

/* a category page: each solution as a row with its full text */
.sp-rows { display: flex; flex-direction: column; gap: 28px; }
.sp-row { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 32px; align-items: center; padding: 24px; border-radius: 12px;
  background: #ffffff; box-shadow: 0 2px 12px rgba(27, 54, 121, .08); }
.sp-row-media { display: block; height: 280px; border-radius: 8px; overflow: hidden; background: #ffffff; }
.sp-row-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sp-row-media--contain img { object-fit: contain; }
.sp-row-body { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.sp .sp-row h3 { margin: 0; font-size: 24px; line-height: 1.25; color: var(--sp-blue); }
.sp-row h3 a { color: inherit; text-decoration: none; }
.sp-row h3 a:hover { text-decoration: underline; }
.sp-row p { margin: 0; font-size: 16px; line-height: 1.65; color: #374151; }

/* interior walls */
.sp-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.sp-panel { display: flex; flex-direction: column; gap: 14px; padding: 24px; border-radius: 10px; background: #ffffff; box-shadow: 0 2px 12px rgba(27, 54, 121, .08); }
.sp .sp-panel h3 { margin: 0; font-size: 20px; color: var(--sp-blue); }
.sp-when { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; font-size: 15px; line-height: 1.5; }
.sp-when li { display: flex; gap: 10px; }
.sp-when svg { flex-shrink: 0; margin-top: 2px; color: var(--sp-blue); }
.sp-layers { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; }
.sp-layer { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 6px; font-size: 15px; }
.sp-layer--render { background: #e5e7eb; color: #1f2937; }
.sp-layer--wall { background: #d6b49a; color: #3b2414; }
.sp-layer--xps { background: #7fd3c8; color: #073b36; }
.sp-layer--plaster { background: #f3f4f6; color: #1f2937; }
.sp-note { margin: 0; font-size: 14px; line-height: 1.55; color: #4b5563; }

/* support band */
.sp-band { position: relative; overflow: hidden; background: var(--sp-ground); color: #ffffff; padding: 56px 0; }
.sp-band-shape { position: absolute; inset: 0; background: var(--sp-blue); clip-path: polygon(64% 0, 100% 0, 100% 100%, 56% 100%); }
.sp-band-shape::before { content: ""; position: absolute; inset: 0; background: var(--sp-yellow); clip-path: polygon(63% 0, 64% 0, 56% 100%, 55% 100%); }
.sp-band .sp-wrap { position: relative; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px; }
.sp .sp-band h2 { margin: 0 0 10px; font-size: clamp(24px, 2.6vw, 30px); line-height: 1.25; color: #ffffff; }
.sp-band p { margin: 0; max-width: 600px; font-size: 17px; line-height: 1.6; color: #dfe5f5; }

@media (max-width: 900px) {
  .sp-hero-grid, .sp-sec-head, .sp-split, .sp-row { grid-template-columns: minmax(0, 1fr); }
  .sp-hero-shape { clip-path: polygon(78% 0, 100% 0, 100% 100%, 70% 100%); }
  .sp-hero-shape::before { clip-path: polygon(76.6% 0, 78% 0, 70% 100%, 68.6% 100%); }
  .sp-hero-pic { height: 260px; }
  .sp-jumps, .sp-cards--3, .sp-cards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sp-sec { padding: 56px 0; }
  .sp-row-media { height: 240px; }
}
@media (max-width: 560px) {
  .sp-wrap { padding: 0 16px; }
  .sp-hero-shape, .sp-band-shape { display: none; }
  .sp-hero-pic { height: 210px; }
  .sp-cards--3, .sp-cards--4 { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .sp-ctas { width: 100%; flex-direction: column; }
  .sp-ctas a { width: 100%; }
  .sp-row { padding: 16px; gap: 18px; }
  .sp-row-media { height: 210px; }
}
@media (prefers-reduced-motion: reduce) { .sp-ex { transition: none; } }

/* category pages: the hero's product tags and its jump links (one per solution, no icons) */
.sp-tags--hero .sp-tag { background: rgba(255, 255, 255, .14); color: #ffffff; }
.sp-jumps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sp-jump:not(:has(img)) { justify-content: center; text-align: center; }
.sp-sec > .sp-wrap > h2 { margin: 0; }
@media (max-width: 900px) { .sp-jumps--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
