/* Page-specific layout; colours, typography, logo and shared chrome come from styles.css. */
.ts-content-page [hidden] { display: none !important; }
.ts-content-page { display: flex; flex-direction: column; }
.ts-content-page .hero { padding-bottom: 22px; }
.ts-content-page .hero-intro { margin-bottom: 0; }
.ts-content-page .finder-switch { flex-wrap: wrap; justify-content: center; }
.ts-content-page .ts-content-main { flex: 1; padding: 24px 0 40px; }
.ts-content-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--line-dark); }
.ts-content-heading h2 { margin: 0; color: var(--ink); font-size: 1.1rem; letter-spacing: -.02em; }
.ts-content-heading p { margin: 5px 0 0; color: var(--muted); font-size: .84rem; line-height: 1.5; }
.ts-content-count { flex-shrink: 0; padding: 6px 9px; border: 1px solid var(--line); background: var(--paper); color: var(--brand-dark); font-weight: 800; font-size: .72rem; }
.ts-content-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.ts-content-card { min-width: 0; display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--ink); border-radius: var(--radius); box-shadow: var(--shadow); transition: box-shadow .18s ease, border-color .18s ease; }
.ts-content-card:hover { border-color: var(--brand); box-shadow: 5px 5px 0 rgba(47, 125, 50, .18); }
.ts-content-channel { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px; min-height: 57px; border-bottom: 1px solid var(--line); }
.ts-content-channel h3 { margin: 0; font-size: .94rem; line-height: 1.3; color: var(--ink); overflow-wrap: anywhere; }
.ts-content-channel a, .ts-content-video-title a { text-decoration: none; text-underline-offset: 3px; }
.ts-content-channel a:hover, .ts-content-video-title a:hover { text-decoration: underline; }
.ts-content-youtube { color: #d31919; flex-shrink: 0; display: flex; }
.ts-content-thumbnail { display: grid; place-items: center; position: relative; aspect-ratio: 16 / 9; overflow: hidden; color: #fff; background: var(--ink); text-decoration: none; }
.ts-content-thumbnail img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ts-content-image-fallback { position: absolute; bottom: 18px; font-size: .85rem; font-weight: 800; }
.ts-content-play { position: absolute; display: grid; place-items: center; width: 48px; height: 38px; border: 1px solid rgba(255,255,255,.7); border-radius: var(--radius); background: rgba(23, 26, 24, .85); transition: background .18s ease; }
.ts-content-thumbnail:hover .ts-content-play { background: var(--brand-dark); }
.ts-content-no-video { align-content: center; gap: 12px; color: var(--brand-dark); background: var(--brand-soft); font-size: .88rem; font-weight: 800; }
.ts-content-card-body { display: flex; flex-direction: column; flex: 1; padding: 16px; }
.ts-content-meta { margin: 0 0 9px; color: var(--muted); font-size: .72rem; line-height: 1.5; }
.ts-content-video-title { margin: 0 0 20px; color: var(--ink); font-size: 1rem; line-height: 1.45; letter-spacing: -.015em; overflow-wrap: anywhere; }
.ts-content-note { margin: 0 0 15px; color: var(--muted); font-size: .8rem; line-height: 1.5; }
.ts-content-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); }
.ts-content-watch { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; color: var(--brand-dark); font-size: .78rem; font-weight: 800; text-underline-offset: 3px; }
.ts-content-share { min-height: 36px; margin-left: auto; padding: 7px 10px; border: 1px solid var(--line-dark); border-radius: var(--radius-sm); background: var(--paper); color: var(--ink); font-size: .74rem; font-weight: 800; transition: color .14s ease, background .14s ease; }
.ts-content-share:hover { color: #fff; background: var(--ink); }
.ts-content-caption { margin: 19px 0 0; color: var(--muted); font-size: .74rem; line-height: 1.6; }
.ts-content-suggest { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 32px; padding: 19px 20px; background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--brand); }
.ts-content-suggest h2 { margin: 0; color: var(--ink); font-size: .91rem; }
.ts-content-suggest p { margin: 5px 0 0; color: var(--muted); font-size: .8rem; line-height: 1.5; }
.ts-content-suggest a { display: inline-flex; align-items: center; gap: 10px; min-height: 38px; color: var(--brand-dark); font-size: .79rem; font-weight: 800; text-underline-offset: 3px; }
.ts-content-page a:focus-visible, .ts-content-page button:focus-visible { outline: 3px solid var(--brand); outline-offset: 4px; }
@media (max-width: 900px) { .ts-content-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) {
    .ts-content-page .wrap { width: calc(100% - 28px); }
    .ts-content-page .hero { padding-top: 58px; padding-bottom: 20px; }
    .ts-content-page .ts-content-main { padding-top: 20px; }
    .ts-content-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
    .ts-content-heading { gap: 10px; align-items: flex-start; }
    .ts-content-heading h2 { font-size: 1rem; }
    .ts-content-heading p { font-size: .78rem; }
    .ts-content-count { margin-top: 1px; }
    .ts-content-suggest { flex-direction: column; align-items: flex-start; gap: 9px; padding: 16px; }
    .ts-content-watch, .ts-content-share { min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
    .ts-content-page { scroll-behavior: auto; }
    .ts-content-card, .ts-content-play, .ts-content-share { transition: none; }
}

/* Windows 95 channel windows; video colours and artwork are untouched. */
html body .ts-content-card { padding: 3px; background: var(--w95-face); }
html body .ts-content-card:hover { box-shadow: var(--w95-window); }
html body .ts-content-channel { min-height: 36px; padding: 8px; background: var(--brand); border: 0; }
html body .ts-content-channel h3 { color: var(--paper); font-size: .84rem; letter-spacing: 0; }
html body .ts-content-thumbnail { border: 1px solid var(--line-dark); box-shadow: var(--w95-inset); }
html body .ts-content-card-body { background: var(--paper); padding: 13px 11px; }
html body .ts-content-video-title { font-weight: 700; letter-spacing: 0; }
html body .ts-content-play { border-radius: 0; box-shadow: var(--w95-outset); }
html body .ts-content-count { background: var(--paper); border: 1px solid var(--line-dark); box-shadow: var(--w95-inset); }
html body .ts-content-suggest { background: var(--w95-face); }
html body .ts-content-heading h2 { letter-spacing: 0; font-weight: 700; }

/* TurfScout 95 refined: editorial video windows. */
html body.ts-content-page .ts-content-main { padding-block: 27px 38px; }
html body.ts-content-page .ts-content-heading { padding-bottom: 13px; border-color: #c7d7c5; }
html body.ts-content-page .ts-content-heading h2 { font-size: 18px; }
html body.ts-content-page .ts-content-heading p { color: #5e7161; }
html body.ts-content-page .ts-content-grid { gap: 16px; }
html body.ts-content-page .ts-content-card { border-color: #9eb09e; box-shadow: var(--w95-window); }
html body.ts-content-page .ts-content-channel { padding: 10px 12px; background: var(--brand-dark); }
html body.ts-content-page .ts-content-channel h3 { font-size: 13px; }
html body.ts-content-page .ts-content-card-body { padding: 15px 13px; }
html body.ts-content-page .ts-content-video-title { color: var(--ink); font-size: 14px; line-height: 1.43; }
html body.ts-content-page .ts-content-meta { color: #607363; }
html body.ts-content-page .ts-content-play { width: 52px; height: 40px; background: rgba(17, 40, 20, .88); border: 1px solid #f2f7f0; }
html body.ts-content-page .ts-content-share { min-height: 39px; color: var(--brand-dark); background: #f7fbf5; }
html body.ts-content-page .ts-content-suggest { padding: 18px 20px; background: #f1f7ef; border-left: 4px solid var(--brand); }
@media (max-width: 620px) {
    html body.ts-content-page .hero { padding-top: 59px; padding-bottom: 18px; }
    html body.ts-content-page .ts-content-main { padding-block: 17px 26px; }
    html body.ts-content-page .ts-content-grid { gap: 12px; }
    html body.ts-content-page .ts-content-heading h2 { font-size: 16px; }
}
html body.ts-content-page .ts-content-share:is(:hover, :focus-visible) { color: #fff; background: var(--brand-dark); }
