/*** Main styles ***/
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  color: #333;
  min-height: 100vh;
  background-attachment: fixed;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../img/shared/overlay.png'), linear-gradient(45deg, #6E436C 25%, #2A4584 75%);
  background-repeat: repeat, no-repeat;
  background-size: 512px, cover;
  opacity: 1;
  pointer-events: none;
}

.logo {
  width: 55px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.logo:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
  border-radius: 4px;
}

.logo-image {
    width: 35px;
    height: 35px;
    margin: 0 10px;
    background: url('../img/shared/sublogo.svg') no-repeat center center;
    background-size: contain;
    transition: transform 0.3s ease; 
}

.logo:hover .logo-image {
    animation: pulse 1s infinite; 
}

@keyframes pulse {
    0% {
        transform: rotate(7deg) scale(0.8); 
    }
    50% {
        transform: rotate(-7deg) scale(1.1); 
    }
    100% {
        transform: rotate(7deg) scale(0.8); 
    }
}


.container {
  max-width: 1000px;
  margin: 60px auto 0;
  background: rgba(255, 255, 255, 0.95);
  overflow: visible;
  position: relative;
  z-index: 0;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}

.container a {
    color: #444;
    font-weight: bold;
    text-decoration: none;
}

.container a:hover {
    text-decoration: underline;
}

header {
  color: white;
  padding: 120px 55px 70px;
  margin-top: -60px;
  text-align: left;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(5, 5, 5, 0.8);
  z-index: -1;
  transition: background-color 0.5s ease-in-out;
}

header::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../img/shared/header.webp') center/cover no-repeat;
  z-index: -2;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

header:hover::before {
  background-color: rgba(5, 5, 5, 0.75);
}

header:hover::after {
  transform: scale(1.1);
}

.header-title {
  font-size: 2.5rem;
  margin-bottom: 10px;
  position: relative;
  z-index: 2;
  font-weight: bold;
}

h1 {
  font-size: 2.5rem;
  position: relative;
  z-index: 2;
  font-weight: bold;
}

.description {
  font-size: 1.1rem;
  opacity: 0.9;
  position: relative;
  z-index: 2;
}

.page-title {
  color: white;
  font-size: 1.6rem;
  font-weight: 100;
  text-align: center;
  padding: 20px;
  background: #111;
  width: 100%;
  letter-spacing: 1px;
  box-sizing: border-box;
}


@media (max-width: 768px) {
  .page-title {
    font-size: 1.4rem;
    padding: 20px 10px;
  }

  .container {
    margin: 50px 0 0;
    min-height: 100vh;
  }

  header {
    padding: 90px 20px 40px;
  }

  h1,
  .header-title {
    font-size: 2rem;
  }

}

/* base player no style */
.audio-control {
    cursor: pointer;
    position: relative;
}

.audio-control.playing::before {
    content: '❚❚';
}

.audio-control:not(.playing):not(.paused)::before {
    content: '▶';
}

.audio-control.paused::before {
    content: '▶';
}

/* json player style */
#tracksList {
    list-style: none;
    padding: 0;
    margin: 0;
    overflow-y: auto;
}

#tracksList li {
    padding: 15px 20px;
    border-bottom: 1px solid #ecf0f1;
    display: flex;
    align-items: center;
    transition: background-color 0.2s;
}

#tracksList li:hover {
    background-color: #f8f9fa;
}

#tracksList li.playing {
    background-color: #e1f5fe;
}

#tracksList li:nth-child(even) {
    background-color: #f5f7fa;
}

#tracksList li:nth-child(even):hover {
    background-color: #e8ecf1;
}

#tracksList .audio-control {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background-color: #3498db;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    transition: all 0.3s ease;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

#tracksList .audio-control::before {
    content: '▶';
    padding-bottom: 2px;
    padding-left: 2px;
    font-size: 18px;
    transition: all 0.75s ease;
}

#tracksList .audio-control.playing {
    background-color: #e67e22;
    transform: rotate(90deg);
}

#tracksList .audio-control.paused {
    background-color: #2c3e50;
    transform: rotate(0deg);
}

#tracksList .track-info {
    flex-grow: 1;
}

#tracksList .track-info b {
    color: #2c3e50;
    font-size: 1.1rem;
}

/*Search container*/

.search-container {
    padding: 20px;
    background: #ecf0f1;
    border-bottom: 1px solid #bdc3c7;
}

