/* --------------------------------------------------------
AudioTyped Style Sheet for podcast interview transcripts 

version: 1.5.0
last modified: 19.12.2025 by 
author: Helmut Naber
website: https://audiotyped.com
----------------------------------------------------------*/
:root {
  --tscrpttbcolor: #ffffff;    /* Transcript Background Color */    
  --tscrpthbcolor: #f6f6f6;    /* Host Bubble Background */
  --tscrpthfcolor: #000000;    /* Host Font Color */
  --tscrptgbcolor: #f6f6f6;    /* Guest 1 Bubble Background */
  --tscrptgfcolor: #000000;    /* Guest 1 Font Color */
  --tscrptg2bcolor: #e6f0ff;   /* Guest 2 Bubble Background */
  --tscrptg2fcolor: #000000;   /* Guest 2 Font Color */
  --tscrptaradius: 50%;
  --tscrptbcorner: 8px;
  --tscrptmfsize: 12px;
  --tscrptdfsize: 18px;
  --tscrptsradius: 25px;
  --tscrptdcradius: 100px;
  --tscrptdgapp: 10px;
  --tscrptdgapn: -10px;
  --tscrptdcsize: 45px;
  --tscrptmasize: 50px;
  --tscrptmatsize: -50px;
  --tscrptmdsize: 50px;
  --tscrptmbpvsize: 4px;
  --tscrptmbphsize: 12px;
  --tscrptdbpvsize: 10px;
  --tscrptdbphsize: 16px;
  --tscrptmgapp: 5px;
  --tscrptmgapn: -5px;
}
.transcript {
  margin: 20px auto;
  padding: 10px;
  background-color: var(--tscrpttbcolor) !important;
  border-radius: 6px;
  display: table;
  float: none;
}
.transcriptInterview {
  list-style: none;
  margin: 12px 0 0 0;
  padding: 0px;
}
.transcriptInterview p {
  font-size: var(--tscrptdfsize) !important;
}
.transcript ol {
  margin-left: 0px !important;
  padding-left: 0px !important;
}
.transcriptInterview li {
  padding: 0.5rem;
  display: flex;
  clear: both;
}
.transcriptInner ul {
  list-style: disc !important;
  font-size: 18px !important;
  margin-bottom: 0px !important;
}	

.transcriptInner ul > li {
	font-size: var(--tscrptdfsize) !important;
	display: list-item !important;
}

.transcriptInner ol {
	list-style: decimal !important;
	font-size: var(--tscrptdfsize) !important;
	margin-left: 20px !important;
	margin-bottom: 0px !important;
}	
.transcriptInner ol > li {
	font-size: var(--tscrptdfsize) !important;
	list-style-type: decimal !important;
	display: list-item !important;
}
.transcriptBetween {
	margin: var(--tscrptdfsize);
	font-size: 1em !important;
}
.transcriptBetween p {
	font-size: var(--tscrptdfsize) !important;
	margin: 0 0 10px !important;
}
.transcriptInterview .transcriptAvatar {
  position: relative;
	padding-top: 12px;
	padding-left: 6px;
	padding-right: 6px;
  height: var(--tscrptdcsize);
	min-width: var(--tscrptdcsize);
  border-radius: var(--tscrptaradius);
  box-shadow: 4px 4px var(--tscrptsradius) -6px rgba(0,0,0,0.25);
  background-size: cover;
  background-position: top center;
	top: 0px;
}
.transcriptInterview .transcriptAvatar img {
  display: block;
  border-radius: var(--tscrptaradius);
  max-width: 45px;
}
.transcriptHost{
	border-left: 0px solid #777777;  
  float: left;
}

