/* Use the Edward Tufte site font stack across the site. */
body, p, li, blockquote, h1, h2, h3, h4, h5, h6, 
.newthought, .epigraph, .marginnote, .sidenote,
.content, article, section, div, span {
    font-family: "Lato", "Helvetica Neue", Arial, sans-serif !important;
    text-rendering: optimizeLegibility !important;
    font-feature-settings: normal !important;
    word-spacing: normal !important;
    letter-spacing: normal !important;
}

p {
    line-height: 1.45 !important;
}

li {
    line-height: 1.3 !important;
}

blockquote p {
    line-height: 1.4 !important;
}

/* Epigraphs can use the Tufte right margin without inheriting the main-column
   blockquote widths. On narrow screens the standard margin-note toggle reveals
   the quote inline. */
.margin-epigraph {
    width: 30%;
    margin-top: 1.4rem;
    margin-right: 10%;
}

/* Keep a trailing margin epigraph from floating into the footer. This
   clearfix also works in browsers whose web views do not support flow-root. */
article#main > section::after {
    display: table;
    clear: both;
    content: "";
}

.margin-epigraph blockquote {
    margin: 0;
    font-size: 1.05rem;
    font-style: italic;
}

.margin-epigraph blockquote p,
.margin-epigraph blockquote footer {
    width: 100%;
}

.margin-epigraph blockquote p {
    margin: 0 0 0.65rem;
}

.margin-epigraph blockquote footer {
    font-size: 0.95rem;
    font-style: normal;
    line-height: 1.3;
    text-align: right;
}

.margin-epigraph blockquote footer cite {
    font-style: italic;
}

@media (max-width: 760px) {
    .margin-epigraph {
        display: block;
        float: none;
        clear: both;
        left: auto;
        width: 90%;
        margin: 1.5rem 5%;
    }
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.1 !important;
}

/* Override any theme-specific font settings */
html body * {
    font-family: "Lato", "Helvetica Neue", Arial, sans-serif !important;
    text-rendering: optimizeLegibility !important;
    font-feature-settings: normal !important;
}

body {
    font-family: "Lato", "Helvetica Neue", Arial, sans-serif !important;
}

.home-tufte {
    max-width: 1180px;
    margin: 0 auto;
    padding: 42px 28px 64px;
    color: #4c4c4c;
}

.home-masthead {
    margin: 0 0 42px;
    padding: 0 0 22px;
    border-bottom: 1px solid #dddddd;
}

.home-topline {
    display: flex;
    gap: 1.5rem;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 10px;
}

.home-kicker,
.home-section-label {
    margin: 0 0 10px;
    color: #b1282b;
    font-size: 0.82rem;
    font-weight: 900;
    line-height: 1.2 !important;
    text-transform: uppercase;
}

.home-topline .home-kicker {
    margin-bottom: 0;
}

.home-topline .menu {
    margin: 0;
}

.home-topline .menu ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 1rem;
    justify-content: flex-end;
    margin: 0;
    padding: 0;
    list-style: none;
}

.home-topline .menu li {
    margin: 0;
    padding: 0;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.2 !important;
    text-transform: uppercase;
}

.home-topline .menu a {
    color: #b1282b;
    text-decoration: none;
}

.home-topline .menu a:hover {
    color: #e13438;
}

.home-masthead h1 {
    max-width: 980px;
    margin: 0;
    color: #4c4c4c;
    font-size: 2.55rem;
    font-weight: 700;
    line-height: 1.08 !important;
    text-transform: uppercase;
}

.home-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
    gap: 48px;
    align-items: start;
}

.home-featured {
    margin: 0;
}

.category-featured {
    margin: 2rem 0 3rem;
}

.home-featured h2 {
    margin: 0 0 12px;
    color: #b1282b;
    font-size: 2.05rem;
    font-weight: 700;
    line-height: 1.12 !important;
    text-transform: uppercase;
}

.category-featured h2 {
    margin: 0 0 12px;
    color: #b1282b;
    font-size: 2.05rem;
    font-weight: 700;
    line-height: 1.12 !important;
    text-transform: uppercase;
}

.home-featured h2 a,
.category-featured h2 a,
.home-recent a,
.home-saved-links a,
.home-read-more {
    color: #b1282b;
    text-decoration: none;
}

.home-featured h2 a:hover,
.category-featured h2 a:hover,
.home-recent a:hover,
.home-saved-links a:hover,
.home-read-more:hover {
    color: #e13438;
}

.home-date {
    margin: 0 0 20px;
    color: #777777;
    font-size: 0.95rem;
    line-height: 1.25 !important;
}

.home-summary {
    max-width: 720px;
    margin: 0 0 18px;
    font-size: 1.28rem;
    line-height: 1.45 !important;
}

.home-read-more {
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
}

.home-saved-links {
    margin: 0;
    padding: 0;
}

.home-saved-links ul,
.home-recent ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

.home-saved-links li {
    margin: 0;
    padding: 11px 0;
    border-top: 1px solid #eeeeee;
    font-size: 0.98rem;
    line-height: 1.25 !important;
}

.home-saved-links li span {
    display: block;
    margin-top: 4px;
    color: #777777;
    font-size: 0.78rem;
    line-height: 1.2 !important;
    text-transform: uppercase;
}

.home-empty {
    margin: 0;
    padding: 12px 0;
    border-top: 1px solid #eeeeee;
    color: #777777;
    font-size: 0.95rem;
    line-height: 1.35 !important;
}

.home-recent {
    margin: 46px 0 0;
    padding-top: 24px;
    border-top: 1px solid #dddddd;
}

.home-recent li {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 92px;
    gap: 18px;
    margin: 0;
    padding: 12px 0;
    border-top: 1px solid #eeeeee;
    font-size: 1.05rem;
    line-height: 1.25 !important;
}

.home-recent time {
    color: #777777;
    font-size: 0.82rem;
    text-align: right;
}

.taxonomy-list {
    margin-top: 2rem;
}

.taxonomy-list h2 {
    margin: 2rem 0 0.5rem;
    color: #b1282b;
    font-size: 1rem;
    font-weight: 900;
    line-height: 1.2 !important;
    text-transform: uppercase;
}

.taxonomy-list ul {
    margin: 0 0 1.5rem;
    padding: 0;
    list-style: none;
}

.taxonomy-list li {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1rem;
    margin: 0;
    padding: 0.55rem 0;
    border-top: 1px solid #eeeeee;
}

.taxonomy-list a {
    color: #b1282b;
    text-decoration: none;
}

.taxonomy-list a:hover {
    color: #e13438;
}

.taxonomy-list time,
.taxonomy-list span {
    color: #777777;
    font-size: 0.85rem;
}

@media (max-width: 760px) {
    .home-tufte {
        padding: 30px 20px 48px;
    }

    .home-masthead h1 {
        font-size: 1.75rem;
    }

    .home-topline {
        display: block;
    }

    .home-topline .menu {
        margin-top: 0.75rem;
    }

    .home-topline .menu ul {
        justify-content: flex-start;
    }

    .home-grid {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .home-featured h2 {
        font-size: 1.55rem;
    }

    .category-featured h2 {
        font-size: 1.55rem;
    }

    .home-summary {
        font-size: 1.08rem;
    }

    .home-recent li {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .home-recent time {
        text-align: left;
    }

    .taxonomy-list li {
        grid-template-columns: 1fr;
        gap: 0.2rem;
    }
}
