.tmc-page {
  padding: 0 0 84px;
  /* overflow: hidden; */
  position: relative;
  z-index: 0;
}

.tmc-page *,
.tmc-page *::before,
.tmc-page *::after {
  box-sizing: border-box;
}

.tmc-shell {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

.tmc-hero {
    position: relative;
    width: 100%;
    overflow: hidden;
    color: #fff;
    margin: -75px 0 25px;
    isolation: isolate;
    height: 435px;
}

.tmc-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.tmc-hero__bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 0.3;
  transform: scale(1.04);
}

.tmc-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(700px 380px at 85% 20%, rgba(30, 73, 199, .42), transparent 65%),
    radial-gradient(520px 320px at 8% 90%, rgba(255, 138, 30, .14), transparent 60%),
    linear-gradient(90deg, rgba(10, 22, 51, .97) 0%, rgba(10, 22, 51, .9) 48%, rgba(10, 22, 51, .82) 100%);
}

.tmc-hero__inner {
  position: relative;
  z-index: 2;
  padding: 86px 0 80px;
  max-width: 760px;
}

.tmc-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.tmc-eyebrow::before {
  content: "";
  width: 22px;
  height: 3px;
  border-radius: 999px;
  background: var(--tm-color-orange);
}

.tmc-hero .tmc-eyebrow {
  color: #dbe4ff;
}

.tmc-hero__title {
  margin: 0;
  font-size: clamp(2.35rem, 5vw, 3.9rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.tmc-hero__title span {
  display: block;
}

.tmc-hero__text {
  margin: 22px 0 0;
  max-width: 580px;
  font-size: 18px;
  line-height: 1.72;
  color: #c9d3e8;
}

.tmc-hero__actions {
  margin-top: 30px;
}

.tmc-hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.tmc-hero__badges span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .12);
  color: #dce4f5;
  font-size: 13.5px;
  font-weight: 600;
}


.tmc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 13px 25px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}

.tmc-btn:hover {
  transform: translateY(-1px);
}

.tmc-btn--accent {
  box-shadow: 0 10px 24px rgba(255, 138, 30, .28);
}

.tmc-btn--accent:hover {
  color: #fff;
}

.tmc-btn--light {
  background: #fff;
  color: var(--tm-color-navy);
}

.tmc-btn--light:hover {
  background: var(--tm-color-orange);
  color: var(--tm-color-navy);
  box-shadow: 0 10px 24px rgba(255, 255, 255, .22);
}

.tmc-btn--light-outline {
  border: 1.5px solid rgba(255,255,255,.35);
  background: rgba(255,255,255,.05);
  color: #fff;
}

.tmc-btn--light-outline:hover {
  border-color: #fff;
  background: rgba(255,255,255,.1);
  color: #fff;
}

.tmc-breadcrumb {
  padding: 12px 0 22px;
}

.tmc-breadcrumb__list {
  margin: 0;
  background: transparent;
}

.tmc-breadcrumb__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 600;
}


.tmc-breadcrumb__current {
  font-weight: 700;
}

.tmc-categories {
  padding: 0 0 72px;
}

.tmc-filters {
  margin: 0 0 36px;
  padding: 28px;
  border-radius: 28px;
  background:
    radial-gradient(520px 220px at 100% 0%, rgba(30, 73, 199, 0.08), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
  position: relative;
  z-index: 0;
}

.tmc-filters__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.tmc-filters__summary {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  min-width: 140px;
  padding: 14px 18px;
  border-radius: 20px;
  color: #fff;
}

.tmc-filters__summary strong {
  font-size: 2rem;
  line-height: 1;
}

.tmc-filters__summary span {
  margin-top: 6px;
  font-size: 0.85rem;
  color: #c9d3e8;
}

.tmc-filters-toolbar .tm-homepage-search-form {
  box-shadow: none;
}

.tmc-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.tmc-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}


.tmc-filter-reset {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 10px 16px;
  border-radius: 999px;
  background: #fff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}


.tmc-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
  flex-wrap: wrap;
}

.tmc-section-copy {
  max-width: 720px;
}

.tmc-section-title {
  margin: 0;
  font-size: clamp(1.95rem, 3.2vw, 2.55rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 800;
}

.tmc-section-text {
  margin: 12px 0 0;
  max-width: 580px;
  font-size: 16px;
  line-height: 1.7;
}

.tmc-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.tmc-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 100%;
  border: 1px solid var(--tm-color-border);
  border-radius: 18px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  transition: box-shadow .2s ease, border-color .2s ease, transform .2s ease;
}

.tmc-card:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--tm-color-blue-rgb), .55);
  box-shadow: 0 14px 36px rgba(30, 73, 199, .18), 0 4px 14px rgba(255, 138, 30, .12);
  color: inherit;
}

.tmc-card__media {
  position: relative;
}

.tmc-card__cover {
  aspect-ratio: 8 / 5;
}

