/* Import Inter font from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

@font-face {
  font-family: 'TT-Ramillas';
  font-style: bold;
  font-weight: 700;
  src: url(../../../assets/fonts/tt_ramillas/TT-Ramillas-Bold.ttf) format('ttf'),
    url(../../../assets/fonts/tt_ramillas/TT-Ramillas-Bold.ttf);
}

@font-face {
  font-family: 'TT-Ramillas';
  font-style: auto;
  font-weight: 600;
  src: url(../../../assets/fonts/tt_ramillas/TT-Ramillas-Medium.ttf) format('ttf'),
    url(../../../assets/fonts/tt_ramillas/TT-Ramillas-Medium.ttf);
}

@font-face {
  font-family: 'TT-Ramillas';
  font-style: auto;
  font-weight: 400;
  src: url(../../../assets/fonts/tt_ramillas/TT-Ramillas-Regular.ttf) format('ttf'),
    url(../../../assets/fonts/tt_ramillas/TT-Ramillas-Regular.ttf);
}

@font-face {
  font-family: 'TT-Ramillas';
  font-style: auto;
  font-weight: 300;
  src: url(../../../assets/fonts/tt_ramillas/TT-Ramillas-Light.ttf) format('ttf'),
    url(../../../assets/fonts/tt_ramillas/TT-Ramillas-Light.ttf);
}

@font-face {
  font-family: 'TT-Interphases-Pro';
  font-style: auto;
  font-weight: 400;
  src: url(../../../assets/fonts/tt_interphases_pro/TT-Interphases-Pro-Trial-Regular.ttf) format('ttf'),
    url(../../../assets/fonts/tt_interphases_pro/TT-Interphases-Pro-Trial-Regular.ttf);
}

/* h1, h2, h3, h4, h5, h6, p, a { */
p,
a {
  font-family: "Inter", sans-serif !important;
}

body a,
body div,
body input,
body label,
body li,
body span,
body textarea {
  font-family: "Inter", sans-serif;
}

.ld-course-categories {
  list-style: none;
  padding: 0;
  margin-left: 5px;
}

.ld-course-categories li {
  margin: 5px 0;
}

.ld-course-categories a {
  color: #000000;
  text-decoration: none;
}

.ld-course-categories a:hover {
  color: #3fc3d4;
}

.latest-course-title {
  font-size: 50px;
  color: #000000;
}
.latest-course-description, .latest-course-description p{
  color: #000000;
	opacity: 0.8;
}

/* momflix style */
:root {
  --bg: #f7fbfe;
  --text: #1c2024;
  --muted: #6a7a85;
  --accent: #1fb6ff;
  --teal: #0097B2;
  --pill-bg: #ffffff;
  --card-radius: 14px;
}

* {
  box-sizing: border-box;
}

body {
  overflow-x: hidden;
  font-family: "Inter", sans-serif;
  background: #ffffff;
  color: #000000;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Inter", sans-serif;
  color: #000000;
}

.page-momflix {
  background: #ffffff;
}

.layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  background: #ffffff;
}

.layout main {
  overflow-x: hidden;
}

/* Sidebar */
.sidebar {
  padding: 16px 14px;
  background: #ffffff;
  /* light sidebar */
  color: #000000;
  min-height: 100vh;
}

.brand {
  height: 80px;
  width: 100%;
  border-radius: 12px;
	background: #3FC3D4;
/*   background: linear-gradient(135deg, #2d89d43b, #222326); */
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin-bottom: 18px;
}

.brand a {
  color: #ffffff !important;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.5px;
	width: 75%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand a:hover {
  color: #ffffff80;
}
.brand img{
	width: 25px;
    filter: invert(1);
}

.brand-arrow {
  width: 24px;
  height: 24px;
  margin-left: 8px;
  vertical-align: middle;
  filter: none;
}

.nav {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
}

.nav-section {
  margin: 10px 0 14px 0;
  color: rgba(0, 0, 0, 0.6);
  font-weight: 400;
  letter-spacing: 0.02em;
}

.nav li {
  margin: 6px 0;
}

.nav a {
  display: block;
  padding: 0px 10px;
  border-radius: 8px;
  color: #000000;
  text-decoration: none;
}

.nav a:hover {
  background: #f1f5f9;
}

/* Highlighted sidebar links */
.nav a.highlight-orange {
  color: #f59e0b;
  font-weight: 400;
  margin-left: 20px;
}

.nav a.highlight-teal {
  color: #06b6d4;
  font-weight: 400;
  margin-left: 20px;
}

ul.nav li a {
  font-size: 18px !important;
  /* font-family: "The Youngest", Sans-serif !important; */
}

ul.nav .sub-menu a {
  font-size: 16px !important;
}

/* Main */
main {
  padding: 28px 38px;
  background: #ffffff;
}

.eyebrow {
  color: #3fc3d4;
  font-weight: 400;
  margin-top: 20px;
  letter-spacing: 0.02em;
  /* font-family: "The Youngest", Sans-serif !important; */
  font-size: 28px;
}

.title {
  font-size: 30px;
  /* line-height: 0.95;
  margin: 6px 0 12px; */
  /* font-family: "The Youngest", Sans-serif !important; */
  font-weight: 400;
  color: #000000;
}

.lead {
  /* font-family: "The Youngest", Sans-serif !important; */
  font-size: 18px;
  color: #000000;
  opacity: 0.8;
  line-height: 1.3;
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 28px;
  align-items: center;
  margin-bottom: 26px;
}

.video-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  height: 100%;
  /* background: linear-gradient(
      120deg,
      rgba(31, 182, 255, 0.2),
      rgba(31, 200, 199, 0.2)
    ),
    url("https://images.unsplash.com/photo-1516280030429-27679b3dc9cf?q=80&w=1200&auto=format&fit=crop")
      center/cover; */
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
}

.video-card img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.play a {
  color: #000;
}

.video-badge {
  position: absolute;
  inset: auto 16px 16px auto;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  padding: 10px 14px;
  border-radius: 14px;
  font-weight: 700;
  backdrop-filter: blur(6px);
}

.play {
  position: absolute;
  left: 16px;
  bottom: 16px;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: none;
  background: #3fc3d4;
  color: #ffffff;
  display: grid;
  place-items: center;
  font-weight: 900;
  padding: 0;
  display: flex;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(153, 157, 157, 0.45);
}

.play .play-icon {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
}

.play a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.video-card .video-plus {
  position: absolute;
  left: 66px;
  bottom: 16px;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: none;
  background: #3fc3d4;
  font-weight: 900;
  box-shadow: 0 6px 18px rgba(153, 157, 157, 0.45);
  color: #fff;
  font-size: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.latest-course-featured .play:hover {
  background: #35a9b8;
}

.video-card .play:hover a {
  color: #fff;
}

.video-card .video-plus:hover {
  color: #ffffff;
  background: #35a9b8;
}

.navbar-nav {
  align-items: center;
}

.video-plus a {
  color: #000;
}

/* Rows */
.section-card {
  /* margin-top: 50px; */
  margin: 50px 15px 15px 15px
}
.page-template-my-list-template .section-card{
	margin: 0 !important;
}

.section-card h3 {
  color: #3fc3d4;
  font-weight: 400;
  letter-spacing: 0.02em;
  /* font-family: "The Youngest", Sans-serif !important; */
  font-size: 30px;
}

aside.sidebar ul li {
  display: flex;
  align-items: center;
  width: 100%;
  flex-wrap: wrap;
}

aside.sidebar ul li .toggle-icon {
  transform: rotate(120deg);
  font-size: 25px;
}

.section-card .row {
  display: flex;
  gap: 16px;
  flex-wrap: nowrap;
  /* overflow: auto; */
  overflow-x: auto;
  /* -webkit-overflow-scrolling: touch; */
  scrollbar-width: thin;
  /* -ms-overflow-style: none; */
  margin: 0;
}

/* .video-card button.play img {
  display: none;
} */

/* .video-card button.play a:before,
#startClassBtn:before {
  content: '▶';
} */

/* button :active, button:focus, button:hover
{
  color: #fff !important;
} */
.section-card .card {
  position: relative;
  height: 110px;
  border-radius: var(--card-radius);
  overflow: hidden;
  cursor: pointer;
  background: #dbe7f3;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
  /* width: 20%; */
  width: auto;
  background-image: url(../images/card-bg-img.jpg);
  background-size: cover;
  background-position: center;
  padding: unset;
}

.section-card .card a::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: -10px;
  right: -10px;
  height: 100%;
  box-shadow: inset 1px -30px 20px 12px rgba(0, 0, 0, 0.4);
  pointer-events: none;
  border-radius: inherit;
}

/* .card::before{content:""; position:absolute; inset:0; background:linear-gradient(120deg, rgba(2,6,23,.1), rgba(2,6,23,.55));} */
.section-card .card .label {
  position: absolute;
  left: 10px;
  bottom: 10px;
  color: #ffffff;
  font-weight: 800;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 12px;
}

