/* Solutions directory, shared by homepages and inner pages. */
html .mega.mega--solutions {
  background: #e5e7e6;
  backdrop-filter: none;
  max-height: calc(100dvh - 120px);
  overflow-y: auto;
  border: 0;
}
html .mega--solutions .mega-inner {
  max-width: 1600px;
  grid-template-columns: 1.05fr 1.15fr 1.5fr 1.5fr;
  gap: 36px;
  padding: 40px var(--pad) 44px;
  text-align: start;
}
html .mega--solutions .mega-col { min-width: 0; }
html .mega--solutions .mega-col h4 {
  margin: 0 0 24px;
  color: #2d302e;
  font-size: 22px;
  overflow-wrap: anywhere;
  hyphens: auto;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0;
  text-transform: none;
}
html .mega--solutions .mega-col li + li { margin-top: 7px; }
html .mega--solutions .mega-col a {
  display: block;
  padding: 7px 0;
  border: 0;
  color: #454b47;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0;
  text-transform: none;
  overflow-wrap: break-word;
  transition: color .2s;
}
html .mega--solutions .mega-col a:hover,
html .mega--solutions .mega-col a:focus-visible,
html .drawer-solutions a:hover,
html .drawer-solutions a:focus-visible { color: #2b8f3f; }
html .mega--solutions a:focus-visible,
html .drawer-solutions a:focus-visible,
html .drawer-solutions summary:focus-visible { outline: 2px solid #2b8f3f; outline-offset: 3px; }
.solution-materials { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
html .drawer-solutions { border-bottom: 1px solid var(--line); }
html .drawer-solutions > summary { padding: 16px 0; font-size: 18px; font-weight: 500; cursor: pointer; }
html .drawer-solutions[open] > summary { color: #2b8f3f; }
html .drawer-solutions .solution-directory { display: grid; gap: 24px; padding: 14px 0 24px; }
html .drawer-solutions h4 { color: #2d302e; margin: 0 0 10px; font-size: 17px; letter-spacing: 0; text-transform: none; }
html .drawer-solutions nav a,
html .drawer nav .drawer-solutions a { color: #454b47; border: 0; padding: 9px 0; font-size: 15px; line-height: 1.6; overflow-wrap: break-word; }
html .drawer nav .drawer-solutions a:hover,
html .drawer nav .drawer-solutions a:focus-visible { color: #2b8f3f; }
html[lang="ar"] .mega--solutions,
html[lang="ar"] .drawer-solutions,
html[lang="ar"] .project-cases { direction: rtl; }
.project-cases .project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
.project-case { min-width: 0; scroll-margin-top: 120px; border: 1px solid #dce3de; background: #fff; }
.project-case:target { outline: 2px solid #2b8f3f; outline-offset: 4px; }
.project-case > img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.project-case-body { padding: 28px; }
.project-case .case-location { color: #2b8f3f; font-size: 14px; margin: 0 0 12px; }
.project-case h2 { color: #26372c; font-size: clamp(22px, 2vw, 28px); line-height: 1.4; margin: 0 0 16px; }
.project-case p { color: #55655d; line-height: 1.8; margin: 0 0 20px; }
.project-case .case-related { color: #2b8f3f; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.project-case .case-related:focus-visible { outline: 2px solid #2b8f3f; outline-offset: 4px; }
.case-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 24px 0; }
.case-gallery figure { margin: 0; }
.case-gallery img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.case-gallery figcaption { color: #55655d; font-size: 13px; line-height: 1.5; margin-top: 8px; }
@media (max-width: 1380px) {
  html .mega--solutions .mega-inner { gap: 24px; padding-top: 32px; padding-bottom: 32px; }
  html .mega--solutions .mega-col h4 { font-size: 19px; }
  html .mega--solutions .mega-col a { font-size: 14px; }
  .solution-materials { gap: 16px; }
}
@media (max-width: 767px) {
  .project-cases .project-grid { grid-template-columns: 1fr; gap: 28px; }
  .project-case-body { padding: 22px; }
  .project-case { scroll-margin-top: 96px; }
}
