.smallerProjectsBlock {
  background: #171717;
  overflow: hidden;
  padding: 64px var(--templateTheme-section-padding-x);
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    sans-serif;
}

.smallerProjectsBlock__container {
  max-width: var(--templateTheme-content-max);
  margin: 0 auto;
}

.smallerProjectsBlock__inner {
  display: grid;
  grid-template-columns: 1fr 60%;
  gap: 23px;
  align-items: center;
}

.smallerProjectsBlock__intro {
  padding-top: 2px;
}

.smallerProjectsBlock__intro-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.smallerProjectsBlock__title {
  width: 100%;
  max-width: 396px;
  margin: 0;
  color: #fff;
  font-size: 42px;
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.smallerProjectsBlock__text,
.smallerProjectsBlock__text p {
  width: 100%;
  max-width: 396px;
  margin: 0;
  color: #fff;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.15;
}

.smallerProjectsBlock__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 0;
  padding: 12px 24px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 4px;
  background: transparent;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.01em;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
  box-sizing: border-box;
}

.smallerProjectsBlock__cta:hover,
.smallerProjectsBlock__cta:focus-visible {
  background: #fff;
  color: #171717;
  border-color: #fff;
}

.smallerProjectsBlock__cta:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.smallerProjectsBlock__cta-label {
  display: inline;
}

.smallerProjectsBlock__cta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: inherit;
}

.smallerProjectsBlock__cta-icon svg {
  display: block;
  width: 12px;
  height: 12px;
}

.smallerProjectsBlock__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 514px));
  gap: 23px;
  align-items: start;
  justify-content: start;
}

.smallerProjectsBlock__card {
  min-width: 0;
}

.smallerProjectsBlock__card-link {
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: inherit;
  text-decoration: none;
}

.smallerProjectsBlock__card-link--static {
  cursor: default;
}

.smallerProjectsBlock__coming-soon-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 4;
  padding: 6px 10px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.95);
  color: #000;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
  display: none;
}

.smallerProjectsBlock__media {
  position: relative;
  width: 100%;
  height: 380px;
  border-radius: 5px;
  overflow: hidden;
  background: #2a2a2a;
}

.smallerProjectsBlock__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.smallerProjectsBlock__scrim {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}

article.smallerProjectsBlock__card--coming-soon .smallerProjectsBlock__scrim {
  background: rgba(0, 0, 0, 0);
}

.smallerProjectsBlock__logo-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  box-sizing: border-box;
}

.smallerProjectsBlock__logo {
  display: block;
  width: auto;
  max-width: min(82%, 333px);
  max-height: 68px;
  height: auto;
  object-fit: contain;
}

.smallerProjectsBlock__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.smallerProjectsBlock__project-name {
  margin: 0;
  color: #fff;
  font-size: 18px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.01em;
}

.smallerProjectsBlock__project-summary {
  margin: 0;
  color: #fff;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

@media (max-width: 1279px) {
  .smallerProjectsBlock {
    padding: 56px 40px;
  }

  .smallerProjectsBlock__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .smallerProjectsBlock__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .smallerProjectsBlock {
    padding: 48px 20px;
  }

  .smallerProjectsBlock__cards {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .smallerProjectsBlock__title {
    font-size: clamp(32px, 8vw, 42px);
  }

  .smallerProjectsBlock__text,
  .smallerProjectsBlock__text p {
    font-size: 16px;
    line-height: 1.4;
  }

  .smallerProjectsBlock__media {
    height: 300px;
  }

  .smallerProjectsBlock__project-summary {
    font-size: 20px;
  }
}
