/* Main album layout */
.cd-album {
    display: grid;
    grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.6fr);
    gap: 30px;
    width: 100%;
    max-width: 1250px;
    margin: 0px auto;
    padding: 4px;
    box-sizing: border-box;
    color: #333;
}

/* Left column */
.cd-album__cover {
    min-width: 0;
    text-align: center;
}
#containercd img{
    margin-top:40px;
	width:80%;
	height:auto;    
	text-align: center;
	box-sizing: border-box;
	box-shadow:
    0 4px 8px rgba(70, 45, 30, 0.15),
    0 15px 30px rgba(70, 45, 30, 0.22);
}
.amazon{
    padding-top:20px;
	width:100px;
	height:auto;    text-align: center;
}
.cd-album__artwork {
    display: block;
    width: 100%;
    max-width: 320px;
    height: auto;
    margin: 0 auto 24px;
    object-fit: contain;
	

}

#containercd .cd-album__buy{
    display: block;
    width:200px;
    height: auto;
    margin: 0 auto;
  padding: 4px; background-color:#FFFFFF;
  line-height: 0;
  border: 1px solid #a86c49;
	margin-top:-20px;
}


#containercd .cd-album__buy img {
  display: block;
  max-width: 100%;
  height: auto;
}
/* Right column */
.cd-album__tracks {
    min-width: 0;

    padding-top: 14px;
}
.cd-album__tracks h2{
text-align:left;
}
.cd-album__heading {
    margin: 0 0 16px;
    font-size: 20px;
}

.cd-track {
  display: grid;
    grid-template-columns: 185px minmax(0, 1fr);
    gap: 6px;
    align-items: center;
	border-bottom: 1px solid rgba(112, 69, 47, 0.20);
  padding: 2px 0;

}
.cd-track__audio {
    width: 100%;
    color-scheme: dark;
}
.cd-track__title {
 margin: 0;
    padding: 0;
    font-size: 17px;
    line-height: 1.4;
    text-align: left;
    overflow-wrap: anywhere;
}

.cd-track__number {

  margin-right: 10px;
  color: #a86c49;
  font-weight: bold;
}
.cd-track__audio {
    display: block;
    width: 100%;
    min-width: 0;
    height: 38px;	

    color-scheme: light;
}
.audio-wrapper {
    background-color: #e8dcc8;
    border-radius: 20px;
    padding: 4px;
}

.cd-track__audio {
    display: block;
    width: 100%;
}
/* Optional section separators */
.cd-album__separator {
    border: 0;
    border-top: 3px double #333;
    margin: 0 0 16px;
}

.decorative-ruler {
  position: relative;
  width: 100%;
  height: 12px;
  margin: 25px 0;
  box-sizing: border-box;
}

.decorative-ruler::before,
.decorative-ruler::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: #8d6348;
}

.decorative-ruler::before {
  top: 3px;
}

.decorative-ruler::after {
  top: 8px;
}

.decorative-ruler__center {
  position: absolute;
  z-index: 1;
  top: 2px;
  left: 50%;
  width: 100px;
  height: 10px;
  transform: translateX(-50%);
  background: #a86c49;
  border-radius: 2px;
}





/* Tablet */
@media screen and (max-width: 768px) {
    .cd-album {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
        padding: 16px;
    }

    .cd-album__artwork {
        max-width: 300px;
    }

    .cd-album__tracks {
        width: 100%;
    }

    .cd-track {
        grid-template-columns: minmax(100px, 0.9fr) minmax(0, 1.5fr);
        gap: 10px;
    }
}

/* Small mobile screens */
@media screen and (max-width: 600px) {
    .cd-album {
        margin: 10px auto;
        padding: 10px;
        gap: 24px;
    }

    .cd-album__artwork {
        max-width: 260px;
        margin-bottom: 18px;
    }

    .cd-track {
          grid-template-columns: minmax(0, 1fr);
        gap: 4px;
        padding: 8px 0;
    }

    .cd-track__title {
       font-size: 12px;
        line-height: 1.2;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .cd-track__audio {
        width: 100%;
        height: 38px;
    }

    .cd-album__heading {
        font-size: 18px;
    }
}