/* Traplift guide, article navigation and information components.
 * Source: reference/website/style.css. Keep the documented module order.
 */

.breadcrumb {
    font-size: 11px;
    display: flex;
    gap: 9px;
    align-items: center;
    color: var(--muted);
    padding: 23px 0;
}

.breadcrumb a {
    text-decoration: none;
}

.lift-top {
    background: var(--cream);
    padding-bottom: 50px;
}

.lift-heading {
    text-align: center;
    margin: 8px auto 31px;
}

.lift-heading .eyebrow {
    justify-content: center;
    margin-bottom: 13px;
}

.lift-heading h1 {
    font-size: 47px;
    letter-spacing: -2.3px;
}

.lift-heading p {
    font-size: 15px;
    margin: 15px auto 0;
    max-width: 620px;
}

.lift-quiz-grid {
    display: grid;
    grid-template-columns: 1.55fr 1fr;
    gap: 25px;
}

.inline-quiz {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 15px;
    padding: 30px;
}

.inline-quiz .progress-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 10px;
    letter-spacing: 1px;
    color: var(--muted);
    text-transform: uppercase;
    margin-bottom: 19px;
}

.inline-quiz h2 {
    font-size: 24px;
    letter-spacing: -.7px;
}

.inline-quiz>p {
    font-size: 13px;
    margin: 9px 0 25px;
}

.trap-choices {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 10px;
}

.trap-option {
    padding: 18px 9px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--paper);
    text-align: center;
    transition: background .2s;
}

.trap-option:hover {
    background: var(--sage);
    border-color: var(--green);
}

.trap-option svg {
    width: 53px;
    height: 53px;
    stroke-width: 1.3;
    margin: 0 auto 13px;
    display: block;
}

.trap-option span {
    display: block;
    font-size: 12px;
    font-weight: 600;
}

.trap-option small {
    font-size: 10px;
    color: var(--muted);
    display: block;
    margin-top: 5px;
}

.inline-quiz .unknown {
    display: block;
    text-align: center;
    background: none;
    border: none;
    text-decoration: underline;
    text-underline-offset: 4px;
    margin: 18px auto 0;
    font-size: 11px;
}

.inline-quiz .mini-progress {
    background: var(--line);
    height: 4px;
    border-radius: 4px;
    margin-top: 21px;
}

.mini-progress i {
    display: block;
    background: #b9c99e;
    height: 100%;
    width: 20%;
    border-radius: 4px;
}

.lift-photo {
    margin: 0;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    min-height: 320px;
}

.lift-photo img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    position: absolute;
}

.lift-photo figcaption {
    position: absolute;
    bottom: 13px;
    left: 13px;
    background: #fffefae6;
    font-size: 11px;
    padding: 8px 11px;
    border-radius: 6px;
}

.article-nav {
    position: sticky;
    top: 94px;
    z-index: 20;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
}

.article-nav .wrap {
    display: flex;
    gap: 29px;
    overflow-x: auto;
    white-space: nowrap;
}

.article-nav a {
    padding: 20px 0;
    font-size: 11px;
    text-decoration: none;
}

.article-nav a:hover {
    color: var(--green);
    text-decoration: underline;
    text-underline-offset: 8px;
}

.article-layout {
    display: grid;
    grid-template-columns: minmax(0,1fr) 290px;
    gap: 85px;
    padding-top: 64px;
    padding-bottom: 70px;
}

.article-body>section {
    scroll-margin-top: 180px;
    padding: 0 0 47px;
    margin: 0 0 42px;
    border-bottom: 1px solid var(--line);
}

.article-body h2 {
    font-size: 31px;
    letter-spacing: -1.1px;
    margin-bottom: 20px;
}

.article-body h3 {
    font-size: 20px;
    letter-spacing: -.6px;
}

.article-body p {
    font-size: 15px;
    line-height: 1.85;
}

.article-body .eyebrow {
    font-size: 10px;
}

.article-body ul {
    padding-left: 20px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.9;
}

