.intro-centered-simple__content-area {
    max-width: 48rem;
}

.intro-centered-simple__text-block {
    max-width: 42rem;
}

.content-col-grow {
    flex: 1 1 0%;
    min-width: 0;
}

.content-full-frame {
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.content-heading-gap {
    margin-bottom: 2rem;
}

.content-section-pad {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.content-base-height {
    display: block;
    width: 100%;
    height: 16rem;
    min-height: 16rem;
    flex-shrink: 0;
    object-fit: cover;
}

/* Layout only — colors stay in Blade / Tailwind / Bootstrap utilities */

.numbered-rail-list__body {
  min-width: 0;
}

.numbered-rail-list__decor {
  width: 4rem;
  flex-shrink: 0;
  text-align: center;
  user-select: none;
}

@media (min-width: 768px) {
  .numbered-rail-list__decor {
    width: 6rem;
  }
}

.numbered-rail-list__num {
  font-size: 3rem;
  line-height: 1;
  font-weight: 900;
}

@media (min-width: 768px) {
  .numbered-rail-list__num {
    font-size: 4.5rem;
  }
}

.numbered-rail-list__icon-tile {
  width: 4rem;
  height: 4rem;
}

.numbered-rail-list__excerpt {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Flex: дозволити прокрутку тексту в колонці однакової висоти (BS + TW) */
/* Flex column: allow inner scroll in equal-height grid */
.portfolio-v8-item {
    min-height: 0;
}

.portfolio-v8-box {
    min-height: 0;
}

.portfolio-v8-tech {
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.portfolio-v8-tech:hover {
    transform: scale(1.05);
}

/* Card hover: lift up + scale */
.portfolio-item-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.portfolio-item-hover:hover {
    transform: translateY(-0.5rem) scale(1.05);
}

/* Image: zoom on card hover */
.portfolio-item-hover .portfolio-img-hover {
    transition: transform 0.5s ease;
}
.portfolio-item-hover:hover .portfolio-img-hover {
    transform: scale(1.1);
}

