/* Reading and card layouts for the blog and article pages. */
body.page-blog .blog-layout {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 32px;
    padding-block: 42px;
}

body.page-blog .blog-main,
body.page-blog .blog-sidebar {
    min-width: 0;
}

body.page-blog .blog-sidebar {
    padding-left: 24px;
}

body.page-blog .featured-post {
    gap: 26px;
    padding-bottom: 30px;
}

body.page-blog .featured-post h2 {
    font-size: clamp(25px, 2.3vw, 30px);
    line-height: 1.3;
    letter-spacing: -.025em;
}

body.page-blog .featured-post > div > p:not(.eyebrow) {
    font-size: 15px;
    line-height: 1.8;
}

body.page-blog .featured-bottom {
    gap: 18px;
    flex-wrap: wrap;
}

body.page-blog .featured-bottom .author-inline strong {
    font-size: 13px;
}

body.page-blog .featured-bottom .author-inline span:not(.avatar-letter) {
    font-size: 12px;
    line-height: 1.6;
}

body.page-blog .featured-bottom .button {
    min-height: 42px;
    font-size: 12px;
}

body.page-blog .category-tabs {
    gap: 10px;
    padding-block: 24px 28px;
}

body.page-blog .category-tabs > a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 9px 15px;
    font-size: 12px;
}

body.page-blog .posts-grid,
body.page-post .related-section .posts-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px 22px;
}

body.page-blog .post-card,
body.page-post .related-section .post-card {
    min-width: 0;
    border-radius: 10px;
    transition: border-color .2s ease, box-shadow .2s ease;
}

body.page-blog .post-card:hover,
body.page-post .related-section .post-card:hover {
    transform: none;
    box-shadow: none;
}

body.page-blog .post-card:focus-within,
body.page-post .related-section .post-card:focus-within {
    border-color: #63b4d5;
    box-shadow: 0 0 0 3px #e2f3fb;
}

body.page-blog .post-card a:focus-visible,
body.page-post .related-section .post-card a:focus-visible {
    outline: 2px solid #007cae;
    outline-offset: 4px;
    border-radius: 4px;
}

body.page-blog .post-image,
body.page-post .related-section .post-image {
    position: relative;
    flex-shrink: 0;
    background: #edf6fb;
}

body.page-blog .post-image img,
body.page-post .related-section .post-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.page-blog .post-card:hover .post-image img,
body.page-post .related-section .post-card:hover .post-image img {
    transform: none;
}

body.page-blog .post-image {
    height: auto;
    aspect-ratio: 16 / 9;
}

body.page-blog .post-card-body,
body.page-post .related-section .post-card-body {
    min-width: 0;
    padding: 0 20px 22px;
    overflow-wrap: anywhere;
}

body.page-blog .category-pill {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 4px 11px;
    font-size: 11px;
    line-height: 1.7;
}

body.page-blog .post-card h3,
body.page-post .related-section .post-card h3 {
    margin-block: 13px 12px;
    font-size: 18px;
    line-height: 1.45;
    letter-spacing: -.025em;
}

body.page-blog .post-card h3 a,
body.page-post .related-section .post-card h3 a {
    display: block;
    text-wrap: pretty;
    overflow-wrap: anywhere;
}

body.page-blog .post-card .category-pill,
body.page-post .related-section .post-card .category-pill {
    max-width: 100%;
    overflow-wrap: anywhere;
}

body.page-blog .post-card-body > p {
    margin-bottom: 24px;
    font-size: 14px;
    line-height: 1.8;
}

body.page-blog .post-card .post-meta,
body.page-post .related-section .post-card .post-meta {
    width: 100%;
    gap: 10px 16px;
    font-size: 12px;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
    line-height: 1.6;
}

body.page-blog .post-card .post-meta > span,
body.page-post .related-section .post-card .post-meta > span {
    gap: 7px;
    font-size: 12px;
    white-space: nowrap;
}

body.page-blog .post-card .post-meta .icon,
body.page-post .related-section .post-card .post-meta .icon {
    width: 16px;
    height: 16px;
}

body.page-blog .post-card .text-link,
body.page-post .related-section .post-card .text-link {
    min-height: 36px;
    margin-top: 12px;
    font-size: 13px;
}

@media (hover: hover) and (pointer: fine) {
    body.page-blog .post-card:hover:not(:focus-within),
    body.page-post .related-section .post-card:hover:not(:focus-within) {
        border-color: #a7d4e7;
        box-shadow: 0 8px 24px #093d5d0c;
    }
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
    body.page-blog .post-card:hover .post-image img,
    body.page-post .related-section .post-card:hover .post-image img {
        transform: scale(1.025);
    }
}

