/* Start Custom CSS for html */.pg { max-width: 1000px; margin: 0 auto; padding: 0 16px; }
.pg-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ===== Antet ===== */
.pg-head { margin-bottom: 28px; }
.pg-eticheta {
  display: inline-block; padding: 5px 16px;
  background: #efe6dd; color: #9a0002; border-radius: 999px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.pg-head h2 { margin: 14px 0 0; color: #2a1b18; }
.pg-titlu { margin: 52px 0 22px; padding-bottom: 12px; border-bottom: 3px solid #d49a52; color: #2a1b18; }

/* ===== Carduri de program ===== */
.pg-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.pg-card {
  display: flex; flex-direction: column; gap: 20px; padding: 28px 26px;
  background: #f8f3ee; border-top: 5px solid #d49a52; border-radius: 18px;
  box-shadow: 0 8px 22px rgba(42, 27, 24, .10);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.pg-card:hover { transform: translateY(-8px); border-top-color: #9a0002; box-shadow: 0 18px 38px rgba(154, 0, 2, .22); }

.pg-card-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.pg-ico {
  display: grid; place-items: center; width: 52px; height: 52px;
  background: #9a0002; color: #efe6dd; border-radius: 14px; font-size: 24px;
}
.pg-card-head h3 { flex: 1; min-width: 160px; margin: 0; color: #9a0002; font-size: 22px; line-height: 1.25; }

/* Indicator deschis / închis */
.pg-stare {
  display: inline-flex; align-items: center; gap: 8px; padding: 5px 14px;
  border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
}
.pg-stare:empty { display: none; }
.pg-stare::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
.pg-stare--da { background: #9a0002; color: #efe6dd; }
.pg-stare--da::before { background: #d49a52; animation: pg-puls 1.8s ease-in-out infinite; }
.pg-stare--nu { background: #efe6dd; color: #2a1b18; }

@keyframes pg-puls {
  0%, 100% { box-shadow: 0 0 0 0 rgba(212, 154, 82, .7); }
  50%      { box-shadow: 0 0 0 6px rgba(212, 154, 82, 0); }
}

/* Intervale */
.pg-zile { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.pg-zile li {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 16px 20px; background: #efe6dd; border-left: 5px solid #9a0002; border-radius: 12px;
  transition: background .25s ease, border-color .25s ease;
}
.pg-zi { color: #9a0002; font-weight: 800; font-size: 17px; }
.pg-zile time { color: #2a1b18; font-weight: 800; font-size: clamp(20px, 2.6vw, 26px); font-variant-numeric: tabular-nums; }

/* Ziua de azi */
.pg-zile li.pg-azi { background: #9a0002; border-left-color: #d49a52; }
.pg-zile li.pg-azi .pg-zi { color: #d49a52; }
.pg-zile li.pg-azi time { color: #efe6dd; }

/* Cardul pentru cursuri, evidențiat */
.pg-card--accent { background: linear-gradient(135deg, #9a0002 0%, #730001 100%); border-top-color: #d49a52; box-shadow: 0 12px 28px rgba(154, 0, 2, .28); }
.pg-card--accent .pg-ico { background: #efe6dd; color: #9a0002; }
.pg-card--accent .pg-card-head h3 { color: #efe6dd; }
.pg-card--accent .pg-zile li { background: rgba(239, 230, 221, .14); border-left-color: #d49a52; }
.pg-card--accent .pg-zi { color: #d49a52; }
.pg-card--accent .pg-zile time { color: #efe6dd; }
.pg-card--accent .pg-zile li.pg-azi { background: #efe6dd; }
.pg-card--accent .pg-zile li.pg-azi .pg-zi { color: #9a0002; }
.pg-card--accent .pg-zile li.pg-azi time { color: #2a1b18; }
.pg-card--accent .pg-stare--da { background: #efe6dd; color: #9a0002; }
.pg-card--accent .pg-stare--da::before { background: #9a0002; animation: none; }
.pg-card--accent .pg-stare--nu { background: rgba(239, 230, 221, .18); color: #efe6dd; }

/* ===== Rețele sociale ===== */
.pg-social { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pg-soc {
  position: relative; display: flex; align-items: center; gap: 14px; padding: 18px 20px; overflow: hidden;
  background: #f8f3ee; border-left: 5px solid #efe6dd; border-radius: 16px;
  box-shadow: 0 6px 18px rgba(42, 27, 24, .10);
  color: #2a1b18; text-decoration: none;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.pg-soc::before {
  content: ""; position: absolute; inset: 0; background: #9a0002;
  transform: translateY(101%); transition: transform .3s ease; z-index: 0;
}
.pg-soc > * { position: relative; z-index: 1; }
.pg-soc-ico {
  flex: 0 0 auto; display: grid; place-items: center; width: 50px; height: 50px;
  background: #9a0002; color: #efe6dd; border-radius: 14px;
  font-family: Georgia, serif; font-size: 24px; font-weight: 800;
  transition: background .3s ease, color .3s ease;
}
.pg-soc-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.pg-soc-txt strong { font-size: 18px; transition: color .3s ease; }
.pg-soc-txt small { opacity: .75; font-size: 13px; overflow-wrap: anywhere; transition: color .3s ease; }
.pg-soc-go { font-size: 20px; color: #9a0002; transition: transform .3s ease, color .3s ease; }

.pg-soc:hover, .pg-soc:focus-visible { transform: translateY(-6px); border-left-color: #9a0002; box-shadow: 0 16px 34px rgba(154, 0, 2, .25); }
.pg-soc:hover::before, .pg-soc:focus-visible::before { transform: translateY(0); }
.pg-soc:hover strong, .pg-soc:hover small, .pg-soc:focus-visible strong, .pg-soc:focus-visible small { color: #efe6dd; opacity: 1; }
.pg-soc:hover .pg-soc-ico, .pg-soc:focus-visible .pg-soc-ico { background: #efe6dd; color: #9a0002; }
.pg-soc:hover .pg-soc-go, .pg-soc:focus-visible .pg-soc-go { color: #d49a52; transform: translate(4px, -4px); }
.pg-soc:focus-visible { outline: 3px solid #d49a52; outline-offset: 3px; }

/* ===== Tabletă și mobil ===== */
@media (max-width: 991px) {
  .pg-social { grid-template-columns: 1fr; max-width: 520px; }
}
@media (max-width: 767px) {
  .pg-grid { grid-template-columns: 1fr; }
  .pg-card { padding: 22px 18px; }
  .pg-card-head h3 { font-size: 20px; }
  .pg-zile li { padding: 14px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .pg-card, .pg-soc, .pg-soc::before, .pg-soc-go { transition: none; }
  .pg-stare--da::before { animation: none; }
}/* End Custom CSS */