/* ==========================================
   1. PAGINA: ARTICOL SINGUR (Detaliat)
   ========================================== */
.article-details .article-header {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: flex-start !important;
  min-height: 120px !important; 
  padding: 20px 40px 24px 40px !important; 
  border-radius: 8px !important; 
  position: relative !important;
  overflow: hidden !important;
  background: rgba(238, 245, 250, 0.6) !important; 
  backdrop-filter: blur(16px) !important; 
  -webkit-backdrop-filter: blur(16px) !important;
  border: 1px solid rgba(31, 111, 178, 0.12) !important;
  box-shadow: 0 10px 30px rgba(31, 111, 178, 0.05), 0 2px 8px rgba(0, 0, 0, 0.02) !important;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

.article-details .article-header::after {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 10px !important;
  background-color: #490a69 !important;
  z-index: 3 !important;
}

.article-details .article-header::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  border-radius: 8px !important;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, rgba(198, 222, 245, 0.25) 100%) !important;
  z-index: 0 !important;
}

.article-details .article-header h1[itemprop="headline"] {
  position: relative !important;
  z-index: 1 !important;
  font-size: 1.8rem !important;
  font-weight: 700 !important;
  color: #58595B !important;
  line-height: 1.35 !important;
  margin: 0 !important;
}

.article-details div[itemprop="articleBody"] {
  position: relative !important;
  overflow: hidden !important;
  background: #ffffff !important; 
  border: 1px solid rgba(31, 111, 178, 0.1) !important;
  border-radius: 16px !important; 
  padding: 20px 40px 40px 40px !important; 
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.02), 0 2px 10px rgba(31, 111, 178, 0.02) !important;
  transition: all 0.4s ease !important;
  margin-top: 25px !important;
}

.article-details div[itemprop="articleBody"]::before {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 5px !important;
  background-color: #E7004C !important;
  z-index: 2 !important;
}


/* ==========================================
   2. PAGINA: LISTĂ CATEGORIE ȘTIRI (Toate Știrile)
   ========================================== */
/* Se aplică pe ABSOLUT TOATE cardurile de știri din listă */
.com-content-category-blog .article {
  position: relative !important;
  overflow: hidden !important;
  background: #ffffff !important; 
  border: 1px solid rgba(31, 111, 178, 0.1) !important;
  border-radius: 16px !important; 
  padding: 20px !important; 
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.02), 0 2px 10px rgba(31, 111, 178, 0.02) !important;
  transition: all 0.4s ease !important;
  margin-bottom: 40px !important; 
  display: flex !important;
  flex-direction: row !important; /* Poza la stânga, textul la dreapta */
  align-items: flex-start !important;
}

/* Linia roșie superioară pentru fiecare card din listă */
.com-content-category-blog .article::before {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 5px !important;
  background-color: #E7004C !important;
  z-index: 2 !important;
}

/* Modulul de titlu (Bara violet pentru fiecare știre) */
.com-content-category-blog .article .article-header {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  min-height: 80px !important; 
  padding: 5px 25px 15px 25px !important; 
  border-radius: 8px !important; 
  position: relative !important;
  overflow: hidden !important;
  background: rgba(238, 245, 250, 0.6) !important; 
  backdrop-filter: blur(16px) !important; 
  -webkit-backdrop-filter: blur(16px) !important;
  border: 1px solid rgba(31, 111, 178, 0.12) !important;
  margin-bottom: 20px !important;
}

.com-content-category-blog .article .article-header::after {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 6px !important;
  background-color: #490a69 !important;
  z-index: 3 !important;
}

/* Link-urile titlurilor din listă */
.com-content-category-blog .article .article-header h2,
.com-content-category-blog .article .article-header h2 a {
  position: relative !important;
  z-index: 4 !important;
  font-size: 1.4rem !important;
  font-weight: 700 !important;
  color: #58595B !important;
  text-decoration: none !important;
  line-height: 1.3 !important;
  margin: 0 !important;
}

/* Forțare structură internă text */
.com-content-category-blog .article .article-body {
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
}


/* ==========================================
   3. REDIMENSIONARE IMAGINI LA 300x300 (GLOBAL)
   ========================================== */
.article-full-image img,
div[itemprop="articleBody"] img,
.article-intro-image img {
  width: 300px !important;
  height: 400px !important;
  object-fit: cover !important; 
  max-width: 110% !important;
  border-radius: 12px !important; 
}

.article-full-image,
.article-intro-image {
  width: 300px !important;
  height: 300px !important;
  flex-shrink: 0 !important;
  margin-right: 30px !important; 
  margin-bottom: 0 !important;
}


/* ==========================================
   4. EFECTE DE HOVER ȘI PARAGRAFE
   ========================================== */
.article-details .article-header:hover,
.com-content-category-blog .article:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 20px 40px rgba(31, 111, 178, 0.08), 0 5px 15px rgba(0, 0, 0, 0.03) !important;
}

