.guides-hero {
  position: relative;
  z-index: 0;
  background-color: #10172A;
  padding: 6rem 0 5rem;
  border-bottom: 1px solid rgba(255, 122, 34, 0.15);
}


.guides-hero::after {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 0;
  right: 0;
  height: 300px; 
  background-color: #10172A;
  z-index: -1;
}

.guides-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 50%, rgba(255, 122, 34, 0.12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 80% 30%, rgba(255, 122, 34, 0.07) 0%, transparent 60%);
  pointer-events: none;
  z-index: -1;
}

.guides-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  margin-bottom: 1.25rem;
}

.guides-hero__eyebrow::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 2px;
  background-color: var(--color-accent);
  border-radius: 2px;
}

.guides-hero__title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.03em;
  max-width: 720px;
  margin-bottom: 1.25rem;
}

.guides-hero__title span {
  color: var(--color-accent);
}

.guides-hero__sub {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.65);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}


.guides-filter {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.guides-filter__pill {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.05);
  cursor: default;
  transition: all 0.2s ease;
  text-decoration: none;
}

.guides-filter__pill--active,
.guides-filter__pill:hover {
  background: rgba(255, 122, 34, 0.15);
  border-color: rgba(255, 122, 34, 0.4);
  color: var(--color-accent);
}


.guides-hub {
  padding: 5rem 0;
  background-color: var(--color-canvas);
}


.guides-featured {
  margin-bottom: 4rem;
}

.guides-featured__card {
  display: grid;
  grid-template-columns: 1fr;
  background: var(--color-surface);
  border: 1px solid rgba(255, 122, 34, 0.2);
  border-radius: 24px;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 12px 40px -12px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.guides-featured__card:hover {
  box-shadow: 0 20px 50px -12px rgba(255, 122, 34, 0.15);
  border-color: rgba(255, 122, 34, 0.4);
}

@media (min-width: 768px) {
  .guides-featured__card {
    grid-template-columns: 1fr 1.4fr;
  }
}

.guides-featured__graphic {
  background: linear-gradient(135deg, #0F172A 0%, #1e293b 50%, rgba(255, 122, 34, 0.15) 100%);
  min-height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}

.guides-featured__graphic::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(255, 122, 34, 0.12) 0%, transparent 70%);
}

.guides-featured__graphic-icon {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  background: rgba(255, 122, 34, 0.15);
  border: 1px solid rgba(255, 122, 34, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.guides-featured__graphic-icon svg {
  color: var(--color-accent);
}

.guides-featured__body {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.guides-featured__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  background: rgba(255, 122, 34, 0.08);
  border: 1px solid rgba(255, 122, 34, 0.2);
  border-radius: 9999px;
  padding: 0.25rem 0.75rem;
  margin-bottom: 1rem;
  width: fit-content;
}

.guides-featured__title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--color-text-heading);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.guides-featured__excerpt {
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  max-width: 520px;
}

.guides-featured__meta {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-bottom: 1.75rem;
}

.guides-featured__meta-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: var(--color-text-muted);
}

.guides-featured__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-accent);
  transition: gap 0.2s ease;
}

.guides-featured__card:hover .guides-featured__cta {
  gap: 0.85rem;
}


.guides-section-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}

.guides-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

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

@media (min-width: 1024px) {
  .guides-grid { grid-template-columns: repeat(3, 1fr); }
}


.guide-card {
  display: flex;
  flex-direction: column;
  background: var(--color-surface);
  border: 1px solid rgba(255, 122, 34, 0.15);
  border-radius: 18px;
  padding: 1.75rem;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  box-shadow: 0 4px 16px -4px rgba(0, 0, 0, 0.06);
}

.guide-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px -8px rgba(255, 122, 34, 0.12);
  border-color: rgba(255, 122, 34, 0.35);
}

.guide-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}

.guide-card__icon--requirements { background: rgba(29, 78, 140, 0.1); color: var(--color-info); }
.guide-card__icon--strategy     { background: rgba(21, 92, 48, 0.1);  color: var(--color-success); }
.guide-card__icon--policy       { background: rgba(255, 122, 34, 0.1); color: var(--color-accent); }
.guide-card__icon--basics       { background: rgba(122, 91, 0, 0.1);  color: var(--color-warning); }
.guide-card__icon--publishing   { background: rgba(140, 29, 23, 0.1); color: var(--color-error); }
.guide-card__icon--troubleshoot { background: rgba(100, 116, 139, 0.1); color: var(--color-text-muted); }

.guide-category {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.6rem;
}

.guide-category--requirements { color: var(--color-info); }
.guide-category--strategy     { color: var(--color-success); }
.guide-category--policy       { color: var(--color-accent); }
.guide-category--basics       { color: var(--color-warning); }
.guide-category--publishing   { color: var(--color-error); }
.guide-category--troubleshoot { color: var(--color-text-muted); }

.guide-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text-heading);
  line-height: 1.35;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.guide-excerpt {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  flex-grow: 1;
  margin-bottom: 1.25rem;
}

.guide-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--color-canvas);
}

.guide-card__read-time {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.read-more {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-accent);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  transition: gap 0.2s ease;
}

.guide-card:hover .read-more {
  gap: 0.65rem;
}


.guides-cta {
  background-color: var(--color-text-heading);
  border-radius: 24px;
  padding: 3.5rem;
  margin-top: 5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}

.guides-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 0% 50%, rgba(255, 122, 34, 0.12) 0%, transparent 60%);
  pointer-events: none;
}

.guides-cta__text {
  position: relative;
}

.guides-cta__label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
}

.guides-cta__title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.guides-cta__sub {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
  max-width: 420px;
}

.guides-cta__actions {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
  flex-wrap: wrap;
  position: relative;
}

.guides-cta__btn-secondary {
  border-color: rgba(255, 255, 255, 0.2) !important;
  color: #fff !important;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.guides-cta__btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(255, 255, 255, 0.4) !important;
}

@media (max-width: 768px) {
  .guides-cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 3rem 2rem;
  }
}

@media (max-width: 640px) {
  .guides-cta { padding: 2.5rem 1.5rem; }
  .guides-cta__actions { 
    width: 100%; 
    flex-direction: column;
  }
  .guides-cta__actions .btn { 
    width: 100%; 
    text-align: center; 
    justify-content: center;
  }
}
