.progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--orange); z-index: 60; transition: width .1s linear; }

.post-head { position: relative; padding: 44px 0 30px; }
.back { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; color: var(--muted); margin-bottom: 26px; transition: color .15s ease; }
.back:hover { color: var(--orange); }
.post-head .tag { display: inline-flex; align-items: center; gap: 7px; background: var(--orange-soft); color: var(--orange-dark); font-weight: 600; font-size: 13px; padding: 6px 13px; border-radius: 999px; margin-bottom: 18px; }
.post-head h1 { font-size: clamp(32px, 5vw, 54px); letter-spacing: -.035em; line-height: 1.06; max-width: 820px; }
.post-meta { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--muted); margin-top: 24px; }
.post-meta .av { width: 44px; height: 44px; border-radius: 50%; background: var(--orange-soft); display: grid; place-items: center; font-size: 20px; overflow: hidden; }
.post-meta .av img { width: 100%; height: 100%; object-fit: cover; }
.post-meta b { color: var(--ink); font-weight: 600; display: block; font-size: 15px; }
.post-meta small { color: var(--muted); }
.post-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--muted); }

.hero-banner { height: clamp(220px, 34vw, 380px); border-radius: 26px; display: grid; place-items: center; margin: 8px 0 44px; box-shadow: var(--shadow-md); position: relative; overflow: hidden; }
.hero-banner .big { font-size: clamp(80px, 14vw, 140px); filter: drop-shadow(0 16px 30px rgba(0,0,0,.22)); }
.hero-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-banner figcaption { position: absolute; right: 12px; bottom: 10px; font-size: 12px; color: rgba(255,255,255,.85); background: rgba(14,17,22,.45); padding: 4px 10px; border-radius: 999px; backdrop-filter: blur(4px); }
.hero-banner figcaption a { color: #fff; font-weight: 600; }
.hero-banner figcaption a:hover { text-decoration: underline; }

.article { max-width: 720px; margin: 0 auto; }
.article p { font-size: 18.5px; line-height: 1.72; color: var(--ink-soft); margin-bottom: 24px; }
.article p.lead { font-size: 22px; line-height: 1.6; color: var(--ink); font-weight: 500; margin-bottom: 32px; }
.article h2 { font-size: 29px; letter-spacing: -.025em; margin: 42px 0 16px; color: var(--ink); }
.article ul, .article ol { margin: 0 0 24px 4px; padding-left: 24px; }
.article li { font-size: 18px; line-height: 1.65; color: var(--ink-soft); margin-bottom: 12px; }
.article li strong, .article p strong { color: var(--ink); font-weight: 600; }
.article blockquote { margin: 34px 0; padding: 6px 0 6px 26px; border-left: 4px solid var(--orange); font-family: 'Instrument Serif', Georgia, serif; font-size: 25px; line-height: 1.4; color: var(--ink); font-style: italic; }
.article em { font-style: italic; }
.article a { color: var(--orange); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.article a:hover { color: var(--orange-dark); }

.share { max-width: 720px; margin: 48px auto 0; padding-top: 28px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.share span { font-weight: 600; color: var(--ink-soft); font-size: 15px; }
.share .icons { display: flex; gap: 10px; }
.share .icons a, .share .icons button { width: 40px; height: 40px; border-radius: 11px; background: var(--card); border: 1px solid var(--line); display: grid; place-items: center; transition: background .15s ease, color .15s ease; color: var(--ink-soft); cursor: pointer; }
.share .icons a:hover, .share .icons button:hover { background: var(--orange); color: #fff; border-color: var(--orange); }
.share .icons svg { width: 17px; height: 17px; }

/* Prev / next */
.post-nav { max-width: 720px; margin: 36px auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.post-nav a { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease; }
.post-nav a:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.post-nav small { display: block; color: var(--muted); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 6px; }
.post-nav b { font-size: 15px; letter-spacing: -.01em; line-height: 1.3; color: var(--ink); }
.post-nav .next { text-align: right; }
@media (max-width: 620px) { .post-nav { grid-template-columns: 1fr; } .post-nav .next { text-align: left; } }

/* CTA */
.post-cta { max-width: 720px; margin: 52px auto 0; background: var(--ink); color: #fff; border-radius: 24px; padding: 40px; display: flex; align-items: center; gap: 26px; }
/* With no "Keep reading" section below, the CTA would sit flush against the
   footer — mirror the breathing room that section would have provided. */
article > .wrap:last-child .post-cta { margin-bottom: 90px; }
.post-cta .mark { width: 60px; height: 60px; flex: none; border-radius: 16px; background: var(--orange); display: grid; place-items: center; box-shadow: 0 10px 24px -8px rgba(255,74,28,.7); overflow: hidden; }
.post-cta .mark img { width: 100%; height: 100%; object-fit: cover; }
.post-cta h3 { font-size: 22px; letter-spacing: -.02em; margin-bottom: 6px; }
.post-cta p { color: #A8AEB8; font-size: 15px; }
.post-cta .btn-primary { margin-left: auto; flex: none; }
@media (max-width: 620px) { .post-cta { flex-direction: column; text-align: center; padding: 32px; } .post-cta .btn-primary { margin-left: 0; } }

/* Related */
.related { padding: 84px 0 90px; }
.related h2 { text-align: center; font-size: 32px; letter-spacing: -.03em; margin-bottom: 40px; }
.rel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.rcard { background: var(--card); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease; }
.rcard:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.rcard .banner { height: 130px; display: grid; place-items: center; position: relative; overflow: hidden; }
.rcard .banner .big { font-size: 46px; }
.rcard .banner img.ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.rcard:hover .banner img.ph { transform: scale(1.04); }
.rcard .body { padding: 20px; }
.rcard .cat { color: var(--orange); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; }
.rcard h4 { font-size: 18px; letter-spacing: -.02em; line-height: 1.25; margin-top: 8px; }
.rcard h4 a:hover { color: var(--orange); }
@media (max-width: 820px) { .rel-grid { grid-template-columns: 1fr; } }
