/* FiltreOsmoza.ro — articole și comentarii MerchantPro
   Se încarcă o singură dată, DUPĂ CSS-ul temei și blog.css.
   Domeniu de aplicare: paginile individuale .page--blog-article.
   Nu înlocuiește fișierul blog.css implicit al platformei. */

.page--blog-article {
  --fo-blog-width: 900px;
  --fo-blog-wide: 1040px;
  --fo-blog-ink: #183440;
  --fo-blog-muted: #647983;
  --fo-blog-accent: #146f8b;
  --fo-blog-accent-dark: #0c536b;
  --fo-blog-line: #dce7eb;
  --fo-blog-soft: #f3f8fa;
  color: var(--fo-blog-ink);
}

/* Coloana paginii, titlul nativ și metadatele */
.page--blog-article .page__content-wrapper {
  width: 100%;
  max-width: 1200px;
  min-width: 0;
  margin-inline: auto;
}

.page--blog-article .page__aside-breadcrumb {
  min-width: 0;
  margin-bottom: 20px;
}
.page--blog-article .page__aside-breadcrumb .breadcrumb {
  justify-content: center;
  flex-wrap: wrap;
  font-size: 12px;
  line-height: 1.6;
}
.page--blog-article .page__aside-head {
  display: flex;
  justify-content: center;
  width: 100%;
  min-width: 0;
  margin: 6px 0 0;
  text-align: center;
}
.page--blog-article .page__aside-head h1.page__heading {
  width: 100%;
  max-width: var(--fo-blog-wide);
  margin: 0 auto;
  padding: 0;
  border: 0;
  color: var(--fo-blog-ink);
  font-family: inherit;
  font-size: clamp(32px, 3.6vw, 50px);
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: -0.035em;
  text-align: center;
  text-transform: none;
  overflow-wrap: anywhere;
  text-wrap: balance;
}
.page--blog-article .page__aside-head h1.page__heading::after {
  display: none;
}
.page--blog-article .page__content {
  width: 100%;
  min-width: 0;
}
.page--blog-article .article__info {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 20px auto 32px;
  padding: 0;
  text-align: center;
}
.page--blog-article .article__info > * {
  margin: 0;
}
.page--blog-article .article__info > *::after {
  display: none;
  content: none;
}
.page--blog-article .article__info,
.page--blog-article .article__info * {
  color: var(--fo-blog-muted);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.6;
  text-transform: none;
  letter-spacing: 0;
}
.page--blog-article .article__info .article__author,
.page--blog-article .article__info .article__comments {
  display: none;
}
.page--blog-article .article__category-link {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  background: #eaf4f7;
  color: var(--fo-blog-accent);
  text-decoration: none;
}
.page--blog-article .article__category-link:hover {
  background: #dfedf2;
  color: var(--fo-blog-accent-dark);
}

/* Imaginea principală este cea din câmpul MerchantPro „Imagine”. */
.page--blog-article .article__media--main {
  float: none;
  clear: both;
  width: 100%;
  max-width: var(--fo-blog-wide);
  margin: 0 auto 40px;
}
.page--blog-article .article__main-image-wrapper {
  display: block;
  width: 100%;
  overflow: hidden;
  border-radius: 18px;
}
.page--blog-article .article__main-image {
  position: static;
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
}

