:root {
  --theme-color-primary: #b08d3e;
  --theme-color-secondary: #1a1a1a;
  --theme-color-surface: #faf7f2;
  --theme-color-text: #1f1f1f;
  --theme-color-muted: #8a8378;
  --theme-font-heading: 'Playfair Display', serif;
  --theme-font-body: 'Lora', serif;
  --theme-radius: 0px;
  --theme-spacing-scale: 1.15;
  --theme-button-radius: 0px;
  --theme-button-bg: transparent;
  --theme-button-fg: var(--theme-color-primary);
  --theme-button-border: 2px solid var(--theme-color-primary);
}
/*
 * Self-hosted Google Fonts (plan.md Phase 5 task 1 — no CDN allowed).
 * Latin-subset woff2 only. Browsers only fetch a face that's actually
 * applied to rendered text, so listing all of them here costs nothing
 * for themes that don't use every font.
 */

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/assets/fonts/inter-400.woff2') format('woff2');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('/assets/fonts/inter-700.woff2') format('woff2');
}

@font-face {
    font-family: 'Nunito';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/assets/fonts/nunito-400.woff2') format('woff2');
}

@font-face {
    font-family: 'Nunito';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('/assets/fonts/nunito-700.woff2') format('woff2');
}

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('/assets/fonts/montserrat-700.woff2') format('woff2');
}

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url('/assets/fonts/montserrat-800.woff2') format('woff2');
}

@font-face {
    font-family: 'Work Sans';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/assets/fonts/worksans-400.woff2') format('woff2');
}

@font-face {
    font-family: 'Work Sans';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('/assets/fonts/worksans-600.woff2') format('woff2');
}

@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('/assets/fonts/playfairdisplay-600.woff2') format('woff2');
}

@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('/assets/fonts/playfairdisplay-700.woff2') format('woff2');
}

@font-face {
    font-family: 'Lora';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/assets/fonts/lora-400.woff2') format('woff2');
}

@font-face {
    font-family: 'Lora';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('/assets/fonts/lora-700.woff2') format('woff2');
}

.sb-blog-latest { padding: 72px 24px; max-width: 1100px; margin: 0 auto; }
.sb-blog-latest h2 { text-align: center; font-size: 32px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 40px; color: var(--theme-color-text); }
.sb-blog-latest .blog-latest-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.sb-blog-latest .blog-latest-item { display: block; color: inherit; transition: transform .18s ease; }
.sb-blog-latest .blog-latest-item:hover { transform: translateY(-3px); }
.sb-blog-latest .blog-latest-item img {
  border-radius: var(--theme-radius);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  margin-bottom: 14px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 12px 24px -10px rgba(0, 0, 0, .12);
}
.sb-blog-latest .blog-latest-item h3 { font-size: 17px; font-weight: 600; color: var(--theme-color-text); transition: color .15s ease; }
.sb-blog-latest .blog-latest-item:hover h3 { color: var(--theme-color-primary); }
.sb-blog-latest .blog-latest-excerpt { margin-top: 6px; font-size: 14px; line-height: 1.55; color: var(--theme-color-muted); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
