.fofc_item textarea {
    outline: none;
}
.menu {
    list-style: none;
    margin: 0px;
    padding: 0px;
    display: flex;
}
.menu li {
    padding: 0px 15px;
    position: relative;
}
.col_r ul, .col_r ol {
    padding: 0 0 0 18px;
}
.col_r ul li, .col_r ol li {
    padding: 3px 0;
}
.header_flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo_box {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 70px;
}
.logo_box img {
    width: 100%;
    height: 100%;
}
.header {
    padding: 10px 0;
    transition: all 0.4s ease;
    box-shadow: 0 1px 10px 2px rgb(51 51 51 / 20%);
    position: absolute;
    width: 100%;
    z-index: 2;
    top: 0;
    left: 0;
    background: transparent;
    color: #fff;
}
body p {
    margin: 0 0 15px;
}
.footer_box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
footer {
    padding: 10px 0;
    transition: all 0.4s ease;
    box-shadow: 0 1px 10px 2px rgb(51 51 51 / 20%);
    z-index: 2;
    background-color: #02092300;
}
.fa-mobile:before {
    content: "\f10b";
}
.box_link, .box_mobile {
    display: flex;
    justify-content: center;
    align-items: center;
}
.fa-mobile:before {
    content: "\f10b";
    color: #33b00e;
    font-size: 29px!important;
    display: block;
}
i.fa.fa-mobile {
    padding-right: 10px;
}
#dad_mobile_btn {
    display: none;
    width: 36px;
    height: 36px;
    box-sizing: border-box;
    border-radius: 15px;
    cursor: pointer;
    position: relative;
}
.dad_span_1, .dad_span_2, .dad_span_3 {
    position: absolute;
    width: 35px;
    height: 3px;
    transition: 0.3s;
    background: #000;
}
.dad_span_1 {
    top: 7px;
}
.dad_span_2 {
    top: 16px;
}
.dad_span_3 {
    top: 25px;
}
.fixed {
    position: fixed!important;
    top: 0px;
    left: 0;
    right: 0;
    z-index: 999999;
    background: #fff;
}
.fixed .logo_box {
    height: 50px;
    -webkit-transition: all 0.5s;
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
}
.logo_box {
    -webkit-transition: all 0.5s;
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
}
.img_zeleni {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 500px;
    border-radius: 15px;
    overflow: auto;
    margin-top: 20px;
}
footer .box_link {
    padding: 0;
}
.menu_box li a:before {
    content: "";
    position: absolute;
    height: 2px;
    width: 0%;
    background: #33b00e;
    bottom: -5px;
    left: 50%;
    -webkit-transition: width .3s, left .3s;
    -o-transition: width .3s, left .3s;
    transition: width .3s, left .3s;
}
.menu_box li a:hover:before {
    width: 100%;
    left: 0%;
    -webkit-transition: width .3s, left .3s;
    -o-transition: width .3s, left .3s;
    transition: width .3s, left .3s;
}
.menu li a {
    position: relative;
    display: block;
    border-radius: 2px;
    line-height: 30px;
    padding: 0 10px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 400;
    text-transform: uppercase;
    text-decoration: none;
    vertical-align: middle;
}
.article__title:hover {
    color: #d35400;
}
.category_link a:hover {
    transform: scale(1.1);
}
.article__link {
    display: block;
    color: #d35400;
}
.category_link a {
    color: #d35400;
    display: inline-block;
}
.wrapper {
    margin: 0 auto;
    width: 960px;
}
.page-header {
    padding-top: 65px;
}
.page-header__logo {
    width: 271px;
    height: 302px;
}
.sidebar {
    position: relative;
    padding: 44px 15px;
    width: 33%;
    display: table-cell;
    background-color: #ecf0f1;
    box-shadow: -2px 0 0 0 #d8dcdd;
}
.main-wrapper {
    width: 100%;
    padding: 0;
    margin: 0;
    background: #ffffff;
    display: table;
}
.content {
    padding: 30px 30px 50px;
    width: 67%;
    display: table-cell;
}
.article {
    padding-top: 20px;
}
.content__nav {
    margin-top: 30px;
    margin-bottom: 0;
    padding: 0;
    text-align: center;
    list-style-type: none;
}
.article__title, article h1 {
    color: #181818;
    font-size: 23px;
    line-height: 26px;
    font-weight: 700;
    text-align: left;
    text-transform: uppercase;
    margin-top: 0;
    margin-bottom: 20px;
}
.article__row {
    color: #181818;
    font-size: 12px;
    font-style: italic;
    margin-bottom: 10px;
}
.article__image {
    text-align: center;
}
.article__text {
    margin: 0 0 20px;
    text-align: justify;
}
blockquote {
    border: 1px solid #333;
    background: #ffdc38;
    border-radius: 10px;
    margin: 20px 0;
    width: 100%;
    border-width: 0 0 0 5px;
    border-style: solid;
    padding: 20px 20px 20px 50px;
    box-shadow: 0 0 9.5px .5px rgba(0, 0, 0, .35);
    position: relative;
    font-size: 16px;
}
blockquote p {
    padding: 0 !important;
}
blockquote:before {
    content: "";
    background: url(images/citata.svg) 0 0 no-repeat;
    height: 45px;
    width: 45px;
    background-size: 45px;
    position: absolute;
    left: 0;
    top: 0;
}

.article__row {
    color: #181818;
    font-size: 12px;
    font-style: italic;
    margin-bottom: 10px;
}
.article__left {
    float: left;
    text-align: left;
    margin: 0;
}
.article__button {
    display: inline-block;
    background-color: #f60;
    padding: 0 17px;
    line-height: 35px;
    color: #fff !important;
    text-align: center;
    font-size: 14px;
    text-decoration: none;
    font-style: normal;
    border-radius: 10px;
}
.article__right {
    margin: 0;
}
.article__button:hover {
    background-color: #A22300;
}
.article__row {
    color: #181818;
    font-size: 12px;
    font-style: italic;
    margin-bottom: 10px;
}
.article__end {
    border: 1px dashed #c2c2c2;
    height: 1px;
    margin-bottom: 30px;
}
.article_author_flex {
    display: flex;
    justify-content: space-between;
}
.page-header__nav {
    background: #de9014;
    border-bottom: 3px solid #d35400;
    padding: 9px 23px;
}
.page-header__nav_menu {
    float: left;
    display: table;
    padding: 0;
    margin: auto 0;
    list-style-type: none;
    vertical-align: middle;
}
.page-header__nav_item {
    display: table-cell;
    vertical-align: middle;
}
.page-header__nav_link {
    display: block;
    border-radius: 2px;
    line-height: 30px;
    padding: 0 10px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 400;
    text-transform: uppercase;
    text-decoration: none;
    vertical-align: middle;
}
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    background-color: #020923;
    background-image: url(./images/top-bg.jpg), url(./images/bottom-bg.jpg);
    background-repeat: no-repeat, no-repeat;
    background-position: top center, bottom center;
    background-attachment: scroll, fixed;
    color: #000000;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.2em;
}
.up {
    background: url(./images/topbutton.png) 0 0 no-repeat;
    width: 130px;
    height: 171px;
    cursor: pointer;
}
#toTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
}
.widget-title {
    background: url(./images/paper-bg.png) no-repeat top center;
    margin: 0;
    padding: 20px 20px 34px;
    text-align: center;
    color: #c11010;
    font-size: 24px;
    line-height: 24px;
    text-transform: uppercase;
}
aside.recent-comments-2 .widget-title {
    padding: 5px 20px 34px;
}
aside.categories-2 ul {
    columns: 2;
}
aside.recent-comments-2 li.recentcomments span.comment-author-link {
    font-weight: 700;
    display: block;
}
aside.recent-comments-2 li.recentcomments {
    margin-bottom: 20px;
}
aside.recent-comments-2 {
    margin-top: 40px;
}
aside.sidebar ul {
    margin-top: 20px;
    margin-bottom: 0;
    padding: 0;
    list-style-type: none;
    padding-left: 10px;
}
aside.sidebar ul li {
    display: inline-block;
    padding: 0;
    margin-bottom: 5px;
}
aside.sidebar ul li a:hover {
    text-decoration: underline;
    background-color: #ccc;
}
.menu li a:hover {
    background-color: #F67723;
}
.page-header__nav_link--active {
    background-color: #d35400;
}
.footer_box .menu li a {
    background: #de9014;
}
.table-of-contents {
    background: #f3f3f3;
    padding: 15px 20px;
    border-left: 4px solid #ff6600;
    margin-bottom: 25px;
}
.table-of-contents ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}
.table-of-contents li {
    margin: 5px 0;
}
.table-of-contents .toc-level-3 { padding-left: 10px; }
.table-of-contents .toc-level-4 { padding-left: 20px; }
.table-of-contents .toc-level-5 { padding-left: 30px; }
.table-of-contents .toc-level-6 { padding-left: 40px; }
.table-of-contents a {
    text-decoration: none;
    color: #0056a4;
}
.article__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.box_comments {
    padding-top: 40px;
}
/* Общий контейнер формы */
#respond {
  background: #f9f9f9;
  border: 1px solid #ddd;
  padding: 20px;
  margin-top: 30px;
  border-radius: 8px;
}