/* .section-card .card::before {
  position: absolute;
  top: auto;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  content: "";
  background: linear-gradient(to top, rgb(0 0 0 / 65%), rgb(0 0 0 / 0%));
} */
.search-container {
  flex: 1;
  max-width: 500px;
  position: relative;
  margin: 0 20px;
}

.search-bar {
  width: 100%;
  padding: 12px 50px 12px 20px;
  border: 1px solid #7a7a7a;
  border-radius: 14px;
  background: white;
  font-size: 16px;
  outline: none;
  transition: border-color 0.3s ease;
}

.search-bar:focus {
  border-color: #0097b2;
}

.search-bar::placeholder {
  color: #999;
  font-family: "Inter", sans-serif;
}

.search-icon {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: #2a2a2a;
  cursor: pointer;
}

.search-wrapper-header {
  width: 42%;
}

.mobile-search-btn {
  width: 40px;
  height: 40px;
  background-color: #fff;
  border: 1px solid #ccc;
  justify-content: center;
  align-items: center;
  display: none;
  font-size: 14px;
  border-radius: 50px;
}

.mobile-search {
  position: absolute;
  width: 100%;
  padding: 20px;
  background-color: #fff;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  visibility: hidden;
  transition: 0.4s ease;
}

.mobile-search.active {
  opacity: 1;
  visibility: visible;
}

.mobile-search .close-search {
  flex: none;
  width: 40px;
  height: 40px;
  background-color: #fff;
  border: 1px solid #ccc;
  justify-content: center;
  align-items: center;
  display: flex;
  font-size: 14px;
}

.mobile-menu ul li {
  text-align: start;
}

.certification-btn {
  background: #0097B2;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s ease;
  flex-shrink: 0;
}

.certification-btn:hover {
  color: #fff;
}

.video-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(350deg, rgb(0 0 0) 0%, rgb(0 0 0 / 35%) 100%);
  z-index: 1;
}

.video-content {
  position: relative;
  z-index: 2;
  padding: 0 60px;
  color: white;
  max-width: 600px;
}

.category {
  font-size: 18px;
  color: #4fc3f7;
  margin-bottom: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.course-title {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: none;
  color: #000000;
}

.course-description {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #000000;
  opacity: 0.8;
  text-shadow: none;
}

.card a span {
  line-height: 1.3;
}

#mainTopMenu-momflix .navbar-nav .nav-item {
  padding: 0 1rem;
}

.player #learndash-content.container-full {
  width: 100%;
  position: relative;
  top: 0;
  left: 0;
  margin-left: 0;
  margin-right: 0;
}

.player .learndash-wrapper .wpProQuiz_content .wpProQuiz_button {
  text-align: center;
}

/* Responsive */


@media (max-width: 1400px) {
  .row {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width:1200px) {

  .section-card {
    position: relative;
    width: 100vw;
    max-width: 67vw;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
  }

  .section-card .card>a {
    height: 100%;
  }

  .section-card .card>a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

@media (max-width: 1100px) {
  .section-card .card {
    width: 50%;
  }

  .row {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .title {
    font-size: 36px;
  }
}

.mobile-bar {
  display: none;
}

.mobile-header-momflix.d-flex.align-items-center.justify-content-between.px-3.py-2 {
  display: none !important;
}

/* .container-fluid.site-header-container.flex.header-new.custom-top-header.justify-content-between {
    display: block;
} */
.mobile-search-btn img {
  width: 20px;
}

.mobile-search-btn {
  padding: 0px !important;
}
.sidebar-category-list li{
  border-radius: 6px;
  padding: 8px 15px;
  margin: 0px 0px 2px !important;
}
.sidebar-category-list li a{
  color: #000000;
}
.sidebar-category-list li:hover a {
  color: #ffffff;
  background: transparent !important;
}
.sidebar-category-list a:hover {
  color: #ffffff;
  background: transparent !important;
}
.sidebar-category-list li:hover{
  background: #3fc3d4;
}

.sidebar-category-list li.active,
.sidebar-category-list .sub-menu li.active {
  background-color: #3fc3d4;
  color: #ffffff !important;
  border-radius: 6px;
  padding: 8px 15px;
}
.sidebar-category-list li.active a,.sidebar-category-list .sub-menu li.active a {
  color: #ffffff !important;
}



.section-card .card img {
  width: 100%;
}

/* momflix style */


.video-section {
  background-size: cover;
  background-position: center;
  position: relative;
  min-height: 85vh;
  color: #fff;
  overflow: hidden;
  padding: 140px 0;
  display: flex;
  align-items: center;
}

.ld-class-player iframe,
.ratio iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.playlist-item:hover {
  background-color: #f8f9fa;
}

/* ////////////// */
/* Layout */
.main {
  position: relative;
  background: #ffffff;
  display: flex;
  width: 100%;
  /* margin-top:5rem; */
}

.main-inner {
  min-height: 100%;
  display: flex;
  flex: 1;
  width: 100%;
  align-items: center;
}

.player {
  width: 100%;
  /* height: 80vh; */
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 10px 30px var(--shadow);
  background: #000;
}

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

/* Right sidebar - Light Style */
.rail {
  background: #ffffff;
  border-left: 1px solid #e5e5e5;
  display: flex;
  flex-direction: column;
  max-width: 400px;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 10px;
  box-shadow: -2px 0 10px rgb(0 0 0 / 9%);
  border-radius: 10px;
}

/* Custom scrollbar for rail - Light theme */
.rail::-webkit-scrollbar {
  width: 6px;
}

.rail::-webkit-scrollbar-track {
  background: #f5f5f5;
  border-radius: 10px;
}

.rail::-webkit-scrollbar-thumb {
  background: #c0c0c0;
  border-radius: 10px;
}

.rail::-webkit-scrollbar-thumb:hover {
  background: #a0a0a0;
}

.video-list::-webkit-scrollbar {
  width: 6px;
}

.video-list::-webkit-scrollbar-track {
  background: #f5f5f5;
  border-radius: 10px;
}

.video-list::-webkit-scrollbar-thumb {
  background: #c0c0c0;
  border-radius: 10px;
}

.video-list::-webkit-scrollbar-thumb:hover {
  background: #a0a0a0;
}

/* Playlist header */
.rail .playlist-header {
  margin-bottom: 0px;
  padding-bottom: 5px;
 
}

.rail .playlist-header h3 {
  color: #1a1a1a;
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 8px 0;
}

.rail .playlist-header .playlist-info {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: #666666;
}

.rail .playlist-header .playlist-info span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}

.rail .playlist-header .playlist-info span::before {
  font-size: 14px;
}

.rail .playlist-header .lesson-count::before {
  content: '📚';
}

.rail .playlist-header .total-duration::before {
  content: '⏱';
}

.course-card {
  display: grid;
  grid-template-columns: 56px 1fr;
  align-items: center;
  gap: 12px;
  padding: 0px 0px 10px 0px;
  border-bottom: 1px solid #e5e5e5;
}

.course-card-wrapper .categories {
  font-style: italic;
  font-size: 12px;
  color: #999999;
}

.course-card img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.badge {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  background: url('https://images.unsplash.com/photo-1581090700227-1e37b190418e?q=80&w=256&auto=format&fit=crop') center/cover no-repeat;
  box-shadow: 0 5px 12px var(--shadow);
}

.titlebar .meta {
  color: #b7e7ec;
  margin-top: 6px;
  font-weight: 600;
}

.intro {
  padding: 0 0 0px 0;
  color: #666666;
  line-height: 1.5;
  font-size: 14px;
  border-bottom: 1px solid #e5e5e5;
  margin-bottom: 0px;
}

.intro h3 {
  color: #1a1a1a;
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 12px 0;
}

.intro .stats {
  margin-top: 10px;
  color: #3fc3d4;
  font-weight: 600;
  font-size: 13px;
}

.video-list {
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 10px 10px 5px 10px;
}

.video-item {
  display: flex;
  flex-direction: row;
  gap: 12px;
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  align-items: flex-start;
}

.video-item:hover {
  background: #f9f9f9;
  border-color: #d0d0d0;
}

.video-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: #3fc3d4;
  transition: width 0.2s ease;
}

.video-item:hover::before {
  width: 4px;
	border-radius: 8px 0 0 8px !important;
}

.thumb {
  width: 120px;
  min-width: 120px;
  aspect-ratio: 16/9;
  border-radius: 8px;
  overflow: hidden;
  background: #f5f5f5;
  position: relative;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.thumb video,
.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.video-item:hover .thumb video,
.video-item:hover .thumb img {
  transform: scale(1.02);
}

.thumb-video {
  background-size: cover;
  background-position: center;
}

.thumb-video .play-icon {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 20px;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.video-item-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  min-width: 0;
}

.video-item .label {
  font-weight: 600;
  color: #1a1a1a;
  font-size: 15px;
  line-height: 1.4;
  margin: 0;
  padding-left: 0;
  transition: color 0.3s ease;
}

.video-item:hover .label {
  color: #3fc3d4;
}

/* Lesson meta info */
.video-item .lesson-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-left: 0;
  font-size: 13px;
  color: #666666;
}

.video-item .lesson-number {
  font-weight: 600;
  color: #3fc3d4;
  background: #f0f9fa;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
}

.video-item .lesson-duration {
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 500;
}

.video-item .lesson-duration::before {
  content: '⏱';
  font-size: 14px;
}

/* Progress indicator for video items */
.video-item .lesson-progress {
	display: none;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: #e5e5e5;
}

.video-item .lesson-progress-bar {
  height: 100%;
  background: #3fc3d4;
  transition: width 0.3s ease;
}

/* Completed lesson indicator */
.video-item.completed {
  border-color: #10b981;
  background: #f0fdf4;
}

.video-item.completed::before {
  background: #10b981;
  width: 4px;
}

.video-item.completed .lesson-number {
  background: #10b981;
  color: #ffffff;
}

.video-item.completed .thumb::after {
  content: '✓';
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  background: #10b981;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 16px;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.4);
}

/* Bottom banner */
.banner {
  display: flex;
  background: var(--banner-cyan);
  color: #fff;
  gap: 22px;
  align-items: center;
  padding: 0px 0px 0px 26px;
  border-top: 1px solid rgba(0, 0, 0, .25);
}

.banner .book {
  display: grid;
  grid-template-columns: 90px 1fr;
  align-items: center;
  gap: 14px;
  flex: 1;
}

.book .cover {
  width: 90px;
  height: 120px;
  border-radius: 6px;
  overflow: hidden;
  background: #113a64;
  display: grid;
  place-items: center;
  font-family: "Inter", sans-serif;
  font-weight: 900;
  color: #ffdd33;
  box-shadow: 0 8px 16px rgba(0, 0, 0, .25);
}

.banner h2 {
  margin: 0;
  font-size: 32px;
  letter-spacing: .4px;
}

.banner p {
  margin: 6px 0 0;
  color: #e9fbff;
  line-height: 1.45;
}

.cta {
  justify-self: end;
  height: 100%;
  max-width: 300px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-dark) 100%);
  border-radius: 0px;
  display: grid;
  grid-template-rows: 1fr auto;
  padding: 30px 18px;
}

