:root {
  --color-primary: #2c7be5;
  --color-primary-hover: #1a5fd1;
  --color-text: #fff;
  --color-link: red;
  --color-bg: #bfdbff9c;
}

.button {
  background-color: var(--color-primary);
  transition: 0.3s;
}

.button:hover {
  background-color: var(--color-primary-hover);
}

a, a:hover, a:focus, a:visited {
	color: var(--color-link);
}

body {
	font-family: "Zalando Sans", sans-serif;
	background-color: var(--color-bg);
	color: var(--color-text);
}
.home-slider .swiper {
	padding-bottom: 50px;
}

.home-slider .swiper-slide {
	width: 100%;
	box-sizing: border-box;
}

.home-slider .home-content-block {
	padding: 0;
}

.home-slider .home-content-block__image img,
.home-slider .home-slider__image {
	width: 100%;
	height: auto;
	display: block;
}

.home-slider__top {
	gap: 20px;
}

.home-slider__nav {
	flex-shrink: 0;
}

.home-slider__arrow {
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 8px;
	background: rgb(30, 255, 0);
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: 0.2s ease;
	line-height: 0;
}

.home-slider__arrow:hover {
	opacity: 0.85;
}

.home-slider__arrow svg {
	display: block;
	width: 20px;
	height: 20px;
	flex: 0 0 20px;
}

.home-slider .swiper-pagination {
	bottom: 0 !important;
}

.home-slider .swiper-pagination-bullet {
	background: #fff;
	opacity: 1;
}

.home-slider .swiper-pagination-bullet-active {
	opacity: 0.6;
}

@media (max-width: 767.98px) {
	.home-slider__top {
		flex-direction: column;
		align-items: flex-start !important;
	}

	.home-content-block__content.ps-md-4 {
		padding-left: 0 !important;
		padding-top: 20px;
	}
}
/* sticky header */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #ffffff;
    border-bottom: 1px solid #e5e5e5;
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 80px;
}

.site-branding {
    flex-shrink: 0;
}

.site-title {
    margin: 0;
    font-size: 24px;
    line-height: 1;
}

.site-title a {
    text-decoration: none;
    color: #222;
}

.site-description {
    margin: 6px 0 0;
    font-size: 14px;
    color: #777;
}

.main-navigation ul {
    display: flex;
    align-items: center;
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.main-navigation a {
    text-decoration: none;
    color: #222;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.main-navigation a:hover {
    opacity: 0.7;
}
/* single post styles BEGIN */

.fancy-post-nav {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid #e5e5e5;
}

.fancy-post-nav .nav-links {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

/* fixed card width */
.fancy-post-nav .nav-previous,
.fancy-post-nav .nav-next {
    width: 320px;
}

.fancy-post-nav .nav-next {
    margin-left: auto;
}

.fancy-post-nav a {
    display: block;
    text-decoration: none;
    color: inherit;
}

/* card */
.post-nav-card {
    display: block;
    padding: 20px;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e5e5e5;

    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* label */
.post-nav-card__label {
    display: block;
    font-size: 13px;
    color: #777;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* navcard title */
.post-nav-card__title {
    display: block;
    font-size: 18px;
    line-height: 1.3;
    font-weight: 600;
    color: #222;
}

/* hover */
.fancy-post-nav a:hover .post-nav-card {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

/* text effect */
.fancy-post-nav a:hover .post-nav-card__title {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .fancy-post-nav .nav-links {
        flex-direction: column;
    }

    .fancy-post-nav .nav-previous,
    .fancy-post-nav .nav-next {
        width: 100%;
    }

    .fancy-post-nav .nav-next {
        margin-left: 0;
    }
    /* Основной фон как на tagtest.ee */
body { background-color: #f8f9fa; font-family: 'Inter', sans-serif; }

/* Кастомные стрелки слайдера */
.custom-arrow {
    width: 40px; height: 40px; border: 1px solid #ddd;
    background: #fff; border-radius: 50%; display: flex;
    align-items: center; justify-content: center; cursor: pointer;
    transition: 0.3s;
}
.custom-arrow:hover { background: #198754; color: white; border-color: #198754; }

/* Эффект при наведении на пост */
.hover-effect { transition: transform 0.3s ease, box-shadow 0.3s ease; }
.hover-effect:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important; }

.w-fit { width: fit-content; }
.swiper-pagination-bullet-active { background: #198754 !important; }
}

/* single post styles END */
