/* Toweringmedia Resource Center — storefront styles
   Scoped to .tm-rc. Soft-adapts to CCW forest green as a practical equipment library. */
.tm-rc {
  --tm-rc-ink: #1a1f16;
  --tm-rc-muted: #5c6356;
  --tm-rc-line: #d5d9d0;
  --tm-rc-surface: #f3f5ef;
  --tm-rc-surface-2: #e8ede1;
  --tm-rc-accent: #315f0a;
  --tm-rc-accent-deep: #1b3704;
  --tm-rc-accent-bright: #169508;
  --tm-rc-accent-soft: rgba(49, 95, 10, 0.1);
  --tm-rc-measure: 42rem;
  --tm-rc-radius: 0.2rem;
  --tm-rc-shadow: 0 10px 28px rgba(26, 31, 22, 0.1);
  color: var(--tm-rc-ink);
  max-width: 72rem;
  margin: 0 auto;
  padding: 1.5rem 1rem 3.5rem;
}

/* —— Shared chrome —— */
.tm-rc__header { margin-bottom: 1.75rem; }
.tm-rc__header--landing { margin-bottom: 2.25rem; max-width: 40rem; }
.tm-rc__eyebrow {
  margin: 0 0 0.55rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  font-size: 0.84rem;
  font-weight: 650;
  color: var(--tm-rc-muted);
}
.tm-rc__title {
  font-size: clamp(1.75rem, 2.5vw, 2.35rem);
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 0.75rem;
}
.tm-rc__intro,
.tm-rc__problem {
  color: var(--tm-rc-muted);
  font-size: 1.05rem;
  line-height: 1.55;
  max-width: 42rem;
  margin: 0 0 1rem;
}
.tm-rc__problem {
  color: var(--tm-rc-ink);
  font-size: 1.08rem;
  max-width: 46rem;
}
.tm-rc__crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: 0.9rem;
  color: var(--tm-rc-muted);
  margin-bottom: 1.25rem;
}
.tm-rc__crumbs a { color: var(--tm-rc-accent); text-decoration: none; }
.tm-rc__crumbs a:hover { text-decoration: underline; }

.tm-rc__search {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin-top: 1rem;
}
.tm-rc__search--landing {
  margin-top: 1.25rem;
  padding: 0;
  background: transparent;
  border: 0;
  max-width: 36rem;
  gap: 0.55rem;
}
.tm-rc__search--landing input[type="search"] {
  border: 1px solid var(--tm-rc-line);
  background: #fff;
}
.tm-rc__search-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.tm-rc__search input[type="search"] {
  flex: 1 1 14rem;
  min-height: 2.65rem;
  padding: 0.55rem 0.85rem;
  border: 1px solid var(--tm-rc-line);
  border-radius: 0.15rem;
  background: #fff;
  font-size: 1rem;
}
.tm-rc__search--landing input[type="search"] {
  border: 1px solid var(--tm-rc-line);
  background: #fff;
}
.tm-rc__search button {
  min-height: 2.65rem;
  padding: 0.55rem 1.15rem;
  border: 0;
  border-radius: 0.15rem;
  background: var(--tm-rc-accent);
  color: #fff;
  cursor: pointer;
  font-weight: 650;
}
.tm-rc__search button:hover { background: var(--tm-rc-accent-deep); }

.tm-rc__section { margin-top: 2.5rem; }
.tm-rc__section-title {
  font-size: 1.3rem;
  font-weight: 650;
  letter-spacing: -0.015em;
  margin: 0 0 0.45rem;
  padding-bottom: 0.45rem;
  border-bottom: 2px solid var(--tm-rc-accent-soft);
}
.tm-rc__section-lead {
  margin: 0 0 1.15rem;
  color: var(--tm-rc-muted);
  font-size: 0.98rem;
  max-width: 36rem;
}

