.calendar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.calendar-item {
  min-height: 128px;
  padding: 20px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.calendar-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.calendar-icon {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--black);
  color: var(--yellow);
  transition: transform 0.24s ease, background 0.24s ease, color 0.24s ease;
}

.calendar-icon .icon {
  width: 18px;
  height: 18px;
}

.calendar-item:hover,
.calendar-item:focus {
  transform: translateY(-4px);
  border-color: var(--yellow);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.1);
}

.calendar-item:hover .calendar-icon,
.calendar-item:focus .calendar-icon {
  transform: rotate(-8deg) scale(1.06);
  background: var(--yellow);
  color: var(--black);
}

.calendar-item.is-past {
  position: relative;
  opacity: 0.58;
  background: #ebe9e2;
}

.calendar-status {
  width: max-content;
  margin-top: 12px;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--black);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.calendar-track {
  font-family: "Changa One", Impact, sans-serif;
  font-size: 1.9rem;
  line-height: 1;
  text-transform: uppercase;
}

.calendar-date {
  color: var(--muted);
  font-weight: 800;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 26px;
}

.spec-item {
  padding: 18px;
  border-radius: var(--radius);
  background: var(--surface-soft);
  border-left: 5px solid var(--yellow);
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 2px 14px;
  align-items: center;
  transition: transform 0.2s ease, background 0.2s ease;
}

.spec-item:hover {
  transform: translateX(4px);
  background: #fff;
}

.spec-icon {
  grid-row: span 2;
  justify-self: center;
  align-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 10px 22px rgba(255, 212, 41, 0.2);
}

.spec-icon img {
  display: block;
  width: 24px;
  height: 24px;
  max-width: none;
  object-fit: contain;
  object-position: center;
}

.spec-item:nth-child(2) .spec-icon img {
  width: 23px;
  height: 23px;
  transform: translate(0, 1px);
}

.spec-item strong,
.spec-item > span:not(.spec-icon) {
  display: block;
}

.spec-item strong {
  font-size: 1.1rem;
}

.spec-item > span:not(.spec-icon) {
  color: var(--muted);
  font-weight: 700;
}

.toolbox-grid {
  grid-template-columns: repeat(3, 1fr);
}

.toolbox-item {
  min-height: 190px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.toolbox-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.toolbox-icon {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--surface-soft);
  color: var(--black);
}

.toolbox-icon .icon {
  width: 20px;
  height: 20px;
}

.toolbox-item:hover,
.toolbox-item:focus {
  transform: translateY(-3px);
  border-color: var(--yellow);
}

.doc-kind {
  width: max-content;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--black);
  font-size: 0.76rem;
  font-weight: 900;
}