/* Заголовок формы */
#respond h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: #333;
}

/* Поля ввода */
#respond input[type="text"],
#respond input[type="email"],
#respond input[type="url"],
#respond textarea {
  width: 100%;
  max-width: 100%;
  padding: 10px 12px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 15px;
  background: #fff;
  transition: border-color 0.3s;
}

#respond input:focus,
#respond textarea:focus {
  border-color: #0073aa;
  outline: none;
}

/* Кнопка */
#respond input[type="submit"] {
  background: #0073aa;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
  transition: background 0.3s;
}

#respond input[type="submit"]:hover {
  background: #005c80;
}
/* Контейнер списка */
.commentlist {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Один комментарий */
.commentlist li {
  border: 1px solid #ddd;
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 8px;
  background: #fff;
}

/* Автор и дата */
.comment-author {
  font-weight: bold;
  margin-bottom: 5px;
}

.comment-meta {
  font-size: 13px;
  color: #888;
  margin-bottom: 10px;
}

/* Текст комментария */
.comment-content {
  font-size: 15px;
  line-height: 1.6;
  color: #333;
}

/* Кнопка "Ответить" */
.comment-reply-link {
  display: inline-block;
  margin-top: 10px;
  font-size: 14px;
  color: #0073aa;
  text-decoration: none;
}

.comment-reply-link:hover {
  text-decoration: underline;
}
.box_comments h3#comments {
    padding-bottom: 20px;
}

.commentlist .children {
  margin-left: 30px;
  margin-top: 15px;
}
.box_share {
    padding: 10px;
    border: 4px solid #ff6600;
}
.title_share {
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    padding-bottom: 20px;
}
div#sfsi_holder {
    display: none;
}
.sfsiplus_norm_row {
    float: none;
    min-width: auto;
    width: 100% !important;
    text-align: center !important;
    position: initial !important;
}
ul.ssbp-list p {
    display: none;
}
.col_r h3, .col_r h2, .col_r h4, .col_r h5, .col_r h6 {
    margin-bottom: 20px;
}
.wp-caption {
    width: 100% !important;
}
.wp-caption .wp-caption-text {
    text-align: center;
    padding: 10px 0 10px;
    margin-top: -4px;
    background: #ff6600;
    color: #fff;
}
.table-of-contents li {
    padding: 0 !important;
    margin: 15px 0;
}
.share_box {
    padding: 20px 10px;
    border: 1px solid #333;
    background: #ECF0F1;
    border-radius: 10px;
}
.share_box h3 {
    text-transform: none;
    text-align: left;
    padding-bottom: 10px;
    font-size: 18px;
}
.random_post {
    background-color: #ffdc38;
    border-radius: 2px;
    box-shadow: 0 0 9.5px .5px rgba(0, 0, 0, .35);
    color: #505050;
    font-size: 18px;
    line-height: 1.25;
    margin: 30px 55px 30px 0;
    padding: 16px 20px;
    position: relative;
}
.random_post:before {
    background: url(images/info.svg) no-repeat 50% 50% / contain;
    content: "";
    height: 35px;
    position: absolute;
    right: -55px;
    top: 9.5px;
    width: 35px;
}
.random_post_title {
    display: inline-block;
    color: #000;
    font-size: 16px;
    margin-right: 10px;
}
.random_post a {
    color: #002952;
    text-decoration: underline;
}
.meta_singl {
    padding: 20px 0;
}
.meta_singl span {
    padding: 7px;
    background: #f60;
    margin-right: 10px;
    border-radius: 10px;
    color: #fff;
    display: inline-flex;
    align-items: center;
}
.meta_singl span svg {
    margin-right: 5px;
}
/* Общие параметры таблицы */
table {
  width: 100%;
  border-collapse: collapse;
  background-color: #fff;
  font-size: 14px;
  color: #222;
  margin: 1em 0;
}

/* Подпись таблицы */
caption {
  caption-side: top;
  text-align: left;
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 6px;
  color: #111;
}

/* Заголовки */
th {
  background-color: #f4f6f8;
  color: #111;
  font-weight: 700;
  text-align: left;
  border: 1px solid #2b2b2b;
  padding: 10px 12px;
}

/* Ячейки */
td {
  border: 1px solid #2b2b2b;
  padding: 10px 12px;
  vertical-align: middle;
}

/* Hover по строкам */
tbody tr:hover {
  background-color: #fbfcfd;
}

/* Выравнивание чисел вправо, если нужно */
td:nth-child(4),
tfoot td:nth-child(4) {
  text-align: right;
}

/* Футер */
tfoot td {
  font-weight: 600;
  background-color: #f8fafb;
}
html :where(img[class*=wp-image-]) {
    width: 100%;
}















