/* Humanity Foundation — Our Blogs: fresh editorial layout. Shared header/footer CSS remains untouched. */
.blogs-page.journal-page {
  background: #fffdf5;
  color: #172340;
  font-family: 'DM Sans', Arial, sans-serif;
}

.journal-page main {
  overflow: hidden;
  background: #fffdf5;
}

.journal-page button {
  font: inherit;
}

.journal-page .journal-hero {
  position: relative;
  padding: clamp(42px, 6vw, 76px) 0 0;
  background: linear-gradient(180deg, #f5f6f7 0%, #fffdf5 100%);
}

.journal-hero-inner {
  width: min(1360px, calc(100% - 64px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, .93fr) minmax(420px, 1.07fr);
  gap: clamp(28px, 5vw, 78px);
  align-items: center;
}

.journal-hero-copy {
  padding: 10px 0 35px;
  max-width: 590px;
}

.journal-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #d9243b;
  font-size: 15px;
  line-height: 1.4;
  font-weight: 800;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.journal-eyebrow-line {
  display: inline-block;
  width: 27px;
  height: 2px;
  border-radius: 2px;
  background: #ffed00;
}

.journal-hero h1 {
  margin: 19px 0 18px;
  color: #14213f;
  font: 700 clamp(43px, 5.3vw, 72px)/.99 'Playfair Display', Georgia, serif;
  letter-spacing: -1.8px;
}

.journal-hero h1 em {
  color: #d9253d;
  font-style: normal;
}

.journal-hero-copy>p {
  max-width: 490px;
  margin: 0;
  color: #667184;
  font-size: 15px;
  line-height: 1.8;
}

.journal-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-top: 26px;
}

.journal-btn-primary,
.journal-btn-outline,
.journal-btn-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 47px;
  padding: 12px 20px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 800;
  transition: transform .22s ease, background .22s ease, box-shadow .22s ease, color .22s ease;
}

.journal-btn-primary {
  border: 1px solid #ffed00;
  background: #ffed00;
  color: #172340;
  box-shadow: 0 8px 20px rgba(207, 180, 0, .17);
}

.journal-btn-primary:hover {
  background: #ffe45b;
  border-color: #ffe45b;
  color: #172340;
  transform: translateY(-2px);
  box-shadow: 0 12px 22px rgba(207, 180, 0, .22);
}

.journal-btn-link {
  min-height: auto;
  padding: 8px 0;
  color: #172340;
}

.journal-btn-link:hover {
  color: #d9253d;
  transform: translateX(3px);
}

.journal-topic-row {
  display: flex;
  flex-wrap: wrap;
  gap: 17px;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #e9e7df;
  color: #7b8492;
  font-size: 15px;
  font-weight: 600;
}

.journal-topic-row span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.journal-topic-row i {
  color: #d9253d;
  font-size: 14px;
}

.journal-hero-visual {
  position: relative;
  min-height: 440px;
  margin: 0 0 25px;
}

.journal-photo-main {
  position: absolute;
  top: 0;
  right: 7%;
  width: 78%;
  height: 390px;
  overflow: hidden;
  border-radius: 22px 22px 22px 78px;
  background: #e4e2da;
  box-shadow: 0 22px 55px rgba(22, 32, 52, .12);
}

.journal-photo-main::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, .42);
  border-radius: inherit;
  pointer-events: none;
}

.journal-photo-main img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.journal-photo-small {
  position: absolute;
  left: 0;
  bottom: 9px;
  width: 38%;
  height: 165px;
  overflow: hidden;
  border: 8px solid #fffdf5;
  border-radius: 18px 18px 52px 18px;
  background: #eee9dd;
  box-shadow: 0 16px 35px rgba(22, 32, 52, .16);
  transform: rotate(-4deg);
}

.journal-photo-small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.journal-note-card {
  position: absolute;
  right: 0;
  bottom: 25px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 17px;
  border: 1px solid rgba(232, 227, 211, .9);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(22, 32, 52, .12);
}

.journal-note-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: #fff3a8;
  color: #d9253d;
  font-size: 15px;
}

.journal-note-card strong,
.journal-note-card small {
  display: block;
}

.journal-note-card strong {
  color: #172340;
  font: 700 12px 'DM Sans', sans-serif;
}

.journal-note-card small {
  margin-top: 3px;
  color: #87909c;
  font-size: 10px;
}

