/* =========================================================================
   Tenantivo Help Center / Guides — Instruction Design System
   Used by:
     - Views/Home/Help/Guides.cshtml           (guide listing)
     - Views/Home/Help/Guides/*.cshtml         (individual guides)
   Distinct from Blog.css — optimized for step-by-step setup instructions.
   Depends on tokens defined in Public.css (--tv-* variables).
   ========================================================================= */

/* ---------------------------------------------------------------------------
   Accent system
   --------------------------------------------------------------------------- */
.tv-guides,
.tv-guide-accent-brand {
    --tv-guide-grad:       var(--tv-grad-brand);
    --tv-guide-strong:     var(--tv-primary-700);
    --tv-guide-tint:       var(--tv-primary-50);
    --tv-guide-tint-line:  var(--tv-primary-100);
    --tv-guide-glow:       var(--tv-shadow-brand);
}
.tv-guide-accent-mint {
    --tv-guide-grad:       linear-gradient(135deg, #059669 0%, #34d399 100%);
    --tv-guide-strong:     #047857;
    --tv-guide-tint:       #ecfdf5;
    --tv-guide-tint-line:  #a7f3d0;
    --tv-guide-glow:       0 10px 24px rgba(16, 185, 129, 0.28);
}
.tv-guide-accent-violet {
    --tv-guide-grad:       linear-gradient(135deg, #7c3aed 0%, #a78bfa 100%);
    --tv-guide-strong:     #6d28d9;
    --tv-guide-tint:       #f5f3ff;
    --tv-guide-tint-line:  #ddd6fe;
    --tv-guide-glow:       0 10px 24px rgba(139, 92, 246, 0.28);
}

/* ============================================================
   HERO — listing + detail
   ============================================================ */
.tv-guide-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(165deg, #0f172a 0%, #1e293b 42%, #0f172a 100%);
    color: #fff;
    padding: 3.5rem 0 5rem;
}
.tv-guide-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 15% -10%, rgba(59, 130, 246, 0.35), transparent 55%),
        radial-gradient(ellipse 60% 50% at 90% 20%, rgba(99, 102, 241, 0.22), transparent 50%);
    pointer-events: none;
}
.tv-guide-hero::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 100px;
    background: linear-gradient(to bottom, transparent, var(--tv-soft-bg, #f8fafc));
    pointer-events: none;
}
.tv-guide-hero > .container { position: relative; z-index: 2; }

.tv-guide-hero-breadcrumb {
    margin: 0 0 1.25rem;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 0.5rem;
    font-size: 0.85rem;
    color: rgba(226, 232, 240, 0.75);
}
.tv-guide-hero-breadcrumb a {
    color: rgba(226, 232, 240, 0.92);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease, color 0.2s ease;
}
.tv-guide-hero-breadcrumb a:hover {
    color: #fff;
    border-bottom-color: rgba(255, 255, 255, 0.4);
}
.tv-guide-hero-breadcrumb .sep { color: rgba(255, 255, 255, 0.35); }
.tv-guide-hero-breadcrumb .current { color: #fff; font-weight: 500; }

.tv-guide-hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.85rem 0.35rem 0.45rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}
.tv-guide-hero-pill-icon {
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--tv-guide-grad);
    box-shadow: var(--tv-guide-glow);
    font-size: 0.75rem;
}

.tv-guide-hero-title {
    color: #fff;
    font-size: clamp(1.85rem, 4vw, 2.75rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    max-width: 42rem;
}

.tv-guide-hero-lead {
    font-size: 1.08rem;
    line-height: 1.65;
    color: #e2e8f0;
    max-width: 40rem;
    margin-bottom: 1.5rem;
}

/* Public.css global typography — keep hero text light on dark background */
.public-main .tv-guide-hero h1.tv-guide-hero-title {
    color: #fff !important;
}
.public-main .tv-guide-hero p.tv-guide-hero-lead {
    color: #e2e8f0 !important;
}

.tv-guide-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
    font-size: 0.9rem;
    color: rgba(226, 232, 240, 0.8);
}
.tv-guide-hero-meta .meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}
.tv-guide-hero-meta i { opacity: 0.85; }

/* Progress bar on detail hero */
.tv-guide-progress {
    margin-top: 2rem;
    max-width: 32rem;
}
.tv-guide-progress-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: rgba(226, 232, 240, 0.75);
    margin-bottom: 0.5rem;
}
.tv-guide-progress-track {
    height: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    overflow: hidden;
}
.tv-guide-progress-fill {
    height: 100%;
    border-radius: inherit;
    background: var(--tv-guide-grad);
    box-shadow: 0 0 12px rgba(59, 130, 246, 0.5);
    transition: width 0.4s ease;
}

/* ============================================================
   LISTING GRID
   ============================================================ */
