.s-jury__image {
    display: block;
    width: 200px;
    height: 200px;
    max-width: 200px;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    border-radius: 50%;
    border: 5px solid #00b164;
    filter: grayscale(100%);
}

.s-custom {
    position: relative;
    padding: 10rem 0 30rem 0;
    color: #20295e;
}

.s-custom .heading {
    margin-bottom: 10rem;
}

.text-green {
    color: #01B063;
}

.contents {
    max-width: 120.8rem;
    width: 100%;
}

.contents .text--medium {
    line-height: 1.6;
    margin-bottom: 35px;
}

.contents .text {
    margin: 0 0 1.5rem;
}

.contents .text--medium span {
    color: #00a652;
}

.img-txt-half {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    border-top: 3px solid #00a652;
    padding-top: 40px;
    padding-bottom: 36px;
}

.img-txt-half__img {
    width: 36%;
}

.img-txt-half__img img {
    max-width: 100%;
    display: block;
    box-shadow: 0 10px 50px rgba(0, 0, 0, .3);
}

.img-txt-half__txt {
    width: 64%;
    padding: 0 0 0 50px;
}

.img-txt-half__txt .text-year {
    font-size: 4.8rem;
    color: #00a652;
    line-height: 1;
    margin-bottom: 30px;
}

.img-txt-half__txt .text--normal {
    line-height: 2;
}

.places {
    margin-top: 9rem;
    margin-bottom: 11rem;
}

ul.places__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.places__list li {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: justify;
    justify-content: space-between;
    position: relative;
    -ms-flex: 1;
    flex: 1;
    margin-bottom: 50px;
}

.places__list li:first-child {
    max-width: 78.7rem;
}

.places__list li:nth-child(2) {
    -ms-flex-direction: row-reverse;
    flex-direction: row-reverse;
    margin-left: auto;
    max-width: 90.7rem;
}

.places__list li:nth-child(3) {
    max-width: 98.3rem;
}

.places__list .place:after {
    content: "";
    height: 4px;
    width: 140%;
    background-color: #00a652;
    display: block;
    position: absolute;
    left: 0;
    bottom: -1.6rem;
}

.places__list .content {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 100%;
    -ms-flex: 1;
    flex: 1;
}

.places__photo {
    max-width: 322px;
    width: 100%;
    z-index: 2;
}

.places__list .place {
    font-size: 3.2rem;
    color: #00a652;
    text-transform: uppercase;
    position: relative;
}

.places__list .name {
    font-size: 2.4rem;
    color: #fff;
    margin-top: 3.5rem;
}

.contents .text-winners {
    margin: 80px 0 0;
}

.proceedings {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: start;
    align-items: flex-start;
    margin: 10rem -1rem 0;
    position: relative;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
}

.proceedings .img {
    width: 50%;
    padding: 0 1rem;
    z-index: 2;
    position: relative;
}

.proceedings .right {
    padding-top: 12rem;
}

.proceedings .o {
    position: absolute;
}

.proceedings .o-left {
    top: -4rem;
    left: -3rem;
}

.proceedings .o-right {
    right: -7rem;
    top: 5rem;
}

.proceedings .o-center {
    left: 26%;
    top: 16rem;
    width: 36%;
}

.three-image {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin: 0 -12px;
    position: relative;
    margin: 0 0 130px;
}

.three-image .o-left {
    bottom: -6rem;
    left: 24%;
}

.three-image .o-right {
    right: -7rem;
    top: -3rem;
}

.three-image__item {
    width: 33.33%;
    padding: 0 12px;
    position: relative;
    z-index: 2;
}

.three-image__item img {
    max-width: 100%;
    display: block;
    box-shadow: 0 10px 50px rgba(0, 0, 0, .3);
}

.distribution {
    margin-top: 10rem;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
}

.distribution .row {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: start;
    align-items: flex-start;
    margin: 0 -1rem 2rem;
    position: relative;
}

.distribution .left {
    padding-top: 12rem;
}

.distribution .img {
    width: 50%;
    padding: 0 1rem;
    z-index: 2;
    position: relative;
}

.distribution .o-left {
    top: 3rem;
    left: -8rem;
}

.t-primary, .text--small {
    color: #00a652;
}

.gallery {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-align: start;
    align-items: flex-start;
    margin: 10rem -1.1rem 0;
}

.gallery img {
    width: calc(50% - 2.2rem);
    margin: 1.1rem;
}

.contest__logo {
    -ms-flex-item-align: center;
    align-self: center;
    max-width: 190px;
    width: 100%;
    margin-top: 10rem;
}

form.form .form__cell {
    margin-bottom: 15px;
}

.form__row--files, .form__row--checkbox {
    margin-bottom: 15px;
}

.form__row--files, .form__row--checkbox a {
    text-decoration: underline;
}

.form__row--files, .form__row--checkbox a:hover {
    text-decoration: none;
}

form.form .form__cell input,
form.form .form__cell select {
    border: 1px solid #1A245D;
    padding: 0.75rem 1.25rem;
    width: 100%;
}

.button__row {
    text-align: center;
    margin-top: 50px;
}

.button__row button {
    background: #01B063;
    border: none;
    color: #fff;
    padding: 10px;
}

.button__row button:hover {
    background: #007341;
}

.form__message {
    margin-top: 50px;
    position: relative;
    padding: 0.75rem 1.25rem;
    border: 1px solid transparent;
    border-radius: 0.25rem;
}

