/* ==========================================================================
   Perf-Safety :: Blog module
   Listing (blog.php) + Detail (blog-details.php)
   Built on the existing site tokens: Roboto, #d41d2d brand red, #221f1f ink.
   ========================================================================== */

:root {
    --blog-red: #d41d2d;
    --blog-red-dark: #ad0515;
    --blog-ink: #221f1f;
    --blog-body: #55565a;
    --blog-muted: #8a8b8f;
    --blog-line: #e4e4e4;
    --blog-surface: #ffffff;
    --blog-wash: #f7f6f6;
    --blog-radius: 10px;
    --blog-shadow: 0 2px 14px rgba(34, 31, 31, .06);
    --blog-shadow-lg: 0 16px 40px rgba(34, 31, 31, .14);
    --blog-ease: cubic-bezier(.22, .61, .36, 1);
}

/* --------------------------------------------------------------------------
   Base / shared
   -------------------------------------------------------------------------- */

.blog-page {
    background: var(--blog-surface);
}

.blog-page img {
    max-width: 100%;
}

.blog-section {
    padding: 70px 0;
}

.blog-section--wash {
    background: var(--blog-wash);
}

.blog-section-head {
    margin-bottom: 36px;
}

.blog-section-head h2 {
    font-size: 34px;
    color: var(--blog-ink);
    margin: 0 0 10px;
    line-height: 1.25;
}

.blog-section-head p {
    font-size: 16px;
    color: var(--blog-body);
    margin: 0;
    max-width: 640px;
}

.blog-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: var(--blog-red);
    margin-bottom: 12px;
}

.blog-eyebrow:before {
    content: "";
    display: inline-block;
    width: 26px;
    height: 2px;
    background: var(--blog-red);
    vertical-align: middle;
    margin-right: 10px;
}

/* Accessible focus ring — the site default removes outlines. */
.blog-page a:focus-visible,
.blog-page button:focus-visible,
.blog-page input:focus-visible,
.blog-page select:focus-visible {
    outline: 2px solid var(--blog-red);
    outline-offset: 3px;
}

.blog-skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 999;
    background: var(--blog-ink);
    color: #fff;
    padding: 12px 20px;
}

.blog-skip-link:focus {
    left: 10px;
    top: 10px;
    color: #fff;
}

/* --------------------------------------------------------------------------
   Banner
   -------------------------------------------------------------------------- */

section.blog-banner {
    position: relative;
    background: linear-gradient(120deg, #1a1718 0%, #2c2627 55%, #3a1418 100%);
    background-size: cover;
    background-position: center;
    padding: 96px 0 76px;
    overflow: hidden;
}

section.blog-banner:before {
    content: "";
    position: absolute;
    inset: 0;
    background: url(../images/media-banner.png) no-repeat center center;
    background-size: cover;
    opacity: .22;
}

section.blog-banner:after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 140px;
    background: linear-gradient(to top, rgba(26, 23, 24, .85), transparent);
}

.blog-banner .container {
    position: relative;
    z-index: 2;
}

.blog-banner-inner {
    max-width: 820px;
}

.blog-banner h1 {
    font-size: 46px;
    line-height: 1.18;
    color: #fff;
    margin: 0 0 16px;
}

.blog-banner p {
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255, 255, 255, .82);
    margin: 0;
    max-width: 640px;
}

/* --------------------------------------------------------------------------
   Breadcrumb
   -------------------------------------------------------------------------- */

.blog-breadcrumb {
    background: var(--blog-wash);
    border-bottom: 1px solid var(--blog-line);
    padding: 16px 0;
}

.blog-breadcrumb ol {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 14px;
}

.blog-breadcrumb li {
    display: inline;
    color: var(--blog-muted);
}

.blog-breadcrumb li + li:before {
    content: "\203A";
    margin: 0 10px;
    color: var(--blog-muted);
}

.blog-breadcrumb a {
    color: #333;
}