.tv-guide-listing {
    padding: 0 0 4rem;
    margin-top: -2rem;
    position: relative;
    z-index: 3;
}

.tv-guide-card {
    position: relative;
    height: 100%;
    background: #fff;
    border: 1px solid var(--tv-border, #e2e8f0);
    border-radius: 1rem;
    padding: 1.75rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}
.tv-guide-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.1);
    border-color: var(--tv-guide-tint-line);
    color: inherit;
}
.tv-guide-card-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--tv-guide-tint);
    color: var(--tv-guide-strong);
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
    border: 1px solid var(--tv-guide-tint-line);
}
.tv-guide-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    font-size: 0.8rem;
    color: #64748b;
    margin-bottom: 0.75rem;
}
.tv-guide-card-meta .pill {
    background: var(--tv-guide-tint);
    color: var(--tv-guide-strong);
    padding: 0.15rem 0.55rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.tv-guide-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.65rem;
    color: #0f172a;
}
.tv-guide-card-excerpt {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.55;
    flex: 1;
    margin-bottom: 1.25rem;
}
.tv-guide-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid #f1f5f9;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--tv-guide-strong);
}
.tv-guide-card-footer i {
    transition: transform 0.2s ease;
}
.tv-guide-card:hover .tv-guide-card-footer i {
    transform: translateX(4px);
}

.tv-guide-empty {
    text-align: center;
    padding: 4rem 2rem;
    color: #64748b;
    background: #fff;
    border-radius: 1rem;
    border: 1px dashed #cbd5e1;
}

/* ============================================================
   GUIDE DETAIL — layout + timeline
   ============================================================ */
.tv-guide-article {
    padding: 0 0 5rem;
    margin-top: -2.5rem;
    position: relative;
    z-index: 3;
}

.tv-guide-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 2.5rem;
    align-items: start;
}

.tv-guide-main {
    min-width: 0;
}

.tv-guide-intro {
    background: #fff;
    border: 1px solid var(--tv-border, #e2e8f0);
    border-radius: 1rem;
    padding: 1.75rem 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}
.tv-guide-intro p {
    margin: 0;
    color: #475569;
    line-height: 1.65;
    font-size: 1.02rem;
}
.tv-guide-intro p + p { margin-top: 0.85rem; }

/* Timeline steps */
.tv-guide-steps {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.tv-guide-step {
    display: grid;
    grid-template-columns: 3.5rem minmax(0, 1fr);
    gap: 1.25rem;
    position: relative;
}
.tv-guide-step:not(:last-child)::before {
    content: "";
    position: absolute;
    left: 1.7rem;
    top: 3.5rem;
    bottom: -2rem;
    width: 2px;
    background: linear-gradient(to bottom, var(--tv-guide-tint-line), #e2e8f0);
}

.tv-guide-step-marker {
    display: flex;
    justify-content: center;
}
.tv-guide-step-num {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: var(--tv-guide-tint);
    color: var(--tv-guide-strong);
    border: 2px solid var(--tv-guide-tint-line);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
    position: relative;
    z-index: 1;
}

.tv-guide-step-body {
    background: #fff;
    border: 1px solid var(--tv-border, #e2e8f0);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.05);
    scroll-margin-top: 6rem;
}

.tv-guide-step-header {
    padding: 1.5rem 1.75rem 0;
}
.tv-guide-step-status {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    margin-bottom: 0.5rem;
    background: #f1f5f9;
    color: #64748b;
}
.tv-guide-step-status.in-progress {
    background: #fef3c7;
    color: #b45309;
}
.tv-guide-step-status.complete {
    background: #d1fae5;
    color: #047857;
}
.tv-guide-step-status.prep {
    background: #e0f2fe;
    color: #0369a1;
}

/* "Prep" preparation step (precedes numbered steps) */
.tv-guide-step.is-prep .tv-guide-step-num {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: #e0f2fe;
    color: #0369a1;
    border-color: #bae6fd;
}

.tv-guide-step-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 0.25rem;
    line-height: 1.25;
}

.tv-guide-step-content {
    padding: 1rem 1.75rem 1.75rem;
    color: #475569;
    line-height: 1.65;
}
.tv-guide-step-content p { margin-bottom: 0.85rem; }
.tv-guide-step-content p:last-child { margin-bottom: 0; }
.tv-guide-step-content ul,
.tv-guide-step-content ol {
    padding-left: 1.25rem;
    margin-bottom: 0.85rem;
}
.tv-guide-step-content li { margin-bottom: 0.4rem; }
.tv-guide-step-content li:last-child { margin-bottom: 0; }

.tv-guide-placeholder-note {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    border-radius: 0.65rem;
    background: #fffbeb;
    border: 1px solid #fde68a;
    color: #92400e;
    font-size: 0.9rem;
    margin: 1rem 0 1.25rem;
}
.tv-guide-placeholder-note i {
    margin-top: 0.15rem;
    flex-shrink: 0;
}

.tv-guide-callout {
    display: flex;
    gap: 0.85rem;
    padding: 1rem 1.15rem;
    border-radius: 0.65rem;
    background: var(--tv-guide-tint);
    border: 1px solid var(--tv-guide-tint-line);
    margin: 1.25rem 0 0;
    font-size: 0.95rem;
    color: #334155;
}
.tv-guide-callout-icon {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--tv-guide-grad);
    color: #fff;
    font-size: 0.85rem;
}

/* Thumbnail grid */
.tv-guide-thumbs-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #94a3b8;
    margin: 1.5rem 0 0.75rem;
}
.tv-guide-thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0.85rem;
}

