.resources-page,
.resource-article-page {
  background: #f7fafb;
  color: #111f28;
}

.resource-hero {
  padding: 68px 0 64px;
  background: #eaf3f6;
  border-bottom: 1px solid #d5e4e9;
}

.resource-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
  gap: 56px;
  align-items: end;
}

.resource-hero-copy h1 {
  max-width: 760px;
  margin: 14px 0 22px;
  font-size: 46px;
  line-height: 1.15;
  font-weight: 650;
  letter-spacing: 0;
}

.resource-hero-copy > p:not(.page-kicker) {
  max-width: 690px;
  margin: 0;
  color: #425761;
  font-size: 17px;
  line-height: 1.75;
}

.resource-home-hero .resource-hero-inner {
  grid-template-columns: 1fr;
}

.resource-home-hero {
  display: flex;
  min-height: 300px;
  align-items: center;
  background-color: #eaf3f6;
  background-image:
    linear-gradient(90deg, rgba(234, 243, 246, 0.98) 0%, rgba(234, 243, 246, 0.92) 38%, rgba(234, 243, 246, 0.55) 64%, rgba(234, 243, 246, 0.12) 100%),
    url("../assets/resources/editorial/mental-loneliness.png");
  background-position: 62% center;
  background-size: cover;
}

.resource-home-hero .resource-hero-copy {
  max-width: 650px;
}

.resource-simple-hero {
  min-height: 300px;
  padding: 64px 0 58px;
  display: flex;
  align-items: center;
  background: #eaf3f6;
  background-repeat: no-repeat;
  background-position: center, right center;
  background-size: 100% 100%, auto 132%;
  border-bottom: 1px solid #d5e4e9;
}

.resource-history-hero {
  background-image:
    linear-gradient(90deg, rgba(234, 243, 246, 1) 0%, rgba(234, 243, 246, 0.98) 42%, rgba(234, 243, 246, 0.82) 60%, rgba(234, 243, 246, 0.2) 100%),
    url("../assets/resources/editorial/history-archive-real.png");
  background-position: center, right 53%;
}

.resource-mental-hero {
  background-image:
    linear-gradient(90deg, rgba(234, 243, 246, 1) 0%, rgba(234, 243, 246, 0.98) 42%, rgba(234, 243, 246, 0.82) 60%, rgba(234, 243, 246, 0.18) 100%),
    url("../assets/resources/editorial/mental-grounding.png");
  background-position: center, right 44%;
}

.resource-nutrition-hero {
  background-image:
    linear-gradient(90deg, rgba(234, 243, 246, 1) 0%, rgba(234, 243, 246, 0.98) 42%, rgba(234, 243, 246, 0.8) 60%, rgba(234, 243, 246, 0.16) 100%),
    url("../assets/resources/editorial/nutrition-plant-based.png");
  background-position: center, right 48%;
}

.resource-simple-hero .resource-hero-copy {
  max-width: 760px;
}

.resource-simple-hero .resource-hero-copy h1 {
  margin: 10px 0 14px;
  font-size: 46px;
  line-height: 1.18;
}

.resource-simple-hero .resource-hero-copy > p:not(.page-kicker) {
  max-width: 640px;
}

.resource-simple-meta {
  display: block;
  margin-top: 20px;
  color: #61757e;
  font-size: 13px;
}

.resource-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin-top: 34px;
  color: #176c69;
  font-size: 14px;
}

.resource-hero-meta span::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 8px;
  border-radius: 50%;
  background: #008f80;
  vertical-align: 2px;
}

.today-mini-card {
  min-height: 286px;
  padding: 38px;
  color: #f4fbfc;
  background: #123746;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-decoration: none;
  transition: background-color 180ms ease, transform 180ms ease;
}

.today-mini-card:hover {
  background: #174656;
  transform: translateY(-2px);
}

.today-mini-card:focus-visible {
  outline: 3px solid #6dd8cc;
  outline-offset: 4px;
}

.today-mini-label {
  color: #89d6cc;
  font-size: 13px;
}

.today-mini-card h2 {
  margin: 12px 0 10px;
  font-size: 28px;
  line-height: 1.35;
  font-weight: 610;
}

.today-mini-card p {
  margin: 0;
  color: #d8e7eb;
  line-height: 1.7;
}

.resource-channel-nav {
  position: sticky;
  top: 0;
  z-index: 25;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid #dce7eb;
  backdrop-filter: blur(12px);
}

