/* ==========================================================================
   All NFL Tools hub — Schedule-style premium studio
   ========================================================================== */

.tools-page .pfn-main {
  max-width: none;
  padding: 0 0 2.5rem;
  background: transparent;
}

.tools-page .hq-content--tool {
  max-width: none;
  padding: 0.85rem 1rem 1.5rem;
}

.tools-page .ff-tools-hero {
  display: none;
}

.ti-studio.sched-studio {
  font-family: "Barlow", "Inter", system-ui, sans-serif;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.tools-page .hq-main,
.tools-page .hq-content--tool {
  min-width: 0;
  overflow-x: clip;
}

.ti-topbar .sched-week-pill {
  min-height: 36px;
  padding: 0.4rem 0.85rem;
  cursor: pointer;
  border: 1px solid #d3e2f5;
  background: var(--ff-surface-raised, #fff);
  font: inherit;
}

.ti-topbar .sched-week-pill.is-active {
  background: var(--fh-accent, #00a3ff);
  border-color: var(--fh-accent, #00a3ff);
  color: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.12);
}

.ti-topbar .sched-week-pill:hover:not(.is-active) {
  border-color: #9ec2f0;
  background: var(--ff-surface-raised, #fff);
}

.ti-count-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: #0a1e3d;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.ti-count-pill span {
  color: #4da3ff;
}

/* ---- Main grid: hero | board | side ---- */
.ti-grid {
  display: grid;
  grid-template-columns: minmax(220px, 250px) minmax(0, 1fr) minmax(220px, 245px);
  grid-template-areas: "hero board side";
  gap: 0.85rem;
  align-items: start;
  width: 100%;
  min-width: 0;
}

.ti-hero { grid-area: hero; }
.ti-board { grid-area: board; }
.ti-side { grid-area: side; }

/* Expanded HQ sidebar: compact hero strip (Schedule pattern) */
@media (min-width: 861px) {
  .hq-layout:not(.hq-sidebar-collapsed) .ti-grid {
    grid-template-columns: minmax(0, 1fr) minmax(200px, 240px);
    grid-template-areas:
      "hero hero"
      "board side";
    gap: 0.75rem;
  }

  .hq-layout:not(.hq-sidebar-collapsed) .ti-hero.sched-hero {
    position: static;
    max-height: none;
    overflow: visible;
    flex-direction: row;
    align-items: center;
    gap: 1rem 1.25rem;
    padding: 0.85rem 1.15rem;
    min-height: 0;
  }

  .hq-layout:not(.hq-sidebar-collapsed) .ti-hero .sched-hero-badge {
    margin-bottom: 0;
    flex-shrink: 0;
  }

  .hq-layout:not(.hq-sidebar-collapsed) .ti-hero .sched-hero-badge span {
    font-size: 0.82rem;
  }

  .hq-layout:not(.hq-sidebar-collapsed) .ti-hero .sched-hero-copy {
    min-width: 0;
    flex: 1 1 auto;
  }

  .hq-layout:not(.hq-sidebar-collapsed) .ti-hero .sched-hero-kicker {
    margin-bottom: 0.08rem;
    font-size: 0.62rem;
  }

  .hq-layout:not(.hq-sidebar-collapsed) .ti-hero .sched-hero-title {
    margin: 0 0 0.15rem;
    flex-direction: row;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.42rem;
    font-size: clamp(1.35rem, 2vw, 1.85rem);
    line-height: 1;
    letter-spacing: 0.05em;
  }

  .hq-layout:not(.hq-sidebar-collapsed) .ti-hero .sched-hero-title__nfl {
    color: #f4f8ff;
    -webkit-text-fill-color: #f4f8ff;
  }

  .hq-layout:not(.hq-sidebar-collapsed) .ti-hero .sched-hero-title__schedule {
    color: #4da3ff;
    -webkit-text-fill-color: #4da3ff;
    background: none;
  }

  .hq-layout:not(.hq-sidebar-collapsed) .ti-hero .sched-hero-sub {
    margin: 0;
    font-size: 0.72rem;
    line-height: 1.35;
    max-width: 42rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hq-layout:not(.hq-sidebar-collapsed) .ti-hero .sched-hero-features,
  .hq-layout:not(.hq-sidebar-collapsed) .ti-hero .sched-hero-playbook {
    display: none;
  }

  .hq-layout:not(.hq-sidebar-collapsed) .ti-side {
    position: static;
    max-height: none;
    overflow: visible;
  }

  .hq-layout:not(.hq-sidebar-collapsed) .ti-tool-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
}

.ti-hero.sched-hero {
  position: sticky;
  top: 0.75rem;
  min-height: 0;
  max-height: calc(100vh - 5.5rem);
  overflow: auto;
}

.ti-hero .sched-hero-playbook {
  margin-top: 0.85rem;
}

.ti-hero .sched-hero-playbook-card .prb-playbook__art {
  max-height: 148px;
  height: 148px;
  width: 100%;
}

/* ---- Board ---- */
.ti-board {
  position: relative;
  border-radius: 18px;
  padding: 0.9rem 1rem 1.1rem;
  background:
    repeating-linear-gradient(
      -12deg,
      rgba(255, 255, 255, 0.55) 0 10px,
      rgba(248, 251, 255, 0.55) 10px 20px
    ),
    linear-gradient(180deg, var(--ff-surface-raised, #ffffff) 0%, var(--ff-surface, #f5f9ff) 100%);
  border: 1px solid var(--ff-border, #dbe6f4);
  box-shadow: 0 14px 32px -24px rgba(8, 24, 49, 0.45);
  min-width: 0;
}

.ti-board-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  margin-bottom: 0.95rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #e2ebf7;
}

.ti-board-title {
  margin: 0;
  font-family: "Barlow Condensed", "Barlow", sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ff-heading, #0a1e3d);
}

.ti-board-sub {
  margin: 0.2rem 0 0;
  font-size: 0.78rem;
  color: var(--ff-text-muted, #64748b);
  line-height: 1.4;
}

.ti-board-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.ti-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.55rem 1rem;
  border-radius: 12px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.ti-cta--primary {
  background: var(--fh-accent, #00a3ff);
  color: #fff;
  border: 1px solid var(--fh-accent, #00a3ff);
  box-shadow: 0 10px 22px -12px rgba(0, 163, 255, 0.85);
}

.ti-cta--primary:hover {
  background: #0090e0;
  border-color: #0090e0;
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
}

.ti-cta--ghost {
  background: var(--ff-surface-raised, #fff);
  color: var(--ff-heading, #0a1e3d);
  border: 1px solid #d3e2f5;
}

.ti-cta--ghost:hover {
  border-color: var(--fh-accent, #00a3ff);
  color: var(--fh-accent, #00a3ff);
  text-decoration: none;
}

/* ---- Tool cards ---- */
.ti-tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 0.85rem;
}

.ti-tool-card {
  display: flex;
  flex-direction: column;
  border-radius: 14px;
  overflow: hidden;
  background: var(--ff-surface-raised, #fff);
  border: 1px solid var(--ff-border, #dbe6f4);
  text-decoration: none;
  color: inherit;
  box-shadow: 0 8px 20px -16px rgba(8, 24, 49, 0.55);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.ti-tool-card:hover {
  transform: translateY(-2px);
  border-color: #9ec2f0;
  box-shadow: 0 16px 28px -18px rgba(13, 42, 92, 0.45);
  text-decoration: none;
}

.ti-tool-card.is-hidden {
  display: none;
}

.ti-tool-card__media {
  position: relative;
  height: 132px;
  background:
    radial-gradient(120px 80px at 90% 10%, rgba(0, 163, 255, 0.18), transparent 70%),
    linear-gradient(145deg, #0c2450 0%, #0a1e3d 100%);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.ti-tool-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.ti-tool-card__icon {
  font-size: 2rem;
  line-height: 1;
}

.ti-tool-card__badge {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 24px;
  padding: 0.2rem 0.55rem 0.2rem 0.4rem;
  border-radius: 999px;
  font-family: "Barlow Condensed", "Barlow", sans-serif;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #eaf4ff;
  background:
    linear-gradient(135deg, rgba(12, 36, 80, 0.92) 0%, rgba(8, 24, 49, 0.88) 100%);
  border: 1px solid rgba(77, 163, 255, 0.45);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.12) inset,
    0 8px 18px -10px rgba(8, 24, 49, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  pointer-events: none;
}

.ti-tool-card__badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4da3ff;
  box-shadow: 0 0 0 3px rgba(77, 163, 255, 0.22), 0 0 10px rgba(0, 163, 255, 0.55);
  flex: 0 0 auto;
}

.ti-tool-card:hover .ti-tool-card__badge {
  border-color: rgba(0, 163, 255, 0.7);
  color: #fff;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.16) inset,
    0 10px 22px -10px rgba(0, 163, 255, 0.55);
}

.ti-tool-card:hover .ti-tool-card__badge-dot {
  background: #7ec4ff;
  box-shadow: 0 0 0 3px rgba(126, 196, 255, 0.28), 0 0 12px rgba(0, 163, 255, 0.75);
}

.ti-tool-card__body {
  position: relative;
  padding: 0.85rem 0.95rem 1.1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.ti-tool-card__body h3 {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--ff-heading, #0a1e3d);
  letter-spacing: -0.01em;
  line-height: 1.25;
  padding-right: 1.25rem;
}

.ti-tool-card__body p {
  margin: 0;
  font-size: 0.78rem;
  color: var(--ff-text-muted, #64748b);
  line-height: 1.45;
  flex: 1;
}

.ti-tool-card__arrow {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  color: var(--fh-accent, #00a3ff);
  font-weight: 800;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.ti-tool-card:hover .ti-tool-card__arrow {
  opacity: 1;
  transform: translateX(0);
}

.ti-empty {
  margin-top: 1.5rem;
  padding: 1.5rem 1rem;
  text-align: center;
  border-radius: 14px;
  border: 1px dashed #c5d6ee;
  background: rgba(255, 255, 255, 0.7);
}

.ti-empty p {
  margin: 0 0 0.85rem;
  color: var(--ff-text-muted, #64748b);
  font-size: 0.9rem;
}

/* ---- Side rail ---- */
.ti-side {
  position: sticky;
  top: 0.75rem;
  max-height: calc(100vh - 5.5rem);
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-width: 0;
}

.ti-side-featured {
  margin: 0;
}

.ti-featured-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.ti-featured-list__link,
.ti-featured-list a {
  display: flex;
  gap: 0.55rem;
  align-items: center;
  padding: 0.55rem 0.65rem;
  border-radius: 10px;
  border: 1px solid #ccdcf1;
  background: linear-gradient(180deg, #ffffff 0%, #f3f8ff 100%);
  box-shadow: 0 1px 2px rgba(11, 31, 58, 0.05);
  text-decoration: none !important;
  color: inherit;
  cursor: pointer;
  min-height: 48px;
  transition:
    transform 0.12s ease,
    box-shadow 0.12s ease,
    border-color 0.12s ease,
    background 0.12s ease;
}

.ti-featured-list__link:hover,
.ti-featured-list__link:focus-visible,
.ti-featured-list a:hover,
.ti-featured-list a:focus-visible {
  background: linear-gradient(180deg, #ffffff 0%, #eaf3ff 100%);
  border-color: #93c5fd;
  text-decoration: none !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(14, 116, 200, 0.12);
  outline: none;
}

.ti-featured-list__ico {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #e8f1fd;
  border: 1px solid #d6e4f6;
  font-size: 0.85rem;
}

.ti-featured-list__copy {
  min-width: 0;
  flex: 1 1 auto;
}

.ti-featured-list__copy b {
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  color: #0f2a5a;
  line-height: 1.25;
}

.ti-featured-list__link:hover .ti-featured-list__copy b,
.ti-featured-list__link:focus-visible .ti-featured-list__copy b {
  color: #0a5fe0;
}

.ti-featured-list__copy small {
  display: block;
  margin-top: 0.12rem;
  font-size: 0.66rem;
  color: var(--ff-text-muted, #64748b);
  line-height: 1.35;
}

.ti-featured-list__cta {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0.25rem 0.6rem;
  border-radius: 8px;
  border: 1px solid #ccdcf1;
  background: #fff;
  color: #0f2a5a;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1;
}

.ti-featured-list__link:hover .ti-featured-list__cta,
.ti-featured-list__link:focus-visible .ti-featured-list__cta {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(180deg, #1aa7ff 0%, #0a8fe0 100%);
  box-shadow: 0 1px 2px rgba(11, 31, 58, 0.12);
}

html[data-theme="dark"] .ti-featured-list__link,
html[data-theme="dark"] .ti-featured-list a {
  border-color: rgba(148, 163, 184, 0.28);
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.95) 0%, rgba(15, 23, 42, 0.95) 100%);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

html[data-theme="dark"] .ti-featured-list__copy b {
  color: #e2e8f0;
}

html[data-theme="dark"] .ti-featured-list__cta {
  border-color: rgba(148, 163, 184, 0.28);
  background: rgba(15, 23, 42, 0.8);
  color: #e2e8f0;
}

/* ---- Shared Heisman chips (impact + SEO links) ---- */
.ti-page .ti-chip,
.ti-page a.ti-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0.35rem 0.85rem;
  border-radius: 10px;
  border: 1px solid #ccdcf1;
  background: linear-gradient(180deg, #ffffff 0%, #f3f8ff 100%);
  box-shadow: 0 1px 2px rgba(11, 31, 58, 0.05);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.1;
  color: #0f2a5a;
  text-decoration: none !important;
  white-space: nowrap;
  cursor: pointer;
  transition:
    transform 0.12s ease,
    box-shadow 0.12s ease,
    border-color 0.12s ease,
    color 0.12s ease,
    background 0.12s ease,
    filter 0.12s ease;
}

.ti-page .ti-chip:hover,
.ti-page .ti-chip:focus-visible,
.ti-page a.ti-chip:hover,
.ti-page a.ti-chip:focus-visible {
  color: #0a5fe0;
  border-color: #93c5fd;
  text-decoration: none !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(14, 116, 200, 0.12);
  outline: none;
}

.ti-page .ti-chip--primary,
.ti-page a.ti-chip--primary {
  border: 0;
  background: linear-gradient(180deg, #1aa7ff 0%, #0a8fe0 100%);
  color: #fff;
  box-shadow: 0 1px 2px rgba(11, 31, 58, 0.12), 0 6px 16px rgba(14, 116, 200, 0.22);
}

.ti-page .ti-chip--primary:hover,
.ti-page .ti-chip--primary:focus-visible,
.ti-page a.ti-chip--primary:hover,
.ti-page a.ti-chip--primary:focus-visible {
  color: #fff;
  border-color: transparent;
  filter: brightness(1.04);
  box-shadow: 0 2px 4px rgba(11, 31, 58, 0.14), 0 10px 22px rgba(14, 116, 200, 0.28);
}

html[data-theme="dark"] .ti-page .ti-chip:not(.ti-chip--primary),
html[data-theme="dark"] .ti-page a.ti-chip:not(.ti-chip--primary) {
  border-color: rgba(148, 163, 184, 0.28);
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.95) 0%, rgba(15, 23, 42, 0.95) 100%);
  color: #e2e8f0;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

html[data-theme="dark"] .ti-page .ti-chip:not(.ti-chip--primary):hover,
html[data-theme="dark"] .ti-page a.ti-chip:not(.ti-chip--primary):hover {
  color: #7dd3fc;
  border-color: rgba(56, 189, 248, 0.45);
  box-shadow: 0 6px 14px rgba(14, 116, 200, 0.2);
}

/* ---- Impact strip ---- */
.ti-impact {
  margin-top: 0.85rem;
  padding: 0.95rem 1.05rem 1.1rem;
  border-radius: 18px;
  background: var(--ff-surface-raised, #fff);
  border: 1px solid var(--ff-border, #dbe6f4);
  box-shadow: 0 12px 28px -22px rgba(8, 24, 49, 0.4);
}

.ti-impact__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.ti-impact__head h2 {
  margin: 0;
  font-family: "Barlow Condensed", "Barlow", sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ff-heading, #0a1e3d);
}

.ti-impact__head .ti-chip--primary {
  min-height: 30px;
  padding: 0.28rem 0.75rem;
  font-size: 0.72rem;
  flex-shrink: 0;
}

.ti-impact__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

/* ---- SEO intro + FAQ (indexable, AI-extractable) ---- */
.ti-seo-intro {
  margin-top: 0.85rem;
  padding: 1.05rem 1.15rem 1.15rem;
  border-radius: 18px;
  background: var(--ff-surface-raised, #fff);
  border: 1px solid var(--ff-border, #dbe6f4);
  box-shadow: 0 12px 28px -22px rgba(8, 24, 49, 0.4);
}

.ti-seo-intro__title {
  margin: 0 0 0.4rem;
  font-family: "Barlow Condensed", "Barlow", sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--ff-heading, #0a1e3d);
}

.ti-seo-intro__lead {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--ff-text-muted, #475569);
  max-width: 72ch;
}

.ti-seo-intro__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.ti-seo-intro__links .ti-chip {
  font-size: 0.78rem;
}

.ti-faq {
  margin-top: 0.85rem;
  padding: 1.05rem 1.15rem 1.15rem;
  border-radius: 18px;
  background: var(--ff-surface-raised, #fff);
  border: 1px solid var(--ff-border, #dbe6f4);
  box-shadow: 0 12px 28px -22px rgba(8, 24, 49, 0.4);
}

.ti-faq__head h2 {
  margin: 0 0 0.25rem;
  font-family: "Barlow Condensed", "Barlow", sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ff-heading, #0a1e3d);
}

.ti-faq__head p {
  margin: 0 0 0.75rem;
  font-size: 0.82rem;
  color: var(--ff-text-muted, #64748b);
}

.ti-faq__item {
  border-top: 1px solid #e2eaf5;
  padding: 0.65rem 0;
}

.ti-faq__item summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--ff-text, #0f172a);
  min-height: 44px;
  display: flex;
  align-items: center;
}

.ti-faq__item p {
  margin: 0.45rem 0 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--ff-text-muted, #475569);
}

/* ---- Responsive ---- */
@media (max-width: 1180px) {
  .hq-layout.hq-sidebar-collapsed .ti-grid {
    grid-template-columns: minmax(200px, 230px) minmax(0, 1fr);
    grid-template-areas:
      "hero board"
      "side side";
  }

  .hq-layout.hq-sidebar-collapsed .ti-side {
    position: static;
    max-height: none;
    overflow: visible;
  }
}

@media (max-width: 860px) {
  .tools-page .ti-grid,
  .hq-layout .ti-grid,
  .hq-layout.hq-sidebar-collapsed .ti-grid,
  .hq-layout:not(.hq-sidebar-collapsed) .ti-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "hero"
      "board"
      "side";
  }

  .ti-hero.sched-hero,
  .hq-layout:not(.hq-sidebar-collapsed) .ti-hero.sched-hero {
    position: static;
    max-height: none;
    overflow: visible;
    flex-direction: column;
    align-items: stretch;
    padding: 1.15rem 1.15rem 1rem;
  }

  .tools-page .ti-hero .sched-hero-playbook,
  .ti-hero .sched-hero-playbook,
  .hq-layout:not(.hq-sidebar-collapsed) .ti-hero .sched-hero-playbook {
    display: none;
  }

  .ti-hero .sched-hero-features,
  .hq-layout:not(.hq-sidebar-collapsed) .ti-hero .sched-hero-features {
    display: none;
  }

  .ti-hero .sched-hero-title,
  .hq-layout:not(.hq-sidebar-collapsed) .ti-hero .sched-hero-title {
    flex-direction: column;
    align-items: flex-start;
    font-size: clamp(2rem, 10vw, 2.6rem);
    line-height: 0.92;
  }

  .ti-hero .sched-hero-sub,
  .hq-layout:not(.hq-sidebar-collapsed) .ti-hero .sched-hero-sub {
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
  }

  .ti-side,
  .hq-layout:not(.hq-sidebar-collapsed) .ti-side {
    position: static;
    max-height: none;
    overflow: visible;
  }

  .ti-tool-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  }

  .ti-topbar {
    align-items: flex-start;
  }

  .ti-topbar .sched-week-nav {
    order: 3;
    flex: 1 1 100%;
  }

  .ti-count-pill {
    margin-left: auto;
  }
}

@media (max-width: 560px) {
  .tools-page .hq-content--tool {
    padding: 0.65rem 0.65rem 1.25rem;
  }

  .ti-hero .sched-hero-title {
    font-size: clamp(2rem, 12vw, 2.6rem);
  }

  .ti-board-actions {
    width: 100%;
  }

  .ti-cta {
    flex: 1 1 auto;
  }

  .ti-tool-card__media {
    height: 112px;
  }

  .ti-topbar .sched-week-strip {
    flex-wrap: wrap;
    overflow: visible;
  }
}
