/* Refinement scoped to the books page. */
.livros-page .site-header {
    background: #efe9e0;
    border-bottom: 1px solid #d8ccbc;
    box-shadow: 0 5px 22px #49341c0d;
    backdrop-filter: none;
}
.livros-page .header-contact {
    border-bottom-color: #b5a38c;
}
.livros-page .header-inner nav a[aria-current] {
    color: #98400c;
}
.livros-page .books-chapters {
    background: #29302e;
    color: #faf9f6;
    border-top: 3px solid var(--orange);
}
.books-chapters-inner {
    display: grid;
    grid-template-columns: 1.1fr 1fr 1fr 1fr;
    gap: 0;
    align-items: stretch;
    padding: 29px 0 31px;
}
.books-chapters-intro {
    font-size: 14px;
    line-height: 1.6;
    color: #e4e5dd;
    padding-right: 30px;
    align-self: center;
}
.books-chapters-intro > span {
    display: block;
    font-size: 9px;
    letter-spacing: 0.13em;
    font-weight: 800;
    color: #eeb991;
    margin-bottom: 9px;
}
.books-chapters-inner > a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    min-width: 0;
    border-left: 1px solid #ffffff29;
    padding: 5px 28px;
}
.books-chapters-inner > a:last-child {
    padding-right: 0;
}
.chapter-kicker {
    font-size: 9px;
    letter-spacing: 0.11em;
    color: #c8b7a4;
    font-weight: 600;
}
.chapter-title {
    font-size: 18px;
    letter-spacing: -0.025em;
    line-height: 1.35;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}
.chapter-title svg {
    width: 19px;
    height: 19px;
    color: #edaa78;
    transition: transform 0.2s;
}
.books-chapters-inner > a:hover {
    color: #f5bd94;
}
.books-chapters-inner > a:hover svg {
    transform: translateX(4px);
}
.livros-page .books-collection {
    background: #f1f2ec;
    padding-top: 78px;
    padding-bottom: 95px;
    border-bottom: 1px solid #e0e2d7;
}
.livros-page .books-collection .section-heading {
    margin-bottom: 38px;
}
.livros-page .books-collection h2 em {
    color: #78806e;
}
.livros-page .book-card {
    background: #fff;
    border: 1px solid #dfe1d6;
    border-radius: 15px;
    box-shadow: 0 8px 24px #363e2a05;
    scroll-margin-top: 120px;
}
.livros-page .book-card .book-stage {
    border-radius: 14px 14px 0 0;
}
.livros-page .book-card .book-copy {
    padding: 26px 25px 30px;
}
.livros-page .book-card .book-copy h3 {
    font-size: 27px;
    min-height: 65px;
}
.livros-page .book-card .book-copy > p:not(.eyebrow) {
    font-size: 15px;
}
.livros-page .book-card-actions {
    padding-top: 2px;
}
.livros-page .contact-section {
    padding-top: 75px;
}
@media (max-width: 1199px) {
    .books-chapters-inner > a {
        padding-left: 22px;
        padding-right: 22px;
    }
    .chapter-title {
        font-size: 16px;
        gap: 10px;
    }
    .books-chapters-intro {
        font-size: 13px;
        padding-right: 22px;
    }
    .books-chapters-intro > span {
        font-size: 8px;
    }
    .livros-page .book-card .book-copy {
        padding: 24px 20px 27px;
    }
    .livros-page .book-card .book-copy h3 {
        font-size: 25px;
    }
}
@media (max-width: 991px) {
    .livros-page .header-inner nav {
        background: #efe9e0;
        border-bottom-color: #d8ccbc;
    }
    .books-chapters-inner {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        padding-top: 22px;
        padding-bottom: 25px;
    }
    .books-chapters-intro {
        grid-column: 1/-1;
        padding: 0 0 19px;
        margin-bottom: 19px;
        border-bottom: 1px solid #ffffff29;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 20px;
    }
    .books-chapters-intro > span {
        margin: 0;
        font-size: 9px;
    }
    .books-chapters-inner > a:first-of-type {
        border-left: 0;
        padding-left: 0;
    }
    .chapter-title {
        font-size: 17px;
    }
    .livros-page .book-card .book-copy h3 {
        font-size: 23px;
        min-height: 80px;
    }
    .livros-page .book-card .book-copy > p:not(.eyebrow) {
        font-size: 14px;
    }
    .livros-page .books-collection {
        padding-top: 65px;
        padding-bottom: 75px;
    }
}
@media (max-width: 640px) {
    .books-chapters-inner {
        padding-top: 20px;
        padding-bottom: 23px;
    }
    .books-chapters-intro {
        display: block;
        margin-bottom: 17px;
        padding-bottom: 17px;
        font-size: 14px;
    }
    .books-chapters-intro > span {
        font-size: 9px;
        margin-bottom: 5px;
    }
    .books-chapters-inner > a {
        padding: 0 12px;
        gap: 9px;
    }
    .chapter-kicker {
        font-size: 9px;
        letter-spacing: 0;
    }
    .chapter-title {
        font-size: 16px;
        line-height: 1.35;
        max-width: 105px;
    }
    .chapter-title svg {
        display: none;
    }
    .livros-page .books-collection {
        padding-top: 52px;
        padding-bottom: 60px;
    }
    .livros-page .books-collection .section-heading {
        margin-bottom: 30px;
    }
    .livros-page .book-card .book-copy {
        padding: 25px 24px 29px;
    }
    .livros-page .book-card .book-copy h3 {
        font-size: 29px;
        min-height: 0;
    }
    .livros-page .book-card .book-copy > p:not(.eyebrow) {
        font-size: 15px;
    }
    .livros-page .book-card {
        scroll-margin-top: 94px;
    }
    .livros-page .contact-section {
        padding-top: 50px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .chapter-title svg {
        transition: none;
    }
}