/* —— Landing featured + browse —— */
.tm-rc__featured {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 48rem) {
  .tm-rc__featured {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.1rem;
  }
}
@media (min-width: 64rem) {
  .tm-rc__featured {
    grid-template-columns: 1.35fr 1fr 1fr;
  }
  .tm-rc__featured .tm-rc__tile--featured:first-child {
    min-height: 20rem;
  }
}

.tm-rc__browse,
.tm-rc__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(14.5rem, 1fr));
  gap: 0.85rem;
}

.tm-rc__tile {
  display: flex;
  flex-direction: column;
  position: relative;
  min-height: 10.5rem;
  background: var(--tm-rc-surface);
  border: 1px solid var(--tm-rc-line);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.tm-rc__tile:hover {
  border-color: #a8b39a;
  box-shadow: var(--tm-rc-shadow);
  transform: translateY(-2px);
}
.tm-rc__tile--featured {
  min-height: 16rem;
}
@media (min-width: 48rem) {
  .tm-rc__tile--featured { min-height: 18rem; }
}
.tm-rc__tile--browse { min-height: 11rem; }

.tm-rc__tile--has-bg {
  border-color: transparent;
  background-color: #2f3a2a;
  background-image: linear-gradient(180deg, rgba(18, 28, 14, 0.08) 10%, rgba(12, 20, 8, 0.72) 100%),
    var(--tm-rc-tile-bg);
  background-size: cover;
  background-position: center;
  color: #fff;
  justify-content: flex-end;
}
.tm-rc__tile--has-bg:hover {
  border-color: transparent;
  box-shadow: 0 14px 30px rgba(15, 23, 32, 0.28);
}
.tm-rc__tile--has-bg .tm-rc__tile-media {
  position: absolute;
  inset: 0;
  aspect-ratio: auto;
  background: transparent;
  pointer-events: none;
  opacity: 0;
}
.tm-rc__tile--has-bg .tm-rc__tile-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.tm-rc__tile--has-bg .tm-rc__tile-body {
  position: relative;
  z-index: 1;
  padding: 1.15rem 1.1rem 1.25rem;
  gap: 0.4rem;
  background: transparent;
}
.tm-rc__tile--has-bg .tm-rc__tile-title {
  color: #fff;
  font-weight: 700;
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
  letter-spacing: 0.01em;
  line-height: 1.25;
  text-shadow: 0 1px 2px rgba(15, 23, 32, 0.45);
}
.tm-rc__tile--has-bg .tm-rc__tile-text {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.88rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.tm-rc__tile--has-bg .tm-rc__tile-kicker,
.tm-rc__tile--has-bg .tm-rc__tile-cta {
  color: rgba(220, 240, 200, 0.95);
}
.tm-rc__tile--featured.tm-rc__tile--has-bg .tm-rc__tile-text {
  -webkit-line-clamp: 4;
}

.tm-rc__tile-media { aspect-ratio: 16 / 10; background: #e7e5e4; overflow: hidden; }
.tm-rc__tile-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tm-rc__tile-body { padding: 0.9rem 1rem 1.1rem; display: grid; gap: 0.35rem; }
.tm-rc__tile-kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tm-rc-accent);
}
.tm-rc__tile-title { font-weight: 650; font-size: 1.05rem; line-height: 1.3; }
.tm-rc__tile-text { color: var(--tm-rc-muted); font-size: 0.92rem; line-height: 1.45; }
.tm-rc__tile-cta {
  margin-top: 0.35rem;
  font-size: 0.86rem;
  font-weight: 650;
  color: var(--tm-rc-accent);
}

/* —— Category resource cards —— */
.tm-rc__badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.55rem;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  text-transform: none;
  border: 1px solid var(--tm-rc-line);
  background: var(--tm-rc-surface);
  color: var(--tm-rc-accent-deep);
}
.tm-rc__badge--start {
  background: var(--tm-rc-accent);
  border-color: var(--tm-rc-accent);
  color: #fff;
}
.tm-rc__badge--type {
  background: #fff;
  color: var(--tm-rc-muted);
}
.tm-rc__resource-cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}
@media (min-width: 48rem) {
  .tm-rc__resource-cards {
    grid-template-columns: 1fr 1fr;
    gap: 0.95rem;
  }
  .tm-rc__resource-cards > li:has(.tm-rc__resource-card--start) {
    grid-column: 1 / -1;
  }
}
.tm-rc__resource-card {
  display: grid;
  gap: 0.45rem;
  padding: 1.1rem 1.15rem 1.2rem;
  background: #fff;
  border: 1px solid var(--tm-rc-line);
  border-left: 3px solid transparent;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.tm-rc__resource-card:hover {
  border-color: #8fa97a;
  box-shadow: 0 8px 20px rgba(27, 55, 4, 0.08);
  transform: translateY(-1px);
}
.tm-rc__resource-card--start {
  border-left-color: var(--tm-rc-accent);
  background: linear-gradient(135deg, #f7faf3 0%, #fff 55%);
  padding-top: 1.25rem;
  padding-bottom: 1.35rem;
}
.tm-rc__resource-card--start .tm-rc__resource-card-title {
  font-size: 1.2rem;
}
.tm-rc__resource-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.tm-rc__resource-card-title {
  font-weight: 650;
  font-size: 1.08rem;
  line-height: 1.35;
  color: var(--tm-rc-accent-deep);
}
.tm-rc__resource-card-teaser {
  color: var(--tm-rc-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}
.tm-rc__resource-card-cta {
  margin-top: 0.15rem;
  font-size: 0.88rem;
  font-weight: 650;
  color: var(--tm-rc-accent);
}

.tm-rc__prose--about {
  max-width: var(--tm-rc-measure);
  color: var(--tm-rc-muted);
  font-size: 0.98rem;
}
.tm-rc__prose--about h2 {
  font-size: 1.1rem;
  color: var(--tm-rc-ink);
  margin-top: 1.4rem;
}

/* Legacy list (search / fallbacks) */
.tm-rc__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; }
.tm-rc__list a {
  display: grid;
  gap: 0.25rem;
  padding: 0.85rem 1rem;
  background: var(--tm-rc-surface);
  border: 1px solid var(--tm-rc-line);
  text-decoration: none;
  color: inherit;
}
.tm-rc__list a:hover { border-color: var(--tm-rc-accent); }
.tm-rc__list span { color: var(--tm-rc-muted); font-size: 0.92rem; }

/* —— Resource article layout —— */
.tm-rc--resource .tm-rc__header { margin-bottom: 1.35rem; }
.tm-rc__hero {
  margin: 1.25rem 0 0;
  overflow: hidden;
  background: #2a3324;
}
.tm-rc__hero--image img {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.tm-rc__hero--video .tm-rc__video { border-radius: 0; }

/* Guide tools: quick-ref + takeaways */
.tm-rc__guide-tools {
  display: grid;
  gap: 1rem;
  margin: 0 0 1.5rem;
}
@media (min-width: 56rem) {
  .tm-rc__guide-tools--id {
    grid-template-columns: 1.35fr 1fr;
    gap: 1.1rem;
    align-items: stretch;
  }
  .tm-rc__guide-tools--id .tm-rc__quick-ref,
  .tm-rc__guide-tools--id .tm-rc__takeaways {
    margin: 0;
    height: 100%;
  }
  .tm-rc__guide-tools--id .tm-rc__check-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Quick-ref identification checklist */
.tm-rc__quick-ref {
  margin: 0;
  padding: 1.15rem 1.2rem 1.25rem;
  background: var(--tm-rc-surface);
  border-top: 3px solid var(--tm-rc-accent);
}
.tm-rc__quick-ref-title {
  margin: 0 0 0.85rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tm-rc-accent-deep);
}
.tm-rc__check-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.45rem 1rem;
}
@media (min-width: 36rem) {
  .tm-rc__check-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 56rem) {
  .tm-rc__check-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.tm-rc__check-item {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 0.55rem 0.65rem;
  background: #fff;
  border: 1px solid var(--tm-rc-line);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.35;
}
.tm-rc__check-mark {
  flex: 0 0 auto;
  width: 1rem;
  height: 1rem;
  margin-top: 0.12rem;
  border: 2px solid var(--tm-rc-accent);
  background: #fff;
}

.tm-rc__takeaways {
  margin: 0;
  padding: 1.15rem 1.25rem 1.2rem;
  background: linear-gradient(135deg, var(--tm-rc-surface) 0%, var(--tm-rc-surface-2) 100%);
  border-left: 4px solid var(--tm-rc-accent);
}
.tm-rc__takeaways-title {
  margin: 0 0 0.65rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tm-rc-accent-deep);
}
.tm-rc__takeaways-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}
.tm-rc__takeaways-list li {
  position: relative;
  padding-left: 1.55rem;
  line-height: 1.5;
  color: var(--tm-rc-ink);
}
.tm-rc__takeaways-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35rem;
  width: 0.85rem;
  height: 0.85rem;
  border: 2px solid var(--tm-rc-accent);
  background: #fff;
}
.tm-rc__takeaways--checklist .tm-rc__takeaways-list li::before {
  box-shadow: inset 0 0 0 1px var(--tm-rc-accent-soft);
}

