.read-more-btn {
    margin-right: auto;
}
.en h1{
  text-align: left;
}
.grecaptcha-badge {
    display: none !important;
}
.site-news__row-image img {

    z-index: 1;
}
.card-cats__label {

    border-radius: unset;
}
.course-tab__labelNEW {

    border-radius: unset !important;
}

@media (min-width: 768px) {
  .content-side__side-icon {
    margin-top: auto;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin-bottom: 4.5rem;
}


.text-marquee__item {
   padding-block: clamp(0.3375rem, 0.9vw, 0.9rem) !important ;

              }

              .site-news__row-text {

    margin-top: -0.6rem;
}


              .text-marquee__container {
               position: relative;
               width: 100%;
               height: 4rem !important;
           }
  .player-content__content {
     flex: unset;
    width: max-content;
}
.content-media__text h2 {
  font-size: 2.5vw;
  color: #850f25;
}

.content-media__text h4 {
  font-size: 1.667vw;
  color: #850f25;
}

.read-more-container {
  position: relative;
}

.content-hidden {
  display: none;
}
.site-news__row-image img {
    z-index: 1 !important;
}
/* Ensure proper spacing for headings and paragraphs */
.content-visible h2,
.content-visible h4,
.content-hidden h2,
.content-hidden h4 {
  margin-bottom: 0.8em;
}

.content-visible p,
.content-hidden p {
  margin-bottom: 1em;
}

/* Search input animation styles */
.site-header__search .search-input {
  width: 120px;
  /* Initial width - adjust as needed */
  transition: width 0.3s ease-in-out;
}

.site-header__search .search-input:focus {
  width: 240px;
  /* Expanded width - adjust as needed */
  outline: none;
}
}
@media (max-width: 768px) {
  .text-marquee__container {position: relative;width: 100%;height: 3rem !important;}

  .site-header__navs-top .btn {

    min-height: 2.5rem;
}


  .cards__item{
    background: white !important
  }
  .cards__item .btn.btn--red:hover span{
    color: #850f25 !important;
  }
  .content-side__slide-youtube {
    height: 64.792vw !important;
}
.content-side__slide-youtube .content-side__slide-text {
    color: #850f25;
    font-size: 6vw;
}
  .content-media__text h2{
    font-size: 10.26vw;
        line-height: 1.1 !important;

  }
  .content-side__side{
    margin-top: unset !important
  }
  .content-media__text h4{

font-size: 7.18vw;
        line-height: 1.1 !important;
  }
  .content-media__text p{


font-size: 4.62vw;
        line-height: 1.1 !important;
  }

  .newadsa > p{
    margin-bottom: 0.5rem;
  }
  .breadcrumbs-wrapper ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex
;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: clamp(0.5rem, 0.625vw, 0.75rem);
    flex-wrap: wrap;
    gap: 0.2rem 0.5rem;
}
  .search-cards__card-text {
        max-height: unset !important;
        min-height: 9.375rem;
    }

  .home .content-media__media {

    margin-top: 2rem;
}
  .home .content-media__text:not(:last-child) {

    margin-top: -1rem;
}

table.responsive_table_here{
width: 100% !important;
}
  .site-header__search .search-input:focus {
    width: 17rem !important;
    margin-top: 1.4rem;
  }

  /* Adjust sizes for mobile if needed */
  .site-header__search .search-input {
    width: 100px;
  }

  .site-header__search .search-input:focus {
    width: 160px;
  }
}

.not_logged_in .course__tab-btn[data-type="3"],
.not_logged_in .course__tab-btn[data-type="4"],
.not_logged_in .course__tab-btn[data-type="6"] {
  opacity: 0.3 !important;
  pointer-events: none;
}

.modern-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 40px 0;
  direction: rtl;
  font-family: inherit;
}

