/*
  Shared styles for all (potentially) Media Room page templates.
  For per-page styles name a new .css file the name of the page slug.
  For example, for the Media Room homepage see `media-room.css`,
  or for the main channels list page, see `media-room-channels.css`, etc.
*/

/* DEFAULTS */
.media-room .h1 {
  font-family: 'OpenSans-SemiBold', sans-serif;
}

.media-room .inner {
  max-width: 2000px;
  padding-left: 0;
  padding-right: 0;
  margin:0 2rem;
}


/* WIDGETS
--------------------------- */

/* NO RESULTS CARD */
.card.no-results { margin-top: 3rem; }
.card.no-results p { margin:0; }
.card.no-results p + p { margin-top:1.6rem; }


/* CHANNEL LIST CARDS */
.mr-channel-card {
  background-color: #fff;
  background-position: 100% 100%;
  background-repeat: no-repeat;
  box-shadow: 0 8px 12px rgba(0,0,0,.15);
  display: flex;
  min-height: 285px;
  padding: 2rem;
}
.mr-channel-card-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  max-width: 50%;
}
.mr-channel-desc {
  color: #0c0c12;
  flex: 1 0 auto;
  font-size: 1.4rem;
  line-height: 1.6;
}
.mr-channel-link,
.mr-channel-link:visited {
  color: #007bc6;
}
.mr-channel-link:visited:hover {
  color: #02588d;
}
.mr-channel-desc + .mr-channel-link {
  margin-top: 3rem;
}

/* PILL */
.mr-pill {
  align-items: center;
  background-color: #00629e;
  border-radius: 15px;
  display: inline-flex;
  font-size: 14px;
  height: 30px;
  letter-spacing: .06rem;
  line-height: 1.2;
  padding: 0 11px;
  text-transform: uppercase;
}

/* VIDEO CARDS */
.mr-video-card {
  background: #fff;
  box-sizing: border-box;
  box-shadow: 0 8px 12px rgba(0,0,0,.15);
  display: flex;
  flex-direction: column;
  width: 335px;
  max-width: 335px;
}
.mr-video-card.full {
  width: 100%;
  max-width: 100%;
}