.cta .eyebrow {
  color: #fff;
  font-weight: 400;
  opacity: .7;
  font-style: italic;
}

.cta .cta-btn {
  color: #fff;
  font-weight: 900;
  font-size: 30px;
}

.mb-0 {
  margin-bottom: 0;
}

.course-card-wrapper {
  border-radius: 8px;
  padding: 0;
  background: transparent;
  border: none;
  margin-bottom: 20px;
}

.course-card-wrapper h3 {
  color: #1a1a1a;
  font-size: 18px;
  font-weight: 700;
  margin: 12px 0 4px 0;
  line-height: 1.3;
}

.course-card-wrapper p {
  color: #666666;
  font-size: 14px;
  line-height: 1.4;
  margin: 0;
}

.course-card-wrapper .categories {
  color: #999999;
  font-size: 13px;
  font-style: normal;
  margin-top: 4px;
}

.cta-btn a {
  color: #fff;
  text-decoration: none;
}

/* ////////////// */

.video-with-playlist::before {
  z-index: 0 !important;
  background: unset !important;
}

.main-inner iframe {
  width: 100%;
  height: 500px
}

.video-with-playlist .player>div>iframe {
  position: relative !important;
}

.video-with-playlist {
  display: block !important;
  padding: 0 !important
}

.play-quiz-btn:hover,
.play-quiz-btn:active,
.play-quiz-btn:focus {
  border: 1px solid;
}

.browse-all #course-grid { display: grid; grid-template-columns: repeat(4,1fr); margin-bottom: 20px; }

/* ////////////// */

/* ///////////////////////////////////////// */

/* container */
.video-with-playlist {
  display: block;
  margin: 0;
  padding: 0;
  font-family: "Inter", sans-serif;
}

/* main layout */
.video-with-playlist .main {
  display: grid;
  grid-template-columns: 1fr 390px;
  gap: 20px;
}

.video-with-playlist .main-inner {
  min-width: 0;
  min-height: 0;
  display: block;
}

 



.video-with-playlist .player {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.video-with-playlist .player iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}





.video-with-playlist .player>.ld-course-quizzes {
  overflow: scroll;
  width: -webkit-fill-available;
  background: #fff;
  color: #000;
}
[type=button], [type=submit], button
{
  border: 1px solid #000;
  color: #000;
}
html [type=button]:focus, html [type=submit]:focus, html button:focus
{
  border: 1px solid #000;
  color: #000;
  background: #fff;
}
#load-more-courses:focus{
  color: #ffffff;
  background: #3FC3D4;
  border: 1px solid #3FC3D4;
}
/* rail (playlist) */
.video-with-playlist .rail {
  contain: size;
  overflow-y: auto;
  box-sizing: border-box;
}

/* .video-with-playlist .course-card-wrapper { padding:12px; background:#fafafa; border-radius:8px; margin-bottom:12px; } */

/* playlist items */
/* .video-list { max-height:640px; overflow:auto; border:1px solid #eee; border-radius:8px; background:#fff; padding:6px; }
.video-item { display:block; padding:10px; border-bottom:1px solid #f0f0f0; cursor:pointer; transition:background .12s; }
.video-item:hover { background:#fbfbfb; } */
.video-item.active {
  border: 2px solid #3fc3d4;
  background: #f0f9fa;
  box-shadow: 0 4px 16px rgba(63, 195, 212, 0.2);
  margin-top: 20px;
}

.video-item.active::before {
  width: 4px;
	border-radius: 8px 0 0 8px;
}

.video-item.active .label {
  color: #3fc3d4;
  font-weight: 700;
}

.video-item.active .lesson-number {
  background: #3fc3d4;
  color: #ffffff;
}