#searchInput {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
    border: 2px solid #3498db;
    border-radius: 8px;
    outline: none;
    transition: border-color 0.3s;
}

#searchInput:focus {
    border-color: #2980b9;
    box-shadow: 0 0 8px rgba(52, 152, 219, 0.5);
}

.results-info {
  padding: 15px 20px;
  background: #34495e;
  color: white;
  font-size: 1.1rem;
}

.no-results {
  text-align: center;
  padding: 30px;
  font-size: 1.2rem;
  color: #7f8c8d;
}

.is-hidden {
    display: none !important;
}

/*Pagination button search*/
.pagination {
    display: flex;
    justify-content: center;
    padding: 20px;
    background: #ecf0f1;
    border-top: 1px solid #bdc3c7;
}

.pagination button {
    margin: 0 5px;
    padding: 10px 18px;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s;
}

.pagination button:hover {
    background: #2980b9;
}

.pagination button.active {
    background: #e74c3c;
    font-weight: bold;
}

.pagination button:disabled {
    background: #95a5a6;
    cursor: not-allowed;
}


@media (max-width: 768px) {
   
    .pagination {
        flex-wrap: wrap;
    }
    
    .pagination button {
        margin-bottom: 10px;
    }
}

/*Modal sample window*/

#imageModal {
	position: fixed;
	inset: 0;
	background: rgba(0,0,0,0.98);
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 9999;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.4s ease, visibility 0.4s ease;
	padding: 15px;
	backdrop-filter: blur(10px);
}
#imageModal.active {
	opacity: 1;
	visibility: visible;
}
#imageModal canvas {
	max-width: 96vw;
	max-height: 94vh;
	border-radius: 16px;
	box-shadow: 0 30px 120px rgba(0,0,0,0.9);
	animation: zoomIn 0.4s ease;
}
#imageModal .close {
	position: fixed;
	top: 20px;
	right: 30px;
	color: #fff;
	font-size: 48px;
	font-weight: 300;
	cursor: pointer;
	z-index: 10000;
	text-shadow: 0 0 20px black;
	transition: all 0.25s ease;
}
#imageModal .close:hover {
	color: #ff3366;
	transform: scale(1.25);
}
@keyframes zoomIn {
	from { transform: scale(0.85); opacity: 0; }
	to   { transform: scale(1); opacity: 1; }
}
.sample-item {
	cursor: zoom-in;
}

/*Menu*/
.navbar {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	background: rgba(0, 0, 0, 0.8);
	z-index: 1000;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
	height: 60px;
}

.nav-container {
	max-width: 1000px;
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0 20px;
	height: 60px;
}

.nav-list {
	display: flex;
	list-style: none;
}

.nav-list li {
	position: relative;
}

.nav-list li a {
	display: block;
	padding: 0 20px;
	line-height: 60px;
	color: white;
	text-decoration: none;
	font-size: 1rem;
	white-space: nowrap;
	transition: color 0.3s;
}

.nav-list li a:hover {
	color: #ddddddcc;
}

.nav-list li a:not(:only-child):after {
	content: "▾";
	font-size: 16px;
	margin-left: 5px;
}

.nav-dropdown {
	position: absolute;
	display: none;
	z-index: 1001;
	background: rgba(44, 44, 44, 0.8);
	min-width: 200px;
	list-style: none;
	box-shadow: 0 3px 12px rgba(0, 0, 0, 0.15);
}

.nav-dropdown.active {
	display: block;
}

.nav-dropdown li a {
	padding: 15px 20px;
	line-height: 20px;
}

.nav-dropdown li a:hover {
	background: rgba(30, 30, 30, 0.9);
}

.nav-mobile {
	display: none;
	position: absolute;
	top: 0;
	right: 0;
	height: 60px;
	width: 60px;
}

#nav-toggle {
	position: absolute;
	left: 15px;
	top: 18px;
	cursor: pointer;
	padding: 10px 35px 16px 0px;
}

#nav-toggle span,
#nav-toggle span:before,
#nav-toggle span:after {
	cursor: pointer;
	border-radius: 1px;
	height: 3px;
	width: 25px;
	background: white;
	position: absolute;
	display: block;
	content: "";
	transition: all 300ms ease-in-out;
}

#nav-toggle span:before {
	top: -8px;
}

#nav-toggle span:after {
	bottom: -8px;
}

#nav-toggle.active span {
	background-color: transparent;
}

#nav-toggle.active span:before,
#nav-toggle.active span:after {
	top: 0;
}

