/* ==========================================================================
   BFSI AI Conversations — bfsi-ai-conversations.html
   Banner + series intro, and the episode grid, each card linking out to
   the video on YouTube. The pinned header lives in shared.css with the
   other interior pages (.page-convo is listed alongside .page-form there).

   The banner is a neutral charcoal, not the navy of the awards artwork, so
   the dark band here is #07080C — the banner's own left and bottom edges,
   sampled — and the accents come from the artwork too: the red of its
   EXCLUSIVE chip and the purple-to-pink of its button.
   ========================================================================== */

/* ---- hero -------------------------------------------------------------
   The lockup starts ~75px into a 600px-tall file, so unlike the awards page
   the header cannot float over it: it would sit straight on "Exclusive Talk
   Series". The band pads itself by the bar's height and the banner starts
   underneath. */
.cvh {
    position: relative;
    padding-top: 105px;
    background: #07080C;
    overflow: hidden;
}

/* The art is a link to the episodes: it carries a baked-in "Let's start the
   conversation" button, and people will click it. */
.cvh__art {
    position: relative;
    display: block;
    line-height: 0;
}

.cvh__art img {
    display: block;
    width: 100%;
    height: auto;
}

/* The foot of the file runs from near-black at the edges to a lit #343A41
   floor in the middle, so a flat band colour would end on a visible line.
   This dissolves it into the band instead. */
.cvh__art::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 28%;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(7, 8, 12, 0) 0%, rgba(7, 8, 12, .7) 60%, #07080C 100%);
}

.cvh__art:focus-visible {
    outline: 2px solid #B9A7FF;
    outline-offset: -4px;
}

.cvh__intro {
    position: relative;
    z-index: 1;
    max-width: 860px;
    margin: 0 auto;
    padding: 34px 15px 92px;
    text-align: center;
}

/* purple glow under the copy, full bleed, faded in from nothing at the top
   so it never draws a line across the foot of the banner */
.cvh__intro::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
    pointer-events: none;
    background:
        radial-gradient(760px 420px at 80% 90%, rgba(104, 68, 237, .22), transparent 66%),
        radial-gradient(620px 380px at 12% 100%, rgba(214, 64, 160, .12), transparent 68%);
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 200px);
    mask-image: linear-gradient(180deg, transparent 0, #000 200px);
}

/* the artwork's red EXCLUSIVE chip */
.cvh__eyebrow {
    display: inline-block;
    margin-bottom: 18px;
    padding: 6px 14px;
    border-radius: 3px;
    background: #E0282E;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.cvh h1 {
    margin: 0;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    line-height: 1.14;
    letter-spacing: -.02em;
    color: #fff;
}

/* same accent treatment as every section title on the site, in the lilac
   the dark bands use */
.cvh h1 span {
    color: #C9BDFF;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 600;
}

.cvh__tagline {
    margin: 14px 0 0;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: .2px;
    color: #9EA3B8;
}

/* the artwork's button gradient, as a hairline */
.cvh__rule {
    display: block;
    width: 84px;
    height: 2px;
    margin: 26px auto 28px;
    border-radius: 2px;
    background: linear-gradient(90deg, #7B5CFF, #E14FB0);
}

.cvh__intro p {
    margin: 0 0 16px;
    font-size: 17px;
    line-height: 30px;
    color: #C3C6D4;
}

.cvh__intro p:last-child {
    margin-bottom: 0;
}

@media (max-width: 991px) {
    /* matches the 62px bar below 991px */
    .cvh { padding-top: 62px; }
    .cvh__intro { padding-bottom: 70px; }
}

@media (max-width: 767px) {
    /* the whole banner is ~120px tall on a phone; a 28% fade would eat the
       bottom of the lockup */
    .cvh__art::after { height: 16%; }
    .cvh__intro { padding: 26px 16px 56px; }
    .cvh__tagline { font-size: 14px; }
    .cvh__intro p { font-size: 15px; line-height: 26px; }
}


/* ---- episodes ---------------------------------------------------------
   Light band, same ink and accent as the home page's light sections.

   The purple contact band below overhangs the footer (.cta has a -138px
   bottom margin), so its top half sits on the page itself. Painting the
   page the band's colour lets the two run on without a seam. */
.page-convo {
    background: #FBFAFF;
}

.cvx {
    background: #FBFAFF;
    padding: 96px 0 100px;
    /* clears the pinned bar when the banner links down here */
    scroll-margin-top: 105px;
}

/* .heading-section carries 58px for the home page's bands; the cards here
   supply their own air */
.cvx .heading-section {
    margin-bottom: 44px;
}

.cvx__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
}