body.page-blog .blog-sidebar h2 {
    font-size: 22px;
    line-height: 1.35;
}

body.page-blog .popular-list {
    gap: 24px;
}

body.page-blog .popular-list article {
    grid-template-columns: 66px minmax(0, 1fr);
    gap: 13px;
}

body.page-blog .popular-image {
    height: 72px;
}

body.page-blog .popular-list h3 {
    margin-bottom: 9px;
    font-size: 14px;
    line-height: 1.55;
    letter-spacing: -.02em;
}

body.page-blog .popular-list .post-meta {
    gap: 6px;
    font-size: 12px;
    line-height: 1.6;
}

body.page-blog .sidebar-categories > a {
    min-height: 46px;
    padding-block: 12px;
    font-size: 14px;
}

body.page-blog .sidebar-categories .count {
    min-width: 32px;
    font-size: 12px;
}

body.page-blog .sidebar-newsletter {
    padding: 26px 20px;
}

body.page-blog .sidebar-newsletter h2 {
    font-size: 21px;
}

body.page-blog .sidebar-newsletter > p {
    font-size: 14px;
    line-height: 1.8;
}

body.page-blog .sidebar-newsletter .newsletter-input,
body.page-blog .newsletter-band .newsletter-input,
body.page-post .newsletter-band .newsletter-input {
    height: 44px;
}

body.page-blog .sidebar-newsletter .newsletter-input input,
body.page-blog .newsletter-band .newsletter-input input,
body.page-post .newsletter-band .newsletter-input input {
    padding-inline: 12px;
    font-size: 13px;
}

body.page-blog .sidebar-newsletter .newsletter-consent,
body.page-blog .newsletter-band .newsletter-consent,
body.page-post .newsletter-band .newsletter-consent {
    margin-top: 12px;
    font-size: 11px;
    line-height: 1.7;
}

body.page-blog .pagination {
    gap: 11px;
    margin-top: 36px;
}

body.page-blog .pagination > a,
body.page-blog .pagination > span {
    width: 42px;
    height: 42px;
    font-size: 13px;
}

body.page-post .article-page {
    padding-top: 38px;
}

body.page-post .article-header {
    max-width: 820px;
    padding-inline: 0;
}

body.page-post .article-header h1 {
    max-width: none;
    font-size: clamp(32px, 3vw, 42px);
    line-height: 1.25;
    letter-spacing: -.035em;
}

body.page-post .article-excerpt {
    margin-top: 18px;
    font-size: 16px;
    line-height: 1.8;
}

body.page-post .article-byline {
    flex-wrap: wrap;
    gap: 20px 24px;
    margin-block: 26px;
}

body.page-post .article-byline .author-inline strong {
    font-size: 13px;
}

body.page-post .article-byline .author-inline span:not(.avatar-letter) {
    font-size: 12px;
    line-height: 1.6;
}

body.page-post .article-byline > span {
    gap: 10px;
    padding-left: 23px;
    font-size: 12px;
}

body.page-post .article-content {
    max-width: 820px;
    margin-top: 34px;
    padding-inline: 0;
}

body.page-post .article-content .rich-content {
    font-size: 17px;
    line-height: 1.85;
    overflow-wrap: break-word;
}

body.page-post .article-content .rich-content p {
    margin-bottom: 20px;
}

body.page-post .article-content .rich-content h2 {
    margin-block: 34px 17px;
    font-size: 29px;
    line-height: 1.35;
}

body.page-post .article-content .rich-content h3 {
    margin-block: 29px 15px;
    font-size: 24px;
    line-height: 1.4;
}

body.page-post .article-content .rich-content li {
    margin-block: 10px;
}

body.page-post .article-content .rich-content blockquote {
    margin-block: 30px;
    padding: 26px 30px;
    font-size: 22px;
    line-height: 1.75;
}

body.page-post .article-content .rich-content blockquote p:last-child {
    margin-bottom: 0;
}

body.page-post .article-content .rich-content figcaption {
    font-size: 13px;
    line-height: 1.7;
}

body.page-post .article-tags {
    gap: 10px;
    font-size: 13px;
}

body.page-post .author-box {
    gap: 26px;
    padding: 26px;
}

body.page-post .author-box .author-inline strong {
    font-size: 15px;
}

body.page-post .author-box .author-inline span:not(.avatar-letter) {
    font-size: 12px;
    line-height: 1.65;
}

body.page-post .author-box > p {
    padding-left: 26px;
    font-size: 13px;
    line-height: 1.8;
}

