/* ПОРТАЛЬНІ СТИЛІ ZAK KOR V10.2 - SHARE ICONS FIX */

/* --- ГЛОБАЛЬНІ НАЛАШТУВАННЯ --- */
body { overflow-x: hidden; }
*, *:before, *:after { box-sizing: border-box; }
a { transition: all 0.3s ease-in-out !important; text-decoration: none !important; color: inherit; }
a:hover { background-color: transparent !important; color: #1b2e4a !important; text-shadow: 0 0 8px rgba(27, 46, 74, 0.3), 0 0 15px rgba(27, 46, 74, 0.1) !important; }

/* --- ВАЖЛИВА НОВИНА --- */
.is-important { background: #fff5f5; border-left: none !important; padding-left: 10px !important; padding-right: 10px !important; border-radius: 4px; }
.is-important a { color: #c53030 !important; }

/* --- СТРІЧКА НОВИН --- */
.feed-date-header { font-size: 13px; font-weight: 800; color: #888; text-transform: uppercase; border-bottom: 2px solid #eee; margin: 25px 0 15px 0; padding-bottom: 5px; letter-spacing: 0.5px; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
.feed-row-compact { display: flex; align-items: baseline; padding: 8px 0; border-bottom: 1px solid #f4f4f4; font-size: 15px; line-height: 1.4; }
.feed-row-compact .time { flex-shrink: 0; width: 50px; font-weight: 700; color: #999; font-size: 13px; font-family: "SF Mono", SFMono-Regular, Consolas, monospace; }
.feed-row-compact a { color: #333; font-weight: 500; }
.feed-row-compact.is-important { background: transparent !important; padding-left: 0 !important; }
.feed-row-compact.is-important .time { color: #e53e3e; }
.feed-row-compact.is-important a { color: #e53e3e !important; font-weight: 700; }
.feed-icon { margin-right: 6px; color: #888; font-size: 12px; }
.feed-row-compact.is-important .feed-icon { color: #e53e3e; }

/* --- ВІДЕО ТА ІНШЕ --- */
.video-overlay { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 30px; height: 30px; background: rgba(0, 0, 0, 0.6); border-radius: 50%; display: flex; align-items: center; justify-content: center; pointer-events: none; z-index: 2; }
.video-overlay::before { content: ''; display: block; width: 0; height: 0; border-left: 10px solid #fff; border-top: 6px solid transparent; border-bottom: 6px solid transparent; margin-left: 2px; }
.video-text-icon { display: inline-block; margin-right: 5px; font-size: 14px; color: #e53e3e; }
.clamped-title { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; line-height: 1.35; max-height: 4.1em; margin-bottom: 6px; }
.meta-bottom-line { font-size: 12px; color: #888; font-weight: 600; display: flex; align-items: center; justify-content: space-between; margin-top: auto; width: 100%; }
.meta-wrap-left { display: flex; gap: 12px; align-items: center; }
.meta-bottom-line .time { color: #1b2e4a; font-family: "SF Mono", SFMono-Regular, Consolas, monospace; }
.meta-bottom-line .date { font-weight: 400; }
.feed-arrow { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; font-size: 18px; line-height: 1; color: #1b2e4a; font-weight: 700; opacity: 0.7; transition: 0.3s; }
.feed-arrow:hover { opacity: 1; transform: translateX(3px); text-shadow: none !important; }

/* --- HEADER & NAV --- */
.site-header { border-top: 4px solid #1b2e4a; background: #fff; position: relative; z-index: 1000; }
.header-top { display: flex; justify-content: flex-start; padding: 6px 0; font-size: 12px; color: #888; font-weight: 700; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
.header-main { padding: 15px 0; display: flex; justify-content: space-between; align-items: center; }
.header-right-group { display: flex; align-items: center; gap: 20px; }
.header-socials { display: flex; gap: 8px; }
.head-soc { width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff !important; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; font-weight: bold; font-size: 18px; transition: all 0.3s ease !important; }
.head-soc.fb { background: #3b5998; line-height: 1; padding-bottom: 2px; }
.head-soc.tg { background: #0088cc; }
.head-soc svg { width: 18px; height: 18px; }
.head-soc:hover { transform: translateY(-2px); box-shadow: 0 0 15px rgba(27, 46, 74, 0.4); text-shadow: none !important; }
.site-logo-group { display: flex; align-items: center; gap: 15px; text-decoration: none !important; }
.zak-logo-icon { width: 55px; height: auto; flex-shrink: 0; }
.zak-logo-text { display: flex; flex-direction: column; }
.zak-logo-text .line-1 { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; font-weight: 900; font-size: 26px; line-height: 1; color: #1b2e4a; text-transform: uppercase; letter-spacing: -0.5px; }
.zak-logo-text .line-2 { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; font-weight: 700; font-size: 18px; line-height: 1; color: #1b2e4a; text-transform: uppercase; letter-spacing: 2.5px; margin-top: 2px; }
.site-logo-group:hover .line-1, .site-logo-group:hover .line-2 { text-shadow: 0 0 15px rgba(27, 46, 74, 0.2); }
.search-box { position: relative; }
.h-search { padding: 8px 15px; border: 1px solid #ddd; border-radius: 4px; font-size: 14px; width: 220px; font-family: inherit; }
.main-nav { background: #1b2e4a; }
.main-nav ul { list-style: none !important; margin: 0 !important; padding: 0 !important; display: flex !important; flex-wrap: wrap; }
.main-nav li a { display: block !important; padding: 12px 18px !important; color: #fff !important; text-transform: uppercase; font-size: 12px; font-weight: 700; border-right: 1px solid rgba(255, 255, 255, 0.1); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; letter-spacing: 0.5px; }
.main-nav ul li a:hover { color: #fff !important; text-shadow: 0 0 10px #fff, 0 0 20px rgba(255, 255, 255, 0.3) !important; }

/* --- HERO SECTION --- */
.portal-hero { display: grid; grid-template-columns: 8fr 4fr; gap: 30px; margin: 25px 0; padding-bottom: 25px; border-bottom: 1px solid #eee; }
.hero-main-card { position: relative; border-radius: 4px; overflow: hidden; height: 100%; min-height: 280px; }
.hero-main-card > a { display: block; width: 100%; height: 100%; position: absolute; top: 0; left: 0; }
.hero-main-card img { width: 100%; height: 100%; object-fit: cover; display: block; margin: 0; transition: transform 0.5s ease; }
.hero-main-card:hover img { transform: scale(1.03); }
.hero-text-overlay { position: absolute; bottom: 0; left: 0; width: 100%; padding: 20px 25px; background: linear-gradient(to top, rgba(0, 11, 26, 0.9), rgba(0, 11, 26, 0.6) 60%, transparent); z-index: 1; pointer-events: none; }
.hero-main-card h2 { font-size: 26px; margin: 0 0 12px 0; line-height: 1.25; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; font-weight: 800; pointer-events: auto; }
.hero-main-card h2 a { position: static; color: #fff !important; text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5) !important; }
.hero-main-card h2 a:hover { color: #fff !important; text-shadow: 0 0 15px rgba(255, 255, 255, 0.4) !important; }
.hero-main-card .meta-bottom-line { color: rgba(255, 255, 255, 0.8); border-top: 1px solid rgba(255, 255, 255, 0.2); padding-top: 8px; margin-bottom: 0 !important; pointer-events: auto; }
.hero-main-card .meta-bottom-line .time { color: #fff; opacity: 0.9; }
.hero-main-card .video-text-icon { color: #fff !important; }
.hero-main-card .feed-arrow { color: #fff !important; opacity: 0.8; }
.featured-side-list { display: flex; flex-direction: column; justify-content: space-between; }
.featured-side-list .side-item { display: flex; gap: 12px; margin-bottom: 15px; padding-bottom: 15px; border-bottom: 1px solid #f4f4f4; position: relative; }
.featured-side-list .side-item:last-child { border: 0; margin-bottom: 0; padding-bottom: 0; }
.featured-side-list img { width: 110px; height: 75px; object-fit: cover; flex-shrink: 0; border-radius: 2px; }
.featured-side-list a { font-size: 14px; font-weight: 700; line-height: 1.4; color: #333; }

/* --- MAIN LAYOUT --- */
.main-portal-layout { display: grid; grid-template-columns: 9fr 3fr; gap: 40px; margin-top: 25px; }
.section-header-blue { color: #1b2e4a; text-transform: uppercase; font-size: 14px; font-weight: 700; border-bottom: 2px solid #1b2e4a; margin-bottom: 15px; padding-bottom: 5px; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
.news-row { display: flex; gap: 15px; padding: 15px 0; border-bottom: 1px solid #f4f4f4; font-size: 14px; align-items: flex-start; position: relative; }
.news-row .sidebar-thumb { width: 120px; height: 90px; flex-shrink: 0; border-radius: 2px; overflow: hidden; position: relative; }
.news-row .sidebar-thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-row .content-col { display: flex; flex-direction: column; justify-content: space-between; flex: 1; min-height: 90px; }
.news-row a { color: #333; font-weight: 700; line-height: 1.35; display: block; font-size: 15px; }

/* --- ARCHIVE GRID --- */
.archive-layout { display: block; margin-top: 25px; }
.archive-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 30px; margin-bottom: 40px; }
.grid-item { display: flex; flex-direction: column; border-bottom: 1px solid #eee; padding-bottom: 20px; }
.grid-item .sidebar-thumb { width: 100%; height: 200px; margin-bottom: 15px; border-radius: 4px; overflow: hidden; position: relative; }
.grid-item .sidebar-thumb img { width: 100%; height: 100%; object-fit: cover; transition: 0.3s; }
.grid-item:hover .sidebar-thumb img { transform: scale(1.05); }
.grid-item .clamped-title { font-size: 18px; margin-bottom: 10px; min-height: auto; }
.grid-item .excerpt { font-size: 14px; color: #666; margin-bottom: 15px; line-height: 1.5; flex-grow: 1; }

/* --- SIDEBAR SCALING --- */
.site-sidebar .sidebar-card { margin-bottom: 35px; }
.site-sidebar .sidebar-card .title { font-size: 12px; padding: 6px 10px; }
.site-sidebar .sidebar-thumb { width: 90px !important; height: 65px !important; }
.site-sidebar .content-col { min-height: 65px; }
.site-sidebar .clamped-title { font-size: 13px !important; line-height: 1.3; -webkit-line-clamp: 3; margin-bottom: 4px; }
.site-sidebar .meta-bottom-line { font-size: 11px; }
.site-sidebar .feed-arrow { width: 16px; height: 16px; font-size: 14px; }
.block-title-alt { border-top: 2px solid #1b2e4a; padding-top: 8px; margin: 30px 0 15px; }
.block-title-alt h3 { color: #1b2e4a; margin: 0; font-size: 16px; text-transform: uppercase; font-weight: 700; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
.block-title-alt h3::before { content: "» "; color: #1b2e4a; }
.sub-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.sub-item a { font-weight: 700; font-size: 14px; color: #333; line-height: 1.4; display: block; position: relative; }

/* --- FULL ARTICLE --- */
.single-centered-wrap { max-width: 850px; margin: 0 auto; padding-top: 30px; }
.full-article { background: #fff; margin-bottom: 40px; }
.entry-meta { font-size: 14px; color: #888; margin: 20px 0 15px 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; border-bottom: 1px solid #eee; padding-bottom: 15px; }
.entry-title { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; font-size: 30px; line-height: 1.15; color: #1b2e4a; margin: 0 0 25px 0; font-weight: 900; letter-spacing: -0.5px; }
.post-thumbnail { margin-bottom: 30px; border-radius: 4px; overflow: hidden; }
.post-thumbnail img { width: 100%; max-width: 100%; height: auto; display: block; }
.entry-content { font-size: 18px; line-height: 1.7; color: #2d3748; }
.entry-content p { margin-bottom: 25px; }
.entry-content h2, .entry-content h3 { color: #1b2e4a; margin-top: 40px; margin-bottom: 15px; font-weight: 800; }
.entry-content ul, .entry-content ol { margin-bottom: 25px; padding-left: 20px; }
.entry-content li { margin-bottom: 10px; }
.post-tags { margin: 40px 0; display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.tags-label { font-weight: 700; color: #1b2e4a; font-size: 14px; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
.post-tags a { background: #f0f4f8; color: #1b2e4a !important; padding: 6px 16px; border-radius: 4px; font-size: 13px; font-weight: 600; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
.post-tags a:hover { background: #1b2e4a !important; color: #fff !important; text-shadow: 0 0 8px rgba(255, 255, 255, 0.4) !important; box-shadow: none !important; }
.post-share-wrap { padding: 20px 0; border-top: 1px solid #eee; display: flex; align-items: center; gap: 15px; }
.share-label { font-weight: 700; color: #1b2e4a; font-size: 14px; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
.share-buttons { display: flex; gap: 10px; }

/* UPDATED SHARE BUTTONS (V10.2) */
.share-btn { 
    padding: 0 !important; 
    width: 40px; 
    height: 40px; 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    color: #fff !important; 
    transition: all 0.3s ease; 
}
.share-btn svg { width: 20px; height: 20px; fill: currentColor; }
.share-btn:hover { transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0,0,0,0.2); }
.share-btn.fb { background: #3b5998; }
.share-btn.tg { background: #0088cc; }
.share-btn.vb { background: #7360f2; }

.related-content-box { margin: 40px 0; padding: 30px; background: #f8fbff; border-radius: 8px; border: 1px solid #edf2f7; }
.rel-title { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; font-size: 18px; color: #1b2e4a; text-transform: uppercase; margin-bottom: 15px; padding-bottom: 8px; border-bottom: 2px solid #1b2e4a; display: inline-block; font-weight: 800; }
.rel-posts { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.rel-posts.text-only { grid-template-columns: 1fr; }
.rel-thumb { width: 100%; height: 100px; overflow: hidden; border-radius: 2px; margin-bottom: 8px; }
.rel-thumb img { width: 100%; height: 100%; object-fit: cover; }
.telegram-cta { margin: 40px 0; padding: 30px; background: #1b2e4a; border-radius: 8px; display: flex; align-items: center; gap: 20px; color: #fff; }
.tg-join-btn { background: #fff; color: #1b2e4a !important; padding: 12px 25px; border-radius: 4px; font-weight: 700; text-transform: uppercase; font-size: 14px; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; white-space: nowrap; }
.tg-join-btn:hover { background: #e2e8f0 !important; color: #1b2e4a !important; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3); text-shadow: none !important; }

/* COMMENTS & FOOTER */
#comments { margin-top: 60px; padding-top: 40px; border-top: 1px solid #eee; }
.comments-title { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; font-size: 24px; color: #1b2e4a; margin-bottom: 30px; font-weight: 800; }
.comment-list { list-style: none; padding: 0; }
.comment-body { padding: 25px; background: #f9fafb; border-radius: 8px; margin-bottom: 20px; border: 1px solid #edf2f7; }
.comment-meta { display: flex; align-items: center; gap: 15px; margin-bottom: 10px; }
.comment-author cite { font-weight: 700; font-style: normal; color: #1b2e4a; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
.comment-metadata a { color: #888; font-size: 12px; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
.comment-content { font-size: 16px; line-height: 1.6; color: #444; }
.comment-reply-link { font-size: 12px; font-weight: 700; color: #1b2e4a; text-transform: uppercase; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
#respond { background: #fff; padding: 30px; border: 1px solid #eee; border-radius: 8px; margin-top: 40px; }
#reply-title { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; font-size: 22px; color: #1b2e4a; margin-bottom: 20px; font-weight: 800; }
.comment-form-comment textarea { width: 100%; border: 1px solid #ddd; padding: 15px; border-radius: 4px; font-family: inherit; font-size: 16px; background: #fcfcfc; }
#respond input[type="text"], #respond input[type="email"], #respond input[type="url"], .comment-form-comment textarea { width: 100%; border: 1px solid #ddd; padding: 15px; border-radius: 4px; font-family: inherit; font-size: 16px; background: #fcfcfc; margin-bottom: 15px; }
.comment-notes, .logged-in-as { font-size: 14px; color: #666; margin-bottom: 20px; }
.submit-comment-btn { background: #1b2e4a !important; color: #fff !important; border: none !important; padding: 12px 30px !important; border-radius: 4px !important; font-weight: 700 !important; text-transform: uppercase !important; cursor: pointer; transition: 0.3s !important; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
.submit-comment-btn:hover { background: #2c5282 !important; box-shadow: 0 0 10px rgba(0,0,0,0.2) !important; text-shadow: none !important; }
.sidebar-sticky { position: sticky; top: 20px; }
.site-footer { background: #1b2e4a; color: #cbd5e0; padding: 50px 0 30px; margin-top: 50px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.footer-brand .site-logo-group .line-1, .footer-brand .site-logo-group .line-2 { color: #fff !important; }
.footer-brand .site-logo-group:hover .line-1, .footer-brand .site-logo-group:hover .line-2 { text-shadow: 0 0 15px rgba(255, 255, 255, 0.4); }
.footer-socials { display: flex; gap: 10px; margin-top: 20px; }
.soc-link { padding: 8px 15px; border-radius: 4px; font-size: 12px; font-weight: 700; color: #fff !important; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
.soc-link.fb { background: #3b5998; }
.soc-link.tg { background: #0088cc; }
.footer-title { color: #fff; text-transform: uppercase; font-size: 14px; margin-bottom: 15px; font-weight: 700; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
.footer-menu { list-style: none; padding: 0; line-height: 2.2; }
.footer-menu a:hover { color: #fff !important; text-shadow: 0 0 8px rgba(255, 255, 255, 0.3) !important; }
.write-editor-btn { margin-top: 15px; background: transparent; border: 1px solid #fff; color: #fff; padding: 10px 15px; border-radius: 4px; cursor: pointer; font-weight: 700; font-size: 13px; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; text-transform: uppercase; }
.write-editor-btn:hover { background: #fff; color: #1b2e4a; }
.footer-bottom { margin-top: 40px; border-top: 1px solid rgba(255, 255, 255, 0.05); padding-top: 20px; font-size: 12px; }
.footer-bottom-flex { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.footer-contacts a:hover { color: #fff !important; text-shadow: 0 0 10px rgba(255,255,255,0.8); text-decoration: underline; }
.developer-box { display: flex; align-items: center; gap: 12px; }
.developer-box span { font-size: 11px; text-transform: uppercase; letter-spacing: 0.5px; opacity: 0.5; color: #fff; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
.dev-link-clean { display: flex; align-items: center; transition: all 0.3s ease !important; }
.dev-link-clean:hover { transform: scale(1.05); text-shadow: none !important; }
.dev-link-clean svg { height: 32px; width: auto; display: block; }
.zak-modal { display: none; position: fixed; z-index: 10000; left: 0; top: 0; width: 100%; height: 100%; background: rgba(0, 11, 26, 0.7); align-items: center; justify-content: center; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.zak-modal-content { background: #fff; padding: 35px; border-radius: 12px; width: 450px; max-width: 90%; position: relative; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4); animation: modalAppear 0.3s ease-out; }
.zak-close { position: absolute; right: 20px; top: 15px; font-size: 32px; font-weight: bold; cursor: pointer; color: #999; }
.zak-close:hover { color: #1b2e4a; }
.zak-modal-content h3 { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; font-weight: 800; color: #1b2e4a; margin-bottom: 25px; text-transform: uppercase; letter-spacing: 1px; }
.f-group { margin-bottom: 20px; }
.f-group input, .f-group textarea { width: 100%; padding: 14px; border: 1px solid #ddd; border-radius: 6px; font-family: inherit; font-size: 15px; background: #fcfcfc; }
#live-search-results, #live-search-results-mob { position: absolute; top: 100%; right: 0; width: 400px; background: #fff; border: 1px solid #e2e8f0; box-shadow: 0 10px 30px rgba(0,0,0,0.15); z-index: 9999; display: none; margin-top: 8px; border-radius: 6px; overflow: hidden; }
#live-search-results-mob { width: 100%; left: 0; right: 0; border-radius: 0; border: none; border-top: 1px solid #eee; margin-top: 0; box-shadow: none; position: static; }
.search-res-item { display: flex; gap: 15px; padding: 12px 15px; border-bottom: 1px solid #f4f4f4; align-items: center; font-size: 14px; transition: 0.2s; }
.search-res-item:last-child { border-bottom: none; }
.search-res-item:hover { background: #f8fbff; }
.search-res-item img { width: 60px !important; height: 45px !important; object-fit: cover; flex-shrink: 0 !important; border-radius: 3px; background: #eee; }
.search-res-item span { font-weight: 600; color: #1b2e4a; line-height: 1.3; }
.portal-pagination { margin: 40px 0; display: flex; justify-content: center; gap: 8px; }
.portal-pagination .page-numbers { padding: 8px 16px; background: #f4f4f4; color: #1b2e4a !important; border-radius: 4px; font-weight: 700; font-size: 14px; transition: 0.3s; text-shadow: none !important; }
.portal-pagination .page-numbers:hover { background: #1b2e4a; color: #fff !important; }
.portal-pagination .current { background: #1b2e4a; color: #fff !important; }
.portal-pagination .prev, .portal-pagination .next { background: #e2e8f0; }
.page-404-wrap { text-align: center; padding: 60px 0; border-bottom: 2px solid #1b2e4a; margin-bottom: 40px; }
.error-404-title { font-size: 120px; font-weight: 900; line-height: 1; color: #1b2e4a; opacity: 0.1; }
.error-404-text { font-size: 24px; font-weight: 700; margin-bottom: 20px; color: #1b2e4a; }
.error-404-sub { color: #666; margin-bottom: 30px; }
.home-btn { display: inline-block; padding: 12px 30px; background: #1b2e4a; color: #fff !important; font-weight: 700; border-radius: 4px; text-transform: uppercase; }
.home-btn:hover { background: #2c5282; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); text-shadow: none !important; }
.mobile-controls { display: none; }
.mobile-search-bar input { width: 100%; padding: 12px 15px; border: none; border-bottom: 2px solid #1b2e4a; font-size: 16px; border-radius: 0; outline: none; }
.mobile-search-bar { background: #fff; padding: 10px 0; border-bottom: 1px solid #eee; }

@media (max-width: 991px) {
    .hide-on-mobile, .desktop-only { display: none !important; }
    .container { padding: 0 20px; }
    .portal-hero, .main-portal-layout, .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .site-sidebar { order: 2; margin-top: 0; }
    .main-portal-layout main { order: 1; }
    .site-header { position: sticky; top: 0; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); }
    .header-main { padding: 12px 0; flex-direction: row; justify-content: space-between; align-items: center; }
    .mobile-controls { display: flex; align-items: center; gap: 15px; }
    .mob-btn { background: none; border: none; padding: 5px; color: #1b2e4a; cursor: pointer; }
    .zak-logo-icon { width: 40px; }
    .zak-logo-text .line-1 { font-size: 18px; }
    .zak-logo-text .line-2 { font-size: 12px; letter-spacing: 1.5px; }
    .main-nav { display: none; position: absolute; top: 100%; left: 0; width: 100%; z-index: 999; border-top: 1px solid rgba(255, 255, 255, 0.1); padding-bottom: 15px !important; }
    .main-nav.mob-active { display: block; animation: slideDown 0.3s ease; }
    @keyframes slideDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
    .main-nav ul { flex-direction: column; overflow: visible; padding: 0 !important; }
    .main-nav li a { display: block; width: 100%; padding: 15px 20px !important; border-right: none; border-bottom: 1px solid rgba(255, 255, 255, 0.05); font-size: 15px; }
    .hero-main-card { min-height: 220px; }
    .hero-main-card h2 { font-size: 18px; margin-bottom: 8px; }
    .hero-text-overlay { padding: 15px; }
    .news-row .sidebar-thumb { width: 90px !important; height: 65px !important; }
    .news-row .content-col { min-height: 65px; }
    .clamped-title { font-size: 14px !important; -webkit-line-clamp: 3; }
    .telegram-cta { flex-direction: column; text-align: center; gap: 15px; }
    .tg-icon { margin-right: 0; margin-bottom: 5px; }
    .footer-grid { gap: 40px; text-align: center; }
    .footer-brand, .footer-links, .footer-contacts { align-items: center; display: flex; flex-direction: column; }
    .footer-socials { justify-content: center; }
    .footer-bottom-flex { flex-direction: column; gap: 15px; }
    .mobile-text-only .rel-thumb { display: none; }
    .mobile-text-only .rel-posts { grid-template-columns: 1fr; }
}