/* ==========================================================================
   Workshop Styles - Main Stylesheet
   ========================================================================== */

/* Layout & Container
   ========================================================================== */
.tab-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 0;
}

/* Tab Navigation Components
     ========================================================================== */
.tab-buttons {
  display: flex;
  gap: 0;
  margin-bottom: 20px;
  justify-content: center;
  border-bottom: none;
  -ms-overflow-style: none;
  scrollbar-width: none;
  font-family: 'sst-roman', sans-serif;
}

.tab-buttons::-webkit-scrollbar {
  display: none;
}

/*.tab-description {
  padding: 20px;
  font-size: 1.125rem;
}*/
.tab-description {
    padding-bottom: var(--spacing-lg);
    font-size: 1.125rem;
}
.tab-info {
  text-align: center;
}

/* Tab Button Styles
     ========================================================================== */
.tab-btn {
  padding: 15px 30px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 1.5rem;
  transition: all 0.3s ease;
  position: relative;
  text-decoration: none !important;
  color: black;
  font-family: 'sst-roman';
  letter-spacing: 1px;
}

.tab-btn::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #e0e0e0;
  transition: background-color 0.3s ease;
}

.tab-btn.active::after {
  background-color: #FF6B00;
}

/* Tab Content Area
     ========================================================================== */
.tab-content {
  position: relative;
}

.tab-panel {
  display: none;
  padding: 20px;
  background: #fff;
  animation: fadeIn 0.5s ease;
}

.tab-panel.active {
  display: block;
}

/* Course Grid Layout
     ========================================================================== */
.course-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  padding: 0;
  max-width: 1200px;
  margin: 0 auto;
}

/* Course Card Components
     ========================================================================== */
.course-card {
  text-decoration: none;
  color: inherit;
  background: white;
  overflow: hidden;
  transition: transform 0.2s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.image-container {
  position: relative;
  aspect-ratio: 1/1;
  overflow: hidden;
}

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

/* Course Information Styles
     ========================================================================== */
.course-info {
  padding: 16px;
}

.course-info h3 {
  margin: 0 0 12px 0;
  font-size: 1.125rem;
  font-weight: 600;
  color: #333;
  line-height: 1.4;
  font-family: 'sst-medium', sans-serif;
}

.course-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 1rem;
  color: #666;
  font-family: 'sst-light';
}

.date {
  color: #888;
}

/* Banner/Carousel Section
     ========================================================================== */
.carousel-section {
  width: 100%;
  position: relative;
  overflow: hidden;
}

.carousel-container {
  width: 100%;
  position: relative;
}

/* Workshop Content Area
     ========================================================================== */
.workshops-content {
  position: absolute;
  top: 25%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  width: 80%;
  max-width: 800px;
  padding: 20px;
}

.workshops-content h2 {
  font-size: 2rem;
  margin-bottom: clamp(0.5rem, 2vw, 1rem);
  letter-spacing: 1px;
  font-family: 'sst-roman';
  font-weight: normal;
}

.workshops-content p {
  font-size: 1.125rem;
  max-width: 800px;
  margin: 0 auto;
}

.workshop-counter {
  margin: 1rem 0;
  color: #666;
  font-size: 1.125rem;
  font-weight: 500;
  text-align: center;
  font-family: 'sst-roman', sans-serif;
}

.no-results {
  text-align: center;
  grid-column-start: 2;
}

/* Filter Components
     ========================================================================== */
.tab-filter {
  position: relative;
  display: inline-block;
  padding-bottom: 20px;
}

.filter-button {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid black;
  border-radius: 5px;
  cursor: pointer;
  font-size: 0.875rem;
  color: #333;
  transition: all 0.2s ease;
}

.filter-button:hover {
  background: #f0f0f0;
}

.filter-text {
  font-size: 1rem;
  font-weight: 500;
  font-family: 'sst-roman', sans-serif;
  margin-right: 4px;
}