/* TOC — mobile disclosure + desktop sticky rail */
.tm-rc__toc {
  margin: 0 0 1.25rem;
  border: 1px solid var(--tm-rc-line);
  background: #fff;
}
.tm-rc__toc-toggle {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border: 0;
  background: transparent;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  color: var(--tm-rc-ink);
}
.tm-rc__toc-chevron {
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid var(--tm-rc-muted);
  border-bottom: 2px solid var(--tm-rc-muted);
  transform: rotate(45deg);
  transition: transform 0.15s ease;
  margin-top: -0.2rem;
}
.tm-rc__toc-toggle[aria-expanded="true"] .tm-rc__toc-chevron {
  transform: rotate(225deg);
  margin-top: 0.2rem;
}
.tm-rc__toc-panel {
  display: none;
  padding: 0 1rem 1rem;
  border-top: 1px solid var(--tm-rc-line);
}
.tm-rc__toc-panel.is-open { display: block; }
.tm-rc__toc-label {
  display: none;
  margin: 0 0 0.65rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--tm-rc-muted);
}
.tm-rc__toc-list {
  margin: 0.75rem 0 0;
  padding: 0 0 0 1.1rem;
  display: grid;
  gap: 0.4rem;
}
.tm-rc__toc-list a {
  color: var(--tm-rc-accent-deep);
  text-decoration: none;
  line-height: 1.35;
}
.tm-rc__toc-list a:hover { text-decoration: underline; color: var(--tm-rc-accent-bright); }
.tm-rc__toc-rail { display: none; }
.tm-rc__toc-fallback { padding: 0.75rem 1rem; }
.tm-rc__toc-fallback summary { cursor: pointer; font-weight: 600; }
.tm-rc__rail-actions {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--tm-rc-line);
}
.tm-rc__rail-action-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}
.tm-rc__rail-action-list a {
  color: var(--tm-rc-accent);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
}
.tm-rc__rail-action-list a:hover { text-decoration: underline; }

