/* ===== Wrapper styles ===== */
.tphmg-strip {

}

.tphmg-wrap {
  max-width: 80rem; /* ~ max-w-7xl */
  margin: 0 auto;
  padding: 2rem 1rem 0; /* top spacing like your section */
}

.tphmg-bleed {
  width: 100%;
  padding: 2rem 1rem 0;
}

.tphmg-strip__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.tphmg-strip__title {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.tphmg-strip__sub {
  margin: 0.25rem 0 0;
  font-size: 0.875rem;
  color: #52525b; /* zinc-600 */
}

.tphmg-strip__actions {
  display: none;
  gap: 0.5rem;
}
@media (min-width: 640px) {
  .tphmg-strip__actions { display: inline-flex; }
}

.tphmg-btn {
  height: 40px;
  width: 40px;
  border-radius: 9999px;
  background: #fff;
  border: 1px solid #e4e4e7;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
  cursor: pointer;
  line-height: 1;
  font-size: 20px;
}
.tphmg-btn.is-disabled {
  opacity: .4;
  cursor: not-allowed;
}

/* ===== Embla ===== */
.tphmg-strip__body {
  margin-top: 1.25rem;
  width: 100%;
}

.tphmg-embla {
  overflow: hidden;
  width: 100%;
}

.tphmg-pad {
  padding: 0 1rem 0.5rem;
}
@media (min-width: 640px) {
  .tphmg-pad { padding: 0 1.5rem 0.5rem; }
}
@media (min-width: 1024px) {
  .tphmg-pad { padding: 0 2rem 0.5rem; }
}

.tphmg-embla__container {
  display: flex;
  gap: 0.75rem;
}

.tphmg-embla__slide {
  flex: 0 0 auto;
  width: var(--tphmg-w, 288px);
}

.tphmg-embla__img {
  height: var(--tphmg-h, 176px);
  width: 100%;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
  border: 1px solid #e4e4e7;
}

/* Optional footer link */
.tphmg-strip__foot {
  padding: 0.75rem 0 1.5rem;
}
.tphmg-strip__link {
  font-weight: 700;
  font-size: 0.875rem;
  color: #3f3f46;
  text-decoration: none;
}
.tphmg-strip__link:hover { color: #18181b; }
