/* Ancient Languages — shared utility classes.
   Extracted from /proofs/ancient-languages-course-single.html (shared rules);
   .btn-white/.btn-ghost/.course-grid/.cta-banner/.eyebrow/.btn-group derived from
   /proofs/ancient_languages_homepage_proof.html inline values. */

/* BUTTONS */
.btn-primary { background: var(--blue); color: var(--white); border: none; padding: 14px 28px; font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 500; cursor: pointer; letter-spacing: 0.02em; text-decoration: none; display: inline-block; text-align: center; transition: background 0.2s; }
.btn-primary:hover { background: var(--blue-dark); }
.btn-secondary { background: var(--white); color: var(--blue); border: 1.5px solid var(--blue); padding: 14px 28px; font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 500; cursor: pointer; letter-spacing: 0.02em; text-decoration: none; display: inline-block; text-align: center; transition: all 0.2s; }
.btn-secondary:hover { background: var(--blue); color: var(--white); }
.btn-white { background: var(--white); color: var(--blue); border: none; padding: 14px 32px; font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 500; cursor: pointer; text-decoration: none; display: inline-block; text-align: center; }
.btn-ghost { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,0.5); padding: 14px 32px; font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 500; cursor: pointer; text-decoration: none; display: inline-block; text-align: center; }
.btn-group { display: flex; gap: 1rem; flex-wrap: wrap; }

/* BADGES */
.badge { font-size: 11px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; padding: 4px 10px; border-radius: 3px; display: inline-block; margin-right: 6px; margin-bottom: 1.25rem; }
.badge-blue { background: var(--blue-light); color: #0C447C; }
.badge-both { background: var(--blue-light); color: #0C447C; }
.badge-live { background: #FFF8E6; color: #854F0B; }
.badge-popular { background: var(--blue); color: var(--white); }

/* SECTION HELPERS */
.section-surface { background: var(--surface); }
.section-eyebrow { font-size: 12px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue); margin-bottom: 0.75rem; }
.section-heading { font-family: 'Cormorant Garamond', serif; font-size: 36px; font-weight: 500; color: var(--text); margin-bottom: 1.5rem; line-height: 1.2; }
.eyebrow { font-family: 'Inter', sans-serif; font-size: 12px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue); margin-bottom: 1.25rem; }

/* BREADCRUMB */
.breadcrumb { padding: 1rem 0; border-bottom: 1px solid var(--border); }
.breadcrumb-inner { font-size: 12px; color: var(--text-muted); }
.breadcrumb-inner a { color: var(--text-muted); text-decoration: none; }
.breadcrumb-inner a:hover { color: var(--blue); }
.breadcrumb-inner span { margin: 0 6px; }

/* TEXT LINK */
.text-link { font-family: 'Cormorant Garamond', serif; font-size: 15px; color: var(--blue); font-weight: 500; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

/* TESTIMONIALS */
.testimonial-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.testimonial-card { background: var(--white); border: 1px solid var(--border); padding: 1.75rem; border-radius: 4px; }
.testimonial-quote { font-family: 'Cormorant Garamond', serif; font-size: 18px; font-style: italic; color: var(--text); line-height: 1.65; margin-bottom: 1rem; }
.testimonial-author { font-size: 12px; color: var(--text-muted); }

/* COURSE CARDS */
.course-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1.5rem; }
.course-card { background: var(--white); border: 1px solid var(--border); padding: 1.5rem; border-radius: 4px; display: flex; flex-direction: column; transition: border-color 0.2s; }
.course-card:hover { border-color: var(--blue); }
.course-card.featured { border: 2px solid var(--blue); }
.card-title { font-family: 'Cormorant Garamond', serif; font-size: 20px; font-weight: 500; color: var(--text); margin-bottom: 0.625rem; line-height: 1.3; }
.card-excerpt { font-size: 13px; color: var(--text-muted); line-height: 1.65; margin-bottom: 1rem; flex: 1; }
.card-footer { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--border); }
.card-meta { font-size: 12px; color: var(--text-muted); }
.card-link { font-family: 'Cormorant Garamond', serif; font-size: 15px; color: var(--blue); font-weight: 500; text-decoration: none; }
.card-link:hover { text-decoration: underline; }

