/**
 * Hero Notes Block Styles
 * 
 * Styling for the Hero Notes Gutenberg block
 * Responsive grid layout for notes display
 */

.hero-notes-block {
    margin: 2rem 0;
}

.hero-notes-block.alignwide {
    max-width: 100%;
}

/* Container Styles */
.hero-notes-container {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
}

/* Note Item Styles */
.hero-note-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 1px 1px 3px var(--lite-gold),
        -1px -1px 3px var(--lite-gold);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    width: calc(50% - 15px);
    position: relative;
    z-index: 1;
}

.hero-note-item:nth-child(odd) {
    position: relative;
    top: 90px;
}

.hero-note-item:first-child {
    position: relative;
    top: 90px;
}

.hero-note-item:hover .hero-note-title,
.hero-note-item:hover .hero-note-title a,
.hero-note-item:hover .hero-note-singer,
.hero-note-item:hover .hero-note-content, 
.hero-note-item:hover .hero-note-price {
    transition: all 0.3s;
    background: var(--primary-color);
}

.hero-note-item:hover {
    box-shadow: 0 4px 16px var(--lite-gold);
    transform: translateY(-4px);
}
.swiper-slide p {
  line-height: 1.2em;
  margin: 30px 0;
  font-weight: bold;
}
/* Image Styles */
.hero-note-image {
    width: 100%;
    aspect-ratio: 9 / 10.5;
    overflow: hidden;
}
 
.hero-note-image img {
    width: 100%;
    object-fit: cover;
    padding: 0.5rem 1rem !important;
    transition: transform 0.3s ease;
}

.hero-note-item:hover .hero-note-image img {
    transform: scale(1.05);
}

.hero-content .swiper-slide p{
    margin: 2rem 0 1rem;

}

/* Content Styles */
.hero-note-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
        background: var(--light-secondery);
        padding: 0.5rem 0 ;
}

.hero-note-title {
    padding: 1rem 1rem 0.1rem 1rem;
}

/* Price Styles */


.hero-note-price .woocommerce-Price-amount {
    font-weight: 700;
}

/* Responsive */
@media (max-width: 780px) {
    .hero-notes-container {
        grid-template-columns: 1fr;
        margin-bottom: 16px;
     }

    .hero-notes-title {
        font-size: 2rem;
        padding: 1rem;

    }
 
    .hero-note-item:nth-child(odd) {
        position: unset;
    }

    .hero-note-item:first-child {
        position: unset;
    }

    .hero-note-item {
        aspect-ratio: 9 / 13 ;
        width: 98%;
        margin: 0 auto;
        max-width: 350px;
    }

    /* Only hide the trailing staggered card when multiple notes are present. */
    .hero-note-item:not(:only-child):last-child {
        display: none;
    }
}
 