/* ---- HEADER: logo fixed left, nav pushed to the right edge ---- */
.ol-siteheader__in{width:100%!important;justify-content:space-between!important}
.ol-siteheader__right{margin-left:auto}

/* ---- CLOSING CTA: readable button ---- */
.ol-closing .wp-block-button__link,
.ol-closing .wp-element-button{
  background:var(--ol-accent)!important;color:#FFFFFF!important;
  border:1px solid var(--ol-accent)!important;border-radius:10px!important;
  font-family:var(--ol-body)!important;font-weight:600!important;font-size:16px!important;
  padding:18px 34px!important;text-decoration:none!important;
}
.ol-closing .wp-block-button__link:hover{opacity:.92;color:#FFFFFF!important}

/* ================= THREE SIDES ================= */
.ol-sides{padding:var(--ol-xl) 0}
.ol-sides__grid{display:grid;grid-template-columns:40% 60%;gap:64px;align-items:start}

.ol-eyebrow2{display:inline-flex;align-items:center;gap:8px;background:rgba(233,80,58,.09);
color:var(--ol-accent);border-radius:var(--ol-r-pill);padding:8px 16px;font-size:14px;
font-weight:500;margin-bottom:24px}
.ol-eyebrow2 svg{width:14px;height:14px;fill:var(--ol-accent)}

.ol-sides h2{font-family:var(--ol-head);font-weight:500;font-size:clamp(32px,3.7vw,52px);
line-height:1.12;letter-spacing:-0.015em;margin:0}
.ol-sides h2 em{font-style:normal;color:var(--ol-accent)}
.ol-sides__rule{width:56px;height:3px;background:var(--ol-accent);border-radius:2px;margin:26px 0 24px}
.ol-sides__lede{font-size:16.5px;line-height:1.7;color:var(--ol-muted);max-width:44ch;margin:0}

.ol-sidecards2{display:flex;flex-direction:column;gap:18px}
.ol-scard{position:relative;background:var(--ol-surface);border:1px solid var(--ol-line);
border-radius:var(--ol-r-md);overflow:hidden;display:flex;align-items:center;gap:20px;
padding:26px 28px;text-decoration:none;color:var(--ol-ink);min-height:150px;
transition:transform .18s ease,box-shadow .18s ease}
.ol-scard:hover{transform:translateY(-2px);box-shadow:0 10px 30px rgba(28,25,23,.08)}

.ol-scard__art{position:absolute;top:0;right:0;bottom:0;width:46%;z-index:0}
.ol-scard__art img{width:100%;height:100%;object-fit:cover;display:block}
.ol-scard__art::after{content:"";position:absolute;inset:0;
background:linear-gradient(90deg,var(--ol-surface) 0%,rgba(255,255,255,.85) 28%,rgba(255,255,255,0) 72%)}
.ol-scard__art.is-empty{background:linear-gradient(120deg,var(--ol-muted),var(--ol-ink))}

.ol-scard__ic{width:52px;height:52px;flex:none;border-radius:14px;position:relative;z-index:1;
display:flex;align-items:center;justify-content:center}
.ol-scard__ic svg{width:23px;height:23px;fill:none;stroke-width:1.8}
.ol-scard--a .ol-scard__ic{background:rgba(233,80,58,.11)}
.ol-scard--a .ol-scard__ic svg{stroke:var(--ol-accent)}
.ol-scard--b .ol-scard__ic{background:rgba(58,106,233,.11)}
.ol-scard--b .ol-scard__ic svg{stroke:var(--ol-blue)}
.ol-scard--c .ol-scard__ic{background:rgba(16,121,92,.11)}
.ol-scard--c .ol-scard__ic svg{stroke:var(--ol-success)}

.ol-scard__txt{position:relative;z-index:1;max-width:56%}
.ol-scard__txt h3{font-family:var(--ol-head);font-weight:500;font-size:22px;line-height:1.2;margin:0 0 7px}
.ol-scard__txt p{font-size:15px;line-height:1.6;color:var(--ol-muted);margin:0}

.ol-scard__go{position:absolute;right:22px;bottom:22px;z-index:2;width:40px;height:40px;
border-radius:50%;background:var(--ol-surface);box-shadow:0 4px 14px rgba(28,25,23,.14);
display:flex;align-items:center;justify-content:center}
.ol-scard__go svg{width:17px;height:17px;fill:none;stroke-width:2.2}
.ol-scard--a .ol-scard__go svg{stroke:var(--ol-accent)}
.ol-scard--b .ol-scard__go svg{stroke:var(--ol-blue)}
.ol-scard--c .ol-scard__go svg{stroke:var(--ol-success)}

@media(max-width:1024px){
  .ol-sides__grid{grid-template-columns:1fr;gap:36px}
  .ol-sides__lede{max-width:none}
}
@media(max-width:640px){
  .ol-scard{flex-direction:column;align-items:flex-start;gap:14px;padding:22px}
  .ol-scard__txt{max-width:100%}
  .ol-scard__art{width:100%;opacity:.16}
  .ol-scard__art::after{background:linear-gradient(180deg,rgba(255,255,255,.7),rgba(255,255,255,.95))}
  .ol-scard__go{position:static;margin-top:4px}
}

/* ---- BUTTONS: global, so every template gets them (not just the home page) ---- */
.ol-b{display:inline-flex;align-items:center;justify-content:center;gap:10px;
font-family:var(--ol-body);font-weight:600;font-size:16px;line-height:1;
padding:17px 30px;border-radius:10px;text-decoration:none;border:1px solid transparent;
cursor:pointer;transition:transform .18s ease,opacity .18s ease,border-color .18s ease}
.ol-b:hover{text-decoration:none}
.ol-b:active{transform:translateY(1px)}
.ol-b--p{background:var(--ol-accent);color:#FFFFFF;border-color:var(--ol-accent)}
.ol-b--p:hover{opacity:.92;color:#FFFFFF}
.ol-b--s{background:var(--ol-surface);color:var(--ol-ink);border-color:var(--ol-line)}
.ol-b--s:hover{border-color:var(--ol-ink);color:var(--ol-ink)}

/* every inline glyph inside a button is a stroked icon, never a filled shape */
.ol-b svg{width:17px;height:17px;flex:none;fill:none;stroke:currentColor;
stroke-width:2;stroke-linecap:round;stroke-linejoin:round}

/* same guard for the small stroked icons used across profile + cards */
.ol-p2note svg,.ol-pc dt svg,.ol-trustlist svg,.ol-p2meta .loc svg,
.ol-scard__ic svg,.ol-scard__go svg,.ol-pc__h svg{
fill:none;stroke-linecap:round;stroke-linejoin:round}

/* ---- IMAGE FOCAL POINT ----
   Source art is tall poster artwork with the subject right-of-centre and the face
   in the upper third. Cropping from the centre lands on the torso, so pull the
   focal point up and right. Override per-slot with a --ol-focus custom property. */
.ol-scard__art img{object-position:var(--ol-focus,72% 16%)}
.ol-ph img{object-position:var(--ol-focus,68% 14%)}
.ol-p2hero__img img{object-position:var(--ol-focus,72% 18%)}

/* the tall hero slot can afford a wider view of the subject */
.ol-ph--a img{object-position:var(--ol-focus,64% 12%)}

/* give the card art more room so the face is not squeezed at the edge */
.ol-scard__art{width:52%}
.ol-scard__art::after{background:linear-gradient(90deg,var(--ol-surface) 0%,rgba(255,255,255,.92) 22%,rgba(255,255,255,.45) 55%,rgba(255,255,255,0) 82%)}
.ol-scard__txt{max-width:52%}

@media(max-width:640px){
  .ol-scard__art{width:100%}
  .ol-scard__txt{max-width:100%}
}
