/* ============================================================
   bestiptvmaroc.store — Page-Specific Styles
   Supplements style.css for inner pages and blog
   ============================================================ */

/* ── Article / Blog Post ── */
.article-content {
  font-size: var(--text-base);
  line-height: 1.85;
  color: var(--text-2);
}
.article-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--text);
  margin: clamp(36px,5vw,56px) 0 var(--space-4);
  letter-spacing: -.025em;
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--border);
}
.article-content h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 1.8vw, 1.375rem);
  font-weight: 700;
  color: var(--text);
  margin: clamp(28px,4vw,40px) 0 var(--space-3);
  letter-spacing: -.02em;
}
.article-content p { margin-bottom: var(--space-5); color: var(--text-2) }
.article-content ul, .article-content ol {
  padding-left: var(--space-5);
  margin-bottom: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.article-content li { font-size: var(--text-base); color: var(--text-2); line-height: 1.75 }
.article-content strong { color: var(--text); font-weight: 700 }
.article-content a { color: var(--emerald); border-bottom: 1px solid rgba(16,185,129,.3); transition: border-color var(--t-fast) }
.article-content a:hover { border-color: var(--emerald) }

.article-tip {
  background: var(--bg-card);
  border-left: 3px solid var(--emerald);
  border-radius: 0 var(--r-lg) var(--r-lg) 0;
  padding: var(--space-5) var(--space-6);
  margin: var(--space-8) 0;
}
.article-tip-label {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--emerald);
  margin-bottom: var(--space-2);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.article-warn {
  background: rgba(245,158,11,.05);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--r-lg) var(--r-lg) 0;
  padding: var(--space-5) var(--space-6);
  margin: var(--space-8) 0;
}
.article-warn-label {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--gold);
  margin-bottom: var(--space-2);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

/* Article layout */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: clamp(32px,5vw,56px);
  align-items: start;
}
.article-sidebar {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}
.sidebar-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--space-6);
}
.sidebar-card h4 {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text-3);
  margin-bottom: var(--space-4);
}
.sidebar-links { display: flex; flex-direction: column; gap: var(--space-2) }
.sidebar-links a {
  font-size: var(--text-sm);
  color: var(--text-2);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--r-md);
  border: 1px solid transparent;
  transition: var(--t-fast);
  display: block;
}
.sidebar-links a:hover {
  color: var(--emerald);
  background: rgba(16,185,129,.05);
  border-color: rgba(16,185,129,.15);
}

/* Article meta bar */
.article-meta-bar {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  font-size: var(--text-sm);
  color: var(--text-3);
  padding: var(--space-5) 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: var(--space-8);
  flex-wrap: wrap;
}
.article-meta-bar span {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

/* ── Inline step cards (used in app guides) ── */
.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: clamp(22px,3vw,32px);
  display: flex;
  gap: var(--space-5);
  align-items: flex-start;
  transition: border-color var(--t-base);
}
.step-card:hover { border-color: var(--border-em) }
.step-badge {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--emerald);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(16,185,129,.28);
}
.step-body h3 {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-3);
  letter-spacing: -.02em;
}
.step-body p { font-size: var(--text-sm); color: var(--text-2); line-height: 1.8 }

/* ── Info box ── */
.info-box {
  background: rgba(16,185,129,.04);
  border: 1px solid rgba(16,185,129,.15);
  border-radius: var(--r-lg);
  padding: var(--space-5) var(--space-6);
  margin: var(--space-6) 0;
  font-size: var(--text-sm);
  color: var(--text-2);
  line-height: 1.75;
}

/* ── Spec grid for comparison table wrapper ── */
.spec-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-3) 0;
  border-bottom: 1px solid rgba(255,255,255,.04);
  font-size: var(--text-sm);
}
.spec-row:last-child { border-bottom: none }
.spec-label { color: var(--text-3); font-weight: 600 }
.spec-value { color: var(--text); font-weight: 700; font-family: var(--font-heading) }
.spec-value.em { color: var(--emerald) }
.spec-value.gold { color: var(--gold) }

/* ── FAQ page category headings ── */
.faq-cat-title {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--emerald);
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid rgba(16,185,129,.15);
  letter-spacing: -.025em;
}

/* ── Legal page styles ── */
.legal-article {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: clamp(32px,5vw,56px);
  display: flex;
  flex-direction: column;
  gap: clamp(28px,4vw,40px);
}
.legal-section h2 {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-4);
  letter-spacing: -.02em;
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--border);
}
.legal-section p { font-size: var(--text-sm); color: var(--text-2); line-height: 1.85; margin-bottom: var(--space-3) }
.legal-section ul { padding-left: var(--space-5); display: flex; flex-direction: column; gap: var(--space-2) }
.legal-section li { font-size: var(--text-sm); color: var(--text-2); line-height: 1.75 }

/* ── Contact page ── */
.contact-method {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: clamp(22px,3vw,32px);
  display: flex;
  gap: var(--space-5);
  align-items: flex-start;
  transition: border-color var(--t-base), transform var(--t-base);
}
.contact-method:hover { border-color: var(--border-em); transform: translateX(4px) }
.contact-icon {
  width: 52px; height: 52px;
  border-radius: var(--r-lg);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-icon.wa { background: rgba(37,211,102,.1); color: #25d366 }
.contact-icon.em { background: rgba(16,185,129,.1); color: var(--emerald) }
.contact-icon.tg { background: rgba(0,136,204,.1); color: #0088cc }
.contact-name {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-2);
  letter-spacing: -.02em;
}
.contact-desc { font-size: var(--text-sm); color: var(--text-3); margin-bottom: var(--space-3) }

/* ── Hours card ── */
.hours-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-2) 0;
  border-bottom: 1px solid rgba(255,255,255,.04);
  font-size: var(--text-sm);
}
.hours-row:last-child { border-bottom: none }
.hours-day { color: var(--text-2) }
.hours-time { color: var(--emerald); font-weight: 700; font-family: var(--font-heading) }
.hours-time.special { color: var(--gold) }

/* ── Form improvements ── */
.form-group { display: flex; flex-direction: column; gap: var(--space-2) }
.form-label {
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--text-2);
  letter-spacing: .04em;
  text-transform: uppercase;
}
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 13px 16px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  color: var(--text);
  font-size: var(--text-sm);
  font-family: var(--font-body);
  outline: none;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: rgba(16,185,129,.4);
  box-shadow: 0 0 0 3px rgba(16,185,129,.08);
}
.form-textarea { resize: vertical; min-height: 120px }
.form-select { appearance: none; cursor: pointer }

/* ── Responsive page-specific ── */
@media (max-width: 900px) {
  .article-layout { grid-template-columns: 1fr }
  .article-sidebar { position: static }
}
@media (max-width: 680px) {
  .legal-article { padding: var(--space-6) }
  .contact-method { flex-direction: column }
}