div[itemprop="articleBody"] p,
.com-content-category-blog .article .article-introtext p {
  font-size: 1.1rem !important;
  line-height: 1.75 !important;
  color: #334155 !important;
  margin-bottom: 15px !important;
}

.article-details div[itemprop="articleBody"] *,
.com-content-category-blog .article * {
  position: relative;
  z-index: 1;
}


/* ==========================================
   5. RESPONSIVE / MOBIL (Așezare pe verticală)
   ========================================== */
@media (max-width: 767px) {
  .com-content-category-blog .article {
    flex-direction: column !important; 
    padding: 24px !important;
  }

  .article-full-image,
  .article-intro-image {
    margin-right: 0 !important;
    margin: 0 auto 20px auto !important; 
  }

  .com-content-category-blog .article .article-header {
    padding: 15px !important;
  }

  .com-content-category-blog .article .article-header h2 {
    font-size: 1.2rem !important;
  }
}

/* Curățare elemente nedorite */
.article-ratings-social-share, .social-share-block, .article-social-share, li.result__taxonomy--Author {
    display: none !important;
}


/* ==========================================================================
   RECONSTRUCȚIE TOTALĂ ȘI FORȚATĂ: MODUL BREADCRUMBS ARTICOL
   ========================================================================== */

/* 1. CONTAINERUL STRUCTURAL HELIX */
#sp-breadcrumb:has(.card-breadcrumb-articol) {
    padding-top: 35px !important;    /* SPAȚIERE GENEROSĂ FAȚĂ DE MENIU */
    padding-bottom: 25px !important; /* Spațiere față de titlul articolului */
    margin: 0 !important;
    display: block !important;
    width: 100% !important;
}

/* 2. FORȚARE PASTILĂ ȘI EFECT DE STICLĂ (Glassmorphism) 
   Distruge complet orice stil predefinit din Bootstrap sau Helix */
.card-breadcrumb-articol ol.mod-breadcrumbs,
.card-breadcrumb-articol ol.breadcrumb {
    display: inline-flex !important; /* Strânge elementul pe lățimea textului */
    align-items: center !important;
    flex-wrap: wrap !important;
    list-style: none !important;
    margin: 0 !important;
    
    /* Suprascriere violentă a padding-ului și marginilor Bootstrap */
    padding: 10px 24px !important;  
    
    /* Efect vizual modern de sticlă mată */
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    
    /* Bordură fină și colțuri rotunjite complet */
    border: 1px solid rgba(0, 64, 133, 0.15) !important;
    border-radius: 50px !important;
    
    /* Umbră ambientală discretă */
    box-shadow: 0 4px 20px -2px rgba(0, 40, 133, 0.05), 0 2px 6px -1px rgba(0, 0, 0, 0.02) !important;
}

/* 3. ASCUNDERE TEXT INITIAL „Sunteți aici:” */
.card-breadcrumb-articol .mod-breadcrumbs__here,
.card-breadcrumb-articol li.float-start {
    display: none !important;
}

/* 4. ELEMENTELE ȘI LINK-URILE DIN INTERIOR */
.card-breadcrumb-articol .breadcrumb-item,
.card-breadcrumb-articol li.mod-breadcrumbs__item {
    display: inline-flex !important;
    align-items: center !important;
    padding: 0 !important;
    margin: 0 !important;
    font-family: system-ui, -apple-system, sans-serif !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    letter-spacing: 0.01em !important;
    text-transform: none !important;
    background: transparent !important;
}

/* 5. CULOARE LINK-URI ACTIVE (Albastru Instituțional) */
.card-breadcrumb-articol .breadcrumb-item a,
.card-breadcrumb-articol .breadcrumb-item a span,
.card-breadcrumb-articol a.pathway span {
    color: #004085 !important;
    text-decoration: none !important;
    transition: color 0.2s ease-in-out !important;
    background: transparent !important;
}

/* Efect la mouseover (Schimbare în roz-roșu instituțional) */
.card-breadcrumb-articol .breadcrumb-item a:hover,
.card-breadcrumb-articol .breadcrumb-item a:hover span,
.card-breadcrumb-articol a.pathway:hover span {
    color: #E7004C !important;
}

/* 6. ELEMENTUL CURENT (Text static la final - Gri discret) */
.card-breadcrumb-articol .breadcrumb-item.active,
.card-breadcrumb-articol .breadcrumb-item.active span,
.card-breadcrumb-articol li.active span {
    color: #6c757d !important;
    font-weight: 400 !important;
    background: transparent !important;
}

/* 7. CARACTERE SEPARATOARE (Săgeți elegante în loc de bare "/") */
.card-breadcrumb-articol .breadcrumb-item + .breadcrumb-item::before,
.card-breadcrumb-articol li + li::before {
    content: "❯" !important; /* Săgeată minimalistă */
    font-size: 9px !important;
    color: #adb5bd !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
    vertical-align: middle !important;
    display: inline-block !important;
    background: transparent !important;
}


/* ==========================================================================
   RIDICARE CORP CONȚINUT (ARTICOLE + LISTE ȘTIRI)
   ========================================================================== */
