.delius-regular {
    font-family: "Delius", cursive;
    font-weight: 400;
    font-style: normal;
  }
  
  :root {
    --color-primary: #2c7be5;
    --color-primary-hover: #1a5fd1;
    --color-text: #000000;
    --color-link: rgb(0, 0, 0);
    --color-bg: #ffffff;
  }
  
  .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: red;
    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;
    }
  }

  /* 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;
  }
}

/* single post styles END */

/* 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;
}


.breadcrumbs {
  padding: 12px 0;
  font-size: 13px;
  color: #777;
}

.breadcrumbs a {
  color: #555;
  text-decoration: none;
  transition: 0.2s;
}

.breadcrumbs a:hover {
  color: var(--color-primary);
}

.breadcrumbs .separator {
  margin: 0 6px;
  color: #bbb;
}

.breadcrumbs .current {
  color: #111;
  font-weight: 500;
}

.archive-page {
  padding: 40px 0;
}

.page-header {
  margin-bottom: 30px;
}

.page-title {
  font-size: 32px;
  margin-bottom: 10px;
}

.archive-description {
  color: #777;
}

/* grid */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* card */
.post-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  overflow: hidden;
  transition: 0.25s ease;
}

.post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.post-card a {
  display: block;
  text-decoration: none;
  color: inherit;
}

.post-card__image img {
  width: 100%;
  display: block;
}

.post-card__content {
  padding: 16px;
}

.post-card__title {
  font-size: 18px;
  margin-bottom: 10px;
  color: #222;
}

.post-card__excerpt {
  font-size: 14px;
  color: #666;
}

/* responsive */
@media (max-width: 992px) {
  .posts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .posts-grid {
    grid-template-columns: 1fr;
  }
}

#reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: var(--color-primary);
  z-index: 99999;
  transition: width 0.1s ease;
}

.related-posts {
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid #eee;
}

.related-title {
  font-size: 22px;
  margin-bottom: 20px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.related-card {
  border: 1px solid #eee;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  transition: 0.25s ease;
}

.related-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.related-card a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.related-image img {
  width: 100%;
  display: block;
}

.related-content {
  padding: 12px;
}

.related-post-title {
  font-size: 16px;
  color: #222;
}

/* mobile */
@media (max-width: 768px) {
  .related-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== BURGER MENU ===== */

.menu-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;

	width: 40px;
	height: 40px;

	background: transparent;
	border: none;
	cursor: pointer;

	z-index: 1001;
}

.menu-toggle span {
	display: block;
	width: 28px;
	height: 3px;

	background: #000;
	border-radius: 2px;

	transition: all 0.3s ease;
}

/* Mobile styles */
@media (max-width: 768px) {

	.menu-toggle {
		display: flex;
	}

	.main-navigation ul {
		position: fixed;

		top: 0;
		right: -100%;

		width: 280px;
		height: 100vh;

		background: #fff;

		display: flex;
		flex-direction: column;
		gap: 20px;

		padding: 100px 30px;

		transition: right 0.3s ease;

		z-index: 1000;
	}

	.main-navigation.active ul {
		right: 0;
	}

	.main-navigation ul li {
		list-style: none;
	}

	.main-navigation ul li a {
		font-size: 20px;
		text-decoration: none;
		color: #000;
	}

	/* Burger animation */

	.menu-toggle.active span:nth-child(1) {
		transform: rotate(45deg) translate(6px, 6px);
	}

	.menu-toggle.active span:nth-child(2) {
		opacity: 0;
	}

	.menu-toggle.active span:nth-child(3) {
		transform: rotate(-45deg) translate(5px, -5px);
	}
}

/* HERO SLIDER */
.hero-slider {
  position: relative;
  overflow: hidden;
  height: 600px;
}

.hero-slider__wrapper {
  display: flex;
  transition: transform 0.5s ease;
  height: 100%;
}

.hero-slide {
  min-width: 100%;
  height: 600px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
}

/* Исправляем overlay */
.hero-slide__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 1;             /* ниже стрелок */
  pointer-events: none;   /* клики проходят сквозь overlay */
}

.hero-slide__content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  color: #fff;
}

.hero-slide__content h2 {
  font-size: 56px;
  margin-bottom: 20px;
  line-height: 1.1;
}

.hero-slide__content p {
  font-size: 20px;
  margin-bottom: 30px;
}

.hero-btn {
  display: inline-block;
  padding: 14px 28px;
  background: #fff;
  color: #000;
  text-decoration: none;
  font-weight: 600;
  border-radius: 6px;
  transition: 0.3s;
}

.hero-btn:hover {
  background: #000;
  color: #fff;
}

/* Исправляем стрелки */
.hero-prev,
.hero-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border: none;
  background: rgba(255,255,255,0.2);
  color: #fff;
  font-size: 30px;
  cursor: pointer;
  z-index: 999;          /* выше overlay */
  backdrop-filter: blur(5px);
}

.hero-prev { left: 20px; }
.hero-next { right: 20px; }

/* Mobile */
@media (max-width: 768px) {
  .hero-slider, .hero-slide { height: 500px; }
  .hero-slide__content h2 { font-size: 34px; }
  .hero-slide__content p { font-size: 16px; }
  .hero-prev, .hero-next { width: 40px; height: 40px; font-size: 24px; }
}

/* footer */

.site-footer {
  margin-top: 70px;
  padding: 56px 0 34px;
  background: var(--color-bg-light);
  color: var(--color-text);
}

.site-footer__top {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  padding-bottom: 46px;
  border-bottom: 1px solid var(--color-border);
}

.site-footer__title {
  margin: 0 0 18px;
  color: var(--color-text-dark);
  font-size: 20px;
  line-height: 1.25;
}

.site-footer__menu {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__menu li + li {
  margin-top: 10px;
}

.site-footer__menu a {
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 0.25s ease;
}

.site-footer__menu a:hover {
  color: var(--color-link);
}

.site-footer__bottom {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr) 220px;
  gap: 32px;
  align-items: center;
  padding-top: 30px;
}

.site-footer__logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  color: inherit;
  text-decoration: none;
}

.site-footer__logo svg {
  display: block;
  width: 150px;
  height: 40px;
}

.site-footer__info {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
  color: var(--color-text-muted);
  text-align: center;
  font-size: 15px;
}

.site-footer__slogan {
  width: 100%;
  color: var(--color-text-dark);
  font-weight: 700;
}

.site-footer__info a {
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 0.25s ease;
}

.site-footer__info a:hover {
  color: var(--color-link);
}

.site-footer__socials {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.site-footer__social {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--color-accent-soft);
  color: var(--color-link) !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: 0.25s ease;
}

.site-footer__social svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.site-footer__social:hover {
  background: var(--color-link);
  color: var(--color-text-light) !important;
  transform: translateY(-2px);
}

@media (max-width: 991.98px) {
  .site-footer__bottom {
      grid-template-columns: 1fr;
      text-align: center;
  }

  .site-footer__logo {
      justify-self: center;
  }

  .site-footer__socials {
      justify-content: center;
  }
}

@media (max-width: 767.98px) {
  .site-footer {
      margin-top: 50px;
      padding: 42px 0 30px;
  }

  .site-footer__top {
      grid-template-columns: 1fr;
      gap: 30px;
      padding-bottom: 34px;
  }

  .site-footer__bottom {
      gap: 24px;
      padding-top: 26px;
  }
}