.article-aside {
    position: sticky;
    top: 190px;
    align-self: start;
}

.aside-box {
    background: var(--sage);
    border: 1px solid var(--line);
    padding: 25px;
    border-radius: 14px;
}

.aside-box img {
    width: 64px;
    height: 64px;
    margin-bottom: 20px;
}

.aside-box h3 {
    font-size: 24px;
}

.aside-box p {
    font-size: 13px;
    line-height: 1.8;
}

.aside-box .button {
    font-size: 12px;
    padding: 13px 14px;
    gap: 10px;
}

.aside-meta {
    font-size: 10px;
    text-align: center;
    margin-top: 10px;
}

.aside-source {
    padding: 22px 7px;
    font-size: 11px;
    line-height: 1.7;
    color: var(--muted);
}

.benefits-list {
    list-style: none!important;
    padding: 0!important;
    display: grid;
    gap: 12px;
    margin-top: 25px;
}

.benefits-list li {
    display: flex;
    gap: 13px;
    align-items: flex-start;
}

.benefits-list svg {
    width: 18px;
    height: 18px;
    margin-top: 4px;
}

.small-card-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin: 25px 0;
}

.small-card {
    border: 1px solid var(--line);
    padding: 23px;
    border-radius: 12px;
}

.small-card>svg {
    width: 38px;
    height: 38px;
    margin-bottom: 15px;
}

.small-card h3 {
    font-size: 17px;
}

.small-card p {
    font-size: 13px;
    line-height: 1.8;
    margin-bottom: 0;
}

.cost-tabs {
    display: flex;
    border: 1px solid var(--line);
    border-radius: 9px;
    padding: 4px;
    background: var(--sage);
    margin: 24px 0 0;
}

.cost-tabs button {
    flex: 1;
    border: 0;
    background: transparent;
    padding: 12px 8px;
    border-radius: 6px;
    font-size: 13px;
}

.cost-tabs button[aria-selected=true] {
    background: var(--paper);
    box-shadow: 0 2px 8px #173e3010;
    font-weight: 600;
}

.cost-panel {
    padding: 25px 22px;
    border: 1px solid var(--line);
    border-radius: 0 0 9px 9px;
    border-top: 0;
}

.cost-panel h3 {
    font-size: 19px;
}

.cost-panel p {
    font-size: 14px;
    margin-bottom: 0;
}

.cost-table {
    border-collapse: collapse;
    width: 100%;
    margin-top: 25px;
    font-size: 13px;
    line-height: 1.7;
}

.cost-table th {
    text-align: left;
    background: var(--sage);
    font-weight: 600;
    padding: 13px 15px;
}

.cost-table td {
    padding: 16px 15px;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
}

.cost-table td:first-child {
    color: var(--ink);
    font-weight: 500;
    min-width: 135px;
}

.hint-box {
    border-left: 3px solid #bc9d50;
    background: #f5f0e1;
    padding: 20px 23px;
    margin-top: 25px;
    border-radius: 0 8px 8px 0;
}

.hint-box strong {
    font-size: 14px;
}

.hint-box p {
    font-size: 13px;
    margin: 8px 0 0;
}

.source-link {
    font-size: 11px;
    display: inline-block;
    margin-top: 15px;
    text-underline-offset: 3px;
}

.article-cta {
    display: flex;
    gap: 25px;
    align-items: center;
    padding: 28px;
    background: var(--green);
    border-radius: 13px;
    color: white;
    margin: 25px 0;
}

.article-cta h3 {
    font-size: 22px;
}

.article-cta p {
    font-size: 13px;
    color: #e3ebdf;
    margin: 8px 0 0;
}

.article-cta .button {
    white-space: nowrap;
    font-size: 12px;
}

.sources {
    font-size: 12px;
    line-height: 1.8;
    color: var(--muted);
}

.sources li {
    margin-bottom: 7px;
}

.sources a {
    text-underline-offset: 3px;
}
