* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    background-color: #f6f6f6;
    box-shadow: none !important;
    border-radius: 0 !important;
}

body {
    font-family: 'Roboto', Arial, Verdana, sans-serif;
    color: #000;
    line-height: 1.6;
    box-shadow: none !important;
    border-radius: 0 !important;
    background-color: #f6f6f6;
}

.site-wrapper {
    max-width: 1300px;
    margin: 0 auto;
    background: #ffffff;
    box-shadow: none !important;
    border-radius: 0 !important;
    position: relative;
    filter: none !important;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: #1343CC;
    text-decoration: none;
    transition: color 0.2s;
}
a:hover {
    color: #0c2a7a;
    text-decoration: underline;
}

.header {
    background: #c6ced9;
    padding: 2px 0;
    border-bottom: 2px solid #b0b8c4;
    position: relative;
    z-index: 100;
    border-radius: 0 !important;
    box-shadow: none !important;
    filter: none !important;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 0 5px;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 1 auto;
    min-width: 0;
}

.logo {
    display: inline-block;
    line-height: 0;
    flex-shrink: 0;
    margin-left: 4px;
}

.nav-icon {
    display: block;
    width: 140px;
    height: auto;
    max-width: 100%;
    padding-top: 8px;
    padding-bottom: 8px;
    padding-left: 8px;
}

.logo-text {
    font-family: 'MS Sans Serif', Arial, sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #3d4a5c;
    line-height: 1.3;
    display: inline-block;
    width: 180px;
    text-align: left;
    word-wrap: break-word;
    white-space: normal;
}

.header-center {
    flex: 1 1 auto;
    text-align: center;
    min-width: 0;
    margin: 0 5px;
    padding-top: 8px;
    padding-right: 0;
    overflow: hidden;
}

.header-svg {
    display: inline-block;
    max-width: 100%;
    max-height: 90px;
    transition: max-width 0.3s ease, max-height 0.3s ease;
}

.header-svg img {
    display: block;
    width: auto;
    height: auto;
    max-width: 600px;
    max-height: 90px;
    object-fit: contain;
    transition: max-width 0.3s ease, max-height 0.3s ease;
}

.header-right-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    flex: 0 1 auto;
    min-width: 0;
}

.nav-links {
    display: flex;
    gap: 1px;
    margin-right: 0;
}

