.guides-layout,
.guide-layout {
    max-width: 860px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

.guides-header {
    margin-bottom: 2.5rem;
}

.guides-header h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.guides-lead {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.guides-grid {
    display: grid;
    gap: 1.25rem;
}

.guide-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.5rem;
    text-decoration: none;
    color: var(--text);
    box-shadow: var(--shadow);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    transition: transform 0.15s, box-shadow 0.15s;
}

.guide-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0,0,0,0.15);
}

.guide-card-body { flex: 1; }

.guide-card-title {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.guide-card-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.guide-card-date {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.guide-card-tags { display: flex; flex-wrap: wrap; gap: 0.3rem; }

.guide-tag {
    background: var(--sand-dark);
    color: var(--text-muted);
    border-radius: 99px;
    padding: 0.15rem 0.55rem;
    font-size: 0.75rem;
}

.guide-card-cta {
    color: var(--teal);
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
}

.guides-empty {
    color: var(--text-muted);
    text-align: center;
    padding: 3rem 0;
}

/* Article page */
.guide-article-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--sand-dark);
}

.guide-article-header h1 {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 0.6rem;
}

.guide-article-date {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.guide-article-content {
    line-height: 1.8;
    font-size: 1.05rem;
    color: var(--text);
}

.guide-article-content h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 2rem 0 0.75rem;
}

.guide-article-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 1.5rem 0 0.5rem;
}

.guide-article-content p { margin-bottom: 1rem; }

.guide-article-content ul,
.guide-article-content ol {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.guide-article-content li { margin-bottom: 0.4rem; }

.guide-article-content strong { color: var(--text); }

.guide-article-content a {
    color: var(--teal);
    text-decoration: underline;
}

.guide-article-footer {
    display: flex;
    gap: 1rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--sand-dark);
}