.blog-breadcrumb a:hover {
    color: var(--blog-red);
}

.blog-breadcrumb [aria-current="page"] {
    font-weight: 700;
    color: var(--blog-ink);
}

/* --------------------------------------------------------------------------
   Toolbar: search + sort + categories
   -------------------------------------------------------------------------- */

.blog-toolbar {
    padding: 34px 0 0;
}

.blog-toolbar-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    justify-content: space-between;
}

.blog-search {
    position: relative;
    flex: 1 1 340px;
    max-width: 440px;
}

.blog-search input[type="search"] {
    width: 100%;
    height: 50px;
    border: 1px solid var(--blog-line);
    border-radius: 50px;
    padding: 0 110px 0 46px;
    font-size: 15px;
    color: var(--blog-ink);
    background: #fff;
    transition: border-color .2s var(--blog-ease), box-shadow .2s var(--blog-ease);
}

.blog-search input[type="search"]:focus {
    border-color: var(--blog-red);
    box-shadow: 0 0 0 3px rgba(212, 29, 45, .10);
}

.blog-search .fa-search {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--blog-muted);
    font-size: 15px;
    pointer-events: none;
}

.blog-search button[type="submit"] {
    position: absolute;
    right: 5px;
    top: 5px;
    height: 40px;
    padding: 0 22px;
    border: 0;
    border-radius: 50px;
    background: var(--blog-red);
    color: #fff;
    font-size: 14px;
    transition: background .2s var(--blog-ease);
}

.blog-search button[type="submit"]:hover {
    background: var(--blog-red-dark);
}

.blog-sort {
    display: flex;
    align-items: center;
    gap: 10px;
}

.blog-sort label {
    font-size: 14px;
    color: var(--blog-muted);
    margin: 0;
    font-weight: 400;
}

.blog-sort select {
    height: 44px;
    border: 1px solid var(--blog-line);
    border-radius: 50px;
    padding: 0 38px 0 16px;
    font-size: 14px;
    color: var(--blog-ink);
    background: #fff url(../images/header-arrow.png) no-repeat right 16px center;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
}

.blog-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 38px;
    padding: 0 18px;
    border: 1px solid var(--blog-line);
    border-radius: 50px;
    font-size: 14px;
    color: var(--blog-body);
    background: #fff;
    white-space: nowrap;
    transition: all .2s var(--blog-ease);
}

.blog-chip:hover,
.blog-chip:focus {
    border-color: var(--blog-ink);
    color: var(--blog-ink);
}

/* Active filter summary */
.blog-resultbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid var(--blog-line);
}

.blog-resultbar p {
    margin: 0;
    font-size: 15px;
    color: var(--blog-body);
    padding: 0;
}

.blog-resultbar strong {
    color: var(--blog-ink);
}

/* --------------------------------------------------------------------------
   Featured post
   -------------------------------------------------------------------------- */

.blog-featured {
    display: flex;
    flex-wrap: wrap;
    background: #fff;
    border: 1px solid var(--blog-line);
    border-radius: var(--blog-radius);
    overflow: hidden;
    box-shadow: var(--blog-shadow);
    transition: box-shadow .3s var(--blog-ease);
}

.blog-featured:hover {
    box-shadow: var(--blog-shadow-lg);
}

.blog-featured-media {
    flex: 1 1 52%;
    min-height: 360px;
    position: relative;
    overflow: hidden;
}

.blog-featured-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
    transition: transform .6s var(--blog-ease);
}

.blog-featured:hover .blog-featured-media img {
    transform: scale(1.04);
}

.blog-featured-body {
    flex: 1 1 48%;
    padding: 46px 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.blog-featured-body h3 {
    font-size: 30px;
    line-height: 1.3;
    margin: 16px 0 14px;
}

.blog-featured-body h3 a {
    color: var(--blog-ink);
}

.blog-featured-body h3 a:hover {
    color: var(--blog-red);
}

.blog-featured-body p {
    font-size: 16px;
    line-height: 1.75;
    color: var(--blog-body);
    padding: 0;
    margin: 0 0 24px;
}

.blog-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #fff;
    background: var(--blog-red);
    padding: 6px 13px;
    border-radius: 3px;
}

