/* Doks-inspired Guide Cards Styling */

.guides-hero {
  background: #f7f9fb;
  padding: 60px 0 40px 0;
  margin: -20px -20px 40px -20px;
  text-align: center;
}

.guides-hero h1 {
  font-size: 2.5em;
  margin-bottom: 0.5em;
  color: #2c3e50;
  font-weight: 600;
}

.guides-hero p {
  font-size: 1.1em;
  color: #5a6c7d;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.guides-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 60px;
}

@media (max-width: 992px) {
  .guides-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .guides-grid {
    grid-template-columns: 1fr;
  }
}

.guide-card {
  background: #ffffff;
  border: 1px solid #e1e4e8;
  border-radius: 12px;
  padding: 35px;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.guide-card:hover {
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
  border-color: #d1d9e0;
}

.guide-card h3 {
  font-size: 1.5em;
  margin-top: 0;
  margin-bottom: 0.6em;
  color: #1a202c;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.guide-card p {
  color: #4a5568;
  font-size: 1.05em;
  line-height: 1.7;
  margin-bottom: 1.8em;
  flex-grow: 1;
}

.guide-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 2em 0;
  border-top: 1px solid #edf2f7;
  padding-top: 1.5em;
}

.guide-card ul li {
  margin-bottom: 0.8em;
  padding-left: 1.5em;
  position: relative;
}

.guide-card ul li:before {
  content: "•";
  position: absolute;
  left: 0.2em;
  color: #cbd5e0;
  font-weight: bold;
  font-size: 1.2em;
  line-height: 1;
  top: 0.1em;
}

.guide-card ul li a {
  color: #2d3748;
  text-decoration: none;
  font-size: 0.95em;
  font-weight: 500;
  transition: color 0.2s ease;
  display: block;
  line-height: 1.5;
}

.guide-card ul li a:hover {
  color: #3182ce;
}

.guide-card-link {
  color: white;
  background-color: #3182ce;
  text-decoration: none;
  font-weight: 600;
  font-size: 1em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: auto;
  padding: 12px 24px;
  border-radius: 6px;
  transition: all 0.2s ease;
  width: 100%;
  box-sizing: border-box;
}

.guide-card-link:hover {
  background-color: #2c5282;
  gap: 8px;
  transform: translateY(-1px);
  box-shadow: 0 4px 6px rgba(49, 130, 206, 0.2);
}

.guide-card-link:after {
  content: none;
}

.guide-card-link:visited {
  color: white;
}