/* COUNOTE V2 | Home FREE PROGRAMS only | V1.48
   Design based on user-confirmed sample. Does not affect /programs.html or /program.html.
   V1.47 homeThumbnail image fields and per-slot manager remain independent. */
.home-program-section .home-program-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.home-program-section .home-program-item {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  min-height: 128px;
  padding: 13px;
  border-radius: 17px;
  border: 1px solid #deebe6;
  box-shadow: 0 8px 22px rgba(30, 92, 72, .07);
  background: #fff;
}
.home-program-section .home-program-thumb {
  flex: 0 0 108px;
  width: 108px;
  height: 108px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 19px;
  background: #eef8f3;
}
.home-program-section .home-program-thumb img,
.home-program-section .home-program-thumb.counote-slot-active img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}
.home-program-section .home-program-text {
  gap: 7px;
  min-width: 0;
}
.home-program-section .home-program-text strong {
  font-size: 16px;
  line-height: 1.35;
  color: #132821;
  font-weight: 800;
  overflow-wrap: anywhere;
}
.home-program-section .home-program-text small {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  font-size: 12.5px;
  line-height: 1.55;
  color: #596d69;
}
.home-program-section .home-program-text em {
  font-size: 12px;
  font-weight: 800;
  color: #006b4a;
}
@media (max-width: 930px) {
  .home-program-section .home-program-grid {grid-template-columns: repeat(2, minmax(0, 1fr));}
}
@media (max-width: 620px) {
  .home-program-section .home-program-grid {grid-template-columns: 1fr;gap: 10px;}
  .home-program-section .home-program-item {padding: 11px;gap: 13px;min-height: 104px;}
  .home-program-section .home-program-thumb {flex-basis: 86px;width: 86px;height: 86px;border-radius: 16px;}
  .home-program-section .home-program-text strong {font-size: 15px;}
  .home-program-section .home-program-text small {font-size: 12px;-webkit-line-clamp: 2;}
}