.blog-badge--ghost {
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .4);
}

/* --------------------------------------------------------------------------
   Post cards
   -------------------------------------------------------------------------- */

.blog-grid {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.blog-grid > div {
    display: flex;
}

.blog-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-bottom: 30px;
    background: #fff;
    border: 1px solid var(--blog-line);
    border-radius: var(--blog-radius);
    overflow: hidden;
    transition: transform .3s var(--blog-ease), box-shadow .3s var(--blog-ease), border-color .3s var(--blog-ease);
}

.blog-card:hover {
    transform: translateY(-6px);
    border-color: transparent;
    box-shadow: var(--blog-shadow-lg);
}

.blog-card-media {
    position: relative;
    display: block;
    padding-top: 60%;
    overflow: hidden;
    background: var(--blog-wash);
}

.blog-card-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s var(--blog-ease);
}

.blog-card:hover .blog-card-media img {
    transform: scale(1.06);
}

.blog-card-media .blog-badge {
    position: absolute;
    left: 16px;
    top: 16px;
    z-index: 2;
}

.blog-card-body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    padding: 24px 24px 0;
}

.blog-card-body h3 {
    font-size: 20px;
    line-height: 1.4;
    margin: 0 0 12px;
}

.blog-card-body h3 a {
    color: var(--blog-ink);
    transition: color .2s var(--blog-ease);
}

.blog-card-body h3 a:hover {
    color: var(--blog-red);
}

.blog-card-body p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--blog-body);
    padding: 0;
    margin: 0 0 20px;
}

.blog-card-foot {
    margin-top: auto;
    padding: 16px 24px;
    border-top: 1px solid var(--blog-line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.blog-readmore {
    font-size: 14px;
    font-weight: 600;
    color: var(--blog-red);
    white-space: nowrap;
}

.blog-readmore i {
    margin-left: 6px;
    transition: transform .25s var(--blog-ease);
    display: inline-block;
}

.blog-card:hover .blog-readmore i,
.blog-readmore:hover i {
    transform: translateX(4px);
}

/* Meta row: date / read time / views */
.blog-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 16px;
    font-size: 13px;
    color: var(--blog-muted);
}

.blog-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 400;
}

.blog-meta i {
    font-size: 13px;
    opacity: .8;
}

/* --------------------------------------------------------------------------
   Empty state
   -------------------------------------------------------------------------- */

.blog-empty {
    text-align: center;
    padding: 70px 20px;
    border: 1px dashed var(--blog-line);
    border-radius: var(--blog-radius);
    background: var(--blog-wash);
}

.blog-empty i {
    font-size: 44px;
    color: var(--blog-line);
    margin-bottom: 18px;
    display: block;
}

.blog-empty h3 {
    font-size: 22px;
    color: var(--blog-ink);
    margin: 0 0 10px;
}

.blog-empty p {
    color: var(--blog-body);
    max-width: 460px;
    margin: 0 auto 22px;
    padding: 0;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.blog-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    height: 48px;
    padding: 0 30px;
    border: 1px solid var(--blog-red);
    border-radius: 50px;
    background: var(--blog-red);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    transition: all .25s var(--blog-ease);
}

.blog-btn:hover,
.blog-btn:focus {
    background: var(--blog-red-dark);
    border-color: var(--blog-red-dark);
    color: #fff;
}

.blog-btn--ghost {
    background: transparent;
    color: var(--blog-red);
}

.blog-btn--ghost:hover {
    background: var(--blog-red);
    color: #fff;
}

/* --------------------------------------------------------------------------
   Pagination
   -------------------------------------------------------------------------- */

.blog-pagination {
    margin-top: 26px;
    text-align: center;
}

.blog-pagination ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.blog-pagination li {
    display: block;
}