#nav-toggle.active span:before {
	transform: rotate(45deg);
}

#nav-toggle.active span:after {
	transform: rotate(-45deg);
}

@media only screen and (max-width: 798px) {
    .nav-mobile {
        display: block;
    }

    .nav-list {
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background: rgba(25, 25, 25, 0.95);
        flex-direction: column;
        display: none;
        padding: 0;
    }

    .nav-list.active {
        display: flex;
    }

    .nav-list li {
        float: none;
        border-bottom: 1px solid #444444;
        transition: background 0.3s;
    }

    .nav-list li:hover {
        background: rgba(0, 0, 0, 1);
    }
        
    .nav-list li a {
        padding: 15px 30px;
        line-height: 20px;
		font-size: 1.1rem;
    }

    .nav-dropdown {
        position: static;
        background: rgba(50, 50, 50, 0.7);
        box-shadow: none;
        display: none;
    }

    .nav-dropdown.active {
        display: block;
    }

    .nav-dropdown li a {
        padding-left: 40px;
        color: #aaa;		
    }
}


footer {
  background: #1c2833;
  color: white;
  padding: 30px 20px 0;
}



footer a {
color: #bbb !important;
}


.footer-columns {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 10px;
}

.footer-column {
  flex: 0 0 32%;
  margin-bottom: 20px;
}

.footer-column h2 {
  color: #ecf0f1;
  margin-bottom: 15px;
  font-size: 1.2rem;
  border-bottom: 1px solid #34495e;
  padding-bottom: 8px;
}

.footer-column p {
  color: #bdc3c7;
  line-height: 1.6;
  font-size: 0.95rem;
  padding-top: 15px
}

.copyright {
  text-align: center;
  padding: 15px 0;
  border-top: 1px solid #34495e;
  color: #95a5a6;
  font-size: 0.9rem;
}

.footer-links-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding-top: 15px;
}

.footer-links-column > div {
    display: flex;
    flex-direction: column;
}

.footer-links-column a {
    display: block;
    margin-bottom: 10px;
}

@media (max-width: 768px) {

	.footer-columns {
		flex-direction: column;
	}

	.footer-column {
		flex: 0 0 100%;
		margin-bottom: 25px;
	}	
}



/*** Index Page ***/

.info-block {
    flex: 0 0 32%;
    background: white;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
    border: 1px solid #e5e7eb;
}

.info-block:hover {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.info-block img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 10px;
}

.info-block h2 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.info-block p {
    color: #555;
    line-height: 1.5;
    text-align: left;
    hyphens: auto;
    word-break: break-word;	
}

.info-wide {
    display: flex;
    background: white;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
    border: 1px solid #e5e7eb;
    align-items: center;
}

.info-wide:hover {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.info-wide img {
    width: 50%;
    height: 265px;
    object-fit: cover;
    border-radius: 6px;
    margin-right: 20px; 
    flex-shrink: 0; 
}

.info-wide-text {
    flex-grow: 1;
}

.info-wide-text h1 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.info-wide-text p {
    color: #555;
    line-height: 1.5;
    text-align: justify; 
    position: relative;
}

.info-wide-text p::after {
    content: "";
    display: inline-block;
    width: 100%;
    height: 0;
    overflow: hidden;
    position: absolute;
    bottom: 0;
    left: 0;
}

/* Tracks columns container */
.tracks-columns {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
}

.tracks-columns .info-block {
    flex: 0 0 calc(50% - 10px);
}

/* Tracks styling for columns */
.tracks-columns .info-tracks ul {
    list-style: none;
    padding: 0;
    margin: 0;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
}

.tracks-columns .info-tracks li {
    padding: 15px 20px;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    transition: background-color 0.2s;
    background: white;
}

.tracks-columns .info-tracks li:nth-child(even) {
    background-color: #f8f9fa;
}

.tracks-columns .info-tracks li.playing {
    background-color: #e1f5fe;
}

.tracks-columns .info-tracks .audio-control {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: #3498db;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    transition: all 0.3s ease;
    flex-shrink: 0;
    position: relative;
}

.tracks-columns .info-tracks .audio-control::before {
    content: '▶';
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    line-height: 1;
    padding-left: 2px;
    padding-bottom: 2px;		
}



.tracks-columns .info-tracks .audio-control.playing {
    background: #e67e22;
    transform: rotate(90deg) scale(1.05);
}

.tracks-columns .info-tracks .audio-control.paused {
    background: #2c3e50;
}

.tracks-columns .info-tracks .track-info {
    flex-grow: 1;
    font-size: 1.1rem;
    color: #2c3e50;
}

/* Mobile version */
@media (max-width: 768px) {
    .info-block {
        flex: 0 0 100%;
        margin-bottom: 15px;
		border-radius: 0px;
    }

    .info-wide {
        flex-direction: column;
        align-items: flex-start; 
		border-radius: 0px;
	}
	
    .info-wide img {
        width: 100%; 
        height: 130px;
        margin-bottom: 10px;
        margin-right: 0;
    }

    .tracks-columns {
        flex-direction: column;
        gap: 0;
    }
    
    .tracks-columns .info-block {
        flex: 0 0 100%;
		overflow-x: hidden;
    }
    
    .tracks-columns .info-tracks ul {
        border-radius: 0;
        border-top: 1px solid #e9ecef;
        border-bottom: 1px solid #e9ecef;
        margin: 0 -20px;
    }
    
    .tracks-columns .info-tracks li {
        padding: 15px 20px;
        border: 0;
		
    }
	.tracks-columns .info-tracks .track-info {
		font-size: 1.0rem;
	}	

}

/*** Contact ***/

.contact-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  margin: 0 auto;
  padding: 60px 20px;
  background: #f9f9f9;
  
}