.tm-rc__layout--with-toc { display: block; }

@media (min-width: 64rem) {
  .tm-rc__toc { display: none; }
  .tm-rc__layout--with-toc {
    display: grid;
    grid-template-columns: 14rem minmax(0, 1fr);
    gap: 2.25rem;
    align-items: start;
  }
  .tm-rc__toc-rail {
    display: block;
    position: sticky;
    top: 5.5rem;
    padding: 0.95rem 1rem 1.1rem;
    background: var(--tm-rc-surface);
    border-left: 3px solid var(--tm-rc-accent);
  }
  .tm-rc__toc-rail .tm-rc__toc-label { display: block; }
  .tm-rc__toc-rail .tm-rc__toc-list {
    margin-top: 0;
    padding-left: 0;
    list-style: none;
  }
  .tm-rc__toc-rail .tm-rc__toc-list a {
    display: block;
    padding: 0.25rem 0;
  }
}

/* Prose polish */
.tm-rc__prose {
  line-height: 1.7;
  font-size: 1.05rem;
  max-width: var(--tm-rc-measure);
}
.tm-rc__prose > *:first-child { margin-top: 0; }
.tm-rc__prose p { margin: 0 0 1.05rem; }
.tm-rc__prose h2 {
  font-size: 1.35rem;
  font-weight: 650;
  letter-spacing: -0.015em;
  margin: 2.1rem 0 0.75rem;
  scroll-margin-top: 5.5rem;
}
.tm-rc__prose h3 {
  font-size: 1.12rem;
  font-weight: 650;
  margin: 1.5rem 0 0.55rem;
  scroll-margin-top: 5.5rem;
}
.tm-rc__prose ul, .tm-rc__prose ol {
  margin: 0 0 1.15rem;
  padding-left: 1.25rem;
}
.tm-rc__prose li { margin-bottom: 0.35rem; }
.tm-rc__prose img {
  max-width: 100%;
  height: auto;
}
.tm-rc__prose table,
.tm-rc__table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  margin: 0 0 1.5rem;
  font-size: 0.95rem;
  background: #fff;
  border: 1px solid var(--tm-rc-line);
  overflow: hidden;
}
.tm-rc__prose th,
.tm-rc__prose td,
.tm-rc__table th,
.tm-rc__table td {
  padding: 0.7rem 0.85rem;
  border-bottom: 1px solid var(--tm-rc-line);
  text-align: left;
  vertical-align: top;
}
.tm-rc__prose th,
.tm-rc__table th {
  background: var(--tm-rc-surface-2);
  font-weight: 650;
  color: var(--tm-rc-accent-deep);
}
.tm-rc__prose tr:last-child td { border-bottom: 0; }
.tm-rc__prose .tm-rc__table-wrap,
.tm-rc__table-wrap {
  overflow-x: auto;
  margin: 0 0 1.5rem;
  -webkit-overflow-scrolling: touch;
}
.tm-rc__prose .tm-rc__table-wrap table { margin: 0; }

