.rehal-story {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 34px;
  max-width: 1500px;
  margin: 0 auto;
  padding: 110px 5% 120px;
}

.rehal-story__gallery { min-width: 0; width: 100%; max-width: 1240px; margin: 0 auto; }

.rehal-story__variants {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.rehal-story__prayer-times > :first-child { grid-column: 1 / -1; }

.rehal-story__main {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 32px;
  background:
    radial-gradient(ellipse at 50% 55%, #416451 0, #234b3b 42%, transparent 76%),
    linear-gradient(145deg, #0b3027, #133d30 55%, #09271f);
  box-shadow: inset 0 1px #ffffff1b, 0 30px 75px #17352926;
}

.rehal-story__scene-art {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
}

.rehal-story__main figcaption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #092d25e8;
  color: var(--paper);
  font-size: 11px;
  letter-spacing: .04em;
}

.rehal-story__variants .rehal-story__main { border-radius: 24px; }

.rehal-story__caption {
  margin: 15px 0 0 4px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .04em;
}

.rehal-story__copy {
  display: grid;
  grid-template-columns: minmax(250px, .9fr) minmax(0, 1.1fr);
  column-gap: clamp(32px, 7vw, 96px);
  align-items: start;
  max-width: 1080px;
  width: 100%;
  margin: 0 auto;
}
.rehal-story__copy > .eyebrow { grid-column: 1; grid-row: 1; margin-bottom: 0; }
.rehal-story__copy h2 { grid-column: 1; grid-row: 2; font-size: clamp(38px, 4.4vw, 62px); }
.rehal-story__copy > p:not(.eyebrow):not(.rehal-story__note) {
  grid-column: 2;
  grid-row: 1;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.rehal-story__copy .text-link {
  grid-column: 2;
  grid-row: 2;
  display: inline-flex;
  gap: 12px;
  align-items: center;
  margin: 5px 0 20px;
  font-weight: 650;
  text-decoration-thickness: 1px;
}

.rehal-story__note {
  grid-column: 2;
  grid-row: 3;
  padding-top: 16px;
  border-top: 1px solid #d6dbd0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

@media (max-width: 800px) {
  .rehal-story { grid-template-columns: 1fr; gap: 30px; padding: 70px 24px; }
  .rehal-story__main { border-radius: 24px; }
  .rehal-story__variants { grid-template-columns: 1fr; }
  .rehal-story__prayer-times > :first-child { grid-column: auto; }
  .rehal-story__copy { grid-template-columns: 1fr; gap: 0; max-width: 620px; margin: 0 auto; }
  .rehal-story__copy > * { grid-column: 1 !important; grid-row: auto !important; }
  .rehal-story__copy h2 { max-width: 520px; }
}

@media (max-width: 420px) {
  .rehal-story { padding: 58px 18px; }
  .rehal-story__main { border-radius: 18px; }
  .rehal-story__variants { gap: 10px; margin-top: 10px; }
  .rehal-story__variants .rehal-story__main { border-radius: 14px; }
  .rehal-story__main figcaption { left: 9px; bottom: 9px; padding: 6px 9px; font-size: 9px; }
  .rehal-story__copy h2 { font-size: 38px; }
}
