.domak-projects{padding:160px 0;color:#141414;background-color:#fff;background-image:repeating-linear-gradient(90deg,rgba(68,181,0,.15) 0 10px,#fff 10px 20px)}
.domak-projects-head{display:flex;flex-direction:column;gap:24px;margin-bottom:48px}
.domak-projects-eyebrow{font-size:18px;line-height:1.5;font-weight:500}
.domak-projects-title-row{display:grid;grid-template-columns:620px 513px;gap:131px;align-items:center}
.domak-projects h2{font-size:48px;line-height:1.2;font-weight:600;letter-spacing:0;margin:0}
.domak-projects h2 span{color:#44b500}
.domak-projects-title-row>p{margin:0;font-size:18px;line-height:1.5;color:rgba(20,20,20,.6)}
.domak-projects--archive{padding:148px 0 160px;background:#fff;background-image:none}
.domak-projects--archive h2{font-size:56px}
.domak-project-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.domak-project-card{position:relative;overflow:hidden;min-height:617px;border-radius:24px;background:#fff;box-shadow:0 10px 30px rgba(20,20,20,.045),0 3px 10px rgba(20,20,20,.025)}
.domak-project-media{position:relative;height:364px;margin:8px 8px 0;overflow:hidden;border-radius:20px 20px 0 0;background:#e8e8e4}
.domak-project-slides{position:absolute;inset:0;display:flex;height:100%;transition:transform .65s cubic-bezier(.22,1,.36,1);will-change:transform}
.domak-project-slide{position:relative;display:block;flex:0 0 100%;min-width:100%;height:100%}
.domak-project-slide img,.domak-project-placeholder{display:block;width:100%;height:100%;object-fit:cover}
.domak-project-slide:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 69.5%,rgba(0,0,0,.4) 100%);pointer-events:none}
.domak-project-placeholder{background:linear-gradient(145deg,#dfe3da,#a7b49e)}
.domak-project-status-pill{position:absolute;z-index:4;left:40px;top:40px;display:flex;align-items:center;gap:6px;min-width:146px;width:auto;max-width:calc(100% - 80px);min-height:46px;height:auto;box-sizing:border-box;padding:8px 20px 8px 16px;border-radius:40px;background:#fff;color:#141414;font-size:16px;line-height:1;font-weight:600;box-shadow:0 7px 22px rgba(20,20,20,.045);pointer-events:none}
.domak-project-status-icon{display:grid;place-items:center;width:24px;height:24px;flex:0 0 24px}
.domak-project-status-icon img{display:block;width:20px;height:20px;object-fit:contain}
.domak-project-media-nav{position:absolute;z-index:5;left:40px;right:40px;bottom:24px;display:flex;align-items:center;justify-content:space-between;pointer-events:none}
.domak-project-media-dots,.domak-project-media-arrows{display:flex;align-items:center;pointer-events:auto}
.domak-project-media-dots{gap:9px;padding:10px}
.domak-project-media-dots button{width:8px;height:8px;padding:0;border:0;border-radius:50%;background:rgba(255,255,255,.5);cursor:pointer;touch-action:manipulation;transition:background .2s ease}
.domak-project-media-dots button.is-active{background:#fff}
.domak-project-media-arrows{gap:16px}
.domak-project-media-arrows button{width:48px;height:48px;padding:0;display:grid;place-items:center;border:0;border-radius:50%;background:#fff;color:#141414;font:inherit;cursor:pointer;box-shadow:0 8px 22px rgba(20,20,20,.045);touch-action:manipulation;transition:background .2s ease,transform .2s ease}
.domak-project-media-arrows button:hover,.domak-project-media-arrows button:focus-visible{background:#f4f4f0;transform:translateY(-1px)}
.domak-project-body{box-sizing:border-box;width:612px;max-width:calc(100% - 8px);min-height:245px;margin-left:8px;padding:40px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:16px}
.domak-project-body h3{width:100%;margin:0;font-size:24px;line-height:1;font-weight:600}
.domak-project-body h3 a{text-decoration:none;color:#141414}
.domak-project-body>p{width:100%;margin:0;font-size:16px;line-height:1.3;color:rgba(20,20,20,.6)}
.domak-project-stats{width:100%;display:grid;grid-template-columns:250px 250px;align-items:center;gap:24px;margin:0;color:rgba(20,20,20,.6);font-size:16px;line-height:1.3}
.domak-project-stats>div{min-width:0;display:flex;flex-direction:column;gap:4px}
.domak-project-stats p{margin:0}
.domak-project-stats strong{color:#141414;font-weight:600}
.domak-projects-more{display:flex;justify-content:center;margin-top:48px}
.domak-projects-more .domak-button{position:relative;z-index:2;pointer-events:auto;touch-action:manipulation;gap:10px}
.domak-projects-more .domak-button>span[aria-hidden="true"]{display:inline-grid;place-items:center;width:24px;height:24px;flex:0 0 24px;font-size:24px;line-height:24px}
.domak-project-card--placeholder{min-height:560px}
.domak-project-arrow-icon{position:relative;display:block;width:24px;height:24px;overflow:hidden}
.domak-project-arrow-icon.is-prev{transform:rotate(180deg)}
.domak-project-arrow-icon img{position:absolute;inset:0;display:block;width:24px;height:24px;object-fit:contain}
.domak-project-arrow-vector{pointer-events:none}
@media(max-width:1100px) and (min-width:783px){.domak-project-stats{grid-template-columns:repeat(2,minmax(0,1fr));justify-content:normal}}

/* v0.6.6 — desktop project cards locked to the supplied Figma geometry */
@media (min-width: 1180px) {
  .domak-project-grid{
    width:1264px;
    max-width:100%;
    margin-inline:auto;
    grid-template-columns:620px 620px;
    gap:24px;
    justify-content:center;
    align-items:start;
  }

  .domak-project-card{
    box-sizing:border-box;
    width:620px;
    min-height:617px;
    padding:8px 8px 0;
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    overflow:hidden;
    background:#fff;
    border-radius:24px;
    box-shadow:44px 99px 65px rgba(0,0,0,.02),19px 44px 48px rgba(0,0,0,.03),5px 11px 27px rgba(0,0,0,.03);
  }

  .domak-project-media{
    width:604px;
    height:364px;
    margin:0;
    flex:0 0 364px;
    border-radius:20px 20px 0 0;
    overflow:hidden;
  }

  .domak-project-slide:after{
    background:linear-gradient(180deg,rgba(0,0,0,0) 69.5%,rgba(0,0,0,.4) 100%);
  }

  .domak-project-status-pill{
    left:32px;
    top:32px;
    width:146px;
    min-width:146px;
    max-width:calc(100% - 64px);
    height:46px;
    min-height:46px;
    padding:8px 20px 8px 16px;
    gap:6px;
    border-radius:40px;
    box-shadow:none;
    font-size:16px;
    line-height:16px;
    font-weight:600;
  }

  .domak-project-status-icon{
    width:24px;
    height:24px;
    flex:0 0 24px;
  }
  .domak-project-status-icon img{width:20px;height:20px}

  .domak-project-media-nav{
    left:40px;
    right:auto;
    bottom:24px;
    width:524px;
    height:48px;
    justify-content:space-between;
    gap:16px;
  }

  .domak-project-media-dots{
    box-sizing:border-box;
    width:96px;
    height:28px;
    padding:10px;
    gap:9px;
    align-items:flex-start;
    justify-content:flex-start;
  }
  .domak-project-media-dots button{width:8px;height:8px;flex:0 0 8px}

  .domak-project-media-arrows{
    width:112px;
    height:48px;
    gap:16px;
  }
  .domak-project-media-arrows button{
    width:48px;
    height:48px;
    flex:0 0 48px;
    border-radius:50px;
    background:#fff;
    box-shadow:44px 99px 65px rgba(0,0,0,.02),19px 44px 48px rgba(0,0,0,.03),5px 11px 27px rgba(0,0,0,.03);
  }
  .domak-project-media-arrows button:hover,
  .domak-project-media-arrows button:focus-visible{
    background:#fff;
    transform:none;
  }

  .domak-project-body{
    box-sizing:border-box;
    width:612px;
    max-width:none;
    min-height:245px;
    margin:0 0 0 -0px;
    padding:40px;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:flex-start;
    gap:16px;
  }

  .domak-project-body h3{
    width:532px;
    max-width:100%;
    min-height:24px;
    margin:0;
    display:flex;
    align-items:center;
    font-size:24px;
    line-height:24px;
    font-weight:600;
  }

  .domak-project-body>p{
    width:532px;
    max-width:100%;
    min-height:63px;
    margin:0;
    display:flex;
    align-items:center;
    font-size:16px;
    line-height:1.3;
    font-weight:400;
    color:rgba(20,20,20,.6);
  }

  .domak-project-stats{
    width:532px;
    max-width:100%;
    min-height:46px;
    margin:0;
    display:grid;
    grid-template-columns:250px 250px;
    align-items:center;
    gap:24px;
    font-size:16px;
    line-height:1.3;
  }
  .domak-project-stats>div{
    width:250px;
    min-height:46px;
    gap:4px;
    justify-content:center;
  }
  .domak-project-stats p{
    min-height:21px;
    display:flex;
    align-items:center;
  }
  .domak-project-stats strong{font-weight:600}
}

/* Long PL/DE content may grow, but preserves the Figma minimum rhythm. */
@media (min-width:1180px){
  body.domak-lang-pl .domak-project-card,
  body.domak-lang-de .domak-project-card{height:auto;min-height:617px}
  body.domak-lang-pl .domak-project-body,
  body.domak-lang-de .domak-project-body{height:auto;min-height:245px}
  body.domak-lang-pl .domak-project-body>p,
  body.domak-lang-de .domak-project-body>p{height:auto;min-height:63px}
  body.domak-lang-pl .domak-project-status-pill,
  body.domak-lang-de .domak-project-status-pill{width:auto;min-width:146px;height:auto;min-height:46px;white-space:nowrap}
}



@media (min-width:1180px){
  .domak-projects:not(.domak-projects--archive) .domak-projects-head{align-items:center;text-align:center}
  .domak-projects:not(.domak-projects--archive) .domak-projects-title-row{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;gap:24px;text-align:center}
  .domak-projects:not(.domak-projects--archive) .domak-projects-title-row h2{width:auto;margin-inline:auto;text-align:center;letter-spacing:0}
  .domak-projects:not(.domak-projects--archive) .domak-projects-title-row>p{width:min(100%,620px);text-align:center}
}

/* v0.7.76 — single mobile implementation from the supplied 393px reference.
   The old stacked project-card overrides were removed from theme responsive.css. */
@media (max-width:782px){
  .domak-projects{min-height:0;padding:80px 0;background-image:repeating-linear-gradient(90deg,rgba(68,181,0,.15) 0 10px,#fff 10px 20px)}
  .domak-projects--archive{padding:178px 0 80px;background:#fff;background-image:none}
  .domak-projects-head{gap:24px;margin-bottom:48px}
  .domak-projects-eyebrow{font-size:16px;line-height:1.5}
  .domak-projects-title-row{display:flex;flex-direction:column;gap:24px;align-items:flex-start}
  .domak-projects h2,.domak-projects--archive h2{margin:0;font-size:32px;line-height:1.2;text-align:left}
  .domak-projects-title-row>p{margin:0;font-size:18px;line-height:1.5}
  .domak-project-grid{grid-template-columns:1fr;gap:24px}
  .domak-project-card{box-sizing:border-box;width:100%;min-height:573px;border-radius:24px;background:#fff;box-shadow:0 8px 24px rgba(20,20,20,.045),0 3px 10px rgba(20,20,20,.025)}
  .domak-project-media{height:264px;aspect-ratio:auto;margin:8px 8px 0;border-radius:20px 20px 0 0}
  .domak-project-status-pill{left:16px;top:16px;width:auto;height:34px;min-height:34px;max-width:calc(100% - 32px);padding:8px 12px 8px 8px;font-size:14px;line-height:1;white-space:nowrap}
  .domak-project-status-icon{width:18px;height:18px;flex-basis:18px}
  .domak-project-status-icon img{width:15px;height:15px}
  .domak-project-media-nav{left:16px;right:16px;bottom:16px;height:8px}
  .domak-project-media-dots{gap:9px;padding:0 10px}
  .domak-project-media-dots button{width:8px;height:8px;flex:0 0 8px}
  .domak-project-media-arrows{display:none}
  .domak-project-body{width:calc(100% - 16px);max-width:none;min-height:301px;margin:0 8px;padding:24px 16px;justify-content:center;gap:16px}
  .domak-project-body h3{margin:0;font-size:20px;line-height:1}
  .domak-project-body>p{margin:0;font-size:16px;line-height:1.3}
  .domak-project-stats{width:100%;grid-template-columns:1fr;gap:24px;margin:0;font-size:16px;line-height:1.3}
  .domak-project-stats>div{display:flex;flex-direction:column;gap:4px;width:100%;min-height:0}
  .domak-project-stats p{margin:0}
  .domak-projects-more{justify-content:center;margin-top:40px}
  body.domak-lang-pl .domak-project-status-pill,body.domak-lang-de .domak-project-status-pill{width:auto;max-width:calc(100% - 32px);height:auto;min-height:34px;white-space:normal;line-height:1.1}
}