/* Watching Now indicator */
.video-item.active::after {
  content: 'Watching Now';
  position: absolute;
  top: -16px;
  left: 12px;
  font-size: 11px;
  color: #3fc3d4;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* label on top */
/* .video-item .label { font-weight:600; margin-bottom:8px; color:#222; } */

/* thumbnails - removed duplicate definition, using the one above */

/* audio waveform style */
.thumb-audio {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  padding: 8px;
  box-sizing: border-box;
}

.waveform {
  display: flex;
  gap: 4px;
  align-items: end;
}

.waveform span {
  width: 4px;
  background: #0097b3;
  height: 10px;
  display: inline-block;
  border-radius: 2px;
  animation: wave 1s infinite ease-in-out;
}

.waveform span:nth-child(2) {
  animation-delay: 0.12s;
}

.waveform span:nth-child(3) {
  animation-delay: 0.24s;
}

.waveform span:nth-child(4) {
  animation-delay: 0.36s;
}

.waveform span:nth-child(5) {
  animation-delay: 0.48s;
}

@keyframes wave {

  0%,
  100% {
    height: 8px;
    opacity: .9
  }

  50% {
    height: 28px;
    opacity: 1
  }
}

/* embed-audio icon fallback */
.embed-audio-icon {
  font-size: 20px;
  color: #444;
}

/* small adjustments for responsive */
@media (max-width:900px) {
  .section-card a img {
    width: 100%;
  }

  .video-with-playlist .main {
    grid-template-columns: 1fr;
  }

  .video-with-playlist .rail {
    contain: none;
    max-height: none;
  }

  .thumb {
    width: 100px;
    min-width: 100px;
  }

  .video-item .label {
    font-size: 14px;
  }

  .video-item .lesson-meta {
    font-size: 12px;
  }
}

.player .wpProQuiz_question_text p,
.player .learndash-wrapper .wpProQuiz_content .wpProQuiz_questionList[data-type=cloze_answer] p {
  color: #000;
}



/* ///////////////////////////////////////// */


/* ////////////////////////////////////////////////////////////////// Search Ajax Form Css Start /////////////////////////////////////////////////////// */

.search-results {
  position: absolute;
  background: #fff;
  /* border: 1px solid #ddd; */
  width: 100%;
  z-index: 999;
  max-height: 300px;
  overflow-y: auto;
  border-radius: 8px;
  margin-top: 4px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.search-item {
  padding: 10px;
  cursor: pointer;
}

.search-results .no-results{
  padding: 10px;
}

.search-item:hover {
  background: #f5f5f5;
}

.search-item .type {
  color: #777;
  font-size: 0.8em;
  margin-left: 6px;
}
.momflix-detail-page {
    padding: 0px;
}
.momflix-header-new {
    max-width: 100% !important;
}
.search-bar {
    width: 100%;
   border: 1px solid #00000060 !important;
    border-radius: 14px !important;
    background: #ffffff;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s 
ease;
}
.certification-btn {
    color: #fff !important;
}
.user-profile-icon img {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    margin-left: 15px;
}
button.play-quiz-btn {
    background: #fff;
    color: #000;
    border: 1px solid #000;
    border-radius: 50px;
    transition: .3s ease-in-out;
}
button.play-quiz-btn:hover {
    background: transparent;
    color: #fff;
    border: 1px solid #ffffff;
    border-radius: 50px;
}
.navbar li .nav-link {
  white-space: nowrap;
}
.menu-item-has-children > .sub-menu
{
    position: absolute;
    z-index: 2;
    padding: 10px;
    box-shadow: 0 6px 24px 0 rgba(0, 0, 0, .12), 0 3px 8px 0 rgba(0, 0, 0, .06);
    right: -5px;
    top: -webkit-calc(100% - 15px);
    top: calc(100% - 12px);
    bottom: unset;
    z-index: 100;
    background: #ffffff;
    min-width: 180px;
    display: none;
}
.menu-item-has-children.selected > .sub-menu
{
  display: block;
	border-radius: 10px;
}
.sub-menu ul li{
    padding: 5px 0px;
    border-radius: 8px;
    
}
.sub-menu ul li:hover{
    background: #3FC3D4;

}
.sub-menu ul li a{
    font-size: 15px;
}
.menu-item-has-children.selected > .sub-menu:before {
    content: " ";
    position: absolute;
    width: 0;
    height: 0;
    top: 0;
    right: 40px;
    border: 7px solid #000;
    border-color: #000000 #000000 transparent transparent;
    -webkit-transform-origin: 0 0;
    -ms-transform-origin: 0 0;
    transform-origin: 0 0;
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
    box-shadow: 2px -3px 3px 0 rgba(255, 255, 255, .02);
    z-index: 1002;
}
.menu-item-has-children > .sub-menu ul
{
  list-style: none;
  padding-left: 0px;
  display: flex;
  flex-direction: column;
}

.sub-menu .navbar-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sub-menu .navbar-nav > li {
  width: 100%;
  display: block;
}
.sub-menu .navbar-nav > li .nav-link,
.sub-menu a
{
  font-size: 15px;
  font-weight: inherit;
  color: #000000 !important;
  letter-spacing: -.24px;
  line-height: 1.2;
  margin-bottom: 0;
  padding: 2px 8px;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sub-menu ul li:hover a{
    color: #ffffff !important;

}
.sub-menu .menu-item--name .nav-link {
  cursor: default;
  pointer-events: none;
  background: transparent !important;
  color: #000000 !important;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.2;
}

.sub-menu .menu-user-icon {
  font-size: 1.5em;
  line-height: 1;
  margin-right: 4px;
  display: inline-flex;
  align-items: center;
}

.course-pdf-downloads {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pdf-download-btn {
  display: inline-block;
  padding: 10px 14px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  background: #ffffff;
  color: #000000;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}

.pdf-download-icon {
  font-size: 1.1em;
  margin-right: 6px;
  vertical-align: middle;
}

.pdf-download-btn:hover {
  background: #f5f5f5;
}

.momflix-page-full {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.momflix-page-full .layout {
  flex: 1;
}

.my-list-page .mylist-page-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.mylist-load-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

@media (max-width: 1200px) {
  .my-list-page .mylist-page-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .my-list-page .mylist-page-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .my-list-page .mylist-page-grid {
    grid-template-columns: 1fr;
  }
}
.menu-item--name span.nav-link {
    display: flex !important;
    justify-content: flex-start !important;
    align-items: center !important;
}
#mainTopMenu-momflix-mobile .user-wrap-container
{
  margin-bottom: 20px;
}
#mainTopMenu-momflix-mobile .user-wrap-container .user-link img
{
  width: 55px;
  height: 55px;
  object-fit: cover;
  border-radius: 50%;
}
.mobile-toggle
{
  padding: 10px 20px !important;
  font-size: 15px !important;
  border-radius: 40px !important;
  border: 1px solid #000 !important;
}

/* Responsive tweaks */
/* Large tablets */
@media (max-width: 1200px) {
  .app {
    grid-template-columns: 1fr 340px;
  }

  .rail {
    min-width: 300px;
  }

  .banner {
    grid-template-columns: 260px 1fr 300px;
  }
}

@media (max-width: 1100px) {
  .app {
    grid-template-columns: 1fr 320px;
  }

  .banner {
    grid-template-columns: 240px 1fr 280px;
  }
}



@media (max-width: 920px) {
  .layout {
    grid-template-columns: 1fr;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .row {
    grid-template-columns: repeat(2, 1fr);
  }

  /* .title {
    font-size: 36px;
  } */
  /* show mobile top bar */
  /* Sidebar drawer */
  .sidebar {
    height: auto;
    min-height: 1px;
  }

  main {
    padding: 22px 16px;
  }
  .page-momflix .sidebar-category-list
  {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
  }
  .page-momflix .sidebar-category-list > li
  {
    width: auto;
  }
  .page-momflix .sidebar-category-list > li a
  {
    padding: 8px 15px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.1);
    display: inline-block;
    color: #ffffff;
  }

  .page-momflix .sidebar-category-list > li.active a
  {
    background: #3fc3d4;
    color: #000000 !important;
  }
}

@media (max-width: 900px) {
  body {
    overflow: auto;
  }

  .app {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    height: auto;
  }

  .rail {
    grid-column: 1 / -1;
    grid-row: auto;
    max-width: none;
  }

  .banner {
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
    text-align: left;
    row-gap: 14px;
  }

  .cta {
    justify-self: stretch;
  }
}




@media only screen and (max-width: 799px) {
  .section-card {
    max-width: 92vw;
  }

  .section-card .card {
    height: 150px;
  }

  .container-fluid.site-header-container.flex.header-new.custom-top-header.justify-content-between {
    display: none !important;
  }

  .mobile-header-momflix.d-flex.align-items-center.justify-content-between.px-3.py-2 {
    display: flex !important;
  }

  .mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 300px;
    height: 100vh;
    background: #fff;
    box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.1);
    transform: translateX(-100%);
    z-index: 99999;
    overflow: auto;
    padding: 20px 20px 20px;
    transition: 0.4s ease;
  }

  .mobile-menu.active {
    transform: translate(0);
  }

  .mobile-search-btn {
    display: flex;
  }

  .close-menu {
    position: absolute;
    top: 20px;
    right: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #ccc;
    color: #000;
    font-size: 14px;
  }
  .page-momflix .sidebar-category-list
  {
    display: none;
  }
  
  #mainTopMenu-momflix-mobile .navbar-nav
  {
    margin-left: 10px;
  }
  #mainTopMenu-momflix-mobile .navbar-nav .nav-link
  {
    color: #000;
  }
  #mainTopMenu-momflix-mobile .navbar-nav .certification-btn
  {
    padding: 9px 24px;
  }
  #mainTopMenu-momflix-mobile .sidebar-category-list
  {
    flex-direction: column;
  }
  #mainTopMenu-momflix-mobile .sidebar-category-list .category-item
  {
    margin: 0;
  }
  #mainTopMenu-momflix-mobile .sidebar-category-list .category-item a
  {
    padding: 8px 10px;
    color: #000000;
    font-size: 16px !important;
  }

  #mainTopMenu-momflix-mobile .sidebar-category-list .category-item.active a
  {
    background: #3fc3d4;
    color: #ffffff !important;
    border-radius: 6px;
  }
  .menu-item-has-children > .sub-menu
  {
    top: 88px;
    right: initial;
    left: 0;
  }
}


@media only screen and (max-width: 768px) {
  .video-with-playlist .player {
    min-height: 60vh;
    height: auto;
  }
  .browse-all
  {
    margin-top: 0px;
  }
  .browse-all #course-grid
  {
    grid-template-columns: repeat(2,1fr)
  }
  .browse-all.section-card .card
  {
    width: 100%;
  }

  /* Mobile playlist adjustments */
  .rail {
    padding: 16px 12px;
    max-height: none;
  }

  .rail .playlist-header h3 {
    font-size: 18px;
  }

  .video-item {
    padding: 10px;
    gap: 10px;
  }

  .video-item .label {
    font-size: 14px;
  }

  .video-item .lesson-meta {
    font-size: 12px;
  }

}

@media (max-width: 620px) {
  .row {
    grid-template-columns: 1fr;
  }

  .title {
    font-size: 30px;
  }

  .section-card .card {
    width: 50%;
  }
}



/* Small phones */
@media (max-width: 600px) {
  .course-card {
    grid-template-columns: 44px 1fr;
    gap: 10px;
  }

  .badge {
    width: 44px;
    height: 44px;
  }

  /* .titlebar .title { font-size: 14px; } */
  .intro {
    font-size: 13px;
  }

  .banner {
    padding: 18px;
  }

  .banner h2 {
    font-size: 24px;
  }

  .banner p {
    font-size: 14px;
  }

  .book {
    grid-template-columns: 70px 1fr;
  }

  .book .cover {
    width: 70px;
    height: 94px;
  }

  .cta .cta-btn {
    font-size: 18px;
    padding: 10px 12px;
  }
}




@media (max-width: 575px) {
  .section-card {
    max-width: 84vw;
  }
	.page-template-my-list-template .section-card{
	max-width: 100% !important;
	}
.video-with-playlist .player {
        height: 31vh;
    }
    .video-item .label {
        font-size: 18px !important;
    }
    .video-with-playlist .rail {
        min-height: auto !important;
    }
  
}


@media screen and (max-width: 543px) {
  .player #learndash-page-content {
    padding: 30px 40px 0;
  }
}

/* ////////////////////////////////////////////////////////////////// Search Ajax Form Css END ///////////////////////////////////////////////////////// */

/* ////////////////////////////////////////////////////////////////// Authors Showcase CSS START ///////////////////////////////////////////////////////// */
/* Inline version for hero eyebrow */
.authors-showcase-inline {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 0;
  margin: 0;
  background: transparent;
}

/* Standalone version */
.authors-showcase {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 30px 0;
  margin: 0;
  background: transparent;
}

.authors-images {
  display: flex;
  align-items: center;
  position: relative;
  flex: 2;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  margin-left: -15px;
  position: relative;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.author-avatar:first-child {
  margin-left: 0;
}

.author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.authors-text {
  flex: 5;
}

.authors-text p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #262626;
	opacity: 0.8;
  font-weight: 400;
}

/* Inline version specific styles */
.authors-showcase-inline .authors-text p {
  font-size: 16px;
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 768px) {
  .authors-showcase {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    padding: 20px 0;
  }

  .authors-showcase-inline {
    flex-direction: row;
    gap: 12px;
  }

  .author-avatar {
    width: 45px;
    height: 45px;
    margin-left: -12px;
  }

  .authors-text p {
    font-size: 13px;
  }

  .authors-showcase-inline .authors-text p {
    font-size: 14px;
  }
}

@media (max-width: 575px) {
  .authors-showcase {
    padding: 15px 0;
  }

  .authors-showcase-inline {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .author-avatar {
    width: 40px;
    height: 40px;
    margin-left: -10px;
    border: 2px solid #000;
  }

  .authors-text p {
    font-size: 12px;
  }

  .authors-showcase-inline .authors-text p {
    font-size: 14px;
  }
}
/* ////////////////////////////////////////////////////////////////// Authors Showcase CSS END ///////////////////////////////////////////////////////// */

/* ////////////////////////////////////////////////////////////////// Common Card Styles START ///////////////////////////////////////////////////////// */
/* Common styles for all course cards - applies to featured, playlist, new-mmu, related, mylist, browse, and category cards */
.instructor-name {
  font-size: 12px;
  font-weight: 600;
  color: #000000;
  opacity: 0.8;
  margin: 0 0 8px 0;
  text-shadow: none;
}

.course-title {
  font-size: 18px;
  font-weight: 600;
  color: #262626;
  margin: 0 0 10px 0;
  letter-spacing: 0.5px;
  text-shadow: none;
  line-height: 1.3;
  overflow: hidden;
}

.course-description {
  font-size: 16px;
  line-height: 1.6;
  color: #262626;
  opacity: 0.8;
  margin: 0;
  text-shadow: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

/* Common Card Styles - Mobile Responsive */
@media (max-width: 768px) {
  .course-title {
    font-size: 16px;
  }

  .course-description {
    font-size: 14px;
  }
}
/* ////////////////////////////////////////////////////////////////// Common Card Styles END ///////////////////////////////////////////////////////// */

/* ////////////////////////////////////////////////////////////////// Featured Carousel CSS START ///////////////////////////////////////////////////////// */
/* Override section-card defaults for featured section */
.featured-section.section-card {
  margin: 0 !important;
  padding: 20px 0 !important;
  max-width: 100% !important;
  width: 100% !important;
  overflow: hidden !important;
  position: relative;
}

.featured-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding: 0px;
  width: 100%;
  box-sizing: border-box;
}

.featured-header h3 {
  font-size: 28px;
  font-weight: bold;
  color: #000000 !important;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.featured-nav {
  display: flex;
  gap: 10px;
  z-index: 100;
}

.nav-arrow {
  width: 35px;
  height: 35px;
  background: #3fc3d4;
  border: none;
  border-radius: 50%;
  color: #ffffff;
  font-size: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  outline: none;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 50%;
  transition: opacity 0.3s ease;
  position: relative;
}

.nav-arrow:focus {
  outline: none;
  border: none;
  box-shadow: none;
  transform: none;
}

.nav-arrow:focus-visible {
  outline: none;
  border: none;
  box-shadow: none;
  transform: none;
}

.nav-arrow.nav-prev,
.nav-arrow.nav-prev-playlist,
.nav-arrow.nav-prev-mmu,
.nav-arrow.prev-btn,
.nav-arrow.nav-prev-mylist,
.nav-arrow.nav-prev-continue,
.nav-arrow[aria-label="Previous"] {

  background-color: #3FC3D4;
}

.nav-arrow.nav-prev::before,
.nav-arrow.nav-prev-playlist::before,
.nav-arrow.nav-prev-mmu::before,
.nav-arrow.prev-btn::before,
.nav-arrow.nav-prev-mylist::before,
.nav-arrow.nav-prev-continue::before,
.nav-arrow[aria-label="Previous"]::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: url('../icons/left-icon.svg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: 50%;
  filter: brightness(0) invert(1);
}

.nav-arrow.nav-next,
.nav-arrow.nav-next-playlist,
.nav-arrow.nav-next-mmu,
.nav-arrow.next-btn,
.nav-arrow.nav-next-mylist,
.nav-arrow.nav-next-continue,
.nav-arrow[aria-label="Next"] {
  background-color: #3FC3D4;
}

.nav-arrow.nav-next::before,
.nav-arrow.nav-next-playlist::before,
.nav-arrow.nav-next-mmu::before,
.nav-arrow.next-btn::before,
.nav-arrow.nav-next-mylist::before,
.nav-arrow.nav-next-continue::before,
.nav-arrow[aria-label="Next"]::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: url('../icons/right-icon.svg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: 50%;
  filter: brightness(0) invert(1);
}

.featured-carousel {
  position: relative;
  overflow: hidden;
  padding: 0px;
  width: 100%;
  box-sizing: border-box;
}

.featured-row {
  display: flex !important;
  gap: 15px;
  flex-wrap: nowrap !important;
  overflow-x: scroll !important;
  overflow-y: hidden !important;
  scroll-behavior: smooth;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
  cursor: grab;
  padding-bottom: 0 !important;
  -webkit-overflow-scrolling: touch;
}

.featured-row::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.featured-row:active {
  cursor: grabbing;
}

.featured-card,
.playlist-card,
.new-mmu-card,
.related-card,
.mylist-card,
.category-card,
.browse-card,
.continue-watching-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}

.featured-card:hover,
.playlist-card:hover,
.new-mmu-card:hover,
.related-card:hover,
.mylist-card:hover,
.category-card:hover,
.browse-card:hover,
.continue-watching-card:hover {
  box-shadow: 0 10px 20px -3px rgba(0, 0, 0, 0.05);
}

.featured-carousel,
.playlist-carousel,
.new-mmu-carousel,
.related-carousel,
.mylist-carousel,
.continue-watching-carousel,
.carousel-container,
.browse-carousel {
  overflow: visible;
}

.momflix-swiper {
  overflow: visible;
}

.momflix-swiper .swiper-wrapper {
  padding-top: 8px;
  padding-bottom: 16px;
}

.momflix-swiper .swiper-slide {
  height: auto;
}

.momflix-swiper .featured-row,
.momflix-swiper .playlist-row,
.momflix-swiper .new-mmu-row,
.momflix-swiper .related-row,
.momflix-swiper .mylist-row,
.momflix-swiper .continue-watching-row,
.momflix-swiper .carousel-row,
.momflix-swiper .browse-row {
  overflow: visible !important;
  scroll-behavior: auto;
  cursor: default;
}

.swiper-button-disabled {
  opacity: 0.3 !important;
  cursor: default !important;
}

.featured-row,
.playlist-row,
.new-mmu-row,
.related-row,
.mylist-row,
.continue-watching-row,
.carousel-row,
.browse-row {
  overflow-y: visible !important;
  padding-top: 8px !important;
  padding-bottom: 30px !important;
  gap: 4px !important;
}

.featured-content,
.playlist-content,
.new-mmu-content,
.related-content,
.mylist-content,
.browse-content,
.continue-watching-content,
.category-content {
  padding: 20px !important;
}

.featured-image,
.playlist-image,
.new-mmu-image,
.related-image,
.mylist-image,
.browse-image,
.continue-watching-image,
.category-image {
  border-bottom-left-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}

.featured-card {
  /* Calculate width to show exactly 4 cards */
  /* Container: 100%, Padding: 0px, Gaps: 45px (15px × 3) */
  flex: 0 0 calc((100% - 0px - 45px) / 4) !important;
  min-width: calc((100% - 0px - 45px) / 4) !important;
  max-width: calc((100% - 0px - 45px) / 4) !important;
  background: transparent;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  user-select: none;
  height: auto !important;
}

.featured-card a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.featured-image {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 10px;
  background: #ffffff;
}

.featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #ffffff;
}

.featured-card .course-duration {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  z-index: 2;
}

.featured-content {
  padding: 20px 0px;
}

.featured-section .no-courses {
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  padding: 40px 60px;
  text-align: center;
}

/* Responsive styles */
@media (max-width: 1200px) {
  .featured-section.section-card {
    max-width: 100% !important;
  }

  /* Keep 4 cards visible */
  .featured-card {
    flex: 0 0 calc((100% - 0px - 45px) / 4) !important;
    min-width: calc((100% - 0px - 45px) / 4) !important;
    max-width: calc((100% - 0px - 45px) / 4) !important;
  }
}

@media (max-width: 768px) {
  .featured-header {
    padding: 0;
  }

  .featured-header h3 {
    font-size: 22px;
  }

  /* Show 3 cards on tablets */
  .featured-card {
    flex: 0 0 calc((100% - 0px - 30px) / 3) !important;
    min-width: calc((100% - 0px - 30px) / 3) !important;
    max-width: calc((100% - 0px - 30px) / 3) !important;
  }

  .featured-row {
    gap: 15px;
  }

  .nav-arrow {
    width: 30px;
    height: 30px;
  }

  .featured-image {
    height: 150px;
  }

  .featured-card .instructor-name {
    font-size: 11px;
  }
}

@media (max-width: 575px) {
  .featured-section.section-card {
    max-width: 100% !important;
    margin: 0 !important;
  }

  .featured-header {
    padding: 0;
  }

  .featured-header h3 {
    font-size: 18px;
  }

  /* Show 1.5 cards on mobile to indicate scrollability */
  .featured-card {
    flex: 0 0 calc((100% - 0px - 15px) / 1.5) !important;
    min-width: calc((100% - 0px - 15px) / 1.5) !important;
    max-width: calc((100% - 0px - 15px) / 1.5) !important;
  }

  .featured-row {
    gap: 12px;
  }

  .featured-content {
    padding: 15px;
  }

  .featured-image {
    height: 135px;
  }

  .featured-card .instructor-name {
    font-size: 10px;
  }

  .featured-card .course-title {
    font-size: 16px;
  }

  .featured-card .course-description {
    font-size: 14px;
  }

  .nav-arrow {
    width: 28px;
    height: 28px;
  }
}
/* ////////////////////////////////////////////////////////////////// Featured Carousel CSS END ///////////////////////////////////////////////////////// */

/* ////////////////////////////////////////////////////////////////// NEW IN MMU Carousel CSS START ///////////////////////////////////////////////////////// */
/* Override section-card defaults for new mmu section */
.new-mmu-section.section-card {
  margin: 0 !important;
  padding: 20px 0 !important;
  max-width: 100% !important;
  width: 100% !important;
  overflow: hidden !important;
  position: relative;
}

.new-mmu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding: 0px;
  width: 100%;
  box-sizing: border-box;
}

.new-mmu-header h3 {
  font-size: 28px;
  font-weight: bold;
  color: #000000 !important;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.new-mmu-nav {
  display: flex;
  gap: 10px;
  z-index: 100;
}

.new-mmu-carousel {
  position: relative;
  overflow: hidden;
  padding: 0px;
  width: 100%;
  box-sizing: border-box;
}

.new-mmu-row {
  display: flex !important;
  gap: 15px;
  flex-wrap: nowrap !important;
  overflow-x: scroll !important;
  overflow-y: hidden !important;
  scroll-behavior: smooth;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
  cursor: grab;
  padding: 0 !important;
  -webkit-overflow-scrolling: touch;
}

.new-mmu-row::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.new-mmu-row:active {
  cursor: grabbing;
}

.new-mmu-card {
  /* Calculate width to show exactly 4 cards */
  flex: 0 0 calc((100% - 0px - 45px) / 4) !important;
  min-width: calc((100% - 0px - 45px) / 4) !important;
  max-width: calc((100% - 0px - 45px) / 4) !important;
  background: transparent;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  user-select: none;
  height: auto !important;
}

.new-mmu-card a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.new-mmu-image {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #ffffff;
}

.new-mmu-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: #ffffff;
}