.modern-pagination a,
.modern-pagination span:not(.pagination-ellipsis) {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.modern-pagination a {
  background-color: #f8f0f2;
  color: #333;
  border: 1px solid transparent;
}

.modern-pagination a:hover {
  background-color: #f2dde0;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(133, 15, 37, 0.1);
  color: #850f25;
}

.modern-pagination .pagination-current {
  background-color: #850f25;
  color: white;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(133, 15, 37, 0.3);
}

.modern-pagination .pagination-ellipsis {
  color: #666;
  font-size: 18px;
  letter-spacing: 2px;
}

.modern-pagination .disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

.modern-pagination .pagination-prev,
.modern-pagination .pagination-next,
.modern-pagination .pagination-first,
.modern-pagination .pagination-last {
  background-color: #f8f0f2;
  border: 1px solid #f2dde0;
}

.modern-pagination i {
  font-size: 14px;
}

@media (max-width: 768px) {
  .modern-pagination {
    gap: 4px;
  }

  .modern-pagination a,
  .modern-pagination span:not(.pagination-ellipsis) {
    min-width: 36px;
    height: 36px;
    font-size: 14px;
  }

  .modern-pagination .pagination-ellipsis,
  .modern-pagination .pagination-first,
  .modern-pagination .pagination-last {
    display: none;
  }
}


.page-numbers.disabled {
  opacity: 0.5;
}

.search-wrapper__queries{
  display: none;
}
/* Loading indicators and tab styling */

.course-books__inner.loading,
.course-recording__inner.loading {
  opacity: 0.7;
  pointer-events: none;
  position: relative;
  min-height: 200px;
  transition: opacity 0.2s ease;
}

.course-books__inner.loading:after,
.course-recording__inner.loading:after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  margin: -20px 0 0 -20px;
  border: 3px solid rgba(133, 15, 37, 0.1);
  border-radius: 50%;
  border-top-color: #850f25;
  animation: spin 0.8s ease-in-out infinite;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Style for the right sidebar tabs */
.course-tab__side-nav .site-nav__list a {
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.course-tab__side-nav .site-nav__list a:hover {
  color: #850f25;
}

.course-tab__side-nav .site-nav__list a.active {
  font-weight: bold;
  color: #850f25;
}

.course-tab__side-nav .site-nav__list a.active:before {
  content: '';
  position: absolute;
  right: -15px;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: #850f25;
}

/* Custom audio player */
.audio-player-container {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: white;
  padding: 10px 20px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  display: flex;
  align-items: center;
  max-width: 600px;
  margin: 0 auto;
  border: 1px solid rgba(133, 15, 37, 0.2);
}

.audio-player-container audio {
  width: 100%;
  height: 40px;
}

.close-audio-player {
  background: #850f25;
  color: white;
  border: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
  margin-left: 10px;
  flex-shrink: 0;
}

.close-audio-player:hover {
  background: #a51630;
}

/* Fancybox custom styling */
.fancybox__container {
  --fancybox-bg: rgba(24, 24, 27, 0.95);
}

.fancybox__toolbar {
  --carousel-button-bg: rgba(133, 15, 37, 0.75);
}

.fancybox__toolbar button:hover {
  --carousel-button-bg: rgba(133, 15, 37, 0.9);
}

/* Override Fancybox's default styles */
.fancybox__container :is(.is-using-tab, .is-using-keyboard):focus-visible {
  outline-color: #850f25;
}

/* Make sure PDF content doesn't have download option */
.fancybox__container .pdf-viewer__toolbar .download-button {
  display: none !important;
}

.course-recording__row {
  margin-bottom: 2rem;
}
/*
.course-books__header {
  margin-bottom: 2rem;
} */

.course-books__rows {

    gap: clamp(1.125rem, 1.71875vw, 2.0625rem);
}

/* Error styles */
.questions_form .error {
  border-color: #ff4136 !important;
  box-shadow: 0 0 0 1px #ff4136 !important;
}

.questions_form .error-message {
  color: #ff4136;
  font-size: 14px;
  margin: 5px 0;
  display: block;
  text-align: right;
}

/* Success message styles */
.questions-form__success {
  background-color: #f8f9fa;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  padding: 30px 25px;
  text-align: center;
  max-width: 100%;
  margin: 20px auto;
  transition: all 0.3s ease;
}

.questions-form__success h3 {
  color: #850f25;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.questions-form__success h3:after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 3px;
  background-color: #850f25;
  border-radius: 3px;
}

.questions-form__success p {
  color: #4a5568;
  font-size: 16px;
  line-height: 1.6;
  margin-top: 15px;
}

/* Success animation */
@keyframes successFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.questions-form__success {
  animation: successFadeIn 0.5s ease-out forwards;
}

/* Responsive styles */
@media (max-width: 768px) {
  .questions-form__success {
    padding: 20px 15px;
  }

  .questions-form__success h3 {
    font-size: 20px;
  }

  .questions-form__success p {
    font-size: 14px;
  }
}

/* Additional styling for the form */
.questions_form {
  position: relative;
}

.questions_form input,
.questions_form textarea {
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.questions_form input:focus,
.questions_form textarea:focus {
  outline: none;
  border-color: #3182ce;
  box-shadow: 0 0 0 2px rgba(49, 130, 206, 0.2);
}

/* Button styles */
.questions_form .btn {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.questions_form .btn:after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5px;
  height: 5px;
  background: rgba(255, 255, 255, 0.5);
  opacity: 0;
  border-radius: 100%;
  transform: scale(1, 1) translate(-50%);
  transform-origin: 50% 50%;
}

.questions_form .btn:focus:not(:active)::after {
  animation: ripple 1s ease-out;
}

@keyframes ripple {
  0% {
    transform: scale(0, 0);
    opacity: 0.5;
  }

  20% {
    transform: scale(25, 25);
    opacity: 0.3;
  }

  100% {
    opacity: 0;
    transform: scale(40, 40);
  }
}

/* Disabled state */
.questions_form input:disabled,
.questions_form textarea:disabled,
.questions_form button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  background-color: #ffffff;
}

a.disabled.flexd- {
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* pointer-events: none;
    cursor: not-allowed; */
}

.closed_a {
  border-radius: 1rem;
  padding: 0.2rem 0.5rem;
  color: white;
}

a.disabled.flexd->span {
  color: #333;
  opacity: 0.64;
}

.card-cats__droplist-btn.isActive i {
  transform: rotate(180deg);
}


/* Marks Form Styles */

/* Error styles */
.marks_form .error {
  border-color: #ff4136 !important;
  box-shadow: 0 0 0 1px #ff4136 !important;
}

.marks_form .error-message {
  color: #ff4136;
  font-size: 14px;
  margin: 5px 0;
  display: block;
  text-align: right;
}

/* Dropdown styles */
.marks_form select {
  width: 100%;
  min-height: clamp(3.125rem, 6.3020833333vw, 7.5625rem);
  padding: 0 15px;
  border: 1px solid #e2e8f0;
  border-radius: unset;
  background-color: #F9F4EB;
  font-size: 16px;
  color: black;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url(data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E);
  background-repeat: no-repeat;
  background-position: left 10px center;
  background-size: 16px;
  transition: border-color 0.3sease, box-shadow 0.3sease;
  font-size: clamp(1.125rem, 1.25vw, 1.5rem);
}

.marks_form select:focus {
  outline: none;
  border-color: #3182ce;
  box-shadow: 0 0 0 2px rgba(49, 130, 206, 0.2);
}

.marks_form select.error {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23ff4136' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
}

/* Success message styles */
.grades-form__success {
  background-color: #f8f9fa;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  padding: 30px 25px;
  text-align: center;
  max-width: 100%;
  margin: 20px auto;
  transition: all 0.3s ease;
}

.grades-form__success h3 {
  color: #850f25;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.grades-form__success h3:after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 3px;
  background-color: #850f25;
  border-radius: 3px;
}

.grades-form__success p {
  color: #4a5568;
  font-size: 16px;
  line-height: 1.6;
  margin-top: 15px;
}

/* Success animation */
@keyframes successFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.grades-form__success {
  animation: successFadeIn 0.5s ease-out forwards;
}

/* Flatpickr customization */
.flatpickr-calendar {
  font-family: inherit;
  direction: rtl;
}

.flatpickr-day.selected {
  background: #FF9800;
  border-color: #FF9800;
}

.flatpickr-day.selected:hover {
  background: #F57C00;
  border-color: #F57C00;
}

.flatpickr-day.today {
  border-color: #FF9800;
}

/* Additional form styling */
.marks_form .grades-form__item {
  margin-bottom: 15px;
  position: relative;
}

.marks_form .grades-form__bottom-item {
  margin-bottom: 15px;
  position: relative;
}

/* Disabled state */
.marks_form input:disabled,
.marks_form select:disabled,
.marks_form textarea:disabled,
.marks_form button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* Button hover effect */
.marks_form .btn {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.marks_form .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.marks_form .btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .grades-form__success {
    padding: 20px 15px;
  }

  .grades-form__success h3 {
    font-size: 20px;
  }

  .grades-form__success p {
    font-size: 14px;
  }
}

.bottom_a {
  background: unset;
}

.marks_form .error-message {
  position: absolute;
  bottom: -1.67rem;
}

div#white-player .add-to-favorites {
    width: 1.25vw;
}
div#white-player .tools{
	gap:0.625vw
}
div#white-player {
  direction: ltr;
  color: white;
    width: 25.573vw;
    float: left;
}
div#white-player-center div.song-meta-data span.song-name {
  display: block;
  text-align: center;
  font-size: 1.094vw;
  font-weight: 700;
}

