/* Az automatikus címblokk elrejtése csak ezen a landingen. */
body.tm-page #title-block-header { display: none; }
body.tm-page { margin: 0; padding: 24px 16px; background: #fff; }
/* A többi stílus kizárólag a .tm-landing tartalmára vonatkozik. */
.tm-landing {
  --tm-blue: #1265ab;
  --tm-blue-dark: #093b69;
  --tm-yellow: #ffd323;
  --tm-ink: #172b40;
  --tm-muted: #526577;
  --tm-border: #d8e2ec;
  max-width: 1120px;
  margin: 0 auto;
  padding: 12px 0 36px;
  color: var(--tm-ink);
  background: #fff;
  font-family: system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.65;
}
.tm-landing *, .tm-landing *::before, .tm-landing *::after { box-sizing: border-box; }
.tm-landing h1, .tm-landing h2, .tm-landing h3 { color: inherit; border: 0; font-family: inherit; font-weight: 750; }
.tm-landing h2 { font-size: clamp(1.55rem, 3.1vw, 2.1rem); line-height: 1.2; margin: 0 0 22px; }
.tm-landing h3 { font-size: 1.2rem; line-height: 1.3; margin: 0 0 12px; }
.tm-landing p { margin: 0 0 16px; }
.tm-landing strong { font-weight: 750; }
.tm-hero { padding: clamp(26px, 5vw, 58px); background: #f0f6fc; border-top: 8px solid var(--tm-blue); border-radius: 12px; }
.tm-eyebrow { color: var(--tm-blue-dark); font-size: .84rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 18px; }
.tm-eyebrow p { margin: 0; }
.tm-landing .tm-hero h1 { max-width: 880px; font-size: clamp(1.9rem, 3.5vw, 2.75rem); font-weight: 800; line-height: 1.16; margin: 0 0 26px; letter-spacing: -.025em; }
.tm-hero p { max-width: 780px; }
.tm-hero strong { color: var(--tm-blue-dark); font-weight: 750; }
.tm-hero section > p:first-of-type strong { background: #fff0a2; padding: 2px 5px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.tm-pain-question { max-width: 800px; border-left: 5px solid var(--tm-blue); padding: 10px 0 10px 20px; margin-top: 24px; font-weight: 800; font-size: 1.16rem; }
.tm-pain-question p { margin: 0; }
.tm-section { padding: clamp(30px, 5vw, 52px) clamp(20px, 4vw, 44px); }
.tm-vision { max-width: 940px; }
.tm-vision > p:last-child { margin-bottom: 0; }
.tm-offer { padding: clamp(28px, 5vw, 48px); border-radius: 12px; color: #fff; background: var(--tm-blue-dark); }
.tm-offer h2 { max-width: 800px; }
.tm-offer-lead { font-size: 1.3rem; font-weight: 750; color: var(--tm-yellow); }
.tm-offer > p { max-width: 820px; }
.tm-price { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 850; margin-top: 26px; }
.tm-price p { margin-bottom: 8px; }
.tm-landing a.tm-button, .tm-landing a.tm-button-secondary, .tm-landing a.tm-buy { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; font-weight: 800; text-decoration: none; border-radius: 8px; transition: background .15s, box-shadow .15s; }
.tm-landing a.tm-button { color: #13283c; background: var(--tm-yellow); padding: 14px 24px; margin: 8px 0 0; box-shadow: 0 3px 0 #b99200; }
.tm-landing a.tm-button:hover { color: #13283c; background: #ffe36c; box-shadow: 0 4px 0 #b99200; }
.tm-landing a.tm-button-secondary { color: var(--tm-blue-dark); background: transparent; border: 2px solid currentColor; padding: 12px 22px; margin: 8px 0 0; }
.tm-landing a.tm-button-secondary:hover { background: #eef5fc; }
.tm-offer a.tm-button-secondary { color: #fff; }
.tm-offer a.tm-button-secondary:hover { color: #fff; background: rgba(255, 255, 255, .12); }
.tm-offer a.tm-button-secondary:focus-visible { outline-color: var(--tm-yellow); }
.tm-landing :is(a, button, select, input, summary):focus-visible { outline: 3px solid #a35300; outline-offset: 4px; }
.tm-benefit-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.tm-benefit { border: 1px solid var(--tm-border); border-top: 4px solid var(--tm-blue); border-radius: 10px; padding: 24px; }
.tm-benefit p { margin-bottom: 0; }
.tm-teacher { display: flex; gap: 28px; align-items: flex-start; padding: 30px clamp(20px, 4vw, 44px); background: #f3f7fa; border-radius: 12px; }
.tm-portrait { flex: 0 0 160px; }
.tm-portrait img { display: block; width: 160px; height: 160px; border-radius: 50%; object-fit: cover; border: 4px solid #fff; }
.tm-portrait p, .tm-portrait figure, .tm-portrait .quarto-figure { margin: 0; }
.tm-portrait figcaption { display: none; }
.tm-teacher-copy { min-width: 0; }
.tm-teacher-copy h2 { font-size: 1.55rem; margin-bottom: 16px; }
.tm-teacher-copy p:last-child { margin-bottom: 0; }
#temakorok { scroll-margin-top: 100px; }
.tm-sample-note { padding: 14px 18px; margin: 20px 0; background: #fff7d0; border: 1px solid #d7b94a; border-radius: 8px; }
.tm-filters { display: flex; gap: 16px; align-items: end; flex-wrap: wrap; margin: 24px 0 16px; }
.tm-filters > div { flex: 1 1 200px; }
.tm-filters label { display: block; font-size: .9rem; font-weight: 750; margin-bottom: 6px; }
.tm-filters select, .tm-landing .dataTables_filter input { color: var(--tm-ink); background: #fff; border: 1px solid #9caebe; border-radius: 6px; padding: 10px 12px; min-height: 44px; font: inherit; }
.tm-filters select { width: 100%; }
.tm-reset { min-height: 44px; padding: 8px 16px; color: var(--tm-blue-dark); background: #f0f6fc; border: 1px solid #9caebe; border-radius: 6px; font: inherit; cursor: pointer; }
.tm-mobile-hint { color: var(--tm-muted); font-size: .9rem; }
.tm-landing .dataTables_wrapper { font-size: .94rem; }
.tm-landing .dataTables_filter { float: none; text-align: left; margin: 10px 0 18px; }
.tm-landing .dataTables_filter label { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; font-weight: 750; }
.tm-landing .dataTables_filter input { flex: 1 1 260px; margin-left: 0; max-width: 460px; font-weight: 400; }
.tm-landing table.dataTable { width: 100% !important; border-collapse: separate; border-spacing: 0; border-bottom: 1px solid var(--tm-border); }
.tm-landing table.dataTable thead th { background: var(--tm-blue-dark); color: #fff; padding: 14px 26px 14px 14px; font-size: .86rem; border-bottom: 0; }
.tm-landing table.dataTable tbody td { vertical-align: top; padding: 16px 14px; border-top: 1px solid var(--tm-border); white-space: normal; }
.tm-landing table.dataTable tbody td:first-child { font-weight: 750; }
.tm-landing table.dataTable tbody tr.odd { background: #f5f8fc; }
.tm-landing table.dataTable tbody tr.even { background: #fff; }
.tm-landing table.dataTable tbody tr:hover { background: #eaf3fc; }
.tm-landing table.dataTable span.highlight {
  background: var(--tm-yellow);
  color: var(--tm-blue-dark);
  border-radius: 3px;
  box-shadow: 0 0 0 1px var(--tm-yellow);
}
.tm-landing a.tm-buy { color: #fff; background: var(--tm-blue); padding: 9px 14px; white-space: nowrap; font-size: .9rem; }
.tm-landing a.tm-buy:hover { color: #fff; background: var(--tm-blue-dark); }
.tm-sample-badge { display: inline-block; padding: 9px 12px; font-size: .85rem; color: #586675; background: #e8edf2; border-radius: 6px; white-space: nowrap; }
.tm-landing .dataTables_info { color: var(--tm-muted); padding-top: 18px; }
.tm-landing .dataTables_paginate { margin-top: 10px; }
.tm-landing .dataTables_paginate .paginate_button { min-height: 44px; border-radius: 6px !important; }
.tm-landing table.dataTable.dtr-inline.collapsed > tbody > tr > td.dtr-control { padding-left: 34px; }
.tm-landing table.dataTable.dtr-inline.collapsed > tbody > tr > td.dtr-control::before { top: 21px; left: 8px; background-color: var(--tm-blue); }
.tm-landing .dtr-details { width: 100%; }
.tm-landing .dtr-details li { white-space: normal; padding: 10px 0 !important; }
.tm-landing .dtr-title { font-weight: 750; }
.tm-faq { border-top: 1px solid var(--tm-border); }
.tm-faq details { margin: 0 0 10px; border: 1px solid var(--tm-border); border-radius: 8px; background: #fff; }
.tm-faq summary { padding: 17px 20px; font-weight: 750; cursor: pointer; }
.tm-faq details > div { padding: 0 20px 18px; }
.tm-faq details > div p:last-child { margin: 0; }
.tm-faq details[open] { border-color: var(--tm-blue); }
.tm-final { text-align: center; padding: 36px 22px; background: #f0f6fc; border-radius: 12px; }
.tm-final h2 { margin-bottom: 16px; }
.tm-final > p:last-child { margin: 24px 0 0; font-size: .95rem; }
@media (max-width: 640px) {
  .tm-landing { font-size: 1rem; padding-top: 0; }
  .tm-hero, .tm-offer { padding: 26px 20px; }
  .tm-benefit-grid { grid-template-columns: 1fr; }
  .tm-benefit { padding: 20px; }
  .tm-teacher { flex-direction: column; gap: 20px; }
  .tm-portrait { flex-basis: auto; }
  .tm-portrait img { width: 112px; height: 112px; }
  .tm-landing a.tm-button, .tm-landing a.tm-button-secondary { width: 100%; text-align: center; }
  .tm-landing .dataTables_filter input { width: 100%; max-width: none; }
  .tm-landing .dataTables_info, .tm-landing .dataTables_paginate { float: none; text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  .tm-landing a.tm-button, .tm-landing a.tm-button-secondary, .tm-landing a.tm-buy { transition: none; }
}
.tm-table-card {
  margin: 24px 0;
  padding: 22px;
  background: #fff;
  border: 2px solid #a9c2da;
  border-top: 5px solid #1265ab;
  border-radius: 12px;
  box-shadow:
    0 5px 0 #ccdae8,
    0 16px 30px -8px rgba(9, 59, 105, .30);
}

@media (max-width: 640px) {
  .tm-table-card {
    padding: 14px 10px;
  }
}
.tm-table-card {
  padding: 22px;
  margin: 24px 0;
  background: #eef5fc;
  border: 2px solid #a9c2da;
  border-top: 5px solid #1265ab;
  border-radius: 12px;
  box-shadow: 0 5px 0 #ccdae8,
              0 16px 30px rgba(9, 59, 105, .25);
}

.tm-landing #mintafeladat {
  margin-top: clamp(24px, 4vw, 40px);
  scroll-margin-top: 24px;
  background: #eef5fc;
  border: 1px solid #a9c2da;
  border-top: 5px solid var(--tm-blue);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(9, 59, 105, .10);
}
.tm-landing .tm-interactive-badge {
  display: inline-block;
  padding: 7px 12px;
  border-radius: 8px;
  background: var(--tm-yellow);
  color: var(--tm-blue-dark);
  letter-spacing: .04em;
}
@media (prefers-reduced-motion: no-preference) {
  .tm-landing #mintafeladat.tm-sample-arrived {
    animation: tm-sample-nudge 850ms ease-out 1;
  }
}
@keyframes tm-sample-nudge {
  0%, 100% { transform: translateY(0); }
  35% { transform: translateY(-6px); }
  65% { transform: translateY(0); }
  80% { transform: translateY(-2px); }
}
