/* Action Toolkits page: intentionally isolated from MCRO's shared header and footer. */
.page-toolkits {
  --tk-night: #05102D;
  --tk-navy: #071F4B;
  --tk-sea: #0B3779;
  --tk-amber: #FBB52A;
  --tk-lightamber: #FFD47A;
  --tk-paper: #FFFDF9;
  --tk-cream: #F8F5ED;
  --tk-mist: #87A5C4;
  --tk-paleblue: #DBE8F2;
  --tk-muted: #5B6E83;
  background: var(--tk-cream);
}
.page-toolkits .tk-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(2.4rem, 5vw, 4.4rem) clamp(1.25rem, 5vw, 4rem) clamp(2.2rem, 4.5vw, 3.5rem);
  background: var(--tk-night);
  color: var(--tk-paper);
}
.page-toolkits .tk-hero::after {
  position: absolute;
  right: 4%;
  bottom: -8rem;
  width: 20rem;
  height: 15rem;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(251,181,42,.17), rgba(251,181,42,.06) 40%, transparent 72%);
  content: "";
  pointer-events: none;
}
.page-toolkits .tk-hero__inner,
.page-toolkits .tk-listing__inner {
  width: 100%;
  max-width: 1320px;
  margin-inline: auto;
}
.page-toolkits .tk-hero__inner { position: relative; z-index: 1; }
.page-toolkits .tk-hero__title {
  margin: 0;
  color: var(--tk-paper);
  font-size: clamp(2.8rem, 5vw, 4.25rem);
  line-height: .98;
  letter-spacing: -.015em;
}
.page-toolkits .tk-hero__intro {
  max-width: 44rem;
  margin: 1rem 0 0;
  color: var(--tk-paleblue);
  font-size: clamp(.98rem, 1.25vw, 1.08rem);
  line-height: 1.55;
}
.page-toolkits .tk-listing {
  min-height: 32rem;
  padding: clamp(1.8rem, 3vw, 2.5rem) clamp(1.25rem, 5vw, 4rem) clamp(4rem, 8vw, 6rem);
  background: var(--tk-cream);
}
.page-toolkits .tk-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 1rem;
}
.page-toolkits .tk-card {
  display: flex;
  min-width: 0;
  min-height: 20rem;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(135,165,196,.28);
  border-radius: 10px;
  background: var(--tk-paper);
  color: var(--tk-navy);
  text-decoration: none;
  box-shadow: 0 5px 18px rgba(5,16,45,.045);
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}
.page-toolkits .tk-card:hover {
  transform: translateY(-3px);
  border-color: rgba(11,55,121,.3);
  box-shadow: 0 12px 26px rgba(5,16,45,.1);
}
.page-toolkits .tk-card:focus-visible {
  outline: 3px solid var(--tk-amber);
  outline-offset: 4px;
}
.page-toolkits .tk-card__band {
  position: relative;
  display: flex;
  min-height: 7.5rem;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: .8rem;
  padding: 1rem 1.15rem 1.1rem;
  background: linear-gradient(115deg, var(--tk-navy), var(--tk-sea));
  color: var(--tk-paper);
}
.page-toolkits .tk-card__band::after {
  position: absolute;
  top: -2.8rem;
  right: -.9rem;
  width: 7rem;
  height: 7rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(251,181,42,.32), rgba(251,181,42,.08) 32%, transparent 70%);
  content: "";
  pointer-events: none;
}
.page-toolkits .tk-card__status {
  position: relative;
  z-index: 1;
  display: inline-flex;
  min-height: 1.45rem;
  align-items: center;
  padding: .22rem .62rem;
  border-radius: 999px;
  background: var(--tk-amber);
  color: var(--tk-night);
  font: 700 .67rem/1 var(--font-body);
}
.page-toolkits .tk-card__status--archived {
  background: #e3e7eb;
  color: #47596b;
}
.page-toolkits .tk-card__title {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: 24ch;
  color: var(--tk-paper);
  font: 600 clamp(1.35rem, 1.75vw, 1.65rem)/1.05 var(--font-display);
  overflow-wrap: anywhere;
}
.page-toolkits .tk-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1rem 1rem .85rem;
}
.page-toolkits .tk-card__description {
  margin: 0;
  color: #17304f;
  font-size: .91rem;
  line-height: 1.5;
}
.page-toolkits .tk-card__sections {
  display: flex;
  flex-wrap: wrap;
  gap: .38rem;
  margin: .8rem 0 0;
  padding: 0;
  list-style: none;
}
.page-toolkits .tk-card__sections li {
  display: inline-flex;
  min-height: 1.65rem;
  align-items: center;
  padding: .25rem .55rem;
  border-radius: 999px;
  background: var(--tk-paleblue);
  color: var(--tk-navy);
  font-size: .68rem;
  font-weight: 600;
  line-height: 1.1;
}
.page-toolkits .tk-card__footer {
  display: flex;
  min-height: 3.2rem;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-top: auto;
  padding-top: .7rem;
  border-top: 1px solid rgba(135,165,196,.3);
}
.page-toolkits .tk-card__updated {
  margin: 0;
  color: var(--tk-muted);
  font-size: .7rem;
  line-height: 1.35;
}
.page-toolkits .tk-card__open {
  display: inline-flex;
  min-height: 44px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: flex-end;
  gap: .3rem;
  color: var(--tk-navy);
  font-size: .78rem;
  font-weight: 700;
  white-space: nowrap;
}
.page-toolkits .tk-placeholder {
  display: flex;
  min-width: 0;
  min-height: 20rem;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  border: 2px dashed rgba(135,165,196,.42);
  border-radius: 10px;
  text-align: center;
}
.page-toolkits .tk-placeholder h2 {
  margin: 0;
  color: var(--tk-navy);
  font: 600 1.4rem/1.1 var(--font-display);
}
.page-toolkits .tk-placeholder p {
  max-width: 18rem;
  margin: .75rem 0 0;
  color: var(--tk-muted);
  font-size: .88rem;
  line-height: 1.5;
}
@media (max-width: 900px) {
  .page-toolkits .tk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 639px) {
  .page-toolkits .tk-grid { grid-template-columns: minmax(0, 1fr); }
  .page-toolkits .tk-card,
  .page-toolkits .tk-placeholder { min-height: 0; }
  .page-toolkits .tk-card__band { min-height: 7rem; }
  .page-toolkits .tk-placeholder { min-height: 12rem; }
}
@media (max-width: 359px) {
  .page-toolkits .tk-card__body { padding-inline: .8rem; }
  .page-toolkits .tk-card__footer { align-items: flex-start; }
  .page-toolkits .tk-card__open { white-space: normal; text-align: right; }
}
@media (prefers-reduced-motion: reduce) {
  .page-toolkits .tk-card { transition: none; }
  .page-toolkits .tk-card:hover { transform: none; }
}
