/* McGowin Section Styles */

body {
    background-color: #fff;
}

/* General anchor tag styling */
a {
    text-decoration: none;
}
.mcgowin-container {
    max-width: 650px;
    margin: 0 auto;
    padding: 20px;
    font-family: Georgia, Times, serif;
    line-height: 22px;
}

.mcgowin-header {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid #000;
}

.mcgowin-title {
    font-size: 18px;
    font-weight: bold;
    margin: 10px 0;
}

.mcgowin-title a {
    color: #551A8B;
    text-decoration: none;
}

.mcgowin-title a:hover {
    text-decoration: underline;
}

.mcgowin-title .red {
    color: #CC0000;
}

.mcgowin-author {
    font-size: 14px;
    margin: 10px 0 20px 0;
}

.mcgowin-content {
    padding-bottom: 40px;
}

/* Remove Bootstrap's blockquote left border */
blockquote {
    border-left: none;
}

/* Left-align main-content wrapper */
.main-content {
    text-align: left;
    margin: 10px 0;
}

.dedication-content {
    text-align: left;
}

.author-content {
    text-align: left;
}

.author-photo {
    float: right;
    margin-left: 40px;
    border: 1px solid #000;
}
.trilogy-section {
    margin: 30px 0;
    text-align: center;
}

.trilogy-number {
    font-size: 14px;
    margin-bottom: 15px;
}

.trilogy-title {
    font-size: 14px;
    font-weight: bold;
    margin: 15px 0;
}

.trilogy-title a {
    color: #551A8B;
    text-decoration: none;
}

.trilogy-title a:hover {
    color: #6A0DAD;
    text-decoration: underline;
}

.trilogy-meta {
    font-size: 14px;
    font-style: italic;
    line-height: 20px;
    margin: 10px 70px;
}

.trilogy-description {
    font-size: 14px;
    line-height: 20px;
    margin: 10px 40px;
}

.trilogy-quote {
    font-size: 14px;
    line-height: 20px;
    margin: 10px 30px;
}

.divider {
    text-align: center;
}

.about-link {
    font-size: 14px;
    margin: 20px 0;
    text-align: center;
}

.about-link a {
    color: #000;
    text-decoration: none;
}

.about-link a:hover {
    text-decoration: underline;
}

.mcgowin-footer {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid #000;
}

.footer-link {
    font-size: 14px;
}

.footer-link a {
    color: #000;
    text-decoration: none;
}

.footer-link a:hover {
    text-decoration: underline;
}

/* Chapter Content Styles */
.chapter-heading {
    font-size: 14px;
    color: #CC0000;
    margin-bottom: 20px;
}

.chapter-title {
    font-size: 14px;
    color: #CC0000;
}

.chapter-subtitle {
    font-size: 14px;
}

.chapter-day {
    font-size: 14px;
}
.chapter-text {
    font-size: 14px;
    /* text-indent: 2em; */
    margin: 10px 0;
}

.chapter-text:first-of-type {
    text-indent: 0;
}

.text-center {
    text-align: center;
}

.chapter-quote {
    font-size: 14px;
    font-style: italic;
    text-align: center;
    margin: 30px 0 30px 0;
        padding-left: 40px;
        padding-right: 40px;
}

.chapter-links {
    text-align: center;
    margin: 30px 0;
}

.chapter-links a {
    color: #551A8B;
    text-decoration: none;
}

.chapter-links a:hover {
    text-decoration: none;
}

/* Remove underlines from all links in chapter content */
.mcgowin-content a {
    color: #551A8B;
    text-decoration: none;
}

.mcgowin-content a:hover {
    text-decoration: none;
}

.chapter-copyright {
    font-size: 14px;
    font-style: italic;
    text-align: center;
    margin: 40px 0 20px 0;
}

.back-link {
    font-size: 14px;
    margin-top: 20px;
}
/* Index Page Styles */
.index-quote {
    font-size: 14px;
    font-style: italic;
    text-align: center;
    margin: 20px 0;
}

.index-links {
    font-size: 14px;
    text-align: center;
    margin: 20px 0;
}

.index-copyright {
    font-size: 14px;
    font-style: italic;
    text-align: center;
    margin: 20px 0;
}

/* Contents Page Styles */
.contents-title {
    font-size: 14px;
    font-weight: bold;
    color: #CC0000;
}

.contents-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 600px;
    margin: 20px auto;
    text-align: left;
}

.contents-grid--two-column {
    padding: 0 40px;
}

.contents-grid--single-column {
    grid-template-columns: 1fr;
    max-width: none;
}
.contents-part {
    font-size: 14px;
}

.chapter-grid .part-heading {
    font-size: 14px;
    font-style: italic;
    font-weight: normal;
        grid-column: 1 / -1;
            max-width: 90px;
            text-align: right;
            padding-right: 10px;
}

.chapter-list {
    list-style: none;
    padding: 0;
    margin: 0;
    line-height: 20px;
}

.chapter-list li {
    margin: 5px 0;
    text-indent: -2em;
        padding-left: 2em;
}

.chapter-list .spacer {
    height: 15px;
    margin: 0;
}

.chapter-grid {
    display: grid;
    grid-template-columns: auto auto 1fr;
    gap: 0 10px;
    row-gap: 5px;
    font-size: 14px;
    line-height: 20px;
}

.chapter-grid .day-label {
    text-align: right;
    color: rgb(102, 102, 102);
    font-size: 12px;
}

.chapter-grid .chapter-number {
    text-align: center;
    width: 20px;
}

.chapter-grid .contents-title {
    font-weight: normal;
}

.chapter-grid .contents-title a {
    color: #551A8B;
    text-decoration: none;
}

.chapter-grid .contents-title a:hover {
    text-decoration: none;
}

.chapter-grid .grid-spacer {
    height: 10px;
}

.epilogue-item {
    grid-column: 1 / -1;
    text-align: center;
}

@media (max-width: 768px) {
    .mcgowin-container {
        padding: 15px;
    }
    
    .chapter-text {
        text-indent: 1.5em;
    }
    
    .contents-grid--two-column {
        grid-template-columns: 1fr;
        padding: 0;
        gap: 20px;
    }
    
    .epilogue-item {
        text-align: left;
    }
}