div#white-player-center div.song-meta-data span.song-artist {
  display: block;
  text-align: center;
  font-size: 0.781vw;
}

div#white-player-center div.time-progress {
  margin-bottom: 1.563vw;
}

div#white-player-center div.time-progress span.current-time {
  color: #aaafb3;
  font-size: 0.625vw;
  display: block;
  float: left;
  margin-left: 1.042vw;
}

div#white-player-center div.time-progress div#progress-container {
  margin-left: 1.042vw;
  margin-right: 1.042vw;
  position: relative;
  height: 1.042vw;
  cursor: pointer;
  /*
  IE 11
  */
}

div#white-player-center div.time-progress div#progress-container:hover input[type="range"].amplitude-song-slider::-webkit-slider-thumb {
  display: block;
}

div#white-player-center div.time-progress div#progress-container:hover input[type="range"].amplitude-song-slider::-moz-range-thumb {
  visibility: visible;
}

div#white-player-center div.time-progress div#progress-container progress#song-played-progress {
  width: 100%;
  position: absolute;
  left: 0;
  top: 0.417vw;
  right: 0;
  width: 100%;
  z-index: 10;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  height: 0.208vw;
  border-radius: 0.26vw;
  background: transparent;
  border: none;
  /* Needed for Firefox */
}


div#white-player-center div.time-progress div#progress-container progress#song-buffered-progress {
  position: absolute;
  left: 0;
  top: 0.417vw;
  right: 0;
  width: 100%;
  z-index: 9;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  height: 0.208vw;
  border-radius: 0.26vw;
  background: transparent;
  border: none;
  background-color: #d7dee3;
}

div#white-player-center div.time-progress div#progress-container progress#song-buffered-progress[value]::-webkit-progress-bar {
  background-color: #e1e1e1;
  border-radius:  0.26vw;
}

div#white-player-center div.time-progress div#progress-container progress#song-buffered-progress[value]::-webkit-progress-value {
  background-color: #e1e1e1;
  border-radius:  0.26vw;
  transition: width 0.1s ease;
}

div#white-player-center div.time-progress div#progress-container progress#song-buffered-progress::-moz-progress-bar {
  background: none;
  border-radius:  0.26vw;
  background-color: #e1e1e1;
  height:  0.26vw;
  margin-top: -0.104vw;
}

div#white-player-center div.time-progress div#progress-container progress::-ms-fill {
  border: none;
}

@-moz-document url-prefix() {
  div#white-player-center div.time-progress div#progress-container progress#song-buffered-progress {
    top: 0.469vw;
    border: none;
  }
}

div#white-player-center div.time-progress div#progress-container input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  margin: 0.391vw 0;
  position: absolute;
  z-index: 11;
  top: -0.365vw;
  height: 1.042vw;
  cursor: pointer;
  background-color: inherit;
}

div#white-player-center div.time-progress div#progress-container input[type="range"]:focus {
  outline: none;
}

div#white-player-center div.time-progress div#progress-container input[type="range"]::-webkit-slider-runnable-track {
  width: 100%;
  height: 0px;
  cursor: pointer;
  box-shadow: 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px rgba(13, 13, 13, 0);
  background: white;
  border-radius: 0px;
  border: 0px solid #010101;
}

div#white-player-center div.time-progress div#progress-container input[type="range"]::-webkit-slider-thumb {
  box-shadow: 0px 0px 0px #000000, 0px 0px 0px #0d0d0d;
  border: 1px solidwhite;
  height: 0.781vw;
  width: 0.781vw;
  border-radius: 0.781vw;
  background: white;
  cursor: pointer;
  -webkit-appearance: none;
  margin-top: -0.391vw;
}

div#white-player-center div.time-progress div#progress-container input[type="range"]:focus::-webkit-slider-runnable-track {
  background: white;
}

div#white-player-center div.time-progress div#progress-container input[type="range"]::-moz-range-track {
  width: 100%;
  height: 0px;
  cursor: pointer;
  box-shadow: 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px rgba(13, 13, 13, 0);
  background: white;
  border-radius: 0px;
  border: 0px solid #010101;
}

div#white-player-center div.time-progress div#progress-container input[type="range"]::-moz-range-thumb {
  box-shadow: 0px 0px 0px #000000, 0px 0px 0px #0d0d0d;
  border: 1px solidwhite;
  height: 0.781vw;
  width: 0.781vw;
  border-radius: 0.781vw;
  background: white;
  cursor: pointer;
}

div#white-player-center div.time-progress div#progress-container input[type="range"]::-ms-track {
  width: 100%;
  height: 0px;
  cursor: pointer;
  background: transparent;
  border-color: transparent;
  color: transparent;
}

div#white-player-center div.time-progress div#progress-container input[type="range"]::-ms-fill-lower {
  background: #003d57;
  border: 0px solid #010101;
  border-radius: 0px;
  box-shadow: 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px rgba(13, 13, 13, 0);
}

div#white-player-center div.time-progress div#progress-container input[type="range"]::-ms-fill-upper {
  background: white;
  border: 0px solid #010101;
  border-radius: 0px;
  box-shadow: 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px rgba(13, 13, 13, 0);
}

div#white-player-center div.time-progress div#progress-container input[type="range"]::-ms-thumb {
  box-shadow: 0px 0px 0px #000000, 0px 0px 0px #0d0d0d;
  border: 1px solid white;
  height: 0.781vw;
  width: 0.781vw;
  border-radius: 0.781vw;
  background: white;
  cursor: pointer;
  height: 0px;
  display: none;
}


div#white-player-center div.time-progress div#progress-container input[type="range"]:focus::-ms-fill-lower {
  background: white;
}

div#white-player-center div.time-progress div#progress-container input[type="range"]:focus::-ms-fill-upper {
  background: white;
}

div#white-player-center div.time-progress span.duration {
  color: #aaafb3;
  font-size: 0.625vw;
  display: block;
  float: right;
  margin-right: 1.031vw;
  color: rgba(255, 255, 255, 0.70);
  /* opacity: 0.7; */
}


div#white-player-controls {
  text-align: center;
  padding-bottom: 1.8vw;
  width: 100%;
}

