
:root{
  --bg:#080b18;--bg2:#0d1225;--panel:#11172d;--panel2:#171e39;--text:#f4f7ff;--muted:#929ab8;
  --line:rgba(255,255,255,.09);--violet:#7b5cfa;--blue:#3e7bfa;--cyan:#45d6e0;--magenta:#e94fa1;
  --grad:linear-gradient(90deg,var(--violet),var(--blue) 52%,var(--magenta));--wrap:1180px;
}
html[data-theme="light"]{--bg:#f4f7fb;--bg2:#eef3f8;--panel:#fff;--panel2:#f2f5fb;--text:#102238;--muted:#64758e;--line:rgba(16,34,56,.12)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.55;overflow-x:hidden}
body::before{content:"";position:fixed;inset:0;pointer-events:none;background:radial-gradient(ellipse at 18% -10%,rgba(123,92,250,.17),transparent 48%),radial-gradient(ellipse at 90% 8%,rgba(233,79,161,.1),transparent 44%);z-index:-1}
a{color:inherit;text-decoration:none}img{max-width:100%;display:block}button{font:inherit}.wrap{width:min(var(--wrap),calc(100% - 48px));margin:auto}
.site-header{position:sticky;top:0;z-index:50;background:color-mix(in srgb,var(--bg) 88%,transparent);backdrop-filter:blur(16px);border-bottom:1px solid var(--line)}
.nav{height:74px;display:flex;align-items:center;gap:26px}.brand{display:flex;align-items:center;gap:11px;min-width:245px}.brand img{width:42px;height:42px;object-fit:contain}.brand strong{display:block;font-size:14px}.brand small{display:block;color:var(--muted);font-size:11px}
.navlinks{display:flex;align-items:center;gap:20px;margin-left:auto}.navlinks a{font-size:13px;color:var(--muted)}.navlinks a:hover,.navlinks a.active{color:var(--text)}
.icon-btn{width:42px;height:42px;border:1px solid var(--line);border-radius:12px;background:var(--panel);color:var(--text);cursor:pointer}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid var(--line);border-radius:12px;padding:11px 18px;font-weight:700;font-size:13px}.btn-primary{border:0;background:var(--grad);color:white}.btn-ghost{background:var(--panel)}
.mobile-toggle{display:none}.mobile-menu{display:none;border-top:1px solid var(--line);padding:14px 24px 22px;background:var(--bg)}.mobile-menu.open{display:grid;grid-template-columns:1fr 1fr;gap:8px}.mobile-menu a{padding:12px;border-radius:10px;background:var(--panel);color:var(--muted);font-size:13px}
.review-banner{padding:14px 0;background:linear-gradient(90deg,rgba(123,92,250,.15),rgba(69,214,224,.08));border-bottom:1px solid var(--line)}.review-banner .wrap{display:flex;justify-content:space-between;gap:24px;align-items:center}.review-banner p{margin:0;color:var(--muted);font-size:12px}.review-banner strong{color:var(--text)}
.kicker{color:var(--cyan);font-size:11px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;margin-bottom:9px}.section-title{display:flex;justify-content:space-between;align-items:end;gap:24px;margin-bottom:28px}.section-title h1,.section-title h2{margin:0;font-size:clamp(28px,4vw,43px);letter-spacing:-.035em;line-height:1.05}.section-title p{max-width:600px;color:var(--muted);margin:10px 0 0}.section-link{font-size:13px;color:var(--cyan);white-space:nowrap}
.news-first{padding:48px 0 68px;border-bottom:1px solid var(--line)}.post-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.post-card{border:1px solid var(--line);border-radius:18px;overflow:hidden;background:var(--panel);min-width:0;transition:.22s transform,.22s border-color}.post-card:hover{transform:translateY(-3px);border-color:rgba(123,92,250,.48)}
.post-media{height:158px;position:relative;overflow:hidden;background:radial-gradient(circle at 25% 28%,rgba(69,214,224,.3),transparent 27%),radial-gradient(circle at 76% 66%,rgba(233,79,161,.26),transparent 31%),linear-gradient(135deg,rgba(123,92,250,.25),rgba(62,123,250,.08)),var(--panel2)}
.post-media::after{content:"DIP";position:absolute;right:18px;bottom:9px;font-weight:900;font-size:52px;color:rgba(255,255,255,.07);letter-spacing:-.06em}.post-media.media-green{background:radial-gradient(circle at 35% 30%,rgba(95,224,162,.26),transparent 34%),linear-gradient(135deg,rgba(69,214,224,.2),rgba(123,92,250,.15)),var(--panel2)}.post-media.media-pink{background:radial-gradient(circle at 60% 36%,rgba(233,79,161,.32),transparent 38%),linear-gradient(135deg,rgba(123,92,250,.2),rgba(233,79,161,.12)),var(--panel2)}
.post-body{padding:19px}.meta{display:flex;align-items:center;gap:8px;flex-wrap:wrap;color:var(--muted);font-size:11px;margin-bottom:9px}.badge{display:inline-flex;border-radius:999px;padding:4px 9px;background:rgba(69,214,224,.1);color:var(--cyan);font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.06em}.badge.pink{background:rgba(233,79,161,.1);color:var(--magenta)}.badge.violet{background:rgba(123,92,250,.13);color:#b4a5ff}
.post-card h3{font-size:17px;line-height:1.28;margin:0 0 8px}.post-card p{color:var(--muted);font-size:13px;margin:0}.readmore{display:inline-block;margin-top:14px;color:var(--cyan);font-size:12px;font-weight:800}
.hero{padding:86px 0 78px}.hero-grid{display:grid;grid-template-columns:minmax(0,.9fr) minmax(420px,1.1fr);gap:60px;align-items:center}.eyebrow{display:inline-flex;gap:8px;align-items:center;color:var(--cyan);background:rgba(69,214,224,.08);border:1px solid rgba(69,214,224,.24);border-radius:999px;padding:7px 13px;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.08em}.eyebrow::before{content:"";width:6px;height:6px;border-radius:50%;background:var(--cyan);box-shadow:0 0 12px var(--cyan)}
.hero h1{font-size:clamp(34px,3.2vw,48px);line-height:1.0;letter-spacing:-.055em;margin:18px 0}.grad{background:var(--grad);background-clip:text;-webkit-background-clip:text;color:transparent}.lead{font-size:17px;color:var(--muted);max-width:650px}.actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:27px}
.tech-stage{aspect-ratio:16/10;border:1px solid var(--line);border-radius:26px;position:relative;overflow:hidden;background:linear-gradient(rgba(69,214,224,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(69,214,224,.045) 1px,transparent 1px),radial-gradient(circle at 50% 50%,rgba(123,92,250,.28),transparent 43%),var(--panel);background-size:28px 28px,28px 28px,auto}
.tech-stage::before,.tech-stage::after{content:"";position:absolute;inset:12%;border:1px solid rgba(69,214,224,.18);border-radius:24px;transform:rotate(4deg)}.tech-stage::after{inset:22% 16%;border-color:rgba(233,79,161,.22);transform:rotate(-5deg)}.chip{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:190px;height:150px;border-radius:24px;border:1px solid rgba(255,255,255,.16);background:linear-gradient(145deg,#141b36,#0d1226);box-shadow:0 0 65px rgba(123,92,250,.3);display:grid;place-items:center;z-index:3}.chip img{width:112px;height:112px;filter:drop-shadow(0 0 18px rgba(69,214,224,.2))}
.trace{position:absolute;height:1px;background:linear-gradient(90deg,transparent,var(--cyan),transparent);opacity:.5;animation:pulse 3s ease-in-out infinite}.t1{left:0;right:50%;top:36%}.t2{left:50%;right:0;top:62%;animation-delay:.6s}.t3{left:8%;right:58%;top:73%;animation-delay:1.2s}.t4{left:60%;right:5%;top:25%;animation-delay:1.8s}@keyframes pulse{0%,100%{opacity:.12}50%{opacity:.75}}
.section{padding:82px 0}.section.alt{background:color-mix(in srgb,var(--panel) 34%,transparent);border-block:1px solid var(--line)}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.card{padding:25px;border:1px solid var(--line);border-radius:18px;background:var(--panel)}.card .label{font-size:10px;color:var(--cyan);text-transform:uppercase;letter-spacing:.1em;font-weight:900;margin-bottom:10px}.card h3{margin:0 0 8px;font-size:18px}.card p{color:var(--muted);font-size:13.5px;margin:0}.program-tag{display:inline-flex;margin-top:14px;padding:5px 10px;border-radius:999px;background:var(--panel2);font-size:10px;font-weight:900;color:#bcb2ff;letter-spacing:.06em}.program-tag.robotika{color:var(--cyan);border:1px solid rgba(69,214,224,.18)}
.two-col{display:grid;grid-template-columns:1fr 1fr;gap:22px}.panel{border:1px solid var(--line);border-radius:20px;background:var(--panel);padding:28px}.panel h3{margin-top:0}.panel p,.panel li{color:var(--muted)}.list{padding-left:18px;margin:0}.list li+li{margin-top:8px}.donor-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:12px}.donor{min-height:120px;display:flex;align-items:center;justify-content:center;text-align:center;padding:16px;border:1px solid var(--line);border-radius:15px;background:var(--panel);font-size:12px;font-weight:750}
.people-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.person{display:flex;gap:14px;padding:20px;border:1px solid var(--line);border-radius:16px;background:var(--panel)}.avatar{width:54px;height:54px;flex:0 0 54px;border-radius:16px;background:var(--grad);display:grid;place-items:center;font-weight:900;color:white}.person h3{font-size:15px;margin:2px 0 3px}.person p{color:var(--muted);font-size:12px;margin:0}.person .role{color:var(--cyan);font-size:11px;font-weight:800;margin-bottom:4px}.notice{border:1px solid rgba(69,214,224,.24);background:rgba(69,214,224,.055);border-radius:16px;padding:19px;color:var(--muted);font-size:13px}
.page-hero{padding:66px 0 42px;border-bottom:1px solid var(--line)}.page-hero h1{font-size:clamp(36px,5vw,58px);line-height:1;margin:13px 0 15px;letter-spacing:-.045em}.page-hero p{color:var(--muted);max-width:760px;font-size:16px}
.doc-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}.doc{padding:25px;border:1px solid var(--line);border-radius:18px;background:var(--panel)}.doc h3{margin:0 0 7px}.doc p{color:var(--muted);font-size:13px}.doc .btn{margin-top:12px}
.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.contact-line{padding:14px 0;border-bottom:1px solid var(--line)}.contact-line small{display:block;color:var(--muted);margin-bottom:2px}.contact-line strong{font-size:15px}
.post-hero{padding:66px 0 44px;border-bottom:1px solid var(--line)}.post-hero-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:45px;align-items:center}.post-hero h1{font-size:clamp(36px,5vw,60px);line-height:1.02;letter-spacing:-.045em;margin:16px 0}.post-hero p{color:var(--muted);font-size:16px}
.featured-placeholder{aspect-ratio:16/10;border-radius:22px;border:1px solid var(--line);background:radial-gradient(circle at 25% 25%,rgba(69,214,224,.25),transparent 30%),radial-gradient(circle at 70% 65%,rgba(233,79,161,.25),transparent 35%),var(--panel);display:grid;place-items:center;text-align:center;color:var(--muted);font-size:12px;padding:28px}
.article-shell{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:46px;padding:64px 0 80px}.article{min-width:0}.article h2{font-size:28px;margin:36px 0 12px}.article h3{font-size:20px;margin:28px 0 10px}.article p,.article li{color:var(--muted);font-size:15px}.article .intro{font-size:18px;color:var(--text)}.article ul{padding-left:20px}.article li+li{margin-top:8px}
.gallery-preview{display:grid;grid-template-columns:2fr 1fr 1fr;gap:10px;margin:30px 0}.gallery-preview div{min-height:150px;border:1px dashed rgba(255,255,255,.22);border-radius:14px;background:var(--panel);display:grid;place-items:center;color:var(--muted);font-size:11px;text-align:center;padding:12px}.gallery-preview div:first-child{grid-row:span 2;min-height:310px}
.side-card{border:1px solid var(--line);border-radius:16px;background:var(--panel);padding:20px;margin-bottom:14px}.side-card h3{font-size:14px;margin:0 0 11px}.side-card p,.side-card li{color:var(--muted);font-size:12px}.source-link{word-break:break-all;color:var(--cyan)}
.footer{border-top:1px solid var(--line);padding:58px 0 24px;background:var(--bg2)}.footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:34px}.footer h4{font-size:13px;margin:0 0 12px}.footer p,.footer li,.footer a{color:var(--muted);font-size:12px}.footer ul{list-style:none;margin:0;padding:0}.footer li+li{margin-top:7px}.foot-bottom{border-top:1px solid var(--line);margin-top:38px;padding-top:20px;display:flex;justify-content:space-between;color:var(--muted);font-size:11px}
@media(max-width:1050px){.navlinks{display:none}.mobile-toggle{display:block;margin-left:auto}.hero-grid,.post-hero-grid{grid-template-columns:1fr}.tech-stage{max-width:760px;width:100%}.post-grid,.cards{grid-template-columns:repeat(2,1fr)}.donor-grid{grid-template-columns:repeat(3,1fr)}.people-grid{grid-template-columns:repeat(2,1fr)}.footer-grid{grid-template-columns:1fr 1fr}}
@media(max-width:760px){.wrap{width:min(100% - 32px,var(--wrap))}.brand{min-width:0}.brand small{display:none}.nav .btn-primary{display:none}.news-first{padding-top:34px}.section-title{display:block}.section-link{display:inline-block;margin-top:14px}.post-grid,.cards,.two-col,.contact-grid,.doc-grid,.people-grid{grid-template-columns:1fr}.donor-grid{grid-template-columns:1fr 1fr}.hero{padding-top:58px}.hero h1{font-size:38px}.article-shell{grid-template-columns:1fr;padding-top:42px}.gallery-preview{grid-template-columns:1fr 1fr}.gallery-preview div:first-child{grid-column:1/-1;grid-row:auto;min-height:220px}.footer-grid{grid-template-columns:1fr}.review-banner .wrap{display:block}}
@media(max-width:460px){.donor-grid{grid-template-columns:1fr}.post-grid{grid-template-columns:1fr}.hero h1{font-size:34px}}




