/* ShadowTeacher.id — professional overlay on Affan template */
:root {
  --primary-50: #f0fdfa;
  --primary-100: #ccfbf1;
  --primary-200: #99f6e4;
  --primary-300: #5eead4;
  --primary-400: #2dd4bf;
  --primary-500: #0d9488;
  --primary-600: #0f766e;
  --primary-700: #0f766e;
  --primary-800: #115e59;
  --primary-900: #134e4a;
  --primary-950: #042f2e;
  --secondary-500: #64748b;
  --secondary-700: #475569;
  --warning-500: #f1b10f;
  --warning-700: #c18d0b;
  --text: #5b6b6a;
  --border: #cceee8;
  --dark: #042f2e;
  --dark-primary: #0a2e2a;
  --dark-secondary: #123330;
}

body,
html {
  background-color: var(--primary-50);
}

.st-skip {
  position: absolute;
  left: 8px;
  top: 8px;
  z-index: 2000;
  background: #fff;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
}

.header-area {
  height: 56px;
  box-shadow: 0 8px 24px rgba(4, 47, 46, 0.06);
}

.header-content {
  height: 56px;
}

.page-content-wrapper {
  margin-top: 56px;
}

.st-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.st-brand img {
  width: 32px;
  height: 32px;
  max-height: 32px !important;
  border-radius: 8px;
}

.st-brand-text {
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--primary-950);
  letter-spacing: -0.4px;
}

.st-brand-text span {
  color: var(--primary-500);
}

.st-desktop-nav {
  gap: 0.25rem;
}

.st-desktop-nav a {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary-950);
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
}

.st-desktop-nav a.active,
.st-desktop-nav a:hover {
  background: var(--primary-100);
  color: var(--primary-700);
}

.st-desktop-nav .btn {
  color: inherit;
}

.st-desktop-nav .btn:hover,
.st-desktop-nav .btn.active {
  background: var(--warning-500);
  color: #042f2e;
}

.st-logo-mark {
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.st-logo-mark img {
  width: 72%;
  height: 72%;
  object-fit: contain;
}

.st-hero {
  background:
    radial-gradient(circle at 88% 12%, rgba(241, 177, 15, 0.22), transparent 32%),
    linear-gradient(160deg, #0f766e 0%, #042f2e 100%);
  color: #fff;
  padding: 1.75rem 0 2rem;
  position: relative;
  overflow: hidden;
}

.st-hero h1 {
  color: #fff;
  font-size: 1.65rem;
  line-height: 1.28;
  margin-bottom: 0.55rem;
  letter-spacing: -0.5px;
}

.st-hero p {
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 1rem;
}

.st-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  border-radius: 999px;
  padding: 0.28rem 0.7rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 0.85rem;
}

.st-search-card {
  position: relative;
  z-index: 1;
  border: 0;
  box-shadow: 0 16px 40px rgba(4, 47, 46, 0.18);
}

.st-search-card .form-control,
.st-search-card .form-select,
.st-filter-bar .form-control,
.st-filter-bar .form-select {
  min-height: 46px;
  border-radius: 12px;
}

.st-quick-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.85rem;
}

.st-quick-chips a {
  background: rgba(255, 255, 255, 0.12);
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 0.22rem 0.7rem;
  font-size: 0.72rem;
  font-weight: 600;
  text-decoration: none;
}

.st-avatar {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
  font-size: 0.95rem;
}

.st-avatar-lg {
  width: 76px;
  height: 76px;
  border-radius: 22px;
  font-size: 1.35rem;
}

.st-card-title {
  font-weight: 700;
  color: var(--primary-950);
  font-size: 0.95rem;
  line-height: 1.35;
}

.st-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.st-chip {
  display: inline-flex;
  align-items: center;
  background: var(--primary-100);
  color: var(--primary-800);
  border-radius: 999px;
  padding: 0.15rem 0.55rem;
  font-size: 0.7rem;
  font-weight: 600;
}

.st-chip-muted {
  background: #eef2f1;
  color: #475569;
}

.st-chip-link {
  text-decoration: none;
}

a.st-chip {
  color: var(--primary-800);
}

