/* Use the site's existing Arial body type and teal/gold palette. */
.seo-intro,
.seo-breadcrumbs,
.seo-popular,
.seo-pagination {
    box-sizing: border-box;
    clear: both;
    font-family: Arial, sans-serif;
    font-size: 14px;
    font-weight: normal;
    font-style: normal;
    color: #3c6f75;
    line-height: 1.8;
    text-align: left;
}

.seo-intro {
    margin: 0 0 18px;
    max-width: 65ch;
    overflow-wrap: break-word;
}

.seo-breadcrumbs {
    margin: 6px 0 16px;
    font-size: 12px;
    color: #687b7d;
    overflow-wrap: anywhere;
}

.seo-breadcrumbs a,
.seo-popular a,
.seo-pagination a {
    color: #3c6f75;
    text-decoration: none;
}

.seo-breadcrumbs a:hover,
.seo-popular a:hover {
    color: #386060;
    text-decoration: underline;
}

.seo-popular {
    margin: 0 0 20px;
    padding: 10px 14px;
    border: 1px solid #dce6e5;
    border-radius: 5px;
    background: #f7faf9;
}

.seo-popular summary {
    cursor: pointer;
    font: inherit;
    color: #386060;
}

.seo-popular[open] summary {
    margin-bottom: 8px;
}

.seo-popular ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.seo-popular li {
    margin: 0;
    padding: 4px 0;
    line-height: 1.8;
}

.seo-popular a {
    display: inline-block;
}

.seo-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin: 24px 0;
    text-align: center;
}

.seo-pagination a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    box-sizing: border-box;
    padding: 7px 16px;
    border: 1px solid #cbdcda;
    border-radius: 5px;
    background: #f7faf9;
}

.seo-pagination a:hover {
    background: #def2f3;
    border-color: #9dbfbc;
}

.seo-pagination span {
    font-size: 12px;
    color: #687b7d;
}

.seo-breadcrumbs a:focus-visible,
.seo-popular summary:focus-visible,
.seo-popular a:focus-visible,
.seo-pagination a:focus-visible {
    outline: 2px solid #3c6f75;
    outline-offset: 3px;
}

h1.head .song-romanized {
    display: block;
    margin-top: 6px;
    font-family: Arial, sans-serif;
    font-size: 13px;
    font-weight: normal;
    line-height: 1.6;
    color: #687b7d;
}

/* Mobile body copy is slightly larger, matching the existing song lists. */
#content_div .seo-intro,
#content_div .seo-popular,
#content_div .seo-pagination {
    font-size: 15px;
}

#content_div .seo-breadcrumbs {
    margin-top: 8px;
    margin-bottom: 12px;
}

@media (max-width: 480px) {
    .seo-pagination {gap: 8px;}
    .seo-pagination a {padding-right: 12px; padding-left: 12px;}
}
