/* blog/post.html-specific styles, loaded alongside public.v1.css. */
.post-hero { padding: 56px 0 0; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-family: "IBM Plex Mono", monospace; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--sage); margin-bottom: 20px; }
.breadcrumb a:hover { color: var(--emerald); }
.breadcrumb span { opacity: .5; }
.post-cat-badge { display: inline-flex; padding: 5px 12px; border-radius: 999px; background: var(--fern); color: var(--emerald); font-family: "IBM Plex Mono", monospace; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; margin-bottom: 18px; }
.post-hero h1 { margin: 0; font-family: "Cormorant Garamond", Georgia, serif; font-size: clamp(2.4rem, 5.5vw, 5rem); line-height: .97; letter-spacing: -.05em; color: var(--forest); max-width: 900px; }
.post-hero h1 em { font-style: italic; color: var(--emerald); }
.post-byline { margin: 22px 0 0; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.post-byline-name { font-weight: 800; color: var(--forest); font-size: .93rem; }
.post-byline-date { font-family: "IBM Plex Mono", monospace; font-size: .75rem; color: var(--sage); font-weight: 600; }

.post-featured-img { margin: 36px 0 0; border-radius: 24px; overflow: hidden; aspect-ratio: 16/9; }
.post-featured-img picture { display: block; width: 100%; height: 100%; }
.post-featured-img img { width: 100%; height: 100%; object-fit: cover; }

.post-content-wrap { padding: 52px 0 80px; }
.post-layout { display: grid; grid-template-columns: 1fr 300px; gap: 60px; align-items: start; }
@media(max-width: 940px) { .post-layout { grid-template-columns: 1fr; } .post-sidebar { display: none; } }

.post-body { color: var(--soft-ink); font-size: 1.07rem; line-height: 1.78; }
.post-body p { margin: 0 0 1.4em; }
.post-body h2 { font-family: "Cormorant Garamond", Georgia, serif; font-size: 2rem; color: var(--forest); margin: 1.8em 0 .6em; letter-spacing: -.03em; line-height: 1.1; }
.post-body h3 { font-size: 1.15rem; color: var(--forest); margin: 1.5em 0 .5em; font-weight: 800; }
.post-body ul, .post-body ol { margin: 0 0 1.4em 1.4em; }
.post-body li { margin-bottom: .4em; }
.post-body blockquote { border-left: 3px solid var(--emerald); padding-left: 20px; margin: 1.6em 0; color: var(--forest); font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.35rem; line-height: 1.3; }
.post-body strong { color: var(--forest); }
.post-body a { color: var(--emerald); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.post-body a:hover { color: var(--forest); }
.post-body pre { background: var(--forest); color: #e8f1ea; padding: 20px; border-radius: 12px; overflow-x: auto; font-family: "IBM Plex Mono", monospace; font-size: .88rem; margin: 1.4em 0; }
.post-body code { font-family: "IBM Plex Mono", monospace; font-size: .88em; background: var(--fern); padding: 2px 6px; border-radius: 4px; }
.post-body pre code { background: none; padding: 0; }
.post-body img { border-radius: 12px; margin: 1.2em 0; }

.post-sidebar { position: sticky; top: 100px; }
.sidebar-card { background: rgba(255,255,255,.82); border: 1px solid rgba(216,214,206,.9); border-radius: 22px; padding: 24px; margin-bottom: 18px; }
.sidebar-card h2 { font-size: .88rem; font-weight: 800; color: var(--forest); margin: 0 0 10px; text-transform: uppercase; letter-spacing: .05em; font-family: inherit; }
.sidebar-card p { font-size: .88rem; color: var(--soft-ink); margin: 0 0 14px; }
.sidebar-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: var(--emerald); color: #fff; font-size: .82rem; font-weight: 800; transition: background .15s; }
.sidebar-btn:hover { background: var(--forest); }
.sidebar-tag { display: inline-flex; padding: 5px 10px; border-radius: 999px; background: var(--fern); color: var(--forest); font-size: .78rem; font-weight: 700; margin: 3px 3px 3px 0; }

.post-footer { padding-top: 40px; border-top: 1px solid var(--line); margin-top: 40px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.post-footer a { font-weight: 800; color: var(--emerald); }
.post-footer a:hover { color: var(--forest); }

.related-service { margin-top: 44px; padding: 18px 22px; border: 1px solid rgba(18,111,74,.22); border-left: 3px solid var(--emerald); border-radius: 12px; background: var(--fern); display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.related-service-label { font-family: "IBM Plex Mono", monospace; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--sage); }
.related-service a { font-weight: 800; color: var(--emerald); }
.related-service a:hover { color: var(--forest); }

/* Share panel: [hidden] takes the closed sheet out of layout AND the tab
   order (no max-width/opacity hack, so collapsed links can't be tabbed to). */
.share-wrap { display: inline-flex; align-items: center; }
.share-toggle { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 999px; border: 1px solid rgba(15,47,36,.18); background: rgba(255,255,255,.65); color: var(--sage); cursor: pointer; transition: color .15s, background .15s; flex-shrink: 0; }
.share-toggle:hover { color: var(--emerald); background: var(--fern); }
.share-sheet { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.share-sheet[hidden] { display: none; }
.share-btn { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 999px; border: 1px solid rgba(15,47,36,.15); background: rgba(255,255,255,.65); color: var(--sage); cursor: pointer; text-decoration: none; transition: color .15s, background .15s; flex-shrink: 0; }
.share-btn:hover { color: var(--emerald); background: var(--fern); }
.share-close { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 999px; border: 1px solid rgba(15,47,36,.15); background: rgba(255,255,255,.65); color: var(--sage); cursor: pointer; transition: color .15s, background .15s; flex-shrink: 0; }
.share-close:hover { color: var(--forest); background: var(--stone); }
.share-copied { font-family: "IBM Plex Mono", monospace; font-size: .7rem; font-weight: 700; color: var(--emerald); white-space: nowrap; padding: 0 2px; min-width: 0; }