.transcriptHost .transcriptSpeaking {
  order: 1;
  border-bottom-right-radius: var(--tscrptbcorner);
	background-color: var(--tscrpthbcolor) !important; 
  box-shadow: 4px 4px var(--tscrptsradius) -6px rgba(0,0,0,0.25);
  color: var(--tscrpthfcolor);
  margin-left: var(--tscrptdgapp);
  z-index: 1;
}
.transcriptHost .transcriptAvatar:after {
  content: "";
  position: absolute;
  right: 0;
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
	border-top: 6px solid var(--tscrpthbcolor);
	border-bottom: 6px solid transparent;
	border-right: 6px solid var(--tscrpthbcolor);	
  margin-top: 0px;		
  margin-right: var(--tscrptdgapn);
  z-index: 2;
}
.transcriptGuest {
  justify-content: flex-start;
  align-items: flex-start;
	border-left: 0px dotted  #777777;
  float: right;
}
.transcriptGuest .transcriptSpeaking {
  order: 1;
  border-bottom-right-radius: var(--tscrptbcorner);
	background-color: var(--tscrptgbcolor) !important; 
  box-shadow: -4px 4px var(--tscrptsradius) -6px rgba(0,0,0,0.25);
  color: var(--tscrptgfcolor);
  margin-right: var(--tscrptdgapp);
  z-index: 1;
}
.transcriptGuest .transcriptAvatar {
  order: 2;
}
.transcriptGuest .transcriptAvatar:after{
  content: "";
  position: absolute;
  left: 0;
  width: 0;
  height: 0;
  border-top: 6px solid var(--tscrptgbcolor);
  border-bottom: 6px solid transparent;
  border-left: 6px solid var(--tscrptgbcolor);
  border-right: 6px solid transparent;
  margin-top: 0px;
  margin-left: var(--tscrptdgapn);
  z-index: 2;
}
.transcriptSpeaking {
  background: #f6f6f6;
  padding: 10px;
  margin-bottom: 16px;
  border-radius: var(--tscrptbcorner);
  box-shadow: 2px 2px 2px 0px rgba(0,0,0,.10);
	min-width: 180px;
  padding: var(--tscrptdbpvsize) var(--tscrptdbphsize);
}
.transcriptSpeaking p {
  font-size: var(--tscrptdfsize) !important;
  margin: 12px 0 12px 0;
}
.transcriptSpeaking p:first-of-type {
  margin-top: 0px !important;
}
.transcriptHost .transcriptSpeaking strong {
    font-size: var(--tscrptdfsize) !important;
}
.transcriptGuest .transcriptSpeaking strong {
    font-size: var(--tscrptdfsize) !important;
}      
.transcriptHost code {
  background: none;
  color: var(--tscrpthfcolor);
  font-size: 0.825em;
  opacity: 0.5;
}
.transcriptGuest code {
  background: none;
  color: var(--tscrptgfcolor);
  font-size: 0.825em;
  opacity: 0.5;
}