.resource-channel-nav .section-inner {
  min-height: 64px;
  display: flex;
  align-items: center;
  gap: 34px;
  overflow-x: auto;
}

.resource-channel-nav a {
  flex: 0 0 auto;
  color: #40545e;
  font-size: 14px;
}

.resource-channel-nav a:hover,
.resource-channel-nav a:focus-visible,
.resource-channel-nav a[aria-current="page"] {
  color: #008f80;
}

.resource-channel-nav a[aria-current="page"] {
  font-weight: 650;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 10px;
}

.today-feature {
  padding: 74px 0 82px;
  background: #fff;
}

.latest-feature + .latest-feature,
.channel-latest-feature + .channel-library,
.channel-latest-feature + .history-archive {
  border-top: 1px solid #e1eaed;
}

.today-feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 52px;
  align-items: center;
}

.today-feature-image {
  display: block;
  overflow: hidden;
  border-radius: 8px;
  background: #e9f0f2;
}

.today-feature-image img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.today-feature-image.is-portrait {
  width: min(100%, 520px);
  justify-self: center;
}

.today-feature-image.is-portrait img {
  aspect-ratio: 3 / 4;
}

.today-feature-copy h2 {
  margin: 12px 0 12px;
  font-size: 36px;
  line-height: 1.3;
  font-weight: 630;
}

.today-feature-copy h2 a {
  color: inherit;
  text-decoration: none;
  transition: color 160ms ease;
}

.today-feature-copy h2 a:hover,
.today-feature-copy h2 a:focus-visible {
  color: #007f75;
}

.today-feature-copy h2 a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

.today-feature-copy > p {
  color: #425761;
  line-height: 1.85;
}

.today-feature-copy .today-slogan {
  margin-bottom: 22px;
  color: #11776f;
  font-size: 18px;
  font-weight: 570;
}

.keyword-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.keyword-list span {
  padding: 5px 10px;
  color: #47606a;
  background: #eef4f6;
  border-radius: 4px;
  font-size: 12px;
}

.latest-feature-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  align-items: center;
  margin-top: 28px;
}

.resource-secondary-link {
  color: #536872;
  font-size: 14px;
}

.editorial-channel {
  padding: 66px 0 78px;
  background: #f7fafb;
}

.editorial-channel-alt {
  background: #edf5f2;
}

.channel-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.7fr);
  gap: 64px;
  align-items: end;
  margin-bottom: 30px;
}

.channel-heading-simple {
  display: block;
}

.channel-heading-simple h2,
.history-heading h2 {
  margin-top: 0;
}

.channel-heading h2 {
  margin: 10px 0 0;
  font-size: 34px;
  line-height: 1.35;
  font-weight: 630;
}

.channel-heading > p {
  margin: 0;
  color: #536872;
  line-height: 1.8;
}

.channel-heading-action {
  display: grid;
  justify-items: start;
  gap: 10px;
}

.channel-heading-action span {
  color: #687c84;
  font-size: 13px;
}

.channel-heading-action a {
  color: #0070b0;
  font-weight: 600;
}

.channel-principle-card {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 280px;
  padding: 42px;
  color: #eef7f8;
  background: #123746;
  border-radius: 8px;
}

.channel-principle-card span {
  color: #67d1c5;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.channel-principle-card strong {
  margin-top: 28px;
  color: #fff;
  font-size: 28px;
  line-height: 1.4;
}

.channel-principle-card p {
  margin: 14px 0 0;
  color: #d4e3e7;
  line-height: 1.8;
}

.channel-library {
  min-height: 0;
}

.resource-channel-page .channel-library {
  background: #fff;
}

.history-heading {
  grid-template-columns: 1fr;
}

.resource-list {
  border-top: 1px solid #d5e1e5;
}

.resource-list-item {
  display: grid;
  grid-template-columns: 136px minmax(0, 1fr) 128px;
  gap: 28px;
  align-items: center;
  min-width: 0;
  min-height: 124px;
  padding: 18px 0;
  color: inherit;
  border-bottom: 1px solid #d5e1e5;
  text-decoration: none;
  transition: background-color 160ms ease;
}

.resource-list-item:hover,
.resource-list-item:focus-visible {
  background: #f0f6f7;
}

.resource-list-item:focus-visible {
  outline: 2px solid #008f80;
  outline-offset: 3px;
}

