/* THEATRE 2026 STYLES */

.theatre-2026{
    position: absolute;
    height: 0;
    width: 0;
    top: 0;
    left: 0;
    z-index: -2;
    overflow: hidden;
    background-color: #000;
    opacity: 0;
    transition: opacity .3s ease;
}
.theatre-2026.--playing{
    height: auto;
    width: 100%;
    z-index: 1000;
    opacity: 1;
    overflow: visible;
}
.theatre-2026.--playing.--slim .related{
    display: none;
}
@media (min-width: 992px){
    .theatre-2026.--playing{
        top: 72px;
        display: flex;
        align-items: flex-start;
        position: fixed;
    }
    .admin-bar .theatre-2026.--playing{
        top: 112px;
    }
    .theatre-2026.--playing.--slim{
        top: 0;
        z-index: 100000;
        padding: 30px 0 50px;
        height: 100vh;
    }
}
.theatre-2026 .player-wrapper--theatre{
    margin: 0 auto;
    background-color: #000;
    color: #fff;
    pointer-events: all;
    display: flex;
    flex-direction: column;
    padding: 60px 20px 0;
    max-width: 1440px;
    overflow-y: scroll;
    max-height: calc(100vh - 72px);
}
.admin-bar .theatre-2026 .player-wrapper--theatre{
    max-height: calc(100vh - 112px);
}
/* Pages with the secondary header (post event hub, single session): the header is sticky.
   The theatre starts right below it, --theatre-top is the header
   bottom, set in JS when the theatre opens (positionTheatreBelowHeader) */
.secondary-header .theatre-2026.--playing:not(.--slim){
    top: var(--theatre-top, 72px);
}
.secondary-header .theatre-2026 .player-wrapper--theatre{
    max-height: calc(100vh - var(--theatre-top, 72px));
    overscroll-behavior: contain; /* reaching the end doesn't scroll the page (and the header) away */
}
.theatre-2026 .player-wrapper--theatre::-webkit-scrollbar {
    display: none;
}
.theatre-2026 .player-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
@media (min-width: 992px){
    .theatre-2026 .player-header {
        align-items: flex-start;
        width: 100%;
    }
}
.theatre-2026 .player-back-button{
    margin: 0 0 25px;
}
.theatre-2026 .player-back-button a{
    color: #fff;
    font-weight: 400;
    font-size: 14px;
    line-height: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
}
.theatre-2026 .player-back-button a:hover{
    color: #fff;
    text-decoration: none;
}
.theatre-2026 .player-title {
    font-weight: 300;
    font-size: 32px;
    line-height: 36px;
    letter-spacing: -1%;
    vertical-align: middle;
    margin-bottom: 15px;
    max-width: 900px;
}
.theatre-2026 .player-widget {
    display: flex;
    gap: 30px;
    margin-bottom: 20px;
}
@media (min-width: 992px){
    .theatre-2026 .player-widget{
        margin-bottom: 0;
    }
}
/* The card holds the video box and the buttons under it. The video box keeps the
   size and rounded corners the card used to have */
