@import url("https://fonts.googleapis.com/css2?family=Lexend:wght@100..900&display=swap");

*,
:after,
:before {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

body,
html {
    font-family: sans-serif;
    line-height: 1.4
}

body {
    min-height: 100vh
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: inherit;
    font-weight: inherit
}

ol,
ul {
    list-style: none
}

a {
    color: inherit;
    text-decoration: none
}

img {
    height: auto;
    max-width: 100%
}

button {
    background: none;
    border: none;
    cursor: pointer
}

input,
textarea {
    border: none;
    outline: none;
    padding: 0
}

table {
    border-collapse: collapse;
    border-spacing: 0
}

body {
    background: #2c3240;
    font-family: Lexend, sans-serif;
    font-weight: 300
}

@media (max-width:959px) {
    body.opened-nav {
        overflow: hidden
    }
}

h2 {
    font-size: 36px;
    margin-bottom: .5rem
}

h2,
h3 {
    color: #e5783c;
    font-weight: 600;
    text-align: center
}

h3 {
    font-size: 1.3125rem
}

.container {
    margin: auto;
    max-width: 68.75rem;
    padding: 0 1rem;
    width: 100%
}

.btn {
    background: #fff;
    border-radius: .375rem;
    color: #e5783c;
    display: inline-flex;
    font-size: .875rem;
    font-weight: 600;
    letter-spacing: .5px;
    padding: .75rem 1.5rem;
    text-transform: uppercase;
    transition: all .25s ease-in-out
}

.btn:hover {
    background: #e5783c;
    color: #fff
}

.more {
    align-items: center;
    color: #e5783c;
    display: flex;
    font-size: .875rem;
    gap: .5rem;
    justify-content: center;
    transition: all .25s ease-in-out
}

.more:hover {
    color: #fff
}

.more svg {
    width: 1rem
}

.header {
    position: relative;
    z-index: 10
}

.header__topline {
    background: #212632;
    color: #abadb3;
    display: none;
    padding: .5rem 0
}

@media (min-width:960px) {
    .header__topline .container {
        align-items: center;
        display: flex;
        gap: 2rem;
        justify-content: flex-end
    }

    .header__topline {
        display: block
    }

    .header__list--topline {
        align-items: center;
        display: flex;
        font-size: .875rem;
        gap: 2rem;
        justify-content: flex-end
    }
}

.header__link--topline {
    align-items: center;
    display: flex;
    gap: .25rem
}

.header__link--topline.active,
.header__link--topline:hover {
    color: #fff
}

.header__search {
    width: 10.9375rem
}

.header__form-group,
.header__input {
    position: relative
}

.header__input {
    background: #2c3240;
    border: 1px solid #373c47;
    color: #fff;
    padding: .75rem;
    width: 100%
}

.header__input:focus {
    border-color: #e5783c
}

.header__input::-moz-placeholder {
    color: #abadb3
}

.header__input::placeholder {
    color: #abadb3
}

.header__button {
    align-items: center;
    display: flex;
    height: 100%;
    justify-content: center;
    position: absolute;
    right: 0;
    top: 0;
    transition: all .25s ease-in-out;
    width: 2.5rem
}

.header__button:hover {
    opacity: .8
}

.header__main .container {
    display: flex;
    justify-content: space-between
}

@media (max-width:959px) {
    .header__main .container {
        align-items: center
    }

    .header__main {
        background: #212632;
        padding-block: .5rem
    }
}

.header__logo {
    align-items: center;
    background: #fff;
    border-radius: 50%;
    display: flex;
    height: 5rem;
    justify-content: center;
    position: relative;
    width: 5rem;
    z-index: 10
}

.header__logo img {
    width: 90%
}

@media (min-width:960px) {
    .header__logo {
        height: 8.125rem;
        margin: -3rem 0 0 1rem;
        width: 8.125rem
    }
}

@media (min-width:1100px) {
    .header__logo {
        margin-left: 3rem
    }
}

@media (max-width:959px) {
    .header__nav--main {
        background: #212632;
        inset: 0;
        opacity: 0;
        overflow-y: auto;
        padding: 7rem 1rem;
        position: fixed;
        top: 0;
        transform: translateX(-100%);
        transition: all .25s ease-in-out;
        z-index: 5
    }

    .header__nav--main.opened-nav {
        opacity: 1;
        transform: translateX(0)
    }
}

@media (min-width:960px) {
    .header__nav--main .header__list--topline {
        display: none
    }
}

@media (max-width:959px) {
    .header__nav--main .header__link--topline {
        color: #fff;
        padding: .5rem 0
    }
}

.header__nav--main .header__link--topline.active {
    color: #fff
}

.header__nav--main .header__search {
    padding-top: 1rem;
    width: 100%
}

@media (min-width:960px) {
    .header__nav--main .header__search {
        display: none
    }

    .header__list--main {
        align-items: center;
        display: flex;
        gap: .5rem;
        justify-content: flex-end
    }
}

.header__link--main {
    align-items: center;
    background: rgba(33, 38, 50, .502);
    color: #fff;
    display: flex;
    font-weight: 600;
    justify-content: flex-start;
    padding: .5rem 0;
    transition: background .25s ease-in-out
}

@media (min-width:960px) {
    .header__link--main {
        align-items: center;
        display: flex;
        justify-content: flex-end;
        padding: .3rem 1rem .3rem .5rem
    }
}

.header__link--main:hover {
    background: #212632
}

.header__link--main.active {
    background: #212632;
    color: #e5783c
}

.header__nav-btn {
    display: flex;
    flex-direction: column;
    height: 2rem;
    justify-content: space-between;
    position: relative;
    width: 2.5rem;
    z-index: 20
}

@media (min-width:960px) {
    .header__nav-btn {
        display: none
    }
}

.header__nav-btn span {
    background: #fff;
    display: block;
    height: 1px;
    transition: all .25s ease-in-out;
    width: 100%
}

.header__nav-btn.opened-nav span:first-child {
    position: absolute;
    top: 50%;
    transform: rotate(45deg);
    transform-origin: center
}

.header__nav-btn.opened-nav span:nth-child(2) {
    opacity: 0;
    position: absolute;
    transform: scale(0)
}

.header__nav-btn.opened-nav span:last-child {
    position: absolute;
    top: 50%;
    transform: rotate(-45deg);
    transform-origin: center
}

.hero {
    color: #fff;
    display: flex;
    min-height: 12.5rem;
    padding: 2rem 0;
    position: relative;
    text-align: center
}

@media (min-width:960px) {
    .hero {
        margin-top: -5.25rem
    }

    .hero.hero-homepage {
        min-height: 30rem
    }

    .hero-article {
        padding: 0
    }

    .hero-article .hero__image {
        position: static
    }
}

@media (min-width:960px) and (min-width:960px) {
    .hero-article {
        height: 30rem
    }
}

.hero .container {
    align-items: center;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center
}

.hero__image {
    height: 100%;
    inset: 0;
    -o-object-fit: cover;
    object-fit: cover;
    position: absolute;
    width: 100%;
    z-index: -1
}

.hero__title {
    font-size: 2.5rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: .75rem;
    max-width: 35.625rem
}

@media (min-width:960px) {
    .hero__title {
        font-size: 3.75rem
    }
}

.hero__title span {
    position: relative
}

.hero__title img {
    bottom: -.5rem;
    margin-left: -.25rem;
    position: absolute
}

@media (min-width:960px) {
    .hero__title img {
        bottom: 0
    }

    .hero__subtitle {
        margin-bottom: -1rem
    }
}

.news {
    background: #2c3240;
    padding: 2rem 0
}

@media (min-width:960px) {
    .news {
        padding: 3rem 0
    }
}

.news h2,
.news__list {
    margin-bottom: 2rem
}

.news__list {
    display: flex;
    flex-direction: column;
    gap: 2rem
}

@media (min-width:960px) {
    .news__list {
        -moz-column-gap: 1rem;
        column-gap: 1rem;
        flex-direction: row;
        flex-wrap: wrap;
        row-gap: 2rem
    }
}

.news__item {
    background: #1d212c;
    border: 1px solid transparent;
    margin: 0 auto;
    max-width: 31.25rem;
    padding: .75rem;
    position: relative;
    transition: all .25s ease-in-out
}

@media (min-width:960px) {
    .news__item {
        margin: 0;
    }
}

.news__item:hover {
    background: #212632;
    border-color: #e5783c
}

.news__item:hover .news__label {
    background: #e5783c;
    color: #fff
}

.news__item:hover .news__fake-link {
    color: #fff
}

@media (min-width:960px) {
    .news__item {
        width: calc(25% - 1rem)
    }
}

.news__label {
    background: #fff;
    border-radius: 6px 6px 0 0;
    color: #e5783c;
    font-size: .6875rem;
    font-weight: 600;
    letter-spacing: 5%;
    padding: .25rem .5rem;
    position: absolute;
    right: .75rem;
    text-transform: uppercase;
    top: -.75rem;
    transition: all .25s ease-in-out
}

.news__image {
    /*aspect-ratio: 298/170;*/
    margin-bottom: .5rem;
    max-width: none;
    -o-object-fit: cover;
    object-fit: cover;
    width: 100%
}

@media (min-width:680px) {
    .news__image {
        aspect-ratio: 235/170
    }
}

.news__title {
    font-size: 1.0625rem;
    margin-bottom: .5rem;
    text-align: left
}

.news__excerpt {
    color: #fff;
    font-size: .875rem
}

.news__cta {
    display: flex;
    font-size: .75rem;
    justify-content: flex-end;
    margin-top: .5rem
}

.news__link {
    inset: 0;
    position: absolute
}

.news__more {
    display: flex;
    justify-content: center
}

.prefooter {
    color: #fff;
    padding: 2rem 0;
    position: relative
}

@media (min-width:960px) {
    .prefooter {
        padding: 2.875rem 0
    }
}

.prefooter .container {
    max-width: 51.25rem
}

.prefooter__image {
    height: 100%;
    inset: 0;
    -o-object-fit: cover;
    object-fit: cover;
    position: absolute;
    width: 100%;
    z-index: -1
}

.prefooter__heading {
    margin-bottom: 1rem
}

@media (min-width:960px) {
    .prefooter__heading {
        text-align: left
    }

    .prefooter__contacts {
        display: grid;
        grid-template-columns: repeat(3, 1fr)
    }
}

.prefooter__info {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: .5rem;
    margin-block: 1rem
}

@media (min-width:960px) {
    .prefooter__info {
        margin: -1rem 0 0
    }
}

.prefooter .logo-wrapper {
    display: inline-flex;
    background: #fff;
    border-radius: 50%;
    padding: .5rem;
}

.prefooter__logo {

    width: 6.25rem
}

@media (min-width:960px) {
    .prefooter__extra-list {
        padding-left: 3vw
    }
}

.prefooter li {
    margin-bottom: .5rem
}

.prefooter a {
    align-items: center;
    display: flex;
    gap: .5rem;
    justify-content: center
}

@media (min-width:960px) {
    .prefooter a {
        justify-content: flex-start
    }
}

.prefooter a:hover {
    color: #e5783c;
    text-decoration: underline
}

.footer {
    background: #1d212c;
    color: #414753;
    padding: 1.5rem 0
}

.footer svg {
    fill: #414753;
    max-width: 8.75rem;
    width: 100%
}

.footer .container {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: .25rem
}

.footer__texts {
    font-size: .6875rem
}

.pagination__list {
    align-items: center;
    display: flex;
    gap: .5rem;
    justify-content: center
}

.pagination__item a,
.pagination__item span {
    align-items: center;
    background: #fff;
    border: 1px solid #fff;
    border-radius: .375rem;
    color: #e5783c;
    display: inline-flex;
    font-size: .75rem;
    font-weight: 600;
    height: 2.25rem;
    justify-content: center;
    transition: all .25s ease-in-out;
    width: 2.25rem
}

.pagination__item a:hover {
    background: #e5783c;
    border-color: #e5783c;
    color: #fff
}

.pagination__item--prev svg {
    transform: rotate(180deg)
}

.pagination__link.active {
    border-color: #e5783c
}

.pagination__link svg {
    height: 1rem;
    width: 1rem
}

.discussion {
    padding: 2rem 0
}

@media (min-width:960px) {
    .discussion {
        padding: 2.875rem 0 4rem
    }
}

.discussion .container {
    max-width: 50rem
}

.discussion__list {
    display: grid;
    gap: 1rem;
    margin-bottom: 2rem
}

.discussion__header {
    align-items: center;
    background: #1d212c;
    display: flex;
    justify-content: space-between;
    padding: 1rem
}

@media (min-width:960px) {
    .discussion__header {
        padding: 1rem 2rem
    }
}

.discussion__author {
    color: #e5783c;
    font-weight: 600
}

.discussion__date {
    color: #abadb3;
    font-size: .6875rem
}

.discussion__content {
    background: rgba(33, 38, 50, .4);
    color: #fff;
    padding: 1rem
}

@media (min-width:960px) {
    .discussion__content {
        padding: 1rem 2rem
    }
}

.discussion__form {
    background: rgba(33, 38, 50, .6);
    padding: 2rem
}

@media (min-width:960px) {
    .discussion__form {
        padding: 2rem 3rem 3rem
    }
}

.discussion__form-content {
    display: flex;
    flex-direction: column;
    gap: 1rem
}

.discussion__form-title {
    margin-bottom: 1rem
}

.discussion__input,
.discussion__textarea {
    background: #2c3240;
    border: 1px solid #373c47;
    color: #fff;
    display: block;
    padding: 1rem;
    width: 100%
}

.discussion__input:focus,
.discussion__input:hover,
.discussion__textarea:focus,
.discussion__textarea:hover {
    border-color: #e5783c
}

.discussion__textarea {
    height: 13.75rem
}

.discussion__actions {
    align-items: center;
    display: flex;
    justify-content: center;
    margin-top: 1rem
}

.gallery {
    background: rgba(33, 38, 50, .302);
    padding: 2rem 0
}

@media (min-width:960px) {
    .gallery {
        padding: 2.875rem 0 4rem
    }
}

.gallery__title {
    font-size: 1.3125rem
}

.gallery__list {
    display: grid;
    gap: 1rem
}

@media (min-width:420px) {
    .gallery__list {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media (min-width:760px) {
    .gallery__list {
        grid-template-columns: repeat(4, 1fr)
    }
}

.gallery__link {
    border: 1px solid transparent;
    position: relative
}

.gallery__link,
.gallery__link:after {
    display: flex;
    transition: all .25s ease-in-out
}

.gallery__link:after {
    background: rgba(33, 38, 50, .698) url(../images/zoom.svg) no-repeat 50%;
    content: "";
    inset: 0;
    opacity: 0;
    position: absolute;
    scale: 0
}

.gallery__link:hover {
    border-color: #e5783c
}

.gallery__link:hover:after {
    opacity: 1;
    scale: 1
}

.gallery__image {
    aspect-ratio: 260/175;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    width: 100%
}

.breadcrumb {
    color: #abadb3;
    margin-block: 1rem
}

.breadcrumb__list {
    display: flex;
    flex-wrap: wrap;
    gap: .25rem
}

.breadcrumb__item:not(:last-child):after {
    content: "/"
}

.breadcrumb__link:hover,
.breadcrumb__text {
    color: #fff
}

.article {
    padding: 1rem 0 2rem
}

@media (min-width:960px) {
    .article {
        padding: 1rem 0 4rem
    }
}

.article .container {
    max-width: 50rem
}

article {
    color: #fff
}

article h1 {
    color: #e5783c;
    font-size: 2.25rem;
    font-weight: 600
}

article h1+p {
    font-size: .75rem;
    margin-bottom: 2rem;
    margin-top: 0
}

article h2 {
    font-size: 1.3125rem;
    text-align: left
}

article h2:not(:first-child) {
    margin-top: 2rem
}

article h3 {
    font-size: 1.125rem
}

article p {
    margin-block: 1rem
}

article ul {
    list-style-type: disc;
    margin-block: 2rem;
    padding-left: 2rem
}

article ul li::marker {
    color: #e5783c
}

article ul li:not(:last-child) {
    margin-bottom: 1rem
}

span.date {
    display: block;
    color: white;
    font-size: 0.7rem;
    font-weight: bold;
    padding-bottom: 5px;
}


.message p {
    margin: 0.2rem 0;
}

.error-message {
    color: red;
}

.succes-message {
    color: green;
}

.termsfeed-com---palette-light.termsfeed-com---nb {
    background: #f0f0f0 !important;
    font-family: Catamaran, sans-serif;

    box-shadow: rgba(0, 0, 0, 0.16) 0px 10px 36px 0px,
        rgba(0, 0, 0, 0.06) 0px 0px 0px 1px;
}

.termsfeed-com---nb .cc-nb-okagree,
.termsfeed-com---nb .cc-nb-reject,
.termsfeed-com---nb .cc-cp-foot-save,
.termsfeed-com---nb .cc-nb-changep {
    color: white !important;
    background-color: #e5783c !important;
    text-decoration: none;
    padding: 5px 15px !important;
    font-size: 1rem !important;
    text-transform: uppercase !important;
    margin-right: 1rem !important;
    font-weight: normal !important;
}

.termsfeed-com---nb .cc-nb-reject {
    background: lightgray !important;
    color: #333 !important;
}

.termsfeed-com---palette-light .cc-nb-okagree:focus,
.termsfeed-com---nb .cc-nb-reject:focus,
.termsfeed-com---nb .cc-cp-foot-save:focus,
.termsfeed-com---nb .cc-nb-changep:focus {
    border: none !important;
    box-shadow: none !important;
}

.termsfeed-com---nb .cc-nb-changep {
    background: none !important;
    color: gray !important;
    text-decoration: underline !important;
}

.termsfeed-com---nb .cc-nb-main-container {
    max-width: 960px;
    margin: 0 auto;
    text-align: center;
    /*background: white !important*/
}

#termsfeed-com---nb {
    /*background: white !important*/
}

.cc-cp-body-tabs li::before {
    background-image: none !important;
    content: none !important;
}

footer .footer__texts a:hover {
    color: #e5783c
}

.finder-result div {
    margin-bottom: 3rem;
}

.finder-result h3 {
    text-align: left;
}

.finder-result span.search-term {
    background: #6c6c6c
}

@media (max-width:959px) {
    .news__excerpt {
        font-size: 1rem
    }

    span.date {
        font-size: 0.9rem;
    }

    .news__title {
        font-size: 1.5rem;
    }
}

main.article article a {
    text-decoration: underline;
}

main.article article hr {
    border: 1px solid #3e4451;
    margin: 2rem 0;
}

main.article article h3 {
    margin-top: 2.5rem;
}

h2.podporujeme {
    background: url(../images/spoluprace.svg) no-repeat center left;
    padding-left: 36px;
}


.grid-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

/* První řádek – obrázek přes celou šířku */
.grid-item.large img {
    width: 100%;
    height: auto;
    display: block;
}

/* Druhý řádek – dvě buňky vedle sebe */
.grid-item.half img {
    width: 100%;
    height: auto;
    display: block;
}

/* Responzivita – od určité šířky zobrazíme dvě buňky vedle sebe */
@media (min-width: 600px) {
    .grid-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-item.large {
        grid-column: span 2;
    }
}

.highlight {
    border: 2px solid #e5783c;
    padding: 1rem;
    margin: 1rem 0;
}

.highlight h3 {
    margin-top: 0 !important;
}

.highlight p:last-child {
    margin-bottom: 0;
}

.highlight p:first-child {
    margin-top: 0;
}