.filter-icon {
  width: 20px;
  height: 20px;
}

/* Filter Dropdown Menu
     ========================================================================== */
.filter-dropdown {
  position: absolute;
  top: calc(100% - 10px);
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  padding: 16px;
  z-index: 1000;
}

.filter-section {
  margin-bottom: 20px;
  text-align: left;
}

.filter-section:last-child {
  margin-bottom: 0;
}

.filter-section h3 {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: #333;
}

.filter-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.filter-option {
  padding: 8px 16px;
  border-radius: 5px;
  border: 1px solid #000;
  background: white;
  color: black;
  font-size: 0.875rem;
  width: 100%;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-option:hover {
  background: #f8f8f8;
}

.filter-option.active {
  background: #000;
  color: white;
  border-color: #000;
}

.filter-button {
  padding: 8px 16px;
  border: 1px solid black;
  border-radius: 5px;
  background: white;
  color: black;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.filter-button:hover {
  background: #f8f8f8;
}

.filter-button[aria-expanded="true"] {
  background: #f8f8f8;
}



.filter-text {
  font-family: 'sst-roman', sans-serif;
  margin-right: 4px;
}

.filter-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  color: black;
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0 6px;
  font-family: 'sst-roman';
}

.filter-dropdown[hidden] {
  display: none;
}

.filter-dropdown:not([hidden]) {
  animation: slideDown 0.2s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translate(-50%, -10px);
  }

  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

@media (max-width: 768px) {
  .filter-dropdown {
    position: absolute;
    top: calc(100% - 10px);
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    padding: 16px;
    z-index: 1000;
  }

  .filter-section {
    margin-bottom: 1rem;
  }

  .filter-section h3 {
    font-size: 1rem;
    margin-bottom: 1rem;
  }

  .filter-options {
    gap: 12px;
  }

  .filter-option {
    padding: 12px 16px;
    font-size: 0.875rem;
    text-align: center;
  }

  .filter-button {
    padding: 8px 16px;
    font-size: 1rem;
    justify-content: center;
  }

  .filter-count {
    font-size: 1rem;
  }

}

@media (max-width: 768px) {
  .filter-options {
    flex-wrap: wrap;
  }

  .filter-option {
    flex: 1;
    text-align: center;
    min-width: 120px;
  }
}

@media (max-width: 768px) {


  .load-more-container {
    margin: 1.5rem 0;
    gap: 0.75rem;
  }

  .item-count {
    font-size: 0.75rem;
  }

  .load-more-button {
    padding: 10px 20px;
    font-size: 0.875rem;
  }
}

/* Mentor Grid Styles
     ========================================================================== */
.mentors-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  padding: 1rem;
  padding-top: 0;
}

.mentor-card {
  background: #fff;
  overflow: hidden;
  transition: transform 0.3s ease;
  display: flex;
  align-items: stretch;
}

.mentor-card:hover {
  transform: translateY(-5px);
}

.mentor-image {
  width: 300px;
  height: 100%;
  object-fit: cover;
  flex-shrink: 0;
}