.mr-video-card-img {
  background-color: #b9b9b9;
  box-shadow: 0 8px 12px rgb(0 0 0 / 15%);
  width: 100%;
  overflow: hidden;
}
.mr-video-card-img .videoWrapper {
  background-repeat: no-repeat;
  background-position: 0 50%;
  background-size: cover;
  height: 100%;
  opacity: 1;
  transition: opacity .2s ease-in-out;
}
.mr-video-card-img .videoWrapper img {
  position: absolute;
  width: 100%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
[ie] .mr-video-card-img .videoWrapper {
  display: inline-block;
  padding-bottom: 54.75%;
  width: 100%;
}

.mr-video-card.featured {
  display: flex;
  flex-direction: column;
}
.mr-video-card.featured + .mr-video-card.featured {
  margin-top: 35px;
}

.mr-video-card.featured + .h3 {
  margin-top: 45px;
}

.mr-video-card.featured .mr-video-card-content {
  display: block;
  flex: 1 1 auto;
}



/* Fallback if no video url provided */
.mr-video-card-img-fallback {
  padding-bottom: 56.25%;
}

.mr-video-card-img:hover .videoWrapper {
  opacity: .8;
}
.mr-video-card-img .videoWrapper iframe {
  display: none;
}

.mr-video-card-content {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  flex: 1 0 auto;
  font-size: 1.4rem;
  padding: 30px 30px 17px;
}
.mr-video-card.alt .mr-video-card-content {
  background: #007bc6;
}

.mr-video-card-title {
  min-height: 70px;
  word-break: break-word;
}
[ie] .mr-video-card-title {
  word-wrap: break-word;
}
.mr-video-card.alt .mr-video-card-title {
  color:#fff;
}
.mr-video-card-title a,
.mr-video-card-title a:visited {
  color: #41007f;
}
.mr-video-card-title a:hover {
  color: #02588D;
}
.mr-video-card.alt .mr-video-card-title a,
.mr-video-card.alt .mr-video-card-title a:visited {
  color: #fff;
}
.mr-video-card-date {
  text-transform: uppercase;
}
.mr-video-card-info {
  border-top: 1px solid #dbdbdc;
  display: flex;
  flex-wrap: wrap;
  margin-top: 15px;
  padding-top: 10px;
}
.mr-video-card.alt .mr-video-card-info {
  border-top-color: #00629e;
}
.mr-video-card-pill {
  background: #e9e9ea;
  border-radius: 15px;
  height: 37px;
  padding: 10px;
}
.mr-video-card.alt .mr-video-card-pill {
  background: #00629e;
  color:#fff;
}
.mr-video-card-info .mr-video-card-pill {
  margin-right: 10px;
}
.mr-video-card-tag {
  box-sizing: border-box;
  align-items: center;
  display: flex;
  font-size: 1.3rem;
  height: 25px;
  padding: 0 10px;
  text-transform: uppercase;
  transform: translateX(-8px);
}
.mr-video-card.alt .mr-video-card-tag {
  color:#fff;
}


/* CAROUSEL */
.mr-carousel {
  display: flex;
  overflow: hidden;
  padding-bottom: 18px;
}
.mr-carousel-inner {
  display: flex;
}
.mr-carousel-inner .mr-video-card + .mr-video-card {
  margin-left: 3rem;
}


/* SOCIAL SHARE */
.media-room .social-share-wrapper {
  right: 0;
  bottom: 0;
  align-items: flex-end;
}

.media-room .social-share-wrapper p {
  margin-bottom: 0;
}

.media-room [data-gtm*="facebook"] i {
  background: #3B5998;
}
.media-room [data-gtm*="twitter"] i {
  background: #000000;
}
.media-room [data-gtm*="linkedin"] i {
  background: #0077B5;
}

.media-room .social-share-wrapper [data-gtm] i {
  transition: all 0.15s ease-in-out;
}

.media-room .social-share-wrapper [data-gtm]:hover i {
  opacity: 0.9;
  transform: scale(1.05);
}


/* PAGINATION */
.mr-pagination {
  color: #41007f;
  display: flex;
  flex-wrap: wrap;
  margin-top: 5rem;
}
.mr-pagination.no-paging {
  margin-top:0;
}
.mr-pagination > * {
  align-items: center;
  background: #fff;
  border: 1px solid #a6a6aa;
  display: flex;
  height: 4rem;
  justify-content: center;
  padding: 9px;
}
.mr-pagination > :first-child {
  margin-bottom: 5rem;
}
.mr-pagination > * + * {
  margin-left: -1px;
}
.mr-pagination a:visited {
  color: #02588d;
}
.mr-pagination a:visited:hover {
  color: #02588d;
}


/* EXPLORE CHANNELS */
.mr-channels-explore { margin: 7rem 0; }
.mr-channels-explore .h3 {
  font-family: 'OpenSans-SemiBold', sans-serif;
  text-align: center;
}
.mr-channels-explore-nav {
  margin: 0 auto;
  max-width: 670px;
}
[ie] .mr-channels-explore-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.mr-channels-explore-link {
  align-items: center;
  border: 1px solid #00a7e1;
  display: flex;
  height: 5rem;
  justify-content: center;
}
[ie] .mr-channels-explore-link {
  flex-basis: 46%;
  margin-bottom: 22px;
}


/* --- */



/* BODY
--------------------------- */
body.media-room {
  background-color: #efefef;
}


/* HEADER
--------------------------- */
.media-room .main-header {
  background: #fff;
  box-shadow: 0 8px 12px rgba(0,0,0,.15);
  padding: 0;
  z-index: 2;
}

.media-room .nav-container {
  display: flex;
  height: 90px;
  align-items: center;
  justify-content: flex-start;
}
.media-room .mobile-nav {
  padding-top: 4.3rem;
}

/* .media-room .nav-container ul {
  display: flex;
  margin-left: 20px;
}
.media-room .nav-container ul li + li {
  margin-left: 20px;
} */


/* FOOTER
--------------------------- */
.media-room .primary-footer .inner > .f-j-fe-t {
  justify-content: space-between;
}
/* Social Menu */
.media-room .social-media p {
  display: none;
}


/* MAIN
--------------------------- */
.media-room-main {
  overflow: visible;
  padding: 0;
}


/* BANNER / TAGLINE
--------------------------- */
.media-room-banner {
  background-color: #b9b9b9;
  background-repeat: no-repeat;
  background-size: cover;
}
[data-pagename="media-room-channels-community"] .media-room-banner,
[data-pagename="media-room-channels-kla-community"] .media-room-banner {
  /* align image on right edge */
  background-position: 100% 0;
}
[ie] .media-room-banner {
  display: flex;
  justify-content: center;
}
.media-room-banner .inner {
  align-items: center;
  color: #fff;
  display: flex;
  font-size: 3rem;
  justify-content: center;
  line-height: 1.1;
  min-height: 200px;
  padding: 2rem 0;
  text-shadow: 2px 2px 20px rgba(0,0,0,.5);
}


/* CONTENT SECTIONS
--------------------------- */
.mr-section + .mr-section {
  margin-top: 8rem;
}
.mr-section-header {
  display: flex;
  align-items: baseline;
}
.mr-section-header .arrow {
  margin-left: 30px;
}
.mr-section-header .arrow:visited {
  color: #007bc6;
}
.mr-section-header .arrow:visited:hover {
  color: #02588d;
}


/* CONTENT
--------------------------- */
.media-room-content .inner {
  padding-bottom: 4rem;
  padding-top: 4rem;
}


/* CAROUSEL
--------------------------- */
/* Carousel wrap */
.swiper-container {
  margin-left: -2rem;
  margin-right: -2rem;
  width: 100vw;
  max-width: calc(2000px + 8rem);
}
.swiper-container-horizontal>.swiper-pagination-bullets,
.swiper-pagination-custom, .swiper-pagination-fraction {
  bottom: 0;
}
/* Pagination */
.swiper-pagination {
  margin-bottom: 0 !important;
}
.swiper-container-horizontal>.swiper-pagination-bullets {
  top: auto;
  height: auto;
}
/* Next / Prev Arrows */
.swiper-button-next,
.swiper-button-prev {
  background-image: url('https://www.kla.com/wp-content/themes/kla-wp/assets/images/icons/arrow-blue.svg');
  background-size: contain;
  border: 5px solid rgba(0,0,0,0);
  box-sizing: content-box;
  width: 19px;
  height: 30px;
  z-index: 11;
}
.swiper-button-prev, .swiper-container-rtl .swiper-button-next {
  transform: rotate(180deg);
}
/* Contents overrides */
.swiper-slide .mr-video-card {
  width: auto;
  height: 100%;
}
.swiper-slide .mr-video-card-img {
  height: auto;
}


/* CTA
--------------------------- */
.mr-cta {
  text-align: center;
}
.mr-cta-message {
  color: #41007f;
  font-weight: 500;
  font-size: 3rem;
  line-height: 4rem;
  margin:0 auto;
  max-width: 910px;
}


/* VIDEO DETAIL
--------------------------- */
/* Content Area */
.mr-detail { margin:0 auto; max-width:1390px; width:100%; }
.mr-detail h1 { margin-bottom: 4rem; }
.mr-detail hr { margin:15px 0 30px; }
.mr-detail-video { position:relative; margin-bottom:20px; padding-bottom:56.2%; }
.mr-detail-video iframe,
.mr-detail-video .videoWrapper { position:absolute; width:100%; height:100%; background-image:none !important; overflow:hidden; }
.mr-detail-video .videoWrapper img { position:absolute; width:100%; top:50%; left:50%; transform:translate(-50%, -50%); }
.mr-detail-video .youtubeWrapper { position:absolute; width:100%; height:100%; background-image:none !important; }
.mr-detail-tags { margin-top: 3rem; }
.mr-detail-tag {
  background: #41007F;
  color: white !important;
  display: inline-block;
  border-radius: 2rem;
  margin: 0 0.5rem 0.5rem 0;
  padding: 0.5rem 1rem;
}
.mr-detail-tag:hover { background: #007BC6; }
/* Related Videos */
.mr-detail-related { border-top:1px solid #0c0c12; }



/* BROWSE
--------------------------- */

/* FILTERS */
/* Search */
.mr-search .ais-SearchBox {
  position: relative;
}
.mr-search .ais-SearchBox-input {
  box-shadow: 0 8px 12px rgba(0,0,0,.15);
  margin-bottom: 1rem;
  background: #fff;
  border: 1px solid #b6b6b7;
  font-size: 1.6rem;
  height: 5rem;
  padding-left: 5rem;
  padding-right: 2rem;
  width: 100%;
}
.mr-search .ais-SearchBox:after {
  background: url('https://www.kla.com/images/2021/media-room/search-icon.svg') no-repeat 50% 50%;
  content: '';
  display: block;
  height: 18px;
  position: absolute;
  top: 50%;
  left: 20px;
  transform: translateY(calc(-50% - 0.5rem));
  width: 18px;
}
[ie] .mr-search .ais-SearchBox:after {
  transform: translateY(-50%);
  margin-top: -5px;
}

/* 'Placeholder' (color,etc.) */
.mr-search input::-webkit-input-placeholder { color:rgba(0,0,0,.3); }
.mr-search input:focus::-webkit-input-placeholder { color:rgba(0,0,0,.3); }
.mr-search input:-moz-placeholder, ::-moz-placeholder { color:rgba(0,0,0,.3); }
.mr-search input:-ms-input-placeholder { color:rgba(0,0,0,.3); }

/* Select */
.mr-filter .select:after {
  width: 1rem;
  height: 1.4rem;
}
.mr-filter .select select {
  background: #efefef;
  border: 1px solid #b6b6b7;
  margin: 0;
  padding-right: 6rem;
}
/* Showing X of Y */
.mr-results-total {
  font-size: 1.4rem;
}
.mr-results-total .sep {
  color: rgba(0,0,0,.3);
  display: inline-block;
  transform: translateY(-1px);
}
.mr-results-total button {
  background: none;
  border: 0;
  color: #007bc6 !important;
  cursor: pointer;
  font-size: 1.4rem;
  margin: 0;
  padding: 0;
}

/* VIDEO GRID */
.mr-grid .mr-video-card {
  width: 100%;
}
.mr-grid .mr-video-card-title {
  font-size: 1.8rem;
  line-height: 1.5;
}
.mr-grid .mr-video-card-pill {
  font-size: 1.3rem;
  height: 30px;
  padding: 7px 10px;
}
.mr-grid .mr-video-card-tag {
  height: 30px;
}

/* CHANNEL DETAIL */
.mr-channel-sidebar {
  background:#007bc6;
  color: #fff;
  font-size: 1.4rem;
}
.mr-channel-sidebar a,
.mr-channel-sidebar a:visited {
  color: #fff;
}
.mr-channel-sidebar .arrow:after {
  transform: translateY(2px);
}
.mr-channel-sidebar .arrow-white:hover {
  color: #fff;
  text-decoration: underline;
}
.mr-channel-sidebar .arrow-white::after {
  content: url(https://www.kla.com/wp-content/themes/kla-wp/assets/images/icons/arrow-white.svg);
}
.mr-channel-sidebar hr {
  background: #00629e;
}
.mr-channel-sidebar p {
  font-size: 1.4rem;
  line-height: 1.6;
}
.mr-channel-sidebar .btn {
  background: #41007f;
}
.mr-channel-sidebar .inner {
  padding-top: 3rem;
  padding-bottom: 3rem;
}
.mr-channel-sidebar .inner > :last-child {
  margin-bottom: 0;
}
.mr-channel-sidebar .mr-channel-description {
  font-family: 'OpenSans-Light', sans-serif;
  font-size: 2rem;
}
.mr-channel-subscribe .subscribe-btn.btn {
  display: inline-flex;
}
.mr-channel-careers {
  margin-top: 4rem;
}

[lang="ko"] .mr-subscribe > h2 {
  white-space: nowrap;
}

/* Presenter */
.mr-detail .presenter-hr { margin: 50px 0; }
.presenter h3 {
  margin-bottom: 3rem;
}
.presenter-img {
  flex-shrink: 0;
  width: 190px;
}


/* MEDIA QUERIES (MIN)
--------------------------- */

/* TABLET: PORTRAIT+ */
@media only screen and (min-width: 768px) {
  /* DEFAULTS */
  .media-room .h1 {
    font-size: 5.5rem;
    line-height: 7rem;
  }
  .media-room .block-tabletP {
    display: block;
  }

  /* CAROUSEL (SWIPER) */
  [ie] .mr-swiper-wrap {
    position: relative;
  }
  [ie] .mr-swiper-wrap::before,
  [ie] .mr-swiper-wrap::after {
    background: #efefef;
    content: '';
    height: 100%;
    pointer-events: none;
    position: absolute;
    top: 0;
    width: 20px;
    z-index: 2;
  }
  [ie] .mr-swiper-wrap::before {
    left: -69px
  }
  [ie] .mr-swiper-wrap::after {
    display: none;
  }
  .swiper-wrapper {
    align-items: stretch !important;
    margin-left: 2rem;
  }
  .swiper-slide {
    opacity: 1;
    min-height: 100%;
  }
  .swiper-slide .mr-video-card {
    max-width: calc(100vw - 45px - 45px);
  }
  .swiper-button-next,
  .swiper-button-prev {
    border-width: 10px;
  }
  .swiper-button-next, .swiper-container-rtl .swiper-button-prev {
    right: 0;
  }
  [ie] .swiper-button-next, .swiper-container-rtl .swiper-button-prev {
    right: 20px;
  }
  .swiper-button-prev, .swiper-container-rtl .swiper-button-next {
    left: 0;
  }
  .mr-swiper:before,
  .mr-swiper:after { display: none; }

  /* BANNER */
  .media-room-banner .inner {
    min-height: 320px;
  }

  .mr-section + .mr-section {
    margin-top: 10rem;
  }
  .media-room-content .inner {
    padding-bottom: 7rem;
    padding-top: 7rem;
  }


  /* VIDEO CARDS */
  .mr-video-card {
    width: 430px;
    max-width: 430px;
  }

  /* BROWSE */
  .mr-search {
    margin-bottom: 3rem;
  }
  .mr-filter {
    align-items: center;
    display: flex;
  }
  .mr-filter + #hits {
    margin-bottom: 20px;
  }
  .mr-filter .select {
    margin-right: 30px;
  }
  .mr-filter + .mr-grid,
  h1 + .mr-grid {
    margin-top: 3rem;
  }
  .h3 + .mr-grid {
    margin-top: 0;
  }
  .mr-grid {
    /* display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-column-gap: 3rem;
    grid-row-gap: 3rem; */

    display: flex;
    flex-wrap: wrap;
    margin-left: -15px;
    margin-right: -15px;
  }
  .mr-grid > * {
    flex-basis: calc(50% - 15px - 15px);
    margin: 15px;
  }

  /* CHANNEL CONTENT */
  .mr-channel-sidebar hr {
    margin: 1rem 0 1.4rem;
  }
  .mr-channel-grid .media-room-content .inner {
    padding-bottom: 5rem;
    padding-top: 5rem;
  }
  .mr-channels-explore {
    margin-bottom: 10rem;
  }
  .mr-channels-explore .h3 {
    margin-bottom: 3rem;
  }
  .mr-channels-explore-nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-column-gap: 3rem;
    grid-row-gap: 2rem;
  }

  .presenter-img { margin-right: 3rem; }
}
@media only screen and (min-width: 769px) {

  /* CAROUSEL */
  .mr-swiper:before,
  .mr-swiper:after {
    content: '';
    position: absolute;
    top: 0;
    height: 100%;
    pointer-events: none;
    z-index: 1;
  }
  .mr-swiper:before {
    background: rgba(239,239,239,1);
    z-index: 11;
  }
  .mr-swiper:after {
    background: linear-gradient(90deg, rgba(239,239,239,0), rgba(239,239,239,1));
    display: block;
    right: 0;
    width: 300px;
  }
}


/* TABLET: LANDSCAPE+ */
@media only screen and (min-width: 1024px) {
  /* HEADER */
  .menu-close { display:none !important; }
  .media-room #top_menu { margin-left:8rem; align-self: center; }
  .media-room #top_menu > ul > li { padding-top:0; }

  /* Primary Footer Menu/Nav */
  .media-room .primary-footer__menu { display:none; }
  .media-room .primary-footer__subsection { margin-top: 0; }
  .media-room .social-media { margin-top: 0; }

  /* LAYOUT */
  .media-room .flex-d {
    display: flex;
  }

  /* CHANNEL LIST CARDS */
  .mr-channel-card-inner {
    max-width: 61%;
  }

  /* BROWSE */
  .mr-filter + .mr-grid,
  h1 + .mr-grid {
    margin-top: 4rem;
  }
  .h3 + .mr-grid {
    margin-top: 0;
  }
  .mr-grid {
    /* grid-template-columns: repeat(3, 1fr);
    grid-column-gap: 4rem;
    grid-row-gap: 4rem; */

    margin-left: -15px;
    margin-right: -15px;
  }
  .mr-grid > * {
    flex-basis: calc(32% - 15px - 15px);
    margin: 15px;
  }
  .mr-grid-channels-list > * {
    flex-basis: calc(50% - 15px - 15px) !important;
    margin: 15px;
  }
  [ie] .mr-grid-channels-list > * {
    flex-basis: calc(28% - 15px - 15px) !important;
  }
  .mr-grid-channels-detail > * {
    flex-basis: calc(50% - 15px - 15px) !important;
    margin: 15px;
  }

  /* CHANNEL DETAIL */
  .mr-channel-grid {
    display: flex;
  }
  .mr-channel-sidebar {
    flex: 1 0 auto;
    width: 300px;
    max-width: 300px;
  }
  [ie] .mr-channel-sidebar {
    flex: none;
  }
  .mr-channel-sidebar hr {
    margin: 1.4rem 0 1.6rem;
  }
  .mr-channel-grid .media-room-content .inner {
    padding-bottom: 4rem;
    padding-top: 4rem;
  }
  .mr-video-card.featured {
    flex-direction: row;
  }
  .mr-video-card.featured > *:first-child {
    flex-basis: 60%;
    flex-shrink: 0;
  }
  .media-room .mr-channel-content {
    width: 100%;
  }

  .presenter-img { margin-right: 4rem; }
}


/* TABLET: DESKTOP+ */
@media only screen and (min-width: 1200px) {
  .media-room .inner {
    margin: 0 8rem;
  }
  .mr-cta-message {
    font-size: 4rem;
    line-height: 5rem;
  }

  /* CAROUSEL
  --------------------------- */
  /* Carousel wrap */
  .swiper-container {
    margin-left: -5rem;
    margin-right: -5rem;
  }
  .swiper-wrapper {
    margin-left: 5rem;
  }
  .swiper-button-next, .swiper-container-rtl .swiper-button-prev {
    right: 4rem;
  }
  [ie] .swiper-button-next, .swiper-container-rtl .swiper-button-prev {
    right: 5rem;
  }
  .swiper-button-prev, .swiper-container-rtl .swiper-button-next {
    left: 0;
  }

  .mr-swiper:before {
    display: block;
    left: 0;
    width: 38px;
  }

  /* VIDEO DETAIL */
  .mr-detail-video { margin-bottom: 30px; }

  /* FILTERS */
  .mr-search input {
    height: 7rem;
  }

  .media-room .mr-channel-sidebar .inner {
    margin: 0 2rem;
  }
  .mr-channels-explore-nav {
    grid-column-gap: 5rem;
  }

  .mr-subscribe {
    display: flex;
    grid-column-gap: 2rem;
  }
  [ie] .mr-subscribe { display: block; }
  .mr-subscribe .blog-subscribe-form .email-field {
    max-width: calc(100% - 150px);
  }
  .mr-subscribe .blog-subscribe-form .frm_submit {
    left: auto;
    right: 0;
    top: 1px;
  }
}


/* CUSTOM DESKTOP+ */
@media only screen and (min-width: 1390px) {
  /* BANNER */
  .media-room-banner .inner {
    min-height: 450px;
    font-size: 5.5rem;
  }

  /* CHANNEL LIST CARDS */
  .mr-channel-card {
    padding: 3rem;
  }
  .mr-channel-card-inner {
    max-width: 51%;
  }
  .mr-channel-desc {
    font-size: 1.6rem;
  }

  /* FEATURED VIDEO */
  .mr-video-card.featured {
    width: calc(100% - 40px);
  }

  /* BROWSE */
  .mr-grid {
    /* grid-template-columns: repeat(4, 1fr);
    grid-column-gap: 3rem;
    grid-row-gap: 3rem; */

    margin-left: -15px;
    margin-right: -15px;
  }
  .mr-grid > * {
    flex-basis: calc(25% - 15px - 15px);
    margin: 15px;
  }
}


/* CUSTOM DESKTOP+ */
@media only screen and (min-width: 1480px) {

  /* FEATURED VIDEO */
  .mr-video-card.featured {
    width: calc(100% - 10px);
  }

  /* Primary Footer Menu/Nav */
  .media-room .primary-footer .inner > .flex {
    align-items: center;
  }
  .media-room .primary-footer .inner > .flex > a:first-child {
    margin-right: auto;
    transform: translateY(2px);
  }
  .media-room .primary-footer__subsection {
    display: flex;
    margin: 0;
  }
  .media-room .primary-footer__copyright {
    margin:0 1.5rem 0 0;
  }
  .media-room .primary-footer__sub-menu {
    transform: translateY(1px);
  }
  .media-room .social-media {
    margin-left:10rem;
  }
  .media-room .social-media ul {
    transform: translateX(-10px);
  }

  /* CAROUSEL (SWIPER) */
  .mr-carousel-inner .mr-video-card + .mr-video-card {
    margin-left: 5rem;
  }

  /* VIDEO DETAIL */
  .mr-detail h1 {
    font-size: 4rem;
    line-height: 5.5rem;
  }

  /* BROWSE */
  .mr-filter + .mr-grid,
  h1 + .mr-grid {
    margin-top: 5rem;
  }
  .h3 + .mr-grid {
    margin-top: 0;
  }

  /* SIDEBAR */
  .mr-grid-channels-detail > * {
    flex-basis: calc(33% - 15px - 15px) !important;
    min-width: 316px;
  }
  .mr-subscribe {
    grid-column-gap: 4rem;
  }
  .mr-subscribe .blog-subscribe-form .email-field {
    max-width: 430px;
  }
  .mr-subscribe .blog-subscribe-form .frm_submit {
    left: 445px;
    right: auto;
  }
	
  .presenter-img { margin-right: 5rem; }
}

/* CUSTOM DESKTOP+ */
@media only screen and (min-width: 1525px) {
  .mr-grid-channels-list > * {
    flex-basis: calc(33% - 15px - 15px) !important;
    margin: 15px;
  }
}

/* CUSTOM DESKTOP+ */
@media only screen and (min-width: 1700px) {

  /* BROWSE */
  .mr-grid {
    /* grid-template-columns: repeat(5, 1fr); */

    margin-left: -15px;
    margin-right: -15px;
  }
  .mr-grid > * {
    flex-basis: calc(20% - 15px - 15px);
    margin: 15px;
  }

  /* CHANNEL DETAIL */
  .media-room .mr-channel-sidebar {
    width: 480px;
    max-width: 480px;
  }
  .mr-channel-sidebar p {
    font-size: 1.6rem;
    letter-spacing: .2px;
  }
  .mr-channel-sidebar hr {
    margin: 2.5rem 0;
  }
  .media-room .mr-channel-sidebar .inner {
    margin: 0 5rem;
  }
  .mr-channel-sidebar .mr-channel-description {
    font-size: 2.5rem;
    letter-spacing: 0;
  }
  .mr-channel-careers { margin-top: 8rem; }
  .mr-channel-grid .media-room-content .inner {
    padding-bottom: 7rem;
    padding-top: 7rem;
  }
}

/* CUSTOM DESKTOP+ */
@media only screen and (min-width: 1800px) {

  .mr-subscribe .blog-subscribe-form .email-field {
    max-width: 530px;
  }
  .mr-subscribe .blog-subscribe-form .frm_submit {
    left: 545px;
  }
}

/* MAX DESKTOP+ */
@media only screen and (min-width: 2000px) {

  /* FEATURED VIDEO */
  .mr-video-card.featured {
    width: calc(100% - 50px);
  }

  /* BROWSE */
  .mr-grid {
    /* grid-column-gap: 5rem;
    grid-row-gap: 5rem; */

    margin-left: -25px;
    margin-right: -25px;
  }
  .mr-grid > * {
    flex-basis: calc(20% - 25px - 25px);
    margin: 25px;
  }

  /* CAROUSEL */
  [ie] .mr-swiper-wrap::after {
    display: block;
    right: -49px;
  }

  /* CHANNEL */
  .mr-channel-sidebar {
    flex: none;
  }
  .media-room .mr-channel-sidebar .inner {
    width: auto;
  }
  .mr-channel-grid .media-room-content .inner {
    padding-bottom: 8rem;
    padding-top: 8rem;
  }
  .media-room .mr-channel-content .inner {
    max-width: 1520px;
    margin-left: 10rem;
  }
  .mr-grid-channels-list > * {
    flex-basis: calc(33% - 25px - 25px) !important;
    margin: 25px;
  }
  .mr-grid-channels-detail > * {
    flex-basis: calc(23% - 15px - 15px) !important;
  }
}

/* MAX DESKTOP+ */
@media only screen and (min-width: 2100px) {
  .media-room .inner {
    margin: 0 auto;
    width: 100%;
  }
}



/* MEDIA QUERIES (RANGE)
--------------------------- */

@media only screen and (min-width: 768px) and (max-width:875px) {
  .mr-channel-card { background-position: 118% 100%; }
}
@media only screen and (min-width: 1071px) and (max-width:1159px) {
  .mr-channel-card { background-position: 110% 100%; }
}

/* MEDIA QUERIES (MAX)
--------------------------- */

/* UP TO TABLET: LANDSCAPE */
@media only screen and (max-width: 1023px) {
  .mr-section .col + .col { margin-top: 8rem; }

  /* MAIN NAV FLYOUT */
  .media-room .mobile-nav,
  .media-room .mobile-nav [id^='mobile-section'] {
    height: 100vh;
    top: 0;
  }
  .media-room #mobile-nav-toggler {
    right: 12px;
  }

  /* HEADER */
  .media-room #mobile-nav-toggler {
    display: flex;
    top: 50%;
    transform: translateY(-50%);
  }

  /* CHANNEL DETAIL */
  .mr-channel-careers { display: none; }
}

