/* OZARIAM — site additions on top of the V3 design system (css/ozariam.css stays as delivered)
   · language button that i18n.js puts in .header-actions
   · "Websites" strip + system links at the end of Solutions (internal links to every /web page)
   · footer links that wrap on small screens */

/* ------------------------------------------------------------------ language toggle (EN / TH) */
.lang-toggle {
  display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px;
  border: 1px solid var(--line-strong); border-radius: 100px;
  font: 400 12px/1 var(--en); letter-spacing: .16em; color: var(--ivory);
  transition: border-color .25s, color .25s;
}
.lang-toggle:hover { border-color: var(--cyan); color: var(--cyan); }

/* ------------------------------------------------------------------ websites strip + system links */
.site-links { margin-top: 72px; padding-top: 40px; border-top: 1px solid var(--line); }
.web-promo {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px;
  padding: 28px 32px; border: 1px solid var(--line-strong); border-radius: 20px;
  background: rgba(0, 0, 0, .16); color: var(--ivory);
  transition: background-color .25s, border-color .25s, transform .25s var(--ease);
}
.web-promo:hover { background: rgba(0, 0, 0, .26); border-color: var(--cyan); transform: translateY(-2px); }
.wp-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--line-strong); }
.wp-copy { display: grid; gap: 6px; min-width: 0; }
.wp-kicker { font: 400 13px/20px var(--th); letter-spacing: .06em; color: rgba(255, 250, 243, .78); }   /* Thai inside: no wide tracking */
.wp-title { font: 400 clamp(20px, 2vw, 26px)/1.4 var(--th); }
.wp-desc { color: rgba(255, 250, 243, .86); }
.wp-note { font-size: 13px; line-height: 22px; color: rgba(255, 250, 243, .7); }
.wp-go { justify-self: start; display: inline-flex; align-items: center; gap: 12px; font: 400 15px/1.2 var(--th); white-space: nowrap; border-bottom: 1px solid currentColor; padding-bottom: 6px; }
.wp-go .icon { width: 18px; height: 18px; }

.sys-links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 28px; }
.sys-links .sl-h { flex-basis: 100%; margin-bottom: 4px; font: 400 14px/22px var(--th); color: rgba(255, 250, 243, .78); }
.sys-links a {
  padding: 8px 16px; border: 1px solid var(--line-strong); border-radius: 100px;
  font-size: 14px; line-height: 22px; color: var(--ivory);
  transition: background-color .25s, border-color .25s, color .25s;
}
.sys-links a:hover { background: var(--ivory); border-color: var(--ivory); color: var(--blue); }

/* ------------------------------------------------------------------ work cards: our covers are 16:9 screenshots with titles — show them whole */
.wk-tile.is-img { aspect-ratio: 16 / 9; }

/* ------------------------------------------------------------------ client logos: real colour logos on ivory tiles
   (the V3 strip whitens logos with a filter, which turns logos on a solid background into white boxes) */
.client-item.is-mark img {
  height: 60px; width: 150px; max-width: none; object-fit: contain;
  padding: 6px 10px; border-radius: 12px; background: var(--ivory);
  filter: none; opacity: .92;
}
.client-item.is-mark:hover img { opacity: 1; }
.client-item.is-mark { padding-right: 20px; }

/* ------------------------------------------------------------------ footer: more links than the original layout */
.footer-bottom a { color: var(--dim); text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom a[href="#top"] { text-decoration: none; }

@media (max-width: 760px) {
  .site-links { margin-top: 48px; padding-top: 28px; }
  .web-promo { grid-template-columns: 1fr; gap: 16px; padding: 22px 20px; }
  .wp-icon { width: 48px; height: 48px; }
  .sys-links a { font-size: 13px; padding: 7px 14px; }
  .header-actions .lang-toggle { min-width: 40px; height: 40px; padding: 0 10px; }
  .client-item.is-mark img { height: 48px; width: 120px; }
  .client-item.is-mark { padding-right: 12px; }
}