.mentor-info {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mentor-info h3 {
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
  color: black;
}

.mentor-info .genre {
  color: black;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.mentor-info p {
  color: black;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.read-more {
  color: black;
  cursor: pointer;
  font-weight: 500;
  text-decoration: none;
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.read-more:hover {
  text-decoration: underline;
}

.read-more-arrow {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

/* Responsive Design */
@media (max-width: 768px) {
  .mentors-grid {
    grid-template-columns: repeat(1, 1fr);
    padding: 0;
  }

  .mentor-card {
    flex-direction: column;
  }

  .mentor-image {
    width: 100%;
    height: 100vw;
  }

  .mentor-info p {
    font-size: 0.875rem;
  }

  .modal-body {
    grid-template-columns: 1fr;
  }

  .modal-content {
    margin: 0;
    width: 100%;
    height: 100%;
    max-height: 100vh;
    border-radius: 0;
  }
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1000;
}

.modal-content {
  position: relative;
  background: #fff;
  width: 100%;
  height: 100vh;
  overflow-y: auto;
}

.close-modal {
  position: fixed;
  right: 20px;
  top: 20px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  color: black;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1001;
  background: none;
  border: none;
  padding: 0;
  line-height: 1;
}

.modal-body {
  padding: 4rem 2rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.modal-image {
  width: 50%;
  margin: auto;
}

.modal-image img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.modal-info {
  max-width: 800px;
  margin: 0 auto;
}

.modal-info h3 {
  margin: 0 0 1rem;
  font-size: 1.75rem;
  color: black;
}

.modal-info #modalGenre {
  color: black;
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

.modal-info #modalDescription {
  color: black;
  line-height: 1.6;
}

.modal-info #modalDescription p {
  margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
  .modal-body {
    padding: 4rem 1rem 1rem;
  }

  .modal-image {
    width: 100%;
  }
}

/* Load More Button
     ========================================================================== */
.load-more-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin: 2rem 0;
}

.item-count {
  font-size: 0.875rem;
  color: black;
}

.load-more-button {
  margin: 2rem auto;
  padding: 0.75rem 1.5rem;
  background-color: transparent;
  color: black;
  border: 1px solid black;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1.125rem;
  transition: background-color 0.2s ease;
  font-family: 'sst-roman', sans-serif;
}

.load-more-button:hover {
  background: black;
  color: white;
}

/* Filter Section Styles
     ========================================================================== */
.filter-section {
  margin-bottom: 20px;
  text-align: left;
}

.filter-section:last-child {
  margin-bottom: 0;
}

.filter-section h3 {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: #333;
}

/* Button Groups
     ========================================================================== */
.button-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}




/* Filter Counter
     ========================================================================== */


/* User Interface Elements
     ========================================================================== */


.load-more-btn {
  display: block;
  margin: 2rem auto;
  padding: 0.75rem 1.5rem;
  background-color: transparent;
  color: black;
  border: 1px solid black;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1.125rem;
  transition: background-color 0.2s ease;
  font-family: 'sst-roman', sans-serif;
}

.load-more-btn:hover {
  background-color: black;
  color: white;
}

/* Utility Classes
     ========================================================================== */


.font-bold {
  font-weight: bold;
}

/* Animations
     ========================================================================== */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translate(-50%, -8px);
  }

  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

.br-mobile {
  display: none;
}

/* Responsive Styles
     ========================================================================== */
@media screen and (max-width: 768px) {
  .load-more-button {
    font-size: 0.875rem;
  }

  .br-mobile {
    display: block;
  }

  .workshops-content h2 {
    font-size: 1.5rem;
    font-weight: normal;
  }

  .workshops-content p {
    font-size: 0.875rem;
    max-width: 100%;
    max-height: 100px;
  }

  .level-badge {
    font-size: 0.875rem;
  }

  .tab-btn {
    width: 100%;
    text-align: center;
    padding: 6px 18px;
    font-size: 1.25rem;
  }

  .tab-description {
    font-size: 0.875rem;
  }

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

  .course-info h3 {
    font-size: 0.875rem;
  }

  .course-meta {
    font-size: 13px;
  }

  .tab-buttons {
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 5px;
    padding-left: 20px;
    padding-right: 20px;
    margin-bottom: 0px;
  }

  .tab-content::-webkit-scrollbar {
    display: none;
  }

  .tab-content {
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .workshop-counter,
  .load-more-btn {
    font-size: 0.875rem;
  }
    .instructor-filter-wrapper {
        display: inline-flex;
        align-items: center;
        border: 1px solid black;
        border-radius: 5px;
        background-color: var(--background-white);
        max-width: calc(100% - 20px);
        margin: 0 auto var(--spacing-md);
        padding: 4px;
    }

        .instructor-filter-wrapper::-webkit-scrollbar {
            display: none;
        }

    /*  .course-filter-bar {
    display: inline-flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    border: 1px solid black;
    border-radius: 5px;
    padding: 8px 16px;
    margin: 0 20px var(--spacing-md);
  }*/
/*    .instructor-filter-bar {
        display: inline-flex;
        flex-wrap: nowrap;
        justify-content: flex-start;
        border: none;
        padding: 4px;
        margin: 0;
        overflow-x: auto;
        scroll-behavior: smooth;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

        .instructor-filter-bar::-webkit-scrollbar {
            display: none;
        }

    .instructor-filter-item {
        flex-shrink: 0;
        white-space: nowrap;
    }*/
}

/* Small Screen Adjustments
     ========================================================================== */
@media screen and (max-width: 320px) {
  .filter-dropdown {
    width: 280px;
  }

  .date-input {
    font-size: 0.75rem;
    width: 120px;
  }
}



.instructor-link {
  text-decoration: none;
}

.instructor-name {
  margin: 0px 0px 2px 0px !important;
}

.instructor-title {
  color: #FF6B00 !important;
  font-size: 0.875rem;
  line-height: 1.3 !important;
}

.instructor-short-desc {
  max-height: 260px;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.instructor-courses {
  font-size: 0.875rem;
}

.instructor-outer-link {
  text-decoration: none;
}
/* Filter Components
     ========================================================================== */
/*.instructor-filter-wrapper {
    overflow-x: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
    width: 100%;
    display: block;
    padding-bottom: 5px;*/ /* small padding for any box shadows */
/*}

    .instructor-filter-wrapper::-webkit-scrollbar {
        display: none;
    }

.instructor-filter-bar {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    padding: 8px 16px;
    border: 1px solid black;
    border-radius: 5px;
    background-color: var(--background-white);
    margin-bottom: 20px;
    justify-content: center;
}
.filter-nav-btn {
    background: transparent;
    border: none;
    color: var(--primary-color);
    font-size: 1.1rem;
    padding: 8px 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 4px;
    transition: all 0.2s ease;
    z-index: 2;
}

    .filter-nav-btn:hover {
        background-color: #f0f0f0;
        color: #FF6B00;
    }

    .filter-nav-btn:active {
        transform: scale(0.95);
    }
.instructor-filter-item {
    background: transparent;
    border: 1px solid transparent;
    color: var(--secondary-color);
    font-family: 'sst-medium', sans-serif;
    font-size: 0.95rem;
    padding: 8px 16px;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

    .instructor-filter-item:hover {
        color: var(--primary-color);
        background: #f8f8f8;
    }

    .instructor-filter-item.active {
        color: #FF6B00;
        border: 1px solid #f0f0f0;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
    }

@media (min-width: 769px) {
    .instructor-filter-bar {
        flex-wrap: nowrap;
        overflow-x: auto;
        max-width: 100%;
        justify-content: flex-start;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

        .instructor-filter-bar::-webkit-scrollbar {
            display: none;
        }

    .instructor-filter-item {
        flex-shrink: 0;
        white-space: nowrap;
        line-height: 1.4;
    }
}

.filter-icon {
    width: 20px;
    height: 20px;
}

@media (max-width: 768px) {


    .load-more-container {
        margin: 1.5rem 0;
        gap: 0.75rem;
    }

    .item-count {
        font-size: 0.75rem;
    }

    .load-more-button {
        padding: 10px 20px;
        font-size: 0.875rem;
    }
}*/


/* Filter Components
     ========================================================================== */
/*.instructor-filter-wrapper {
    display: inline-flex;
    align-items: center;
    position: relative;
    border: 1px solid black;
    border-radius: 5px;
    background-color: var(--background-white);
    margin-bottom: var(--spacing-lg);
    max-width: 100%;
    padding: 4px;
}*/
.instructor-filter-wrapper {
    display: flex;
    align-items: center;
    width: fit-content;
    max-width: calc(100% - 40px);
    margin: 0 auto 20px;
    padding: 4px;
    border: 1px solid #000;
    border-radius: 5px;
    background: #fff;
    box-sizing: border-box;
}

.instructor-filter-bar {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 4px;
    max-width: 100%;
    overflow-x: auto;
    padding: 4px 8px;
    margin: 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

    .instructor-filter-bar::-webkit-scrollbar {
        display: none;
    }

.instructor-filter-item {
    flex: 0 0 auto;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border: 1px solid transparent;
    border-radius: 6px;
    background: transparent;
    color: var(--secondary-color);
    font-family: 'sst-medium', sans-serif;
    font-size: 0.95rem;
    cursor: pointer;
}

.filter-nav-btn {
    flex: 0 0 auto;
    padding: 8px 12px;
    border: none;
    background: transparent;
}




    .filter-nav-btn:hover {
        background-color: #f0f0f0;
        color: #FF6B00;
    }

    .filter-nav-btn:active {
        transform: scale(0.95);
    }
    .instructor-filter-item:hover {
        color: var(--primary-color);
        background: #f8f8f8;
    }

    .instructor-filter-item.active {
        color: #FF6B00;
        border: 1px solid #f0f0f0;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
    }

@media (min-width: 769px) {
 

        .instructor-filter-bar::-webkit-scrollbar {
            display: none;
        }


    .instructor-filter-wrapper {
        width: calc(100% - 40px);
        max-width: none;
        margin: 0 20px 20px;
    }

    .instructor-filter-bar {
        flex: 1;
        min-width: 0;
        overflow-x: auto;
        justify-content: flex-start;
    }

    .instructor-filter-item {
        flex: 0 0 auto;
        white-space: nowrap;
        font-size: 0.875rem;
        padding: 8px 12px;
    }

    .filter-nav-btn {
        padding: 8px;
    }

}

.tab-filter {
    position: relative;
    display: inline-block;
    padding-bottom: 20px;
}

.filter-button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #f8f8f8;
    border: 1px solid black;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.875rem;
    color: #333;
    transition: all 0.2s ease;
}

    .filter-button:hover {
        background: #f0f0f0;
    }

.filter-text {
    font-size: 1rem;
    font-weight: 500;
    font-family: 'sst-roman', sans-serif;
}

.filter-icon {
    width: 20px;
    height: 20px;
}
/* Filter Options
     ========================================================================== */
.filter-option {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    cursor: pointer;
    font-size: 0.875rem;
    color: #666;
}

    .filter-option:last-child {
        margin-bottom: 0;
    }

    .filter-option input[type="checkbox"] {
        width: 16px;
        height: 16px;
        border-radius: 4px;
        border: 2px solid #ddd;
        cursor: pointer;
    }

    .filter-option span {
        user-select: none;
    }

.filter-dropdown[hidden] {
    display: none;
}

.filter-dropdown:not([hidden]) {
    animation: slideDown 0.2s ease;
}

/* Filter Section Styles
     ========================================================================== */
.filter-section {
    margin-bottom: 20px;
    text-align: left;
}

    .filter-section:last-child {
        margin-bottom: 0;
    }

    .filter-section h3 {
        font-size: 0.875rem;
        font-weight: 600;
        margin-bottom: 12px;
        margin-top: 12px;
        color: #333;
    }

/* Button Groups
     ========================================================================== */
.button-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-btn {
    padding: 8px 10px;
    border-radius: 5px;
    border: 1px solid #000;
    background: white;
    color: black;
    font-size: 0.875rem;
    width: 48%;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .filter-btn:hover {
        background: #f8f8f8;
    }

    .filter-btn.active {
        background: #000;
        color: white;
        border-color: #000;
    }

