.hero-guitars {
    display: flex;
    flex-direction: column;
}

.hero-guitars-mobile {
    display: none;
    flex-direction: row;
}

.hero-guitars-mobile img {
    flex: 1;
    min-width: 0;
}

#examples {
    display: flex;
    flex-direction: row;
    justify-content: center;
    padding-inline: var(--page-padding);
    padding-block: 2rem;
    background-color: var(--gray);
}

#examples-container {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 1rem;
    max-width: var(--track-size);
}

.examples-gallery {
    display: grid;
    grid-auto-flow: row;
    grid-template-columns: repeat(auto-fit, 13rem);
    gap: 4px;
    justify-content: center;
}

.examples-gallery img {
    width: 13rem;
    background-color: white;
}

.examples-footnote {
    max-width: 30rem;
    align-self: center;
    text-align: center;
}

#examples h2 ~ h2 {
    margin-top: 1rem;
}

#videos {
    display: flex;
    flex-direction: row;
    justify-content: center;
    padding-inline: var(--page-padding);
    padding-block: 2rem;
}

#videos-container {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 1rem;
    max-width: calc(var(--track-size) + 10rem);
}

#videos-gallery {
    display: flex;
    flex-flow: row wrap;
    gap: 1rem;
    justify-content: center;
}

#specs {
    display: flex;
    flex-direction: row;
    justify-content: center;
    padding-inline: var(--page-padding);
    padding-block: 2rem;
}

#specs-container {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
    max-width: var(--track-size);
    gap: 1rem;
}

@media (max-width: 800px) {
    .hero-guitars {
        display: none;
    }

    .hero-guitars-mobile {
        display: flex;
    }

    .examples-gallery {
        grid-template-columns: repeat(auto-fit, 7rem);
    }
    
    .examples-gallery img {
        width: 7rem;
    }
}

.specs-scroll-container {
    overflow-x: auto;
    transform: translateZ(0); /* iOS fix for scrollbar behind sticky element */
}

.specs-table {
    width: 100%;
    min-width: 50rem;
    border-color: #696969;
    border-width: 0 0 2px 0;
    border-style: solid;
    border-spacing: 0;
    border-collapse: collapse;
    table-layout: fixed;
}

.specs-table th {
    background-color: #696969;
    color: #FFFFFF;
    font-family: sans-serif;
    font-size: .65em;
    font-weight: bold;
    letter-spacing: .25em;
    text-align: left;
    margin-bottom: 0;
    margin-left: 5px;
    vertical-align: bottom;
    padding: 2px;
}

.specs-table td {
    font-family: sans-serif;
    font-size: .75em;
    padding: 2px;
    vertical-align: top;
}

.specs-table td:first-child, .specs-table th:first-child  {
    position: sticky;
    left: 0;
}

.specs-table tr:nth-child(even) td {
    background-color: #f8f1bd;
}

.specs-table tr:nth-child(odd) td {
    background-color: #FFFFFF;
    border-color: #696969;
    border-width: 0 0 1px 0;
    border-style: solid;
}