/* Project-specific visual layer. Shared layout and typography live in ir-design-system.css. */

/* ---------- IR Ekosystém: architektura ---------- */
.ir-ecosystem-architecture {
  padding: 1.875rem;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 1.5rem;
  background: rgba(255,255,255,.045);
  box-shadow: 0 2rem 4.875rem rgba(0,0,0,.3);
}
.ir-ecosystem-architecture__core {
  padding: 1.4375rem 1.5rem;
  border-radius: 1rem;
  background: #fff;
}
.ir-ecosystem-architecture__core > span {
  color: var(--ir-coral);
  font-size: .625rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.ir-ecosystem-architecture__core > strong {
  display: block;
  margin-top: .4375rem;
  color: var(--ir-ink);
  font-family: var(--ir-font-display);
  font-size: 1.75rem;
  line-height: 1.25;
  font-weight: 600;
}
.ir-ecosystem-architecture__products {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .5rem;
  margin-top: 1.125rem;
}
.ir-ecosystem-architecture__products small {
  padding: .5625rem .625rem;
  border-radius: .5625rem;
  color: #5f6670;
  background: #f7f5f2;
  font-size: .625rem;
  font-weight: 600;
}
.ir-ecosystem-architecture__flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 78%;
  height: 2.375rem;
  margin: 0 auto;
}
.ir-ecosystem-architecture__flow i {
  position: relative;
  border-left: 1px solid rgba(255,255,255,.18);
}
.ir-ecosystem-architecture__flow i::after {
  content: "";
  position: absolute;
  left: -.1875rem;
  bottom: 0;
  width: .3125rem;
  height: .3125rem;
  border-radius: 50%;
  background: var(--ir-coral);
}
.ir-ecosystem-architecture__projects {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .625rem;
}
.ir-ecosystem-architecture__projects article {
  padding: 1.0625rem .9375rem;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: .8125rem;
  background: rgba(255,255,255,.05);
}
.ir-ecosystem-architecture__projects span {
  color: var(--ir-coral);
  font-size: .5625rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.ir-ecosystem-architecture__projects strong {
  display: block;
  margin-top: .4375rem;
  color: #fff;
  font-family: var(--ir-font-display);
  font-size: 1.125rem;
  line-height: 1.3;
  font-weight: 600;
}
.ir-ecosystem-architecture__projects p {
  margin: .5rem 0 0;
  color: #aeb4bc;
  font-size: .625rem;
  line-height: 1.55;
}
.ir-ecosystem-architecture__note {
  margin: 1.25rem 0 0;
  color: #aeb4bc;
  font-size: .6875rem;
  line-height: 1.6;
}

@media (max-width: 66.25em) {
  .ir-ecosystem-architecture { width: 100%; max-width: 47.5rem; }
}

@media (max-width: 43.75em) {
  .ir-ecosystem-architecture { padding: 1.375rem; }
  .ir-ecosystem-architecture__projects,
  .ir-ecosystem-architecture__products { grid-template-columns: 1fr; }
  .ir-ecosystem-architecture__flow { display: none; }
}


/* v47 preservation: connectors align with the centers of project cards. */
.ir-ecosystem-architecture__flow {
  width: 100%;
}

.ir-ecosystem-architecture__flow i {
  position: relative;
  border-left: 0;
}

.ir-ecosystem-architecture__flow i::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: rgba(255,255,255,.18);
}

.ir-ecosystem-architecture__flow i::after {
  left: calc(50% - .15625rem);
}

/* v47 preservation: older-project transition is an airy two-card diagram. */
.ir-ecosystem-legacy {
  background:
    radial-gradient(circle at 9% 20%, rgba(255,77,87,.045), transparent 25%),
    var(--ir-surface-soft);
}

.ir-ecosystem-legacy__visual {
  display: grid;
  grid-template-columns: 1fr 3.25rem 1fr;
  gap: 0;
  align-items: center;
  padding: 0;
  background: transparent;
}

.ir-ecosystem-legacy__visual > div {
  padding: 2.125rem 1.875rem;
  border-radius: 1.25rem;
  background: #fff;
  box-shadow: 0 1.125rem 3rem rgba(15,17,23,.07);
}

.ir-ecosystem-legacy__visual > div > span {
  display: block;
  color: var(--ir-coral);
  font-size: .625rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.ir-ecosystem-legacy__visual > div > strong {
  display: block;
  margin-top: .625rem;
  color: var(--ir-ink);
  font-family: var(--ir-font-display);
  font-size: 1.5625rem;
  line-height: 1.3;
  font-weight: 600;
}

.ir-ecosystem-legacy__visual > div > small {
  display: block;
  margin-top: .625rem;
  color: #686e76;
  font-size: .75rem;
  line-height: 1.55;
}

.ir-ecosystem-legacy__visual > b {
  justify-self: center;
  color: var(--ir-coral);
  font-size: 1.75rem;
}

@media (max-width: 43.75em) {
  .ir-ecosystem-legacy__visual {
    grid-template-columns: 1fr;
    gap: .75rem;
  }

  .ir-ecosystem-legacy__visual > b {
    transform: rotate(90deg);
  }
}
