/* Homepage teacher filter: stays inside the established vertical filter column. */
.ananda-home-course-schedule .ananda-course-matrix__teacher-filter{display:flex;min-width:0;width:100%;max-width:100%;margin-top:8px;padding-top:13px;box-sizing:border-box;flex-direction:column;gap:7px;border-top:1px solid #edd4b4}
.ananda-home-course-schedule .ananda-course-matrix__teacher-title{color:#87401f;font-size:10px;font-weight:800;line-height:1.2;letter-spacing:.11em;text-transform:uppercase}
.ananda-home-course-schedule .ananda-course-matrix__teacher-options{display:flex;min-width:0;max-width:100%;flex-direction:column;gap:6px}
.ananda-home-course-schedule .ananda-course-matrix__teacher-options button{width:100%;max-width:100%;box-sizing:border-box;overflow-wrap:anywhere;white-space:normal}
.ananda-home-course-schedule .ananda-course-matrix__teacher-options button:focus-visible{outline:3px solid #6d356d;outline-offset:3px}

@media(max-width:720px){
  .ananda-home-course-schedule .ananda-course-matrix__teacher-filter{grid-column:1/-1;margin-top:3px;padding:10px 2px 2px}
  .ananda-home-course-schedule .ananda-course-matrix__teacher-title{text-align:left}
  .ananda-home-course-schedule .ananda-course-matrix__teacher-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}
  .ananda-home-course-schedule .ananda-course-matrix__teacher-options button{text-align:center}
}

@media(max-width:390px){
  .ananda-home-course-schedule .ananda-course-matrix__teacher-options{grid-template-columns:1fr}
}

/* Homepage time filters use two independent rows. The weekday row stays
   visible while the full-year calendar-week strip keeps its own x-scroll. */
.ananda-home-course-schedule .ananda-course-matrix__time-filters{flex-direction:column;align-items:stretch}
.ananda-home-course-schedule .ananda-course-matrix__time-filters .ananda-course-matrix__days,
.ananda-home-course-schedule .ananda-course-matrix__weeks{width:100%;max-width:100%;box-sizing:border-box;flex:0 0 auto}
.ananda-home-course-schedule .ananda-course-matrix__time-filters .ananda-course-matrix__days{border-bottom:1px solid #eaded6}
.ananda-home-course-schedule .ananda-course-matrix__weeks{border-right:0;border-bottom:0}

/* Desktop-only course calendar redesign. The mobile homepage keeps the established matrix. */
@media(min-width:901px){
  .ananda-desktop-home-feed .ananda-home-course-schedule{--ananda-course-ink:#3f302a;--ananda-course-muted:#71635b;--ananda-course-line:#ead8c5;--ananda-course-soft:#fff9f1;--ananda-course-paper:#fffdfa;--ananda-course-accent:#b94b22;--ananda-course-accent-2:#d66f2d}
  .ananda-desktop-home-feed .ananda-home-course-schedule .ananda-course-matrix{grid-template-columns:220px minmax(0,1fr);grid-template-areas:"corner days" "groups results";overflow:hidden;border:1px solid var(--ananda-course-line);border-radius:22px;background:var(--ananda-course-paper);box-shadow:0 18px 46px rgba(91,44,25,.10)}
  .ananda-desktop-home-feed .ananda-home-course-schedule .ananda-course-matrix__corner{display:grid;min-height:94px;padding:15px 18px;place-items:center;border-right:1px solid var(--ananda-course-line);background:linear-gradient(145deg,#fffdf9,#fff7ec);color:var(--ananda-course-ink)}
  .ananda-desktop-home-feed .ananda-home-course-schedule .ananda-course-matrix__brand{display:grid;width:100%;min-height:62px;place-items:center;color:var(--ananda-course-ink);text-align:center;text-decoration:none}
  .ananda-desktop-home-feed .ananda-home-course-schedule .ananda-course-matrix__brand img{display:block;width:min(180px,100%);height:58px;object-fit:contain;filter:none}
  .ananda-desktop-home-feed .ananda-home-course-schedule .ananda-course-matrix__brand strong{font:400 24px/1.05 Georgia,'Times New Roman',serif}.ananda-desktop-home-feed .ananda-home-course-schedule .ananda-course-matrix__brand small{margin-top:3px;color:#9a6748;font-size:9px;font-weight:700;letter-spacing:.12em;text-transform:uppercase}
  .ananda-desktop-home-feed .ananda-home-course-schedule .ananda-course-matrix__time-filters{min-width:0;flex-direction:column;align-items:stretch;border-bottom:1px solid var(--ananda-course-line);background:linear-gradient(180deg,#fffdfb,#fffaf5)}
  .ananda-desktop-home-feed .ananda-home-course-schedule .ananda-course-matrix__weeks{width:100%;max-width:100%;box-sizing:border-box;gap:7px;flex:0 0 auto;padding:10px 13px;border-right:0;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin}
  .ananda-desktop-home-feed .ananda-home-course-schedule .ananda-course-matrix__time-filters .ananda-course-matrix__days{width:100%;box-sizing:border-box;gap:7px;flex:0 0 auto;padding:10px 13px;border-bottom:1px solid var(--ananda-course-line);background:transparent}
  .ananda-desktop-home-feed .ananda-home-course-schedule .ananda-course-matrix__time-filters button{min-width:45px;min-height:40px;padding:8px 13px;border:1px solid #e9d7c4;border-radius:999px;background:#fffdfa;color:#5b463c;box-shadow:none;font-size:11px;font-weight:750}
  .ananda-desktop-home-feed .ananda-home-course-schedule .ananda-course-matrix__time-filters button:hover{border-color:#d5a679;background:#fff8ef;transform:translateY(-1px)}
  .ananda-desktop-home-feed .ananda-home-course-schedule .ananda-course-matrix__time-filters button.is-selected,.ananda-desktop-home-feed .ananda-home-course-schedule .ananda-course-matrix__time-filters button[aria-pressed="true"]{border-color:#b94b22;background:linear-gradient(135deg,#a83f1c,#d66f2d);color:#fff;box-shadow:0 7px 18px rgba(154,60,27,.20)}
  .ananda-desktop-home-feed .ananda-home-course-schedule .ananda-course-matrix__time-filters button.is-current{outline:1px solid #d6913d;outline-offset:2px}
  .ananda-desktop-home-feed .ananda-home-course-schedule .ananda-course-matrix__groups{display:flex;min-width:0;padding:17px 13px 20px;align-items:stretch;gap:7px;border-right:1px solid var(--ananda-course-line);background:linear-gradient(180deg,#fff9f1,#fffaf5)}
  .ananda-desktop-home-feed .ananda-home-course-schedule .ananda-course-matrix__groups-title{margin:1px 5px 4px;color:#5b463c;font-size:10px;font-weight:850;letter-spacing:.10em;text-transform:uppercase}
  .ananda-desktop-home-feed .ananda-home-course-schedule .ananda-course-matrix__groups>[data-filter-axis="group"]{display:grid;width:100%;min-width:0;min-height:48px;padding:5px 9px 5px 5px;grid-template-columns:42px minmax(0,1fr);align-items:center;gap:9px;border:1px solid #ead8c5;border-radius:11px;background:#fffdfa;color:#5a4136;box-shadow:none;text-align:left;white-space:normal}
  .ananda-desktop-home-feed .ananda-home-course-schedule .ananda-course-matrix__groups>[data-filter-axis="group"]:hover{border-color:#d4a16f;background:#fff7ed;transform:none}
  .ananda-desktop-home-feed .ananda-home-course-schedule .ananda-course-matrix__groups>[data-filter-axis="group"].is-selected,.ananda-desktop-home-feed .ananda-home-course-schedule .ananda-course-matrix__groups>[data-filter-axis="group"][aria-pressed="true"]{border-color:#b94b22;background:linear-gradient(135deg,#a9401d,#d46b2b);color:#fff;box-shadow:0 7px 17px rgba(153,59,25,.18)}
  .ananda-desktop-home-feed .ananda-home-course-schedule .ananda-course-filter__thumb{display:grid;width:42px;height:36px;overflow:hidden;place-items:center;border:1px solid rgba(155,94,58,.20);border-radius:8px;background:#f6e6d5;color:#a64b27;font:700 15px/1 Georgia,serif}
  .ananda-desktop-home-feed .ananda-home-course-schedule .ananda-course-filter__thumb img{display:block;width:100%;height:100%;object-fit:cover}
  .ananda-desktop-home-feed .ananda-home-course-schedule .ananda-course-filter__thumb--all{background:linear-gradient(145deg,#fff3df,#efd3a9);font-size:18px}.ananda-desktop-home-feed .ananda-home-course-schedule .ananda-course-filter__thumb--fallback{background:linear-gradient(145deg,#f9ead7,#efcfad)}
  .ananda-desktop-home-feed .ananda-home-course-schedule .ananda-course-matrix__groups>[aria-pressed="true"] .ananda-course-filter__thumb{border-color:rgba(255,255,255,.55);background:rgba(255,255,255,.13);color:#fff}
  .ananda-desktop-home-feed .ananda-home-course-schedule .ananda-course-filter__label{min-width:0;font-size:10.5px;font-weight:750;line-height:1.25;overflow-wrap:anywhere}
  .ananda-desktop-home-feed .ananda-home-course-schedule .ananda-course-matrix__results{min-width:0;padding:20px 18px 22px;background:#fffdf9}
  .ananda-desktop-home-feed .ananda-home-course-schedule .ananda-course-matrix__result-heading{margin:0 0 3px;color:var(--ananda-course-ink)}
  .ananda-desktop-home-feed .ananda-home-course-schedule .ananda-course-matrix__result-heading span{font:400 30px/1.12 Georgia,'Times New Roman',serif;letter-spacing:-.02em}
  .ananda-desktop-home-feed .ananda-home-course-schedule .ananda-course-matrix__status{margin:0 0 15px;color:var(--ananda-course-muted);font-size:11.5px}.ananda-desktop-home-feed .ananda-home-course-schedule .ananda-course-matrix__status strong{color:#a94420;font-size:14px}
  .ananda-desktop-home-feed .ananda-home-course-schedule .ananda-course-matrix .ananda-offers-grid{grid-template-columns:1fr;gap:13px}
  .ananda-desktop-home-feed .ananda-home-course-schedule .ananda-offer-card--home-matrix{min-width:0;padding:17px 17px 13px;border:1px solid #ecd9c6;border-radius:16px;background:#fff;box-shadow:0 7px 20px rgba(92,47,28,.07);transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease}
  .ananda-desktop-home-feed .ananda-home-course-schedule .ananda-offer-card--home-matrix:hover{border-color:#ddb889;box-shadow:0 11px 25px rgba(92,47,28,.10);transform:translateY(-1px)}
  .ananda-desktop-home-feed .ananda-home-course-schedule .ananda-offer-card--home-matrix .ananda-offer-card__top{display:grid;min-height:87px;grid-template-columns:minmax(0,1fr) 82px;align-items:start;gap:13px}
  .ananda-desktop-home-feed .ananda-home-course-schedule .ananda-offer-card__info{gap:6px}
  .ananda-desktop-home-feed .ananda-home-course-schedule .ananda-offer-card__meta{color:#b05b28;font-size:10.5px;font-weight:850;line-height:1.35;letter-spacing:.055em}
  .ananda-desktop-home-feed .ananda-home-course-schedule .ananda-offer-card__teacher-line{color:#66564d;font-size:10.5px;font-weight:650;line-height:1.35}.ananda-desktop-home-feed .ananda-home-course-schedule .ananda-offer-card__teacher-name-link{color:#a13d1d;font-weight:800;text-decoration:none}.ananda-desktop-home-feed .ananda-home-course-schedule .ananda-offer-card__teacher-name-link:hover{text-decoration:underline;text-underline-offset:2px}
  .ananda-desktop-home-feed .ananda-home-course-schedule .ananda-offer-card__rhythm{color:#77665d;font-size:10.5px;line-height:1.35}.ananda-desktop-home-feed .ananda-home-course-schedule .ananda-offer-card__rhythm strong{color:#9d4724;font-size:10px}
  .ananda-desktop-home-feed .ananda-home-course-schedule .ananda-teacher-avatar--card{width:78px;height:78px;border:3px solid #fff;outline:1px solid #d9a55d;box-shadow:0 6px 16px rgba(95,48,28,.12)}
  .ananda-desktop-home-feed .ananda-home-course-schedule .ananda-offer-card__teacher:hover .ananda-teacher-avatar--card,.ananda-desktop-home-feed .ananda-home-course-schedule .ananda-offer-card__teacher:focus-visible .ananda-teacher-avatar--card{transform:scale(1.045);box-shadow:0 9px 20px rgba(95,48,28,.16)}
  .ananda-desktop-home-feed .ananda-home-course-schedule .ananda-offer-card--home-matrix h3{margin:10px 0 5px;color:#4b2f26;font-size:20px;line-height:1.13;letter-spacing:-.01em}
  .ananda-desktop-home-feed .ananda-home-course-schedule .ananda-offer-card__description{max-height:5.1em;color:#6c5a51;font-size:11.5px;line-height:1.48}
  .ananda-desktop-home-feed .ananda-home-course-schedule .ananda-offer-card__description.is-expanded{display:block;max-height:none!important;height:auto;overflow:visible!important;-webkit-line-clamp:unset;-webkit-box-orient:initial}
  .ananda-desktop-home-feed .ananda-home-course-schedule .ananda-offer-card--home-matrix.is-description-expanded{height:auto;align-self:start;overflow:visible}
  .ananda-desktop-home-feed .ananda-home-course-schedule .ananda-course-matrix button.ananda-offer-card__description-toggle{margin-top:5px;color:#a34420;font-size:10px}
  .ananda-desktop-home-feed .ananda-home-course-schedule .ananda-offer-card__availability{display:inline-flex;width:max-content;max-width:100%;margin:2px 0 0;padding:5px 9px;align-items:center;gap:6px;border:1px solid #dfcdb8;border-radius:999px;background:#f7efe5;box-shadow:none;color:#705f55;font-size:9.5px;font-weight:800;line-height:1.25;letter-spacing:0}
  .ananda-desktop-home-feed .ananda-home-course-schedule .ananda-offer-card__availability>span{width:6px;height:6px;margin:0;flex:0 0 6px;border-radius:50%;background:currentColor;box-shadow:none}
  .ananda-desktop-home-feed .ananda-home-course-schedule .ananda-offer-card__availability--available{color:#386b49;background:#eef7f0;border-color:#c7decf}.ananda-desktop-home-feed .ananda-home-course-schedule .ananda-offer-card__availability--limited{color:#936015;background:#fff5dc;border-color:#ead39a}.ananda-desktop-home-feed .ananda-home-course-schedule .ananda-offer-card__availability--full{color:#9a3e33;background:#fcece9;border-color:#e8bdb7}.ananda-desktop-home-feed .ananda-home-course-schedule .ananda-offer-card__availability--info{color:#97461f;background:#fff0df;border-color:#edc493}
  .ananda-desktop-home-feed .ananda-home-course-schedule .ananda-offer-card__schedule-more{color:#76635a;font-size:9.5px;line-height:1.4}
  .ananda-desktop-home-feed .ananda-home-course-schedule .ananda-offer-card__week-occurrence{margin:10px -17px -13px;padding:9px 17px;border-top:1px solid #f0e2d4;background:#fffaf5;color:#66564d;font-size:10.5px;line-height:1.4}
  .ananda-desktop-home-feed .ananda-home-course-schedule .ananda-course-matrix__empty{border-color:#ddc1a0;background:#fff8ef;color:#6e5d54}
  .ananda-desktop-home-feed .ananda-home-course-schedule .ananda-course-matrix__teacher-filter{display:flex;margin-top:12px;padding-top:15px;flex-direction:column;gap:7px;border-top:1px solid #ead8c5}
  .ananda-desktop-home-feed .ananda-home-course-schedule .ananda-course-matrix__teacher-title{margin:0 5px 2px;color:#5b463c;font-size:10px;font-weight:850;letter-spacing:.10em}
  .ananda-desktop-home-feed .ananda-home-course-schedule .ananda-course-matrix__teacher-options{display:flex;flex-direction:column;gap:7px}
  .ananda-desktop-home-feed .ananda-home-course-schedule .ananda-course-matrix__teacher-options button{display:grid;width:100%;min-height:48px;padding:5px 9px 5px 5px;grid-template-columns:38px minmax(0,1fr);align-items:center;gap:9px;border:1px solid #ead8c5;border-radius:11px;background:#fffdfa;color:#5a4136;box-shadow:none;text-align:left;white-space:normal}
  .ananda-desktop-home-feed .ananda-home-course-schedule .ananda-course-matrix__teacher-options button:hover{border-color:#d4a16f;background:#fff7ed;transform:none}
  .ananda-desktop-home-feed .ananda-home-course-schedule .ananda-course-matrix__teacher-options button.is-selected,.ananda-desktop-home-feed .ananda-home-course-schedule .ananda-course-matrix__teacher-options button[aria-pressed="true"]{border-color:#b94b22;background:linear-gradient(135deg,#a9401d,#d46b2b);color:#fff;box-shadow:0 7px 17px rgba(153,59,25,.18)}
  .ananda-desktop-home-feed .ananda-home-course-schedule .ananda-teacher-filter__avatar{display:grid;width:36px;height:36px;overflow:hidden;place-items:center;border:1px solid rgba(155,94,58,.20);border-radius:50%;background:linear-gradient(145deg,#f7e7d5,#e9c49c);color:#a34b27;font:700 11px/1 Georgia,serif}
  .ananda-desktop-home-feed .ananda-home-course-schedule .ananda-teacher-filter__avatar img{display:block;width:100%;height:100%;object-fit:cover}.ananda-desktop-home-feed .ananda-home-course-schedule .ananda-teacher-filter__avatar--all{font-size:16px}
  .ananda-desktop-home-feed .ananda-home-course-schedule .ananda-course-matrix__teacher-options button[aria-pressed="true"] .ananda-teacher-filter__avatar{border-color:rgba(255,255,255,.6);background:rgba(255,255,255,.14);color:#fff}
  .ananda-desktop-home-feed .ananda-home-course-schedule .ananda-teacher-filter__label{min-width:0;font-size:10.5px;font-weight:750;line-height:1.25;overflow-wrap:anywhere}
}

/* Tablet / narrow desktop: keep the desktop feed, but use a two-row time picker and
   explicitly size the decorative group/teacher images injected by teacher-filter.js. */
@media(min-width:721px) and (max-width:900px){
  .ananda-desktop-home-feed .ananda-home-course-schedule .ananda-course-matrix__corner{display:grid;min-height:72px;padding:9px 10px;place-items:center;border-right:1px solid #ead8c5;background:linear-gradient(145deg,#fffdf9,#fff7ec);color:#3f302a}
  .ananda-desktop-home-feed .ananda-home-course-schedule .ananda-course-matrix__brand{display:grid;width:100%;min-height:50px;place-items:center;color:#3f302a;text-align:center;text-decoration:none}
  .ananda-desktop-home-feed .ananda-home-course-schedule .ananda-course-matrix__brand img{display:block;width:min(130px,100%);height:48px;object-fit:contain;filter:none}
  .ananda-desktop-home-feed .ananda-home-course-schedule .ananda-course-matrix__brand strong{font:400 19px/1.05 Georgia,'Times New Roman',serif}
  .ananda-desktop-home-feed .ananda-home-course-schedule .ananda-course-matrix__brand small{margin-top:2px;color:#9a6748;font-size:8px;font-weight:700;letter-spacing:.10em;text-transform:uppercase}
  .ananda-desktop-home-feed .ananda-home-course-schedule .ananda-course-matrix__time-filters{min-width:0;flex-direction:column;align-items:stretch;background:linear-gradient(180deg,#fffdfb,#fffaf5);border-bottom:1px solid #ead8c5}
  .ananda-desktop-home-feed .ananda-home-course-schedule .ananda-course-matrix__weeks{width:100%;max-width:100%;box-sizing:border-box;flex:0 0 auto;gap:5px;padding:8px 9px;border-right:0;border-bottom:0;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;scrollbar-width:thin}
  .ananda-desktop-home-feed .ananda-home-course-schedule .ananda-course-matrix__weeks button{flex:0 0 auto;scroll-snap-align:start}
  .ananda-desktop-home-feed .ananda-home-course-schedule .ananda-course-matrix__time-filters .ananda-course-matrix__days{width:100%;box-sizing:border-box;gap:5px;padding:8px 9px;border-bottom:1px solid #ead8c5;overflow-x:auto;background:transparent;scroll-padding-inline:9px;overscroll-behavior-x:contain}
  .ananda-desktop-home-feed .ananda-home-course-schedule .ananda-course-matrix__groups-title{margin:1px 3px 3px;color:#5b463c;font-size:9px;font-weight:850;letter-spacing:.09em;text-transform:uppercase}
  .ananda-desktop-home-feed .ananda-home-course-schedule .ananda-course-matrix__groups>[data-filter-axis="group"]{display:grid;width:100%;min-width:0;min-height:42px;padding:4px 7px 4px 4px;grid-template-columns:34px minmax(0,1fr);align-items:center;gap:7px;border-radius:10px;text-align:left;white-space:normal}
  .ananda-desktop-home-feed .ananda-home-course-schedule .ananda-course-filter__thumb{display:grid;width:34px;height:30px;overflow:hidden;place-items:center;border:1px solid rgba(155,94,58,.20);border-radius:7px;background:#f6e6d5;color:#a64b27;font:700 13px/1 Georgia,serif}
  .ananda-desktop-home-feed .ananda-home-course-schedule .ananda-course-filter__thumb img{display:block;width:100%;height:100%;object-fit:cover}
  .ananda-desktop-home-feed .ananda-home-course-schedule .ananda-course-filter__label{min-width:0;font-size:9.5px;font-weight:750;line-height:1.2;overflow-wrap:anywhere}
  .ananda-desktop-home-feed .ananda-home-course-schedule .ananda-course-matrix__teacher-options button{display:grid;width:100%;min-width:0;min-height:42px;padding:4px 7px 4px 4px;grid-template-columns:32px minmax(0,1fr);align-items:center;gap:7px;text-align:left;white-space:normal}
  .ananda-desktop-home-feed .ananda-home-course-schedule .ananda-teacher-filter__avatar{display:grid;width:30px;height:30px;overflow:hidden;place-items:center;border:1px solid rgba(155,94,58,.20);border-radius:50%;background:linear-gradient(145deg,#f7e7d5,#e9c49c);color:#a34b27;font:700 9px/1 Georgia,serif}
  .ananda-desktop-home-feed .ananda-home-course-schedule .ananda-teacher-filter__avatar img{display:block;width:100%;height:100%;object-fit:cover}
  .ananda-desktop-home-feed .ananda-home-course-schedule .ananda-teacher-filter__label{min-width:0;font-size:9.5px;font-weight:750;line-height:1.2;overflow-wrap:anywhere}
  .ananda-desktop-home-feed .ananda-home-course-schedule .ananda-course-matrix__result-heading span{font:400 22px/1.12 Georgia,'Times New Roman',serif}
}

@media(min-width:1080px){
  .ananda-desktop-home-feed .ananda-home-course-schedule .ananda-course-matrix .ananda-offers-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(min-width:901px) and (max-width:1079px){
  .ananda-desktop-home-feed .ananda-home-course-schedule .ananda-course-matrix{grid-template-columns:205px minmax(0,1fr)}
  .ananda-desktop-home-feed .ananda-home-course-schedule .ananda-course-matrix__brand img{width:min(165px,100%)}
}

/* Responsive guards for the homepage course calendar: keep long schedule/status
   text inside the information track and give week chips a stable pill geometry. */
@media(min-width:721px){
  .ananda-desktop-home-feed .ananda-home-course-schedule .ananda-course-matrix__weeks{
    width:min(100%,590px);max-width:590px;align-self:flex-start;scroll-padding-inline:13px;scroll-snap-type:x proximity
  }
  .ananda-desktop-home-feed .ananda-home-course-schedule .ananda-course-matrix__weeks button{
    display:grid;box-sizing:border-box;flex:0 0 auto;min-width:56px;height:42px;min-height:42px;padding:0 12px;
    place-items:center;text-align:center;line-height:1.15;white-space:nowrap;overflow:hidden
  }
  .ananda-desktop-home-feed .ananda-home-course-schedule .ananda-offer-card--home-matrix .ananda-offer-card__top{
    grid-template-columns:minmax(0,1fr) minmax(0,82px)
  }
  .ananda-desktop-home-feed .ananda-home-course-schedule .ananda-offer-card__info{
    min-width:0;width:100%;max-width:100%
  }
  .ananda-desktop-home-feed .ananda-home-course-schedule .ananda-offer-card__meta,
  .ananda-desktop-home-feed .ananda-home-course-schedule .ananda-offer-card__teacher-line,
  .ananda-desktop-home-feed .ananda-home-course-schedule .ananda-offer-card__rhythm,
  .ananda-desktop-home-feed .ananda-home-course-schedule .ananda-offer-card__availability{
    min-width:0;max-width:100%;box-sizing:border-box;overflow-wrap:anywhere;word-break:normal
  }
}

@media(min-width:721px) and (max-width:900px){
  .ananda-desktop-home-feed .ananda-home-course-schedule .ananda-course-matrix__weeks{width:min(100%,510px);max-width:510px;scroll-padding-inline:9px}
  .ananda-desktop-home-feed .ananda-home-course-schedule .ananda-offer-card--home-matrix .ananda-offer-card__top{grid-template-columns:minmax(0,1fr) 72px;gap:10px}
  .ananda-desktop-home-feed .ananda-home-course-schedule .ananda-teacher-avatar--card{width:68px;height:68px}
  .ananda-desktop-home-feed .ananda-home-course-schedule .ananda-offer-card__availability{width:auto}
}


/* Compact expandable homepage course cards — approved 2026-09-02. */
.ananda-home-course-schedule .ananda-offer-card--home-matrix.is-course-collapsible{padding:0!important;overflow:visible;border:1px solid #eaded4;border-radius:18px;background:#fff;box-shadow:0 6px 18px rgba(81,49,34,.055);transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease}
.ananda-home-course-schedule .ananda-offer-card--home-matrix.is-course-collapsible:hover{border-color:#dec3a7;box-shadow:0 10px 25px rgba(81,49,34,.085);transform:translateY(-1px)}
.ananda-home-course-schedule .ananda-offer-card--home-matrix.is-course-collapsible>.ananda-offer-card__top{display:grid!important;min-height:0!important;padding:14px 14px 14px 16px;box-sizing:border-box;grid-template-columns:72px minmax(0,1fr) 42px!important;align-items:center!important;gap:14px!important;cursor:pointer}
.ananda-home-course-schedule .ananda-offer-card--home-matrix.is-course-collapsible .ananda-offer-card__teacher{grid-column:1;grid-row:1;align-self:center;justify-self:start;z-index:3}
.ananda-home-course-schedule .ananda-offer-card--home-matrix.is-course-collapsible .ananda-teacher-avatar--card{width:68px!important;height:68px!important;border:3px solid #fff;outline:1px solid #dfb978;box-shadow:0 5px 14px rgba(91,52,31,.11);transform-origin:center center;transition:transform .2s ease,box-shadow .2s ease}
.ananda-home-course-schedule .ananda-offer-card--home-matrix.is-course-collapsible .ananda-offer-card__info{display:flex!important;min-width:0!important;width:100%;grid-column:2;grid-row:1;flex-direction:column;align-items:flex-start;gap:4px!important}
.ananda-home-course-schedule .ananda-offer-card--home-matrix.is-course-collapsible .ananda-offer-card__teacher-line{margin:0;color:#5c4439;font-size:13px!important;font-weight:700!important;line-height:1.25!important}
.ananda-home-course-schedule .ananda-offer-card--home-matrix.is-course-collapsible .ananda-offer-card__teacher-name-link{color:#9c3f22!important;font-size:13px;font-weight:750!important;text-decoration:underline!important;text-decoration-thickness:1px!important;text-underline-offset:3px}
.ananda-home-course-schedule .ananda-offer-card--home-matrix.is-course-collapsible .ananda-offer-card__teacher-name-link:hover,.ananda-home-course-schedule .ananda-offer-card--home-matrix.is-course-collapsible .ananda-offer-card__teacher-name-link:focus-visible{color:#c85b2b!important;text-decoration-thickness:2px!important}
.ananda-home-course-schedule .ananda-offer-card--home-matrix.is-course-collapsible .ananda-offer-card__meta,.ananda-home-course-schedule .ananda-offer-card--home-matrix.is-course-collapsible .ananda-offer-card__location{display:flex;min-width:0;max-width:100%;align-items:center;gap:6px;color:#75665d!important;font-size:11px!important;font-weight:550!important;line-height:1.35!important;letter-spacing:0!important;overflow-wrap:anywhere}
.ananda-home-course-schedule .ananda-offer-card--home-matrix.is-course-collapsible .ananda-offer-card__meta:before{content:'◷';display:inline-grid;width:16px;height:16px;flex:0 0 16px;place-items:center;color:#d69535;font-size:15px;line-height:1}
.ananda-home-course-schedule .ananda-offer-card--home-matrix.is-course-collapsible .ananda-offer-card__location-icon{display:inline-grid;width:16px;height:16px;flex:0 0 16px;place-items:center;color:#d69535;font-size:16px;line-height:1}
.ananda-home-course-schedule .ananda-offer-card--home-matrix.is-course-collapsible h3{width:100%;margin:4px 0 0!important;color:#b44d28!important;font-family:Georgia,'Times New Roman',serif;font-size:19px!important;font-weight:400;line-height:1.18!important;letter-spacing:-.012em}
.ananda-home-course-schedule .ananda-offer-card--home-matrix.is-course-collapsible h3 a{color:inherit;text-decoration:none}
.ananda-home-course-schedule .ananda-offer-card--home-matrix.is-course-collapsible h3 a:hover{text-decoration:underline;text-underline-offset:3px}
.ananda-home-course-schedule .ananda-course-matrix button.ananda-offer-card__expand-toggle{display:grid!important;width:40px!important;min-width:40px!important;height:40px!important;min-height:40px!important;margin:0!important;padding:0!important;grid-column:3;grid-row:1;place-items:center;align-self:center;justify-self:end;border:1px solid #eee1d5!important;border-radius:50%!important;background:#fff8f0!important;box-shadow:none!important;color:#8f452d!important;cursor:pointer;transform:none!important}
.ananda-home-course-schedule .ananda-course-matrix button.ananda-offer-card__expand-toggle:hover{border-color:#ddb98f!important;background:#fff2e4!important;color:#b94e25!important;transform:none!important}
.ananda-home-course-schedule .ananda-course-matrix button.ananda-offer-card__expand-toggle:focus-visible{outline:2px solid #d89a42;outline-offset:3px}
.ananda-home-course-schedule .ananda-offer-card__expand-icon{display:block;font:400 28px/1 Georgia,'Times New Roman',serif;transform:translateY(-1px)}
.ananda-home-course-schedule .ananda-offer-card--home-matrix.is-course-expanded .ananda-offer-card__expand-toggle{border-color:#d8dfd2!important;background:#eef2ea!important;color:#60705b!important}
.ananda-home-course-schedule .ananda-offer-card__expanded-content{padding:14px 18px 17px 104px;border-top:1px solid #eee3d8;background:linear-gradient(180deg,#fff,#fffdf9);border-radius:0 0 18px 18px}
.ananda-home-course-schedule .ananda-offer-card__expanded-content[hidden]{display:none!important}
.ananda-home-course-schedule .ananda-offer-card__expanded-content .ananda-offer-card__description{display:block!important;max-height:none!important;height:auto!important;margin:0 0 10px!important;overflow:visible!important;color:#685a52!important;font-size:11.5px!important;line-height:1.55!important;-webkit-line-clamp:unset!important;-webkit-box-orient:initial!important}
.ananda-home-course-schedule .ananda-offer-card__expanded-content .ananda-offer-card__rhythm,.ananda-home-course-schedule .ananda-offer-card__expanded-content .ananda-offer-card__availability,.ananda-home-course-schedule .ananda-offer-card__expanded-content .ananda-offer-card__facts,.ananda-home-course-schedule .ananda-offer-card__expanded-content .ananda-offer-card__schedule-more{margin-top:8px!important}
.ananda-home-course-schedule .ananda-offer-card__expanded-content .ananda-offer-card__facts{display:flex;flex-wrap:wrap;gap:7px 12px;color:#6e6057;font-size:10.5px;line-height:1.4}
.ananda-home-course-schedule .ananda-offer-card__expanded-content .ananda-offer-card__facts span{display:inline-flex;gap:4px}
.ananda-home-course-schedule .ananda-offer-card__expanded-content .ananda-offer-card__week-occurrence{margin:12px -18px -17px!important;padding:10px 18px!important;border-top:1px solid #f0e5da!important;border-radius:0 0 18px 18px;background:#fffaf4!important}
.ananda-home-course-schedule .ananda-course-matrix button.ananda-offer-card__description-toggle{display:none!important}
@media(min-width:1080px){.ananda-desktop-home-feed .ananda-home-course-schedule .ananda-course-matrix .ananda-offers-grid>.ananda-offer-card--home-matrix.is-course-expanded{grid-column:1/-1}}
@media(min-width:901px){.ananda-desktop-home-feed .ananda-home-course-schedule{--ananda-course-paper:#fff;--ananda-course-soft:#fffaf5}.ananda-desktop-home-feed .ananda-home-course-schedule .ananda-course-matrix{background:#fff;box-shadow:0 13px 38px rgba(91,44,25,.075)}.ananda-desktop-home-feed .ananda-home-course-schedule .ananda-course-matrix__corner{background:#fff}.ananda-desktop-home-feed .ananda-home-course-schedule .ananda-course-matrix__time-filters{background:#fff}.ananda-desktop-home-feed .ananda-home-course-schedule .ananda-course-matrix__groups{background:#fffaf5}.ananda-desktop-home-feed .ananda-home-course-schedule .ananda-course-matrix__results{background:#fff}.ananda-desktop-home-feed .ananda-home-course-schedule .ananda-course-matrix__time-filters button,.ananda-desktop-home-feed .ananda-home-course-schedule .ananda-course-matrix__groups>[data-filter-axis="group"],.ananda-desktop-home-feed .ananda-home-course-schedule .ananda-course-matrix__teacher-options button{background:#fff}}
@media(hover:hover) and (pointer:fine){.ananda-home-course-schedule .ananda-offer-card--home-matrix.is-course-collapsible .ananda-offer-card__teacher:hover,.ananda-home-course-schedule .ananda-offer-card--home-matrix.is-course-collapsible .ananda-offer-card__teacher:focus-visible{z-index:30}.ananda-home-course-schedule .ananda-offer-card--home-matrix.is-course-collapsible .ananda-offer-card__teacher:hover .ananda-teacher-avatar--card,.ananda-home-course-schedule .ananda-offer-card--home-matrix.is-course-collapsible .ananda-offer-card__teacher:focus-visible .ananda-teacher-avatar--card{transform:scale(1.62)!important;box-shadow:0 17px 38px rgba(79,42,25,.25)!important}}
@media(max-width:720px){.ananda-home-course-schedule .ananda-offer-card--home-matrix.is-course-collapsible>.ananda-offer-card__top{padding:12px 10px 12px 12px;grid-template-columns:58px minmax(0,1fr) 36px!important;gap:10px!important}.ananda-home-course-schedule .ananda-offer-card--home-matrix.is-course-collapsible .ananda-teacher-avatar--card{width:54px!important;height:54px!important}.ananda-home-course-schedule .ananda-course-matrix button.ananda-offer-card__expand-toggle{width:34px!important;min-width:34px!important;height:34px!important;min-height:34px!important}.ananda-home-course-schedule .ananda-offer-card--home-matrix.is-course-collapsible h3{font-size:17px!important}.ananda-home-course-schedule .ananda-offer-card--home-matrix.is-course-collapsible .ananda-offer-card__teacher-line,.ananda-home-course-schedule .ananda-offer-card--home-matrix.is-course-collapsible .ananda-offer-card__teacher-name-link{font-size:12px!important}.ananda-home-course-schedule .ananda-offer-card__expanded-content{padding:12px 14px 14px}.ananda-home-course-schedule .ananda-offer-card__expanded-content .ananda-offer-card__week-occurrence{margin:10px -14px -14px!important;padding:9px 14px!important}}

/* Two-stage homepage calendar. The server renders this state already, while
   JavaScript only switches the existing controls between minimal and full. */
.ananda-home-course-calendar{width:100%;max-width:100%;min-width:0}
.ananda-home-course-calendar [hidden]{display:none!important}
.ananda-home-course-calendar__toolbar{display:flex;width:100%;max-width:100%;margin:0 0 12px;justify-content:flex-end}
.ananda-home-course-calendar__toggle{display:inline-flex;min-height:46px;max-width:100%;padding:10px 16px;align-items:center;justify-content:center;gap:10px;border:1px solid #d9b98e;border-radius:999px;background:linear-gradient(135deg,#fffdf8,#fff4e5);box-shadow:0 7px 18px rgba(116,49,21,.08);color:#8f3d21;font:750 12px/1.3 inherit;cursor:pointer;transition:border-color .18s ease,background .18s ease,box-shadow .18s ease,transform .18s ease}
.ananda-home-course-calendar__toggle:hover{border-color:#c98239;background:#fff8ed;box-shadow:0 9px 22px rgba(116,49,21,.13);transform:translateY(-1px)}
.ananda-home-course-calendar__toggle:focus-visible{outline:3px solid #6d356d;outline-offset:3px}
.ananda-home-course-calendar__chevron{display:grid;width:24px;height:24px;flex:0 0 24px;place-items:center;border-radius:50%;background:#a84420;color:#fff;font:700 18px/1 Georgia,'Times New Roman',serif}
.ananda-home-course-calendar[data-calendar-view="minimal"] .ananda-course-matrix{grid-template-columns:minmax(0,1fr)!important;grid-template-areas:"days" "results"!important}
.ananda-home-course-calendar[data-calendar-view="minimal"] .ananda-course-matrix__time-filters{min-width:0;border-bottom:1px solid #ead8c5}
.ananda-home-course-calendar[data-calendar-view="minimal"] .ananda-course-matrix__time-filters .ananda-course-matrix__days{width:100%;max-width:100%;box-sizing:border-box;border-bottom:0}
.ananda-home-course-calendar[data-calendar-view="minimal"] .ananda-course-matrix__results{min-width:0}

@media(max-width:700px){
  .ananda-home-course-calendar__toolbar{margin-bottom:10px}
  .ananda-home-course-calendar__toggle{width:100%;min-height:48px;padding:10px 14px;font-size:11.5px}
  .ananda-home-course-calendar[data-calendar-view="minimal"] .ananda-course-matrix__time-filters .ananda-course-matrix__days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;padding:7px;overflow:visible;scroll-padding-inline:0}
  .ananda-home-course-calendar[data-calendar-view="minimal"] .ananda-course-matrix__days button{width:100%;min-width:0!important;min-height:44px;padding:6px 2px!important}
  .ananda-home-course-calendar[data-calendar-view="minimal"] .ananda-course-matrix__results{padding:9px}
}

@media(prefers-reduced-motion:reduce){
  .ananda-home-course-calendar__toggle{transition:none}
  .ananda-home-course-calendar__toggle:hover{transform:none}
}