.blog-pagination li > a,
.blog-pagination li > span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 14px;
    border: 1px solid var(--blog-line);
    border-radius: 6px;
    font-size: 15px;
    color: var(--blog-body);
    background: #fff;
    transition: all .2s var(--blog-ease);
}

.blog-pagination li > a:hover {
    border-color: var(--blog-ink);
    color: var(--blog-ink);
}

.blog-pagination .is-current {
    background: var(--blog-red);
    border-color: var(--blog-red);
    color: #fff;
    font-weight: 700;
}

.blog-pagination .is-disabled {
    opacity: .4;
    cursor: not-allowed;
    background: var(--blog-wash);
}

.blog-pagination .is-gap {
    border-color: transparent;
    background: transparent;
    min-width: 24px;
    padding: 0;
    color: var(--blog-muted);
}

.blog-pagination .blog-page-nav {
    gap: 8px;
    padding: 0 18px;
    font-weight: 600;
}

.blog-pagination .blog-page-nav .txt {
    line-height: 1;
}

.blog-pagination-note {
    margin-top: 16px;
    font-size: 14px;
    color: var(--blog-muted);
}

/* --------------------------------------------------------------------------
   Detail page :: reading progress
   -------------------------------------------------------------------------- */

.blog-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0;
    background: var(--blog-red);
    z-index: 9999;
    transition: width .1s linear;
}

/* --------------------------------------------------------------------------
   Detail page :: layout
   -------------------------------------------------------------------------- */

.blog-detail-wrap {
    padding: 40px 0 70px;
}

/* The site header is position:fixed, so the first block on a page with no
   banner has to clear it (same offset the product page uses). */
.blog-breadcrumb--top {
    margin-top: 90px;
}

/* Article masthead, replacing the old full-bleed hero */
.blog-article-head {
    margin-bottom: 34px;
}

.blog-article-head h1 {
    font-size: 40px;
    line-height: 1.22;
    color: var(--blog-ink);
    margin: 18px 0 18px;
}

.blog-article-head .blog-lede {
    font-size: 18px;
    line-height: 1.7;
    color: var(--blog-body);
    margin: 0 0 24px;
    padding: 0;
}

.blog-article-meta {
    padding-top: 20px;
    border-top: 1px solid var(--blog-line);
}

.blog-cover {
    margin: 0 0 40px;
    border-radius: var(--blog-radius);
    overflow: hidden;
    box-shadow: var(--blog-shadow-lg);
    position: relative;
    z-index: 3;
}

.blog-cover img {
    width: 100%;
    display: block;
}

/* --------------------------------------------------------------------------
   Detail page :: article body typography
   -------------------------------------------------------------------------- */

.blog-content {
    font-size: 17px;
    line-height: 1.85;
    color: var(--blog-body);
}

.blog-content > *:first-child {
    margin-top: 0;
}

.blog-content h2 {
    font-size: 27px;
    color: var(--blog-ink);
    line-height: 1.35;
    margin: 44px 0 16px;
    scroll-margin-top: 90px;
}

.blog-content h3 {
    font-size: 21px;
    color: var(--blog-ink);
    line-height: 1.4;
    margin: 34px 0 14px;
    scroll-margin-top: 90px;
}

.blog-content p {
    margin: 0 0 20px;
    padding: 0;
    font-size: 17px;
    line-height: 1.85;
}

.blog-content a {
    color: var(--blog-red);
    text-decoration: underline;
}

.blog-content strong {
    color: var(--blog-ink);
    font-weight: 700;
}

.blog-content ul,
.blog-content ol {
    margin: 0 0 24px;
    padding-left: 22px;
}

.blog-content li {
    margin-bottom: 10px;
    font-size: 17px;
    line-height: 1.8;
}

.blog-content ul li::marker {
    color: var(--blog-red);
}

.blog-content ol li::marker {
    color: var(--blog-red);
    font-weight: 700;
}

