/* Companies & Ventures page: built from the Home page's oc-* system. */
.seo-breadcrumb:has(+ .ventures-hero){background:var(--night);color:#8193ab}
.seo-breadcrumb + .ventures-hero{padding-top:70px}
.ventures-hero .oc-collage{height:auto}
.ventures-hero .oc-brand-tile{height:250px}
.ventures-hero .oc-photo-tile{height:270px}
.ventures-hero .oc-blue-tile{height:250px;display:flex;flex-direction:column}
.ventures-hero .oc-blue-tile h3{font-size:30px}
.ventures-hero .oc-green-tile{height:210px}

.ventures-portfolio{background:#f6f8fa}
.subsidiary-showcase{background:#fafafa;color:#101828;text-align:center;padding:76px 0 88px;scroll-margin-top:90px}
.subsidiary-showcase h1{font-size:clamp(28px,3vw,38px);font-weight:500;line-height:1.2;letter-spacing:-.025em;margin:0}
.subsidiary-showcase__intro{max-width:620px;margin:20px auto 0;font-size:16px;line-height:1.7;color:#475467}
.subsidiary-logos{display:flex;justify-content:center;align-items:center;list-style:none;margin:54px 0 0;padding:0}
.subsidiary-logos li{display:flex;align-items:center;justify-content:center;min-height:96px}
.subsidiary-logos img{display:block;width:180px;max-width:100%;height:auto;object-fit:contain}
@media(max-width:650px){
  .subsidiary-showcase{padding:56px 0 64px}
  .subsidiary-showcase__intro{font-size:15px}
  .subsidiary-logos{margin-top:36px}
  .subsidiary-logos img{width:160px}
}
.ventures-toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px 24px;margin:0 0 26px}
.ventures-toolbar .subsidiary-status{display:flex;flex-wrap:wrap;gap:8px}
.ventures-toolbar .filter-btn{border:1px solid var(--line);border-radius:40px;background:#fff;color:var(--ink);font:inherit;font-size:13px;font-weight:500;padding:10px 18px;cursor:pointer;transition:background .2s,border-color .2s,color .2s}
.ventures-toolbar .filter-btn:hover{border-color:var(--ink)}
.ventures-toolbar .filter-btn.active{background:var(--night);border-color:var(--night);color:#fff}
.ventures-toolbar #subsidiary-count{font-size:13px;color:var(--muted);margin:0}

.venture-grid{display:grid;gap:18px}
.venture-loading{color:var(--muted)}

/* Wide company tile: coloured panel (like the Home hero tiles) + story. */
.venture-card{position:relative;display:grid;grid-template-columns:minmax(260px,.75fr) 1.6fr;min-height:330px;border-radius:28px;background:#fff;overflow:hidden;color:var(--ink);transition:transform .35s cubic-bezier(.16,1,.3,1),box-shadow .35s ease}
.venture-card:hover{transform:translateY(-5px);box-shadow:0 18px 40px rgba(7,26,50,.09)}
.venture-card__panel{display:flex;flex-direction:column;justify-content:space-between;align-items:flex-start;gap:20px;padding:28px;background:var(--blue);color:#fff}
.venture-card--active .venture-card__panel{background:var(--lime);color:var(--night)}
.venture-card--soon .venture-card__panel{background:#ecf2e9;color:var(--night)}
.venture-status{font-size:10px;letter-spacing:.1em;text-transform:uppercase;font-weight:600;padding:6px 11px;border-radius:20px;border:1px solid currentColor;opacity:.9}
.venture-card__logo{align-self:center;width:128px;height:128px;border-radius:28px;background:#fff;display:grid;place-items:center;overflow:hidden;box-shadow:0 10px 30px rgba(7,19,36,.12)}
.venture-card__logo img{width:100%;height:100%;object-fit:contain;padding:18px;box-sizing:border-box}
.venture-card__logo:not(:has(img:not([hidden])))::after{content:attr(data-initials);font-size:42px;font-weight:600;letter-spacing:-.03em;color:var(--blue)}
.venture-card__place{font-size:12px;opacity:.85}
.venture-card__body{display:flex;flex-direction:column;align-items:flex-start;padding:40px 44px}
.venture-card__sector{display:flex;align-items:center;gap:10px;font-size:11px;letter-spacing:.16em;text-transform:uppercase;font-weight:600;color:var(--muted);margin:0}
.venture-card__sector:before{content:'';width:7px;height:7px;border-radius:50%;background:var(--green)}
.venture-card h3{font-size:clamp(32px,3.4vw,44px);font-weight:500;line-height:1.08;margin:18px 0 0;overflow-wrap:anywhere}
.venture-card h3 a{color:inherit}
.venture-card h3 a::after{content:'';position:absolute;inset:0;border-radius:inherit}
.venture-card h3 a:focus-visible{outline:none}
.venture-card:has(h3 a:focus-visible){outline:3px solid var(--blue);outline-offset:3px}
.venture-card__tagline{font-size:17px;font-weight:500;color:var(--blue);margin:14px 0 0;line-height:1.45}
.venture-card__desc{font-size:15px;line-height:1.7;color:var(--muted);margin:12px 0 0;max-width:560px}
.venture-card__more{margin-top:auto;padding-top:28px;font-size:13px;font-weight:600;color:var(--blue)}

.venture-grid .directory-empty{padding:42px 24px;border:1px dashed var(--line);border-radius:22px;text-align:center;background:#fff}
.venture-grid .directory-empty p{margin-top:12px;color:var(--muted)}

.ventures-support .oc-feature .oc-icon .oc-arrow{width:.8em;height:.8em}

@media(max-width:900px){
  .ventures-hero .oc-brand-tile,.ventures-hero .oc-blue-tile{height:220px}
  .venture-card{grid-template-columns:220px 1fr}
  .venture-card__logo{width:104px;height:104px}
  .venture-card__body{padding:30px}
}
@media(max-width:650px){
  .ventures-hero .oc-brand-tile,.ventures-hero .oc-blue-tile,.ventures-hero .oc-green-tile{height:auto}
  .ventures-hero .oc-blue-tile h3{font-size:22px}
  .ventures-toolbar{flex-direction:column;align-items:flex-start;margin-bottom:22px}
  .ventures-toolbar .subsidiary-status{flex-wrap:nowrap;overflow-x:auto;max-width:100%;scrollbar-width:none;padding-bottom:2px}
  .ventures-toolbar .subsidiary-status::-webkit-scrollbar{display:none}
  .ventures-toolbar .filter-btn{white-space:nowrap;flex-shrink:0}
  .venture-card{grid-template-columns:1fr;min-height:0;border-radius:22px}
  .venture-card__panel{flex-direction:row;flex-wrap:wrap;align-items:center;padding:20px 22px}
  .venture-card__logo{order:-1;align-self:auto;width:72px;height:72px;border-radius:18px}
  .venture-card__logo:not(:has(img:not([hidden])))::after{font-size:26px}
  .venture-card__panel .venture-status{margin-left:auto}
  .venture-card__place{flex-basis:100%;display:none}
  .venture-card__body{padding:24px 22px 26px}
  .venture-card h3{font-size:30px;margin-top:14px}
}