/* MOBILE ONLY */
@media only screen and (min-width: 768px) and (max-width: 768px) {
  .swiper-slide .mr-video-card {
    transform: translateX(24px);
  }
}
@media only screen and (max-width: 767px) {
  /* DEFAULTS */
  .media-room .h1 {
    font-size: 4rem;
  }

  /* CAROUSEL (SWIPER) */
  .swiper-container-autoheight .swiper-wrapper {
    align-items: stretch;
  }
  .swiper-wrapper {
    margin-left: 45px;
    margin-right: 45px;
  }
  .swiper-slide .mr-video-card {
    max-width: calc(100vw - 45px - 45px);
  }
  .swiper-button-next, .swiper-container-rtl .swiper-button-prev {
    right: 6px;
  }
  [ie] .swiper-button-next, .swiper-container-rtl .swiper-button-prev {
    right: 12px;
  }
  .swiper-button-prev, .swiper-container-rtl .swiper-button-next {
    left: 6px;
  }
  .mr-swiper:before,
  .mr-swiper:after { display:none; }

  /* CHANNEL LIST CARDS */
  .mr-channel-card + .mr-channel-card {
    margin-top: 3rem;
  }

  /* BROWSE */
  .mr-filter + .mr-grid,
  h1 + .mr-grid {
    margin-top: 3rem;
  }
  .mr-grid .mr-video-card + .mr-video-card {
    margin-top: 3rem;
  }
  /* Showing X of Y */
  .mr-results-total {
    margin: 2rem 0;
  }

  .mr-channels-explore-link {
    margin-top: 2rem;
  }
  .mr-channels-explore-link + .mr-channels-explore-link {
    margin-top: 2rem;
  }

  /* DETAIL */
  .mr-detail h1 {
    margin-bottom: 6rem;
  }
  .media-room .social-share-wrapper {
    align-items: center;
  }
  .media-room .social-share-wrapper p {
    margin-bottom: 0.5rem;
    margin-left: 1rem;
  }

  .mr-filter .select + .select {
    margin-top: 1rem;
  }
}

@media screen and (max-width: 400px) {
  .mr-channel-card {
    background-position: 150% 100%;
  }

  .swiper-wrapper {
    margin-left: 25px;
    margin-right: 25px;
  }
  .swiper-slide .mr-video-card {
    max-width: calc(100vw - 25px - 25px);
  }
  .swiper-button-next,
  .swiper-button-prev {
    width: 12px;
    height: 25px;
  }
}
