:root {
  --journal-purple: #430c63;
  --journal-purple-deep: #350a4d;
  --journal-purple-soft: #56225d;
  --journal-text: #7a6e65;
  --journal-heading: #060303;
  --journal-cream: #f7f4ef;
  --journal-cream-soft: #f9f6f0;
  --journal-stroke: #e2d6c3;
  --journal-muted: #5b5b5b;
}

.journal-page {
  background: #ffffff;
}

/* FIX: prevent horizontal page scroll on mobile.
   iOS Safari allows horizontal panning even with body overflow-x:hidden,
   so clip at both html and body for all viewports. */
html {
  overflow-x: hidden;
  overflow-x: clip;
}

.journal-page {
  overflow-x: hidden;
  overflow-x: clip;
}

.journal-page .site-header,
.journal-page .site-header.is-sticky {
  background: var(--journal-purple);
  box-shadow: none;
}

.journal-page .site-nav__link {
  color: #ffffff;
}

.journal-page .menu-toggle span {
  background: #ffffff;
}

.journal-page .site-nav__link::after {
  background: var(--color-accent);
}

.journal-page .site-footer {
  margin-top: 0;
}

.journal-hero {
  position: relative;
  overflow: hidden;
  padding: 120px 0 38px;
  background:
    linear-gradient(180deg, rgba(67, 12, 99, 0.16) 0, rgba(67, 12, 99, 0) 140px),
    #ffffff;
}

/*.journal-hero__art {
  position: absolute;
  inset: 0 0 auto;
  height: 190px;
  background:
    linear-gradient(180deg, rgba(67, 12, 99, 0.88), rgba(67, 12, 99, 0.88)),
    center top / cover no-repeat url("../images/banner2.webp");
  clip-path: ellipse(74% 100% at 50% 0%);
}

.journal-hero__inner {
  position: relative;
  z-index: 1;
}

.journal-hero__intro {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 54px;
}*/

.journal-hero__copy-wrap {
  display: flex;
  /*align-items: flex-start;*/
  justify-content: space-between;
  gap: 44px;
  flex: 1;
}

.journal-hero__title {
  max-width: 524px;
  font-size: 60px;
  line-height: 1;
  color: var(--journal-purple);
}

.journal-hero__copy {
  max-width: 716px;
  /*padding-top: 46px;*/
  font-size: 16px;
  line-height: normal;
  color: var(--journal-text);
      display: flex;
    align-items: flex-end;
}

.journal-tabs__bar {
  background: var(--journal-cream-soft);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid var(--journal-stroke);
}

.journal-tabs__scroller {
  display: flex;
  align-items: center;
  gap: 32px;
  overflow-x: auto;
  padding: 24px 0 0;
  scrollbar-width: none;
}

.journal-tabs__scroller::-webkit-scrollbar {
  display: none;
}

.journal-tab {
  position: relative;
  flex: 0 0 auto;
  padding: 0 0 20px;
  border: 0;
  background: transparent;
  font: 700 16px/1 "Poppins", sans-serif;
  text-transform: capitalize;
  color: var(--journal-purple);
  cursor: pointer;
}

.journal-tab::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  background: transparent;
  transition: background-color 0.25s ease;
}

.journal-tab.is-active {
  color: var(--color-accent);
}

.journal-tab.is-active::after {
  background: var(--color-accent);
}

.journal-featured {
  padding: 50px 0;
}

.journal-featured__inner {
  display: flex;
  align-items: stretch;
  gap: 51px;
}

.journal-featured__main {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 792px;
  flex: 0 0 625px;
  padding: 42px 40px;
  overflow: hidden;
  background: var(--journal-cream);
}

.journal-featured__main::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.5) 82.02%);
  z-index: 1;
}

.journal-featured__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.journal-featured__content {
  position: relative;
  z-index: 2;
  color: #ffffff;
}

.journal-featured__link {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 42px 40px;
  color: inherit;
}

.journal-story-meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
  font-size: 12px;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  vertical-align: top;
}

.journal-story-meta__tag {
  font-weight: 700;
}

.journal-story-meta__dot {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: currentColor;
  transform: translateY(-0.5px);
}

.journal-story-meta__square {
  width: 10px;
  height: 11px;
  flex: 0 0 auto;
  border-radius: 2px;
  background: currentColor;
  transform: translateY(-0.5px);
}

.journal-featured__title {
  margin: 0;
  max-width: 501px;
  font-family: "Cabin", sans-serif;
  font-size: 30px;
  line-height: 1;
}

.journal-featured__author {
  margin: 30px 0 0;
  font-family: "Cabin", sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: normal;
  text-transform: uppercase;
}

.journal-featured__list {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.journal-list-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  /*min-height: 179px;*/
  padding: 20px 0;
  border-bottom: 1px solid var(--journal-stroke);
}

.journal-list-item__link {
  display: block;
  color: inherit;
}

.journal-list-item__meta {
  color: var(--journal-purple);
}

