/* Start Custom CSS for html */.cc { max-width: 1100px; margin: 0 auto; padding: 0 16px; }
.cc-head { margin-bottom: 28px; }
.cc-head h2 { margin: 0 0 6px; color: #2a1b18; }
.cc-head p { margin: 0; color: #2a1b18; opacity: .75; }
.cc-titlu { margin: 56px 0 22px; padding-bottom: 12px; border-bottom: 3px solid #d49a52; color: #2a1b18; }

/* ===== Galeria de afișe ===== */
.cc-afise { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cc-afis {
  display: flex; flex-direction: column; padding: 0; margin: 0;
  font: inherit; text-align: left; color: #2a1b18;
  background: #f8f3ee; border: 0; border-radius: 16px; overflow: hidden; cursor: pointer;
  box-shadow: 0 8px 22px rgba(42, 27, 24, .10);
  transition: transform .3s ease, box-shadow .3s ease;
}
.cc-afis:hover, .cc-afis:focus-visible { transform: translateY(-8px); box-shadow: 0 18px 38px rgba(154, 0, 2, .25); }
.cc-afis:focus-visible { outline: 3px solid #d49a52; outline-offset: 3px; }
.cc-img { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; background: #efe6dd; }
.cc-img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.cc-afis:hover .cc-img img, .cc-afis:focus-visible .cc-img img { transform: scale(1.06); }
.cc-zoom {
  position: absolute; right: 12px; bottom: 12px; display: grid; place-items: center;
  width: 42px; height: 42px; background: #9a0002; color: #efe6dd; border-radius: 50%; font-size: 20px;
  opacity: 0; transform: translateY(8px); transition: opacity .25s ease, transform .25s ease;
}
.cc-afis:hover .cc-zoom, .cc-afis:focus-visible .cc-zoom { opacity: 1; transform: none; }
.cc-info { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 20px; border-top: 4px solid #d49a52; }
.cc-data { color: #9a0002; font-weight: 700; font-size: 15px; }
.cc-nume { font-size: 18px; font-weight: 700; line-height: 1.3; }

.cc-stare { align-self: flex-start; padding: 3px 12px; border-radius: 999px; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.cc-stare:empty { display: none; }
.cc-stare--activ { background: #9a0002; color: #efe6dd; }
.cc-stare--urmeaza { background: #d49a52; color: #2a1b18; }
.cc-stare--incheiat { background: #efe6dd; color: #2a1b18; }

/* Afișul mărit */
.cc-dlg { position: fixed; border: 0; padding: 0; background: transparent; max-width: min(92vw, 900px); max-height: 92vh; overflow: visible; }
.cc-dlg::backdrop { background: rgba(42, 27, 24, .85); }
.cc-dlg img { display: block; max-width: 100%; max-height: 90vh; margin: 0 auto; border-radius: 12px; }
.cc-dlg-x {
  position: absolute; top: 10px; right: 10px; width: 40px; height: 40px;
  background: #9a0002; color: #efe6dd; border: 0; border-radius: 50%; font-size: 24px; line-height: 1; cursor: pointer;
}
.cc-dlg-x:hover { background: #730001; }

/* ===== Acordeon pe ani ===== */
.cc-an { margin-bottom: 14px; background: #f8f3ee; border-left: 5px solid #9a0002; border-radius: 12px; box-shadow: 0 4px 14px rgba(42, 27, 24, .08); overflow: hidden; }
.cc-an > summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 20px; color: #9a0002; font-weight: 700; font-size: 19px;
  cursor: pointer; list-style: none; transition: background .2s ease;
}
.cc-an > summary::-webkit-details-marker { display: none; }
.cc-an > summary:hover { background: #efe6dd; }
.cc-an > summary:focus-visible { outline: 3px solid #d49a52; outline-offset: -3px; }
.cc-an > summary::after {
  content: "+"; display: grid; place-items: center; flex: 0 0 32px; height: 32px;
  background: #9a0002; color: #efe6dd; border-radius: 50%; font-size: 20px;
}
.cc-an[open] > summary::after { content: "−"; }
.cc-an-corp { padding: 6px 20px 22px; }

/* ===== Blocuri de calendar ===== */
.cc-blk { margin-bottom: 28px; }
.cc-blk-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.cc-blk-head h4 { margin: 0; color: #9a0002; font-size: 19px; }
.cc-nr { padding: 4px 12px; background: #efe6dd; color: #2a1b18; border-radius: 999px; font-size: 12.5px; font-weight: 700; }
.cc-desc { margin: 0 0 14px; color: #2a1b18; opacity: .85; font-size: 14.5px; line-height: 1.6; }

.cc-lista { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cc-lista li {
  display: flex; align-items: flex-start; gap: 14px; padding: 12px 14px;
  background: #fffaf5; border-left: 3px solid #d49a52; border-radius: 10px;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.cc-lista li:hover { transform: translateX(4px); border-left-color: #9a0002; box-shadow: 0 6px 16px rgba(154, 0, 2, .12); }
.cc-lista li > div { flex: 1; min-width: 0; }
.cc-lista strong { display: block; color: #2a1b18; line-height: 1.4; }
.cc-meta { display: block; margin-top: 2px; color: #2a1b18; opacity: .75; font-size: 14px; line-height: 1.5; }

.cc-poz {
  flex: 0 0 auto; min-width: 54px; padding: 6px 8px; text-align: center;
  background: #9a0002; color: #efe6dd; border-radius: 10px; font-weight: 800; line-height: 1.15;
}
.cc-poz small { display: block; font-size: 10px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; opacity: .85; }
.cc-poz--nu { background: #efe6dd; color: #9a0002; }

/* Butoane PDF / linkuri */
.cc-pdf {
  display: inline-flex; align-items: center; gap: 8px; margin: 8px 8px 0 0; padding: 6px 14px;
  background: #9a0002; color: #efe6dd !important; border-radius: 8px;
  font-size: 13.5px; font-weight: 700; text-decoration: none;
  transition: background .2s ease, transform .2s ease;
}
.cc-pdf i { padding: 1px 6px; background: #efe6dd; color: #9a0002; border-radius: 4px; font-size: 10px; font-style: normal; }
.cc-pdf:hover, .cc-pdf:focus-visible { background: #730001; transform: translateY(-2px); }
.cc-desc .cc-pdf { margin: 0 0 0 6px; }

/* Linkurile rămase necompletate (href="#") – vizibile până le completezi */
.cc a[href="#"] { outline: 2px dashed #d49a52; outline-offset: 2px; }

/* ===== Carduri de anunț (2024–2025) ===== */
.cc-card { margin-bottom: 14px; padding: 18px 20px; background: #fffaf5; border-left: 4px solid #9a0002; border-radius: 12px; }
.cc-card--accent { background: #efe6dd; }
.cc-card h4 { margin: 0 0 8px; color: #9a0002; font-size: 18px; }
.cc-card p { margin: 0 0 10px; color: #2a1b18; line-height: 1.65; }
.cc-card a { color: #9a0002; }
.cc-card a.cc-pdf { color: #efe6dd; }
.cc-puncte { margin: 0 0 12px; padding: 0; list-style: none; }
.cc-puncte li { position: relative; padding: 4px 0 4px 20px; color: #2a1b18; line-height: 1.6; }
.cc-puncte li::before { content: ""; position: absolute; left: 0; top: .85em; width: 8px; height: 8px; background: #d49a52; border-radius: 50%; }

/* ===== Responsive ===== */
@media (max-width: 991px) { .cc-afise { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
  .cc-afise { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .cc-an > summary { font-size: 17px; padding: 14px 16px; }
  .cc-an-corp { padding: 4px 12px 18px; }
  .cc-lista li { gap: 10px; padding: 10px 12px; }
  .cc-poz { min-width: 46px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .cc-afis, .cc-img img, .cc-zoom, .cc-lista li, .cc-pdf { transition: none; }
}/* End Custom CSS */