.resource-list-image {
  display: block;
  width: 136px;
  height: 88px;
  overflow: hidden;
  background: #e5eef1;
  border-radius: 3px;
}

.resource-list-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.resource-list-item:hover .resource-list-image img,
.resource-list-item:focus-visible .resource-list-image img {
  transform: scale(1.025);
}

.resource-list-main {
  min-width: 0;
}

.resource-list-category {
  display: block;
  margin-bottom: 5px;
  color: #008f80;
  font-size: 12px;
  font-weight: 700;
}

.resource-list-item h3 {
  min-width: 0;
  margin: 0 0 6px;
  color: #142932;
  font-size: 20px;
  font-weight: 620;
  line-height: 1.45;
  transition: color 160ms ease;
}

.resource-list-item:hover h3,
.resource-list-item:focus-visible h3 {
  color: #007f75;
}

.resource-list-summary {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: #526872;
  font-size: 14px;
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.resource-list-aside {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  min-width: 0;
  color: #71838a;
  font-size: 12px;
  line-height: 1.5;
  text-align: right;
}

.resource-list-aside time {
  color: #17333d;
  font-size: 14px;
  font-weight: 650;
}

.history-archive {
  padding: 66px 0 78px;
  background: #fff;
}

.history-grid {
  display: block;
}

.history-empty {
  grid-column: 1 / -1;
  padding: 48px 0;
  color: #687b83;
}

.history-more {
  display: block;
  min-width: 190px;
  height: 46px;
  margin: 34px auto 0;
  padding: 0 22px;
  color: #17333d;
  background: #fff;
  border: 1px solid #aebfc5;
  border-radius: 3px;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}

.history-more:hover,
.history-more:focus-visible {
  color: #007b72;
  border-color: #007b72;
}

.history-more[hidden] {
  display: none;
}

.editorial-method {
  padding: 74px 0;
  color: #edf7f8;
  background: #123746;
}

.editorial-method-inner {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 72px;
}

.editorial-method .page-kicker {
  color: #7dd3c8;
}

.editorial-method h2 {
  margin: 10px 0 0;
  font-size: 30px;
  line-height: 1.4;
}

.editorial-method-points {
  display: grid;
  gap: 20px;
}

.editorial-method-points p {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 18px;
  margin: 0;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.editorial-method-points span {
  color: #c9dce1;
  line-height: 1.7;
}

.resource-loading-panel,
.article-loading,
.article-not-found {
  min-height: 360px;
  padding-top: 100px;
  color: #60737b;
}

/* Article page */
.article-breadcrumb {
  background: #fff;
  border-bottom: 1px solid #dce7eb;
}

.article-breadcrumb .section-inner {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.article-breadcrumb a {
  color: #50656f;
  font-size: 13px;
}

.article-hero {
  padding: 76px 0 72px;
  background: #edf5f7;
  border-bottom: 1px solid #d5e4e9;
}

.article-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.9fr);
  gap: 70px;
  align-items: center;
}

.article-hero-copy h1 {
  margin: 14px 0 20px;
  font-size: 46px;
  line-height: 1.22;
  font-weight: 650;
}

.article-subtitle {
  max-width: 720px;
  margin: 0;
  color: #425963;
  font-size: 19px;
  line-height: 1.75;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 30px;
  color: #60757e;
  font-size: 13px;
}

.article-hero-image {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #dfeaec;
}

.article-hero-image img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 760px) 290px;
  gap: 90px;
  justify-content: center;
  padding-top: 74px;
  padding-bottom: 80px;
}

.article-main {
  min-width: 0;
}

.article-lead {
  margin: 0 0 48px;
  color: #243a44;
  font-size: 20px;
  line-height: 1.9;
}

.article-section {
  margin: 0 0 44px;
}

.article-section h2,
.article-actions h2,
.article-sources h2,
.article-related h2 {
  margin: 0 0 18px;
  font-size: 27px;
  line-height: 1.4;
  font-weight: 630;
}

.article-section p {
  margin: 0 0 18px;
  color: #344c57;
  font-size: 17px;
  line-height: 1.95;
  text-align: justify;
}

.article-actions {
  margin: 54px 0 40px;
  padding: 32px 34px;
  background: #edf6f3;
  border-left: 4px solid #008f80;
}

.article-actions ol {
  display: grid;
  gap: 14px;
  margin: 0;
  padding-left: 22px;
  color: #27414a;
  line-height: 1.75;
}

