:root {
  --paper: #fbf5ed;
  --ink: #102943;
  --deep: #0c2840;
  --line: #cbdede;
  --mint: #e0f1ed;
  --club-teal: #00625b;
  --club-teal-dark: #004541;
  --club-serif: Georgia, "Times New Roman", serif;
  --club-panel: #fffcf7;
  --club-shadow: 0 12px 28px -21px #43291b55, 0 2px 7px #43291b0b;
  --language-hero: url("/heroes/spanish.webp");
  --language-card: url("/cards/spanish.webp");
}
body { background: radial-gradient(ellipse at 8% 15%, #fffaf5, transparent 62%), var(--paper); }
:is(.club-home, .club-vocabulary, .club-account-page, .club-recommendations) .wrap {
  width: min(1480px, calc(100% - clamp(28px, 5vw, 76px)));
}
.wordmark img { mix-blend-mode: multiply; }
.masthead { min-height: 76px; }
.masthead-nav a { text-underline-offset: .24em; }
:is(.club-home, .club-vocabulary, .club-account-page, .club-recommendations) h1,
:is(.club-home, .club-vocabulary, .club-account-page, .club-recommendations) main h2 {
  font-family: var(--club-serif);
  font-weight: 700;
  letter-spacing: -.045em;
}
:is(.club-home, .club-vocabulary, .club-account-page, .club-recommendations) .action { border-radius: 13px; background: var(--club-panel); }
:is(.club-home, .club-vocabulary, .club-account-page, .club-recommendations) :is(.action.zoom, .listing-action, .hero-schedule-link),
.club-home .schedule-views .action[aria-pressed="true"] {
  color: #fff;
  background: linear-gradient(145deg, #08756b, var(--club-teal-dark));
  border-color: var(--club-teal-dark);
  box-shadow: 0 4px 8px #143e3620;
}
:is(.club-home, .club-vocabulary, .club-account-page, .club-recommendations) :is(.action.zoom, .listing-action, .hero-schedule-link):hover {
  background: var(--club-teal-dark);
}

.club-home .hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-height: clamp(295px, 27vw, 435px);
  aspect-ratio: auto;
  border-radius: clamp(17px, 2.5vw, 35px);
  background: #f8f5eb var(--language-hero) center / cover no-repeat;
  color: var(--deep);
  box-shadow: var(--club-shadow);
}
.club-home .hero::before, .schedule-banner::before, .courses-header::before, .vocabulary-banner::before, .weekly-plan::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: linear-gradient(90deg, #fbf7ef 0%, #fbf7ef 35%, #fbf7eee8 43%, #fbf7ee00 66%);
}
.club-home .hero-copy {
  position: relative;
  z-index: 1;
  width: 54%;
  padding: clamp(22px, 4vw, 60px) 0 clamp(22px, 4vw, 60px) clamp(22px, 4vw, 60px);
}
.club-home .hero h1 { font-size: clamp(2.15rem, 4.3vw, 4.55rem); }
.club-home .hero h1 em {
  color: var(--club-coral);
  text-decoration: underline #18847970 .055em;
  text-underline-offset: .17em;
}
.club-home .hero .intro { color: var(--ink); font-size: clamp(1rem, 1.7vw, 1.45rem); }
.club-home .hero-schedule-link { border: 1px solid; padding: 9px 16px; }
.hero-greetings { position: absolute; inset: 0; pointer-events: none; }
.hero-greetings span {
  position: absolute;
  padding: .45em .82em;
  border: 1px solid #ffffffda;
  border-radius: 50%;
  background: #fff9edeb;
  color: #075951;
  font: italic 700 clamp(.85rem, 2vw, 1.85rem)/1.15 var(--club-serif);
  box-shadow: 0 5px 12px #12314822;
}
.hero-greetings span::after {
  content: "";
  position: absolute;
  left: 54%;
  bottom: -.22em;
  width: .45em;
  height: .45em;
  background: inherit;
  transform: skew(24deg) rotate(32deg);
}
.hero-greetings span:nth-child(1) { left: 57%; top: 33%; color: #a9321f; }
.hero-greetings span:nth-child(2) { left: 66%; top: 12%; }
.hero-greetings span:nth-child(3) { left: 81%; top: 16%; background: #eaf8fdee; }
.hero-greetings span:nth-child(4) { left: 76%; top: 46%; }

#language-label, .explore-heading h2 {
  color: var(--deep);
  font: 700 clamp(1.6rem, 3vw, 2.75rem)/1.1 var(--club-serif);
  letter-spacing: -.04em;
}
#language-label { margin: 0 0 13px; }
.language-grid {
  gap: clamp(5px, .8vw, 12px);
  padding: clamp(8px, 1.1vw, 17px);
  border-radius: 18px;
  background: linear-gradient(125deg, #edf3ed, #d8e9e6);
}
.language-grid button {
  min-height: 42px;
  border-radius: 999px;
  border-color: #d3e2df;
  background: #fffbf6;
  box-shadow: 0 2px 4px #132f2910;
}
.language-grid button[aria-pressed="true"] {
  color: #9d2f1b;
  border-color: #de674d;
  background: #ffebe1;
  box-shadow: inset 0 0 0 1px #fff7ef, 0 2px 5px #af402529;
}
.opportunity-previews { gap: clamp(12px, 2vw, 25px); }
.opportunity-previews .session-preview {
  overflow: hidden;
  grid-template: auto auto 1fr auto / minmax(0, 1fr);
  justify-content: stretch;
  padding: 0 0 14px;
  background: var(--club-panel);
  box-shadow: var(--club-shadow);
}
.preview-language {
  display: inline-flex;
  padding: 4px 10px;
  border: 1px solid #fff;
  border-radius: 999px;
  background: #fffcf3ed;
}
.preview-title-link {
  color: inherit;
  text-decoration-color: #368581;
  text-decoration-thickness: 1px;
  text-underline-offset: .15em;
}
.preview-title-link:hover { color: #075e59; }
.opportunity-previews .session-preview h3 { font: 700 clamp(1.18rem, 1.65vw, 1.55rem)/1.2 var(--club-serif); }

.schedule-banner, .courses-header, .vocabulary-banner, .weekly-plan {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid #d9e8e4;
  border-radius: clamp(17px, 2vw, 28px);
  background: #f5f4ea var(--language-hero) right center / cover no-repeat;
  box-shadow: var(--club-shadow);
}
.schedule-banner { padding: clamp(16px, 2.6vw, 38px); }
.schedule-banner .schedule-top { align-items: flex-start; }
#schedule-title, #courses-title { font-size: clamp(1.7rem, 3.4vw, 3.35rem); }
#schedule-title .schedule-flag { background: #fffbf5; }
.schedule-banner .filters { margin-bottom: 0; }
.schedule-banner :is(.zone-control, select) { min-width: 0; }
.schedule-banner .zone-control {
  width: min(300px, 33%);
  padding: 9px 12px;
  border: 1px solid #deebe7;
  border-radius: 15px;
  background: #fffbf6f5;
}
.schedule-banner :is(.filters label, .schedule-views .action:not([aria-pressed="true"])) { background-color: #fffcf8f2; }
.schedule-banner .filters label:has(input:checked) { background: #d8eee8; }
.club-home .next-up {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(10px, 1.8vw, 24px);
  padding: 18px clamp(14px, 2.6vw, 34px);
  border-left: 4px solid #078173;
  border-radius: 18px;
  background: radial-gradient(ellipse at 94% 140%, #b9dfdb 0 38%, transparent 39%), linear-gradient(115deg, #fffcf6, #e0f0eb);
  box-shadow: var(--club-shadow);
}
.club-home .next-up::before {
  content: "";
  width: 45px;
  height: 45px;
  border-radius: 12px;
  border: 2px solid #0a6458;
  background: linear-gradient(#0a6458, #0a6458) center 12px / 100% 2px no-repeat, #e1f1eb;
}
.club-home .next-up p { font-size: clamp(1.06rem, 2vw, 1.35rem); }
.club-home .table-box { margin-top: 16px; background: var(--club-panel); }
.club-home thead { background: #12374b; }
.club-home thead th { font-size: 1rem; }
.club-home tbody tr:not(.schedule-day) { background: var(--club-panel); }
.club-home tbody tr:not(.schedule-day):hover { background: #eef6f0; }
.club-home .schedule-day th { background: linear-gradient(95deg, #eaf5f2, #dbeeea); }
.club-home .time strong { background: #dfefe9; color: #06554e; }
.course-art-card, .account-art-card { display: grid; gap: clamp(10px, 1.6vw, 22px); align-items: start; }
.language-thumbnail {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 10px;
}
.group-card-copy { min-width: 0; }

.courses-header { margin-bottom: 12px; padding: clamp(20px, 3vw, 44px); }
.courses-header > :first-child { max-width: 58%; }
.courses-language { padding: 8px 12px; border-radius: 14px; background: #fffbf5f0; }
.course-filters {
  padding: 13px clamp(10px, 2vw, 28px);
  background: linear-gradient(110deg, #edf4ed, #dbece9);
  border: 1px solid var(--line);
  border-radius: 16px;
}
.course-formats h3 {
  font: 700 clamp(1.55rem, 2.8vw, 2.5rem)/1.12 var(--club-serif);
  letter-spacing: -.035em;
}
.course-formats .course-art-card {
  grid-template-columns: minmax(0, 33%) minmax(0, 1fr);
  align-items: stretch;
  padding: 10px;
  background: var(--club-panel);
  border-radius: 16px;
  box-shadow: var(--club-shadow);
}
.course-card-copy { padding: 2px 4px 4px 0; }
.course-art-card h4 a { text-decoration-color: transparent; }
.course-art-card h4 a:hover, .course-art-card h4 a:focus-visible { text-decoration-color: currentColor; }

.club-account-page .account-page h1 { font-size: clamp(2.3rem, 5.3vw, 4.65rem); }
.club-account-page .account-panel h2 { font-size: clamp(1.45rem, 3vw, 2.6rem); }
.club-account-page .account-panel:first-child {
  background: radial-gradient(ellipse at 92% 64%, #b8ded7 0 42%, transparent 43%), linear-gradient(125deg, #eef1e8, #d4e9e4);
  border-radius: 23px;
}
.club-account-page .account-art-card {
  grid-template-columns: minmax(64px, 32%) minmax(0, 1fr);
  align-items: center;
  background: var(--club-panel);
  border-radius: 16px;
  box-shadow: var(--club-shadow);
}
.club-account-page .account-art-card h3 { font-size: clamp(1rem, 1.55vw, 1.25rem); }
.club-account-page .weekly-plan { padding-right: min(35%, 490px); min-height: 216px; }
.club-account-page .weekly-plan::before { background: linear-gradient(90deg, #fbf7ef 0% 39%, #fbf7efd9 51%, transparent 76%); }

.club-vocabulary .quiz-shell { width: min(1400px, calc(100% - clamp(28px, 5vw, 76px))); margin-top: 8px; }
.vocabulary-banner { padding: clamp(18px, 3vw, 45px); }
.vocabulary-banner > :is(p, nav) { max-width: 58%; }
.vocabulary-banner p { margin-block: 10px 16px; }
.vocabulary-banner #quiz-title { font-size: clamp(2.15rem, 5.25vw, 4.65rem); }
.club-vocabulary .quiz-panel {
  width: min(100%, 1190px);
  margin: clamp(16px, 3vw, 35px) auto 0;
  padding: clamp(16px, 3.4vw, 48px);
  border-radius: clamp(17px, 2vw, 27px);
  background: radial-gradient(ellipse at 93% -20%, #c3e2db 0 33%, #e1ede6 34% 42%, transparent 43%), #f1f3e9;
  box-shadow: var(--club-shadow);
}
.club-vocabulary .review-heading h2 { font-size: clamp(1.65rem, 3.5vw, 3rem); }
.club-vocabulary .flashcard {
  min-height: clamp(145px, 16vw, 215px);
  border: 4px solid #fffaf3;
  border-radius: clamp(16px, 2vw, 26px);
  background: linear-gradient(90deg, #fff9ed 0% 54%, #fff9ede8 66%, #fff9ed00 100%), var(--language-card) right center / min(55%, 570px) auto no-repeat, #fff9ed;
  box-shadow: 0 5px 0 -1px #e4eadf, 0 9px 0 -2px #cbd9ce, 0 14px 24px -7px #244a4050;
  margin-bottom: 15px;
}
.club-vocabulary .flashcard-prompt { font-family: var(--club-serif); font-size: clamp(1.55rem, 3.6vw, 3rem); }
.club-vocabulary .review-metric { background: #fffaf1; }

@media (max-width: 820px) {
  .club-home .hero { min-height: 230px; background-position: 61% center; }
  .club-home .hero-copy { width: 70%; padding: 20px clamp(14px, 4vw, 36px); }
  .club-home .hero::before { background: linear-gradient(90deg, #fbf7ef 0% 37%, #fbf7efe8 55%, transparent 85%); }
  .hero-greetings span:nth-child(n+2) { display: none; }
  .hero-greetings span:nth-child(1) { left: auto; right: 8%; top: 18%; }
  .schedule-banner .zone-control { width: min(280px, 100%); }
  .club-home .table-box { background: transparent; box-shadow: none; }
  .vocabulary-banner > :is(p, nav) { max-width: 78%; }
}
@media (max-width: 560px) {
  .club-home .hero-actions,
  .club-home .masthead-nav :is(#home-recommendations, #home-sign-in, [href="#cultural-courses"]) {
    display: none;
  }
  .club-home #top.masthead { min-height: 0; padding-block: 8px; gap: 6px; }
  .club-home #top.masthead .masthead-nav {
    display: flex;
    min-height: 0;
    gap: 4px 12px;
  }
  .club-home #top.masthead .masthead-nav:not(:has(> :is(#home-conversation-groups, #home-saved-activity, #quiz-link):not([hidden]))) {
    display: none;
  }
  .club-home .hero h1 { font-size: clamp(1.8rem, 7.4vw, 2.6rem); }
  .club-home .hero-copy { width: 84%; }
  .hero-greetings { display: none; }
  .club-home .hero::before { background: linear-gradient(90deg, #fbf7ef 0% 40%, #fbf7eff2 61%, #fbf7ef60 100%); }
  .club-home .next-up { grid-template-columns: minmax(0, 1fr); }
  .club-home .next-up::before { display: none; }
  .courses-header > :first-child, .vocabulary-banner > :is(p, nav) { max-width: 100%; }
  .courses-header::before, .vocabulary-banner::before, .club-account-page .weekly-plan::before {
    background: linear-gradient(90deg, #fbf7ef 0% 52%, #fbf7efe8 75%, #fbf7efa8 100%);
  }
  .club-account-page .weekly-plan { padding-right: 16px; }
  .club-vocabulary .flashcard { background-size: auto, auto 100%, auto; }
}

.masthead-nav .courses-nav {
  text-decoration: none;
  padding-block: 6px;
  border-bottom: 2px solid transparent;
}
.masthead-nav .courses-nav:is(:hover, [aria-current="page"]) { border-bottom-color: var(--club-coral); }
.masthead-nav .masthead-link { border-color: #86aaa8; }
.preview-actions .save-control {
  color: #fff;
  background: var(--club-teal);
  border-color: var(--club-teal);
}
.preview-actions .save-control:hover { background: var(--club-teal-dark); }
.preview-actions .save-control[aria-pressed="true"] { background: var(--mint); color: var(--club-teal-dark); }
.course-formats .course-art-card {
  grid-template-columns: minmax(0, min(32%, 185px)) minmax(0, 1fr);
  align-items: start;
}
.course-card-copy h4 { display: block; line-height: 1.25; }
.course-icon { margin-inline-end: 6px; }
.course-facts, .course-card-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 5px 10px; }
.course-facts:not(:empty) { margin-top: 7px; }
.course-facts span {
  padding: 2px 8px;
  border-radius: 12px;
  background: #e6f2ed;
  color: #0f534c;
  font-weight: 650;
  font-size: .81rem;
}
.course-card-actions { margin-top: 11px; }
.course-card-actions .action, .course-card-actions .text-control { margin-top: 0; min-height: 38px; }
.club-account-page .account-art-card { grid-template-columns: minmax(0, min(32%, 185px)) minmax(0, 1fr); }
.match-listing-card > .language-thumbnail { width: min(100%, 185px); margin: 0 0 10px; }
.club-home .group-card-copy .schedule-tags { gap: 4px 7px; margin-top: 4px; }
.club-home .group-card-copy .schedule-details { margin-top: 3px; }
@media (max-width: 560px) {
  .course-formats .course-art-card { grid-template-columns: minmax(0, 27%) minmax(0, 1fr); }
}

.listing-illustration {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  overflow: hidden;
  align-self: start;
}
.listing-illustration img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.listing-illustration.listing-icon {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #eff6ee, #d5ebe5);
  color: #226961;
}
.listing-icon svg {
  width: clamp(23px, 26%, 50px);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.course-formats .course-art-card:has(.listing-illustration) {
  grid-template-columns: minmax(0, min(32%, 185px)) minmax(0, 1fr);
}
.course-art-card .listing-illustration { max-width: 185px; }
.match-listing-card > .listing-illustration { width: min(100%, 185px); margin-bottom: 10px; }
@media (max-width: 820px) {
  .course-formats .course-art-card:has(.listing-illustration) {
    grid-template-columns: minmax(72px, 27%) minmax(0, 1fr);
  }
}

.opportunity-previews .session-preview {
  grid-template: auto auto 1fr auto / minmax(0, 1fr);
  padding: 14px 16px;
}
.opportunity-previews .session-preview .preview-language {
  justify-self: start;
  background: #e4f0e9;
  border-color: #daebe4;
}
.opportunity-previews .culture-preview:has(img) {
  grid-template-columns: minmax(0, 1fr) clamp(65px, 7vw, 105px);
  column-gap: 10px;
}
.culture-preview > :not(.preview-thumbnail) { grid-column: 1; }
.culture-preview > .preview-thumbnail {
  grid-column: 2;
  grid-row: 1 / span 3;
  align-self: center;
}
.culture-preview > .preview-thumbnail.listing-icon { display: none; }

.course-formats .course-art-card:not(:has(.listing-illustration)) {
  grid-template-columns: minmax(0, 1fr);
  padding: 13px 16px;
}
.course-art-card:not(:has(.listing-illustration)) .course-card-copy { padding: 0; }
.course-art-card:not(:has(.listing-illustration)) .course-card-actions { margin-top: 9px; }
.hero-actions { gap: 8px; }
.hero-actions #hero-recommendations {
  background: transparent;
  color: var(--club-teal-dark);
  border-color: transparent;
  box-shadow: none;
  padding-inline: 4px;
  text-decoration: underline;
  text-underline-offset: .2em;
}
#reset-time-zone { margin-top: 6px; margin-inline-end: 10px; }

.session-practice-banner #quiz-title {
  max-width: 58%;
  font-size: clamp(1.85rem, 4.1vw, 3.7rem);
  text-wrap: balance;
}
@media (max-width: 820px) {
  .session-practice-banner #quiz-title { max-width: 76%; }
}
@media (max-width: 560px) {
  .session-practice-banner #quiz-title { max-width: 100%; }
  .session-practice-banner::before { background: #fbf7efed; }
}


.meetup-rating {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 2px 6px;
  margin-block-start: 2px;
  color: var(--muted);
  font-size: .84rem;
}
.meetup-rating-score { color: var(--deep); font-weight: 750; }
.meetup-rating-stars {
  color: #a85e00;
  letter-spacing: .035em;
}
@supports (background-clip: text) {
  .meetup-rating-stars {
    background: linear-gradient(90deg, #a85e00 var(--star-fill), #a7b0b0 var(--star-fill));
    background-clip: text;
    color: transparent;
  }
}
