/* Portfolio slider inside the Creative theme (html.embed): theme container + theme buttons */
.embed{--pad:max(20px,calc((100vw - 1200px) / 2));--off:min(33vw,440px)}
.embed .intro,.embed .top .logo,.embed .top .lang{display:none}
.embed .top{padding-top:18px}
.embed .tabs,.embed .tabs a{border-radius:0}
.embed .top .go{border-radius:0;background:#C8244F;color:#fff}
.embed .top .go svg{fill:#fff}
.embed .kind{border-radius:0;background:#C8244F;border:0;color:#fff;letter-spacing:0;text-transform:none;font-size:13px;padding:3px 14px}
.embed .kind i{width:12px;height:8px;border-radius:0;background:#fff;transform:skewX(-28deg)}
.embed .ctrls button{border-radius:0}
.embed .ctrls button:hover{background:#C8244F;border-color:#C8244F;color:#fff}
.embed .web{width:min(42vw,70vh,760px)}
/* side items stay inside the 1200px container on wide screens */
@media (min-width:1101px){
  .embed .obj.q1{transform:translate(calc(-50% + var(--side)*var(--off)),calc(-50% + 13vh)) scale(.22)}
  .embed .obj.q2{transform:translate(calc(-50% + var(--side)*min(37vw,500px)),calc(-50% - 15vh)) scale(.16)}
  .embed .obj.q3{transform:translate(calc(-50% - var(--side)*var(--off)),calc(-50% - 14vh)) scale(.12)}
}
/* keep the device, the text and the "visit" link apart inside the 1200px container */
@media (min-width:1101px){
  .embed .web{width:min(34vw,58vh,560px)}
  .embed .info{width:min(320px,24vw)}
  .embed .cta{font-size:clamp(22px,2.4vw,36px)}
}
.embed #desc{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.embed #desc{display:none}
/* the theme's charcoal instead of a different colour per client — same ground as the original home slider */
.embed body{background-color:#1E1E20!important}
.embed .stage::before{content:"";position:absolute;inset:0;pointer-events:none;z-index:0;background:radial-gradient(60% 60% at 50% 58%,rgba(200,36,79,.16),transparent 70%),linear-gradient(118deg,transparent 0 61.8%,rgba(255,255,255,.04) 61.8% 62%,transparent 62%)}
.embed .word{color:rgba(255,255,255,.94)}
/* top: no own CTA (the site header has one); tabs as plain text with the theme's crimson active bar */
.embed .top .go{display:none}
.embed .tabs{background:none;backdrop-filter:none;padding:0;gap:clamp(18px,2.4vw,34px)}
.embed .tabs a{background:none!important;color:rgba(255,255,255,.6)!important;padding:8px 0 10px;font-size:15px;font-weight:700;position:relative;box-shadow:none!important}
.embed .tabs a:hover{color:#fff!important}
.embed .tabs a.on{color:#fff!important}
.embed .tabs a.on::after{content:"";position:absolute;inset:auto 0 0;height:3px;background:#C8244F}

/* ===== Home 2: the visit link becomes a theme button beside the arrows; the section tabs take its corner ===== */
.embed .ctrls{flex-wrap:wrap}
.embed .ctrls .cta{position:static;order:-1;max-width:none;height:46px;padding:0 22px;gap:10px;background:#C8244F;color:#fff;
  font:700 14.5px Cairo,sans-serif;line-height:1;margin-inline-end:4px;transition:background .25s,opacity .4s}
.embed .ctrls .cta:hover{background:#DB2F5E}
.embed .ctrls .cta svg{width:13px;height:13px;stroke-width:2.6}
/* section tabs: one square segmented control, crimson for the active section */
.embed .tabs{gap:0!important;border:1px solid rgba(255,255,255,.16);background:rgba(255,255,255,.03)!important}
.embed .tabs a{height:46px;display:flex!important;align-items:center;padding:0 20px!important;font-size:14px!important;border-inline-start:1px solid rgba(255,255,255,.1)}
.embed .tabs a:first-child{border-inline-start:0}
.embed .tabs a.on{background:#C8244F!important}
.embed .tabs a.on::after{display:none}
@media (min-width:901px) and (orientation:landscape){
  .embed .top{inset:auto 0 clamp(26px,6vh,64px) 0;padding:0 var(--pad);pointer-events:none;justify-content:flex-end}
  .embed .tabs{pointer-events:auto;margin:0!important;order:0!important}
}
@media (max-width:600px){
  .embed .tabs{width:100%}.embed .tabs a{height:40px;flex:1;justify-content:center;padding:0 6px!important;font-size:13px!important}
  .embed .ctrls .cta{height:40px;padding:0 16px;font-size:13.5px}
}
/* identity / logo cards: same footprint as the website device, so they never cover the text or the tabs */
@media (min-width:901px) and (orientation:landscape){
  .embed .card{height:min(46vh,calc(min(34vw,520px) / var(--ar)),460px)}
  .embed .card.lg{height:min(42vh,28vw,400px)}
}
.embed .ctrls{flex-wrap:nowrap}.embed .ctrls .count{display:none}
@media (min-width:901px) and (orientation:landscape){
  .embed .top .end{display:none}
  .embed .top{flex-wrap:nowrap}
  .embed .tabs{margin-inline-start:auto!important;margin-inline-end:0!important;width:auto!important}
}
@media (min-width:901px) and (max-width:1100px) and (orientation:landscape){
  .embed .tabs a{padding:0 14px!important;font-size:13px!important}
  .embed .info{width:min(330px,34vw)}
}