div#white-player-controls div#shuffle {
  display: inline-block;
    width: 1.031vw;
    height: 0.83vw;
    cursor: pointer;
    vertical-align: middle;
    margin-right: 6.77vw;
}

div#white-player-controls div#shuffle.amplitude-shuffle-off {
  background: url("https://521dimensions.com/img/open-source/amplitudejs/examples/dynamic-songs/shuffle-off.svg");
	background-size: cover;
}

div#white-player-controls div#shuffle.amplitude-shuffle-on {
  background: url("https://521dimensions.com/img/open-source/amplitudejs/examples/dynamic-songs/shuffle-on.svg");
	background-size: cover;
}

div#white-player-controls div#previous {
  display: inline-block;
    height: 1.67vw;
    width: 1.67vw;
    cursor: pointer;
    background: url(../img/left.svg);
	background-size: cover;
    vertical-align: middle;
    margin-right: 0.83vw;
}

div#white-player-controls div#play-pause {
  display: inline-block;
    width: 2.9vw;
    height: 2.9vw;
    cursor: pointer;
    vertical-align: middle;
    margin-right: 0.83vw;
}

div#white-player-controls div#play-pause.amplitude-paused {
  background: url("../img/main.svg");
	background-size: cover;
}

div#white-player-controls div#play-pause.amplitude-playing {
  background: url("../img/pause.svg");
	background-size: cover;
}

div#white-player-controls div#next {
  display: inline-block;
  height: 1.67vw;
  width: 1.67vw;
  cursor: pointer;
  background: url("../img/right.svg");
	background-size: cover;
  vertical-align: middle;
  /* margin-right: 24px; */
}

div#white-player-controls div#repeat {
    display: inline-block;
    width: 1.246vw;
    height: 1.246vw;
    cursor: pointer;
    vertical-align: middle;
    margin-left: 6.77vw;
}

div#white-player-controls div#repeat.amplitude-repeat-off {
  background: url("../img/ri1.svg");
	background-size: cover;
}

div#white-player-controls div#repeat.amplitude-repeat-on {
  background: url("../img/left1.svg");
	background-size: cover;
}

.song-meta-data {
  display: flex;
  flex-direction: column;
  align-items: end;
  padding-right: 0.833vw;
  margin-bottom: 0.833vw;
}


@media (max-width: 768px) {
  .player-content__player {
    width: 100%;
  }

  div#white-player-controls div#repeat {
    margin-left: 50px;
  }

  div#white-player-controls div#shuffle {
    margin-right: 50px;
  }
}
.empty_da .content-side__inner:not(.--centered) {
      grid-template-columns: unset;
  }


  .tools img {
    width: auto;
    height: auto;
  }

  .head_a {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
    padding-left: 1vw;
  }

  /* Share functionality styling */
  .player-share-container {
    position: relative;
    display: inline-block;
  }

  .share-button {

    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.2vw ;
  }
.share-button img {
    width: 100%;
    height: auto;
}

  .share-option img {
      width: 1.667vw;
      height: 1.667vw;
  }
  .share-options {
      display: none;
      position: absolute;
      top: 1.563vw;
        right: -6.51vw;
      transform: translateY(-100%);
      background: white;
      border-radius: 2.083vw;
      box-shadow: 0 2px 0.521vw rgba(0, 0, 0, 0.1);
      padding: 0.26vw 0.521vw;
      z-index: 100;

      align-items: center;
      width: auto;
      justify-content: space-between;
  }

  .share-option {
    width: 1.667vw;
    height: 1.667vw;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    padding: 0;
    margin: 0 0.156vw;
  }



  .whatsapp-share {
    margin-left:1rem;
  }

  .copy-link {

  }

  .close-share {
    background-color: transparent;
  }

  .close-share img {
    width: 50%;
    height: 50%;
  }

  /* Toast notification for copy success */
  .copy-toast {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0,0,0,0.7);
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    z-index: 1000;
    display: none;
  }

  .player-content__player {
    position: relative;
  }


  /* CSS for Remember Me checkbox */
  .sp-login__form-item.--remember {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    direction: rtl;
  }

  .sp-login__form-item.--remember input[type="checkbox"] {
    margin-left: 8px;
    width: 16px;
    height: 16px;
  }

  .sp-login__form-item.--remember label {
    font-size: 14px;
    cursor: pointer;
  }

  /* CSS for input-specific error messages */
  .sp-login__form-item {
  position: relative;
  margin-bottom: 20px;
  }

  div.input-error {
  color: #ff0000;
  font-size: 12px;
  margin-top: 5px;
  text-align: right;
  position: absolute;
  bottom: -20px;
  right: 0;
  direction: rtl;
  width: 100%;
  }

  /* Keep the general form response for server-side errors */
  .form__response {
  margin: 10px 0;
  }

  .form__response--error {
  color: #ff0000;
  text-align: right;
  direction: rtl;
  }

  .form__response--success {
  color: #008000;
  text-align: right;
  direction: rtl;
  }

  /* Add styles for the blocked state */
  .specific-login-form.blocked {
  opacity: 0.7;
  pointer-events: none;
  }

  /* CSS for logout button state */
  .return.logging-out {
  opacity: 0.7;
  cursor: default;
  }

  /* Optional: Add a subtle loading animation */
  @keyframes pulse {
  0% { opacity: 0.7; }
  50% { opacity: 1; }
  100% { opacity: 0.7; }
  }

  .return.logging-out {
  animation: pulse 1s infinite;
  }

  /* Custom styling for the remember me checkbox */
  .sp-login__form-item.--remember {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    direction: rtl;
  }

  /* Reset default checkbox styling */
  .sp-login__form-item.--remember input[type="checkbox"] {
    /* Override appearance: none */
    -webkit-appearance: auto !important;
    -moz-appearance: auto !important;
    appearance: auto !important;

    /* Basic styling */
    width: 16px;
    height: 16px;
    margin-left: 8px;
    cursor: pointer;
    border: 1px solid #ccc;

    /* Make sure it's visible */
    opacity: 1;
    position: static;
    display: inline-block;
    visibility: visible;
  }

  /* Custom styling for checked state */
  .sp-login__form-item.--remember input[type="checkbox"]:checked {
    background-color: #c51010;
    border-color: #c51010;
  }
