/* Website Templates gallery (/website-templates) */
.wt-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.wt-hero__panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.wt-hero__stack {
  position: relative;
  width: min(100%, 300px);
  aspect-ratio: 4 / 5;
  margin: 12px 0 28px;
}
.wt-hero__panel .mkt-content-hero__panel-caption {
  position: relative;
  z-index: 1;
}
.wt-hero__sheet {
  position: absolute;
  inset: 0;
  border-radius: 18px;
  border: 1px solid rgba(99, 102, 241, 0.18);
  background: #fff;
  box-shadow: 0 24px 50px -30px rgba(15, 23, 42, 0.45);
}
.wt-hero__sheet--3 {
  transform: rotate(-7deg) translate(-18px, 10px);
  background: linear-gradient(160deg, #fde7d8, #fff);
}
.wt-hero__sheet--2 {
  transform: rotate(4deg) translate(14px, 4px);
  background: linear-gradient(160deg, #eceafd, #fff);
}
.wt-hero__sheet--1 {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.wt-hero__bar {
  height: 10px;
  width: 45%;
  border-radius: 6px;
  background: #1e1b4b;
}
.wt-hero__hero {
  height: 38%;
  border-radius: 12px;
  background: linear-gradient(135deg, #6366f1, #a78bfa);
}
.wt-hero__row {
  display: flex;
  gap: 8px;
}
.wt-hero__row i {
  flex: 1;
  height: 44px;
  border-radius: 10px;
  background: #eef2ff;
}
.wt-hero__line {
  height: 8px;
  border-radius: 6px;
  background: #e5e7eb;
}
.wt-hero__line--short {
  width: 60%;
}

.wt-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}
.wt-loading,
.wt-error {
  grid-column: 1 / -1;
  color: var(--mkt-muted, #64748b);
}
.wt-error {
  color: #b91c1c;
}

.wt-card {
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #fff;
  overflow: hidden;
  box-shadow: 0 18px 40px -32px rgba(15, 23, 42, 0.4);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.wt-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 26px 50px -30px rgba(15, 23, 42, 0.5);
}
.wt-card__preview {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #f1f5f9;
  overflow: hidden;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}
.wt-card__frame {
  position: absolute;
  top: 0;
  left: 0;
  width: 1280px;
  height: 960px;
  border: 0;
  transform-origin: 0 0;
  pointer-events: none;
  background: #fff;
}
.wt-card__open {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  background: rgba(15, 23, 42, 0);
  transition: background 0.18s ease;
}
.wt-card__open span {
  opacity: 0;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.85);
  transition: opacity 0.18s ease;
}
.wt-card:hover .wt-card__open {
  background: rgba(15, 23, 42, 0.25);
}
.wt-card:hover .wt-card__open span {
  opacity: 1;
}
.wt-card__body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.wt-card__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}
.wt-card__name {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0;
}
.wt-card__tagline {
  font-size: 0.85rem;
  color: var(--mkt-muted, #64748b);
}
.wt-card__audience {
  margin: 0;
  font-size: 0.92rem;
  color: #334155;
}
.wt-card__audience strong {
  font-weight: 600;
}
.wt-card__desc {
  margin: 0;
  font-size: 0.92rem;
  color: var(--mkt-muted, #64748b);
}
.wt-card__sections {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 6px 0 0;
}
.wt-card__sections li {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 8px;
  border-radius: 6px;
  background: #f1f5f9;
  color: #475569;
}
.wt-card__actions {
  display: flex;
  gap: 10px;
  margin-top: auto;
  padding-top: 12px;
}
.wt-card__actions .mkt-btn {
  flex: 1;
  justify-content: center;
}

.wt-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.wt-steps li {
  position: relative;
  padding: 26px 22px 22px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
}
.wt-steps h3 {
  font-size: 1.05rem;
  margin: 0 0 6px;
}
.wt-steps p {
  margin: 0;
  color: var(--mkt-muted, #64748b);
  font-size: 0.95rem;
}
.wt-steps__num {
  position: absolute;
  top: -14px;
  left: 18px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #4f46e5;
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
}
.wt-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}