.st-city-grid .card,
.st-city-grid a.card {
  height: 100%;
  text-align: center;
  border: 0;
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.st-city-grid a.card:hover {
  transform: translateY(-2px);
}

.st-city-icon {
  width: 42px;
  height: 42px;
  margin: 0 auto 0.5rem;
  border-radius: 12px;
  background: var(--primary-100);
  color: var(--primary-700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}

.st-audience-card {
  border: 0;
}

.st-audience-card .st-city-icon {
  margin: 0 0 0.65rem;
}

.st-audience-card h6 {
  font-size: 0.95rem;
  color: var(--primary-950);
}

.st-article-thumb {
  width: 92px;
  min-height: 100%;
  background: linear-gradient(160deg, #0d9488, #115e59);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.6rem;
  flex-shrink: 0;
}

.st-prose h1 {
  font-size: 1.45rem;
  letter-spacing: -0.3px;
}

.st-prose h2,
.st-prose h3 {
  font-size: 1.08rem;
  margin-top: 1.1rem;
}

.st-prose p,
.st-prose li {
  font-size: 0.94rem;
  line-height: 1.75;
  color: var(--text);
}

.st-stat {
  text-align: center;
}

.st-stat strong {
  display: block;
  font-size: 1.25rem;
  color: var(--primary-950);
}

.st-stat span {
  font-size: 0.72rem;
  color: var(--secondary-700);
}

.st-cta-band {
  background: linear-gradient(135deg, #0d9488, #115e59) !important;
  border: 0;
}

.sidenav-profile.bg-gradient {
  background: linear-gradient(135deg, #0d9488, #042f2e) !important;
}

.user-profile.st-logo-mark img {
  border-radius: 16px;
}

.st-alert-success {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  border-radius: 0.75rem;
  padding: 0.85rem 1rem;
}

.st-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  list-style: none;
  padding: 0;
  margin: 0 0 0.85rem;
  font-size: 0.75rem;
}

.st-breadcrumb li:not(:last-child)::after {
  content: "/";
  margin-left: 0.25rem;
  color: #94a3b8;
}

.st-breadcrumb a {
  color: var(--primary-600);
}

.st-link-more {
  font-size: 0.75rem;
  font-weight: 700;
  text-decoration: none;
}

.st-line-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-clamp: 2;
  overflow: hidden;
}

.st-step-card,
.st-quote-card {
  height: 100%;
  border: 0;
}

.st-step-num {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--primary-100);
  color: var(--primary-800);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  margin-bottom: 0.65rem;
}

.st-quote-card p {
  font-size: 0.9rem;
  line-height: 1.65;
}

.st-empty-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto;
  border-radius: 16px;
  background: var(--primary-100);
  color: var(--primary-700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.st-hp {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

.st-site-footer {
  background: #042f2e;
  color: rgba(255, 255, 255, 0.82);
  padding: 2rem 0 6.5rem;
  margin-top: 0.5rem;
}

.st-site-footer .st-brand-text {
  color: #fff;
}

.st-site-footer a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}

.st-site-footer a:hover {
  color: #f1b10f;
}

.st-footer-title {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #99f6e4;
  margin-bottom: 0.75rem;
}

.st-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.st-footer-links li {
  margin-bottom: 0.4rem;
}

.st-footer-links a {
  font-size: 0.82rem;
}

.st-footer-cities {
  columns: 1;
}

.st-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 1.5rem;
  padding-top: 1rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.65);
}

.st-wa-float {
  position: fixed;
  right: 16px;
  bottom: 78px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #16a34a;
  color: #fff !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  z-index: 1040;
  box-shadow: 0 10px 24px rgba(22, 163, 74, 0.35);
}

.st-profile-meta li {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.45rem;
  font-size: 0.88rem;
}

.st-app-hero {
  background: linear-gradient(160deg, #0f766e, #042f2e);
  color: #fff;
  border-radius: 1.25rem;
  padding: 1.5rem;
}

.st-app-hero h1,
.st-app-hero p {
  color: #fff;
}

.fw-500 { font-weight: 500; }
.fw-600 { font-weight: 600; }
.fz-13 { font-size: 0.8125rem; }

@media (min-width: 768px) {
  .st-hero h1 {
    font-size: 2.15rem;
  }

  .page-content-wrapper .container,
  .header-area .container,
  .st-site-footer .container {
    max-width: 760px;
  }

  .st-footer-cities {
    columns: 2;
  }
}

@media (min-width: 992px) {
  .header-area,
  .header-content {
    height: 68px;
  }

  .page-content-wrapper {
    margin-top: 68px;
    margin-bottom: 0;
    max-width: 1120px;
    margin-left: auto;
    margin-right: auto;
  }

  .page-content-wrapper .container,
  .header-area .container,
  .st-site-footer .container {
    max-width: 1120px;
  }

  .footer-nav-area {
    display: none;
  }

  .st-site-footer {
    padding-bottom: 2rem;
  }

  .st-wa-float {
    bottom: 24px;
  }

  .st-hero {
    border-radius: 0 0 1.75rem 1.75rem;
    padding: 3rem 0 3.1rem;
  }

  .st-md-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .st-md-3col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
}

[data-theme="dark"] .st-brand-text {
  color: #fff;
}

[data-theme="dark"] .st-card-title,
[data-theme="dark"] .blog-title {
  color: #fff;
}

[data-theme="dark"] .st-chip {
  background: rgba(13, 148, 136, 0.2);
  color: #99f6e4;
}

[data-theme="dark"] .st-chip-muted {
  background: rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
}

[data-theme="dark"] .st-hero {
  background: linear-gradient(160deg, #134e4a 0%, #021716 100%);
}

[data-theme="dark"] .st-site-footer {
  background: #021716;
}
