.test {
  margin: 0rem;
  padding: 0;
}
/* Horn Audio Sample pages  */
/* Container width constraint for the section */
.horns-container {
    max-width: 848px;
}

/* Section styling (scoped) */
.horns-section {
    background: linear-gradient(180deg, #fafbfc 0%, #f4f6f8 100%);
}

/* Cards */
.horn-card {
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(16, 24, 40, 0.06);
    transition: transform 160ms ease, box-shadow 160ms ease;
    cursor: pointer;
    background: #fff;
}

.horn-card:hover,
.horn-card:focus-within {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(16, 24, 40, 0.10);
}

/* Thumbnail with fixed aspect ratio (4:3) */
.horn-thumb {
    position: relative;
    width: 100%;
    padding-top: 75%;
    background: #eef1f5;
    overflow: hidden;
}

.horn-thumb img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Play button overlay */
.play-button {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    color: #ffffff;
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 999px;
    backdrop-filter: saturate(140%) blur(3px);
    -webkit-backdrop-filter: saturate(140%) blur(4px);
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.18);
    transition: transform 160ms ease, background 160ms ease, opacity 160ms ease;
}

.horn-thumb:hover .play-button,
.horn-card.is-playing .play-button {
    background: rgba(15, 23, 42, 0.75);
}

.play-button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.35);
}

/* Icon swap */
.play-button .icon-pause {
    display: none;
}

.horn-card.is-playing .icon-play {
    display: none;
}

.horn-card.is-playing .icon-pause {
    display: inline;
}

/* Badge */
.badge-horn {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #ffc008;
    color: #fff;
    font-weight: 600;
    letter-spacing: 0.02em;
    box-shadow: 0 2px 8px rgba(14, 165, 233, 0.35);
}

/* Buy Horn button container */
.buy-horn-btn {
    text-align: center;
    padding: 0 1rem 1rem;
}

/* Text tweaks */
.horn-card .card-title {
    font-size: 1rem;
    line-height: 1.2;
}

.horn-card .card-text {
    line-height: 1.4;
}

/* Reduce gutters on very small screens for better fit / @media (max-width: 390px) { .horns-container .row > [class="col-"] { padding-left: 6px; padding-right: 6px; } .horn-card { border-radius: 10px; } }

/* Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
    .horn-card,
    .play-button {
        transition: none !important;
    }
}
/* END Horn Audio Sample pages END  */