  @import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
  @import url('https://fonts.googleapis.com/css2?family=Instrument+Sans:ital,wght@0,400..700;1,400..700&family=Noto+Sans:ital,wght@0,100..900;1,100..900&display=swap');
  @import url("https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,300..900;1,300..900&family=Noto+Sans:ital,wght@0,100..900;1,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");


  :root {
    --fgda-border: #000000;
    /* black outer border */
    --fgda-inner: #E7E7EE;
    /* inner box borders */
    --fgda-muted: #6B6E76;
    --fgda-text: #121117;
    --fgda-peach: #FF2500;
  }


  p {
    margin-bottom: 0 !important;
  }

  img {
    max-width: 100%;
  }

  .wrapper-course:has(.lat-group-profile-container) {
    padding: 48px 148px !important;
  }

  /* ====== Layout ====== */
  .lat-group-profile-container {
    display: grid;
    grid-template-columns: 1fr 400px;
    margin: 0 auto;
    gap: 92px;
    font-family: "Poppins", sans-serif;
    color: #121117;
  }

  .lat-group-profile-right-box {
    box-shadow:
      0px 9.38px 21.56px 0px #00000008,
      0px 39.38px 39.38px 0px #00000008,
      0px 88.13px 52.5px 0px #00000005,
      0px 156.56px 62.81px 0px #00000000,
      0px 244.69px 68.44px 0px #00000000;
  }

  .custom-main-grid {
    display: grid;
    grid-template-columns: 160px minmax(0, 1fr);
  }

  .gap-1 {
    gap: 4px;
  }

  .gap-2 {
    gap: 8px;
  }

  .gap-4 {
    gap: 16px;
  }

  .gap-3 {
    gap: 12px;
  }

  .custom-trial-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .lat-super-heading {
    font-size: 30px;
  }

  .lat-super-text {
    font-size: 24px;
  }

  .lat-prime-text {
    font-size: 18px;
  }

  .lat-primary-text {
    font-size: 16px;
  }

  .lat-secondary-text {
    font-size: 14px;
  }

  .lat-primary-color {
    color: #121117;
  }

  .whitespace-nowrap {
    white-space: nowrap;
  }

  .lat-dark-gray {
    color: #6B6E76;
  }


  .alabaster-background {
    background: #F5FBED;
  }

  .lat-muted-text {
    color: var(--fgda-muted);
  }

  .max-w-1144px {
    max-width: 1144px;
  }

  .position-relative {
    position: relative;
  }

  .position-absolute {
    position: absolute;
  }

  .find-groups-details-available-avatar-wrap {
    width: 160px;
    height: 160px;
  }

  .object-cover {
    object-fit: cover;
  }

  .w-100 {
    width: 100%
  }

  .h-100 {
    height: 100%;
  }

  .rounded {
    border-radius: 4px;
  }

  .find-groups-details-available-online-dot {
    bottom: 8px;
    right: 8px;
    width: 18px;
    height: 18px;
    background: #14C38E;
    border-radius: 4px;
    border: 2px solid #fff;
  }

  .min-w-0 {
    min-width: 0;
  }

  .lat-super-heading {
    font-size: 20px;
    font-weight: 600;
  }

  .ellipse-hidden {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .ring-black {
    --tw-ring-opacity: 1;
    --tw-ring-color: #000;
  }

  .ring-2 {
    box-shadow: 0 0 0 2px #000;
  }

  .ring-black {
    color: #000;
  }

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

  .find-groups-details-available-title {
    color: #121117;
  }

  /* video popup */
  .video-popup {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    z-index: 9999;
  }

  .video-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80vw;
    max-width: 900px;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 3%;
  }

  .video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 3%;
  }

  .video-close {
    position: absolute;
    top: 0px;
    right: 14px;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    z-index: 999;
  }

  /* video */

  .lat-group-about-section {
    margin-top: 32px;
  }

  /* default icon */
  .find-groups-details-available-avatar-img {
    object-fit: cover;
    border: 1px solid #1211170F;
    width: 100%;
    height: 100%;
    border-radius: 4px;
  }

  .lat-save-list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #111;
    cursor: pointer;
  }

  .lat-save-list svg path {
    fill: none;
    stroke: #000;
  }

  /* saved state */
  .lat-save-list.is-saved {
    color: #121117;
  }

  .lat-save-list.is-saved svg path {
    fill: currentColor;
    stroke: #111;
  }

  .lat-group-profile-left-box {
    flex: 1;
    line-height: 1.5;
    min-width: 653px;
  }

  .lat-group-profile-right-box {
    width: 400px;
    position: sticky;
    top: 20px;
    align-self: flex-start;
  }

  .lat-main-heading {
    font-weight: 600;
    font-size: 24px;
    color: #121117;
  }

  .lat-sub-headingg {
    font-weight: 300;
    font-size: 16px;
    color: #121117;
  }

  /* ====== Intro Section ====== */
  .lat-availability-card {
    border: 1px solid #0000001F;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0px 9.38px 21.56px 0px #00000008, 0px 88.13px 52.5px 0px #00000005, 0px 156.56px 62.81px 0px #00000000, 0px 244.69px 68.44px 0px #00000000;
    cursor: pointer;
  }

  .lat-availability-card:hover {
    border: 2px solid var(--fgda-border)
  }

  .lat-group-tags {
    font-size: 14px;
    line-height: 18px;
    padding: 2px 10px;
    border-radius: 4px;
    font-weight: 400;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    color: #121117
  }

  .lat-curve-box {
    border: 1px solid #DCDCE5;
    background: #fff;
    border-radius: 9px;
  }

  .lat-pager {
    width: 36px;
    height: 36px;
    border: 1.5px solid var(--fgda-inner);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    background: #fff;
  }

  .pointer {
    cursor: pointer;
  }

  .lat-day-active {
    background: var(--fgda-peach) !important;
    color: #fff !important;
  }

  .lat-day {
    background: white;
    color: #121117;
    width: 36px;
    height: 36px;
  }

  .lat-curve-box-practice-teacher,
  .lat-curve-box-schedule,
  .lat-curve-box-students,
  .lat-curve-box-main-teacher {
    padding: 11px !important;
  }

  /* ====== Reviews Section ====== */
  .lat-rating-box {
    display: flex;
    gap: 18px;
    margin-bottom: 40px;
  }

  .text-center {
    text-align: center;
  }

  .lat-prime-heading {
    font-size: 41px;
    font-family: "Noto Sans", sans-serif;
    color: #121117;
    font-weight: 500;
  }

  .fw-600 {
    font-weight: 600 !important;
  }

  .rounded-xl {
    border-radius: 0.75rem;
    /* ~12px */
  }

  .lat-short-heading {
    font-size: 20px;
    color: #000;
  }

  .lat-hero-text {
    font-size: 15px;
  }

  .lat-tiny-paragraph {
    font-size: 14px;
    color: #000;
  }

  .lat-mini-text {
    font-size: 12px;
  }

  .text-decoration-underline {
    text-decoration: underline;
  }

  .lat-review-bars {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
  }

  .lat-review-bars li {
    display: flex;
    align-items: center;
    margin-bottom: 2px;
  }

  .lat-review-bar-label {
    width: 16px;
    font-size: 0.85rem;
  }

  .lat-review-bar-bg {
    flex: 1;
    height: 8px;
    background: #eee;
    margin: 0 8px;
    position: relative;
    border: 2px solid #121117
  }

  .lat-review-bar-fill {
    height: 100%;
    background: #121117;
  }

  .lat-review-bar-heading {
    width: 32px;
    text-align: right;
    font-size: 14px
  }

  .lat-review-list-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    overflow: hidden;
    transition: max-height 0.3s;
  }

  .lat-review-list-grid.collapsed {
    max-height: 600px;
  }

  .lat-review-list-grid.expanded {
    max-height: none;
  }

  .lat-review-item-container {
    display: flex;
    gap: 16px;
  }

  .lat-review-item-avatar {
    width: 48px;
    height: 48px;
    border-radius: 7px;
    object-fit: cover;
  }

  .lat-review-item-meta {
    font-size: 0.9rem;
    color: #3c3c43;
  }

  .lat-review-header-box {
    display: flex;
    gap: 4px;
    flex-direction: column;
  }

  .lat-review-header-box strong {
    font-weight: 600;
  }

  .lat-review-header-box span {
    color: #6e6e73;
  }

  .lat-review-stars {
    color: #000 !important;
    font-size: 20px;
  }

  .lat-review-text {
    color: #3c3c43;
    line-height: 1.4;
    margin-top: 12px;
  }

  .lat-btn-hoverable:hover {
    background-color: #f2f4f7;
  }

  .lat-btn-hoverable {
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #DCDCE5;
    background: #fff;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    font-size: 14px;
    color: #000000;
    cursor: pointer;
    padding: 16px;
  }

  /* ====== Schedule ====== */

  .lat-primary-btn:hover {
    background: rgba(255, 88, 60, 1) !important;
  }

  .lat-primary-btn {
    width: 100%;
    height: 48px;
    font-weight: 600;
    border-radius: 10px;
    background: var(--fgda-peach) !important;
    color: #fff !important;
    border: 2px solid #000;
    font-family: "Poppins", sans-serif;
  }

  .lat-show-more-btn:hover,
  .lat-show-more-btn {
    color: #000;
  }

  .w-47 {
    width: 47px !important;
  }

  .h-70 {
    height: 70px !important;
  }

  .lat-border-w2 {
    border: 2px solid #DCDCE5;
  }

  /* ====== Right Card ====== */
  .lat-custom-margin {
    margin-top: 24px;
    margin-bottom: 8px;
  }

  .lat-sidebar-preview {
    background: #fff;
    border-radius: 19px;
    overflow: hidden;
    padding: 24px;
    width: 400px;
    border: 0.94px solid #0000001F;
  }

  .lat-sidebar-preview-media {
    position: relative;
  }

  .lat-sidebar-preview-img {
    width: 100%;
    display: block;
    height: auto;
  }

  .lat-sidebar-preview-play {
    position: absolute;
    right: 16px;
    top: 124px;
    width: 60px;
    height: 60px;
    background: var(--fgda-peach);
    border-radius: 50%;
    color: #fff;
    font-size: 24px;
    line-height: 48px;
    text-align: center;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .lat-sidebar-preview-stats {
    display: flex;
    justify-content: space-between;
    padding: 16px;
    border-bottom: 1px solid #DCDCE5;
    font-size: 0.95rem;
    color: #3c3c43;
  }

  .lat-sidebar-preview-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px 0;
  }

  .lat-general-btn {
    height: 48px;
    border-radius: 8px;
    font-size: 18px;
    cursor: pointer;
    font-weight: 600;
    border: 2px solid #121117 !important;
    background: none;
  }

  .lat-general-btn:hover {
    background: #f2f4f7;
  }

  .lat-sidebar-preview-footer {
    border-top: 1px solid #DCDCE5;
    padding: 16px;
    font-size: 0.9rem;
    color: #3c3c43;
  }

  /* Container */
  .lat-speciality-section {
    /* max-width: 800px; */
    margin: 40px 0;
    color: #121117
  }

  .lat-speciality-section-content,
  .lat-speciality-item {
    font-weight: 400;
    font-size: 16px;
    color: #121117
  }


  .lat-speciality-item .lat-special-btn {
    border: none;
    border-bottom: 1px solid #DCDCE5;
    height: 60px;
    border-radius: 0;
  }

  /* Rotate arrow when open */
  .lat-speciality-item.active .lat-speciality-section-arrow {
    transform: rotate(-180deg);
  }

  /* Hidden content */
  .lat-speciality-section-content {
    display: none;
    color: #3c3c43;
    line-height: 1.5;
    padding: 16px;
  }

  .lat-group-tagss {
    overflow-x: auto;
    scrollbar-width: none;
  }

  /* CSS */
  .lat-edit-button {
    width: 48px;
    height: 48px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s, border-color 0.2s;
  }

  .lat-edit-button:hover {
    background-color: #f2f4f7;
    border-color: #999;
  }

  .lat-edit-button i {
    font-size: 16px;
    color: #4a4a4a;
  }

  .group-schedule-calendar button {
    all: unset;
    height: 70px;
    width: 47px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  @media (min-width: 576px) {
    .custom-trial-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  @media (max-width: 1299px) {
    .wrapper-course:has(.lat-group-profile-container) {
      padding: 48px 60px !important;
    }

    .lat-group-profile-container {
      gap: 40px;
    }
  }

  @media (max-width: 992px) {
    .wrapper-course:has(.lat-group-profile-container) {
      padding: 12px 60px !important;
    }

    .lat-group-profile-container {
      grid-template-columns: 1fr;
    }

    .lat-group-profile-right-box {
      margin: auto auto;
    }

    .lat-group-profile-container {
      gap: 30px;
    }
  }

  @media (min-width: 993px) and (max-width: 1200px) {
    .lat-group-profile-left-box {
      min-width: 497px !important;
    }
  }

  @media(max-width: 768px) {

    .find-groups-details-available-info-grid.desktop,
    .find-groups-details-available-online-dot,
    #page.drawers>div:nth-child(2),
    .rui-topbar-wrapper.moodle-has-zindex {
      display: none !important;
    }

    #page-wrapper #page {
      padding: 0;
    }

    .wrapper-course:has(.lat-group-profile-container) {
      padding: 0px 16px !important;
    }

    .lat-group-profile-left-box {
      min-width: auto;
    }

    .lat-group-profile-container {
      display: block;
    }



    .lat-back-arrow-box {
      height: 40px;
      min-width: 40px;
      border: 1px solid var(--border);
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .lat-group-profile-container {
      display: flex;
      flex-direction: column;
      gap: 20px;
    }

    .custom-main-grid {
      grid-template-columns: 80px minmax(0, 1fr);
      gap: 16px;
    }

    .find-groups-details-available-avatar-wrap,
    .find-groups-details-available-avatar-img {
      width: 80px !important;
      height: 80px !important;
      border-radius: 4px;
      border: 1px solid #1211170F;
    }

    .lat-group-profile-right-box {
      position: static;
      border: none;
      box-shadow: none;
      padding: 0;
      order: -2;
      margin-left: -16px;
      width: calc(100% + 32px);
      border-radius: 0;
    }

    .lat-sidebar-preview {
      all: unset;
    }

    .lat-sidebar-preview-play {
      bottom: 16px;
      right: 16px;
      border: 2px solid #000000;
      top: auto;
    }

    .lat-sidebar-preview-media img {
      border-radius: 0 !important;
    }

    .lat-pager {
      width: 32px;
      height: 32px;
    }

    .find-groups-details-available-title {
      font-weight: 700;
      white-space: normal;
      padding-bottom: 12px !important;
      color: #121117;
    }

    .lat-info-slider p:first-child {
      font-size: 20px;
      font-weight: 700;
      color: #121117;
    }

    .lat-sub-text {
      font-size: 12px;
      font-weight: 400;
      color: #4D4C5C;
    }

    .lat-info-slider {
      overflow-x: auto;
      padding-block: 24px;
      border-block: 1px solid var(--border);
      scrollbar-width: none;
      max-width: calc(100vw - 32px);
      margin-top: 24px;
    }

    .lat-sub-info>div {
      display: flex;
      flex-direction: column;
      align-items: center;
      flex: 0 0 auto;
      text-align: center;
      margin-right: 9%;
    }

    .lat-teacher-speak-section,
    .lat-group-about-section {
      margin-top: 24px;
      border-bottom: 1px solid var(--border);
      padding-bottom: 24px;
    }

    .lat-group-about-section .lat-sub-heading {
      font-size: 14px;
      font-weight: 500;
      color: #121117;
    }

    .limit-four {
      display: -webkit-box;
      -webkit-line-clamp: 4;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }

    .mt-24 {
      margin-top: 24px;
    }

    .lat-btn-outline:hover {
      background: #f2f4f7;
    }

    .lat-btn-outline {
      border: 2px solid #1211171F;
      border-radius: 8px;
      height: 48px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: transparent;
      width: 100%;
      font-weight: 600;
      font-size: 16px;
      color: #121117;
    }

    .lat-teacher-speak-section h2,
    .lat-group-about-section h2 {
      margin-bottom: 12px !important;
      font-size: 20px;
      font-weight: 700;
    }

    .grid-header-section {
      margin-top: 24px !important;
      padding-bottom: 24px;
      border-bottom: 1px solid var(--border);
    }

    .find-groups-details-available-main-name .designation,
    .find-groups-details-available-main-name .designation-name {
      font-size: 13px !important;
    }

    .lat-teacher-speak-section .language {
      font-size: 14px;
      font-weight: 400;
      color: #121117;
    }

    .lat-teacher-speak-section .proficiency.C2 {
      background: #CCE2FF;
    }

    .lat-teacher-speak-section .proficiency.native {
      background: #D8F8F2;
    }

    .lat-teacher-speak-section .proficiency {
      font-size: 14px;
      font-weight: 500;
      color: #121117;
      padding: 3px 8px;
      border-radius: 4px;
    }

    .dark.btn-outline {
      border: 2px solid #121117;
    }

    .lat-see-schedule-section {
      padding-bottom: 24px;
      border-bottom: 1px solid var(--border);
    }

    .lat-review-list-grid {
      display: flex !important;
      grid-template-columns: repeat(2, 1fr);
      gap: 16px;
      overflow-x: scroll;
      overflow-y: hidden;
      /* transition: max-height 0.3s; */
      width: calc(100vw - 32px);
      scrollbar-width: none;
    }

    .lat-review-list-grid>div {
      flex: 0 0 301px;
      border-radius: 8px;
      border: 1px solid #DCDCE5;
      padding: 16px;
    }

    .lat-review-list-grid .lat-review-text {
      display: -webkit-box;
      -webkit-line-clamp: 4;
      -webkit-box-orient: vertical;
      overflow: hidden;
      margin-top: 8px;
    }

    .lat-review-list-grid .lat-edit-button {
      width: 30px;
      height: 30px;
    }

    .lat-review-header-box strong {
      font-size: 14px;
      font-weight: 500;
      color: #121117;
    }

    .lat-review-header-box .lat-secondary-text {
      font-size: 14px;
      font-weight: 400;
      color: var(--fgda-muted)
    }

    .lat-review-list-grid .lat-show-more-review {
      background: transparent;
      text-decoration: underline;
      font-size: 14px;
      color: #000;
      font-weight: 600;
      border: none;
      padding: 0;
      margin-top: 12px;
    }

    .lat-review-list-grid .lat-review-item-avatar {
      height: 40px;
      width: 40px;
    }

    .lat-review-item-container {
      gap: 12px;
    }

    .lat-show-more-btn {
      width: 100%;
      font-size: 16px;
      font-weight: 600;
      color: #121117;
      display: flex;
      justify-content: center;
      margin-top: 24px !important;
    }

    .lat-review-section {
      margin-top: 24px !important;
      padding-bottom: 24px !important;
    }

    .lat-qualification-section {
      padding-bottom: 24px;
      margin-left: -16px;
      padding-inline: 16px;
      width: 100vw;
      border-block: 1px solid var(--border);
    }

    .lat-subjects-teach,
    .lat-resume-heading {
      font-weight: 400 !important;
      font-size: 14px !important;
      color: #000 !important;
      height: 57px;
      cursor: pointer;
    }

    .lat-save-listing-btn.active path {
      fill: #121117;
    }

    .lat-trigger-actions {
      margin-left: -16px;
      width: calc(100vw);
      padding-inline: 16px;
      position: fixed;
      bottom: 0;
      height: 86px;
      display: flex;
      align-items: center;
      gap: 16px;
      border-top: 1px solid var(--border);
      background: var(--bg);
      z-index: 1050;
    }

  }