/* Conținutul editorial: funcționează și fără <article class="fo-article">. */
.page--blog-article .article__content {
  clear: both;
  width: 100%;
  max-width: var(--fo-blog-width);
  min-width: 0;
  margin: 0 auto 64px;
  color: var(--fo-blog-ink);
  font-size: 18px;
  line-height: 1.85;
  text-align: left;
  overflow-wrap: break-word;
}
.page--blog-article .article__content .fo-article {
  width: 100%;
  max-width: none;
  min-width: 0;
  margin: 0;
  color: inherit;
  font: inherit;
  text-align: inherit;
}
.page--blog-article .article__content p {
  margin: 0 0 22px;
}
.page--blog-article .article__content :is(h2, h3, h4) {
  color: var(--fo-blog-ink);
  font-family: inherit;
  font-weight: 650;
  line-height: 1.3;
  letter-spacing: -0.025em;
  text-align: left;
  text-transform: none;
  scroll-margin-top: 110px;
  overflow-wrap: break-word;
}
.page--blog-article .article__content h2 {
  margin: 56px 0 22px;
  padding: 24px 0 0;
  border: 0;
  border-top: 1px solid var(--fo-blog-line);
  font-size: clamp(26px, 2.4vw, 33px);
}
.page--blog-article .article__content h3 {
  margin: 34px 0 15px;
  padding: 0;
  border: 0;
  font-size: clamp(21px, 1.9vw, 25px);
}
.page--blog-article .article__content h4 {
  margin: 28px 0 12px;
  font-size: 20px;
}
.page--blog-article .article__content a {
  color: var(--fo-blog-accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.page--blog-article .article__content a:hover {
  color: var(--fo-blog-accent-dark);
}
.page--blog-article .article__content strong {
  color: inherit;
  font-weight: 700;
}
.page--blog-article .article__content :is(ul, ol) {
  margin: 0 0 24px;
  padding-left: 25px;
}
.page--blog-article .article__content li {
  margin: 9px 0;
  padding-left: 3px;
}
.page--blog-article .article__content li :is(ul, ol) {
  margin-top: 12px;
  margin-bottom: 12px;
}
.page--blog-article .article__content :is(img, video) {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 28px auto 16px;
  border-radius: 14px;
}
.page--blog-article .article__content figure {
  max-width: 100%;
  margin: 32px auto;
}
.page--blog-article .article__content figcaption {
  margin-top: 12px;
  color: var(--fo-blog-muted);
  font-size: 14px;
  line-height: 1.65;
  text-align: center;
}
.page--blog-article .article__content iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 30px auto;
  border: 0;
  border-radius: 14px;
}
.page--blog-article .article__content iframe:is([src*="youtube.com"], [src*="youtube-nocookie.com"], [src*="player.vimeo.com"]) {
  height: auto;
  aspect-ratio: 16 / 9;
}
.page--blog-article .article__content blockquote {
  margin: 28px 0;
  padding: 20px 24px;
  border-left: 3px solid var(--fo-blog-accent);
  border-radius: 0 12px 12px 0;
  background: var(--fo-blog-soft);
}
.page--blog-article .article__content blockquote p:last-child {
  margin-bottom: 0;
}

/* Cuprins opțional: folosește <details class="toc">. */
.page--blog-article .article__content .toc {
  margin: 32px 0 38px;
  padding: 22px 26px;
  border: 1px solid #dce9ee;
  border-radius: 16px;
  background: var(--fo-blog-soft);
}
.page--blog-article .article__content .toc summary {
  color: var(--fo-blog-ink);
  font-size: 19px;
  font-weight: 650;
  line-height: 1.5;
  cursor: pointer;
	font-style: normal;
}
.page--blog-article .article__content .toc ol {
  margin: 16px 0 0;
  padding-left: 23px;
  font-size: 15px;
  line-height: 1.7;
}
.page--blog-article .article__content .toc li {
  margin: 8px 0;
}
.page--blog-article .article__content .toc a {
  text-decoration: none;
}
.page--blog-article .article__content .toc a:hover {
  text-decoration: underline;
}

/* Tabele. Pentru tabele late: <div class="table-scroll">...</div>. */
.page--blog-article .article__content .table-scroll {
  max-width: 100%;
  min-width: 0;
  margin: 24px 0 30px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  border: 1px solid var(--fo-blog-line);
  border-radius: 14px;
  -webkit-overflow-scrolling: touch;
}
.page--blog-article .article__content table {
  width: 100%;
  margin: 24px 0;
  border: 0;
  border-collapse: collapse;
  color: inherit;
  font-size: 15px;
  line-height: 1.7;
}
.page--blog-article .article__content .table-scroll table {
  min-width: 660px;
  margin: 0;
}
.page--blog-article .article__content :is(thead, tbody, tfoot, tr) {
  border: 0;
}
.page--blog-article .article__content :is(th, td) {
  padding: 15px 18px;
  border: 0;
  border-bottom: 1px solid var(--fo-blog-line);
  vertical-align: top;
  text-align: left;
  overflow-wrap: break-word;
}
.page--blog-article .article__content th {
  background: #eaf3f7;
  color: #24556a;
  font-weight: 650;
}
.page--blog-article .article__content tbody tr:nth-child(even) {
  background: #f7fafb;
}
.page--blog-article .article__content tbody tr:last-child :is(th, td) {
  border-bottom: 0;
}
.page--blog-article .article__content .table-hint {
  display: none;
}

/* Comentarii: aceleași dimensiuni ca textul articolului. */
.page--blog-article .blog-comments {
  clear: both;
  width: 100%;
  max-width: var(--fo-blog-width);
  min-width: 0;
  margin: 64px auto;
  padding: 38px 0 0;
  border-top: 1px solid var(--fo-blog-line);
  color: var(--fo-blog-ink);
  text-align: left;
}
.page--blog-article .blog-comments .blog-comments__heading {
  margin: 0 0 22px;
  padding: 0;
  border: 0;
  color: inherit;
  font-size: 30px;
  font-weight: 650;
  line-height: 1.3;
  letter-spacing: -0.025em;
  text-align: center;
}
.page--blog-article .blog-comments > .blog-comments__reply-form {
  margin: 0 0 28px;
  text-align: center;
}
.page--blog-article .blog-comments .btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 23px;
  border: 1px solid var(--fo-blog-accent);
  border-radius: 999px;
  background: var(--fo-blog-accent);
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.4;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: none;
  box-shadow: none;
}
.page--blog-article .blog-comments .btn-primary:hover {
  border-color: var(--fo-blog-accent-dark);
  background: var(--fo-blog-accent-dark);
  color: #fff;
}
.page--blog-article .blog-comments .comments-list {
  display: grid;
  gap: 18px;
}
.page--blog-article .blog-comments .comments-list .comment--list {
  display: block;
  min-width: 0;
  padding: 24px 26px;
  border: 1px solid var(--fo-blog-line);
  border-radius: 18px;
  background: #fff;
}
.page--blog-article .blog-comments .comments-list .comment__info {
  display: flex;
  align-items: center;
  gap: 13px;
  width: auto;
  min-width: 0;
  margin: 0 0 16px;
}
.page--blog-article .blog-comments .comments-list .comment__avatar,
.page--blog-article .blog-comments .comments-list .reply__avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  margin: 0;
  border: 1px solid #d4e5ed;
  border-radius: 50%;
  background: #eaf3f7;
  color: var(--fo-blog-accent-dark);
}
.page--blog-article .blog-comments .comments-list .comment__acronym,
.page--blog-article .blog-comments .comments-list .reply__acronym {
  margin: auto;
  font-size: 19px;
  font-weight: 650;
}
.page--blog-article .blog-comments .comments-list :is(.comment__name, .reply__name) {
  color: var(--fo-blog-ink);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.page--blog-article .blog-comments .comments-list :is(.comment__date, .reply__date) {
  color: var(--fo-blog-muted);
  font-size: 12px;
  line-height: 1.6;
}
.page--blog-article .blog-comments .comments-list :is(.comment__content, .reply__content) {
  width: 100%;
  min-width: 0;
  color: var(--fo-blog-ink);
  font-size: 16px;
  line-height: 1.75;
  overflow-wrap: anywhere;
}
.page--blog-article .blog-comments .comments-list :is(.comment__full-text, .reply__full-text) {
  margin: 0 0 14px;
}
.page--blog-article .blog-comments .comment__reply-form {
  color: var(--fo-blog-accent);
  font-size: 14px;
}
.page--blog-article .blog-comments .comment__reply-form > .icon {
  width: 15px;
  height: 15px;
  margin-right: 5px;
  vertical-align: -2px;
}
.page--blog-article .blog-comments .comments-list .comment__button-reply,
.page--blog-article .blog-comments .comments-list .comment__button-reply:hover {
  color: var(--fo-blog-accent);
  font-size: 14px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.page--blog-article .blog-comments .comments-list .comment__replies {
  margin-top: 22px;
  padding-left: 20px;
  border-left: 2px solid #d5e6ed;
}
.page--blog-article .blog-comments .comments-list .reply {
  display: block;
  padding: 20px 0 0;
  border-top: 1px solid var(--fo-blog-line);
}
.page--blog-article .blog-comments .comments-list .reply + .reply {
  margin-top: 20px;
}
.page--blog-article .blog-comments .comments-list .reply__info {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-basis: auto;
  min-width: 0;
  width: auto;
  margin: 0 0 14px;
}

/* Formularul încărcat dinamic de MerchantPro: păstrează etichetele flotante. */
.page--blog-article .blog-comments form[name="blog_comment"] {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
  margin: 18px 0;
  padding: 24px;
  border: 1px solid var(--fo-blog-line);
  border-radius: 18px;
  background: var(--fo-blog-soft);
  color: var(--fo-blog-ink);
  text-align: left;
}
.page--blog-article .blog-comments form[name="blog_comment"] .form__row {
  width: auto;
  min-width: 0;
  margin: 0;
  padding: 0;
}
.page--blog-article .blog-comments form[name="blog_comment"] .form__row--textarea,
.page--blog-article .blog-comments form[name="blog_comment"] .form__buttons {
  grid-column: 1 / -1;
}
.page--blog-article .blog-comments form[name="blog_comment"] .form-control {
  width: 100%;
  min-height: 58px;
  border: 1px solid #cadce4;
  border-radius: 10px;
  background: #fff;
  color: var(--fo-blog-ink);
  font-family: inherit;
  font-size: 16px;
  line-height: 1.6;
  box-shadow: none;
}
.page--blog-article .blog-comments form[name="blog_comment"] textarea.form-control {
  min-height: 155px;
  resize: vertical;
}
.page--blog-article .blog-comments form[name="blog_comment"] .form-control:focus {
  border-color: var(--fo-blog-accent);
  outline: 2px solid #cce5ee;
  outline-offset: 2px;
}
.page--blog-article .blog-comments form[name="blog_comment"] .form__label {
  color: var(--fo-blog-muted);
}
.page--blog-article .blog-comments form[name="blog_comment"] .form__buttons {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin: 0;
  padding: 0;
}
.page--blog-article .blog-comments form[name="blog_comment"] .btn-link {
  color: var(--fo-blog-muted);
  font-size: 14px;
  text-transform: none;
}
.page--blog-article .blog-comments form[name="blog_comment"] .form-control.parsley-error {
  border-color: #b34040;
}
.page--blog-article :is(.article__content, .article__info, .blog-comments) :is(a, button, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--fo-blog-accent);
  outline-offset: 4px;
}


@media (max-width: 767px) {
  .page--blog-article .page__aside-breadcrumb { margin-bottom: 16px; }
  .page--blog-article .page__aside-head h1.page__heading { font-size: clamp(29px, 7.2vw, 38px); }
  .page--blog-article .article__info { gap: 8px 13px; margin: 17px auto 25px; }
  .page--blog-article .article__media--main { margin-bottom: 30px; }
  .page--blog-article .article__main-image-wrapper { border-radius: 12px; }
  .page--blog-article .article__content { margin-bottom: 44px; font-size: 17px; line-height: 1.8; }
  .page--blog-article .article__content h2 { margin-top: 42px; padding-top: 20px; }
  .page--blog-article .article__content h3 { margin-top: 28px; }
  .page--blog-article .article__content .toc { padding: 19px 20px; }
  .page--blog-article .article__content :is(th, td) { padding: 12px 14px; }
  .page--blog-article .article__content .table-hint { display: block; color: var(--fo-blog-muted); font-size: 13px; line-height: 1.5; }
  .page--blog-article .blog-comments { margin: 44px auto; padding-top: 30px; }
  .page--blog-article .blog-comments .blog-comments__heading { font-size: 27px; }
  .page--blog-article .blog-comments .comments-list .comment--list { padding: 20px; border-radius: 14px; }
  .page--blog-article .blog-comments form[name="blog_comment"] { grid-template-columns: minmax(0, 1fr); padding: 18px; }
  .page--blog-article .blog-comments .comments-list .comment__replies { padding-left: 13px; }
}


/* ================================================================
   FILTREOSMOZA.RO — LISTING BLOG
   Se adaugă la FINALUL fișierului filtreosmoza-blog.css existent.
   Se aplică numai template-ului de listing cu clasa suplimentară fo-blog.
   ================================================================ */

.page--blog-listing.fo-blog {
  --fo-list-ink: #183440;
  --fo-list-muted: #647983;
  --fo-list-accent: #146f8b;
  --fo-list-accent-dark: #0c536b;
  --fo-list-border: #dce7eb;
  --fo-list-soft: #f5f8fa;
  padding-top: 26px;
  padding-bottom: 60px;
  color: var(--fo-list-ink);
}
.page--blog-listing.fo-blog .page__content-wrapper {
  display: block;
  width: 100%;
  max-width: 1280px;
  min-width: 0;
  margin-inline: auto;
}
.page--blog-listing.fo-blog .page__aside-breadcrumb {
  margin: 0 0 18px;
}
.page--blog-listing.fo-blog .page__aside-breadcrumb .breadcrumb {
  justify-content: center;
  flex-wrap: wrap;
  font-size: 12px;
}
.page--blog-listing.fo-blog .page__content {
  width: 100%;
  min-width: 0;
}

/* Antet în aceeași familie vizuală cu paginile statice. */
.page--blog-listing.fo-blog .page__aside-head.fo-blog-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 0 0 40px;
  padding: 32px 24px 38px;
  overflow: hidden;
  border-radius: 18px;
  background: radial-gradient(at 15% 0%, rgba(255,255,255,.85), transparent 65%), linear-gradient(120deg, #e5eaf4 0%, #e0eef6 55%, #d8ebf1 100%);
  box-shadow: inset 0 12px 24px -18px rgba(255,255,255,.9), 0 8px 24px -18px rgba(44,76,107,.25);
  color: #233e4f;
  text-align: center;
}
.page--blog-listing.fo-blog .fo-blog-hero__icon {
  display: block;
  flex: none;
  width: 23px;
  height: 29px;
  margin: 0 auto 14px;
  color: #2f91b4;
}
.page--blog-listing.fo-blog .fo-blog-hero h1.page__heading {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 0 20px;
  color: inherit;
  font-family: inherit;
  font-size: clamp(29px, 3vw, 39px);
  font-weight: 650;
  line-height: 1.25;
  letter-spacing: -.03em;
  text-transform: none;
  text-align: center;
  text-wrap: balance;
  overflow-wrap: anywhere;
}
.page--blog-listing.fo-blog .fo-blog-hero h1.page__heading::after {
  position: absolute;
  bottom: 0;
  left: 50%;
  display: block;
  width: 38px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, #329ac0, #8cc5d7);
  content: '';
  transform: translateX(-50%);
}
.page--blog-listing.fo-blog .fo-blog-hero__intro {
  max-width: 690px;
  margin: 18px auto 24px;
  color: #536e7e;
  font-size: 15px;
  line-height: 1.75;
}
.page--blog-listing.fo-blog .fo-blog-search {
  position: relative;
  display: flex;
  align-items: stretch;
  width: 100%;
  max-width: 640px;
  min-height: 56px;
  margin: 0 auto;
  border: 1px solid rgba(126,163,182,.32);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 5px 18px rgba(45,81,105,.04);
}
.page--blog-listing.fo-blog .fo-blog-search:focus-within {
  outline: 2px solid #84b9ce;
  outline-offset: 3px;
}
.page--blog-listing.fo-blog .fo-blog-search__icon {
  position: absolute;
  top: 50%;
  left: 20px;
  width: 21px;
  height: 21px;
  color: #33576b;
  transform: translateY(-50%);
  pointer-events: none;
}
.page--blog-listing.fo-blog .fo-blog-search .fo-blog-search__input {
  flex: 1 1 0%;
  width: 0;
  min-width: 0;
  min-height: 56px;
  margin: 0;
  padding: 14px 18px 14px 53px;
  border: 0;
  border-radius: 999px 0 0 999px;
  background: transparent;
  color: var(--fo-list-ink);
  font-family: inherit;
  font-size: 16px;
  line-height: 1.5;
  box-shadow: none;
}
.page--blog-listing.fo-blog .fo-blog-search__input:focus { outline: 0; }
.page--blog-listing.fo-blog .fo-blog-search__input::placeholder { color: #8196a2; opacity: 1; }
.page--blog-listing.fo-blog .fo-blog-search .fo-blog-search__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 112px;
  margin: -1px -1px -1px 0;
  padding: 14px 23px;
  border: 1px solid var(--fo-list-accent);
  border-radius: 0 999px 999px 0;
  background: var(--fo-list-accent);
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: none;
  box-shadow: none;
}
.page--blog-listing.fo-blog .fo-blog-search__button:hover { background: var(--fo-list-accent-dark); border-color: var(--fo-list-accent-dark); color: #fff; }
.page--blog-listing.fo-blog .fo-blog-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* Categorii pe orizontală; pe telefon se încadrează pe mai multe rânduri. */
.page--blog-listing.fo-blog .fo-blog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px 28px;
  margin: 0 0 32px;
  padding: 0 0 22px;
  border-bottom: 1px solid var(--fo-list-border);
}
.page--blog-listing.fo-blog .fo-blog-toolbar__title {
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
  color: var(--fo-list-ink);
  font-size: 25px;
  font-weight: 650;
  line-height: 1.3;
  letter-spacing: -.025em;
  text-transform: none;
}
.page--blog-listing.fo-blog .fo-blog-categories {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1 1 560px;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}
.page--blog-listing.fo-blog .fo-blog-categories__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 9px 13px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: #526c79;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
}
.page--blog-listing.fo-blog .fo-blog-categories__link:hover { background: #f0f6f8; color: var(--fo-list-accent); }
.page--blog-listing.fo-blog .fo-blog-categories__link.is-active { border-color: #cfe3eb; background: #eaf4f7; color: var(--fo-list-accent-dark); }
.page--blog-listing.fo-blog .fo-blog-category-description { max-width: 850px; margin: 0 0 30px; color: var(--fo-list-muted); font-size: 16px; line-height: 1.8; }
.page--blog-listing.fo-blog .fo-blog-section-title {
  margin: 0 0 23px;
  padding: 0;
  color: var(--fo-list-ink);
  font-size: clamp(24px, 2.2vw, 29px);
  font-weight: 650;
  line-height: 1.35;
  letter-spacing: -.025em;
  text-transform: none;
}
.page--blog-listing.fo-blog .fo-blog-featured { margin: 0 0 48px; }
.page--blog-listing.fo-blog .fo-blog-latest { margin: 0; }

/* Cardurile native MerchantPro — imagine, metadate, titlu, rezumat. */
.page--blog-listing.fo-blog .article {
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  overflow: hidden;
  border: 1px solid #e1e9ed;
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 4px 16px rgba(27,67,87,.025);
}
.page--blog-listing.fo-blog .article .article__media {
  flex: none;
  width: 100%;
  min-width: 0;
  margin: 0;
}
.page--blog-listing.fo-blog .article__media-link { display: block; height: 100%; overflow: hidden; }
.page--blog-listing.fo-blog .article .article__image-wrapper {
  position: relative;
  display: block;
  width: 100%;
  min-height: 0;
  padding: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #edf3f6;
}
.page--blog-listing.fo-blog .article .article__image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: cover;
}
.page--blog-listing.fo-blog .article .article__data {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-width: 0;
  padding: 21px 23px 25px;
}
.page--blog-listing.fo-blog .article .article__info {
  display: flex;
  align-items: baseline;
  order: -1;
  flex-wrap: wrap;
  gap: 5px 12px;
  margin: 0 0 11px;
  padding: 0;
}
.page--blog-listing.fo-blog .article .article__info > * { margin: 0; }
.page--blog-listing.fo-blog .article .article__info > *::after { content: none; display: none; }
.page--blog-listing.fo-blog .article .article__info,
.page--blog-listing.fo-blog .article .article__info * { color: #7b919e; font-size: 11px; font-weight: 500; line-height: 1.6; letter-spacing: 0; text-transform: none; }
.page--blog-listing.fo-blog .article .article__category { order: -1; }
.page--blog-listing.fo-blog .article .article__category-link { color: #577b8c; text-decoration: none; }
.page--blog-listing.fo-blog .article .article__category-link:hover { color: var(--fo-list-accent); text-decoration: underline; text-underline-offset: 3px; }
.page--blog-listing.fo-blog .article .article__info :is(.article__author, .article__comments) { display: none; }
.page--blog-listing.fo-blog .article .article__name { margin: 0 0 12px; padding: 0; font-weight: 650; }
.page--blog-listing.fo-blog .article .article__name-link {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  color: var(--fo-list-ink);
  font-size: 20px;
  font-weight: 650;
  line-height: 1.35;
  letter-spacing: -.025em;
  text-transform: none;
  text-decoration: none;
}
.page--blog-listing.fo-blog .article .article__name-link:hover { color: var(--fo-list-accent); }
.page--blog-listing.fo-blog .article .article__excerpt {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  margin: 0;
  color: var(--fo-list-muted);
  font-size: 14px;
  line-height: 1.7;
}
.page--blog-listing.fo-blog .article .article__excerpt > :last-child { margin-bottom: 0; }
.page--blog-listing.fo-blog .articles-list__items {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 25px;
}

/* Recomandări: aspect adaptat numărului real de articole marcate. */
.page--blog-listing.fo-blog .fo-blog-featured__items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 20px;
  margin: 0;
}
.page--blog-listing.fo-blog .fo-blog-featured__items > * + * { margin-top: 0; }
.page--blog-listing.fo-blog .fo-blog-featured__items[data-fo-count="1"] { grid-template-columns: minmax(0, 1fr); }
.page--blog-listing.fo-blog .fo-blog-featured__items[data-fo-count="1"] .article--featured { flex-direction: row; }
.page--blog-listing.fo-blog .fo-blog-featured__items[data-fo-count="1"] .article__media { width: 54%; }
.page--blog-listing.fo-blog .fo-blog-featured__items[data-fo-count="1"] .article__data { justify-content: center; padding: 30px 34px; }
.page--blog-listing.fo-blog .fo-blog-featured__items[data-fo-count="1"] .article__name-link,
.page--blog-listing.fo-blog .fo-blog-featured__items > .article:first-child .article__name-link { font-size: 25px; }
.page--blog-listing.fo-blog .fo-blog-featured__items:is([data-fo-count="3"], [data-fo-count="4"]) { grid-template-columns: 1.05fr 1fr; }
.page--blog-listing.fo-blog .fo-blog-featured__items[data-fo-count="3"] > .article:first-child { grid-row: 1 / span 2; }
.page--blog-listing.fo-blog .fo-blog-featured__items[data-fo-count="4"] > .article:first-child { grid-row: 1 / span 3; }
.page--blog-listing.fo-blog .fo-blog-featured__items:is([data-fo-count="3"], [data-fo-count="4"]) > .article:not(:first-child) { flex-direction: row-reverse; align-items: center; padding: 19px; }
.page--blog-listing.fo-blog .fo-blog-featured__items:is([data-fo-count="3"], [data-fo-count="4"]) > .article:not(:first-child) .article__media { flex: 0 0 155px; width: 155px; }
.page--blog-listing.fo-blog .fo-blog-featured__items:is([data-fo-count="3"], [data-fo-count="4"]) > .article:not(:first-child) .article__image-wrapper { border-radius: 10px; }
.page--blog-listing.fo-blog .fo-blog-featured__items:is([data-fo-count="3"], [data-fo-count="4"]) > .article:not(:first-child) .article__data { padding: 0 20px 0 0; }
.page--blog-listing.fo-blog .fo-blog-featured__items:is([data-fo-count="3"], [data-fo-count="4"]) > .article:not(:first-child) .article__name { margin-bottom: 0; }
.page--blog-listing.fo-blog .fo-blog-featured__items:is([data-fo-count="3"], [data-fo-count="4"]) > .article:not(:first-child) .article__name-link { font-size: 18px; }
.page--blog-listing.fo-blog .fo-blog-featured__items:is([data-fo-count="3"], [data-fo-count="4"]) > .article:not(:first-child) .article__excerpt { display: none; }
.page--blog-listing.fo-blog .fo-blog-featured__items .article--featured { flex-direction: column; }
.page--blog-listing.fo-blog .fo-blog-empty { padding: 32px; border: 1px solid var(--fo-list-border); border-radius: 16px; background: var(--fo-list-soft); font-size: 16px; line-height: 1.8; }
.page--blog-listing.fo-blog .fo-blog-empty p { margin-bottom: 12px; }
.page--blog-listing.fo-blog .fo-blog-empty a { color: var(--fo-list-accent); text-underline-offset: 4px; }
.page--blog-listing.fo-blog .pagination { justify-content: center; margin-top: 34px; }
.page--blog-listing.fo-blog :is(a, button, input):focus-visible { outline: 2px solid var(--fo-list-accent); outline-offset: 4px; }
.page--blog-listing.fo-blog .fo-blog-search__input:focus-visible { outline: 0; }

@media (max-width: 1100px) {
  .page--blog-listing.fo-blog .fo-blog-toolbar { justify-content: center; }
  .page--blog-listing.fo-blog .fo-blog-categories { flex-basis: 100%; justify-content: center; }
  .page--blog-listing.fo-blog .fo-blog-featured__items:is([data-fo-count="3"], [data-fo-count="4"]) > .article:not(:first-child) { padding: 15px; }
  .page--blog-listing.fo-blog .fo-blog-featured__items:is([data-fo-count="3"], [data-fo-count="4"]) > .article:not(:first-child) .article__media { flex-basis: 115px; width: 115px; }
}
@media (max-width: 991px) {
  .page--blog-listing.fo-blog .articles-list__items { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .page--blog-listing.fo-blog .fo-blog-featured__items[data-fo-count="1"] .article__data { padding: 24px; }
  .page--blog-listing.fo-blog .fo-blog-featured__items[data-fo-count="1"] .article__name-link { font-size: 23px; }
  .page--blog-listing.fo-blog .fo-blog-featured__items:is([data-fo-count="3"], [data-fo-count="4"]) > .article:not(:first-child) .article__media { flex-basis: 95px; width: 95px; }
  .page--blog-listing.fo-blog .fo-blog-featured__items:is([data-fo-count="3"], [data-fo-count="4"]) > .article:not(:first-child) .article__data { padding-right: 13px; }
}
@media (max-width: 767px) {
  .page--blog-listing.fo-blog { padding-top: 18px; padding-bottom: 40px; }
  .page--blog-listing.fo-blog .page__aside-head.fo-blog-hero { padding: 27px 17px 29px; margin-bottom: 30px; border-radius: 15px; }
  .page--blog-listing.fo-blog .fo-blog-hero h1.page__heading { font-size: clamp(27px, 6.7vw, 34px); }
  .page--blog-listing.fo-blog .fo-blog-hero__intro { font-size: 14px; margin: 17px auto 22px; }
  .page--blog-listing.fo-blog .fo-blog-search { min-height: 52px; }
  .page--blog-listing.fo-blog .fo-blog-search .fo-blog-search__input { min-height: 48px; padding-left: 42px; padding-right: 7px; font-size: 14px; }
  .page--blog-listing.fo-blog .fo-blog-search__icon { left: 15px; width: 18px; height: 18px; }
  .page--blog-listing.fo-blog .fo-blog-search .fo-blog-search__button { flex-basis: 78px; padding-inline: 12px; }
  .page--blog-listing.fo-blog .fo-blog-toolbar { gap: 15px; margin-bottom: 28px; padding-bottom: 21px; }
  .page--blog-listing.fo-blog .fo-blog-toolbar__title { font-size: 23px; }
  .page--blog-listing.fo-blog .fo-blog-categories { gap: 5px; }
  .page--blog-listing.fo-blog .fo-blog-categories__link { min-height: 38px; padding: 8px 10px; font-size: 12px; }
  .page--blog-listing.fo-blog .fo-blog-section-title { margin-bottom: 18px; font-size: 24px; }
  .page--blog-listing.fo-blog .fo-blog-featured { margin-bottom: 34px; }
  .page--blog-listing.fo-blog .fo-blog-featured__items,
  .page--blog-listing.fo-blog .fo-blog-featured__items:is([data-fo-count="1"], [data-fo-count="3"], [data-fo-count="4"]) { grid-template-columns: minmax(0, 1fr); gap: 17px; }
  .page--blog-listing.fo-blog .fo-blog-featured__items > .article:first-child { grid-row: auto; }
  .page--blog-listing.fo-blog .fo-blog-featured__items[data-fo-count="1"] .article--featured { flex-direction: column; }
  .page--blog-listing.fo-blog .fo-blog-featured__items[data-fo-count="1"] .article__media { width: 100%; }
  .page--blog-listing.fo-blog .fo-blog-featured__items .article:first-child .article__name-link { font-size: 22px; }
  .page--blog-listing.fo-blog .fo-blog-featured__items:is([data-fo-count="3"], [data-fo-count="4"]) > .article:not(:first-child) .article__media { flex-basis: 95px; width: 95px; }
  .page--blog-listing.fo-blog .fo-blog-featured__items:is([data-fo-count="3"], [data-fo-count="4"]) > .article:not(:first-child) .article__name-link { font-size: 16px; }
  .page--blog-listing.fo-blog .article .article__data { padding: 19px 20px 22px; }
  .page--blog-listing.fo-blog .article .article__name-link { font-size: 19px; }
}
@media (max-width: 575px) {
  .page--blog-listing.fo-blog .articles-list__items { grid-template-columns: minmax(0, 1fr); gap: 20px; }
}
.page--blog-listing.fo-blog .fo-blog-hero h1.page__heading {
  padding-bottom: 0;
}
.page--blog-listing.fo-blog .fo-blog-hero h1.page__heading::after {
  content: none;
  display: none;
}
.page--blog-listing.fo-blog .fo-blog-hero__rule {
  display: block;
  flex: 0 0 3px;
  width: 38px;
  height: 3px;
  min-height: 3px;
  margin: 17px auto 0;
  border: 0;
  border-radius: 3px;
  background: linear-gradient(90deg, #329ac0, #8cc5d7);
}
.page--blog-listing.fo-blog .fo-blog-featured__items .article .article__excerpt {
  display: none;
}
.page--blog-listing.fo-blog .fo-blog-featured__items .article .article__name {
  margin-bottom: 0;
}
.page--blog-listing.fo-blog .article .article__info {
  align-items: center;
  gap: 8px 10px;
}
.page--blog-listing.fo-blog .article .article__category-link {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 4px 10px;
  border: 1px solid #cfe3eb;
  border-radius: 999px;
  background: #eaf4f7;
  color: #0c536b;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.6;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.page--blog-listing.fo-blog .article .article__category-link:hover {
  border-color: #acd1df;
  background: #dfedf3;
  color: #0c536b;
  text-decoration: none;
}
.page--blog-listing.fo-blog .article .article__date {
  padding: 0;
  border: 0;
  background: transparent;
  color: #718690;
  font-size: 11px;
  font-weight: 400;
  white-space: nowrap;
}

/* ANTET BLOG — stilurile copiate din filtreosmoza-staticpage.css.
   Adaugă acest bloc la finalul filtreosmoza-blog.css.
   Se folosește cu listing.html.twig actualizat, fără SVG în antet. */
.page--blog-listing.fo-blog .page__aside-head.fo-blog-hero {
  width: auto;
}
.page--blog-listing.fo-blog .page__aside-head.fo-blog-hero h1.page__heading {
  position: static;
  width: auto;
  font-family: inherit;
  text-wrap: wrap;
}
.page--blog-listing.fo-blog .page__aside-head.fo-blog-hero h1.page__heading::after {
  content: none;
  display: none;
}

/* Fundal cu aspect de sticlă, în paleta logo-ului */
.page--blog-listing.fo-blog .page__aside-head.fo-blog-hero {
  --title-text: #20384d;
  --title-accent: #4389b1;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 13px;

  box-sizing: border-box;
  min-width: 0;
  padding: 30px 24px;

  border: 0;
  border-radius: 18px;

  background:
    radial-gradient(
      ellipse at 15% 0%,
      rgba(255, 255, 255, 0.85),
      transparent 65%
    ),
    linear-gradient(
      120deg,
      #e5eaf4 0%,
      #e0eef6 55%,
      #d8ebf1 100%
    );

  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);

  box-shadow:
    inset 0 12px 24px -18px rgba(255, 255, 255, 0.9),
    0 8px 24px -18px rgba(44, 76, 107, 0.25);

  color: var(--title-text);
  text-align: center;
}

/* Picătura */
.page--blog-listing.fo-blog .page__aside-head.fo-blog-hero::before {
  content: "";
  display: block;
  flex: 0 0 auto;

  width: 25px;
  height: 29px;
  margin: 0;

  color: var(--title-accent);
  background: currentColor;

  --drop-icon: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHZlcnNpb249IjEuMSIgaWQ9IkNhcGFfMSIgeD0iMHB4IiB5PSIwcHgiIHZpZXdCb3g9IjAgMCA0MjIuNjY3IDQyMi42NjciIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDQyMi42NjcgNDIyLjY2NzsiIHhtbDpzcGFjZT0icHJlc2VydmUiPgo8Zz4KCTxnPgoJCTxwYXRoIGQ9Ik0yNTAuNTM0LDQwLjY2N2MtMTItMTQtMjIuOC0yNi40LTMxLjItMzYuOGMtMC40LTAuOC0xLjItMS4yLTEuNi0xLjZjLTQuNC0zLjYtMTAuOC0yLjgtMTQuNCwxLjYgICAgYy04LjQsMTAuNC0xOS4yLDIyLjgtMzEuMiwzNi44Yy01Mi44LDYxLjItMTI2LDE0Ni0xMjYsMjE2LjhjMCw0NS42LDE4LjQsODYuOCw0OC40LDExNi44YzMwLDI5LjYsNzEuMiw0OC40LDExNi44LDQ4LjQgICAgYzQ1LjYsMCw4Ni44LTE4LjQsMTE2LjgtNDguNHM0OC40LTcxLjIsNDguNC0xMTYuOEMzNzYuNTM0LDE4Ni42NjcsMzAzLjMzNCwxMDEuODY3LDI1MC41MzQsNDAuNjY3eiBNMzEzLjczNCwzNTkuNDY3ICAgIGMtMjYuNCwyNi40LTYyLjQsNDIuOC0xMDIuNCw0Mi44cy03Ni0xNi40LTEwMi40LTQyLjRjLTI2LTI2LTQyLjQtNjIuNC00Mi40LTEwMi40YzAtNjMuMiw3MC40LTE0NC44LDEyMS4yLTIwMy42ICAgIGM4LjQtMTAsMTYuNC0xOS4yLDIzLjYtMjhjNy4yLDguOCwxNS4yLDE4LDIzLjYsMjcuNmM1MC44LDU4LjgsMTIxLjIsMTQwLDEyMS4yLDIwMy42ICAgIEMzNTYuMTM0LDI5Ny4wNjcsMzM5LjczNCwzMzMuMDY3LDMxMy43MzQsMzU5LjQ2N3oiPjwvcGF0aD4KCTwvZz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8L3N2Zz4K");

  -webkit-mask: var(--drop-icon) center / contain no-repeat;
  mask: var(--drop-icon) center / contain no-repeat;

  opacity: 1;
  visibility: visible;
  filter: none;
}

/* Titlul */
.page--blog-listing.fo-blog .page__aside-head.fo-blog-hero .page__heading {
  margin: 0;
  padding: 0;
  max-width: 100%;

  color: var(--title-text);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.4px;
  text-align: center;
  text-transform: none;
  text-shadow: none;
  overflow-wrap: anywhere;
}

/* Linia de sub titlu */
.page--blog-listing.fo-blog .page__aside-head.fo-blog-hero::after {
  content: "";
  display: block;
  flex: 0 0 auto;

  width: 38px;
  height: 3px;
  margin: 2px 0 0;
  border-radius: 3px;

  background: linear-gradient(
    90deg,
    var(--title-accent),
    #88bfd4
  );

  opacity: 1;
  visibility: visible;
}

@media (max-width: 767px) {
	.page--blog-article .article__content .toc summary {
		font-size: 16px;
	}
  .page--blog-listing.fo-blog .page__aside-head.fo-blog-hero {
    padding: 25px 20px;
    gap: 11px;
    border-radius: 15px;
		    margin-left: 0;
    margin-right: 0;
  }

  .page--blog-listing.fo-blog .page__aside-head.fo-blog-hero .page__heading {
    font-size: 27px;
  }

  .page--blog-listing.fo-blog .page__aside-head.fo-blog-hero::before {
    width: 23px;
    height: 27px;
  }
}
.page--blog-listing.fo-blog .page__aside-head.fo-blog-hero::before { order: 0; }
.page--blog-listing.fo-blog .page__aside-head.fo-blog-hero .page__heading { order: 1; }
.page--blog-listing.fo-blog .page__aside-head.fo-blog-hero::after { order: 2; }
.page--blog-listing.fo-blog .page__aside-head.fo-blog-hero .fo-blog-hero__intro {
  order: 3;
  margin: 10px auto 8px;
}
.page--blog-listing.fo-blog .page__aside-head.fo-blog-hero .fo-blog-search { order: 4; }
