:root {
  --journal-detail-purple: #430c63;
  --journal-detail-purple-deep: #350a4d;
  --journal-detail-accent: #ffa921;
  --journal-detail-body: #272727;
  --journal-detail-text-soft: #5b5b5b;
  --journal-detail-stroke: #eee2ce;
  --journal-detail-surface: #f7f4ef;
}

.journal-detail-page {
  background: #ffffff;
}

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

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

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

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

.journal-detail-content {
  padding: 140px 0 0;
}

.journal-detail-layout {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 88px;
}

.journal-detail-main {
  position: relative;
  flex: 1 1 auto;
  width: 100%;
  max-width: 950px;
  min-width: 0;
}

.journal-detail-main::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: -44px;
  width: 1px;
  background: var(--journal-detail-stroke);
}

.journal-article__breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0 0 29px;
  font-size: 10px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #c0c0c0;
}

.journal-article__breadcrumb a {
  color: inherit;
  font-size:14px;
}


a.journal-article__breadcrumb-current
{
      color: #430C63;
    font-weight: 500;
}

.journal-article__breadcrumb-current {
  color: var(--journal-detail-purple);
}

.journal-article__title {
  margin: 0;
  font-family: "Cabin", sans-serif;
  font-size: 30px;
  font-weight: 400;
  line-height: 1.15;
  color: #23221b;
}

.journal-article__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-top: 18px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  color: #c0c0c0;
}

.journal-article__meta-item {
  color: #c0c0c0;
}

.journal-article__meta-item--author {
  color: #c0c0c0;
  font-weight: 500;
}

.journal-article__meta-separator {
  width: 1px;
  height: 12px;
  background: #d7cdbf;
}

.journal-article__lead {
  margin: 40px 0 0;
  font-size: 16px;
  line-height: 1.7;
  color: #000000;
}

.journal-article__lead strong {
  font-weight: 700;
}

.journal-article__hero {
  margin: 40px 0 0;
}

.journal-article__hero img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.journal-article__body {
  margin-top: 40px;
  color: #000000;
}

.journal-article__body > *:first-child {
  margin-top: 0;
}

.journal-article__body p {
  margin: 0 0 18px;
  font-size: 16px;
  line-height: 1.75;
}

.journal-article__body p strong {
  font-weight: 700;
}

.journal-article__section-title {
  margin: 36px 0 12px;
  font-family: "Cabin", sans-serif;
  font-size: 20px;
  line-height: 1.35;
  color: #23221b;
}

.journal-article__subheading {
  margin: 22px 0 10px;
  font-family: "Cabin", sans-serif;
  font-size: 18px;
  line-height: 1.35;
  color: #23221b;
}

.journal-article__list {
  margin: 0 0 18px;
  padding-left: 22px;
}

.journal-article__list li {
  margin-bottom: 12px;
  font-size: 16px;
  line-height: 1.75;
}

.journal-article__links {
  display: grid;
  gap: 10px;
  margin: 0 0 18px;
}

.journal-article__links a {
  font-size: 15px;
  line-height: 1.6;
  color: #23221b;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.journal-detail-sidebar {
  flex: 0 0 302px;
  width: 302px;
  position: sticky;
  top: 122px;
}

.journal-sidebar-block + .journal-sidebar-block {
  margin-top: 38px;
}

.journal-sidebar-title {
  display: inline-flex;
  align-items: center;
  gap: 23px;
  margin: 0 0 30px;
  font-family: "Cabin", sans-serif;
  font-size: 16px;
  line-height: 1.25;
  text-transform: uppercase;
  color: var(--journal-detail-accent);
}

.journal-sidebar-title__icon {
  display: block;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
}

.journal-latest-item {
  display: block;
  padding: 0 0 0px;
  border-bottom: 1px solid var(--journal-detail-stroke);
  background: transparent;
  width: 100%;
  text-align: left;
  border-left: 0;
  border-right: 0;
  border-top: 0;
  cursor: pointer;
}

.journal-latest-item + .journal-latest-item {
  padding-top: 16px;
}

.journal-latest-item:hover .journal-latest-item__title,
.journal-latest-item.is-current .journal-latest-item__title {
  color: var(--journal-detail-purple);
}

.journal-latest-item__title {
  margin: 0;
  font-family: "Cabin", sans-serif;
  font-size: 20px;
  line-height: 1.2;
  color: #23221b;
  transition: color 0.2s ease;
}

.journal-latest-item__meta {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.5;
  color: #887f76;
  text-transform: uppercase;
}

.journal-topic-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.journal-topic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 11px 20px;
  border: 1px solid var(--journal-detail-stroke);
  border-radius: 10px;
  background: #ffffff;
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
  color: var(--journal-detail-body);
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.journal-topic:hover,
.journal-topic.is-active {
  border-color: var(--journal-detail-purple);
  background: var(--journal-detail-purple);
  color: #ffffff;
}

