/* Latest health articles on the homepage; the full journal keeps its own layout. */
:is(.phm-site, .editor-styles-wrapper) .phm-home-journal {
  color: var(--ink, #29342e);
  background: #fff;
  font-family: var(--sans, ComfortSans, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif);
  word-break: keep-all;
  overflow-wrap: anywhere;
}

:is(.phm-site, .editor-styles-wrapper) .phm-home-journal *,
:is(.phm-site, .editor-styles-wrapper) .phm-home-journal *::before,
:is(.phm-site, .editor-styles-wrapper) .phm-home-journal *::after { box-sizing: border-box; }
:is(.phm-site, .editor-styles-wrapper) .phm-home-journal :where(p, h2, h3, figure, ul) { margin: 0; }
:is(.phm-site, .editor-styles-wrapper) .phm-home-journal :where(.is-layout-flow) > * { margin-block: 0; }
:is(.phm-site, .editor-styles-wrapper) .phm-home-journal a { color: inherit; text-decoration: none; }
:is(.phm-site, .editor-styles-wrapper) .phm-home-journal a:focus-visible { outline: 3px solid var(--focus, #236b4a); outline-offset: 4px; }
:is(.phm-site, .editor-styles-wrapper) .phm-home-journal .heading-row { margin-bottom: 36px; }
:is(.phm-site, .editor-styles-wrapper) .phm-home-journal .heading-row .text-link { min-height: 44px; }

:is(.phm-site, .editor-styles-wrapper) .phm-home-journal ul.phm-home-journal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}
:is(.phm-site, .editor-styles-wrapper) .phm-home-journal .phm-home-journal-grid > li { min-width: 0; margin: 0; }
:is(.phm-site, .editor-styles-wrapper) .phm-home-journal article.phm-home-journal-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line, #e0e3dc);
  border-radius: 4px;
  background: #fff;
}
:is(.phm-site, .editor-styles-wrapper) .phm-home-journal figure.phm-home-journal-media {
  flex: none;
  width: 100%;
  aspect-ratio: 1 / 1;
  margin: 0;
  border-bottom: 1px solid var(--line, #e0e3dc);
  border-radius: 3px 3px 0 0;
  background: var(--ivory, #f6f4ee);
}
:is(.phm-site, .editor-styles-wrapper) .phm-home-journal .phm-home-journal-media > a { display: block; width: 100%; height: 100%; border-radius: inherit; }
:is(.phm-site, .editor-styles-wrapper) .phm-home-journal .phm-home-journal-media img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  margin: 0;
  border-radius: inherit;
  object-fit: contain;
  object-position: center;
  transform: none;
}
:is(.phm-site, .editor-styles-wrapper) .phm-home-journal .phm-home-journal-media-fallback > a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  color: var(--gold-deep, #80612b);
  background: linear-gradient(145deg, #f6f4ee 0%, #f6f4ee 75%, #ece7d7 75%, #ece7d7 100%);
  text-align: center;
}
:is(.phm-site, .editor-styles-wrapper) .phm-home-journal .phm-home-journal-media-fallback span { font-size: 13px; font-weight: 600; line-height: 1.6; letter-spacing: .05em; }
:is(.phm-site, .editor-styles-wrapper) .phm-home-journal .phm-home-journal-media-fallback small { display: block; margin-top: 10px; color: var(--ink, #29342e); font-size: 27px; font-weight: 600; line-height: 1.4; letter-spacing: -.035em; }

:is(.phm-site, .editor-styles-wrapper) .phm-home-journal div.phm-home-journal-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  padding: 24px;
}
:is(.phm-site, .editor-styles-wrapper) .phm-home-journal .phm-home-journal-date { margin: 0 0 10px; color: var(--muted, #58645d); font-size: 12px; font-weight: 400; line-height: 1.6; font-variant-numeric: tabular-nums; }
:is(.phm-site, .editor-styles-wrapper) .phm-home-journal h3.phm-home-journal-title { margin: 0 0 12px; font-family: inherit; font-size: 22px; font-weight: 600; line-height: 1.5; letter-spacing: -.035em; text-wrap: pretty; }
:is(.phm-site, .editor-styles-wrapper) .phm-home-journal h3.phm-home-journal-title,
:is(.phm-site, .editor-styles-wrapper) .phm-home-journal .phm-home-journal-title a { word-break: keep-all; overflow-wrap: anywhere; }
:is(.phm-site, .editor-styles-wrapper) .phm-home-journal .phm-home-journal-title a { display: block; min-height: 44px; }
:is(.phm-site, .editor-styles-wrapper) .phm-home-journal .phm-home-journal-title a:hover { color: var(--gold-deep, #80612b); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
:is(.phm-site, .editor-styles-wrapper) .phm-home-journal .phm-home-journal-excerpt {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  margin: 0 0 18px;
  color: var(--muted, #58645d);
  font-size: 15px;
  line-height: 1.8;
}
:is(.phm-site, .editor-styles-wrapper) .phm-home-journal .phm-home-journal-excerpt p { margin: 0; }
:is(.phm-site, .editor-styles-wrapper) .phm-home-journal a.phm-home-journal-readmore {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  min-height: 44px;
  margin: auto 0 0;
  padding: 8px 0 5px;
  border-bottom: 1px solid var(--gold-light, #c7ac74);
  color: var(--ink, #29342e);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}
:is(.phm-site, .editor-styles-wrapper) .phm-home-journal .phm-home-journal-readmore:hover { color: var(--gold-deep, #80612b); border-color: var(--gold-deep, #80612b); }
:is(.phm-site, .editor-styles-wrapper) .phm-home-journal .phm-home-journal-empty { padding: 40px 28px; border: 1px solid var(--line, #e0e3dc); border-radius: 4px; background: var(--ivory, #f6f4ee); color: var(--muted, #58645d); font-size: 16px; line-height: 1.8; }

@media (max-width: 1199px) {
  :is(.phm-site, .editor-styles-wrapper) .phm-home-journal ul.phm-home-journal-grid { gap: 22px; }
  :is(.phm-site, .editor-styles-wrapper) .phm-home-journal div.phm-home-journal-body { padding: 22px; }
  :is(.phm-site, .editor-styles-wrapper) .phm-home-journal h3.phm-home-journal-title { font-size: 21px; }
}

@media (max-width: 999px) {
  :is(.phm-site, .editor-styles-wrapper) .phm-home-journal ul.phm-home-journal-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  :is(.phm-site, .editor-styles-wrapper) .phm-home-journal article.phm-home-journal-card { display: grid; grid-template-columns: 172px minmax(0, 1fr); align-items: start; gap: 26px; padding: 22px; }
  :is(.phm-site, .editor-styles-wrapper) .phm-home-journal figure.phm-home-journal-media { border: 1px solid var(--line, #e0e3dc); border-radius: 3px; }
  :is(.phm-site, .editor-styles-wrapper) .phm-home-journal div.phm-home-journal-body { align-self: stretch; padding: 0; }
  :is(.phm-site, .editor-styles-wrapper) .phm-home-journal .phm-home-journal-date { margin-bottom: 7px; }
  :is(.phm-site, .editor-styles-wrapper) .phm-home-journal h3.phm-home-journal-title { margin-bottom: 9px; font-size: 22px; }
  :is(.phm-site, .editor-styles-wrapper) .phm-home-journal .phm-home-journal-excerpt { margin-bottom: 10px; font-size: 14px; }
  :is(.phm-site, .editor-styles-wrapper) .phm-home-journal .phm-home-journal-media-fallback > a { padding: 12px; }
  :is(.phm-site, .editor-styles-wrapper) .phm-home-journal .phm-home-journal-media-fallback span { font-size: 11px; }
  :is(.phm-site, .editor-styles-wrapper) .phm-home-journal .phm-home-journal-media-fallback small { margin-top: 7px; font-size: 21px; }
}

@media (max-width: 599px) {
  :is(.phm-site, .editor-styles-wrapper) .phm-home-journal .heading-row { margin-bottom: 26px; }
  :is(.phm-site, .editor-styles-wrapper) .phm-home-journal ul.phm-home-journal-grid { gap: 16px; }
  :is(.phm-site, .editor-styles-wrapper) .phm-home-journal article.phm-home-journal-card { grid-template-columns: clamp(108px, 28vw, 120px) minmax(0, 1fr); gap: 16px; padding: 16px; }
  :is(.phm-site, .editor-styles-wrapper) .phm-home-journal .phm-home-journal-date { margin-bottom: 5px; font-size: 11px; }
  :is(.phm-site, .editor-styles-wrapper) .phm-home-journal h3.phm-home-journal-title { margin-bottom: 5px; font-size: 19px; line-height: 1.5; }
  :is(.phm-site, .editor-styles-wrapper) .phm-home-journal .phm-home-journal-excerpt { display: none; }
  :is(.phm-site, .editor-styles-wrapper) .phm-home-journal a.phm-home-journal-readmore { font-size: 13px; }
  :is(.phm-site, .editor-styles-wrapper) .phm-home-journal .phm-home-journal-media-fallback > a { padding: 8px; }
  :is(.phm-site, .editor-styles-wrapper) .phm-home-journal .phm-home-journal-media-fallback span { font-size: 10px; letter-spacing: 0; }
  :is(.phm-site, .editor-styles-wrapper) .phm-home-journal .phm-home-journal-media-fallback small { margin-top: 5px; font-size: 16px; }
  :is(.phm-site, .editor-styles-wrapper) .phm-home-journal .phm-home-journal-empty { padding: 28px 20px; font-size: 15px; }
}

@media (max-width: 359px) {
  :is(.phm-site, .editor-styles-wrapper) .phm-home-journal article.phm-home-journal-card { grid-template-columns: 88px minmax(0, 1fr); gap: 12px; padding: 13px; }
  :is(.phm-site, .editor-styles-wrapper) .phm-home-journal h3.phm-home-journal-title { font-size: 17px; }
  :is(.phm-site, .editor-styles-wrapper) .phm-home-journal .phm-home-journal-media-fallback > a { padding: 5px; }
  :is(.phm-site, .editor-styles-wrapper) .phm-home-journal .phm-home-journal-media-fallback span { font-size: 9px; }
  :is(.phm-site, .editor-styles-wrapper) .phm-home-journal .phm-home-journal-media-fallback small { font-size: 14px; }
}
