/* Option 2 Editorial Layout styled strictly with HSJ Official Brand Tokens (Poppins/Inter, #07549A, #C21875, #F2A51A, #FFF9EF, #29252B) */

.hsj-ed {
  background: var(--hsj-ivory);
  color: var(--hsj-charcoal);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
}

.hsj-ed h1, .hsj-ed h2, .hsj-ed h3, .hsj-ed-serif {
  font-family: var(--font-heading);
  color: var(--hsj-blue);
  font-weight: 700;
}

.hsj-ed-kicker {
  display: inline-block;
  color: var(--hsj-magenta);
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.hsj-ed-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Split Hero (40% Slideshow | 60% Editorial + Journey Finder) */
.hsj-ed-hero {
  display: grid;
  grid-template-columns: 40% 60%;
  min-height: 540px;
  background: var(--hsj-ivory);
  border-bottom: 1px solid var(--hsj-border);
}

.hsj-ed-slides {
  position: relative;
  min-height: 540px;
  overflow: hidden;
  background: var(--hsj-blue-dark);
}

.hsj-ed-slides::before {
  content: "";
  position: absolute;
  inset: 12px;
  z-index: 3;
  border: 1px solid rgba(242, 165, 26, 0.65);
  border-radius: var(--radius-sm);
  pointer-events: none;
}

.hsj-ed-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  background-size: cover;
  background-position: center;
  transition: opacity 1s ease;
}

.hsj-ed-slide.is-active {
  opacity: 1;
}

.hsj-ed-shade {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(0deg, rgba(5, 59, 110, 0.72) 0%, rgba(5, 59, 110, 0.12) 55%);
  pointer-events: none;
}

.hsj-ed-caption {
  position: absolute;
  left: 22px;
  bottom: 24px;
  z-index: 4;
  background: rgba(7, 84, 154, 0.9);
  color: var(--hsj-white);
  border-left: 3px solid var(--hsj-saffron);
  padding: 6px 12px;
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 4px;
}

.hsj-ed-controls {
  position: absolute;
  right: 20px;
  bottom: 20px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(5, 59, 110, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 4px 8px;
  border-radius: 999px;
}

.hsj-ed-arrow {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
}

.hsj-ed-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
}

.hsj-ed-dot[aria-current="true"] {
  width: 20px;
  border-radius: 999px;
  background: var(--hsj-saffron);
}

.hsj-ed-right {
  display: grid;
  grid-template-rows: 58% 42%;
}

.hsj-ed-editorial {
  background: linear-gradient(135deg, var(--hsj-ivory) 0%, var(--hsj-ivory-deep) 100%);
  padding: clamp(1.5rem, 3vw, 2.75rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hsj-ed-editorial .hsj-ed-kicker {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--hsj-magenta);
  margin: 0 0 0.5rem;
}

.hsj-ed-editorial h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.15;
  font-weight: 700;
  margin: 0 0 0.75rem;
  color: var(--hsj-blue);
}

.hsj-ed-editorial p {
  max-width: 600px;
  color: var(--hsj-muted);
  font-family: var(--font-body);
  font-size: 0.96rem;
  line-height: 1.65;
  margin-bottom: 0.9rem;
}

.hsj-ed-note {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--hsj-charcoal);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
}

.hsj-ed-note::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--hsj-magenta);
}

.hsj-ed-finder {
  background: var(--hsj-white);
  border-top: 1px solid var(--hsj-border);
  padding: 1.25rem clamp(1.5rem, 3vw, 2.75rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hsj-ed-finder .hsj-ed-kicker {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--hsj-magenta);
  margin-bottom: 0.25rem;
}

.hsj-ed-finder h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 0.75rem;
  color: var(--hsj-blue);
}

.hsj-ed-search-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  gap: 10px;
  align-items: end;
}

.hsj-ed-field {
  background: var(--hsj-ivory);
  border: 1px solid var(--hsj-border);
  border-radius: var(--radius-sm);
  padding: 6px 10px;
}

.hsj-ed-field label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--hsj-blue);
  margin-bottom: 2px;
}

.hsj-ed-field select, .hsj-ed-field input {
  width: 100%;
  border: 0;
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--hsj-charcoal);
  outline: none;
}

