.pta-feed-items {
    display: grid;
    grid-template-columns: repeat(6,minmax(0,1fr));
    gap: clamp(14px,2vw,24px);
}
.pta-feed-items > .pta-feed-card {
    display: flex;
    flex-direction: column;
    grid-column: span 2;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    padding: 0;
    margin: 0;
}
.pta-feed-featured > .pta-feed-card:first-child {grid-column: span 4;}
.pta-feed-featured > .pta-feed-card:nth-of-type(n+3):nth-of-type(-n+6) {grid-column: span 3;}
.pta-feed-featured > .pta-feed-card:first-child h2 {font-size: clamp(1.45rem,2.4vw,2.1rem);}
.pta-feed-featured > .pta-feed-card:first-child .pta-feed-media {aspect-ratio: 2 / 1;}
.pta-feed-media,.pta-home-focus-media {
    position: relative;
    display: block;
    aspect-ratio: 40 / 21;
    overflow: hidden;
    background: var(--background,#f6f7f9);
}
.pta-feed-media img,.pta-home-focus-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.pta-feed-card-text {padding: 16px 18px 20px;}
.pta-feed-card-text :where(h2,p) {margin: 0;}
.pta-feed-card-text h2 {margin-block: 4px 8px; line-height: 1.24; font-size: clamp(1.15rem,1.5vw,1.4rem);}
.pta-feed-card-text h2 a {color: var(--foreground); text-decoration: none; overflow-wrap: anywhere;}
.pta-feed-card-text h2 a:hover {color: var(--primary); text-decoration: underline;}
.pta-feed-card-text > p:last-child {
    display: -webkit-box;
    overflow: hidden;
    color: var(--muted);
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}
.pta-feed-items > .pta-ad-inline,.pta-source-layout [data-pta-feed-items] > .pta-ad-inline {grid-column: 1 / -1;}

.pta-source-layout [data-pta-native-home-role="focus"] {
    display: grid;
    grid-template-columns: minmax(100px,32%) minmax(0,1fr);
    align-items: start;
    gap: 14px;
}
.pta-source-layout .pta-home-focus-media {border-radius: 9px;}
.pta-source-layout [data-pta-native-home-role="focus"] h3 {overflow-wrap: anywhere;}
.pta-source-layout [data-pta-native-home-role="latest"] img {object-fit: contain;}

.pta-feed-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px 18px;
    margin: 24px auto;
    text-align: center;
}
.pta-feed-nav .pta-feed-next {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .65em;
    min-width: min(100%,210px);
    min-height: 50px;
    padding: 9px 22px;
    border: 1px solid var(--primary,#c81020);
    border-radius: 12px;
    background: var(--surface,#fff);
    color: var(--primary,#c81020);
    font-weight: 750;
    text-decoration: none;
}
.pta-feed-nav .pta-feed-next:hover {background: var(--primary,#c81020); color: #fff;}
.pta-feed-nav [hidden] {display: none;}
.pta-feed-nav .pta-feed-prev {display: inline-flex; align-items: center; min-height: 44px;}
.pta-feed-status {flex-basis: 100%; color: var(--muted,#455266); margin: 0;}
.pta-feed-nav:not(:has(a)) {margin-block: 0;}
.pta-feed-nav a:focus-visible,.pta-feed-status:focus-visible,.pta-feed-card h2 a:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}

@media(max-width: 850px) {
    .pta-feed-items {grid-template-columns: repeat(2,minmax(0,1fr));}
    .pta-feed-items > .pta-feed-card,
    .pta-feed-featured > .pta-feed-card:nth-of-type(n+3):nth-of-type(-n+6) {grid-column: span 1;}
    .pta-feed-featured > .pta-feed-card:first-child {grid-column: 1 / -1;}
}
@media(max-width: 600px) {
    .pta-feed-items {grid-template-columns: minmax(0,1fr);}
    .pta-feed-card-text {padding: 14px 15px 16px;}
    .pta-source-layout [data-pta-native-home-role="focus"] {grid-template-columns: minmax(88px,30%) minmax(0,1fr); gap: 12px;}
}