.tv-guide-thumb-wrap { min-width: 0; }

.tv-guide-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 0.65rem;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    padding: 0;
    cursor: default;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.tv-guide-thumb--ready {
    cursor: zoom-in;
    border: none;
    background: #0f172a;
}
.tv-guide-thumb--ready:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.15);
}
.tv-guide-thumb--ready img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.tv-guide-thumb-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.45);
    color: #fff;
    font-size: 1.25rem;
    opacity: 0;
    transition: opacity 0.2s ease;
}
.tv-guide-thumb--ready:hover .tv-guide-thumb-overlay { opacity: 1; }

.tv-guide-thumb--placeholder {
    border-style: dashed;
    border-color: #cbd5e1;
    background: linear-gradient(145deg, #f8fafc 0%, #f1f5f9 100%);
}
.tv-guide-thumb-placeholder-icon {
    font-size: 1.5rem;
    color: #cbd5e1;
    margin-bottom: 0.35rem;
}
.tv-guide-thumb-soon {
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #94a3b8;
    margin-top: 0.25rem;
}
.tv-guide-thumb-caption {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 0.35rem 0.5rem;
    font-size: 0.68rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.85), transparent);
    line-height: 1.2;
}
.tv-guide-thumb--placeholder .tv-guide-thumb-caption {
    position: static;
    background: none;
    color: #64748b;
    padding: 0.25rem 0.5rem 0;
    font-size: 0.72rem;
}

/* Sidebar */
.tv-guide-sidebar {
    position: sticky;
    top: 5.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.tv-guide-side-card {
    background: #fff;
    border: 1px solid var(--tv-border, #e2e8f0);
    border-radius: 1rem;
    padding: 1.25rem;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}
.tv-guide-side-card-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #94a3b8;
    margin-bottom: 0.85rem;
}

.tv-guide-toc {
    list-style: none;
    margin: 0;
    padding: 0;
    counter-reset: guide-toc;
}
.tv-guide-toc li {
    counter-increment: guide-toc;
    margin-bottom: 0.35rem;
}
.tv-guide-toc li:last-child { margin-bottom: 0; }
.tv-guide-toc a {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 0.55rem 0.65rem;
    border-radius: 0.5rem;
    text-decoration: none;
    color: #475569;
    font-size: 0.88rem;
    font-weight: 500;
    line-height: 1.35;
    transition: background 0.15s ease, color 0.15s ease;
}
.tv-guide-toc a::before {
    content: counter(guide-toc, decimal-leading-zero);
    flex-shrink: 0;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 0.35rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 800;
    background: #f1f5f9;
    color: #64748b;
    transition: background 0.15s ease, color 0.15s ease;
}
.tv-guide-toc a:hover {
    background: var(--tv-guide-tint);
    color: var(--tv-guide-strong);
}
.tv-guide-toc a.is-active {
    background: var(--tv-guide-tint);
    color: var(--tv-guide-strong);
    font-weight: 600;
}
.tv-guide-toc a.is-active::before {
    background: var(--tv-guide-grad);
    color: #fff;
}

/* "Prep" entry in the TOC sidebar — sits before the numbered list */
.tv-guide-toc-prep {
    list-style: none;
    margin: 0 0 0.35rem;
    padding: 0;
}
.tv-guide-toc-prep a {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 0.55rem 0.65rem;
    border-radius: 0.5rem;
    text-decoration: none;
    color: #475569;
    font-size: 0.88rem;
    font-weight: 500;
    line-height: 1.35;
    transition: background 0.15s ease, color 0.15s ease;
}
.tv-guide-toc-prep a::before {
    content: "Prep";
    flex-shrink: 0;
    min-width: 1.5rem;
    height: 1.5rem;
    padding: 0 0.3rem;
    border-radius: 0.35rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    background: #e0f2fe;
    color: #0369a1;
}
.tv-guide-toc-prep a:hover {
    background: var(--tv-guide-tint);
    color: var(--tv-guide-strong);
}
.tv-guide-toc-prep a.is-active {
    background: var(--tv-guide-tint);
    color: var(--tv-guide-strong);
    font-weight: 600;
}

.tv-guide-side-cta {
    background: linear-gradient(145deg, #0f172a 0%, #1e293b 100%);
    border-radius: 1rem;
    padding: 1.35rem;
    color: #fff;
}
.tv-guide-side-cta-eyebrow {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(226, 232, 240, 0.7);
}
.tv-guide-side-cta-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0.35rem 0 0.5rem;
    line-height: 1.3;
    color: #fff;
}
.tv-guide-side-cta-text {
    font-size: 0.85rem;
    color: #e2e8f0;
    line-height: 1.5;
    margin-bottom: 1rem;
}

/* Beat Public.css global h3 / p colors on dark sidebar card */
.public-main .tv-guide-side-cta h3.tv-guide-side-cta-title {
    color: #fff !important;
}
.public-main .tv-guide-side-cta p.tv-guide-side-cta-text {
    color: #e2e8f0 !important;
}
.tv-guide-side-cta .btn {
    width: 100%;
    background: var(--tv-guide-grad);
    border: none;
    color: #fff;
    font-weight: 600;
}

.tv-guide-footer-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
}

