:root {
    --on-accent: #ffffff;
    --mute: #766360;
    --line: #e4d5d2;
    --bg: #ffffff;
    --alt: #f7efed;
    --head: #201513;
    --fg: #302321;
    --link: #a52f1d;
    --accent: #bd3c28;
}

.mast-showcase {
    margin-bottom: 32px;
    box-sizing: border-box;
    overflow-wrap: break-word;
}

.mast-showcase .mast-banner-title {
    line-height: 1.15;
    margin: 0 0 8px;
    font-size: 32px;
}

.mast-showcase .mast-blurb {
    margin: 0 0 16px;
    font-size: 17.28px;
    max-width: 60ch;
}

.mast-showcase img {
    max-width: 100%;
}

.mast-showcase-rl > .mast-wrap {
    display: grid;
    padding-bottom: 32px;
    grid-template-columns: minmax(0,1fr);
    padding-top: 32px;
    gap: 20px;
}

.mast-showcase-rl .mast-day-box {
    display: none;
}

.mast-showcase-rl .mast-day-box::before {
    content: attr(data-t);
}

.mast-showcase-rl .mast-visual img {
    min-height: 192px;
    display: block;
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.mast-section-title h1 {
    margin: 0 0 20px;
    font-size: 24px;
    color: var(--head);
}

.mast-wrap {
    margin: 0 auto;
    padding-left: 16px;
    padding-right: 16px;
    box-sizing: border-box;
    max-width: 1120px;
}

.mast-body-grid {
    padding-bottom: 40px;
    padding-top: 24px;
}

.mast-main {
    min-width: 0;
}

ul.mast-feed, ol.mast-feed {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mast-post-title {
    line-height: 1.25;
    margin: 0 0 6.4px;
    font-size: 24.8px;
    font-family: "Roboto Slab", Georgia, serif;
}

.mast-post-title a {
    text-decoration: none;
    color: var(--head);
}

.mast-post-title a:hover {
    text-decoration: underline;
    color: var(--link);
}

.mast-entry-meta {
    margin: 0 0 14.4px;
    font-size: 13.6px;
    color: var(--mute);
}

.mast-entry-meta a {
    color: var(--mute);
}

.mast-entry-text img {
    height: auto;
    max-width: 100%;
}

.mast-entry-text h2:not(.mast-post-title), .mast-post-excerpt h2 {
    margin: 20px 0 8px;
    font-size: 18.4px;
}

.mast-entry-text h3, .mast-post-excerpt h3 {
    font-size: 16.32px;
}

.mast-entry-image {
    margin: 0 0 16px;
}

.mast-entry-image img {
    display: block;
    height: auto;
    border-radius: 12px;
    width: 100%;
}

.mast-lead-post .mast-post-title {
    line-height: 1.15;
    font-size: 33.6px;
}

.mast-lead-post {
    padding-bottom: 24px;
    margin-bottom: 32px;
    border-bottom: 3px solid var(--head);
}

.mast-side-story {
    display: grid;
    margin-bottom: 32px;
    grid-template-columns: minmax(0,1fr);
    gap: 32px;
}

.mast-feed .mast-article-head {
    align-items: baseline;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.mast-feed .mast-post-title {
    font-size: 21.6px;
}

.mast-feed .mast-entry-text {
    font-size: 15.2px;
}

.mast-feed .mast-story {
    margin-bottom: 22.4px;
    border-top: 1px solid var(--line);
    padding-top: 14.4px;
}

.mast-box {
    margin-bottom: 28px;
    font-size: 14.72px;
}

.mast-panel-heading {
    text-transform: none;
    padding-bottom: 5.6px;
    margin: 0 0 9.6px;
    font-size: 16px;
    border-bottom: 2px solid var(--accent);
    font-family: "Roboto Slab", Georgia, serif;
    color: var(--head);
}

.mast-widget-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mast-widget-list li, .mast-widget-list > div {
    border-bottom: 1px solid var(--line);
    padding: 4.8px 0;
}

.mast-box a {
    text-decoration: none;
    color: var(--link);
}

.mast-box a:hover {
    text-decoration: underline;
}

.mast-page-heading {
    line-height: 1.2;
    margin: 0 0 8px;
    font-size: 33.6px;
    font-family: "Roboto Slab", Georgia, serif;
    color: var(--head);
}

.mast-article-meta {
    margin: 0 0 24px;
    font-size: 14.08px;
    color: var(--mute);
}

.mast-article-meta a {
    color: var(--mute);
}

.mast-markdown img {
    height: auto;
    max-width: 100%;
}

.mast-article-foot {
    margin-top: 40px;
    border-top: 1px solid var(--line);
    padding-top: 24px;
}

.mast-outline {
    border-radius: 12px;
    margin-bottom: 24px;
    background: var(--alt);
    padding: 16px 20px;
}

.mast-outline p {
    margin: 0 0 6.4px;
}

.mast-intro-box {
    border-radius: 12px;
    margin-bottom: 24px;
    padding: 20px;
    border: 1px solid var(--line);
}

.mast-intro-box p {
    margin: 0 0 6.4px;
}

.mast-further h2 {
    font-size: 18.4px;
}

.mast-post-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 24px;
    flex-wrap: wrap;
    gap: 16px;
}

.mast-trail {
    margin: 0 0 16px;
    font-size: 13.12px;
    color: var(--mute);
}

.mast-trail a {
    color: var(--mute);
}

.mast-site-footer-mr {
    font-size: 12.8px;
    margin-top: 32px;
    border-top: 1px solid var(--line);
    color: var(--mute);
}

.mast-site-footer-mr > .mast-wrap {
    align-items: center;
    display: flex;
    padding-bottom: 14.4px;
    justify-content: space-between;
    padding-top: 14.4px;
    flex-wrap: wrap;
    gap: 12px;
}

.mast-site-footer-mr a {
    margin-left: 9.6px;
    color: var(--mute);
}

.mast-site-footer-mr p {
    margin: 0;
}

.mast-posts-heading, h2.mast-posts-heading {
    margin: 0 0 24px;
}

.mast-posts-heading h2, h2.mast-posts-heading {
    margin-bottom: 5.6px;
    font-size: 30.4px;
}

.mast-posts-heading p {
    margin: 0;
    color: var(--mute);
}

.mast-reach-us {
    margin: 16px 0;
    box-sizing: border-box;
    max-width: 100%;
}

.mast-reach-us .mast-quote-form {
    display: grid;
    grid-template-columns: minmax(0,1fr);
    gap: 9.6px;
}

.mast-reach-us .mast-field {
    display: grid;
    min-width: 0;
    gap: 3.2px;
}

.mast-reach-us label {
    font-size: 13.6px;
    font-weight: 600;
}

.mast-reach-us input[type=text], .mast-reach-us input[type=tel], .mast-reach-us textarea {
    font: inherit;
    border-radius: 12px;
    background: var(--bg);
    width: 100%;
    padding: 8px 9.6px;
    border: 1px solid var(--line);
    box-sizing: border-box;
    color: var(--fg);
}

.mast-reach-us button {
    font: inherit;
    cursor: pointer;
    border-radius: 12px;
    background: var(--accent);
    font-weight: 700;
    padding: 10.4px 17.6px;
    border: 0;
    color: var(--on-accent);
}

.mast-reach-us .mast-phone-line {
    margin: 9.6px 0 0;
    font-size: 14.4px;
}

.mast-reach-us .mast-kicker-text {
    margin: 0 0 9.6px;
}

.mast-reach-us-boxed {
    box-shadow: 0 10px 30px rgba(0,0,0,.14);
    border-radius: 24px;
    background: var(--bg);
    padding: 20px;
    border: 1px solid var(--line);
    color: var(--fg);
}

.mast-reach-us-inline {
    border-radius: 24px;
    background: var(--alt);
    padding: 14.4px;
    color: var(--fg);
}

.mast-reach-us-tabbed {
    box-shadow: 0 6px 20px rgba(0,0,0,.1);
    background: var(--bg);
    border-top: 4px solid var(--accent);
    padding: 16px;
    color: var(--fg);
}

.mast-reach-us .mast-toggle-group {
    display: flex;
    border-bottom: 1px solid var(--line);
    flex-wrap: wrap;
    gap: 0;
}

.mast-reach-us .mast-toggle-group input {
    height: 1px;
    position: absolute;
    width: 1px;
    opacity: 0;
}

.mast-reach-us .mast-toggle-group label {
    cursor: pointer;
    border-bottom: 3px solid transparent;
    padding: 7.2px 14.4px;
    color: var(--mute);
}

.mast-reach-us .mast-toggle-group input:checked + label {
    border-bottom-color: var(--accent);
    color: var(--head);
}

.mast-reach-us-call {
    border-radius: 24px;
    background: var(--alt);
    padding: 16px;
    text-align: center;
    color: var(--fg);
}

.mast-reach-us .mast-call-button {
    display: inline-block;
    border-radius: 999px;
    font-size: 20px;
    background: var(--accent);
    font-weight: 700;
    padding: 14.4px 25.6px;
    text-decoration: none;
    color: var(--on-accent);
}

.mast-reach-us-two {
    border-radius: 24px;
    background: var(--bg);
    padding: 17.6px;
    border: 2px dashed var(--line);
    color: var(--fg);
}

.mast-reach-us fieldset {
    display: grid;
    min-width: 0;
    margin: 0;
    padding: 0;
    gap: 8px;
    border: 0;
}

.mast-reach-us legend {
    font-size: 12px;
    letter-spacing: 0.08em;
    color: var(--mute);
}

.mast-reach-us details > summary {
    display: inline-block;
    list-style: none;
    cursor: pointer;
    border-radius: 12px;
    margin: 4.8px 0;
    background: var(--head);
    padding: 8px 16px;
    color: var(--bg);
}

.mast-reach-us-compact {
    border-radius: 24px;
    background: var(--alt);
    padding: 16px;
    border: 1px solid var(--line);
    color: var(--fg);
}

.mast-reach-us-dock {
    border-radius: 24px;
    background: var(--alt);
    padding: 16px;
    border: 1px solid var(--line);
    color: var(--fg);
}

.mast-topic-index {
    border-radius: 24px;
    margin: 0 0 32px;
    background: var(--alt);
    padding: 16px 18.4px;
    border: 1px solid var(--line);
    overflow-wrap: anywhere;
}

.mast-topic-index p {
    margin: 0 0 8px;
}

.mast-topic-index ul, .mast-topic-index ol {
    margin: 0;
    padding-left: 20px;
}

.mast-topic-index li {
    margin: 0 0 5.6px;
}

.mast-topic-index ul {
    list-style: none;
    padding-left: 0;
}

.mast-topic-index li strong {
    display: inline-block;
    min-width: 24px;
    color: var(--accent);
}

.mast-image-strip {
    display: grid;
    margin: 0 0 32px;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 8px;
}

.mast-image-strip a {
    display: block;
    border-radius: 12px;
    background: var(--alt);
    overflow: hidden;
}

.mast-image-strip img {
    display: block;
    object-fit: cover;
    height: auto;
    width: 100%;
    aspect-ratio: 4 / 3;
}

.mast-article-head .mast-article-meta {
    margin: 0 0 20px;
}

.mast-post-full-rc .mast-grid {
    display: grid;
    grid-template-columns: minmax(0,1fr);
    gap: 12px;
}

.mast-post-full-rc .mast-grid > h2 {
    grid-column: 1 / -1;
}

.mast-post-full-rc .mast-grid > a {
    display: block;
    border-radius: 24px;
    overflow: hidden;
    text-decoration: none;
    border: 1px solid var(--line);
    color: var(--head);
}

.mast-post-full-rc .mast-grid img {
    display: block;
    object-fit: cover;
    width: 100%;
    aspect-ratio: 16 / 9;
}

.mast-post-full-rc .mast-grid span {
    display: block;
    padding: 9.6px;
}

.mast-site-name::before {
    display: inline-block;
    height: 14.4px;
    border-radius: 24px;
    background: var(--accent);
    content: "";
    margin-right: 7.2px;
    width: 14.4px;
    vertical-align: middle;
}

.mast-entry-text a, .mast-markdown a {
    background: var(--alt);
    padding: 0 2.4px;
    text-decoration: none;
}

.mast-entry-image img, .mast-markdown img, .mast-entry-text img {
    border-radius: 20px;
}

.mast-entry-text, .mast-markdown {
    hyphens: auto;
    text-align: justify;
}

body {
    line-height: 1.5;
}

[data-rt]::after {
    content: " · " attr(data-rt);
}

.mast-trail {
    border-radius: 12px;
    padding: 5.6px 11.2px;
    border: 1px solid var(--line);
}

.mast-outline ul, .mast-outline ol {
    display: flex;
    flex-wrap: wrap;
    gap: 6.4px;
}

.mast-outline li {
    border-radius: 999px;
    background: var(--alt);
    border-bottom: 0;
    padding: 2.4px 9.6px;
}

.mast-entry-text blockquote, .mast-markdown blockquote {
    background: var(--accent);
    border-left: 0;
    padding: 16px;
    color: var(--on-accent);
}

.mast-entry-text ul, .mast-markdown ul {
    list-style-type: circle;
}

.mast-chips a {
    border-radius: 0;
    background: transparent;
    border-bottom: 2px solid var(--accent);
    border: 0;
}

.mast-post-nav-top {
    margin: 8px 0;
    text-align: right;
}

.mast-post-nav-top-circle a {
    align-items: center;
    display: inline-flex;
    height: 38.4px;
    border-radius: 50%;
    justify-content: center;
    background: var(--accent);
    width: 38.4px;
    text-decoration: none;
    color: var(--on-accent);
}

.mast-post-full-pg-band .mast-article-head {
    border-radius: 24px;
    margin-bottom: 20px;
    background: var(--accent);
    padding: 20px 16px;
    color: var(--on-accent);
}

.mast-post-full-pg-band .mast-page-heading {
    margin: 0;
    color: var(--on-accent);
}

.mast-history.mast-grid {
    display: grid;
    grid-template-columns: minmax(0,1fr);
    gap: 12px;
}

.mast-history.mast-grid > div {
    border-radius: 24px;
    padding: 14.4px;
    border: 1px solid var(--line);
}

.mast-history.mast-grid a {
    display: block;
    text-decoration: none;
}

.mast-history.mast-grid span {
    display: block;
    font-size: 13.6px;
    color: var(--mute);
}

.mast-post-nav-more a {
    display: block;
    border-radius: 24px;
    background: var(--alt);
    font-weight: 700;
    width: 100%;
    padding: 12.8px;
    text-align: center;
}

@media (min-width: 640px) {
    .mast-showcase .mast-banner-title {
        font-size: 41.6px;
    }
    .mast-showcase-rl > .mast-wrap {
        align-items: stretch;
        grid-template-columns: 40px minmax(0,3fr) minmax(0,2fr);
    }
    .mast-showcase-rl .mast-day-box {
        text-transform: uppercase;
        display: block;
        font-size: 12px;
        transform: rotate(180deg);
        writing-mode: vertical-rl;
        letter-spacing: 0.2em;
        border-right: 2px solid var(--accent);
        color: var(--mute);
    }
    .mast-reach-us-inline .mast-quote-form {
        align-items: end;
        grid-template-columns: minmax(0,1fr) minmax(0,1fr) auto;
    }
    .mast-image-strip {
        grid-template-columns: repeat(4, minmax(0,1fr));
    }
    .mast-post-full-rc .mast-grid {
        grid-template-columns: repeat(3, minmax(0,1fr));
    }
    .mast-history.mast-grid {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }
}

@media (min-width: 960px) {
    .mast-side-story {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }
}

@media (max-width: 639px) {
    .mast-reach-us-dock {
        box-shadow: 0 -6px 18px rgba(0,0,0,.15);
        left: 0;
        right: 0;
        border-radius: 0;
        margin: 0;
        border-top: 2px solid var(--accent);
        position: fixed;
        padding: 8px 9.6px;
        border: 0;
        z-index: 50;
        bottom: 0;
    }
    .mast-reach-us-dock > .mast-kicker-text {
        display: none;
    }
    .mast-reach-us-dock .mast-quote-form {
        align-items: center;
        grid-template-columns: minmax(0,1fr) minmax(0,1fr) auto;
        gap: 6.4px;
    }
    .mast-reach-us-dock .mast-field label {
        height: 1px;
        overflow: hidden;
        position: absolute;
        clip: rect(0 0 0 0);
        width: 1px;
        white-space: nowrap;
    }
    .mast-reach-us-dock button {
        padding: 8.8px 11.2px;
    }
    body:has(.mast-reach-us-dock) {
        padding-bottom: 64px;
    }
}
