/* GivingTuesday Las Vegas — the toolkit, /dashboard/givingtuesday/toolkit/.
   Builds on gt-dashboard.css (hero, pills, buttons, sections): this week's job and
   video, the weekly RuBot videos, the plan timeline, and the copy-ready templates. */

/* ---- hero ---- */
.gtk-hero { grid-template-columns: minmax(0, 1fr) 220px; }
.gtk-hero .gtd-eyebrow .gtd-pill b { color: var(--gtd-gold); }
.gtk-hero__vid { justify-self: end; width: 220px; }
.gtk-hero__vid .gtk-vid { transform: rotate(2deg); transition: transform .25s ease; }
.gtk-hero__vid .gtk-vid:hover { transform: rotate(0); }
.gtk-hero__vid .gtk-vid__media { box-shadow: 0 20px 50px rgba(10, 4, 18, .5); border-color: transparent; }
.gtk-hero__vid figcaption { color: rgba(255, 255, 255, .85); }
.gtk-hero__vid .gtk-vid figcaption b { color: #fff; }
.gtk-hero__vid .gtk-vid__kicker { color: var(--gtd-cyan); }

/* ---- videos ---- */
.gtk-vids { display: grid; grid-auto-flow: column; grid-auto-columns: 180px; gap: 16px; overflow-x: auto; padding: 12px 8px; scroll-snap-type: x proximity; }
.gtk-vid { margin: 0; scroll-snap-align: start; }
.gtk-vid__media { display: block; width: 100%; aspect-ratio: 9 / 16; border-radius: 14px; overflow: hidden; background: #2b1235; border: 1px solid var(--cg-border); object-fit: cover; }
.gtk-vid--now .gtk-vid__media { outline: 3px solid var(--gtd-orange); outline-offset: 2px; }
.gtk-vid figcaption { display: flex; flex-direction: column; gap: 2px; margin-top: 8px; font-size: 14px; line-height: 1.3; }
.gtk-vid figcaption b { color: var(--cg-text); }
.gtk-vid__kicker { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--cg-text-muted); }
.gtk-vid__kicker .gtd-pill { font-size: 10px; padding: 2px 8px; letter-spacing: .04em; color: #fff; }

.gtk-vid__soon { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: #fff; text-align: center;
  background:
    radial-gradient(160px 160px at 20% 10%, rgba(84, 200, 232, .35), transparent 70%),
    radial-gradient(180px 180px at 90% 95%, rgba(255, 127, 64, .35), transparent 70%),
    linear-gradient(160deg, #2b1235 0%, #541d66 55%, #384e87 100%); }
.gtk-vid__date { display: flex; flex-direction: column; align-items: center; padding: 10px 16px 8px; border-radius: 14px; font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--gtd-cyan); background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); }
.gtk-vid__date b { font-size: 40px; line-height: 1; letter-spacing: -.02em; color: #fff; }
.gtk-vid__premiere { padding: 0 12px; font-size: 13px; font-weight: 700; color: rgba(255, 255, 255, .85); }
.gtk-vid__rubot { position: absolute; right: 10px; bottom: 10px; width: 54px; filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .4)); animation: gtd-bob 3.2s ease-in-out infinite; }

/* ---- plan timeline ---- */
.gtk-plan { position: relative; margin: 0; padding: 0; list-style: none; }
.gtk-plan::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--gtd-plum), var(--gtd-navy), var(--gtd-cyan)); opacity: .35; }
.gtk-step { position: relative; display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 16px; padding: 0 0 22px 32px; }
.gtk-step:last-child { padding-bottom: 0; }
.gtk-step::before { content: ""; position: absolute; left: 0; top: 3px; width: 12px; height: 12px; border-radius: 50%; background: var(--cg-surface); border: 2px solid #963d97; }
.gtk-step--done::before { background: #963d97; }
.gtk-step--done::after { content: ""; position: absolute; left: 4px; top: 6px; width: 4px; height: 7px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.gtk-step--now::before { left: -3px; top: 0; width: 18px; height: 18px; border: 0; background: linear-gradient(135deg, var(--gtd-orange), var(--gtd-gold)); box-shadow: 0 0 0 5px rgba(255, 127, 64, .2); }
.gtk-step__when { font-size: 14px; font-weight: 700; color: var(--cg-text-muted); white-space: nowrap; }
.gtk-step__body h4 { margin: 0 0 6px; font-size: 16px; color: var(--cg-text); }
.gtk-step__body ul { margin: 0; padding-left: 18px; }
.gtk-step__body li { margin: 0 0 4px; font-size: 14px; line-height: 1.5; color: var(--cg-text); }
.gtk-step--done .gtk-step__body { opacity: .55; }
.gtk-step--done .gtk-step__body ul { display: none; }
.gtk-step--now .gtk-step__body { padding: 14px 16px; border-radius: 12px; background: rgba(255, 127, 64, .08); border: 1px solid rgba(255, 127, 64, .35); }
.gtk-step__watch { display: inline-flex; align-items: center; gap: 4px; margin-top: 8px; font-size: 13px; font-weight: 700; text-decoration: none; color: var(--gtd-orange); }
.gtk-step__watch svg { width: 16px; height: 16px; }
.gtk-step__watch--soon { color: var(--cg-text-muted); }

/* ---- templates ---- */
.gtk-note { margin: 0 0 14px; font-size: 14px; color: var(--cg-text-muted); scroll-margin-top: 80px; }
.gtk-fill { padding: 0 2px; border-radius: 4px; color: inherit; background: rgba(255, 127, 64, .22); box-shadow: inset 0 -1px 0 rgba(255, 127, 64, .6); }
.gtk-group { display: flex; align-items: center; gap: 8px; }
.gtk-group svg { color: #963d97; }
.gtk-tpls { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.gtk-tpl { display: flex; flex-direction: column; min-width: 0; border-radius: 12px; overflow: hidden; background: var(--cg-surface-2, var(--cg-surface)); border: 1px solid var(--cg-border); }
.gtk-tpl__head { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-bottom: 1px solid var(--cg-border); }
.gtk-tpl__head > div { flex: 1; min-width: 0; }
.gtk-tpl__head h4 { margin: 0; font-size: 15px; color: var(--cg-text); }
.gtk-tpl__when { font-size: 12px; color: var(--cg-text-muted); }
.gtk-copy { flex: 0 0 auto; margin-left: auto; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; color: var(--cg-text); background: var(--cg-surface); border: 1px solid var(--cg-border); transition: background .15s ease, color .15s ease, border-color .15s ease; }
.gtk-copy:hover { border-color: #963d97; color: #963d97; }
.gtk-copy--done, .gtk-copy--done:hover { color: #fff; background: #1f9d55; border-color: #1f9d55; }
.gtk-tpl__subject { display: flex; gap: 10px; padding: 10px 14px; font-size: 14px; font-weight: 600; line-height: 1.4; color: var(--cg-text); border-bottom: 1px dashed var(--cg-border); overflow-wrap: anywhere; }
.gtk-tpl__subject > span { flex: 0 0 auto; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; line-height: 20px; color: var(--cg-text-muted); }
.gtk-tpl__body { padding: 12px 14px 14px; font-size: 14px; line-height: 1.6; color: var(--cg-text); white-space: pre-wrap; overflow-wrap: anywhere; word-break: normal; }

/* ---- resources ---- */
.gtk-res { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.gtk-res__item { display: flex; flex-direction: column; gap: 4px; padding: 14px; border-radius: 12px; text-decoration: none; border: 1px solid var(--cg-border); transition: transform .15s ease, border-color .15s ease; }
.gtk-res__item:hover { transform: translateY(-2px); border-color: #963d97; }
.gtk-res__item b { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--cg-text); }
.gtk-res__item b svg { flex: 0 0 auto; color: var(--cg-text-muted); }
.gtk-res__item span { font-size: 13px; line-height: 1.45; color: var(--cg-text-muted); }

#gtk-plan, #gtk-videos { scroll-margin-top: 80px; }

@media (max-width: 1100px) { .gtk-res { grid-template-columns: 1fr 1fr; } }
@media (max-width: 860px) { .gtk-tpls { grid-template-columns: 1fr; } }
@media (max-width: 760px) {
  .gtk-hero { grid-template-columns: minmax(0, 1fr); }
  .gtk-hero .gtd-eyebrow { flex-wrap: wrap; }
  .gtk-hero .gtd-pill { white-space: normal; }
  .gtk-hero__vid { justify-self: center; width: 200px; }
  .gtk-step { grid-template-columns: 1fr; gap: 4px; }
  .gtk-res { grid-template-columns: 1fr; }
  .gtk-vids { grid-auto-columns: 150px; }
}
@media (prefers-reduced-motion: reduce) {
  .gtk-vid__rubot { animation: none; }
  .gtk-hero__vid .gtk-vid, .gtk-copy, .gtk-res__item { transition: none; }
}
