/*
Theme Name: Startupgr Ideas
Author: 9AM LABS
Version: 1.0.0
*/

:root{
    --background: #f6f7f6;
    --accent: #56b238;
    --light: #f4f4f4;
    --hover: #091e01;
}

/* A11y: visible focus for keyboard users */
:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
    border-radius: 4px;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}
/* Skip-to-content link — utility (add markup in header as needed) */
.skip-link {
    position: absolute; left: -9999px; top: 0;
    background: var(--accent); color: #fff; padding: .6rem 1rem;
    font-weight: 700; border-radius: 0 0 6px 0; z-index: 10000;
}
.skip-link:focus { left: 0; }
body{
    font-family: "Google Sans", sans-serif;
    background: var(--background);
}

.main-area{
    position: relative;

    &:before{
        content: "";
        inset: 0;
        background: rgba(0 0 0 / 60%);
        position: fixed;
        z-index: 10;
        opacity: 0;
        pointer-events: none;
    }
}

.minimize-menu{
    .main-area:before{
        opacity: 1;
        pointer-events: all;
    }
}

.hover-cta{
    position: relative;
    overflow: hidden;
    z-index: 1;

    &:before{
        content: "";
        width: 120%;
        height: 120%;
        position: absolute;
        left: 50%;
        transform: translateX(-50%) translateY(50%) scale(0);
        bottom: 0;
        background: var(--hover);
        border-radius: 100%;
        transition: all 0.3s ease-out;
        z-index: -1;
    }

    &:hover{
        color: white;

        &:before{
            transform: translateX(-50%) translateY(50%) scale(2);
        }
    }
}

.main-nav{
    > ul > li{
        > a{
            display: flex;
            align-items: center;
            gap: 1rem;
            padding: 0.6rem;
            border-radius: 0.5rem;
            transition: all 0.3s ease-out;

            img{
                width: 30px;
                height: 30px;
                object-fit: contain;
            }

            &:hover{
                background: var(--light);
            }
        }
    }

    > ul > li:has(ul){

        > a{
            position: relative;
            span.chevron-indicator:after{
                content: url('assets/images/chevron-down-outline.svg');
                width: 15px;
                height: 15px;
                line-height: 0;
                position: absolute;
                top: 50%;
                transform: translateY(-50%);
                right: 0.8rem;
            }
        }

        > a.open{
            background: var(--light);
            span.chevron-indicator:after{
                transform: translateY(-50%) rotate(180deg);
            }
        }

        ul{
            font-size: 1rem;
            margin-block: 1.5rem;
            margin-inline: 0.6rem;
            display: none;

            > li:not(:last-of-type){
                margin-bottom: 0.5rem;
                border-bottom: 1px solid #d4d4d4;
                padding-bottom: 0.5rem;
            }

            > li.all{
                margin-bottom: 1rem;
                border: none;
                padding: 0;
                a{
                    
                    justify-content: flex-start;
                    color: var(--accent);
                    opacity: 1;

                    &:hover{
                        color: var(--hover);
                    }

                    span{
                        display: block;
                        line-height: 0;
                        transform: rotate(-45deg);
                    }
                }
                
            }

            a{
                display: flex;
                align-items: center;
                justify-content: space-between;
                gap: 0.8rem;
                line-height: 1.3;
                font-size: 0.9rem;
                opacity: 0.6;
                transition: all 0.3s ease-out;

                &:hover{
                    opacity: 1;
                }

                span{
                    flex-shrink: 0;
                    font-size: 0.9rem;
                }
            }

            > li.current-menu-item > a{
                opacity: 1;
                color: var(--accent);
                font-weight: 500;
            }
        }
    }
}

.minimize{
    .main-nav{
        > ul > li{
            > a{
                display: inline-flex;
            }
        }

        /* Level 1 submenu flyout */
        > ul > li:has(ul) {

            > ul{
                display: none !important;
                position: absolute;
                top: 20px;
                bottom: 20px;
                right: -20px;
                z-index: 99;
                transform: translateX(100%);
                background: white;
                border-radius: 0.5rem;
                width: 420px;
                margin: 0;
                padding: 2rem;
                overflow-y: auto;
                box-shadow: 4px 4px 20px rgba(0,0,0,0.1);

                > li > a span{
                    display: block !important;
                }
            }

            > ul.open-sub{
                display: block !important;
            }
        }

        /* Level 2 submenu flyout (nested inside level 1) */
        .has-sub{
            position: relative;

            &:has(> .sub-toggle.open) > a{
                opacity: 1;
            }

            > a{
                position: relative;
            }

            > ul{
                display: none !important;
                position: static;
                margin-block: 0.8rem !important;
                box-shadow: none;
                border: none;

                a span{
                    display: block !important;
                }
            }

            > ul.open-sub-2{
                display: block !important;
            }
        }
    }
}

