/* First slide is useful before JS and when JS fails. FlexSlider's inline
   styles take over once it creates its viewport (including its clone slides). */
.gp-slider-wrapper > .slides > li:first-child {
    display: block;
    margin-left: 0;
}

.accessreel-wide-hero > .slides,
.accessreel-wide-hero > .flex-viewport {
    aspect-ratio: 1110 / 350;
    overflow: hidden;
}
.gp-slider-wrapper.accessreel-wide-hero .slides > li {
    margin-left: 0;
}

/* Reserve controls without imposing a single height on multi-column slides. */
.gp-slider-wrapper.accessreel-slider-controls {
    padding-bottom: 22px;
}
.gp-slider-wrapper.accessreel-slider-controls > .flex-control-nav {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 12px;
    margin: 0;
}
.gp-post-thumbnail img.accessreel-hero,
.gp-post-thumbnail picture.accessreel-hero > img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1110 / 350;
    object-fit: cover;
}
.gp-post-thumbnail img.accessreel-card,
.gp-post-thumbnail picture.accessreel-card > img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 358 / 200;
    object-fit: cover;
}

/* Imagify moves image classes to its picture wrapper. */
.gp-post-thumbnail picture.accessreel-hero,
.gp-post-thumbnail picture.accessreel-card {
    display: block;
    width: 100%;
}

/* Shared news, reviews and category rows; trailers retain their poster layout. */
#gp-content .accessreel-list-item {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
    margin-bottom: 28px;
}
#gp-content .accessreel-list-item:has(> .gp-rating-wrapper) {
    grid-template-columns: 250px minmax(0, 1fr) auto;
}
#gp-content .accessreel-list-item > .gp-post-thumbnail {
    grid-column: 1;
    grid-row: 1;
    float: none;
    margin: 0;
    width: 100%;
}
#gp-content .accessreel-list-item .gp-post-thumbnail > div {
    float: none;
    margin: 0;
    width: 100%;
    max-width: 100%;
}
#gp-content .accessreel-list-item .accessreel-list-image,
#gp-content .accessreel-list-item picture.accessreel-list-image > img {
    display: block;
    width: 100%;
    height: auto;
    min-width: 0;
    min-height: 0;
    aspect-ratio: 250 / 130;
    object-fit: cover;
}
#gp-content .accessreel-list-item > .gp-loop-content {
    grid-column: 2;
    grid-row: 1;
    float: none;
    width: auto;
    min-width: 0;
    margin: 0;
}
#gp-content .accessreel-list-item .gp-loop-title {
    font-size: 20px;
    line-height: 1.3;
    margin: 0 0 10px;
}
#gp-content .accessreel-list-item .gp-loop-text {
    display: block;
    font-size: 15px;
    line-height: 1.5;
}
#gp-content .accessreel-list-item .gp-loop-meta {
    display: block;
}
#gp-content .accessreel-list-item > .gp-rating-wrapper {
    grid-column: 3;
    grid-row: 1;
    float: none;
    margin: 0;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
#gp-content .accessreel-list-item > .gp-rating-wrapper > .gp-site-rating-wrapper,
#gp-content .accessreel-list-item > .gp-rating-wrapper > .gp-user-rating-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    float: none;
    width: 56px;
    margin: 0;
}
#gp-content .accessreel-list-item .gp-rating-inner {
    width: 36px;
    height: 36px;
    line-height: 36px;
    margin: 6px;
    font-size: 18px;
}
#gp-content .accessreel-list-item .gp-average-rating-data {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
    width: 100%;
}
#gp-content .accessreel-list-item .gp-small-rating .gp-average-rating {
    float: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    line-height: 48px;
    text-align: center;
    background: #00838f;
    color: #fff;
    box-shadow: inset 0 0 0 6px rgba(255, 255, 255, .18);
}
#gp-content .accessreel-list-item .gp-rating-text,
#gp-content .accessreel-list-item .gp-user-average-text {
    display: block;
    float: none;
    width: 100%;
    margin: 6px 0 0;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
    text-transform: none;
    color: #333;
}
/* Microdata containers and clearfix pseudo-elements are not grid cells. */
#gp-content .accessreel-list-item > [itemprop],
#gp-content .accessreel-list-item::before,
#gp-content .accessreel-list-item::after {
    display: none;
}
#gp-content .accessreel-list-item > .gp-loop-divider {
    grid-column: 1 / -1;
    margin: 0;
}
@media (max-width: 767px) {
    #gp-content .accessreel-list-item,
    #gp-content .accessreel-list-item:has(> .gp-rating-wrapper) {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 16px;
    }
    #gp-content .accessreel-list-item > .gp-post-thumbnail {
        grid-column: 1 / -1;
    }
    #gp-content .accessreel-list-item > .gp-loop-content {
        grid-column: 1;
        grid-row: 2;
    }
    #gp-content .accessreel-list-item > .gp-rating-wrapper {
        grid-column: 2;
        grid-row: 2;
        flex-direction: column;
    }
}

/* Rating bounds and real vote counts accompany singular-page scores. */
.accessreel-rating-detail { display: block; font-size: 11px; line-height: 1.4; margin-top: 4px; text-align: center; }
