/* Homepage-only feature section. Existing category and post components stay scoped. */
.bk8-features {
  width: min(1380px, calc(100% - 40px));
  margin: 28px auto 0;
  overflow: hidden;
  border-radius: 22px;
  background: linear-gradient(135deg, #edf3ff 0%, #f9fbff 46%, #f4f0ff 75%, #fff3f2 100%);
  color: #12203b;
}
.bk8-features__inner {
  width: min(1240px, calc(100% - 72px));
  margin-inline: auto;
  padding-top: 62px;
}
.bk8-features__header { text-align: center; margin-bottom: 46px; }
.bk8-features__header h2 {
  margin: 0 0 16px;
  font-size: clamp(27px, 2.6vw, 36px);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.4;
}
.bk8-features__header p {
  max-width: 1040px;
  margin: 0 auto;
  color: #44536c;
  font-size: 17px;
  line-height: 1.9;
  text-wrap: pretty;
}
.bk8-features__body {
  display: grid;
  grid-template-columns: minmax(0, 1.85fr) minmax(280px, 1fr);
  gap: 28px;
  align-items: end;
}
.bk8-features__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px 34px;
  padding-bottom: 56px;
}
.bk8-features__item { min-width: 0; }
.bk8-features__item h3 {
  margin: 0 0 12px;
  color: #12203b;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.55;
  overflow-wrap: anywhere;
}
.bk8-features__item p {
  margin: 0;
  color: #526079;
  font-size: 15px;
  line-height: 1.95;
  overflow-wrap: anywhere;
  line-break: strict;
  text-wrap: pretty;
}
.bk8-features__visual {
  min-width: 0;
  margin: 0 -20px 0 -6px;
  align-self: end;
}
.bk8-features__visual {
  position: relative;
  aspect-ratio: .9;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, #000 6%, #000);
}
.bk8-features__visual img {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 270%;
  max-width: none;
  height: auto;
  display: block;
}
@media (min-width: 1700px) {
  .bk8-features__item p { font-size: 16px; }
}
@media (max-width: 1100px) {
  .bk8-features__body { grid-template-columns: minmax(0, 2fr) minmax(220px, 1fr); gap: 20px; }
  .bk8-features__inner { width: calc(100% - 48px); }
  .bk8-features__grid { gap: 28px 24px; }
  .bk8-features__item h3 { font-size: 18px; }
}
@media (max-width: 800px) {
  .bk8-features { width: calc(100% - 32px); margin-top: 22px; border-radius: 18px; }
  .bk8-features__inner { width: calc(100% - 40px); padding-top: 38px; }
  .bk8-features__header { margin-bottom: 32px; }
  .bk8-features__header p { font-size: 15px; line-height: 1.9; }
  .bk8-features__body { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .bk8-features__grid { padding-bottom: 20px; }
  .bk8-features__visual { width: min(380px, 80%); margin: 0 auto; }
}
@media (max-width: 540px) {
  .bk8-features__grid { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .bk8-features__header h2 { font-size: 27px; }
  .bk8-features__item h3 { font-size: 19px; margin-bottom: 8px; }
  .bk8-features__item p { font-size: 15px; }
  .bk8-features__visual { width: min(320px, 94%); }
}