.journal-list-item__meta .journal-story-meta__tag {
  color: var(--color-accent);
}

.journal-list-item__meta .journal-story-meta__square {
  background: var(--color-accent);
}

.journal-list-item__title {
  margin: 0px 0 0;
  max-width: 664px;
  font-family: "Cabin", sans-serif;
  font-size: 30px;
  line-height: 1.046;
  color: #000000;
}

.journal-list-item__author {
  margin: 20px 0 0;
  font-size: 16px;
  line-height: 1;
  text-transform: uppercase;
  color: #000000;
}

.journal-rail-section {
  padding: 50px 0 50px;
  overflow: hidden; /* FIX: clip swiper track (rails use overflow:visible for card peek) */
}

.journal-rail-section--white {
  background: #ffffff;
}

.journal-rail-section--cream {
  background: var(--journal-cream);
}

.journal-rail-section__head {
  margin-bottom: 33px;
}

.journal-section-heading {
  margin: 0;
  font-family: "Cabin", sans-serif;
  font-size: 36px;
  line-height: normal;
  text-transform: uppercase;
  color: var(--journal-heading);
}

.journal-section-copy {
  margin: 30px 0 0;
  font-size: 24px;
  font-weight: 300;
  line-height: normal;
  color: var(--journal-heading);
}

.journal-rail {
  overflow: visible;
  width: calc(100% - ((100vw - min(100vw, var(--container))) / 2 + var(--gutter)));
  margin-left: calc((100vw - min(100vw, var(--container))) / 2 + var(--gutter));
  padding-left: 0;
}

.journal-rail .swiper-wrapper {
  align-items: stretch;
}

.journal-rail-card {
  width: 371px;
  height: 557px;
}

.journal-rail-card__link {
  display: block;
  height: 100%;
}

.journal-rail-card__image-wrap {
  position: relative;
  height: 434px;
  overflow: hidden;
}

.journal-rail-card__image-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.39);
}

.journal-rail-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.journal-rail-card__meta {
  margin: 10px 0 12px;
  color: var(--journal-muted);
}

