/* Container: 2 coloane egale + înălțimi egale */
#id_RURJeIr ul,
#id_RURJeIr .EventList {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  padding: 0;
  margin: 0;
  list-style: none;
  align-items: stretch;
}

/* Cardurile evenimentelor */
#id_RURJeIr li,
#id_RURJeIr .EventListItem {
  background-color: #1034A6 !important;   /* Egyptian Blue */
  color: #ffffff !important;               /* text alb */
  margin: 0;
  border-radius: 14px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.18);
  padding: 24px;                           /* un pic mai mult spațiu */
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/* Titlul evenimentului (link) */
#id_RURJeIr li a,
#id_RURJeIr .EventListItem a {
  color: #FFD700 !important;  /* galben auriu */
  font-weight: 700;
  text-decoration: none;
  line-height: 1.4;
  font-size: 22px;            /* titlul mai mare */
}
#id_RURJeIr li a:hover,
#id_RURJeIr .EventListItem a:hover {
  text-decoration: underline;
}

/* Detaliile evenimentului */
#id_RURJeIr li .EventListItemDate,
#id_RURJeIr li .wa-eventDate,
#id_RURJeIr li time,
#id_RURJeIr li span,
#id_RURJeIr li div {
  color: #ffffff !important;
  opacity: 0.95;
  font-size: 18px;            /* detaliile mai mari */
  line-height: 1.5;
}

/* Mobile: stacked */
@media (max-width: 900px) {
  #id_RURJeIr ul, #id_RURJeIr .EventList {
    grid-template-columns: 1fr;
  }
}
/* === APIO Brand Primitives === */
:root{
  --apio-blue: #00319E;     /* Egyptian Blue */
  --apio-platinum: #E7E6E9; /* Platinum */
  --apio-white: #FFFFFF;
  --apio-red: #FF484B;      /* Imperial Red */
  --apio-text: #111827;     /* text neutru foarte închis */
}

/* Font stacks — folosește Merriweather Regular doar pentru titluri */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Merriweather:wght@300;400&display=swap");

body, .wr body{
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--apio-text);
}

h1, h2, h3, .wr h1, .wr h2, .wr h3{
  font-family: "Merriweather", Georgia, "Times New Roman", serif;
  font-weight: 400; /* doar Regular, fără Bold conform brandbook */
  letter-spacing: 0.2px;
  color: var(--apio-blue);
}

h4, h5, h6{
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 600; /* SemiBold pentru subtitluri */
}
/* Bara de meniu */
.wr-Menu, .wr-Menu-bar, .wr-SiteHeader{
  background: var(--apio-blue) !important;
}
.wr-Menu a, .wr-Menu .wr-MenuItem > a{
  color: var(--apio-white) !important;
  font-weight: 500;
}
.wr-Menu .wr-MenuItem--selected > a,
.wr-Menu a:hover{
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
  text-decoration-color: var(--apio-red);
}

/* Butonul Log in / Cart */
.wr-UserLogin, .wr-CartStatus a{
  color: var(--apio-white) !important;
  opacity: 0.9;
}
.wr-UserLogin a:hover, .wr-CartStatus a:hover{ opacity: 1; }
/* Primar */
button, .wr-Button, .gadget-button, .WaGadgetLoginForm .loginButton,
a.wr-button, .button{
  background: var(--apio-blue) !important;
  color: var(--apio-white) !important;
  border: 0;
  border-radius: 10px;
  padding: 12px 18px;
  font-weight: 600;
  transition: transform .05s ease, box-shadow .2s ease;
  box-shadow: 0 6px 16px rgba(0,49,158,.18);
}
button:hover, .wr-Button:hover, .gadget-button:hover, a.wr-button:hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(0,49,158,.22);
}

/* Secundar – contur */
.button--outline, .wr-Button--secondary{
  background: transparent !important;
  color: var(--apio-blue) !important;
  border: 2px solid var(--apio-blue) !important;
}
.button--outline:hover{ background: rgba(0,49,158,.06) !important; }
/* Secțiuni introductive */
.section--intro, .wr-PageContent > :is(h1,h2)+p{
  max-width: 70ch;
  line-height: 1.7;
  font-size: 1.05rem;
}

