/* Blog typography & layout — rogsm.com */

.breadcrumb-nav {
    border-bottom: 1px solid rgba(17, 17, 17, .08);
    padding: 22px 0 18px;
    background: var(--paper, #f7f3ec);
}
.breadcrumb {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    font-family: var(--font-mono, ui-monospace, "Geist Mono", monospace);
    font-size: 13px;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: rgba(17, 17, 17, .65);
}
.breadcrumb li + li::before {
    content: "/";
    margin-right: 12px;
    color: rgba(17, 17, 17, .3);
}
.breadcrumb a {
    color: rgba(17, 17, 17, .75);
    text-decoration: none;
    transition: color .2s;
}
.breadcrumb a:hover { color: #111; }
.breadcrumb li[aria-current="page"] { color: #111; }

/* Article hero */
.blog-hero {
    background: var(--paper, #f7f3ec);
    padding: 56px 0 40px;
    border-bottom: 1px solid rgba(17, 17, 17, .08);
}
.blog-hero .shell { max-width: 820px; }
.blog-hero-meta {
    display: flex;
    gap: 14px;
    align-items: center;
    font-family: var(--font-mono, ui-monospace, "Geist Mono", monospace);
    font-size: 12px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(17, 17, 17, .55);
    margin-bottom: 18px;
}
.blog-hero-meta .dot {
    width: 4px; height: 4px;
    border-radius: 50%;
    background: rgba(17, 17, 17, .35);
}
.blog-hero h1 {
    font-family: var(--font-serif, "Fraunces", Georgia, serif);
    font-size: clamp(28px, 4.5vw, 46px);
    line-height: 1.15;
    margin: 0 0 22px;
    color: #111;
    font-weight: 500;
    letter-spacing: -0.01em;
}
.blog-hero h1 em {
    font-style: italic;
    color: rgba(17, 17, 17, .85);
}
.blog-hero-lede {
    font-family: var(--font-sans, "Geist", system-ui, sans-serif);
    font-size: clamp(16px, 1.4vw, 18px);
    line-height: 1.6;
    color: rgba(17, 17, 17, .72);
    max-width: 64ch;
    margin: 0;
}

/* Article body */
.blog-article {
    padding: 56px 0 72px;
    background: #fff;
}
.blog-article .shell { max-width: 720px; }

.blog-article p,
.blog-article ul,
.blog-article ol {
    font-family: var(--font-sans, "Geist", system-ui, sans-serif);
    font-size: 17px;
    line-height: 1.75;
    color: #1c1c1c;
    margin: 0 0 22px;
}

.blog-article h2 {
    font-family: var(--font-serif, "Fraunces", Georgia, serif);
    font-size: clamp(22px, 2.6vw, 28px);
    line-height: 1.25;
    margin: 48px 0 18px;
    color: #111;
    font-weight: 500;
    letter-spacing: -0.005em;
}
.blog-article h3 {
    font-family: var(--font-serif, "Fraunces", Georgia, serif);
    font-size: clamp(18px, 2vw, 21px);
    line-height: 1.3;
    margin: 32px 0 12px;
    color: #111;
    font-weight: 500;
}

.blog-article ul,
.blog-article ol {
    padding-left: 24px;
}
.blog-article li {
    margin: 0 0 10px;
    line-height: 1.7;
}
.blog-article li strong { color: #111; }

.blog-article a {
    color: #111;
    text-decoration: underline;
    text-decoration-color: rgba(17, 17, 17, .25);
    text-underline-offset: 3px;
    transition: text-decoration-color .2s;
}
.blog-article a:hover {
    text-decoration-color: #111;
}

.blog-article strong { color: #111; font-weight: 600; }
.blog-article em { font-style: italic; }

/* Tables */
.blog-article table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0 32px;
    font-family: var(--font-sans, "Geist", system-ui, sans-serif);
    font-size: 15px;
    background: var(--paper, #f7f3ec);
    border: 1px solid rgba(17, 17, 17, .1);
}
.blog-article thead {
    background: rgba(17, 17, 17, .04);
    border-bottom: 2px solid rgba(17, 17, 17, .12);
}
.blog-article th,
.blog-article td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid rgba(17, 17, 17, .08);
    line-height: 1.5;
}
.blog-article th {
    font-family: var(--font-mono, ui-monospace, "Geist Mono", monospace);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #111;
    font-weight: 600;
}
.blog-article tbody tr:last-child td { border-bottom: none; }
.blog-article tbody tr:hover { background: rgba(17, 17, 17, .02); }

/* CTA block at end of article */
.blog-cta {
    background: var(--paper, #f7f3ec);
    border: 1px solid rgba(17, 17, 17, .1);
    border-radius: 8px;
    padding: 32px 28px;
    margin-top: 48px;
}
.blog-cta h2 {
    margin: 0 0 12px;
    font-size: clamp(20px, 2.4vw, 26px);
}
.blog-cta p {
    margin: 0 0 12px;
    font-size: 16px;
}
.blog-cta p:last-child { margin-bottom: 0; }

/* FAQ section uses default tightened spacing */
.blog-article [itemtype$="FAQPage"] {
    margin-top: 12px;
}
.blog-article [itemtype$="FAQPage"] > div {
    padding: 18px 0;
    border-bottom: 1px solid rgba(17, 17, 17, .08);
}
.blog-article [itemtype$="FAQPage"] > div:last-child {
    border-bottom: none;
}
.blog-article [itemtype$="FAQPage"] h3 {
    margin: 0 0 8px;
    font-size: 18px;
}
.blog-article [itemtype$="FAQPage"] p {
    margin: 0;
    color: rgba(17, 17, 17, .8);
}

/* Blog index — articles grid */
.blog-index {
    padding: 56px 0 72px;
    background: #fff;
}
.blog-index .shell { max-width: 980px; }
.blog-index-grid {
    display: grid;
    gap: 28px;
    margin-top: 36px;
}
@media (min-width: 720px) {
    .blog-index-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
}
@media (min-width: 1080px) {
    .blog-index-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
.blog-card {
    display: flex;
    flex-direction: column;
    padding: 28px;
    background: var(--paper, #f7f3ec);
    border: 1px solid rgba(17, 17, 17, .1);
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.blog-card:hover {
    transform: translateY(-2px);
    border-color: rgba(17, 17, 17, .25);
    box-shadow: 0 8px 24px rgba(17, 17, 17, .06);
}
.blog-card-num {
    font-family: var(--font-mono, ui-monospace, "Geist Mono", monospace);
    font-size: 12px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(17, 17, 17, .55);
    margin-bottom: 18px;
}
.blog-card h2 {
    font-family: var(--font-serif, "Fraunces", Georgia, serif);
    font-size: 22px;
    line-height: 1.25;
    margin: 0 0 14px;
    color: #111;
    font-weight: 500;
    letter-spacing: -0.005em;
}
.blog-card p {
    font-family: var(--font-sans, "Geist", system-ui, sans-serif);
    font-size: 15px;
    line-height: 1.6;
    color: rgba(17, 17, 17, .72);
    margin: 0 0 22px;
    flex-grow: 1;
}
.blog-card-link {
    font-family: var(--font-mono, ui-monospace, "Geist Mono", monospace);
    font-size: 13px;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #111;
    border-bottom: 1px solid rgba(17, 17, 17, .2);
    padding-bottom: 4px;
    display: inline-block;
    margin-top: auto;
    align-self: flex-start;
}
.blog-card:hover .blog-card-link {
    border-bottom-color: #111;
}

.blog-back {
    margin-top: 48px;
    text-align: center;
}
.blog-back a {
    font-family: var(--font-mono, ui-monospace, "Geist Mono", monospace);
    font-size: 13px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(17, 17, 17, .65);
    text-decoration: none;
    border-bottom: 1px solid rgba(17, 17, 17, .15);
    padding-bottom: 4px;
    transition: color .2s, border-color .2s;
}
.blog-back a:hover {
    color: #111;
    border-bottom-color: #111;
}