.nav-link-btn {
    display: inline-block;
    padding: 5px 20px !important;
    font-size: 16px;
    font-weight: 500;
    color: #ffffff;
    text-decoration: none;
    background: linear-gradient(to bottom, #68859a, #3b5165);
    border-radius: 0 !important;
    transition: background 0.3s, transform 0.1s;
    white-space: nowrap;
}

.nav-link-btn:hover {
    background: linear-gradient(to bottom, #7a9bb3, #4a6178);
    transform: scale(1.02);
    text-decoration: none;
}

.header-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.header-counter {
    display: inline-block;
}

.header-rss {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.header-rss .rss-link {
    display: inline-block;
    line-height: 0;
}

.header-rss .export-link {
    font-size: 12px;
    color: #003366;
    text-decoration: none;
    white-space: nowrap;
}

.header-rss .export-link:hover {
    text-decoration: underline;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px 3px;
    z-index: 110;
    flex-shrink: 0;
}
.hamburger span {
    display: block;
    width: 26px;
    height: 3px;
    background: #2c3e50;
    border-radius: 2px;
    transition: all 0.3s;
}
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

@media (min-width: 993px) {
    .header-right-group {
        align-items: center;
    }
    .header-right {
        justify-content: center;
    }
    .header-rss {
        justify-content: center;
    }
    .hamburger {
        display: none !important;
    }
}

@media (max-width: 992px) and (min-width: 769px) {
    .header-right-group {
        align-items: center !important;
        gap: 4px !important;
    }
    
    .nav-links {
        display: flex !important;
        justify-content: center;
    }
    
    .header-right {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 16px !important;
        width: 100%;
    }
    
    .header-rss {
        justify-content: center !important;
        flex: 0 1 auto;
    }
    
    .hamburger {
        display: flex !important;
        flex: 0 1 auto;
    }
    
    .header-counter {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none !important;
    }
    
    .header-right-group {
        flex: 1 1 auto !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-end !important;
        gap: 6px !important;
        min-width: 0 !important;
        width: auto !important;
    }
    
    .header-right {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-end !important;
        gap: 10px !important;
        margin-left: 10px;
        width: auto !important;
        flex: 0 1 auto !important;
    }
    
    .header-rss {
        justify-content: center !important;
        gap: 6px !important;
        flex: 0 1 auto !important;
    }
    
    .header-rss .rss-link img {
        width: 28px !important;
        height: 28px !important;
    }
    
    .header-rss .export-link {
        font-size: 13px !important;
    }
    
    .hamburger {
        display: flex !important;
        padding: 8px 4px !important;
        margin-left: 0 !important;
        gap: 10px !important;
        flex: 0 1 auto !important;
    }
    .hamburger span {
        width: 28px !important;
        height: 3px !important;
    }
    
    .header {
        padding-top: 6px !important;
        padding-bottom: 6px !important;
    }

    .header-inner {
        flex-wrap: nowrap !important;
        gap: 8px !important;
    }

    .logo-area {
        flex: 0 1 auto !important;
        min-width: 0 !important;
        gap: 6px !important;
    }

    .logo {
        flex-shrink: 0 !important;
        margin-left: 2px !important;
    }

    .nav-icon {
        width: 70px !important;
        height: auto !important;
    }

    .logo-text {
        display: none !important;
    }

    .header-counter {
        display: none !important;
    }

    .header-center {
        flex: 1 1 auto !important;
        margin: 0 4px !important;
        min-width: 0 !important;
        padding-right: 0 !important;
        text-align: center !important;
    }

    .header-svg {
        max-width: 100% !important;
        max-height: 55px;
        display: inline-block !important;
        text-align: center !important;
    }
    .header-svg img {
        max-width: 320px;
        max-height: 55px;
        display: block !important;
        margin: 0 auto !important;
    }

    .breadcrumbs {
        padding: 8px 16px !important;
    }

    .article-title {
        font-size: 24px;
    }
    .article-body {
        font-size: 16px;
    }
    .article-body h2 {
        font-size: 20px;
    }

    .articles-list {
        margin: 8px 0;
    }
    .articles-list li {
        padding: 5px 0;
    }
    .articles-list a {
        font-size: 15px;
        line-height: 1.4;
        padding: 2px 0;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    .footer-links {
        gap: 8px 14px;
        font-size: 12px;
    }
    .footer-tags {
        gap: 4px 8px;
        font-size: 11px;
    }

    .scroll-top-btn {
        bottom: 20px;
        right: 20px;
        width: 42px;
        height: 42px;
    }
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    z-index: 200;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}
.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 85%;
    max-width: 340px;
    height: 100%;
    background: #f5f7fa;
    z-index: 210;
    transform: translateX(-100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    padding: 20px 16px 30px;
    box-shadow: 2px 0 12px rgba(0,0,0,0.15);
}
.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 2px solid #c6ced9;
    margin-bottom: 16px;
}
.mobile-menu-title {
    font-size: 20px;
    font-weight: 700;
    color: #003366;
}
.mobile-menu-close {
    font-size: 32px;
    background: none;
    border: none;
    cursor: pointer;
    color: #003366;
    line-height: 1;
}

.mobile-nav-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}
.mobile-nav-list li {
    border-bottom: 1px solid #ddd;
}
.mobile-nav-list a {
    display: block;
    padding: 10px 8px;
    font-size: 16px;
    color: #003366;
    font-weight: 500;
}
.mobile-nav-list a:hover {
    background: #e8ecf1;
    text-decoration: none;
}

.breadcrumbs {
    padding: 12px 20px;
    background: #f0f2f5;
    border-bottom: 1px solid #e0e4ea;
    font-size: 14px;
    border-radius: 0 !important;
    box-shadow: none !important;
}
.breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
}
.breadcrumb-list li {
    display: inline;
}
.breadcrumb-list li + li::before {
    content: " / ";
    color: #888;
    margin: 0 4px;
}
.breadcrumb-list a {
    color: #1343CC;
}
.breadcrumb-list [aria-current="page"] {
    color: #333;
    font-weight: 500;
}

.content-grid {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 15px;
    padding: 25px 0;
}

.article-content {
    order: 2;
}
.sidebar {
    order: 1;
}

.sidebar {
    background: #fafafa;
    border: 1px solid #e0e0e0;
    border-radius: 0 !important;
    padding: 15px 10px;
    box-shadow: none !important;
}

.sidebar-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}
.sidebar-list li {
    border-bottom: 1px solid #e6e6e6;
}
.sidebar-list li:last-child {
    border-bottom: none;
}
.sidebar-link {
    display: block;
    padding: 10px 8px;
    font-size: 16px;
    font-weight: 600;
    color: #0c4864;
    background: url('/image/img/mbg2.png') no-repeat right center;
    background-size: 20px;
    transition: background-color 0.2s, padding-left 0.2s;
}
.sidebar-link:hover {
    background-color: #ececec;
    padding-left: 14px;
    text-decoration: none;
}

