.media-center {
    color: #333333;
    padding-bottom: 40px;
}

.media-center .media-title {
    margin: 28px 0 18px;
    font-size: 28px;
    line-height: 1.4;
    font-weight: normal;
    color: #333333;
    word-wrap: break-word;
}

.media-tabs {
    margin-bottom: 18px;
    border-bottom: 1px solid #e5e5e5;
}

.media-tabs a {
    display: inline-block;
    margin-right: 28px;
    padding: 8px 0;
    color: #333333;
    text-decoration: none;
}

.media-tabs a.is-current {
    color: #b01f24;
    border-bottom: 2px solid #b01f24;
}

.media-center form.form_box {
    text-align: left;
    margin: 8px 0 24px;
}

.media-center .input-box {
    width: 280px;
    max-width: 56%;
    height: 40px;
    border: 1px solid #cdcdcd;
    padding-left: 10px;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    vertical-align: middle;
}

.media-center .input-submit {
    width: 88px;
    height: 40px;
    border: none;
    background-color: #b01f24;
    color: #fff;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    vertical-align: middle;
}

.media-center .form_box label {
    margin-left: 18px;
    font-weight: normal;
    color: #333333;
}

.media-center .form_box select {
    width: 148px;
    height: 36px;
    margin-left: 8px;
    padding: 0 32px 0 12px;
    border: 1px solid #d2d2d2;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23666' stroke-width='1.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px 8px;
    color: #333333;
    vertical-align: middle;
    appearance: none;
    -webkit-appearance: none;
}

.media-filter-category {
    position: relative;
    display: inline-block;
    vertical-align: middle;
}

.media-filter-toggle {
    position: relative;
    display: inline-block;
    box-sizing: border-box;
    width: 168px;
    height: 40px;
    margin: 0 0 0 8px;
    padding: 0 36px 0 12px;
    border: 1px solid #d2d2d2;
    background: #fff;
    color: #333333;
    font-size: 14px;
    line-height: 38px;
    text-align: left;
    vertical-align: middle;
    cursor: pointer;
}

.media-filter-toggle:after {
    content: "";
    position: absolute;
    top: 50%;
    right: 14px;
    width: 8px;
    height: 8px;
    margin-top: -6px;
    border-right: 1.5px solid #666666;
    border-bottom: 1.5px solid #666666;
    transform: rotate(45deg);
    pointer-events: none;
}

.media-filter-label {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.media-filter-panel {
    position: absolute;
    top: calc(100% + 4px);
    left: 8px;
    z-index: 20;
    min-width: 168px;
    max-width: 280px;
    max-height: 280px;
    overflow: auto;
    padding: 6px 0;
    border: 1px solid #e6e6e6;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.media-filter-panel.is-hidden {
    display: none;
}

.media-center .media-filter-option {
    display: flex;
    align-items: flex-start;
    margin: 0;
    padding: 7px 14px;
    color: #333333;
    font-weight: normal;
    line-height: 20px;
    cursor: pointer;
}

.media-center .media-filter-option input {
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    margin: 2px 8px 0 0;
}

.media-center .media-filter-option span {
    min-width: 0;
    word-break: break-word;
}

.media-center .media-grid.row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    margin-top: 8px;
    margin-left: -12px;
    margin-right: -12px;
}

.media-center .media-grid.row:before,
.media-center .media-grid.row:after {
    display: none;
    content: none;
}

.media-center .media-grid > .media-col {
    float: none;
    width: 33.3333%;
    padding-left: 12px;
    padding-right: 12px;
}

.media-card {
    display: block;
    margin-bottom: 24px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    color: #333333;
    text-decoration: none;
}

.media-card:hover,
.media-card:focus {
    box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
    color: #333333;
    text-decoration: none;
}

.media-cover {
    position: relative;
    display: block;
    height: 0;
    padding-bottom: 56.25%;
    overflow: hidden;
    background: #f4f4f4;
}

.media-cover img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}

.media-card:hover .media-cover img {
    transform: scale(1.04);
}

