/* routesilvergarden.com: blog index and article pages (uses the :root tokens from home.css) */

.rsg-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 0 0 14px; font-size: .95rem; color: var(--muted); }
.rsg-crumbs a { color: var(--claret); min-height: 44px; display: inline-flex; align-items: center; }
.rsg-crumbs svg { width: 14px; height: 14px; color: var(--rose-dark); flex-shrink: 0; }

/* Article */
.rsg-article-head { padding: clamp(28px, 5vw, 56px) 0 clamp(20px, 3vw, 32px); }
.rsg-article-head .wrap { max-width: 900px; }
.rsg-article-head h1 { font-size: clamp(2rem, 1.3rem + 2.8vw, 3.2rem); font-weight: 600; line-height: 1.08; margin: 0 0 14px; overflow-wrap: break-word; }
.rsg-dek { font-size: clamp(1.08rem, 1rem + .4vw, 1.25rem); line-height: 1.5; color: var(--muted); max-width: 56ch; margin: 0 0 14px; }
.rsg-meta { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 0; font-size: .92rem; color: var(--muted); }
.rsg-meta span { display: inline-flex; align-items: center; gap: 6px; }
.rsg-meta svg { width: 16px; height: 16px; color: var(--rose-dark); flex-shrink: 0; }
.rsg-hero { margin: 0 0 clamp(28px, 4vw, 48px); }
.rsg-hero img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); }

.rsg-layout { display: grid; gap: 40px; padding-bottom: clamp(48px, 7vw, 88px); }
.rsg-body { max-width: 700px; min-width: 0; font-size: 1.06rem; line-height: 1.72; }
.rsg-body > *:first-child { margin-top: 0; }
.rsg-body .post-lede { font-size: 1.18rem; color: var(--wine); }
.rsg-body h2 { font-size: clamp(1.45rem, 1.25rem + .9vw, 1.9rem); margin: 1.8em 0 .5em; }
.rsg-body h3 { font-size: clamp(1.15rem, 1.05rem + .4vw, 1.35rem); margin: 1.4em 0 .4em; }
.rsg-body ul,
.rsg-body ol { margin: 0 0 1.2em; padding-left: 1.3em; }
.rsg-body li { margin-bottom: .45em; }
.rsg-body li::marker { color: var(--rose-dark); }
.rsg-body strong { color: var(--wine); }
.rsg-body img { height: auto; margin: 1.4em 0; border-radius: var(--radius); }

.rsg-notebook { align-self: start; padding: 24px 22px; background: var(--clay); border-radius: var(--radius); }
.rsg-notebook h2 { font-size: 1.35rem; margin: 0 0 8px; }
.rsg-notebook p { font-size: .98rem; }
.rsg-notebook .btn { width: 100%; }
.rsg-note { margin: 10px 0 0; font-size: .85rem; line-height: 1.45; color: var(--muted); }

/* More articles */
.rsg-more { padding: clamp(44px, 7vw, 80px) 0; background: var(--blush); }
.rsg-more-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 8px 24px; margin-bottom: 22px; }
.rsg-more-head h2 { margin: 0; font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.2rem); }
.rsg-more-all { display: inline-flex; align-items: center; min-height: 44px; color: var(--wine); text-decoration-color: var(--rose); text-decoration-thickness: 2px; }
.rsg-more-all svg { display: none; }

/* Cards */
.rsg-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
.rsg-card { min-width: 0; }
.rsg-card-link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.rsg-card-fig { display: block; overflow: hidden; border-radius: var(--radius); background: var(--clay); }
.rsg-card-fig img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.rsg-card-body { display: flex; flex-direction: column; gap: 6px; padding-top: 12px; }
.rsg-card-label { font-size: .88rem; color: var(--rose-dark); }
.rsg-card-title { margin: 0; font-size: 1.25rem; line-height: 1.25; color: var(--wine); }
.rsg-card-link:hover .rsg-card-title { text-decoration: underline; text-decoration-color: var(--rose); }
.rsg-card-ex { font-size: .98rem; line-height: 1.5; }
.rsg-card-meta { font-size: .88rem; color: var(--muted); }

/* Blog index */
.rsg-intro { padding: clamp(28px, 5vw, 56px) 0 clamp(20px, 3vw, 32px); border-bottom: 1px solid var(--rule); }
.rsg-intro h1 { font-size: clamp(2.1rem, 1.5rem + 2.6vw, 3.4rem); font-weight: 600; line-height: 1.08; margin: 0 0 12px; }
.rsg-intro .rsg-dek { margin: 0; }
.rsg-list { padding: clamp(28px, 5vw, 48px) 0 clamp(48px, 8vw, 88px); }
.rsg-chips { display: flex; flex-wrap: wrap; gap: 4px 20px; margin: 0 0 28px; }
.rsg-chips a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); text-decoration: none; border-bottom: 2px solid transparent; }
.rsg-chips a:hover { color: var(--berry); }
.rsg-chips a[aria-current="page"] { color: var(--wine); font-weight: 500; border-bottom-color: var(--rose); }
.rsg-pages { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 36px; }
.rsg-pages .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 12px; border: 1px solid var(--rule); border-radius: var(--radius); color: var(--wine); text-decoration: none; }
.rsg-pages .page-numbers.current { background: var(--wine); border-color: var(--wine); color: var(--paper); }
.rsg-pages .page-numbers.dots { border: 0; }
.rsg-empty { padding: 24px 0; }

.rsg-cta { background: var(--clay); padding: clamp(40px, 6vw, 64px) 0; }
.rsg-cta-inner { display: grid; gap: 22px; align-items: center; }
.rsg-cta h2 { margin: 0 0 8px; font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.2rem); }
.rsg-cta p { margin: 0; }
.rsg-cta .btn-light { background: var(--berry); color: var(--paper); }
.rsg-cta .btn-light:hover,
.rsg-cta .btn-light:focus-visible { background: var(--wine); color: var(--paper); }

@media (min-width: 640px) {
  .rsg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 960px) {
  .rsg-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
  .rsg-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 64px; }
  .rsg-notebook { position: sticky; top: 24px; }
  .rsg-cta-inner { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 48px; }
}