.accordion-group {
    border-top: 1px solid #ccc;
    padding-top: 12px;
    margin-top: 8px;
}
.accordion-item {
    border-bottom: 1px solid #e6e6e6;
}
.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 4px;
    cursor: pointer;
    user-select: none;
}
.accordion-toggle {
    font-weight: 600;
    color: #003366;
    font-size: 15px;
    flex: 1;
}
.accordion-toggle:hover {
    text-decoration: none;
    color: #0c2a7a;
}
.accordion-icon {
    font-size: 20px;
    font-weight: 700;
    color: #003366;
    transition: transform 0.3s;
}
.accordion-item.open .accordion-icon {
    transform: rotate(45deg);
}
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}
.accordion-links {
    list-style: none;
    padding: 0 0 8px 16px;
    margin: 0;
}
.accordion-links li {
    padding: 4px 0;
}
.accordion-links a {
    font-size: 14px;
    color: #2c3e50;
    display: block;
    padding: 4px 6px;
    border-radius: 0 !important;
}
.accordion-links a:hover {
    background: #e8ecf1;
    text-decoration: none;
}

.article-title {
    padding-left: 10px;
    font-size: 28px;
    font-weight: 700;
    color: #000;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid #c6ced9;
    line-height: 1.2;
}

.article-body {
    padding-left: 10px;
    font-size: 16px;
    color: #000;
    word-wrap: break-word;
    overflow-wrap: break-word;
}
.article-body h2 {
    font-size: 22px;
    font-weight: 700;
    color: #000;
    margin-top: 35px;
    margin-bottom: 15px;
    border-left: 5px solid #bccce2;
    padding-left: 15px;
}
.article-body p {
    margin-bottom: 16px;
}
.article-body ul,
.article-body ol {
    margin: 10px 0 20px 25px;
}
.article-body li {
    margin-bottom: 6px;
}
.article-body strong {
    color: #000;
    font-weight: 700;
}

.table-responsive {
    display: block !important;
    width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    margin: 15px 0 !important;
    padding: 0 !important;
}

.table-responsive table {
    display: table !important;
    width: 100% !important;
    border-collapse: collapse !important;
}

.price-table,
.compare-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    background: #fff;
    border: 1px solid #ddd;
}

.price-table th,
.compare-table th {
    background: #e0e0e0;
    color: #003366;
    font-weight: 700;
    padding: 8px 6px !important;
    text-align: left;
    border: 1px solid #ccc;
    white-space: normal !important;
    word-break: break-word !important;
}

.price-table td,
.compare-table td {
    padding: 8px 6px !important;
    border: 1px solid #ddd;
    white-space: normal !important;
    word-break: break-word !important;
}

.price-table tr:nth-child(even),
.compare-table tr:nth-child(even) {
    background: #f8f8f8;
}

.table-note {
    font-size: 14px;
    color: #555;
    margin-top: 6px;
}

