/* ==========================================================================
   Group Class Schedule V3 — matches page-language-landing-v3 brand system
   Namespace: .gcs3
   ========================================================================== */

/* Break out of Astra container */
body.page-template-page-group-class-schedule-v3 #primary,
body.page-template-page-group-class-schedule-v3 #content,
body.page-template-page-group-class-schedule-v3 .ast-container,
body.page-template-page-group-class-schedule-v3 .entry-content,
body.page-template-page-group-class-schedule-v3 article.post { max-width: 100% !important; width: 100% !important; padding: 0 !important; margin: 0 !important; }
body.page-template-page-group-class-schedule-v3 #content > .ast-container { padding: 0 !important; }
body.page-template-page-group-class-schedule-v3.ast-separate-container #content { padding: 0 !important; background: transparent !important; }
body.page-template-page-group-class-schedule-v3 .site-content { padding: 0 !important; }
body.page-template-page-group-class-schedule-v3 .entry-header,
body.page-template-page-group-class-schedule-v3 .ast-article-single { padding: 0 !important; margin: 0 !important; background: transparent !important; box-shadow: none !important; }
body.page-template-page-group-class-schedule-v3 .entry-title,
body.page-template-page-group-class-schedule-v3 .post-thumb-img-content { display: none !important; }

.gcs3 { color: #1a1a2e; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; line-height: 1.55; background: #fff; }
.gcs3 * { box-sizing: border-box; }
.gcs3 h1, .gcs3 h2, .gcs3 h3 { font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-weight: 800; letter-spacing: -.02em; line-height: 1.0; color: #1a1a2e; margin: 0 0 .5em; }
.gcs3 h1 em, .gcs3 h2 em, .gcs3 h3 em { font-style: normal; font-family: inherit; font-weight: 800; letter-spacing: inherit; color: #D81818; }
.gcs3 p { margin: 0 0 1em; }
.gcs3 a { color: inherit; }

.gcs3-container { max-width: 1600px; margin: 0 auto; padding: 0 32px; }

/* Eyebrow */
.gcs3-eyebrow { color: #1a1a2e; font-size: 12px; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; margin: 0 0 16px; display: inline-flex; align-items: center; gap: 10px; }
.gcs3-eyebrow::before { content: ''; width: 36px; height: 3px; background: #D81818; }
.gcs3-eyebrow-light { color: #fff; }
.gcs3-eyebrow-light::before { background: #F0D818; }

/* Buttons */
.gcs3-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 28px; font-size: 14px; font-weight: 700; border-radius: 2px; text-decoration: none; transition: background .15s, color .15s, border-color .15s; cursor: pointer; border: 2px solid transparent; line-height: 1; text-transform: uppercase; letter-spacing: .08em; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; }
.gcs3-btn-primary { background: #D81818; color: #fff; border-color: #D81818; }
.gcs3-btn-primary:hover { background: #1a1a2e; border-color: #1a1a2e; color: #fff; text-decoration: none; }
.gcs3-btn-outline-light { background: transparent; color: #fff; border-color: #fff; }
.gcs3-btn-outline-light:hover { background: #fff; color: #1a1a2e; text-decoration: none; }

/* ===== HERO ===== */
.gcs3-hero { background: #fff; padding: 56px 0 48px; border-bottom: 2px solid #1a1a2e; }
.gcs3-hero-split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.gcs3-hero h1 { font-size: clamp(34px, 5vw, 64px); line-height: .98; letter-spacing: -.03em; margin-bottom: 16px; }
.gcs3-hero-sub { font-size: 15px; color: #666; margin-bottom: 28px; letter-spacing: .02em; }

.gcs3-hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }

.gcs3-hero-visual { position: relative; }
.gcs3-hero-img { width: 100%; height: auto; display: block; border: 3px solid #1a1a2e; aspect-ratio: 4/3; object-fit: cover; }

/* ===== TRUST BAR ===== */
.gcs3-trust { background: #1a1a2e; color: #fff; padding: 32px 0; }
.gcs3-trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.gcs3-trust-item strong { display: block; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 28px; font-weight: 900; letter-spacing: -.02em; line-height: 1; }
.gcs3-trust-item strong em { color: #F0D818; font-style: normal; }
.gcs3-trust-item span { display: block; font-size: 11px; color: rgba(255,255,255,.7); margin-top: 8px; letter-spacing: .2em; text-transform: uppercase; }

/* ===== LANGUAGE GRID ===== */
.gcs3-languages { padding: 64px 0 88px; background: rgba(77, 190, 220, 0.5); scroll-margin-top: 80px; }

.gcs3-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.gcs3-card {
  display: flex; flex-direction: column; gap: 18px;
  padding: 28px 26px 24px;
  background: #fff; border: 2px solid #1a1a2e;
  text-decoration: none; color: #1a1a2e;
  min-height: 320px;
  position: relative; overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.gcs3-card::before { content: ''; position: absolute; inset: 0; background: #D81818; transform: translateY(100%); transition: transform .25s ease; z-index: 0; }
.gcs3-card:hover { color: #fff; text-decoration: none; transform: translateY(-3px); box-shadow: 6px 6px 0 #1a1a2e; }
.gcs3-card:hover::before { transform: translateY(0); }
.gcs3-card > * { position: relative; z-index: 1; }

.gcs3-card-flag {
  width: 56px; height: 56px; display: block; flex-shrink: 0;
  border: 2px solid #1a1a2e;
  object-fit: cover;
  transition: border-color .15s;
}
.gcs3-card:hover .gcs3-card-flag { border-color: #fff; }
.gcs3-card-head { display: flex; flex-direction: row; justify-content: space-between; align-items: flex-start; gap: 16px; }
.gcs3-card-head-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.gcs3-card h3 { font-size: clamp(30px, 2.6vw, 42px); margin: 0; letter-spacing: -.02em; line-height: 1; text-transform: uppercase; }
.gcs3-card-greeting { font-size: 20px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: #D81818; transition: color .15s; }
.gcs3-card:hover .gcs3-card-greeting { color: #F0D818; }
.gcs3-card-format {
  font-size: 10px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: #888;
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px solid #e5e5e5;
  transition: color .15s, border-color .15s;
}
.gcs3-card-format[hidden] { display: none !important; }
.gcs3-card:hover .gcs3-card-format { color: rgba(255,255,255,.85); border-top-color: rgba(255,255,255,.25); }

.gcs3-card-body { flex: 1; display: flex; flex-direction: column; gap: 16px; justify-content: flex-start; }

/* Hero stat — giant red number + label, no background */
.gcs3-card-hero-stat {
  display: flex; align-items: center; gap: 14px;
  padding: 4px 0 0;
}
.gcs3-card-hero-num {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 44px; font-weight: 900; line-height: 1;
  letter-spacing: -.04em;
  color: #D81818;
  transition: color .15s;
}
.gcs3-card-hero-num-text { font-size: 22px; letter-spacing: -.02em; }
.gcs3-card-hero-lbl {
  font-size: 11px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase;
  color: #555;
  line-height: 1.3;
}
.gcs3-card:hover .gcs3-card-hero-num { color: #F0D818; }
.gcs3-card:hover .gcs3-card-hero-lbl { color: rgba(255,255,255,.9); }
.gcs3-card-hero-stat-muted .gcs3-card-hero-num { color: #888; }
.gcs3-card-hero-stat-muted .gcs3-card-hero-lbl { color: #888; }

/* Level rows — plain text, label + colon + number */
.gcs3-level-rows { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.gcs3-level-row {
  display: flex; align-items: baseline; gap: 10px;
  font-size: 14px; font-weight: 700; color: #1a1a2e;
  transition: color .15s, opacity .15s;
}
.gcs3-level-name { flex-shrink: 0; }
.gcs3-level-num { font-size: 16px; font-weight: 900; color: #D81818; transition: color .15s; }
.gcs3-level-row.gcs3-level-empty { color: #aaa; }
.gcs3-level-row.gcs3-level-empty .gcs3-level-num { color: #ccc; }
.gcs3-card:hover .gcs3-level-row { color: #fff; }
.gcs3-card:hover .gcs3-level-row.gcs3-level-empty { color: rgba(255,255,255,.45); }
.gcs3-card:hover .gcs3-level-num { color: #F0D818; }
.gcs3-card:hover .gcs3-level-row.gcs3-level-empty .gcs3-level-num { color: rgba(255,255,255,.45); }

.gcs3-card-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin-top: 10px; padding: 14px 18px;
  background: #000; color: #fff;
  transition: background .15s, color .15s;
}
.gcs3-card-cta-text { display: flex; flex-direction: column; gap: 5px; text-align: left; min-width: 0; }
.gcs3-card-cta-main {
  font-size: 14px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; line-height: 1;
}
.gcs3-card-cta-sub {
  font-size: 10px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase;
  color: #F0D818;
  line-height: 1.2;
  transition: color .15s;
}
.gcs3-card-cta-sub:empty { display: none; }
.gcs3-card-cta-sub.gcs3-card-stat-urgent { color: #F0D818; }
/* On red hover: everything reads white — no yellow/pink that fights the red */
.gcs3-card:hover .gcs3-card-cta { background: #D81818; color: #fff; }
.gcs3-card:hover .gcs3-card-cta-main,
.gcs3-card:hover .gcs3-card-cta-sub,
.gcs3-card:hover .gcs3-card-cta-arrow { color: #fff; }
.gcs3-card-cta-arrow { font-size: 20px; font-weight: 400; transition: transform .2s; flex-shrink: 0; }
.gcs3-card:hover .gcs3-card-cta-arrow { transform: translateX(4px); }

/* Muted variant for languages without groups — navy fill on hover instead of red */
.gcs3-card-soon { border-color: #bbb; background: #fafafa; }
.gcs3-card-soon h3 { color: #1a1a2e; }
.gcs3-card-soon::before { background: #1a1a2e; }
.gcs3-card-soon:hover .gcs3-card-cta { background: #F0D818; color: #1a1a2e; }

/* ===== HOW IT WORKS ===== */
.gcs3-how { padding: 88px 0; background: #fafafa; }
.gcs3-how h2 { font-size: clamp(30px, 3.5vw, 48px); margin-bottom: 48px; }
.gcs3-how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.gcs3-how-step { background: #fff; border: 1px solid #e5e5e5; padding: 32px; }
.gcs3-how-num { display: block; font-size: 14px; font-weight: 800; color: #D81818; letter-spacing: .2em; margin-bottom: 16px; }
.gcs3-how-step h3 { font-size: 22px; margin-bottom: 12px; }
.gcs3-how-step p { font-size: 15px; color: #555; line-height: 1.6; margin: 0; }

/* ===== FAQ ===== */
.gcs3-faq { padding: 88px 0; }
.gcs3-faq h2 { font-size: clamp(30px, 3.5vw, 48px); margin-bottom: 32px; }
.gcs3-faq-list { max-width: 820px; }
.gcs3-faq-item { border-bottom: 1px solid #e5e5e5; }
.gcs3-faq-item summary { padding: 22px 0; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 17px; font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; color: #1a1a2e; }
.gcs3-faq-item summary::-webkit-details-marker { display: none; }
.gcs3-faq-item summary::after { content: "+"; font-size: 24px; font-weight: 300; color: #ccc; transition: transform .2s; }
.gcs3-faq-item[open] summary::after { content: "−"; color: #D81818; }
.gcs3-faq-answer { padding: 0 0 22px; font-size: 16px; color: #555; line-height: 1.7; }
.gcs3-faq-answer a { color: #D81818; font-weight: 600; text-decoration: none; }
.gcs3-faq-answer a:hover { text-decoration: underline; }

/* ===== FINAL CTA ===== */
.gcs3-final-cta { padding: 88px 0; background: #1a1a2e; color: #fff; }
.gcs3-final-cta h2 { color: #fff; font-size: clamp(32px, 4vw, 56px); margin-bottom: 20px; }
.gcs3-final-cta h2 em { color: #F0D818; }
.gcs3-final-cta p { font-size: 17px; color: rgba(255,255,255,.8); max-width: 640px; line-height: 1.6; margin-bottom: 28px; }
.gcs3-final-ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .gcs3-hero-split { grid-template-columns: 1fr; gap: 28px; }
  .gcs3-hero-visual { order: -1; }
  .gcs3-hero-img { aspect-ratio: 16/9; }
  .gcs3-grid { grid-template-columns: repeat(2, 1fr); }
  .gcs3-how-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .gcs3-container { padding: 0 20px; }
  .gcs3-hero { padding: 36px 0 32px; }
  .gcs3-hero h1 { font-size: 34px; margin-bottom: 12px; }
  .gcs3-hero-sub { font-size: 13px; margin-bottom: 20px; }
  .gcs3-hero-ctas .gcs3-btn { flex: 1; font-size: 12px; padding: 12px 16px; }
  .gcs3-languages, .gcs3-how, .gcs3-faq, .gcs3-final-cta { padding: 48px 0; }

  /* Cards — stack, smaller */
  .gcs3-grid { grid-template-columns: 1fr; gap: 14px; }
  .gcs3-card { min-height: 0; padding: 22px 20px 20px; gap: 14px; }
  .gcs3-card-flag { font-size: 40px; }
  .gcs3-card h3 { font-size: 28px; }
  .gcs3-card-greeting { font-size: 16px; }
  .gcs3-card-tags li { font-size: 10px; padding: 4px 8px; }
  .gcs3-level-count { min-width: 18px; height: 18px; font-size: 10px; }
  .gcs3-card-hint { font-size: 12px; }
  .gcs3-card-cta { padding: 14px 16px; font-size: 14px; letter-spacing: .06em; }
  .gcs3-card-cta-arrow { font-size: 18px; }
  .gcs3-card:hover { transform: none; box-shadow: none; }

  /* Section headings */
  .gcs3-how h2, .gcs3-faq h2, .gcs3-final-cta h2 { font-size: 28px; }
}
