/* ==========================================================================
   OSpectra — Training, Video & Change Management Agent
   Shared template (Agent_Template.css) covers owns/how/sees/closing/pager.
   This file only holds the accent token, section rhythm, and the hero's
   video-thumbnail card visual.
   ========================================================================== */

:root {
  --agent-accent: var(--pink);
  --agent-gradient: linear-gradient(135deg, #ec4899, #f472b6);
}

.btn-link {
  background: color-mix(in srgb, var(--agent-accent) 18%, white);
}

.section-head h2 {
  background: var(--agent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ==========================================================================
   HERO (kept unique visual: video card)
   ========================================================================== */
.tv-hero {
    background: linear-gradient(180deg, #fff 0%, #fff7fb 100%);
    padding-top: 6px;
}

.tv-hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    align-items: center;
}

.tv-h1 {
    font-family: var(--font-montserrat-bold), sans-serif;
    font-size: clamp(30px, 4vw, 50px);
    color: var(--pink);
    margin-top: 14px;
}

.tv-h1 span {
    display: block;
    font-weight: 300;
    color: #180F5A;
}

.tv-lede {
    font-size: 15px;
    max-width: 500px;
    color: #6B6B80;
    font-weight: 400;
}

.tv-hero-actions {
    display: flex;
    align-items: center;
    gap: 26px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.tv-hero-actions .btn-primary {
    background: var(--agent-gradient);
    box-shadow: 0 12px 24px -10px rgba(236, 72, 153, .55);
}

.tv-hero-actions .btn-primary .btn-circle {
    background: #fff;
}

.tv-hero-actions .btn-primary .btn-arrow {
    background: var(--agent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.tv-hero-actions .btn-link span {
    color: var(--pink);
}

.tv-video-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 14px;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--line);
    max-width: 460px;
    margin-left: auto;
}

.tv-video-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-md);
    background: linear-gradient(150deg, #1a1440 0%, #2b1c5e 55%, #4a1f4d 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.tv-video-thumb::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(115deg, rgba(255, 255, 255, .05) 0 2px, transparent 2px 40px);
    opacity: .5;
}

.tv-video-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .2);
    color: #fff;
    padding: 6px 11px;
    border-radius: 20px;
}

.tv-video-duration {
    position: absolute;
    bottom: 12px;
    right: 14px;
    font-size: 11px;
    font-weight: 600;
    color: #fff;
    background: rgba(0, 0, 0, .45);
    padding: 3px 9px;
    border-radius: 6px;
    letter-spacing: .03em;
}

.tv-play-btn {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .16);
    border: 1.5px solid rgba(255, 255, 255, .55);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(2px);
    z-index: 1;
}

.tv-play-triangle {
    width: 0;
    height: 0;
    border-top: 11px solid transparent;
    border-bottom: 11px solid transparent;
    border-left: 18px solid #fff;
    margin-left: 5px;
}

.tv-video-caption {
    padding: 16px 8px 6px;
}

.tv-video-caption strong {
    display: block;
    font-size: 14.5px;
    color: #180F5A;
    font-weight: 600;
    margin-bottom: 6px;
    line-height: 1.4;
}

.tv-video-caption small {
    font-size: 11.5px;
    color: var(--muted);
    font-weight: 400;
}

/* ==========================================================================
   SECTION RHYTHM
   ========================================================================== */
.tv-modules {
    background: var(--lavender-bg);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
    .tv-hero-grid {
        grid-template-columns: 1fr;
    }

    .tv-video-card {
        margin-left: 0;
        max-width: 100%;
    }
}