.article-image {
    text-align: center;
    margin: 25px 0;
}
.article-image img {
    display: inline-block;
    max-width: 100%;
    height: auto;
    border-radius: 0 !important;
    box-shadow: none !important;
}
.article-body img,
img[loading="lazy"] {
    max-width: 100%;
    height: auto;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.author-block {
    margin-top: 10px;
    padding-top: 10px;
}

.articles-list {
    list-style: square;
    padding-left: 25px;
    margin: 20px 0;
}
.articles-list li {
    border-bottom: 1px solid #e8ecf1;
    padding: 6px 0;
    transition: background-color 0.2s;
}
.articles-list li:last-child {
    border-bottom: none;
}
.articles-list a {
    display: inline;
    font-size: 16px;
    color: #003366;
    text-decoration: none;
    line-height: 1.5;
    padding: 0;
    transition: color 0.2s;
}
.articles-list a:hover {
    color: #1343CC;
    text-decoration: underline;
}

.related-title {
    padding-left: 10px;
    font-size: 20px;
    font-weight: 700;
    color: #000;
    margin: 40px 0 15px 0;
    padding-bottom: 5px;
    border-bottom: 2px solid #c6ced9;
}
.related-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.related-list li {
    padding: 6px 0;
    border-bottom: 1px solid #e8ecf1;
}
.related-list li:last-child {
    border-bottom: none;
}
.related-list a {
    font-size: 15px;
    color: #003366;
    text-decoration: none;
    line-height: 1.4;
    display: block;
    transition: color 0.2s, padding-left 0.2s;
}
.related-list a:hover {
    color: #1343CC;
    padding-left: 6px;
    text-decoration: underline;
}

.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 0 !important;
    background: rgba(255,255,255,0.85);
    color: #003366;
    border: 1px solid #c6ced9;
    box-shadow: none !important;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s, background 0.2s;
    z-index: 150;
}
.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
}
.scroll-top-btn:hover {
    background: #ffffff;
    transform: scale(1.08);
    border-color: #003366;
}
.scroll-top-btn svg {
    fill: #003366;
    width: 24px;
    height: 24px;
}

.footer {
    background: #b7c7d7;
    padding: 20px 0;
    margin-top: 20px;
    border-top: 2px solid #a0b0c0;
    border-radius: 0 !important;
    box-shadow: none !important;
}
.footer-top {
    margin-bottom: 10px;
    padding: 6px 0;
}
.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 12px;
    font-size: 12px;
    margin-bottom: 8px;
    justify-content: center;
}
.footer-links a {
    color: #003366;
    font-weight: 500;
    padding: 2px 8px;
    background: rgba(255,255,255,0.2);
    border-radius: 0 !important;
}
.footer-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 8px;
    justify-content: center;
    font-size: 11px;
}
.footer-tags a {
    color: #2c3e50;
    background: rgba(255,255,255,0.3);
    padding: 2px 8px;
    border-radius: 0 !important;
}
.footer-tags a:hover {
    background: rgba(255,255,255,0.6);
    text-decoration: none;
}
.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid rgba(0,0,0,0.1);
    font-size: 13px;
}
.footer-copy {
    color: #1a2a3a;
    line-height: 1.6;
}
.footer-slogan {
    font-size: 14px;
    font-weight: 600;
}
.gold {
    color: #b8860b;
}
.footer-counters {
    display: flex;
    gap: 12px;
    align-items: center;
}

@media (min-width: 1101px) {
    .header-svg {
        max-width: 100%;
        max-height: 90px;
    }
    .header-svg img {
        max-width: 600px;
        max-height: 90px;
    }
}

@media (max-width: 1100px) {
    .header-svg {
        max-width: 95%;
        max-height: 85px;
    }
    .header-svg img {
        max-width: 550px;
        max-height: 85px;
    }
}

@media (max-width: 1000px) {
    .logo-text {
        display: none !important;
    }

    .header-svg {
        max-width: 90%;
        max-height: 80px;
    }
    .header-svg img {
        max-width: 500px;
        max-height: 80px;
    }
}

@media (max-width: 900px) {
    .header-svg {
        max-width: 85%;
        max-height: 75px;
    }
    .header-svg img {
        max-width: 450px;
        max-height: 75px;
    }
}

