﻿.SS_KEV .prezrti-shell {
    --shell_side_L: 0;
}

.SS_KEV .l_panel {
    display: none;
}

.SS_KEV .c_panel {
    margin: 0;
    padding: 0;
}

/* ==========================================================================
   SS_KEV — KevderNET
   Ciljni izgled: arhivska stran po referenčnem screenshotu.
   ========================================================================== */

.SS_KEV .side_C {
    --sk-blue: #0166ff;
    --sk-blue-dark: #004080;
    --sk-yellow: #ffcc00;
    --sk-beige: #e7decd;
    --sk-beige-light: #f1ede4;
    --sk-green: #66cc66;
    --sk-text: #000;
    position: relative;
    inline-size: 100%;
    block-size: 100%;
    min-inline-size: 0;
    min-block-size: 0;
    overflow: hidden;
    background: #fff;
    color: var(--sk-text);
    font-family: Arial, Helvetica, sans-serif;
    font-size: var(--font_size_16);
    line-height: 1.2;
}

    .SS_KEV .side_C *,
    .SS_KEV .side_C *::before,
    .SS_KEV .side_C *::after {
        box-sizing: border-box;
    }

    .SS_KEV .side_C .sk_page {
        position: relative;
        display: flex;
        flex-direction: column;
        inline-size: 100%;
        block-size: 100dvh;
        min-inline-size: 0;
        overflow: hidden;
        background: #fff;
    }


    /* ==========================================================================
   Header
   ========================================================================== */

    .SS_KEV .side_C .sk_header {
        position: absolute;
        inset-block-start: 0;
        inset-inline-start: 0;
        z-index: 2;
        display: flex;
        inline-size: 100%;
        block-size: 90px;
        overflow: hidden;
        background: var(--sk-yellow);
    }

    .SS_KEV .side_C .sk_header_left {
        flex: 0 0 auto;
        block-size: 90px;
        min-inline-size: 0;
        overflow: hidden;
    }

        .SS_KEV .side_C .sk_header_left svg,
        .SS_KEV .side_C .sk_header_left img {
            display: block;
            inline-size: auto;
            block-size: 100%;
            max-inline-size: none;
        }

    .SS_KEV .side_C .sk_header_right {
        display: flex;
        flex: 1 1 auto;
        flex-direction: column;
        min-inline-size: 0;
        block-size: 100%;
    }

    .SS_KEV .side_C .sk_header_date {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        inline-size: 100%;
        block-size: 56%;
        padding-inline: 12px;
        background: var(--sk-yellow);
        color: #000;
        font-size: var(--font_size_14);
        font-weight: 400;
        white-space: nowrap;
    }

    .SS_KEV .side_C .sk_header_navigation {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        inline-size: 100%;
        block-size: 44%;
        padding-inline: 12px;
        overflow: hidden;
        background: var(--sk-blue);
        color: var(--sk-blue-dark);
       font-size: var(--font_size_16);
        font-weight: 400;
        white-space: nowrap;
    }

        .SS_KEV .side_C .sk_header_navigation span {
            text-decoration: underline;
        }


    /* ==========================================================================
   Main
   ========================================================================== */

    .SS_KEV .side_C .sk_main {
        position: absolute;
        inset-block-start: 90px;
        inset-inline-start: 0;
        display: flex;
        flex-direction: column;
        inline-size: 100%;
        block-size: calc(100dvh - 113px);
        min-block-size: 0;
        overflow: hidden;
        background: #fff;
    }


    /* ==========================================================================
   Main header
   ========================================================================== */

    .SS_KEV .side_C .sk_main_header {
        flex: 0 0 60px;
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: start;
        min-inline-size: 0;
        block-size: 60px;
        margin-inline: 60px;
        padding-block-start: 8px;
        border-block-start: 2px solid var(--sk-blue-dark);
        border-block-end: 2px solid var(--sk-blue-dark);
    }

        .SS_KEV .side_C .sk_main_header > div:nth-child(1) {
            justify-self: start;
            color: #000;
           font-size: var(--font_size_16);
            font-weight: 400;
            white-space: nowrap;
        }

        .SS_KEV .side_C .sk_main_header > div:nth-child(2) {
            justify-self: center;
            font-size: var(--font_size_24);
            font-weight: 700;
            white-space: nowrap;
        }

        .SS_KEV .side_C .sk_main_header > div:nth-child(3) {
            justify-self: end;
            display: flex;
            flex-direction: column;
            align-items: flex-end;
            color: #000;
            font-size: var(--font_size_14);
            font-weight: 400;
            line-height: 1.15;
            text-align: right;
            white-space: nowrap;
        }


    /* ==========================================================================
   Content layout

   Referenčni screenshot:
   - levi vsebinski blok približno 46 %
   - desni info blok približno 36 %
   - preostanek desno ostane prazen
   ========================================================================== */

    .SS_KEV .side_C .sk_content {
        flex: 1 1 auto;
        display: grid;
        grid-template-columns: minmax(0, 46%) minmax(0, 36%) minmax(0, 18%);
        grid-template-rows: auto auto minmax(0, 1fr);
        min-inline-size: 0;
        min-block-size: 0;
        margin-inline: 66px 0;
        padding-block-start: 14px;
        overflow: hidden;
    }


    /* ==========================================================================
   Levi blok — najprej šala, nato "Zanimivo?"
   ========================================================================== */

    .SS_KEV .side_C .sk_content_center {
        grid-column: 1;
        grid-row: 1;
        min-inline-size: 0;
        padding-inline-end: 9px;
    }

        /* Naslov "Da počiš od smeha..." */
        .SS_KEV .side_C .sk_content_center > div:nth-child(1) {
            min-block-size: 23px;
            padding: 2px 3px;
            background: var(--sk-beige);
            color: var(--sk-blue-dark);
           font-size: var(--font_size_16);
            font-weight: 700;
            text-decoration: underline;
        }

        /* Vrstica z ikono in vsebino */
        .SS_KEV .side_C .sk_content_center > div:nth-child(2) {
            display: flex;
            align-items: flex-start;
            min-block-size: 58px;
            padding: 4px 2px;
            color: #000;
            font-size: var(--font_size_14);
        }

            .SS_KEV .side_C .sk_content_center > div:nth-child(2) svg {
                flex: 0 0 auto;
                inline-size: 20px;
                block-size: 20px;
                margin-inline-end: 3px;
            }


    /* Levi spodnji del */
    .SS_KEV .side_C .sk_content_left {
        grid-column: 1;
        grid-row: 2 / 4;
        min-inline-size: 0;
        min-block-size: 0;
        padding-inline-end: 9px;
    }

        /*
   V PHP različici sta bila tu še Klepetalnica + vrstica.
   Na končnem referenčnem izgledu ju ni, zato ju skrijemo.
*/
        .SS_KEV .side_C .sk_content_left > div:nth-child(1),
        .SS_KEV .side_C .sk_content_left > div:nth-child(2) {
            display: none;
        }

        /* Zanimivo? */
        .SS_KEV .side_C .sk_content_left > div:nth-child(3) {
            min-block-size: 22px;
            padding: 2px 1px;
            background: var(--sk-green);
            color: #000;
           font-size: var(--font_size_16);
            font-weight: 400;
        }

            .SS_KEV .side_C .sk_content_left > div:nth-child(3) span:first-child {
                color: #000;
                text-decoration: none;
            }

            .SS_KEV .side_C .sk_content_left > div:nth-child(3) span:last-child {
                color: var(--sk-blue-dark);
                text-decoration: underline;
            }

        /* Fotografija */
        .SS_KEV .side_C .sk_content_left > div:nth-child(4) {
            display: flex;
            align-items: flex-start;
            justify-content: center;
            inline-size: 100%;
            min-block-size: 0;
            padding-block-start: 3px;
        }

            .SS_KEV .side_C .sk_content_left > div:nth-child(4) img {
                display: block;
                inline-size: auto;
                block-size: auto;
                max-inline-size: 50%;
                max-block-size: 150px;
                object-fit: contain;
            }


    /* ==========================================================================
   Desni Info Center
   ========================================================================== */

    .SS_KEV .side_C .sk_content_right {
        grid-column: 2;
        grid-row: 1 / 4;
        display: flex;
        flex-direction: column;
        min-inline-size: 0;
        min-block-size: 0;
        padding-inline-end: 0;
        overflow: hidden;
    }

        /* Info center blok */
        .SS_KEV .side_C .sk_content_right > div:nth-child(1) {
            flex: 0 0 113px;
            display: flex;
            flex-direction: column;
            min-inline-size: 0;
            overflow: hidden;
            background: var(--sk-beige-light);
            color: #000;
           font-size: var(--font_size_16);
        }

            /* naslov Info Center */
            .SS_KEV .side_C .sk_content_right > div:nth-child(1) > div:nth-child(1) {
                flex: 0 0 25px;
                padding: 2px 1px;
                background: var(--sk-beige);
                white-space: nowrap;
            }

                .SS_KEV .side_C .sk_content_right > div:nth-child(1) > div:nth-child(1) span:first-child {
                    color: var(--sk-blue-dark);
                    font-weight: 700;
                    text-decoration: underline;
                }

                .SS_KEV .side_C .sk_content_right > div:nth-child(1) > div:nth-child(1) span:last-child {
                    color: #000;
                    font-weight: 400;
                    text-decoration: none;
                }

            /* search */
            .SS_KEV .side_C .sk_content_right > div:nth-child(1) > div:nth-child(2) {
                flex: 0 0 43px;
                display: flex;
                align-items: flex-start;
                justify-content: center;
                padding-block-start: 5px;
                background: var(--sk-beige-light);
            }

                .SS_KEV .side_C .sk_content_right > div:nth-child(1) > div:nth-child(2) span {
                    padding-block-start: 4px;
                    font-weight: 700;
                }

                .SS_KEV .side_C .sk_content_right > div:nth-child(1) > div:nth-child(2) input {
                    inline-size: 212px;
                    block-size: 27px;
                    margin-inline: 8px 12px;
                    padding: 2px 4px;
                    border: 1px solid #999;
                    border-radius: 0;
                    background: #fff;
                    color: #000;
                    font: inherit;
                }

                .SS_KEV .side_C .sk_content_right > div:nth-child(1) > div:nth-child(2) button {
                    min-inline-size: 40px;
                    block-size: 23px;
                    padding-inline: 5px;
                    border: 2px solid #777;
                    border-radius: 10px;
                    background: #eee;
                    color: #000;
                    font-family: Arial, Helvetica, sans-serif;
                    font-size: var(--font_size_12);
                    font-weight: 700;
                    line-height: 1;
                }

            /* tri ikone */
            .SS_KEV .side_C .sk_content_right > div:nth-child(1) > div:nth-child(3) {
                flex: 1 1 auto;
                display: flex;
                align-items: center;
                justify-content: center;
                gap: 8px;
                min-block-size: 0;
                background: var(--sk-beige-light);
            }

                .SS_KEV .side_C .sk_content_right > div:nth-child(1) > div:nth-child(3) > div {
                    position: static;
                    display: grid;
                    place-items: center;
                    inline-size: 22px;
                    block-size: 22px;
                    padding: 2px;
                    border-block: 2px solid var(--sk-blue-dark);
                    border-inline: 1px solid var(--sk-blue-dark);
                    background: #eeffff;
                }

                    .SS_KEV .side_C .sk_content_right > div:nth-child(1) > div:nth-child(3) > div:nth-child(1),
                    .SS_KEV .side_C .sk_content_right > div:nth-child(1) > div:nth-child(3) > div:nth-child(2),
                    .SS_KEV .side_C .sk_content_right > div:nth-child(1) > div:nth-child(3) > div:nth-child(3) {
                        margin: 0;
                        transform: none;
                    }

                        .SS_KEV .side_C .sk_content_right > div:nth-child(1) > div:nth-child(3) > div:nth-child(1) svg {
                            block-size: 13px;
                        }

                        .SS_KEV .side_C .sk_content_right > div:nth-child(1) > div:nth-child(3) > div:nth-child(2) svg {
                            block-size: 11px;
                        }

                        .SS_KEV .side_C .sk_content_right > div:nth-child(1) > div:nth-child(3) > div:nth-child(3) svg {
                            block-size: 15px;
                        }


        /* prazen razmik pred novicami */
        .SS_KEV .side_C .sk_content_right > div:nth-child(2) {
            flex: 0 0 29px;
            background: #fff;
        }


        /* Svarog novice */
        .SS_KEV .side_C .sk_content_right > div:nth-child(3),
        .SS_KEV .side_C .sk_content_right > div:nth-child(5) {
            flex: 0 0 23px;
            padding: 2px 1px;
            background: var(--sk-beige);
            color: var(--sk-blue-dark);
           font-size: var(--font_size_16);
            font-weight: 700;
            text-decoration: underline;
        }


        /* tanka ločilna vrstica */
        .SS_KEV .side_C .sk_content_right > div:nth-child(4) {
            flex: 0 0 7px;
            margin-block: 3px;
            background: var(--sk-beige);
        }


        /* Vroče vsebina */
        .SS_KEV .side_C .sk_content_right > div:nth-child(6) {
            flex: 1 1 auto;
            display: flex;
            align-items: flex-start;
            justify-content: center;
            min-block-size: 0;
            margin-block-start: 3px;
            padding-block-start: 6px;
            overflow: hidden;
            background: var(--sk-beige-light);
        }

            .SS_KEV .side_C .sk_content_right > div:nth-child(6) img {
                display: block;
                inline-size: 90%;
                block-size: auto;
                max-block-size: 40%;
                object-fit: contain;
            }


    /* ==========================================================================
   Footer
   ========================================================================== */

    .SS_KEV .side_C .sk_footer {
        position: absolute;
        inset-inline-start: 0;
        inset-block-end: 0;
        z-index: 2;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 5px;
        inline-size: 100%;
        block-size: 23px;
        overflow: hidden;
        background: var(--sk-blue);
        color: #000;
       font-size: var(--font_size_16);
        line-height: 1;
        text-align: center;
    }

        .SS_KEV .side_C .sk_footer p {
            margin: 0;
        }

        .SS_KEV .side_C .sk_footer svg {
            display: block;
            inline-size: 18px;
            block-size: 18px;
        }