body.view-article #sp-main-body,
body.view-category #sp-main-body,
body.view-featured #sp-main-body {
    padding-top: 15px !important;
    margin-top: 0 !important;
}

body.view-article #sp-component,
body.view-category #sp-component,
body.view-featured #sp-component {
    padding-top: 10px !important;
    margin-top: 0 !important;
}

/* ==========================================================================
   PASTILĂ BREADCRUMBS MODERNĂ (ARTICOLE + LISTE ȘTIRI)
   ========================================================================== */
#sp-breadcrumb:has(.card-breadcrumb-articol) {
    padding-top: 10px !important;   /* Spațiu generos sub meniu */
    padding-bottom: 25px !important;
    margin: 0 !important;
    display: block !important;
    width: 100% !important;
}

.card-breadcrumb-articol ol.mod-breadcrumbs,
.card-breadcrumb-articol ol.breadcrumb {
    display: inline-flex !important; /* Strânge elementul pe lățimea textului */
    align-items: center !important;
    flex-wrap: wrap !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 10px 24px !important;  
    
    /* Efect vizual modern de sticlă mată */
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(0, 64, 133, 0.15) !important;
    border-radius: 50px !important;
    box-shadow: 0 4px 20px -2px rgba(0, 40, 133, 0.05), 0 2px 6px -1px rgba(0, 0, 0, 0.02) !important;
}

/* Ascundere text structural „Sunteți aici:” */
.card-breadcrumb-articol .mod-breadcrumbs__here,
.card-breadcrumb-articol li.float-start {
    display: none !important;
}

/* Elementele din interior */
.card-breadcrumb-articol .breadcrumb-item,
.card-breadcrumb-articol li.mod-breadcrumbs__item {
    display: inline-flex !important;
    align-items: center !important;
    padding: 0 !important;
    margin: 0 !important;
    font-family: system-ui, -apple-system, sans-serif !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    letter-spacing: 0.01em !important;
    text-transform: none !important;
    background: transparent !important;
}

/* Culori link-uri active (Albastru Instituțional) */
.card-breadcrumb-articol .breadcrumb-item a,
.card-breadcrumb-articol .breadcrumb-item a span,
.card-breadcrumb-articol a.pathway span {
    color: #004085 !important;
    text-decoration: none !important;
    transition: color 0.2s ease-in-out !important;
    background: transparent !important;
}

.card-breadcrumb-articol .breadcrumb-item a:hover,
.card-breadcrumb-articol .breadcrumb-item a:hover span,
.card-breadcrumb-articol a.pathway:hover span {
    color: #E7004C !important;
}

/* Elementul curent final (Gri discret) */
.card-breadcrumb-articol .breadcrumb-item.active,
.card-breadcrumb-articol .breadcrumb-item.active span,
.card-breadcrumb-articol li.active span {
    color: #6c757d !important;
    font-weight: 400 !important;
    background: transparent !important;
}

/* Caractere separatoare (Săgeți ❯) */
.card-breadcrumb-articol .breadcrumb-item + .breadcrumb-item::before,
.card-breadcrumb-articol li + li::before {
    content: "❯" !important;
    font-size: 9px !important;
    color: #adb5bd !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
    vertical-align: middle !important;
    display: inline-block !important;
    background: transparent !important;
}



/* ================= CARDURI ALBASTRE CU LINIE ORANJ=======================
==========================================================================*/

 /* ================= CARDURI ALBASTRE CU LINIE ORANJ=======================
==========================================================================*/


/* ==========================================================================
   SP PAGE BUILDER - FIX TOTAL RECONSTRUCȚIE MODERN CARD
   ========================================================================== */


/* 1. SE TRANSFERĂ EFECTUL DE CARD PE ELEMENTUL INTERN REAL (LIST-ITEM) */
.modern-card .sppb-addon-article-list-item {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  min-height: 140px !important; 
  padding: 24px 40px !important; 
  border-radius: 8px !important; 
  text-align: center !important;
  position: relative !important;
  overflow: hidden !important;
  
  /* Fundal Ice pronunțat */
  background: rgba(238, 245, 250, 0.6) !important; 
  backdrop-filter: blur(16px) !important; 
  -webkit-backdrop-filter: blur(16px) !important;
  
  /* Contur fin bleu-gri */
  border: 1px solid rgba(31, 111, 178, 0.12) !important;
  
  /* Umbră ambientală */
  box-shadow: 
    0 10px 30px rgba(31, 111, 178, 0.05),
    0 2px 8px rgba(0, 0, 0, 0.02) !important;


  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1) !important;
}


/* 2. OVERLAY ICE (::before mutat pe elementul intern corect) */
.modern-card .sppb-addon-article-list-item::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  border-radius: 8px !important;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.4) 0%,
    rgba(198, 222, 245, 0.25) 100%
  ) !important;
  z-index: 0 !important;
}


/* Forțare text/iconițe peste overlay */
.modern-card .sppb-addon-article-list-item * {
  position: relative !important;
  z-index: 1 !important;
}