@media (max-width: 800px) {
    .header-svg {
        max-width: 80%;
        max-height: 70px;
    }
    .header-svg img {
        max-width: 400px;
        max-height: 70px;
    }
}

@media (max-width: 700px) {
    .header-svg {
        max-width: 76%;
        max-height: 65px;
    }
    .header-svg img {
        max-width: 370px;
        max-height: 65px;
    }
}

@media (max-width: 600px) {
    .header-svg {
        max-width: 72%;
        max-height: 60px;
    }
    .header-svg img {
        max-width: 340px;
        max-height: 60px;
    }
}

@media (max-width: 540px) {
    .header-svg {
        max-width: 68%;
        max-height: 55px;
    }
    .header-svg img {
        max-width: 310px;
        max-height: 55px;
    }
}

@media (max-width: 480px) {
    .header-svg {
        max-width: 64%;
        max-height: 50px;
    }
    .header-svg img {
        max-width: 280px;
        max-height: 50px;
    }

    .container {
        padding: 0 8px !important;
    }
    .logo-area {
        gap: 4px !important;
    }
    .logo-text {
        display: none !important;
    }
    .nav-icon {
        width: 50px !important;
    }

    .header-inner {
        gap: 4px !important;
    }
    .header-center {
        margin: 0 3px !important;
        min-width: 0 !important;
        padding-right: 0 !important;
    }

    .header-rss .export-link {
        font-size: 10px !important;
    }
    .header-rss .rss-link img {
        width: 20px !important;
        height: 20px !important;
    }
    .hamburger span {
        width: 18px !important;
        height: 2px !important;
    }
    .hamburger {
        padding: 3px !important;
        gap: 5px !important;
    }
    .header-right {
        gap: 4px !important;
    }
    .header-right-group {
        gap: 2px !important;
    }

    .breadcrumbs {
        padding: 6px 10px !important;
    }

    .article-title {
        font-size: 20px;
    }
    .article-body h2 {
        font-size: 18px;
        padding-left: 10px;
    }
    .sidebar-link {
        font-size: 15px;
        padding: 8px 6px;
    }
    .mobile-menu {
        width: 90%;
        max-width: 300px;
        padding: 16px 12px;
    }

    .articles-list {
        padding-left: 20px;
        margin: 10px 0;
    }
    .articles-list li {
        padding: 4px 0;
    }
    .articles-list a {
        font-size: 14px;
    }

    .price-table,
    .compare-table {
        font-size: 12px;
    }
    .price-table th,
    .compare-table th,
    .price-table td,
    .compare-table td {
        padding: 4px 4px !important;
        font-size: 12px !important;
    }
}

@media (max-width: 320px) {
    .header-svg {
        max-width: 45%;
        max-height: 35px;
    }
    .header-svg img {
        max-width: 180px;
        max-height: 35px;
    }
    .header-inner {
        gap: 3px !important;
    }
    .header-center {
        margin: 0 2px !important;
    }
    .nav-icon {
        width: 40px !important;
    }

    .articles-list {
        padding-left: 18px;
    }
    .articles-list li {
        padding: 3px 0;
    }
    .articles-list a {
        font-size: 13px;
    }
}

@media (max-width: 992px) {
    .content-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .article-content,
    .sidebar {
        order: 0;
    }

    .sidebar {
        order: 2;
    }

    .header-counter {
        display: none !important;
    }

    .hamburger {
        display: flex !important;
    }
}

@media (min-width: 993px) {
    .container {
        max-width: 100%;
        padding-left: 5px;
        padding-right: 5px;
    }
    .content-grid {
        gap: 15px;
    }
}

@media (min-width: 769px) and (max-width: 992px) {
    .articles-list li {
        padding: 5px 0;
    }
    .articles-list a {
        padding: 0;
        line-height: 1.4;
    }
}

@media (max-width: 768px) {
   .header-rss {
        transform: translateX(-5px);     
    }

    .header-rss .rss-link img {
        width: 32px !important;
        height: 32px !important;
    }
}

