/* ==========================================================================
   Language Landing V3 — COED brand system (matches page-home-landing-v3)
   Namespace: .ll3
   ========================================================================== */

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

.ll3 { color: #1a1a2e; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; line-height: 1.55; background: #fff; }
.ll3 * { box-sizing: border-box; }
.ll3 h1, .ll3 h2, .ll3 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; }
.ll3 h1 em, .ll3 h2 em { font-style: normal; font-family: inherit; font-weight: 800; letter-spacing: inherit; color: #D81818; }
.ll3 p { margin: 0 0 1em; }
.ll3 img { max-width: 100%; height: auto; }

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

/* Eyebrow */
.ll3-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; }
.ll3-eyebrow::before { content: ''; width: 36px; height: 3px; background: #D81818; }

/* Stars */
.ll3-stars { color: #F0D818; font-size: 16px; letter-spacing: 2px; }

/* Buttons — squared, flat, uppercase */
.ll3-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; cursor: pointer; border: 2px solid transparent; line-height: 1; text-transform: uppercase; letter-spacing: .08em; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; }
.ll3-btn-primary { background: #D81818; color: #fff; border-color: #D81818; }
.ll3-btn-primary:hover { background: #1a1a2e; border-color: #1a1a2e; color: #fff; text-decoration: none; }
.ll3-btn-outline-dark { background: transparent; color: #1a1a2e; border-color: #1a1a2e; }
.ll3-btn-outline-dark:hover { background: #1a1a2e; color: #fff; text-decoration: none; }
.ll3-btn-small { display: inline-block; padding: 8px 16px; font-size: 12px; font-weight: 700; border: 2px solid #1a1a2e; border-radius: 2px; background: #fff; color: #1a1a2e; text-decoration: none; text-transform: uppercase; letter-spacing: .08em; cursor: pointer; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; transition: all .15s; }
.ll3-btn-small:hover { background: #1a1a2e; color: #fff; text-decoration: none; }

/* ===== HERO ===== */
.ll3-hero { background: #fff; padding: 60px 0 70px; position: relative; overflow: hidden; border-bottom: 2px solid #1a1a2e; }
.ll3-hero > .ll3-container { position: relative; max-width: 1600px; }
.ll3-hero-inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; }
.ll3-hero-visual { position: relative; }
.ll3-hero h1 { font-size: clamp(32px, 4.5vw, 56px); line-height: .98; letter-spacing: -.03em; margin-bottom: 24px; }
.ll3-hero-sub { font-size: 17px; color: #555; margin-bottom: 32px; max-width: 500px; line-height: 1.5; }
.ll3-hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.ll3-hero-trust { display: flex; align-items: center; gap: 12px; color: #888; font-size: 13px; flex-wrap: wrap; }
.ll3-trust-sep { color: #ddd; }
.ll3-hero-photo { border-radius: 0; overflow: visible; border: 3px solid #1a1a2e; position: relative; margin-bottom: 28px; }
.ll3-hero-photo img { width: 100%; display: block; aspect-ratio: 4/3; object-fit: cover; }
/* Eyebrow flag — small inline flag next to text */
.ll3-eyebrow-flag { vertical-align: middle; margin-right: 4px; border: 1px solid #e5e5e5; }

/* Hero badge — top-right of photo */
.ll3-hero-badge { position: absolute; bottom: -20px; left: -20px; background: #1a1a2e; color: #fff; padding: 14px 18px; display: flex; align-items: center; gap: 12px; border: 3px solid #1a1a2e; z-index: 2; }
.ll3-hero-badge-icon { width: 40px; height: 40px; background: #D81818; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 18px; font-weight: 900; }
.ll3-hero-badge-num { font-size: 20px; font-weight: 900; line-height: 1; }
.ll3-hero-badge-lbl { font-size: 10px; color: rgba(255,255,255,.7); margin-top: 3px; text-transform: uppercase; letter-spacing: .15em; }

/* Decorative elements — subtle, edges only, behind content */
.ll3-deco { position: absolute; pointer-events: none; mix-blend-mode: multiply; opacity: .18; z-index: 0; }
.ll3-deco-0 { top: 8%; right: 2%; width: 60px; }
.ll3-deco-1 { bottom: 8%; right: 38%; width: 35px; transform: rotate(15deg); }
.ll3-deco-2 { bottom: 20%; left: 0%; width: 30px; transform: rotate(-20deg); }
.ll3-deco-3 { top: 2%; right: 42%; width: 25px; transform: rotate(45deg); }
.ll3-deco-4 { bottom: 2%; left: 3%; width: 35px; transform: rotate(-10deg); }

/* ===== TRUST BAR ===== */
.ll3-trust-bar { background: #1a1a2e; color: #fff; padding: 28px 0; }
.ll3-trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.ll3-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; }
.ll3-trust-item strong em { color: #F0D818; font-style: normal; }
.ll3-trust-item span { display: block; font-size: 11px; color: rgba(255,255,255,.7); margin-top: 6px; letter-spacing: .2em; text-transform: uppercase; }

/* ===== CREDITS CALLOUT ===== */
.ll3-credits { padding: 20px 0; border-bottom: 1px solid #e5e5e5; background: #fff; }
.ll3-credits-inner { display: flex; align-items: center; gap: 24px; overflow-x: auto; }
.ll3-credits-label { font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .2em; color: #ccc; white-space: nowrap; flex-shrink: 0; }
.ll3-credits-list { display: flex; gap: 32px; align-items: center; }
.ll3-credit { display: flex; align-items: baseline; gap: 8px; white-space: nowrap; }
.ll3-credit-title { font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: 700; color: #1a1a2e; }
.ll3-credit-title em { font-style: italic; }
.ll3-credit-detail { font-size: 12px; color: #888; }
.ll3-credit + .ll3-credit::before { content: '·'; color: #ddd; font-size: 18px; margin-right: 0; position: relative; left: -16px; }

/* ===== GROUP CLASS SCHEDULE ===== */
.ll3-group-schedule { padding: 80px 0; background: #fafafa; }
.ll3-group-schedule h2 { font-size: clamp(28px, 3vw, 42px); margin-bottom: 16px; }
.ll3-group-intro { font-size: 17px; color: #555; max-width: 600px; margin-bottom: 32px; line-height: 1.6; }
.ll3-group-intro a { color: #D81818; font-weight: 600; text-decoration: none; }
.ll3-group-intro a:hover { text-decoration: underline; }
/* Group class grid overrides inside V3 */
.ll3 #group-class-grid h2.class-title { font-size: 1.25rem; font-weight: 700; line-height: 1.3; letter-spacing: 0; margin-bottom: 10px; }
.ll3 #group-class-grid .class-item { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; }

/* ===== TUTORS ===== */
.ll3-tutors { padding: 80px 0; }
.ll3-tutors h2 { font-size: clamp(28px, 3vw, 42px); margin-bottom: 16px; }
.ll3-tutor-intro { font-size: 15px; color: #888; margin-bottom: 32px; }
.ll3-tutor-intro a { color: #D81818; font-weight: 600; text-decoration: none; }
.ll3-tutor-intro a:hover { text-decoration: underline; }

/* ===== WHY LEARN ===== */
.ll3-why { padding: 80px 0; background: #fafafa; }
.ll3-why h2 { font-size: clamp(28px, 3vw, 42px); margin-bottom: 40px; }
.ll3-why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.ll3-why-card { background: #fff; border: 1px solid #e5e5e5; padding: 32px; }
.ll3-why-card h3 { font-size: 18px; margin-bottom: 8px; }
.ll3-why-card p { font-size: 15px; color: #555; line-height: 1.6; margin: 0; }

/* ===== ABOUT ===== */
.ll3-about { padding: 80px 0; }
.ll3-about-split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: start; }
.ll3-about-text { font-size: 17px; line-height: 1.7; }
.ll3-about-text h2 { font-size: clamp(28px, 3vw, 42px); margin-bottom: 24px; }
.ll3-about-text a { color: #D81818; text-decoration: none; font-weight: 600; }
.ll3-about-text a:hover { text-decoration: underline; }
.ll3-infographic { width: 100%; border: 1px solid #e5e5e5; }
.ll3-card-actions { display: flex; gap: 8px; margin-top: 12px; justify-content: center; }
.ll3-about-card { position: sticky; top: 24px; }

/* ===== TESTIMONIAL ===== */
.ll3-testimonial { padding: 48px 0; border-top: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5; }
.ll3-testimonial-inner { display: flex; align-items: flex-start; gap: 20px; max-width: 700px; }
.ll3-testimonial-photo { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 2px solid #e5e5e5; }
.ll3-testimonial blockquote { font-size: 17px; line-height: 1.7; font-style: italic; color: #1a1a2e; margin: 8px 0; }
.ll3-testimonial cite { font-size: 13px; color: #888; font-style: normal; font-weight: 600; }

/* ===== GROUPS ===== */
.ll3-groups { padding: 80px 0; background: #fafafa; }
.ll3-groups h2 { font-size: clamp(28px, 3vw, 42px); margin-bottom: 16px; }
.ll3-groups p { font-size: 17px; color: #555; max-width: 600px; margin-bottom: 24px; }
.ll3-groups-note { padding: 32px 0; background: #fafafa; }
.ll3-groups-note p { font-size: 15px; color: #888; margin: 0; }
.ll3-groups-note a { color: #D81818; font-weight: 600; text-decoration: none; }

/* ===== FAQ ===== */
.ll3-faq { padding: 80px 0; }
.ll3-faq h2 { font-size: clamp(28px, 3vw, 42px); margin-bottom: 32px; }
.ll3-faq-list { max-width: 800px; }
.ll3-faq-item { border-bottom: 1px solid #e5e5e5; }
.ll3-faq-item summary { padding: 20px 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; }
.ll3-faq-item summary::after { content: "+"; font-size: 24px; font-weight: 300; color: #ccc; }
.ll3-faq-item[open] summary::after { content: "\2212"; }
.ll3-faq-item summary::-webkit-details-marker { display: none; }
.ll3-faq-answer { padding: 0 0 20px; font-size: 16px; line-height: 1.7; color: #555; }

/* ===== TUTOR RECRUITMENT ===== */
.ll3-recruit { padding: 24px 0; border-top: 1px solid #e5e5e5; background: #fff; }
.ll3-recruit-inner { text-align: center; }
.ll3-recruit p { font-size: 15px; color: #888; margin: 0; }
.ll3-recruit a { color: #D81818; font-weight: 700; text-decoration: none; text-transform: uppercase; letter-spacing: .06em; font-size: 13px; }
.ll3-recruit a:hover { color: #1a1a2e; text-decoration: none; }
.ll3-recruit a span { display: inline-block; transition: transform .15s; }
.ll3-recruit a:hover span { transform: translateX(4px); }

/* ===== FINAL CTA ===== */
.ll3-final-cta { padding: 80px 0; background: #1a1a2e; color: #fff; text-align: center; }
.ll3-final-cta h2 { color: #fff; font-size: clamp(28px, 3.5vw, 48px); }
.ll3-final-cta p { font-size: 17px; color: rgba(255,255,255,.7); margin-bottom: 28px; }
.ll3-final-cta a[href^="tel"] { color: #F0D818; text-decoration: none; font-weight: 700; }
.ll3-final-cta .ll3-btn-primary:hover { background: #fff; color: #1a1a2e; border-color: #fff; }
.ll3-final-cta .ll3-eyebrow { color: rgba(255,255,255,.5); }
.ll3-final-cta .ll3-eyebrow::before { background: #D81818; }

/* ===== MOBILE ===== */
@media (max-width: 900px) {
  .ll3-hero-inner { grid-template-columns: 1fr; gap: 24px; }
  .ll3-hero-visual { order: -1; }
  .ll3-trust-grid { grid-template-columns: repeat(2, 1fr); }
  .ll3-why-grid { grid-template-columns: 1fr; }
  .ll3-about-split { grid-template-columns: 1fr; }
  .ll3-about-card { position: static; }
  .ll3-container, .ll3-container-wide { padding: 0 20px; }
  .ll3-deco { display: none; }
}
@media (max-width: 899px) and (min-width: 481px) {
  .ll3-trust-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .ll3-why-grid { grid-template-columns: 1fr; }
  .ll3-about-split { grid-template-columns: 1fr; }
  .ll3-hero-badge { bottom: -12px; right: -12px; padding: 10px 14px; }
  .ll3-hero-badge-num { font-size: 16px; }
}

@media (max-width: 480px) {
  .ll3-hero-ctas { flex-direction: column; }
  .ll3-btn { width: 100%; justify-content: center; }
  .ll3-trust-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .ll3-trust-item strong { font-size: 22px; }
}

/* Production Astra override — force full width, no sidebar */
body.page-template-page-language-landing-v3 .ast-container,
body.page-template-page-language-landing-v3 #primary,
body.page-template-page-language-landing-v3 #content,
body.page-template-page-language-landing-v3 .entry-content,
body.page-template-page-language-landing-v3 article.post,
body.page-template-page-language-landing-v3 .site-content {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    float: none !important;
}
body.page-template-page-language-landing-v3 #secondary,
body.page-template-page-language-landing-v3 .sidebar {
    display: none !important;
}
body.page-template-page-language-landing-v3.ast-separate-container #content {
    padding: 0 !important;
    background: transparent !important;
}
body.page-template-page-language-landing-v3.ast-separate-container .ast-article-single {
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}
body.page-template-page-language-landing-v3 .entry-header,
body.page-template-page-language-landing-v3 .entry-title,
body.page-template-page-language-landing-v3 .post-thumb-img-content {
    display: none !important;
}
body.page-template-page-language-landing-v3.ast-right-sidebar #primary {
    width: 100% !important;
    border: none !important;
}