body.page-post .article-actions .text-link {
    min-height: 42px;
    font-size: 13px;
}

body.page-post .related-section {
    padding-block: 20px 46px;
}

body.page-post .related-section .post-image {
    height: auto;
    aspect-ratio: 3 / 1;
}

body.page-post .related-section .category-pill {
    margin-top: 17px;
    padding: 0;
    background: transparent;
    border-radius: 0;
    color: #087eaf;
    font-size: 11px;
    line-height: 1.6;
    letter-spacing: .07em;
    text-transform: uppercase;
}

body.page-post .related-section .post-card h3 {
    margin-top: 8px;
}

@media (max-width: 1100px) {
    body.page-blog .blog-layout {
        grid-template-columns: minmax(0, 1fr) 264px;
        gap: 26px;
    }

    body.page-blog .blog-sidebar {
        padding-left: 20px;
    }

    body.page-blog .posts-grid,
    body.page-post .related-section .posts-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px 20px;
    }

    body.page-blog .featured-post {
        grid-template-columns: 1fr;
        gap: 23px;
    }

    body.page-blog .featured-image {
        width: 100%;
        min-height: 0;
        height: auto;
        aspect-ratio: 2.2 / 1;
    }

    body.page-blog .popular-list article {
        grid-template-columns: 58px minmax(0, 1fr);
        gap: 11px;
    }

    body.page-blog .popular-image {
        height: 65px;
    }

    body.page-blog .sidebar-newsletter {
        padding-inline: 17px;
    }
}

