.nowosci_content {margin:20px;container:nowosci_content / inline-size;}
.nowosci_content>h2 {
    font-size:28px;color:var(--h1-color);font-family:var(--gfont2-family), serif;text-align:center;margin-bottom:1em;
    font-weight:500;
    a {color:inherit;}
}
.wrap-news {position: relative;transition: all 0.5s ease-out 0s;overflow:hidden;}
.wrap-news .list-news {margin-inline:60px;}
/*.nowosci_content .arrowNews a{width: 70px;height: 70px;position: absolute;transition: all 0.5s ease-out 0s;display: block;top:0;bottom: 0;margin: auto;background-repeat: no-repeat;background-position: 50% 50%;}*/
/*.nowosci_content .arrowNews a:after {content: "";position: absolute;width: 100%;height: 100%;top:0;left: 0;box-shadow: 0 0 0 2px #FFFFFF;box-sizing: border-box;transition: all 0.5s ease-out 0s;}*/
/*.nowosci_content .arrowNews a:before {content: "";position: absolute;width: 80%;height: 80%;top:0;left: 0;bottom: 0;right: 0;margin: auto;box-sizing: border-box;background-color: var(--g1-color);z-index: -1;transition: all 0.5s ease-out 0s;}*/
/*.nowosci_content .arrowNews a.n_next{background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA0AAAAXCAYAAADQpsWBAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAFxJREFUeNpiYACC////KzCQAoAaDP5DwAJSNZ4nV+N8qMYNQCxAjsYLoxoHlUYmEuKfEUp/INaWBVBb9hN0HkgBEB8gOl1CNVwY1UBVDbCSCIjfA/EEYpMGQIABADbgJaAu4fxpAAAAAElFTkSuQmCC');right: -60px;}*/
/*.nowosci_content .arrowNews a.n_prev{background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA0AAAAXCAYAAADQpsWBAAAABHNCSVQICAgIfAhkiAAAALxJREFUOE+V1FERwjAQhOF/HSABBwwKwAE4ABwhoSjAAjgoDpBQB8ekkzItaXpH37/JNbsXEfzM7AqcgK0ixsyaDF7A3kUFkLpFNAfSZFVUA1W0BGaRBwoUARM0Ak/gKKmrxSEzWwH3dP/ATdLZyy6hB7CLgn48M2uBDdBIuninDCiNl04Lwz7c/F9h+G3EP3BSoygsuheBs4X14FLLq7fq7VOCaWsP4xzdzc2RDOveSoq9ET8wjjJcS3p/AM3Rd29MpOBhAAAAAElFTkSuQmCC');left: -60px;}*/
/*.nowosci_content .arrowNews a:hover:before {width: 100%;height: 100%;background-color: var(--g1-color);}*/
/*.nowosci_content .arrowNews a:hover:after  {box-shadow: 0 0 0 2px var(--g1-color);}*/

.nowosci_content footer.pn-arrows button {
    position:absolute;height:48px;aspect-ratio:1;background-color:#fff;border-radius:10px;
    display:flex;align-items:center;justify-content:center;outline:none;cursor:pointer;
    border:none;inset:0 auto 0 0;margin-block:auto;
    svg {fill:#1357ff;}
    &.next {right:0;left:auto;}
}

.wrap-news article {
    background-color:#fff;border-radius:10px;padding:20px;
}
.wrap-news article a {
    color:#00164d;text-decoration:none;outline: none;
    display:grid;grid-template-columns:auto 1fr;
    font-size:18px;
    gap:1em;
    &>footer {grid-column-start:span 2;}
    h2 {font-size:20px;margin-bottom:.8em;}
    figure {aspect-ratio:16/9;width:260px;}
    img {border-radius:6px;width:100%;height:100%;object-fit:cover;vertical-align:top;}
    footer {border-top:1px solid #dbe7fc;padding-top:10px;}
    time {font-size:16px;display:inline-grid;grid-template-columns:20px 1fr;align-items:center;gap:5px;svg {vertical-align:top;fill:#1357ff;}}
}

#idTmp{position:absolute;top:0;left:0;display:flex;justify-content:center;flex-wrap:nowrap;box-sizing: border-box;}
.animated1{animation-duration:1800ms;animation-fill-mode:both;}
.animated2{animation-duration:1200ms;animation-fill-mode:both;}
.slideInLeftNews {animation-name: slideInLeftNews;}
.fadeOutRightNews {animation-name: fadeOutRightNews;}
.slideInRightNews {animation-name: slideInRightNews;}
.fadeOutLeftNews {animation-name: fadeOutLeftNews;}

@keyframes slideInLeftNews {
0% {opacity: 0;transform: translateX(-2000px);}
100% {transform: translateX(0);}
}

@-webkit-keyframes slideInLeftNews {
0% {opacity: 0;transform: translateX(-2000px);}
100% {transform: translateX(0);}
}

@-webkit-keyframes fadeOutRightNews {
0% {opacity: 1;}
100% {opacity: 0;transform: translate3d(100%, 0, 0);}
}

@keyframes fadeOutRightNews {
0% {opacity: 1;}
100% {opacity: 0;transform: translate3d(100%, 0, 0);}
}

@-webkit-keyframes slideInRightNews {
0% {opacity: 0;transform: translateX(2000px);}
100% {transform: translateX(0);}
}

@keyframes slideInRightNews {
0% {opacity: 0;transform: translateX(2000px);}
100% {transform: translateX(0);}
}

@-webkit-keyframes fadeOutLeftNews {
0% {opacity: 1;}
100% {opacity: 0;transform: translate3d(-100%, 0, 0);}
}

@keyframes fadeOutLeftNews {
0% {opacity: 1;}
100% {opacity: 0;transform: translate3d(-100%, 0, 0);}
}

@container nowosci_content (width < 700px) {
    .wrap-news article a {font-size:1em;}
    .wrap-news .list-news {margin-inline:0}
    .nowosci_content footer.pn-arrows {
        display:flex;align-items: center;;justify-content: center;gap:10px;margin-top:5px;
        button {position:static;}
    }
}
@container nowosci_content (width < 524px) {
    .wrap-news article {padding:10px;}
    .wrap-news article a {
        gap:10px;
        h2 {font-size:1.1em;}
        figure {width:150px;}
    }
}
@container nowosci_content (width < 480px) {
    .wrap-news article a {
        grid-template-columns: auto;
        &>footer {grid-column-start:auto}
    }
}