.new-mmu-card .course-duration {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  z-index: 2;
}

.new-mmu-content {
  padding: 20px 0px;
}

.new-mmu-section .no-courses {
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  padding: 40px 60px;
  text-align: center;
}

/* Responsive styles */
@media (max-width: 1200px) {
  .new-mmu-section.section-card {
    max-width: 100% !important;
  }

  .new-mmu-card {
    flex: 0 0 calc((100% - 0px - 45px) / 4) !important;
    min-width: calc((100% - 0px - 45px) / 4) !important;
    max-width: calc((100% - 0px - 45px) / 4) !important;
  }
}

@media (max-width: 768px) {
  .new-mmu-header {
    padding: 0;
  }

  .new-mmu-header h3 {
    font-size: 22px;
  }

  .new-mmu-card {
    flex: 0 0 calc((100% - 0px - 30px) / 3) !important;
    min-width: calc((100% - 0px - 30px) / 3) !important;
    max-width: calc((100% - 0px - 30px) / 3) !important;
  }

  .new-mmu-row {
    gap: 15px;
  }

  .new-mmu-image {
    height: 150px;
  }

  .new-mmu-card .instructor-name {
    font-size: 11px;
  }
}

@media (max-width: 575px) {
  .new-mmu-section.section-card {
    max-width: 100% !important;
    margin: 0 !important;
  }

  .new-mmu-header {
    padding: 0;
  }

  .new-mmu-header h3 {
    font-size: 18px;
  }

  .new-mmu-card {
    flex: 0 0 calc((100% - 0px - 15px) / 1.5) !important;
    min-width: calc((100% - 0px - 15px) / 1.5) !important;
    max-width: calc((100% - 0px - 15px) / 1.5) !important;
  }

  .new-mmu-row {
    gap: 12px;
  }

  .new-mmu-content {
    padding: 15px;
  }

  .new-mmu-image {
    height: 135px;
  }

  .new-mmu-card .instructor-name {
    font-size: 10px;
  }

  .new-mmu-card .course-title {
    font-size: 16px;
  }

  .new-mmu-card .course-description {
    font-size: 13px;
  }
}
/* ////////////////////////////////////////////////////////////////// NEW IN MMU Carousel CSS END ///////////////////////////////////////////////////////// */