.media-card h3 {
    height: 48px;
    margin: 12px 14px 14px;
    overflow: hidden;
    font-size: 16px;
    line-height: 24px;
    font-weight: normal;
    color: #333333;
    word-wrap: break-word;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.media-center .media-grid.is-justified {
    display: block;
    margin-left: -9px;
    margin-right: -9px;
    font-size: 0;
}

.media-center .media-grid.is-justified > .media-col {
    display: inline-block;
    vertical-align: top;
    width: auto;
    margin: 9px;
    padding: 0;
    font-size: 14px;
}

.media-center .media-grid.is-justified:not(.is-ready) > .media-col {
    width: calc(33.333% - 18px);
    height: 240px;
}

.media-grid.is-justified .media-card {
    height: 100%;
    margin-bottom: 0;
    border-radius: 16px;
}

.media-grid.is-justified .media-card.is-gallery .media-cover {
    height: 100%;
    min-height: 0;
    padding-bottom: 0;
}

.media-grid.is-justified .media-card.is-gallery .media-cover img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.media-grid.is-justified .media-card.is-gallery.is-stack .media-cover img {
    width: calc(100% - 10px);
    height: calc(100% - 10px);
}

.media-grid.is-justified .media-card.is-gallery.is-stack .media-cover:after,
.media-grid.is-justified .media-card.is-gallery.is-stack .media-card-copy {
    right: 10px;
    bottom: 10px;
}

.media-card.is-gallery .media-cover:after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0);
    transition: background .25s ease;
    pointer-events: none;
    z-index: 1;
}

.media-card.is-gallery:hover .media-cover:after,
.media-card.is-gallery:focus .media-cover:after {
    background: rgba(0, 0, 0, .18);
}

.media-card-copy {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 36px 72px 14px 16px;
    background: linear-gradient(to top, rgba(0, 0, 0, .4) 0%, rgba(0, 0, 0, .08) 70%, rgba(0, 0, 0, 0) 100%);
}

.media-card.is-gallery .media-card-copy h3,
.media-card.is-gallery:hover .media-card-copy h3,
.media-card.is-gallery:focus .media-card-copy h3 {
    display: block;
    height: 22px;
    max-height: 22px;
    margin: 0;
    line-height: 22px;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .35);
}

.media-card-summary {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    max-height: 0;
    margin: 0;
    opacity: 0;
    color: rgba(255, 255, 255, .92);
    font-size: 13px;
    line-height: 20px;
    word-wrap: break-word;
    transition: max-height .25s ease, opacity .25s ease, margin .25s ease;
}

.media-card.is-gallery:hover .media-card-summary,
.media-card.is-gallery:focus .media-card-summary {
    max-height: 40px;
    margin-top: 6px;
    opacity: 1;
}

.media-play {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 2;
    width: 64px;
    height: 64px;
    margin: -32px 0 0 -32px;
    box-sizing: border-box;
    border: 2px solid #fff;
    border-radius: 50%;
    background: transparent;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, .18);
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .35));
    transition: transform .2s ease;
}

.media-card:hover .media-play,
.media-card:focus .media-play {
    transform: scale(1.08);
}

.media-play:after {
    content: "";
    position: absolute;
    left: 26px;
    top: 20px;
    border-style: solid;
    border-width: 12px 0 12px 18px;
    border-color: transparent transparent transparent #fff;
}

.media-card.is-stack {
    position: relative;
    overflow: hidden;
    background: transparent;
}

.media-card.is-stack:hover,
.media-card.is-stack:focus {
    z-index: 2;
}

.media-card.is-stack .media-cover {
    overflow: hidden;
    background: transparent;
    border-radius: inherit;
}

.media-card.is-stack .media-cover img {
    width: calc(100% - 10px);
    height: calc(100% - 10px);
}

.media-card.is-stack:hover .media-cover img,
.media-card.is-stack:focus .media-cover img {
    transform: none;
}

.media-sheet {
    position: absolute;
    background-color: transparent;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    transition: transform .2s ease;
}

.media-card.is-stack .media-sheet.is-back {
    left: 10px;
    top: 10px;
    right: 0;
    bottom: 0;
    opacity: 1;
}

.media-card.is-stack .media-sheet.is-mid {
    left: 5px;
    top: 5px;
    right: 5px;
    bottom: 5px;
    opacity: 1;
}

.media-card.is-stack:hover .media-sheet.is-back,
.media-card.is-stack:focus .media-sheet.is-back {
    transform: translate(4px, 4px);
}

.media-card.is-stack:hover .media-sheet.is-mid,
.media-card.is-stack:focus .media-sheet.is-mid {
    transform: translate(2px, 2px);
}

.media-card.is-stack .media-play {
    margin-left: -37px;
    margin-top: -37px;
}