.journal-deco-dot {
  position: absolute;
  display: block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.journal-dot-yellow {
  top: 31px;
  left: 6%;
  background: #ffed00;
  box-shadow: 0 0 0 7px rgba(255, 237, 0, .18);
}

.journal-dot-red {
  top: 45%;
  right: 2%;
  width: 9px;
  height: 9px;
  background: #d9253d;
  box-shadow: 0 0 0 7px rgba(217, 37, 61, .1);
}

.journal-hero-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 23px;
  min-height: 52px;
  padding: 10px 20px;
  background: #14213f;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .19em;
}

.journal-hero-bottom i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #ffed00;
}

.journal-stories {
  width: min(1280px, calc(100% - 64px));
  margin: 0 auto;
  padding: clamp(56px, 7vw, 90px) 0 82px;
}

.journal-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 27px;
}

.journal-section-head h2 {
  margin: 13px 0 9px;
  color: #14213f;
  font: 700 clamp(30px, 3.4vw, 43px)/1.1 'Playfair Display', Georgia, serif;
  letter-spacing: -.7px;
}

.journal-section-head h2 em {
  color: #d9253d;
  font-style: normal;
}

.journal-section-head p {
  max-width: 580px;
  margin: 0;
  color: #77808e;
  font-size: 13px;
  line-height: 1.7;
}

.journal-search {
  display: flex;
  align-items: center;
  gap: 9px;
  flex: 0 0 min(100%, 320px);
  min-height: 47px;
  padding: 0 14px;
  border: 1px solid #e5e2d8;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 5px 16px rgba(20, 33, 63, .045);
  transition: border-color .2s, box-shadow .2s;
}

.journal-search:focus-within {
  border-color: #d9c900;
  box-shadow: 0 0 0 4px rgba(255, 237, 0, .17);
}

.journal-search>i {
  color: #d9253d;
  font-size: 15px;
}

.journal-search input {
  min-width: 0;
  width: 100%;
  padding: 11px 0;
  border: 0 !important;
  outline: none !important;
  background: transparent !important;
  color: #172340;
  box-shadow: none !important;
  font: 500 15px 'DM Sans', sans-serif;
}

.journal-search input::placeholder {
  color: #9aa1ac;
}

.journal-search button {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border: 0;
  border-radius: 50%;
  background: #f3f1e9;
  color: #48536a;
}

.journal-search button:hover {
  background: #ffed00;
}

.journal-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 25px;
  padding: 0 0 15px;
  border-bottom: 1px solid #eae7df;
}

.journal-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.journal-filter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 7px 13px;
  border: 1px solid #e6e2d9;
  border-radius: 999px;
  background: #fff;
  color: #5e6879;
  font-size: 11px;
  font-weight: 700;
  transition: all .2s ease;
}

.journal-filter span {
  display: grid;
  place-items: center;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border-radius: 999px;
  background: #f2f0e8;
  color: #737b89;
  font-size: 9px;
}

.journal-filter:hover {
  border-color: #decf00;
  transform: translateY(-1px);
}

.journal-filter.is-active {
  border-color: #ffed00;
  background: #ffed00;
  color: #172340;
  box-shadow: 0 5px 13px rgba(207, 180, 0, .12);
}

.journal-filter.is-active span {
  background: rgba(255, 255, 255, .65);
  color: #172340;
}

.journal-result-count {
  margin: 0;
  color: #8a919d;
  font-size: 11px;
  white-space: nowrap;
}

.journal-featured-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.journal-featured-card,
.journal-story-card {
  position: relative;
  overflow: hidden;
  border: 1px solid #ede9df;
  border-radius: 19px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(20, 33, 63, .055);
  transition: transform .28s ease, box-shadow .28s ease;
}

.journal-featured-card:hover,
.journal-story-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 17px 35px rgba(20, 33, 63, .11);
}

.journal-featured-card {
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  grid-row: span 2;
  min-height: 450px;
}

.journal-featured-image,
.journal-story-image {
  position: relative;
  display: block;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  padding: 0;
  border: 0;
  background: #ece8de;
  text-align: left;
  cursor: pointer;
}

.journal-featured-image img,
.journal-story-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s cubic-bezier(.2, .7, .25, 1);
}

.journal-featured-image:hover img,
.journal-story-image:hover img {
  transform: scale(1.045);
}

.journal-featured-image {
  min-height: 450px;
}