.contact-form {
  flex: 1;
  min-width: 300px;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form-input,
.form-textarea {
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
  width: 100%;
  box-sizing: border-box;
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.submit-btn {
  background: #2c3e50;
  color: white;
  border: none;
  padding: 12px;
  font-size: 1rem;
  border-radius: 4px;
  cursor: pointer;
  width: 100%;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
}

.submit-btn:hover {
  background: #34495e;
}

.submit-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.7s ease;
}

.submit-btn:hover::before {
  left: 100%;
}

.contact-info {
  flex: 1;
  min-width: 300px;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  padding: 30px;
  background: #ededed;
  border-radius: 8px;
  box-sizing: border-box;
}

.email-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.email-icon {
  font-size: 24px;
  color: #2c3e50;
}

.email-address {
  font-size: 1.1rem;
  color: #2c3e50;
  font-weight: 300;
}

.contact-divider {
  border: none;
  border-top: 1px solid #cacaca;
  margin: 10px 0;
}

.contact-note {
  color: #555;
  line-height: 1.5;
  font-size: 1rem;
}

@media (max-width: 768px) {
  .contact-container {
    padding: 30px 15px 30px;
    gap: 20px;
  }

  .contact-form,
  .contact-info {
    min-width: 100%;
    max-width: none;
  }
}

.honeypot-field {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    width: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    opacity: 0 !important;
    position: absolute !important;
    left: -9999px !important;
    pointer-events: none !important;
    user-select: none !important;
}

.honeypot-field:focus {
    outline: none !important;
    box-shadow: none !important;
}

.email-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.email-link:focus {
    outline: 2px solid #0066cc;
    outline-offset: 2px;
}

/*** Musician ***/
.left-column,
.right-column {
  flex: 0 0 calc(50% - 10px);
}

.main-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 20px;
  background: #f9f9f9;
  transition: all 0.3s ease;
}

.musician-photo {
  width: 100%;
  height: 400px;
  margin-bottom: 20px;
  border-radius: 8px;
  overflow: hidden;
}

.musician-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.transcription-samples,
.grid-block {
  background: white;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 8px;
  border: 1px solid #e9ecef;
}

.transcription-samples h2,
.grid-block h2 {
  margin-bottom: 15px;
  color: #333;
  font-size: 1.5rem;
}

.grid-block p {
  line-height: 1.6;
  margin-bottom: 10px;
}

.samples-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.sample-item {
  background: #f8f9fa;
  padding: 15px;
  border-radius: 5px;
  text-align: center;
  border: 1px solid #e9ecef;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s;
}

.transcription-samples .sample-item {
  aspect-ratio: 1 / 1.414;
}

.sample-item:hover {
  transform: scale(1.03);
}

.sample-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 3px;
}

.bio-list {
  line-height: 1.6;
  padding: 15px 0;
}

.bio-links a {
  color: black;
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 2px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size 0.2s ease;
  font-weight: 600;
}

.bio-links a:hover {
  background-size: 100% 2px;
}

.bio-links a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
  border-radius: 3px;
}

/* Musician player */
.musician-tracks ul {
  padding: 0;
  margin: 0;
  list-style: none;
  overflow-y: auto;
  border-radius: 8px;
  border: 1px solid #e9ecef;
}

