/* Trip-length pages: the few rules the shared Misk blocks do not cover. Everything else comes from main.css, the compiled
   egypt-tour-packages / egypt-classic-tours page CSS and countries.css (table wrapper, FAQ answers). */

/* One block per exact length: anchors clear the sticky header */
.mk-tl-group { scroll-margin-top: 90px; }
.mk-tl-group + .mk-tl-group { margin-top: 48px; }
.mk-tl-group .mk-head-row { margin-bottom: 18px; }
#mk-compare { scroll-margin-top: 90px; }

/* Jump chips carry a count */
.mk-tl .mk-chips { margin-top: 16px; }

/* Comparison table: scrolls sideways on narrow screens */
.mk-tl-table { min-width: 900px; }
.mk-tl-table th, .mk-tl-table td { padding: 11px 12px; }
.mk-tl-table thead th { white-space: normal; vertical-align: bottom; }
.mk-tl-table th[scope="row"] { min-width: 240px; background: #fff; font-weight: 700; white-space: normal; }
.mk-tl-table th[scope="row"] a { color: var(--mk-ink); }
.mk-tl-table th[scope="row"] a:hover { color: var(--mk-blue); }
.mk-tl-table .mk-tl-route { display: block; margin-top: 4px; font-size: 12.5px; font-weight: 500; color: var(--mk-text, #5b6b7b); }
.mk-tl-table td.mk-num { text-align: center; white-space: nowrap; }
.mk-tl-table td { min-width: 70px; }

/* Best-for cards on a light section (the shared .mk-w card is made for the dark band) */
.mk-tl-best { margin-top: 28px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.mk-tl-best .mk-w { padding: 22px; border-radius: 20px; background: #fff; border: 1px solid var(--mk-line); }
.mk-tl-best .mk-w h3 { color: var(--mk-ink); }
.mk-tl-best .mk-w h3 a { color: inherit; }
.mk-tl-best .mk-w h3 a:hover { color: var(--mk-blue); }

/* Prose blocks on the soft background */
.mk-tl .mk-prose p { margin: 0 0 14px; }
.mk-tl .mk-prose a { color: var(--mk-blue); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.mk-tl .mk-plan-note { margin-top: 14px; }

@media (max-width: 640px) {
	.mk-tl-group + .mk-tl-group { margin-top: 36px; }
}