.hsj-ed-btn {
  background: var(--hsj-magenta);
  color: var(--hsj-white);
  border: 1px solid var(--hsj-magenta);
  border-radius: var(--radius-sm);
  padding: 0 1.25rem;
  height: 44px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.hsj-ed-btn:hover {
  background: var(--hsj-magenta-dark);
  border-color: var(--hsj-magenta-dark);
  color: var(--hsj-white);
}

/* Proof Strip */
.hsj-ed-proof {
  background: var(--hsj-blue);
  color: var(--hsj-white);
  padding: 1.15rem 1.25rem;
  text-align: center;
}

.hsj-ed-proof-grid {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.hsj-ed-proof strong {
  display: block;
  color: var(--hsj-saffron);
  font-family: var(--font-heading);
  font-size: 1.45rem;
  line-height: 1.2;
  font-weight: 700;
}

.hsj-ed-proof span {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
}

/* Sections */
.hsj-ed-sec { padding: 3rem 0; }
.hsj-ed-sec-mist { background: var(--hsj-ivory-deep); }
.hsj-ed-sec-cream { background: var(--hsj-ivory-deep); }

.hsj-ed-h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  line-height: 1.22;
  font-weight: 700;
  margin: 0.25rem 0 0.75rem;
  color: var(--hsj-blue);
}

.hsj-ed-intro-p {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--hsj-muted);
  margin: 0 auto;
}

.hsj-ed-why-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 2.25rem;
  align-items: start;
}

.hsj-ed-reasons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.hsj-ed-reason {
  background: var(--hsj-white);
  border: 1px solid var(--hsj-border);
  border-top: 3px solid var(--hsj-magenta);
  border-radius: var(--radius-sm);
  padding: 1rem;
}

.hsj-ed-reason span {
  color: var(--hsj-magenta);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
}

.hsj-ed-reason h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.25;
  margin: 0.35rem 0;
  color: var(--hsj-blue);
}

.hsj-ed-reason p {
  font-family: var(--font-body);
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--hsj-muted);
  margin: 0;
}

/* 5-Card Bento Experience Grid */
.hsj-ed-bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.hsj-ed-bento-card {
  grid-column: span 2;
  position: relative;
  min-height: 300px;
  border-radius: var(--radius-md);
  overflow: hidden;
  display: block;
  color: #fff;
  text-decoration: none;
  box-shadow: var(--shadow-card);
}

.hsj-ed-bento-card:nth-child(4),
.hsj-ed-bento-card:nth-child(5) {
  grid-column: span 3;
  min-height: 270px;
}

.hsj-ed-bento-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hsj-ed-bento-card:hover img {
  transform: scale(1.05);
}

.hsj-ed-bento-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(5, 59, 110, 0.88) 0%, rgba(5, 59, 110, 0.25) 55%, rgba(0, 0, 0, 0.05) 100%);
}

.hsj-ed-bento-body {
  position: absolute;
  z-index: 2;
  left: 20px;
  right: 20px;
  bottom: 18px;
}

.hsj-ed-bento-num {
  color: var(--hsj-saffron);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hsj-ed-bento-body h3 {
  color: var(--hsj-white);
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 0.25rem 0;
}

.hsj-ed-bento-body p {
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--font-body);
  font-size: 0.85rem;
  line-height: 1.5;
  margin: 0;
}

/* Regions */
.hsj-ed-regions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.hsj-ed-region {
  position: relative;
  min-height: 320px;
  border-radius: var(--radius-md);
  overflow: hidden;
  display: block;
  text-decoration: none;
  color: #fff;
  box-shadow: var(--shadow-card);
}

.hsj-ed-region img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hsj-ed-region:hover img {
  transform: scale(1.04);
}

.hsj-ed-region::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(5, 59, 110, 0.88), rgba(5, 59, 110, 0.12) 72%);
}

.hsj-ed-region-copy {
  position: absolute;
  z-index: 2;
  left: 24px;
  right: 24px;
  bottom: 22px;
}

.hsj-ed-region-copy h3 {
  color: var(--hsj-white);
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 0.25rem 0;
}

.hsj-ed-region-copy p {
  font-family: var(--font-body);
  font-size: 0.875rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.9);
}

.hsj-ed-step {
  font-family: var(--font-body);
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--hsj-muted);
}

.hsj-ed-step strong {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--hsj-blue);
  display: block;
  margin-bottom: 2px;
}

@media (max-width: 991px) {
  .hsj-ed-hero { grid-template-columns: 1fr; }
  .hsj-ed-slides { min-height: 320px; }
  .hsj-ed-right { grid-template-rows: auto auto; }
  .hsj-ed-search-grid { grid-template-columns: 1fr 1fr; }
  .hsj-ed-why-grid, .hsj-ed-reasons, .hsj-ed-regions { grid-template-columns: 1fr; }
  .hsj-ed-bento-card, .hsj-ed-bento-card:nth-child(4), .hsj-ed-bento-card:nth-child(5) { grid-column: span 3; }
}

@media (max-width: 575px) {
  .hsj-ed-wrap { padding: 0 1rem; }
  .hsj-ed-search-grid { grid-template-columns: 1fr; }
  .hsj-ed-proof-grid { grid-template-columns: 1fr; }
  .hsj-ed-bento-card, .hsj-ed-bento-card:nth-child(4), .hsj-ed-bento-card:nth-child(5) { grid-column: span 6; min-height: 250px; }
}