.blog-content blockquote {
    margin: 32px 0;
    padding: 24px 28px;
    border: 0;
    border-left: 4px solid var(--blog-red);
    background: var(--blog-wash);
    border-radius: 0 var(--blog-radius) var(--blog-radius) 0;
    font-size: 19px;
    line-height: 1.65;
    color: var(--blog-ink);
    font-style: italic;
}

.blog-content blockquote p {
    margin: 0;
    font-size: inherit;
    line-height: inherit;
}

.blog-content img {
    border-radius: var(--blog-radius);
    margin: 28px 0;
}

.blog-content table {
    width: 100%;
    margin: 28px 0;
    border-collapse: collapse;
}

.blog-content th,
.blog-content td {
    border: 1px solid var(--blog-line);
    padding: 12px 14px;
    font-size: 15px;
    text-align: left;
}

.blog-content th {
    background: var(--blog-wash);
    color: var(--blog-ink);
    font-weight: 700;
}

/* --------------------------------------------------------------------------
   Detail page :: share
   -------------------------------------------------------------------------- */

.blog-article-foot {
    margin-top: 44px;
    padding-top: 28px;
    border-top: 1px solid var(--blog-line);
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    align-items: flex-start;
    justify-content: space-between;
}

.blog-share {
    display: flex;
    align-items: center;
    gap: 10px;
}

.blog-share .label {
    font-size: 13px;
    color: var(--blog-muted);
}

.blog-share a,
.blog-share button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--blog-line);
    background: #fff;
    color: var(--blog-body);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    transition: all .2s var(--blog-ease);
    padding: 0;
}

.blog-share a:hover,
.blog-share button:hover {
    background: var(--blog-ink);
    border-color: var(--blog-ink);
    color: #fff;
    transform: translateY(-2px);
}

.blog-share .is-copied {
    background: #2e8b3f;
    border-color: #2e8b3f;
    color: #fff;
}

/* --------------------------------------------------------------------------
   Detail page :: prev / next
   -------------------------------------------------------------------------- */

.blog-adjacent {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 40px;
}

.blog-adjacent-item {
    flex: 1 1 260px;
    border: 1px solid var(--blog-line);
    border-radius: var(--blog-radius);
    padding: 22px 24px;
    transition: all .25s var(--blog-ease);
    display: block;
}

.blog-adjacent-item:hover {
    border-color: var(--blog-ink);
    box-shadow: var(--blog-shadow);
}

.blog-adjacent-item .dir {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--blog-red);
    font-weight: 700;
    margin-bottom: 10px;
}

.blog-adjacent-item h4 {
    font-size: 17px;
    line-height: 1.45;
    color: var(--blog-ink);
    margin: 0;
}

.blog-adjacent-item--next {
    text-align: right;
}

.blog-adjacent-item--next .dir {
    justify-content: flex-end;
}

/* --------------------------------------------------------------------------
   Detail page :: sidebar
   -------------------------------------------------------------------------- */

.blog-sidebar {
    position: sticky;
    top: 24px;
}

.blog-widget {
    border: 1px solid var(--blog-line);
    border-radius: var(--blog-radius);
    padding: 24px;
    margin-bottom: 24px;
    background: #fff;
}

.blog-widget h4 {
    font-size: 16px;
    color: var(--blog-ink);
    margin: 0 0 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--blog-line);
    letter-spacing: .3px;
}

/* Recent posts widget */
.blog-widget-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.blog-widget-list li + li {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--blog-line);
}

.blog-mini {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.blog-mini-media {
    flex: 0 0 74px;
    width: 74px;
    height: 60px;
    border-radius: 6px;
    overflow: hidden;
    background: var(--blog-wash);
}

.blog-mini-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s var(--blog-ease);
}

.blog-mini:hover .blog-mini-media img {
    transform: scale(1.08);
}

.blog-mini h5 {
    font-size: 14px;
    line-height: 1.45;
    margin: 0 0 6px;
    color: var(--blog-ink);
    transition: color .2s var(--blog-ease);
}