.theatre-2026 .player-card{
    height: auto;
    margin: auto;
    min-width: unset;
    flex: 1;
    max-width: 989px;
}
.theatre-2026 .video-wrapper {
    position: relative;
    height: 100%;
    border-radius: 24px;
    overflow: hidden;
}
.theatre-2026 .player-card .video-wrapper {
    height: auto;
    aspect-ratio: 647 / 364;
}
.theatre-2026 #player-theatre-mode {
  width: 100%;
  height: calc(100% - 0px);
}
.theatre-2026 .player-info {
    max-width: 380px;
}
.theatre-2026 .fadeout-mask {
  position: relative;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 95%, rgba(0,0,0,0) 100%);
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 95%, rgba(0,0,0,0) 100%);
  mask-repeat: no-repeat;
  mask-size: 100% 100%;
}
.theatre-2026 .player-info::-webkit-scrollbar {
  width: 10px;
}
.theatre-2026 .player-info::-webkit-scrollbar-track {
  background: #333;
  border-radius: 10px;
}
.theatre-2026 .player-info::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 10px;
}
.theatre-2026 .ms-card-speakers.speakers-block {
    max-height: unset;
    overflow: visible;
}
.theatre-2026 .ms-card-speaker-name {
    font-size: 18px;
}
.theatre-2026 .ms-card-speaker-position {
    font-size: 14px;
}
.theatre-2026 .player-info-heading {
    margin-bottom: 50px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.theatre-2026 .pih-tags {
    display: flex;
    gap: 8px;
}

.theatre-2026 .pih-tags > div {
    font-weight: 300;
    font-size: 14px;
    line-height: 145%;
    letter-spacing: 0%;
    text-align: right;
    padding: 2px 12px;
    border-radius: 30px;
    width: fit-content;
    display: flex;
    align-items: center;
    height: 24px;
}
.theatre-2026 .ms-card-session-type.session-types-block{
    border-radius: 16px;
    padding: 0 12px;
}
@media (max-width: 992px){
    .theatre-2026 .ms-card-session-type.session-types-block{
        margin-bottom: -20px;
    }
}
.theatre-2026 .pih-tag {
    font-weight: 300;
    font-size: 14px;
    line-height: 145%;
    letter-spacing: 0%;
    text-align: right;
    padding: 2px 12px;
    border-radius: 30px;
    width: fit-content;
    display: flex;
    align-items: center;
}
.theatre-2026 .player-info-speakers {
  margin-bottom: 30px;
}

.theatre-2026 .pis-title {
    font-weight: 300;
    font-size: 24px;
    line-height: 145%;
    letter-spacing: -1%;
    margin-bottom: 10px;
}

.theatre-2026 .pis-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin: 6px 0 16px;
}
.theatre-2026 .pis-item:last-child {
  margin-bottom: 6px;
}

.theatre-2026 .ris-item {
    display: flex;
    align-items: center;
    gap: 12px;
}
.theatre-2026 .ris-item-image{
    width: 40px;
    height: 40px;
    display: block;
}
.theatre-2026 .ris-item-image img{
    width: 100%;
    border-radius: 8px;
    height: 100%;
    object-fit: cover;
    min-width: 40px;
}
.theatre-2026 .ris-item-text {
    margin: 6px 0;
    flex-direction: column;
    align-items: flex-start;
    display: flex;
    gap: 0px;
    align-items: flex-start;
    align-items: flex-start;
    white-space: nowrap;
    overflow: hidden;
    font-weight: 300;
    font-size: 18px;
    line-height: 20px;
}
.theatre-2026 .player-info .pis-items .ris-item  .ris-separator {
    display: none;
}
/* .theatre-2026 .ris-separator {
    display: none;
} */
.theatre-2026 .ris-item-name {
  display: inline;
  font-weight: 300;
  font-size: 18px;
  line-height: 20px;
}
.theatre-2026 .ris-item-position{
  display: inline;
  max-width: 300px;
  font-weight: 300;
  font-size: 18px;
  line-height: 20px;
}
@media (max-width: 992px){
    .theatre-2026 .ris-item-text {
        font-size: 14px;
    }
    .theatre-2026 .pis-item {
      margin-bottom: 6px;
    }
}
.theatre-2026 .related-types {
    display: flex;
    gap: 12px;
}

.theatre-2026 .pis-items {
    margin: 0;
}

.theatre-2026 .pis-item-image {
    min-width: 40px;
    height: 40px;
}

.theatre-2026 .pis-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.theatre-2026 .pis-item-text {
    margin: 0 0 8px 0;
    overflow: hidden;
    font-size: 18px;
    font-weight: 300;
    line-height: 20px;
    letter-spacing: -1%;
}

.theatre-2026 .pis-item-name,
.theatre-2026 .pis-item-position {
    display: inline;
}

@media (max-width: 992px){
    .theatre-2026 .pis-item-text {
        font-size: 14px;
    }
}

.theatre-2026 .ms-card-speaker-image {
    width: 40px;
    max-width: 40px;
    min-width: 40px;
    height: 40px;
    display: block !important;
}

.theatre-2026 .ms-card-speaker-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 3px;
}