/* Choice cards (selection guides) */
.tm-rc__choices {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  margin: 0 0 1.5rem;
  max-width: none;
}
@media (min-width: 40rem) {
  .tm-rc__choices { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.tm-rc__choice {
  display: grid;
  gap: 0.45rem;
  padding: 1.05rem 1.1rem 1.15rem;
  background: #fff;
  border: 1px solid var(--tm-rc-line);
  border-top: 3px solid var(--tm-rc-accent);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.tm-rc__choice:hover {
  border-color: #8fa97a;
  box-shadow: 0 8px 20px rgba(27, 55, 4, 0.08);
  transform: translateY(-1px);
}
.tm-rc__choice h3,
.tm-rc__choice-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 650;
  color: var(--tm-rc-accent-deep);
}
.tm-rc__choice p,
.tm-rc__choice-text {
  margin: 0;
  color: var(--tm-rc-muted);
  font-size: 0.94rem;
  line-height: 1.5;
}
.tm-rc__choice-meta {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--tm-rc-accent-bright);
}

/* Need / materials */
.tm-rc__need-body {
  max-width: var(--tm-rc-measure);
  background: var(--tm-rc-surface);
  border-left: 3px solid var(--tm-rc-accent);
  padding: 1rem 1.15rem;
}
.tm-rc__need-body ul {
  margin: 0;
  padding-left: 1.15rem;
  display: grid;
  gap: 0.4rem;
}
.tm-rc__need-body li { line-height: 1.45; }

/* Watch */
.tm-rc__watch-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; }
.tm-rc__watch-caption {
  margin: 0.65rem 0 0;
  color: var(--tm-rc-muted);
  font-size: 0.95rem;
}
.tm-rc__video {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  background: #111;
}
.tm-rc__video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Downloads */
.tm-rc__download-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}
.tm-rc__download {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "icon body"
    "cta cta";
  gap: 0.75rem 1rem;
  align-items: center;
  padding: 1rem 1.1rem;
  background: #fff;
  border: 1px solid var(--tm-rc-line);
}
@media (min-width: 40rem) {
  .tm-rc__download {
    grid-template-columns: auto 1fr auto;
    grid-template-areas: "icon body cta";
  }
}
.tm-rc__download-icon {
  grid-area: icon;
  display: grid;
  place-items: center;
  min-width: 3rem;
  height: 2.4rem;
  padding: 0 0.55rem;
  background: var(--tm-rc-accent-soft);
  color: var(--tm-rc-accent-deep);
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.04em;
}
.tm-rc__download-body { grid-area: body; min-width: 0; }
.tm-rc__download-title {
  margin: 0;
  font-weight: 650;
  font-size: 1.02rem;
}
.tm-rc__download-desc {
  margin: 0.25rem 0 0;
  color: var(--tm-rc-muted);
  font-size: 0.9rem;
  line-height: 1.4;
}
.tm-rc__download-cta {
  grid-area: cta;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.4rem;
  padding: 0.45rem 1rem;
  background: var(--tm-rc-accent);
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 650;
  font-size: 0.92rem;
  white-space: nowrap;
}
.tm-rc__download-cta:hover { background: var(--tm-rc-accent-deep); }