/* ==========================================================================
   Responsive
   Arhivski izgled ohranimo; pri manjši širini samo zmanjšamo tipografijo
   in robove, brez spreminjanja strukture.
   ========================================================================== */

@media only screen and (max-width: 64em) {

    .SS_KEV .side_C {
        font-size: var(--font_size_24);    }

        .SS_KEV .side_C .sk_header {
            block-size: 78px;
        }

        .SS_KEV .side_C .sk_header_left {
            block-size: 78px;
        }

        .SS_KEV .side_C .sk_main {
            inset-block-start: 78px;
            block-size: calc(100dvh - 101px);
        }

        .SS_KEV .side_C .sk_main_header {
            margin-inline: 24px;
        }

        .SS_KEV .side_C .sk_content {
            margin-inline-start: 28px;
            grid-template-columns: minmax(0, 48%) minmax(0, 44%) minmax(0, 8%);
        }

        .SS_KEV .side_C .sk_header_navigation {
            font-size: var(--font_size_12);
        }

        .SS_KEV .side_C .sk_main_header > div:nth-child(1) {
            font-size: var(--font_size_14);
        }

        .SS_KEV .side_C .sk_main_header > div:nth-child(2) {
            font-size: var(--font_size_20);
        }

        .SS_KEV .side_C .sk_main_header > div:nth-child(3) {
            font-size: var(--font_size_10);
        }

        .SS_KEV .side_C .sk_content_right > div:nth-child(1) > div:nth-child(2) input {
            inline-size: min(160px, 45%);
        }
}

@media only screen and (max-width: 48em) {

    .SS_KEV .side_C .sk_header_navigation {
        overflow: hidden;
        font-size: var(--font_size_10);
    }

    .SS_KEV .side_C .sk_main_header {
        grid-template-columns: 1fr;
        block-size: 64px;
    }

        .SS_KEV .side_C .sk_main_header > div:nth-child(1),
        .SS_KEV .side_C .sk_main_header > div:nth-child(3) {
            display: none;
        }

        .SS_KEV .side_C .sk_main_header > div:nth-child(2) {
            justify-self: center;
        }

    .SS_KEV .side_C .sk_content {
        grid-template-columns: minmax(0, 52%) minmax(0, 48%);
        margin-inline: 12px 0;
    }

    .SS_KEV .side_C .sk_content_right > div:nth-child(1) > div:nth-child(1) {
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .SS_KEV .side_C .sk_content_right > div:nth-child(1) > div:nth-child(2) input {
        inline-size: 45%;
        margin-inline: 4px;
    }
}
