/* Start custom CSS *//* ─── Reset & Base ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Work Sans', 'Helvetica Neue', sans-serif;
  font-size: 1rem;
  color: #00263e;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }

/* ─── Layout ─── */
.trh-wrap {
  width: min(100%, 1120px);
  margin: 0 auto;
  padding-inline: clamp(16px, 4vw, 32px);
}

.trh-block {
  padding-block: clamp(28px, 4vw, 44px);
}

.trh-block--tight {
  padding-block: clamp(20px, 3vw, 28px);
}

.trh-block--tint {
  background: #f7f9fa;
}

.trh-block--soft {
  background: #f0f7fb;
}

.trh-divider {
  border-top: 1px solid #e2ecf1;
}

/* ─── Dark Hero / Page Header ─── */
.trh-hero,
.trh-page-header {
  background: #00263e;
  position: relative;
  overflow: hidden;
}

.trh-hero::before,
.trh-page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 80% at 50% 115%, rgba(0, 157, 216, 0.22) 0%, transparent 72%);
  pointer-events: none;
}

.trh-hero {
  padding: clamp(42px, 5.5vw, 68px) 0 clamp(54px, 7vw, 82px);
  text-align: center;
}

.trh-page-header {
  padding: clamp(34px, 4.5vw, 52px) 0;
}

.trh-hero__inner,
.trh-page-header__inner {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 32px);
}

.trh-hero__eyebrow,
.trh-page-header__eyebrow {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7fd4f2;
  margin-bottom: 12px;
}

.trh-hero__heading,
.trh-page-header__heading {
  font-family: 'Georgia', serif;
  font-weight: 400;
  color: #ffffff;
  line-height: 1.08;
  margin-bottom: 14px;
}

.trh-hero__heading {
  font-size: clamp(2rem, 1rem + 3vw, 3.1rem);
}

.trh-page-header__heading {
  font-size: clamp(1.85rem, 1rem + 2.3vw, 2.7rem);
}

.trh-hero__sub,
.trh-page-header__desc {
  font-size: clamp(0.95rem, 0.88rem + 0.28vw, 1.05rem);
  color: #c0d7e2;
  line-height: 1.72;
  max-width: 64ch;
}

.trh-hero__sub {
  margin: 0 auto;
}

.trh-page-header__desc {
  margin: 0;
}

.trh-hero__meta,
.trh-page-header__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  margin-top: 20px;
}

.trh-hero__meta {
  justify-content: center;
}

.trh-hero__pill,
.trh-page-header__pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(176, 205, 217, 0.25);
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.8125rem;
  color: #d9e8ef;
}

.trh-page-header__row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.trh-page-header__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #8ed7ef;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.trh-page-header__back:hover {
  color: #ffffff;
}

/* ─── Quick Nav ─── */
.trh-quick-nav-shell {
  margin-top: -34px;
  position: relative;
  z-index: 2;
}

.trh-quick-nav {
  background: #f7f9fa;
  border: 1px solid #dbe8ee;
  border-radius: 18px;
  padding: 24px 22px;
  box-shadow: 0 14px 30px rgba(0, 38, 62, 0.08);
}

.trh-quick-nav__heading {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #009dd8;
  margin-bottom: 8px;
}

.trh-quick-nav__intro {
  font-family: 'Georgia', serif;
  font-size: clamp(1.15rem, 1rem + 0.8vw, 1.45rem);
  color: #00263e;
  margin-bottom: 8px;
}

.trh-quick-nav__desc {
  font-size: 0.9125rem;
  color: #4f6a7a;
  line-height: 1.65;
  margin-bottom: 18px;
  max-width: 64ch;
}