.media-badge {
    position: absolute;
    right: 12px;
    bottom: 12px;
    z-index: 3;
    padding: 2px 8px;
    border-radius: 4px;
    background: rgba(0, 0, 0, .55);
    color: #fff;
    font-size: 12px;
    line-height: 20px;
}

.media-card.is-stack .media-badge {
    right: 18px;
    bottom: 18px;
}

.media-card.is-gallery.is-stack .media-badge {
    right: 22px;
    bottom: 22px;
}

.media-col.is-pending {
    display: none !important;
}

.media-more-wrap {
    margin: 4px 0 28px;
    text-align: center;
}

.media-more-wrap.is-hidden {
    display: none;
}

.media-more {
    min-width: 160px;
    height: 40px;
    padding: 0 28px;
    border: 1px solid #b01f24;
    border-radius: 4px;
    background: #fff;
    color: #b01f24;
    font-size: 14px;
    line-height: 38px;
}

.media-more:hover,
.media-more:focus {
    background: #b01f24;
    color: #fff;
}

.media-more[disabled] {
    opacity: .6;
}

.media-empty,
.media-meta,
.media-summary,
.media-caption,
.media-stack figcaption {
    color: #777777;
}

.media-empty {
    margin: 40px 0;
    font-size: 16px;
}

.media-meta span {
    margin-right: 16px;
}

.media-player,
.media-stage img,
.media-stack img {
    display: block;
    width: 100%;
    background: #f4f4f4;
}

.media-player {
    max-height: 640px;
    background: #111;
}

.media-detail {
    margin-top: 56px;
}

.media-detail:after {
    content: "";
    display: block;
    clear: both;
}

.media-detail-visual {
    float: left;
    width: 60%;
}

.media-detail-copy {
    float: right;
    width: 36%;
}

.media-detail-copy .media-title {
    margin-top: 0;
}

.media-rule {
    width: 36px;
    height: 3px;
    margin: 16px 0 24px;
    background: #b01f24;
}

.media-stage-frame {
    position: relative;
    background: #111;
    border-radius: 16px;
    overflow: hidden;
}

.media-stage-frame.is-video {
    height: 0;
    padding-bottom: 56.25%;
}

.media-stage-frame.is-video .media-player {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: contain;
}

button.media-play {
    padding: 0;
    cursor: pointer;
}

.media-stage-play.is-hidden {
    display: none;
}

.media-player-controls {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 6;
    display: flex;
    align-items: center;
    gap: 8px;
    height: 48px;
    padding: 8px 12px;
    box-sizing: border-box;
    color: #fff;
    background: linear-gradient(to top, rgba(7, 14, 22, .9), rgba(7, 14, 22, .58));
}

.media-control-button {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    color: #fff;
    border: 0;
    border-radius: 3px;
    background: transparent;
    cursor: pointer;
}

.media-control-button:hover,
.media-control-button:focus,
.media-quality-current:hover,
.media-quality-current:focus {
    background: rgba(255, 255, 255, .14);
    outline: none;
}

.media-icon {
    display: block;
    width: 21px;
    height: 21px;
    fill: currentColor;
}

.media-icon-play,
.media-icon-volume-off,
.media-icon-fullscreen-exit {
    display: none;
}

.media-player-controls.is-paused .media-icon-play,
.media-player-controls.is-muted .media-icon-volume-off,
.media-stage-frame.is-fullscreen .media-icon-fullscreen-exit {
    display: block;
}

.media-player-controls.is-paused .media-icon-pause,
.media-player-controls.is-muted .media-icon-volume-on,
.media-stage-frame.is-fullscreen .media-icon-fullscreen {
    display: none;
}

.media-progress-wrap {
    flex: 1 1 auto;
    min-width: 56px;
}

.media-progress {
    --media-progress: 0%;
    --media-buffered: 0%;
    display: block;
    width: 100%;
    height: 18px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
}

.media-progress::-webkit-slider-runnable-track {
    height: 4px;
    border-radius: 2px;
    background: linear-gradient(to right,
        #fff 0,
        #fff var(--media-progress),
        rgba(255, 255, 255, .55) var(--media-progress),
        rgba(255, 255, 255, .55) var(--media-buffered),
        rgba(255, 255, 255, .24) var(--media-buffered),
        rgba(255, 255, 255, .24) 100%);
}

.media-progress::-moz-range-track {
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, .24);
}

.media-progress::-moz-range-progress {
    height: 4px;
    border-radius: 2px;
    background: #fff;
}