@media (max-width: 510px) {
    .header-rss {
        display: none !important;
    }

    .header-inner {
        position: relative;
    }

    .header-center {
        position: absolute;
        left: 50%;
        top: 0;
        transform: translateX(-50%);
        flex: 0 0 auto !important;
        width: auto !important;
        height: 100%;
        margin: 0 !important;
        padding: 0 !important;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center !important;
    }

    .header-svg {
        display: block !important;
        max-width: 100%;
        max-height: 55px; 
        text-align: center !important;
    }

    .header-svg img {
        display: block !important;
        max-width: 100%;
        max-height: 55px;
        margin: 0 auto !important;
    }
}

.news img[align="left"],
.news img.float-left {
    float: left;
    margin: 0 15px 10px 0;
    max-width: 50%;
}

.news img[align="right"],
.news img.float-right {
    float: right;
    margin: 0 0 10px 15px;
    max-width: 50%;
}

@media (max-width: 768px) {
    .news img[align="left"],
    .news img[align="right"],
    .news img.float-left,
    .news img.float-right {
        float: none;
        display: block;
        margin: 0 auto 15px auto;
        max-width: 100%;
    }
}

a.tnewsl:link,a.tnewsl:visited,a.tnewsl:active{
    font-family: Verdana;
    font-size: 16px;
    color: #D72B00;  
    text-decoration: underline;
}
a.tnewsl:hover{
    font-family: Verdana;
    font-size: 16px;
    color: #D72B00;
    text-decoration: none;  
}



.ntitle {
    color: #000000;
    font-size: 16px;
    font-family: Arial, sans-serif;
    font-weight: bold;
    padding: 5px 0 5px 6px;
}

.fntitle {
    color: #000000;
    font-size: 18px;
    font-family: Arial, sans-serif;
    font-weight: bold;
    padding: 7px 0 7px 6px;
}

.ntitle a,
.fntitle a {
    color: #003366;
    text-decoration: none;
}

.ntitle a:hover,
.fntitle a:hover {
    color: #1343CC;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .ntitle {
        font-size: 14px;
        padding: 4px 0 4px 4px;
    }
    .fntitle {
        font-size: 16px;
        padding: 5px 0 5px 4px;
    }
}

@media (max-width: 480px) {
    .ntitle {
        font-size: 13px;
        padding: 3px 0 3px 4px;
    }
    .fntitle {
        font-size: 15px;
        padding: 4px 0 4px 4px;
    }
}


.category-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0 0 20px 0;
    padding: 0;
}

.category-grid ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px 30px;
    width: auto;
}

.category-grid li {
    padding: 2px 0 !important;
    position: relative !important;
    padding-left: 14px !important;
    list-style: none !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
}

.category-grid li::before {
    content: "" !important;
    width: 4px !important;
    height: 4px !important;
    background: #000000 !important;
    position: absolute !important;
    left: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    display: inline-block !important;
    flex-shrink: 0 !important;
}

.category-link-simple {
    color: #1343CC;
    font-size: 13px;
    text-decoration: none;
    line-height: 1.8;
}

.category-link-simple:hover {
    color: #1343CC;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .category-grid ul {
        gap: 0 20px;
    }
    .category-link-simple {
        font-size: 12px;
    }
    .category-grid li {
        padding-left: 12px !important;
    }
    .category-grid li::before {
        width: 4px !important;
        height: 4px !important;
    }
}

@media (max-width: 480px) {
    .category-grid ul {
        grid-template-columns: 1fr;
        gap: 0;
        padding-left: 5px !important;
    }
    .category-link-simple {
        font-size: 12px;
    }
    .category-grid li {
        padding-left: 14px !important;
    }
    .category-grid li::before {
        width: 4px !important;
        height: 4px !important;
    }
}

.im_cntr {
    margin-left: auto;
    margin-right: auto;
    display: block;
}

.content-grid-seo {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 15px;
    padding: 25px 0;
}

.article-content-seo {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
}

.sidebar-seo {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
}

