/* bids.css: the government pages of the 30 Oct 2026 pass (bid teams, bid desk,
   consultancies, tender intelligence, the market pages, the deadline calculator).
   Studio tokens from assets/studio.css; logical properties throughout, so every
   block reads right to left on Arabic pages. Loaded with page.css: ["bids"]. */

/* ---------- Section heads and step titles ---------- */
.ie-page .bids-head{max-width:780px;margin:0 auto 30px;text-align:center}
.ie-page .bids-head .section-sub{margin-top:10px}
.ie-page .bids-h{font-family:var(--font-display);font-size:clamp(24px,2.5vw,33px);font-weight:450;line-height:1.22;letter-spacing:-.04em;max-width:15em;margin:6px 0 14px;color:var(--ink,#0b1440)}
.ie-page .bids-h em{font-style:normal;color:var(--brand-a,#087eae)}
[dir=rtl] .ie-page .bids-h{letter-spacing:0;line-height:1.5}
.ie-page .bids-copy p{font-size:15px;line-height:1.85;color:var(--muted,#5c6780);margin:0 0 14px}
.ie-page .bids-copy p:last-child{margin-bottom:0}
.ie-page .bids-copy a{font-weight:600}
.ie-page .bids-small{font-size:13px!important;line-height:1.65!important;color:#66738b!important}

/* ---------- Two short steps side by side (Today, Triage) ---------- */
.ie-page .bids-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:0 0 18px}
.ie-page .bids-card{min-width:0;padding:26px 26px 24px;border:1px solid var(--line,#e0e7f0);border-radius:20px;background:#fff;box-shadow:var(--shadow-card,0 14px 34px -20px #203c7133)}
.ie-page .bids-card .bids-h{font-size:clamp(21px,2vw,26px);margin-top:4px}
.ie-page .bids-card p{font-size:14.5px;line-height:1.8;color:var(--muted,#5c6780);margin:0}
.ie-page .bids-card ul{list-style:none;margin:14px 0 0;padding:0;display:grid;gap:8px}
.ie-page .bids-card li{position:relative;padding-inline-start:22px;font-size:14px;line-height:1.6;color:#33415f}
.ie-page .bids-card li::before{content:"";position:absolute;inset-inline-start:2px;top:.55em;width:8px;height:8px;border-radius:50%;background:linear-gradient(115deg,#0875a4,#087f8d)}
.ie-page .bids-num{display:inline-block;font-family:var(--font-display);font-size:12px;font-weight:650;letter-spacing:.12em;color:var(--brand-deep,#08688c)}
[dir=rtl] .ie-page .bids-num{letter-spacing:0}

/* ---------- A step: copy beside a visual ---------- */
.ie-page .bids-split{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:clamp(28px,5vw,64px);align-items:center;padding:34px 0}
.ie-page .bids-split+.bids-split{border-top:1px solid var(--line-soft,#edf1f7)}
.ie-page .bids-split.is-flip>.bids-copy{order:2}
.ie-page .bids-visual{min-width:0}
.ie-page .bids-visual>.reveal,.ie-page .bids-visual .demo{max-width:100%}

/* ---------- Art behind an example panel ---------- */
/* the whole hourglass (3:2) sits above the card: the padding is the art's height */
.ie-page .bids-stage{position:relative;padding-top:calc(min(42%,260px) * 2 / 3 + 6px)}
.ie-page .bids-stage-art{position:absolute;top:0;inset-inline-end:0;width:min(42%,260px);border-radius:18px;background:#f8fbff;overflow:hidden;pointer-events:none}
.ie-page .bids-stage-art img{display:block;width:100%;height:auto;mix-blend-mode:multiply}
.ie-page .bids-stage>.ex-panel{position:relative;z-index:1}

/* ---------- Art in a porcelain panel ---------- */
.ie-page .bids-art{margin:0;border-radius:22px;background:#f8fbff;border:1px solid var(--line-soft,#edf1f7);overflow:hidden}
.ie-page .bids-art img{display:block;width:100%;height:auto;mix-blend-mode:multiply}

/* ---------- Market links under a coverage table ---------- */
.ie-page .bids-markets{display:flex;flex-wrap:wrap;align-items:center;gap:8px 10px;margin:18px 0 0;padding:0}
.ie-page .bids-markets a{display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:6px 14px 6px 8px;border:1px solid #dce8f1;border-radius:999px;background:#f3f8fc;color:var(--ink-2,#273353);font-size:14px;font-weight:550;text-decoration:none}
[dir=rtl] .ie-page .bids-markets a{padding:6px 8px 6px 14px}
.ie-page .bids-markets a:hover{border-color:#b9d6ea;background:#fff}
.ie-page .bids-markets .flag{width:22px;height:22px;border-radius:50%;box-shadow:0 0 0 1px #0b144014}
.ie-page .bids-markets .bids-tag{font-size:11.5px;font-weight:600;color:#7a6a45}
.ie-page .bids-markets-k{font-size:13px;font-weight:600;color:#4a5872;margin-inline-end:4px}

/* ---------- What Ishara does not do ---------- */
.ie-page .bids-honest{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:clamp(24px,4vw,48px);align-items:center;padding:clamp(22px,3vw,34px);border:1px solid #dce8f1;border-radius:24px;background:linear-gradient(180deg,#f7fbfe,#fff 70%)}
.ie-page .bids-honest .bids-h{margin-top:0}
.ie-page .bids-honest .section-kicker,.ie-page .bids-honest .bids-h{text-align:start;margin-inline:0}
.ie-page .bids-not{list-style:none;margin:18px 0 0;padding:0;display:grid;gap:14px}
.ie-page .bids-not li{display:grid;grid-template-columns:34px minmax(0,1fr);gap:12px;align-items:start}
.ie-page .bids-not-ico{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:12px;background:#fff;border:1px solid #dce8f1;color:var(--accent,#0875a4)}
.ie-page .bids-not-ico svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.ie-page .bids-not b{display:block;font-family:var(--font-display);font-size:16px;font-weight:600;letter-spacing:-.02em;color:var(--ink,#0b1440);line-height:1.35}
[dir=rtl] .ie-page .bids-not b{letter-spacing:0}
.ie-page .bids-not p{margin:3px 0 0;font-size:14px;line-height:1.7;color:var(--muted,#5c6780)}

/* ---------- Plan panel spacing on these pages ---------- */
.ie-page .bids-plan{margin-top:6px}
.ie-page .bids-plan .plan-panel p+p{margin-top:6px}

/* ---------- The deadline calculator ---------- */
.ie-page .dl-calc{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:22px;align-items:start}
.ie-page .dl-form,.ie-page .dl-out{min-width:0;padding:24px;border:1px solid var(--line,#e0e7f0);border-radius:20px;background:#fff;box-shadow:var(--shadow-card,0 14px 34px -20px #203c7133)}
.ie-page .dl-field{display:grid;gap:6px;margin:0 0 16px}
.ie-page .dl-field label,.ie-page .dl-field legend{font-size:13px;font-weight:650;color:#33415f}
.ie-page .dl-field select,.ie-page .dl-field input{width:100%;min-height:44px;padding:8px 12px;border:1px solid #cfdae7;border-radius:12px;background:#fff;color:var(--ink,#0b1440);font:inherit;font-size:15px}
.ie-page .dl-field small{font-size:12.5px;color:#66738b;line-height:1.5}
.ie-page .dl-big{display:block;font-family:var(--font-display);font-size:clamp(40px,6vw,64px);font-weight:600;letter-spacing:-.05em;line-height:1;color:var(--ink,#0b1440)}
.ie-page .dl-big-unit{font-size:16px;font-weight:550;color:var(--muted,#5c6780);letter-spacing:0}
.ie-page .dl-out p{margin:10px 0 0;font-size:14.5px;line-height:1.7;color:var(--muted,#5c6780)}
.ie-page .dl-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;margin:16px 0 0;padding:0;list-style:none}
.ie-page .dl-days li{display:flex;flex-direction:column;align-items:center;gap:2px;padding:8px 2px;border-radius:10px;background:#f3f8fc;font-size:11.5px;color:#33415f;text-align:center}
.ie-page .dl-days li.is-off{background:#fff;border:1px dashed #d6dfea;color:#8692a8}
.ie-page .dl-days li.is-due{background:linear-gradient(115deg,#0875a4,#087f8d);color:#fff}
.ie-page .dl-days b{font-size:14px;font-weight:650}
.ie-page .dl-cta{margin-top:18px;padding-top:16px;border-top:1px solid var(--line-soft,#edf1f7)}

/* ---------- Narrow screens ---------- */
@media (max-width:900px){
  .ie-page .bids-split,.ie-page .bids-honest,.ie-page .dl-calc{grid-template-columns:minmax(0,1fr)}
  .ie-page .bids-split.is-flip>.bids-copy{order:0}
  .ie-page .bids-honest .bids-art{max-width:420px}
}
@media (max-width:700px){
  .ie-page .bids-pair{grid-template-columns:minmax(0,1fr)}
  .ie-page .bids-card{padding:20px 18px}
  .ie-page .bids-split{padding:26px 0}
  .ie-page .bids-stage{padding-top:calc(56% * 2 / 3 + 6px)}
  .ie-page .bids-stage-art{width:56%}
  .ie-page .dl-form,.ie-page .dl-out{padding:18px}
  .ie-page .dl-days{gap:4px}
  .ie-page .dl-days li{font-size:10.5px;padding:6px 1px}
}
