.pbc-torzh {
  border-radius: 12px;
  overflow: hidden;
  background: #002554 url('https://palmira-bc.ru/wp-content/uploads/2026/07/pbc-banner-torzhestvo-pc.webp') center / cover no-repeat;
  box-sizing: border-box;
}

.pbc-torzh__inner {
  position: relative;
  min-height: 347px;
  display: flex;
  align-items: center;
  padding: 32px 40px;
  box-sizing: border-box;
}

.pbc-torzh__inner::after {
  content: '';
  position: absolute;
  inset: 6px;
  border: 1px solid #fff;
  border-radius: 8px;
  pointer-events: none;
  z-index: 1;
}

.pbc-torzh__content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pbc-torzh__text {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

h2.pbc-torzh__title {
  margin: 0;
  color: #fff;
  font-size: 32px;
  font-weight: 500;
  line-height: 1.2;
  text-transform: uppercase;
  overflow-wrap: break-word;
}

.pbc-torzh__desc {
  margin: 0;
  max-width: 830px;
  color: #fff;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.3;
}

.pbc-torzh__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pbc-torzh__tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 8px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: rgba(0, 37, 84, 0.35);
  color: #fff;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
  white-space: nowrap;
}

.pbc-torzh__tag img {
  flex-shrink: 0;
}

.pbc-torzh__btn {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 40px;
  background: #fff;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  color: #012f6b;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s ease;
}

.pbc-torzh__btn:hover {
  background: #f0f0f0;
  color: #012f6b;
}

@media (max-width: 1024px) {
  .pbc-torzh__inner {
    padding: 28px 32px;
    min-height: 300px;
  }

  .pbc-torzh__content {
    max-width: 100%;
  }

  h2.pbc-torzh__title {
    font-size: 26px;
  }

  .pbc-torzh__desc {
    font-size: 16px;
  }

  .pbc-torzh__tag {
    white-space: normal;
  }
}

@media (max-width: 767px) {
  .pbc-torzh {
    background-image: url('https://palmira-bc.ru/wp-content/uploads/2026/07/pbc-banner-torzhestvo-mob.webp');
    background-position: center bottom;
  }

  .pbc-torzh__inner {
    padding: 24px 18px 80px;
    min-height: 0;
    align-items: flex-start;
  }

  .pbc-torzh__inner::after {
    border-radius: 6px;
  }

  .pbc-torzh__content {
    gap: 14px;
  }

  h2.pbc-torzh__title {
    font-size: 20px;
    line-height: 1.25;
  }

  .pbc-torzh__desc {
    font-size: 15px;
    line-height: 1.4;
  }

  .pbc-torzh__tag {
    font-size: 14px;
  }

  .pbc-torzh__btn {
    width: 100%;
    padding: 16px 24px;
  }
}
