/* JR Guide SEO pages — /guides/{slug} */

.jr-guide {
    background: linear-gradient(180deg, #f0fdf4 0%, #fff 280px);
    padding: 1.5rem 0 3rem;
    min-height: 60vh;
}

.jr-guide__inner {
    max-width: 52rem;
    margin: 0 auto;
    padding: 0 1rem;
}

.jr-guide--index .jr-guide__inner {
    max-width: 72rem;
}

.jr-guide__crumbs {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 1.25rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    align-items: center;
}

.jr-guide__crumbs a {
    color: #15803d;
    text-decoration: none;
}

.jr-guide__crumbs a:hover {
    text-decoration: underline;
}

.jr-guide__hero {
    margin-bottom: 2rem;
}

.jr-guide__eyebrow {
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #15803d;
    margin: 0 0 0.5rem;
}

.jr-guide__title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    line-height: 1.15;
    color: #111827;
    margin: 0 0 1rem;
}

.jr-guide__lead {
    font-size: 1.125rem;
    line-height: 1.65;
    color: #374151;
    margin: 0 0 1.25rem;
    max-width: 42rem;
}

.jr-guide__highlights {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    display: grid;
    gap: 0.5rem;
}

.jr-guide__highlights li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.9375rem;
    color: #1f2937;
    line-height: 1.5;
}

.jr-guide__highlights .fa-check-circle {
    color: #16a34a;
    margin-top: 0.15rem;
    flex-shrink: 0;
}

.jr-guide__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.jr-guide__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border-radius: 0.625rem;
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
    transition: background 0.15s, border-color 0.15s;
}

.jr-guide__btn--primary {
    background: #16a34a;
    color: #fff;
}

.jr-guide__btn--primary:hover {
    background: #15803d;
    color: #fff;
}

.jr-guide__btn--secondary {
    background: #fff;
    color: #15803d;
    border: 2px solid #16a34a;
}

.jr-guide__btn--secondary:hover {
    background: #f0fdf4;
}

.jr-guide__body {
    margin-bottom: 2.5rem;
}

.jr-guide__section {
    margin-bottom: 1.75rem;
}

.jr-guide__section h2 {
    font-size: 1.375rem;
    font-weight: 700;
    color: #111827;
    margin: 0 0 0.75rem;
}

.jr-guide__section p {
    font-size: 1rem;
    line-height: 1.7;
    color: #374151;
    margin: 0 0 0.75rem;
}

.jr-guide__steps {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.jr-guide__steps h2,
.jr-guide__faq h2,
.jr-guide__related h2,
.jr-guide__pillars h2,
.jr-guide__index-group h2 {
    font-size: 1.375rem;
    font-weight: 700;
    color: #111827;
    margin: 0 0 1rem;
}

.jr-guide__step-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 1rem;
}

.jr-guide__step {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.jr-guide__step-num {
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: #dcfce7;
    color: #15803d;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
}

.jr-guide__step h3 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.25rem;
    color: #111827;
}

.jr-guide__step p {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.6;
    color: #4b5563;
}

.jr-guide__faq {
    margin-bottom: 2rem;
}

.jr-guide__faq-list {
    display: grid;
    gap: 0.75rem;
}

.jr-guide__faq-item {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 0.625rem;
    padding: 0.875rem 1rem;
}

.jr-guide__faq-item summary {
    font-weight: 600;
    cursor: pointer;
    color: #111827;
    list-style: none;
}

.jr-guide__faq-item summary::-webkit-details-marker {
    display: none;
}

.jr-guide__faq-item p {
    margin: 0.75rem 0 0;
    padding-top: 0.625rem;
    font-size: 0.9375rem;
    line-height: 1.65;
    color: #4b5563;
}

.jr-guide__related {
    margin-bottom: 2rem;
}

.jr-guide__related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 0.875rem;
}

.jr-guide__related-card {
    display: block;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 0.625rem;
    padding: 1rem;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.jr-guide__related-card:hover {
    border-color: #86efac;
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.08);
}

.jr-guide__related-label {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #15803d;
    margin-bottom: 0.35rem;
}

.jr-guide__related-card strong {
    display: block;
    font-size: 1rem;
    color: #111827;
    margin-bottom: 0.35rem;
    line-height: 1.35;
}

.jr-guide__related-card p {
    margin: 0;
    font-size: 0.8125rem;
    line-height: 1.5;
    color: #6b7280;
}

.jr-guide__pillars {
    background: #f0fdf4;
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.jr-guide__pillar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.75rem;
}

.jr-guide__pillar {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.35rem;
    background: #fff;
    border-radius: 0.625rem;
    padding: 1rem 0.75rem;
    text-decoration: none;
    color: inherit;
    border: 1px solid #bbf7d0;
}

.jr-guide__pillar i {
    font-size: 1.25rem;
    color: #16a34a;
}

.jr-guide__pillar strong {
    font-size: 0.9375rem;
    color: #111827;
}

.jr-guide__pillar span {
    font-size: 0.75rem;
    color: #6b7280;
}

.jr-guide__index-group {
    margin-bottom: 2.5rem;
}

@media (max-width: 480px) {
    .jr-guide__cta {
        flex-direction: column;
    }

    .jr-guide__btn {
        justify-content: center;
        width: 100%;
    }
}