/* ============================================================
   REFERENCE & HELP
   ============================================================ */
.tv-guide-reference {
    background: #fff;
    border: 1px solid var(--tv-border, #e2e8f0);
    border-radius: 1rem;
    padding: 1.75rem 2rem 2rem;
    margin-top: 2.5rem;
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.05);
    scroll-margin-top: 6rem;
}
.tv-guide-reference-head {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}
.tv-guide-reference-icon {
    width: 2.75rem;
    height: 2.75rem;
    flex-shrink: 0;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--tv-guide-grad);
    color: #fff;
    font-size: 1.1rem;
    box-shadow: var(--tv-guide-glow);
}
.tv-guide-reference-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 0.35rem;
    line-height: 1.25;
}
.tv-guide-reference-sub {
    margin: 0;
    color: #475569;
    line-height: 1.6;
    font-size: 0.98rem;
}
.tv-guide-reference-subhead {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    margin: 1.75rem 0 0.85rem;
}

/* FAQ / accordion */
.tv-guide-faq {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}
.tv-guide-faq-item {
    border: 1px solid #e2e8f0;
    border-radius: 0.65rem;
    background: #f8fafc;
    overflow: hidden;
}
.tv-guide-faq-item > summary {
    cursor: pointer;
    list-style: none;
    padding: 0.85rem 2.5rem 0.85rem 1rem;
    font-weight: 600;
    color: #1e293b;
    position: relative;
    transition: background 0.15s ease, color 0.15s ease;
}
.tv-guide-faq-item > summary::-webkit-details-marker { display: none; }
.tv-guide-faq-item > summary::after {
    content: "\f078";
    font-family: "Font Awesome 6 Free", "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.75rem;
    color: var(--tv-guide-strong);
    transition: transform 0.2s ease;
}
.tv-guide-faq-item[open] > summary {
    background: var(--tv-guide-tint);
    color: var(--tv-guide-strong);
}
.tv-guide-faq-item[open] > summary::after { transform: translateY(-50%) rotate(180deg); }
.tv-guide-faq-item > p {
    margin: 0;
    padding: 0.25rem 1rem 1rem;
    color: #475569;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* External links list */
.tv-guide-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.5rem;
}
.tv-guide-links a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.65rem;
    text-decoration: none;
    color: #334155;
    font-size: 0.95rem;
    line-height: 1.4;
    transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}
.tv-guide-links a:hover {
    border-color: var(--tv-guide-tint-line);
    background: var(--tv-guide-tint);
    transform: translateX(2px);
}
.tv-guide-links a i {
    color: var(--tv-guide-strong);
    font-size: 0.85rem;
    flex-shrink: 0;
}
.tv-guide-links a strong { color: #0f172a; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 991.98px) {
    .tv-guide-layout {
        grid-template-columns: 1fr;
    }
    .tv-guide-sidebar {
        position: static;
        order: -1;
    }
    .tv-guide-toc {
        display: flex;
        flex-wrap: wrap;
        gap: 0.35rem;
    }
    .tv-guide-toc li { margin-bottom: 0; flex: 1 1 auto; }
    .tv-guide-toc a { font-size: 0.8rem; padding: 0.45rem 0.55rem; }
}

@media (max-width: 575.98px) {
    .tv-guide-step {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    .tv-guide-step:not(:last-child)::before { display: none; }
    .tv-guide-step-marker { justify-content: flex-start; }
    .tv-guide-step-num {
        width: 2.75rem;
        height: 2.75rem;
        font-size: 0.85rem;
    }
    .tv-guide-thumbs {
        grid-template-columns: repeat(2, 1fr);
    }
}
