/*  CSS edermconsult.com, wind 2026  */

/*
---------------------------------------------------
------ telederm.css -------------------------------
---------------------------------------------------
*/

section.feat-panel  {
    padding: 0;
}

.wrapper#B  {
    .card.costs  {
        display: flex;
        width: 180px;
        height: 180px;
        min-width: 180px;
        padding: 0;
    }
}

.folding-td  {
    display: flex;
    justify-content: center;

    .cost-container  {
        display: flex;
        align-items: center;
        flex-direction: row;
        max-width: 70%;
    }
}

/*
---------------------------------------------------
# a3 Ordis wrapper --------------------------------
---------------------------------------------------
# J1    wrapper#ordis
          section
            .ordis.td
            .section-header-L
            .section-header-M
                .ordi-card
                    .head
                        .left + .right
                            .right:
                                optional: a.button
                                svg, .text
                    .body
                        .description
                        .experts
                            h4.red, h4.blue
                            div = card
---------------------------------------------------
*/

.wrapper#ordis section  {
    border: 0;
    background-color: var(--page-background);
}

/*
---------------------------------------------------
# J1 telederm Projekte (1x)
---------------------------------------------------
        .wrapper#ordis
            .ordis.td
    # a3        .section-header-L
                .section-header-M
                .ordi-card
                    .head
                        .left + .right
                            .right:
                                optional: a.button
                                svg, .text
                    .body
                        .description
                        .experts
                            h4.red, h4.blue
                            div = card
---------------------------------------------------

*/
section .section-header-L  {
    border-bottom: 1px dotted var(--band-border-300);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    h2, h3  { text-align: right; }
    h2  { font-size: 2.16rem; }
    h3  { 
        font-optical-sizing: auto;
        font-size: 1.2rem;
    }
}

/*
---------------------------------------------------
# J1 KLINIK (4x)
---------------------------------------------------
        .wrapper#ordis
            .ordis.td
                .section-header-L
    # a3        .section-header-M
                .ordi-card
                    .head
                        .left + .right
                            .right:
                                optional: a.button
                                svg, .text
                    .body
                        .description
                        .experts
                            h4.red, h4.blue
                            div = card
---------------------------------------------------

/* für Patient:innen */
section .section-header-M  {
    display: flex;
    flex-direction: column;
    margin-bottom: 2rem;
    margin-left: 0.5rem;
    .accent  { 
        height: 0.3rem;
        width: 3.1rem;
        margin-bottom: 0.5rem;
    }
    h2  { font-size: 1.29rem; }
    h3  { 
        margin-top: 0.2rem;
        font-size: 0.91rem;
        font-optical-sizing: auto;
        color: var(--ink-400);
    }
}

.section-header-M {
    .accent.red  {
        background-color: var(--red-surface);
    }
    .accent.blue  {
        background-color: var(--blue-surface);
    }
}

.section-header-M:has(.accent.blue)  {
    margin-top: 5rem;
    h2  { letter-spacing: 0.18rem; }
}

/*
---------------------------------------------------
# J1 ordi-card HEAD (>10)
---------------------------------------------------
        .wrapper#ordis
            .ordis.td
                .section-header-L
                .section-header-M
    # a2        .ordi-card
    # a3            .head
    # a3                .left + .right
    # a3                    .right:
    # a3                        optional: a.button
    # a3                        svg, .text
                    .body
                        .description
                        .experts
                            h4.red, h4.blue
                            div = card
---------------------------------------------------
*/

.ordis .ordi-card  {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    margin-bottom: 2rem;
    border-radius: 0.8rem;
    box-shadow: var(--shadow-s);
    background-color: var(--card-on-page);
    border: 1px solid var(--border-100);

    .head  {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        padding: 0.7rem 1.3rem;
        font-family: var(--livvic);
        font-size: 1.12rem;
        font-weight: 600;
        border-top-left-radius: 0.8rem;
        border-top-right-radius: 0.8rem;
        color: var(--ink-700);
        background-color: var(--lightgrey-100);   /* fallback! */
        background: var(--gradient-silver-26);
        box-shadow: inset 0 1px 0 #FFFFFFDD, 
        inset 0 -1px 0 #00000011;

        .left  {
            margin: 0;
            padding: 0;
            align-self: center;
        }

        .right {
            display: flex;
            flex-direction: row;
            align-items: center;

            .text:not(a.button *), svg:not(a.button *) { 
                color: var(--ink-400); 
                font-family: var(--tiktok);
                font-weight: 400;
                font-size: 0.8rem;
            }

            svg:not(a.button *)  { 
                width: .82rem;
                height: .82rem;
                flex-shrink: 0;
            }
        }
    }
}

