/* =============================================
   Marty Sings Broadway - styles.css
   ============================================= */

* {
    box-sizing: border-box;
}

body { 
    font-family: Arial, sans-serif; 
    margin: 0;
    padding: 20px 30px;
    line-height: 1.5;
    max-width: none;
    width: 100%;
    overflow-x: hidden;
}

audio {
    display: block;
    margin: 0 auto;
    width: 50%;
    max-width: 700px;
}

#banner {
    width: 100%;
    max-width: 700px;   
    height: auto;
    display: block;
    margin: 0 auto 20px auto;
}

/* Main Table Styling */
.main-table {
    width: 100% !important;
    max-width: 100% !important;
    border-collapse: collapse;
    margin: 20px 0;
    table-layout: fixed;
}

.side-td {
    vertical-align: top;
    padding: 12px 20px !important;
    width: 50%;
    overflow: hidden;
}

.side-td.left {
    border-right: 1px solid #333;
}

/* Song Covers - Balanced Size */
.song-cover {
    max-width: 280px !important;   /* You can change to 300px if you prefer */
    height: auto !important;
    display: block;
    margin: 10px 0;
}

.song-link {
    font-size: 18px;
    text-decoration: none;
    color: blue;
    display: inline-block;
}

.song-link:hover {
    text-decoration: underline;
}

#nowPlaying {
    font-size: 18px;
    font-weight: bold;
}

/* ==================== LINK STYLES ==================== */

a {
    color: blue; 
    text-decoration: none;
}

a:visited {
    color: purple;
}

a:hover {
    color: red;
    text-decoration: underline;
}

a:active {
    color: darkred;
}

.song-link.visited,
a.visited {
    color: purple !important;
}

/* Prevent inner content from overflowing */
td table, figure, img {
    max-width: 100% !important;
}

figure img {
    max-width: 100% !important;
    height: auto;
}

/* =============================================
   LINER NOTES 
   ============================================= */

details.liner-notes {
    margin-top: 4px;
    margin-bottom: 20px;
}

.liner-notes-label {
    font-weight: bold;
    color: #444;
    margin: 6px 0 3px 0;
    display: block;
}

details.liner-notes summary {
    list-style: none;
    display: block;
    cursor: pointer;
    padding: 0 0 0 30px;     
    font-weight: bold;
    color: #c0392b;
    position: relative;
    margin-top: 0;
}

details.liner-notes summary::-webkit-details-marker {
    display: none;
}

details.liner-notes summary::before {
    content: "+";
    position: absolute;
    left: 4px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.6em;
    font-weight: bold;
    line-height: 1;
    color: #c0392b;
}

details.liner-notes[open] summary::before {
    content: "−";
}

details.liner-notes summary:hover {
    color: #a22a22;
}