/* Hezoya – stats, horizontal testimonials, modern light blog reader */

/* ===== Stats ===== */
.hz-stats {
  padding: 2.5rem 1.25rem;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
  color: #f8fafc;
}
.hz-stats-inner {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  text-align: center;
}
@media (min-width: 640px) {
  .hz-stats-inner { grid-template-columns: repeat(4, 1fr); }
}
.hz-stat-num {
  display: block;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, #38bdf8, #a78bfa, #f472b6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.15;
}
.hz-stat-label {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.85rem;
  color: #94a3b8;
  font-weight: 500;
}

.hz-section-head {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 1.75rem;
  padding: 0 1rem;
}
.hz-section-head .eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #c4b5fd;
  margin-bottom: 0.5rem;
}
.hz-section-head h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 0.5rem;
  color: #f1f5f9 !important;
}
.hz-section-head p { margin: 0; color: #94a3b8 !important; font-size: 0.95rem; }

/* ===== HORIZONTAL testimonials ===== */
.hz-testimonials {
  padding: 3rem 0 2.5rem;
  background: transparent;
  overflow: hidden;
  position: relative;
}
.hz-slider {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2.75rem;
  box-sizing: border-box;
}
.hz-slider-viewport {
  overflow: hidden !important;
  width: 100%;
  border-radius: 20px;
  padding: 8px 0 12px;
}
.hz-slider-track {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  gap: 16px;
  width: max-content !important;
  will-change: transform;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
}
.hz-slider-track:active { cursor: grabbing; }

.hz-testi-card {
  flex: 0 0 300px !important;
  width: 300px !important;
  max-width: 300px !important;
  box-sizing: border-box;
  background: #ffffff !important;
  border-radius: 18px;
  padding: 1.2rem 1.15rem 1.1rem;
  box-shadow: 0 8px 28px rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex !important;
  flex-direction: column !important;
  min-height: 210px;
  position: relative;
  overflow: hidden;
  float: none !important;
  color: #0f172a !important;
}
.hz-testi-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #38bdf8, #a78bfa, #f472b6);
}

.hz-testi-top {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.65rem;
}
.hz-testi-flag {
  font-size: 1.85rem !important;
  line-height: 1;
  flex-shrink: 0;
}
.hz-testi-cc {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  padding: 0.15rem 0.4rem;
  border-radius: 6px;
  background: #eef2ff !important;
  color: #4338ca !important;
  font-size: 0.7rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.04em;
}
.hz-testi-quote-mark {
  margin-left: auto;
  font-size: 1.8rem;
  line-height: 0.7;
  font-weight: 700;
  color: #a78bfa !important;
  opacity: 0.85;
}

.hz-testi-card blockquote {
  margin: 0 0 0.9rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: #1e293b !important;
  flex: 1;
}
.hz-testi-card footer {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding-top: 0.75rem;
  border-top: 1px solid #e2e8f0 !important;
  margin-top: auto;
}
.hz-testi-card footer strong {
  font-size: 0.9rem !important;
  color: #0f172a !important;
  font-weight: 700 !important;
  display: block;
}
.hz-testi-meta {
  font-size: 0.8rem !important;
  color: #475569 !important;
  font-weight: 500 !important;
  display: block;
}

.hz-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-60%);
  z-index: 5;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: #fff !important;
  color: #4f46e5 !important;
  font-size: 1.5rem;
  line-height: 1;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hz-slider-btn:hover {
  background: #4f46e5 !important;
  color: #fff !important;
}
.hz-slider-prev { left: 0.15rem; }
.hz-slider-next { right: 0.15rem; }

.hz-slider-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 1rem;
  flex-wrap: wrap;
}
.hz-slider-dots button {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  border: none;
  background: #64748b;
  padding: 0;
  cursor: pointer;
  transition: width 0.25s, background 0.25s;
  opacity: 0.5;
}
.hz-slider-dots button.is-active {
  width: 22px;
  background: #a78bfa;
  opacity: 1;
}

@media (min-width: 640px) {
  .hz-testi-card {
    flex: 0 0 320px !important;
    width: 320px !important;
    max-width: 320px !important;
  }
  .hz-slider { padding: 0 3.25rem; }
}
@media (min-width: 900px) {
  .hz-testi-card {
    flex: 0 0 340px !important;
    width: 340px !important;
    max-width: 340px !important;
    min-height: 220px;
  }
}

.hz-blog-teaser {
  padding: 2.5rem 1.25rem 1rem;
  text-align: center;
}
.hz-blog-cta { margin-top: 1rem; }