.sp-login__form-item.--password{
  margin-bottom: 1rem !important;
}
  /* Styling for the label */
  .sp-login__form-item.--remember label {
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    user-select: none;
    color: #333;
    position: relative !important;
    transform: unset !important;
    top: unset !important;
    inset-inline-start: unset;
    padding-inline: unset;
    padding: 0 1rem;
    margin-right: -1rem;
    background: transparent;
    /* line-height: 1; */
    margin-top: -0.2rem;
  }

  /* Optional: Custom checkbox design */
  .sp-login__form-item.--remember .custom-checkbox {
    display: inline-block;
    width: 18px;
    height: 18px;
    margin-left: 8px;
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 3px;
    position: relative;
  }

  .sp-login__form-item.--remember input[type="checkbox"]:checked + .custom-checkbox::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 10px;
    height: 10px;
    background-color: #c51010;
    border-radius: 1px;
  }
  /* Specific override for the checkbox only */
.sp-login__form-item.--remember input[type="checkbox"] {
  width: auto !important;
  height: auto !important;
  border: 1px solid #C9C0B6 !important;
  padding-inline: 0 !important;
  margin-left: 8px !important;
  margin-right: 0 !important;
  font-size: initial !important;
  display: inline-block !important;
  -webkit-appearance: checkbox !important;
  -moz-appearance: checkbox !important;
  appearance: checkbox !important;
  width: 16px !important;
  height: 16px !important;
  display: none !important;
}
.icon__arrow-down {
    transition: transform 0.3s ease;
    font-size: 0.5rem;
}
.course-tab__labelNEW {
    width: 13rem;
    margin-right: 9rem;
    text-align: center;
    padding: 0.2rem 0 0.4rem 0;
    color: white;
    /* border-bottom-left-radius: 2rem; */
    font-size: 1.1rem;
    /* border-bottom-right-radius: 2rem; */
    font-size: clamp(1rem, 1.25vw, 1.5rem);
}
@media (max-width: 768px) {
  .course-tab__labelNEW {
    width: 13rem;
    /* margin-right: 9rem; */
    margin: auto;
    text-align: center;
    padding: 1rem 0 0.7rem 0;
    color: white;
    border-bottom-left-radius: 1rem;
    font-size: 1.1rem;
    border-bottom-right-radius: 1rem;
    font-size: clamp(1.2rem, 1.55vw, 1.7rem);
    margin-top: -2rem;
    margin-bottom: 1rem;
}

}
.course-recording__row-main {

  align-items: center;
}
/* Base style (optional) */
.content-side__side {
  xpadding-top: 5rem; /* Default padding for smaller screens */
}

/* Medium screens */
@media screen and (min-width: 800px) and (max-width: 1023px) {.

  .content-side__side {
    xpadding-top: 6.8rem !important;
  }
}

/* Large screens */
@media screen and (min-width: 1024px) {
  .sn2{
        width: 49.65% !important;
  }
  .content-side__slide-youtube{
                height:17.083vw !important;
  }
  .content-side__slide-img {
    height: 100%;
}
  .course-recording__row-text p span, .course-books__row-text p span, .content_ne p span{
    display: block;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    unicode-bidi: isolate;
    font-size: 1.5rem !important;
}


  .content-side__side-nav ul {
    overflow-y: hidden;
    min-height: unset !important;
}
.cards .swiper-wrapper {
    justify-content: center;
    gap: 5rem;
}
  .content-side__side {
    xpadding-top: 7.8rem;
  }
}

@media (min-width: 1000px) {

  .content-side__main-header h1 {
    margin-right: -0.5rem;
}
  /* .course-recording__row > p {
    padding-inline-start: unset;
} */
.course-books__header h2, .course-recording__row > p {
    -webkit-padding-start: 2.0625rem;
    padding-inline-start: 3.0825rem;
}
.course-recording__row .desc {

    padding-inline-start: 3.0825rem !important;
}

  .course-tab__side-nav ul a, .course-tab__side-nav ul button {
    padding-inline: clamp(1.375rem, 2.135417vw, 2.5625rem);
    padding-block: 0.225rem !important;
    min-height: unset !important;
    font-size: clamp(1.5rem, 0.9vw, 1.4875rem);
}


  .course-tab__side-nav ul a, .course-tab__side-nav ul button {


    padding-inline: clamp(1.375rem, 2.1354166667vw, 2.5625rem);
    padding-block: 0.625rem;
    min-height: unset !important;
}

  .course-books__header .desc{
            padding-inline-start: 3.0625rem !important;
  }
  .course__tabs-nav {

      margin-inline-start: clamp(17.5rem, 23.0208333333vw, 27.625rem);
  }


  .site-header__bottom {

      max-width: 106rem;

  }
  .content-decor__main {
    max-width: 66.25rem;

}
.content-side__side {
    xpadding-top: 7rem;
    height: 100%;
}
  .content-media h4,
  .content-media h2 {
    margin-bottom: 0.2em;
  }
  .cards__inner {

      max-width: 89vw;
  }
  /* .content-side__side {
      padding-top: 7.9225rem;
  } */
.site-news__row-image {


    height: 16.6666666667vw;
    width: 16.6666666667vw;
    display: block;
    flex: none;

}
}
.site-news__row-image img {

        position: relative;
        margin: auto;
        inset: auto;
        object-fit: contain;
        width: 100%;
        height: 100%;
}
@media (max-width: 100em) {
  .blog-cards__decor {
    position: relative;
    height: auto;
    width: 100%;
}
.blog-cards__decor img{
  position: relative;
}
  .course-resume__content {
    display: block;
    /* font-size: 150%; */
    line-height: inherit;
    padding: 1rem;
}
.course-resume {

    padding-inline: unset;
}
  .search-cards__card {
    width: 100% !important;

}
  .search-cards__card-img {
      width: 100%;
      height: 78.563vw;
      background-color: #D9D9D9;
      isolation: isolate;
      position: relative;
  }
  /* .content-side__slide-youtube{
        height:14.792vw !important;
  } */
  .search-cards__card-toggle span {
      font-size: 1.25vw;
      font-size: clamp(1.25rem, 1.25vw, 1.5rem);
  }
  .content-side__slide-img {
    height: 100%;
}



  .content-side__main-slider {
    padding: 0 3rem !important;
}
  .course-recording__row-text p{
    font-weight: unset !important;
  }
  .home .content-media .content-media__inner {
    gap: unset;
}
.content-side__main-slider {
    max-width: unset !important;
}
/* .content-side__main {
    padding: 3rem;
} */
.content-side__main-slider {
    padding: 3rem;
}
.content-side__slider .swiper-button-next {
    inset-inline: initial;
    inset-inline-start: calc(87% + clamp(0.8125rem, 1.71875vw, 2.0625rem));
}
.content-side__slider .swiper-button-prev {
    inset-inline: initial;
    inset-inline-end: calc(87% + clamp(0.8125rem, 1.71875vw, 2.0625rem));
}
.card-cats__droplist {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    display: none;
}

}
@media (min-width: 768px) {
  .responsive_table_here tr,
  .responsive_table_here{
    height: max-content !important;
  }
  .player-content__inner {

 align-items: unset;

}
.content-side .swiper-button-next,.content-side .swiper-button-prev{
  margin-top: unset;
}

}
.card-cats__droplist.card-droplist.shows.isActive{
  opacity: 1;
visibility: visible;
pointer-events: unset;
    display: block !important;
}
.card-cats__droplist {

    min-height: unset;
}
.content-media__inner {
    align-items: start;
}
.site-news__inner .breadcrumbs-wrapper{
          padding-inline-start: unset;
}