.article-boundary {
  margin: 36px 0;
  padding: 24px 26px;
  background: #fff7e8;
  border: 1px solid #efdeb8;
  border-radius: 6px;
}

.article-boundary strong {
  color: #805d15;
}

.article-boundary p {
  margin: 8px 0 0;
  color: #64573c;
  line-height: 1.75;
}

.article-sources {
  margin-top: 46px;
  padding-top: 34px;
  border-top: 1px solid #dce7ea;
}

.article-sources ol {
  display: grid;
  gap: 14px;
  padding-left: 22px;
}

.article-sources li {
  color: #536a73;
  line-height: 1.6;
}

.article-sources a {
  color: #0070b0;
}

.article-sources span {
  display: block;
  font-size: 13px;
}

.article-editorial-note {
  margin-top: 36px;
  color: #687c84;
  font-size: 13px;
  line-height: 1.75;
}

.article-aside {
  align-self: start;
  position: sticky;
  top: 88px;
  display: grid;
  gap: 0;
  padding: 10px 24px 24px;
  background: #fff;
  border-top: 3px solid #008f80;
}

.article-aside > div {
  padding: 22px 0;
  border-bottom: 1px solid #e2eaed;
}

.article-aside > div > span {
  color: #6c7e85;
  font-size: 12px;
}

.article-aside p {
  margin: 8px 0 0;
  color: #263f49;
  line-height: 1.7;
}

.article-aside > a {
  margin-top: 22px;
  color: #0070b0;
  font-size: 14px;
  font-weight: 600;
}

.article-related {
  margin: 0 0 92px;
  padding-top: 46px;
  border-top: 1px solid #d6e3e7;
}

.article-related > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.article-related a {
  min-height: 132px;
  padding: 24px;
  color: #172d37;
  background: #fff;
  border: 1px solid #dae6e9;
  border-radius: 6px;
}

.article-related span {
  display: block;
  margin-bottom: 12px;
  color: #008f80;
  font-size: 12px;
}

.article-related strong {
  font-size: 17px;
  line-height: 1.55;
}

.history-article-hero {
  background: #eef4f6;
}

.history-article-hero .article-hero-image img {
  aspect-ratio: 16 / 9;
}

.history-long-shell {
  background: #fff;
}

.history-long-embed {
  padding: 78px 24px 64px;
}

.history-long-embed > section {
  width: 100%;
}

.history-six-gallery {
  padding: 76px 0 84px;
  background: #eef4f6;
}

.history-six-gallery h2 {
  max-width: 760px;
  margin: 10px 0 12px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.25;
  font-weight: 650;
}

.history-six-intro {
  max-width: 760px;
  margin: 0 0 34px;
  color: #5f747d;
  font-size: 16px;
  line-height: 1.8;
}

.history-six-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.history-six-grid figure {
  margin: 0;
  overflow: hidden;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(21, 53, 65, 0.08);
}

.history-six-grid img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.history-six-grid figcaption {
  padding: 12px 16px;
  color: #70838b;
  font-size: 11px;
  letter-spacing: 0.08em;
}

.history-long-footer {
  max-width: 920px;
  padding-top: 46px;
  padding-bottom: 20px;
}

.article-not-found h1 {
  margin: 12px 0;
  font-size: 40px;
}

.article-not-found a {
  display: inline-block;
  margin-top: 20px;
  color: #0070b0;
}

@media (max-width: 1024px) {
  .resource-hero-inner,
  .today-feature-grid,
  .article-hero-grid {
    gap: 42px;
  }

  .resource-list-item {
    grid-template-columns: 112px minmax(0, 1fr) 112px;
    gap: 22px;
  }

  .resource-list-image {
    width: 112px;
    height: 76px;
  }

  .article-layout {
    grid-template-columns: minmax(0, 1fr) 250px;
    gap: 48px;
  }
}

