/* =========================================
   Te'Amo Café — Blog (scoped, loaded after styles.css)
   ========================================= */

/* shared page head */
.bj-head { padding: clamp(2.4rem, 6vw, 4rem) 2rem 1.6rem; max-width: 980px; margin: 0 auto; }
.bj-head .crumb { font-size: 14px; color: var(--muted); display: inline-block; margin-bottom: 1rem; }
.bj-head .crumb:hover { color: var(--ink); }
.bj-head h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); letter-spacing: -0.02em; }
.bj-head .lede { max-width: 56ch; color: var(--muted); margin-top: 1rem; font-size: 1.02rem; line-height: 1.65; }

/* index cards */
.bj-list { max-width: 980px; margin: 0 auto; padding: 0.5rem 2rem clamp(3rem, 7vw, 5rem); }
.bj-card { display: block; padding: clamp(1.5rem, 4vw, 2.4rem) 0; border-top: 1px solid var(--line); }
.bj-card:last-child { border-bottom: 1px solid var(--line); }
.bj-card .eyebrow { margin-bottom: 0.4rem; }
.bj-card h2 { font-size: clamp(1.45rem, 3.4vw, 2.1rem); line-height: 1.12; color: var(--ink); transition: color .2s; }
.bj-card:hover h2 { color: var(--yellow-deep); }
.bj-card .dek { max-width: 62ch; color: var(--muted); margin-top: 0.75rem; line-height: 1.65; }
.bj-card .meta { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-top: 0.95rem; }

/* article — a centered editorial column: hero wider than the text, serif prose,
   drop cap on the opener. The whole read sits in the middle of the page. */
.bj-art { max-width: 860px; margin: 0 auto; padding: 0 2rem clamp(3rem, 7vw, 5rem); }
.bj-art .art-head { padding: clamp(2.2rem, 6vw, 3.6rem) 0 1.4rem; text-align: center; }
.bj-art .art-head .crumb { font-size: 14px; color: var(--muted); display: inline-block; margin-bottom: 1.1rem; }
.bj-art .art-head .crumb:hover { color: var(--ink); }
.bj-art .art-head h1 { font-size: clamp(2rem, 5.4vw, 3.4rem); letter-spacing: -0.02em; max-width: 20ch; line-height: 1.06; margin: 0 auto; }
.bj-art .art-meta { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-top: 1.2rem; }
.bj-art .art-photo { margin: 1.7rem 0 0; }
.bj-art .art-photo img { width: 100%; max-height: 62vh; object-fit: cover; border-radius: 6px; display: block; }
.bj-art .art-photo figcaption { font-family: 'Caveat', 'Brush Script MT', cursive; font-size: 19px; color: var(--muted); margin-top: 0.55rem; text-align: center; }

.bj-prose { max-width: 62ch; margin: clamp(1.7rem, 4vw, 2.6rem) auto 0; }
.bj-prose p { color: var(--ink-soft); line-height: 1.85; margin-bottom: 1.35rem; font-size: 1.11rem; font-family: Georgia, 'Times New Roman', serif; }
.bj-prose p strong { color: var(--ink); font-weight: 600; }
.bj-prose > p:first-child { font-size: 1.18rem; }
.bj-prose > p:first-child::first-letter { font-family: Georgia, 'Times New Roman', serif; font-size: 3.4em; line-height: 0.82; float: left; padding: 0.08em 0.14em 0 0; color: var(--yellow-deep); }
.bj-prose h2 { font-size: clamp(1.35rem, 2.8vw, 1.8rem); color: var(--ink); margin: 3rem 0 1rem; line-height: 1.15; }
.bj-prose ul { margin: 0 0 1.35rem 1.1rem; }
.bj-prose li { color: var(--ink-soft); line-height: 1.75; margin-bottom: 0.6rem; font-size: 1.05rem; font-family: Georgia, 'Times New Roman', serif; }
.bj-prose li::marker { color: var(--yellow-deep); }
.bj-prose a { color: var(--yellow-deep); border-bottom: 1px solid rgba(181,135,28,0.35); transition: border-color .2s; }
.bj-prose a:hover { border-color: var(--yellow-deep); }
.bj-prose .pull { font-family: Georgia, 'Times New Roman', serif; font-style: italic; font-size: clamp(1.3rem, 2.6vw, 1.55rem); color: var(--ink); line-height: 1.45; text-align: center; border: none; padding: 0.4rem 1rem; margin: 2.6rem 0; }
.bj-prose .aside-note { font-size: 0.92rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 1.1rem; margin-top: 2.6rem; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; }

/* photos inside the story break out a little wider than the text column */
.bj-prose .art-photo { margin: 2.2rem 0 2.4rem; width: min(calc(100vw - 2.5rem), 780px); margin-left: 50%; transform: translateX(-50%); }
.bj-prose .art-photo img { max-height: 52vh; }

/* end-of-post CTA */
.bj-cta { max-width: 62ch; margin: clamp(2.1rem, 5vw, 3rem) auto 0; border: 1px solid var(--line); border-radius: 8px; padding: clamp(1.5rem, 4vw, 2.2rem); background: var(--bg-soft); text-align: center; }
.bj-cta h3 { font-size: 1.4rem; color: var(--ink); margin-bottom: 0.65rem; }
.bj-cta p { color: var(--ink-soft); line-height: 1.65; margin-bottom: 1.15rem; }
.bj-cta .row { display: flex; gap: 0.8rem; flex-wrap: wrap; align-items: center; justify-content: center; }

/* more posts */
.bj-more { max-width: 62ch; margin: clamp(2.1rem, 5vw, 3rem) auto 0; }
.bj-more h4 { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.9rem; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-weight: 600; }
.bj-more a { display: block; font-family: Georgia, 'Times New Roman', serif; font-size: 1.08rem; color: var(--ink); padding: 0.65rem 0; border-top: 1px solid var(--line); transition: color .2s; }
.bj-more a:hover { color: var(--yellow-deep); }

/* TikTok embeds inside a post: center them and give them air. Before embed.js
   swaps the blockquote for an iframe, the fallback caption reads as a quiet card. */
.bj-prose .tiktok-embed { margin: 2.1rem auto !important; border: 1px solid var(--line); border-radius: 8px; padding: 1rem 1.2rem; background: var(--bg-soft); font-size: 0.92rem; color: var(--ink-soft); line-height: 1.6; }
.bj-prose .tiktok-embed iframe { margin: 0 auto; }
.bj-prose .tiktok-embed a { color: var(--yellow-deep); }
/* Instagram embeds: just center them — embed.js owns the card's look entirely,
   overriding its styles is what caused the stray-line artifact. */
.bj-prose .instagram-media { margin: 2.1rem auto !important; }

@media (max-width: 640px) {
  .bj-head, .bj-list, .bj-art { padding-left: 1.25rem; padding-right: 1.25rem; }
}
