/* LWC Lifelong Learning Quotes - self-contained Elementor widget styles */

.llq-section {
    --llq-accent: #0f5f8f;
    --llq-ink: #071225;
    --llq-muted: #4b5563;
    --llq-border: rgba(15, 95, 143, 0.14);
    --llq-slide-width: 84%;
    --llq-photo-width: 34%;
    --llq-card-min-height: 430px;
    background: transparent;
    box-sizing: border-box;
    color: var(--llq-ink);
    font-family: Arial, Helvetica, sans-serif;
    overflow: hidden;
    padding: 48px 0;
}

.llq-section *,
.llq-section *::before,
.llq-section *::after {
    box-sizing: border-box;
}

.llq-section button,
.llq-section [type='button'] {
    appearance: none;
    -webkit-appearance: none;
    background: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    color: inherit;
    cursor: pointer;
    font: inherit;
    letter-spacing: inherit;
    line-height: inherit;
    margin: 0;
    min-height: 0;
    padding: 0;
    text-align: inherit;
    text-transform: none;
}

.llq-section button:hover,
.llq-section button:focus,
.llq-section button:active {
    background: none;
    border: 0;
    box-shadow: none;
    color: inherit;
}

.llq-header {
    margin: 0 auto 28px;
    max-width: 860px;
    padding: 0 16px;
    text-align: center;
}

.llq-eyebrow {
    color: var(--llq-accent);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.16em;
    line-height: 1.35;
    margin: 0 0 10px;
    text-transform: uppercase;
}

.llq-title {
    color: var(--llq-ink);
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 42px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.12;
    margin: 0;
}

.llq-intro {
    color: var(--llq-muted);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    margin: 14px auto 0;
    max-width: 680px;
}

.llq-slider-shell {
    margin: 0;
    max-width: none;
    padding: 0;
    position: relative;
    width: 100%;
}

.llq-track {
    display: flex;
    gap: 22px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    padding: 6px 0 18px;
    scroll-behavior: smooth;
    scroll-padding-left: 0;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.llq-track::-webkit-scrollbar {
    display: none;
}

.llq-slide {
    flex: 0 0 var(--llq-slide-width);
    min-width: 0;
    scroll-snap-align: start;
}

.llq-card {
    background: #ffffff;
    border: 1px solid var(--llq-border);
    border-radius: 18px;
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.1);
    display: grid;
    grid-template-columns: var(--llq-photo-width) minmax(0, 1fr);
    min-height: var(--llq-card-min-height);
    overflow: hidden;
}

.llq-card.no-photo {
    grid-template-columns: 1fr;
}

.llq-photo {
    background: linear-gradient(145deg, rgba(15, 95, 143, 0.16), rgba(15, 95, 143, 0.04));
    margin: 0;
    min-height: 100%;
    overflow: hidden;
}

.llq-photo img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.llq-card-content {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 30px 34px 28px;
}

.llq-date {
    color: var(--llq-accent);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1.4;
    margin: 0 0 12px;
    text-transform: uppercase;
}

.llq-quote-title {
    color: var(--llq-ink);
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 25px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.26;
    margin: 0 0 16px;
    overflow-wrap: anywhere;
}

.llq-quote-body {
    color: #263244;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.74;
    max-width: 76ch;
    overflow-wrap: break-word;
    position: relative;
    transition: max-height 0.24s ease;
}

.llq-card.no-photo .llq-quote-body {
    max-width: none;
}

.llq-quote-body p,
.llq-quote-body ol,
.llq-quote-body ul {
    margin: 0 0 14px;
}

.llq-quote-body ol,
.llq-quote-body ul {
    padding-left: 1.35em;
}

.llq-quote-body li {
    margin-bottom: 7px;
}

.llq-quote-body.is-collapsed {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 8;
    line-clamp: 8;
    max-height: none;
    overflow: hidden;
}

.llq-quote-body.is-collapsed::after {
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #ffffff 82%);
    bottom: 0;
    content: '';
    height: 48px;
    left: 0;
    pointer-events: none;
    position: absolute;
    right: 0;
}

.llq-quote-body.is-expanded {
    display: block;
    max-height: none;
    overflow: visible;
}

.llq-quote-body.is-expanded::after {
    display: none;
}

.llq-read-more {
    align-self: flex-start;
    border-bottom: 1px solid currentColor;
    color: var(--llq-accent);
    display: inline-flex;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1.4;
    margin-top: 18px;
    padding-bottom: 2px;
    text-transform: uppercase;
}

.llq-read-more:hover,
.llq-read-more:focus-visible {
    color: var(--llq-accent);
    opacity: 0.72;
    outline: none;
}

.llq-read-more[hidden] {
    display: none;
}

.llq-nav {
    align-items: center;
    background: #ffffff !important;
    border: 1px solid rgba(15, 23, 42, 0.14) !important;
    border-radius: 999px !important;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.14) !important;
    color: var(--llq-ink) !important;
    display: flex;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 28px;
    font-weight: 400;
    height: 42px;
    justify-content: center;
    line-height: 1;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    transition: border-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
    width: 42px;
    z-index: 2;
}

.llq-nav--prev {
    left: 14px;
}

.llq-nav--next {
    right: 14px;
}

.llq-nav:hover,
.llq-nav:focus-visible {
    border-color: var(--llq-accent) !important;
    color: var(--llq-accent) !important;
    outline: none;
}

.llq-dots {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 4px;
}

.llq-dot {
    background: rgba(15, 23, 42, 0.2) !important;
    border: 0 !important;
    border-radius: 999px !important;
    box-shadow: none !important;
    display: block;
    height: 8px;
    min-height: 0;
    padding: 0 !important;
    transition: background-color 0.2s ease, width 0.2s ease;
    width: 8px;
}

.llq-dot.is-active {
    background: var(--llq-accent) !important;
    width: 24px;
}

@media (max-width: 960px) {
    .llq-section {
        --llq-slide-width: 88%;
        --llq-photo-width: 36%;
        --llq-card-min-height: 410px;
    }

    .llq-title {
        font-size: 34px;
    }

    .llq-quote-title {
        font-size: 22px;
    }

}

@media (max-width: 700px) {
    .llq-section {
        --llq-slide-width: 92%;
        --llq-card-min-height: auto;
        padding: 36px 0;
    }

    .llq-header {
        margin-bottom: 20px;
        padding: 0 14px;
    }

    .llq-title {
        font-size: 28px;
        line-height: 1.16;
    }

    .llq-intro {
        font-size: 15px;
    }

    .llq-track {
        gap: 14px;
        padding-bottom: 16px;
    }

    .llq-card {
        display: flex;
        flex-direction: column;
        min-height: 0;
    }

    .llq-photo {
        aspect-ratio: 16 / 10;
        min-height: 0;
    }

    .llq-card-content {
        flex: 1 1 auto;
        padding: 22px 20px 24px;
    }

    .llq-quote-title {
        font-size: 20px;
    }

    .llq-quote-body {
        font-size: 15px;
        line-height: 1.68;
    }

    .llq-quote-body.is-collapsed {
        -webkit-line-clamp: 9;
        line-clamp: 9;
    }

    .llq-nav {
        display: none;
    }
}

@media (max-width: 420px) {
    .llq-title {
        font-size: 25px;
    }

    .llq-date {
        font-size: 12px;
    }

    .llq-card-content {
        padding: 20px 18px 22px;
    }

}
