/* Cohentai Promo Row Rotator — scoped only to .cohpr2-* */
.cohpr2-block{ margin: 18px 0; position: relative; }
.cohpr2-head{ margin: 0 0 12px; }
.cohpr2-title{
  margin: 0 0 6px;
  font-weight: 900;
  font-size: 22px;
  line-height: 1.15;
}
.cohpr2-sub{
  margin: 0;
  font-size: 15px;
  line-height: 1.35;
  opacity: .85;
}

/* One-row carousel (reliable on all themes) */
.cohpr2-row{
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  padding: 0 0 6px;
  margin: 0;
  background: transparent;
  scrollbar-width: thin; /* Firefox */
}
.cohpr2-row > *{ scroll-snap-align: start; }

/* Card width: 4 visible on desktop */
.cohpr2-card{
  flex: 0 0 calc((100% - 36px) / 4);
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  color: #111;
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(0,0,0,.05);
}
.cohpr2-card:hover{
  box-shadow: 0 12px 26px rgba(0,0,0,.08);
  transform: translateY(-1px);
}

/* 2 visible on mobile */
@media (max-width: 720px){
  .cohpr2-row{ gap: 10px; }
  .cohpr2-card{ flex-basis: calc((100% - 10px) / 2); }
}

/* Media */
.cohpr2-media{
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 3;
  background: #fff;
}
.cohpr2-img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
  background: #fff;
}
.cohpr2-ph{ width:100%; height:100%; background: rgba(0,0,0,.04); }

/* Body */
.cohpr2-body{
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 72px;
}
.cohpr2-ptitle{
  font-weight: 900;
  font-size: 13px;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: #111;
}
.cohpr2-meta{
  margin-top: auto;
  font-weight: 900;
  font-size: 12px;
  color: #555;
  opacity: .92;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
