/* The College Football front uses the TSP minimum 240 × 135 story frame. */
body[data-editorial-identity="college-football"] #tsp-stories .preview-espn-opening .v3-lead > .v3-lead-photo {
    position: relative;
    overflow: hidden;
}

body[data-editorial-identity="college-football"] #tsp-stories .preview-espn-opening .v3-lead > .v3-lead-photo > img {
    position: absolute !important;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    object-fit: cover !important;
    object-position: center 42%;
}

#tsp-stories #sport-business {
    container: college-business / inline-size;
}

#tsp-stories #sport-business .nfl-collection-lead > a {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
}

#tsp-stories #sport-business .nfl-collection-lead {
    padding-bottom: 7px;
}

#tsp-stories #sport-business .nfl-collection-thumb:not(:has(img)) {
    display: none;
}

@container college-business (min-width: 600px) {
    #tsp-stories #sport-business .nfl-collection-lead > a:has(.nfl-collection-thumb > img) {
        grid-template-columns: minmax(240px, 38%) minmax(0, 1fr);
    }
}

/* The gallery's Lead + Headlines layout, as used by the Mike Ditka Tribute. */
#tsp-stories .college-lead-headlines {
    container: college-headlines / inline-size;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    column-gap: 16px;
    align-items: start;
}

#tsp-stories .college-lead-headlines > :is(header,.ch-section-actions) {
    grid-column: 1 / -1;
}

#tsp-stories .college-lead-headlines > header {
    margin-bottom: 12px;
}

#tsp-stories .college-lead-headlines .nfl-collection-lead > a {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    padding: 0 0 10px;
}

@media (min-width: 761px) {
    #tsp-stories .college-lead-headlines {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #tsp-stories .college-lead-headlines > .nfl-collection-headlines {
        border-inline-start: 1px solid var(--preview-feed-line);
        padding-inline-start: 15px;
    }

    #tsp-stories .college-lead-headlines > .nfl-collection-headlines li:first-child {
        border-top: 0;
    }

    #tsp-stories .college-lead-headlines > .nfl-collection-headlines li:first-child a {
        padding-top: 0;
    }
}

#tsp-stories .college-lead-headlines .nfl-collection-headlines a,
#tsp-stories #college-more-coverage .nfl-collection-headlines a {
    font-size: var(--tsp-code1-headline);
    line-height: 1.4;
    font-weight: 650;
}

#tsp-stories :is(#college-more-coverage,#ch-archive) {
    scroll-margin-top: 72px;
}

@media (min-width: 761px) and (max-width: 1240px) {
    body[data-editorial-identity="college-football"] #tsp-desktop-toolbar {
        --tsp-toolbar-link-padding: 4px;
    }

    html body[data-editorial-identity="college-football"] #tsp-desktop-toolbar.tsp-nav.tsp-nav-compact[data-tsp-desktop-toolbar] > .tsp-nav-inner {
        gap: 6px !important;
    }
}

@container college-business (width < 240px) {
    #tsp-stories #sport-business .nfl-collection-thumb {
        display: none;
    }
}

@container college-headlines (width < 240px) {
    #tsp-stories .college-lead-headlines .nfl-collection-thumb {
        display: none;
    }
}

@media (width < 280px) {
    #tsp-stories .preview-espn-opening .v3-lead > .v3-lead-photo,
    #tsp-stories #home-featured .home-lead-list__visual {
        display: none;
    }
}
