/* ==========================================================
   Bloom Essence — stilul blogului
   Culorile principale sunt în :root, le poți schimba de acolo.
   ========================================================== */

@font-face {
  font-family: "Lora";
  src: url("../fonturi/Lora-Variable.ttf") format("truetype");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Lora";
  src: url("../fonturi/Lora-Italic-Variable.ttf") format("truetype");
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}

:root {
  --hartie: #f9f0e7;          /* fundalul headerului */
  --card: #fcf6f0;            /* fundalul cardurilor */
  --card-contur: #efdcd3;
  --roz-bara: #f5ddd6;        /* bara de sus */
  --roz-buton: #f4d0cc;
  --roz-text: #c97d86;        /* titluri */
  --roz-inchis: #b86a74;
  --verde: #a5b38d;           /* meniu și footer */
  --verde-text: #8c9c74;      /* date */
  --text: #5c4a45;
  --text-slab: #8a7670;
  --umbra: 0 2px 10px rgba(150, 110, 95, .10);
  --scris-mana: "Caveat", "Segoe Print", cursive;
  --serif: "Lora", Georgia, serif;
  --rupt: polygon(0.0% 0.2%, 3.8% 1.2%, 7.7% 0.4%, 11.5% 1.5%, 15.4% 0.6%, 19.2% 1.1%, 23.1% 0.1%, 26.9% 1.3%, 30.8% 0.5%, 34.6% 1.4%, 38.5% 0.3%, 42.3% 1.0%, 46.2% 0.2%, 50.0% 1.5%, 53.8% 0.7%, 57.7% 1.2%, 61.5% 0.1%, 65.4% 1.1%, 69.2% 0.4%, 73.1% 1.6%, 76.9% 0.3%, 80.8% 1.0%, 84.6% 0.5%, 88.5% 1.4%, 92.3% 0.2%, 96.2% 1.2%, 100.0% 0.4%, 99.0% 3.8%, 99.8% 7.7%, 98.7% 11.5%, 99.5% 15.4%, 98.9% 19.2%, 99.9% 23.1%, 98.6% 26.9%, 99.4% 30.8%, 98.8% 34.6%, 99.7% 38.5%, 98.7% 42.3%, 99.6% 46.2%, 98.8% 50.0%, 99.9% 53.8%, 98.6% 57.7%, 99.3% 61.5%, 98.9% 65.4%, 99.8% 69.2%, 98.7% 73.1%, 99.5% 76.9%, 98.9% 80.8%, 99.9% 84.6%, 98.6% 88.5%, 99.4% 92.3%, 98.8% 96.2%, 99.7% 100%, 96.2% 98.6%, 92.3% 99.6%, 88.5% 98.5%, 84.6% 99.4%, 80.8% 98.7%, 76.9% 99.8%, 73.1% 98.6%, 69.2% 99.5%, 65.4% 98.9%, 61.5% 99.9%, 57.7% 98.5%, 53.8% 99.3%, 50.0% 98.7%, 46.2% 99.7%, 42.3% 98.6%, 38.5% 99.5%, 34.6% 98.8%, 30.8% 99.9%, 26.9% 98.6%, 23.1% 99.4%, 19.2% 98.7%, 15.4% 99.8%, 11.5% 98.5%, 7.7% 99.3%, 3.8% 98.9%, 0.0% 99.6%, 1.1% 96.2%, 0.3% 92.3%, 1.3% 88.5%, 0.4% 84.6%, 1.2% 80.8%, 0.1% 76.9%, 1.4% 73.1%, 0.5% 69.2%, 1.0% 65.4%, 0.2% 61.5%, 1.3% 57.7%, 0.6% 53.8%, 1.1% 50.0%, 0.1% 46.2%, 1.4% 42.3%, 0.4% 38.5%, 1.2% 34.6%, 0.3% 30.8%, 1.0% 26.9%, 0.5% 23.1%, 1.3% 19.2%, 0.2% 15.4%, 1.1% 11.5%, 0.6% 7.7%, 1.2% 3.8%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--serif);
  color: var(--text);
  font-size: 15px;
  line-height: 1.6;
  /* fundal în carouri roz, ca în referință */
  background-color: #f9ebe6;
  background-image:
    repeating-linear-gradient(0deg, rgba(240, 200, 195, .28) 0 14px, transparent 14px 28px),
    repeating-linear-gradient(90deg, rgba(240, 200, 195, .28) 0 14px, transparent 14px 28px);
}
a { color: var(--roz-inchis); }
img { max-width: 100%; }