/* Level 2 - flex layout so toggle button sits inline with the link */
.main-nav .has-sub{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.main-nav .has-sub > a{
    flex: 1;
    min-width: 0;
}

/* Level 2 toggle button */
.main-nav .sub-toggle{
    background: none;
    border: none;
    cursor: pointer;
    padding: 0 0.2rem;
    flex-shrink: 0;
    align-self: center;
    margin-left: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.5;
    transition: opacity 0.3s ease-out;

    &:after{
        content: url('assets/images/chevron-down-outline.svg');
        width: 12px;
        height: 12px;
        display: block;
        line-height: 0;
        transition: transform 0.3s ease-out;
    }

    &.open{
        opacity: 1;

        &:after{
            transform: rotate(180deg);
        }
    }
}

/* Minimized sidebar nav tooltips */
.nav-tooltip{
    position: fixed;
    transform: translateY(-50%);
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 0.4rem;
    padding: 0.3rem 0.8rem;
    font-size: 0.85rem;
    white-space: nowrap;
    box-shadow: 2px 6px 14px rgba(0,0,0,0.1);
    z-index: 9999;
    pointer-events: none;
    color: black;
    opacity: 0;
    transition: opacity 0.15s ease-out;

    &.visible{
        opacity: 1;
    }
}

/* Level 2 submenu styling in normal sidebar */
.main-nav .has-sub > ul{
    flex-basis: 100%;
    display: none;
    margin-block: 0.8rem !important;
    padding-left: 0.5rem;
    border: none;
}

.hero{
    position: relative;

    &:before{
        content: "";
        position: absolute;
        inset: 0;
        background: var(--accent);
        mix-blend-mode: multiply;
    }
}

/* --- Animated hero (front page) ------------------------------------------ */
.hero-animated {
    overflow: hidden;
    isolation: isolate;
    background: linear-gradient(135deg, #0f1a10 0%, #1e3a1a 35%, #2f6a2a 65%, #56b238 100%);
    background-size: 300% 300%;
    animation: heroGradientShift 18s ease-in-out infinite;
}
.hero-animated:before {
    background: transparent;
    mix-blend-mode: normal;
}
.hero-animated > .grid { position: relative; z-index: 2; }
.hero-animated .hero-bg {
    position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none;
}
.hero-blob {
    position: absolute; display: block; border-radius: 50%;
    filter: blur(70px); opacity: .55; mix-blend-mode: screen;
    will-change: transform;
}
.hero-blob--1 { width: 520px; height: 520px; top: -140px; left: -120px; background: #56b238; animation: heroFloatA 22s ease-in-out infinite; }
.hero-blob--2 { width: 620px; height: 620px; top: 30%;   right: -200px; background: #9ca3af; animation: heroFloatB 26s ease-in-out infinite; }
.hero-blob--3 { width: 460px; height: 460px; bottom: -180px; left: 20%; background: #3f8f24; animation: heroFloatC 24s ease-in-out infinite; }
.hero-blob--4 { width: 360px; height: 360px; top: 20%; left: 45%; background: #d1d5db; opacity: .3; animation: heroFloatA 30s ease-in-out infinite reverse; }
.hero-grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
    opacity: .5;
    animation: heroGridDrift 40s linear infinite;
}
.hero-particle {
    position: absolute; font-size: 32px; opacity: .35;
    filter: drop-shadow(0 0 12px rgba(255,255,255,.35));
    will-change: transform;
}
.hero-particle--a { top: 18%;  left: 12%; animation: heroDriftA 14s ease-in-out infinite; }
.hero-particle--b { top: 62%;  left: 8%;  animation: heroDriftB 18s ease-in-out infinite; }
.hero-particle--c { top: 28%;  right: 22%; animation: heroDriftA 16s ease-in-out infinite reverse; }
.hero-particle--d { top: 72%;  right: 12%; animation: heroDriftB 20s ease-in-out infinite reverse; }
.hero-particle--e { top: 45%;  left: 55%; animation: heroDriftA 22s ease-in-out infinite; font-size: 24px; }

.hero-anim { opacity: 0; transform: translateY(14px); animation: heroFadeUp .9s cubic-bezier(.2,.7,.2,1) forwards; }
.hero-anim--1 { animation-delay: .15s; }
.hero-anim--2 { animation-delay: .35s; }
.hero-anim--3 { animation-delay: .55s; }

@keyframes heroGradientShift {
    0%,100% { background-position: 0% 50%; }
    50%     { background-position: 100% 50%; }
}
@keyframes heroFloatA {
    0%,100% { transform: translate(0,0) scale(1); }
    50%     { transform: translate(60px,-40px) scale(1.15); }
}
@keyframes heroFloatB {
    0%,100% { transform: translate(0,0) scale(1); }
    50%     { transform: translate(-70px,50px) scale(.9); }
}
@keyframes heroFloatC {
    0%,100% { transform: translate(0,0) scale(1); }
    50%     { transform: translate(40px,-60px) scale(1.1); }
}
@keyframes heroGridDrift {
    0%   { background-position: 0 0; }
    100% { background-position: 60px 60px; }
}
@keyframes heroDriftA {
    0%,100% { transform: translate(0,0) rotate(0); opacity: .35; }
    50%     { transform: translate(30px,-40px) rotate(15deg); opacity: .7; }
}
@keyframes heroDriftB {
    0%,100% { transform: translate(0,0) rotate(0); opacity: .3; }
    50%     { transform: translate(-25px,-30px) rotate(-12deg); opacity: .6; }
}
@keyframes heroFadeUp {
    to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
    .hero-animated, .hero-blob, .hero-particle, .hero-anim, .hero-grid { animation: none !important; }
    .hero-anim { opacity: 1; transform: none; }
}

.custom-shape-divider-bottom-1772189772 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.custom-shape-divider-bottom-1772189772 svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 42px;
}

.custom-shape-divider-bottom-1772189772 .shape-fill {
    fill: #F6F7F6;
}

.hero-slogan{
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;

    &:before{
        content: "";
        width: 50px;
        border-bottom: 1px solid white;
    }
}

.section-title p{
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;

    &:before{
        content: "";
        width: 50px;
        border-bottom: 1px solid var(--accent);
    }
}

.main-cta{
    display: inline-flex;
    align-items: center;
    column-gap: 0.5rem;
    position: relative;
    background: white;
    padding: 0.8rem 1rem;
    transition: all 0.3s ease-out;
    border-radius: 60px;
    white-space: nowrap;

    /* Rotate μόνο τα icon-wrapper spans (arrow-forward σε γωνία), όχι τα text-label spans */
    span:has(> ion-icon){
        line-height: 0;
        transform: rotate(-45deg);
    }
}

.ideas-list{
    > article{
        background: white;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 2rem;
        transition: all 0.3s ease-out;
        border-radius: 0.6rem;

        a{
            transition: all 0.3s ease-out;
            font-size: 1.3rem;
            font-weight: 500;
            display: block;

            &:hover{
                color: var(--accent);
                text-decoration: underline;
            }
        }

        &:hover{
            background: rgba(86 178 56 / 4%);

            .idea-label{
                background: white !important;
            }
        }
    }
}

.idea-problem{
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin-top: 0.5rem;
    font-weight: 500;
    font-size: 1rem;

    p{
        position: relative;

        &:before{
            content: "";
            width: 0;
            border-bottom: 1px solid black;
            transition: all 0.3s ease-out;
            left: 0;
            position: absolute;
            bottom:0;
        }
    }

    &:hover{
        p:before{
            width: 100%;
        }
    }

    span{
        display: block;
        line-height: 0;
        transition: all 0.3s ease-out;
    }
}

.idea-problem.active{
    span{
        transform: rotate(180deg);
    }
}

.idea-problem-text{
    font-size: 1rem;
    margin-top: 1rem;
    display: none;
    opacity: 0.6;
    ul{
        list-style: disc;
        list-style-position: inside;
    }
}

.idea-header{
    display: flex;
    font-size: 1rem;
    color: black;
    margin-bottom: 1rem;
    gap: 1rem;

    p{
        line-height: 1;
        opacity: 0.6;
    }

    p:first-of-type{
        border-right: 1px solid rgba(0,0,0,0.5);
        padding-right: 1rem;
        color: var(--accent);
        opacity: 1;
    }
}

.sgr-action-prompts-grid .idea-header{
    font-size: 0.75rem;
    margin-bottom: 0.5rem;
    gap: 0.5rem;

    p{
        letter-spacing: 0.02em;
    }

    p:first-of-type{
        padding-right: 0.5rem;
        text-transform: uppercase;
        font-weight: 600;
    }
}

.sgr-placeholder{
    display: inline;
    background: #fff7d6;
    color: #92400e;
    border: 1px dashed #f59e0b;
    border-radius: 4px;
    padding: 1px 4px;
    margin: 0 1px;
    font-weight: 600;
    font-family: inherit;
    line-height: 1.6;
    white-space: normal;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}

.prompt-card{
    position: relative;
    .prompt-title{
        font-size: 1.3rem;
        font-weight: 500;
        display: block;
        transition: all 0.3s ease-out;

        &:hover{
            color: var(--accent);
            text-decoration: underline;
        }
    }
    .prompt-desc{
        font-size: 1rem;
    }
    /* Bullets & lists inside prompt cards / previews / help_text — Tailwind's list-style: none reset would otherwise swallow them. */
    .prompt-desc ul,
    .prompt-desc ol,
    .why-card-body ul,
    .why-card-body ol,
    .prompt-help-content ul,
    .prompt-help-content ol{
        margin: 0.4em 0 0.9em 1.4em;
        padding: 0;
    }
    .prompt-desc ul,
    .why-card-body ul,
    .prompt-help-content ul{ list-style: disc outside; }
    .prompt-desc ol,
    .why-card-body ol,
    .prompt-help-content ol{ list-style: decimal outside; }
    .prompt-desc li,
    .why-card-body li,
    .prompt-help-content li{ margin: 0.25em 0; }
    .prompt-desc li > p,
    .why-card-body li > p,
    .prompt-help-content li > p{ margin: 0; }
    .prompt-desc p,
    .prompt-help-content p{ margin: 0 0 0.75em 0; }
    .prompt-desc p:last-child,
    .prompt-help-content p:last-child{ margin-bottom: 0; }
    .prompt-desc strong,
    .why-card-body strong,
    .prompt-help-content strong{ font-weight: 600; color: rgba(0,0,0,0.85); }
    .prompt-desc h1,.prompt-desc h2,.prompt-desc h3,.prompt-desc h4,
    .why-card-body h1,.why-card-body h2,.why-card-body h3,.why-card-body h4,
    .prompt-help-content h1,.prompt-help-content h2,.prompt-help-content h3,.prompt-help-content h4{
        font-weight: 700;
        color: rgba(0,0,0,0.85);
        margin: 0.6em 0 0.4em 0;
        font-size: 1.05em;
    }
    .prompt-desc blockquote,
    .why-card-body blockquote,
    .prompt-help-content blockquote{
        margin: 0.5em 0;
        padding: 0.3em 0.9em;
        border-left: 3px solid rgba(86,178,56,0.35);
        background: rgba(86,178,56,0.05);
        color: rgba(0,0,0,0.72);
    }
    .prompt-header{
        display: flex;
        align-items: center;
        justify-content: space-between;
        column-gap: 1rem;
        margin-bottom: 1rem;
    }
    .copy-prompt{
        text-align: center;
        font-size: 0.8rem;
        color: rgba(0 0 0 / 60%);
        line-height: 1;
        transition: all 0.3s ease-out;
        padding: 0.5rem;
        border-radius: 0.5rem;
        span{
            font-size: 1.5rem;
            line-height: 0;
            margin-top: 0.2rem;
            display: inline-block;
        }

        &:hover{
            background: white;
        }
    }
}

/* Scrollbar for prompt text boxes */
.prompt-text-box::-webkit-scrollbar {
    width: 4px;
}
.prompt-text-box::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

/* Copy button copied state */
.copy-btn.copied {
    background-color: #059669 !important;
}
.hp-copy-btn.copied {
    background-color: #059669 !important;
}

/* Ticker animation */
@keyframes sgr-ticker {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}


.sidebar-links{
    a{
        position: relative;
        display: inline-block;
        transition: all 0.3s ease-out;

        &:hover{
            color: black;

            &:before{
                width: 100%;
            }
        }

        &:before{
            content: "";
            position: absolute;
            bottom: 0;
            left: 0;
            background: black;
            width: 0;
            height: 1px;
            transition: all 0.3s ease-out;
        }
    }
}

.filter-component{
    label{
        display: block;
        font-weight: 500;
        margin-bottom: 0.3rem;
        font-size: 0.9rem;
    }

    select{
        width: 100%;
        min-width: 100px;
        border: 1px solid #e5e5e5;
        background: transparent url('https://11am.gr/wp/startup/wp-content/uploads/2026/03/chevron-down-outline.svg') no-repeat center right 1rem/ 15px;
        border-radius: 0.5rem;
        min-height: 45px;
        padding-inline: 1rem;
        padding-right: 2.4rem;
        appearance: none;
        line-height: 1;
        font-size: 1rem;
    }

    input[type="text"],
    input[type="search"] {
        width: 100%;
        min-width: 180px;
        border: 1px solid #e5e5e5;
        background: transparent;
        border-radius: 0.5rem;
        min-height: 45px;
        padding-inline: 1rem;
        font-size: 1rem;
        font-family: inherit;
        outline: none;

        &:focus {
            border-color: #56B238;
        }
    }
}

/* Related ideas (single-idea page): πιο μικρές, διαφορετικό bg */
.ideas-list--related > article {
    background: #f4f4f4;
    padding: 0.9rem 1.15rem;
    border-radius: 0.5rem;
}
.ideas-list--related > article:hover {
    background: rgba(86, 178, 56, 0.08) !important;
}
.ideas-list--related > article a {
    font-size: 1rem !important;
    font-weight: 500;
}
.ideas-list--related .idea-header {
    font-size: 0.78rem;
    margin-bottom: 0.4rem;
    gap: 0.6rem;
}
.ideas-list--related .idea-header p:first-of-type {
    padding-right: 0.6rem;
}
.ideas-list--related .idea-problem {
    font-size: 0.82rem;
    margin-top: 0.25rem;
}
.ideas-list--related .idea-problem-text {
    font-size: 0.85rem;
    margin-top: 0.5rem;
}
.ideas-list--related > article a.cta-link {
    width: 110px;
    font-size: 0.8rem;
}
.ideas-list--related .sgr-fav-btn--corner {
    transform: scale(0.85);
}

.ideas-list{

    & > article.idea-list-item{
    position: relative;

    a.cta-link{
        position: absolute;
        top: 0;
        bottom: 0;
        background: var(--accent);
        width: 140px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        right: 0;
        border-top-left-radius: 100%;
        border-bottom-left-radius: 100%;
        text-align: center;
        font-size: 0.9rem;
        padding-inline: 1rem;
        font-weight: normal;
        transform: translateX(100%);
        transition: all 0.3s ease-out;
    }

    &:hover{
        a.cta-link{
            transform: translateX(0);
        }
    }

    }
}


/* ── Single Idea Page: JS-toggled states ── */

.tab-btn.active {
    color: #3d8a27;
    border-bottom-color: #56B238 !important;
    font-weight: 600;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.acc-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease, opacity .2s ease;
    opacity: 0;
}

.acc-body.open {
    opacity: 1;
}

.acc-trigger.open {
    background: #f0f8ec;
    color: #3d8a27;
}

.acc-trigger.open .acc-chevron {
    transform: rotate(180deg);
    color: #3d8a27;
}

.mini-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease, opacity .2s;
    opacity: 0;
}

.mini-body.open {
    opacity: 1;
}

.mini-trigger.open {
    color: #3d8a27;
}

.mini-trigger.open .mini-chevron {
    transform: rotate(180deg);
    color: #56B238;
}

/* ── Single Idea: WYSIWYG styled sections ── */

/* Why Now – green bullet list */
.idea-why-now ul,
.idea-why-now ol {
    list-style: none;
    padding: 0;
    margin: 0;
}
.idea-why-now li {
    padding: 7px 0;
    padding-left: 20px;
    position: relative;
    border-bottom: 1px solid #f0f0f0;
}
.idea-why-now li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.idea-why-now li::before {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    min-width: 8px;
    border-radius: 50%;
    background: #56B238;
    margin-top: 7px;
    flex-shrink: 0;
    position: absolute;
    left: 0;
    top: 11px;
}

/* Target Customer – green label badges for <strong> */
.idea-target-customer strong {
    display: inline-block;
    background: #f0f8ec;
    color: #3d8a27;
    border: 1px solid #c3e4b5;
    border-radius: 4px;
    padding: 1px 8px;
    font-weight: 600;
    font-size: 0.88em;
    margin-bottom: 0.3rem;
}

/* Problem – red bullet list */
.idea-problem-list ul,
.idea-problem-list ol {
    list-style: none;
    padding: 0;
    margin: 0;
}
.idea-problem-list li {
    padding: 7px 0;
    padding-left: 20px;
    position: relative;
    border-bottom: 1px solid #f0f0f0;
}
.idea-problem-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.idea-problem-list li::before {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    min-width: 8px;
    border-radius: 50%;
    background: #e53e3e;
    margin-top: 7px;
    position: absolute;
    left: 0;
    top: 11px;
    flex-shrink: 0;
}

/* Solution – green check (no border) */
.idea-solution-list ul,
.idea-solution-list ol {
    list-style: none;
    padding: 0;
    margin: 0;
}
.idea-solution-list li {
    padding: 7px 0;
    padding-left: 20px;
    position: relative;
    border-bottom: 1px solid #f0f0f0;
}
.idea-solution-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.idea-solution-list li::before {
    content: '✓';
    color: #56B238;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
    line-height: 1.5;
    margin-top: 1px;
    position: absolute;
    top: 11px;
    left: 0;
}

/* MVP – vertical timeline with dots */
.idea-timeline ol,
.idea-timeline ul {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
}
.idea-timeline ul::before,
.idea-timeline ol::before {
    content: '';
    position: absolute;
    left: 5px;
    top: 10px;
    bottom: 10px;
    width: 2px;
    background: #e5e7eb;
}
.idea-timeline li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 9px 0;
    position: relative;
}
.idea-timeline li:last-child {
    padding-bottom: 0;
}
.idea-timeline li::before {
    content: '';
    display: block;
    width: 12px;
    height: 12px;
    min-width: 12px;
    border-radius: 50%;
    background: #56B238;
    box-shadow: 0 0 0 3px white, 0 0 0 4px #d1d5db;
    flex-shrink: 0;
    margin-top: 8px;
    position: relative;
    z-index: 1;
}

/* CTA tooltip */
.cta-tooltip-wrap {
    position: relative;
    display: inline-flex;
}
.cta-tooltip-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #e5e7eb;
    color: #6b7280;
    font-size: 9px;
    font-weight: 700;
    cursor: default;
    flex-shrink: 0;
    line-height: 1;
}
.cta-tooltip-text {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    width: 210px;
    background: #1f2937;
    color: white;
    font-size: 11px;
    line-height: 1.55;
    padding: 9px 12px;
    border-radius: 8px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.15s ease;
    text-transform: none;
    font-weight: normal;
    letter-spacing: 0;
    z-index: 100;
    white-space: normal;
}
.cta-tooltip-text::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #1f2937;
}
.cta-tooltip-wrap:hover .cta-tooltip-text {
    opacity: 1;
}

