:root {
    --gap: 16px;
}

@media (min-width: 1366px) {
    :root {
        --gap: 24px;
    }
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

figure {
    margin: 0;
    padding: 0;
}

button {
    background: none;
    color: inherit;
    border: none;
    padding: 0;
    font: inherit;
    cursor: pointer;
    outline: inherit;
}

.header__logo {
    position: relative;
}
.header__logo > a {
    position: relative;
    display: block;
}
.header__logo > a,
.header__logo > a > img {
    display: block;
}
.xmas-hat {
    position: absolute;
    top: -20px;
    left: -20px;
    background-image: url(/static/img/general/xmas-hat.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    pointer-events: none;
    z-index: 1;
}
@media (max-width: 767px) {
    .xmas-hat {
        width: 36px;
        height: 36px;
        top: -15px;
        left: -15px;
    }
}
@media (min-width: 768px) and (max-width: 1365px) {
    .xmas-hat {
        width: 42px;
        height: 42px;
    }
}
@media (min-width: 1366px) {
    .xmas-hat {
        width: 48px;
        height: 48px;
    }
}

@media (max-width: 767px) {
    .nav__categories {
        margin-top: 50px;
    }
}

.container {
    max-width: 1216px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 16px;
    padding-right: 16px;
}

@media (min-width: 768px) {
    .container {
        padding-left: 24px;
        padding-right: 24px;
    }
}

.content__body {
    padding-bottom: 32px;
}

@media (max-width: 1023px) {
    .content__body {
        margin-top: 32px;
    }
}

.content__body > *:nth-child(n+2) {
    margin-top: 32px;
}

@media (min-width: 768px) and (max-width: 1023px) {
    .content {
        display: grid;
        grid-column-gap: var(--gap);
        grid-template-columns: repeat(3, 1fr);
    }
    .content__body {
        grid-column: 1/3;
        grid-row: 1/1;
    }
    .content__sidebar {
        grid-column: 3/3;
        grid-row: 1/1;
        padding-top: 32px;
    }
}

@media (min-width: 1024px) {
    .content {
        display: grid;
        grid-column-gap: var(--gap);
        grid-template-columns: repeat(4, 1fr);
    }
    .content__body {
        grid-column: 1/4;
        grid-row: 1/1;
    }
    .content__sidebar {
        grid-column: 4/4;
        grid-row: 1/1;
    }
}

.newslist {
    --grid-template-columns: 1fr;
    position: relative;
    padding: 16px;
    margin-bottom: 24px;
}

.newslist__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.newslist__title-block {
    font-size: 16px;
    font-weight: 800;
    color: #000;
    text-transform: uppercase;
}

.newslist__all-link {
    font-size: 12px;
    font-weight: bold;
    color: #ff7a00;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.newslist__all-link:hover {
    color: #e66a00;
}

.newslist::before {
    content: "";
    position: absolute;
    z-index: -1;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    pointer-events: none;
    background-color: #ff7a00;
    opacity: 0.08;
}

@media (min-width: 768px) and (max-width: 1023px) {
    .newslist--gridable {
        --grid-template-columns: repeat(3, 1fr);
        padding: 24px;
    }
}

.newslist__feed {
    grid-template-columns: var(--grid-template-columns);
    display: grid;
    grid-gap: 16px;
}

.newslist__item {
    margin-bottom: 12px;
}

.newslist__item:last-child {
    margin-bottom: 0;
}

@media (min-width: 768px) and (max-width: 1023px) {
    .newslist__item:nth-child(n+2) {
        margin-top: 6px;
    }
}

.newslist__meta {
    line-height: var(--meta--line-height, 13px);
    font-size: var(--meta--font-size, 12px);
    letter-spacing: 0.04em;
    font-weight: bold;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 4px;
}

.newslist__meta > a {
    display: var(--meta-link__display, inline);
}

@media (max-width: 767px) {
    .newslist__item:nth-child(1) {
        --meta--line-height: 13px;
        --meta--font-size: 12px;
    }
    .newslist__item:nth-child(n+2) {
        --meta--line-height: 11px;
        --meta--font-size: 10px;
    }
}

@media (min-width: 768px) {
    .newslist__item:nth-child(1) {
        --meta-link__display: inline;
        --meta--line-height: 17px;
        --meta--font-size: 16px;
    }
    .newslist__item:nth-child(n+2) {
        --meta-link__display: none;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .newslist__item:nth-child(n+2) {
        --meta--line-height: 11px;
        --meta--font-size: 10px;
    }
}

@media (min-width: 1024px) {
    .newslist__item:nth-child(n+2) {
        --meta--line-height: 13px;
        --meta--font-size: 12px;
    }
}

.newslist__link {
    color: #ff7a00;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
}

.newslist__title {
    display: block;
    margin-top: 4px;
    line-height: 17px;
    font-size: 16px;
    font-weight: 600;
    color: #000;
    text-decoration: none;
}

.newslist__title:hover {
    color: #444;
}

.newslist__title:visited {
    color: #aaa;
}

@media (min-width: 768px) and (max-width: 1023px) {
    .newslist__title {
        line-height: 15px;
        font-size: 14px;
    }
}

.newslist__more {
    width: 100%;
    margin-top: 16px;
}

.newslist__loader {
    width: 100%;
    margin-top: 16px;
}

.partners {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 16px 16px;
    color: #aaa;
    background-color: #fff;
    box-shadow: inset 0 -1px #ddd, inset 0 1px #ddd;
    margin-bottom: 24px;
}

.partners__header {
    align-self: flex-start;
    margin-bottom: 10px;
    line-height: 11px;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.partners__info {
    align-self: flex-start;
    margin-top: 8px;
    line-height: 11px;
    font-size: 10px;
    color: #aaa;
}

.partners__info:hover {
    color: #888;
}

.index-h-block {
    margin-bottom: 32px;
}

@media (min-width: 768px) {
    .index-h-block {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }
}

.postshort {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.postshort > * {
    flex-shrink: 0;
}

.postshort__meta {
    display: flex;
    gap: 8px;
    font-size: 12px;
    color: #888;
    margin-bottom: 4px;
}

.postshort__rub {
    color: #ff7a00;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
}

.postshort__date {
    color: #888;
}

.postshort__image {
    margin-bottom: 8px;
    width: 100%;
}

.postshort__image img {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 767px) {
    .postshort__image {
        width: 213px;
    }
}

.postshort__title {
    display: block;
    margin-top: 4px;
    font-weight: var(--title__font-weight, 600);
    color: #000;
    text-decoration: none;
}

.postshort__title:hover {
    color: #444;
}

.postshort__title:visited {
    color: #aaa;
}

@media (max-width: 767px) {
    .postshort__title {
        line-height: 17px;
        font-size: 16px;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .postshort__title {
        line-height: var(--title__line-height, 19px);
        font-size: var(--title__font-size, 18px);
    }
}

@media (min-width: 1024px) {
    .postshort__title {
        line-height: var(--title__line-height, 21px);
        font-size: var(--title__font-size, 20px);
    }
}

.postshort__text {
    margin-top: 6px;
    letter-spacing: 0.01em;
    color: #666;
}

@media (max-width: 1023px) {
    .postshort__text {
        line-height: 13px;
        font-size: 12px;
    }
}

@media (min-width: 1024px) {
    .postshort__text {
        line-height: 15px;
        font-size: 14px;
    }
}

.post-list {
    margin-top: 32px;
}

.post-list__title {
    margin-bottom: 16px;
    font-weight: 800;
    line-height: 1;
    font-size: 24px;
    letter-spacing: -0.01em;
}

@media (min-width: 768px) {
    .post-list__title {
        display: none;
    }
}

.post-list__feed {
    display: grid;
    grid-row-gap: 32px;
    margin-bottom: 24px;
}

.post-list__feed--category {
    grid-gap: var(--gap, 16px);
}

@media (min-width: 768px) {
    .post-list__feed--category {
        grid-template-columns: repeat(6, 1fr);
    }
    .post-list__feed--category > *:nth-child(1) {
        grid-column: 1/4;
    }
    .post-list__feed--category > *:nth-child(2) {
        grid-column: 4/7;
    }
    .post-list__feed--category > *:nth-child(3n+3) {
        grid-column: 1/3;
    }
    .post-list__feed--category > *:nth-child(3n+4) {
        grid-column: 3/5;
    }
    .post-list__feed--category > *:nth-child(3n+5) {
        grid-column: 5/7;
    }
}

@media (min-width: 1366px) {
    .post-list__feed--category {
        grid-gap: var(--gap, 24px);
    }
    .post-list__feed--category > *:nth-child(-n+2) {
        --title__font-size: 24px;
        --title__line-height: 26px;
    }
}

@media (max-width: 767px) {
    .post-list__feed--category {
        grid-template-columns: 1fr;
    }
}

.post-list__more {
    width: 100%;
    margin-top: var(--gap, 16px);
}

.more {
    height: 40px;
    line-height: 40px;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-align: center;
    background-color: #fff;
    color: #ff7a00;
    border: none;
    cursor: pointer;
    display: block;
}

.more:hover {
    background-color: #f5f5f5;
}

.post-list__loader {
    margin-left: auto;
    margin-right: auto;
}

.loader {
    width: 40px;
    height: 40px;
    animation: loader 1.2s ease infinite;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23ff7a00' d='M12 2v4M12 18v4M4.93 4.93l2.83 2.83M16.24 16.24l2.83 2.83M2 12h4M18 12h4M4.93 19.07l2.83-2.83M16.24 7.76l2.83-2.83'/%3E%3C/svg%3E");
}

@keyframes loader {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}



.rub_h {
    font-size: 1.8em;
    font-weight: 800;
    margin: 24px 0;
    color: #050505;
}

/* Share buttons visibility 
.share--hidden {
    display: none !important;
}*/

.share--visible {
    display: flex !important;
}

.smotri-block {
    margin-top: 32px;
}

.smotri-items {
    display: grid;
    gap: 24px;
}

@media (min-width: 768px) {
    .smotri-items {
        grid-template-columns: repeat(3, 1fr);
    }
}

.smotri-item {
    background: #f9f9f9;
    padding: 16px;
    border-radius: 4px;
}

.smotri-item img {
    width: 100%;
    height: auto;
    margin-bottom: 12px;
}

.smotri-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.smotri-rub {
    color: #ff7a00;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.85em;
}

.smotri-title {
    color: #050505;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1em;
    line-height: 1.3;
}

.smotri-title:hover {
    color: #900;
}

.smotri-date {
    color: #888;
    font-size: 0.9em;
}

.snoska-block {
    margin-top: 32px;
    padding: 24px;
    background: #f9f9f9;
    border-radius: 4px;
}

.snoska-block h3 {
    font-size: 1.5em;
    font-weight: 800;
    margin-bottom: 16px;
    color: #050505;
}

.snoska-item {
    margin-bottom: 12px;
    line-height: 1.6;
}

.snoska-star {
    font-weight: bold;
    color: #ff7a00;
}

.search-form {
    margin: 0 0 40px 0;
}

.search-form__form {
    max-width: 100%;
}

.search-form__wrapper {
    display: flex;
    gap: 12px;
    max-width: 700px;
    margin: 0 auto;
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 4px;
    transition: border-color 0.2s;
}

.search-form__wrapper:focus-within {
    border-color: #ff7a00;
}

.search-form__input {
    flex: 1;
    padding: 14px 16px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    outline: none;
    background: transparent;
    color: #050505;
}

.search-form__input::placeholder {
    color: #999;
}

.search-form__button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    background-color: #ff7a00;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.2s;
    white-space: nowrap;
}

.search-form__button:hover {
    background-color: #e66a00;
}

.search-form__button:active {
    transform: scale(0.98);
}

.search-form__icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.search-form__button-text {
    display: inline-block;
}

@media (max-width: 767px) {
    .search-form__button-text {
        display: none;
    }
    
    .search-form__button {
        padding: 14px;
    }
}

.search-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 32px 0;
}

@media (max-width: 767px) {
    .search-page {
        padding: 24px 0;
    }
}

.search-header {
    margin-bottom: 32px;
}

.search-empty {
    text-align: center;
    padding: 60px 20px;
}

.search-empty__text {
    font-size: 18px;
    color: #666;
    margin-top: 16px;
}

.search-sort {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
    padding: 12px 0;
    border-top: 1px solid #e0e0e0;
}

.search-sort__label {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.search-sort__options {
    display: flex;
    gap: 8px;
}

.search-sort__option {
    padding: 6px 16px;
    font-size: 14px;
    color: #666;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.2s;
    border: 1px solid transparent;
    display: inline-block;
}

.search-sort__option:hover {
    background-color: #f5f5f5;
    color: #050505;
}

.search-sort__option--active {
    background-color: #ff7a00;
    color: #fff !important;
    border-color: #ff7a00;
}

.search-sort__option--active:hover {
    background-color: #e66a00;
    color: #fff !important;
}

.search-sort__option--active:visited {
    color: #fff !important;
}

.search-results {
    margin-top: 24px;
}

.search-result {
    display: flex;
    gap: 20px;
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid #e0e0e0;
    transition: background-color 0.2s;
    padding: 20px;
    border-radius: 8px;
}

.search-result:hover {
    background-color: #fafafa;
}

.search-result:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.search-result__image {
    flex-shrink: 0;
    width: 200px;
    height: 150px;
}

.search-result__image img {
    width: 100%;
    height: 100%;
    border-radius: 6px;
    object-fit: cover;
}

.search-result__image .search-result__logo {
    object-fit: contain;
    padding: 20px;
    background-color: #f9f9f9;
}

.search-result__content {
    flex: 1;
    min-width: 0;
}

.search-result__meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: #888;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.search-result__category {
    color: #ff7a00;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.5px;
    transition: color 0.2s;
}

.search-result__category:hover {
    color: #e66a00;
}

.search-result__date {
    color: #888;
}

.search-result__type {
    color: #666;
    font-size: 12px;
}

.search-result__title {
    font-size: 1.5em;
    font-weight: 800;
    margin-bottom: 12px;
    line-height: 1.3;
}

.search-result__title a {
    color: #050505;
    text-decoration: none;
    transition: color 0.2s;
}

.search-result__title a:hover {
    color: #ff7a00;
}

.search-result__text {
    color: #666;
    line-height: 1.7;
    margin-bottom: 12px;
    font-size: 15px;
}

.search-result__link {
    display: inline-block;
    color: #ff7a00;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: color 0.2s;
}

.search-result__link:hover {
    color: #e66a00;
}

.search-highlight {
    background-color: #fff3cd;
    padding: 2px 4px;
    border-radius: 3px;
    font-weight: 600;
}

.search-no-results {
    padding: 60px 20px;
    text-align: center;
    max-width: 600px;
    margin: 40px auto;
}

.search-no-results__icon {
    margin-bottom: 24px;
    color: #ccc;
}

.search-no-results__title {
    font-size: 24px;
    font-weight: 800;
    color: #050505;
    margin-bottom: 16px;
}

.search-no-results__text {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 24px;
}

.search-no-results__text strong {
    color: #050505;
    font-weight: 600;
}

.search-no-results__suggestions {
    text-align: left;
    background: #f9f9f9;
    padding: 24px;
    border-radius: 8px;
    margin-top: 24px;
}

.search-no-results__suggestions p {
    font-weight: 600;
    color: #050505;
    margin-bottom: 12px;
    font-size: 14px;
}

.search-no-results__suggestions ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.search-no-results__suggestions li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

.search-no-results__suggestions li:before {
    content: "•";
    position: absolute;
    left: 8px;
    color: #ff7a00;
    font-weight: bold;
}

@media (max-width: 767px) {
    .search-result {
        flex-direction: column;
        gap: 16px;
    }
    
    .search-result__image {
        width: 100%;
    }
    
    .search-result__title {
        font-size: 1.3em;
    }
    
    .search-sort {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .search-sort__options {
        width: 100%;
        flex-direction: column;
    }
    
    .search-sort__option {
        width: 100%;
        text-align: center;
    }
}

.sitemap-columns {
    display: grid;
    gap: 24px;
    margin-top: 24px;
}

@media (min-width: 768px) {
    .sitemap-columns {
        grid-template-columns: repeat(2, 1fr);
    }
}

.sitemap-item {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px dotted #ccc;
}

.sitemap-item:last-child {
    border-bottom: none;
}

.sitemap-item__link {
    color: #183dab;
    text-decoration: none;
    display: block;
    margin-bottom: 4px;
}

.sitemap-item__link:hover {
    color: #900;
}

.sitemap-item__date {
    color: #888;
    font-size: 0.9em;
}

.pager {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid #e0e0e0;
    flex-wrap: wrap;
}

.pager__prev,
.pager__next {
    color: #050505;
    text-decoration: none;
    padding: 10px 20px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s;
    background: #fff;
}

.pager__prev:hover,
.pager__next:hover {
    background-color: #ff7a00;
    color: #fff;
    border-color: #ff7a00;
}

.pager__prev--disabled,
.pager__next--disabled {
    color: #ccc;
    cursor: not-allowed;
    background: #f5f5f5;
    border-color: #e0e0e0;
}

.pager__prev--disabled:hover,
.pager__next--disabled:hover {
    background: #f5f5f5;
    color: #ccc;
    border-color: #e0e0e0;
}

.pager__info {
    color: #666;
    font-size: 14px;
    padding: 0 12px;
}

@media (max-width: 767px) {
    .pager {
        flex-direction: column;
        gap: 12px;
    }
    
    .pager__prev,
    .pager__next {
        width: 100%;
        text-align: center;
    }
}


.update-history-top,
.update-history-bot {
    height: 1px;
    width: 100%;
    visibility: hidden;
}

.scroll-action {
    height: 100px;
    width: 100%;
}

@media (max-width: 767px) {
    .content {
        grid-template-columns: 1fr;
    }
    
    .content__body {
        grid-column: 1;
    }
    
    .content__sidebar {
        grid-column: 1;
    }
    
    .content--fullwidth .content__body {
        grid-column: 1;
    }
    
    .index-h-block {
        grid-template-columns: 1fr;
    }
    
    .post-list__feed--category {
        grid-template-columns: 1fr;
    }
    
    .post-title {
        font-size: 1.5em;
    }
    
    .post-nav {
        flex-direction: column;
        gap: 16px;
    }
    
    .smotri-items {
        grid-template-columns: 1fr;
    }
    
    .sitemap-columns {
        grid-template-columns: 1fr;
    }
}

.post-source {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #ddd;
    font-size: 0.9em;
    color: #888;
}

.post-source a {
    color: #183dab;
    text-decoration: underline;
}

.vrezka {
    background: #f9f9f9;
    border-left: 4px solid #ff7a00;
    padding: 16px;
    margin: 24px 0;
    font-style: italic;
    color: #666;
}

.vrezka-left {
    float: left;
    margin-right: 24px;
    max-width: 300px;
}

.vrezka-right {
    float: right;
    margin-left: 24px;
    max-width: 300px;
}

.wek-ad-in-content {
    margin: 24px 0;
}

.wek-ad-in-content--float {
    float: right;
    margin-left: 24px;
    margin-right: 0;
    margin-bottom: 16px;
    margin-top: 8px;
    max-width: 300px;
    clear: right;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

.wek-ad-in-content__label {
    font-size: 0.7em;
    text-transform: uppercase;
    color: #999;
    margin-bottom: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-align: center;
    padding-bottom: 8px;
    border-bottom: 1px solid #e0e0e0;
}

.wek-ad-in-content--float .wek-ad {
    margin: 0;
}

.wek-ad-in-content--float .wek-ad img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}


@media (max-width: 767px) {
    .wek-ad-in-content--float {
        float: none;
        margin-left: 0;
        margin-right: 0;
        max-width: 100%;
    }
}

.post-image {
    max-width: 100%;
    height: auto;
    margin: 16px 0;
}

.post-image-left {
    float: left;
    margin-right: 24px;
    max-width: 400px;
}

.post-image-right {
    float: right;
    margin-left: 24px;
    max-width: 400px;
}

@media (max-width: 767px) {
    .vrezka-left,
    .vrezka-right,
    .post-image-left,
    .post-image-right {
        float: none;
        margin-left: 0;
        margin-right: 0;
        max-width: 100%;
    }
}

.best-block {
    background: #f9f9f9;
    padding: 24px;
    margin-bottom: 24px;
    border-radius: 4px;
}

.best-block__title {
    font-size: 1.5em;
    font-weight: 800;
    margin-bottom: 16px;
    color: #050505;
    text-transform: uppercase;
    background: #3a3a3a;
    background: linear-gradient(to bottom, #3a3a3a 0%, #010101 100%);
    color: #fff;
    padding: 12px 20px;
    margin: -24px -24px 16px -24px;
    border-radius: 4px 4px 0 0;
}

.best-block__list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.best-item {
    display: flex;
    gap: 16px;
    padding-bottom: 16px;
    border-bottom: 1px dotted #ccc;
}

.best-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.best-item--first {
    flex-direction: column;
}

.best-item__image {
    flex-shrink: 0;
}

.best-item--first .best-item__image {
    width: 100%;
    margin-bottom: 12px;
}

.best-item__image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.best-item__content {
    flex: 1;
}

.best-item__title {
    display: block;
    color: #183dab;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1em;
    line-height: 1.3;
    margin-bottom: 8px;
}

.best-item__title:hover {
    color: #900;
}

.best-item--first .best-item__title {
    font-size: 1.3em;
}

.best-item__meta {
    display: flex;
    gap: 8px;
    font-size: 0.9em;
    color: #888;
}

.best-item__date {
    color: #888;
}

.news-item {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px dotted #ccc;
}

.news-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.news-item__link {
    display: block;
    color: #000;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 4px;
}

.news-item__link:hover {
    color: #444;
}

.news-item__time {
    color: #888;
    font-size: 12px;
}

main {
    display: block;
}

.article__text, .article__aside, .article__footnotes {
    font-family: 'Noto Serif', serif;
}

* > .featured {
    margin-top: 32px;
}

.featured {
    display: grid;
    grid-gap: var(--gap);
}

@media (max-width: 767px) {
    .featured {
        grid-template-columns: 1fr 1fr;
        padding-top: 32px;
        padding-bottom: 32px;
    }
}

@media (min-width: 768px) {
    .featured {
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(2, auto);
        padding-bottom: 24px;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .featured {
        padding-top: 24px;
    }
}

@media (min-width: 1024px) {
    .featured {
        padding-top: 0;
    }
}

.featured__post {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.featured__post > * {
    flex-shrink: 0;
}

@media (max-width: 767px) {
    .featured__post:nth-child(1) {
        grid-column: 1/-1;
    }
}

@media (min-width: 768px) {
    .featured__post:nth-child(1) {
        grid-column: 1/3;
        grid-row: 1/-1;
    }
}

.featured__image {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.33%;
}

.featured__image > img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.featured__meta {
    margin-top: 8px;
}

.featured__title {
    margin-top: 4px;
    font-weight: 800;
    display: block;
}

.featured__title:not(:hover) {
    color: #000;
}

.featured__title:hover {
    color: #444;
}

.featured__title:visited {
    color: #aaa;
}

@media (max-width: 767px) {
    .featured__title {
        font-size: 28px;
        line-height: 27px;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .featured__post:nth-child(1) .featured__title {
        font-size: 30px;
        line-height: 31px;
    }
    .featured__post:nth-child(n+2) .featured__title {
        font-size: 18px;
        line-height: 19px;
    }
}

@media (min-width: 1024px) and (max-width: 1365px) {
    .featured__post:nth-child(1) .featured__title {
        font-size: 36px;
        line-height: 37px;
    }
    .featured__post:nth-child(n+2) .featured__title {
        font-size: 20px;
        line-height: 21px;
    }
}

@media (min-width: 1366px) {
    .featured__post:nth-child(1) .featured__title {
        font-size: 40px;
        line-height: 41px;
    }
    .featured__post:nth-child(n+2) .featured__title {
        font-size: 24px;
        line-height: 26px;
    }
}

.featured__description {
    display: block;
    color: #444;
    margin-top: 6px;
}

@media (min-width: 1024px) {
    .featured__description {
        margin-top: 10px;
    }
}

@media (max-width: 1023px) {
    .featured__description {
        line-height: 13px;
        font-size: 12px;
    }
}

@media (min-width: 1024px) {
    .featured__description {
        line-height: 15px;
        font-size: 14px;
    }
}

.category {
    display: grid;
    grid-gap: var(--gap);
}

@media (min-width: 768px) {
    .category {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(3, min-content) 1fr;
        padding-top: 28px;
    }
}

@media (max-width: 767px) {
    .category__post:nth-child(1) {
        --meta__line-height: 13px;
        --meta__font-size: 12px;
        --meta__margin: 8px;
    }
}

@media (min-width: 768px) {
    .category__post:nth-child(1) {
        --meta__line-height: 17px;
        --meta__font-size: 16px;
        --meta__margin: 14px;
        margin-top: -28px;
        grid-row: 1/5;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .category__post:nth-child(1) {
        --title__line-height: 19px;
        --title__font-size: 18px;
    }
}

@media (min-width: 1024px) {
    .category__post:nth-child(1) {
        --title__line-height: 21px;
        --title__font-size: 20px;
    }
}

.category__post:nth-child(n+2) {
    --meta__margin: 4px;
}

@media (max-width: 1023px) {
    .category__post:nth-child(n+2) {
        --meta__line-height: 11px;
        --meta__font-size: 10px;
    }
}

@media (min-width: 1024px) {
    .category__post:nth-child(n+2) {
        --meta__line-height: 13px;
        --meta__font-size: 12px;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .category__post:nth-child(n+2) {
        --title__line-height: 15px;
        --title__font-size: 14px;
    }
}

@media (min-width: 1024px) {
    .category__post:nth-child(n+2) {
        --title__line-height: 17px;
        --title__font-size: 16px;
    }
}

.category__meta {
    margin-bottom: var(--meta__margin, 4px);
    line-height: var(--meta__line-height, 13px);
    font-size: var(--meta__font-size, 12px);
    letter-spacing: 0.04em;
    font-weight: bold;
    color: #888;
    text-transform: uppercase;
}

.category__meta > *:nth-child(n+2) {
    margin-left: 8px;
}

.category__image {
    display: block;
    width: 100%;
    margin-bottom: 8px;
}

.category__image > a > img {
    display: block;
    width: 100%;
}

@media (max-width: 767px) {
    .category__image {
        max-width: 213px;
    }
}

.category__title {
    display: block;
    font-weight: 800;
}

.category__title:not(:hover) {
    color: #000;
}

.category__title:hover {
    color: #444;
}

.category__title:visited {
    color: #aaa;
}

@media (max-width: 767px) {
    .category__title {
        line-height: 17px;
        font-size: 16px;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .category__post:nth-child(1) .category__title {
        line-height: 19px;
        font-size: 18px;
    }
    .category__post:nth-child(n+2) .category__title {
        line-height: 15px;
        font-size: 14px;
    }
}

@media (min-width: 1024px) {
    .category__post:nth-child(1) .category__title {
        line-height: 21px;
        font-size: 20px;
    }
    .category__post:nth-child(n+2) .category__title {
        line-height: 17px;
        font-size: 16px;
    }
}

.category__text {
    margin-top: 8px;
    color: #444;
}

@media (max-width: 1023px) {
    .category__text {
        line-height: 13px;
        font-size: 12px;
    }
}

@media (min-width: 1024px) {
    .category__text {
        line-height: 15px;
        font-size: 14px;
    }
}

.category__more {
    display: block;
    margin-top: 16px;
}

@media (min-width: 768px) {
    .category__more {
        display: none;
    }
}

.content__sidebar {
    margin-bottom: 32px;
}

.content__sidebar > *:nth-child(n+2) {
    margin-top: 32px;
}

@media (max-width: 767px) {
    .content__sidebar {
        margin-left: -16px;
        margin-right: -16px;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .content__sidebar {
        margin-left: -24px;
        margin-right: -24px;
    }
}

.content__body {
    padding-bottom: 32px;
}

@media (max-width: 1023px) {
    .content__body {
        margin-top: 32px;
    }
}

.content__body > *:nth-child(n+2) {
    margin-top: 32px;
}

@media (min-width: 768px) and (max-width: 1023px) {
    .content--article {
        display: grid;
        grid-column-gap: var(--gap);
        grid-template-columns: repeat(3, 1fr);
    }
    .content__body {
        grid-column: 1/3;
        grid-row: 1/1;
    }
    .content__sidebar {
        grid-column: 3/3;
        grid-row: 1/1;
        padding-top: 32px;
    }
}

@media (min-width: 1024px) {
    .content {
        display: grid;
        grid-column-gap: var(--gap);
        grid-template-columns: repeat(4, 1fr);
    }
    .content__body {
        grid-column: 1/4;
        grid-row: 1/1;
    }
    .content__sidebar {
        grid-column: 4/4;
        grid-row: 1/1;
    }
    .content--fullwidth .content__body {
        grid-column: 1/5;
    }
}

@media (min-width: 1366px) {
    .header--fixed {
        position: fixed !important;
        top: 0;
        left: 0;
        right: 0;
        z-index: 100;
    }
    .header--fixed .header__top {
        display: none !important;
    }
    .header--fixed .header__nav::before {
        content: '';
        position: absolute;
        top: 50%;
        left: -56px;
        width: 24px;
        height: 16px;
        opacity: 1;
        transition: opacity 0.2s ease-in-out;
        transform: translateY(-50%);
        background-image: url('/static/img/general/logo.svg');
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
    }
}

.meta {
    display: flex;
    align-items: center;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #888;
}

.meta > *:nth-last-child(n+2) {
    margin-right: 8px;
}

@media (max-width: 1023px) {
    .meta {
        line-height: 11px;
        font-size: 10px;
    }
}

@media (min-width: 1024px) {
    .meta {
        line-height: 13px;
        font-size: 12px;
    }
}

.meta__item:not(span):not(time) {
    color: #ff7a00;
    text-decoration: none;
}

.meta__item:not(span):not(time):hover {
    text-decoration: underline;
}

.nav__suggest-link {
    background: #f97316;
    color: white !important;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    transition: background 0.2s, transform 0.2s;
    display: inline-block;
}

.nav__suggest-link:hover {
    background: #ea580c;
    transform: translateY(-1px);
    text-decoration: none !important;
}

.not-found {
    padding: 80px 20px;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.not-found__container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.not-found__icon {
    margin-bottom: 32px;
    color: #ddd;
    opacity: 0.6;
}

.not-found__code {
    font-size: 120px;
    font-weight: 800;
    line-height: 1;
    color: #ff7a00;
    margin: 0 0 16px 0;
    font-family: 'Montserrat', sans-serif;
}

.not-found__title {
    font-size: 32px;
    font-weight: 700;
    color: #050505;
    margin: 0 0 16px 0;
    font-family: 'Montserrat', sans-serif;
}

.not-found__text {
    font-size: 18px;
    color: #666;
    line-height: 1.6;
    margin: 0 0 40px 0;
    max-width: 500px;
}

.not-found__actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.not-found__button {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.2s ease;
    font-family: 'Montserrat', sans-serif;
}

.not-found__button--primary {
    background: #ff7a00;
    color: #fff !important;
    border: none;
}

.not-found__button--primary:hover {
    background: #ea580c;
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 122, 0, 0.3);
}

.not-found__button:not(.not-found__button--primary) {
    background: #f5f5f5;
    color: #050505;
    border: 2px solid #e0e0e0;
}

.not-found__button:not(.not-found__button--primary):hover {
    background: #e8e8e8;
    border-color: #d0d0d0;
    transform: translateY(-1px);
}

.not-found__suggestions {
    text-align: left;
    background: #f9f9f9;
    padding: 32px;
    border-radius: 12px;
    width: 100%;
    max-width: 500px;
}

.not-found__suggestions-title {
    font-weight: 600;
    color: #050505;
    margin: 0 0 16px 0;
    font-size: 16px;
    font-family: 'Montserrat', sans-serif;
}

.not-found__suggestions-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.not-found__suggestions-list li {
    padding: 10px 0;
    padding-left: 24px;
    position: relative;
    color: #666;
    font-size: 15px;
    line-height: 1.6;
}

.not-found__suggestions-list li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: #ff7a00;
    font-weight: bold;
}

.not-found__suggestions-list li a {
    color: #ff7a00;
    text-decoration: none;
    transition: color 0.2s ease;
}

.not-found__suggestions-list li a:hover {
    color: #ea580c;
    text-decoration: underline;
}

@media (max-width: 767px) {
    .not-found {
        padding: 60px 16px;
    }
    
    .not-found__code {
        font-size: 80px;
    }
    
    .not-found__title {
        font-size: 24px;
    }
    
    .not-found__text {
        font-size: 16px;
    }
    
    .not-found__actions {
        flex-direction: column;
        width: 100%;
    }
    
    .not-found__button {
        width: 100%;
        text-align: center;
    }
    
    .not-found__suggestions {
        padding: 24px;
    }
    
    .not-found__icon {
        width: 80px;
        height: 80px;
    }
    
    .not-found__icon svg {
        width: 80px;
        height: 80px;
    }
}

