@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

    #lyceum-home {
      --ly-primary: #2BAA83;
      --ly-primary-dark: #218E76;
      --ly-deep: #0B4E53;
      --ly-deeper: #063743;
      --ly-mint: #EAF8F3;
      --ly-soft: #F4FBF8;
      --ly-text: #12363D;
      --ly-muted: #60777B;
      --ly-border: #DCECE7;
      --ly-white: #FFFFFF;
      --ly-gold: #F5B942;
      --ly-shadow: 0 18px 50px rgba(6,55,67,.10);
      --ly-shadow-sm: 0 8px 24px rgba(6,55,67,.08);
      font-family: Inter, Arial, sans-serif;
      color: var(--ly-text);
      background: #fff;
      overflow: visible;
    }

    #lyceum-home * { box-sizing: border-box; }
    #lyceum-home a { color: inherit; text-decoration: none; }
    #lyceum-home img { max-width: 100%; display: block; }
    #lyceum-home button, #lyceum-home input { font: inherit; }

    #lyceum-home .ly-container {
      width: min(1180px, calc(100% - 40px));
      margin-inline: auto;
    }

    #lyceum-home .ly-topbar {
      background: var(--ly-deeper);
      color: #fff;
      font-size: 13px;
    }

    #lyceum-home .ly-topbar-inner {
      min-height: 38px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 18px;
    }

    #lyceum-home .ly-topbar-links {
      display: flex;
      gap: 18px;
      opacity: .94;
    }

    #lyceum-home .ly-header {
      position: relative;
      z-index: 30;
      background: rgba(255,255,255,.96);
      backdrop-filter: blur(14px);
      border-bottom: 1px solid rgba(220,236,231,.9);
    }

    #lyceum-home .ly-nav {
      min-height: 76px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 28px;
    }

    #lyceum-home .ly-brand {
      display: inline-flex;
      align-items: center;
      gap: 11px;
      min-width: 180px;
    }

    #lyceum-home .ly-brand img {
      width: 44px;
      height: 44px;
      object-fit: contain;
    }

    #lyceum-home .ly-brand-name {
      font-family: Manrope, sans-serif;
      font-size: 25px;
      font-weight: 800;
      letter-spacing: .03em;
      color: var(--ly-deep);
    }

    #lyceum-home .ly-menu {
      display: flex;
      align-items: center;
      gap: 26px;
      font-size: 14px;
      font-weight: 600;
    }

    #lyceum-home .ly-menu a:hover { color: var(--ly-primary-dark); }

    #lyceum-home .ly-actions {
      display: flex;
      align-items: center;
      gap: 11px;
    }

    #lyceum-home .ly-btn {
      min-height: 46px;
      padding: 0 21px;
      border-radius: 11px;
      border: 1px solid transparent;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 9px;
      font-weight: 700;
      cursor: pointer;
      transition: .22s ease;
    }

    #lyceum-home .ly-btn:hover {
      transform: translateY(-2px);
      box-shadow: var(--ly-shadow-sm);
    }

    #lyceum-home .ly-btn-primary {
      background: linear-gradient(135deg, var(--ly-primary), var(--ly-primary-dark));
      color: #fff;
    }

    #lyceum-home .ly-btn-dark {
      background: var(--ly-deep);
      color: #fff;
    }

    #lyceum-home .ly-btn-outline {
      border-color: #BFDCD3;
      background: #fff;
      color: var(--ly-deep);
    }

    #lyceum-home .ly-mobile-toggle {
      display: none;
      border: 0;
      background: transparent;
      color: var(--ly-deep);
      width: 42px;
      height: 42px;
      border-radius: 10px;
      cursor: pointer;
    }

    #lyceum-home .ly-hero {
      position: relative;
      padding: 76px 0 64px;
      background:
        radial-gradient(circle at 82% 18%, rgba(43,170,131,.17), transparent 27%),
        linear-gradient(180deg, #fff 0%, #F8FCFA 100%);
    }

    #lyceum-home .ly-hero-grid {
      display: grid;
      grid-template-columns: 1.02fr .98fr;
      align-items: center;
      gap: 54px;
    }

    #lyceum-home .ly-eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 8px 12px;
      border-radius: 999px;
      background: var(--ly-mint);
      color: var(--ly-primary-dark);
      font-weight: 700;
      font-size: 12px;
      letter-spacing: .02em;
      margin-bottom: 18px;
    }

    #lyceum-home h1,
    #lyceum-home h2,
    #lyceum-home h3 {
      font-family: Manrope, sans-serif;
      margin: 0;
      color: var(--ly-deeper);
    }

    #lyceum-home h1 {
      font-size: clamp(42px, 5vw, 67px);
      line-height: 1.03;
      letter-spacing: -.045em;
      max-width: 680px;
    }

    #lyceum-home .ly-gradient-text {
      background: linear-gradient(135deg, var(--ly-primary-dark), var(--ly-deep));
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
    }

    #lyceum-home .ly-hero-copy > p {
      margin: 22px 0 27px;
      font-size: 18px;
      line-height: 1.75;
      color: var(--ly-muted);
      max-width: 650px;
    }

    #lyceum-home .ly-search {
      display: grid;
      grid-template-columns: 1fr auto;
      background: #fff;
      border: 1px solid var(--ly-border);
      border-radius: 14px;
      padding: 7px;
      box-shadow: var(--ly-shadow-sm);
      max-width: 650px;
    }

    #lyceum-home .ly-search label {
      display: flex;
      align-items: center;
      gap: 11px;
      padding: 0 13px;
    }

    #lyceum-home .ly-search input {
      width: 100%;
      min-height: 48px;
      border: 0;
      outline: 0;
      color: var(--ly-text);
      background: transparent;
    }

    #lyceum-home .ly-sub-actions {
      display: flex;
      gap: 12px;
      margin-top: 13px;
      flex-wrap: wrap;
    }

    #lyceum-home .ly-trust-row {
      display: flex;
      flex-wrap: wrap;
      gap: 22px;
      margin-top: 29px;
    }

    #lyceum-home .ly-trust-item {
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 13px;
      color: var(--ly-muted);
    }

    #lyceum-home .ly-icon-disc {
      width: 38px;
      height: 38px;
      border-radius: 11px;
      display: grid;
      place-items: center;
      background: var(--ly-mint);
      color: var(--ly-primary-dark);
      flex: 0 0 auto;
    }

    #lyceum-home .ly-hero-visual {
      position: relative;
      min-height: 535px;
    }

    #lyceum-home .ly-hero-shape {
      position: absolute;
      inset: 4% 2% 2% 9%;
      border-radius: 48% 52% 42% 58% / 53% 38% 62% 47%;
      background: linear-gradient(145deg, rgba(43,170,131,.22), rgba(11,78,83,.08));
    }

    #lyceum-home .ly-hero-photo {
      position: absolute;
      inset: 7% 5% 3% 0;
      width: 92%;
      height: 88%;
      object-fit: cover;
      border-radius: 32px;
      box-shadow: var(--ly-shadow);
    }

    #lyceum-home .ly-floating-card {
      position: absolute;
      background: rgba(255,255,255,.96);
      border: 1px solid rgba(220,236,231,.95);
      border-radius: 16px;
      box-shadow: var(--ly-shadow-sm);
      padding: 14px;
      z-index: 3;
    }

    #lyceum-home .ly-floating-card.one { top: 4%; right: 0; width: 205px; }
    #lyceum-home .ly-floating-card.two { bottom: 5%; right: 2%; width: 220px; }

    #lyceum-home .ly-mini-person {
      display: grid;
      grid-template-columns: 44px 1fr;
      gap: 10px;
      align-items: center;
    }

    #lyceum-home .ly-mini-person img {
      width: 44px;
      height: 44px;
      border-radius: 50%;
      object-fit: cover;
    }

    #lyceum-home .ly-mini-person strong { display:block; font-size: 13px; }
    #lyceum-home .ly-mini-person span { color: var(--ly-muted); font-size: 11px; }
    #lyceum-home .ly-rating { color: var(--ly-gold); font-size: 12px; margin-top: 5px; }

    #lyceum-home .ly-section {
      padding: 84px 0;
    }

    #lyceum-home .ly-section-soft { background: var(--ly-soft); }
    #lyceum-home .ly-section-mint { background: linear-gradient(180deg, #F4FBF8, #EAF8F3); }

    #lyceum-home .ly-section-head {
      text-align: center;
      max-width: 760px;
      margin: 0 auto 42px;
    }

    #lyceum-home .ly-section-head h2 {
      font-size: clamp(31px, 3.8vw, 48px);
      line-height: 1.12;
      letter-spacing: -.035em;
    }

    #lyceum-home .ly-section-head p {
      margin: 14px 0 0;
      color: var(--ly-muted);
      font-size: 17px;
      line-height: 1.7;
    }

    #lyceum-home .ly-subjects {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 18px;
    }

    #lyceum-home .ly-subject-card {
      background: #fff;
      border: 1px solid var(--ly-border);
      border-radius: 17px;
      padding: 24px;
      min-height: 205px;
      transition: .22s ease;
    }

    #lyceum-home .ly-subject-card:hover {
      transform: translateY(-5px);
      box-shadow: var(--ly-shadow-sm);
      border-color: #BBDDD3;
    }

    #lyceum-home .ly-subject-card h3 {
      font-size: 17px;
      margin: 18px 0 8px;
    }

    #lyceum-home .ly-subject-card p {
      margin: 0;
      color: var(--ly-muted);
      font-size: 13px;
      line-height: 1.65;
    }

    #lyceum-home .ly-center-cta {
      text-align: center;
      margin-top: 31px;
    }

    #lyceum-home .ly-steps {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 22px;
    }

    #lyceum-home .ly-step {
      position: relative;
      background: #fff;
      border: 1px solid var(--ly-border);
      border-radius: 18px;
      padding: 29px;
      box-shadow: 0 10px 35px rgba(6,55,67,.05);
    }

    #lyceum-home .ly-step-no {
      width: 47px;
      height: 47px;
      border-radius: 50%;
      display: grid;
      place-items: center;
      background: var(--ly-deep);
      color: #fff;
      font-family: Manrope, sans-serif;
      font-weight: 800;
      margin-bottom: 22px;
    }

    #lyceum-home .ly-step h3 { font-size: 19px; margin-bottom: 10px; }
    #lyceum-home .ly-step p { margin: 0; color: var(--ly-muted); line-height: 1.65; }

    #lyceum-home .ly-benefits {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
    }

    #lyceum-home .ly-benefit {
      display: flex;
      gap: 15px;
      padding: 24px;
      border-radius: 16px;
      background: rgba(255,255,255,.75);
      border: 1px solid rgba(220,236,231,.85);
    }

    #lyceum-home .ly-benefit h3 { font-size: 16px; margin-bottom: 7px; }
    #lyceum-home .ly-benefit p { margin: 0; color: var(--ly-muted); font-size: 13px; line-height: 1.6; }

    #lyceum-home .ly-tutors {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 20px;
    }

    #lyceum-home .ly-tutor {
      background: #fff;
      border: 1px solid var(--ly-border);
      border-radius: 18px;
      overflow: hidden;
      box-shadow: 0 8px 28px rgba(6,55,67,.06);
    }

    #lyceum-home .ly-tutor-photo {
      height: 220px;
      width: 100%;
      object-fit: cover;
    }

    #lyceum-home .ly-tutor-body { padding: 19px; }
    #lyceum-home .ly-tutor-title { font-size: 17px; margin-bottom: 4px; }
    #lyceum-home .ly-tutor-role { color: var(--ly-primary-dark); font-size: 13px; font-weight: 700; }
    #lyceum-home .ly-tutor-meta { color: var(--ly-muted); font-size: 12px; margin: 11px 0; line-height: 1.55; }
    #lyceum-home .ly-price { font-weight: 800; color: var(--ly-deep); margin: 12px 0 15px; }
    #lyceum-home .ly-availability { color: #17845e; font-size: 12px; margin-bottom: 15px; }

    #lyceum-home .ly-card-actions {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 8px;
    }

    #lyceum-home .ly-card-actions .ly-btn {
      min-height: 39px;
      padding: 0 10px;
      font-size: 12px;
      border-radius: 9px;
    }

    #lyceum-home .ly-paths {
      display: grid;
      grid-template-columns: repeat(5, 1fr);
      gap: 15px;
    }

    #lyceum-home .ly-path {
      padding: 24px 17px;
      text-align: center;
      border-radius: 16px;
      background: #fff;
      border: 1px solid var(--ly-border);
    }

    #lyceum-home .ly-path h3 { font-size: 15px; margin: 13px 0 7px; }
    #lyceum-home .ly-path p { margin: 0; color: var(--ly-muted); font-size: 12px; line-height: 1.5; }

    #lyceum-home .ly-reviews {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
    }

    #lyceum-home .ly-review {
      background: #fff;
      border: 1px solid var(--ly-border);
      border-radius: 18px;
      padding: 26px;
      box-shadow: 0 8px 28px rgba(6,55,67,.05);
    }

    #lyceum-home .ly-review blockquote {
      margin: 16px 0 22px;
      color: var(--ly-text);
      line-height: 1.75;
      font-size: 15px;
    }

    #lyceum-home .ly-review-person {
      display: flex;
      align-items: center;
      gap: 11px;
    }

    #lyceum-home .ly-review-person img {
      width: 46px;
      height: 46px;
      border-radius: 50%;
      object-fit: cover;
    }

    #lyceum-home .ly-review-person strong { display:block; font-size: 14px; }
    #lyceum-home .ly-review-person span { color: var(--ly-muted); font-size: 12px; }

    #lyceum-home .ly-tutor-cta {
      display: grid;
      grid-template-columns: 1.05fr .95fr;
      overflow: hidden;
      border-radius: 26px;
      background: linear-gradient(135deg, var(--ly-deeper), var(--ly-deep));
      color: #fff;
      box-shadow: var(--ly-shadow);
    }

    #lyceum-home .ly-tutor-cta-copy {
      padding: 56px;
    }

    #lyceum-home .ly-tutor-cta h2 {
      color: #fff;
      font-size: clamp(32px, 4vw, 50px);
      line-height: 1.12;
      letter-spacing: -.035em;
    }

    #lyceum-home .ly-tutor-cta p {
      color: rgba(255,255,255,.78);
      line-height: 1.75;
      font-size: 16px;
      margin: 18px 0 26px;
    }

    #lyceum-home .ly-tutor-cta-image {
      min-height: 410px;
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    #lyceum-home .ly-faqs {
      max-width: 920px;
      margin: 0 auto;
      display: grid;
      gap: 12px;
    }

    #lyceum-home .ly-faq {
      background: #fff;
      border: 1px solid var(--ly-border);
      border-radius: 14px;
      overflow: hidden;
    }

    #lyceum-home .ly-faq button {
      width: 100%;
      border: 0;
      background: transparent;
      color: var(--ly-deep);
      padding: 19px 21px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 18px;
      text-align: left;
      font-weight: 700;
      cursor: pointer;
    }

    #lyceum-home .ly-faq-answer {
      display: none;
      padding: 0 21px 20px;
      color: var(--ly-muted);
      line-height: 1.7;
    }

    #lyceum-home .ly-faq.open .ly-faq-answer { display: block; }
    #lyceum-home .ly-faq.open .ly-plus { transform: rotate(45deg); }
    #lyceum-home .ly-plus { transition: .2s ease; font-size: 24px; }

    #lyceum-home .ly-final-cta {
      padding: 44px;
      border-radius: 22px;
      background: linear-gradient(135deg, var(--ly-mint), #F8FCFA);
      border: 1px solid var(--ly-border);
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 28px;
    }

    #lyceum-home .ly-final-cta h2 { font-size: clamp(27px, 3vw, 40px); }
    #lyceum-home .ly-final-cta p { color: var(--ly-muted); margin: 8px 0 0; }
    #lyceum-home .ly-final-actions { display:flex; gap: 11px; flex-wrap: wrap; }

    #lyceum-home .ly-footer {
      background: var(--ly-deeper);
      color: rgba(255,255,255,.88);
      padding: 68px 0 24px;
    }

    #lyceum-home .ly-footer-grid {
      display: grid;
      grid-template-columns: 1.25fr repeat(4, 1fr);
      gap: 36px;
    }

    #lyceum-home .ly-footer .ly-brand-name { color: #fff; }
    #lyceum-home .ly-footer p { color: rgba(255,255,255,.65); font-size: 13px; line-height: 1.7; }
    #lyceum-home .ly-footer h3 { color: #fff; font-size: 14px; margin-bottom: 17px; }
    #lyceum-home .ly-footer-links { display: grid; gap: 11px; font-size: 13px; color: rgba(255,255,255,.72); }
    #lyceum-home .ly-footer-links a:hover { color: #fff; }
    #lyceum-home .ly-footer-bottom {
      border-top: 1px solid rgba(255,255,255,.12);
      margin-top: 42px;
      padding-top: 20px;
      display: flex;
      justify-content: space-between;
      gap: 20px;
      color: rgba(255,255,255,.55);
      font-size: 12px;
    }

    #lyceum-home .ly-socials { display:flex; gap: 9px; margin-top: 17px; }
    #lyceum-home .ly-social {
      width: 34px; height: 34px; border-radius: 50%;
      display:grid; place-items:center;
      border:1px solid rgba(255,255,255,.18);
      color:#fff;
    }

    #lyceum-home .ly-svg {
      width: 22px;
      height: 22px;
      stroke: currentColor;
      fill: none;
      stroke-width: 1.8;
      stroke-linecap: round;
      stroke-linejoin: round;
    }

    @media (max-width: 1024px) {
      #lyceum-home .ly-menu { display: none; }
      #lyceum-home .ly-actions .ly-login { display: none; }
      #lyceum-home .ly-mobile-toggle { display: grid; place-items:center; }
      #lyceum-home .ly-hero-grid,
      #lyceum-home .ly-tutor-cta { grid-template-columns: 1fr; }
      #lyceum-home .ly-hero-visual { min-height: 480px; }
      #lyceum-home .ly-subjects,
      #lyceum-home .ly-tutors { grid-template-columns: repeat(2, 1fr); }
      #lyceum-home .ly-benefits { grid-template-columns: repeat(2, 1fr); }
      #lyceum-home .ly-paths { grid-template-columns: repeat(3, 1fr); }
      #lyceum-home .ly-footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
    }

    @media (max-width: 720px) {
      #lyceum-home .ly-container { width: min(100% - 24px, 1180px); }
      #lyceum-home .ly-topbar-links { display:none; }
      #lyceum-home .ly-topbar-inner { justify-content:center; text-align:center; }
      #lyceum-home .ly-brand-name { font-size: 21px; }
      #lyceum-home .ly-brand img { width: 38px; height: 38px; }
      #lyceum-home .ly-actions .ly-btn-primary { display:none; }
      #lyceum-home .ly-hero { padding: 52px 0 44px; }
      #lyceum-home h1 { font-size: 43px; }
      #lyceum-home .ly-hero-copy > p { font-size: 16px; }
      #lyceum-home .ly-search { grid-template-columns: 1fr; }
      #lyceum-home .ly-search .ly-btn { width:100%; }
      #lyceum-home .ly-sub-actions .ly-btn { width:100%; }
      #lyceum-home .ly-trust-row { display:grid; gap:14px; }
      #lyceum-home .ly-hero-visual { min-height: 390px; margin-top: 8px; }
      #lyceum-home .ly-hero-photo { inset: 4% 0 0; width:100%; height:90%; }
      #lyceum-home .ly-floating-card.one { right: 2%; top: 0; width: 176px; }
      #lyceum-home .ly-floating-card.two { right: 1%; bottom: 0; width: 190px; }
      #lyceum-home .ly-section { padding: 64px 0; }
      #lyceum-home .ly-subjects,
      #lyceum-home .ly-steps,
      #lyceum-home .ly-benefits,
      #lyceum-home .ly-tutors,
      #lyceum-home .ly-paths,
      #lyceum-home .ly-reviews {
        grid-template-columns: 1fr;
      }
      #lyceum-home .ly-tutor-photo { height: 275px; }
      #lyceum-home .ly-tutor-cta-copy { padding: 34px 25px; }
      #lyceum-home .ly-tutor-cta-image { min-height: 290px; }
      #lyceum-home .ly-final-cta { padding: 30px 22px; align-items:flex-start; flex-direction:column; }
      #lyceum-home .ly-final-actions, #lyceum-home .ly-final-actions .ly-btn { width:100%; }
      #lyceum-home .ly-footer-grid { grid-template-columns: 1fr 1fr; }
      #lyceum-home .ly-footer-grid > :first-child { grid-column:1/-1; }
      #lyceum-home .ly-footer-bottom { flex-direction:column; }
    }

    .ly-tutor-slider-viewport {
  overflow: hidden;
  width: 100%;
}
.ly-tutor-slider-track {
  display: flex;
  width: max-content;
  animation: ly-scroll 30s linear infinite;
}
.ly-tutor-slider-viewport:hover .ly-tutor-slider-track {
  animation-play-state: paused;
}
.ly-tutor-slider-track .ly-tutor {
  flex: 0 0 320px;
  margin-right: 24px;
}
@keyframes ly-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.ly-floating-card.one {
  overflow: hidden; /* safety net in case anything still overflows */
}

.ly-floating-card.one .ly-mini-person {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
}

.ly-floating-card.one .ly-mini-person > div {
  min-width: 0; /* required for ellipsis to work inside a flex child */
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.ly-floating-card.one .ly-mini-person strong,
.ly-floating-card.one .ly-mini-person span,
.ly-floating-card.one .ly-mini-person .ly-rating {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 160px; /* tune to your card's actual width */
}

.ly-floating-card.one .ly-mini-person strong {
  font-size: 13px;
  line-height: 1.3;
}

.ly-floating-card.one .ly-mini-person span {
  font-size: 12px;
  line-height: 2.3;
  color: var(--ly-muted, #6b7280);
}

.ly-floating-card.one .ly-rating {
  font-size: 12px;
  line-height: 1.3;
  margin-top: 2px;
}