.form__message.form__message--success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.form__message.form__message--error {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

body.long .s-hero__curtain-left { height: 20000px !important; }
body.long .s-hero__curtain-left img { height: 100% !important; }

.s-faq__faq-item a {
    text-decoration: underline;
}
.s-faq__faq-item a:hover {
    text-decoration: none;
}

.s-faq__faq-item {
    padding: 2.4rem 0 2.4rem 0;
}

.s-faq__faq-item .s-faq__faq-header h3 i {
    background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJ3aGl0ZSI+PHBhdGggZD0iTTAgNy4zM2wyLjgyOS0yLjgzIDkuMTc1IDkuMzM5IDkuMTY3LTkuMzM5IDIuODI5IDIuODMtMTEuOTk2IDEyLjE3eiIvPjwvc3ZnPg==);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 2.4rem;
    height: 2.4rem;
    display: inline-block;
    transition: all 0.2s ease;
    margin-right: 15px;
    position: relative;
    top: 3px;
}

.s-faq__faq-item.s-faq__faq-item--active .s-faq__faq-header h3 i {
    transform: rotate(180deg);
}

.s-faq__faq-item:after {
    display: none;
}

#fb {
    top: 200px;
    position: fixed;
    right: 0;
    z-index: 99;
    width: 50px;
    background: #fff;
    border-radius: 7px 0 0 7px;
    display: flex;
    justify-content: center;
    text-align: center;
}

#ig {
    top: 265px;
    position: fixed;
    right: 0;
    z-index: 99;
    width: 50px;
    padding: 7px;
    background: #fff;
    border-radius: 7px 0 0 7px;
    display: flex;
    justify-content: center;
    text-align: center;
}

#fb img {
    width: 40px;
}

#ig img {
    width: 32px;
}

#buy {
    display: block;
    width: 39px;
    height: 188px;
    position: fixed;
    top: 330px;
    right: 0;
    z-index: 99;
}

.s-jury__social {
    margin-top: 20px;
}

.s-jury__social a {
    margin-right: 10px;
}

.form__row--checkbox.error label:after {
    border-color: #dc3545 !important;
}

.form__row--checkbox.error label span,
.form__row--checkbox.error label span a {
    color: #dc3545 !important;
}

select.error {
    border-color: #dc3545 !important;
}

body.white {
    background-color: #fff !important;
}

.s-custom {
    margin-top: 100px;
}

.form__input--text.error {
    border-color: #dc3545 !important;
}

label.error {
    color: #dc3545 !important;
}


/* Reset stylów dla iOS/Safari */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
select,
textarea,
input.flatpickr-input,
.flatpickr-input {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;

    -webkit-box-sizing: border-box;
    box-sizing: border-box;

    background-color: #ffffff;
    border: 1px solid #1A245D;
    padding: 0.75rem 1.25rem;
    width: 100%;
    border-radius: 0;
    max-width: 100%;
    min-height: 36.5px;
}

/* Specjalnie dla select (lista rozwijana) */
select {
    background-image: url('data:image/svg+xml;utf8,<svg fill="%23333" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 20px;
    padding-right: 35px;
}

/* Dla pola z kalendarzem (date input) */
input[type="date"] {
    position: relative;
}

/* Dla mobilnego kalendarza flatpickr */
.flatpickr-calendar {
    font-size: 16px;
}

/* Jeśli używasz flatpickr w trybie mobile */
.flatpickr-mobile {
    min-height: 50px;
    padding: 10px 15px;
}

.footer-primary__group h2 {
    margin-bottom: 2rem;
}

.footer-primary__logotypes {
    margin: 40px 0;
}

@media (max-width: 700px) {
    .footer-primary__logotypes {
        display: block;
        width: 100% !important;
    }

    .footer-primary__group:is(:first-child) {
        margin-top: 4rem !important;
    }

    .footer-primary__group:not(:first-child) {
        margin-top: 5rem !important;
    }

    .footer-primary__logotype a {
        display: block !important;
        text-align: center !important;
        width: 100% !important;
    }

    .footer-primary__logotype a img {
        height: auto !important;
        max-width: 80% !important;
    }
    .footer-primary__group:nth-child(1) .footer-primary__logotypes {
        margin: 0 !important;
    }

    .s-jury__social {
        display: block !important;
        text-align: center !important;
    }

    .s-jury__social a {
        align-items: center !important;
        justify-content: center !important;
        padding-bottom: 10px !important;
    }
}

.s-jury__social {
    display: flex;
}

.s-jury__social a {
    display: flex;
}

.s-jury__social a:hover {
    color: #00B165;
}

.s-jury__social a:hover svg {
    stroke: #00B165;
}

.s-jury__social a span {
    padding-left: 5px;
}

@media (max-width: 575.98px) {
    .footer-primary__logotype {
        width: 100% !important;
        margin: 50px 0 0 0;
        padding: 0;
    }
}

.footer-primary__logotype a img {
    height: 40px;
}
.footer-primary__group:nth-child(1) .footer-primary__logotype:nth-child(3) a img {
    height: 35px;
}
.footer-primary__group:nth-child(2) .footer-primary__logotype:nth-child(3) a img,
.footer-primary__group:nth-child(2) .footer-primary__logotype:nth-child(5) a img {
    height: 35px;
}