.journal-image-action {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 50%;
  background: #ffed00;
  color: #172340;
  font-size: 15px;
  transition: transform .22s ease;
}

.journal-featured-image:hover .journal-image-action,
.journal-story-image:hover .journal-image-action {
  transform: rotate(45deg);
}

.journal-featured-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(23px, 3vw, 39px);
}

.journal-feature-label {
  position: absolute;
  top: 17px;
  left: 17px;
  z-index: 2;
  padding: 7px 11px;
  border-radius: 999px;
  background: #ffed00;
  color: #172340;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .1em;
}

.journal-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 17px;
  color: #969ca6;
  font-size: 10px;
}

.journal-category {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #fff7c7;
  color: #bd2038;
  font-size: 12px;
  font-weight: 800;
}

.journal-featured-copy h3 {
  margin: 0 0 13px;
  color: #14213f;
  font: 700 clamp(24px, 2.5vw, 34px)/1.17 'Playfair Display', Georgia, serif;
}

.journal-featured-copy h3 button,
.journal-story-copy h3 button {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  font: inherit;
}

.journal-featured-copy h3 button:hover,
.journal-story-copy h3 button:hover {
  color: #d9253d;
}

.journal-featured-copy>p {
  margin: 0 0 23px;
  color: #747e8e;
  font-size: 12px;
  line-height: 1.85;
}

.journal-featured-copy .journal-read-link {
  margin-top: auto;
}

.journal-story-card {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  min-height: 213px;
}

.journal-story-image {
  min-height: 213px;
}

.journal-story-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 20px 20px 17px;
}

.journal-story-copy h3 {
  margin: 12px 0 8px;
  color: #14213f;
  font: 700 19px/1.2 'Playfair Display', Georgia, serif;
}

.journal-story-copy>p {
  margin: 0 0 13px;
  color: #78818f;
  font-size: 11px;
  line-height: 1.65;
}

.journal-read-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: #d9253d;
  font-size: 11px;
  font-weight: 800;
  transition: gap .2s ease;
}

.journal-read-link:hover {
  gap: 13px;
  color: #ae1c30;
}

.journal-featured-card[hidden],
.journal-story-card[hidden] {
  display: none !important;
}

.journal-empty {
  padding: 55px 20px;
  border: 1px dashed #d9d3c5;
  border-radius: 18px;
  background: #fff;
  text-align: center;
}

.journal-empty[hidden] {
  display: none !important;
}

.journal-empty>span {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #fff5b1;
  color: #d9253d;
  font-size: 22px;
}

.journal-empty h3 {
  margin: 13px 0 5px;
  color: #14213f;
  font: 700 23px 'Playfair Display', Georgia, serif;
}

.journal-empty p {
  color: #7c8592;
  font-size: 12px;
}

.journal-empty button {
  padding: 10px 17px;
  border: 0;
  border-radius: 999px;
  background: #ffed00;
  color: #172340;
  font-size: 11px;
  font-weight: 800;
}

.journal-invite {
  position: relative;
  display: flex;
  align-items: center;
  gap: 25px;
  width: min(1280px, calc(100% - 64px));
  margin: 0 auto 86px;
  padding: clamp(25px, 3.5vw, 42px);
  overflow: hidden;
  border-radius: 22px;
  background: #14213f;
  box-shadow: 0 16px 35px rgba(20, 33, 63, .15);
}

.journal-invite::after {
  content: "";
  position: absolute;
  right: 15%;
  top: -100px;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(255, 237, 0, .13);
  border-radius: 50%;
  box-shadow: 0 0 0 35px rgba(255, 237, 0, .035), 0 0 0 75px rgba(255, 237, 0, .025);
  pointer-events: none;
}

.journal-invite-mark {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  flex: 0 0 62px;
  border: 1px solid rgba(255, 237, 0, .35);
  border-radius: 18px;
  background: rgba(255, 237, 0, .1);
  color: #ffed00;
  font-size: 25px;
}

.journal-invite-copy {
  position: relative;
  z-index: 1;
  flex: 1;
}

.journal-invite .journal-eyebrow {
  color: #fff0a0;
}

.journal-invite h2 {
  margin: 9px 0 8px;
  color: #fff;
  font: 700 clamp(22px, 2.5vw, 31px)/1.18 'Playfair Display', Georgia, serif;
}

.journal-invite h2 em {
  color: #ffed00;
  font-style: normal;
}

