/*
 * _educator-landing.css
 *
 * Styles for Plus-tier educator landing pages.
 * Prefixed with _ so Quarto does not serve it until wired up.
 *
 * Class prefix: el- (educator landing)
 * Uses CSS variables from mmio.css (--bg, --ink, --brand, --cta, etc.)
 *
 * Layout: Two-column (main + sidebar) on desktop, single-column on mobile.
 * Breakpoints: 768px (tablet), 480px (phone)
 */


/* === PAGE CONTAINER === */

.el-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
}


/* === HERO SECTION === */

.el-hero {
  text-align: center;
  padding: 2.5rem 1rem 2rem;
  border-bottom: 1px solid var(--accent, #e8eefc);
  margin-bottom: 2rem;
}

.el-hero__content {
  max-width: 700px;
  margin: 0 auto;
}

.el-hero__photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--accent, #e8eefc);
  margin-bottom: 1rem;
  box-shadow: 0 4px 12px rgba(11, 37, 69, 0.1);
}

.el-hero__title {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 700;
  color: var(--ink, #0b2545);
  margin: 0 0 0.25rem;
  line-height: 1.2;
}

.el-hero__subtitle {
  font-size: 1.1rem;
  color: var(--muted, #5f6b7a);
  margin: 0 0 0.75rem;
}


/* === STAR RATING === */

.el-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.el-rating__stars {
  color: #f5a623;
  font-size: 1.15rem;
  letter-spacing: 1px;
}

.el-rating__value {
  font-weight: 700;
  color: var(--ink, #0b2545);
}

.el-rating__count {
  color: var(--muted, #5f6b7a);
}


/* === BADGES === */

.el-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.el-badges__group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: center;
}

.el-badge {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  white-space: nowrap;
}

.el-badge--format {
  background: var(--accent, #e8eefc);
  color: var(--brand, #113cfc);
}

.el-badge--age {
  background: #fff3e0;
  color: #e65100;
}

.el-badge--instrument {
  background: #e8f5e9;
  color: #2e7d32;
}

.el-instruments {
  margin-bottom: 2rem;
}

.el-instruments h2 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink, #0b2545);
  margin-bottom: 0.75rem;
}

.el-instruments .el-badges__group {
  justify-content: flex-start;
}


/* === TWO-COLUMN BODY === */

.el-body {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2rem;
  align-items: start;
}

.el-body__main {
  min-width: 0;
}

.el-body__sidebar {
  position: sticky;
  top: 1.5rem;
}


/* === ABOUT SECTION === */

.el-about {
  margin-bottom: 2rem;
}

.el-about h2 {
  font-size: 1.25rem;
  color: var(--ink, #0b2545);
  margin: 0 0 0.75rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--accent, #e8eefc);
}

.el-about p {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink, #0b2545);
  margin: 0;
}

.el-about--google {
  margin-top: -0.5rem;
}

.el-about__google {
  font-style: italic;
  color: var(--muted, #5f6b7a);
  font-size: 0.9rem;
}


/* === BUSINESS HOURS === */

.el-hours {
  margin-bottom: 2rem;
}

.el-hours h2 {
  font-size: 1.25rem;
  color: var(--ink, #0b2545);
  margin: 0 0 0.75rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--accent, #e8eefc);
}

.el-hours__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.el-hours__table td {
  padding: 0.5rem 0;
  border-bottom: 1px solid #f0f0f0;
}

.el-hours__table td:first-child {
  font-weight: 600;
  color: var(--ink, #0b2545);
  width: 40%;
}

.el-hours__table td:last-child {
  color: var(--muted, #5f6b7a);
  text-align: right;
}


/* === REVIEWS === */

.el-reviews {
  margin-bottom: 2rem;
}

.el-reviews h2 {
  font-size: 1.25rem;
  color: var(--ink, #0b2545);
  margin: 0 0 0.75rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--accent, #e8eefc);
}

.el-review-card {
  background: var(--panel, #ffffff);
  border: 1px solid #eee;
  border-radius: var(--radius-md, 12px);
  padding: 1rem 1.25rem;
  margin-bottom: 0.75rem;
  box-shadow: 0 2px 6px rgba(11, 37, 69, 0.04);
}

.el-review-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.el-review-card__author {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink, #0b2545);
}

.el-review-card__stars {
  color: #f5a623;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

.el-review-card__text {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--ink, #0b2545);
  margin: 0 0 0.4rem;
}

.el-review-card__time {
  font-size: 0.8rem;
  color: var(--muted, #5f6b7a);
}

.el-review-card__author-photo {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

a.el-review-card__author {
  color: var(--ink, #0b2545);
  text-decoration: none;
}

a.el-review-card__author:hover {
  text-decoration: underline;
}

.el-review-sort-note {
  font-size: 0.75rem;
  color: var(--muted, #5f6b7a);
  font-style: italic;
  margin-bottom: 0.75rem;
}

.el-google-attribution {
  font-size: 0.75rem;
  color: var(--muted, #5f6b7a);
  text-align: right;
  margin-top: 0.5rem;
}


/* === CTA BUTTON === */

.el-cta {
  margin-bottom: 1.5rem;
}

.el-cta__button {
  display: block;
  width: 100%;
  padding: 0.85rem 1.5rem;
  background: var(--cta, #ff8a65);
  color: var(--cta-ink, #ffffff);
  border: none;
  border-radius: var(--radius-sm, 10px);
  font-size: 1.05rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
  box-shadow: 0 4px 12px rgba(255, 138, 101, 0.3);
}

.el-cta__button:hover {
  background: #ff7043;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(255, 138, 101, 0.4);
}

.el-cta__button:active {
  transform: translateY(0);
}


/* === CONTACT SECTION === */

.el-contact {
  background: var(--panel, #ffffff);
  border: 1px solid #eee;
  border-radius: var(--radius-md, 12px);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

.el-contact h2 {
  font-size: 1.1rem;
  color: var(--ink, #0b2545);
  margin: 0 0 0.75rem;
}

.el-contact__item {
  font-size: 0.9rem;
  margin-bottom: 0.6rem;
  line-height: 1.4;
}

.el-contact__item:last-child {
  margin-bottom: 0;
}

.el-contact__item strong {
  color: var(--ink, #0b2545);
}

.el-contact__item a {
  color: var(--brand, #113cfc);
  text-decoration: none;
  word-break: break-word;
}

.el-contact__item a:hover {
  text-decoration: underline;
}


/* === MARKETING LINKS === */

.el-links {
  margin-bottom: 1.5rem;
}

.el-links h2 {
  font-size: 1.1rem;
  color: var(--ink, #0b2545);
  margin: 0 0 0.75rem;
}

.el-links__grid {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.el-link {
  display: block;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm, 10px);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  text-align: center;
  transition: background 0.2s ease;
  border: 1px solid #eee;
  color: var(--ink, #0b2545);
  background: var(--panel, #ffffff);
}

.el-link:hover {
  background: var(--accent, #e8eefc);
}

.el-link--social_media {
  border-color: var(--brand, #113cfc);
  color: var(--brand, #113cfc);
}

.el-link--booking {
  border-color: var(--cta, #ff8a65);
  color: #d84315;
}

.el-link--calendar {
  border-color: #4caf50;
  color: #2e7d32;
}

.el-link--website {
  border-color: var(--muted, #5f6b7a);
}

.el-link--promo {
  border-color: #d4a700;
  color: #b38f00;
}


/* === POWERED BY / ATTRIBUTION === */

.el-powered {
  text-align: center;
  padding: 1rem 0;
  border-top: 1px solid #eee;
  margin-top: 1rem;
}

.el-powered p {
  font-size: 0.85rem;
  color: var(--muted, #5f6b7a);
  margin: 0;
}

.el-powered a {
  color: var(--brand, #113cfc);
  font-weight: 600;
  text-decoration: none;
}

.el-powered a:hover {
  text-decoration: underline;
}


/* === SSR-ONLY: MINIMAL HEADER/FOOTER ===
   Used by educator_page_ssr.py standalone HTML.
   Not needed for Quarto-rendered pages (Quarto provides its own). */

.el-site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
  border-bottom: 1px solid #eee;
  background: var(--panel, #ffffff);
}

.el-site-header__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--ink, #0b2545);
}

.el-site-header__logo img {
  height: 32px;
}

.el-site-header__nav {
  display: flex;
  gap: 1.25rem;
}

.el-site-header__nav a {
  color: var(--ink, #0b2545);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}

.el-site-header__nav a:hover {
  color: var(--brand, #113cfc);
}

.el-site-footer {
  text-align: center;
  padding: 1.5rem;
  margin-top: 2rem;
  border-top: 1px solid #eee;
  font-size: 0.85rem;
  color: var(--muted, #5f6b7a);
}

.el-site-footer a {
  color: var(--muted, #5f6b7a);
  text-decoration: none;
}

.el-site-footer a:hover {
  text-decoration: underline;
}


/* === RESPONSIVE: TABLET (768px) === */

@media (max-width: 768px) {
  .el-body {
    grid-template-columns: 1fr;
  }

  .el-body__sidebar {
    position: static;
    order: -1;
  }

  .el-hero__photo {
    width: 100px;
    height: 100px;
  }

  .el-hero__title {
    font-size: 1.5rem;
  }
}


/* === RESPONSIVE: PHONE (480px) === */

@media (max-width: 480px) {
  .el-page {
    padding: 0 1rem 2rem;
  }

  .el-hero {
    padding: 1.5rem 0.5rem 1.5rem;
  }

  .el-hero__photo {
    width: 80px;
    height: 80px;
  }

  .el-hero__title {
    font-size: 1.25rem;
  }

  .el-hero__subtitle {
    font-size: 0.95rem;
  }

  .el-rating {
    font-size: 0.85rem;
  }

  .el-badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.6rem;
  }

  .el-cta__button {
    font-size: 0.95rem;
    padding: 0.75rem 1rem;
  }

  .el-contact {
    padding: 1rem;
  }

  .el-review-card {
    padding: 0.75rem 1rem;
  }

  .el-site-header {
    padding: 0.5rem 1rem;
  }

  .el-site-header__nav {
    gap: 0.75rem;
  }
}


/* === RESPONSIVE: SMALL PHONE (320px) === */

@media (max-width: 320px) {
  .el-hero__title {
    font-size: 1.1rem;
  }

  .el-badges__group {
    gap: 0.25rem;
  }

  .el-hours__table td:first-child {
    width: 35%;
  }
}
