a {
    color: var(--color-accent);
}

.pagination-nav{
    margin-top:25px;
}

.page-link{
    color: rgb(13, 99, 90) !important;
}


.active{
    .page-link{
        background-color: var(--color-accent) !important;
        color: var(--color-white) !important;
    }
}

/* Включить чтобы сделать меню зелёным. Но я, как разраб, против. Некрасиво.*/
/* .header-nav {
    background-color: var(--color-accent);
}

@media screen and (max-width: 1023px) {
	.header-nav {
		background-color: transparent !important;
	}
} */

.search-directions__main-list .directions-list__item:not(:nth-child(-n+10)){
    display: block !important;
}

.flex-switch {
    display: flex;
    gap: 20px;
    align-items: stretch;
    max-height: 456px;
}

.card-bottom-link {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 480px;
    background: var(--color-gray);
    border-radius: 12px;
    margin-left: auto;
    margin-right: auto;
}

.card-bottom-link img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    object-fit: contain;
    padding: 2rem;
}

@media (max-width: 768px) {
    .flex-switch {
        flex-direction: column;
        max-height: none;
    }
    .card-bottom-link,
    .flex-switch  {
        width: 100%;
        max-width: none;
    }

    .card-bottom-link {
        width: 100%;
        max-width: none;
        height: auto;
    }
}

.preview-card {
    justify-content: space-between;
}