/* 3. HOVER IMPLEMENTAT PE ELEMENTUL DE ARTICOL */
.modern-card .sppb-addon-article-list-item:hover {
  transform: translateY(-5px) !important;
  background: rgba(233, 242, 250, 0.85) !important; 
  border-color: rgba(31, 111, 178, 0.25) !important;
  
  box-shadow: 
    0 15px 35px rgba(31, 111, 178, 0.12), 
    0 4px 12px rgba(0, 0, 0, 0.03) !important;
}


/* 4. ICONIȚĂ ȘI TRANSFORMARE LA HOVER */
.modern-card .sppb-addon-article-list-item .sppb-icon {
  font-size: 38px !important;
  color: #1f6fb2 !important;
  margin-bottom: 12px !important;
  filter: drop-shadow(0 4px 8px rgba(31, 111, 178, 0.15)) !important;
}


.modern-card .sppb-addon-article-list-item .sppb-icon i {
  transition: color 0.3s ease, transform 0.3s ease !important;
}


/* Activare corectă schimbare culoare iconiță la hover pe card */
.modern-card .sppb-addon-article-list-item:hover .sppb-icon i {
  transform: translateY(-2px) !important;
  color: #e74c3c !important; 
}


/* 5. TITLU */
.modern-card .sppb-addon-article-list-item .sppb-article-title,
.modern-card .sppb-addon-article-list-item .sppb-addon-title {
  font-size: 17px !important;
  font-weight: 600 !important;
  color: #1c242c !important; 
  letter-spacing: -0.2px !important;
  margin-bottom: 4px !important;
}


/* 6. LINIE DE ACCENT MINIMALISTĂ (::after mutat pe list-item) */
.modern-card .sppb-addon-article-list-item::after {
  content: "" !important;
  width: 20px !important;
  height: 2px !important;
  display: block !important;
  margin: 10px auto 0 !important;
  background: #1f6fb2 !important;
  border-radius: 1px !important;
  transition: width 0.3s ease, background-color 0.3s ease !important;
}


/* Efectul de extindere linie la hover pe card */
.modern-card .sppb-addon-article-list-item:hover::after {
  width: 105px !important;
  background: #ff5722 !important;
}

/* ==========================================================================
   SCREENREADER - DIMENSIONARE PADING
   ========================================================================== */

#text_plugin {
    bottom: 20px !important; /* Schimbă 80px cu valoarea dorită de tine */
}

/* === scrol up ==== */

.sp-scroll-up {
    bottom: 70px !important;
}


/* ==========================================================================
   Stilizare Directă SP Page Builder Feature Box: #section-id-1784529290145 - SECTIUNI DE INTERES PUBLIC
   ========================================================================== */

/* Transformă elementul nativ din SP Page Builder în Cardul dorit */
#section-id-1784529290145 .sppb-addon-feature 
{
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  min-height: 140px !important; 
  padding: 24px 40px !important; 
  border-radius: 8px !important; 
  text-align: center !important;
  position: relative !important;
  overflow: hidden !important;

  /* Fundal alb gheață */
  background: rgba(238, 245, 250, 0.6) !important; 
  backdrop-filter: blur(16px) !important; 
  -webkit-backdrop-filter: blur(16px) !important;
  
  /* Contur fin realizat dintr-o bordură gri-bleu subtilă */
  border: 1px solid rgba(31, 111, 178, 0.12) !important;

  /* Umbră ambientală soft */
  box-shadow: 
    0 10px 30px rgba(31, 111, 178, 0.05),
    0 2px 8px rgba(0, 0, 0, 0.02) !important;

  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

/* Overlay Ice pentru contrast pe alb */
#section-id-1784529290145 .sppb-addon-feature::before

{
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  border-radius: 8px !important;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.4) 0%,
    rgba(198, 222, 245, 0.25) 100%
  ) !important;
  z-index: 0 !important;
}

/* Conținut peste overlay */
#section-id-1784529290145 .sppb-addon-feature

* {
  position: relative !important;
  z-index: 1 !important;
}

/* Hover elegant pe card */
#section-id-1784529290145 .sppb-addon-feature:hover {
  transform: translateY(-5px) !important;
  background: rgba(233, 242, 250, 0.85) !important;
  border-color: rgba(31, 111, 178, 0.25) !important;
  
  box-shadow: 
    0 15px 35px rgba(31, 111, 178, 0.12), 
    0 4px 12px rgba(0, 0, 0, 0.03) !important;
}

/* Marjă pictogramă */
#section-id-1784529290145 .sppb-addon-feature .sppb-icon {
  margin-bottom: 12px !important;
  filter: drop-shadow(0 4px 8px rgba(31, 111, 178, 0.15)) !important;
}

/* Stilizare pictogramă direct pe elementul i */
#section-id-1784529290145 .sppb-addon-feature .sppb-icon i {
  font-size: 38px !important;
  color: #1f6fb2 !important;
  display: inline-block !important;
  transition: color 0.3s ease, transform 0.3s ease !important;
}

