.one-202x-pattern-hero005_post-header {
    padding-block: 4.5rem 3.125rem;
    padding-inline: var(--a2e-section-inset);

    & > .a2e-post-header__back {
        margin-block: 0;

        & a {
            color: inherit;
            text-decoration: none;

            &:hover {
                text-decoration: underline;
            }
        }
    }

    & > .a2e-post-header__row {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: end;
        gap: var(--wp--preset--spacing--lg);
        margin-block: var(--wp--preset--spacing--md) 0;
    }

    & .a2e-post-header__heading {
        min-inline-size: 0;

        & > .wp-block-post-terms {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin-block: 0 0.5rem;
            line-height: 1.25;
            letter-spacing: 0;

            & a {
                padding: 0.375rem 0.5rem;
                border-radius: var(--wp--custom--radius--control);
                background: var(--wp--preset--color--base);
                color: var(--wp--preset--color--contrast);
                text-decoration: none;

                &:hover {
                    text-decoration: underline;
                }
            }

            & .wp-block-post-terms__separator {
                display: none;
            }
        }

        & > .wp-block-post-title {
            max-inline-size: 47.75rem;
            margin-block: 0;
            color: inherit;
            font-weight: 600;
            letter-spacing: -1.3px;
            overflow-wrap: anywhere;
        }
    }

    & .a2e-post-header__details {
        display: flex;
        flex-direction: column;
        align-items: end;
        gap: var(--wp--preset--spacing--sm);
        margin: 0;

        & > * {
            margin: 0;
        }
    }

    & .a2e-post-header__meta {
        gap: 0.375rem;
        line-height: 1.25;
        letter-spacing: 0;

        & > * {
            margin: 0;
        }

        & .wp-block-post-time-to-read::before {
            content: "•";
            margin-inline-end: 0.375rem;
        }
    }

    @media (width <= 64rem) {
        padding-block: 3rem;

        & > .a2e-post-header__row {
            grid-template-columns: minmax(0, 1fr);
            gap: var(--wp--preset--spacing--md);
        }

        & .a2e-post-header__details {
            align-items: start;
        }

        & .a2e-post-header__meta {
            justify-content: start;
        }
    }
}

/* AddToAny controls shared by the post header and article byline. */
.a2e-post-header__sharing {
    & .addtoany_list {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 1.25rem;
        line-height: 1;

        & a {
            display: inline-flex;
            padding: 0;
            color: inherit;

            &:focus-visible {
                outline: 2px solid currentColor;
                outline-offset: 4px;
            }
        }

        & .a2a_svg {
            inline-size: 1.25rem;
            block-size: 1.25rem;
            border-radius: 0;
            background: transparent !important;
            line-height: 1.25rem;

            & path {
                fill: currentColor;
            }
        }
    }
}
