/* ============================================
   FRP Tools Hub — Guide & Article Styles
   ============================================ */

.back-link {
  color: var(--color-primary, #00c873);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: opacity 0.2s ease;
}

.back-link:hover {
  opacity: 0.8;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--color-text-dim, #8e9aaf);
  margin-bottom: 20px;
}

.breadcrumbs a {
  color: var(--color-text-dim, #8e9aaf);
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--color-text, #ffffff);
}

.guide-article {
  background: var(--color-surface, #141b2d);
  border: 1px solid var(--color-border, #1f2942);
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  margin-bottom: 40px;
}

.guide-header {
  margin-bottom: 25px;
  border-bottom: 1px solid var(--color-border, #1f2942);
  padding-bottom: 20px;
}

.guide-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 200, 115, 0.12);
  border: 1px solid rgba(0, 200, 115, 0.3);
  color: #00c873;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
}

.guide-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #00c873;
}

.guide-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
  line-height: 1.3;
}

.guide-title-tag {
  color: #00c873;
  font-size: 1.3rem;
  font-weight: 600;
}

.guide-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-text-dim, #8e9aaf);
  font-size: 0.85rem;
}

/* Specs Grid */
.specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
  margin-bottom: 25px;
}

.spec-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--color-border, #1f2942);
  border-radius: 10px;
  padding: 12px 14px;
}

.spec-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-text-dim, #8e9aaf);
  margin-bottom: 4px;
}

.spec-val {
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
  word-break: break-word;
}

/* Boxes */
.guide-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--color-border, #1f2942);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
}

.guide-box-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 12px;
}

.guide-steps-content p {
  color: #d1d5db;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Warning Box */
.guide-warning-box {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.4);
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 20px;
}

.guide-warning-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ef4444;
  margin-bottom: 6px;
}

.guide-warning-text {
  color: #fca5a5;
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
}

/* Gallery */
.guide-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.guide-photo-card {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--color-border, #1f2942);
  background: #000000;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.guide-photo-card:hover {
  transform: translateY(-2px);
  border-color: #00c873;
}

.guide-photo-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Telegram CTA */
.guide-cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: linear-gradient(135deg, rgba(34, 158, 217, 0.15), rgba(20, 27, 45, 0.8));
  border: 1px solid rgba(34, 158, 217, 0.4);
  border-radius: 14px;
  padding: 20px 24px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.guide-cta-info h3 {
  font-size: 1.1rem;
  color: #ffffff;
  margin-bottom: 4px;
}

.guide-cta-info p {
  color: #8e9aaf;
  font-size: 0.88rem;
  margin: 0;
}

.guide-cta-btn {
  background: #229ED9;
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 10px 20px;
  border-radius: 8px;
  transition: background 0.2s ease;
  white-space: nowrap;
}

.guide-cta-btn:hover {
  background: #1b85b8;
}

@media (max-width: 640px) {
  .guide-article {
    padding: 18px;
  }
  .guide-title {
    font-size: 1.4rem;
  }
  .specs-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.guide-tool-path {
  font-family: 'SF Mono', Monaco, Consolas, monospace;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(0, 200, 115, 0.25);
  border-radius: 8px;
  padding: 12px 16px;
  color: #00c873;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.5;
  word-break: break-word;
}


/* Files List */
.guide-files-box {
  background: rgba(34, 158, 217, 0.05);
  border: 1px solid rgba(34, 158, 217, 0.3);
}

.guide-files-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.guide-file-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--color-border, #1f2942);
  border-radius: 8px;
  padding: 10px 14px;
}

.guide-file-icon {
  font-size: 1.3rem;
}

.guide-file-details {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.guide-file-name {
  color: #ffffff;
  font-weight: 600;
  font-size: 0.92rem;
  word-break: break-all;
}

.guide-file-size {
  color: #8e9aaf;
  font-size: 0.8rem;
  background: rgba(255, 255, 255, 0.08);
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: 8px;
  white-space: nowrap;
}

.guide-download-btn {
  display: inline-block;
  background: #229ED9;
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 22px;
  border-radius: 10px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.guide-download-btn:hover {
  background: #1b85b8;
  transform: translateY(-2px);
}
