.logo-spolecnosti {
    margin: 25px 0px 90px 0px;
}

.logo-spolecnosti img {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
    display: block;
}

/*ODKAZY*/
.odkazy {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 15px;
	margin-bottom: 70px;
}

.odkaz {
	text-align: center;
	border-radius: 15px;
	border: 1px solid #004996;
	padding: 20px;
	display: flex;
	align-items: center;
	text-decoration: none;
    transition: 0.5s all ease;
}
.odkaz:hover {
    background-color: #004996;
}
.odkaz:hover p {
    color: white;
}

.odkaz p {
	display: flex;
	align-items: center;
	justify-content: space-between;
	text-decoration: none;
	font-size: 18px;
	font-weight: bold;
	text-transform: uppercase;
	color: #004996;
	width: 100%;
	text-align: left;
    gap: 10px;
}

/*HISTORIE*/
.history-wrapper {
	position: relative;
    height: 500px;
	width: 100%;
	overflow: hidden;
	padding: 40px 0;
    margin-bottom: 50px;
}
.history-absolute {
    position: absolute;
    width: 100%;
}

.history-swiper {
	width: 85%;
    margin: 0 auto;
	position: relative;
    padding: 0px 15px;
}
.history-line {
    height: 1px;
    position: relative;
    top: 15px;
    background-color: #004085;
    width: 100%;
    margin: 0px auto;
}

.swiper-slide {
	width: 150px;
	text-align: center;
	position: relative;
	cursor: pointer;
    overflow: visible;
    border-radius: 0px;
}

.history-item {
	position: relative;
	text-align: center;
	padding-top: 35px;
}

.vertical-line {
	width: 1px;
	height: 30px;
	background: #004085;
	position: absolute;
    top: 0px;
	left: 22.5%;
	transform: translateX(-50%);
    transition: height 0.5s ease;
}

.year {
	margin-top: 10px;
	font-weight: bold;
	color: #004085;
    transition: margin-top 0.5s ease, font-size 0.5s ease;
    text-align: left;
}

.history-item img {
	width: 100%;
	height: 100px;
	object-fit: contain;
	margin-top: 10px;
    transition: transform 0.5s ease;
}

.history-item.active img {
	transform: scale(1.1);
}

.history-item.active .vertical-line {
	height: 65px;
}
.history-item.active .year {
    margin-top: 30px;
    font-size: 30px;
}

.history-navigation {
	display: flex;
	justify-content: space-between;
	margin-top: 20px;
    position: relative;
    top: 35px;  
}

.history-prev,
.history-next {
	cursor: pointer;
	font-size: 24px;
	color: #004085;
}
.history-prev img {
    transform: rotate(180deg);
}

.history-detail {
	text-align: center;
	margin-top: 20px;
	display: none;
}

.history-detail img {
	max-width: 200px;
	margin-bottom: 10px;
}

.history-detail p {
	width: 200px;
    text-align: left;
	margin: 0 auto;
    font-size: 16px;
}
.swiper-button-disabled {
	opacity: 0;
	pointer-events: none;
}
.history-dot {
    width: 15px;
    height: 15px;
    background: #004085;
    border-radius: 5px;
    position: absolute;
    top: 7.5px;
}
.last-slide {
    display: flex;
    justify-content: end;
}


/*O NAS*/
.o-nas {
    margin-bottom: 180px;
    position: relative;
}
.o-nas img {
    display: block;
    width: fit-content;
    margin-left: auto;
    position: absolute;
    bottom: -180px;
    right: -140px;
    z-index: -1;
    max-width: 100%;
}
.o-nas-text {
    width: 90%;
}
@media (max-width: 1830px) {
    .o-nas img {
    right: -20px;
    }
}
@media (max-width: 1000px) {
    .o-nas img {
        position: static;
        height: fit-content ;
    }
    .o-nas {
        display: flex;
    }
}
@media (max-width: 700px) {
    .o-nas {
        flex-direction: column;
        justify-content: center;
    }
    .o-nas-text {
        width: 100%;
    }
}

