/* Yalla2x v5: the pages live has that the local site did not (owner, 2026-10-31), on the local tokens: Case studies,
   Resources, Partners, Book a demo, the case-study and demonstration articles. Words and links are live's. */

/* ---- section labels and card labels, in the site's label style ---- */
.cs-index__h, .prt-k, .prt-sub { margin: 0 0 18px; font: 600 var(--t-kicker)/1.3 var(--font); letter-spacing: 0.07em; text-transform: uppercase; color: var(--ink); }
.cs-index__h:not(:first-child), .prt-sub:not(.prt-sub--first) { margin-top: clamp(40px, 5vw, 64px); }
.res-card .res-tag, .prt-card .prt-tag { font: 600 var(--t-kicker)/1.3 var(--font); letter-spacing: 0.07em; text-transform: uppercase; color: var(--ink-num); }

/* ---- cards: the design's panel grey and corners, no hover lift ---- */
.cs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 16px; }
.res-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1023px) {
  .res-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .res-grid { grid-template-columns: minmax(0, 1fr); }
}
.prt-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.prt-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cs-card, .res-card, .prt-card { display: flex; flex-direction: column; gap: 10px; padding: clamp(24px, 2.4vw, 36px); background: var(--panel); border-radius: var(--r-lg); color: var(--ink); text-decoration: none; }
a.cs-card, a.res-card { transition: background-color 0.25s var(--ease); }
a.cs-card:hover, a.res-card:hover { background: var(--line); }
.cs-card img { align-self: flex-start; max-width: 170px; height: auto; padding: 12px 16px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-md); }
.cs-card h3, .res-card h3, .prt-card h3 { margin: 0; font-family: var(--font-head); font-weight: 700; font-size: var(--t-h5); line-height: 1.2; color: var(--ink); }
.cs-card p, .res-card p, .prt-card p { margin: 0; font-size: var(--t-body); line-height: 1.6; color: var(--ink-2); }
.cs-card .cs-card__sector { font-size: var(--t-small); color: var(--ink-num); }
.cs-card__go, .res-go { margin-top: auto; padding-top: 6px; font-weight: 600; font-size: var(--t-small); color: var(--gold-ink); }

/* ---- Partners ---- */
.prt-h { margin: 0 0 14px; font-family: var(--font-head); font-weight: 700; font-size: var(--t-h2); line-height: 1.05; letter-spacing: -0.04em; color: var(--ink); }
.prt-lead { max-width: 62ch; margin: 0 0 clamp(32px, 4vw, 48px); font-size: var(--t-lead); line-height: 1.6; color: var(--ink-2); }
.prt-logo { display: flex; align-items: center; justify-content: center; height: 84px; margin-bottom: 6px; padding: 12px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-md); }
.prt-logo img { display: block; width: auto; max-width: 85%; max-height: 56px; }
.prt-card .prt-links { margin-top: auto; padding-top: 6px; font-size: var(--t-small); }
.prt-links a { font-weight: 600; color: var(--gold-ink); text-decoration: none; }
.prt-links a:hover { text-decoration: underline; }
@media (max-width: 1023px) {
  .prt-grid, .prt-grid--2 { grid-template-columns: minmax(0, 1fr); }
}

/* ---- Book a demo: the local form look on white ---- */
.ih__alt { margin-top: 16px; font-size: var(--t-small); color: var(--ink-2); }
.ih__alt a { font-weight: 600; color: var(--gold-ink); text-decoration: none; }
.ih__alt a:hover { text-decoration: underline; }

/* ---- case studies and demonstrations, on the article template ---- */
.case__logo { display: inline-block; margin: 18px 0 20px; padding: 14px 20px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-md); }
.case__logo img { display: block; max-width: 230px; height: auto; }
.art__inner > .case__lead { margin-top: 14px; font-size: var(--t-lead); line-height: 1.6; color: var(--ink-2); }
.art__inner > .case__meta { margin-top: 12px; font-size: var(--t-small); line-height: 1.6; color: var(--ink-num); }
.case__meta a { font-weight: 600; color: var(--gold-ink); text-decoration: none; }
.case__meta a:hover { text-decoration: underline; }
.case__demo-tag { display: inline-block; margin-top: 12px; padding: 6px 12px; border: 1px solid var(--line-3); border-radius: 999px; font: 600 var(--t-cap)/1.3 var(--font); letter-spacing: 0.07em; text-transform: uppercase; color: var(--ink-num); }
.art__inner > .cs-quote { margin-top: clamp(32px, 4vw, 48px); }
.case__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 24px; padding: clamp(24px, 2.4vw, 36px); background: var(--panel); border-radius: var(--r-lg); }
.case__cta > h2, .case__cta > p { flex: 0 0 100%; }
.case__cta h2 { font-family: var(--font-head); font-weight: 700; font-size: var(--t-h4); line-height: 1.2; letter-spacing: -0.02em; color: var(--ink); }
.case__cta p { margin: 0 0 10px; font-size: var(--t-lead); line-height: 1.6; color: var(--ink-2); }
.case__cta .btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 999px; font: 600 var(--t-body)/1 var(--font); text-decoration: none; }
.case__cta .btn--gold { border: 0; background: var(--gold); color: var(--ink); }
.case__cta .btn--gold:hover { background: var(--gold-deep); }
.case__cta .btn:not(.btn--gold) { border: 1px solid var(--line-3); background: var(--bg); color: var(--ink); }
.case__cta .btn:not(.btn--gold):hover { border-color: var(--ink); }