.journal-invite p {
  margin: 0;
  color: rgba(255, 255, 255, .72);
  font-size: 11px;
  line-height: 1.7;
}

.journal-invite-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.journal-btn-outline {
  border: 1px solid rgba(255, 255, 255, .55);
  background: transparent;
  color: #fff;
}

.journal-btn-outline:hover {
  border-color: #fff;
  background: #fff;
  color: #14213f;
  transform: translateY(-2px);
}

.journal-dialog {
  width: min(760px, calc(100% - 28px));
  max-width: none;
  max-height: min(88vh, 900px);
  padding: 0;
  overflow: auto;
  border: 0;
  border-radius: 20px;
  background: #fffdf8;
  color: #172340;
  box-shadow: 0 28px 85px rgba(4, 10, 22, .35);
}

.journal-dialog::backdrop {
  background: rgba(8, 14, 26, .72);
  backdrop-filter: blur(4px);
}

.journal-dialog[open] {
  animation: journalDialogIn .22s ease-out;
}

@keyframes journalDialogIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(.985);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.journal-dialog-top {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 15px 19px;
  border-bottom: 1px solid #ede8dd;
  background: rgba(255, 253, 248, .96);
  backdrop-filter: blur(8px);
  color: #d9253d;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .1em;
}

.journal-dialog-top button {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  border: 0;
  border-radius: 50%;
  background: #f2f0e7;
  color: #172340;
}

.journal-dialog-top button:hover {
  background: #ffed00;
}

.journal-dialog-content {
  padding: 22px clamp(18px, 4vw, 34px) 28px;
}

.journal-dialog-content>img {
  display: block;
  width: 100%;
  max-height: 310px;
  margin-bottom: 20px;
  border-radius: 13px;
  object-fit: cover;
}

.journal-dialog-content h2 {
  margin: 13px 0;
  color: #14213f;
  font: 700 clamp(25px, 4vw, 34px)/1.18 'Playfair Display', Georgia, serif;
}

.journal-dialog-content>p {
  color: #697487;
  font-size: 13px;
  line-height: 1.85;
}

.journal-dialog-note {
  margin-top: 18px;
  padding: 13px 15px;
  border-left: 3px solid #ffed00;
  background: #fff8d4;
  color: #5d6879;
  font-size: 11px;
  line-height: 1.6;
}

.journal-dialog-actions {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 9px;
  padding: 15px 22px 20px;
  border-top: 1px solid #ede8dd;
}

.journal-dialog-actions .journal-btn-outline {
  color: #172340;
  border-color: #d8d5cc;
}

.journal-dialog-actions .journal-btn-outline:hover {
  border-color: #14213f;
  background: #14213f;
  color: #fff;
}

@media (max-width: 1100px) {
  .journal-hero-inner {
    grid-template-columns: minmax(0, .9fr) minmax(350px, 1.1fr);
    gap: 28px;
  }

  .journal-photo-main {
    width: 84%;
    height: 350px;
  }

  .journal-hero-visual {
    min-height: 400px;
  }

  .journal-featured-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .journal-featured-card {
    grid-column: 1/-1;
    grid-row: auto;
    min-height: 370px;
  }

  .journal-featured-image {
    min-height: 370px;
  }

  .journal-story-card {
    grid-template-columns: 1fr;
  }

  .journal-story-image {
    height: 190px;
    min-height: 0;
  }
}