/* ======================================================================
   V2 — RESTORED DIP GLOBAL HEADER / MOBILE APP NAV
   ====================================================================== */
.dip-brand-logo-img{display:block;width:62px;height:40px;flex:0 0 62px;object-fit:contain}
.dip-global-header{position:relative;z-index:9999;width:100%}
.dip-global-header .dip-main-nav{
  display:block;position:sticky;top:0;z-index:9999;width:100%;
  background:rgba(8,11,24,.90);border-bottom:1px solid var(--line);
  backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)
}
.dip-global-header .dip-main-nav>.wrap{
  width:min(1480px,calc(100% - 56px));max-width:1480px;height:76px;
  margin:0 auto;padding:0;display:flex;align-items:center;gap:30px
}
.dip-global-header .dip-brand{display:flex;align-items:center;gap:11px;flex:0 0 auto}
.dip-global-header .dip-brand small{
  display:block;max-width:145px;color:var(--muted);font-size:9px;
  font-weight:700;line-height:1.25;letter-spacing:.13em;text-transform:uppercase
}
.dip-global-header .navlinks{
  display:flex;align-items:center;justify-content:center;flex:1;gap:clamp(18px,1.8vw,32px)
}
.dip-global-header .navlinks a{
  position:relative;padding:6px 0;color:var(--muted);font-size:14px;font-weight:600;white-space:nowrap
}
.dip-global-header .navlinks a:hover,.dip-global-header .navlinks a.active{color:var(--text)}
.dip-global-header .navlinks a.active::after{
  content:"";position:absolute;left:0;right:0;bottom:0;height:2px;border-radius:2px;background:var(--grad)
}
.theme-toggle{
  width:44px;height:44px;flex:0 0 44px;border-radius:13px;
  display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--line);
  background:rgba(255,255,255,.035);color:var(--text);cursor:pointer
}
.theme-toggle svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.theme-icon-dark{display:none}
html[data-theme="light"] .theme-icon-light{display:none}
html[data-theme="light"] .theme-icon-dark{display:block}
html[data-theme="light"] .dip-global-header .dip-main-nav{background:rgba(244,247,251,.92)}
.mobile-menu-toggle{
  display:none;width:44px;height:44px;border:1px solid var(--line);border-radius:13px;
  background:rgba(255,255,255,.035);color:var(--text);place-items:center;cursor:pointer
}
.mobile-menu-toggle svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
.mobile-menu-layer{
  position:fixed;inset:0;z-index:10000;display:flex;align-items:flex-end;justify-content:center;
  padding:18px;pointer-events:none;background:rgba(0,0,0,0);transition:background .2s
}
.mobile-menu-layer.open{pointer-events:auto;background:rgba(2,5,15,.62)}
.mobile-menu-panel{
  width:min(720px,calc(100% - 32px));max-height:80vh;overflow:auto;
  background:linear-gradient(180deg,rgba(22,27,58,.98),rgba(10,13,29,.99));
  border:1px solid rgba(255,255,255,.11);border-radius:28px;padding:18px;
  box-shadow:0 30px 90px rgba(0,0,0,.55);transform:translateY(110%);
  transition:transform .26s cubic-bezier(.2,.8,.2,1)
}
.mobile-menu-layer.open .mobile-menu-panel{transform:translateY(0)}
.mobile-menu-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:4px 4px 16px}
.mobile-menu-brand{display:flex;align-items:center;gap:12px;min-width:0}
.mobile-menu-brand strong{display:block;font-size:15px}.mobile-menu-brand>div>span{display:block;color:var(--muted);font-size:11px}
.mobile-menu-close{width:40px;height:40px;border-radius:13px;border:1px solid var(--line);background:rgba(255,255,255,.04);color:var(--text);font-size:23px;cursor:pointer}
.mobile-menu-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:4px 0 14px}
.mobile-menu-link{min-height:74px;display:flex;align-items:center;padding:13px 14px;border:1px solid var(--line);border-radius:17px;background:rgba(255,255,255,.025);color:var(--muted);font-size:13px;font-weight:700}
.mobile-menu-link:hover,.mobile-menu-link.active{color:var(--text);border-color:rgba(123,92,250,.48);background:linear-gradient(135deg,rgba(123,92,250,.15),rgba(62,123,250,.08))}
.mobile-menu-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding-top:14px;border-top:1px solid var(--line)}
.mobile-quick-action,.mobile-theme-control{display:flex;align-items:center;justify-content:center;gap:7px;padding:11px 10px;border-radius:14px;background:rgba(255,255,255,.035);border:1px solid var(--line);font-size:11.5px;color:var(--muted)}
.mobile-theme-control{grid-column:1/-1;width:100%;color:var(--text);cursor:pointer}
.mobile-menu-join{display:flex;justify-content:center;align-items:center;margin-top:10px;padding:13px 18px;border-radius:15px;background:var(--grad);font-size:13.5px;font-weight:700;color:#fff}
.mobile-bottom-nav{display:none}
body.dip-menu-open{overflow:hidden}
html[data-theme="light"] .mobile-menu-panel{background:rgba(255,255,255,.98)}

@media(max-width:1024px){
  .dip-global-header .dip-main-nav>.wrap{width:100%;height:78px;padding:0 20px}
  .dip-global-header .navlinks,.dip-global-header .theme-toggle,.dip-global-header .dip-desktop-join{display:none}
  .dip-global-header .mobile-menu-toggle{display:grid;margin-left:auto}
  .dip-global-header .dip-brand small{max-width:190px;font-size:11px;letter-spacing:normal;text-transform:none}
  .mobile-bottom-nav{
    display:flex;position:fixed;z-index:9998;left:50%;bottom:max(14px,env(safe-area-inset-bottom));
    transform:translateX(-50%);width:min(620px,calc(100vw - 32px));height:86px;padding:9px 10px;gap:5px;
    background:rgba(15,19,39,.90);border:1px solid rgba(255,255,255,.10);border-radius:24px;
    box-shadow:0 18px 50px rgba(0,0,0,.34);backdrop-filter:blur(18px)
  }
  .mobile-bottom-link,.mobile-bottom-more{
    flex:1;min-width:0;border:0;background:transparent;color:#AEB7D0;border-radius:18px;
    display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;font-size:12.5px;font-weight:700
  }
  .mobile-nav-icon{display:block;width:32px;height:32px;fill:currentColor;stroke:none}
  .mobile-bottom-link.active,.mobile-bottom-more.active{color:#fff;background:linear-gradient(135deg,rgba(123,92,250,.26),rgba(62,123,250,.16))}
  .mobile-bottom-link.active .mobile-nav-icon{color:#72E8F3;fill:#72E8F3}
  body{padding-bottom:110px}
}
@media(max-width:560px){
  .dip-global-header .dip-main-nav>.wrap{padding:0 14px}
  .dip-brand-logo{width:54px;height:38px;flex-basis:54px}
  .dip-global-header .dip-brand small{font-size:10.5px}
  .mobile-bottom-nav{width:calc(100vw - 24px);height:84px}
  .mobile-nav-icon{width:30px;height:30px}
}

/* ======================================================================
   V2 — RESTORED DIP FOOTER
   ====================================================================== */
.dip-global-footer{width:100%;padding:64px 0 32px;border-top:1px solid var(--line);background:var(--bg);color:var(--text)}
.dip-global-footer>.wrap{width:min(1180px,calc(100% - 48px));max-width:1180px;margin:auto}
.dip-global-footer .dip-brand{display:flex;align-items:center;gap:12px;width:fit-content}
.dip-global-footer .dip-brand small{display:block;max-width:160px;color:var(--muted);font-size:10px;line-height:1.3;letter-spacing:.10em;text-transform:uppercase}
.dip-global-footer .foot-grid{display:grid;grid-template-columns:1.5fr 1fr 1.2fr 1fr;gap:40px;align-items:start}
.dip-global-footer .foot-about p,.dip-global-footer .dip-footer-join-copy{color:var(--muted);font-size:13.5px;line-height:1.7}
.dip-global-footer .foot-about p{margin-top:14px;max-width:260px}
.dip-global-footer h4{margin:0 0 16px;color:var(--muted);font-size:13px;font-weight:700;letter-spacing:.06em;text-transform:uppercase}
.dip-global-footer ul{list-style:none;padding:0;margin:0}.dip-global-footer li{margin-bottom:8px;color:var(--muted);font-size:13px}
.dip-global-footer .foot-bottom{border-top:1px solid var(--line);margin-top:38px;padding-top:20px;display:flex;justify-content:space-between;color:var(--muted);font-size:11px}
@media(max-width:850px){.dip-global-footer .foot-grid{grid-template-columns:1fr 1fr}}
@media(max-width:620px){.dip-global-footer .foot-grid{grid-template-columns:1fr}.dip-global-footer .foot-bottom{flex-direction:column;gap:5px}}

/* ======================================================================
   V2 — DONOR LOGOS: grayscale -> original color on hover
   ====================================================================== */
.donor-logo-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.donor-logo-card{
  min-height:154px;padding:20px;border:1px solid var(--line);border-radius:18px;background:var(--panel);
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;text-align:center;
  transition:transform .22s,border-color .22s,background .22s
}
.donor-logo-card:hover{transform:translateY(-3px);border-color:rgba(123,92,250,.48)}
.donor-logo-frame{height:76px;width:100%;display:grid;place-items:center}
.donor-logo-frame img{display:block;max-width:180px;max-height:72px;width:auto;height:auto;filter:grayscale(1) saturate(0) opacity(.66);transition:filter .25s,transform .25s}
.donor-logo-card:hover img{filter:grayscale(0) saturate(1) opacity(1);transform:scale(1.03)}
.donor-fallback{display:none;color:var(--muted);font-weight:800;letter-spacing:.04em}
.donor-logo-card strong{font-size:12.5px;color:var(--muted)}
.donor-logo-card:hover strong{color:var(--text)}
@media(max-width:900px){.donor-logo-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:520px){.donor-logo-grid{grid-template-columns:1fr}}

/* Generic wide about panel after removing named people/activity leaders. */
.dip-about-wide{max-width:850px;margin:auto}


/* ===== Living DIP PCB hero — preview.html integration ===== */
.hero{padding:64px 0 48px;overflow:hidden;}
.hero .wrap{max-width:1500px;}
.hero-grid-live{
  display:grid;
  grid-template-columns:minmax(430px,.82fr) minmax(650px,1.18fr);
  gap:24px;
  align-items:center;
}
.hero-copy{position:relative;z-index:4;min-width:0;}

.hero-pcb-stage{
  --pcb-trace:rgba(84,130,255,.30);
  position:relative;
  width:100%;
  height:590px;
  min-width:0;
  isolation:isolate;
  overflow:hidden;
  border-radius:32px;
  background:
    radial-gradient(circle at 50% 48%, rgba(76,111,240,.13), transparent 34%),
    radial-gradient(circle at 78% 36%, rgba(138,87,232,.08), transparent 27%),
    radial-gradient(circle at 20% 60%, rgba(46,155,232,.07), transparent 26%);
}
.hero-pcb-stage::before{
  content:"";position:absolute;inset:0;opacity:.22;pointer-events:none;
  background-image:
    linear-gradient(rgba(255,255,255,.018) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.018) 1px,transparent 1px);
  background-size:40px 40px;
  -webkit-mask-image:radial-gradient(circle at center,#000 0 48%,transparent 85%);
  mask-image:radial-gradient(circle at center,#000 0 48%,transparent 85%);
}
.hero-pcb-ambient{
  position:absolute;left:50%;top:50%;width:92%;aspect-ratio:1.8/1;
  transform:translate(-50%,-50%);border-radius:50%;filter:blur(45px);opacity:.18;pointer-events:none;
  background:linear-gradient(90deg,rgba(46,155,232,.5),rgba(76,111,240,.35),rgba(138,87,232,.5));
  animation:heroPcbBreathe 5.5s ease-in-out infinite;
}
@keyframes heroPcbBreathe{50%{opacity:.27;transform:translate(-50%,-50%) scale(1.04)}}
.hero-pcb-stage svg{position:absolute;inset:0;width:100%;height:100%;display:block;overflow:hidden;}
.hero-pcb-stage .trace{fill:none;stroke:var(--pcb-trace);stroke-width:1.3;stroke-linecap:round;stroke-linejoin:round;}
.hero-pcb-stage .trace.soft{stroke:rgba(123,92,250,.18);}
.hero-pcb-stage .trace.live{stroke:url(#traceGrad);stroke-width:1.7;opacity:.48;}
.hero-pcb-stage .node{fill:#7FEAFF;filter:url(#nodeGlow);opacity:.75;}
.hero-pcb-stage .node.v{fill:#9D70FF;}
.hero-pcb-stage .microdot{fill:rgba(122,160,255,.34);}
.hero-pcb-stage .chip-shell{fill:rgba(9,15,34,.82);stroke:url(#chipGrad);stroke-width:1.6;filter:url(#chipGlow);}
.hero-pcb-stage .chip-inner{fill:rgba(10,16,37,.78);stroke:rgba(138,167,255,.18);stroke-width:1;}
.hero-pcb-stage .pin{fill:url(#pinGrad);opacity:.9;}
.hero-pcb-stage .logo-wrap{transform-origin:center;animation:heroPcbBootIn 1.15s cubic-bezier(.2,.8,.2,1) both;}
@keyframes heroPcbBootIn{0%{opacity:0;transform:scale(.92)}55%{opacity:1}100%{opacity:1;transform:scale(1)}}
.hero-pcb-stage .logo-main{filter:url(#logoGlow);}
.hero-pcb-stage .logo-echo{opacity:.13;filter:url(#blurGlow);animation:heroPcbEcho 3.2s ease-in-out infinite;}
@keyframes heroPcbEcho{50%{opacity:.25}}
.hero-pcb-stage .scan{fill:url(#scanGrad);opacity:0;mix-blend-mode:screen;animation:heroPcbScan 3.8s ease-in-out 1.25s infinite;}
@keyframes heroPcbScan{0%,12%{opacity:0;transform:translateX(-420px)}18%{opacity:.65}44%{opacity:.18}56%,100%{opacity:0;transform:translateX(620px)}}
.hero-pcb-stage .pulse{filter:url(#pulseGlow);}
.hero-pcb-stage .orbit{fill:none;stroke:rgba(93,139,255,.12);stroke-width:1;stroke-dasharray:4 10;animation:heroPcbOrbit 18s linear infinite;transform-origin:center;}
.hero-pcb-stage .orbit.two{animation-duration:27s;animation-direction:reverse;stroke:rgba(145,91,255,.10);}
@keyframes heroPcbOrbit{to{transform:rotate(360deg)}}
.hero-pcb-stage .spark{opacity:0;animation:heroPcbSpark 3.6s ease-in-out infinite;}
@keyframes heroPcbSpark{0%,78%,100%{opacity:0}82%{opacity:1}87%{opacity:.1}}

html[data-theme="light"] .hero-pcb-stage{
  --pcb-trace:rgba(42,100,190,.30);
  background:
    radial-gradient(circle at 50% 48%,rgba(53,112,222,.14),transparent 34%),
    radial-gradient(circle at 78% 36%,rgba(93,82,205,.09),transparent 27%),
    radial-gradient(circle at 20% 60%,rgba(31,151,190,.08),transparent 26%),
    rgba(238,245,255,.55);
  border:1px solid rgba(48,92,160,.08);
}
html[data-theme="light"] .hero-pcb-stage::before{
  opacity:.34;
  background-image:linear-gradient(rgba(47,78,126,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(47,78,126,.045) 1px,transparent 1px);
}
html[data-theme="light"] .hero-pcb-stage .chip-shell{fill:rgba(242,247,255,.94);}
html[data-theme="light"] .hero-pcb-stage .chip-inner{fill:rgba(249,251,255,.92);stroke:rgba(54,95,165,.20);}
html[data-theme="light"] .hero-pcb-stage .microdot{fill:rgba(45,95,170,.28);}

@media(max-width:1280px){
  .hero-grid-live{grid-template-columns:minmax(390px,.88fr) minmax(540px,1.12fr);gap:16px;}
  .hero-pcb-stage{height:530px;}
}
@media(max-width:1024px){
  .hero{padding-top:44px;}
  .hero-grid-live{grid-template-columns:1fr;gap:14px;}
  .hero-copy{max-width:760px;}
  .hero-pcb-stage{height:500px;margin-top:4px;}
}
@media(max-width:700px){
  .hero{padding:32px 0 38px;}
  .hero-pcb-stage{height:390px;margin-left:-16px;width:calc(100% + 32px);border-radius:20px;}
  .hero .chip-row{display:grid;grid-template-columns:1fr 1fr;width:100%;}
  .hero .chip{min-width:0;}
}
@media(max-width:420px){.hero-pcb-stage{height:330px;}}
@media(prefers-reduced-motion:reduce){
  .hero-pcb-stage *, .hero-pcb-stage::before{animation:none!important;transition:none!important;}
  .hero-pcb-stage .scan{display:none;}
}


/* V3 — production-like post media, no editorial placeholder copy */
.post-featured-media{
  aspect-ratio:16/10;
  border-radius:22px;
  overflow:hidden;
  border:1px solid var(--line);
  background:
    radial-gradient(circle at 26% 24%,rgba(69,214,224,.23),transparent 31%),
    radial-gradient(circle at 72% 68%,rgba(233,79,161,.22),transparent 35%),
    linear-gradient(135deg,rgba(123,92,250,.22),rgba(62,123,250,.08)),
    var(--panel);
  display:grid;
  place-items:center;
  min-height:260px;
}
.post-featured-media img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.post-featured-media .dip-media-mark{
  width:150px;
  max-width:45%;
  opacity:.88;
  filter:drop-shadow(0 0 24px rgba(69,214,224,.18));
}
.post-materials{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:12px;
}


/* ======================================================================
   V4 — DONOR LOGO ASSETS SUPPLIED BY DIP
   Gray by default, original color on hover.
   ====================================================================== */
.donor-logo-stack{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:7px;
  width:100%;
  min-height:76px;
}
.donor-logo-stack img{
  display:block;
  width:auto;
  height:auto;
  object-fit:contain;
  filter:grayscale(1) saturate(0) opacity(.66);
  transition:filter .25s ease, transform .25s ease, opacity .25s ease;
}
.donor-main-logo{
  max-width:180px;
  max-height:66px;
}
.donor-extra-logo{
  max-width:185px;
  max-height:24px;
}
.donor-logo-card:hover .donor-logo-stack img{
  filter:grayscale(0) saturate(1) opacity(1);
  transform:scale(1.02);
}

/* White institutional logos need a subtle dark canvas in dark mode. */
html[data-theme="dark"] .donor-logo-frame{
  border-radius:12px;
  padding:8px;
  background:rgba(255,255,255,.025);
}
html[data-theme="light"] .donor-logo-frame{
  background:transparent;
}

/* Homepage hero copy: production desktop sizing */
@media(min-width:1025px){
  .hero h1{
    font-size:clamp(34px,3.05vw,46px);
    line-height:1.04;
  }
}


/* ======================================================================
   V5 — UPDATED DONOR ASSETS
   ====================================================================== */

/* Grad Pula — requested SVG variant */
.donor-city-pula{
  max-width:150px!important;
  max-height:76px!important;
}

/*
   HSIN source is a JPEG with a baked-in background.
   Since JPEG cannot contain alpha transparency, the preview uses
   mix-blend-mode:multiply to visually suppress a light background and
   make it behave more like a transparent logo on both theme variants.
*/
.donor-hsin-photo{
  max-width:205px!important;
  max-height:82px!important;
  object-fit:contain;
  mix-blend-mode:multiply;
  border-radius:8px;
}

/* Keep grayscale-at-rest / color-on-hover behavior. */
.donor-logo-card .donor-hsin-photo{
  filter:grayscale(1) saturate(0) contrast(1.03) opacity(.76);
}
.donor-logo-card:hover .donor-hsin-photo{
  filter:grayscale(0) saturate(1) contrast(1.02) opacity(1);
}

/* Light theme needs a neutral logo stage for the JPEG blend. */
html[data-theme="light"] .donor-logo-card:has(.donor-hsin-photo) .donor-logo-frame{
  background:#f5f6f8;
}

/* Dark theme uses a slightly lighter neutral stage to preserve HSIN details. */
html[data-theme="dark"] .donor-logo-card:has(.donor-hsin-photo) .donor-logo-frame{
  background:#dfe3e8;
}


/* ======================================================================
   V6 — HSIN transparent-capable donor asset
   Reverted from JPEG workaround to GIF logo + textmark pair.
   ====================================================================== */
.donor-hsin-main{
  max-width:170px!important;
  max-height:64px!important;
  mix-blend-mode:normal!important;
  border-radius:0!important;
}
.donor-hsin-text{
  max-width:188px!important;
  max-height:26px!important;
  mix-blend-mode:normal!important;
}
.donor-logo-card .donor-hsin-main,
.donor-logo-card .donor-hsin-text{
  filter:grayscale(1) saturate(0) opacity(.68);
}
.donor-logo-card:hover .donor-hsin-main,
.donor-logo-card:hover .donor-hsin-text{
  filter:grayscale(0) saturate(1) opacity(1);
}

/* Neutralize the old JPEG-specific donor frame backgrounds */
html[data-theme="light"] .donor-logo-card:has(.donor-hsin-main) .donor-logo-frame,
html[data-theme="dark"] .donor-logo-card:has(.donor-hsin-main) .donor-logo-frame{
  background:transparent;
}


/* ======================================================================
   V7 — LOCAL DONOR ASSETS + OPTICAL NORMALIZATION
   ====================================================================== */

.donor-logo-grid{
  align-items:stretch;
}

.donor-logo-card{
  min-height:178px;
  display:grid;
  grid-template-rows:104px auto;
  align-items:center;
  justify-items:center;
  gap:12px;
  padding:20px 18px 18px;
}

.donor-logo-frame{
  width:100%;
  height:104px;
  padding:0!important;
  background:transparent!important;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:visible;
}

.donor-logo-stack{
  width:100%;
  height:100%;
  min-height:0;
  display:flex;
  align-items:center;
  justify-content:center;
}

.donor-local-logo{
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:center;
  filter:grayscale(1) saturate(0) opacity(.68);
  transition:
    filter .24s ease,
    opacity .24s ease,
    transform .24s ease;
  transform-origin:center;
}

.donor-logo-card:hover .donor-local-logo{
  filter:grayscale(0) saturate(1) opacity(1);
}

/*
  Optical normalization:
  equal CSS boxes do not look equal because each logo has different
  proportions / visual weight. Per-logo scale/offsets compensate for that.
*/
.donor-ztk{
  transform:scale(.90) translateY(1px);
}
.donor-pula{
  transform:scale(.82) translateY(0);
}
.donor-istra{
  transform:scale(.92) translateY(1px);
}
.donor-hsin{
  transform:scale(.91) translateY(1px);
}

.donor-logo-card:hover .donor-ztk{
  transform:scale(.93) translateY(1px);
}
.donor-logo-card:hover .donor-pula{
  transform:scale(.85);
}
.donor-logo-card:hover .donor-istra{
  transform:scale(.95) translateY(1px);
}
.donor-logo-card:hover .donor-hsin{
  transform:scale(.94) translateY(1px);
}

.donor-logo-card strong{
  align-self:end;
  min-height:20px;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  line-height:1.25;
}

/* Remove obsolete remote-image special cases from visual behavior. */
.donor-hsin-photo,
.donor-hsin-main,
.donor-hsin-text,
.donor-city-pula{
  mix-blend-mode:normal!important;
}

@media(max-width:900px){
  .donor-logo-card{
    min-height:168px;
    grid-template-rows:94px auto;
  }
  .donor-logo-frame{height:94px}
}


/* ======================================================================
   V8 — EDITABLE DIVI POST TEMPLATE PREVIEW
   Theme Builder frame + fully editable Post Content area.
   ====================================================================== */
.dip-post-page{background:var(--bg)}
.dip-post-hero{
  padding:70px 0 58px;
  border-bottom:1px solid var(--line);
  background:
    radial-gradient(ellipse at 14% 0%,rgba(123,92,250,.13),transparent 46%),
    var(--bg);
}
.dip-post-hero-grid{
  display:grid;
  grid-template-columns:minmax(0,1.08fr) minmax(360px,.72fr);
  gap:58px;
  align-items:center;
}
.dip-post-heading h1{
  margin:15px 0 17px;
  max-width:830px;
  font-size:clamp(38px,4.6vw,62px);
  line-height:1.02;
  letter-spacing:-.047em;
}
.dip-post-heading>p{
  max-width:760px;
  margin:0;
  color:var(--muted);
  font-size:17px;
  line-height:1.7;
}
.dip-post-featured-fallback{
  position:relative;
  min-height:300px;
  aspect-ratio:16/10;
  display:grid;
  place-items:center;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:24px;
  background:
    radial-gradient(circle at 28% 30%,rgba(69,214,224,.19),transparent 31%),
    radial-gradient(circle at 74% 67%,rgba(233,79,161,.18),transparent 34%),
    linear-gradient(135deg,rgba(123,92,250,.16),rgba(62,123,250,.05)),
    var(--panel);
}
.dip-post-featured-fallback img{
  position:relative;z-index:2;
  width:148px;max-width:42%;
  filter:drop-shadow(0 0 24px rgba(69,214,224,.18));
}
.dip-post-featured-grid{
  position:absolute;inset:0;opacity:.38;
  background-image:
    linear-gradient(rgba(69,214,224,.065) 1px,transparent 1px),
    linear-gradient(90deg,rgba(69,214,224,.065) 1px,transparent 1px);
  background-size:26px 26px;
}
.dip-post-content-shell{padding:68px 0 84px}
.dip-post-content{max-width:900px}
.dip-post-lead{
  margin:0 0 34px;
  color:var(--text);
  font-size:20px;
  line-height:1.75;
  font-weight:520;
}
.dip-post-content h2{
  margin:46px 0 13px;
  font-size:28px;
  line-height:1.15;
  letter-spacing:-.025em;
}
.dip-post-content p{
  color:var(--muted);
  font-size:16px;
  line-height:1.82;
}
.dip-post-info{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  margin:34px 0 44px;
  border:1px solid var(--line);
  border-radius:18px;
  overflow:hidden;
  background:var(--panel);
}
.dip-post-info-row{
  min-height:82px;
  padding:16px 20px;
  display:flex;flex-direction:column;justify-content:center;gap:4px;
  border-bottom:1px solid var(--line);
}
.dip-post-info-row:nth-child(odd){border-right:1px solid var(--line)}
.dip-post-info-row:nth-last-child(-n+2){border-bottom:0}
.dip-post-info-row span{
  color:var(--muted);font-size:10px;font-weight:800;
  text-transform:uppercase;letter-spacing:.08em;
}
.dip-post-info-row strong{font-size:14px;line-height:1.45}
.dip-post-contact{
  margin-top:50px;
  padding:20px 22px;
  border:1px solid var(--line);
  border-radius:17px;
  background:var(--panel);
  display:flex;
  justify-content:space-between;
  gap:20px;
  align-items:center;
}
.dip-post-contact span{
  display:block;color:var(--muted);
  font-size:10px;text-transform:uppercase;letter-spacing:.08em;font-weight:800;
}
.dip-post-contact strong{display:block;margin-top:3px;font-size:14px}
.dip-related-section{
  padding:72px 0 82px;
  border-top:1px solid var(--line);
  background:color-mix(in srgb,var(--panel) 32%,transparent);
}
.dip-related-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}
.dip-related-card{
  overflow:hidden;border:1px solid var(--line);
  border-radius:17px;background:var(--panel);
  transition:transform .2s,border-color .2s;
}
.dip-related-card:hover{transform:translateY(-3px);border-color:rgba(123,92,250,.46)}
.dip-related-media{
  height:116px;display:grid;place-items:center;
  background:
    radial-gradient(circle at 30% 30%,rgba(69,214,224,.17),transparent 34%),
    linear-gradient(135deg,rgba(123,92,250,.15),rgba(62,123,250,.04)),
    var(--panel2);
}
.dip-related-media img{width:64px;max-height:64px;object-fit:contain;opacity:.8}
.dip-related-body{padding:17px}
.dip-related-body h3{margin:10px 0 0;font-size:15px;line-height:1.35}

@media(max-width:900px){
  .dip-post-hero-grid{grid-template-columns:1fr}
  .dip-post-featured-fallback{max-width:720px;width:100%}
  .dip-related-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:620px){
  .dip-post-hero{padding:48px 0 42px}
  .dip-post-heading h1{font-size:36px}
  .dip-post-content-shell{padding:48px 0 62px}
  .dip-post-lead{font-size:18px}
  .dip-post-info{grid-template-columns:1fr}
  .dip-post-info-row,.dip-post-info-row:nth-child(odd){border-right:0;border-bottom:1px solid var(--line)}
  .dip-post-info-row:last-child{border-bottom:0}
  .dip-post-contact{align-items:flex-start;flex-direction:column}
  .dip-related-grid{grid-template-columns:1fr}
}


/* ======================================================================
   V9 — FULL WORKSHOP CURRICULA / SESSION PLANS
   ====================================================================== */
.dip-session-plan{
  margin:28px 0 8px;
  border:1px solid var(--line);
  border-radius:18px;
  overflow:hidden;
  background:var(--panel);
}
.dip-session-item{
  display:grid;
  grid-template-columns:88px minmax(0,1fr);
  border-bottom:1px solid var(--line);
}
.dip-session-item:last-child{border-bottom:0}
.dip-session-number{
  display:flex;
  align-items:flex-start;
  justify-content:center;
  padding:21px 14px;
  color:var(--cyan);
  font-size:13px;
  font-weight:900;
  background:color-mix(in srgb,var(--panel2) 72%,transparent);
  border-right:1px solid var(--line);
}
.dip-session-body{padding:18px 22px}
.dip-session-body h3{
  margin:0 0 7px;
  font-size:16px;
  line-height:1.35;
}
.dip-session-body p,
.dip-session-body li{
  margin:0;
  color:var(--muted);
  font-size:14px;
  line-height:1.65;
}
.dip-session-body ul{
  margin:7px 0 0;
  padding-left:18px;
}
.dip-session-body li+li{margin-top:5px}
.dip-source-list{
  margin:14px 0 32px;
  padding-left:22px;
}
.dip-source-list li{
  margin-bottom:8px;
  color:var(--muted);
  font-size:16px;
  line-height:1.65;
}
@media(max-width:620px){
  .dip-session-item{grid-template-columns:58px minmax(0,1fr)}
  .dip-session-number{padding:18px 8px;font-size:11px}
  .dip-session-body{padding:16px}
}


/* ==========================================================================
   DIP DIVI / WORDPRESS PRODUCTION INTEGRATION — v3
   ========================================================================== */

html{background:var(--bg)}
body.dip-divi-site,
body.dip-divi-site #page-container,
body.dip-divi-site #main-content,
body.dip-divi-site .et-l--body,
body.dip-divi-site .et_builder_inner_content{
  background:var(--bg);
  color:var(--text);
}
html[data-theme="light"] body.dip-divi-site,
html[data-theme="light"] body.dip-divi-site #page-container,
html[data-theme="light"] body.dip-divi-site #main-content,
html[data-theme="light"] body.dip-divi-site .et-l--body,
html[data-theme="light"] body.dip-divi-site .et_builder_inner_content{
  background:var(--bg);
}

/* Stable shortcode wrapper model: full Divi row, normal centered inner .wrap. */
.et_pb_section.dip-shortcode-shell,
.et_pb_section:has(.dip-shortcode-section),
.et_pb_section:has(.dip-global-header),
.et_pb_section:has(.dip-global-footer){
  width:100%!important;
  max-width:100%!important;
  margin:0!important;
  padding:0!important;
  background:transparent!important;
}
.et_pb_row.dip-shortcode-row,
.et_pb_row:has(.dip-shortcode-section),
.et_pb_row:has(.dip-global-header),
.et_pb_row:has(.dip-global-footer){
  width:100%!important;
  max-width:100%!important;
  margin:0!important;
  padding:0!important;
}
.et_pb_code.dip-shortcode-code,
.et_pb_code:has(.dip-shortcode-section),
.et_pb_code:has(.dip-global-header),
.et_pb_code:has(.dip-global-footer),
.et_pb_code.dip-shortcode-code .et_pb_code_inner{
  width:100%!important;
  max-width:100%!important;
  margin:0!important;
  padding:0!important;
}
.dip-shortcode-section{width:100%;max-width:100%;margin:0}

/* Brand image is a real plugin-hosted <img>, not CSS background. */
.dip-brand-logo-img{
  display:block;
  width:62px;
  height:40px;
  flex:0 0 62px;
  object-fit:contain;
}
.mobile-menu-brand .dip-brand-logo-img{width:58px;height:42px}
.dip-global-footer .dip-brand-logo-img{width:62px;height:40px}
@media(max-width:560px){
  .dip-brand-logo-img{width:54px;height:38px;flex-basis:54px}
}

/* Dynamic WordPress cards use the V9 post-card appearance. */
.post-media.has-image{background:var(--panel2)}
.post-media.has-image::after{display:none}
.post-media.has-image img{
  width:100%;height:100%;object-fit:cover;display:block;
}
.dip-filterbar{
  display:flex;flex-wrap:wrap;gap:9px;margin:0 0 26px;
}
.dip-filter{
  appearance:none;border:1px solid var(--line);border-radius:999px;
  padding:8px 14px;background:var(--panel);color:var(--muted);
  font:700 12px/1.2 Inter,system-ui,sans-serif;cursor:pointer;
  transition:.2s border-color,.2s color,.2s background;
}
.dip-filter:hover,.dip-filter.is-active{
  color:var(--text);border-color:rgba(123,92,250,.5);
  background:linear-gradient(135deg,rgba(123,92,250,.15),rgba(62,123,250,.08));
}
.dip-grid-status{margin-top:14px;color:var(--muted);font-size:12px}
.dip-grid-loading{opacity:.55;pointer-events:none}
.dip-no-posts{
  grid-column:1/-1;padding:28px;border:1px dashed var(--line);
  border-radius:16px;text-align:center;color:var(--muted);
}

/* Theme Builder: ALL POSTS — editable body architecture */
.dip-tb-post-hero{
  padding:70px 0 58px!important;
  border-bottom:1px solid var(--line);
  background:
    radial-gradient(ellipse at 14% 0%,rgba(123,92,250,.13),transparent 46%),
    var(--bg)!important;
}
.dip-tb-post-hero>.et_pb_row{
  width:min(var(--wrap),calc(100% - 48px))!important;
  max-width:var(--wrap)!important;
  padding:0!important;
}
.dip-tb-post-hero .et_pb_post_title{
  background:transparent!important;
}
.dip-tb-post-hero .et_pb_post_title h1,
.dip-tb-post-hero .et_pb_post_title .entry-title{
  margin:12px 0 16px!important;
  color:var(--text)!important;
  font-size:clamp(38px,4.6vw,62px)!important;
  line-height:1.02!important;
  letter-spacing:-.047em!important;
}
.dip-tb-post-hero .et_pb_title_meta_container,
.dip-tb-post-hero .et_pb_title_meta_container a{
  color:var(--muted)!important;
  font-size:12px!important;
}
.dip-tb-post-excerpt,
.dip-tb-post-excerpt p{
  color:var(--muted)!important;
  font-size:17px!important;
  line-height:1.7!important;
}
.dip-post-featured-widget{
  position:relative;aspect-ratio:16/10;min-height:300px;
  overflow:hidden;border:1px solid var(--line);border-radius:24px;
  background:
    radial-gradient(circle at 28% 30%,rgba(69,214,224,.19),transparent 31%),
    radial-gradient(circle at 74% 67%,rgba(233,79,161,.18),transparent 34%),
    linear-gradient(135deg,rgba(123,92,250,.16),rgba(62,123,250,.05)),
    var(--panel);
}
.dip-post-featured-widget img{
  width:100%;height:100%;object-fit:cover;display:block;
}
.dip-post-featured-widget.is-fallback{
  display:grid;place-items:center;
}
.dip-post-featured-widget.is-fallback::before{
  content:"";position:absolute;inset:0;opacity:.38;
  background-image:
    linear-gradient(rgba(69,214,224,.065) 1px,transparent 1px),
    linear-gradient(90deg,rgba(69,214,224,.065) 1px,transparent 1px);
  background-size:26px 26px;
}
.dip-post-featured-widget.is-fallback img{
  position:relative;z-index:2;width:148px;height:auto;max-width:42%;
  object-fit:contain;filter:drop-shadow(0 0 24px rgba(69,214,224,.18));
}

.dip-tb-post-content{
  padding:0!important;background:var(--bg)!important;
}
.dip-tb-post-content>.et_pb_row{
  width:100%!important;max-width:100%!important;
  padding:0!important;margin:0!important;
}
.dip-tb-post-content .et_pb_post_content{
  margin:0!important;padding:0!important;
}
/* Divi-built post content stays full width. */
.dip-tb-post-content .et_pb_post_content .et-l--post,
.dip-tb-post-content .et_pb_post_content .et_builder_inner_content{
  width:100%!important;max-width:100%!important;margin:0!important;
}
/* Standard WordPress content receives readable defaults until a post is converted to Divi. */
.dip-tb-post-content .et_pb_post_content > :where(p,h2,h3,h4,ul,ol,blockquote,.dip-session-plan,.dip-post-info){
  width:min(900px,calc(100% - 48px));
  margin-left:auto;
  margin-right:auto;
}
.dip-tb-post-content .et_pb_post_content > p:first-child{
  margin-top:68px;
  color:var(--text);font-size:20px;line-height:1.75;font-weight:520;
}
.dip-tb-post-content .et_pb_post_content > h2{
  margin-top:46px;margin-bottom:13px;
  color:var(--text);font-size:28px;line-height:1.15;letter-spacing:-.025em;
}
.dip-tb-post-content .et_pb_post_content > p,
.dip-tb-post-content .et_pb_post_content > ul,
.dip-tb-post-content .et_pb_post_content > ol{
  color:var(--muted);font-size:16px;line-height:1.82;
}
.dip-tb-post-content .et_pb_post_content > :last-child{margin-bottom:76px}

.dip-post-contact-widget{
  width:min(900px,calc(100% - 48px));margin:0 auto 74px;
  padding:20px 22px;border:1px solid var(--line);border-radius:17px;
  background:var(--panel);display:flex;justify-content:space-between;
  align-items:center;gap:20px;
}
.dip-post-contact-widget span{
  display:block;color:var(--muted);font-size:10px;
  text-transform:uppercase;letter-spacing:.08em;font-weight:800;
}
.dip-post-contact-widget strong{display:block;margin-top:3px;font-size:14px}

.dip-related-wrap{
  padding:72px 0 82px;border-top:1px solid var(--line);
  background:color-mix(in srgb,var(--panel) 32%,transparent);
}
.dip-related-head{
  display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:26px;
}
.dip-related-head h2{margin:5px 0 0;font-size:clamp(26px,3vw,36px)}
.dip-related-head>a{color:var(--cyan);font-size:13px;font-weight:700}
.dip-related-wrap .post-grid{grid-template-columns:repeat(3,1fr)}

@media(max-width:900px){
  .dip-tb-post-hero>.et_pb_row{width:min(100% - 32px,var(--wrap))!important}
  .dip-related-wrap .post-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:620px){
  .dip-tb-post-hero{padding:48px 0 42px!important}
  .dip-tb-post-hero .et_pb_post_title h1,
  .dip-tb-post-hero .et_pb_post_title .entry-title{font-size:36px!important}
  .dip-post-contact-widget{align-items:flex-start;flex-direction:column;margin-bottom:58px}
  .dip-related-wrap .post-grid{grid-template-columns:1fr}
}

/* Full workshop curriculum blocks inside regular or Divi Text Modules. */
.dip-session-plan{
  margin:28px auto 8px;
  border:1px solid var(--line);
  border-radius:18px;overflow:hidden;background:var(--panel);
}
.dip-session-item{
  display:grid;grid-template-columns:88px minmax(0,1fr);
  border-bottom:1px solid var(--line);
}
.dip-session-item:last-child{border-bottom:0}
.dip-session-number{
  display:flex;align-items:flex-start;justify-content:center;
  padding:21px 14px;color:var(--cyan);font-size:13px;font-weight:900;
  background:color-mix(in srgb,var(--panel2) 72%,transparent);
  border-right:1px solid var(--line);
}
.dip-session-body{padding:18px 22px}
.dip-session-body h3{margin:0 0 7px;font-size:16px;line-height:1.35}
.dip-session-body p,.dip-session-body li{
  margin:0;color:var(--muted);font-size:14px;line-height:1.65;
}
.dip-session-body ul{margin:7px 0 0;padding-left:18px}
.dip-session-body li+li{margin-top:5px}
.dip-source-list{margin:14px 0 32px;padding-left:22px}
.dip-source-list li{
  margin-bottom:8px;color:var(--muted);font-size:16px;line-height:1.65;
}
@media(max-width:620px){
  .dip-session-item{grid-template-columns:58px minmax(0,1fr)}
  .dip-session-number{padding:18px 8px;font-size:11px}
  .dip-session-body{padding:16px}
}


/* ==========================================================================
   DIP v3.0.1 — DIVI POST CONTENT DARK/LIGHT FIX

   Divi može generirati bijelu .et_pb_section pozadinu UNUTAR native
   Post Content Modulea čak i kada urednik nije ručno postavio background.
   Ovaj patch čini takve sekcije theme-aware.
   ========================================================================== */

.dip-tb-post-content,
.dip-tb-post-content .et_pb_post_content,
.dip-tb-post-content .et-l--post,
.dip-tb-post-content .et_builder_inner_content{
  background:var(--bg)!important;
  color:var(--text)!important;
}

/* Nested Divi sections inside the post body follow the DIP theme automatically. */
.dip-tb-post-content .et_pb_post_content .et-l--post .et_builder_inner_content > .et_pb_section:not(.dip-use-divi-background),
.dip-tb-post-content .et_pb_post_content > .et_pb_section:not(.dip-use-divi-background){
  background-color:var(--bg)!important;
  background-image:none!important;
  color:var(--text)!important;
}

/* Rows stay transparent so the themed section background shows through. */
.dip-tb-post-content .et_pb_post_content .et_pb_row{
  background-color:transparent!important;
}

/* Default Text Modules follow the active theme. */
.dip-tb-post-content .et_pb_text:not(.dip-use-divi-colors),
.dip-tb-post-content .et_pb_text:not(.dip-use-divi-colors) p,
.dip-tb-post-content .et_pb_text:not(.dip-use-divi-colors) li{
  color:var(--muted)!important;
}

.dip-tb-post-content .et_pb_text:not(.dip-use-divi-colors) h1,
.dip-tb-post-content .et_pb_text:not(.dip-use-divi-colors) h2,
.dip-tb-post-content .et_pb_text:not(.dip-use-divi-colors) h3,
.dip-tb-post-content .et_pb_text:not(.dip-use-divi-colors) h4,
.dip-tb-post-content .et_pb_text:not(.dip-use-divi-colors) h5,
.dip-tb-post-content .et_pb_text:not(.dip-use-divi-colors) h6{
  color:var(--text)!important;
}

.dip-tb-post-content .et_pb_text:not(.dip-use-divi-colors) a{
  color:var(--cyan)!important;
}

/* Theme-aware editor surfaces. Add one of these classes to a Divi Section. */
.dip-tb-post-content .et_pb_section.dip-surface-default{background:var(--bg)!important}
.dip-tb-post-content .et_pb_section.dip-surface-alt{background:var(--bg2)!important}
.dip-tb-post-content .et_pb_section.dip-surface-panel{background:var(--panel)!important}
.dip-tb-post-content .et_pb_section.dip-surface-panel2{background:var(--panel2)!important}

/* Divider inherits theme line color. */
.dip-tb-post-content .et_pb_divider:before{
  border-color:var(--line)!important;
}



/* ==========================================================================
   DIP v3.0.2 — POST CONTENT TYPOGRAPHY NORMALIZATION
   Ujednačava font unutar WordPress/Divi objava na isti tipografski sustav
   koji koristi ostatak DIP weba.
   ========================================================================== */

.dip-tb-post-content,
.dip-tb-post-content .et_pb_post_content,
.dip-tb-post-content .et_pb_text,
.dip-tb-post-content .et_pb_text p,
.dip-tb-post-content .et_pb_text li,
.dip-tb-post-content .et_pb_text a,
.dip-tb-post-content .et_pb_text span,
.dip-tb-post-content .et_pb_code,
.dip-post-contact-widget,
.dip-related-wrap,
.dip-related-wrap .post-card,
.dip-related-wrap .post-card p,
.dip-related-wrap .post-card a{
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
}

/* Naslovi u sadržaju objave */
.dip-tb-post-content h1,
.dip-tb-post-content h2,
.dip-tb-post-content h3,
.dip-tb-post-content h4,
.dip-tb-post-content h5,
.dip-tb-post-content h6,
.dip-tb-post-content .et_pb_text h1,
.dip-tb-post-content .et_pb_text h2,
.dip-tb-post-content .et_pb_text h3,
.dip-tb-post-content .et_pb_text h4,
.dip-tb-post-content .et_pb_text h5,
.dip-tb-post-content .et_pb_text h6,
.dip-post-contact-widget strong,
.dip-related-wrap h2,
.dip-related-wrap h3{
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
}

/* Standardizira osnovnu čitljivost sadržaja, bez blokiranja Divi layouta. */
.dip-tb-post-content .et_pb_text p,
.dip-tb-post-content .et_pb_text li{
  font-size:16px;
  line-height:1.8;
}

.dip-tb-post-content .et_pb_text h2{
  font-size:28px;
  line-height:1.15;
  letter-spacing:-.025em;
}

.dip-tb-post-content .et_pb_text h3{
  font-size:22px;
  line-height:1.2;
  letter-spacing:-.015em;
}

/* Omogućuje svjesni opt-out ako urednik želi poseban font u jednom modulu. */
.dip-tb-post-content .dip-use-divi-font,
.dip-tb-post-content .dip-use-divi-font *{
  font-family:inherit!important;
}



/* ==========================================================================
   DIP v3.0.4 — OFFICIAL DONOR LOGOS + MOBILE FEATURED IMAGE FIX
   ========================================================================== */

/* --------------------------------------------------------------------------
   Donors
   v3.0.4 no longer renders the locally generated logo approximations.
   The cards use the image assets published by ZTK Pula / HSIN.
   -------------------------------------------------------------------------- */

.donor-logo-grid-official{
  align-items:stretch;
}

.donor-logo-card-official{
  min-height:188px;
  grid-template-rows:118px auto;
  padding:20px 18px 18px;
}

.donor-logo-card-official .donor-logo-frame{
  height:118px;
  width:100%;
  padding:12px 18px!important;
  overflow:hidden;
  box-sizing:border-box;
  border-radius:14px;
  background:rgba(255,255,255,.97)!important;
  border:1px solid rgba(148,163,184,.18);
}

.donor-logo-card-official .donor-official-stack{
  width:100%;
  height:100%;
  min-width:0;
  display:flex;
  align-items:center;
  justify-content:center;
}

.donor-logo-card-official .donor-official-logo{
  display:block;
  width:auto;
  height:auto;
  max-width:min(100%,270px);
  max-height:88px;
  object-fit:contain;
  object-position:center;
  opacity:.9;
  filter:grayscale(1) saturate(0);
  transition:filter .22s ease,opacity .22s ease,transform .22s ease;
}

.donor-logo-card-official:hover .donor-official-logo{
  opacity:1;
  filter:none;
  transform:scale(1.025);
}

/* Individual optical sizing, using the real artwork rather than generated SVGs. */
.donor-logo-card-official .donor-official-ztk{
  max-width:260px;
  max-height:88px;
}

.donor-logo-card-official .donor-official-pula{
  max-width:240px;
  max-height:86px;
}

.donor-logo-card-official .donor-official-istra{
  max-width:260px;
  max-height:88px;
}

.donor-hsin-images{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
}

.donor-logo-card-official .donor-official-hsin-mark{
  max-width:82px;
  max-height:80px;
}

.donor-logo-card-official .donor-official-hsin-wordmark{
  max-width:190px;
  max-height:68px;
}

.donor-logo-fallback{
  display:none;
  width:100%;
  height:100%;
  align-items:center;
  justify-content:center;
  text-align:center;
  color:#172033;
  font-weight:800;
  line-height:1.25;
}

.donor-hsin-official.is-broken .donor-hsin-images{
  display:none;
}

.donor-hsin-official.is-broken .donor-hsin-fallback{
  display:flex;
}

/* The old generated local SVG classes remain harmless for backwards
   compatibility, but are no longer used by the donor template. */

/* --------------------------------------------------------------------------
   Single Post featured media — prevent any mobile horizontal overflow.
   -------------------------------------------------------------------------- */

.dip-tb-post-hero{
  overflow-x:clip;
}

.dip-tb-post-hero .et_pb_row,
.dip-tb-post-hero .et_pb_column,
.dip-tb-post-hero .et_pb_code,
.dip-tb-post-hero .et_pb_code_inner{
  min-width:0!important;
  max-width:100%!important;
  box-sizing:border-box!important;
}

.dip-post-featured-widget{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
  margin-left:0!important;
  margin-right:0!important;
}

.dip-post-featured-widget img{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  height:100%!important;
  object-fit:cover!important;
  box-sizing:border-box!important;
}

/* Divi can preserve column widths/margins from desktop settings.
   Collapse those explicitly on phones so the media never exceeds viewport. */
@media(max-width:767px){
  .dip-tb-post-hero .et_pb_row{
    width:calc(100% - 28px)!important;
    max-width:calc(100% - 28px)!important;
    margin-left:auto!important;
    margin-right:auto!important;
    padding-left:0!important;
    padding-right:0!important;
  }

  .dip-tb-post-hero .et_pb_column{
    width:100%!important;
    max-width:100%!important;
    margin-left:0!important;
    margin-right:0!important;
  }

  .dip-tb-post-hero .et_pb_code,
  .dip-tb-post-hero .et_pb_code_inner{
    width:100%!important;
  }

  .dip-post-featured-widget{
    width:100%!important;
    max-width:100%!important;
    min-height:0!important;
    aspect-ratio:16/10;
    border-radius:20px;
  }

  .donor-logo-card-official{
    min-height:178px;
    grid-template-rows:108px auto;
  }

  .donor-logo-card-official .donor-logo-frame{
    height:108px;
    padding:12px 22px!important;
  }

  .donor-logo-card-official .donor-official-logo{
    max-width:min(100%,300px);
    max-height:82px;
  }
}

@media(max-width:520px){
  .donor-logo-grid-official{
    grid-template-columns:1fr;
  }

  .donor-logo-card-official{
    min-height:168px;
    grid-template-rows:100px auto;
  }

  .donor-logo-card-official .donor-logo-frame{
    height:100px;
    padding:10px 24px!important;
  }

  .donor-logo-card-official .donor-official-ztk,
  .donor-logo-card-official .donor-official-istra{
    max-width:280px;
    max-height:78px;
  }

  .donor-logo-card-official .donor-official-pula{
    max-width:250px;
    max-height:76px;
  }

  .donor-logo-card-official .donor-official-hsin-mark{
    max-width:74px;
    max-height:72px;
  }

  .donor-logo-card-official .donor-official-hsin-wordmark{
    max-width:180px;
    max-height:62px;
  }
}



/* ==========================================================================
   DIP v3.0.5 — NEWS FILTER / GRID SPACING
   ========================================================================== */

[data-dip-news-module] .dip-filterbar{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:10px;
  margin:0 0 38px!important;
  padding:0;
}

[data-dip-news-module] .post-grid{
  margin-top:0!important;
}

@media(max-width:767px){
  [data-dip-news-module] .dip-filterbar{
    gap:8px;
    margin-bottom:30px!important;
  }
}

@media(max-width:520px){
  [data-dip-news-module] .dip-filterbar{
    margin-bottom:28px!important;
  }
}



/* ==========================================================================
   DIP v3.0.6 — STANDARDIZED DONOR SVGs + FOOTER SITE CREDIT
   ========================================================================== */

/* Donor cards now use the supplied standardized local SVG artwork. */
.donor-logo-grid-unified .donor-logo-card-unified{
  min-height:188px;
  grid-template-rows:118px auto;
  padding:20px 18px 18px;
}

.donor-logo-grid-unified .donor-logo-frame{
  width:100%;
  height:118px;
  padding:9px 18px!important;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  box-sizing:border-box;
  border-radius:14px;
  background:rgba(255,255,255,.97)!important;
  border:1px solid rgba(148,163,184,.18);
}

.donor-logo-grid-unified .donor-unified-logo{
  display:block!important;
  width:auto!important;
  height:auto!important;
  max-width:104px!important;
  max-height:104px!important;
  object-fit:contain!important;
  object-position:center!important;
  opacity:.92;
  filter:grayscale(1) saturate(0);
  transition:filter .22s ease,opacity .22s ease,transform .22s ease;
}

.donor-logo-grid-unified .donor-logo-card-unified:hover .donor-unified-logo{
  opacity:1;
  filter:none;
  transform:scale(1.035);
}

.donor-logo-grid-unified .donor-logo-card-unified strong{
  margin-top:0;
}

/* Footer credit: intentionally secondary and visually aligned with copyright. */
.dip-global-footer .foot-bottom{
  align-items:flex-start;
  gap:24px;
}

.dip-global-footer .foot-bottom-meta{
  display:flex;
  flex-direction:column;
  gap:5px;
  min-width:0;
}

.dip-global-footer .dip-site-credit{
  color:var(--muted);
  font:inherit;
  font-weight:400;
  line-height:1.45;
}

.dip-global-footer .dip-site-credit a{
  color:var(--muted);
  font:inherit;
  font-weight:400;
  text-decoration:none;
  transition:color .2s ease;
}

.dip-global-footer .dip-site-credit a:hover,
.dip-global-footer .dip-site-credit a:focus-visible{
  color:var(--cyan);
}

@media(max-width:767px){
  .donor-logo-grid-unified .donor-logo-card-unified{
    min-height:174px;
    grid-template-rows:106px auto;
  }

  .donor-logo-grid-unified .donor-logo-frame{
    height:106px;
    padding:9px 18px!important;
  }

  .donor-logo-grid-unified .donor-unified-logo{
    max-width:92px!important;
    max-height:92px!important;
  }

  .dip-global-footer .foot-bottom{
    gap:7px;
  }

  .dip-global-footer .foot-bottom-meta{
    gap:4px;
  }
}

@media(max-width:520px){
  .donor-logo-grid-unified{
    grid-template-columns:1fr;
  }

  .donor-logo-grid-unified .donor-logo-card-unified{
    min-height:168px;
    grid-template-rows:102px auto;
  }

  .donor-logo-grid-unified .donor-logo-frame{
    height:102px;
  }

  .donor-logo-grid-unified .donor-unified-logo{
    max-width:90px!important;
    max-height:90px!important;
  }
}



/* ==========================================================================
   DIP v3.0.7 — VODITELJ / EDUKATOR CARD
   Reusable instructor profile card for selected posts.
   ========================================================================== */

.dip-tb-post-content .dip-instructor-card,
.dip-instructor-card{
  display:grid;
  grid-template-columns:148px minmax(0,1fr);
  gap:26px;
  align-items:center;
  width:100%;
  max-width:920px;
  margin:34px auto;
  padding:24px 26px;
  box-sizing:border-box;
  border:1px solid var(--line);
  border-radius:22px;
  background:
    radial-gradient(circle at 8% 18%, rgba(61,219,255,.10), transparent 34%),
    linear-gradient(135deg, var(--panel), var(--panel2));
  box-shadow:0 16px 42px rgba(0,0,0,.10);
  color:var(--text);
  overflow:hidden;
}

.dip-instructor-photo-wrap{
  display:flex;
  justify-content:center;
  align-items:center;
}

.dip-instructor-photo{
  width:136px;
  height:136px;
  flex:0 0 136px;
  overflow:hidden;
  border-radius:50%;
  border:2px solid rgba(61,219,255,.34);
  background:var(--bg2);
  box-shadow:
    0 0 0 6px rgba(61,219,255,.055),
    0 12px 30px rgba(0,0,0,.16);
}

.dip-instructor-photo img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  object-fit:cover!important;
  object-position:50% 35%!important;
  transform:scale(1.18);
  transform-origin:50% 36%;
}

.dip-instructor-content{
  min-width:0;
}

.dip-instructor-kicker{
  margin:0 0 5px;
  color:var(--cyan);
  font-size:11px;
  line-height:1.3;
  font-weight:800;
  letter-spacing:.11em;
  text-transform:uppercase;
}

.dip-instructor-name{
  margin:0!important;
  color:var(--text)!important;
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
  font-size:clamp(22px,2.5vw,30px)!important;
  line-height:1.12!important;
  letter-spacing:-.025em;
}

.dip-instructor-role{
  margin-top:5px;
  color:var(--muted);
  font-size:14px;
  line-height:1.45;
}

.dip-instructor-bio{
  margin-top:15px;
  color:var(--muted);
}

.dip-instructor-bio p{
  margin:0 0 10px!important;
  color:var(--muted)!important;
  font-size:15px!important;
  line-height:1.72!important;
}

.dip-instructor-bio p:last-child{
  margin-bottom:0!important;
}

.dip-instructor-bio strong{
  color:var(--text);
  font-weight:700;
}

@media(max-width:767px){
  .dip-tb-post-content .dip-instructor-card,
  .dip-instructor-card{
    grid-template-columns:112px minmax(0,1fr);
    gap:18px;
    margin:28px auto;
    padding:20px;
    border-radius:20px;
  }

  .dip-instructor-photo{
    width:104px;
    height:104px;
    flex-basis:104px;
  }

  .dip-instructor-bio p{
    font-size:14px!important;
    line-height:1.68!important;
  }
}

@media(max-width:520px){
  .dip-tb-post-content .dip-instructor-card,
  .dip-instructor-card{
    grid-template-columns:1fr;
    gap:15px;
    padding:20px 18px;
  }

  .dip-instructor-photo{
    width:116px;
    height:116px;
    flex-basis:116px;
  }

  .dip-instructor-content{
    text-align:center;
  }

  .dip-instructor-role{
    max-width:300px;
    margin-left:auto;
    margin-right:auto;
  }

  .dip-instructor-bio{
    margin-top:14px;
    text-align:left;
  }
}