@media (max-width: 992px) {
    .content-grid-seo {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .article-content-seo {
        grid-column: 1 / 2;
        grid-row: 1 / 2;
    }
    .sidebar-seo {
        grid-column: 1 / 2;
        grid-row: 2 / 3;
    }
}

.news-category-short {
    font-size: 12px;
    color: #4b719e;
    flex-shrink: 0;
    text-align: right;
}

.news-category-short a {
    color: #4b719e;
    text-decoration: none;
    font-size: 12px;
}

.news-category-short a:hover {
    color: #4b719e;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .news-category-short {
        display: none !important;
    }
}

.news-category-full {
    font-size: 12px;
    color: #4b719e;
    flex-shrink: 0;
    text-align: right;
}

.news-category-full a {
    color: #4b719e;
    text-decoration: none;
    font-size: 12px;
}

.news-category-full a:hover {
    color: #4b719e;
    text-decoration: underline;
}

@media (max-width: 768px) and (min-width: 481px) {
    .news-category-full {
        font-size: 10px !important;
    }
    .news-category-full a {
        font-size: 10px !important;
    }
}

@media (max-width: 480px) {
    .news-category-full {
        display: none !important;
    }
}

/* ============================================================
   НОВЫЙ ДИЗАЙН НОВОСТЕЙ (без таблиц и png)
   ============================================================ */

.news-item {
    border: 1px solid #d0d5dd;
    margin-bottom: 20px;
    background: #ffffff;
}

.news-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    background: #eef2f7;
    padding: 8px 12px;
    border-bottom: 1px solid #d0d5dd;
    gap: 8px 15px;
}

.news-title {
    font-size: 16px;
    font-weight: bold;
    color: #000000;
    flex: 1 1 auto;
    min-width: 150px;
}

.news-title a {
    color: #000000;
    text-decoration: none;
}

.news-title a:hover {
    color: #1343CC;
    text-decoration: underline;
}

.news-body {
    padding: 12px 15px;
    font-size: 16px;
    color: #000000;
    line-height: 1.7;
    text-align: justify;
    overflow: hidden;
    border-bottom: 1px solid #d0d5dd;
}

.news-body img {
    max-width: 100%;
    height: auto;
}

.news-footer {
    background: #f5f7fa;
    padding: 6px 12px;
    text-align: right;
}

.news-meta {
    font-size: 12px;
    color: #686868;
}

.news-meta a {
    color: #686868;
    text-decoration: none;
    font-size: 12px;
}

.news-meta a:hover {
    color: #1343CC;
    text-decoration: underline;
}

.news-meta .full-link {
    color: #E34000 !important;
}

.news-meta .full-link:hover {
    color: #E34000 !important;
    text-decoration: underline !important;
}

.news-full .news-header {
    background: #e8edf4;
}

.news-full .news-title {
    font-size: 20px;
}