/* Schimbă culoarea pictogramei la hover pe card */
#section-id-1784529290145 .sppb-addon-feature:hover .sppb-icon i {
  transform: translateY(-2px) !important;
  color: #e74c3c !important; 
}

/* Titlu modern (forțat pe text și link-uri interne) */
#section-id-1784529290145 .sppb-addon-feature .sppb-addon-title,
#section-id-1784529290145 .sppb-addon-feature .sppb-addon-title a {
  font-size: 17px !important;
  font-weight: 600 !important;
  color: #1c242c !important; 
  letter-spacing: -0.2px !important;
  margin-bottom: 4px !important;
  text-decoration: none !important;
}

/* Linie de accent minimalistă sub titlu */
#section-id-1784529290145 .sppb-addon-feature::after {
  content: "" !important;
  width: 20px !important;
  height: 2px !important;
  display: block !important;
  margin: 10px auto 0 !important;
  background: #1f6fb2 !important;
  border-radius: 1px !important;
  transition: width 0.3s ease, background-color 0.3s ease !important;
}

/* Extindere linie la hover pe întregul card */
#section-id-1784529290145 .sppb-addon-feature:hover::after {
  width: 105px !important;
  background: #ff5722 !important;
}




/* ==========================================================================
   1. STILIZARE TITLURI FORMULARE (OPȚIONAL - PENTRU HTML CURĂȚAT)
   ========================================================================== */
/* ==========================================================================
   1. STILIZARE TITLURI FORMULARE
   ========================================================================== */

.art-titlu-formular {
    color: #843fa1 !important;
    font-size: 18px !important;
    font-weight: 600;
    margin-right: 12px;
    vertical-align: middle;
}


/* ==========================================================================
   2. BUTOANE PREMIUM FLUENT UI 2026
   ========================================================================== */

div[itemprop="articleBody"] a:not([class*="pager"]):not([class*="page"]):not([id*="prev"]):not([id*="next"]),
#sp-component .article-details a:not([class*="pager"]):not([class*="page"]):not([id*="prev"]):not([id*="next"]) {

    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    padding: 10px 20px !important;
    margin: 5px !important;

    border-radius: 12px !important;

    background: linear-gradient(
        135deg,
        #ffffff 0%,
        #f8fbff 50%,
        #eef6ff 100%
    ) !important;

    border: 1px solid rgba(37,99,235,0.15) !important;

    color: #1e40af !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 0.25px !important;

    text-decoration: none !important;

    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;

    cursor: pointer !important;
    overflow: hidden !important;

    box-shadow:
        0 4px 12px rgba(0,0,0,0.05),
        0 1px 2px rgba(0,0,0,0.04),
        inset 0 1px 0 rgba(255,255,255,0.8) !important;

    transition:
        transform .35s cubic-bezier(.4,0,.2,1),
        box-shadow .35s cubic-bezier(.4,0,.2,1),
        background .35s cubic-bezier(.4,0,.2,1),
        color .35s cubic-bezier(.4,0,.2,1) !important;
}


/* ==========================================================================
   TEXT INTERIOR
   ========================================================================== */

div[itemprop="articleBody"] a:not([class*="pager"]):not([class*="page"]) *,
#sp-component .article-details a:not([class*="pager"]):not([class*="page"]) * {

    color: #1e40af !important;
    background: transparent !important;
    font-weight: 700 !important;
}


/* ==========================================================================
   SHIMMER / REFLEXIE PREMIUM
   ========================================================================== */

div[itemprop="articleBody"] a:not([class*="pager"]):not([class*="page"])::before,
#sp-component .article-details a:not([class*="pager"]):not([class*="page"])::before {

    content: "";

    position: absolute;
    top: 0;
    left: -140%;

    width: 60%;
    height: 100%;

    transform: skewX(-25deg);

    background: linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,0.9),
        transparent
    );

    transition: left 0.9s ease;
}


/* ==========================================================================
   ILUMINARE SUPERIOARĂ PREMIUM
   ========================================================================== */

div[itemprop="articleBody"] a:not([class*="pager"]):not([class*="page"])::after,
#sp-component .article-details a:not([class*="pager"]):not([class*="page"])::after {

    content: "";

    position: absolute;

    top: 2px;
    left: 8%;
    right: 8%;

    height: 42%;

    border-radius: 12px;

    background: linear-gradient(
        to bottom,
        rgba(255,255,255,0.7),
        rgba(255,255,255,0)
    );

    pointer-events: none;
}


/* ==========================================================================
   HOVER WOW PREMIUM
   ========================================================================== */

div[itemprop="articleBody"] a:not([class*="pager"]):not([class*="page"]):hover,
#sp-component .article-details a:not([class*="pager"]):not([class*="page"]):hover {

    color: #ffffff !important;

    background: linear-gradient(
        135deg,
        #2563eb 0%,
        #3b82f6 50%,
        #60a5fa 100%
    ) !important;

    border-color: rgba(255,255,255,0.18) !important;

    transform:
        translateY(-5px)
        scale(1.04) !important;

    box-shadow:
        0 20px 40px rgba(37,99,235,0.30),
        0 8px 18px rgba(37,99,235,0.25),
        0 0 30px rgba(59,130,246,0.25),
        inset 0 1px 0 rgba(255,255,255,0.25) !important;
}