@media (max-width: 767.98px) {
  .journal-hero {
    padding-top: 28px !important;
  }

  .journal-hero-inner {
    width: calc(100% - 32px);
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .journal-hero-copy {
    padding: 7px 0 8px;
  }

  .journal-hero h1 {
    margin: 14px 0 12px;
    font-size: clamp(40px, 11vw, 58px);
    letter-spacing: -1.2px;
  }

  .journal-hero-copy>p {
    font-size: 13px;
    line-height: 1.7;
  }

  .journal-hero-actions {
    gap: 13px;
    margin-top: 18px;
  }

  .journal-btn-primary,
  .journal-btn-outline {
    min-height: 43px;
    padding: 10px 16px;
    font-size: 11px;
  }

  .journal-topic-row {
    gap: 12px;
    margin-top: 19px;
    padding-top: 14px;
    font-size: 10px;
  }

  .journal-hero-visual {
    min-height: 300px;
    margin: 5px 0 17px;
  }

  .journal-photo-main {
    top: 0;
    right: 3%;
    width: 84%;
    height: 260px;
    border-radius: 17px 17px 17px 55px;
  }

  .journal-photo-small {
    bottom: 0;
    width: 38%;
    height: 112px;
    border-width: 6px;
  }

  .journal-note-card {
    right: 0;
    bottom: 9px;
    padding: 9px 11px;
    gap: 8px;
  }

  .journal-note-icon {
    width: 29px;
    height: 29px;
    border-radius: 9px;
    font-size: 12px;
  }

  .journal-note-card strong {
    font-size: 10px;
  }

  .journal-note-card small {
    font-size: 8px;
  }

  .journal-hero-bottom {
    min-height: 43px;
    gap: 11px;
    font-size: 8px;
    letter-spacing: .12em;
  }

  .journal-stories {
    width: calc(100% - 32px);
    padding: 48px 0 55px;
  }

  .journal-section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 17px;
    margin-bottom: 19px;
  }

  .journal-section-head h2 {
    margin: 10px 0 7px;
    font-size: 30px;
  }

  .journal-section-head p {
    font-size: 12px;
  }

  .journal-search {
    width: 100%;
    flex-basis: auto;
    min-height: 44px;
  }

  .journal-filter-bar {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 18px;
  }

  .journal-filters {
    gap: 6px;
  }

  .journal-filter {
    min-height: 34px;
    padding: 7px 10px;
    font-size: 10px;
  }

  .journal-result-count {
    font-size: 10px;
  }

  .journal-featured-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .journal-featured-card {
    grid-column: auto;
    grid-template-columns: 1fr;
    min-height: 0;
    border-radius: 15px;
  }

  .journal-featured-image {
    height: clamp(205px, 62vw, 290px);
    min-height: 0;
  }

  .journal-featured-copy {
    padding: 20px 18px 19px;
  }

  .journal-featured-copy h3 {
    font-size: 25px;
  }

  .journal-featured-copy>p {
    margin-bottom: 17px;
    font-size: 12px;
  }

  .journal-feature-label {
    top: 12px;
    left: 12px;
  }

  .journal-story-card {
    grid-template-columns: .9fr 1.1fr;
    min-height: 160px;
    border-radius: 14px;
  }

  .journal-story-image {
    height: 100%;
    min-height: 160px;
  }

  .journal-story-copy {
    justify-content: center;
    padding: 14px 13px;
  }

  .journal-story-copy h3 {
    margin: 9px 0 6px;
    font-size: 17px;
  }

  .journal-story-copy>p {
    margin-bottom: 9px;
    font-size: 10px;
  }

  .journal-story-copy .journal-category {
    padding: 5px 8px;
    font-size: 9px;
  }

  .journal-read-link {
    font-size: 10px;
  }

  .journal-invite {
    width: calc(100% - 32px);
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 55px;
    padding: 23px 19px;
    border-radius: 17px;
  }

  .journal-invite-mark {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
    border-radius: 13px;
    font-size: 20px;
  }

  .journal-invite-copy {
    flex: 1 1 calc(100% - 65px);
  }

  .journal-invite h2 {
    font-size: 24px;
  }

  .journal-invite p {
    font-size: 10px;
  }

  .journal-invite-actions {
    width: 100%;
  }

  .journal-invite-actions>* {
    flex: 1 1 145px;
  }
}

@media (max-width: 420px) {
  .journal-topic-row {
    gap: 9px;
  }

  .journal-topic-row span {
    gap: 5px;
    font-size: 9px;
  }

  .journal-story-card {
    grid-template-columns: 1fr;
  }

  .journal-story-image {
    height: 190px;
    min-height: 0;
  }

  .journal-story-copy {
    padding: 16px;
  }

  .journal-story-copy h3 {
    font-size: 20px;
  }

  .journal-story-copy>p {
    font-size: 11px;
  }

  .journal-dialog-actions {
    justify-content: stretch;
  }

  .journal-dialog-actions>* {
    flex: 1 1 130px;
  }
}

@media (prefers-reduced-motion: reduce) {

  .journal-btn-primary,
  .journal-btn-outline,
  .journal-btn-link,
  .journal-featured-card,
  .journal-story-card,
  .journal-featured-image img,
  .journal-story-image img,
  .journal-image-action,
  .journal-dialog[open] {
    transition: none !important;
    animation: none !important;
  }
}