/* =========================================================
   BLOG – light “news paper” reader on dark site
   ========================================================= */
.blog-page {
  max-width: 880px;
  margin: 0 auto;
  padding: 1.5rem 1rem 4rem;
}

/* List cards – light surface */
.blog-list {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}
.blog-card {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 0;
  background: #ffffff !important;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  text-decoration: none !important;
  color: #0f172a !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.3);
}
.blog-card-img {
  width: 150px;
  height: 100%;
  min-height: 120px;
  object-fit: cover;
  background: linear-gradient(135deg, #e0e7ff, #fce7f3);
}
.blog-card-body {
  padding: 1.05rem 1.15rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #fff !important;
}
.blog-card-body h3 {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
  color: #0f172a !important;
  font-weight: 700;
  line-height: 1.3;
}
.blog-card-body p {
  margin: 0;
  font-size: 0.9rem;
  color: #475569 !important;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card-meta {
  font-size: 0.78rem;
  color: #64748b !important;
  margin-top: 0.5rem;
}
@media (max-width: 520px) {
  .blog-card { grid-template-columns: 1fr; }
  .blog-card-img { width: 100%; height: 180px; min-height: 180px; }
}

/* Article – full light reading panel */
.blog-article {
  max-width: 740px;
  margin: 1.25rem auto 3rem;
  padding: 1.75rem 1.5rem 2.5rem;
  background: #ffffff !important;
  color: #1e293b !important;
  border-radius: 20px;
  box-shadow: 0 12px 48px rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.06);
}
@media (min-width: 640px) {
  .blog-article {
    padding: 2.25rem 2.5rem 3rem;
  }
}

.blog-back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
  color: #6366f1 !important;
  text-decoration: none !important;
  font-weight: 600;
}
.blog-back:hover { color: #4f46e5 !important; }

.blog-article-cover-wrap {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  margin: 0 0 1.5rem;
  box-shadow: 0 8px 24px rgba(15,23,42,0.12);
}
.blog-article-cover {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  display: block;
}

.blog-article h1 {
  font-size: clamp(1.6rem, 4.5vw, 2.25rem) !important;
  margin: 0 0 0.65rem !important;
  color: #0f172a !important;
  font-weight: 800 !important;
  letter-spacing: -0.025em;
  line-height: 1.25 !important;
}

.blog-article-meta {
  font-size: 0.88rem !important;
  color: #64748b !important;
  margin-bottom: 1.75rem !important;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #e2e8f0;
}
.blog-article-meta .blog-dot {
  width: 4px; height: 4px; border-radius: 50%;
  background: #cbd5e1;
}

.blog-article-body {
  font-size: 1.1rem !important;
  line-height: 1.85 !important;
  color: #1e293b !important;
  font-family: Georgia, 'Times New Roman', 'Liberation Serif', serif;
}
.blog-article-body p {
  margin: 0 0 1.2rem !important;
  color: #1e293b !important;
}
.blog-article-body img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 1.5rem 0;
  display: block;
  box-shadow: 0 6px 20px rgba(15,23,42,0.1);
}
.blog-article-body a {
  color: #4f46e5 !important;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.blog-article-body h2,
.blog-article-body h3 {
  color: #0f172a !important;
  font-family: system-ui, -apple-system, sans-serif;
  margin: 1.75rem 0 0.75rem;
  font-weight: 700;
}

/* Section head on blog list page */
.blog-page .hz-section-head h2 { color: #f1f5f9 !important; }
.blog-page .hz-section-head p { color: #94a3b8 !important; }
.blog-page .hz-section-head .eyebrow { color: #c4b5fd !important; }

/* Admin form stays readable on dark UI */
.admin-blog-form label { display: block; margin: 0.75rem 0 0.25rem; font-weight: 600; }
.admin-blog-form input[type=text],
.admin-blog-form textarea {
  width: 100%;
  padding: 0.65rem 0.8rem;
  border: 1px solid #334155;
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
  line-height: 1.5;
  background: #1e1b2e;
  color: #f1f5f9;
}
.admin-blog-form textarea { min-height: 220px; resize: vertical; }
.admin-blog-form .hint { font-size: 0.8rem; color: #94a3b8; margin-top: 0.3rem; }
.admin-blog-list table { width: 100%; border-collapse: collapse; }
.admin-blog-list th, .admin-blog-list td {
  padding: 0.6rem 0.5rem;
  border-bottom: 1px solid #334155;
  text-align: left;
  font-size: 0.9rem;
}
.admin-blog-list img.thumb {
  width: 56px; height: 40px; object-fit: cover; border-radius: 6px;
}
