/* ============================================================
   post-base.css — Blog Post Shared Styles
   ============================================================ */

/* POST HEADER */
.post-header {
  background: var(--ink);
  padding: calc(var(--nav-h) + clamp(3rem,6vw,5rem))
           clamp(1rem,4vw,2.5rem)
           clamp(2.5rem,5vw,4rem);
  position: relative; overflow: hidden;
}
.post-header::after {
  content: ''; position: absolute; top: -30%; right: -10%;
  width: 55vw; height: 55vw; max-width: 560px;
  background: radial-gradient(circle, rgba(29,114,245,.16) 0%, transparent 65%);
  pointer-events: none;
}
.ph-inner { max-width: 780px; margin: 0 auto; position: relative; z-index: 1; }

.p-eyebrow {
  display: flex; align-items: center; gap: .6rem; flex-wrap: wrap;
  margin-bottom: 1.25rem;
  opacity: 0; animation: pUp .5s ease .1s both;
}
.p-cat {
  font-size: .58rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  padding: .17rem .65rem; border-radius: var(--pill); border: 1.5px solid;
}
.p-cat.leadership { border-color: var(--blue-lt);  color: var(--blue-lt); }
.p-cat.delivery   { border-color: #67e8f9;          color: #67e8f9; }
.p-cat.architecture{ border-color: #c4b5fd;         color: #c4b5fd; }
.p-cat.ai         { border-color: #fcd34d;          color: #fcd34d; }
.p-cat.culture    { border-color: #86efac;          color: #86efac; }
.p-date { font-size: .72rem; color: rgba(255,255,255,.32); font-style: italic; }
.p-read { font-size: .68rem; font-weight: 500; color: rgba(255,255,255,.28); }
.p-read::before { content: '·'; margin-right: .5rem; }

.p-title {
  font-size: clamp(2rem,5.5vw,3.75rem); font-weight: 800;
  line-height: 1.08; letter-spacing: -.03em; color: var(--white);
  margin-bottom: 1.2rem;
  opacity: 0; animation: pUp .5s ease .2s both;
}
.p-title em { font-style: normal; color: var(--blue-lt); }

.p-lead {
  font-size: clamp(.9rem,2vw,1.05rem); font-weight: 400;
  color: rgba(255,255,255,.48); line-height: 1.82; max-width: 58ch;
  border-left: 3px solid var(--blue); padding-left: 1.1rem;
  margin-bottom: 1.75rem;
  opacity: 0; animation: pUp .5s ease .3s both;
}

.p-author {
  display: flex; align-items: center; gap: .85rem;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.09);
  border-radius: var(--rsm); padding: .85rem 1.1rem;
  opacity: 0; animation: pUp .5s ease .4s both;
}
.p-avatar {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  overflow: hidden; border: 2px solid var(--blue);
}
.p-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.p-aname { font-size: .84rem; font-weight: 700; color: rgba(255,255,255,.82); }
.p-arole { font-size: .7rem; color: rgba(255,255,255,.35); }

/* BODY WRAP */
.post-body-wrap {
  background: var(--white);
  padding: clamp(2.5rem,5vw,4.5rem) clamp(1rem,4vw,2.5rem) clamp(5rem,9vw,7rem);
}
.post-layout { max-width: 780px; margin: 0 auto; }

/* TOC */
.p-toc {
  background: var(--bg); border: 1.5px solid var(--bg3);
  border-left: 3px solid var(--blue); border-radius: var(--r);
  padding: 1.25rem 1.5rem; margin-bottom: 2.75rem;
}
.p-toc-lbl {
  font-size: .6rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--blue); margin-bottom: .75rem;
}
.p-toc ol { padding-left: 1.1rem; display: flex; flex-direction: column; gap: .35rem; }
.p-toc li { font-size: .865rem; color: var(--ink3); }
.p-toc a  { transition: color .18s; }
.p-toc a:hover { color: var(--blue); }

/* lang sections */
.lang-de, .lang-en { display: none; }
.lang-de.on, .lang-en.on { display: block; }

/* BODY TYPOGRAPHY */
.p-body { font-size: clamp(.875rem,1.8vw,.975rem); color: var(--ink3); line-height: 1.9; }
.p-body h2 {
  font-size: clamp(1.25rem,3vw,1.6rem); font-weight: 800;
  letter-spacing: -.025em; color: var(--ink); margin: 2.75rem 0 .85rem;
  line-height: 1.2; scroll-margin-top: 80px;
  padding-bottom: .65rem; border-bottom: 2px solid var(--bg3);
}
.p-body h3 {
  font-size: clamp(.95rem,2vw,1.15rem); font-weight: 700;
  color: var(--ink); margin: 1.75rem 0 .6rem; line-height: 1.3;
}
.p-body p  { margin-bottom: 1.2rem; }
.p-body p:last-child { margin-bottom: 0; }
.p-body ul, .p-body ol { padding-left: 1.4rem; margin-bottom: 1.2rem; display: flex; flex-direction: column; gap: .45rem; }
.p-body li  { line-height: 1.8; }
.p-body strong { font-weight: 700; color: var(--ink2); }

.callout {
  background: var(--blue-pale); border-left: 3px solid var(--blue);
  border-radius: 0 var(--rsm) var(--rsm) 0;
  padding: 1.1rem 1.35rem; margin: 1.75rem 0;
  font-size: .9rem; line-height: 1.8;
}
.callout strong { color: var(--blue); }

.highlight {
  background: var(--bg); border: 1.5px solid var(--bg3);
  border-left: 3px solid var(--red); border-radius: 0 var(--rsm) var(--rsm) 0;
  padding: 1.1rem 1.35rem; margin: 1.75rem 0;
  font-size: .9rem; line-height: 1.8;
}
.highlight strong { color: var(--red); }

/* POST FOOTER */
.p-hr { border: none; border-top: 1px solid var(--bg3); margin: 2.75rem 0 2rem; }

.share-row { display: flex; align-items: center; gap: .85rem; flex-wrap: wrap; margin-bottom: 2.75rem; }
.share-lbl { font-size: .62rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink4); }
.copy-btn {
  font-size: .7rem; font-weight: 600;
  background: none; border: 1.5px solid var(--bg3);
  color: var(--ink3); padding: .36rem .9rem; border-radius: var(--rsm);
  cursor: pointer; transition: border-color .18s, color .18s;
}
.copy-btn:hover { border-color: var(--blue); color: var(--blue); }

.p-cta {
  background: var(--ink); border-radius: var(--r);
  padding: clamp(1.65rem,3.5vw,2.25rem); margin-bottom: 2.75rem;
  border-left: 3px solid var(--blue);
}
.p-cta-h { font-size: clamp(1.1rem,2.5vw,1.45rem); font-weight: 800; color: var(--white); margin-bottom: .45rem; }
.p-cta-t { font-size: .865rem; color: rgba(255,255,255,.42); line-height: 1.75; margin-bottom: 1.25rem; max-width: 44ch; }
.p-cta-btn {
  display: inline-flex; align-items: center; gap: .42rem;
  background: var(--blue); color: var(--white);
  padding: .72rem 1.55rem; border-radius: var(--rsm);
  font-size: .835rem; font-weight: 600;
  box-shadow: 0 2px 12px rgba(29,114,245,.32);
  transition: background .2s, transform .2s var(--spring);
}
.p-cta-btn:hover { background: var(--blue-d); transform: translateY(-1px); }

.more-h { font-size: .62rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); margin-bottom: 1rem; }
.more-grid {
  display: grid; grid-template-columns: repeat(auto-fill,minmax(min(240px,100%),1fr));
  gap: .8rem;
}
.more-card {
  background: var(--bg); border: 1.5px solid var(--bg3); border-radius: var(--r);
  padding: 1.1rem 1.25rem; display: flex; flex-direction: column; gap: .35rem;
  transition: border-color .18s, background .18s, transform .2s var(--spring);
}
.more-card:hover { border-color: var(--blue); background: var(--white); transform: translateY(-2px); }
.more-cat   { font-size: .58rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }
.more-title { font-size: .9rem; font-weight: 700; color: var(--ink); line-height: 1.35; }
.more-link  { font-size: .7rem; font-weight: 600; color: var(--blue); margin-top: .2rem; }

@keyframes pUp { from{opacity:0;transform:translateY(14px)} to{opacity:1;transform:none} }

@media (max-width: 480px) {
  .p-title   { font-size: 1.9rem; }
  .more-grid { grid-template-columns: 1fr; }
}