.musician-tracks li {
  padding: 15px 20px;
  border-bottom: 1px solid #e9ecef;
  display: flex;
  align-items: center;
  transition: background-color 0.2s;
  background: white;
}

.musician-tracks li.playing {
  background-color: #e1f5fe;
}

.musician-tracks li:nth-child(even) {
  background-color: #f8f9fa;
}

.musician-tracks .audio-control {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background-color: #3498db;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.musician-tracks .audio-control::before {
  content: '▶';
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  line-height: 1;
  padding-left: 2px;
  padding-bottom: 2px;
}

.musician-tracks .audio-control.playing {
  background-color: #e67e22;
  transform: rotate(90deg);
}

.musician-tracks .audio-control.paused {
  background-color: #2c3e50;
}

.musician-tracks .track-info {
  flex-grow: 1;
  font-size: 1.1rem;
  color: #2c3e50;
}

@media (max-width: 768px) {
  .main-container {
    flex-direction: column;
    padding: 0;
  }

  
  .left-column,
  .right-column {
    flex: 0 0 100%;
  }

  .transcription-samples,
  .grid-block {
    border-radius: 0px;
  }

  .transcription-samples,
  .musician-photo {
    border-radius: 0;
  }

  .samples-grid {
    gap: 8px;
  }

  .sample-item {
    padding: 8px;
  }

  .musician-tracks ul {
    border-radius: 0;
    border-top: 1px solid #e9ecef;
	border-bottom: 1px solid #e9ecef;
	margin: 0 -20px;
  }

  .musician-tracks li {
    padding: 15px 20px;
    border: 0;
  }

}



/*** Search ***/

.track-container {
    width: 100%;
    background: #f9f9f9;
}

.track-container .count-info {
    padding: 15px 20px;
    background: #34495e;
    color: white;
    font-size: 1.1rem;
    width: 100%;
    box-sizing: border-box;
}

.track-container h2 {
    font-size: 1.1rem;
    font-weight: normal;
}


.track-container ul {
    padding: 0;
    margin: 0;
    list-style: none;
    overflow-y: auto;
    width: 100%;
}

.track-container li {
    padding: 15px 20px;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    transition: background-color 0.2s;
    background: white;
    width: 100%;
    box-sizing: border-box;
}

.track-container li:hover {
    background-color: #f8f9fa;
}

.track-container li.playing {
    background-color: #e1f5fe;
}

.track-container li:nth-child(even) {
    background-color: #f8f9fa;
}

.track-container li:nth-child(even):hover {
    background-color: #e8ecf1;
}

.track-container .audio-control {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background-color: #3498db;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    transition: all 0.3s ease;
    flex-shrink: 0;
    cursor: pointer;
}

.track-container .audio-control::before {
    content: '▶';
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    line-height: 1;
    padding-left: 2px;
    padding-bottom: 2px;	
}

.track-container .audio-control.playing {
    background-color: #e67e22;
    transform: rotate(90deg);
}

.track-container .audio-control.paused {
    background-color: #2c3e50;
}

.track-container .track-info {
    flex-grow: 1;
    font-size: 1.1rem;
    color: #2c3e50;
}

/*** Search fast ***/


.placeholder-block {
  padding: 30px 30px;
  text-align: left;
  background: #f9f9f9;
  font-size: 16px;
  color: #333333;
}


.search-title {
  color: #2c3e50;
  margin-bottom: 10px;
  font-size: 1.5rem;
  padding: 10px 10px;
  text-align: center;
}


@media (max-width: 768px) {
  .placeholder-block {
    font-size: 1.4rem;
    padding: 40px 20px;
  }
}

.igrid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
    padding: 15px;
	background: #f9f9f9;
}

@media (max-width: 900px) {
    .igrid {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (max-width: 800px) {
    .igrid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 650px) {
    .igrid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 550px) {
    .igrid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 180px) {
    .igrid {
        grid-template-columns: 1fr;
    }
}
/* Transcriptions */
.gitem {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 4px 4px #dddddd;
    border-radius: 8px;
    background: white;
    box-sizing: border-box;
    text-decoration: none;
    color: inherit;
}

.gitem img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
    flex: 1;
}

.mname {
    padding: 10px 4px;
    font-size: 15px;
    text-align: center;
    background: rgba(5, 5, 5, 0.85);
    text-transform: uppercase;
    color: white;
    line-height: 1.2;
    word-wrap: break-word;
    hyphens: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    box-sizing: border-box;
    flex-shrink: 0;
    transition: background-color 0.3s ease, color 0.3s ease;
    font-weight: normal;
}

.gitem a {
    text-decoration: none !important;
}

.gitem:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}