.course-resume__image img {
    position: relative;
    height: auto;
    width: auto;
}

@media (min-width: 1024px) {

  .course-resume__image {
    position: relative;
    overflow: hidden;
        width: 10.85rem;
        height: 10.85rem;
    background-color:white;
}


  .hero-type-2__inner {
    padding-top: unset !important;
    padding-bottom: unset !important;
    margin-top: clamp(0.4375rem, 0.8333333333vw, 1rem);
    margin-bottom: clamp(0.4375rem, 1.7708333333vw, 2.125rem);
}

  .single-courses .breadcrumbs-wrapper{
    max-width: 108.1rem;
    /* margin: 0 auto; */
    width: 100%;
    margin-right: auto;
    margin-left: auto;
  }
}
@media (min-width: 768px) {
  .card-cats__droplist.card-droplist.shows.isActive {
      opacity: 1;
      visibility: visible;
      pointer-events: unset;
      display: block !important;
      max-height: 32rem;
      overflow-y: auto;
  }
.site-header.fixed ~ main .course-tab__side-nav {
    top: clamp(7.5rem, 8.8020833333vw, 10.5625rem);
}
.course-tab__side-nav{
    position: sticky;
    top: 4.375rem;
    background: #efe7dc;
}




}

@media (max-width: 768px) {
  .content_ne td, .content_ne td span {
    font-size: 5.25vw;
}
  .site-nav__toggle{
    display: flex !important;
  }
  .search-table__table-wrap {
    grid-template-columns: 1fr !important; /* Set to 1fr for mobile */
  }

  button.read-more-btn.btn.btn--white{
    background-color: unset;
  }
  .menu-item-active > a::before{
      transform: rotate(180deg);
  }
  .menu-item-active > a::after{
      transform: rotate(180deg);
  }

  .menu .sub-menu.isActive {
    /* Style for active submenus */
    display: block !important;
  }

  .menu .sub-menu {
    /* Hide submenus by default on mobile */
    display: none;
  }

  .card-cats__content.isActive{
    display: block;
  }
  .home .content-media .content-media__inner {
      gap: 1.25rem !important;
  }
.home .content-media  .content-visible h2{
    text-align: center !important;
    margin-bottom: 0.2rem !important;
  }
  .course-resume__image {
          height: 21.75rem;
          width: 21.75rem;

      }

  .content-decor .content-decor__main h2{
    font-size: 6vw;
        padding: 0 1rem;
  }
  .content-decor  .content-decor__main p {
    font-size: 4vw;
}

  .content-decor .content-decor__main h2 br{
    display: none;
  }

.hero-type-2__inner div.breadcrumbs {
    padding-inline: 0.9375rem;
}
}
.content-side__side-nav{
      background: #efe7dc;
}
/* Base button styling */
.read-more-btn {
  position: relative;
  padding-left: 30px; /* Space for the arrow */
}

/* Arrow styling using pseudo-element */
.read-more-btn::after {
  content: "";
  position: absolute;
  left: 10px;
top: 44%;
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-50%) rotate(45deg); /* Down arrow by default */
  transition: transform 0.3s ease; /* Smooth transition for arrow rotation */
}

/* When expanded, rotate to up arrow */
.read-more-btn[aria-expanded="true"]::after {
    transform: translateY(-15%) rotate(-135deg);
}
.content_ne a:not([class]), .read-more-wrapper a:not([class]), .course-resume__content a:not([class]) {
    color: #850f25;
}
#groupsTable a{
  color: #850f25;
}
.course-books__row-main a:not([class]) {
      color: #850f25 !important;
}

.read-more-content {
  transition: all 0.3s ease;
}
.fancybox__backdrop {
    background: rgb(24 24 27 / 52%) !important;
}
#loginModal .site-modal__inner {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex
;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: clamp(1rem, 0.979167vw, 0.375rem) !important;
    padding-inline: clamp(1.5rem, 4.1666666667vw, 5rem) !important;
    padding-bottom: clamp(1.0625rem, 1.364583vw, 2.4375rem) !important;
    padding-top: 0.5rem !important;
}
.form__response{
  display: none;
}
.form__response.form__response--error {
    display: block !important;
}
.form__response.form__response--success {
    display: block !important;
}
.course-recording__row-main a{
  color:#850f25;
  text-decoration: underline;
}
.course-recording__row .desc {
    -webkit-padding-start: 2.625rem;
    padding-inline-start: 2.625rem;
}
.course-recording__row .desc {
font-size: clamp(1.125rem, 1.25vw, 1.5rem);
}
.btn--red:hover,
.btn--red:hover i,
.btn--red:hover span {
  color:white;
}
.content-decor h2 {
    line-height: 1;
}
div#white-player-center div.song-meta-data span.song-artist {
    direction: rtl;
}
.course-recording__row-main{
      color: #333333;
font-size: clamp(1.25rem, 1.25vw, 1.5rem);
font-weight: 700;
}

.bottom-end a{
  color:#850f25;
  text-decoration: underline;
}
.content-media h4, .content-media h2 {
    line-height: 2.292vw;
}

.side-nav--fixed {
  position: fixed;
}

.side-nav--absolute {
  position: absolute;
}

