/* Site-ul www.andracostrachevici.com: blog + pagina principală (paleta din Identity Book) */
:root {
  --visiniu: #9B1B3A; --visiniu-h: #741E31; --burgundy: #4A0E20; --cherry: #C0395A;
  --roz: #F2C4D8; --lila: #B89AC8; --deep: #2F020C; --sorbet: #F1D3DF; --pruna: #4B284B;
  --bg: #FFF7FA; --text: #2F020C; --muted: #6E5A61;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.65 "DM Sans", Arial, sans-serif; }
a { color: var(--visiniu); }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.wrap.narrow { max-width: 820px; }
h1, h2, h3 { font-family: "Playfair Display", Georgia, serif; color: var(--burgundy); line-height: 1.2; }

/* navigație */
.nav { background: #fff; border-bottom: 1px solid #F0DCE5; position: sticky; top: 0; z-index: 10; }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--burgundy); font: 700 19px "Playfair Display", Georgia, serif; }
.brand img { width: 40px; height: 40px; }
.nav nav { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.nav nav a { text-decoration: none; font-weight: 600; font-size: 15px; color: var(--burgundy); }
.nav nav a:last-child { background: var(--visiniu); color: #fff; padding: 9px 16px; border-radius: 999px; }
.nav nav a:last-child:hover { background: var(--visiniu-h); }
@media (max-width: 560px) { .brand span { display: none; } }

/* antet articol / listă */
.post-head { background: linear-gradient(180deg, var(--sorbet), var(--bg)); padding: 46px 0 34px; }
.post-head h1 { font-size: clamp(30px, 5vw, 46px); margin: 10px 0 10px; }
.post-head time, .lead { color: var(--muted); }
.lead { max-width: 680px; font-size: 18px; margin: 0 0 18px; }
.crumbs { font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.cats { display: flex; flex-wrap: wrap; gap: 8px; }
.cats a { text-decoration: none; padding: 7px 14px; border-radius: 999px; background: #fff; border: 1px solid #EBCFDB; font-size: 14px; font-weight: 600; color: var(--burgundy); }
.cats a.on, .cats a:hover { background: var(--burgundy); color: #fff; border-color: var(--burgundy); }

/* articol */
.post-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; padding-top: 10px; padding-bottom: 50px; align-items: start; }
@media (max-width: 900px) { .post-grid { grid-template-columns: 1fr; } }
.articol-blog { font-size: 19px; line-height: 1.75; max-width: 760px; }
.articol-blog h2 { font-size: 28px; margin: 40px 0 14px; }
.articol-blog h3 { font-size: 21px; margin: 26px 0 8px; }
.articol-blog p { margin: 0 0 16px; }
.articol-blog ul, .articol-blog ol { margin: 0 0 18px; padding-left: 26px; }
.articol-blog li { margin-bottom: 8px; }
.articol-blog strong { color: var(--deep); }
.author { position: sticky; top: 90px; background: #fff; border: 1px solid #F0DCE5; border-radius: 18px; padding: 20px; text-align: center; }
.author img { border-radius: 14px; margin: 0 auto 14px; width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.author h3 { margin: 0 0 4px; font-size: 20px; }
.author .role { color: var(--muted); font-size: 14px; margin: 0 0 10px; }
.author p { font-size: 15px; }

/* butoane */
.btn { display: inline-block; background: var(--visiniu); color: #fff; text-decoration: none; font-weight: 700; padding: 13px 24px; border-radius: 999px; }
.btn:hover { background: var(--visiniu-h); }
.btn.ghost { background: transparent; color: var(--burgundy); border: 2px solid var(--burgundy); }
.btn.ghost:hover { background: var(--burgundy); color: #fff; }

/* carduri */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; padding: 10px 0 50px; }
.card { display: flex; flex-direction: column; gap: 8px; background: #fff; border: 1px solid #F0DCE5; border-radius: 18px; padding: 22px; text-decoration: none; color: var(--text); transition: transform .15s, box-shadow .15s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(74, 14, 32, .10); }
.card h2 { font-size: 21px; margin: 0; }
.card p { margin: 0; color: var(--muted); font-size: 15px; flex: 1; }
.card .tag { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--cherry); }
.card .more { font-size: 14px; font-weight: 700; color: var(--visiniu); }
.related { background: #fff; border-top: 1px solid #F0DCE5; padding-top: 30px; }
.related h2 { margin: 0 0 6px; }
.empty { padding: 20px 0 60px; font-size: 18px; }

/* subsol */
.foot { background: var(--deep); color: #E9CFD9; text-align: center; font-size: 14px; padding: 30px 0; }
.foot a { color: #F2C4D8; }
.foot p { margin: 6px 0; }
.foot .disclaimer { max-width: 720px; margin: 14px auto 0; font-size: 12px; opacity: .75; }

/* pagina principală „în lucru” */
body.home { background: var(--sorbet); }
.soon { min-height: 100vh; display: grid; grid-template-columns: 1.05fr 1fr; }
.soon-text { display: flex; flex-direction: column; justify-content: center; padding: 48px clamp(22px, 6vw, 90px); background: var(--bg); }
.soon-logo { width: 64px; height: 64px; margin-bottom: 18px; }
.soon .eyebrow { text-transform: uppercase; letter-spacing: .16em; font-weight: 700; font-size: 13px; color: var(--cherry); margin: 0; }
.soon h1 { font-size: clamp(34px, 5vw, 56px); margin: 10px 0 14px; }
.soon p { font-size: 18px; color: var(--muted); max-width: 480px; margin: 0 0 22px; }
.soon-img { background: #E9E6E8 url("/img/site-in-lucru.webp") center / cover no-repeat; }
.loader { max-width: 440px; margin: 4px 0 26px; }
.loader .bar { height: 14px; background: #F3DCE6; border-radius: 999px; overflow: hidden; }
.loader .bar span { display: block; height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, var(--burgundy), var(--visiniu), var(--cherry)); animation: fill 1.8s ease-out forwards; position: relative; }
.loader .bar span::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,.45), transparent); animation: shine 1.6s 1.8s infinite; }
.loader .pct { margin-top: 8px; font-weight: 700; color: var(--burgundy); }
@keyframes fill { to { width: 80%; } }
@keyframes shine { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
.soon .small { font-size: 15px; margin: 0 0 10px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.soon .legal { font-size: 13px; margin: 0; }
@media (max-width: 820px) {
  .soon { grid-template-columns: 1fr; }
  .soon-img { min-height: 42vh; order: -1; }
  .soon-text { padding-top: 30px; }
}