@media (max-width: 480px) {
    .igrid {
        gap: 12px;
        padding: 12px;
    }

}


@media (min-width: 481px) and (max-width: 576px) {
    .igrid {
        gap: 12px;
        padding: 12px;
    }

}


@media (min-width: 577px) and (max-width: 768px) {
    .igrid {
        gap: 12px;
        padding: 12px;
    }

}


@media (min-width: 769px) {
    .igrid {
        gap: 16px;
        padding: 15px;
    }
    .search-section {
        padding: 20px 15px;
    }
}

.custom-tooltip {
    position: fixed;
    background: rgba(255, 191, 0, 1);
    color: black;
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 18px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.1s;
    z-index: 1000;
}

.custom-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: #000;
}


/*transcription page*/

.left-col, .right-col {
	flex: 0 0 calc(50% - 10px);
}

.sample-block, .audio-block, .desc-block, .order-block {
	background: white;
	padding: 20px;
	margin-bottom: 20px;
	border-radius: 8px;
	border: 1px solid #e9ecef;
}

.sample-block h2, .audio-block h2, .desc-block h2, .order-block h2 {
	margin-bottom: 15px;
	color: #333;
	font-size: 1.5rem;
}

.sample-item {
	background: #f8f9fa;
	padding: 15px;
	border-radius: 5px;
	text-align: center;
	border: 1px solid #e9ecef;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	cursor: pointer;
	transition: transform 0.2s;
}

.sample-block .sample-item {
    aspect-ratio: 1.7 / 1;
}

.sample-item:hover {
	transform: scale(1.03);
}

.sample-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 3px;
}
/* home static player */

.audio-block ul {
    padding: 0;
    margin: 0;
    list-style: none;
    max-height: 800px;
    overflow-y: auto;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.audio-block li {
    padding: 15px 20px;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    transition: background-color 0.2s;
    background: white;
}

.audio-block li:hover {
    background-color: #f8f9fa;
}

.audio-block li.playing {
    background-color: #e1f5fe;
}

.audio-block li:nth-child(even) {
    background-color: #f8f9fa;
}

.audio-block li:nth-child(even):hover {
    background-color: #e8ecf1;
}

.audio-block .audio-control {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background-color: #3498db;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.audio-block .audio-control::before {
    content: '▶';
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    line-height: 1;
    padding-left: 2px;
    padding-bottom: 2px;	
}

.audio-block .audio-control.playing {
    background-color: #e67e22;
    transform: rotate(90deg);
}

.audio-block .audio-control.paused {
    background-color: #2c3e50;
}

.audio-block .track-info {
    flex-grow: 1;
    font-size: 1.1rem;
    color: #2c3e50;
}

.desc-text {
	line-height: 1.6;
	color: #555;
}

.order-text {
	margin-bottom: 20px;
	line-height: 1.6;
	color: #555;
}

.order-btn {
	background: #2c3e50;
	color: white;
	border: none;
	padding: 12px 30px;
	font-size: 1rem;
	border-radius: 4px;
	cursor: pointer;
	width: 100%;
	position: relative;
	overflow: hidden;
	transition: background 0.3s;
}

.order-btn:hover {
	background: #34495e;
}

.order-btn::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
	transition: left 0.7s ease;
}

.order-btn:hover::before {
	left: 100%;
}

.order-btn-go {

    display: block;
    text-decoration: none;
    text-align: center;
    background: #2c3e50;
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 1rem;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    position: relative;
    overflow: hidden;
    transition: background 0.3s;
}

.order-btn-go:hover {
    background: #34495e;
}

.order-btn-go::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.7s ease;
}

.order-btn-go:hover::before {
    left: 100%;
}

a.order-btn-go {
    font-weight: normal !important;
	text-decoration: none !important;
	color: white;
}

@media (max-width: 768px) {

	.left-col, .right-col {
		flex: 0 0 100%;
	}

	.sample-block, .audio-block, .desc-block, .order-block {
		padding: 15px;
		margin-bottom: 15px;
	}

}



/*Transcription list a-z*/

.musicians-list {
	padding: 30px 20px;
}

#filters {
	text-align: left;
	padding: 5px 0 20px 0;
	z-index: 2;
	text-transform: uppercase;
}