/* ==========================================================================
   ANIMAȚIE REFLEXIE
   ========================================================================== */

div[itemprop="articleBody"] a:not([class*="pager"]):not([class*="page"]):hover::before,
#sp-component .article-details a:not([class*="pager"]):not([class*="page"]):hover::before {

    left: 150%;
}


/* ==========================================================================
   TEXT ALB HOVER
   ========================================================================== */

div[itemprop="articleBody"] a:not([class*="pager"]):not([class*="page"]):hover *,
#sp-component .article-details a:not([class*="pager"]):not([class*="page"]):hover * {

    color: #ffffff !important;
}


/* ==========================================================================
   GLOW PREMIUM
   ========================================================================== */

@keyframes premiumGlow {

    0% {
        filter: brightness(100%);
    }

    50% {
        filter: brightness(108%);
    }

    100% {
        filter: brightness(100%);
    }
}

div[itemprop="articleBody"] a:not([class*="pager"]):not([class*="page"]):hover,
#sp-component .article-details a:not([class*="pager"]):not([class*="page"]):hover {

    animation: premiumGlow 2s infinite;
}


/* ==========================================================================
   FOCUS
   ========================================================================== */

div[itemprop="articleBody"] a:not([class*="pager"]):not([class*="page"]):focus,
#sp-component .article-details a:not([class*="pager"]):not([class*="page"]):focus {

    outline: none !important;

    box-shadow:
        0 0 0 4px rgba(59,130,246,0.20),
        0 10px 30px rgba(59,130,246,0.25) !important;
}


/* ==========================================================================
   CLICK
   ========================================================================== */

div[itemprop="articleBody"] a:not([class*="pager"]):not([class*="page"]):active,
#sp-component .article-details a:not([class*="pager"]):not([class*="page"]):active {

    transform:
        translateY(-1px)
        scale(0.97) !important;

    box-shadow:
        0 5px 12px rgba(37,99,235,0.25) !important;

    transition: all .08s ease !important;
}


/* ==========================================================================
   NAVIGARE STRICTĂ ARTICOLE (Prec / Următor)
   ========================================================================== */

/* Starea inițială a butoanelor */
nav.pagenavigation .pagination a.btn,
nav.pagenavigation .pagination a.btn * {
    color: #475569 !important;
    background-color: #ffffff !important; /* Fundal alb inițial */
    border-color: #cbd5e1 !important; /* Chenar gri deschis */
    transition: all 0.2s ease-in-out !important;
}

/* Eliminare pseudo-elemente din template (linii/săgeți decorative vechi) */
nav.pagenavigation .pagination a.btn::before,
nav.pagenavigation .pagination a.btn::after {
    display: none !important;
}

/* Starea HOVER & FOCUS pentru buton și pentru TEXTUL/ICONIȚELE din interior */
nav.pagenavigation .pagination a.btn:hover,
nav.pagenavigation .pagination a.btn:focus,
nav.pagenavigation .pagination a.btn:hover *,
nav.pagenavigation .pagination a.btn:focus * {
    color: #dc2626 !important;         /* Textul devine roșu */
    background-color: #fff5f5 !important; /* Fundalul devine roz pal */
    border-color: #fecaca !important;     /* Chenarul devine roz/roșiatic */
    transform: none !important;
    box-shadow: none !important;
    animation: none !important;
}



/* ==========================================================================
   LISTE
   ========================================================================== */

div[itemprop="articleBody"] ul {
    list-style-position: inside;
}








/* ==========================================================================
   1. UNIFORMIZARE GLOBALĂ FONTURI ȘI TIPOGRAFIE (ARTICOLE + BLOGURI + CARDURI)
   ========================================================================== */
div[itemprop="articleBody"], div[itemprop="articleBody"] p, div[itemprop="articleBody"] span, div[itemprop="articleBody"] div,
.article-introtext, .article-introtext p, .article-introtext span, .article-introtext div,
div[itemprop="blogPost"] p, div[itemprop="blogPost"] span,
.joomla-wow-card p, .joomla-wow-card span, .joomla-wow-card li, .joomla-wow-card div:not(.image-wrapper) {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
    font-size: 15px !important;
    line-height: 1.65 !important;
    color: #334155 !important;
}

div[itemprop="articleBody"] strong, .article-introtext strong, .joomla-wow-card strong { 
    font-weight: 700 !important; 
    color: #0f172a !important; 
}

div[itemprop="articleBody"] p, .article-introtext p { 
    margin-bottom: 16px !important; 
}

/* ==========================================================================
   2. BUTOANE PREMIUM DISCRETE UNIVERSALE (INCLUSIV ÎN CARDURI)
   ========================================================================== */