.cards__item-main {
padding: unset !important;
}
.cards__item-main > span{
  padding-bottom: 1rem;
  padding-top: 4rem;
}
.site-header__navs .current-menu-parent,
  .site-header__navs .current_page_item {
    background: var(--HOVER, #F9F4EB);
  }
  .card-cats__img {
    padding-top: unset;
    display: flex
;
    align-items: center;
}
.content_ne td,
.content_ne td span{
  font-size: 1.25vw;
}
.content-side__slide-img {
  padding-bottom: unset !important;
}
.card-cats__img > span:not(.card-cats__label) {
      font-family: "FBotarkya", sans-serif;
}

@media (min-width: 768px) {
  .cards .swiper-wrapper {
      justify-content: center;
  }
  .head_a {

    margin-bottom: 1.25vw;
}

  .content-side__main h2 {

    margin-top: unset !important;
}
  .footer .wpcf7-response-output {
      margin-top: 1rem !important;

  }
  /* Target all .search-cards__card-text.isActive except the last 3 in the swiper-wrapper */
  .swiper-wrapper .swiper-slide:not(:nth-last-child(-n+3)) .search-cards__card-text.isActive {
      height: 30vw;
  }
  .site-header__navs nav > ul {
    column-gap: 2vw !important;

}
.site-header__navs nav .menu-item-has-children {
    padding-bottom: unset;
    margin-bottom: unset;
}
.site-header__navs .current-menu-parent,
  .site-header__navs .current_page_item {
    background: var(--HOVER, #F9F4EB);
  }
  .site-header__navs nav a {
    height: 100%;
    text-align: center;
    display: flex
;
    align-items: center;
            padding: 0 0.3rem;
}

  .site-header__nav #menu-header-menu{
    height: 4rem;
  }
.content-decor__main > p:first-child {
    font-family: 'Caligraph', sans-serif !important;
        font-size: 3.75rem !important;
            line-height: 1;
}
#menu-header-menu li{
  height: 100%;
display: flex
;
align-items: center;
}
}
@media (max-width: 768px) {
  .site-header__navs nav a {
    font-size: clamp(1rem, 1.3583333333vw, 1.75rem);
    color: #000000;
  }
  .cards__item-main .btn {

    min-height: 10rem;
}


  .content-side__main h2 {

    margin-top: 0.5rem !important;
}
  .content-side__side-inner {
        background: #efe7dc;
    }

  .site-form__item {
    margin-bottom: 0.5rem;
}
  .content-side__main-header h1 {
    line-height: 1;
}
.content-side__main-top, .content-side__main-bottom {
    gap: unset;
}

  .content-side__side {
      padding-top: unset;
  }
.content-decor .content-decor__main > p:first-child  {
    font-size: 6vw;
    padding: 0 1rem;
    line-height: 1;
}
}
input.wpcf7-form-control.wpcf7-submit.has-spinner.btn.btn--red{
  background-color: #850f25 !important;
color: white;


}
.footer .site-form .wpcf7-not-valid-tip {
    padding-inline-start: unset;
    background: unset !important;
}
.footer .wpcf7-response-output {
    position: relative !important;
    direction: ltr;
    background: unset !important;
}
.swiper-pagination-bullet-active{
  background-color: #850f25 !important;
}
.content-side__main h2 {

        font-weight: 400 !important;
    }
.grades-form__header h3{
    font-family: 'Assistant', sans-serif;
}
.grades-form__item input:not(:placeholder-shown), .grades-form__item input:focus-within, .grades-form__item input:focus, .grades-form__item input:focus:hover, .grades-form__item input:autofill, .grades-form__item input:-webkit-autofill, .grades-form__item textarea:not(:placeholder-shown), .grades-form__item textarea:focus-within, .grades-form__item textarea:focus, .grades-form__item textarea:focus:hover, .grades-form__item textarea:autofill, .grades-form__item textarea:-webkit-autofill {
    border-color: transparent;
}
.course-tab__main {
    background-position: top;
}
.nddd p span{
  margin:unset !important;
}
.nddd p br{
  display: none;
}

#anchor-2{
  margin-bottom: 3rem;
}
  .content-side__side {
      padding-top: 0;
  }
.tax-course_category .card-cats .card-cats__content{
  display: none;
}
.content-side__slider .swiper-pagination{
display: none;
}
.content-side__slider {
        margin-bottom: clamp(2.5rem, 5.2083333333vw, 6.25rem);
}

.course-recording__content h1, .course-recording__content h2, .course-recording__content h3, .course-recording__content h4, .course-recording__content h5, .course-recording__content h6 {
    font-size: clamp(1.375rem, 1.25vw, 1.5rem);
    font-weight: 700;
}
@media (min-width: 768px) {
  .grades-form__item input, .grades-form__item textarea {
    font-size: clamp(1.125rem, 1.25vw, 1.5rem);
}
.grades-form__item input:not(:placeholder-shown) ~ label, .grades-form__item input:focus-within ~ label, .grades-form__item input:focus ~ label, .grades-form__item input:focus:hover ~ label, .grades-form__item input:autofill ~ label, .grades-form__item input:-webkit-autofill ~ label, .grades-form__item textarea:not(:placeholder-shown) ~ label, .grades-form__item textarea:focus-within ~ label, .grades-form__item textarea:focus ~ label, .grades-form__item textarea:focus:hover ~ label, .grades-form__item textarea:autofill ~ label, .grades-form__item textarea:-webkit-autofill ~ label {
    transform: translateY(-1.9625rem);

}
  .course-about__text {
    font-size: clamp(1rem, 1.25vw, 1.5rem);
}

  .course-recording__content h2, .course-recording__row > p {
    -webkit-padding-start: 2.0625rem;
    padding-inline-start: 3.0825rem;
  }
}
.course-books__header h2,
.course-recording__content h2, .course-recording__row > p {
    font-family: 'Assistant', sans-serif;
}
@media only screen and (min-width: 1024px) {
  .card-cats__img > span:not(.card-cats__label) {
      margin-top: -1.5rem;
  }
  .search-cards__cards .swiper-slide:nth-last-child(-n+3) .search-cards__card-text.isActive {
    z-index: 1000;
    position: relative;
  }
}
.card-cats__droplist.card-droplist.isActive {
    display: block !important;
    opacity: 1;
    visibility: visible;
    pointer-events: auto !important;
}

@media only screen and (min-width: 1024px) {
.course-cards__grid.course-cards__cards {
    gap: 4vw;
}

.card-cats__img {
    height: 15vw;
    transition: 0s;
}

.card-cats__img > span {
    font-size: 1.8vw;
}

	.card-cats__img > span:not(.card-cats__label) {
		margin-top: -1vw;
	}

.card-cats--type-2 .card-cats__toggle {
    min-height: 3.90625vw;
    padding-inline:  1.6666666667vw;
}

.card-cats--type-2 .card-cats__toggle span {
    font-size: 1.25vw;
}

.card-cats--type-2 .card-cats__toggle i {
    font-size: 0.78125vw;
}
}


/* Modal positioning and display */
#loginRegisterModal {
	position: fixed;
	top: 0;
	right: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.6);
	z-index: 9999;
	display: none; /* Hidden by default, will use flex when shown */
	align-items: center;
	justify-content: center;
	padding: 20px;
	max-width: unset;
	z-index: 100000;
}