/*
------------------------------------
# a3 VERMILION BUTTONS for patients 
------------------------------------
*/

.ordis .ordi-card .right  { flex-wrap: nowrap; white-space: nowrap; } 
.ordis .ordi-card  {
    .head {
        .right a.button  {
            display: flex;
            flex-direction: row;
            align-items: center;
            justify-content: center;
            padding: 0.35rem .5rem;
            width: fit-content;
            font-size: 0.8rem;
            font-weight: 530;
            letter-spacing: 1px;
            font-optical-sizing: auto;
            font-family: var(--source);
            border-radius: 0.6rem;
            border: 1px solid var(--button-border-red);
            background-color: var(--button-red); 
            box-shadow: inset 0 1px 0 #ffffff40, 0 1px 1px #6e1f0f26;
            transition: background-color .2s var(--ease-in-out);

            .text  { color: var(--button-text-white); }

            svg  { 
                width: .82rem;
                height: .82rem;
                flex-shrink: 0;
                color: var(--button-text-white); 
            }
        }

        a.button:hover  {
            border: 1px solid var(--button-border-red);
            background-color: var(--button-white);
            box-shadow: inset 0 1px 0 #ffffff52, 0 1px 2px #6e1f0f33;
            cursor: pointer;
            transition: background-color .3s ease-in-out;

            .text  { 
                color: var(--button-text-red); 
                transition: color .2s var(--ease-out);
                white-space: nowrap;
            }

            svg  { color: var(--button-text-red); }
        }
    }
}

/*
---------------------------------------------------
# J1 ordi-card BODY
---------------------------------------------------
        .wrapper#ordis
            .ordis.td
                .section-header-L
                .section-header-M
                .ordi-card
                    .head
                        .left + .right
                            .right:
                                optional: a.button
                                svg, .text
    # a2            .body
    # a3                .description
    # a3                .experts
    # a3                    h4.red, h4.blue
    # a3                    div = card
---------------------------------------------------
*/


.ordis .ordi-card  {
    .body  {
        display: flex;
        flex-direction: row;
        gap: 0 2rem;
    }

    .body.column  {
        flex-direction: column;
    }

    .description  {
        padding: 1.1rem;
        font-size: 0.95rem;
        width: 60%;
        text-align: justify;
        line-height: 1.3rem;
    }

    .experts  {
        padding: 1.1rem;
        > div + div  {
            margin-top: 0.5rem;
        }

        h4  { 
            margin-bottom: 0.5rem;
            font-family: var(--baloo);
            text-transform: uppercase;
            letter-spacing: .07em;
            font-size: .72rem;
            font-weight: 600;
            font-style: normal;
        }

        h4.blue  { color: var(--blue-ink-500); }
        h4.red  { color: var(--red-ink-500); }

        /* # a3 expert card */
        > div:not(.experts-wrapper)  {
            display: flex;
            width: fit-content;
            white-space: nowrap;
            padding: 0.2rem 0.5rem 0.3rem;
            border-radius: 0.3rem;
            border: 1px solid var(--border-100);
            background-color: var(--lightgrey-100);   /* fallback! */
            background: var(--gradient-silver);
            box-shadow: inset 0 1px 0 rgba(255,255,255,.9), inset 0 -1px 0 rgba(0,0,0,.04);
        }
    }
}

/*
---------------------------------------------------
# J1 Steiermark
---------------------------------------------------
        .wrapper#ordis
            .ordis.td
                .section-header-L
                .section-header-M
                .ordi-card
                    .head
                        .left + .right
                            .right:
                                optional: a.button
                                svg, .text
                    .body
                        .description
    # a3                .experts
                            h4.red, h4.blue
    # a3                    div = card
---------------------------------------------------
   NUR für die Steiermark!
---------------------------------------------------
*/

.wrapper#ordis .ordis .column .experts  {
    display: flex;
    flex-direction: column;
    padding: 1.1rem;
    padding-top: 0;

    h4  { 
        width: 100%; 
        padding-left: 0.3rem;
        padding-bottom: 0.3rem;
    }

    .experts-wrapper {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.5rem 0.5rem;

        div  {
            display: flex;
            width: fit-content;
            white-space: nowrap;
            padding: 0.2rem 0.5rem 0.3rem;
            border-radius: 0.3rem;
            border: 1px solid var(--border-100);
            background-color: var(--lightgrey-100); /* fallback! */
            background: var(--gradient-silver);
            box-shadow: inset 0 1px 0 rgba(255,255,255,.9), inset 0 -1px 0 rgba(0,0,0,.04);
        }
    }
}