#filters ul {
	-webkit-column-count: 3;
	-moz-column-count: 3;
	column-count: 3;
	padding: 0;
	margin: 0;
	column-gap: 20px;
}

#filters li {
	color: #aaaaaa;
	text-decoration: none;
	font-size: 14px;
	list-style: none;
	line-height: 2.8em;
	color: #aaaaaa;
	position: relative;
	padding-left: 40px;
	transition: all 0.3s ease;
	min-height: 2.8em;
	display: flex;
	align-items: center;
}

#filters a:hover,
#filters a.active {
	color: #3498db;
}

#filters a {
	color: #2c3e50;
	text-decoration: none;
	font-size: 1.1rem;
	transition: color 0.3s ease;
	font-weight: 500;
	display: block;
	width: 100%;
}

.bgimg {
	background: #3498db;
	position: absolute;
	text-align: center;
	border-radius: 4px;
	color: #fff;
	font-size: 16px;
	width: 28px;
	height: 28px;
	line-height: 28px;
	font-weight: bold;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	display: flex;
	align-items: center;
	justify-content: center;
}

@media screen and (max-width: 1200px) {
	#filters ul {
		-webkit-column-count: 3;
		-moz-column-count: 3;
		column-count: 3;
	}
}

@media screen and (max-width: 992px) {
	#filters ul {
		-webkit-column-count: 2;
		-moz-column-count: 2;
		column-count: 2;
	}
}

@media screen and (max-width: 768px) {
	#filters ul {
		-webkit-column-count: 1;
		-moz-column-count: 1;
		column-count: 1;
	}
	
	#filters li {
		font-size: 16px;
		line-height: 3.2em;
		padding-left: 50px;
		min-height: 3.2em;
	}

	#filters a {
		font-size: 1.4rem;
		font-weight: 600;
	}

	.bgimg {
		font-size: 18px;
		width: 36px;
		height: 36px;
		line-height: 36px;
	}
	
	.musicians-list {
		padding: 20px 15px;
	}
}

@media screen and (max-width: 480px) {
	#filters li {
		font-size: 17px;
		line-height: 3.5em;
		padding-left: 55px;
		min-height: 3.5em;
	}

	#filters a {
		font-size: 1.5rem;
	}

	.bgimg {
		font-size: 20px;
		width: 40px;
		height: 40px;
		line-height: 40px;
	}
}




/*** About ***/
.block-about {
    display: flex;
    background: white;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
    border: 1px solid #e5e7eb;
    align-items: center;
}

.block-about:hover {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.block-about img {
    width: 50%;
    height: 300px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}

.block-about-text {
    flex-grow: 1;
    padding: 0 15px;
}

.block-about-text h2 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.block-about-text p {
    color: #555;
    line-height: 1.5;
    text-align: justify;
}

.block-about-left img {
    margin-right: 20px;
}

.block-about-right img {
    margin-left: 20px;
    order: 2;
}

.block-about-right .block-text {
    order: 1;
}

@media (max-width: 768px) {
    .block-about {
        flex-direction: column;
        align-items: flex-start;
    }

    .block-about img {
        width: 100%;
        height: 130px;
        margin-bottom: 10px;
        margin-right: 0;
        margin-left: 0;
    }

    .block-about-text {
        padding: 0;
    }

    .block-about-right img {
        order: 1;
    }

    .block-about-right .block-about-text {
        order: 2;
    }
}

/*** Why choose us ***/

.why-block {
    display: flex;
    background: white;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
    border: 1px solid #e5e7eb;
    align-items: center;
}

.why-block:hover {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.why-block img {
    width: 50%;
    height: 200px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}

.why-text {
    flex-grow: 1;
    padding: 0 15px;
}

.why-text h2 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.why-text p {
    color: #555;
    line-height: 1.5;
    text-align: justify;
}

.why-left img {
    margin-right: 20px;
}

.why-right img {
    margin-left: 20px;
    order: 2;
}

.why-right .why-text {
    order: 1;
}

@media (max-width: 768px) {
    .why-block {
        flex-direction: column;
        align-items: flex-start;
    }

    .why-block img {
        width: 100%;
        height: 130px;
        margin-bottom: 10px;
        margin-right: 0;
        margin-left: 0;
    }

    .why-text {
        padding: 0;
    }

    .why-right img {
        order: 1;
    }

    .why-right .why-text {
        order: 2;
    }
}

/*** Books Page ***/

/*** Book Page Styles ***/
.book-left-column,
.book-right-column {
  flex: 0 0 calc(50% - 10px);
}

.book-main-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 20px;
  background: #f9f9f9;
  transition: all 0.3s ease;
}

.book-photo {
  width: 100%;
  max-width: 500px;
  height: auto;
  aspect-ratio: 500 / 709;
  margin: 0 auto 20px;
  border-radius: 8px;
  overflow: hidden;
}

.book-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.book-samples,
.book-block {
  background: white;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 8px;
  border: 1px solid #e9ecef;
}

.book-samples h2,
.book-block h2 {
  margin-bottom: 15px;
  color: #333;
  font-size: 1.5rem;
}

.book-block p {
  line-height: 1.6;
  margin-bottom: 10px;
}

.samples-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.sample-item {
  background: #f8f9fa;
  padding: 15px;
  border-radius: 5px;
  text-align: center;
  border: 1px solid #e9ecef;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s;
}

.book-samples .sample-item {
  aspect-ratio: 1 / 1.414;
}

.sample-item:hover {
  transform: scale(1.03);
}

.sample-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 3px;
}

