/* Quote Widget Styles */
.notabene-quote-wrapper {
    width: 100%;
    max-width: 544px;
    overflow: hidden;
}
.notabene-quote .swiper-slide {
    height: auto;
}

.notabene-quote-item {
    display: flex;
    flex-direction: column;

    width: 100%;
    max-width: 544px;
    min-height: 390px;
    padding: var(--32-base-unit, 32px);

    border-radius: var(--16-base-unit, 16px);
    border: 1px solid #000;
    background: #FFF;
}

.notabene-quote-content {
    margin-bottom: 1.5rem;
}

.notabene-quote-title {
    margin-bottom: 1rem;
}

.notabene-quote-author {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
}

.notabene-author-image {
    width: 90px;
    height: 90px;
    border-radius: 500px;
    overflow: hidden;
}

.notabene-author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.notabene-author-name {
    font-family: Inter;
    font-size: 13px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-transform: uppercase;
}

/* Navigation arrows */
.notabene-quote-wrapper .notabene-navigation {
    display: flex;
    justify-content: flex-end;
    gap: 4px;
    margin-top: 16px;
}

.notabene-quote-wrapper .notabene-navigation-button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--Grey-100);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.notabene-quote-wrapper .notabene-navigation-button:hover {
    background: #e0e0e0;
}

.notabene-quote-wrapper .notabene-navigation-button.prev-button svg {
    transform: rotate(-180deg);
}

/* Mobile styles */
@media (max-width: 767px) {
    .notabene-quote-wrapper {
        width: 100%;
        max-width: 100%;
    }
    .notabene-quote {
        padding: 0; /* Remove padding on mobile */
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }
    
    .notabene-quote .swiper-wrapper {
        display: grid;
        gap: 8px;
        grid-auto-flow: column;
    }
    .notabene-quote {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .notabene-quote::-webkit-scrollbar {
        display: none;
    }

    .notabene-quote .swiper-slide {
        width: 298px;
        flex-shrink: 0;
    }
    .notabene-quote .swiper-slide:last-child:after {
      content: "";
      display: block;
      position: absolute;
      right: -16px;
      width: 16px;
      height: 1px;
    }

    .notabene-quote-item {
        height: 100%;
        min-height: 473px;
        padding: var(--32-base-unit, 32px) var(--16-base-unit, 16px);
    }

    /* Hide Swiper navigation on mobile */
    .notabene-timeline .swiper-button-next,
    .notabene-timeline .swiper-button-prev {
        display: none;
    }
    .notabene-navigation {
        display: none;
    }
}

/* Desktop styles */
@media (min-width: 768px) {
    .notabene-quote-container {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
        overflow: visible;
    }

    .notabene-quote-item {
        width: auto;
        height: 100%;
    }
}