.cvx__card {
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(3, 0, 20, .08);
    color: inherit;
    text-decoration: none;
    transition: transform .35s cubic-bezier(.22, 1, .36, 1), box-shadow .35s ease, border-color .35s ease;
}

.cvx__card:hover,
.cvx__card:focus-visible {
    transform: translateY(-4px);
    border-color: rgba(104, 68, 237, .28);
    box-shadow: 0 22px 46px rgba(104, 68, 237, .14);
    color: inherit;
}

.cvx__card:focus-visible {
    outline: 2px solid #6844ED;
    outline-offset: 3px;
}

/* YouTube's sddefault is 4:3 with the 16:9 frame letterboxed inside it, so a
   16:9 box with object-fit: cover crops exactly the black bars away. It is
   the largest size all four videos have — one has no maxresdefault. */
.cvx__thumb {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #0B0D14;
}

.cvx__thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s cubic-bezier(.22, 1, .36, 1);
}

.cvx__card:hover .cvx__thumb img {
    transform: scale(1.04);
}

/* a light scrim so the white play button and the episode chip hold up
   over a bright frame */
.cvx__thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 8, 12, .38) 0%, rgba(7, 8, 12, 0) 34%, rgba(7, 8, 12, 0) 62%, rgba(7, 8, 12, .32) 100%);
    pointer-events: none;
}

.cvx__play {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 1;
    width: 70px;
    height: 70px;
    margin: -35px 0 0 -35px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, .94);
    color: #6844ED;
    box-shadow: 0 10px 30px rgba(7, 8, 12, .35);
    transition: transform .35s cubic-bezier(.22, 1, .36, 1), background-color .3s ease, color .3s ease;
}

/* a soft ring that breathes out from the button */
.cvx__play::before {
    content: "";
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, .55);
    animation: cvxRing 2.4s ease-out infinite;
}

@keyframes cvxRing {
    0%   { transform: scale(.86); opacity: .9; }
    100% { transform: scale(1.22); opacity: 0; }
}

.cvx__play svg {
    width: 24px;
    height: 24px;
    /* the triangle's visual centre sits left of its box */
    margin-left: 4px;
    fill: currentColor;
}

.cvx__card:hover .cvx__play,
.cvx__card:focus-visible .cvx__play {
    transform: scale(1.08);
    background: #6844ED;
    color: #fff;
}

.cvx__ep {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 1;
    padding: 6px 12px;
    border-radius: 30px;
    background: rgba(7, 8, 12, .72);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    color: #fff;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 1.6px;
    line-height: 1;
    text-transform: uppercase;
}

@media (max-width: 991px) {
    .cvx { padding: 72px 0 80px; scroll-margin-top: 62px; }
    .cvx__grid { gap: 22px; }
}

@media (max-width: 767px) {
    .cvx { padding: 56px 0 64px; }
    .cvx .heading-section { margin-bottom: 30px; }
    .cvx__grid { grid-template-columns: 1fr; }
    .cvx__play { width: 60px; height: 60px; margin: -30px 0 0 -30px; }
}

@media (prefers-reduced-motion: reduce) {
    .cvx__play::before { animation: none; opacity: 0; }
    .cvx__card,
    .cvx__thumb img,
    .cvx__play { transition: none; }
    .cvx__card:hover,
    .cvx__card:focus-visible { transform: none; }
    .cvx__card:hover .cvx__thumb img { transform: none; }
}


/* ---- be part of the series --------------------------------------------
   The site's purple contact band (style.css .cta + shared.css #contact),
   carrying the invitation rather than a named contact. */
#contact .conty h3 {
    max-width: 30ch;
    margin-left: auto;
    margin-right: auto;
    text-wrap: balance;
}

#contact .conty__lead {
    margin-bottom: 10px;
    opacity: .9;
}

#contact .conty__line a {
    font-weight: 700;
}

.conty__tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 12px;
    margin-top: 22px;
}

.conty__tags span {
    padding: 6px 14px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, .28);
    background: rgba(255, 255, 255, .08);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .3px;
    color: #fff;
}