.page-numbers{
    display: flex;
    justify-content: center;
    gap: 0.3rem;
    font-size: 0.9rem;

    a,span{
        background: white;
        border-radius: 0.2rem;
        width: 40px;
        aspect-ratio: 1;
        display: flex;
        align-items: center;
        border: 1px solid #e5e5e5;
        justify-content: center;
        transition: all 0.3s ease-out;

        &:hover{
            background: var(--accent);
            border-color: var(--accent);
            color: white;
        }
    }

    span.current{
        background: var(--accent);
        color: white;
        border-color: var(--accent);
    }
}

/* ============ FAVORITES (hearts) ============ */
.sgr-fav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.4rem;
    color: rgba(0, 0, 0, 0.35);
    background: transparent;
    border-radius: 8px;
    border: 0;
    cursor: pointer;
    transition: all 0.2s ease-out;
    line-height: 1;
}

.sgr-fav-btn:hover {
    color: #dc2626;
    background: rgba(220, 38, 38, 0.06);
}

.sgr-fav-btn.is-fav {
    color: #dc2626;
}

/* Stacked variant: caption above icon, matches Copy button */
.sgr-fav-btn--stacked {
    flex-direction: column;
    gap: 0;
    padding: 0.5rem;
    text-align: center;
    font-size: 0.8rem;
    color: rgba(0, 0, 0, 0.6);
    line-height: 1;
}
.sgr-fav-btn--stacked .sgr-fav-caption {
    margin: 0;
}
.sgr-fav-btn--stacked .icon-wrapper {
    font-size: 1.5rem;
    line-height: 0;
    margin-top: 0.2rem;
}
.sgr-fav-btn--stacked:hover {
    background: white;
    color: #dc2626;
}
.sgr-fav-btn--stacked.is-fav {
    color: #dc2626;
}