.blog-mini:hover h5 {
    color: var(--blog-red);
}

.blog-mini .date {
    font-size: 12px;
    color: var(--blog-muted);
}

/* Category widget */
.blog-catlist {
    list-style: none;
    margin: 0;
    padding: 0;
}

.blog-catlist li + li {
    border-top: 1px solid var(--blog-line);
}

.blog-catlist a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 11px 0;
    font-size: 14px;
    color: var(--blog-body);
    transition: all .2s var(--blog-ease);
}

.blog-catlist a:hover {
    color: var(--blog-red);
    padding-left: 5px;
}

.blog-catlist .count {
    font-size: 12px;
    color: var(--blog-muted);
    background: var(--blog-wash);
    border-radius: 50px;
    padding: 2px 10px;
    font-weight: 400;
}

/* --------------------------------------------------------------------------
   Related posts
   -------------------------------------------------------------------------- */

.blog-related {
    background: var(--blog-wash);
    padding: 66px 0;
    margin-top: 10px;
}

.blog-related .blog-card {
    background: #fff;
}

/* --------------------------------------------------------------------------
   Utilities
   -------------------------------------------------------------------------- */

.blog-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (prefers-reduced-motion: reduce) {
    .blog-page *,
    .blog-page *:before,
    .blog-page *:after {
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
    }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1199px) {
    .blog-featured-body {
        padding: 36px 34px;
    }

    .blog-featured-body h3 {
        font-size: 26px;
    }
}

@media (max-width: 991px) {
    .blog-banner h1 {
        font-size: 36px;
    }

    .blog-article-head h1 {
        font-size: 30px;
    }

    .blog-featured-media {
        flex: 1 1 100%;
        min-height: 280px;
        padding-top: 56%;
    }

    .blog-featured-body {
        flex: 1 1 100%;
        padding: 30px 26px;
    }

    .blog-sidebar {
        position: static;
        margin-top: 46px;
    }

    .blog-section {
        padding: 50px 0;
    }
}

@media (max-width: 767px) {
    section.blog-banner {
        /* Top padding must exceed the 80px fixed site header, or the
           heading renders underneath it. */
        padding: 100px 0 46px;
    }

    .blog-banner h1 {
        font-size: 28px;
    }

    .blog-banner p {
        font-size: 16px;
    }

    .blog-article-head h1 {
        font-size: 25px;
    }

    .blog-article-head .blog-lede {
        font-size: 16px;
    }

    .blog-toolbar-row {
        flex-direction: column;
        align-items: stretch;
    }

    /* The toolbar switches to column here, which makes flex-basis a HEIGHT.
       Reset it so the search box sizes to its content. */
    .blog-search {
        flex: 0 0 auto;
        max-width: none;
    }

    .blog-sort {
        justify-content: space-between;
    }

    .blog-section-head h2 {
        font-size: 26px;
    }

    .blog-featured-body h3 {
        font-size: 22px;
    }

    .blog-content {
        font-size: 16px;
    }

    .blog-content p,
    .blog-content li {
        font-size: 16px;
    }

    .blog-content h2 {
        font-size: 23px;
    }

    .blog-content blockquote {
        font-size: 17px;
        padding: 20px 22px;
    }

    .blog-cover {
        margin: 0 -15px 30px;
        border-radius: 0;
    }

    .blog-article-foot {
        flex-direction: column;
        gap: 20px;
    }

    .blog-adjacent-item--next {
        text-align: left;
    }

    .blog-adjacent-item--next .dir {
        justify-content: flex-start;
    }

    .blog-pagination li > a,
    .blog-pagination li > span {
        min-width: 40px;
        height: 40px;
        font-size: 14px;
        padding: 0 10px;
    }

    /* Collapse Prev/Next labels to arrows only */
    .blog-page-nav .txt {
        display: none;
    }

    .blog-pagination .blog-page-nav {
        padding: 0 10px;
    }
}
