/* MyGamepadTester - Dedicated Guides & Repair Library CSS */

.guide-wrapper {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Category & Device Hub Wrappers */
.guide-content-wrap, .dgPYaa {
  display: flex;
  flex-direction: column;
  max-width: 900px;
  width: 95%;
  text-align: center;
  margin: 0 auto;
  padding: 2rem 0;
}
.guide-content-wrap h1, .dgPYaa h1 {
  font-size: 2.2rem;
  color: #1a202c;
  margin-bottom: 2rem;
  font-weight: 700;
}
.guide-content-wrap h2, .dgPYaa h2 {
  font-size: 2.2rem;
  color: #1a202c;
  margin-bottom: 2rem;
}
.guide-content-wrap ul, .dgPYaa ul {
  font-size: 2rem;
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 0;
}

/* Breadcrumbs Banner */
.guide-crumb-bar, .crgvKY {
  background-color: #C15F3C;
  padding: 0.8rem 1.2rem;
  margin: 0.5rem auto 2rem auto;
  border-radius: 12px;
  text-align: center;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.guide-crumb-link, .gaTunw {
  font-size: 1rem;
  color: #FFFFFF !important;
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.2s ease;
}
.guide-crumb-link:hover, .gaTunw:hover {
  text-decoration: underline;
  opacity: 0.9;
}

/* Device Category Cards */
.guide-device-card, .hjrXbw {
  font-size: 1.1rem;
  color: #2d3748 !important;
  background-color: #f8fafc;
  padding: 1.5rem;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 1px solid #e2e8f0;
  transition: all 0.2s ease;
  height: 100%;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}
.guide-device-card .icon, .hjrXbw .icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}
.guide-device-card .title, .hjrXbw .title {
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #1a202c;
}
.guide-device-card .desc, .hjrXbw .desc {
  font-size: 0.85rem;
  color: #718096;
  text-align: center;
  line-height: 1.4;
}
.guide-device-card:hover, .hjrXbw:hover {
  transform: translateY(-4px);
  border-color: #DA7756;
  box-shadow: 0 10px 15px -3px rgba(218, 119, 86, 0.15);
  background: white;
}

/* Device Specific Guide List Cards */
.guide-card {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  text-decoration: none;
  text-align: left;
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}
.guide-card:hover {
  transform: translateY(-4px);
  border-color: #DA7756 !important;
  box-shadow: 0 10px 15px -3px rgba(218, 119, 86, 0.15);
}

/* Single Guide Article Elements */
article nav a {
  transition: color 0.2s ease;
}
article nav a:hover {
  text-decoration: underline;
}

details {
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
details:hover {
  border-color: #cbd5e1 !important;
}
details[open] {
  border-color: #DA7756 !important;
}
details summary:hover {
  color: #DA7756 !important;
}

/* Callout & CTA Buttons */
a[href="/stick-drift-test"]:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}
