/* Guides (/guides/*, /tr/rehber/*): long-form articles in the site's palette. */

.guide-hero {
  padding-bottom: 32px;
}

.guide-meta {
  margin: 20px 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.guide {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px 96px;
}

.guide h2 {
  margin: 56px 0 16px;
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.guide h3 {
  margin: 32px 0 10px;
  font-size: 1.2rem;
  font-weight: 700;
}

.guide p,
.guide li {
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--text-secondary);
}

.guide p {
  margin: 0 0 18px;
}

.guide ul,
.guide ol {
  margin: 0 0 20px;
  padding-left: 1.4em;
}

.guide li {
  margin-bottom: 10px;
}

.guide li::marker {
  font-weight: 700;
  color: var(--pink);
}

.guide p strong,
.guide li strong {
  color: var(--text);
}

.guide a {
  color: var(--violet);
}

/* The short answer up top: what most readers came for. */
.guide-summary {
  margin: 0 0 8px;
  padding: 28px 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.guide-summary p:last-child,
.guide-summary ol:last-child {
  margin-bottom: 0;
}

.guide-note {
  margin: 28px 0;
  padding: 20px 24px;
  border-radius: 18px;
  background: #fff1ea;
}

.guide-note p {
  margin: 0;
  color: var(--text);
}

/* Where the guide meets the app: copy beside a real screen. */
.guide-app {
  display: flex;
  gap: 36px;
  align-items: center;
  margin: 48px 0;
  padding: 36px;
  border-radius: 32px;
  background: linear-gradient(160deg, #fff1ea, #ffe4ea);
}

.guide-app app-phone {
  flex: none;
  width: 220px;
}

.guide-app h2 {
  margin-top: 0;
}

.guide-faq details {
  border-bottom: 1px solid var(--border);
}

.guide-faq summary {
  padding: 18px 0;
  font-size: 1.08rem;
  font-weight: 700;
  cursor: pointer;
}

.guide-faq details p {
  margin-top: -4px;
}

.guide-disclaimer {
  margin-top: 48px;
  font-size: 0.9rem !important;
  color: var(--muted) !important;
}

@media (max-width: 720px) {
  .guide-summary {
    padding: 24px 22px;
  }
  .guide-app {
    flex-direction: column;
    padding: 28px 22px;
    text-align: center;
  }
}

/* Guides hub (/guides, /tr/rehber) */

.guide-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px 96px;
}

.guide-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  color: inherit;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.guide-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 1px 2px rgba(9, 9, 11, 0.04), 0 18px 40px -14px rgba(9, 9, 11, 0.18);
}

.guide-card .eyebrow {
  margin: 0;
}

.guide-card h2 {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.guide-card p {
  margin: 0;
  line-height: 1.6;
  color: var(--text-secondary);
}

.guide-card-more {
  margin-top: auto;
  padding-top: 8px;
  font-weight: 700;
  color: var(--violet);
}

.guide-hero .eyebrow a {
  color: inherit;
  text-decoration: none;
}

.guide-hero .eyebrow a::before {
  content: '← ';
}
