/* DA6IT Wavelog project landing page */
.single-project .da6it-project-content,
.single-project .da6it-project-content p,
.single-project .da6it-project-content li,
.single-project .da6it-project-content h2,
.single-project .da6it-project-content h3,
.single-project .da6it-project-content h4 {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif !important;
}
.single-project .da6it-project-content { font-size: 1rem; line-height: 1.65; }
.da6it-wavelog-landing {
  --wl-green: #62c92d; --wl-green-dark: #3d9d22; --wl-cyan: #13b9c4;
  --wl-teal: #079ba3; --wl-ink: #173d38; --wl-muted: #627b76;
  --wl-border: #dcece8; --wl-soft: #f4faf8; --wl-soft-cyan: #f0fbfd;
  margin-top: 1rem;
}
.da6it-wavelog-landing p { font-size: 1rem !important; line-height: 1.7 !important; }

/* 1.7.3: remove global block-gap between header and project hero. */
body.single-project .wp-site-blocks > main.da6it-project-hero,
body.single-project .wp-site-blocks > .wp-block-template-part + main.da6it-project-hero {
  margin-block-start: 0 !important;
}
.da6it-afu-tool-link {
  display:inline-flex;align-items:center;gap:.35rem;margin-top:.8rem;padding:.62rem .9rem;
  border:1px solid #cfe8e2;border-radius:999px;background:#fff;color:var(--wl-teal)!important;
  font-size:.86rem;font-weight:800;line-height:1;text-decoration:none!important;
  box-shadow:0 6px 18px rgba(28,83,72,.06);transition:.15s ease;
}
.da6it-afu-tool-link:hover{border-color:#99d8cf;transform:translateY(-1px)}
.da6it-afu-tools-more{margin:3rem 0 1rem;padding:clamp(1.3rem,3vw,2rem);border:1px solid var(--wl-border);border-radius:22px;background:linear-gradient(135deg,#f8fcfb,#f2fbfd)}
.da6it-afu-tools-more h2{margin-top:0!important}
.da6it-afu-tools-more-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;margin-top:1.2rem}
.da6it-afu-tools-more-card{padding:1.1rem;border:1px solid var(--wl-border);border-radius:16px;background:#fff}
.da6it-afu-tools-more-card h3{margin:0 0 .5rem!important;font-size:1.08rem!important}
.da6it-afu-tools-more-card p{margin:0 0 .8rem!important;color:var(--wl-muted);font-size:.92rem!important}
@media(max-width:781px){.da6it-afu-tools-more-grid{grid-template-columns:1fr}}

.da6it-wavelog-landing h2 { font-size: clamp(1.8rem, 3vw, 2.65rem) !important; line-height: 1.12 !important; letter-spacing: -.025em; }
.da6it-wavelog-landing h3 { font-size: clamp(1.35rem, 2vw, 1.75rem) !important; line-height: 1.2 !important; letter-spacing: -.015em; }
.da6it-wavelog-kicker {
  padding: clamp(1.4rem, 3vw, 2.4rem); border: 1px solid var(--wl-border); border-radius: 24px;
  background: linear-gradient(135deg, #f5fbf8 0%, #f0fbfd 100%); margin: 1.5rem 0 2.4rem;
}
.da6it-wavelog-kicker .da6it-eyebrow {
  display: inline-flex; margin: 0 0 .85rem; padding: .32rem .7rem; border-radius: 999px;
  background: #e9f8e4; color: var(--wl-green-dark); font-size: .76rem !important; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase;
}
.da6it-wavelog-kicker .da6it-lead { max-width: 760px; margin-bottom: 0; color: var(--wl-muted); font-size: 1.08rem !important; }
.da6it-benefit-grid { gap: 1rem !important; margin: 1.2rem 0 3.5rem; }
.da6it-benefit-card { height: 100%; padding: 1.25rem; border: 1px solid var(--wl-border); border-radius: 18px; background: #fff; }
.da6it-benefit-card .da6it-card-tag, .da6it-feature-tag {
  display: inline-block; margin-bottom: .65rem; padding: .26rem .62rem; border-radius: 999px;
  background: #eef9f6; color: var(--wl-teal); font-size: .74rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase;
}
.da6it-benefit-card h3 { margin: .1rem 0 .55rem !important; font-size: 1.1rem !important; }
.da6it-benefit-card p { margin: 0; color: var(--wl-muted); font-size: .95rem !important; }
.da6it-wavelog-feature { gap: clamp(1.4rem, 4vw, 3.5rem) !important; align-items: center; margin: clamp(3rem, 6vw, 5.2rem) 0 !important; }
.da6it-wavelog-feature .wp-block-column { min-width: 0; }
.da6it-wavelog-copy { padding: .25rem 0; }
.da6it-wavelog-copy h3 { margin: .15rem 0 .9rem !important; }
.da6it-wavelog-copy p { max-width: 56ch; margin: 0 0 1rem; color: #395b55; }
.da6it-wavelog-copy ul { margin: 1.1rem 0 0; padding: 0; list-style: none; }
.da6it-wavelog-copy li { position: relative; margin: .58rem 0; padding-left: 1.55rem; color: #31554e; }
.da6it-wavelog-copy li::before { content: "✓"; position: absolute; left: 0; top: .02rem; color: var(--wl-green-dark); font-weight: 900; }
.da6it-wavelog-media { margin: 0 !important; border: 1px solid var(--wl-border); border-radius: 22px; padding: .65rem; background: #fff; box-shadow: 0 18px 52px rgba(28,83,72,.10); }
.da6it-wavelog-media a { position: relative; display: block; overflow: hidden; border-radius: 15px; text-decoration: none; }
.da6it-wavelog-media a::after {
  content: "Vergrößern  ↗"; position: absolute; right: 12px; bottom: 12px; padding: .42rem .68rem; border-radius: 999px;
  background: rgba(255,255,255,.92); color: var(--wl-ink); font-size: .78rem; font-weight: 750; box-shadow: 0 6px 20px rgba(0,0,0,.12);
  opacity: 0; transform: translateY(5px); transition: opacity .18s ease, transform .18s ease;
}
.da6it-wavelog-media a:hover::after { opacity: 1; transform: translateY(0); }
.da6it-wavelog-media img { display: block; width: 100%; height: auto; border-radius: 14px; transition: transform .2s ease; }
.da6it-wavelog-media a:hover img { transform: scale(1.012); }
.da6it-wavelog-media figcaption { margin: .7rem .25rem .1rem; color: var(--wl-muted); font-size: .82rem; }
.da6it-tech-strip { margin: 4rem 0 1rem; padding: clamp(1.4rem, 3vw, 2.2rem); border: 1px solid var(--wl-border); border-radius: 22px; background: #f8fcfb; }
.da6it-tech-strip > h2 { margin-top: 0 !important; }
.da6it-tech-grid { gap: 1rem !important; margin-top: 1.25rem; }
.da6it-tech-card { height: 100%; padding: 1.15rem; border-radius: 16px; background: #fff; border: 1px solid var(--wl-border); }
.da6it-tech-card strong { display: block; margin-bottom: .35rem; color: var(--wl-ink); }
.da6it-tech-card p { margin: 0; color: var(--wl-muted); font-size: .92rem !important; }
.da6it-cta { margin-top: 3rem; padding: clamp(1.5rem, 3vw, 2.3rem); border-radius: 22px; background: linear-gradient(135deg, #57c52f 0%, #13b9c4 100%); color: #fff; }
.da6it-cta h2, .da6it-cta p, .da6it-cta a { color: #fff !important; }
.da6it-cta p { max-width: 680px; }
.da6it-cta .wp-block-button__link { background: #fff !important; color: var(--wl-ink) !important; border: 0 !important; }
.da6it-lightbox-overlay { position: fixed; inset: 0; z-index: 99999; display: none; align-items: center; justify-content: center; padding: 28px; background: rgba(9,17,19,.88); backdrop-filter: blur(7px); }
.da6it-lightbox-overlay.is-open { display: flex; }
.da6it-lightbox-dialog { position: relative; max-width: min(95vw, 1600px); max-height: 94vh; }
.da6it-lightbox-dialog img { display: block; max-width: 100%; max-height: 84vh; margin: 0 auto; border-radius: 16px; background: #fff; box-shadow: 0 25px 90px rgba(0,0,0,.42); }
.da6it-lightbox-caption { margin-top: .8rem; text-align: center; color: #edf5f3; font-size: .92rem; }
.da6it-lightbox-close, .da6it-lightbox-prev, .da6it-lightbox-next { position: absolute; border: 0; background: rgba(255,255,255,.94); color: #173d38; cursor: pointer; box-shadow: 0 8px 28px rgba(0,0,0,.25); }
.da6it-lightbox-close { top: -17px; right: -17px; width: 44px; height: 44px; border-radius: 999px; font-size: 28px; line-height: 1; }
.da6it-lightbox-prev, .da6it-lightbox-next { top: 50%; width: 46px; height: 58px; border-radius: 14px; transform: translateY(-50%); font-size: 30px; }
.da6it-lightbox-prev { left: -64px; } .da6it-lightbox-next { right: -64px; }
@media (max-width: 781px) {
  .da6it-wavelog-feature { margin: 2.6rem 0 !important; }
  .da6it-benefit-grid { margin-bottom: 2.5rem; }
  .da6it-lightbox-overlay { padding: 16px; }
  .da6it-lightbox-prev { left: 8px; } .da6it-lightbox-next { right: 8px; }
  .da6it-lightbox-close { top: -10px; right: -5px; }
  .da6it-lightbox-dialog img { max-height: 78vh; }
}


/* 0.7 compact layout */
.da6it-project-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .8rem 1rem;
  margin: 0 0 1.4rem;
  padding: .75rem .9rem;
  border: 1px solid var(--wl-border, #dcece8);
  border-radius: 16px;
  background: #f8fcfb;
}
.da6it-project-toolbar-status,
.da6it-project-toolbar-links {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.da6it-project-chip,
.da6it-project-action {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  min-height: 34px;
  padding: .42rem .72rem;
  border-radius: 999px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
  font-size: .82rem;
  line-height: 1.2;
}
.da6it-project-chip {
  background: #eef9f6;
  color: #31554e;
}
.da6it-project-action {
  border: 1px solid #d4e9e4;
  background: #fff;
  color: #087f87 !important;
  text-decoration: none;
  font-weight: 700;
}
.da6it-project-action:hover {
  border-color: #13b9c4;
}

.da6it-wavelog-landing {
  margin-top: .4rem;
}
.da6it-wavelog-summary {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: .25rem 0 1.3rem;
}
.da6it-summary-chip {
  display: inline-flex;
  align-items: center;
  padding: .4rem .7rem;
  border-radius: 999px;
  background: #eef9f6;
  border: 1px solid #d9eee8;
  color: #31554e;
  font-size: .82rem;
  font-weight: 700;
}

.da6it-wavelog-feature {
  gap: clamp(1.25rem, 3vw, 2.6rem) !important;
  margin: clamp(1.8rem, 3.5vw, 2.8rem) 0 !important;
  padding-bottom: clamp(1.6rem, 3vw, 2.4rem);
  border-bottom: 1px solid #edf3f1;
}
.da6it-wavelog-feature:last-of-type {
  border-bottom: 0;
}
.da6it-wavelog-feature .wp-block-column:first-child,
.da6it-wavelog-feature .wp-block-column:last-child {
  min-width: 0;
}
.da6it-wavelog-copy {
  padding: 0 !important;
}
.da6it-wavelog-copy .da6it-feature-tag {
  margin-bottom: .45rem;
  font-size: .7rem;
}
.da6it-wavelog-copy h3 {
  margin: 0 0 .65rem !important;
  font-size: clamp(1.18rem, 1.8vw, 1.48rem) !important;
  line-height: 1.18 !important;
}
.da6it-wavelog-copy p {
  margin: 0 0 .75rem !important;
  max-width: 48ch;
  font-size: .96rem !important;
  line-height: 1.55 !important;
  color: #45645e;
}
.da6it-feature-points {
  display: flex;
  flex-wrap: wrap;
  gap: .42rem;
}
.da6it-feature-point {
  display: inline-flex;
  align-items: center;
  padding: .32rem .58rem;
  border-radius: 999px;
  background: #f2f9f7;
  border: 1px solid #deede9;
  color: #31554e;
  font-size: .78rem;
  line-height: 1.2;
  font-weight: 650;
}
.da6it-wavelog-media {
  padding: .45rem !important;
  border-radius: 18px !important;
  box-shadow: 0 10px 34px rgba(28,83,72,.08) !important;
}
.da6it-wavelog-media img {
  border-radius: 12px !important;
}
.da6it-wavelog-media figcaption {
  display: none;
}
.da6it-wavelog-media a::after {
  right: 9px;
  bottom: 9px;
  padding: .34rem .55rem;
  font-size: .72rem;
}
.da6it-tech-strip {
  margin: 2.4rem 0 1rem !important;
  padding: 1.2rem !important;
}
.da6it-tech-strip h2 {
  font-size: 1.45rem !important;
}
.da6it-tech-grid {
  margin-top: .8rem !important;
}
.da6it-tech-card {
  padding: .85rem !important;
}
.da6it-tech-card p {
  font-size: .86rem !important;
  line-height: 1.45 !important;
}
.da6it-cta {
  margin-top: 2rem !important;
  padding: 1.35rem !important;
}
.da6it-cta h2 {
  font-size: 1.5rem !important;
  margin-bottom: .5rem !important;
}
.da6it-cta p {
  font-size: .94rem !important;
  line-height: 1.5 !important;
  margin-bottom: .9rem !important;
}

@media (min-width: 782px) {
  .da6it-wavelog-feature.da6it-image-right > .wp-block-column:first-child,
  .da6it-wavelog-feature.da6it-image-left > .wp-block-column:last-child {
    flex-basis: 39% !important;
  }
  .da6it-wavelog-feature.da6it-image-right > .wp-block-column:last-child,
  .da6it-wavelog-feature.da6it-image-left > .wp-block-column:first-child {
    flex-basis: 61% !important;
  }
}
@media (max-width: 781px) {
  .da6it-project-toolbar {
    align-items: flex-start;
  }
  .da6it-wavelog-feature {
    margin: 1.7rem 0 !important;
  }
}


/* 0.8 cleanup */
.da6it-wavelog-summary,
.da6it-project-toolbar,
.da6it-feature-points {
  display: none !important;
}
.da6it-wavelog-landing {
  margin-top: 0 !important;
}
.da6it-wavelog-copy .da6it-feature-kicker {
  display: block;
  margin: 0 0 .35rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: #079ba3;
  font-size: .72rem;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.da6it-wavelog-copy h3 {
  margin-bottom: .55rem !important;
}
.da6it-wavelog-copy p {
  margin-bottom: 0 !important;
}
.da6it-project-finish {
  margin-top: clamp(2.2rem, 4vw, 3.5rem);
  padding: clamp(1.2rem, 2.5vw, 1.8rem);
  border: 1px solid #dcece8;
  border-radius: 22px;
  background: linear-gradient(135deg, #f4faf8 0%, #f0fbfd 100%);
}
.da6it-project-finish-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.1rem 2rem;
}
.da6it-project-finish-copy {
  flex: 1 1 360px;
}
.da6it-project-finish-copy h2 {
  margin: 0 0 .45rem !important;
  font-size: clamp(1.35rem, 2vw, 1.7rem) !important;
}
.da6it-project-finish-copy p {
  margin: 0 !important;
  max-width: 62ch;
  color: #56726c;
  font-size: .94rem;
  line-height: 1.5;
}
.da6it-beta-status {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-bottom: .55rem;
  color: #31554e;
  font-size: .82rem;
  font-weight: 750;
}
.da6it-beta-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #62c92d;
  box-shadow: 0 0 0 4px rgba(98,201,45,.14);
}
.da6it-project-finish-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  flex: 0 1 auto;
}
.da6it-project-finish-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: .68rem .95rem;
  border: 1px solid #cfe5df;
  border-radius: 999px;
  background: #fff;
  color: #087f87 !important;
  text-decoration: none;
  font-size: .88rem;
  font-weight: 750;
  box-shadow: 0 5px 18px rgba(28,83,72,.05);
}
.da6it-project-finish-actions a:hover {
  border-color: #13b9c4;
  transform: translateY(-1px);
}


/* ==========================================================
   DA6IT Core 1.0 – tech bubble cloud + clean project finish
   ========================================================== */

.da6it-tech-strip {
  margin: clamp(2.3rem, 4vw, 3.4rem) 0 1rem !important;
  padding: clamp(1.15rem, 2.4vw, 1.7rem) !important;
  border: 1px solid #dcece8 !important;
  border-radius: 22px !important;
  background: linear-gradient(135deg, #f7fcfa 0%, #f2fbfd 100%) !important;
  overflow: hidden;
}

.da6it-tech-strip > h2 {
  margin: 0 0 .25rem !important;
  font-size: clamp(1.35rem, 2vw, 1.7rem) !important;
}

.da6it-tech-strip > p {
  margin: 0 0 1.05rem !important;
  color: #617b75;
  font-size: .9rem !important;
  line-height: 1.45 !important;
}

.da6it-tech-cloud {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: .65rem;
}

.da6it-tech-bubble {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: .7rem .55rem;
  border: 1px solid #d6ebe5;
  border-radius: 999px;
  background: #ffffff;
  color: #31554e;
  text-align: center;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
  font-size: .82rem;
  line-height: 1.18;
  font-weight: 720;
  box-shadow: 0 5px 18px rgba(28,83,72,.045);
}

.da6it-tech-bubble:nth-child(3n+1) {
  background: #f0faf4;
  border-color: #d7eddc;
}

.da6it-tech-bubble:nth-child(3n+2) {
  background: #f0fbfd;
  border-color: #d3edf0;
}

.da6it-tech-bubble:nth-child(3n) {
  background: #f8fcfb;
}

.da6it-project-finish {
  margin-top: clamp(2.3rem, 4vw, 3.5rem) !important;
  padding: clamp(1.25rem, 2.6vw, 1.8rem) !important;
}

.da6it-project-finish-inner {
  align-items: center !important;
}

.da6it-project-finish-copy {
  flex: 1 1 330px !important;
}

.da6it-project-finish-actions {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(130px, 1fr));
  gap: .65rem !important;
  flex: 1 1 620px !important;
}

.da6it-project-finish-actions a {
  justify-content: center;
  min-height: 48px !important;
  padding: .72rem .8rem !important;
  text-align: center;
}

.da6it-project-finish-actions a.da6it-feature-request {
  border-color: #bfe4d3;
  background: #f2fbf6;
  color: #3d9d22 !important;
}

.da6it-project-finish-actions a.da6it-feature-request:hover {
  border-color: #62c92d;
}

@media (max-width: 1100px) {
  .da6it-tech-cloud {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 850px) {
  .da6it-project-finish-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    flex-basis: 100% !important;
  }
}

@media (max-width: 680px) {
  .da6it-tech-cloud {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .da6it-tech-bubble {
    min-height: 48px;
    font-size: .78rem;
  }
}

@media (max-width: 430px) {
  .da6it-project-finish-actions {
    grid-template-columns: 1fr !important;
  }
}
