/* Editorial reference-style hero */
.editorial-hero {
  position: relative;
  min-height: 690px;
  overflow: hidden;
  /* background: #f4f6f9; */
  /* border-bottom: 1px solid #dbe0e8; */
  color: #080d1d;
}

.editorial-hero-inner {
  position: relative;
  z-index: 2;
  min-height: 650px;
  display: grid;
  grid-template-columns: 0.95fr 1fr 0.95fr;
  align-items: center;
  gap: 2rem;
}

.editorial-hero-copy {
  padding-top: 1rem;
}
.editorial-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.8rem;
  border: 1px solid #88d7f6;
  border-radius: 999px;
  background: #e2f7ff;
  color: #087ca9;
  font-size: 0.75rem;
  font-weight: 700;
}
.editorial-eyebrow i {
  font-size: 0.85rem;
}
.editorial-hero h1 {
  max-width: 420px;
  margin: 1.7rem 0 1.2rem;
  /* font-family: "Inter", sans-serif; */
  font-family: "Georgia", "Cambria", "Times New Roman", serif;
  /* font-size: clamp(3.2rem, 5vw, 5.4rem); */
  font-size: clamp(3.2rem, 3vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.075em;
  line-height: 0.96;
}
.editorial-hero h1 span {
  color: #336fe8;
}
.editorial-hero-copy > p {
  max-width: 390px;
  margin: 0;
  color: #657188;
  font-size: 1.05rem;
  line-height: 1.65;
  font-family: "Inter";
}
.editorial-hero-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: 2rem;
}
.editorial-primary-btn,
.editorial-talk-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  border-radius: 999px;
  background: #427cf0;
  color: #fff;
  padding: 0.95rem 1.5rem;
  box-shadow: 0 10px 22px rgba(66, 124, 240, 0.22);
  font-size: 0.875rem;
  font-weight: 700;
  transition:
    transform 0.25s,
    background 0.25s,
    box-shadow 0.25s;
}
.editorial-primary-btn:hover,
.editorial-talk-btn:hover {
  color: #fff;
  background: #2e63d3;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(66, 124, 240, 0.3);
}
.editorial-secondary-btn {
  color: #68748b;
  font-size: 0.875rem;
  font-weight: 700;
}
.editorial-secondary-btn:hover {
  color: #080d1d;
}

.editorial-feature-stage {
  position: relative;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.editorial-color-block {
  position: absolute;
  width: 78%;
  height: 78%;
  border-radius: 36px;
  transform: rotate(-7deg);
}
.editorial-color-yellow {
  background: #f8e89b;
  left: 2%;
  top: 13%;
}
.editorial-color-cyan {
  background: #8fe6ef;
  right: 1%;
  top: 10%;
  transform: rotate(8deg);
}
.editorial-feature-card {
  position: relative;
  z-index: 2;
  width: min(320px, 82%);
  height: 555px;
  overflow: hidden;
  border: 7px solid #171520;
  border-radius: 38px;
  background: #171520;
  box-shadow: 0 24px 45px rgba(12, 20, 38, 0.2);
  transform: rotate(-1deg);
  transition:
    transform 0.5s ease,
    box-shadow 0.5s ease;
}
.editorial-feature-card:hover {
  transform: rotate(0deg) translateY(-8px);
  box-shadow: 0 32px 56px rgba(12, 20, 38, 0.26);
}
.editorial-feature-card.is-changing .editorial-feature-image {
  opacity: 0.35;
  transform: scale(1.03);
}
.editorial-feature-image {
  transition:
    background-image 0s,
    opacity 0.18s ease,
    transform 0.18s ease;
}
.editorial-feature-image {
  position: absolute;
  inset: 0;
  background-image: url("https://images.pexels.com/photos/14793012/pexels-photo-14793012.jpeg?auto=compress&cs=tinysrgb&h=650&w=940");
  background-size: cover;
  background-position: center;
  transition: background-image 0.45s ease;
}
.editorial-feature-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(12, 12, 23, 0.38) 0%,
    transparent 40%,
    rgba(4, 8, 16, 0.9) 100%
  );
}
.editorial-feature-topline {
  position: absolute;
  top: 1.2rem;
  left: 1.25rem;
  right: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
}
.editorial-feature-badge {
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  background: #149fe1;
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}
.editorial-feature-count {
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  background: rgba(10, 10, 20, 0.8);
  font-size: 0.625rem;
  letter-spacing: 0.1em;
}
.editorial-feature-bottom {
  position: absolute;
  left: 1.25rem;
  right: 1.25rem;
  bottom: 1.2rem;
  color: #fff;
}
.editorial-feature-author {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #64a4ff;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}
.editorial-avatar {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #64a4ff;
  border: 2px solid rgba(255, 255, 255, 0.7);
}
.editorial-feature-bottom h2 {
  margin: 0.65rem 0;
  font-family: "Inter", sans-serif;
  font-size: 1.35rem;
  line-height: 1.1;
  letter-spacing: -0.04em;
}
.editorial-feature-meta {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: #d5d9e2;
  font-size: 0.7rem;
}
.editorial-live-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #56e28b;
}