/* ABOUT SNIPPET */
.about-snippet { display: flex; gap: 2rem; align-items: center; padding: 2.5rem; background: var(--white); border: 1px solid var(--border); border-radius: 4px; }
.about-snippet-photo { width: 80px; height: 80px; border-radius: 50%; background: var(--blue-light); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.about-snippet-photo span { font-family: 'Cormorant Garamond', serif; font-size: 24px; font-style: italic; color: var(--blue); opacity: 0.5; }
.about-snippet-content h4 { font-family: 'Cormorant Garamond', serif; font-size: 20px; font-weight: 500; color: var(--text); margin-bottom: 0.5rem; }
.about-snippet-content p { font-size: 13px; color: var(--text-mid); line-height: 1.65; margin-bottom: 0.75rem; }

/* CTA BANNER */
.cta-banner { background: var(--blue); padding: 4rem 0; text-align: center; }
.cta-banner h2 { font-family: 'Cormorant Garamond', serif; font-size: 42px; font-weight: 500; font-style: italic; color: var(--white); margin-bottom: 1rem; }
.cta-banner p { font-family: 'Inter', sans-serif; font-size: 15px; color: rgba(255,255,255,0.75); margin-bottom: 2rem; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .testimonial-grid { grid-template-columns: 1fr; }
  .about-snippet { flex-direction: column; gap: 1.25rem; text-align: center; }
}
@media (max-width: 600px) {
  .section-heading { font-size: 30px; }
  .cta-banner h2 { font-size: 32px; }
}

/* Steps grid (self-study "how it works") — Phase 5b */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.step { background: var(--white); border: 1px solid var(--border); padding: 1.75rem; border-radius: 4px; }
.step-number { font-family: var(--font-serif); font-size: 48px; font-weight: 600; color: var(--blue); opacity: 0.2; line-height: 1; margin-bottom: 0.75rem; }
.step h4 { font-family: var(--font-serif); font-size: 20px; font-weight: 500; color: var(--text); margin-bottom: 0.5rem; }
.step p { font-size: 13px; color: var(--text-muted); line-height: 1.65; }

/* Delivery explainer grid (online classes) — Phase 5b */
.delivery-explainer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.delivery-explain-card { background: var(--white); border: 1px solid var(--border); border-radius: 4px; padding: 2rem; }
.delivery-explain-card.featured-card { border: 2px solid var(--blue); }
.delivery-li { font-size: 13px; color: var(--text-muted); padding: 7px 0; border-bottom: 1px solid var(--border); display: flex; align-items: flex-start; gap: 10px; }
.delivery-li:last-child { border-bottom: none; }
.delivery-li::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--blue); flex-shrink: 0; margin-top: 5px; }

@media (max-width: 900px) {
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .delivery-explainer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .steps-grid { grid-template-columns: 1fr; }
}

/* PROSE — WP editor content (privacy policy, refund policy) */
.prose h2 { font-family: var(--font-serif); font-size: 26px; font-weight: 500; color: var(--text); margin-top: 2.5rem; margin-bottom: 0.75rem; line-height: 1.25; }
.prose h3 { font-family: var(--font-serif); font-size: 20px; font-weight: 500; color: var(--text); margin-top: 2rem; margin-bottom: 0.5rem; }
.prose p { font-size: 15px; color: var(--text-mid); line-height: 1.8; margin-bottom: 1.25rem; }
.prose ul, .prose ol { font-size: 15px; color: var(--text-mid); line-height: 1.8; margin-bottom: 1.25rem; padding-left: 1.5rem; }
.prose li { margin-bottom: 0.4rem; }
.prose a { color: var(--blue); text-decoration: underline; }
.prose a:hover { color: var(--blue-dark); }
.prose strong { font-weight: 600; color: var(--text); }
.prose hr { border: none; border-top: 1px solid var(--border); margin: 2.5rem 0; }

/* Hide duplicated h1 from WP editor content on legal pages */
.prose > h1:first-child { display: none; }