/*VEDENI*/
.vedeni-wrap {
    border-radius: 20px;
    background-color: #EAF4FF;
    padding-bottom: 75px;
}
#logo-vedeni {
    display: block;
    margin: 0 auto;
    padding: 30px 0px 10px 0px;
}
.vrchni-rada {
    margin-top: 40px;
    display: flex;
    gap: 50px clamp(20px, 5vw, 180px);
    justify-content: center;
    flex-wrap: wrap;
}
.spodni-rada {
    margin-top: 75px;
    display: flex;
    gap: 50px clamp(35px, 6vw, 50px);
    justify-content: center;
    flex-wrap: wrap;
}

.clen-vedeni {
    display: flex;
    align-items: center;
    flex-direction: column;
    width: 240px;
}
.clen-vedeni img {
    height: 160px;
    width: fit-content;
    border-radius: 15px;
    margin-bottom: 20px;
    width: 120px;
    object-fit: cover;
}
.clen-vedeni h3 {
    margin-bottom: 10px;
    color: #004996;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
}
.clen-vedeni p {
    font-size: 16px;
    text-align: center;
}

/*NAŠE HODNOTY*/
.hodnoty-wrap {
    border: 1px solid #004996;
    border-radius: 20px;
    padding: clamp(20px, 10vw, 115px) clamp(50px, 8vw, 130px);
    display: flex;
    flex-direction: column;
    gap: 40px;
}
.hodnota-box {
	display: grid;
	grid-template-columns: auto clamp(300px, 40%, 600px) 1fr;
	align-items: center;
	gap: 20px;
}

.hodnota-cislo {
	font-size: 50px;
	color: #EAF4FF;
}

.hodnota-box h3 {
	font-size: clamp(18px, 2vw, 24px);
	color: #004996;
	text-transform: uppercase;
	margin: 0;
}

.hodnota-box p {
	font-size: 16px;
	text-align: left;
	margin: 0;
}


@media (max-width: 992px) {
	.hodnota-box {
		grid-template-columns: 1fr;
		grid-template-rows: auto auto auto;
		gap: 10px 0;
	}

    .spodni-rada {
        margin-top: 50px;
    }

	.hodnota-cislo {
		font-size: 40px;
	}
}

/*JINE SPOLECNOSTI*/
.jine-spolecnosti {
    margin-top: 75px;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(100%, 1fr)); 
	gap: 1.5rem;
}
@media (min-width: 500px) {
    .jine-spolecnosti {
        grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); 
    }
}

.spolecnost {
	position: relative;
	max-width: 100%;
	width: 100%;
	height: 190px;
	/* background-size: cover; */
    background-size: 100% 100%;
	border-radius: 20px;
	padding: 20px;
	text-align: center;
	overflow: hidden;
	margin: 0 auto;
	background-position: center;
	transition: 0.3s all;
    cursor: pointer;
    text-decoration: none;
}
.spolecnost:hover {
	/* transform: scale(1.03); */
    background-size: 105% 105%;
}
.spolecnost h3 {
    color: white;
    text-transform: uppercase;
    font-size: 24px;
    text-decoration: none;
    display: flex;
	align-items: center;
	justify-content: space-between;
    word-wrap: break-word;
}

.title {
	position: absolute;
	font-size: 18px;
	font-weight: bold;
	color: white;
	bottom: 25px;
	text-align: left;
	width: calc(100% - 40px);
}
@media (min-width: 768px) {
    .title {
        font-size: 24px;
    }
}
.overlay {
	height: 100px;
    position: absolute;
    width: 100%;
    background: linear-gradient( rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 100%);
    bottom: 0px;
    left: 0;
}

.spolecnost h3 img {
	width: 25px;
	height: 25px;
}