.editorial-hero-side {
  padding-top: 5.5rem;
}
.editorial-side-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem;
  border: 1px solid #d6dce7;
  border-radius: 19px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 12px 24px rgba(40, 60, 90, 0.06);
}
.editorial-side-thumb {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  border-radius: 14px;
  background: url("https://images.pexels.com/photos/731510/pexels-photo-731510.jpeg?auto=compress&cs=tinysrgb&h=100&w=100")
    center/cover;
}
.editorial-side-content {
  min-width: 0;
  flex: 1;
  color: #1175a4;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.editorial-side-content strong {
  display: block;
  max-width: 190px;
  margin-top: 0.35rem;
  color: #101526;
  font-size: 0.9rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.editorial-side-star {
  color: #149fe1;
  font-size: 0.85rem;
}
.editorial-green {
  color: #1eab69;
  margin-left: 0.35rem;
}
.editorial-round-arrow,
.editorial-circle-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 50%;
  background: #4a80f1;
  color: #fff;
  font-size: 1.1rem;
}
.editorial-round-arrow {
  text-decoration: none;
}
.editorial-side-copy {
  max-width: 410px;
  margin: 12.5rem 0 1.5rem;
  color: #657188;
  font-size: 1.05rem;
  line-height: 1.55;
}
.editorial-side-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.editorial-talk-btn {
  padding: 1rem 1.45rem;
}
.editorial-circle-btn {
  border: 0;
  background: #ff2860;
  cursor: pointer;
}
.editorial-circle-btn:hover {
  background: #df174d;
  transform: translateY(-2px);
}
.editorial-rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.8rem;
  color: #101526;
  font-size: 0.8rem;
}
.editorial-avatars {
  display: flex;
  margin-right: 0.35rem;
}
.editorial-avatars span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 27px;
  height: 27px;
  margin-left: -5px;
  border: 2px solid #f4f6f9;
  border-radius: 50%;
  background: #6c91db;
  color: white;
  font-size: 0.6rem;
}
.editorial-avatars span:nth-child(2) {
  background: #bc885d;
}
.editorial-avatars span:nth-child(3) {
  background: #3d9bb6;
}
.editorial-stars {
  color: #eab600;
  letter-spacing: -0.12em;
  font-size: 1rem;
}
.editorial-satisfaction {
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  background: #d9f4e3;
  color: #1eab69;
  font-size: 0.65rem;
  font-weight: 700;
}

.editorial-carousel-controls {
  position: absolute;
  z-index: 3;
  bottom: 1.55rem;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 1rem;
  transform: translateX(-50%);
}
.editorial-control {
  width: 42px;
  height: 42px;
  border: 1px solid #cbd3df;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.65);
  color: #26334b;
  cursor: pointer;
  box-shadow: 0 5px 10px rgba(20, 35, 60, 0.07);
  transition: all 0.2s;
}
.editorial-control:hover {
  background: #fff;
  border-color: #427cf0;
  color: #427cf0;
  transform: translateY(-2px);
}
.editorial-progress {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.editorial-progress span {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: #c4cad5;
  transition:
    width 0.3s,
    background 0.3s;
}
.editorial-progress span.active {
  width: 28px;
  background: #427cf0;
}
.editorial-decor {
  position: absolute;
  z-index: 1;
  color: #b8d2ff;
  font-size: 1.5rem;
}
.editorial-decor-one {
  top: 2.8rem;
  left: 15%;
}
.editorial-decor-two {
  top: 5rem;
  right: 12%;
  color: #ffc4d0;
}
.editorial-dash {
  position: absolute;
  z-index: 1;
  height: 2px;
  border-top: 2px dashed;
  opacity: 0.7;
}
.editorial-dash-one {
  width: 42%;
  top: 8%;
  left: 25%;
  border-color: #6bc8f3;
  transform: rotate(21deg);
}
.editorial-dash-two {
  width: 40%;
  top: 42%;
  right: -4%;
  border-color: #e7a2bc;
  transform: rotate(3deg);
}

@media (max-width: 1023px) {
  .editorial-hero {
    min-height: auto;
    padding: 3rem 0 5rem;
  }
  .editorial-hero-inner {
    min-height: auto;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
  .editorial-hero-copy {
    grid-column: 1 / -1;
    text-align: center;
  }
  .editorial-hero h1,
  .editorial-hero-copy > p {
    margin-left: auto;
    margin-right: auto;
  }
  .editorial-hero-actions {
    justify-content: center;
  }
  .editorial-feature-stage {
    height: 540px;
  }
  .editorial-hero-side {
    padding-top: 3rem;
  }
  .editorial-side-copy {
    margin-top: 4rem;
  }
}
@media (max-width: 575px) {
  .editorial-hero-inner {
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  .editorial-hero-copy {
    padding-top: 0;
  }
  .editorial-hero h1 {
    font-size: 3.15rem;
  }
  .editorial-hero-actions {
    flex-direction: column;
    gap: 0.9rem;
    margin-bottom: 1rem;
  }
  .editorial-feature-stage {
    width: 100%;
    height: 500px;
  }
  .editorial-feature-card {
    height: 460px;
  }
  .editorial-hero-side {
    width: 100%;
    padding: 0 0 1rem;
  }
  .editorial-side-copy {
    margin: 1.5rem 0;
  }
  .editorial-rating {
    margin-top: 1.2rem;
  }
  .editorial-dash {
    display: none;
  }
  .editorial-carousel-controls {
    bottom: 1rem;
  }
}