/* Hero Section Styles */
.hero-section {
    background: linear-gradient(135deg, rgba(2, 9, 35, 0.9) 0%, rgba(45, 25, 80, 0.9) 100%);
    background-image: url(./images/top-bg.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    position: relative;
    padding: 150px 0 100px;
    margin-top: 70px; /* Для отступа под фиксированным header */
    color: #fff;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(2, 9, 35, 0.85);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.hero-content h2 {
    color: #ffffff;
    font-size: 48px;
    line-height: 1.2;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0 0 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content h2 .highlight {
    color: #ff6600;
    background: linear-gradient(45deg, #ff6600, #ff9800);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    color: #e0e0e0;
    font-size: 20px;
    line-height: 1.6;
    margin: 0 0 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 200px;
    text-align: center;
}

.btn-primary {
    background-color: #ff6600;
    color: #fff;
    border: 2px solid #ff6600;
    box-shadow: 0 4px 15px rgba(255, 102, 0, 0.3);
}

.btn-primary:hover {
    background-color: #d35400;
    border-color: #d35400;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 102, 0, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: #fff;
    border: 2px solid #ff6600;
    box-shadow: 0 4px 15px rgba(255, 102, 0, 0.2);
}

.btn-secondary:hover {
    background-color: rgba(255, 102, 0, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 102, 0, 0.3);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stats span {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 18px;
    color: #b0b0b0;
}

.hero-stats strong {
    display: block;
    font-size: 42px;
    font-weight: 700;
    color: #ff6600;
    margin-bottom: 5px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

/* Адаптивность */
@media (max-width: 991px) {
    .hero-section {
        padding: 120px 0 80px;
        min-height: 80vh;
    }
    
    .hero-content h2 {
        font-size: 38px;
    }
    
    .hero-content p {
        font-size: 18px;
    }
    
    .hero-stats {
        gap: 40px;
    }
    
    .hero-stats strong {
        font-size: 36px;
    }
}

@media (max-width: 770px) {
    .hero-section {
        padding: 100px 0 60px;
        margin-top: 60px;
    }
    
    .hero-content h2 {
        font-size: 32px;
    }
    
    .hero-content p {
        font-size: 17px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 300px;
    }
    
    .hero-stats {
        gap: 30px;
        padding-top: 30px;
    }
    
    .hero-stats span {
        font-size: 16px;
    }
    
    .hero-stats strong {
        font-size: 32px;
    }
}

@media (max-width: 550px) {
    .hero-section {
        padding: 80px 0 40px;
        min-height: 70vh;
    }
    
    .hero-content h2 {
        font-size: 26px;
    }
    
    .hero-content p {
        font-size: 16px;
        margin-bottom: 30px;
    }
    
    .btn-primary, .btn-secondary {
        padding: 12px 25px;
        font-size: 15px;
        min-width: 180px;
    }
    
    .hero-stats {
        gap: 20px;
        padding-top: 20px;
    }
    
    .hero-stats strong {
        font-size: 28px;
    }
    
    .hero-stats span {
        font-size: 14px;
    }
}

/* Анимации для плавного появления */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content h2 {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-content p {
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-buttons {
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.hero-stats {
    animation: fadeInUp 0.8s ease-out 0.8s both;
}
















/* Pagination Styles */
.pagination {
    margin: 40px 0 30px;
    text-align: center;
}

.pagination .nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
}

.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 5px;
    background-color: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    color: #333;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.pagination .page-numbers:hover {
    background-color: #f8f9fa;
    border-color: #ff6600;
    color: #ff6600;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(255, 102, 0, 0.15);
}

.pagination .page-numbers.current {
    background-color: #ff6600;
    border-color: #ff6600;
    color: #000;
    cursor: default;
    box-shadow: 0 4px 10px rgba(255, 102, 0, 0.2);
}

.pagination .page-numbers.current:hover {
    background-color: #ff6600;
    border-color: #ff6600;
    color: #000;
    transform: none;
    box-shadow: 0 4px 10px rgba(255, 102, 0, 0.2);
}

.pagination .page-numbers.dots {
    background-color: transparent;
    border-color: transparent;
    color: #666;
    cursor: default;
    box-shadow: none;
    min-width: 20px;
}

.pagination .page-numbers.dots:hover {
    background-color: transparent;
    border-color: transparent;
    color: #666;
    transform: none;
    box-shadow: none;
}

.pagination .page-numbers.next {
    padding: 0 20px;
    background-color: #f8f9fa;
    border-color: #ff6600;
    color: #ff6600;
    font-weight: 600;
    position: relative;
    padding-right: 40px;
}

.pagination .page-numbers.next:hover {
    background-color: #ff6600;
    color: #000;
}

.pagination .page-numbers.next::after {
    content: "→";
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
}

.pagination .page-numbers.prev {
    padding: 0 20px;
    background-color: #f8f9fa;
    border-color: #ff6600;
    color: #ff6600;
    font-weight: 600;
    position: relative;
    padding-right: 40px;
}

.pagination .page-numbers.prev:hover {
    background-color: #ff6600;
    color: #fff;
}

.pagination .page-numbers.prev::before {
    content: "←";
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
}

/* Адаптивность */
@media (max-width: 770px) {
    .pagination {
        margin: 30px 0 20px;
    }
    
    .pagination .page-numbers {
        min-width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .pagination .page-numbers.next,
    .pagination .page-numbers.prev {
        padding: 0 15px;
        font-size: 14px;
    }
    
    .pagination .page-numbers.next {
        padding-left: 35px;
    }
    
    .pagination .page-numbers.prev {
        padding-right: 35px;
    }
}

@media (max-width: 550px) {
    .pagination .nav-links {
        gap: 3px;
    }
    
    .pagination .page-numbers {
        min-width: 32px;
        height: 32px;
        font-size: 13px;
        border-radius: 6px;
    }
    
    .pagination .page-numbers.dots {
        min-width: 15px;
    }
    
    .pagination .page-numbers.next,
    .pagination .page-numbers.prev {
        padding: 0 12px;
        font-size: 13px;
    }
    
    .pagination .page-numbers.next {
        padding-left: 30px;
    }
    
    .pagination .page-numbers.prev {
        padding-right: 30px;
    }
    
    .pagination .page-numbers.next::after,
    .pagination .page-numbers.prev::before {
        font-size: 16px;
    }
}

/* Стили для активной пагинации в зависимости от темы */
.content .pagination .page-numbers {
    background-color: #f8f9fa;
}

.content .pagination .page-numbers:hover {
    background-color: #e9ecef;
}

/* Анимация при переключении страниц */
@keyframes pageChange {
    0% {
        opacity: 0.5;
        transform: scale(0.95);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.pagination .page-numbers {
    animation: pageChange 0.3s ease-out;
}

/* Стили для скрин-ридера */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

/* Эффект при нажатии */
.pagination .page-numbers:active {
    transform: translateY(0);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Стили для неактивных ссылок (если будет класс disabled) */
.pagination .page-numbers.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.pagination .page-numbers.disabled:hover {
    background-color: #fff;
    border-color: #e0e0e0;
    color: #333;
    transform: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}


























/* Popular Categories Section */
.popular-categories {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.popular-categories::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ff6600, #ff9800);
    z-index: 1;
}

.popular-categories h2 {
    text-align: center;
    color: #020923;
    font-size: 42px;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0 0 50px;
    position: relative;
    padding-bottom: 20px;
}

.popular-categories h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: #ff6600;
    border-radius: 2px;
}

/* Categories Grid */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Category Card */
.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 25px;
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    text-decoration: none;
    color: #333;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #ff6600, #ff9800);
    transform: translateY(-100%);
    transition: transform 0.3s ease;
    z-index: 2;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: #ff6600;
}

.category-card:hover::before {
    transform: translateY(0);
}

.category-card i {
    font-size: 48px;
    margin-bottom: 25px;
    color: #ff6600;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.category-card:hover i {
    transform: scale(1.2) rotate(5deg);
    color: #d35400;
}

.category-card h3 {
    color: #020923;
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 15px;
    line-height: 1.3;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.category-card:hover h3 {
    color: #ff6600;
}

.category-card p {
    color: #666;
    font-size: 15px;
    margin: 0;
    position: relative;
    z-index: 1;
    padding: 8px 15px;
    background: rgba(255, 102, 0, 0.1);
    border-radius: 20px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.category-card:hover p {
    background: rgba(255, 102, 0, 0.2);
    color: #d35400;
}

/* Empty state */
.popular-categories > p {
    text-align: center;
    color: #666;
    font-size: 18px;
    padding: 40px 20px;
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255, 102, 0, 0.05);
    border-radius: 10px;
    border: 1px dashed #ff6600;
}

/* Special styles for specific category icons */
.category-card i.fa-lightbulb {
    color: #ffc107;
}

.category-card i.fa-shield-alt {
    color: #4CAF50;
}

.category-card i.fa-newspaper {
    color: #2196F3;
}

.category-card i.fa-book-open {
    color: #9C27B0;
}

.category-card i.fa-gamepad {
    color: #FF5722;
}

.category-card i.fa-trophy {
    color: #FFC107;
}

.category-card i.fa-users {
    color: #03A9F4;
}

.category-card i.fa-cogs {
    color: #795548;
}

.category-card i.fa-video {
    color: #E91E63;
}

.category-card i.fa-headset {
    color: #009688;
}

/* Анимация появления карточек */
@keyframes fadeInUpCategory {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.category-card {
    animation: fadeInUpCategory 0.6s ease-out both;
}

/* Создаем задержку для каждой карточки */
.categories-grid .category-card:nth-child(1) { animation-delay: 0.1s; }
.categories-grid .category-card:nth-child(2) { animation-delay: 0.2s; }
.categories-grid .category-card:nth-child(3) { animation-delay: 0.3s; }
.categories-grid .category-card:nth-child(4) { animation-delay: 0.4s; }
.categories-grid .category-card:nth-child(5) { animation-delay: 0.5s; }
.categories-grid .category-card:nth-child(6) { animation-delay: 0.6s; }
.categories-grid .category-card:nth-child(7) { animation-delay: 0.7s; }
.categories-grid .category-card:nth-child(8) { animation-delay: 0.8s; }
.categories-grid .category-card:nth-child(9) { animation-delay: 0.9s; }
.categories-grid .category-card:nth-child(10) { animation-delay: 1.0s; }

/* Адаптивность */
@media (max-width: 1190px) {
    .categories-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 991px) {
    .popular-categories {
        padding: 60px 0;
    }
    
    .popular-categories h2 {
        font-size: 36px;
        margin-bottom: 40px;
    }
    
    .categories-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 20px;
    }
    
    .category-card {
        padding: 30px 20px;
    }
    
    .category-card i {
        font-size: 42px;
        margin-bottom: 20px;
    }
    
    .category-card h3 {
        font-size: 20px;
        margin-bottom: 12px;
    }
}

@media (max-width: 770px) {
    .popular-categories h2 {
        font-size: 32px;
        padding-bottom: 15px;
    }
    
    .popular-categories h2::after {
        width: 80px;
    }
    
    .categories-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 15px;
    }
    
    .category-card {
        padding: 25px 15px;
    }
    
    .category-card i {
        font-size: 36px;
        margin-bottom: 15px;
    }
    
    .category-card h3 {
        font-size: 18px;
    }
    
    .category-card p {
        font-size: 14px;
        padding: 6px 12px;
    }
}

@media (max-width: 550px) {
    .popular-categories {
        padding: 40px 0;
    }
    
    .popular-categories h2 {
        font-size: 26px;
        margin-bottom: 30px;
        padding-bottom: 10px;
    }
    
    .categories-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        padding: 0 15px;
    }
    
    .category-card {
        padding: 20px 10px;
        border-radius: 10px;
    }
    
    .category-card:hover {
        transform: translateY(-5px);
    }
    
    .category-card i {
        font-size: 32px;
        margin-bottom: 12px;
    }
    
    .category-card h3 {
        font-size: 16px;
        margin-bottom: 10px;
    }
    
    .category-card p {
        font-size: 13px;
        padding: 5px 10px;
    }
    
    /* Уменьшаем задержки анимаций на мобильных */
    .categories-grid .category-card {
        animation-delay: 0s !important;
        animation-duration: 0.4s;
    }
}

/* Стили для большого количества категорий */
@media (min-width: 1200px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Эффект при нажатии */
.category-card:active {
    transform: translateY(-5px) scale(0.98);
    transition: transform 0.1s ease;
}

/* Градиентный фон для карточек при ховере (опционально) */
.category-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 102, 0, 0.05), rgba(255, 102, 0, 0.02));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.category-card:hover::after {
    opacity: 1;
}








































/* Trending Topics Section */
.trending-topics {
    padding: 80px 0;
    background: linear-gradient(135deg, #020923 0%, #1a1f3a 100%);
    position: relative;
    overflow: hidden;
}

.trending-topics::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ff6600, #ff9800);
    z-index: 1;
}

.trending-topics h2 {
    text-align: center;
    color: #ffffff;
    font-size: 42px;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0 0 50px;
    position: relative;
    padding-bottom: 20px;
}

.trending-topics h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: #ff6600;
    border-radius: 2px;
}

/* Topics List */
.topics-list {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Topic Item */
.topic-item {
    display: block;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 25px 30px;
    margin-bottom: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.topic-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(255, 102, 0, 0.1), rgba(255, 102, 0, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.topic-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(10px);
    border-color: rgba(255, 102, 0, 0.3);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.topic-item:hover::before {
    opacity: 1;
}

.topic-item:last-child {
    margin-bottom: 0;
}

/* Trend Badge (Emoji) */
.trend-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ff6600, #ff9800);
    border-radius: 12px;
    font-size: 28px;
    position: relative;
    z-index: 1;
    box-shadow: 0 5px 15px rgba(255, 102, 0, 0.3);
    transition: all 0.3s ease;
    margin: 0 auto 20px;
}

.topic-item:hover .trend-badge {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 20px rgba(255, 102, 0, 0.4);
}

/* Specific emoji styles */
.trend-badge[data-emoji="🔥"] { background: linear-gradient(135deg, #ff6600, #ff3300); }
.trend-badge[data-emoji="🚀"] { background: linear-gradient(135deg, #2196F3, #03A9F4); }
.trend-badge[data-emoji="⭐"] { background: linear-gradient(135deg, #FFC107, #FF9800); }
.trend-badge[data-emoji="💥"] { background: linear-gradient(135deg, #9C27B0, #673AB7); }
.trend-badge[data-emoji="📈"] { background: linear-gradient(135deg, #4CAF50, #8BC34A); }

/* Topic Content */
.topic-content {
    position: relative;
    z-index: 1;
}

.topic-content h4 {
    color: #ffffff;
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 12px;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.topic-item:hover .topic-content h4 {
    color: #ffcc80;
}

.topic-meta {
    display: flex;
    gap: 25px;
    justify-content: center;
}

.topic-meta span {
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    font-weight: 500;
}

.topic-meta span::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #ff6600;
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.topic-item:hover .topic-meta span::before {
    background: #ffcc80;
    transform: scale(1.2);
}

/* Empty state */
.trending-topics > p {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 18px;
    padding: 40px 20px;
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255, 102, 0, 0.1);
    border-radius: 10px;
    border: 1px dashed #ff6600;
}

/* Ranking indicator (optional) */
.topic-item::after {
    content: '';
    position: absolute;
    right: -1px;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    background: linear-gradient(to bottom, #ff6600, #ff9800);
    transition: height 0.3s ease;
}

.topic-item:hover::after {
    height: 70%;
}

/* Popularity heat indicator */
.topic-item .popularity-heat {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.topic-item:hover .popularity-heat {
    opacity: 1;
}

.topic-item:nth-child(1) .popularity-heat { color: #ff3300; }
.topic-item:nth-child(2) .popularity-heat { color: #ff6600; }
.topic-item:nth-child(3) .popularity-heat { color: #ff9800; }
.topic-item:nth-child(4) .popularity-heat { color: #ffb74d; }
.topic-item:nth-child(5) .popularity-heat { color: #ffcc80; }

/* Анимация появления */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.topic-item {
    animation: slideInRight 0.6s ease-out both;
}

/* Создаем задержку для каждой карточки */
.topics-list .topic-item:nth-child(1) { animation-delay: 0.1s; }
.topics-list .topic-item:nth-child(2) { animation-delay: 0.2s; }
.topics-list .topic-item:nth-child(3) { animation-delay: 0.3s; }
.topics-list .topic-item:nth-child(4) { animation-delay: 0.4s; }
.topics-list .topic-item:nth-child(5) { animation-delay: 0.5s; }

/* Адаптивность */
@media (max-width: 991px) {
    .trending-topics {
        padding: 60px 0;
    }
    
    .trending-topics h2 {
        font-size: 36px;
        margin-bottom: 40px;
    }
    
    .topics-list {
        max-width: 90%;
    }
    
    .topic-item {
        padding: 20px 25px;
    }
    
    .trend-badge {
        width: 55px;
        height: 55px;
        font-size: 24px;
        margin-right: 20px;
    }
    
    .topic-content h4 {
        font-size: 20px;
        margin-bottom: 10px;
    }
    
    .topic-meta {
        gap: 20px;
    }
    
    .topic-meta span {
        font-size: 14px;
    }
}

@media (max-width: 770px) {
    .trending-topics h2 {
        font-size: 32px;
        padding-bottom: 15px;
    }
    
    .trending-topics h2::after {
        width: 80px;
    }
    
    .topic-item {
        padding: 18px 20px;
    }
    
    .trend-badge {
        width: 50px;
        height: 50px;
        font-size: 22px;
        margin-right: 15px;
    }
    
    .topic-content h4 {
        font-size: 18px;
    }
    
    .topic-meta {
        gap: 15px;
    }
    
    .topic-meta span {
        font-size: 13px;
    }
    
    .topic-meta span::before {
        width: 5px;
        height: 5px;
        margin-right: 8px;
    }
}

@media (max-width: 550px) {
    .trending-topics {
        padding: 40px 0;
    }
    
    .trending-topics h2 {
        font-size: 26px;
        margin-bottom: 30px;
        padding-bottom: 10px;
    }
    
    .topics-list {
        max-width: 95%;
        padding: 0 10px;
    }
    
    .topic-item {
        padding: 15px;
        flex-direction: column;
        text-align: center;
        border-radius: 12px;
    }
    
    .topic-item:hover {
        transform: translateY(-5px) translateX(0);
    }
    
    .trend-badge {
        width: 45px;
        height: 45px;
        font-size: 20px;
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .topic-content h4 {
        font-size: 16px;
        margin-bottom: 8px;
    }
    
    .topic-meta {
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .topic-meta span {
        font-size: 12px;
    }
    
    .topic-meta span::before {
        width: 4px;
        height: 4px;
        margin-right: 6px;
    }
    
    /* Уменьшаем задержки анимаций на мобильных */
    .topics-list .topic-item {
        animation-delay: 0s !important;
        animation-duration: 0.4s;
    }
}

/* Стили для строки разделителя (если нужно добавить) */
.topic-item + .topic-item {
    border-top: none;
}

/* Эффект при нажатии */
.topic-item:active {
    transform: translateX(5px) scale(0.98);
    transition: transform 0.1s ease;
}

@media (max-width: 550px) {
    .topic-item:active {
        transform: translateY(-3px) scale(0.98);
    }
}

/* Пульсирующая анимация для самых популярных тем (опционально) */
.topic-item:nth-child(1) .trend-badge {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 5px 15px rgba(255, 102, 0, 0.3);
    }
    50% {
        box-shadow: 0 5px 25px rgba(255, 102, 0, 0.5);
    }
    100% {
        box-shadow: 0 5px 15px rgba(255, 102, 0, 0.3);
    }
}

/* Адаптация для темной темы (уже темная, но можно добавить вариации) */
@media (prefers-color-scheme: light) {
    .trending-topics {
        background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    }
    
    .trending-topics h2 {
        color: #020923;
    }
    
    .topic-item {
        background: rgba(255, 255, 255, 0.9);
        border: 1px solid rgba(0, 0, 0, 0.1);
    }
    
    .topic-content h4 {
        color: #020923;
    }
    
    .topic-meta span {
        color: rgba(0, 0, 0, 0.7);
    }
    
    .topic-item:hover {
        background: rgba(255, 255, 255, 1);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    }
}






































/* Стили для аккордеона FAQ */
.faq-section {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
    font-family: sans-serif;
}

.faq-section h2 {
    text-align: center;
    color: #333;
    margin-bottom: 10px;
    font-size: 2em;
}

.faq-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
    font-size: 1.1em;
}

.faq-accordion {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.faq-item {
    border-bottom: 1px solid #eaeaea;
}

.faq-item[open] .faq-question {
    background-color: #ff6600;
    color: #fff;
}

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

.faq-question {
    width: 100%;
    padding: 20px 25px;
    text-align: left;
    background-color: #f8f9fa;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1em;
    font-weight: 600;
    color: #2c3e50;
    transition: background-color 0.3s ease;
    list-style: none;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question:hover {
    background-color: #e9ecef;
}

.faq-question.active {
    background-color: #ff6600;
    color: #fff;
}

.faq-icon {
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
}

.faq-question.active .faq-icon {
    transform: rotate(180deg);
}

.faq-item[open] .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    overflow: hidden;
    background-color: #fff;
}

.faq-answer.open {
    max-height: 500px; /* Достаточно для любого ответа */
}

.faq-answer p {
    padding: 0 25px 20px;
    margin: 0;
    line-height: 1.6;
    color: #555;
    background: #ff66002b;
}

.faq-answer strong {
    color: #2c3e50;
    font-weight: 700;
}

.faq-answer.open {
    max-height: none;
}

.cookie-consent {
    position: fixed;
    left: 20px;
    right: 20px;
    bottom: 20px;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    max-width: 980px;
    margin: 0 auto;
    padding: 16px 18px;
    border-radius: 8px;
    background: #111;
    color: #fff;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.28);
}

.cookie-consent[hidden] {
    display: none;
}

.cookie-consent__text {
    font-size: 14px;
    line-height: 1.45;
}

.cookie-consent__text a {
    color: #FCBA30;
    text-decoration: underline;
}

.cookie-consent__actions {
    display: flex;
    flex-shrink: 0;
    gap: 10px;
}

.cookie-consent__button {
    padding: 9px 14px;
    border: 1px solid #FCBA30;
    border-radius: 4px;
    background: transparent;
    color: #fff;
    cursor: pointer;
    font-weight: 700;
}

.cookie-consent__button--accept {
    background: #FCBA30;
    color: #111;
}

@media (max-width: 640px) {
    .cookie-consent {
        left: 12px;
        right: 12px;
        bottom: 12px;
        flex-direction: column;
        align-items: stretch;
    }

    .cookie-consent__actions {
        justify-content: stretch;
    }

    .cookie-consent__button {
        flex: 1;
    }
}














/* Основные стили для страницы контактов */
.apeha-contacts-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
}

.apeha-contacts-header {
    text-align: center;
    margin-bottom: 50px;
    padding-bottom: 20px;
    border-bottom: 2px solid #3498db;
}

.apeha-contacts-header h1 {
    font-size: 2.8rem;
    color: #2c3e50;
    margin-bottom: 15px;
}

.apeha-contacts-header .subtitle {
    font-size: 1.2rem;
    color: #7f8c8d;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Контактная информация */
.apeha-contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.apeha-contact-card {
    background: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    border: 1px solid #eaeaea;
    text-align: center;
}

.apeha-contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.apeha-contact-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #3498db, #2c3e50);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 1.8rem;
}

.apeha-contact-card h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 15px;
}

.apeha-contact-card p {
    color: #7f8c8d;
    margin-bottom: 20px;
    line-height: 1.6;
}

.apeha-contact-link {
    display: inline-block;
    background: #3498db;
    color: white;
    padding: 10px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease;
    margin-top: 10px;
}

.apeha-contact-link:hover {
    background: #2980b9;
    text-decoration: none;
}

.apeha-social-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.apeha-social-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.apeha-social-link.vk {
    background: #4c75a3;
    color: white;
}

.apeha-social-link.tg {
    background: #0088cc;
    color: white;
}

.apeha-social-link.yt {
    background: #ff0000;
    color: white;
}

.apeha-social-link.discord {
    background: #7289da;
    color: white;
}

.apeha-social-link:hover {
    filter: brightness(110%);
    transform: translateY(-2px);
}

/* Форма обратной связи */
.apeha-contact-form-section {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 40px;
    margin-bottom: 50px;
}

.apeha-form-header {
    text-align: center;
    margin-bottom: 40px;
}

.apeha-form-header h2 {
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 10px;
}

.apeha-form-header p {
    color: #7f8c8d;
    font-size: 1.1rem;
}

.apeha-contact-form {
    max-width: 800px;
    margin: 0 auto;
}

.apeha-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .apeha-form-row {
        grid-template-columns: 1fr;
    }
}

.apeha-form-group {
    margin-bottom: 25px;
}

.apeha-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
}

.apeha-form-group label i {
    margin-right: 8px;
    color: #3498db;
}

.apeha-form-group input,
.apeha-form-group select,
.apeha-form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border 0.3s ease;
}

.apeha-form-group input:focus,
.apeha-form-group select:focus,
.apeha-form-group textarea:focus {
    outline: none;
    border-color: #3498db;
}

.apeha-form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.apeha-checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.apeha-checkbox-group input {
    width: auto;
}

.apeha-submit-btn {
    display: block;
    width: 100%;
    max-width: 300px;
    margin: 40px auto 0;
    padding: 15px 30px;
    background: linear-gradient(90deg, #2c3e50, #3498db);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.apeha-submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(52, 152, 219, 0.3);
}

/* FAQ секция */
.apeha-faq-section {
    background: white;
    border-radius: 15px;
    padding: 40px;
    margin-bottom: 50px;
    border: 1px solid #eaeaea;
}

.apeha-faq-header {
    text-align: center;
    margin-bottom: 40px;
}

.apeha-faq-header h2 {
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 10px;
}

.apeha-faq-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.apeha-faq-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    text-decoration: none;
    color: #2c3e50;
    font-weight: 600;
    transition: all 0.3s ease;
}

.apeha-faq-link:hover {
    background: #e9ecef;
    text-decoration: none;
    transform: translateY(-3px);
}

.apeha-faq-link i {
    font-size: 1.5rem;
    color: #3498db;
}

.apeha-view-all-faq {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    background: #2c3e50;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: background 0.3s ease;
}

.apeha-view-all-faq:hover {
    background: #1a252f;
    text-decoration: none;
    color: white;
}

/* Статистика команды */
.apeha-team-stats {
    text-align: center;
    margin: 50px 0;
}

.apeha-team-stats h2 {
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 20px;
}

.apeha-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.apeha-stat {
    padding: 25px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.apeha-stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #3498db;
    margin-bottom: 10px;
}

.apeha-stat-label {
    font-size: 1rem;
    color: #7f8c8d;
    font-weight: 600;
}

/* Информационное сообщение */
.apeha-info-notice {
    background: #e3f2fd;
    border-left: 4px solid #3498db;
    padding: 20px;
    border-radius: 5px;
    margin: 30px 0;
}

.apeha-info-notice p {
    margin: 0;
    color: #2c3e50;
    line-height: 1.6;
}

.apeha-info-notice i {
    color: #3498db;
    margin-right: 10px;
}

/* Адаптивность */
@media (max-width: 768px) {
    .apeha-contacts-page {
        padding: 20px 15px;
    }
    
    .apeha-contacts-header h1 {
        font-size: 2rem;
    }
    
    .apeha-contact-form-section,
    .apeha-faq-section {
        padding: 25px;
    }
    
    .apeha-contact-card {
        padding: 20px;
    }
}

/* Модальное окно успешной отправки */
.apeha-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.apeha-modal-content {
    background: white;
    padding: 40px;
    border-radius: 15px;
    max-width: 500px;
    width: 90%;
    text-align: center;
}

.apeha-modal-icon {
    font-size: 4rem;
    color: #2ecc71;
    margin-bottom: 20px;
}

.apeha-modal-content h3 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 15px;
}

.apeha-modal-close {
    margin-top: 20px;
    padding: 10px 30px;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
}














































/* Newsletter Section */
.newsletter-section {
    padding: 100px 0 50px;
    background: linear-gradient(135deg, #ff6600 0%, #ff9800 100%);
    position: relative;
    overflow: hidden;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600" opacity="0.05"><path fill="%23ffffff" d="M0 0h1200v600H0z"/><path fill="%23020923" d="M600 300c0-82.8 67.2-150 150-150s150 67.2 150 150-67.2 150-150 150-150-67.2-150-150z"/></svg>');
    background-size: cover;
    opacity: 0.1;
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.newsletter-content h2 {
    color: #ffffff;
    font-size: 48px;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0 0 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.newsletter-content > p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 20px;
    line-height: 1.6;
    margin: 0 0 40px;
}

/* MailPoet Form Styling */
.mailpoet_form {
    margin: 0 0 30px;
}

/* Form container */
.mailpoet_form form {
    display: flex;
    flex-direction: column !important;
    gap: 20px;
    margin: 0;
    padding: 0;
}
#mailpoet_form_1 .mailpoet_paragraph {
    width: 100%;
}
/* Form fields wrapper */
.mailpoet_paragraph {
    margin: 0 !important;
    padding: 0 !important;
}

/* Input fields */
.mailpoet_form input[type="text"],
.mailpoet_form input[type="email"],
.mailpoet_form input[type="submit"],
.mailpoet_form select,
.mailpoet_form textarea {
    width: 100%;
    padding: 18px 25px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

/* Text and email inputs */
.mailpoet_form input[type="text"],
.mailpoet_form input[type="email"] {
    background: rgba(255, 255, 255, 0.95);
    color: #020923;
    border: 2px solid transparent;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.mailpoet_form input[type="text"]:focus,
.mailpoet_form input[type="email"]:focus {
    outline: none;
    border-color: #020923;
    background: #ffffff;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.mailpoet_form input[type="text"]::placeholder,
.mailpoet_form input[type="email"]::placeholder {
    color: rgba(2, 9, 35, 0.6);
}

/* Submit button */
.mailpoet_form input[type="submit"] {
    background: #020923;
    color: #ffffff;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    border: 2px solid #020923;
    box-shadow: 0 5px 15px rgba(2, 9, 35, 0.3);
    margin-top: 10px;
    position: relative;
    overflow: hidden;
}

.mailpoet_form input[type="submit"]:hover {
    background: #ff6600;
    border-color: #020923;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(2, 9, 35, 0.4);
}

.mailpoet_form input[type="submit"]:active {
    transform: translateY(-1px);
}

/* Checkbox for lists (if any) */
.mailpoet_form .mailpoet_checkbox {
    display: flex;
    align-items: center;
    margin: 15px 0;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.mailpoet_form .mailpoet_checkbox input[type="checkbox"] {
    margin-right: 10px;
    width: 20px;
    height: 20px;
    accent-color: #020923;
}

.mailpoet_form .mailpoet_checkbox label {
    color: #ffffff;
    font-size: 14px;
    line-height: 1.4;
    cursor: pointer;
}

/* Error and success messages */
.mailpoet_form_errors,
.mailpoet_form_success {
    padding: 15px 20px;
    border-radius: 10px;
    margin: 20px 0;
    font-size: 16px;
    text-align: center;
    animation: slideDown 0.3s ease-out;
}

.mailpoet_form_errors {
    background: rgba(255, 0, 0, 0.1);
    border: 1px solid rgba(255, 0, 0, 0.3);
    color: #ffcccc;
}

.mailpoet_form_success {
    background: rgba(0, 255, 0, 0.1);
    border: 1px solid rgba(0, 255, 0, 0.3);
    color: #ccffcc;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Privacy note */
.privacy-note {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    line-height: 1.5;
    margin: 30px 0 0;
}

.privacy-note a {
    color: #ffffff;
    text-decoration: underline;
    font-weight: 600;
    transition: all 0.3s ease;
}

.privacy-note a:hover {
    color: #020923;
    text-decoration: none;
}

/* Custom animation for form */
@keyframes floatIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mailpoet_form {
    animation: floatIn 0.8s ease-out 0.3s both;
}

/* Special styling for specific MailPoet elements */
.mailpoet_required {
    color: #ff3333;
}

.mailpoet_validate_success {
    border-color: #4CAF50 !important;
}

.mailpoet_validate_error {
    border-color: #f44336 !important;
    background: rgba(244, 67, 54, 0.05) !important;
}

/* Адаптивность */
@media (max-width: 991px) {
    .newsletter-section {
        padding: 80px 0;
    }
    
    .newsletter-content h2 {
        font-size: 38px;
    }
    
    .newsletter-content > p {
        font-size: 18px;
        margin-bottom: 35px;
    }
    
    .mailpoet_form input[type="text"],
    .mailpoet_form input[type="email"],
    .mailpoet_form input[type="submit"] {
        padding: 16px 22px;
        font-size: 15px;
    }
}

@media (max-width: 770px) {
    .newsletter-section {
        padding: 60px 0;
    }
    
    .newsletter-content h2 {
        font-size: 32px;
        margin-bottom: 15px;
    }
    
    .newsletter-content > p {
        font-size: 17px;
        margin-bottom: 30px;
    }
    
    .mailpoet_form form {
        gap: 15px;
    }
    
    .mailpoet_form input[type="text"],
    .mailpoet_form input[type="email"],
    .mailpoet_form input[type="submit"] {
        padding: 15px 20px;
        font-size: 15px;
        border-radius: 10px;
    }
    
    .mailpoet_form .mailpoet_checkbox {
        padding: 12px;
    }
    
    .privacy-note {
        font-size: 13px;
        margin-top: 25px;
    }
}

@media (max-width: 550px) {
    .newsletter-section {
        padding: 50px 0;
    }
    
    .newsletter-content h2 {
        font-size: 26px;
    }
    
    .newsletter-content > p {
        font-size: 16px;
        margin-bottom: 25px;
    }
    
    .mailpoet_form input[type="text"],
    .mailpoet_form input[type="email"],
    .mailpoet_form input[type="submit"] {
        padding: 14px 18px;
        font-size: 14px;
    }
    
    .mailpoet_form input[type="submit"] {
        font-weight: 600;
    }
    
    .mailpoet_form .mailpoet_checkbox {
        padding: 10px;
    }
    
    .mailpoet_form .mailpoet_checkbox label {
        font-size: 13px;
    }
    
    .privacy-note {
        font-size: 12px;
        margin-top: 20px;
    }
}

/* Alternative layout for larger screens */
@media (min-width: 768px) {
    .mailpoet_form form {
        flex-direction: row;
        align-items: center;
    }
    
    .mailpoet_form .mailpoet_paragraph:not(.mailpoet_checkbox) {
        flex: 1;
    }
    
    .mailpoet_form input[type="submit"] {
        width: auto;
        min-width: 180px;
        margin-top: 0;
        padding: 18px 30px;
    }
}

/* Error message styling */
.mailpoet_form .parsley-errors-list {
    list-style: none;
    margin: 5px 0 0;
    padding: 0;
}

.mailpoet_form .parsley-errors-list li {
    color: #ffcccc;
    font-size: 13px;
    padding: 5px 0;
    text-align: left;
}

/* Loading state for submit button */
.mailpoet_form input[type="submit"].mailpoet_loading {
    position: relative;
    color: transparent;
}

.mailpoet_form input[type="submit"].mailpoet_loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Decorative elements (optional) */
.newsletter-content::before,
.newsletter-content::after {
    content: '✉️';
    position: absolute;
    font-size: 80px;
    opacity: 0.2;
    z-index: -1;
    animation: float 6s ease-in-out infinite;
}

.newsletter-content::before {
    top: -40px;
    left: -40px;
}

.newsletter-content::after {
    bottom: -40px;
    right: -40px;
    animation-delay: 3s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(10deg);
    }
}

@media (max-width: 770px) {
    .newsletter-content::before,
    .newsletter-content::after {
        font-size: 60px;
    }
    
    .newsletter-content::before {
        top: -30px;
        left: -30px;
    }
    
    .newsletter-content::after {
        bottom: -30px;
        right: -30px;
    }
}

@media (max-width: 550px) {
    .newsletter-content::before,
    .newsletter-content::after {
        display: none;
    }
}

/* Fallback for older browsers */
.newsletter-section {
    background-color: #ff6600;
}

.newsletter-section {
    background-image: linear-gradient(135deg, #ff6600 0%, #ff9800 100%);
}






































/* Search Results Page Styles */
.s3.page_pag {
    padding: 20px 0 60px;
    background: #ffffff;
}

/* Breadcrumbs */
#breadcrumbs {
    margin-bottom: 30px;
    padding: 10px 0;
    font-size: 14px;
    color: #666;
}

#breadcrumbs a {
    color: #ff6600;
    text-decoration: none;
}

#breadcrumbs a:hover {
    text-decoration: underline;
}

/* Search Header */
.search-header {
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 3px solid #ff6600;
}

.search-header h1 {
    color: #020923;
    font-size: 36px;
    font-weight: 700;
    margin: 0 0 15px;
    line-height: 1.3;
}

.search-header h1 .fa-search {
    color: #ff6600;
    margin-right: 15px;
}

.search-query {
    color: #ff6600;
    font-weight: 700;
    text-decoration: underline;
}

.search-stats {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-top: 20px;
}

.search-stat {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #666;
    font-size: 16px;
}

.search-stat i {
    color: #ff6600;
    font-size: 20px;
}

/* Search Results Grid */
.search-results-grid {
    margin-bottom: 50px;
}

/* Search Result Item */
.col3 {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid #eaeaea;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.col3:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    border-color: #ff6600;
}

/* Category Badge */
.category-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(255, 102, 0, 0.95);
    color: #fff !important;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    z-index: 2;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.category-badge:hover {
    color: #fff;
    text-decoration: none;
    transform: scale(1.05);
}

/* Thumbnail */
.sb_thumb_box {
    position: relative;
    overflow: hidden;
    height: 400px;
    background: #f5f5f5;
}

.sb_thumb_box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.3));
    z-index: 1;
}

.sb_thumb_box img.sb_thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.col3:hover .sb_thumb_box img.sb_thumb {
    transform: scale(1.1);
}

/* Article Content */
.article_box {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

/* Post Meta */
.post-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 15px;
    color: #666;
    font-size: 14px;
}

.post-meta i {
    color: #ff6600;
    margin-right: 5px;
    font-size: 14px;
}

/* Title */
.link_title {
    color: #020923;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 15px;
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
}

.link_title:hover {
    color: #ff6600;
    text-decoration: none;
}

/* Post Excerpt */
.post-excerpt {
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
    font-size: 15px;
}

/* Read More Button */
.r_more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #ff6600;
    color: #ffffff;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid #ff6600;
    align-self: flex-start;
}

.r_more:hover {
    background: #d35400;
    border-color: #d35400;
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 102, 0, 0.3);
}

.r_more i {
    font-size: 14px;
}

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

/* No Results Section */
.no-results {
    text-align: center;
    padding: 80px 30px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    margin: 40px 0;
    border: 2px dashed #ff6600;
}

.no-results-icon {
    font-size: 80px;
    color: #ff6600;
    margin-bottom: 30px;
    opacity: 0.8;
}

.no-results h2 {
    color: #020923;
    font-size: 32px;
    margin-bottom: 20px;
    font-weight: 700;
}

.no-results p {
    color: #666;
    max-width: 600px;
    margin: 0 auto 30px;
    line-height: 1.6;
    font-size: 18px;
}

/* Search Again Form */
.search-again-form {
    max-width: 500px;
    margin: 40px auto;
    position: relative;
}

.search-again-form form {
    display: flex;
    position: relative;
}

.search-again-form input {
    flex: 1;
    padding: 18px 25px;
    border: 2px solid #ff6600;
    border-radius: 50px;
    font-size: 16px;
    background: #ffffff;
    color: #020923;
    transition: all 0.3s ease;
}

.search-again-form input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.2);
}

.search-again-form button {
    position: absolute;
    right: 5px;
    top: 5px;
    background: #ff6600;
    color: #ffffff;
    border: none;
    border-radius: 50px;
    padding: 15px 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-again-form button:hover {
    background: #d35400;
    transform: translateY(-2px);
}

.search-again-form button i {
    font-size: 16px;
}

/* Popular Categories */
.no-results h3 {
    color: #020923;
    font-size: 24px;
    margin: 50px 0 20px;
    font-weight: 600;
}

.no-results .popular-categories-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    max-width: 800px;
    margin: 0 auto;
}

.no-results .popular-categories-links a {
    display: inline-block;
    padding: 10px 20px;
    background: #ff6600;
    color: #ffffff;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 2px solid #ff6600;
}

.no-results .popular-categories-links a:hover {
    background: #020923;
    border-color: #020923;
    transform: translateY(-2px);
    text-decoration: none;
}

/* Pagination (Search Results) */
.s3.page_pag .pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 60px 0 30px;
    padding-top: 30px;
    border-top: 1px solid #eaeaea;
}

.s3.page_pag .pagination a,
.s3.page_pag .pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 45px;
    height: 45px;
    padding: 0 5px;
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    color: #333;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.s3.page_pag .pagination a:hover {
    background: #ff6600;
    border-color: #ff6600;
    color: #ffffff;
    transform: translateY(-2px);
}

.s3.page_pag .pagination .current {
    background: #ff6600;
    border-color: #ff6600;
    color: #ffffff;
    cursor: default;
}

.s3.page_pag .pagination .prev i,
.s3.page_pag .pagination .next i {
    font-size: 14px;
}

/* Default Image Fallback */
.sb_thumb_box img[src*="default-game.jpg"] {
    filter: grayscale(20%);
    opacity: 0.9;
}

/* Animation for Results */
@keyframes fadeInUpResult {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.col3 {
    animation: fadeInUpResult 0.6s ease-out both;
}

/* Delay for each result */
.search-results-grid .col3:nth-child(1) { animation-delay: 0.1s; }
.search-results-grid .col3:nth-child(2) { animation-delay: 0.2s; }
.search-results-grid .col3:nth-child(3) { animation-delay: 0.3s; }
.search-results-grid .col3:nth-child(4) { animation-delay: 0.4s; }
.search-results-grid .col3:nth-child(5) { animation-delay: 0.5s; }
.search-results-grid .col3:nth-child(6) { animation-delay: 0.6s; }

/* Адаптивность */


@media (max-width: 991px) {
    .s3.page_pag {
        padding: 100px 0 50px;
    }
    
    .search-header h1 {
        font-size: 32px;
    }
    
    .search-stats {
        gap: 20px;
    }
    
    
    
    .article_box {
        padding: 20px;
    }
    
    .link_title {
        font-size: 18px;
    }
    
    .no-results {
        padding: 60px 20px;
    }
    
    .no-results h2 {
        font-size: 28px;
    }
    
    .no-results p {
        font-size: 16px;
    }
}

@media (max-width: 770px) {
    .s3.page_pag {
        padding: 80px 0 40px;
    }
    
    .search-header h1 {
        font-size: 28px;
    }
    
    .search-header h1 .fa-search {
        margin-right: 10px;
        font-size: 24px;
    }
    
    .search-stats {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    
    .post-meta {
        gap: 15px;
        font-size: 13px;
    }
    
    .no-results-icon {
        font-size: 60px;
    }
    
    .no-results h2 {
        font-size: 24px;
    }
    
    .no-results h3 {
        font-size: 20px;
    }
    
    .s3.page_pag .pagination {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .s3.page_pag .pagination a,
    .s3.page_pag .pagination span {
        min-width: 40px;
        height: 40px;
        font-size: 14px;
    }
}

@media (max-width: 550px) {
    .s3.page_pag {
        padding: 70px 0 30px;
    }
    
    .search-header h1 {
        font-size: 24px;
    }
    
    .search-header {
        margin-bottom: 30px;
        padding-bottom: 20px;
    }
    
    .sb_thumb_box {
        height: 200px;
    }
    
    .article_box {
        padding: 15px;
    }
    
    .link_title {
        font-size: 16px;
        margin-bottom: 10px;
    }
    
    .post-excerpt {
        font-size: 14px;
        margin-bottom: 15px;
    }
    
    .r_more {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .no-results {
        padding: 40px 15px;
    }
    
    .no-results-icon {
        font-size: 50px;
        margin-bottom: 20px;
    }
    
    .no-results h2 {
        font-size: 20px;
    }
    
    .no-results p {
        font-size: 14px;
        margin-bottom: 20px;
    }
    
    .search-again-form {
        margin: 20px auto;
    }
    
    .search-again-form input {
        padding: 15px 20px;
        font-size: 14px;
    }
    
    .search-again-form button {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .no-results h3 {
        font-size: 18px;
        margin: 30px 0 15px;
    }
    
    .no-results .popular-categories-links {
        gap: 8px;
    }
    
    .no-results .popular-categories-links a {
        padding: 8px 15px;
        font-size: 12px;
    }
    
    .s3.page_pag .pagination {
        margin: 40px 0 20px;
        padding-top: 20px;
    }
    
    /* Remove animation delays on mobile for better performance */
    .search-results-grid .col3 {
        animation-delay: 0s !important;
    }
}

/* Hover Effects Enhancement */
.col3:hover .category-badge {
    transform: translateY(-5px);
}

/* Empty Search Query State */
.search-header h1 .search-query:empty::after {
    content: "пустому запросу";
    color: #666;
    font-weight: normal;
}

/* Loading State for Search */
.search-results-grid.loading {
    pointer-events: none;
}


/* Print Styles */
@media print {
    .search-header h1 {
        color: #000;
        font-size: 24pt;
    }
    
    .col3 {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ccc;
    }
    
    .r_more,
    .search-again-form,
    .pagination,
    .no-results-icon {
        display: none;
    }
}









































.fa-envelope:before {
    content: "\f0e0";
}
.fa-hashtag:before {
    content: "\f292";
}
.fa-edit:before, .fa-pencil-square-o:before {
    content: "\f044";
}
.fa-question-circle:before {
    content: "\f059";
}
.fa-envelope-open-o:before {
    content: "\f2b7";
}
.fa-user:before {
    content: "\f007";
}
.fa-tag:before {
    content: "\f02b";
}
.fa-comment:before {
    content: "\f075";
}



















































/* Улучшенная адаптация таблиц */
.table-container {
    width: 100%;
    overflow-x: auto;
    margin: 20px 0;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    -webkit-overflow-scrolling: touch;
}

table {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
    font-size: 14px;
    color: #222;
    margin: 1em 0;
}

/* Подпись таблицы */
caption {
    caption-side: top;
    text-align: left;
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 6px;
    color: #111;
    padding: 10px;
    background: #ff6600;
    color: white;
    border-radius: 5px 5px 0 0;
}

/* Заголовки */
th {
    background-color: #f4f6f8;
    color: #020923;
    font-weight: 700;
    text-align: left;
    border: 1px solid #ddd;
    padding: 12px 15px;
    position: sticky;
    top: 0;
    z-index: 10;
}

/* Ячейки */
td {
    border: 1px solid #ddd;
    padding: 10px 15px;
    vertical-align: top;
    line-height: 1.5;
}

/* Четные строки */
tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

/* Hover по строкам */
tbody tr:hover {
    background-color: #fff3cd;
    transition: background-color 0.2s ease;
}

/* Футер */
tfoot td {
    font-weight: 600;
    background-color: #f8fafb;
}

/* Стили для конкретных типов данных */
td[data-type="number"],
td[data-type="price"] {
    text-align: right;
    font-family: 'Courier New', monospace;
}

td[data-type="center"] {
    text-align: center;
}

/* Вариант 1: Адаптация с превращением в карточки (рекомендуется) */
@media (max-width: 768px) {
    .table-container {
        overflow-x: visible;
        min-width: 100%;
    }
    
    table.table-mobile-cards {
        min-width: 100%;
        display: block;
    }
    
    table.table-mobile-cards thead {
        display: none;
    }
    
    table.table-mobile-cards tbody {
        display: block;
    }
    
    table.table-mobile-cards tr {
        display: block;
        margin-bottom: 15px;
        border: 1px solid #ddd;
        border-radius: 8px;
        background: white;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
        padding: 15px;
        position: relative;
        overflow: hidden;
    }
    
    table.table-mobile-cards tr::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 4px;
        background: #ff6600;
    }
    
    table.table-mobile-cards td {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        border: none;
        border-bottom: 1px solid #f0f0f0;
        padding: 12px 0;
        text-align: left;
    }
    
    table.table-mobile-cards td:last-child {
        border-bottom: none;
    }
    
    table.table-mobile-cards td::before {
        content: attr(data-label);
        display: inline-block;
        width: 45%;
        font-weight: 600;
        color: #020923;
        padding-right: 15px;
        flex-shrink: 0;
    }
    
    table.table-mobile-cards td:after {
        content: '';
        flex-grow: 1;
    }
    
    table.table-mobile-cards td span {
        width: 55%;
        text-align: left;
        word-break: break-word;
    }
}

/* Вариант 2: Горизонтальный скролл с улучшениями */
@media (max-width: 768px) {
    table.table-mobile-scroll {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    table.table-mobile-scroll th,
    table.table-mobile-scroll td {
        min-width: 120px;
        white-space: nowrap;
    }
    
    table.table-mobile-scroll th:first-child,
    table.table-mobile-scroll td:first-child {
        position: sticky;
        left: 0;
        background: #f8f9fa;
        z-index: 5;
        border-right: 2px solid #ddd;
        min-width: 140px;
    }
    
    table.table-mobile-scroll th:first-child {
        background: #f4f6f8;
        z-index: 15;
    }
}

/* Вариант 3: Компактный вид */
@media (max-width: 768px) {
    table.table-mobile-compact {
        font-size: 13px;
    }
    
    table.table-mobile-compact th,
    table.table-mobile-compact td {
        padding: 8px 10px;
    }
    
    table.table-mobile-compact th {
        font-size: 12px;
        white-space: nowrap;
    }
}

/* Вариант 4: Поворот экрана для широких таблиц */
.table-horizontal-warning {
    display: none;
}

@media (max-width: 768px) and (orientation: portrait) {
    .table-container.wide-table {
        position: relative;
    }
    
    .table-horizontal-warning {
        display: block;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background: rgba(255, 102, 0, 0.9);
        color: white;
        padding: 15px;
        border-radius: 8px;
        text-align: center;
        z-index: 100;
        width: 90%;
        max-width: 300px;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    }
    
    .table-horizontal-warning i {
        display: block;
        font-size: 32px;
        margin-bottom: 10px;
    }
    
    .table-horizontal-warning span {
        display: block;
        font-size: 14px;
        line-height: 1.4;
    }
}

/* Классы для стилизации таблиц */
.table-striped tbody tr:nth-child(odd) {
    background-color: #f8f9fa;
}

.table-bordered {
    border: 1px solid #ddd;
}

.table-bordered th,
.table-bordered td {
    border: 1px solid #ddd;
}

.table-hover tbody tr:hover {
    background-color: rgba(255, 102, 0, 0.1);
}

.table-primary th {
    background-color: #ff6600;
    color: white;
    border-color: #ff6600;
}

/* Индикатор горизонтального скролла */
.table-container::-webkit-scrollbar {
    height: 8px;
}

.table-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.table-container::-webkit-scrollbar-thumb {
    background: #ff6600;
    border-radius: 4px;
}

.table-container::-webkit-scrollbar-thumb:hover {
    background: #d35400;
}

/* Фоллбек для старых браузеров */
@media (max-width: 560px) {
    /* Для таблиц без специальных классов - стандартная адаптация */
    table:not(.table-mobile-cards):not(.table-mobile-scroll):not(.table-mobile-compact) {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    table:not(.table-mobile-cards):not(.table-mobile-scroll):not(.table-mobile-compact) th,
    table:not(.table-mobile-cards):not(.table-mobile-scroll):not(.table-mobile-compact) td {
        min-width: 100px;
    }
}

/* Анимация появления таблицы */
@keyframes tableFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

table {
    animation: tableFadeIn 0.5s ease-out;
}

/* Стили для примерной таблицы из задания */
table:has(td:contains("Отсутствие банов")) th:first-child {
    background: linear-gradient(135deg, #ff6600, #ff9800);
    color: white;
}

table:has(td:contains("Отсутствие банов")) td:first-child {
    font-weight: 600;
    color: #020923;
}






















































































@media (max-width: 1190px) {
.item1_bl_2, .item3_bl_2 {
    width: 50%;
    margin: 0 auto;
    text-align: center;
}
.item2_bl_2, .box_texst_4bl {
    width: 100%;
}
.owl-nav.disabled {
    display: none;
}
.item2_bl_2, .item_bl_2 {
    margin: 0 auto;
}
.item3_bl_2 {
    padding-top: 30px;
}
.item1_bl_2 {
    padding-bottom: 30px;
}
.flex_bl_3, .flex_item_bl_4 {
    justify-content: center;
}
.flex_item_bl_4:nth-child(2n) .img_4_go_bloka {
    order: 1;
}
.flex_item_bl_4:nth-child(2n) .box_texst_4bl {
    order: 2;
}
.flex_item_bl_4 {
    padding-bottom: 0px;
}
#toTop {
    bottom: 60px;
}
.item2_bl_2 {
    width: 400px!important;
}
.img_zeleni {
    height: auto;
}
}















@media (max-width: 991px) {
#dad_mobile_btn {
    display: block;
}
.menu_box {
    display: none;
}
nav.menu_box {
    position: absolute;
    top: 90px;
    background: #fff;
    z-index: 2;
    right: 15px;
    max-width: 350px;
    width: 100%;
    padding: 15px;
    box-shadow: -7px 20px 20px 3px rgb(51 51 51 / 20%);
}
.menu {
    display: block;
}
.menu li {
    padding: 15px 0;
}
.box_link {
    padding-right: 40px;
}
.footer_box {
    display: block;
    text-align: center;
}
.footer_box .logo_box img {
    width: auto;
}
.fixed nav.menu_box {
    top: 70px;
}
.bl_3, .bl_5, .bl_7 {
    padding: 30px 0px;
}
.bl_1 {
    padding: 100px 0 30px;
}
.box_text_bl1 {
    padding: 20px;
}
#toTop {
    bottom: 30px;
}
.item1_bl_2, .item3_bl_2 {
    width: 70%;
}
.content, .sidebar, .wrapper {
    width: 100%;
}
.main-wrapper {
    display: flex;
    flex-wrap: wrap;
}
aside.sidebar ul li {
    display: block;
    float: none;
    width: 100%;
    margin-bottom: 5px;
    text-align: center;
    padding: 5px 0;
}
.content {
    display: block;
}
.content td, .content tr, .content th {
    width: auto!important;
    display: revert!important;
    white-space: nowrap;
}
table {
    display: block;
    overflow-x: auto;
    max-width: 100%;
}
.table {
	width: 100%;
	margin-bottom: 20px;
	border: 1px solid #dddddd;
	border-collapse: collapse; 
}
.table th {
	font-weight: bold;
	padding: 5px;
	background: #efefef;
	border: 1px solid #dddddd;
}
.table td {
	border: 1px solid #dddddd;
	padding: 5px;
}
.up {
    width: 65px;
    height: 85px;
    background-size: 65px;
}




















}




















@media (max-width: 770px) {
.item1_bl_2, .item3_bl_2 {
    width: 100%;
}
.owl-nav {
    display: none;
}
.img_box_item {
    height: 350px;
}
.box_text_bl1 {
    left: 30px;
    top: 60px;
}
.owl-dots {
    margin: 20px 0 0;
}
.title_bl_2, .title_bl_3, .title_bl_4, .title_bl_5, .title_bl_6, .title_bl_7 {
    font-size: 30px;
}
body {
    font-size: 16px;
}
.content {
    padding: 40px 15px;
}















}





















@media (max-width: 550px) {
.box_link {
    padding-right: 5px;
}
.box_link a {
    font-size: 16px;
}
.logo_box {
    height: 50px;
}
nav.menu_box {
    top: 70px;
}
.img_4_go_bloka {
    height: 345px;
    width: 100%;
}
.box_texst_4bl {
    padding: 30px 0;
}
.flex_item_bl_4:last-child .box_texst_4bl {
    padding: 30px 0 0;
}
.img_box_item {
    height: 260px;
}
.slider_bl1_title {
    font-size: 22px;
}
.slider_bl1_text {
    font-size: 18px;
}
.box_text_bl1 {
    left: 20px;
    top: 50px;
    max-width: none;
}
.bl_2, .bl_4, .bl_6 {
    padding: 30px 0;
}
.item2_bl_2, .item_bl_2 {
    height: 250px!important;
    width: 250px!important;
}
.item_bl_3 span {
    top: 0px;
    left: 50%;
    transform: translate(-50%, -50%);
}
.item_bl_3 {
    margin: 0 0 60px;
    min-height: auto;
    padding: 40px 20px 20px;
    text-align: center;
}
.item_bl_3:last-child, .item_bl_6:last-child {
    margin: 0 0 0px;
}
.flex_bl_3 {
    padding-top: 30px;
}
.item_bl_6 {
    padding: 20px 20px 30px;
    margin: 0 0 30px;
}
.logo_box img {
    width: 90px;
    height: 50px;
}
.footer_box .box_link {
    padding-right: 0;
}
}