.tm-rc__hero-image { margin: 1rem 0 0; overflow: hidden; }
.tm-rc__hero-image img { width: 100%; display: block; }

.tm-rc__assets { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.tm-rc__asset a { color: var(--tm-rc-accent); }
.tm-rc__asset-desc { display: block; color: var(--tm-rc-muted); font-size: 0.9rem; }

.tm-rc__faqs { display: grid; gap: 0.65rem; }
.tm-rc__faq {
  border: 1px solid var(--tm-rc-line);
  background: #fff;
  padding: 0;
  overflow: hidden;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.tm-rc__faq[open] {
  border-color: #8fa97a;
  box-shadow: 0 4px 14px rgba(27, 55, 4, 0.06);
}
.tm-rc__faq summary {
  cursor: pointer;
  font-weight: 650;
  list-style: none;
  padding: 0.95rem 1.1rem;
  position: relative;
  padding-right: 2.5rem;
}
.tm-rc__faq summary::-webkit-details-marker { display: none; }
.tm-rc__faq summary::after {
  content: "";
  position: absolute;
  right: 1.15rem;
  top: 1.25rem;
  width: 0.5rem;
  height: 0.5rem;
  border-right: 2px solid var(--tm-rc-muted);
  border-bottom: 2px solid var(--tm-rc-muted);
  transform: rotate(45deg);
  transition: transform 0.15s ease;
}
.tm-rc__faq[open] summary::after {
  transform: rotate(225deg);
  top: 1.35rem;
}
.tm-rc__faq-answer {
  margin: 0;
  padding: 0 1.1rem 1.05rem;
  color: var(--tm-rc-muted);
  line-height: 1.6;
  max-width: var(--tm-rc-measure);
}

.tm-rc__products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(11.5rem, 1fr));
  gap: 1.1rem;
}
@media (min-width: 40rem) {
  .tm-rc__products { grid-template-columns: repeat(auto-fill, minmax(13.5rem, 1fr)); }
}
.tm-rc__product {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 0.55rem;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--tm-rc-line);
  padding: 0.7rem;
  background: #fff;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.tm-rc__product:hover {
  border-color: #8fa97a;
  box-shadow: 0 10px 24px rgba(27, 55, 4, 0.1);
  transform: translateY(-2px);
}
.tm-rc__product-media {
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--tm-rc-surface);
}
.tm-rc__product img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}
.tm-rc__product:hover img { transform: scale(1.04); }
.tm-rc__product-name {
  font-weight: 650;
  font-size: 0.98rem;
  line-height: 1.35;
}
.tm-rc__product-cta {
  font-size: 0.82rem;
  font-weight: 650;
  color: var(--tm-rc-accent);
}
.tm-rc__empty { color: var(--tm-rc-muted); }

