/* Start Custom CSS for html */.au { max-width: 1000px; margin: 0 auto; padding: 0 16px; }

/* ===== Antet ===== */
.au-head { margin-bottom: 30px; }
.au-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;
}
.au-head h2 { margin: 14px 0 8px; color: #2a1b18; }
.au-head p { margin: 0; color: #2a1b18; opacity: .8; }
.au-titlu { margin: 52px 0 22px; padding-bottom: 12px; border-bottom: 3px solid #d49a52; color: #2a1b18; }

/* ===== Carduri persoane ===== */
.au-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.au-card {
  display: flex; flex-direction: column; gap: 10px; padding: 26px 24px;
  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;
}
.au-card:hover { transform: translateY(-8px); border-top-color: #9a0002; box-shadow: 0 18px 38px rgba(154, 0, 2, .22); }
.au-rol {
  align-self: flex-start; padding: 4px 14px;
  background: #efe6dd; color: #9a0002; border-radius: 999px;
  font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.au-card h3 { margin: 4px 0 8px; color: #2a1b18; font-size: 22px; line-height: 1.3; }

/* Directorul: card evidențiat */
.au-card--principal {
  background: linear-gradient(135deg, #9a0002 0%, #730001 100%);
  border-top-color: #d49a52;
  box-shadow: 0 12px 28px rgba(154, 0, 2, .28);
}
.au-card--principal .au-rol { background: rgba(239, 230, 221, .18); color: #efe6dd; }
.au-card--principal h3 { color: #efe6dd; }

/* ===== Intervale ===== */
.au-sloturi { list-style: none; margin: auto 0 0; padding: 0; display: grid; gap: 10px; }
.au-sloturi li {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 12px 16px; background: #efe6dd; border-left: 4px solid #9a0002; border-radius: 12px;
  transition: background .25s ease, border-color .25s ease;
}
.au-zi { color: #9a0002; font-weight: 800; font-size: 16px; }
.au-sloturi time { color: #2a1b18; font-weight: 700; font-size: 17px; font-variant-numeric: tabular-nums; }

.au-card--principal .au-sloturi li { background: rgba(239, 230, 221, .14); border-left-color: #d49a52; }
.au-card--principal .au-zi { color: #d49a52; }
.au-card--principal .au-sloturi time { color: #efe6dd; }

/* ===== Săptămâna ===== */
.au-sapt { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.au-col {
  position: relative; padding: 18px 16px 20px;
  background: #f8f3ee; border-top: 4px solid #efe6dd; border-radius: 14px;
  box-shadow: 0 4px 14px rgba(42, 27, 24, .08);
}
.au-col h4 { margin: 0 0 12px; color: #9a0002; font-size: 18px; }
.au-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.au-col li { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; background: #fffaf5; border-radius: 10px; }
.au-col li strong { color: #9a0002; font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.au-col li span { color: #2a1b18; font-weight: 600; line-height: 1.3; font-size: 14.5px; }
.au-col li time { margin-top: 4px; color: #2a1b18; font-weight: 800; font-size: 15px; font-variant-numeric: tabular-nums; }
.au-liber { margin: 0; color: #2a1b18; opacity: .55; font-size: 14px; }
.au-col--liber { background: transparent; box-shadow: none; border: 2px dashed #efe6dd; }

/* ===== Ziua de azi ===== */
.au-badge {
  padding: 3px 12px; background: #d49a52; color: #2a1b18;
  border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
}
.au-sloturi li.au-azi { background: #9a0002; border-left-color: #d49a52; }
.au-sloturi li.au-azi .au-zi { color: #d49a52; }
.au-sloturi li.au-azi time { color: #efe6dd; }
.au-card--principal .au-sloturi li.au-azi { background: #efe6dd; border-left-color: #d49a52; }
.au-card--principal .au-sloturi li.au-azi .au-zi { color: #9a0002; }
.au-card--principal .au-sloturi li.au-azi time { color: #2a1b18; }

.au-col.au-azi { border-top-color: #9a0002; box-shadow: 0 12px 26px rgba(154, 0, 2, .22); }
.au-col.au-azi h4 { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.au-col.au-azi.au-col--liber { border-color: #d49a52; }

/* ===== Tabletă ===== */
@media (max-width: 991px) {
  .au-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .au-sapt { grid-template-columns: repeat(2, 1fr); }
}

/* ===== Mobil ===== */
@media (max-width: 560px) {
  .au-card { padding: 20px 18px; }
  .au-card h3 { font-size: 20px; }
  .au-sapt { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .au-card, .au-sloturi li { transition: none; }
}/* End Custom CSS */