.nasze-projekty-tlo
{
    background-color: white;
    position: relative;
    z-index: 9;
    padding-bottom: 82px;
}

.modul-start-aktualnosci-startowe
{
    max-width: 1232px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.aktualnosci-agregator-tlo
{
    display: none;
}

.artykuly
{
    display: flex;
    flex-wrap: wrap;
    gap: 62px;
    position: relative;
    top: 200px;
    opacity: 0;
    transition: 0.6s;
}

/* linia */

    .line-left
    {
        content: '';
        display: block;
        width: 3215px;
        height: 3376px;
        background-image: url(../grafika/linia.webp);
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
        position: absolute;
        right: 41vw;
        top: -107vh;
        z-index: 0;
        opacity: 0;
        pointer-events: none;
    }

    .line-right
    {
        content: '';
        display: block;
        width: 3215px;
        height: 2624px;
        background-image: url(../grafika/linia.webp);
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
        position: absolute;
        left: 62vw;
        top: -87vh;
        z-index: 0;
        opacity: 1;
        pointer-events: none;
    }

/**/

/* Obiekt */

    .aktualnosci-tlo
    {
        width: 100%;
        max-width: 369px;
    }

/**/

/* Tytuł */

    .modul-start-aktualnosci-startowe-tytul
    {
        display: none;
    }

    .nasze-projekty__tytul {
        font-family: 'Titillium Web', sans-serif;
        font-size: 147px;
        line-height: 177px;
        font-weight: 900;
        color: black;
        text-transform: uppercase;
        margin: 0;
        margin-bottom: 82px;
        z-index: 1;
        position: relative;
    }

    .nasze-projekty__tytul span:first-child {
        display: block;
        margin-bottom: -100px;
        position: relative;
        top: 100px;
        opacity: 0;
        transition: 0.6s;
    }

    .nasze-projekty__tytul span:last-child {
        color: transparent;
        -webkit-text-stroke: 1px black;
        display: block;
        position: relative;
        top: 200px;
        transition: 0.6s;
    }

    .nasze-projekty__tytul__srodek {
        max-width: 1232px;
        margin: 0 auto;
        display: flex;
        gap: 32px;
    }

/**/

/* treść */

    .aktualnosci-tresc-tlo
    {
        display: none;
        opacity: 0;
        width: 1232px;
        /* position: absolute;
        left: 0; */
        position: relative;
        transition: 0.4s;
    }

    .nasze-projekty-tlo article
    {
        transition: 0.4s;
    }

    .aktualnosci-ikona-tlo
    {
    }

    /* .nasze-projekty-tlo article.open
    {
        max-width: 413px;
        margin-left: -22px;
        margin-right: -22px;
    }

    .nasze-projekty-tlo article.open .aktualnosci-ikona-tlo {
        width: 413px;
        height: 407px;
    } */

    article:nth-child(3n - 2) .aktualnosci-tresc-tlo
    {
        left: 0px;
    }

    article:nth-child(3n - 1) .aktualnosci-tresc-tlo
    {
        left: -431px;
    }

    article:nth-child(3n) .aktualnosci-tresc-tlo
    {
        left: -862px;
    }

    article.open .aktualnosci-tresc-tlo
    {
        /* display: block; */
        display: flex;
        gap: 16px;
        justify-content: flex-start;
        align-items: stretch;
        opacity: 1;
        padding: 32px 0;
        animation: pokaz_projekt 500ms ease-in 0s 1 normal;
    }
    @keyframes pokaz_projekt {
        0%   { opacity: 0;}
        100%  { opacity: 100;}
    }

    /* Wygląd treści */

    .aktualnosci-dzial
    {
        display: none;
    }

    .aktualnosci-tytul2
    {
        font-family: 'Titillium Web', sans-serif;
        font-weight: 700;
        font-size: 24px;
        line-height: 24px;
        margin-bottom: 16px;
        margin-top: 6px;
    }

    .strona-data span:nth-child(2)
    {
        display: none;
    }

    .strona-data
    {
        font-family: 'Open Sans', sans-serif;
        font-weight: 200;
        font-size: 14px;
        line-height: 24px;
        /* position: absolute;
        top: 72px; */
    }

    .aktualnosci-skrot
    {
        font-family: 'Open Sans', sans-serif; 
        font-weight: 200;
        font-size: 14px;
        line-height: 24px;
    }


/**/

/* button */

    .aktualnosci-skrot a,
    #zobacz-wiecej
    {
        text-decoration-color: transparent;
        display: block;
        color: white;
        border: 1px solid black;
        background-color: black;
        border-radius: 2rem;
        padding: 16px 48px;
        width: max-content;
        font-weight: 500;
        transition: 0.4s;
    }

    #nasze-projekty .aktualnosci-skrot a{
        border-left: 0px none transparent;
        border-right: 0px none transparent;
        background-color: transparent;
        border-top: 1px solid rgb(241, 241, 241);
        border-bottom: 1px solid rgb(241, 241, 241);
        display: block;
        color: black;
        width: 100%;
        border-radius: 0;
        font-weight: 700;
        font-size: 18px;
        padding-top: 32px;
        padding-bottom: 32px;
        margin-top: 48px;
        position: relative;
        padding-left: 2px;
        padding-right: 0px;
    }

    /* Link zewn */

    #nasze-projekty .aktualnosci-skrot a[target="_blank"]::after{
        opacity: 0;
    }

    #nasze-projekty .aktualnosci-skrot a:hover[target="_blank"]::after {
        content: url(../grafika/link_zewn.png);
        position: absolute;
        top: 8px;
        right: 16px;
        opacity: 0.6;
    }

    /**/

    #nasze-projekty .aktualnosci-skrot a:hover{ 
        opacity: 0.6;
        background-color: transparent;
    }
    #zobacz-wiecej-info {
        margin: 0 auto;
        margin-top: 64px;
        font-size: 14px;
        text-align: center;
        margin-bottom: 16px;
    }
    #zobacz-wiecej-pasek {
        margin: 4px auto 24px auto;
        height: 2px;
        background-color: #eeeeee;
        position: relative;
        width: 200px;
    }
    #zobacz-wiecej-pasek span {
        display: block;
        background-color: #FFE200;
        height: 2px;
        left: 0;
        top: 0;
        transition: all 0.5s;
    }
    #zobacz-wiecej
    {
        margin: 0 auto;
        cursor: pointer;
        font-size: 18px;
        font-weight: 300;
        margin-top: 16px;
        background-color: black;
        font-family: 'Titillium Web', sans-serif;
    }

    .aktualnosci-skrot a:hover,
    #zobacz-wiecej:hover
    {
        background-color: rgb(58, 58, 58);
    }

