/* Lane BL1 public blog typography. Tokens from design/blog/design_handoff_nubibooks_blog/README.md:34-45. */

body { color: #1A3109; }

.nb-article { max-width: 720px; margin: 0 auto; padding: 0 20px; color: #2E3A24; font-size: 17px; line-height: 1.75; }
.nb-article h1 { font-size: 44px; font-weight: 800; letter-spacing: -1px; line-height: 1.12; color: #1A3109; }
.nb-article h2 { font-size: 28px; font-weight: 800; letter-spacing: -.4px; margin: 1.6em 0 .4em; color: #1A3109; }
.nb-article h3 { font-size: 22px; font-weight: 700; margin: 1.3em 0 .3em; color: #1A3109; }
.nb-article p  { margin: .75em 0; }
.nb-article a  { color: #314025; text-decoration: underline; }
.nb-article ul, .nb-article ol { margin: .6em 0 .6em 1.5em; }
.nb-article li { margin: .3em 0; }
.nb-article hr { border: none; height: 1px; background: #DDE5D4; margin: 2em 0; }
.nb-article .nb-quote { border-left: 4px solid #7A9E5A; padding: .4em 1em; background: #F8FAF5; border-radius: 0 10px 10px 0; margin: 1em 0; color: #2E3A24; }
.nb-article .nb-divider { height: 1px; background: #DDE5D4; border: none; margin: 2em 0; }
.nb-article .nb-callout { background: #E6F0DC; border-radius: 16px; padding: 14px 18px; color: #1A3109; margin: 1.2em 0; }
.nb-article .nb-cta { background: #E6F0DC; border-radius: 20px; padding: 18px 20px; margin: 1.4em 0; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.nb-article .nb-cta-btn { background: #314025; color: #fff; font-weight: 700; padding: 10px 18px; border-radius: 12px; text-decoration: none; }
.nb-article .nb-image img { width: 100%; height: auto; border-radius: 16px; }
.nb-article .nb-image figcaption { color: #59604F; font-size: 14px; margin-top: 6px; }
.nb-article .nb-table-wrap { overflow-x: auto; }
.nb-article .nb-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 12px; overflow: hidden; }
.nb-article .nb-table th { background: #F4F7EF; font-weight: 700; text-align: left; padding: 10px 14px; }
.nb-article .nb-table td { padding: 10px 14px; border-top: 1px solid #EEF1EA; }
.nb-article .nb-embed { position: relative; width: 100%; max-width: 100%; margin: 1.2em 0; }
.nb-article .nb-youtube { padding-top: 56.25%; }
.nb-article .nb-youtube iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; border-radius: 12px; }

.nb-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

.nb-h1 { font-size: 44px; font-weight: 800; letter-spacing: -1px; line-height: 1.12; color: #1A3109; }
@media (max-width: 640px) {
  .nb-h1 { font-size: 30px; }
  .nb-article h1 { font-size: 30px; }
  .nb-article h2 { font-size: 22px; }
}

.nb-chip { display: inline-flex; align-items: center; height: 32px; padding: 0 14px; background: #fff; border: 1px solid #DDE5D4; border-radius: 999px; font-size: 14px; font-weight: 600; color: #1A3109; text-decoration: none; }
.nb-chip.active { background: #314025; border-color: #314025; color: #fff; }

.nb-input { width: 100%; height: 44px; border: 1px solid #DDE5D4; background: #F4F3EF; border-radius: 10px; padding: 0 14px; font-size: 15px; }
.nb-btn { background: #314025; color: #fff; font-weight: 700; padding: 10px 18px; border-radius: 10px; border: none; cursor: pointer; }

.nb-card { background: #fff; border-radius: 16px; overflow: hidden; border: 1px solid #DDE5D4; }
.nb-card .cover { aspect-ratio: 16/9; background: #E4E9DD; }

.nb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }

.nb-feature { display: grid; grid-template-columns: 3fr 2fr; gap: 24px; align-items: center; background: #fff; border-radius: 20px; overflow: hidden; border: 1px solid #DDE5D4; }
.nb-feature .cover { aspect-ratio: 16/9; }
@media (max-width: 768px) { .nb-feature { grid-template-columns: 1fr; } }

.nb-highlight { background: #E6F0DC; box-shadow: inset 0 -2px 0 #BACCA8; }

.nb-share-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.nb-share-row a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 10px; font-size: 14px; font-weight: 600; text-decoration: none; border: 1px solid #C9D4BC; color: #1A3109; background: #fff; }
.nb-share-row a.wa { background: #25D366; color: #0B3D1E; border-color: #25D366; }