.theatre-2026 .player-info-description {
    padding-bottom: 20px;
}
.theatre-2026 .pid-body {
    font-weight: 200;
    font-size: 18px;
    line-height: 145%;
    letter-spacing: -1%;
}
.theatre-2026 .player-footer-buttons {
    display: flex;
    gap: 12px;
    margin-top: 25px;
}
.theatre-2026 .vod-btn {
    font-weight: 600;
    font-size: 14px;
    line-height: 100%;
    text-align: center;
    vertical-align: middle;
    color: #fff;
    background: transparent;
    border: 1px solid #fff;
    height: 46px;
    border-radius: 50px;
    padding: 0 37px;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    z-index: 1;
}
.theatre-2026 .vod-btn.next span {
    display: flex;
    align-items: center;
    gap: 2px;
}
.theatre-2026 .vod-btn-container.share{
    display: flex;
    align-items: center;
    position: relative;
}
.theatre-2026 .share-btn-dropdown{
    display: flex;
    align-items: center;
    gap: 10px;
    background: #333;
    height: 46px;
    border-radius: 50px;
    margin-left: 80px;
    border: 1px solid;
    z-index: 0;
    overflow: hidden;
    transition: all 0.8s ease;
    position: absolute;
    width: 0;
    padding: 0;
    pointer-events: none;
}
.theatre-2026 .share-btn-dropdown.open{
    padding: 0 20px 0 50px; 
    width: 272px;
    pointer-events: all;
}
.theatre-2026 .share-btn-dropdown > a{
    cursor: pointer;
    width: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 32px;
    border-radius: 100%;
    background: transparent;
    transition: all 0.3s ease;
}
.theatre-2026 .share-btn-dropdown > a:hover{
    background: var(--blue);
}
.theatre-2026 .vod-btn-container.share{
    transition: margin-right 0.8s ease;
}
/* The dropdown is absolutely positioned: reserve its width so the buttons after Share move along with it */
.theatre-2026 .vod-btn-container.share:has(.share-btn-dropdown.open){
    margin-right: 235px;
}

@media (min-width: 992px){
    .theatre-2026 .vod-btn:hover{
        text-decoration: none;
        color: #fff;
    }
}

.theatre-2026 .vod-btn.btn-blue {
    border: 1px solid var(--blue);
    background-color: var(--blue);
}

@media (max-width: 992px){

    .theatre-2026.--playing {
        top: 70px;
        position: fixed;
    }
    .admin-bar .theatre-2026.--playing {
        top: 116px;
    }

    .theatre-2026 .player-wrapper--theatre {
        padding: 52px 0px;
    }

    .theatre-2026.--playing.--slim{
        top: 0;
        height: 100vh;
    }
    .admin-bar .theatre-2026.--playing.--slim{
        top: 0;
        z-index: 100000;
        padding: 30px 0 50px;
        height: 100vh;
    }

    .theatre-2026 .player-info-heading,
    .theatre-2026 .player-title,
    .theatre-2026 .player-back-button {
        padding: 0 20px;
    }

    .theatre-2026 .player-info-heading {
        margin-bottom: 20px;
    }

    .theatre-2026 .player-title {
        margin-bottom: 30px;
    }
    .theatre-2026 .player-widget {
        flex-direction: column;
        max-height: unset;
        padding: 0 20px;
    }
    .theatre-2026 .player-container.video-wrapper,
    .theatre-2026 .player-card .video-wrapper{
        height: calc((100vw - 40px) / 100 * 57);
        aspect-ratio: auto;
    }
    .theatre-2026 .player-card{
        min-width: unset;
        width: 100%;
        height: auto;
        margin: auto;
    }
    .theatre-2026 .player-info {
        max-height: unset;
        mask: unset;
        max-width: unset;
    }
    .theatre-2026 .player-info-speakers {
        margin: 20px 0 0;
    }
    .theatre-2026 .player-footer-buttons {
        justify-content: center;
        gap: 20px;
        margin: 0 0 80px;
    }
    .theatre-2026 .vod-btn {
        width: 60px;
        height: 60px;
        border-radius: 100%;
        padding: 0;
        background: #333;
        border: 1px solid #333;
    }
    .theatre-2026 .vod-btn.talk::before{
        content: 'Request a demo';
        position: absolute;
        top: 70px;
        left: 50%;
        transform: translateX(-50%);
        width: 60px;
        font-weight: 300;
        line-height: 100%;
        font-size: 14px;
    }
    .theatre-2026 .vod-btn.download::before{
        content: 'Download PDF';
        position: absolute;
        top: 70px;
        left: 50%;
        transform: translateX(-50%);
        width: 60px;
        font-weight: 300;
        line-height: 100%;
        font-size: 14px;
    }
    .theatre-2026 .vod-btn.video-cta::before{
        content: attr(data-label);
    }
    .theatre-2026 .vod-btn.save::before{
        content: 'Watch later';
        position: absolute;
        top: 70px;
        left: 50%;
        transform: translateX(-50%);
        width: 40px;
        font-weight: 300;
        line-height: 100%;
        font-size: 14px;
    }
    .theatre-2026 .vod-btn.share::before{
        content: 'Share';
        position: absolute;
        top: 70px;
        left: 50%;
        transform: translateX(-50%);
        width: 40px;
        font-weight: 300;
        line-height: 100%;
        font-size: 14px;
    }
    .theatre-2026 .vod-btn.next::before{
        content: 'Next video'; 
        position: absolute;
        top: 70px;
        left: 50%;
        transform: translateX(-50%);
        width: 40px;
        font-weight: 300;
        line-height: 100%;
        font-size: 14px;
    }
    .theatre-2026 .share-btn-dropdown{
        display: none;
    }
}

