  /*
  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;
  /* min-height:700px; */
  /* min-height: 580px; */
}
.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;
  margin-block-end: 4rem;
}
.mr-video-card-content .mr-video-card-info {
  margin-block-start: 2rem;
  padding-block-start: 2rem;
}
[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 {
  position: relative;
  padding-block-end: 4rem;
}
.mr-section-header {
  display: flex;
  align-items: baseline;
}
.mr-section-header h2 {
  margin-block-end: 5rem;
}
.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: 6rem;
  padding-top: 6rem;
}


/* CAROUSEL
--------------------------- */
/* Carousel wrap */
.swiper-container {
  margin-left: -2rem;
  margin-right: -2rem;
  width: 100vw;
  max-width: calc(2000px + 8rem);
}
@media screen and (min-width: 1800px) {
  /* Carousel wrap */
  /* .swiper-container {
    width: 115%;
  } */
}
.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;
}
.swiper-pagination.swiper-pagination-progressbar.swiper-pagination-horizontal {
  top: unset;
  bottom: 0;
  --swiper-theme-color: #007BC6;
  --swiper-pagination-progressbar-size: 10px;
  background-color: hsla(240, 20%, 6%, 0.05);;
  clip-path: inset(0 0 0 0 round 0.5rem);
}
/* Next / Prev Arrows */
.mr-swiper-wrap .swiper-button-next,
.mr-swiper-wrap .swiper-button-prev {
  background-image: url('/wp-content/themes/kla-wp/assets/images/icons/arrow-circle.svg');
  background-size: contain;
  background-repeat: no-repeat;
  /* border: 5px solid rgba(0,0,0,0); */
  box-sizing: content-box;
  width: 44px;
  height: 44px;
  z-index: 11;
  /* background-color: white; */
  /* border-radius: 50%; */
  margin: 0;
}
.mr-swiper-wrap .swiper-button-prev,
.mr-swiper-wrap .swiper-button-next {
  top: 0 !important;
}
.mr-swiper-wrap .swiper-button-prev {
  right: 6rem;
  left: unset;
}
.mr-swiper-wrap .swiper-button-next {
  right: 0;
  left: unset;
}
.events-slider-section:has([data-singleitem]) .intro-card .btn,
.events-slider-section:has([data-disabled]) {
  display: none;
}
.events-slider-section .reduced-image .img {
  background-size: 60%;
}
@media screen and (max-width: 500px) {
  .events-slider-section .mr-section-header h2 {
    max-width: 50%;
  }
}
.mr-swiper-wrap .swiper-button-next, .mr-swiper-wrap .swiper-container-rtl .mr-swiper-wrap .swiper-button-prev {
  transform: rotate(180deg);
}
.mr-swiper-wrap .swiper-button-prev:after, .mr-swiper-wrap .swiper-rtl .swiper-button-next:after,
.mr-swiper-wrap .swiper-button-next:after, .mr-swiper-wrap .swiper-rtl .swiper-button-prev:after {
  display: none;
}
/* Contents overrides */
.mr-swiper-wrap .swiper-slide .mr-video-card,
.mr-swiper-wrap .swiper-slide .intro-card {
  width: auto;
  height: 100%;
}
.mr-swiper-wrap .swiper-slide .mr-video-card-img {
  height: auto;
}
.intro-card.bg--purple {
  background: #41007F !important;
  color: #fff;
}
.ir-events-swiper {
  height: 100%;
}
.ir-events-swiper .swiper-slide:not(:has(.intro-card)) * {
  background: #007BC6;
  transition: 0.3s background ease-in-out;
}
.ir-events-swiper .swiper-slide .mr-video-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 30px;
}
.ir-events-swiper .swiper-slide .mr-video-card a h3 {
  margin-block-end: 3rem;
}
.ir-events-swiper .swiper-slide .mr-video-card a:last-child {
  color: #fff;
  display: block;
  margin-block-start: auto;
}
.ir-events-swiper .swiper-slide .mr-video-card a:last-child:hover {
  color: #02588D;
}
.ir-events-swiper .swiper-slide .mr-video-card > span {
  margin-block-end: 4rem;
}

/* 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('/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(/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;
}

/* special footer style for media room */
.media-room .footer_grid {
  grid-template-areas:
    "logo subsection social"
    "time_magazine_2024 subsection social";
  
  .primary-footer__subsection {
    flex-direction: column;
  }

  @media only screen and (width < 1024px) {
    grid-template-areas:
      "logo logo social"
      "time_magazine_2024 . subsection";
  }

  @media only screen and (width < 768px) {
    grid-template-areas:
      "logo"
      "time_magazine_2024"
      "social"
      "subsection";
  }
}