.journal-rail-card__meta .journal-story-meta__tag {
  color: var(--color-accent, #FFA921);
}

.journal-rail-card__title {
  margin: 0px 0 0;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.046;
  color: var(--journal-muted);
}

.journal-quote {
  position: relative;
  overflow: hidden;
  padding: 89px 0 80px;
  background: linear-gradient(260.28deg, var(--journal-purple-soft) 0%, #2f0b43 100%);
}

.journal-quote__rings,
.journal-quote__rings::before,
.journal-quote__rings::after {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  content: "";
}

.journal-quote__rings {
  top: -114px;
  right: -70px;
  width: 562px;
  height: 562px;
}

.journal-quote__rings::before {
  inset: 68px;
}

.journal-quote__rings::after {
  inset: 134px;
}

.journal-quote__inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.journal-quote__mark {
  display: flex;
  justify-content: center;
  margin: 0 auto 41px;
  width: 90px;
  height: 64px;
  color: var(--color-accent);
}

.journal-quote__mark svg {
  display: block;
  width: 100%;
  height: 100%;
}

.journal-quote__text {
  margin: 0 auto;
  max-width: 907px;
  font-family: "Cabin", sans-serif;
  font-size: 60px;
  font-weight: 700;
  line-height: 1.1667;
  color: #ffffff;
}

.journal-quote__author {
  margin: 40px 0 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  text-transform: uppercase;
  color: var(--color-accent);
}

.journal-newsletter {
  padding: 0 0 72px;
}

.journal-newsletter__inner {
  text-align: center;
}

.journal-newsletter__title {
  max-width: 1031px;
  margin: 0 auto;
  font-size: 60px;
  line-height: 1.1667;
}

.journal-newsletter__form-row,
.tts-native-form--newsletter {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  margin-top: 50px;
}

.journal-newsletter__input {
  width: 342px;
  min-height: 50px;
  padding: 0 30px;
  border: 1px solid var(--color-accent);
  border-right: 0;
  border-radius: 5px 0 0 5px;
  background: #ffffff;
  font-size: 16px;
  color: var(--journal-purple);
}

.journal-newsletter__input::placeholder {
  color: var(--color-muted);
}

.journal-newsletter__button {
  min-width: 179px;
  border-radius: 0 5px 5px 0;
}

@media (max-width: 1199px) {
  .journal-hero__intro,
  .journal-hero__copy-wrap,
  .journal-featured__inner {
    gap: 30px;
  }

  .journal-hero__title {
    font-size: 48px;
  }

  .journal-featured__main {
    flex-basis: 52%;
  }

  .journal-list-item__title {
    font-size: 26px;
  }

  .journal-quote__text,
  .journal-newsletter__title {
    font-size: 48px;
  }
}

@media (max-width: 1023px) {
  .journal-page .site-header,
  .journal-page .site-header.is-sticky {
    background: #190326;
  box-shadow: 0 10px 30px rgba(22, 10, 32, 0.08);
  }

  .journal-page .site-nav {
    background: rgba(25, 3, 38, 0.95);
  }

  .journal-hero {
    padding: 120px 0 30px;
  }

  .journal-hero__title {
    font-size: 40px;
  }

 /* .journal-hero__art {
    height: 150px;
  }*/

  .journal-hero__intro,
  .journal-hero__copy-wrap,
  .journal-featured__inner,
  .journal-newsletter__form-row,
  .tts-native-form--newsletter {
    flex-direction: column;
  }

  .journal-hero__copy {
    max-width: 100%;
    padding-top: 0;
    line-height: 1.65;
  }

  .journal-tabs__scroller {
    gap: 24px;
  }

  .journal-featured {
    padding: 30px 0 52px;
  }

  .journal-featured__main {
    min-height: 620px;
    flex-basis: auto;
  }

  .journal-list-item {
    min-height: 156px;
    padding-top: 24px;
  }

  .journal-rail {
    width: calc(100% - var(--gutter));
    margin-left: 0;
    padding-left: var(--gutter);
  }

  .journal-quote__text,
  .journal-newsletter__title {
    font-size: 40px;
  }

  .journal-newsletter__input,
  .journal-newsletter__button {
    width: 100%;
    border-radius: 5px;
  }

  .journal-newsletter__input {
    border-right: 1px solid var(--journal-stroke);
  }
  .journal-hero__title {
    font-size: 40px;
  }
}

@media (max-width: 767px) {
  .journal-hero {
    padding: 120px 0 30px;
  }

  /*.journal-hero__art {
    height: 132px;
    clip-path: ellipse(100% 100% at 50% 0%);
  }*/

  .journal-hero__intro {
    gap: 22px;
  }

  .journal-hero__title {
    max-width: 222px;
    font-size: 30px;
    line-height: 1;
  }

  .journal-hero__copy {
    font-size: 16px;
    line-height: 1.6875;
  }

  .journal-tabs__bar {
    overflow: hidden;
  }

  .journal-tabs__scroller {
    gap: 22px;
    padding-top: 20px;
  }

  .journal-tab {
    padding-bottom: 20px;
    font-size: 16px;
    line-height: 1;
    white-space: nowrap;
  }

  .journal-featured {
    padding: 30px 0 42px;
  }

  .journal-featured__main {
    min-height: 487px;
    padding: 0;
    border-radius: 0;
  }

  .journal-featured__link {
    padding: 26px 20px 35px;
  }

  .journal-story-meta {
    margin-bottom: 22px;
  }

  .journal-featured__title {
    max-width: 348px;
    font-size: 20px;
    line-height: 1.5;
  }

  .journal-featured__author {
    margin-top: 18px;
  }

  .journal-list-item {
    min-height: 157px;
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .journal-list-item__title {
/*    margin-top: 18px;*/
    font-size: 26px;
    line-height: 1.046;
  }

  .journal-list-item__author {
    margin-top: 20px;
  }

  .journal-rail-section {
    padding: 50px 0 66px;
  }

  .journal-section-heading {
    font-size: 30px;
  }

  .journal-section-copy {
    margin-top: 34px;
    font-size: 20px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
  }

  .journal-rail {
    width: calc(100% - 15px);
    margin-left: 0;
    padding-left: 15px;
  }

  .journal-rail-card {
    width: 329px;
    height: 484px;
  }

  .journal-rail-card__image-wrap {
    height: 381px;
  }

  .journal-rail-card__meta {
    margin: 10px 0 12px;
  }

  .journal-rail-card__title {
    font-size: 20px;
    font-weight: 700;
  }

  .journal-quote {
    padding: 54px 0 52px;
  }

  .journal-quote__rings {
    width: 260px;
    height: 260px;
    top: -70px;
    right: -110px;
  }

  .journal-quote__rings::before {
    inset: 28px;
  }

  .journal-quote__rings::after {
    inset: 56px;
  }

  .journal-quote__mark {
    margin-bottom: 24px;
    width: 64px;
    height: 46px;
  }

  .journal-quote__text {
    max-width: 380px;
    font-size: 30px;
    line-height: 1.3333;
  }

  /*.journal-quote__author {
    margin-top: 64px;
  }*/

  .journal-newsletter {
    padding: 40px 0 50px;
  }

  .journal-newsletter__title {
    max-width: 380px;
    font-size: 30px;
    line-height: 1.3333;
  }

  .journal-newsletter__form-row,
  .tts-native-form--newsletter {
    margin-top: 52px;
    gap: 10px;
  }

  .journal-newsletter__input {
    width: 100%;
    min-height: 60px;
    border: 1px solid var(--journal-stroke);
    border-radius: 0;
    padding-inline: 20px;
  }

  .journal-newsletter__button {
    min-height: 50px;
  }
}
