/* Solution-only image/text layouts. Content and links remain server rendered. */
.solution-editorial .section-inner { width: min(1180px, calc(100% - 40px)); }
.solution-editorial .page-hero {
  padding: 36px 0 64px;
  color: var(--ink);
  background: var(--soft);
}
.solution-editorial .breadcrumb { color: var(--muted); margin-bottom: 36px; }
.solution-editorial .breadcrumb a { color: var(--teal-strong); }
.solution-editorial .page-hero .eyebrow { color: var(--teal-strong); }
.solution-editorial .page-hero h1 {
  margin: 12px 0 24px;
  font-size: clamp(30px, 3.1vw, 46px);
  line-height: 1.22;
  letter-spacing: -.025em;
  overflow-wrap: anywhere;
}
.solution-editorial .page-hero p:not(.eyebrow) { color: var(--muted); font-size: 18px; line-height: 1.8; }
.solution-hero-row,
.solution-overview-row,
.solution-delivery-row,
.solution-editorial .solution-product-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 6vw, 88px);
}
.solution-copy { min-width: 0; }
.solution-editorial .solution-visual,
.solution-editorial .solution-product-card figure {
  display: grid;
  place-items: center;
  margin: 0;
  aspect-ratio: 5 / 4;
  overflow: hidden;
  border: 0;
  border-radius: 12px;
  background: #f1f5fa;
}
.solution-editorial .solution-visual img,
.solution-editorial .solution-product-card figure img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  padding: 24px;
  mix-blend-mode: multiply;
}
.solution-editorial .solution-visual-scene { aspect-ratio: 5 / 4; }
.solution-editorial :is(.solution-visual, .solution-product-card) img:is([src$="cairan-service-robot.jpg"], [src$="cairan-face-recognition-terminal.jpg"]) {
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  padding: 0;
}
.solution-editorial .solution-visual-scene img { object-fit: cover; object-position: 70% center; padding: 0; mix-blend-mode: normal; }
.solution-editorial .section { padding-block: 76px; }
.solution-editorial .section-heading { max-width: 780px; margin-bottom: 44px; }
.solution-editorial .section-heading h2 { font-size: clamp(28px, 3vw, 38px); }
.solution-editorial .solution-answer {
  max-width: none;
  padding: 0 0 28px;
  margin: 0 0 48px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: none;
  box-shadow: none;
}
.solution-editorial .solution-answer p { max-width: 940px; font-size: 18px; font-weight: 450; line-height: 1.8; }
.solution-editorial .solution-product-grid,
.solution-overview-rows { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
.solution-editorial .solution-product-card,
.solution-overview-row {
  padding-block: 48px;
  min-height: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}
.solution-editorial .solution-product-card:first-child,
.solution-overview-row:first-child { padding-top: 0; }
.solution-editorial .solution-product-card:last-child,
.solution-overview-row:last-child { padding-bottom: 0; }
.solution-editorial .solution-product-card + .solution-product-card,
.solution-overview-row + .solution-overview-row { border-top: 1px solid #e5edf5; }
.solution-editorial .solution-product-card:hover,
.solution-editorial .solution-product-card:focus-within { transform: none; box-shadow: none; }
.solution-editorial .solution-product-card:nth-child(even) figure,
.solution-overview-row:nth-child(even) figure { grid-column: 2; grid-row: 1; }
.solution-editorial .solution-product-card:nth-child(even) > div,
.solution-overview-row:nth-child(even) .solution-copy { grid-column: 1; grid-row: 1; }
.solution-editorial .solution-product-card > div { padding: 0; align-items: flex-start; }
.solution-editorial .solution-product-card h3,
.solution-overview-row h2,
.solution-delivery-row h2 { margin: 0 0 18px; font-size: clamp(25px, 2.6vw, 34px); line-height: 1.3; }
.solution-editorial .solution-product-card p,
.solution-overview-row p { margin: 0 0 24px; font-size: 18px; line-height: 1.85; color: var(--muted); }
.solution-editorial .solution-product-card .text-link,
.solution-overview-row .text-link { display: inline-flex; align-items: center; min-height: 44px; padding-block: 8px; }
.solution-editorial .text-link:focus-visible { outline: 3px solid var(--teal); outline-offset: 5px; }
.solution-delivery-row { margin-bottom: 48px; }
.solution-delivery-row .doc-card { padding: 0; border: 0; background: none; box-shadow: none; }
.solution-editorial .solution-project-section .doc-layout { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.solution-editorial .solution-project-section .doc-layout .doc-card { padding: 24px; background: var(--soft); border: 0; border-radius: 8px; box-shadow: none; }
.solution-editorial .solution-project-section .doc-layout h2 { margin-top: 0; font-size: 22px; line-height: 1.4; }
.solution-editorial .doc-card ul { padding-left: 20px; margin-bottom: 0; color: var(--muted); line-height: 1.85; }
.solution-editorial .doc-card li + li { margin-top: 12px; }
@media (max-width: 900px) {
  .solution-editorial .solution-project-section .doc-layout { grid-template-columns: 1fr; }
  .solution-hero-row, .solution-overview-row, .solution-delivery-row,
  .solution-editorial .solution-product-card { gap: 28px; }
}
@media (max-width: 680px) {
  .solution-editorial .page-hero { padding: 24px 0 40px; }
  .solution-editorial .breadcrumb { margin-bottom: 24px; }
  .solution-editorial .section { padding-block: 48px; }
  .solution-hero-row, .solution-overview-row, .solution-delivery-row,
  .solution-editorial .solution-product-card { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .solution-editorial .solution-product-card:nth-child(even) figure,
  .solution-editorial .solution-product-card:nth-child(even) > div,
  .solution-overview-row:nth-child(even) figure,
  .solution-overview-row:nth-child(even) .solution-copy { grid-column: auto; grid-row: auto; }
  .solution-editorial .solution-product-card, .solution-overview-row { padding-block: 36px; }
  .solution-editorial .solution-visual,
  .solution-editorial .solution-product-card figure { aspect-ratio: 4 / 3; }
  .solution-editorial .solution-answer { margin-bottom: 32px; }
}

/* Restaurant content leads with the operating benefit, followed by the product. */
.restaurant-solution .page-hero { padding-bottom: 56px; }
.restaurant-solution .page-hero h1 { font-size: clamp(32px, 3.7vw, 48px); }
.restaurant-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 24px; margin-top: 28px; }
.restaurant-actions .text-link { min-height: 44px; display: inline-flex; align-items: center; }
.restaurant-hero-media { margin: 0; min-width: 0; }
.restaurant-hero-media img { width: 100%; height: auto; border-radius: 12px; }
.retail-solution .restaurant-hero-media img { padding: 10px; border: 1px solid #e1e8ef; background: #edf3f8; box-shadow: 0 14px 36px rgba(7,19,38,.07); }
.restaurant-solution figcaption { margin-top: 12px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.restaurant-solution .restaurant-features { padding-block: 88px; }
.restaurant-solution .restaurant-features > .section-inner > .section-heading { max-width: 750px; margin: 0 auto 88px; text-align: center; }
.restaurant-feature-list { display: grid; gap: 112px; }
.restaurant-feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); align-items: center; gap: clamp(36px, 6vw, 84px); }
.restaurant-feature:nth-child(even) { grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); }
.restaurant-feature:nth-child(even) .restaurant-feature-copy { grid-column: 2; grid-row: 1; }
.restaurant-feature:nth-child(even) .restaurant-media { grid-column: 1; grid-row: 1; }
.restaurant-feature-copy { min-width: 0; }
.restaurant-feature-copy .eyebrow { margin: 0 0 12px; font-size: 12px; letter-spacing: .08em; }
.restaurant-feature-copy h2 { margin: 0 0 20px; font-size: clamp(27px, 2.8vw, 36px); line-height: 1.3; letter-spacing: -.025em; }
.restaurant-feature-copy > p:not(.eyebrow) { margin: 0 0 20px; color: var(--muted); font-size: 17px; line-height: 1.85; }
.restaurant-feature-copy ul { margin: 0; padding-left: 20px; color: var(--ink); font-size: 16px; line-height: 1.8; }
.restaurant-feature-copy li + li { margin-top: 12px; }
.restaurant-feature-copy li::marker { color: var(--teal); }
.restaurant-media { min-width: 0; margin: 0; }
.restaurant-screen > a { position: relative; display: block; padding: 10px; background: #edf3f8; border: 1px solid #e1e8ef; border-radius: 12px; box-shadow: 0 14px 36px rgba(7,19,38,.07); }
.restaurant-screen img { width: 100%; height: auto; border-radius: 5px; }
.restaurant-screen a:focus-visible { outline: 3px solid var(--teal); outline-offset: 5px; }
.restaurant-expand { position: absolute; display: grid; place-items: center; right: 16px; bottom: 16px; width: 32px; height: 32px; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 50%; }
.restaurant-device > img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; padding: 20px; border-radius: 12px; background: var(--soft); mix-blend-mode: multiply; }
.restaurant-system-map { padding: 34px; background: #edf5fc; border-radius: 12px; }
.restaurant-system-hub { display: flex; flex-direction: column; align-items: center; padding: 24px 16px; color: #fff; background: #0b2851; border-radius: 10px; text-align: center; }
.restaurant-system-icon { font-size: 30px; line-height: 1; color: #7cdaff; margin-bottom: 12px; }
.restaurant-system-hub strong { font-size: 26px; }
.restaurant-system-hub small { margin-top: 8px; color: #d3e5ff; font-size: 13px; }
.restaurant-system-nodes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding-top: 28px; }
.restaurant-system-nodes > div { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 20px 14px; min-width: 0; background: #fff; border: 1px solid #d3e1f1; border-radius: 8px; }
.restaurant-system-nodes > div::before { content: ''; position: absolute; left: 50%; top: -17px; height: 16px; width: 1px; background: #abc2df; }
.restaurant-system-nodes span { font-size: 12px; color: var(--teal-strong); }
.restaurant-system-nodes strong { font-size: 16px; overflow-wrap: anywhere; }
.restaurant-solution .restaurant-hardware { background: var(--soft); }
.restaurant-hardware-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.restaurant-solution .restaurant-hardware-grid .solution-product-card { display: flex; flex-direction: column; align-items: stretch; gap: 20px; padding: 0; border: 0; }
.restaurant-solution .restaurant-hardware-grid .solution-product-card figure { width: 100%; aspect-ratio: 4 / 3; background: #fff; }
.restaurant-solution .restaurant-hardware-grid .solution-product-card > div { padding: 0; }
.restaurant-solution .restaurant-hardware-grid .solution-product-card h3 { margin: 0 0 6px; font-size: 24px; }
.restaurant-solution .restaurant-hardware-grid .solution-product-card p { margin: 0 0 10px; font-size: 16px; }
.restaurant-scope { background: #edf5fc; }
.restaurant-scope .section-inner { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; gap: 72px; }
.restaurant-scope h2 { margin: 0 0 18px; font-size: clamp(28px, 3vw, 38px); line-height: 1.3; }
.restaurant-scope p:not(.eyebrow) { color: var(--muted); line-height: 1.85; }
.restaurant-scope .btn { margin-top: 14px; }
.restaurant-scope ul { padding: 0; margin: 0; list-style: none; }
.restaurant-scope li { padding-block: 18px; border-bottom: 1px solid #c9d9eb; line-height: 1.8; }
.restaurant-scope li:first-child { padding-top: 0; }
.restaurant-scope li:last-child { border: 0; padding-bottom: 0; }
@media (max-width: 900px) {
  .restaurant-feature-list { gap: 80px; }
  .restaurant-feature, .restaurant-feature:nth-child(even) { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
  .restaurant-feature-copy h2 { font-size: 28px; }
  .restaurant-system-map { padding: 20px; }
  .restaurant-system-nodes { gap: 12px; }
  .restaurant-scope .section-inner { gap: 36px; }
}
@media (max-width: 700px) {
  .restaurant-solution .solution-hero-row,
  .restaurant-feature, .restaurant-feature:nth-child(even),
  .restaurant-scope .section-inner { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .restaurant-feature:nth-child(even) .restaurant-feature-copy,
  .restaurant-feature:nth-child(even) .restaurant-media { grid-column: auto; grid-row: auto; }
  .restaurant-solution .restaurant-features { padding-block: 56px; }
  .restaurant-solution .restaurant-features > .section-inner > .section-heading { text-align: left; margin-bottom: 56px; }
  .restaurant-feature-list { gap: 64px; }
  .restaurant-feature-copy > p:not(.eyebrow) { font-size: 16px; }
  .restaurant-hardware-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .restaurant-hero-media { max-width: 460px; margin-inline: auto; }
}

/* User-supplied restaurant scenes keep the full device and service context visible. */
.restaurant-scene img { display:block; width:100%; height:auto; border-radius:12px; }

/* Retail lifestyle photography uses the same unframed presentation as restaurant scenes. */
.retail-solution .restaurant-hero-media img { padding:0; border:0; background:transparent; box-shadow:none; }
