/* Hub hero (owner mockup, 2026-11-30; first used on /english-basics.html).
   A rounded card: kicker pill, title with a purple accent line, stat pills, intro, picture on the right,
   and a bottom row with topic chips and two buttons. Inter, weights up to 700, sizes from /css/typography.css. */
.hx-hero { padding: 14px 0 8px; }
/* a page with this hero uses the header's width (1280px) for all its content, as in the mockup */
main:has(.hx-hero) .max-w-6xl { max-width: 80rem; }
.hx-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, 400px); gap: 8px 28px; align-items: center;
  padding: 22px 28px 22px; border-radius: 24px; border: 1px solid rgba(124,58,237,.12);
  background: linear-gradient(120deg, #fbf9ff 0%, #f6f1fe 55%, #efe7fd 100%);
  box-shadow: 0 18px 40px -26px rgba(91,33,182,.45); }
.hx-kick { display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px; border-radius: 999px; background: #f1eafe;
  color: #6d28d9; font-size: .9375rem; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; }
.hx-ico { flex: none; width: 1.25em; height: 1.25em; }
.hx-head { position: relative; margin-top: 12px; padding-left: 20px; }
.hx-head::before { content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 3px; border-radius: 3px;
  background: linear-gradient(180deg, #a78bfa, #7c3aed); }
.hx-card .ts-h1 { margin: 0; color: #1f1640; line-height: 1.15; font-weight: 700; }
.hx-card .ts-h1 .gg { background: linear-gradient(90deg, #7c3aed, #c026d3); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hx-stats { display: flex; flex-wrap: wrap; gap: 10px 14px; margin-top: 16px; }
.hx-stats span { display: inline-flex; align-items: center; gap: 10px; padding: 9px 18px; border-radius: 999px; background: #fff;
  box-shadow: 0 2px 10px -4px rgba(46,16,101,.18); font-size: .9375rem; font-weight: 700; color: #1f1640; }
.hx-stats .hx-ico { color: #6d28d9; }
.hx-sub { margin: 14px 0 0; max-width: 46rem; font-size: 1rem; line-height: 1.6; color: #4b4566; }
.hx-sub a { color: #6d28d9; font-weight: 600; }
.hx-art { width: 100%; height: auto; display: block; align-self: center; }
/* a scene (not a cut-out): a rounded picture with a soft shadow */
.hx-art.is-photo { border-radius: 20px; aspect-ratio: 10 / 7; object-fit: cover; box-shadow: 0 18px 36px -20px rgba(76,29,149,.55);
  border: 4px solid #fff; }
.hx-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 18px; margin-top: 6px; }
.hx-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding-left: 16px; border-left: 1.5px solid rgba(124,58,237,.25); }
.hx-chips a { padding: 9px 18px; border-radius: 999px; background: #ede4fd; color: #5b21b6; font-size: .9375rem; font-weight: 600; text-decoration: none; }
.hx-chips a:hover { background: #e2d5fc; }
.hx-acts { display: flex; flex-wrap: wrap; gap: 12px; padding-left: 18px; border-left: 1.5px solid rgba(124,58,237,.25); }
.hx-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px; border-radius: 12px;
  font-size: 1rem; font-weight: 700; text-decoration: none; color: #fff; background: linear-gradient(90deg, #6d28d9, #c026d3);
  box-shadow: 0 10px 22px -12px rgba(124,58,237,.7); }
.hx-btn.ghost { color: #5b21b6; background: #fff; border: 1.5px solid rgba(124,58,237,.35); box-shadow: none; }
.hx-btn:hover { filter: brightness(1.05); }
.hx-btn::after { content: "\2192"; font-weight: 400; }
.hx-chips a:focus-visible, .hx-btn:focus-visible { outline: 2px solid #7c3aed; outline-offset: 2px; }

/* "… Hinglish mein" section under the hero: the sub-line as a pill with a speech icon, the note with an icon box */
.hx-hinglish .ts-sec { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; }
.hx-hinglish .ts-sec p { display: inline-flex; align-items: center; gap: 10px; margin: 0; padding: 9px 18px; border-radius: 999px;
  background: #f4effe; border: 1px solid rgba(124,58,237,.15); color: #2e1065; font-size: .9375rem; }
.hx-hinglish .ts-sec p::before { content: ""; width: 1.3em; height: 1.3em; flex: none; background: #7c3aed;
  -webkit-mask: var(--hx-chat) center / contain no-repeat; mask: var(--hx-chat) center / contain no-repeat; }
.hx-hinglish .si-note p { margin: 0; font-size: 1rem; line-height: 1.6; color: #2e1065; }
.hx-hinglish .si-note { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 18px; padding: 16px 22px;
  border-radius: 18px; background: linear-gradient(90deg, #fbf9ff, #f3edfe); border: 1px solid rgba(124,58,237,.18); }
.hx-hinglish .si-note::before { content: ""; width: 56px; height: 56px; border-radius: 14px; padding-right: 18px; box-sizing: content-box;
  border-right: 1.5px solid rgba(124,58,237,.2);
  background: #ede4fd var(--hx-book) center / 26px 26px no-repeat; }
.hx-hinglish { --hx-chat: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7.9 20A9 9 0 1 0 4 16.1L2 22Z'/%3E%3C/svg%3E");
  --hx-book: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237c3aed' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 7v14'/%3E%3Cpath d='M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z'/%3E%3C/svg%3E"); }

@media (max-width: 980px) {
  .hx-card { grid-template-columns: minmax(0, 1fr); }
  .hx-art { max-width: 380px; margin: 4px auto 0; }
}
@media (max-width: 640px) {
  .hx-card { padding: 18px 16px; border-radius: 20px; }
  .hx-art { display: none; }
  .hx-chips, .hx-acts { padding-left: 0; border-left: 0; }
  .hx-acts { width: 100%; }
  .hx-btn { flex: 1 1 100%; }
  .hx-hinglish .si-note { grid-template-columns: 1fr; }
  .hx-hinglish .si-note::before { display: none; }
}