/* Intro Card */
.intro-card {
  /* background: #dedee0; */
  background: hsla(240, 20%, 6%, 0.05);
  padding: 5rem;
  position: relative;
  height: auto;
  min-width: 300px;
  z-index: 2;
}

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

/* TABLET: PORTRAIT+ */
@media only screen and (min-width: 768px) {
  .intro-card {
    min-width: calc( ((100vw - 7rem) / 2) );
  }
  .mr-swiper-wrap .swiper-wrapper {
    margin-left: 0;
  }
  .mr-swiper-wrap .swiper-container {
    margin-left: 0;
    margin-right: 0;  
  }
  .content-wrapper {
    gap: 3rem !important;
  }
  .mr-swiper-wrap,
  .swiper-container {
    max-width: calc( ((100vw - 7rem) / 2) );
  }
  .content-wrapper {
    grid-template-columns: calc( ((100vw - 7rem) / 2) ) auto !important;
  }
  .media-room-content { 
    position: relative;
  }
  .media-room-content:has(.mr-section.mobile-hide):after {
    content: '';
    position: absolute;
    top: 0;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    background: linear-gradient(90deg, rgba(239,239,239,0), #efefef);
    display: block;
    right: 0;
    width: 2rem;
  }
  .media-room-content:has(.mr-section.mobile-hide):before {
    content: '';
    position: absolute;
    top: 0;
    height: 100%;
    pointer-events: none;
    z-index: 2;
    background: #efefef;
    display: block;
    left: 0;
    width: 2rem;
  }
  body { 
    background: #efefef;
  }
  /* .mr-video-card {
    min-height: 620px;
  } */
  /* 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;
  }
  .mr-swiper-wrap .swiper-wrapper {
    align-items: stretch !important;
    /* margin-left: 2rem; */
  }
  .mr-swiper-wrap .swiper-slide {
    opacity: 1;
    min-height: 100%;
  }
  .mr-swiper-wrap .swiper-slide .mr-video-card,
  .mr-swiper-wrap .swiper-slide .intro-card {
    /* max-width: calc(100vw - 45px - 45px); */
    max-width: calc( (139rem - 100px) / 3);
  }
  .mr-swiper-wrap .swiper-button-next,
  .mr-swiper-wrap .swiper-button-prev {
    border-width: 10px;
  }
  /* .mr-swiper-wrap .swiper-button-next, .mr-swiper-wrap .swiper-container-rtl .swiper-button-prev {
    right: 0;
  }
  [ie] .mr-swiper-wrap .swiper-button-next, .mr-swiper-wrap .swiper-container-rtl .swiper-button-prev {
    right: 20px;
  }
  .mr-swiper-wrap .swiper-button-prev, .mr-swiper-wrap .swiper-container-rtl .swiper-button-next {
    left: 0;
  } */
  .mr-swiper:before,
  .mr-swiper:after { display: none; }

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

  .media-room-content .inner {
    padding-bottom: 8rem;
    padding-top: 8rem;
  }


  /* 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) {
  .media-room-content:has(.mr-section.mobile-hide):after,
  .media-room-content:has(.mr-section.mobile-hide):before {
    width: calc( (100% - 95.8rem) / 2);
  }
  .intro-card {
    min-width: calc( (95.8rem - 6rem) / 3);
  }
  .mr-swiper-wrap .swiper-wrapper {
    margin-left: 0;
  }
  .mr-swiper-wrap .swiper-container {
    margin-left: 0;
    margin-right: 0;  
  }
  .content-wrapper {
    gap: 3rem !important;
  }
  .mr-swiper-wrap,
  .swiper-container {
    max-width: calc( (((95.8rem - 6rem) / 3) * 2 ) + 3rem);
  }
  .content-wrapper {
    grid-template-columns: calc( (95.8rem - 6rem) / 3) auto !important;
  }
  /* .mr-video-card {
    min-height: 640px;
  } */
  /* 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 */
  /* .mr-swiper-wrap .swiper-container {
    margin-left: -5rem;
    margin-right: -5rem;
  }
  .mr-swiper-wrap .swiper-wrapper {
    margin-left: 5rem;
  } */
  /* .mr-swiper-wrap .swiper-button-next, .mr-swiper-wrap .swiper-container-rtl .swiper-button-prev {
    right: 4rem;
  }
  [ie] .mr-swiper-wrap .swiper-button-next, .mr-swiper-wrap .swiper-container-rtl .swiper-button-prev {
    right: 5rem;
  }
  .mr-swiper-wrap .swiper-button-prev, .mr-swiper-wrap .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) {
  /* .intro-card {
    min-width: 350px;
  } */
  /* 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) {
  .media-room-content:has(.mr-section.mobile-hide):after,
  .media-room-content:has(.mr-section.mobile-hide):before {
    width: calc( (100% - 139rem) / 2);
  }
  .intro-card {
    min-width: calc( (139rem - 10rem) / 3);
  }
  .mr-swiper-wrap .swiper-wrapper {
    margin-left: 0;
  }
  .mr-swiper-wrap .swiper-container {
    margin-left: 0;
    margin-right: 0;  
  }
  .content-wrapper {
    gap: 5rem !important;
  }
  .mr-swiper-wrap,
  .swiper-container {
    max-width: calc( (((139rem - 10rem) / 3) * 2 ) + 5rem);
  }
  .content-wrapper {
    grid-template-columns: calc( (139rem - 10rem) / 3) auto !important;
  }
  /* .mr-video-card {
    min-height: 700px;
  } */
  /* 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 .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) {
  .intro-card {
    min-width: 400px;
  }
  .mr-grid-channels-list > * {
    flex-basis: calc(33% - 15px - 15px) !important;
    margin: 15px;
  }
}

/* CUSTOM DESKTOP+ */
@media only screen and (min-width: 1700px) {
  .intro-card {
    min-width: calc( (139rem - 10rem) / 3);
  }
  .mr-swiper-wrap .swiper-wrapper {
    margin-left: 0;
  }
  .mr-swiper-wrap .swiper-container {
    margin-left: 0;
    margin-right: 0;  
  }
  .content-wrapper {
    gap: 5rem !important;
  }
  .mr-swiper-wrap,
  .swiper-container {
    max-width: calc( (((139rem - 10rem) / 3) * 2 ) + 5rem);
  }
  .content-wrapper {
    grid-template-columns: calc( (139rem - 10rem) / 3) auto !important;
  }
  /* 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: 8rem;
    padding-top: 8rem;
  }
}

/* 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-room-content:has(.mr-section.mobile-hide):after {
    background: linear-gradient(90deg, rgba(239,239,239,0), #efefef 70%);
  }
}
@media only screen and (min-width: 2500px) {
  .media-room-content:has(.mr-section.mobile-hide):after {
    background: linear-gradient(90deg, rgba(239,239,239,0), #efefef 50%);
  }
}
@media only screen and (min-width: 4500px) {
  .media-room-content:has(.mr-section.mobile-hide):after {
    background: linear-gradient(90deg, rgba(239,239,239,0), #efefef 20%);
  }
}

@media only screen and (min-width: 1480px) {
  main .inner {
    padding: 8rem 0;
  }
}

/* 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) {
  .mr-swiper-wrap .swiper-slide .mr-video-card {
    transform: translateX(24px);
  }
}
.media-library h3 .text-purple {
  color: #41007F !important;
}
@media only screen and (max-width: 767px) {
  .media-library {
    margin-block-start: 6rem;
  }
  .media-library h2 {
    margin-inline: 2rem;
  }
  /* DEFAULTS */
  .media-room .h1 {
    font-size: 4rem;
  }

  .media-room-content .inner {
    margin-inline: 2rem;
  }

  /* CAROUSEL (SWIPER) */
  .swiper-container-autoheight .mr-swiper-wrap .swiper-wrapper {
    align-items: stretch;
  }
  .mr-swiper-wrap .swiper-wrapper {
    margin-left: 45px;
    margin-right: 45px;
  }
  .swiper-slide .mr-video-card,
  .swiper-slide .intro-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%;
  }

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

.blog-card-category {
    padding: 1rem 2rem;
    display: block;
    margin-block: 0;
}

.blog-card-category a, .blog-card-category a:hover, .blog-card-category a:visited {
    color: white !important;
    transition: 0.2s opacity ease-in-out;
}

.blog-card-category a:hover {
    opacity: 0.8;
}

#latest_blogs article {
    margin-bottom: 5rem;
}