/* cap de secțiune (h1) cu sublinieră red subtilă */
.wr-PageContent h1{
  border-bottom: 3px solid var(--apio-red);
  padding-bottom: .35rem;
  margin-bottom: 1rem;
}
/* Container de carduri */
.apio-news-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin-top: 10px;
}
.apio-card{
  background: var(--apio-platinum);
  border-radius: 14px;
  padding: 16px;
  display: flex; flex-direction: column;
  min-height: 220px;
}
.apio-card a{ color: var(--apio-blue); font-weight: 600; }
.apio-card a:hover{ color: var(--apio-red); }

/* Dacă gadgetul generează o listă simplă, normalizează elementele */
.wr-List > li{ list-style: none; }
.wr-List.wr-NewsList > li{
  background: var(--apio-platinum);
  border-radius: 14px;
  padding: 16px;
}
.apio-laureates{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px,1fr));
  gap: 22px;
}
.apio-laureates figure{
  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 14px;
  padding: 14px;
}
.apio-laureates img{
  width: 100%; height: 190px; object-fit: cover;
  border-radius: 10px;
}
.apio-laureates h3{ font-size: 1.05rem; margin: .6rem 0 .2rem; }
.apio-laureates time, .apio-laureates .year{ color:#6B7280; font-size:.9rem; }
.wr-Footer{
  background: var(--apio-blue);
  color: var(--apio-white);
}
.wr-Footer a{ color: var(--apio-white); opacity:.9; }
.wr-Footer a:hover{ opacity:1; text-decoration: underline; text-decoration-color: var(--apio-red); }
.wr-Footer .wa-credit{ opacity:.7; font-size:.875rem; }
<style>
  /* TEST: ar trebui să vezi o bandă roșie sub header */
  body::before{
    content:"APIO – CSS încărcat";
    display:block; text-align:center;
    background:#FF484B; color:white; font:600 14px/40px Inter, Arial, sans-serif;
  }

  /* TEST: meniul devine albastru brand + linkurile albe */
  .wr-Menu, .wr-Menu-bar, .wr-SiteHeader{
    background: #00319E !important;
  }
  .wr-Menu a, .wr-Menu .wr-MenuItem > a{
    color: #fff !important; font-weight:500;
  }
</style>

:root{
  --apio-blue:#00319E; --apio-platinum:#E7E6E9;
  --apio-white:#fff; --apio-red:#FF484B; --apio-text:#111827;
}
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Merriweather:wght@400&display=swap");

body{ font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif; color:var(--apio-text); }
h1,h2,h3{ font-family:Merriweather,Georgia,serif; font-weight:400; color:var(--apio-blue); }

/* Meniu */
.wr-Menu, .wr-Menu-bar, .wr-SiteHeader{ background:var(--apio-blue) !important; }
.wr-Menu a{ color:var(--apio-white) !important; font-weight:500; }
.wr-Menu .wr-MenuItem--selected > a, .wr-Menu a:hover{
  text-decoration:underline; text-underline-offset:3px; text-decoration-thickness:2px; text-decoration-color:var(--apio-red);
}

/* Butoane */
.wr-Button, .gadget-button, a.wr-button{
  background:var(--apio-blue) !important; color:var(--apio-white) !important;
  border-radius:10px; padding:12px 18px; font-weight:600; border:0;
}
.wr-Button:hover, .gadget-button:hover, a.wr-button:hover{ filter:brightness(1.05); }

/* Carduri de știri (dacă gadgetul listează .wr-NewsList) */
.wr-NewsList > li{
  background:var(--apio-platinum); border-radius:14px; padding:16px; list-style:none;
}
.wr-NewsList a{ color:var(--apio-blue); font-weight:600; }
.wr-NewsList a:hover{ color:var(--apio-red); }

/* Footer */
.wr-Footer{ background:var(--apio-blue); color:var(--apio-white); }
.wr-Footer a{ color:var(--apio-white); opacity:.9; }
.wr-Footer a:hover{ opacity:1; text-decoration:underline; text-decoration-color:var(--apio-red); }