@media (min-height: 1000px){
    .theatre-2026 .player-widget {
        aspect-ratio: unset;
}
}

/* DESKTOP / MOBILE SWITCH (from elevate-25.css, scoped) */
.theatre-2026 .--d{
    display: block;
}
.theatre-2026 .--m{
    display: none !important;
}
@media (max-width: 992px){
    .theatre-2026 .--d{
        display: none !important;
    }
    .theatre-2026 .--m{
        display: block !important;
    }
}

/* COPY TOAST  */
#copy-toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: #222;
  color: #fff;
  font-size: 0.95rem;
  padding: 0.8em 1.4em;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
  z-index: 9999;
}

#copy-toast.show {
  opacity: 1 !important;
  transform: translateY(0);
}

/* RELATED CONTENT */
.theatre-2026 .related {
    padding: 100px 0px;
    max-width: 1440px;
    margin: 0 auto;
}

.theatre-2026 .related-title {
    font-weight: 300;
    font-size: 32px;
    line-height: 36px;
    letter-spacing: -1%;
    vertical-align: middle;
}

.theatre-2026 .related-items {
    margin: 40px -15px;
    display: flex;
}

.theatre-2026 .related-item {
    width: 440px;
    margin: 0 18px;
    position: relative;
}

/* Cards reuse the hub's .odl-result-* / .ris-* markup (e26-post-event-hub.css);
   these undo the generic .theatre-2026 .ris-* rules used by the player speakers */
.theatre-2026 .related .ris-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 10px 6px 0;
}
.theatre-2026 .related .ris-item-image {
    display: none;
}
.theatre-2026 .related .ris-item-text {
    display: block;
    margin: 0;
}
.theatre-2026 .related .ris-item-name {
    font-weight: 600;
    font-size: 14px;
    line-height: 20px;
    width: auto;
}
.theatre-2026 .related .ris-item-position {
  font-weight: 200;
  font-size: 14px;
  line-height: 20px;
  flex: 0 0 auto;
  display: flex;
}

@media (max-width: 992px){
    .theatre-2026 .related {
        padding: 0 0 40px;
    }

    .theatre-2026 .related-title {
        padding-left: 20px;
        font-size: 24px;
    }

    .theatre-2026 .related-items {
        margin: 25px 0 0;
        overflow: auto;
        scroll-snap-type: x mandatory;
        padding-left: 20px;
        scroll-padding-left: 20px;
    }
    .theatre-2026 .related-items::-webkit-scrollbar {
        display: none;
    }

    .theatre-2026 .related-item {
        min-width: 82vw;
        height: unset;
        margin: 0px 10px;
        scroll-snap-align: start;
    }
}