/* ////////////////////////////////////////////////////////////////// Playlist Carousel CSS START ///////////////////////////////////////////////////////// */
/* Override section-card defaults for playlist section */
.playlist-section.section-card {
  margin: 0 !important;
  padding: 20px 0 !important;
  max-width: 100% !important;
  width: 100% !important;
  overflow: hidden !important;
  position: relative;
}

.playlist-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding: 0;
  width: 100%;
  box-sizing: border-box;
}

.playlist-header h3 {
  font-size: 28px;
  font-weight: bold;
  color: #000000 !important;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.playlist-nav {
  display: flex;
  gap: 10px;
  z-index: 100;
}

.playlist-carousel {
  position: relative;
  overflow: hidden;
  padding: 0px;
  width: 100%;
  box-sizing: border-box;
}

.playlist-row {
  display: flex !important;
  gap: 15px;
  flex-wrap: nowrap !important;
  overflow-x: scroll !important;
  overflow-y: hidden !important;
  scroll-behavior: smooth;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
  cursor: grab;
  padding: 0px;
  -webkit-overflow-scrolling: touch;
}

.playlist-row::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.playlist-row:active {
  cursor: grabbing;
}

.playlist-card {
  /* Calculate width to show exactly 4 cards */
  flex: 0 0 calc((100% - 0px - 45px) / 4) !important;
  min-width: calc((100% - 0px - 45px) / 4) !important;
  max-width: calc((100% - 0px - 45px) / 4) !important;
  background: transparent;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  user-select: none;
  height: auto !important;
}

.playlist-card a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.playlist-image {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #ffffff;
}

.playlist-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #ffffff;
}

.playlist-card .course-duration {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  z-index: 2;
}

.playlist-content {
  padding: 20px 0px;
}

.playlist-section .no-courses {
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  padding: 40px 60px;
  text-align: center;
}

/* Responsive styles */
@media (max-width: 1200px) {
  .playlist-section.section-card {
    max-width: 100% !important;
  }

  .playlist-card {
    flex: 0 0 calc((100% - 0px - 45px) / 4) !important;
    min-width: calc((100% - 0px - 45px) / 4) !important;
    max-width: calc((100% - 0px - 45px) / 4) !important;
  }
}

@media (max-width: 768px) {
  .playlist-header {
    padding: 0;
  }

  .playlist-header h3 {
    font-size: 22px;
  }

  .playlist-card {
    flex: 0 0 calc((100% - 0px - 30px) / 3) !important;
    min-width: calc((100% - 0px - 30px) / 3) !important;
    max-width: calc((100% - 0px - 30px) / 3) !important;
  }

  .playlist-row {
    gap: 15px;
  }

  .playlist-image {
    height: 150px;
  }

  .playlist-card .instructor-name {
    font-size: 11px;
  }
}

@media (max-width: 575px) {
  .playlist-section.section-card {
    max-width: 100% !important;
    margin: 0 !important;
  }

  .playlist-header {
    padding: 0;
  }

  .playlist-header h3 {
    font-size: 18px;
  }

  .playlist-card {
    flex: 0 0 calc((100% - 0px - 15px) / 1.5) !important;
    min-width: calc((100% - 0px - 15px) / 1.5) !important;
    max-width: calc((100% - 0px - 15px) / 1.5) !important;
  }

  .playlist-row {
    gap: 12px;
  }

  .playlist-content {
    padding: 15px;
  }

  .playlist-image {
    height: 135px;
  }

  .playlist-card .instructor-name {
    font-size: 10px;
  }

  .playlist-card .course-title {
    font-size: 13px;
  }

  .playlist-card .course-description {
    font-size: 13px;
  }
}
/* ////////////////////////////////////////////////////////////////// Playlist Carousel CSS END ///////////////////////////////////////////////////////// */