div[itemprop="articleBody"] p a, div[itemprop="articleBody"] li a,
.article-introtext p a, .article-introtext li a,
div[itemprop="blogPost"] p a, div[itemprop="blogPost"] li a,
.joomla-wow-card .btn-download,
.joomla-wow-card .card-contact-link,
.joomla-wow-card .contact-details a {
    display: inline-flex !important;
    align-items: center;
    justify-content: center !important;
    gap: 8px !important;
    padding: 6px 14px !important; 
    margin: 4px 4px !important;
    background-color: #eff6ff !important; 
    border: 1px solid #bfdbfe !important; 
    border-radius: 6px !important; 
    text-decoration: none !important;
    font-size: 13px !important; 
    font-weight: 600 !important; 
    color: #1d4ed8 !important; 
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important; 
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05) !important;
    vertical-align: middle !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

/* Stil pictogramă din interiorul butonului */
div[itemprop="articleBody"] p a .btn-icon, 
.article-introtext p a .btn-icon, 
div[itemprop="blogPost"] p a .btn-icon {
    font-size: 12px !important;
    transition: transform 0.2s ease !important;
    display: inline-block !important;
}

/* ==========================================================================
   3. CORECȚIE CHIRURGICALĂ - AJUSTARE ARHIVĂ CARDURI (DA/DI PE ACELAȘI RÂND)
   ========================================================================== */
.joomla-wow-card .archive-declarations a {
    display: inline-flex !important;
    align-items: center;
    justify-content: center !important;
    padding: 4px 10px !important; 
    margin: 0 2px !important;  
    font-size: 11px !important;  
    font-weight: 700 !important;
    border-radius: 4px !important;
    background-color: #eff6ff !important;
    border: 1px solid #bfdbfe !important;
    color: #1d4ed8 !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    box-shadow: none !important;
}

/* ==========================================================================
   4. EFECT WOW PREMIUM LA HOVER (UNIVERSAL + TOATE CARDURILE)
   ========================================================================== */
div[itemprop="articleBody"] p a:hover, div[itemprop="articleBody"] li a:hover,
.article-introtext p a:hover, .article-introtext li a:hover,
div[itemprop="blogPost"] p a:hover, div[itemprop="blogPost"] li a:hover,
.joomla-wow-card .btn-download:hover,
.joomla-wow-card .card-contact-link:hover,
.joomla-wow-card .contact-details a:hover,
.joomla-wow-card .archive-declarations a:hover {
    color: #ffffff !important; 
    background-color: #2563eb !important; 
    border-color: #2563eb !important;
    transform: translateY(-1.5px) !important; 
    box-shadow: 0 8px 12px -3px rgba(37, 99, 235, 0.25) !important; 
}

.joomla-wow-card .btn-download:hover *,
.joomla-wow-card .archive-declarations a:hover * {
    color: #ffffff !important;
}

div[itemprop="articleBody"] p a:hover .btn-icon, 
.article-introtext p a:hover .btn-icon, 
div[itemprop="blogPost"] p a:hover .btn-icon {
    transform: translateX(2px) !important;
    color: #ffffff !important;
}

/* ==========================================================================
   5. REPARARE ȘI OPTIMIZARE STRUCTURĂ PENTRU MOBIL (RESPONSIVE CRITICAL FIX)
   ========================================================================== */
@media (max-width: 767px) {
    /* Forțează cardul să se așeze pe verticală, eliminând ieșirea în dreapta */
    .joomla-wow-card {
        flex-direction: column !important;
        padding: 16px !important;
        gap: 20px !important;
        max-width: 100% !important;
        overflow: hidden !important;
    }

    /* Resetare lățimi coloana stângă pe mobil */
    .joomla-wow-card .card-left-section {
        flex: 1 1 100% !important;
        max-width: 100% !important;
        min-width: 100% !important;
        width: 100% !important;
        align-items: center !important;
    }

    /* Resetare lățimi coloana dreaptă pe mobil */
    .joomla-wow-card .card-right-section {
        flex: 1 1 100% !important;
        max-width: 100% !important;
        min-width: 100% !important;
        width: 100% !important;
    }

    /* Permite textului din butoane să se plieze dacă este nevoie */
    div[itemprop="articleBody"] p a, div[itemprop="articleBody"] li a,
    .article-introtext p a, .article-introtext li a,
    div[itemprop="blogPost"] p a, div[itemprop="blogPost"] li a,
    .joomla-wow-card .btn-download,
    .joomla-wow-card .contact-details a {
        white-space: normal !important; 
        word-break: break-word !important; 
        text-align: center !important;
        justify-content: center !important;
    }

    /* Centrare titluri pe mobil pentru aspect curat */
    .joomla-wow-card .official-name,
    .joomla-wow-card .official-badge {
        text-align: center !important;
        display: block !important;
    }
}

/* ==========================================================================
   6. DETALII SPECIFICE DE AJUSTARE STRUCTURĂ CARDURI CONDUCERE
   ========================================================================== */
