/* Journal articles. Bodies were imported from the Shopify blog; their component class names are kept
   and styled here in the site palette. */
.article { max-width: 820px; margin: 0 auto; padding: 44px clamp(20px, 4vw, 48px) 64px; font-size: 17px; line-height: 1.75; color: #22262B; }
.article > :first-child { margin-top: 0; }
.article p { margin: 0 0 20px; }
.article h2 { font-family: 'Lora', serif; font-weight: 600; font-size: clamp(24px, 3.5vw, 32px); line-height: 1.2; color: #15283F; margin: 44px 0 14px; }
.article h3 { font-family: 'Lora', serif; font-weight: 600; font-size: 22px; line-height: 1.25; color: #15283F; margin: 32px 0 10px; }
.article h4 { font-weight: 700; font-size: 17px; line-height: 1.35; color: #15283F; margin: 0 0 6px; }
.article ul, .article ol { margin: 0 0 20px; padding-left: 24px; }
.article li { margin-bottom: 8px; }
.article a { color: #44617F; font-weight: 600; text-decoration: underline; }
.article strong, .article b { color: #15283F; }
.article img { max-width: 100%; height: auto; border-radius: 10px; display: block; }
.article figure { margin: 28px 0; }
.article figcaption, .article .photo-caption { font-size: 14px; color: #5F6672; margin-top: 8px; }
.article blockquote, .article .pullquote { margin: 32px 0; padding: 26px 30px; background: #15283F; color: #FFFFFF; border-radius: 10px; font-family: 'Lora', serif; font-size: clamp(19px, 2.5vw, 23px); line-height: 1.45; }
.article blockquote p, .article .pullquote p { margin: 0; color: #FFFFFF; }

/* Small uppercase labels */
.article .callout-label, .article .label, .article [class$="-label"], .article .hat-tag, .article .best-for, .article .cs-eyebrow,
.article .menu-board-title, .article .uc-num, .article .note {
  display: block; font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: #44617F; margin-bottom: 6px; }

/* Callouts */
.article .callout, .article .method-note { margin: 26px 0; padding: 18px 22px; background: #EDF1F5; border: 1px solid #C9D6E2; border-radius: 10px; font-size: 16px; }
.article .callout p:last-child, .article .method-note p:last-child { margin-bottom: 0; }
.article .callout.green { background: #EAF4EC; border-color: #BFD9C6; }
.article .callout.green .callout-label { color: #235C3F; }
.article .callout.amber { background: #FDF3DC; border-color: #EBD49A; }
.article .callout.amber .callout-label { color: #7A4A05; }

/* Groups of cards */
.article [class$="-grid"], .article .menu-items, .article .cs-stats, .article .stat-strip, .article .photo-duo, .article .compare-split,
.article .do-dont, .article .tip-cards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin: 28px 0; }
.article .how-steps, .article .lessons, .article .timeline, .article .cost-breakdown { display: flex; flex-direction: column; gap: 12px; margin: 28px 0; }

/* Cards */
.article [class$="-card"], .article .menu-item, .article .lesson, .article .use-case, .article .how-step, .article .tl-item, .article .tl-row,
.article .compare-panel, .article .cost-row, .article .do, .article .dont, .article .cs-stat, .article .before, .article .after {
  background: #FFFFFF; border: 1px solid #E6E4DE; border-radius: 10px; padding: 18px 20px; font-size: 15.5px; line-height: 1.6; min-width: 0; }
.article [class$="-card"] p:last-child, .article .menu-item p:last-child, .article .lesson p:last-child, .article .use-case p:last-child,
.article .how-step p:last-child, .article .tl-item p:last-child, .article .tl-row p:last-child, .article .compare-panel p:last-child,
.article .do p:last-child, .article .dont p:last-child { margin-bottom: 0; }
.article [class$="-card"] ul, .article .compare-panel ul, .article .do ul, .article .dont ul { margin-bottom: 0; }
.article .use-case { margin: 16px 0; }

/* Rows: a number or icon beside text */
.article .how-step, .article .tip-card, .article .lesson, .article .tl-item, .article .tl-row, .article .use-case-header, .article .cost-row {
  display: flex; gap: 16px; align-items: flex-start; }
.article .step-body, .article .tip-body, .article .lesson-body, .article .tl-body, .article .use-case-body { flex: 1; min-width: 0; }
.article .use-case-header { margin-bottom: 8px; align-items: baseline; }
.article .uc-title { font-weight: 700; font-size: 18px; color: #15283F; }
.article .cost-row { justify-content: space-between; align-items: baseline; }

/* Big numbers and badges */
.article .stat-num, .article .cs-stat-num, .article .fc-ext, .article .qty { display: block; font-family: 'Lora', serif; font-weight: 600; font-size: 28px; line-height: 1.1; color: #15283F; margin-bottom: 4px; }
.article .step-num, .article .tip-num { flex: 0 0 36px; height: 36px; border-radius: 50%; background: #15283F; color: #FFFFFF; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.article .tl-dot { flex: 0 0 14px; height: 14px; margin-top: 7px; border-radius: 50%; background: #3A7299; }
.article .lesson-icon, .article .micon { flex: 0 0 auto; font-size: 24px; line-height: 1.2; }

/* Navy feature panels */
.article .menu-board, .article .case-study { background: #15283F; color: #FFFFFF; border-radius: 12px; padding: 26px; margin: 28px 0; }
.article .menu-board .menu-board-title, .article .case-study .cs-eyebrow, .article .menu-board .mi-label { color: #A9C8DD; }
.article .case-study h2, .article .case-study h3, .article .case-study h4, .article .case-study p, .article .case-study strong { color: #FFFFFF; }
.article .menu-board .menu-items, .article .case-study .cs-stats { margin-bottom: 0; }

/* Do / don't and good / bad markers */
.article .do, .article .do-card, .article .after { border-top: 4px solid #235C3F; }
.article .dont, .article .before { border-top: 4px solid #B23A2E; }
.article .good, .article .ok { color: #235C3F; font-weight: 700; }
.article .bad { color: #9C2F25; font-weight: 700; }

/* Tables scroll inside their own box on phones */
.article table { width: 100%; border-collapse: collapse; margin: 0; font-size: 15.5px; }
.article .table-wrap { overflow-x: auto; margin: 28px 0; }
.article th { text-align: left; font-size: 13px; letter-spacing: 0.5px; text-transform: uppercase; color: #44617F; background: #FAF6EE; padding: 12px 14px; border-bottom: 2px solid #E6E4DE; white-space: nowrap; }
.article td { padding: 12px 14px; border-bottom: 1px solid #E6E4DE; vertical-align: top; }
.article tr.highlight td, .article td.highlight { background: #EDF1F5; font-weight: 600; }
.article .savings { color: #235C3F; font-weight: 700; }
.article .rule { border: 0; border-top: 1px solid #E6E4DE; margin: 32px 0; }

/* Fixes for classes reused on table cells and for cards inside navy panels */
.article td.qty, .article td.note, .article td[class$="-label"], .article th[class$="-label"] { display: table-cell; margin: 0; }
.article td.qty { font-size: 19px; white-space: nowrap; }
.article td.note { font-size: 12px; }
.article .menu-board .menu-item, .article .case-study .cs-stat { color: #22262B; }
.article .menu-board .menu-item p, .article .case-study .cs-stat p { color: #22262B; }
.article .menu-board .menu-item .mi-label, .article .case-study .cs-stat-label { color: #44617F; }
.article .case-study .cs-stat-num { color: #15283F; }
.article figure img { max-width: 100% !important; width: 100%; height: auto; }
@media (min-width: 700px) { .article figure img[style*="max-width: 420px"] { width: 420px; } }
