/* Speaker: navy headline panel, talk cards and a matching enquiry bar. */
.professional-speaking.speaking-refresh { background: #f8fafc; color: #1f3a5f; overflow: hidden; }
.speaking-hero { display: grid; grid-template-columns: 1.15fr .85fr; min-height: 420px; background: #1f3a5f; border-radius: 12px 64px 12px 12px; overflow: hidden; }
.speaking-hero > * { min-width: 0; }
.speaking-intro { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: center; padding: clamp(32px, 4vw, 56px); }
.speaking-intro::before, .speaking-intro::after { content: ''; position: absolute; width: 260px; height: 260px; right: -120px; top: -110px; border: 1px solid #e8a33d30; border-radius: 50%; pointer-events: none; }
.speaking-intro::after { width: 360px; height: 360px; right: -170px; top: -150px; }
.speaking-mark { position: relative; display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 28px; border: 1px solid #e8a33d70; border-radius: 12px; color: #e8a33d; }
.speaking-mark .professional-icon { width: 30px; height: 30px; }
.speaking-intro h3 { position: relative; margin: 0 0 24px; font: 700 clamp(34px, 4.2vw, 56px)/1.08 Arial, Helvetica, sans-serif; letter-spacing: -2px; color: #fff; }
.speaking-intro h3 span { font-weight: 400; color: #e8a33d; }
.speaking-intro p { position: relative; max-width: 420px; margin: 0; padding-top: 22px; border-top: 1px solid #ffffff26; font-size: 16px; line-height: 1.7; color: #d4dfed; }
.speaking-visual { margin: 0; min-height: 280px; background: #122c4e; }
.speaking-visual img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.speaking-content { padding-block: 36px 8px; }
.speaking-help { display: flex; align-items: center; gap: 20px; margin-bottom: 28px; }
.speaking-help h3 { margin: 0; font-size: clamp(24px, 2.6vw, 32px); font-weight: 500; line-height: 1.25; letter-spacing: -.7px; }
.speaking-help > span { height: 3px; min-width: 28px; flex: 1; background: #e8a33d; }
.speaking-talks { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.speaking-talk { position: relative; grid-column: span 2; display: flex; flex-direction: column; align-items: start; gap: 22px; padding: 28px 24px; border: 1px solid #dfe6ef; border-radius: 10px; background: #fff; box-shadow: 0 5px 16px #1f3a5f03; transition: border-color .25s, box-shadow .25s, transform .25s; }
.speaking-talk:nth-child(n + 4) { grid-column: span 3; }
.speaking-talk::after { content: ''; position: absolute; height: 3px; bottom: 0; left: 24px; right: 24px; background: #e8a33d; transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.speaking-talk:hover { border-color: #d5b476; box-shadow: 0 14px 30px #1f3a5f0d; transform: translateY(-4px); }
.speaking-talk:hover::after { transform: scaleX(1); }
.speaking-talk-icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 12px; color: #1f3a5f; background: #edf2f8; }
.speaking-talk:first-child .speaking-talk-icon { background: #fff0d8; color: #805014; }
.speaking-talk h4 { margin: 0 0 10px; font-size: 19px; font-weight: 600; line-height: 1.35; }
.speaking-talk p { margin: 0; color: #617084; font-size: 13px; line-height: 1.8; }
.speaking-venues { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 28px; align-items: stretch; margin: 12px 0 22px; padding: 28px 32px; border: 1px solid #dfe6ef; border-radius: 10px; background: #fff; }
.speaking-venues-head { display: flex; flex-direction: column; justify-content: center; padding-right: 12px; border-right: 3px solid #e8a33d; }
.speaking-venues-head p { margin: 0 0 8px; font-size: 11px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; color: #e8a33d; }
.speaking-venues-head h3 { margin: 0; font-size: clamp(20px, 2.2vw, 26px); font-weight: 500; line-height: 1.2; letter-spacing: -.5px; }
.speaking-venues ul { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; padding: 0; margin: 0; }
.speaking-venues li { display: flex; flex-direction: column; gap: 16px; min-width: 0; padding: 8px 18px; }
.speaking-venues li + li { border-left: 1px solid #e7edf4; }
.speaking-venue-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; color: #1f3a5f; background: #edf2f8; }
.speaking-venue-icon .professional-icon { width: 22px; height: 22px; }
.speaking-venues li:first-of-type .speaking-venue-icon { background: #fff0d8; color: #805014; }
.speaking-venues strong { font-size: 14px; font-weight: 600; line-height: 1.35; }
.speaking-cta { display: flex; justify-content: space-between; align-items: center; gap: 24px; overflow: hidden; padding: 24px 32px; border-radius: 10px; background: #1f3a5f; }
.speaking-cta-motif { display: flex; align-items: center; gap: 18px; color: #e8a33d; }
.speaking-cta-motif .professional-icon { width: 40px; height: 40px; stroke-width: 1; }
.speaking-cta-motif > span { height: 1px; width: 90px; background: #ffffff40; }
.speaking-cta-motif > span:last-child { width: 10px; height: 10px; border: 1px solid #e8a33d; background: none; border-radius: 50%; }
.speaking-cta a { display: inline-flex; align-items: center; justify-content: center; gap: 36px; padding: 17px 26px; border-radius: 5px; background: #e8a33d; color: #1f3a5f; font-size: 13px; font-weight: 700; line-height: 1.5; }
.speaking-cta a > span { font-size: 22px; line-height: 1; transition: transform .25s; }
.speaking-cta a:hover { background: #f4bc68; }
.speaking-cta a:hover > span { transform: translateX(4px); }
.speaking-cta a:focus-visible { outline: 3px solid #fff; outline-offset: 5px; }
@media(max-width: 1000px) {
  .speaking-hero { grid-template-columns: 1fr; min-height: 0; }
  .speaking-intro { padding: 36px 32px; }
  .speaking-visual { min-height: 320px; }
  .speaking-talks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .speaking-talk, .speaking-talk:nth-child(n + 4) { grid-column: auto; }
  .speaking-talk:last-child { grid-column: 1 / -1; }
  .speaking-venues { grid-template-columns: 1fr; gap: 20px; padding: 24px; }
  .speaking-venues-head { padding: 0 0 16px; border-right: 0; border-bottom: 3px solid #e8a33d; }
  .speaking-venues ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .speaking-venues li + li { border-left: 0; }
  .speaking-venues li:nth-child(even) { border-left: 1px solid #e7edf4; }
  .speaking-venues li:nth-child(n + 3) { border-top: 1px solid #e7edf4; }
}
@media(max-width: 600px) {
  .speaking-hero { border-top-right-radius: 44px; }
  .speaking-intro { padding: 28px; }
  .speaking-intro h3 { font-size: 38px; letter-spacing: -1.4px; }
  .speaking-visual { min-height: 260px; }
  .speaking-talks { grid-template-columns: 1fr; gap: 14px; }
  .speaking-talk:last-child { grid-column: auto; }
  .speaking-venues { margin-block: 8px 20px; padding: 22px 18px; }
  .speaking-venues ul { grid-template-columns: 1fr 1fr; }
  .speaking-cta { padding: 22px; }
  .speaking-cta-motif { display: none; }
  .speaking-cta a { width: 100%; gap: 20px; }
}
@media(prefers-reduced-motion: reduce) {
  .speaking-talk, .speaking-talk::after, .speaking-cta a > span { transition: none; }
  .speaking-talk:hover, .speaking-cta a:hover > span { transform: none; }
}

/* Photo-backed speaker headline, precise source copy and clear media placeholders. */
.professional-speaking.speaking-refresh { background: #fff; }
.speaking-refresh > .section-ambient { display: none; }
.speaking-hero { position: relative; display: block; min-height: 480px; border-radius: 12px; isolation: isolate; }
.speaking-intro { position: relative; z-index: 2; min-height: 480px; width: 65%; padding: clamp(28px, 4vw, 56px); }
.speaking-intro::before, .speaking-intro::after { display: none; }
.speaking-intro h3 { font-size: clamp(38px, 4.6vw, 62px); line-height: 1.1; }
.speaking-visual { position: absolute; inset: 0 0 0 35%; z-index: 0; }
.speaking-visual img { height: 100%; width: 100%; object-position: center 34%; }
.speaking-hero::after { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, #1f3a5f 15%, #1f3a5ff2 43%, #1f3a5f35 80%); pointer-events: none; }
.speaking-content { padding-top: 42px; }
.speaking-talk { border-top: 3px solid #1f3a5f; }
.speaking-talk:first-child { border-top-color: #e8a33d; }
.speaker-featured { margin-block: 34px; }
.speaker-logo-placeholder { display: flex; align-items: center; justify-content: center; min-height: 84px; padding: 24px; border: 1px dashed #bdc9d8; border-radius: 8px; color: #64758a; background: #f8fafc; font-size: 13px; text-align: center; }
.speaker-photo-placeholder { display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 14px; min-height: 180px; padding: 24px; margin-top: 16px; border: 1px dashed #bdc9d8; border-radius: 8px; background: linear-gradient(135deg, #f1f5fa, #faf7f0); color: #64758a; font-size: 13px; }
.speaker-photo-placeholder svg { width: 42px; height: 42px; color: #9a7230; }
@media(max-width: 1000px) { .speaking-intro { width: 72%; } }
@media(max-width: 600px) {
  .speaking-hero, .speaking-intro { min-height: 430px; }
  .speaking-intro { width: 100%; }
  .speaking-visual { inset: 0; }
  .speaking-hero::after { background: #152f50d9; }
  .speaking-intro h3 { font-size: clamp(34px, 9vw, 46px); }
  .speaking-intro p { font-size: 14px; }
}

/* Brief layout: dark photo backdrop, logo row and a three-image lightbox gallery. */
.speaking-visual { inset: 0; }
.speaking-visual img { object-position: center; }
.speaking-hero::after { background: linear-gradient(90deg, #102947ed, #102947b8 60%, #10294770); }
.speaker-media-label { font-size: 12px; color: #68788c; margin: 22px 0 12px; }
.speaker-logo-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px dashed #c7d1df; border-radius: 7px; background: #f8fafc; }
.speaker-logo-slot { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 90px; padding: 15px; color: #69788a; font-size: 13px; }
.speaker-logo-slot + .speaker-logo-slot { border-left: 1px solid #e1e7ef; }
.speaker-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.speaker-gallery-item { position: relative; display: block; overflow: hidden; border-radius: 7px; background: #1f3a5f; }
.speaker-gallery-item img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .35s; }
.speaker-gallery-item > span { position: absolute; bottom: 12px; right: 12px; display: grid; place-items: center; width: 34px; height: 34px; background: #e8a33d; color: #1f3a5f; border-radius: 50%; }
.speaker-gallery-item:hover img { transform: scale(1.04); }
.speaker-gallery-item:focus-visible { outline: 3px solid #805014; outline-offset: 4px; }
.speaker-lightbox { width: min(1100px, calc(100vw - 32px)); max-height: 90dvh; padding: 48px 16px 16px; border: 0; border-radius: 8px; background: #102947; }
.speaker-lightbox::backdrop { background: #081524df; }
.speaker-lightbox img { display: block; max-width: 100%; max-height: 76dvh; width: auto; height: auto; margin: auto; object-fit: contain; }
.speaker-lightbox-close { position: absolute; top: 6px; right: 12px; width: 36px; height: 36px; color: #fff; background: transparent; border: 0; font-size: 30px; }
@media(max-width: 767px) {
  .speaking-talks { grid-template-columns: 1fr; }
  .speaking-talk, .speaking-talk:nth-child(n) { grid-column: auto; }
  .speaker-gallery { grid-template-columns: 1fr; gap: 14px; }
  .speaker-logo-slot { flex-direction: column; gap: 8px; padding: 12px 5px; font-size: 11px; }
  .speaking-hero::after { background: #102947d9; }
}
@media(prefers-reduced-motion: reduce) { .speaker-gallery-item img { transition: none; } .speaker-gallery-item:hover img { transform: none; } }

/* Rahul's original portraits: preserve faces and use portrait gallery crops. */
.speaking-visual { inset: 0 0 0 45%; }
.speaking-visual img { object-position: center 32%; }
.speaking-hero::after { background: linear-gradient(90deg, #1f3a5f 25%, #1f3a5ff2 44%, #1f3a5f22 80%); }
.speaker-gallery { margin-top: 24px; }
.speaker-gallery-item img { aspect-ratio: 3 / 4; object-position: center 25%; }
@media(max-width: 600px) {
  .speaking-visual { inset: 0; }
  .speaking-hero::after { background: #102947c9; }
}

/* Updated hero: grey-suit portrait on the right. */
.speaking-visual { inset: 0 0 0 46%; }
.speaking-visual img { object-position: center 22%; }
.speaking-hero::after { background: linear-gradient(90deg, #1f3a5f 46%, #1f3a5fcc 50%, #1f3a5f00 60%); }
@media(max-width: 600px) {
  .speaking-visual { inset: 0; }
  .speaking-hero::after { background: #102947c9; }
}

/* Talks bookshelf: one book per talk, standing on a shelf. */
.speaking-bookshelf { padding: 30px 26px 0; border-radius: 12px 12px 0 0; background: linear-gradient(#f3f6fa, #e9eef5); }
.speaking-books { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: end; gap: 14px; list-style: none; margin: 0; padding: 0 14px 22px; }
.speaking-books::after { content: ''; position: absolute; left: -26px; right: -26px; bottom: 0; height: 22px; border-radius: 3px; background: linear-gradient(#b8894c, #94683a 55%, #7a5530); box-shadow: 0 10px 18px #5b3d1c40, inset 0 2px 0 #d9ab6c; }
.speaking-book { --cover: #1f3a5f; --ink: #fff; --muted: #d4dfed; --band: #e8a33d; position: relative; z-index: 1; display: flex; flex-direction: column; min-height: 300px; padding: 26px 18px 22px 30px; border-radius: 4px 10px 10px 4px; background: var(--cover); color: var(--ink); box-shadow: inset 12px 0 0 #00000024, inset 14px 0 0 #ffffff1c, inset -3px 0 0 #ffffff26, 6px 6px 14px #1f3a5f2e; transform-origin: bottom center; transition: transform .45s cubic-bezier(.22,1,.36,1), box-shadow .45s; }
.speaking-book::before, .speaking-book::after { content: ''; position: absolute; left: 30px; right: 18px; height: 2px; background: var(--band); opacity: .75; }
.speaking-book::before { top: 12px; }
.speaking-book::after { bottom: 12px; }
.speaking-book:nth-child(2) { --cover: #e8a33d; --ink: #1f3a5f; --muted: #4b3a1c; --band: #1f3a5f; min-height: 280px; }
.speaking-book:nth-child(3) { --cover: #294d73; min-height: 318px; }
.speaking-book:nth-child(4) { --cover: #f4ead8; --ink: #1f3a5f; --muted: #5d6b7c; --band: #e8a33d; min-height: 290px; }
.speaking-book:nth-child(5) { --cover: #16304f; min-height: 308px; }
.speaking-book-icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 22px; border: 1px solid currentColor; border-radius: 50%; color: var(--band); }
.speaking-book-icon .professional-icon { width: 22px; height: 22px; }
.speaking-book h4 { margin: 0 0 12px; font: 700 clamp(17px, 1.5vw, 20px)/1.25 Arial, Helvetica, sans-serif; letter-spacing: -.3px; color: var(--ink); overflow-wrap: anywhere; }
.speaking-book p { margin: 0; font-size: 13px; line-height: 1.6; color: var(--muted); }
.speaking-book-author { margin-top: auto; padding-top: 18px; font-size: 9px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; color: var(--band); }
@media(hover: hover) and (pointer: fine) {
  .speaking-book:hover { transform: translateY(-12px) rotate(-1.5deg); box-shadow: inset 12px 0 0 #00000024, inset 14px 0 0 #ffffff1c, inset -3px 0 0 #ffffff26, 10px 18px 26px #1f3a5f40; }
}
/* Tablet and mobile: books wrap into rows (3, then 2 per row), each row standing on its own shelf. */
@media(max-width: 1000px) {
  .speaking-bookshelf { --book-h: 270px; --plank: 18px; --row-gap: 30px; padding: 24px 16px 0; }
  .speaking-books { --cols: 3; display: flex; flex-wrap: wrap; justify-content: center; gap: calc(var(--plank) + var(--row-gap)) 12px; padding: 0 0 var(--plank);
    background: linear-gradient(transparent var(--book-h), #a87a42 var(--book-h), #8a6136 calc(var(--book-h) + var(--plank)), transparent calc(var(--book-h) + var(--plank))) 0 0 / 100% calc(var(--book-h) + var(--plank) + var(--row-gap)) repeat-y; }
  .speaking-books::after { display: none; }
  .speaking-book, .speaking-book:nth-child(n) { flex: 0 0 calc((100% - (var(--cols) - 1) * 12px) / var(--cols)); height: var(--book-h); min-height: 0; }
}
/* Mobile: a single auto-advancing shelf, about 1.5 books visible, swipeable. */
@media(max-width: 767px) {
  .speaking-bookshelf { padding: 20px 0 0; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .speaking-bookshelf::-webkit-scrollbar { display: none; }
  .speaking-books { display: flex; flex-wrap: nowrap; justify-content: flex-start; width: max-content; gap: 12px; padding: 0 16px var(--plank); background: none; }
  .speaking-books::after { display: block; left: 0; right: 0; height: var(--plank); }
  .speaking-book, .speaking-book:nth-child(n) { flex: 0 0 min(62vw, 230px); height: 270px; scroll-snap-align: start; scroll-margin-left: 16px; }
}
@media(max-width: 600px) {
  .speaking-book, .speaking-book:nth-child(n) { padding: 20px 12px 18px 24px; }
  .speaking-book::before, .speaking-book::after { left: 24px; right: 12px; }
  .speaking-book-icon { width: 38px; height: 38px; margin-bottom: 16px; }
  .speaking-book-icon .professional-icon { width: 19px; height: 19px; }
  .speaking-book h4 { font-size: 16px; }
  .speaking-book p { font-size: 12px; line-height: 1.5; }
  .speaking-book-author { font-size: 8px; letter-spacing: 1.2px; }
}

/* Featured At: Instagram reel cards that open the reel in a new tab. */
.speaker-reels { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 24px; }
.speaker-reel { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 5; border-radius: 10px; background: #1f3a5f; box-shadow: 0 10px 24px #1f3a5f14; }
.speaker-reel::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, #10294700 45%, #102947d9); pointer-events: none; }
.speaker-reel img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 25%; transition: transform .6s cubic-bezier(.22,1,.36,1); }
.speaker-reel-play { position: absolute; z-index: 1; top: 50%; left: 50%; display: grid; place-items: center; width: 62px; height: 62px; margin: -31px 0 0 -31px; border-radius: 50%; background: #e8a33d; color: #1f3a5f; box-shadow: 0 0 0 8px #e8a33d40; transition: transform .3s, box-shadow .3s; }
.speaker-reel-play .professional-icon { width: 24px; height: 24px; margin-left: 3px; fill: currentColor; }
.speaker-reel-caption { position: absolute; z-index: 1; left: 18px; right: 18px; bottom: 16px; display: flex; justify-content: space-between; align-items: center; color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .3px; }
.speaker-reel-caption > span:last-child { flex-shrink: 0; color: #e8a33d; font-size: 20px; }
.speaker-reel-title { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.speaker-reel-caption { gap: 10px; }
.speaker-reel:focus-visible { outline: 3px solid #805014; outline-offset: 4px; }
@media(hover: hover) and (pointer: fine) {
  .speaker-reel:hover img { transform: scale(1.05); }
  .speaker-reel:hover .speaker-reel-play { transform: scale(1.08); box-shadow: 0 0 0 12px #e8a33d33; }
}
@media(max-width: 1000px) { .speaker-reels { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media(max-width: 600px) {
  .speaker-reels { gap: 12px; }
  .speaker-reel-play { width: 50px; height: 50px; margin: -25px 0 0 -25px; }
  .speaker-reel-caption { left: 12px; right: 12px; bottom: 12px; font-size: 11px; }
}
@media(prefers-reduced-motion: reduce) {
  .speaking-book, .speaker-reel img, .speaker-reel-play { transition: none; }
  .speaking-book:hover, .speaker-reel:hover img, .speaker-reel:hover .speaker-reel-play { transform: none; }
}

/* Section heading, matching the About heading. */
.speaking-heading { margin-bottom: 32px; }
.speaking-heading h2 { margin: 0; color: #1f3a5f; font: 700 clamp(32px, 4vw, 52px)/1.15 Arial, Helvetica, sans-serif; letter-spacing: -1.8px; }
@media(max-width: 767px) { .speaking-heading { margin-bottom: 24px; } .speaking-heading h2 { letter-spacing: -1px; } }