.media-progress::-webkit-slider-thumb {
    width: 12px;
    height: 12px;
    margin-top: -4px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, .15);
    -webkit-appearance: none;
    appearance: none;
}

.media-progress::-moz-range-thumb {
    width: 12px;
    height: 12px;
    border: 0;
    border-radius: 50%;
    background: #fff;
}

.media-player-time {
    flex: none;
    min-width: 82px;
    color: #fff;
    font-size: 12px;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.media-quality {
    position: relative;
    z-index: 7;
    flex: none;
    color: #fff;
    font-size: 12px;
}

.media-quality-current {
    min-width: 64px;
    height: 32px;
    padding: 0 8px;
    color: #fff;
    border: 0;
    border-radius: 3px;
    background: transparent;
    white-space: nowrap;
    cursor: pointer;
}

.media-quality-menu {
    display: none;
    position: absolute;
    right: 0;
    bottom: 40px;
    min-width: 96px;
    padding: 5px 0;
    border-radius: 4px;
    background: rgba(7, 14, 22, .94);
    box-shadow: 0 4px 16px rgba(0, 0, 0, .28);
}

.media-quality.is-open .media-quality-menu {
    display: block;
}

.media-quality-option {
    display: block;
    width: 100%;
    padding: 7px 14px;
    color: #fff;
    text-align: left;
    white-space: nowrap;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.media-quality-option:hover,
.media-quality-option.is-current {
    color: #fff;
    background: rgba(176, 31, 36, .9);
}

.media-stage-frame.is-video:fullscreen,
.media-stage-frame.is-video.is-fullscreen {
    width: 100%;
    height: 100%;
    padding-bottom: 0;
    border-radius: 0;
    background: #000;
}

.media-stage-frame.is-video:-webkit-full-screen {
    width: 100%;
    height: 100%;
    padding-bottom: 0;
    border-radius: 0;
    background: #000;
}

.media-stage img {
    border-radius: 16px;
}

.media-detail-copy .media-meta {
    margin: 0 0 24px;
}

.media-terms-label {
    margin: 28px 0 8px;
    font-size: 14px;
    color: #333333;
}

.media-terms {
    margin: 0;
    color: #777777;
    font-size: 13px;
    line-height: 1.7;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.media-actions {
    margin-top: 36px;
}

.media-download,
.media-share-toggle {
    display: inline-block;
    box-sizing: border-box;
    min-width: 112px;
    height: 40px;
    margin: 0 10px 10px 0;
    padding: 0 16px;
    border: 1px solid #b01f24;
    border-radius: 4px;
    background: #fff;
    color: #b01f24;
    text-decoration: none;
    font-size: 14px;
    line-height: 38px;
    text-align: center;
    vertical-align: top;
    cursor: pointer;
}

.media-share {
    position: relative;
    display: inline-block;
    vertical-align: top;
}

.media-share-toggle {
    margin: 0;
}

.media-download:hover,
.media-download:focus,
.media-share-toggle:hover,
.media-share-toggle:focus,
.media-share-toggle[aria-expanded="true"] {
    background: #b01f24;
    color: #fff;
}

.media-share-panel {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    z-index: 20;
    width: 260px;
    overflow: hidden;
    border: 1px solid #e6e6e6;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
}

.media-share-panel.is-hidden {
    display: none;
}

.media-copy {
    display: block;
    width: 100%;
    margin: 0;
    padding: 12px 16px;
    border: 0;
    border-bottom: 1px solid #eeeeee;
    border-radius: 0;
    background: transparent;
    color: #333333;
    font-size: 14px;
    line-height: 22px;
    text-align: left;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}

.media-copy:hover,
.media-copy:focus {
    background: #f7f7f7;
    color: #333333;
}

.media-copy.is-done {
    color: #b01f24;
}

.media-qr {
    width: 120px;
    margin: 16px auto 0;
}

.media-qr svg {
    display: block;
    width: 120px;
    height: 120px;
    background: #fff;
}

.media-qr-hint {
    margin: 8px 16px 16px;
    color: #777777;
    font-size: 13px;
    line-height: 1.5;
    text-align: center;
}

.media-related .media-more-wrap {
    margin-top: 56px;
    margin-bottom: 12px;
}

.media-related .media-more {
    display: inline-block;
    box-sizing: border-box;
    min-width: 240px;
    height: 52px;
    padding: 0 56px;
    border: 1px solid #333333;
    border-radius: 8px;
    background: #fff;
    color: #333333;
    font-size: 16px;
    line-height: 50px;
    text-align: center;
}

.media-related .media-more:hover,
.media-related .media-more:focus {
    background: #f7f7f7;
    color: #333333;
}

.media-stage img,
.media-stack img {
    object-fit: contain;
    max-height: 720px;
}

.media-caption,
.media-summary,
.media-stack figcaption {
    margin-top: 10px;
    line-height: 1.7;
}

.media-detail-copy .media-summary {
    margin-top: 0;
    color: #333333;
    line-height: 1.8;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.media-thumbs {
    display: flex;
    margin-top: 12px;
    overflow-x: auto;
}

.media-thumb {
    flex: none;
    width: 128px;
    height: 72px;
    margin: 0 8px 0 0;
    padding: 0;
    border: 2px solid transparent;
    background: #f7f7f7;
    overflow: hidden;
    vertical-align: top;
    cursor: pointer;
}

.media-thumb.is-current {
    border-color: #b01f24;
}

.media-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.media-stack {
    display: none;
}

.media-center.is-detail {
    padding-bottom: 80px;
}

.media-tags {
    margin-top: 56px;
}

.media-tags h2 {
    margin: 0 0 12px;
    font-size: 14px;
    font-weight: normal;
    color: #333333;
}

.media-tag-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.media-tag {
    display: inline-block;
    margin: 0 8px 8px 0;
    padding: 4px 12px;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    background: #fff;
    color: #333333;
    font-size: 13px;
    line-height: 20px;
}

.media-related {
    margin-top: 80px;
}

.media-related h2 {
    margin-bottom: 16px;
    font-size: 20px;
    font-weight: normal;
    color: #333333;
}

@media (max-width: 991px) {
    .media-center .media-grid.row {
        margin-left: -8px;
        margin-right: -8px;
    }

    .media-center .media-grid > .media-col {
        width: 50%;
        padding-left: 8px;
        padding-right: 8px;
    }

    .media-center .media-grid.is-justified:not(.is-ready) > .media-col {
        width: calc(50% - 18px);
        height: 220px;
        padding: 0;
    }

    .media-center .media-grid.is-justified.row {
        margin-left: -9px;
        margin-right: -9px;
    }
}

@media (min-width: 992px) {
    .media-more-wrap.is-short {
        display: none;
    }
}

@media (max-width: 767px) {
    .media-detail {
        margin-top: 32px;
    }

    .media-player-controls {
        gap: 2px;
        height: 44px;
        padding: 6px 4px;
    }

    .media-control-button {
        width: 30px;
        height: 30px;
    }

    .media-control-pip {
        display: none !important;
    }

    .media-player-time {
        min-width: 68px;
        font-size: 11px;
    }

    .media-quality {
        font-size: 11px;
    }

    .media-quality-current {
        min-width: 48px;
        max-width: 72px;
        padding: 0 4px;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .media-center.is-detail {
        padding-bottom: 48px;
    }

    .media-tags {
        margin-top: 32px;
    }

    .media-related {
        margin-top: 48px;
    }

    .media-related .media-more-wrap {
        margin-top: 40px;
    }

    .media-related .media-more {
        min-width: 200px;
        height: 48px;
        padding: 0 36px;
        font-size: 15px;
        line-height: 46px;
    }

    .media-detail-visual,
    .media-detail-copy {
        float: none;
        width: auto;
    }

    .media-detail-copy {
        margin-top: 20px;
    }

    .media-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: stretch;
        gap: 10px;
        position: relative;
    }

    .media-actions > .media-download,
    .media-actions > .media-share {
        min-width: 0;
        margin: 0;
    }

    .media-actions > :only-child {
        grid-column: 1 / -1;
    }

    .media-actions > .media-download,
    .media-actions .media-share-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: auto;
        min-height: 40px;
        margin: 0;
        padding: 8px 8px;
        font-size: 13px;
        line-height: 1.3;
        white-space: normal;
    }

    .media-share {
        display: block;
        position: static;
    }

    .media-share-panel {
        position: absolute;
        top: calc(100% + 8px);
        left: 0;
        right: 0;
        width: auto;
        margin-top: 0;
    }

    .media-center .media-grid.row {
        margin-left: -8px;
        margin-right: -8px;
    }

    .media-center .media-grid > .media-col {
        width: 100%;
        padding-left: 8px;
        padding-right: 8px;
    }

    .media-card {
        margin-bottom: 16px;
    }

    .media-grid.is-first-screen:not(.is-justified) > .media-col:nth-child(n+4) {
        display: none;
    }

    .media-center .media-grid.is-justified:not(.is-ready) > .media-col {
        width: calc(100% - 18px);
        height: 180px;
        padding: 0;
    }

    .media-center .media-grid.is-justified.row {
        margin-left: -9px;
        margin-right: -9px;
    }

    .media-play {
        width: 52px;
        height: 52px;
        margin: -26px 0 0 -26px;
    }

    .media-card.is-stack .media-cover img {
        width: calc(100% - 6px);
        height: calc(100% - 6px);
    }

    .media-card.is-stack .media-sheet.is-back {
        left: 6px;
        top: 6px;
    }

    .media-card.is-stack .media-sheet.is-mid {
        left: 3px;
        top: 3px;
        right: 3px;
        bottom: 3px;
    }

    .media-card.is-stack .media-play {
        margin-left: -29px;
        margin-top: -29px;
    }

    .media-card.is-stack .media-badge {
        right: 12px;
        bottom: 12px;
    }

    .media-play:after {
        left: 21px;
        top: 16px;
        border-width: 10px 0 10px 14px;
    }

    .media-card.is-gallery .media-card-summary {
        -webkit-line-clamp: 1;
        max-height: 20px;
        margin-top: 6px;
        opacity: 1;
    }

    .media-center .media-title {
        font-size: 22px;
    }

    .media-center .input-box,
    .media-center .input-submit,
    .media-center .form_box select,
    .media-filter-category,
    .media-filter-toggle {
        display: block;
        width: 100%;
        max-width: none;
        margin: 0 0 10px;
    }

    .media-filter-panel {
        left: 0;
        right: 0;
        min-width: 0;
        max-width: none;
    }

    .media-center .form_box label {
        display: block;
        margin: 8px 0 6px;
    }

    .media-grid.is-justified .media-card.is-gallery.is-stack .media-cover img {
        width: calc(100% - 10px);
        height: calc(100% - 10px);
    }

    .media-card.is-gallery.is-stack .media-sheet.is-back {
        left: 10px;
        top: 10px;
    }

    .media-card.is-gallery.is-stack .media-sheet.is-mid {
        left: 5px;
        top: 5px;
        right: 5px;
        bottom: 5px;
    }

    .media-grid.is-justified .media-card.is-gallery.is-stack .media-cover:after,
    .media-grid.is-justified .media-card.is-gallery.is-stack .media-card-copy {
        right: 10px;
        bottom: 10px;
    }

    .media-card.is-gallery.is-stack .media-badge {
        right: 18px;
        bottom: 18px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .media-grid.is-first-screen:not(.is-justified) > .media-col:nth-child(n+7) {
        display: none;
    }
}

.media-video-thumbs {
    display: flex;
    margin-top: 12px;
    overflow-x: auto;
}

.media-video-thumb {
    flex: none;
    width: 128px;
    height: 72px;
    margin: 0 8px 0 0;
    padding: 0;
    border: 2px solid transparent;
    background: #1a1a1a;
    color: #fff;
    overflow: hidden;
    cursor: pointer;
}

.media-video-thumb.is-current {
    border-color: #b01f24;
}

.media-video-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.media-video-fallback {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
    padding: 6px;
    font-size: 12px;
    line-height: 16px;
    text-align: left;
}

.media-share-gate {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 360px;
    padding: 80px 16px;
}

.media-share-card {
    width: 100%;
    max-width: 360px;
    text-align: center;
}

.media-share-card h1 {
    margin: 0 0 24px;
    color: #333;
    font-size: 20px;
    font-weight: 500;
}

.media-share-label {
    display: block;
    margin: 0 0 8px;
    color: #666;
    font-size: 14px;
    text-align: left;
}

.media-share-card input {
    box-sizing: border-box;
    width: 100%;
    height: 42px;
    padding: 0 12px;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
}

.media-share-card button {
    margin-top: 16px;
    min-width: 120px;
    height: 40px;
    padding: 0 18px;
    border: 1px solid #b01f24;
    border-radius: 4px;
    background: #fff;
    color: #b01f24;
    cursor: pointer;
}

.media-share-card button:hover,
.media-share-card button:focus {
    background: #b01f24;
    color: #fff;
}

.media-share-error {
    margin: 12px 0 0;
    color: #b01f24;
    font-size: 14px;
}