#loginRegisterModal .site-modal__inner {
	background: white;
	border-radius: 8px;
	max-width: 500px;
	width: 100%;
	max-height: 90vh;
	overflow-y: auto;
	position: relative;
	padding: 30px;
}

/* Close button */
#loginRegisterModal .close-modal {
	position: absolute;
	top: 15px;
	right: 15px;
	background: none;
	border: none;
	font-size: 24px;
	cursor: pointer;
	color: #666;
	width: 30px;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
}

#loginRegisterModal .close-modal:hover {
	color: #850f25;
}

/* Tab Styles */
.site-modal__tabs {
	display: flex;
	justify-content: center;
	margin-bottom: 20px;
	border-bottom: 1px solid #e0e0e0;
}

.site-modal__tab {
	background: none;
	border: none;
	padding: 15px 30px;
	font-size: 16px;
	cursor: pointer;
	color: #666;
	position: relative;
	transition: all 0.3s ease;
}

.site-modal__tab:hover {
	color: #850f25;
}

.site-modal__tab.active {
	color: #850f25;
	font-weight: bold;
}

.site-modal__tab.active::after {
	content: '';
	position: absolute;
	bottom: -1px;
	left: 0;
	right: 0;
	height: 2px;
	background: #850f25;
}

.site-modal__tab-content {
	display: none;
}

.site-modal__tab-content.active {
	display: block;
}

.form-hint {
	font-size: 12px;
	color: #666;
	margin-top: 5px;
	display: block;
}

/* Override for protected content modal */
#loginRegisterModal .site-modal__header span {
	font-size: 14px;
	color: #666;
	display: block;
	margin-top: 5px;
}

.register-form.blocked,
.login-form.blocked {
	opacity: 0.6;
	pointer-events: none;
}

/* Success message styles */
.register-success {
	text-align: center;
	padding: 20px;
}

.register-success h3 {
	color: #00C851;
	margin-bottom: 10px;
}

.register-success p {
	margin-bottom: 20px;
}
/* Floating label styles */
.site-form__item {
    position: relative;
    margin-bottom: 20px;
}

.site-form__item input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.site-form__item label {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    color: #999;
    font-size: 16px;
    pointer-events: none;
    transition: all 0.3s ease;
    background: white;
    padding: 0 5px;
}

/* When input has focus or has value */
.site-form__item input:focus ~ label,
.site-form__item input:not(:placeholder-shown) ~ label {
    top: 0;
    font-size: 12px;
    color: #850f25;
}

.site-form__item input:focus {
    border-color: #850f25;
    outline: none;
}
/* Ensure nonce fields work properly */
#loginRegisterModal input[name="nonce"] {
    display: none;
}

/* Loading state */
.user-form.blocked {
    opacity: 0.6;
    pointer-events: none;
    position: relative;
}

.user-form.blocked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    border: 3px solid #ddd;
    border-top-color: #850f25;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Phone input */
#register-phone {
    direction: ltr;
    text-align: right;
}
@media only screen and (min-width: 1024px) {
  .course-recording__row-text p, .course-books__row-text p, .content_ne p {
    font-size: 1.5vw !important;
  }
}
@media only screen and (max-width: 1024px) {
.course-recording__row-text p, .course-books__row-text p, .content_ne p {
    font-size: clamp(1.125rem, 1.25vw, 1.5rem) !important;
}
.course-books__row-main p {
    font-size: 4.25vw !important;
}

}
/* Mobile Responsive Fixes for Audio Player */
@media (max-width: 768px) {
  div#white-player {
    width: 100%;
    float: none;
    padding: 1rem;
  }

  div#white-player-center div.song-meta-data span.song-name {
    font-size: 1rem;
  }

  div#white-player-center div.song-meta-data span.song-artist {
    font-size: 0.875rem;
  }

  div#white-player-center div.time-progress span.current-time,
  div#white-player-center div.time-progress span.duration {
    font-size: 0.75rem;
  }

  div#white-player-center div.time-progress span.current-time {
    margin-left: 0.5rem;
  }

  div#white-player-center div.time-progress span.duration {
    margin-right: 0.5rem;
  }

  div#white-player-center div.time-progress {
    margin-bottom: 1rem;
  }

  div#white-player-center div.time-progress div#progress-container {
    margin-left: 0.5rem;
    margin-right: 0.5rem;
    height: 20px;
  }

  div#white-player-center div.time-progress div#progress-container progress#song-played-progress,
  div#white-player-center div.time-progress div#progress-container progress#song-buffered-progress {
    top: 9px;
    height: 3px;
    border-radius: 3px;
  }

  div#white-player-center div.time-progress div#progress-container input[type="range"] {
    top: -2px;
    height: 20px;
  }

  div#white-player-center div.time-progress div#progress-container input[type="range"]::-webkit-slider-thumb {
    height: 15px;
    width: 15px;
    border-radius: 15px;
    margin-top: -7.5px;
  }

  div#white-player-center div.time-progress div#progress-container input[type="range"]::-moz-range-thumb {
    height: 15px;
    width: 15px;
    border-radius: 15px;
  }

  div#white-player-controls {
    padding-bottom: 1rem;
  }

  div#white-player-controls div#shuffle {
    width: 20px;
    height: 16px;
    margin-right: 30px;
  }

  div#white-player-controls div#previous {
    height: 32px;
    width: 32px;
    margin-right: 15px;
  }

  div#white-player-controls div#play-pause {
    width: 56px;
    height: 56px;
    margin-right: 15px;
  }

  div#white-player-controls div#next {
    height: 32px;
    width: 32px;
  }

  div#white-player-controls div#repeat {
    width: 24px;
    height: 24px;
    margin-left: 30px;
  }

  div#white-player .add-to-favorites {
    width: 24px;
  }

  div#white-player .tools {
    gap: 12px;
  }

  .share-button {
    width: 24px;
  }

  .share-option img {
    width: 32px;
    height: 32px;
  }

  .share-options {
    top: 30px;
    right: -100px;
    border-radius: 40px;
    padding: 5px 10px;
  }

  .share-option {
    width: 32px;
    height: 32px;
    margin: 0 3px;
  }

  .head_a {
    padding-left: 0;
  }

  .song-meta-data {
    padding-right: 0.5rem;
    margin-bottom: 0.5rem;
  }
}
.page-template-page-media_publications .card-cats__toggle{
  display: none !important;
}
.bottom-end span,
.bottom-end a{
  color: #850f25 !important
}