#latest_blogs .img {
    min-height: 250px
}

#latest_blogs .cta-title h2 {
    margin-bottom: 0;
}

.cta-card {
    margin-bottom: 5rem;
}

.cta-description {
    margin-top: auto !important;
}

#latest_blogs .col .img:hover {
    opacity: 0.8;
    transition: 0.2s opacity ease-in-out;
}

.blog-cta-footer {
    text-align: right;
    margin-block-start: 3rem; }

.advance-swiper .swiper-slide {
    opacity: 1;
}

.advance-swiper-pagination {
    position: relative;
    bottom: 0;
    margin-bottom: 0 !important;
}

@media only screen and (min-width: 1480px) {
    .blog-card-category {
        padding: 1rem 5rem;
    }
}

@media only screen and (min-width: 1024px) {
    .blog-card-category {
        padding: 1rem 4rem;
    }

    .advance-swiper [class*="t-1-2"] {
        flex: 6;
        flex-basis: calc((100% / 2) - 2rem);
        max-width: calc((100% / 2) - 2rem);
    }

    #latest_blogs article {
        margin-bottom: 2rem;
    }
}

@media only screen and (min-width: 768px) {
    .blog-card-category {
        padding: 1rem 3rem;
    }

    .cta-title {
        padding-left: 6rem;
    }

    #latest_blogs .img {
        min-height: 0px
    }

    .advance-article.col-t-1-1 {
        display: flex;
    }

    .advance-article.col-t-1-1 .advance-article-img {
        min-width: 33%;
        width: 33%;
        margin-right: var(--pint-spacing, 40px);
    }
}

  /**
  * Slider Styles
  * 
  * CSS organized by:
  * 1. Custom properties (variables)
  * 2. Theme variations (light/dark)
  * 3. Layout & containers
  * 4. Slide components & content
  * 5. Navigation elements
  * 6. Pagination
  * 7. Media queries
  */

  /* ------------- 1. Custom properties ------------- */
  :root {
    /* Colors */
    --kla-swiper-button-color: oklch(57% 0.1463 246.27); /* #007bc6 */
    --kla-swiper-button-text-color: #fff;
    --kla-swiper-text-color: oklch(100% 0 0); /* #ffffff */
    --kla-swiper-title-text-color: #fff;
    --kla-swiper-blurb-color: rgba(255, 255, 255, 0.60);
    --kla-swiper-bullet-color: #7F5A8C;
    --kla-swiper-bullet-color-active: #D395E8;
    --kla-swiper-bg-overlay: linear-gradient(180deg, rgba(0, 0, 0, 0.20) 0%, rgba(0, 0, 0, 0.80) 100%);
    
    /* Sizing */
    --kla-swiper-title-size: clamp(4rem, 5vw, 5.5rem);
    --kla-swiper-padding: 100px;
    --kla-swiper-content-width: 139rem;
    --kla-title-width: 750px;
    --kla-swiper-slide-height: clamp(650px, 60vh, 750px);
    --kla-swiper-pagination-height: 150px;
  }

  /* ------------- 2. Theme variations ------------- */
  /* Light theme overrides */
  .swiper-slide[data-theme="light"] {
    --kla-swiper-text-color: #0C0C12;
    --kla-swiper-title-text-color: #41007F;
  }

  pint-slider.kla-swiper-slider:has(.swiper-slide.swiper-slide-active[data-theme="light"]) {
    --kla-swiper-bg-overlay: linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.8) 100%);
    --kla-swiper-blurb-color: rgba(12, 12, 18, 0.6);
    --kla-swiper-text-color: #0c0c12;
    --kla-swiper-bullet-color: rgba(65, 0, 127, 0.6);
    --kla-swiper-bullet-color-active: rgb(65, 0, 127);
  }

  /* ------------- 3. Layout & containers ------------- */
  .kla-swiper-container {
    width: 100%;
    max-width: 100%;
    margin-block-start: 2rem;
  }

  pint-slider.kla-swiper-slider {
    display: block;
    position: relative;
    width: 100%;
    height: var(--kla-swiper-slide-height);
  }

  .kla-swiper-slider .swiper-slide {
    position: relative;
    background-size: cover;
    background-position: center;
    color: var(--kla-swiper-text-color);
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* ------------- 4. Slide components & content ------------- */
  .kla-slide-content {
    height: 100%;
    margin-inline: auto;
    max-width: var(--kla-swiper-content-width);
    padding: var(--kla-swiper-padding) 0;
    position: relative;
    text-wrap: balance;
    width: 100%;
    z-index: 2;
  }
  @media screen and (max-width: 1479px) {
    .kla-swiper-container .slide-wrapper::after {
      background: linear-gradient(45deg, black, transparent);
      content: '';
      display: block;
      height: 100%;
      left: 0;
      position: absolute;
      top: 0;
      width: 100%;
    }
  }

  /* Title styling */
  .kla-slide-title {
    color: var(--kla-swiper-title-text-color);
    font-size: var(--kla-swiper-title-size);
    max-width: var(--kla-title-width);
    margin-block-end: 0;
    line-height: 1.2;
    font-style: normal;
    font-weight: 600;
    line-height: 1.27;
  }

  /* Text content */
  .kla-slide-category {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-block-end: 0.5rem;
    font-weight: 500;
  }

  .kla-slide-description {
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 1.87;
    max-width: var(--kla-title-width);
    margin-block: 3rem 0;
  }

  .kla-slide-blurb {
    font-size: 1.125rem;
    font-style: italic;
    margin-block-end: 1.5rem;
  }

  /* Button styling */
  .kla-swiper-container a.kla-slide-button {
    display: inline-flex;
    gap: 1rem;
    padding: 1rem 3rem;
    background-color: var(--kla-swiper-button-color);
    color: var(--kla-swiper-button-text-color);
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-block-start: 4rem;
  }

  .kla-swiper-container a.kla-slide-button:hover,
  .kla-swiper-container a.kla-slide-button:focus-visible {
    background-color: #02588D;
    color: var(--kla-swiper-button-text-color);
  }

  /* Optional content image */
  .kla-slide-content:has(.kla-slide-optional-content) {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
  }

  .kla-slide-optional-content {
    align-items: flex-start;
    display: flex;
    flex-shrink: 1;
    justify-content: center;
  }

  .kla-slide-optional-content img {
    width: 100%;
    height: auto;
    object-fit: contain;
    /*max-width: 50rem;*/
  }
  /* Temporary */
  @media (min-width: 769px) {
    html[lang="en"] .kla-swiper-slider .swiper-slide:nth-of-type(2) .kla-slide-optional-content img,
    html[lang="zh-hant"] .kla-swiper-slider .swiper-slide:first-of-type .kla-slide-optional-content img {
      display: none;
    }
  }
  /* ------------- 5. Navigation elements ------------- */
  .kla-swiper-slider .swiper-button-prev,
  .kla-swiper-slider .swiper-button-next {
    color: var(--kla-swiper-text-color);
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  .kla-swiper-slider .swiper-button-prev:hover,
  .kla-swiper-slider .swiper-button-next:hover,
  .kla-swiper-slider .swiper-button-prev:focus-visible,
  .kla-swiper-slider .swiper-button-next:focus-visible {
    opacity: 1;
  }

  /* ------------- 6. Pagination ------------- */
  .kla-swiper-slider .swiper-pagination-bullets {
    align-items: flex-start;
    background: transparent;
    bottom: 0;
    display: flex;
    gap: 5rem;
    height: auto;
    justify-content: flex-start;
    margin-block-end: 0 !important;
    padding-block-start: 3rem;
    position: absolute;
    width: 100%;
  }

  .kla-swiper-slider .swiper-pagination-bullets::before {
    background: rgba(255, 255, 255, 0.20);
    bottom: 60px;
    content: "";
    height: 1px;
    left: 0;
    position: absolute;
    width: 100%;
    z-index: 1;
  }

  .kla-swiper-slider .swiper-pagination-bullets::after {
    content: "";
    position: absolute;
    inset-block-start: 0;
    inset-inline-start: 0;
    width: 100%;
    height: 100%;
    background: var(--kla-swiper-bg-overlay);
    z-index: 0;
  }

  .kla-swiper-slider .pagination-bullet-wrapper {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    margin-block-start: auto;
    position: relative;
    width: 100%;
    z-index: 2;
  }

  .kla-swiper-slider .swiper-pagination-bullet {
    background: var(--kla-swiper-bullet-color) !important;
    border: none !important;
    box-shadow: none !important;
    cursor: pointer;
    height: 6px;
    margin: 0 !important;
    width: 100%;
  }

  .kla-swiper-slider .swiper-pagination-bullet::after {
    background: transparent;
    content: "";
    cursor: pointer;
    height: 100%;
    inset: 0;
    pointer-events: all;
    position: absolute;
    width: 100%;
  }

  .kla-swiper-slider .swiper-pagination-bullet-active {
    background: linear-gradient(90deg, #41007F 0%, #007BC6 100%) !important;
    opacity: 1;
  }

  .pagination-blurb {
    color: var(--kla-swiper-blurb-color);
    display: flex;
    font-size: 1.6rem;
    line-height: 1.25;
    margin-block-end: auto;
    padding-block: 0 1.4rem;
    text-align: start;
  }

  .pagination-bullet-wrapper:has(.swiper-pagination-bullet-active) .pagination-blurb {
    color: var(--kla-swiper-text-color);
  }

  .pagination-category {
    align-items: center;
    color: var(--kla-swiper-bullet-color);
    display: flex;
    font-size: 1.4rem;
    font-style: normal;
    height: 60px;
    line-height: 1;
    text-transform: uppercase;
  }

  .pagination-bullet-wrapper:has(.swiper-pagination-bullet-active) .pagination-category {
    color: var(--kla-swiper-bullet-color-active);
  }

  .slide-wrapper {
    height: 100%;
    width: 100%;
  }
  .slide-wrapper picture {
    position: relative;
    display: flex;
  }
  .slide-wrapper picture img {
    height: 100%;
    width: 100%;
  }
  .press-releases h3 {
    margin-block-end: 3rem;
  }
  .press-releases h5,
  .press-releases a {
    color: white;
  }
  .press-releases .news-detail:last-of-type {
    margin-block-end: 3rem;
  }
  .press-releases a:not(.arrow):hover {
    text-decoration: underline;
  }
  .press-releases .card {
    background: transparent;
    box-shadow: none;
  }
  /* ------------- 7. Media queries ------------- */
  /* Tablet and mobile */
  @media only screen and (max-width: 1023px) {
    pint-slider.kla-swiper-slider {
      height: auto;
    }
    .kla-slide-content {
      --kla-swiper-padding: 8rem;
      height: auto;
    }
    
    .kla-slide-content,
    .swiper-pagination-bullets { 
      padding-inline: 2rem;
    }
    
    .pagination-blurb,
    .pagination-category {
      display: none;
    }
    
    .kla-swiper-slider .swiper-pagination-bullets::before {
      display: none;
    }
    
    .kla-swiper-slider .swiper-pagination-bullets {
      padding-block-end: 3rem;
      gap: 1rem;
    }
  }

  /* Desktop */
  /* @media only screen and (min-width: 1024px) { */
    .kla-slide-content {
      max-width: 95.8rem;
      margin: 0 auto;
    }
    
    .kla-slide-content:has(.kla-slide-optional-content) .text-content {
      flex-basis: calc(50% - 1.5rem);
      flex-shrink: 0;
    }
    
    .swiper-pagination-bullets {
      padding-inline: calc((100% - 95.8rem) / 2);
    }
    
    .kla-slide-optional-content {
      flex-basis: calc(50% - 1.5rem);
    }

    .kla-swiper-slider .pagination-bullet-wrapper {
      max-width: calc((100% - 10rem) / 3);
      height: stretch;
    }
    .swiper-slide picture {
      display: block;
      height: 100%;
      position: absolute;
      right: 0;
      top: 0;
      width: 100%;
    }
    .swiper-slide picture img {
      height: 100%;
      object-fit: cover;
      object-position: right top;
      width: 100%;
    }
  /* } */

  /* Large desktop */
  @media only screen and (min-width: 1480px) {
    .kla-slide-content {
      max-width: 139rem;
      margin: 0 auto;
    }
    
    .swiper-pagination-bullets {
      padding-inline: calc((100% - 139rem) / 2);
    }
  }

  /* Print styles */
  @media print {
    .kla-swiper-container {
      display: block;
      width: 100%;
    }

    .swiper-slide {
      page-break-inside: avoid;
      margin-block-end: 1rem;
    }

    .swiper-button-prev,
    .swiper-button-next,
    .swiper-pagination {
      display: none;
    }
}

.content-wrapper {
  display: grid;
  gap: 3rem;
  grid-template-columns: 1fr auto;
}
.swiper-slide {
  transition: opacity 0.5s ease-in; 
}
.swiper-slide.swiper-slide-prev,
.swiper-slide:has( + .swiper-slide-prev) {
  transition: opacity 0.05s linear; 
  opacity: 0;
}