.tmc-card__cover-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.tmc-card__cover--blue {
  background: linear-gradient(135deg, #1E49C7, #4A74E8);
}

.tmc-card__cover--orange {
  background: linear-gradient(135deg, #E8760A, #FFB25C);
}

.tmc-card__cover--green {
  background: linear-gradient(135deg, #0E9F6E, #3BC492);
}

.tmc-card__cover--violet {
  background: linear-gradient(135deg, #7C3AED, #A78BFA);
}

.tmc-card__icon {
  position: absolute;
  left: 14px;
  bottom: -20px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 4px solid #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  background: var(--tm-color-navy);
  color: var(--tm-color-white);
  box-shadow: 0 8px 20px rgba(var(--tm-color-navy-rgb), .2);
}

.tmc-card__body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 30px 16px 16px;
  text-align: left;
}

.tmc-card__title {
  margin: 0;
  font-size: 17px;
  line-height: 1.2;
  font-weight: 800;
}

.tmc-card__desc {
  margin: 8px 0 0;
  font-size: 13.25px;
  line-height: 1.65;
  flex-grow: 1;
}

.tmc-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.tmc-card__meta-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--tm-color-blue-soft);
  color: var(--tm-color-navy);
  font-size: 12px;
  font-weight: 700;
}


.tmc-card__count {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 14px;
  padding: 9px 15px;
  border-radius: 999px;
  background: var(--tm-color-blue-soft);
  color: var(--tm-color-navy);
  font-size: 13px;
  font-weight: 700;
  transition: background .15s ease, color .15s ease;
}

.tmc-card:hover .tmc-card__count {
  background: var(--tm-color-navy);
  color: #fff;
}

.tmc-empty {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 34px 28px;
  border-radius: 24px;
}

.tmc-empty__icon {
  width: 74px;
  height: 74px;
  border-radius: 20px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 28px;
}

.tmc-empty__title {
  margin: 0;
  font-size: 28px;
}

.tmc-empty__text {
  margin: 8px 0 0;
  max-width: 540px;
  font-size: 15px;
  line-height: 1.7;
}

.tmc-reassurance {
  padding: 2px 0 74px;
}

.tmc-reassurance__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.tmc-reassurance__item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 20px;
  border: 1px solid var(--tm-color-border);
  border-radius: 16px;
  background: var(--tm-color-white);
  box-shadow: var(--tm-shadow-sm);
}

.tmc-reassurance__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 18px;
  border: 1px solid rgba(var(--tm-color-navy-rgb), .14);
  background: var(--tm-color-blue-soft);
  color: var(--tm-color-navy);
}

.tmc-reassurance__item h3 {
  margin: 0;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 700;
}

.tmc-reassurance__item p {
  margin: 4px 0 0;
  font-size: 13px;
  line-height: 1.6;
}

.tmc-pro-cta {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 40px;
  align-items: center;
  padding: 56px;
  border: 1px solid rgba(var(--tm-color-blue-rgb), .35);
  border-radius: 24px;
  background: linear-gradient(135deg, var(--tm-color-navy) 0%, var(--tm-color-navy-light) 62%, var(--tm-color-blue) 100%);
  color: #fff;
  box-shadow: var(--tm-shadow-lg);
}

.tmc-pro-cta::before {
  content: "";
  position: absolute;
  right: 40px;
  bottom: -110px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(255, 138, 30, .25);
}

.tmc-pro-cta::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
}

.tmc-pro-cta__content,
.tmc-pro-cta__actions {
  position: relative;
  z-index: 1;
}

.tmc-pro-cta__eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--tm-color-orange);
}

.tmc-pro-cta__title {
  margin: 0;
  font-size: clamp(1.9rem, 3vw, 2.35rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 800;
}

.tmc-pro-cta__text {
  margin: 12px 0 0;
  max-width: 520px;
  color: #d7e0f8;
  font-size: 16px;
  line-height: 1.7;
}

.tmc-pro-cta__points {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 22px;
  font-size: 14px;
  font-weight: 600;
}

.tmc-pro-cta__points span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.tmc-pro-cta__points i {
  color: #ffb25c;
}

.tmc-pro-cta__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
}

.tmc-page a:focus-visible,
.tmc-page button:focus-visible {
  outline-offset: 3px;
  border-radius: 10px;
}

@media (max-width: 1200px) {
  .tmc-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  .tmc-hero__inner {
    padding: 64px 0 60px;
  }

  .tmc-filters {
    padding: 24px;
  }

  .tmc-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .tmc-pro-cta {
    grid-template-columns: 1fr;
    padding: 42px;
  }

  .tmc-pro-cta__actions {
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .tmc-shell {
    width: min(100% - 24px, 1200px);
  }

  .tmc-filters {
    padding: 18px;
    border-radius: 22px;
  }

  .tmc-filters__summary {
    width: 100%;
    align-items: flex-start;
  }

  .tmc-hero__inner {
    padding: 50px 0 48px;
  }

  .tmc-hero__text {
    font-size: 16px;
  }

  .tmc-grid {
    grid-template-columns: 1fr;
  }

  .tmc-empty {
    flex-direction: column;
    text-align: center;
  }

  .tmc-reassurance__grid {
    grid-template-columns: 1fr;
  }

  .tmc-pro-cta {
    padding: 34px 22px;
  }
}