@media (max-width: 900px) {
    body.page-blog .blog-layout {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    body.page-blog .blog-sidebar {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 30px;
        padding: 30px 0 0;
        border-left: 0;
        border-top: 1px solid var(--line);
    }

    body.page-blog .blog-sidebar h2 {
        margin-top: 0;
    }

    body.page-blog .sidebar-categories {
        margin-top: 0;
        padding-top: 0;
        border-top: 0;
    }

    body.page-blog .sidebar-newsletter {
        grid-column: 1 / -1;
        margin-top: 0;
        padding: 28px;
    }

    body.page-blog .sidebar-newsletter h2 {
        margin-top: 17px;
    }

    body.page-blog .sidebar-newsletter > p,
    body.page-blog .sidebar-newsletter .newsletter-form {
        max-width: 460px;
        margin-inline: auto;
    }

    body.page-blog .popular-list {
        grid-template-columns: 1fr;
    }

    body.page-blog .popular-list article {
        grid-template-columns: 66px minmax(0, 1fr);
        gap: 13px;
    }

    body.page-blog .popular-image {
        height: 72px;
    }
}

@media (max-width: 600px) {
    body.page-blog .hero-wash {
        background: #f5fbfe;
    }

    body.page-blog .blog-layout {
        padding-block: 30px;
    }

    body.page-blog .posts-grid,
    body.page-post .related-section .posts-grid {
        grid-template-columns: 1fr;
        gap: 23px;
    }

    body.page-blog .featured-post h2 {
        font-size: 26px;
    }

    body.page-blog .featured-image {
        aspect-ratio: 16 / 9;
    }

    body.page-blog .featured-bottom {
        gap: 16px;
    }

    body.page-blog .featured-bottom .author-inline strong {
        font-size: 12px;
    }

    body.page-blog .category-tabs {
        gap: 8px;
        padding-block: 22px 25px;
    }

    body.page-blog .category-tabs > a {
        padding-inline: 13px;
    }

    body.page-blog .post-card h3 {
        font-size: 19px;
    }

    body.page-blog .post-card-body > p {
        font-size: 15px;
    }

    body.page-blog .post-card .post-meta {
        gap: 12px 20px;
    }

    body.page-blog .post-card .text-link,
    body.page-post .related-section .post-card .text-link {
        min-height: 44px;
    }

    body.page-blog .category-pill {
        min-height: 36px;
    }

    body.page-post .related-section .post-image {
        aspect-ratio: 16 / 9;
    }

    body.page-blog .blog-sidebar {
        grid-template-columns: 1fr;
        gap: 30px;
        padding-top: 28px;
    }

    body.page-blog .popular-list {
        gap: 21px;
    }

    body.page-blog .popular-list article {
        grid-template-columns: 72px minmax(0, 1fr);
        gap: 15px;
    }

    body.page-blog .popular-image {
        height: 78px;
    }

    body.page-blog .sidebar-categories {
        padding-top: 26px;
        border-top: 1px solid var(--line);
    }

    body.page-blog .sidebar-newsletter {
        grid-column: 1;
        padding: 25px;
    }

    body.page-blog .sidebar-newsletter .newsletter-input input,
    body.page-blog .newsletter-band .newsletter-input input,
    body.page-post .newsletter-band .newsletter-input input {
        font-size: 16px;
    }

    body.page-blog .pagination {
        gap: 8px;
    }

    body.page-blog .pagination > a,
    body.page-blog .pagination > span {
        width: 40px;
        height: 40px;
    }

    body.page-post .article-page {
        padding-top: 28px;
    }

    body.page-post .article-header h1 {
        font-size: 31px;
        line-height: 1.3;
    }

    body.page-post .article-excerpt {
        margin-top: 16px;
        font-size: 16px;
    }

    body.page-post .article-byline {
        gap: 17px 22px;
        margin-block: 24px;
    }

    body.page-post .article-byline > span {
        padding-left: 0;
        border-left: 0;
    }

    body.page-post .article-content {
        margin-top: 26px;
    }

    body.page-post .article-content .rich-content {
        font-size: 16px;
        line-height: 1.85;
    }

    body.page-post .article-content .rich-content h2 {
        margin-block: 30px 15px;
        font-size: 25px;
    }

    body.page-post .article-content .rich-content h3 {
        margin-block: 26px 14px;
        font-size: 22px;
    }

    body.page-post .article-content .rich-content blockquote {
        margin-block: 26px;
        padding: 23px;
        font-size: 20px;
    }

    body.page-post .article-content .rich-content table {
        font-size: 14px;
    }

    body.page-post .author-box {
        padding: 23px;
        gap: 19px;
    }

    body.page-post .author-box > p {
        padding: 18px 0 0;
        font-size: 13px;
    }

    body.page-post .article-actions {
        gap: 12px 20px;
        padding-block: 20px;
    }

    body.page-post .related-section {
        padding-block: 16px 34px;
    }
}

@media print {
    body.page-post .article-header,
    body.page-post .article-content {
        max-width: none;
    }

    body.page-post .article-content .rich-content {
        font-size: 11pt;
        line-height: 1.65;
    }

    body.page-post .article-content .rich-content h2 {
        font-size: 18pt;
    }

    body.page-post .article-content .rich-content h3 {
        font-size: 15pt;
    }
}

/* Navigation and sharing controls for longer articles. */
body.page-post .article-toc[hidden] { display: none; }
body.page-post .article-toc { margin-bottom: 32px; border: 1px solid #d9eaf4; border-radius: 16px; background: #f5fafd; }
body.page-post .article-toc details { border: 0; border-radius: inherit; background: transparent; }
body.page-post .article-toc summary { min-height: 62px; padding: 20px 24px; font-size: 17px; font-weight: 750; color: var(--navy); }
body.page-post .article-toc ul { list-style: none; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px 24px; margin: 0; padding: 0 24px 22px; }
body.page-post .article-toc a { display: flex; align-items: baseline; gap: 10px; min-height: 44px; padding-block: 10px; font-size: 14px; line-height: 1.6; color: #17668b; overflow-wrap: anywhere; }
body.page-post .article-toc a::before { content: ''; width: 5px; height: 5px; flex: 0 0 5px; border-radius: 50%; background: #0798c5; align-self: flex-start; margin-top: 9px; }
body.page-post .article-toc a:hover { color: var(--navy); text-decoration: underline; text-underline-offset: 4px; }
body.page-post .article-tags > a { display: inline-flex; align-items: center; max-width: 100%; min-height: 40px; padding: 8px 14px; overflow-wrap: anywhere; border: 1px solid #d9edf7; line-height: 1.6; }
body.page-post .article-actions { border-top: 1px solid var(--line); margin-top: 26px; }
body.page-post .article-actions .text-link { min-height: 44px; }
@media (max-width: 600px) {
    body.page-post .article-toc { margin-bottom: 26px; }
    body.page-post .article-toc summary { min-height: 60px; padding: 18px 20px; font-size: 16px; }
    body.page-post .article-toc ul { grid-template-columns: 1fr; gap: 2px; padding: 0 20px 18px; }
    body.page-post .article-tags > a { min-height: 44px; }
    body.page-post .article-actions { display: grid; grid-template-columns: 1fr; gap: 12px; padding-block: 22px; }
    body.page-post .article-actions .text-link { justify-content: center; padding: 11px 14px; border: 1px solid #d1e6f2; border-radius: 10px; background: #f9fcfe; }
}
@media print { body.page-post .article-toc { display: none; } }
