.pd-blog-hero, .pd-article-hero-image { display: block; width: 100%; height: auto; }
.pd-article-layout { padding: 40px 16px; background: #f7f7f7; }
.pd-article-layout > .wp-block-columns { align-items: flex-start; }
.pd-article-card { position: relative; }
.pd-article-card > .wp-block-post-title { margin: 0 0 16px; padding-bottom: 16px; border-bottom: 1px solid #dee2e6; }
.pd-article-card :is(.tvc-author-byline, .tvc-reviewer-byline) { margin: 0 0 16px; font: 400 18px/1.6 var(--wp--preset--font-family--condensed); }
.pd-article-card :is(.wp-block-post-date, .wp-block-post-terms) { font-size: 16px; line-height: 1.6; }
.pd-article-card > :is(.wp-block-post-title,.tvc-author-byline,.tvc-reviewer-byline) + .wp-block-group { margin-block-start: 16px; }
.pd-article-card .wp-block-post-date { color: #666; }
.pd-article-card > .pd-blog-content, .pd-article-card > .cta-block { margin-block-start: 32px; }
.pd-article-layout .widget + .widget { margin-top: 32px; }
.pd-article-layout .cta-block { margin-block-end: 0; }
.pd-article-card + .widget { margin-block-start: 0; }
.pd-article-callout { display: flex; background: linear-gradient(219deg, #336297 48%, #17335e 99%); color: #fff; }
.pd-article-callout > :is(img,video) { width: 41.6667%; height: auto; object-fit: cover; object-position: top; min-height: 0; }
.pd-article-callout-copy { flex: 1; min-width: 0; padding: 32px; border-top: 8px solid #c91024; }
.pd-article-callout h2 { margin: 0; color: inherit; text-transform: uppercase; font: 700 28px/1.2 var(--wp--preset--font-family--serif); }
.pd-article-callout .wp-element-button { display: inline-block; margin-top: 16px; padding: 10px 20px; background: #c91024; color: #fff; text-transform: uppercase; text-decoration: none; font: 400 16px/1.2 var(--wp--preset--font-family--sans-serif); }
.pd-article-callout .wp-element-button:is(:hover,:focus-visible) { background: #a10505; }
.pd-article-stories { padding: 0; margin: 0; list-style: none; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 32px; }
.pd-article-stories li { min-width: 0; }
.pd-article-story-image, .pd-article-story-image img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; object-position: top; }
.pd-article-stories p { margin: 8px 0; font: 400 16px/1.5 var(--wp--preset--font-family--condensed); color: #336297; text-transform: uppercase; }
.pd-article-stories a { text-decoration: none; color: inherit; }
.pd-article-story-title { color: #12172b; font-weight: 700; }
.pd-article-layout :is(.widget_recent_entries_custom,.widget_popular_posts_custom) > h2 { margin: 0 0 24px; font: 700 20px/1.2 var(--wp--preset--font-family--condensed); color: #18335e; text-transform: uppercase; }
@media (min-width: 768px) {
    .pd-article-card { padding: 32px; background: #fff; box-shadow: 0 2px 40px #0000001a; }
    .pd-blog-hero + .pd-article-layout .pd-article-card { margin-top: -96px; }
    .tvc-blog-default-hero + .pd-article-layout .pd-article-card { margin-top: -26px; }
    .pd-article-card > .cta-block { margin-inline: -32px; }
    .pd-article-callout-inline .pd-article-callout-copy { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
    .pd-article-callout-inline .wp-element-button { flex: none; margin: 0; }
    .widget_recent_entries_custom .pd-article-stories li { display: grid; grid-template-columns: 1fr 2fr; gap: 16px; align-items: start; }
    .widget_recent_entries_custom .pd-article-stories p { margin-top: 0; }
}
@media (min-width: 1200px) {
    .widget_recent_entries_custom .pd-article-stories { grid-template-columns: 1fr; }
}
@media (min-width: 768px) and (max-width: 1199px) {
    .widget_popular_posts_custom .pd-article-stories { grid-template-columns: repeat(4,minmax(0,1fr)); }
}
@media (max-width: 1199px) {
    .pd-article-layout > .wp-block-columns { display: grid; grid-template-columns: minmax(0,1fr); }
    .cta-block:has(> .pd-article-callout-desktop) { display: none; }
}
/* The original phone landscape article has a 420px container with 16px gutters. */
@media (min-width: 480px) and (max-width: 690px) {
    .pd-article-layout { padding-inline: calc((100% - 420px) / 2 + 16px); }
}
@media (max-width: 767px) {
    .pd-article-card + .cta-block { margin-inline: calc(50% - 50vw); }
    .pd-article-card:has(> .tvc-blog-social-links:last-child) + .cta-block { margin-block-start: 2rem; }
    .pd-article-callout { flex-direction: column; }
    .pd-article-callout > :is(img,video) { width: 100%; }
    .pd-article-callout h2 { font-size: 24px; }
    .pd-article-stories { gap: 16px; }
    .pd-article-card > .cta-block { margin-inline: -16px; }
}

/* Article share disclosure. The open area bridges the gaps between the buttons. */
.pd-article-share {
    --share-ease: cubic-bezier(.15,.2,.1,1);
    position: fixed;
    z-index: 1000;
    right: 34px;
    bottom: 34px;
    width: 50px;
    height: 50px;
}
.pd-article-share[open] { height: 258px; }
.pd-article-share summary,
.pd-article-share-links a {
    position: absolute;
    display: grid;
    place-items: center;
    color: #fff;
    fill: currentColor;
    border-radius: 50%;
    cursor: pointer;
}
.pd-article-share summary { inset: auto 0 0; z-index: 1; width: 50px; height: 50px; list-style: none; }
.pd-article-share summary::-webkit-details-marker { display: none; }
.pd-article-share summary::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: #17335e;
    transition: transform .45s var(--share-ease), box-shadow .45s var(--share-ease);
}
.pd-article-share[open] summary::before { transform: scale(1.23); box-shadow: 0 7px 15px #0003; }
.pd-article-share[open] summary::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: #fff;
    pointer-events: none;
    animation: pd-share-flash .45s var(--share-ease) both;
}
@keyframes pd-share-flash {
    0% { opacity: 0; }
    25% { opacity: .22; transform: scale(1.11); }
    100% { opacity: 0; transform: scale(1.23); }
}
.pd-article-share svg { pointer-events: none; }
.pd-article-share summary svg { position: relative; left: -1px; }
.pd-article-share::details-content { content-visibility: visible; }
.pd-article-share-links { position: absolute; left: 7px; bottom: 50px; }
.pd-article-share-links a {
    --offset: -56px;
    width: 36px;
    height: 36px;
    color: #fff;
    background: #17335e;
    box-shadow: 0 7px 15px #0003;
    visibility: hidden;
    opacity: 0;
    transform: translateY(calc(var(--offset) + 70px)) scale(0);
    transition: transform .45s var(--share-ease), opacity .45s, visibility 0s .45s;
}
.pd-article-share-links a:nth-child(2) { --offset: -106px; }
.pd-article-share-links a:nth-child(3) { --offset: -156px; }
.pd-article-share-links a:nth-child(4) { --offset: -206px; }
.pd-article-share-links a:first-child { transform: scale(0); }
.pd-article-share[open] .pd-article-share-links a {
    visibility: visible;
    opacity: 1;
    transform: translateY(var(--offset));
    transition-delay: 0s;
}
.pd-article-share-links a:hover { background: #455c7e; }
.pd-article-share :focus-visible { outline: 2px solid #fff; outline-offset: 2px; box-shadow: 0 0 0 5px #17335e; }
@media (max-width: 999px) {
    .pd-article-share summary { transition: transform .35s var(--share-ease); }
    .pd-article-share[data-scrolled="false"] { visibility: hidden; pointer-events: none; }
    .pd-article-share[data-scrolled="false"] summary { transform: scale(0); }
}
@media (prefers-reduced-motion: reduce) {
    .pd-article-share summary, .pd-article-share summary::before, .pd-article-share-links a { transition: none; }
    .pd-article-share[open] summary::after { animation: none; opacity: 0; }
}