.trh-quick-nav__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.trh-nav-card {
  display: block;
  background: #ffffff;
  border: 1px solid #e2ecf1;
  border-radius: 14px;
  padding: 16px 18px;
  text-decoration: none;
  min-height: 100%;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.trh-nav-card:hover,
.trh-nav-card:focus-visible {
  border-color: #85cae5;
  box-shadow: 0 10px 22px rgba(0, 38, 62, 0.08);
  transform: translateY(-2px);
}

.trh-nav-card__top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.trh-nav-card__icon {
  font-size: 1.2rem;
  line-height: 1;
}

.trh-nav-card__arrow {
  font-size: 1rem;
  color: #009dd8;
}

.trh-nav-card__title {
  font-family: 'Georgia', serif;
  font-size: 1.2rem;
  font-weight: 400;
  color: #00263e;
  margin-bottom: 8px;
  line-height: 1.22;
}

.trh-nav-card__desc {
  font-size: 0.875rem;
  color: #4f6a7a;
  line-height: 1.55;
}

/* ─── Shared Sections ─── */
.trh-section {
  max-width: 1000px;
  margin: 0 auto;
}

.trh-section__header {
  margin-bottom: 20px;
}

.trh-section__header--split {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.trh-section__kicker {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #009dd8;
  margin-bottom: 10px;
}

.trh-section__icon {
  font-size: 1.45rem;
  margin-bottom: 8px;
}

.trh-section__heading {
  font-family: 'Georgia', serif;
  font-size: clamp(1.45rem, 1rem + 0.9vw, 1.9rem);
  font-weight: 400;
  color: #00263e;
  margin-bottom: 8px;
}

.trh-section__desc {
  font-size: 0.9375rem;
  color: #4f6a7a;
  line-height: 1.68;
  max-width: 68ch;
}

.trh-section__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #007eb0;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.trh-section__link:hover {
  color: #005d82;
}

.trh-section__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  margin-top: 18px;
}

.trh-section__pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #dbe8ee;
  font-size: 0.8125rem;
  color: #4f6a7a;
}

.trh-section__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
  gap: 20px;
}

/* ─── Resource Card Type System ─── */
:root {
  --trh-text: #1f2937;
  --trh-muted: #4b5563;
  --trh-surface: #ffffff;
  --trh-border: #d9e1ea;
  --trh-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  --trh-radius: 16px;

  --trh-article: #1d4f91;
  --trh-article-bg: #eaf3ff;

  --trh-newsletter: #1f6b43;
  --trh-newsletter-bg: #eaf8f0;

  --trh-website: #5b3ea8;
  --trh-website-bg: #f2edff;

  --trh-course: #8a4b0f;
  --trh-course-bg: #fff2e2;

  --trh-download: #0f6e78;
  --trh-download-bg: #e8f8fa;

  --trh-video: #a1283d;
  --trh-video-bg: #fdecef;
}

.trh-resource {
  background: var(--trh-surface);
  border: 1px solid var(--trh-border);
  border-radius: var(--trh-radius);
  box-shadow: var(--trh-shadow);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  height: 100%;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.trh-resource:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.09);
}

.trh-resource__label {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  min-height: 32px;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  text-transform: uppercase;
}

.trh-resource__title {
  margin: 0;
  font-family: 'Georgia', serif;
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.3;
  color: var(--trh-text);
}

.trh-resource__desc {
  margin: 0;
  color: var(--trh-muted);
  font-size: 0.98rem;
  line-height: 1.6;
}