.description-links a {
  color: black;
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 2px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size 0.2s ease;
  font-weight: 600;
}

.description-links a:hover {
  background-size: 100% 2px;
}

.description-links a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
  border-radius: 3px;
}

/* Book audio player */
.book-tracks ul {
  padding: 0;
  margin: 0;
  list-style: none;
  overflow-y: auto;
  border-radius: 8px;
  border: 1px solid #e9ecef;
}

.book-tracks li {
  padding: 15px 20px;
  border-bottom: 1px solid #e9ecef;
  display: flex;
  align-items: center;
  transition: background-color 0.2s;
  background: white;
}

.book-tracks li.playing {
  background-color: #e1f5fe;
}

.book-tracks li:nth-child(even) {
  background-color: #f8f9fa;
}

.book-tracks .audio-control {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background-color: #3498db;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.book-tracks .audio-control::before {
  content: '▶';
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  line-height: 1;
  padding-left: 2px;
  padding-bottom: 2px;
}

.book-tracks .audio-control.playing {
  background-color: #e67e22;
  transform: rotate(90deg);
}

.book-tracks .audio-control.paused {
  background-color: #2c3e50;
}

.book-tracks .track-info {
  flex-grow: 1;
  font-size: 1.1rem;
  color: #2c3e50;
}

@media (max-width: 768px) {
  .book-main-container {
    flex-direction: column;
    padding: 0;
  }

  .book-left-column,
  .book-right-column {
    flex: 0 0 100%;
  }

  .book-left-column {
    order: 1;
  }
  
  .book-right-column {
    order: 2;
  }

  .book-samples,
  .book-block {
    border-radius: 0px;
  }

  .book-samples,
  .book-photo {
    border-radius: 0;
  }

  .samples-grid {
    gap: 8px;
  }

  .sample-item {
    padding: 8px;
  }

  .book-tracks ul {
    border-radius: 0;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
    margin: 0 -20px;
  }

  .book-tracks li {
    padding: 15px 20px;
    border: 0;
  }
}


/*** Sitemap ***/

.sitemap-container { 
	margin: 10px auto;
	padding: 40px 50px 40px 30px;
}

.sitemap,
.sitemap ul {
	margin: 0 0 0 2em;
	padding:0;
	list-style:none;
	color:#444;
	position:relative;
	text-transform: uppercase;
	font-size:14px;
}

.sitemap ul {margin-left:.5em}

.sitemap:before,
.sitemap ul:before {
	content:"";
	display:block;
	width:0;
	position:absolute;
	top:0;
	bottom:0;
	left:0;
	border-left:2px solid;
}

.sitemap li {
	margin:0;
	padding:0 1.5em;
	line-height:2em;
	font-weight:bold;
	position:relative;
}

.sitemap li:before {
	content:"";
	display:block;
	width:10px;
	height:0;
	border-top:2px solid;
	margin-top:-2px;
	position:absolute;
	top:1em;
	left:0;
}

.sitemap li:last-child:before {
	background:#f9f9f9;
	height:auto;
	top:1em;
	bottom:0;
}

.sitemap-title {
	font-size: 20px;
	padding: 10px 30px;  
}

@media (max-width: 768px) {
	.sitemap-container {
		margin: 10px auto;
		padding: 10px 10px;
		max-width: 100%;
	}
}