/**/

/* Grafika */
    .aktualnosci-ikona-tekst
    {
        padding: 16px 32px;
        font-size: 14px;
        width: 305px;
        height: 337px;
        cursor: pointer;
        position: absolute;
        z-index: 2;
        opacity: 0;
        background-color: rgba(0,0,0,0.75);
        color: #fff;
        transition: all 0.5s;
        overflow: hidden;
    }

    .aktualnosci-ikona-tlo
    {
        width: 369px;
        height: 369px;
        cursor: pointer;
    }

    .aktualnosci-ikona
    {
        width: 100%;
        height: 100%;
        background-size: cover!important;
        background-position: top!important;
    }

    /* .nasze-projekty-tlo article.open .aktualnosci-ikona-tlo{
        border: 4px solid #FFE200;
        margin: -4px;
    } */
    .nasze-projekty-tlo article.open .aktualnosci-ikona-tekst,
    .nasze-projekty-tlo article:hover .aktualnosci-ikona-tekst {
        opacity: 1;
    }

    .strona-tresc-ikona-tlo {
        flex: 1 0 456px;
        max-width: 456px;
        position: relative;
        overflow: hidden;
        height: 0px;
        transition: all 0.5s;
    }
    .strona-tresc-ikona-tlo:hover {
        overflow-y: auto;
    }
    .strona-tresc-ikona-img {
        width: 432px;
        height: inherit;
        height: fit-content;
        object-fit: cover;
        /* background-size: cover;
        background-position: center top;
        background-repeat: no-repeat; */
    }
    

/**/

/* Scrollbar*/

/* Customize website's scrollbar like Mac OS
Not supports in Firefox and IE */

/* total width */
body::-webkit-scrollbar {
    background-color: #fff;
    width: 16px;
}

/* background of the scrollbar except button or resizer */
body::-webkit-scrollbar-track {
    background-color: #fff;
}

/* scrollbar itself */
body::-webkit-scrollbar-thumb {
    background-color: #babac0;
    border-radius: 16px;
    border: 4px solid #fff;
}

/* set button(top and bottom of the scrollbar) */
body::-webkit-scrollbar-button {
    display:none;
}

/* Responsywna */

    @media all and (min-width: 0px) and (max-width: 639px) 
    {     
        .aktualnosci-ikona-tekst{
            width: 266px;
        }
        .artykuly
        {
            justify-content: center;
        }

        .aktualnosci-tlo
        {
            width: 88%;
            max-width: 88%;
        }

        .aktualnosci-ikona-tlo
        {
            width: 100%!important;
        }
        .aktualnosci-tresc-tlo{
            flex-direction: column;
        }
        .strona-tresc-ikona-tlo{
            overflow: scroll;
        }
    }
    
    @media all and (min-width: 640px) and (max-width: 1023px)
    {
        .strona-tresc-ikona-tlo{
            overflow: scroll;
        }
        .aktualnosci-tresc-tlo{
            flex-direction: column;
        }
        .line-right
        {
            display: none;
        }

        .line-left
        {
            display: none;
        }

        .nasze-projekty__tytul__srodek
        {
            display: flex;
            flex-direction: column;
        }

        article:nth-last-child(2n+2) .aktualnosci-tresc-tlo
        {
            left: -429px;
            width: 810px;
        }

        .nasze-projekty__tytul__srodek
        {
            max-width: 88%;
        }

        .modul-start-aktualnosci-startowe
        {
            max-width: 88%;
        }

        .artykuly
        {
            gap: 16px;
        }

        .aktualnosci-tlo
        {
            max-width: 48%;
        }

        .aktualnosci-ikona-tlo
        {
            width: 100%;
        }
    }

    @media all and (min-width: 1024px) and (max-width: 1280px)
    {

    }

/**/