.sgr-fav-btn.is-fav .sgr-fav-icon-off {
    display: none;
}

.sgr-fav-btn.is-fav .sgr-fav-icon-on {
    display: inline-block !important;
    animation: sgrFavPop 0.35s ease-out;
}

@keyframes sgrFavPop {
    0%   { transform: scale(0.6); }
    60%  { transform: scale(1.25); }
    100% { transform: scale(1); }
}

/* Corner-positioned heart for cards */
.sgr-fav-btn--corner {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    z-index: 5;
    padding: 0.35rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.sgr-fav-btn--corner:hover {
    background: white;
}

/* Larger variant used on single pages */
.sgr-fav-btn--lg {
    padding: 0.65rem 1rem;
    border: 1px solid #e5e5e5;
    background: white;
    border-radius: 60px;
}

.sgr-fav-btn--lg:hover {
    border-color: #dc2626;
}

.sgr-fav-btn--lg.is-fav {
    background: rgba(220, 38, 38, 0.06);
    border-color: rgba(220, 38, 38, 0.35);
}

/* Dark background variant (single-idea hero) */
.sgr-fav-btn--onDark {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    color: white;
    backdrop-filter: blur(6px);
}

.sgr-fav-btn--onDark:hover {
    background: rgba(255, 255, 255, 0.22);
    color: white;
    border-color: rgba(255, 255, 255, 0.5);
}

.sgr-fav-btn--onDark.is-fav {
    background: rgba(220, 38, 38, 0.85);
    border-color: rgba(220, 38, 38, 1);
    color: white;
}
/* Glossary example box (moved from inline <style> in single-glossary_term.php) */
.gloss-example ul { list-style: disc; padding-left: 1.5rem; margin: 0.5rem 0; }
.gloss-example ol { list-style: decimal; padding-left: 1.5rem; margin: 0.5rem 0; }
.gloss-example li { margin: 0.25rem 0; }
.gloss-example strong { font-weight: 700; color: #000; }
.gloss-example p { margin: 0.5rem 0; }

/* ─── Front-page Glossary carousel ─────────────────────────────── */
.home-glossary{
    --gloss-accent:#4f46e5;
    --gloss-accent-2:#8b5cf6;
    background:
        radial-gradient(circle at 15% 20%, rgba(139,92,246,0.35), transparent 45%),
        radial-gradient(circle at 85% 80%, rgba(79,70,229,0.35), transparent 45%),
        linear-gradient(135deg,#0f172a 0%,#1e1b4b 55%,#312e81 100%);
    color:#e5e7eb;
    padding: 4rem 5rem;
    position: relative;
    isolation: isolate;
}
.home-glossary__inner{
    position:relative;
    max-width:1400px;
    margin:0 auto;
}
.home-glossary__head{
    display:flex;
    gap:2rem;
    align-items:flex-end;
    justify-content:space-between;
    flex-wrap:wrap;
    margin-bottom:2rem;
}
.home-glossary__head .eyebrow{
    font-size:.75rem;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:.08em;
    color:#a5b4fc;
    margin:0 0 .35rem 0;
}
.home-glossary__head h2{
    font-size:clamp(1.75rem, 3vw, 2.5rem);
    font-weight:900;
    color:#fff;
    margin:0 0 .5rem 0;
    line-height:1.1;
}
.home-glossary__head .lede{
    font-size:1rem;
    color:#c7d2fe;
    max-width:44rem;
    margin:0;
    line-height:1.55;
}
.home-glossary__ctas{
    display:flex;
    gap:.75rem;
    flex-wrap:wrap;
}
.home-glossary .cta{
    display:inline-flex;
    align-items:center;
    gap:.5rem;
    padding:.7rem 1.15rem;
    border-radius:.75rem;
    font-weight:600;
    font-size:.9rem;
    text-decoration:none;
    transition: all .2s ease;
}
.home-glossary .cta--primary{
    background:#fff;
    color:#312e81;
}
.home-glossary .cta--primary:hover{
    background:#a5b4fc;
    color:#1e1b4b;
    transform:translateY(-1px);
}
.home-glossary .cta--ghost{
    background:transparent;
    color:#e0e7ff;
    border:1px solid rgba(255,255,255,0.25);
}
.home-glossary .cta--ghost:hover{
    background:rgba(255,255,255,0.08);
    border-color:rgba(255,255,255,0.5);
}
.home-glossary__carousel-wrap{
    position:relative;
    display:flex;
    align-items:stretch;
    gap:.5rem;
}
.home-glossary__nav{
    flex:0 0 auto;
    width:44px;
    align-self:center;
    height:44px;
    border-radius:999px;
    background:rgba(255,255,255,0.1);
    border:1px solid rgba(255,255,255,0.2);
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    font-size:1.35rem;
    transition:all .2s ease;
}
.home-glossary__nav:hover{
    background:rgba(255,255,255,0.2);
    border-color:rgba(255,255,255,0.4);
    transform:scale(1.05);
}
.home-glossary__carousel{
    flex:1 1 auto;
    display:flex;
    gap:1rem;
    overflow-x:auto;
    scroll-snap-type: x mandatory;
    scroll-behavior:smooth;
    scrollbar-width:none;
    padding: 4px 2px 12px 2px;
}
.home-glossary__carousel::-webkit-scrollbar{ display:none; }
.home-glossary__card{
    flex:0 0 280px;
    scroll-snap-align: start;
    background:rgba(255,255,255,0.06);
    backdrop-filter: blur(6px);
    border:1px solid rgba(255,255,255,0.12);
    border-radius:1rem;
    padding:1.25rem 1.25rem 1rem 1.25rem;
    color:#e0e7ff;
    text-decoration:none;
    display:flex;
    flex-direction:column;
    gap:.55rem;
    transition:all .25s ease;
}
.home-glossary__card:hover{
    background:rgba(255,255,255,0.12);
    border-color:rgba(165,180,252,0.5);
    transform:translateY(-3px);
    box-shadow:0 20px 40px -18px rgba(0,0,0,.5);
}
.home-glossary__card .tag{
    display:inline-block;
    align-self:flex-start;
    background:rgba(165,180,252,0.15);
    color:#c7d2fe;
    font-size:.7rem;
    font-weight:600;
    text-transform:uppercase;
    letter-spacing:.05em;
    padding:.15rem .55rem;
    border-radius:999px;
}
.home-glossary__card h3{
    font-size:1.15rem;
    font-weight:700;
    color:#fff;
    margin:0;
    line-height:1.2;
}
.home-glossary__card p{
    font-size:.85rem;
    color:#c7d2fe;
    line-height:1.5;
    margin:0;
    opacity:.9;
    flex:1;
}
.home-glossary__card .read{
    display:inline-flex;
    align-items:center;
    gap:.35rem;
    color:#a5b4fc;
    font-weight:600;
    font-size:.85rem;
    margin-top:.25rem;
}
.home-glossary__card:hover .read{
    color:#fff;
}
@media (max-width: 900px){
    .home-glossary{ padding: 3rem 1.5rem; }
    .home-glossary__head{ align-items:flex-start; }
}
@media (max-width: 720px){
    .home-glossary{ padding: 3rem 1rem; }
    .home-glossary__head{ align-items:flex-start; gap:1.25rem; }
    .home-glossary__nav{ display:none; }
    .home-glossary__card{ flex-basis:78vw; max-width:320px; }
}

