/* Liry v28 homepage examples + admin examples */
.featured-examples{
  width:min(1120px, calc(100% - 28px));
  margin: 18px auto 22px;
  padding: clamp(16px, 2vw, 24px);
  border:1px solid rgba(255,122,24,.14);
  border-radius: 30px;
  background: linear-gradient(145deg, rgba(255,255,255,.92), rgba(255,246,238,.86));
  box-shadow: 0 20px 60px rgba(32,24,16,.07);
}
.examples-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin-bottom:16px;
}
.examples-head span{display:inline-flex;color:#ff7a18;font-weight:800;font-size:.86rem;letter-spacing:.02em}
.examples-head h2{margin:3px 0 0;font-size:clamp(1.35rem, 2.4vw, 2.15rem);line-height:1.05;color:#23160d}
.examples-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.example-card{
  position:relative;
  overflow:hidden;
  border-radius:24px;
  background:#fff;
  border:1px solid rgba(35,22,13,.07);
  box-shadow:0 14px 34px rgba(35,22,13,.07);
  padding:12px;
  display:flex;
  flex-direction:column;
  gap:10px;
  min-width:0;
}
.example-cover{
  display:flex;
  align-items:center;
  justify-content:center;
  position:relative;
  height:142px;
  border-radius:20px;
  background: radial-gradient(circle at 40% 15%, #fff 0 18%, #fff0 19%), linear-gradient(145deg,#ff8b27,#ffb25c);
  color:#fff;
  text-decoration:none;
}
.example-cover:before{
  content:'♪';
  position:absolute;
  inset-inline-start:16px;
  top:13px;
  font-size:28px;
  opacity:.35;
  transform:rotate(-8deg);
}
.example-cover img{width:min(108px,60%);height:auto;filter:drop-shadow(0 12px 18px rgba(67,33,5,.18))}
.example-cover span{
  position:absolute;
  inset-inline-end:10px;
  bottom:10px;
  padding:6px 10px;
  border-radius:999px;
  background:rgba(255,255,255,.92);
  color:#cf5a00;
  font-weight:800;
  font-size:.78rem;
}
.example-copy h3{margin:0;color:#24160d;font-size:1rem;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.example-copy p{margin:4px 0 0;color:#7c6d61;font-size:.86rem;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.example-card audio{width:100%;height:38px;display:block}
.example-link{font-weight:800;color:#ff6a00;text-decoration:none;font-size:.9rem}
.example-link:hover{text-decoration:underline}

.examples-admin-title form{margin:0}
.examples-admin-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:18px}
.example-admin-card{background:#fff;border:1px solid rgba(35,22,13,.08);border-radius:24px;box-shadow:0 18px 45px rgba(35,22,13,.06);padding:16px;display:flex;flex-direction:column;gap:12px}
.example-admin-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:4px}
.example-admin-head strong{font-size:1.05rem;color:#24160d}
.example-slot-form{display:flex;flex-direction:column;gap:10px}
.example-slot-form label{font-weight:800;color:#47352a;font-size:.88rem}
.example-slot-form input,.example-slot-form select{width:100%;border:1px solid rgba(35,22,13,.12);border-radius:14px;padding:11px 12px;background:#fff;color:#24160d;font:inherit}
.example-slot-form audio{width:100%;margin-top:4px}
.check-row{display:flex!important;align-items:center;gap:8px;font-weight:700!important}
.check-row input{width:auto!important}
.example-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:2px}
.danger-light{color:#b42318!important;border-color:rgba(180,35,24,.25)!important}
.small-note{font-size:.86rem;padding:10px 12px;border-radius:14px;background:#fff8f2;border:1px dashed rgba(255,122,24,.25)}
.empty-examples-card{padding:22px;margin-top:12px}

@media (max-width: 920px){
  .examples-grid{grid-template-columns:repeat(2,1fr)}
  .examples-admin-grid{grid-template-columns:1fr}
}
@media (max-width: 560px){
  .featured-examples{width:calc(100% - 18px);padding:14px;border-radius:24px}
  .examples-head{align-items:flex-start;flex-direction:column}
  .examples-grid{grid-template-columns:1fr}
  .example-cover{height:128px}
}