@media (max-width: 400px)
	{ 
.transcript {
  margin: 20px auto;
  padding-top: 30px;
  word-break: break-all;
  word-break: break-word;
  hyphens: auto;
}
.transcriptInterview {
  list-style: none;
  margin: 0px 0 0 0 !important;
  padding: 0 0 50px 0;
}
.transcript ol {
  margin-left: 0px !important;
  padding-left: 0px !important;
}
.transcriptInterview li {
  padding: var(--tscrptmdsize) 0px var(--tscrptmdsize) 0px;
  display: flex;
}
.transcriptInterview .transcriptHost .transcriptAvatar {
  max-width: 80px;
  min-width: var(--tscrptmasize);
  position: relative;
  padding-top: 0px;
  padding-left: 0px;
  padding-right: 0px;
  height: var(--tscrptmasize);
  width: var(--tscrptmasize);
  border-radius: var(--tscrptaradius);
  box-shadow: 4px 4px var(--tscrptsradius) -6px rgba(0,0,0,0.25);
  background-size: cover;
  background-position: top center;
  top: var(--tscrptmatsize);
  left: 0;
}
.transcriptInterview .transcriptAvatar img {
  display: block;
  border-radius: var(--tscrptaradius);
  max-width: 28px;
}  
.transcriptHost{
	border-left: 0px solid #777777;
}
.transcriptHost .transcriptSpeaking {
  order: 1;
  border-radius: var(--tscrptbcorner);
  color: var(--tscrpthfcolor);
  margin-left: var(--tscrptmatsize);
  z-index: 1;
}
.transcriptHost .transcriptAvatar::after {
    content: "";
    position: absolute;
    bottom: 0px;
    border-style: solid;
    border-width: 0 5px 10px 5px;
    border-color: transparent transparent var(--tscrpthbcolor) transparent;
    border-top: 6px solid transparent;
    border-bottom: 6px solid var(--tscrpthbcolor);
    border-left: 6px solid var(--tscrpthbcolor);
    border-right: 6px solid transparent;
    margin-right: 0px;
    margin-bottom: var(--tscrptmgapn);
    z-index: 2;
}     
.transcriptGuest {
  justify-content: flex-start;
  align-items: flex-start;
	border-left: 0px dotted  #777777;
}
.transcriptGuest .transcriptSpeaking {
  order: 1;
  border-radius: var(--tscrptbcorner);
  color: var(--tscrptgfcolor);
  margin-right: var(--tscrptmatsize);
  z-index: 1;
}
.transcriptInterview .transcriptGuest .transcriptAvatar {
  order: 2;
  max-width: 80px;
  min-width: var(--tscrptmasize);
  position: relative;
  padding-top: 0px;
  padding-left: 0px;
  padding-right: 0px;
  height: var(--tscrptmasize);
  width: var(--tscrptmasize);
  border-radius: var(--tscrptaradius);
  box-shadow: 4px 4px var(--tscrptsradius) -6px rgba(0,0,0,0.25);
  background-size: cover;
  background-position: top center;
  top: var(--tscrptmatsize);
  right: 0;
}
.transcriptGuest .transcriptAvatar::after{
    content: "";
    position: absolute;
    bottom: 0px;
    border-style: solid;
    border-width: 0 5px 10px 5px;
    border-color: transparent transparent var(--tscrptgbcolor) transparent;
    border-top: 6px solid transparent;
    border-bottom: 6px solid var(--tscrptgbcolor);
    border-left: 6px solid transparent;
    border-right: 6px solid var(--tscrptgbcolor);
    margin-left: 0px;
    margin-bottom: var(--tscrptmgapn);
    z-index: 2;
}
/* ============================================
   Guest 2 (Mobile)
   ============================================ */
   .transcriptGuest.transcriptGuest2 {
    justify-content: flex-start;
    align-items: flex-start;
    border-left: 0px dotted #777777; /* optional identical to Guest */
  }
  
  /* Guest-2 speech bubble (mobile) */
  .transcriptGuest.transcriptGuest2 .transcriptSpeaking {
    order: 1;
    border-radius: var(--tscrptbcorner);
    color: var(--tscrptg2fcolor);
    background-color: var(--tscrptg2bcolor) !important;
    margin-right: var(--tscrptmatsize); /* same geometry as Guest */
    z-index: 1;
  }
  
  /* Guest-2 avatar container (mobile) */
  .transcriptInterview .transcriptGuest.transcriptGuest2 .transcriptAvatar {
    order: 2;
    max-width: 80px;
    min-width: var(--tscrptmasize);
    position: relative;
    padding-top: 0px;
    padding-left: 0px;
    padding-right: 0px;
    height: var(--tscrptmasize);
    width: var(--tscrptmasize);
    border-radius: var(--tscrptaradius);
    box-shadow: 4px 4px var(--tscrptsradius) -6px rgba(0,0,0,0.25);
    background-size: cover;
    background-position: top center;
    top: var(--tscrptmatsize); /* like Guest-1 mobile */
    right: 0;
  }
  
  /* Guest-2 avatar arrow (mobile) */
  .transcriptGuest.transcriptGuest2 .transcriptAvatar:after {
      content: "";
      position: absolute;
      bottom: 0px;
  
      border-style: solid;
      border-width: 0 5px 10px 5px;
  
      /* Guest-2 color variables! */
      border-color: transparent transparent var(--tscrptg2bcolor) transparent;
      border-top: 6px solid transparent;
      border-bottom: 6px solid var(--tscrptg2bcolor);
      border-left: 6px solid transparent;
      border-right: 6px solid var(--tscrptg2bcolor);
  
      margin-left: 0px;
      margin-bottom: var(--tscrptmgapn);
      z-index: 2;
  }  
.transcriptSpeaking {
  background: #f6f6f6;
  padding: 6px 6px 6px 6px;
  margin-bottom: 10px;
  margin-top: var(--tscrptmgapp);
  border-radius: var(--tscrptbcorner);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
  padding: var(--tscrptmbpvsize) var(--tscrptmbphsize);
}
.transcriptInterview .transcriptSpeaking p {
  font-size: var(--tscrptmfsize) !important;
  margin: 12px 0 12px 0;
}
.transcriptHost .transcriptSpeaking strong {
  font-size: var(--tscrptmfsize) !important;
}
.transcriptGuest .transcriptSpeaking strong {
  font-size: var(--tscrptmfsize) !important;
}  
}

/* Guest 2 Bubbles */
.transcriptGuest2 .transcriptSpeaking {
  background-color: var(--tscrptg2bcolor) !important;
  color: var(--tscrptg2fcolor) !important;
}

.transcriptGuest2 .transcriptAvatar::after {
  content: "";
  position: absolute;
  left: 0;
  width: 0;
  height: 0;
  border-top: 6px solid var(--tscrptg2bcolor);
  border-bottom: 6px solid transparent;
  border-left: 6px solid var(--tscrptg2bcolor);
  border-right: 6px solid transparent;
  margin-top: 0px;
  margin-left: var(--tscrptdgapn);
  z-index: 2;
}

/* Optional: own typography for Guest 2 Name */
.transcriptGuest2 .transcriptSpeaking strong {
  /* font-style: italic; */
}
/* --------------------------------------------------------
End AudioTyped Style Sheet for podcast interview transcripts 
----------------------------------------------------------*/