﻿/* =========================
   HOS Homepage - Teachers & Schools
========================= */

.hos-teacher-school {
  margin: 34px auto;
  padding: 0 16px;
}

.hos-teacher-school__inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.35fr);
  gap: 24px;
  align-items: stretch;
  background: linear-gradient(135deg, #f8fafc 0%, #eef7f1 100%);
  border: 1px solid #dfeee5;
  border-radius: 22px;
  padding: 26px;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.07);
}

.hos-teacher-school__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hos-section-eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  padding: 7px 12px;
  border-radius: 999px;
  background: #e7f6ec;
  color: #257a3e;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.hos-teacher-school h2 {
  margin: 0 0 10px;
  color: #172033;
  font-size: 30px;
  line-height: 1.12;
  font-weight: 900;
}

.hos-teacher-school__content p {
  margin: 0;
  color: #526072;
  font-size: 16px;
  line-height: 1.6;
}

.hos-teacher-school__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.hos-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

  .hos-btn:hover,
  .hos-btn:focus {
    text-decoration: none;
    transform: translateY(-1px);
  }

.hos-btn--primary {
  background: #2f8f46;
  border: 1px solid #2f8f46;
  color: #fff;
  box-shadow: 0 10px 22px rgba(47, 143, 70, 0.22);
}

  .hos-btn--primary:hover,
  .hos-btn--primary:focus {
    background: #267a3b;
    border-color: #267a3b;
    color: #fff;
  }

.hos-btn--secondary {
  background: #fff;
  border: 1px solid #cfdbe6;
  color: #1f2a3d;
}

  .hos-btn--secondary:hover,
  .hos-btn--secondary:focus {
    background: #f8fafc;
    border-color: #b8c7d6;
    color: #1f2a3d;
  }

.hos-teacher-school__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.hos-teacher-school__card {
  background: #fff;
  border: 1px solid #e3e9ef;
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.055);
}

.hos-teacher-school__icon {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  border-radius: 12px;
  background: #eff8f2;
  color: #2f8f46;
  font-size: 14px;
  font-weight: 900;
}

.hos-teacher-school__card h3 {
  margin: 0 0 7px;
  color: #172033;
  font-size: 17px;
  line-height: 1.25;
  font-weight: 900;
}

.hos-teacher-school__card p {
  margin: 0;
  color: #5d6878;
  font-size: 14px;
  line-height: 1.5;
}

/* =========================
   Responsive
========================= */

@media (max-width: 1024px) {
  .hos-teacher-school__inner {
    grid-template-columns: 1fr;
  }

  .hos-teacher-school__content {
    text-align: center;
    align-items: center;
  }

  .hos-teacher-school__actions {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .hos-teacher-school {
    margin: 26px auto;
    padding: 0 12px;
  }

  .hos-teacher-school__inner {
    padding: 20px;
    border-radius: 18px;
  }

  .hos-teacher-school h2 {
    font-size: 25px;
  }

  .hos-teacher-school__content p {
    font-size: 15px;
  }

  .hos-teacher-school__cards {
    grid-template-columns: 1fr;
  }

  .hos-teacher-school__card {
    padding: 16px;
  }

  .hos-btn {
    width: 100%;
  }
}