@media (max-width: 768px) {
    .news-header {
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 8px 10px;
    }
    
    .news-title {
        font-size: 16px;
        text-align: center;
    }
    
    .news-full .news-title {
        font-size: 18px;
    }
    
    .news-body {
        padding: 10px 12px;
        font-size: 16px;
        text-align: left;
    }
    
    .news-footer {
        text-align: center;
        padding: 5px 10px;
    }
    
    .news-meta {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .news-item {
        margin-bottom: 15px;
    }
    
    .news-header {
        padding: 6px 8px;
    }
    
    .news-title {
        font-size: 16px;
    }
    
    .news-full .news-title {
        font-size: 16px;
    }
    
    .news-body {
        padding: 8px 10px;
        font-size: 15px;
    }
    
    .news-meta {
        font-size: 13px;
    }
}

.news-meta a:last-child {
    color: #E34000 !important;
}

.news-meta a:last-child:hover {
    color: #E34000 !important;
    text-decoration: underline !important;
}



.topnews a {
    color: #383838 !important;
    text-decoration: none !important;
}

.topnews a:hover {
    color: #000000 !important;
    text-decoration: underline !important;
}


.archives a {
    color: #43637E !important;
    text-decoration: none !important;
    font-family: Tahoma, Arial, sans-serif !important;
    font-size: 12px !important;
}

.archives a:hover {
    color: #43637E !important;
    text-decoration: underline !important;
}
.news-body {
    background: #ffffff !important;
}

/* ============================================================
   СТРАНИЦА ПОИСКА
   ============================================================ */

.search-page-wrapper {
    padding: 0 5px;
}

.search-page-title {
    font-size: 18px;
    font-weight: bold;
    color: #000000;
    padding: 10px 0 15px 0;
    border-bottom: 2px solid #c6ced9;
    margin-bottom: 15px;
}

/* Оборачиваем форму поиска */
.search-page-form-wrapper {
    margin-bottom: 20px;
}

/* Переопределяем стили для формы, которую генерирует DLE */
.search-page-form-wrapper table,
.search-page-form-wrapper tr,
.search-page-form-wrapper td {
    display: block !important;
    width: 100% !important;
    border: none !important;
    padding: 0 !important;
    background: transparent !important;
}

.search-page-form-wrapper form {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    align-items: center !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Поле ввода */
.search-page-form-wrapper input[type="text"] {
    flex: 1 1 200px !important;
    min-width: 120px !important;
    padding: 6px 10px !important;
    border: 1px solid #ccc !important;
    font-size: 14px !important;
    height: 34px !important;
    box-sizing: border-box !important;
    background: #fff !important;
}

/* Селекты */
.search-page-form-wrapper select {
    flex: 0 1 150px !important;
    min-width: 100px !important;
    padding: 5px 8px !important;
    border: 1px solid #ccc !important;
    font-size: 13px !important;
    height: 34px !important;
    box-sizing: border-box !important;
    background: #fff !important;
}

/* Кнопка поиска */
.search-page-form-wrapper input[type="submit"] {
    flex: 0 0 auto !important;
    padding: 6px 18px !important;
    height: 34px !important;
    background: #c6ced9 !important;
    border: 1px solid #b0b8c4 !important;
    cursor: pointer !important;
    font-size: 13px !important;
    color: #333 !important;
    box-sizing: border-box !important;
}

.search-page-form-wrapper input[type="submit"]:hover {
    background: #b8c2cf !important;
}

/* Результаты поиска */
.search-page-results {
    padding: 10px 0;
}

.search-page-results .sresult {
    font-family: Verdana, Arial, sans-serif;
    font-size: 13px;
    color: #606D77;
    line-height: 1.6;
}

/* ===== АДАПТИВ ДЛЯ ТЕЛЕФОНОВ ===== */
@media (max-width: 540px) {
    .search-page-form-wrapper form {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 6px !important;
    }
    
    .search-page-form-wrapper input[type="text"],
    .search-page-form-wrapper select {
        flex: 1 1 auto !important;
        min-width: 100% !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .search-page-form-wrapper input[type="submit"] {
        width: 100% !important;
        text-align: center !important;
    }
    
    .search-page-title {
        font-size: 16px;
        padding: 8px 0 12px 0;
    }
}

@media (max-width: 380px) {
    .search-page-title {
        font-size: 14px;
    }
    
    .search-page-form-wrapper input[type="text"],
    .search-page-form-wrapper select {
        font-size: 12px !important;
        padding: 4px 6px !important;
        height: 30px !important;
    }
    
    .search-page-form-wrapper input[type="submit"] {
        font-size: 12px !important;
        padding: 4px 12px !important;
        height: 30px !important;
    }
}

/* ============================================================
   СТРАНИЦА ПОИСКА - РАСКРЫВАЕМ СЕЛЕКТЫ
   ============================================================ */

/* Убираем ограничения у родительских контейнеров */
.search-page-form-wrapper fieldset,
.search-page-form-wrapper div[style*="padding"],
.search-page-form-wrapper div[style*="height"] {
    height: auto !important;
    overflow: visible !important;
    max-height: none !important;
}

/* Убеждаемся, что селект отображается полностью */
.search-page-form-wrapper select[name="catlist[]"] {
    height: auto !important;
    min-height: 100px !important;
    max-height: none !important;
    overflow: visible !important;
}

/* Если селект внутри таблицы */
.search-page-form-wrapper table,
.search-page-form-wrapper tr,
.search-page-form-wrapper td {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
}