:root {
	    /* Цветовая палитра */
	    --color-primary: #2c7be5;
	    --color-primary-hover: #1a5fd1;
	    --color-text: #420039;
	    --color-link: #ff0000;
	    --color-btn-text: #ffffff;
	    --color-bg: #e3e3e3;
	    --color-title: #F1D302;
	    --color-header-bg: #ffd9c6;
	    --color-sub-menu-bg: #ffffff;
	    /* Цвет для кнопок навигации как на картинке */
	    --color-nav-bg: #ff9d66; 
	}
	
	/* --- 1. Базовые стили --- */
	body {
	    font-family: "Stack Sans Text", sans-serif;
	    background-color: var(--color-bg);
	    color: var(--color-text);
	    margin: 0;
	}
	
	h1, h2, h3, h4, h5, h6 {
	    font-family: "Stack Sans Notch", sans-serif;
	    color: var(--color-title);
	    margin-top: 0;
	}
	
	a {
	    color: var(--color-link);
	    text-decoration: none;
	    transition: 0.2s ease;
	}
	
	/* --- 2. Шапка и Навигация --- */
	.site-header {
	    background-color: var(--color-header-bg);
	    padding: 20px 0;
	    position: sticky;
	    top: 0;
	    z-index: 1000;
	    width: 100%;
	    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
	}
	
	.site-header__inner {
	    max-width: 1200px;
	    margin: 0 auto;
	    display: flex;
	    align-items: center;
	    gap: 40px;
	    padding: 0 20px;
	}
	
	.main-navigation ul {
	    list-style: none;
	    margin: 0;
	    padding: 0;
	    display: flex;
	    gap: 25px;
	}
	
	.main-navigation li {
	    position: relative;
	}
	
	.main-navigation a {
	    color: #000;
	    font-weight: 500;
	    display: block;
	    padding: 5px 0;
	}
	
	/* --- 3. Выпадающее меню --- */
	.main-navigation .sub-menu {
	    position: absolute;
	    top: 100%;
	    left: 0;
	    background-color: var(--color-sub-menu-bg);
	    min-width: 220px;
	    display: flex;
	    flex-direction: column;
	    padding: 10px 0;
	    border-radius: 4px;
	    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
	    opacity: 0;
	    visibility: hidden;
	    transform: translateY(10px);
	    transition: all 0.3s ease;
	}
	
	.menu-item-has-children:hover > .sub-menu {
	    opacity: 1;
	    visibility: visible;
	    transform: translateY(0);
	}
	
	/* --- 4. ЖИВАЯ НАВИГАЦИЯ (Eelmine / Järgmine) --- */
	.fancy-post-nav {
	    margin: 40px 0;
	}
	
	.fancy-post-nav .nav-links {
	    display: flex;
	    gap: 20px;
	    justify-content: space-between;
	}
	
	/* Сама ссылка-контейнер */
	.fancy-post-nav a {
	    flex: 1;
	    text-decoration: none !important;
	    display: block;
	    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
	}
	
	/* Оранжевая карточка из картинки */
	.post-nav-card {
	    background-color: var(--color-nav-bg);
	    padding: 20px 25px;
	    border-radius: 12px;
	    color: var(--color-text) !important;
	    height: 100%;
	    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
	    display: flex;
	    flex-direction: column;
	}
	
	.post-nav-card__label {
	    font-size: 11px;
	    text-transform: uppercase;
	    opacity: 0.7;
	    margin-bottom: 5px;
	    font-weight: bold;
	}
	
	.post-nav-card__title {
	    font-size: 18px;
	    font-weight: 700;
	    line-height: 1.3;
	}
	
	/* Эффекты при наведении */
	.fancy-post-nav a:hover {
	    transform: scale(1.03) translateY(-5px);
	}
	
	.fancy-post-nav a:hover .post-nav-card {
	    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
	}
	
	.fancy-post-nav a:active {
	    transform: scale(0.97);
	}
	
	/* --- 5. Хлебные крошки --- */
	.breadcrumbs {
	    padding: 10px 0;
	    font-size: 14px;
	    margin-bottom: 20px;
	    border-bottom: 1px solid rgba(0,0,0,0.05);
	}
	
	/* --- 6. Адаптивность --- */
	@media (max-width: 767.98px) {
	    .site-header__inner {
	        flex-direction: column;
	    }
	
	    .main-navigation ul {
	        flex-direction: column;
	        align-items: center;
	    }
	
	    .fancy-post-nav .nav-links {
	        flex-direction: column;
	    }
	
	    .main-navigation .sub-menu {
	        position: static;
	        opacity: 1;
	        visibility: visible;
	        transform: none;
	        background: rgba(0,0,0,0.05);
	    }
	}