/* ---------- bara de sus ---------- */
.bara-sus {
  background: var(--roz-bara);
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 46px;
  border-bottom: 1px solid #f0d2ca;
}
.bara-sus .motto {
  font-family: var(--scris-mana);
  font-size: 19px;
  color: #8a6763;
  display: flex;
  align-items: center;
  gap: 10px;
}
.bara-sus .motto .inimioara { color: #d98b96; font-size: 14px; }
.bara-sus .iconite { display: flex; gap: 22px; align-items: center; }
.bara-sus .iconite a, .bara-sus .iconite button {
  display: inline-flex; background: none; border: 0; padding: 0; cursor: pointer;
}
.bara-sus .iconite img { width: 20px; height: 20px; }
.bara-sus .iconite .floricica img { width: 22px; height: 22px; }

/* ---------- header ---------- */
.header {
  position: relative;
  background: var(--hartie);
  height: 404px;
  overflow: hidden;
  text-align: center;
}
.header .decor { position: absolute; pointer-events: none; }
.header .centru {
  position: relative;
  z-index: 2;
  padding-top: 52px;
}
.header .logo { width: 460px; max-width: 74%; display: block; margin: 0 auto; }
.header .fundita { width: 200px; margin: 18px auto 6px; display: block; }
.header .subtitlu {
  font-size: 16.5px;
  color: #6f5a54;
  line-height: 1.55;
  margin: 4px 0 0;
}
.header .inima-mica { color: #e7a1ab; font-size: 18px; margin-top: 4px; display: block; }

/* bilețelul din stânga */
.biletel {
  position: absolute;
  left: 30px; top: 178px;
  width: 190px; height: 196px;
  background: linear-gradient(160deg, #f6eddd, #efe3cf);
  box-shadow: 2px 5px 12px rgba(120, 90, 70, .18);
  transform: rotate(-6deg);
  z-index: 1;
}
.biletel::before { /* bandă adezivă */
  content: ""; position: absolute; top: -12px; left: 60px;
  width: 74px; height: 24px;
  background: rgba(241, 186, 191, .75);
  transform: rotate(2deg);
}
.biletel::after { /* colț îndoit */
  content: ""; position: absolute; right: 0; bottom: 0;
  width: 26px; height: 26px;
  background: linear-gradient(315deg, var(--hartie) 48%, #e2d3bb 50%, #f4ead9 100%);
  box-shadow: -2px -2px 4px rgba(120, 90, 70, .1);
}
.biletel img { position: absolute; left: 10px; bottom: 16px; width: 52px; }
.biletel p {
  position: absolute; left: 66px; top: 44px; margin: 0;
  font-family: var(--scris-mana); font-size: 19px; line-height: 1.35;
  color: #6c5650; text-align: left; transform: rotate(-8deg);
}
.biletel p span { color: #e09aa4; }

/* ---------- meniul ---------- */
.meniu {
  position: relative;
  background: var(--verde);
  z-index: 3;
}
.meniu ul {
  list-style: none; margin: 0 auto; padding: 0;
  display: flex; justify-content: center; max-width: 900px;
}
.meniu li { position: relative; }
.meniu li + li::before {
  content: ""; position: absolute; left: 0; top: 18px; bottom: 18px;
  width: 1px; background: rgba(255, 250, 240, .45);
}
.meniu a {
  display: block;
  padding: 15px 52px 17px;
  color: #fdf8f0;
  text-decoration: none;
  font-size: 18.5px;
  letter-spacing: .2px;
  position: relative;
}
.meniu a:hover { color: #fff; }
.meniu a.activ::after {
  content: ""; position: absolute; left: 30%; right: 30%; bottom: 9px;
  height: 3px; border-radius: 3px; background: #fdf3ea;
}
.meniu a.activ::before {
  content: "♥"; position: absolute; top: 9px; right: 36px;
  font-size: 10px; color: #f2b9c0;
}
.dantela { /* marginea de dantelă de sub meniu */
  height: 12px;
  background:
    radial-gradient(circle at 7px 0, #fdf8f2 0 6px, transparent 6.5px) 0 0 / 14px 12px repeat-x,
    radial-gradient(circle at 7px 3px, rgba(165, 179, 141, .5) 0 1.2px, transparent 1.6px) 0 0 / 14px 12px repeat-x;
  position: relative; z-index: 3;
}

/* ---------- conținut ---------- */
.continut {
  flex: 1;
  width: 100%;
  max-width: 1240px;
  margin: 30px auto 0;
  padding: 0 28px 40px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 36px;
  align-items: start;
}

.card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--card-contur);
  border-radius: 6px;
  box-shadow: var(--umbra);
}

/* card de articol în listă */
.articol-card {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr) 56px;
  gap: 38px;
  padding: 34px 26px 26px 34px;
  margin-bottom: 18px;
}
.agrafa {
  position: absolute; left: 26px; top: -10px;
  width: 22px; z-index: 2;
  transform: rotate(-4deg);
}
.foto-rupta {
  clip-path: var(--rupt);
  display: block;
  width: 100%;
  aspect-ratio: 210 / 250;
  object-fit: cover;
  background: #eadfcf;
  filter: saturate(.92);
}
.articol-card .text { padding-top: 2px; min-width: 0; }
.data { color: var(--verde-text); font-size: 13px; margin: 0 0 12px; }
.articol-card h2 {
  font-weight: 400; font-size: 25px; line-height: 1.25;
  color: var(--roz-text); margin: 0 0 18px;
  position: relative;
}
.articol-card h2 a { color: inherit; text-decoration: none; }
.articol-card h2 a:hover { color: var(--roz-inchis); }
.articol-card .rezumat {
  font-size: 14px; line-height: 1.6; margin: 0 0 18px;
  display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden;
}
.inima-titlu {
  width: 24px; position: absolute; right: 10px; top: 24px;
  transform: rotate(10deg);
}
.articol-card .crenguta {
  width: 42px; align-self: center; margin-top: 24px; opacity: .95;
  transform: rotate(16deg);
  transform-origin: bottom center;
}
.buton {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--roz-buton);
  color: var(--roz-inchis);
  text-decoration: none;
  font-size: 13.5px;
  padding: 3px 14px;
  border-radius: 3px;
  transition: background .2s;
}
.buton:hover { background: #efc0bb; }
.buton .sageata { font-size: 17px; line-height: 1; }
.eticheta-categorie {
  display: inline-block; font-size: 11.5px; letter-spacing: .5px;
  color: var(--verde-text); border: 1px solid #d5dcc7; border-radius: 20px;
  padding: 0 9px; margin-left: 8px; vertical-align: 1px;
}

/* ---------- coloana din dreapta ---------- */
.lateral { display: flex; flex-direction: column; gap: 22px; }
.caseta { padding: 46px 22px 18px; text-align: center; margin-top: 12px; }
.caseta .titlu-caseta {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: #b6c29f; color: #fdf9f2;
  font-size: 18.5px; padding: 3px 26px 4px; white-space: nowrap;
  border-radius: 2px;
  clip-path: polygon(0 6%, 4% 0, 96% 4%, 100% 0, 98% 50%, 100% 100%, 3% 96%, 0 100%, 2% 50%);
}
.caseta .titlu-caseta.roz { background: #f1c9c3; color: #8c5c5f; }
.caseta .titlu-caseta .inimioara { font-size: 12px; margin-left: 4px; }
.caseta .titlu-caseta .floare-mica { width: 18px; vertical-align: -3px; margin-left: 6px; }

.despre-mini .poza-rotunda {
  width: 146px; height: 146px; border-radius: 50%; object-fit: cover; display: block;
  margin: 0 auto 16px;
}
.despre-mini .decor-l, .despre-mini .decor-r { position: absolute; }
.despre-mini p { font-size: 13.5px; line-height: 1.6; margin: 0 0 10px; }
.caseta .fundita-jos { width: 40px; display: block; margin: 6px auto 0; }

.lista-inimi { list-style: none; margin: 0; padding: 0; text-align: left; }
.lista-inimi li {
  position: relative; padding-left: 22px; font-size: 13px; margin-bottom: 6px; line-height: 1.5;
}
.lista-inimi li::before {
  content: "♥"; position: absolute; left: 0; top: 0; color: #eba5ae; font-size: 13px;
}
.lista-inimi li b { color: var(--roz-inchis); font-weight: 400; }
.link-ultimul {
  display: block; margin: 12px 0 2px; font-size: 13px; text-align: left;
  color: var(--roz-inchis); text-decoration: none;
  border-top: 1px dashed #ecd2cb; padding-top: 10px;
}
.link-ultimul span { color: var(--text); }
.link-ultimul:hover span { text-decoration: underline; }

/* playlist */
.player {
  background: #f3cfcd;
  border-radius: 6px;
  padding: 14px 14px 12px;
  text-align: left;
  margin-top: -14px;
}
.player .sus { display: flex; gap: 12px; align-items: flex-start; }
.player .coperta { width: 70px; height: 70px; object-fit: cover; border-radius: 3px; }
.player .titlu { font-size: 13.5px; line-height: 1.35; color: #6a4e4c; flex: 1; margin: 6px 0 10px; }
.player .numar { font-size: 11.5px; color: #8a6e6b; display: block; margin-top: 10px; }
.player .inima-player { color: #d6838f; font-size: 15px; margin-top: 18px; }
.bara-progres {
  position: relative; height: 3px; background: #e5b3b2; border-radius: 2px; margin: 14px 0 6px;
}
.bara-progres::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 34%;
  background: #a47b78; border-radius: 2px;
}
.bara-progres::after {
  content: ""; position: absolute; left: 33%; top: -4px; width: 11px; height: 11px;
  border-radius: 50%; background: #fdf7f2; box-shadow: 0 1px 2px rgba(0,0,0,.2);
}
.player .timp { display: flex; justify-content: space-between; font-size: 10.5px; color: #8a6e6b; }
.player .butoane { display: flex; justify-content: center; align-items: center; gap: 22px; margin-top: 2px; }
.player .butoane span { color: #c99a98; font-size: 18px; letter-spacing: -4px; }
.player .play {
  width: 36px; height: 36px; border-radius: 50%;
  background: #b98582; display: inline-flex; align-items: center; justify-content: center;
  text-decoration: none; transition: transform .2s, background .2s;
}
.player .play:hover { transform: scale(1.08); background: #a8706d; }
.player .play svg { width: 14px; height: 14px; margin-left: 3px; }

/* bilețelul „remember” */
.notita {
  position: relative;
  background: linear-gradient(170deg, #f8f1e6, #f1e7d7);
  box-shadow: 2px 4px 10px rgba(120, 90, 70, .16);
  padding: 24px 92px 26px 20px;
  transform: rotate(-2deg);
  margin: 8px 6px 0;
  min-height: 140px;
}
.notita::before {
  content: ""; position: absolute; top: -10px; left: 90px;
  width: 64px; height: 22px; background: rgba(184, 199, 160, .75); transform: rotate(-4deg);
}
.notita p { margin: 0; font-family: var(--scris-mana); font-size: 17.5px; line-height: 1.25; color: #5f4a45; }
.notita p.cap { font-size: 18px; margin-bottom: 2px; }
.notita img { position: absolute; right: 0; bottom: -10px; width: 104px; }

/* ---------- paginare ---------- */
.paginare {
  display: flex; justify-content: center; align-items: center; gap: 22px;
  margin: 28px 0 10px; font-size: 15px;
}
.paginare a, .paginare span { color: var(--text); text-decoration: none; }
.paginare .curenta {
  width: 30px; height: 30px; border-radius: 50%; background: #f1c3c0;
  display: inline-flex; align-items: center; justify-content: center; color: #8c5559;
}
.paginare a:hover { color: var(--roz-inchis); }
.paginare .inactiv { opacity: .35; }

/* ---------- footer ---------- */
.footer {
  position: relative;
  background: var(--verde);
  color: #fdf8f0;
  text-align: center;
  padding: 16px 16px 14px;
  font-size: 15px;
  margin-top: 20px;
}
.footer::before {
  content: ""; position: absolute; left: 0; right: 0; top: -8px; height: 8px;
  background: radial-gradient(circle at 7px 8px, var(--verde) 0 6.5px, transparent 7px) 0 0 / 14px 8px repeat-x;
}
.footer img { width: 18px; vertical-align: -3px; margin-left: 10px; }

/* ---------- pagina unui articol ---------- */
.articol-intreg { padding: 44px 48px 40px; }
.articol-intreg .meta { color: var(--verde-text); font-size: 13px; margin: 0 0 10px; }
.articol-intreg h1 {
  font-weight: 400; color: var(--roz-text); font-size: 34px; line-height: 1.2;
  margin: 0 0 24px; position: relative; padding-right: 40px;
}
.articol-intreg h1 .inima-titlu { top: 2px; right: 0; width: 28px; }
.articol-intreg .foto-rupta.lata { aspect-ratio: 16 / 9; margin: 0 0 30px; }
.articol-intreg .foto-rupta.lata.verticala { aspect-ratio: 598 / 747; max-width: 420px; margin: 0 auto 30px; }
.corp-articol { font-size: 16px; line-height: 1.8; }
.corp-articol h2, .corp-articol h3 { color: var(--roz-text); font-weight: 400; margin: 1.6em 0 .5em; }
.corp-articol h2 { font-size: 23px; }
.corp-articol h3 { font-size: 19px; }
.corp-articol blockquote {
  margin: 1.4em 0; padding: 14px 22px; border-left: 3px solid #f0c4c3;
  background: #fbefe9; font-style: italic; color: #6f5853; border-radius: 0 4px 4px 0;
}
.corp-articol blockquote p { margin: 0; }
.corp-articol ul li::marker { color: #e8a2ab; }
.corp-articol img { border-radius: 4px; }
.corp-articol hr { border: 0; text-align: center; margin: 2em 0; }
.corp-articol hr::after { content: "✿  ✿  ✿"; color: #e5a8b0; letter-spacing: 6px; }
.nota-proba {
  font-family: var(--scris-mana); font-size: 18px; color: #a98c86;
  border: 1px dashed #e6cfc8; border-radius: 4px; padding: 4px 12px; display: inline-block;
}
.nota-doterra {
  margin-top: 28px; font-size: 13px; color: var(--text-slab);
  border-top: 1px dashed #ecd2cb; padding-top: 14px;
}
.navigare-articole {
  display: flex; justify-content: space-between; gap: 18px; margin-top: 34px;
  border-top: 1px solid #f0ddd5; padding-top: 18px; font-size: 14px;
}
.navigare-articole a { text-decoration: none; max-width: 48%; }
.navigare-articole small { display: block; color: var(--verde-text); }
.navigare-articole .urmator { text-align: right; margin-left: auto; }

/* pagini simple (despre, doterra, confidențialitate) */
.pagina-simpla { padding: 44px 48px 40px; margin-bottom: 18px; }
.pagina-simpla h1 { font-weight: 400; color: var(--roz-text); font-size: 32px; margin: 0 0 20px; }
.pagina-simpla .poza-mare {
  float: right; width: 210px; height: 210px; border-radius: 50%; object-fit: cover;
  margin: 0 0 16px 26px; shape-outside: circle();
}
.subtitlu-pagina {
  font-family: var(--scris-mana); font-size: 22px; color: var(--verde-text);
  margin: -12px 0 22px; line-height: 1.3;
}
.semnatura {
  font-family: var(--scris-mana); font-size: 24px; color: var(--roz-inchis); line-height: 1.25;
}
.titlu-sectiune {
  font-weight: 400; color: var(--roz-text); font-size: 22px; margin: 6px 0 16px; text-align: center;
}
.titlu-sectiune::before, .titlu-sectiune::after { content: " ✿ "; color: #e8b3b9; font-size: 14px; }
.gol { text-align: center; padding: 40px; color: var(--text-slab); }

/* ---------- căutare ---------- */
.cautare {
  position: fixed; inset: 0; background: rgba(92, 74, 69, .35);
  display: none; align-items: flex-start; justify-content: center; z-index: 50; padding-top: 12vh;
}
.cautare.deschis { display: flex; }
.cautare .fereastra {
  background: var(--card); width: min(520px, 92vw); border-radius: 8px;
  padding: 20px 22px; box-shadow: 0 10px 40px rgba(92, 74, 69, .3);
}
.cautare input {
  width: 100%; font: inherit; font-size: 17px; padding: 10px 14px; color: var(--text);
  border: 1px solid #ecd2cb; border-radius: 5px; background: #fffaf6; outline: none;
}
.cautare input:focus { border-color: #e2a6ae; }
.cautare ul { list-style: none; margin: 12px 0 0; padding: 0; max-height: 50vh; overflow: auto; }
.cautare li a { display: block; padding: 8px 6px; text-decoration: none; border-bottom: 1px dashed #f0ddd5; }
.cautare li small { display: block; color: var(--text-slab); }

/* ---------- ecrane mici ---------- */
@media (max-width: 900px) {
  .continut { grid-template-columns: 1fr; }
  .lateral { max-width: 420px; margin: 0 auto; width: 100%; }
  .meniu a { padding: 15px 26px 17px; }
  .header .decor.ascunde-mediu { display: none; }
}
@media (max-width: 680px) {
  .bara-sus { padding: 0 16px; }
  .bara-sus .motto { font-size: 16px; }
  .header { height: 300px; }
  .biletel, .header .decor.ascunde-mic { display: none; }
  .header .centru { padding-top: 44px; }
  .header .logo { max-width: 86%; }
  .meniu a { padding: 13px 13px 15px; font-size: 16px; }
  .meniu a.activ::before { right: 4px; }
  .articol-card { grid-template-columns: 1fr; padding: 30px 22px 22px; gap: 18px; }
  .articol-card .foto-rupta { aspect-ratio: 16 / 10; }
  .articol-card > div:last-child { display: none; }
  .articol-intreg, .pagina-simpla { padding: 34px 22px 28px; }
  .articol-intreg h1 { font-size: 28px; }
  .pagina-simpla .poza-mare { float: none; display: block; margin: 0 auto 20px; }
}
