/* shoproutecedar.com - blog index + articles (loaded after home.css, reuses its tokens) */

.head-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; text-decoration-color: var(--orange); }

/* ---------- Title band ---------- */
.lg-top { background: var(--paper); border-bottom: 1px solid var(--line); padding: clamp(36px, 5vw, 64px) 0 clamp(32px, 4vw, 52px); }
.lg-top-inner { max-width: 860px; }
.lg-crumb { margin: 0 0 14px; font-size: .92rem; color: var(--muted); }
.lg-crumb a { color: var(--cedar-deep); }
.lg-top h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); color: var(--pine-deep); margin-bottom: .35em; }
.lg-dek { margin: 0; max-width: 680px; font-size: 1.12rem; color: var(--muted); }
.lg-meta { margin: 18px 0 0; font-size: .92rem; color: var(--muted); }

/* ---------- Chips ---------- */
.lg-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.lg-chips a {
  display: inline-flex; align-items: center; min-height: 38px; padding: 0 16px;
  border: 1.5px solid var(--pine); border-radius: 999px;
  color: var(--pine-deep); font-size: .94rem; font-weight: 500; text-decoration: none;
}
.lg-chips a:hover { background: var(--cedar-soft); }
.lg-chips a[aria-current="page"] { background: var(--pine); color: var(--white); }

/* ---------- Card grid ---------- */
.lg-list { padding: clamp(40px, 6vw, 72px) 0 clamp(56px, 7vw, 88px); }
.lg-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3.5vw, 44px) clamp(20px, 2.6vw, 32px); }
.lg-card-link { display: flex; flex-direction: column; height: 100%; color: var(--ink); text-decoration: none; }
.lg-card-fig { display: block; overflow: hidden; border-radius: 8px; background: var(--clay); aspect-ratio: 4 / 3; }
.lg-card-fig img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.lg-card-link:hover .lg-card-fig img { transform: scale(1.03); }
@media (prefers-reduced-motion: reduce) { .lg-card-fig img { transition: none; } }
.lg-card-tag {
  align-self: flex-start; margin-top: 16px; padding-left: 10px;
  border-left: 3px solid var(--amber);
  font-size: .8rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--cedar-deep);
}
.lg-card-title { margin: 10px 0 8px; font-size: 1.38rem; color: var(--pine-deep); }
.lg-card-link:hover .lg-card-title { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.lg-card-ex { font-size: .98rem; color: var(--muted); }
.lg-card-meta { margin-top: auto; padding-top: 12px; font-size: .86rem; color: var(--muted); }

.lg-pages { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 48px; }
.lg-pages a, .lg-pages span {
  display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 14px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--white);
  color: var(--ink); text-decoration: none;
}
.lg-pages .current { background: var(--pine); border-color: var(--pine); color: var(--white); }
.lg-empty { margin: 0; padding: 28px; background: var(--paper); border-radius: 8px; }

.lg-index .closing { background: var(--cedar-soft); }

/* ---------- Article ---------- */
.lg-hero { margin: clamp(28px, 4vw, 44px) auto 0; max-width: 1040px; }
.lg-hero img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; }

.lg-body { max-width: 700px; margin: 0 auto; padding-top: clamp(32px, 5vw, 52px); font-size: 1.09rem; line-height: 1.72; }
.lg-body > :first-child { margin-top: 0; }
.lg-body p, .lg-body ul, .lg-body ol, .lg-body table { margin: 0 0 1.15em; }
.lg-body h2 { margin: 1.7em 0 .5em; font-size: clamp(1.5rem, 2.6vw, 1.95rem); color: var(--pine-deep); }
.lg-body h3 { margin: 1.4em 0 .35em; font-family: var(--font-body); font-size: 1.12rem; font-weight: 700; color: var(--ink); }
.lg-body ul, .lg-body ol { padding-left: 1.3em; }
.lg-body li { margin-bottom: .45em; }
.lg-body li::marker { color: var(--cedar); }
.lg-body a { color: var(--cedar-deep); }
.lg-body img { border-radius: 8px; }
.lg-body table { width: 100%; border-collapse: collapse; font-size: .97rem; display: block; overflow-x: auto; }
.lg-body th, .lg-body td { padding: 11px 12px; text-align: left; border-bottom: 1px solid var(--line); }
.lg-body thead th { font-family: var(--font-head); font-size: 1.08rem; font-weight: 400; border-bottom: 1.5px solid var(--ink); }
.lg-body tbody th { font-weight: 600; }

/* Offer panel */
.lg-offer {
  display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 28px; align-items: center;
  max-width: 820px; margin: clamp(40px, 6vw, 64px) auto clamp(56px, 7vw, 88px);
  padding: clamp(24px, 4vw, 40px); background: var(--clay); border-radius: 10px;
}
.lg-offer-sketch { width: 120px; height: 120px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lg-offer h2 { font-size: clamp(1.4rem, 2.6vw, 1.85rem); color: var(--ink); }
.lg-offer p { margin: 0 0 18px; }
.lg-offer .lg-offer-note { margin: 14px 0 0; font-size: .9rem; color: var(--ink); opacity: .82; }

/* More articles */
.lg-more { background: var(--paper); border-top: 1px solid var(--line); padding: clamp(48px, 6vw, 80px) 0; }
.lg-more-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 28px; }
.lg-more-head .title { margin: 0; }
.lg-more-head a { color: var(--cedar-deep); font-weight: 600; white-space: nowrap; }

@media (max-width: 960px) {
  .lg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .lg-grid { grid-template-columns: 1fr; }
  .lg-top h1 { font-size: 2rem; }
  .lg-dek { font-size: 1.04rem; }
  .lg-chips a { min-height: 36px; padding: 0 13px; font-size: .9rem; }
  .lg-hero img { aspect-ratio: 4 / 3; border-radius: 8px; }
  .lg-body { font-size: 1.04rem; }
  .lg-offer { grid-template-columns: 1fr; gap: 12px; }
  .lg-offer-sketch { width: 84px; height: 84px; }
  .lg-offer .btn { width: 100%; }
  .lg-more-head { flex-direction: column; gap: 6px; }
}