@media (max-width: 820px) {
  .resource-hero,
  .resource-simple-hero,
  .today-feature,
  .editorial-channel,
  .history-archive {
    padding-top: 66px;
    padding-bottom: 70px;
  }

  .resource-hero-inner,
  .today-feature-grid,
  .channel-heading,
  .editorial-method-inner,
  .article-hero-grid,
  .article-layout {
    grid-template-columns: 1fr;
  }

  .resource-hero-copy h1,
  .resource-simple-hero .resource-hero-copy h1,
  .article-hero-copy h1 {
    font-size: 40px;
  }

  .resource-home-hero {
    min-height: 270px;
    background-image:
      linear-gradient(90deg, rgba(234, 243, 246, 0.98) 0%, rgba(234, 243, 246, 0.92) 58%, rgba(234, 243, 246, 0.5) 100%),
      url("../assets/resources/editorial/mental-loneliness.png");
    background-position: 58% center;
  }

  .resource-simple-hero {
    min-height: 270px;
    background-size: 100% 100%, auto 112%;
  }

  .resource-history-hero,
  .resource-mental-hero,
  .resource-nutrition-hero {
    background-image:
      linear-gradient(90deg, rgba(234, 243, 246, 0.99) 0%, rgba(234, 243, 246, 0.96) 58%, rgba(234, 243, 246, 0.7) 100%),
      var(--resource-channel-image);
  }

  .resource-history-hero {
    --resource-channel-image: url("../assets/resources/editorial/history-archive-real.png");
  }

  .resource-mental-hero {
    --resource-channel-image: url("../assets/resources/editorial/mental-grounding.png");
  }

  .resource-nutrition-hero {
    --resource-channel-image: url("../assets/resources/editorial/nutrition-plant-based.png");
  }

  .channel-heading {
    gap: 18px;
  }

  .article-aside {
    position: static;
  }

  .article-related > div {
    grid-template-columns: 1fr;
  }

  .history-six-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .resource-list-item {
    grid-template-columns: 96px minmax(0, 1fr) 104px;
    gap: 16px;
  }

  .resource-list-image {
    width: 96px;
    height: 68px;
  }
}

@media (max-width: 560px) {
  .resource-hero,
  .resource-simple-hero {
    padding-top: 54px;
  }

  .resource-hero-copy h1,
  .resource-simple-hero .resource-hero-copy h1,
  .article-hero-copy h1 {
    font-size: 34px;
  }

  .resource-home-hero {
    min-height: 240px;
    background-image:
      linear-gradient(90deg, rgba(234, 243, 246, 0.97) 0%, rgba(234, 243, 246, 0.9) 72%, rgba(234, 243, 246, 0.68) 100%),
      url("../assets/resources/editorial/mental-loneliness.png");
    background-position: 56% center;
  }

  .resource-simple-hero {
    min-height: 250px;
    background-size: 100% 100%, auto 105%;
  }

  .resource-history-hero,
  .resource-mental-hero,
  .resource-nutrition-hero {
    background-image:
      linear-gradient(90deg, rgba(234, 243, 246, 0.99) 0%, rgba(234, 243, 246, 0.96) 68%, rgba(234, 243, 246, 0.78) 100%),
      var(--resource-channel-image);
  }

  .today-mini-card {
    min-height: 238px;
    padding: 28px;
  }

  .resource-channel-nav .section-inner {
    width: calc(100% - 32px);
    gap: 24px;
  }

  .resource-list-item {
    grid-template-columns: 76px minmax(0, 1fr) 66px;
    gap: 12px;
    min-height: 0;
    padding: 14px 0;
    align-items: start;
  }

  .resource-list-image {
    width: 76px;
    height: 58px;
  }

  .resource-list-category {
    margin-bottom: 3px;
    font-size: 11px;
  }

  .resource-list-item h3 {
    margin-bottom: 4px;
    font-size: 16px;
    line-height: 1.45;
  }

  .resource-list-summary {
    font-size: 12px;
    line-height: 1.55;
  }

  .resource-list-aside {
    padding-top: 1px;
    font-size: 10px;
  }

  .resource-list-aside time {
    font-size: 11px;
  }

  .channel-principle-card {
    min-height: 240px;
    padding: 32px 28px;
  }

  .today-feature-copy h2,
  .channel-heading h2 {
    font-size: 28px;
  }

  .editorial-method-points p {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .article-hero {
    padding: 54px 0 46px;
  }

  .article-layout {
    padding-top: 50px;
    padding-bottom: 54px;
  }

  .article-lead {
    font-size: 18px;
  }

  .article-section p {
    font-size: 16px;
  }

  .article-actions {
    padding: 26px 24px;
  }

  .history-long-embed {
    padding: 52px 18px 46px;
  }

  .history-six-gallery {
    padding: 54px 0 62px;
  }

  .history-six-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}
