/* Channel browse grid — v2 */
section .upper-container,
section .lower-container {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem 1.25rem;
  padding: 0 1.5rem 1.25rem;
}
section .lower-container { margin-bottom: 2rem; }
section .upper-container .ac-behance-card,
section .lower-container .ac-behance-card {
  border: 1px solid #e3e6eb;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
  transition: box-shadow 0.22s ease, transform 0.22s ease, border-color 0.22s ease;
  min-width: 0;
}
section .upper-container .ac-behance-card:hover,
section .lower-container .ac-behance-card:hover {
  border-color: #cdd2da;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.1);
  transform: translateY(-2px);
}
section .ac-behance-card .ac-behance-card-link {
  display: flex;
  flex-direction: column;
  color: #141414;
  text-decoration: none;
}
section .upper-container .ac-behance-card .image,
section .lower-container .ac-behance-card .image {
  width: 100%;
  height: auto !important;
  max-height: none !important;
  aspect-ratio: 16 / 9;
  border-radius: 0;
  background: #eef0f3;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  line-height: 0;
}
section .upper-container .ac-behance-card .image::before,
section .lower-container .ac-behance-card .image::before {
  z-index: 2;
  pointer-events: none;
}
section .upper-container .ac-behance-card .image img,
section .lower-container .ac-behance-card .image img {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  object-position: center;
}
section .upper-container .ac-behance-card .image:hover::before,
section .lower-container .ac-behance-card .image:hover::before {
  background: rgba(15, 23, 42, 0.08);
}
section .upper-container .ac-behance-card .title-like-views-container,
section .lower-container .ac-behance-card .title-like-views-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-top: 0;
  padding: 12px 14px 0;
  gap: 12px;
}
section .upper-container .ac-behance-card .title-like-views-container .title,
section .lower-container .ac-behance-card .title-like-views-container .title {
  width: auto;
  flex: 1;
  min-width: 0;
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.35;
  font-weight: 600;
  color: #141414;
  text-transform: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
section .upper-container .ac-behance-card .title-like-views-container span,
section .lower-container .ac-behance-card .title-like-views-container span {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: auto;
  flex-shrink: 0;
  height: auto !important;
  gap: 10px;
  font-size: 0.75rem;
  color: #5c6470;
}
section .upper-container .ac-behance-card .title-like-views-container span p,
section .lower-container .ac-behance-card .title-like-views-container span p {
  margin: 0;
  font-weight: 500;
  color: #5c6470 !important;
  white-space: nowrap;
}
section .upper-container .ac-behance-card .title-like-views-container span .fa,
section .lower-container .ac-behance-card .title-like-views-container span .fa {
  color: #9aa3b0;
  margin-right: 3px;
}
section .upper-container .ac-behance-card .name,
section .lower-container .ac-behance-card .name {
  margin: 0;
  padding: 6px 14px 14px;
  font-size: 0.75rem;
  line-height: 1.4;
  font-weight: 400;
  color: #6b7280;
  text-transform: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
section .ac-behance-card .name:hover,
section .ac-behance-card .title-like-views-container .title:hover {
  text-decoration: none;
}
section .ac-behance-card .ac-img-ph {
  position: absolute;
  inset: 0;
  display: grid !important;
  place-items: center;
  background: #e8eaed !important;
  color: #888 !important;
  font-size: 0.85rem;
  font-weight: 700;
}
.ac-behance-browse-head p {
  font-size: 0.875rem;
  color: #6b7280 !important;
}
@media (max-width: 1100px) {
  section .upper-container.upper-container-toggle,
  section .lower-container.lower-container-toggle,
  section .upper-container,
  section .lower-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  section .upper-container,
  section .lower-container {
    grid-template-columns: minmax(0, 1fr);
    padding: 0 1rem 1rem;
    gap: 1.25rem;
  section .upper-container .ac-behance-card,
  section .lower-container .ac-behance-card {
    width: 100% !important;
    margin: 0 !important;
  }
  section .upper-container .ac-behance-card .image,
  section .lower-container .ac-behance-card .image {
    height: auto !important;
    max-height: none !important;
  }
  }
}