/* ////////////////////////////////////////////////////////////////// Related Courses Carousel CSS START ///////////////////////////////////////////////////////// */
.related-section.section-card {
  margin: 0 !important;
  padding: 20px 0 !important;
  max-width: 100% !important;
  width: 100% !important;
  overflow: hidden !important;
  position: relative;
}
.single-sfwd-courses .related-section.section-card{
	padding: 40px 60px 20px !important;
}

.related-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding: 0px 0px;
  width: 100%;
  box-sizing: border-box;
}

.page-id-219247 .related-header{
  padding: 0 !important;
}
.related-header h3 {
  font-size: 28px;
  font-weight: bold;
  color: #000000 !important;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.related-nav {
  display: flex;
  gap: 10px;
  z-index: 100;
}

.related-carousel {
  position: relative;
  overflow: hidden;
  padding: 10px 60px;
  width: 100%;
  box-sizing: border-box;
}
.page-id-219247 .related-carousel{
  padding: 0 !important;
}
.related-row {
  display: flex !important;
  gap: 15px;
  flex-wrap: nowrap !important;
  overflow-x: scroll !important;
  overflow-y: hidden !important;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
  padding: 0px;
  -webkit-overflow-scrolling: touch;
}

.related-row::-webkit-scrollbar {
  display: none;
}

.related-row:active {
  cursor: grabbing;
}

.related-card {
  flex: 0 0 calc((100% - 0px - 45px) / 4) !important;
  min-width: calc((100% - 0px - 45px) / 4) !important;
  max-width: calc((100% - 0px - 45px) / 4) !important;
  background: transparent;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  user-select: none;
  height: auto !important;
}

.related-card a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.related-image {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #ffffff;
}

.related-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: #ffffff;
}

.related-card .course-duration {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  z-index: 2;
}

.related-content {
  padding: 20px 0px;
}

/* Override common styles for related cards */


.related-section .no-courses {
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  padding: 40px 60px;
  text-align: center;
}

/* Responsive styles */
@media (max-width: 1200px) {
  .related-section.section-card {
    max-width: 100% !important;
  }

  .related-card {
    flex: 0 0 calc((100% - 0px - 45px) / 4) !important;
    min-width: calc((100% - 0px - 45px) / 4) !important;
    max-width: calc((100% - 0px - 45px) / 4) !important;
  }
}

@media (max-width: 768px) {
  .related-carousel {
    padding: 0px 30px;
  }

  .related-header {
    padding: 0 30px;
  }

  .related-header h3 {
    font-size: 24px;
  }

  .related-card {
    flex: 0 0 calc((100% - 0px - 30px) / 3) !important;
    min-width: calc((100% - 0px - 30px) / 3) !important;
    max-width: calc((100% - 0px - 30px) / 3) !important;
  }

  .related-image {
    height: 150px;
  }
}

@media (max-width: 575px) {
  .related-section.section-card {
    max-width: 100% !important;
    margin: 0 !important;
	padding: 20px 0px !important;
  }
.single-sfwd-courses .related-section.section-card{
	padding: 40px 16px 20px !important;
}

  .related-carousel {
    padding: 0px 20px;
  }

  .related-header {
    padding: 0 0px;
    margin-bottom: 20px;
  }

  .related-header h3 {
    font-size: 20px;
  }

  .related-card {
    flex: 0 0 calc((100% - 0px - 7.5px) / 1.5) !important;
    min-width: calc((100% - 0px - 7.5px) / 1.5) !important;
    max-width: calc((100% - 0px - 7.5px) / 1.5) !important;
  }

  .related-image {
    height: 135px;
  }

}
/* ////////////////////////////////////////////////////////////////// Related Courses Carousel CSS END ///////////////////////////////////////////////////////// */

/* ////////////////////////////////////////////////////////////////// My List Carousel CSS START ///////////////////////////////////////////////////////// */
/* Use same styles as playlist */
.mylist-section.section-card {
  margin: 0 !important;
  padding: 20px 60px !important;
  max-width: 100% !important;
  width: 100% !important;
  overflow: hidden !important;
  position: relative;
}

.mylist-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding: 0 0px;
  width: 100%;
  box-sizing: border-box;
}
.page-id-219247 .mylist-header{
  padding: 0px;
}

.mylist-header h3 {
  font-size: 28px;
  font-weight: bold;
  color: #000000 !important;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.mylist-nav {
  display: flex;
  gap: 10px;
  z-index: 100;
}

.mylist-carousel {
  position: relative;
  overflow: hidden;
  padding: 0px 60px;
  width: 100%;
  box-sizing: border-box;
}
.page-id-219247 .mylist-carousel{
  padding: 0px;
}


.mylist-row {
  display: flex !important;
  gap: 15px;
  flex-wrap: nowrap !important;
  overflow-x: scroll !important;
  overflow-y: hidden !important;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
  padding: 0px;
  -webkit-overflow-scrolling: touch;
}

.mylist-row::-webkit-scrollbar {
  display: none;
}

.mylist-row:active {
  cursor: grabbing;
}

.mylist-card {
  flex: 0 0 calc((100% - 0px - 45px) / 4) !important;
  background: transparent;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  user-select: none;
  height: auto !important;
}

.mylist-card a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.mylist-image {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: #1a1a1a;
}

.mylist-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.mylist-card .course-duration {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  z-index: 2;
}

.mylist-content {
  padding: 20px 0px;
}



.mylist-section .no-courses {
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  padding: 40px 60px;
  text-align: center;
}

/* Responsive styles */
@media (max-width: 1200px) {
  .mylist-section.section-card {
    max-width: 100% !important;
  }

  .mylist-card {
    flex: 0 0 calc((100% - 0px - 45px) / 4) !important;
   
  }
}

@media (max-width: 768px) {
  .mylist-carousel {
    padding: 0px 30px;
  }

  .mylist-header {
    padding: 0 30px;
  }

  .mylist-header h3 {
    font-size: 22px;
  }

  .mylist-card {
    flex: 0 0 calc((100% - 0px - 30px) / 3) !important;
    
  }

  .mylist-row {
    gap: 15px;
  }

  .mylist-image {
    height: 150px;
  }
}

@media (max-width: 575px) {
  .mylist-section.section-card {
    max-width: 100% !important;
    margin: 0 !important;
	padding: 20px 16px !important;
  }
	

  .mylist-carousel {
    padding: 0px 20px;
  }

  .mylist-header {
    padding: 0 0px;
  }

  .mylist-header h3 {
    font-size: 18px;
  }

  .mylist-card {
    flex: 0 0 calc((100% - 0px - 15px) / 1.5) !important;
    
  }

  .mylist-row {
    gap: 12px;
  }

  .mylist-content {
    padding: 15px;
  }

  .mylist-image {
    height: 135px;
  }

}
/* ////////////////////////////////////////////////////////////////// My List Carousel CSS END ///////////////////////////////////////////////////////// */

/* ////////////////////////////////////////////////////////////////// Continue Watching Carousel CSS START ///////////////////////////////////////////////////////// */
.continue-watching-section.section-card {
  margin: 0 !important;
  padding: 20px 0 !important;
  max-width: 100% !important;
  width: 100% !important;
  overflow: hidden !important;
}

.continue-watching-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding: 0;
  width: 100%;
  box-sizing: border-box;
}

.continue-watching-header h3 {
  font-size: 28px;
  font-weight: bold;
  color: #000000 !important;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.continue-watching-nav {
  display: flex;
  gap: 10px;
  z-index: 100;
}

.continue-watching-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.continue-watching-row {
  display: flex;
  gap: 15px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
  padding: 0 0 20px 0;
}

.continue-watching-row::-webkit-scrollbar {
  display: none;
}

.continue-watching-row:active {
  cursor: grabbing;
}

.continue-watching-card {
  /* Match Featured section card style */
  flex: 0 0 calc((100% - 0px - 45px) / 4) !important;
  min-width: calc((100% - 0px - 45px) / 4) !important;
  max-width: calc((100% - 0px - 45px) / 4) !important;
  background: transparent;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  user-select: none;
  height: auto !important;
}

.continue-watching-card a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.continue-watching-image {
  position: relative;
  width: 100%;
  height: 100%; /* Match Featured section height */
  overflow: hidden;
  border-radius: 10px; /* Match Featured section radius */
}

.continue-watching-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.continue-watching-image .course-duration {
  position: absolute;
  bottom: 10px; /* Match Featured section position */
  right: 10px;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  z-index: 2;
}

.progress-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: transparent;
  padding: 0;
}

.progress-bar-container {
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 0;
  overflow: hidden;
  margin: 0;
}