.trh-resource__btn {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  width: fit-content;
  min-height: 44px;
  padding: 0.7rem 1rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid currentColor;
  background: transparent;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.trh-resource__btn:hover {
  transform: translateY(-1px);
}

.trh-resource__btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.trh-resource__btn:focus-visible {
  outline: 3px solid rgba(1, 105, 111, 0.22);
  outline-offset: 2px;
}

.trh-resource__icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.trh-resource__icon svg {
  width: 20px;
  height: 20px;
}

/* Article */
.trh-resource--article {
  border-top: 4px solid var(--trh-article);
}

.trh-resource--article .trh-resource__label {
  background: var(--trh-article-bg);
  color: var(--trh-article);
  border-color: rgba(29, 79, 145, 0.16);
}

.trh-resource--article .trh-resource__btn {
  color: var(--trh-article);
}

.trh-resource--article .trh-resource__btn:hover {
  background: var(--trh-article);
  color: #ffffff;
}

/* Newsletter */
.trh-resource--newsletter {
  border-top: 4px solid var(--trh-newsletter);
}

.trh-resource--newsletter .trh-resource__label {
  background: var(--trh-newsletter-bg);
  color: var(--trh-newsletter);
  border-color: rgba(31, 107, 67, 0.16);
}

.trh-resource--newsletter .trh-resource__btn {
  color: var(--trh-newsletter);
}

.trh-resource--newsletter .trh-resource__btn:hover {
  background: var(--trh-newsletter);
  color: #ffffff;
}

/* Website */
.trh-resource--website {
  border-top: 4px solid var(--trh-website);
}

.trh-resource--website .trh-resource__label {
  background: var(--trh-website-bg);
  color: var(--trh-website);
  border-color: rgba(91, 62, 168, 0.16);
}

.trh-resource--website .trh-resource__btn {
  color: var(--trh-website);
}

.trh-resource--website .trh-resource__btn:hover {
  background: var(--trh-website);
  color: #ffffff;
}

/* Course */
.trh-resource--course {
  border-top: 4px solid var(--trh-course);
}

.trh-resource--course .trh-resource__label {
  background: var(--trh-course-bg);
  color: var(--trh-course);
  border-color: rgba(138, 75, 15, 0.16);
}

.trh-resource--course .trh-resource__btn {
  color: var(--trh-course);
}

.trh-resource--course .trh-resource__btn:hover {
  background: var(--trh-course);
  color: #ffffff;
}

/* Download */
.trh-resource--download {
  border-top: 4px solid var(--trh-download);
}

.trh-resource--download .trh-resource__label {
  background: var(--trh-download-bg);
  color: var(--trh-download);
  border-color: rgba(15, 110, 120, 0.16);
}

.trh-resource--download .trh-resource__btn {
  color: var(--trh-download);
}

.trh-resource--download .trh-resource__btn:hover {
  background: var(--trh-download);
  color: #ffffff;
}

/* Video */
.trh-resource--video {
  border-top: 4px solid var(--trh-video);
}

.trh-resource--video .trh-resource__label {
  background: var(--trh-video-bg);
  color: var(--trh-video);
  border-color: rgba(161, 40, 61, 0.16);
}

.trh-resource--video .trh-resource__btn {
  color: var(--trh-video);
}

.trh-resource--video .trh-resource__btn:hover {
  background: var(--trh-video);
  color: #ffffff;
}

/* ─── Info Cards ─── */
.trh-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.trh-info-card {
  background: #f7f9fa;
  border: 1px solid #e2ecf1;
  border-radius: 14px;
  padding: 20px;
}

.trh-info-card__icon {
  font-size: 1.45rem;
  margin-bottom: 10px;
}

.trh-info-card__title {
  font-family: 'Georgia', serif;
  font-size: 1.02rem;
  font-weight: 400;
  color: #00263e;
  margin-bottom: 8px;
}

.trh-info-card__desc {
  font-size: 0.875rem;
  color: #4f6a7a;
  line-height: 1.6;
}

/* ─── CTA ─── */
.trh-cta {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid #d9e9f0;
  border-radius: 18px;
  padding: clamp(24px, 4vw, 34px);
  box-shadow: 0 12px 28px rgba(0, 38, 62, 0.06);
}

.trh-cta__heading {
  font-family: 'Georgia', serif;
  font-size: clamp(1.45rem, 1rem + 1vw, 1.9rem);
  font-weight: 400;
  color: #00263e;
  margin-bottom: 12px;
}

.trh-cta__desc {
  font-size: 0.9375rem;
  color: #4f6a7a;
  margin: 0 auto 20px;
  line-height: 1.72;
  max-width: 60ch;
}

.trh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  background: #009dd8;
  color: #ffffff;
  font-size: 0.9375rem;
  font-weight: 700;
  padding: 13px 24px;
  border-radius: 999px;
  text-decoration: none;
}

.trh-btn:hover {
  background: #007eb0;
}

.trh-btn svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

/* ─── Responsive ─── */
@media (max-width: 767px) {
  .trh-hero {
    padding-bottom: 62px;
  }

  .trh-page-header {
    padding-block: 30px;
  }

  .trh-quick-nav-shell {
    margin-top: -26px;
  }

  .trh-quick-nav {
    border-radius: 16px;
    padding: 20px 18px;
  }

  .trh-section__header--split,
  .trh-page-header__row {
    align-items: start;
  }

  .trh-nav-card__title {
    font-size: 1.12rem;
  }
}

@media (max-width: 640px) {
  .trh-resource {
    padding: 1rem;
  }

  .trh-resource__title {
    font-size: 1.08rem;
  }

  .trh-resource__desc {
    font-size: 0.95rem;
  }

  .trh-resource__btn {
    width: 100%;
    justify-content: center;
  }
}/* End custom CSS */