/* CIP Companies — public directory + profile (layouts A and B). CIP identity tokens; logical properties keep RTL correct. */
.cipx {
	--navy: #031d44; --navy2: #1d335a; --blue: #1f78bd; --strong: #0062a0; --sky: #6cb6ff;
	--ink: #031d44; --text: #44474e; --muted: #6b6e77; --line: #c4c6cf; --line2: #e4e6ec;
	--surface: #fff; --surface2: #f2f4f9; --tint: #e6f0fa;
	--shadow: 0 1px 2px rgba(3, 29, 68, .06), 0 6px 20px rgba(3, 29, 68, .08);
	--fd: var(--e-global-typography-primary-font-family, 'Archivo'), 'Segoe UI', Arial, sans-serif;
	color: var(--text); line-height: 1.6; font-size: 16px;
}
.cipx *, .cipx *::before, .cipx *::after { box-sizing: border-box; }
.cipx a { color: inherit; text-decoration: none; }
.cipx h1, .cipx h2, .cipx h3, .cipx h4 { font-family: var(--fd); color: var(--ink); margin: 0; line-height: 1.15; text-wrap: balance; }
.cipx :focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.cipx-in { max-width: 1200px; margin-inline: auto; padding-inline: 20px; }
body:has(.cipx-bleed) { overflow-x: clip; }
.cipx-bleed { width: 100vw; margin-inline: calc(50% - 50vw); }
.cipx-ic { flex: none; }
.cipx-clamp2, .cipx-clamp3 { display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
.cipx-clamp2 { -webkit-line-clamp: 2; } .cipx-clamp3 { -webkit-line-clamp: 3; }

/* shared bits */
.cipx-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 20px; border-radius: 6px; border: 1px solid var(--strong); background: var(--strong); color: #fff !important; font: 600 13.5px/1 var(--fd); letter-spacing: .06em; text-transform: uppercase; cursor: pointer; white-space: nowrap; }
.cipx-btn:hover { background: var(--navy); border-color: var(--navy); }
.cipx-btn--ghost { background: var(--surface); color: var(--ink) !important; border-color: var(--line); }
.cipx-btn--ghost:hover { background: var(--surface); border-color: var(--blue); color: var(--blue) !important; }
.cipx-btn--light { background: #fff; color: var(--navy) !important; border-color: #fff; }
.cipx-btn--light:hover { background: var(--tint); border-color: var(--tint); }
.cipx-btn--block { width: 100%; }
.cipx-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.cipx-chip { display: inline-block; font: 600 11.5px/1 var(--fd); letter-spacing: .06em; text-transform: uppercase; padding: 6px 10px; border-radius: 4px; background: var(--tint); color: var(--strong); }
.cipx-chip--line { background: transparent; border: 1px solid var(--line); color: var(--muted); }
.cipx-meta { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; }
.cipx-meta .cipx-ic { color: var(--blue); margin-block-start: 4px; }
.cipx-meta a:hover { color: var(--blue); }
.cipx-logo { display: block; overflow: hidden; background: #fff; }
.cipx-logo img { width: 100%; height: 100%; object-fit: contain; display: block; }
.cipx-logo--ini { display: grid; place-items: center; background: var(--c, var(--navy2)); color: #fff; font: 700 20px/1 var(--fd); letter-spacing: .04em; }
.cipx-logo--m { width: 60px; height: 60px; border-radius: 10px; border: 3px solid var(--surface); }
.cipx-logo--l { width: 100px; height: 100px; border-radius: 50%; box-shadow: 0 0 0 6px var(--surface); font-size: 30px; }
.cipx-logo--xl { width: 132px; height: 132px; border-radius: 14px; border: 5px solid #fff; font-size: 40px; box-shadow: var(--shadow); }
.cipx-logo--hero { width: 120px; height: 120px; border-radius: 50%; border: 5px solid #fff; font-size: 36px; margin: 26px auto 0; }
.cipx-crumbs { display: flex; gap: 8px; align-items: center; font-size: 13px; flex-wrap: wrap; }
.cipx-crumbs a:hover { text-decoration: underline; }
[dir="rtl"] .cipx-crumbs .cipx-ic, [dir="rtl"] .cipx-link .cipx-ic, [dir="rtl"] .cipx-btn .cipx-ic[viewBox] { transform: scaleX(-1); }
.cipx-empty { padding: 48px 20px; text-align: center; border: 1px dashed var(--line); border-radius: 10px; color: var(--muted); }
.cipx-pager { display: flex; gap: 6px; justify-content: center; margin-block-start: 36px; flex-wrap: wrap; }
.cipx-pager a { min-width: 40px; height: 40px; display: grid; place-items: center; padding-inline: 12px; border: 1px solid var(--line); border-radius: 6px; font: 600 14px var(--fd); background: var(--surface); color: var(--ink); }
.cipx-pager a:hover { border-color: var(--blue); }
.cipx-pager a.is-current { background: var(--navy); border-color: var(--navy); color: #fff; }
.cipx-pager__gap { align-self: center; color: var(--muted); }
.cipx-search { flex: 1; min-width: 220px; display: flex; align-items: center; gap: 10px; height: 48px; padding-inline: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; color: var(--muted); margin: 0; }
.cipx-search input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; color: var(--ink); outline: none; box-shadow: none; padding: 0; height: auto; }
.cipx-select { height: 48px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink); font: inherit; padding-inline: 12px; }
.cipx-link { display: inline-flex; gap: 6px; align-items: center; font: 600 13px var(--fd); letter-spacing: .06em; text-transform: uppercase; color: var(--strong) !important; }

/* ---------- Directory A ---------- */
.cipx-hero { background: linear-gradient(180deg, rgba(3, 29, 68, .86), rgba(3, 29, 68, .96)), repeating-linear-gradient(90deg, #1f78bd 0 2px, #031d44 2px 46px); color: #fff; padding-block: 52px 46px; }
.cipx-hero h1 { color: #fff; font-size: clamp(30px, 5vw, 52px); letter-spacing: .05em; text-transform: uppercase; font-weight: 600; margin-block-start: 18px; }
.cipx-hero p { max-width: 60ch; color: #b9d4f0; margin: 12px 0 0; font-size: 17px; }
.cipx-hero .cipx-crumbs { color: #dce9f8; }
.cipx-layA { display: grid; grid-template-columns: 270px 1fr; gap: 28px; margin-block-start: 32px; align-items: start; }
.cipx-side { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 20px; position: sticky; top: 16px; margin: 0; }
.cipx-side h4 { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; margin-block-end: 12px; }
.cipx-side section + section { border-block-start: 1px solid var(--line2); margin-block-start: 18px; padding-block-start: 18px; }
.cipx-ck { display: flex; align-items: center; gap: 10px; font-size: 14.5px; padding-block: 5px; cursor: pointer; margin: 0; }
.cipx-ck input { accent-color: var(--strong); width: 16px; height: 16px; margin: 0; }
.cipx-ck span { flex: 1; min-width: 0; }
.cipx-ck em { font: 600 12px var(--fd); font-style: normal; color: var(--muted); background: var(--surface2); border-radius: 20px; padding: 2px 8px; }
.cipx-side__act { display: flex; gap: 8px; }
.cipx-side__act .cipx-btn { flex: 1; padding-inline: 10px; }
[data-cip-auto] .cipx-side__act .cipx-btn:not(.cipx-btn--ghost) { display: none; }
.cipx-tool { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin: 0; }
.cipx-tool .cipx-btn { display: none; }
.cipx-count { margin: 18px 0 14px; font-size: 14px; color: var(--muted); }
.cipx-gridA { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.cipx-cardA { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.cipx-cardA:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.cipx-cardA__ban { display: block; height: 92px; background: var(--navy2) center/cover no-repeat; }
.cipx-cardA__body { padding: 18px 20px 8px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.cipx-cardA__logo.is-pulled { margin-block-start: -48px; }
.cipx-cardA__logo { align-self: flex-start; }
.cipx-cardA h3 { font-size: 19px; font-weight: 600; }
.cipx-cardA h3 a:hover { color: var(--blue); }
.cipx-cardA p { margin: 0; font-size: 14.5px; }
.cipx-metas { display: flex; flex-direction: column; gap: 6px; margin-block-start: auto; padding-block-start: 6px; }
.cipx-cardA__foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 20px; border-block-start: 1px solid var(--line2); margin-block-start: 10px; }
.cipx-cardA__foot .cipx-chip { padding: 5px 8px; }
.cipx-link:hover { gap: 10px; }

/* ---------- Directory B ---------- */
.cipx-heroB { background: radial-gradient(1200px 400px at 50% 120%, rgba(31, 120, 189, .35), transparent), linear-gradient(180deg, #031d44, #1d335a); color: #fff; text-align: center; padding-block: 64px 88px; position: relative; overflow: hidden; }
.cipx-heroB .cipx-in { position: relative; z-index: 1; }
.cipx-heroB h1 { color: #fff; font-size: clamp(30px, 5vw, 56px); letter-spacing: .05em; text-transform: uppercase; font-weight: 600; }
.cipx-heroB p { max-width: 56ch; margin: 14px auto 28px; color: #b9d4f0; font-size: 17px; }
.cipx-big { max-width: 620px; margin: 0 auto; display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 10px; padding: 6px 6px 6px 18px; padding-inline: 18px 6px; color: #75777f; }
.cipx-big input { flex: 1; min-width: 0; border: 0; font: inherit; font-size: 16px; outline: none; box-shadow: none; color: #031d44; background: transparent; height: 44px; padding: 0; }
.cipx-pillbar { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; box-shadow: var(--shadow); margin-block-start: -28px; position: relative; z-index: 2; }
.cipx-pills { display: flex; gap: 8px; overflow-x: auto; padding-block: 4px; scrollbar-width: thin; }
.cipx-pill { flex: none; font: 600 13px var(--fd); letter-spacing: .05em; text-transform: uppercase; color: var(--ink) !important; background: var(--surface2); border: 1px solid transparent; border-radius: 30px; padding: 10px 16px; }
.cipx-pill:hover { border-color: var(--blue); }
.cipx-pill.is-on { background: var(--navy); color: #fff !important; }
.cipx-stat { display: flex; justify-content: space-between; align-items: baseline; margin-block: 34px 18px; gap: 12px; flex-wrap: wrap; }
.cipx-stat h2 { font-size: 22px; letter-spacing: .06em; text-transform: uppercase; font-weight: 600; }
.cipx-stat span { color: var(--muted); font-size: 14px; }
.cipx-gridB { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.cipx-cardB { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, border-color .2s; }
.cipx-cardB:hover { box-shadow: var(--shadow); border-color: var(--blue); }
.cipx-cardB__tag { position: absolute; inset-block-start: 0; inset-inline-start: 0; background: var(--navy2); color: #fff; font: 600 11px/1 var(--fd); letter-spacing: .06em; text-transform: uppercase; padding: 8px 12px; border-end-end-radius: 10px; z-index: 1; max-width: 70%; }
.cipx-cardB__cty { position: absolute; inset-block-start: 10px; inset-inline-end: 10px; background: var(--surface2); border-radius: 6px; padding: 5px 8px; font: 600 11px/1 var(--fd); color: var(--text); z-index: 1; }
.cipx-cardB__cty i { font-style: normal; color: var(--blue); margin-inline-start: 4px; }
.cipx-cardB__logo { height: 170px; display: grid; place-items: center; background: radial-gradient(circle at 50% 40%, var(--surface), var(--surface2)); border-block-end: 1px solid var(--line2); padding: 20px; }
.cipx-cardB__logo .cipx-logo--l img { border-radius: 50%; }
.cipx-cardB__name { padding: 16px 18px 20px; text-align: center; }
.cipx-cardB__name h3 { font-size: 18px; font-weight: 600; }
.cipx-cardB__name p { margin: 6px 0 0; font-size: 13.5px; color: var(--muted); }
.cipx-cta { margin-block-start: 56px; background: linear-gradient(135deg, #031d44, #0062a0); color: #fff; border-radius: 14px; padding: 36px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.cipx-cta h2 { color: #fff; font-size: 24px; letter-spacing: .05em; text-transform: uppercase; font-weight: 600; }
.cipx-cta p { margin: 6px 0 0; color: #cfe3f8; }

/* ---------- Profile shared ---------- */
.cipx-notice { background: #fdf3dc; border-block-end: 1px solid #e6c987; color: #6b4a0b; padding: 10px 20px; text-align: center; font-size: 14px; }
.cipx-socs { display: flex; gap: 10px; flex-wrap: wrap; }
.cipx-socs a { width: 40px; height: 40px; border-radius: 8px; border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink); background: var(--surface); }
.cipx-socs a:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.cipx-prose p { margin: 0 0 14px; max-width: 70ch; }
.cipx-prose > :last-child { margin-block-end: 0; }
.cipx-gt { display: block; aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; background: var(--surface2); }
.cipx-gt img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.cipx-gt:hover img { transform: scale(1.04); }
.cipx-pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.cipx-post { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.cipx-post__img { display: block; height: 130px; background: var(--navy2) center/cover no-repeat; }
.cipx-post__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.cipx-post h3 { font-size: 17px; font-weight: 600; } .cipx-post h3 a:hover { color: var(--blue); }
.cipx-post p { margin: 0; font-size: 14px; }
.cipx-post time { font-size: 12.5px; color: var(--muted); }
.cipx-map { height: 260px; border-radius: 8px; z-index: 0; }

/* ---------- Profile A ---------- */
.cipx-pbanner { height: 260px; position: relative; background: linear-gradient(135deg, #0062a0, #031d44) center/cover no-repeat; color: #fff; padding-block-start: 20px; }
.cipx-pbanner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(3, 29, 68, .1), rgba(3, 29, 68, .7)); }
.cipx-pbanner .cipx-in { position: relative; z-index: 1; }
.cipx-id { display: flex; gap: 24px; align-items: flex-end; margin-block-start: -64px; position: relative; z-index: 3; flex-wrap: wrap; }
.cipx-id__t { flex: 1; min-width: 260px; padding-block-end: 6px; display: flex; flex-direction: column; gap: 12px; }
.cipx-id h1 { font-size: clamp(26px, 4vw, 40px); font-weight: 600; }
.cipx-acts { display: flex; gap: 10px; flex-wrap: wrap; padding-block-end: 8px; }
.cipx-pg { display: grid; grid-template-columns: 1fr 340px; gap: 28px; margin-block-start: 32px; align-items: start; }
.cipx-pg__main, .cipx-pg__side { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.cipx-box { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 26px; }
.cipx-box h2 { font-size: 15px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; padding-inline-start: 12px; border-inline-start: 3px solid var(--blue); margin-block-end: 16px; }
.cipx-lede { font-size: 19px; color: var(--ink); line-height: 1.55; margin: 0 0 16px; font-weight: 600; }
.cipx-gg { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.cipx-info { display: flex; flex-direction: column; gap: 16px; margin: 0; }
.cipx-info dt { font: 600 11.5px var(--fd); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-block-end: 2px; }
.cipx-info dd { margin: 0; color: var(--ink); font-size: 15px; }

/* ---------- Profile B ---------- */
.cipx-hb { position: relative; color: #fff; text-align: center; padding-block: 28px 96px; background: linear-gradient(135deg, #1d335a, #0062a0) var(--bg, none) center/cover no-repeat; overflow: hidden; }
.cipx-hb::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(3, 29, 68, .7), rgba(3, 29, 68, .95)); }
.cipx-hb .cipx-in { position: relative; }
.cipx-hb .cipx-crumbs { justify-content: center; color: #dce9f8; }
.cipx-hb h1 { color: #fff; font-size: clamp(28px, 5vw, 52px); font-weight: 600; letter-spacing: .05em; text-transform: uppercase; margin-block-start: 20px; }
.cipx-chips--c { justify-content: center; margin-block-start: 16px; }
.cipx-hb .cipx-chip { background: rgba(255, 255, 255, .14); color: #fff; }
.cipx-hb .cipx-chip--line { background: transparent; border-color: rgba(255, 255, 255, .35); color: #dce9f8; }
.cipx-hb .cipx-socs { justify-content: center; margin-block-start: 22px; }
.cipx-hb .cipx-socs a { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .3); color: #fff; }
.cipx-hb .cipx-socs a:hover { background: #fff; color: #031d44; }
.cipx-acts--c { justify-content: center; margin-block-start: 18px; padding: 0; }
.cipx-hb .cipx-btn--ghost { background: transparent; color: #fff !important; border-color: rgba(255, 255, 255, .4); }
.cipx-hb .cipx-btn--ghost:hover { background: rgba(255, 255, 255, .12); }
.cipx-glance { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); background: var(--surface); border: 1px solid var(--line); border-radius: 14px; margin-block-start: -48px; position: relative; box-shadow: var(--shadow); overflow: hidden; }
.cipx-g { padding: 20px 22px; display: flex; flex-direction: column; gap: 6px; border-inline-start: 1px solid var(--line2); min-width: 0; }
.cipx-g:first-child { border-inline-start: 0; }
.cipx-g span { font: 600 11.5px var(--fd); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.cipx-g span .cipx-ic { color: var(--blue); }
.cipx-g b { font-size: 16px; color: var(--ink); font-weight: 600; overflow-wrap: anywhere; }
.cipx-g a:hover { color: var(--blue); }
.cipx-ln { max-width: 820px; margin: 52px auto 0; text-align: center; }
.cipx-ln p { margin: 0; font: 600 clamp(20px, 2.6vw, 26px)/1.45 var(--fd); color: var(--ink); }
.cipx-sec { margin-block-start: 60px; }
.cipx-sec > h2 { font-size: 22px; letter-spacing: .06em; text-transform: uppercase; font-weight: 600; margin-block-end: 22px; display: flex; align-items: center; gap: 14px; }
.cipx-sec > h2::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.cipx-two { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: start; }
.cipx-two.is-one { grid-template-columns: 1fr; }
.cipx-gm { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.cipx-gm .cipx-gt:first-child:nth-last-child(odd) { grid-column: 1 / -1; aspect-ratio: 16 / 8; }
.cipx-mapw { position: relative; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); }
.cipx-mapw .cipx-map { height: 340px; border-radius: 0; }
.cipx-adr { position: absolute; inset-inline-start: 20px; inset-block-end: 20px; z-index: 500; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 14px 18px; max-width: calc(100% - 40px); box-shadow: var(--shadow); }
.cipx-adr b { display: flex; gap: 6px; align-items: center; color: var(--ink); font-family: var(--fd); margin-block-end: 2px; }
.cipx-back { text-align: center; margin-block-start: 48px; }

@media (max-width: 900px) {
	.cipx-layA, .cipx-pg { grid-template-columns: 1fr; }
	.cipx-side { position: static; }
	.cipx-logo--xl { width: 104px; height: 104px; font-size: 32px; }
	.cipx-pbanner { height: 200px; }
}
@media (max-width: 860px) {
	.cipx-two { grid-template-columns: 1fr; gap: 28px; }
	.cipx-g { border-inline-start: 0; border-block-start: 1px solid var(--line2); }
	.cipx-g:first-child { border-block-start: 0; }
}
@media (max-width: 480px) {
	.cipx-box { padding: 20px; }
	.cipx-gridA { grid-template-columns: 1fr; }
}