.progress-bar {
  height: 100%;
  background: #ff0000 !important; /* YouTube red */
  border-radius: 0;
  transition: width 0.3s ease;
}

.progress-text {
  display: none; /* Hide percentage text */
}

.continue-watching-content {
  padding: 20px 0px; /* Match Featured section padding */
}

.continue-watching-card .instructor-name {
  font-size: 12px;
  font-weight: 600;
  color: #000000;
  opacity: 0.8;
  margin: 0 0 8px 0;
  text-shadow: none;
}

.continue-watching-card .course-title {
  font-size: 20px;
  font-weight: 600;
  color: #3fc3d4;
  margin: 0 0 5px 0;
  letter-spacing: 0.5px;
  text-shadow: none;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  white-space: normal;
}

.continue-watching-card .lesson-title {
  font-size: 14px;
  line-height: 1.4;
  color: #000000;
  opacity: 0.7;
  margin: 0;
  text-shadow: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.continue-watching-section .no-courses {
  color: rgba(0, 0, 0, 0.7);
  font-size: 16px;
  padding: 40px 60px;
  text-align: center;
}

/* Empty state for Continue Watching */
.continue-watching-empty .empty-state {
  padding: 40px 60px;
  text-align: center;
  background: #f9f9f9;
  border-radius: 10px;
  margin: 20px 60px;
}

.continue-watching-empty .empty-state p {
  color: rgba(0, 0, 0, 0.6);
  font-size: 16px;
  margin: 0;
  font-weight: 400;
}

/* Tablet styles */
@media (max-width: 1024px) {
  .continue-watching-section.section-card {
    max-width: 100% !important;
  }

  .continue-watching-card {
    flex: 0 0 calc((100% - 0px - 30px) / 3) !important;
    min-width: calc((100% - 0px - 30px) / 3) !important;
    max-width: calc((100% - 0px - 30px) / 3) !important;
  }

  .continue-watching-row {
    gap: 15px;
  }

  .continue-watching-image {
    height: 150px;
  }

  .continue-watching-card .course-title {
    font-size: 18px;
  }

  .continue-watching-card .instructor-name {
    font-size: 11px;
  }
}

@media (max-width: 768px) {
  .continue-watching-header {
    padding: 0;
  }

  .continue-watching-header h3 {
    font-size: 22px;
  }

  .continue-watching-card {
    flex: 0 0 calc((100% - 0px - 30px) / 3) !important;
    min-width: calc((100% - 0px - 30px) / 3) !important;
    max-width: calc((100% - 0px - 30px) / 3) !important;
  }

  .continue-watching-row {
    gap: 15px;
  }

  .continue-watching-image {
    height: 150px;
  }
}

@media (max-width: 575px) {
  .continue-watching-section.section-card {
    max-width: 100% !important;
    margin: 0 !important;
  }

  .continue-watching-header {
    padding: 0;
  }

  .continue-watching-header h3 {
    font-size: 18px;
  }

  .continue-watching-card {
    flex: 0 0 calc((100% - 0px - 15px) / 1.5) !important;
    min-width: calc((100% - 0px - 15px) / 1.5) !important;
    max-width: calc((100% - 0px - 15px) / 1.5) !important;
  }

  .continue-watching-row {
    gap: 12px;
  }

  .continue-watching-content {
    padding: 15px;
  }

  .continue-watching-image {
    height: 135px;
  }

  .continue-watching-card .course-title {
    font-size: 15px;
  }

  .continue-watching-card .instructor-name {
    font-size: 10px;
  }

  .continue-watching-card .lesson-title {
    font-size: 12px;
  }
}
/* ////////////////////////////////////////////////////////////////// Continue Watching Carousel CSS END ///////////////////////////////////////////////////////// */

/* ////////////////////////////////////////////////////////////////// Browse All Grid CSS START ///////////////////////////////////////////////////////// */
.browse-all {
  margin: 0 !important;
  padding: 20px 0 !important;
}

.browse-all h3 {
  font-size: 28px;
  font-weight: bold;
  color: #000000 !important;
  margin: 0 0 30px 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.browse-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

.browse-card {
  background: transparent;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  user-select: none;
  height: auto;
}

.browse-card a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.browse-image {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #ffffff;
  border-radius: 10px;
}

.browse-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #ffffff;
}

.browse-card .course-duration {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  z-index: 2;
}

.browse-content {
  padding: 20px 0px;
}



.browse-card .course-description {
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.load-more-container {
  text-align: center;
  margin-top: 30px;
}

.load-more-container button {
  background: #3FC3D4;
  color: #fff;
  border: none;
  padding: 12px 30px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: background 0.3s ease;
}

.load-more-container button:hover {
  background: #3FC3D4;
}
.load-more-container button:focus {
  background: #3FC3D4;
}

/* Responsive */
@media (max-width: 1200px) {
  .browse-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }
}

@media (max-width: 768px) {
  .browse-all h3 {
    font-size: 22px;
    margin-bottom: 20px;
  }

  .browse-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .browse-image {
    height: 120px;
  }

  .browse-content {
    padding: 15px 0px;
  }

}

@media (max-width: 575px) {
  .browse-all h3 {
    font-size: 18px;
    margin-bottom: 15px;
  }

  .browse-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .browse-image {
    height: 180px;
  }


  .load-more-container button {
    padding: 10px 24px;
    font-size: 13px;
  }
}
/* ////////////////////////////////////////////////////////////////// Browse All Grid CSS END ///////////////////////////////////////////////////////// */


/* ////////////////////////////////////////////////////////////////// Category Template CSS START ///////////////////////////////////////////////////////// */
.category-parent-section.section-card,
.category-sub-section.section-card {
    margin: 0 !important;
    padding: 20px 0 !important;
    position: relative;
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    margin-bottom: 15px;
}

.category-header h3 {
    font-size: 28px;
    font-weight: 600;
    color: #000000;
    margin: 0;
    text-shadow: none;
}

.category-header h3 a {
    color: #000000;
    text-decoration: none;
    text-shadow: none;
}


.category-nav {
    display: flex;
    gap: 10px;
    z-index: 100;
}

.carousel-container {
    position: relative;
}

.carousel-row {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 10px 0;
}

.carousel-row::-webkit-scrollbar {
    display: none;
}

.carousel-nav {
    width: 35px;
    height: 35px;
    background: #3fc3d4;
    border: none;
    border-radius: 50%;
    color: #ffffff;
    font-size: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    outline: none;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 50%;
    transition: opacity 0.3s ease;
    position: relative;
}

.carousel-nav:focus {
    outline: none;
    border: none;
    box-shadow: none;
    transform: none;
}

.carousel-nav:focus-visible {
    outline: none;
    border: none;
    box-shadow: none;
    transform: none;
}

.carousel-nav.prev {
    background-color: #3FC3D4;
}

.carousel-nav.prev::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: url('../icons/left-icon.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 50%;
    filter: brightness(0) invert(1);
}

.carousel-nav.next {
    background-color:#3FC3D4;
}

.carousel-nav.next::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: url('../icons/right-icon.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 50%;
    filter: brightness(0) invert(1);
}

.category-card {
    min-width: calc((100% - 45px) / 4);
    max-width: calc((100% - 45px) / 4);
    flex-shrink: 0;
    background: transparent;
    border-radius: 8px;
    overflow: hidden;
}

.category-card a {
    text-decoration: none;
    display: block;
}

.category-image {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 8px;
    background: #ffffff;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: #ffffff;
}

.category-image .course-duration {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
}

.category-content {
    padding: 10px 0 0 0;
}

/* Override common styles for category cards */
.category-card .instructor-name {
    margin: 0 0 4px 0;
    font-weight: 400;
}

.category-card .course-title {
    margin: 0 0 6px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* Responsive */
@media (max-width: 1024px) {
    .category-card {
        min-width: calc((100% - 30px) / 3);
        max-width: calc((100% - 30px) / 3);
    }
}

@media (max-width: 768px) {
    .category-card {
        min-width: calc((100% - 15px) / 2);
        max-width: calc((100% - 15px) / 2);
    }

    .category-header h3 {
        font-size: 18px;
    }

    .carousel-nav {
        width: 30px;
        height: 30px;
    }

    .category-nav {
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .category-card {
        min-width: 100%;
        max-width: 100%;
    }

    .category-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .category-header h3 {
        font-size: 16px;
    }

    .carousel-nav {
        width: 28px;
        height: 28px;
    }
}


li.menu-item.menu-item--name{
    text-transform: uppercase;
    font-weight: 800;
}

li.menu-item.menu-item--name:hover {
    background: none;
}
.sub-menu-inner .menu-item:hover a{
	color: #ffffff !important;
}
.sub-menu-inner .menu-item a{
	transition: none !important;
}
@media (max-width: 768px) {
    .course-title {
        font-size: 18px !important;
    }
}
@media (max-width: 575px) {
    .course-title {
        font-size: 16px !important;
    }
}
.page-template-my-list-template main{
	padding-top: 10px !important;
}
/* ////////////////////////////////////////////////////////////////// Category Template CSS END ///////////////////////////////////////////////////////// */