.tm-rc__related-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}
.tm-rc__related-list a {
  display: grid;
  gap: 0.3rem;
  padding: 0.95rem 1.05rem;
  background: var(--tm-rc-surface);
  border: 1px solid var(--tm-rc-line);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease;
}
.tm-rc__related-list a:hover { border-color: var(--tm-rc-accent); }
.tm-rc__related-title { font-weight: 650; color: var(--tm-rc-accent-deep); }
.tm-rc__related-excerpt { color: var(--tm-rc-muted); font-size: 0.92rem; line-height: 1.45; }

.tm-rc__answer-lead {
  margin: 0 0 1.25rem;
  padding: 0 0 0 1rem;
  border-left: 4px solid var(--tm-rc-accent);
  background: transparent;
}
.tm-rc__question {
  margin: 0 0 0.45rem;
  font-weight: 650;
  font-size: 1.05rem;
  line-height: 1.4;
}
.tm-rc__direct-answer {
  margin: 0;
  color: var(--tm-rc-ink);
  font-size: 1.05rem;
  line-height: 1.55;
}

.tm-rc__howto-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: tm-rc-step;
  display: grid;
  gap: 1.15rem;
}
.tm-rc__howto-step {
  counter-increment: tm-rc-step;
  position: relative;
  padding: 1.15rem 1.15rem 1.15rem 3.5rem;
  border: 1px solid var(--tm-rc-line);
  background: #fff;
}
.tm-rc__howto-step::before {
  content: counter(tm-rc-step);
  position: absolute;
  left: 0.95rem;
  top: 1.15rem;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 999px;
  background: var(--tm-rc-accent);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}
.tm-rc__howto-step-title {
  margin: 0 0 0.4rem;
  font-size: 1.08rem;
}
.tm-rc__howto-step p {
  margin: 0;
  color: var(--tm-rc-muted);
  line-height: 1.55;
}
.tm-rc__howto-step--has-media {
  display: grid;
  gap: 1rem;
}
@media (min-width: 48rem) {
  .tm-rc__howto-step--has-media {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: start;
  }
}
.tm-rc__howto-step-media {
  margin: 0;
  overflow: hidden;
  background: var(--tm-rc-surface);
}
.tm-rc__howto-step-media img {
  width: 100%;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.tm-rc__footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--tm-rc-line);
}
.tm-rc__footer-nav-link {
  font-weight: 650;
  color: var(--tm-rc-accent);
  text-decoration: none;
}
.tm-rc__footer-nav-link:hover { text-decoration: underline; }
.tm-rc__footer-nav-link--muted {
  color: var(--tm-rc-muted);
  font-weight: 600;
}

#tm-rc-record,
#tm-rc-steps,
#tm-rc-watch,
#tm-rc-downloads,
#tm-rc-faq,
#tm-rc-shop,
#tm-rc-related,
#tm-rc-need {
  scroll-margin-top: 5.5rem;
}

/* Mobile refinements */
@media (max-width: 39.99rem) {
  .tm-rc { padding: 1.15rem 0.85rem 2.75rem; }
  .tm-rc__tile--featured { min-height: 14.5rem; }
  .tm-rc__search {
    flex-wrap: nowrap;
  }
  .tm-rc__search input[type="search"] {
    min-width: 0;
  }
  .tm-rc__search button {
    flex: 0 0 auto;
  }
  .tm-rc__resource-card--start .tm-rc__resource-card-title { font-size: 1.12rem; }
}