.journal-post-nav {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 44px;
  padding: 24px 0;
  border-top: 1px solid var(--journal-detail-stroke);
  border-bottom: 1px solid var(--journal-detail-stroke);
}

.journal-post-nav__button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 36px;
  padding: 11px 20px;
  border: 1px solid var(--journal-detail-stroke);
  border-radius: 10px;
  background: #ffffff;
  font-size: 12px;
  line-height: 1;
  text-transform: uppercase;
  color: var(--journal-detail-body);
  cursor: pointer;
}

.journal-post-nav__button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.journal-post-nav__button::before,
.journal-post-nav__button::after {
  content: "";
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}

.journal-post-nav__button--prev::before {
  border-right: 6px solid currentColor;
}

.journal-post-nav__button--prev::after {
  display: none;
}

.journal-post-nav__button--next::before {
  display: none;
}

.journal-post-nav__button--next::after {
  border-left: 6px solid currentColor;
}

.journal-studies {
  padding: 70px 0 72px;
}

.journal-studies__head {
  margin-bottom: 46px;
}

.journal-studies__title {
  margin: 0;
  font-family: "Cabin", sans-serif;
  font-size: 36px;
  line-height: 1;
  text-transform: uppercase;
  color: #060303;
}

.journal-studies__copy {
  margin: 15px 0 0;
  font-size: 24px;
  font-weight: 300;
  line-height: 1.15;
  color: #060303;
}

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

.journal-study-card {
  width: 371px;
}

.journal-study-card__link {
  display: block;
}

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

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

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

.journal-study-card__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 15px;
  font-size: 12px;
  line-height: 1;
  text-transform: uppercase;
  color: #5b5b5b;
}

.journal-study-card__square {
  width: 10px;
  height: 11px;
  background: currentColor;
}

.journal-study-card__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.journal-study-card__title {
  margin: 17px 0 0;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.05;
  color: #5b5b5b;
}

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

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

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

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

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

.journal-newsletter__input::placeholder {
  color: #bfb6ac;
}

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

.journal-newsletter__button:hover,
.journal-newsletter__button:focus {
  transform: none;
}

@media (max-width: 1199px) {
  .journal-detail-layout {
    gap: 40px;
  }

  .journal-detail-main::after {
    right: -20px;
  }

  .journal-detail-main {
    max-width: calc(100% - 320px);
  }

  .journal-detail-sidebar {
    flex-basis: 280px;
    width: 280px;
  }

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

@media (max-width: 1023px) {
  .journal-detail-page .site-nav {
    background: rgba(25, 3, 38, 0.95);
  }

  .journal-detail-content {
    padding-top: 120px;
  }

  .journal-detail-layout {
    flex-direction: column;
    gap: 34px;
  }

  .journal-detail-main,
  .journal-detail-sidebar {
    max-width: none;
    width: 100%;
    position: static;
  }

  .journal-detail-main::after {
    display: none;
  }

  .journal-studies {
    padding: 64px 0 54px;
  }

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

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

  .journal-newsletter__form-row,
  .tts-native-form--newsletter {
    flex-direction: column;
    gap: 10px;
  }

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

  .journal-newsletter__input {
    border-right: 1px solid var(--journal-detail-accent);
  }
}

@media (max-width: 767px) {
  .journal-detail-page {
    overflow-x: hidden;
  }

  .journal-article__breadcrumb {
    margin-bottom: 14px;
  }

  .journal-article__title {
    font-size: 28px;
    line-height: 1.18;
  }

  .journal-article__meta {
    margin-top: 12px;
  }

  .journal-article__lead,
  .journal-article__body p,
  .journal-article__list li {
    font-size: 14px;
    line-height: 1.72;
  }

  .journal-article__hero {
    margin-top: 24px;
  }

  .journal-article__body {
    margin-top: 28px;
  }

  .journal-article__section-title {
    font-size: 18px;
  }

  .journal-article__subheading {
    font-size: 16px;
  }

  .journal-latest-item__title {
    font-size: 18px;
  }

  .journal-post-nav {
    flex-direction: column;
    margin-top: 30px;
  }

  .journal-post-nav__button {
    justify-content: center;
    width: 100%;
  }

  .journal-studies__head {
    margin-bottom: 28px;
  }

  .journal-studies__title {
    font-size: 30px;
  }

  .journal-studies__copy {
    margin-top: 11px;
    font-size: 20px;
    line-height: 1.3;
  }

  .journal-study-card {
    width: 329px;
  }

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

  .journal-study-card__title {
    font-size: 20px;
    font-weight: 500;
  }

  .journal-newsletter {
    padding: 18px 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: 36px;
  }

  .journal-newsletter__input {
    min-height: 50px;
    padding-inline: 20px;
  }
}