.joomla-wow-card .official-name { font-size: 24px !important; color: #0f172a !important; font-weight: 800 !important; }
.joomla-wow-card .official-badge { font-size: 13px !important; color: #2563eb !important; font-weight: 600 !important; }
.joomla-wow-card .block-label { font-size: 11px !important; font-weight: bold !important; }















/* ==================================================
   ACCORDION PREMIUM - TOATE ACORDEOANELE SPPB
   Elegant | Discret | Instituțional
================================================== */

/* Spațiere panel */

.sppb-addon-accordion .sppb-panel{
    margin-bottom:10px;
    border:none !important;
    background:transparent !important;
}

/* Buton accordion */

.sppb-addon-accordion .sppb-panel-heading{

    display:flex;
    align-items:center;

    min-height:60px;

    padding:15px 18px;

    background:#fff !important;

    border:1px solid #ebedf3 !important;
    border-radius:12px;

    box-shadow:
        0 2px 8px rgba(0,0,0,.03);

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease,
        background .25s ease;
}

/* Hover discret */

.sppb-addon-accordion .sppb-panel-heading:hover{

    transform:translateY(-2px);

    border-color:rgba(91,19,136,.25) !important;

    box-shadow:
        0 8px 18px rgba(91,19,136,.08);
}

/* Icone */

.sppb-addon-accordion .sppb-accordion-icon-wrap{

    width:42px;
    min-width:42px;

    display:flex;
    align-items:center;
    justify-content:center;

    margin-right:14px;
}

.sppb-addon-accordion .sppb-accordion-icon-wrap i{

    font-size:22px;

    color:#7a45a0;

    transition:all .25s ease;
}

/* Hover icon */

.sppb-addon-accordion .sppb-panel-heading:hover i{

    color:#5b1388;

    transform:scale(1.50);
}

/* Titlu */

.sppb-addon-accordion .sppb-panel-title{

    font-size:15px;
    font-weight:600;

    color:#3d3d3d;

    transition:.25s ease;
}

.sppb-addon-accordion .sppb-panel-heading:hover .sppb-panel-title{

    color:#5b1388;
}

/* Indicator dreapta */

.sppb-addon-accordion .sppb-panel-heading::after{

    content:"›";

    margin-left:auto;

    font-size:30px;
    font-weight:500;

    color:#8b5bb0;

    transition:.3s ease;
}

/* Deschis */

.sppb-addon-accordion .sppb-panel-heading[aria-expanded="true"]{

    background:#ffffff !important;

    border-color:rgba(91,19,136,.35) !important;

    border-bottom-left-radius:0;
    border-bottom-right-radius:0;

    box-shadow:
        0 8px 20px rgba(91,19,136,.08);
}

/* Săgeată rotită */

.sppb-addon-accordion .sppb-panel-heading[aria-expanded="true"]::after{

    transform:rotate(90deg);

    color:#5b1388;
}

/* Icon activ */

.sppb-addon-accordion .sppb-panel-heading[aria-expanded="true"] i{

    color:#ff2d67;
    opacity:.85;

    transform:scale(1.1);
}

/* Titlu activ */

.sppb-addon-accordion .sppb-panel-heading[aria-expanded="true"] .sppb-panel-title{

    color:#5b1388;
}

/* Conținutul pare că "curge" din buton */

.sppb-addon-accordion .sppb-panel-body{

    margin-top:-1px;

    background:#fff;

    border-left:1px solid rgba(91,19,136,.25);
    border-right:1px solid rgba(91,19,136,.25);
    border-bottom:1px solid rgba(91,19,136,.25);

    border-radius:0 0 12px 12px;

    padding:22px;

    box-shadow:
        0 8px 18px rgba(91,19,136,.05);
}

/* Hover pe zona deschisă */

.sppb-addon-accordion .sppb-panel-body:hover{

    box-shadow:
        0 10px 22px rgba(91,19,136,.08);
}

/* Mobile */

@media(max-width:768px){

    .sppb-addon-accordion .sppb-panel-heading{

        min-height:54px;
        padding:12px 14px;
    }

    .sppb-addon-accordion .sppb-panel-title{

        font-size:14px;
    }

    .sppb-addon-accordion .sppb-accordion-icon-wrap i{

        font-size:17px;
    }
}







/* ==================================================
   EXTINDE / RESTRANGE
   ================================================== */

/* Ascunde toate cardurile dupa primele 2 din fiecare coloana */

#section-id-1784529290145:not(.expanded)
.sppb-column-addons > .addon-root-feature:nth-child(n+3) {
    display: none !important;
}

/* Stil buton */

#toggle-public-interest {
    display: inline-block;
    margin: 25px auto;
    padding: 12px 28px;
    border: 1px solid rgba(31,111,178,.15);
    border-radius: 8px;
    background: rgba(238,245,250,.80);
    color: #1f6fb2;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all .3s ease;
}

#toggle-public-interest:hover {
    background: rgba(233,242,250,.95);
    border-color: rgba(31,111,178,.30);
    transform: translateY(-2px);
}

#toggle-public-interest i {
    margin-right: 8px;
}