/* =============================================
   FEDOROV TECH - Modern Tech Style
   ============================================= */

:root {
    --ft-bg: #0a0a0f;
    --ft-bg-card: #12121a;
    --ft-bg-card-hover: #1a1a2e;
    --ft-bg-surface: #16161f;
    --ft-border: rgba(255,255,255,0.06);
    --ft-border-hover: rgba(255,255,255,0.12);
    --ft-text: #e4e4e7;
    --ft-text-muted: #8b8b9e;
    --ft-text-dim: #5a5a6e;
    --ft-accent: #6366f1;
    --ft-accent-light: #818cf8;
    --ft-cyan: #22d3ee;
    --ft-gradient: linear-gradient(135deg, #6366f1, #8b5cf6, #a78bfa);
    --ft-gradient-text: linear-gradient(135deg, #6366f1, #22d3ee);
    --ft-glow: 0 0 20px rgba(99,102,241,0.15);
    --ft-radius: 12px;
    --ft-radius-sm: 8px;
    --ft-font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --ft-mono: 'JetBrains Mono', monospace;
    --ft-max-w: 1100px;
    --ft-content-w: 780px;
}

/* --- Reset & Base --- */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--ft-font) !important;
    background: var(--ft-bg) !important;
    color: var(--ft-text) !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.7;
}

::selection {
    background: rgba(99,102,241,0.3);
    color: #fff;
}

a {
    color: var(--ft-accent-light);
    transition: color 0.2s;
}
a:hover {
    color: var(--ft-cyan);
}

/* --- Header --- */
.fedtech-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10,10,15,0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--ft-border);
}

.fedtech-header-inner {
    max-width: var(--ft-max-w);
    margin: 0 auto;
    padding: 0 24px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.fedtech-logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #fff;
}

.fedtech-logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--ft-gradient);
    border-radius: 10px;
    font-weight: 800;
    font-size: 14px;
    letter-spacing: -0.5px;
    color: #fff;
}

.fedtech-logo-text {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.3px;
}

/* Navigation */
.fedtech-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.fedtech-menu {
    display: flex;
    list-style: none;
    gap: 2px;
    margin: 0;
    padding: 0;
}

.fedtech-menu li a {
    display: block;
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 500;
    color: var(--ft-text-muted);
    text-decoration: none;
    border-radius: var(--ft-radius-sm);
    transition: all 0.2s;
    white-space: nowrap;
}

.fedtech-menu li a:hover,
.fedtech-menu li.current-menu-item a,
.fedtech-menu li.current_page_item a {
    color: #fff;
    background: rgba(255,255,255,0.06);
}

.fedtech-search-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: none;
    background: rgba(255,255,255,0.06);
    border-radius: var(--ft-radius-sm);
    color: var(--ft-text-muted);
    cursor: pointer;
    transition: all 0.2s;
    margin-left: 8px;
}

.fedtech-search-btn:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
}

.fedtech-search-dropdown {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    z-index: 200;
}

.fedtech-search-dropdown .search-form {
    background: var(--ft-bg-card);
    border: 1px solid var(--ft-border);
    border-radius: var(--ft-radius);
    padding: 4px;
}

.fedtech-search-dropdown input[type="search"] {
    background: transparent;
    border: none;
    color: var(--ft-text);
    padding: 10px 16px;
    font-size: 14px;
    width: 280px;
    outline: none;
}

.fedtech-search-dropdown input[type="search"]::placeholder {
    color: var(--ft-text-dim);
}

/* Burger */
.fedtech-burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.fedtech-burger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--ft-text);
    border-radius: 2px;
    transition: all 0.3s;
}

.fedtech-burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.fedtech-burger.active span:nth-child(2) {
    opacity: 0;
}
.fedtech-burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile menu */
.fedtech-mobile-menu {
    background: var(--ft-bg);
    border-top: 1px solid var(--ft-border);
    padding: 20px 24px 32px;
}

.fedtech-mobile-nav {
    list-style: none;
    padding: 0;
    margin: 16px 0 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.fedtech-mobile-nav li a {
    display: block;
    padding: 12px 16px;
    color: var(--ft-text);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    border-radius: var(--ft-radius-sm);
    transition: background 0.2s;
}

.fedtech-mobile-nav li a:hover {
    background: rgba(255,255,255,0.06);
}

.fedtech-mobile-menu .search-form {
    display: flex;
    background: var(--ft-bg-card);
    border: 1px solid var(--ft-border);
    border-radius: var(--ft-radius);
    overflow: hidden;
}

.fedtech-mobile-menu input[type="search"] {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--ft-text);
    padding: 12px 16px;
    font-size: 15px;
    outline: none;
}

.fedtech-mobile-menu input[type="submit"],
.fedtech-mobile-menu button[type="submit"] {
    background: var(--ft-accent);
    border: none;
    color: #fff;
    padding: 12px 20px;
    font-weight: 600;
    cursor: pointer;
}

/* ======== HERO ======== */
.fedtech-hero {
    position: relative;
    overflow: hidden;
    padding: 80px 24px 60px;
}

.fedtech-hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 50% 60% at 20% 20%, rgba(99,102,241,0.12), transparent),
        radial-gradient(ellipse 40% 50% at 80% 80%, rgba(34,211,238,0.08), transparent),
        radial-gradient(ellipse 60% 40% at 50% 0%, rgba(139,92,246,0.1), transparent);
    pointer-events: none;
}

.fedtech-hero-content {
    position: relative;
    max-width: var(--ft-content-w);
    margin: 0 auto;
    text-align: center;
}

.fedtech-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(99,102,241,0.1);
    border: 1px solid rgba(99,102,241,0.2);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    color: var(--ft-accent-light);
    letter-spacing: 0.02em;
    margin-bottom: 24px;
}

.fedtech-hero-title {
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: #fff;
    margin-bottom: 20px;
}

.fedtech-gradient-text {
    background: var(--ft-gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.fedtech-hero-desc {
    font-size: clamp(16px, 2vw, 19px);
    color: var(--ft-text-muted);
    line-height: 1.6;
    max-width: 580px;
    margin: 0 auto 40px;
}

.fedtech-hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
}

.fedtech-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.fedtech-stat-num {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    font-family: var(--ft-mono);
    letter-spacing: -0.02em;
}

.fedtech-stat-label {
    font-size: 13px;
    color: var(--ft-text-dim);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* ======== MAIN CONTENT / POST GRID ======== */
#content {
    max-width: var(--ft-max-w) !important;
    padding: 40px 24px 60px !important;
    gap: 24px !important;
}

/* ======== POST CARDS ======== */
article.post {
    background: var(--ft-bg-card);
    border: 1px solid var(--ft-border);
    border-radius: var(--ft-radius);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0 !important;
}

article.post:hover {
    border-color: var(--ft-border-hover);
    background: var(--ft-bg-card-hover);
    transform: translateY(-2px);
    box-shadow: var(--ft-glow);
}

article.post .entry-header {
    padding: 0;
    gap: 12px !important;
}

article.post .entry-header a {
    display: block;
    text-decoration: none;
    color: inherit;
}

article.post .entry-header img,
article.post .wp-post-image {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: 0 !important;
    margin: 0 !important;
    display: block;
}

article.post .entry-header h2 {
    font-size: 17px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    color: #fff;
    padding: 0 20px;
    letter-spacing: -0.01em;
    transition: color 0.2s;
}

article.post:hover .entry-header h2 {
    color: var(--ft-accent-light);
}

article.post .entry-meta {
    padding: 0 20px;
    font-size: 12px !important;
    color: var(--ft-text-dim) !important;
}

article.post .entry-meta a {
    color: var(--ft-text-muted) !important;
    font-weight: 500;
}

/* Category badges in cards */
article.post .entry-header + div,
article.post div:has(> a.inline-block) {
    padding: 0 20px;
}

article.post a.inline-block {
    background: rgba(99,102,241,0.1) !important;
    color: var(--ft-accent-light) !important;
    border-radius: 6px !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    padding: 4px 10px !important;
    border: 1px solid rgba(99,102,241,0.15);
    transition: all 0.2s;
}

article.post a.inline-block:hover {
    background: rgba(99,102,241,0.2) !important;
}

/* Excerpt */
article.post .entry-summary {
    padding: 0 20px 20px !important;
    margin: 0 !important;
}

article.post .entry-summary p {
    font-size: 14px;
    color: var(--ft-text-muted);
    line-height: 1.6;
}

article.post .entry-summary a {
    color: var(--ft-accent-light);
    font-weight: 500;
    font-size: 13px;
}

/* ======== SINGLE POST ======== */
.single #content {
    max-width: var(--ft-content-w) !important;
}

.single article.post {
    background: transparent;
    border: none;
    padding: 0 !important;
}

.single article.post:hover {
    transform: none;
    box-shadow: none;
}

.single article.post h1 {
    font-size: clamp(28px, 4vw, 40px) !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    letter-spacing: -0.03em;
    color: #fff;
    padding: 0;
}

.single article.post .entry-meta {
    padding: 0;
}

.single article.post img {
    border-radius: var(--ft-radius) !important;
}

/* Content typography */
.mnm-content,
.entry-content {
    color: var(--ft-text);
    line-height: 1.8;
    font-size: 17px;
}

.mnm-content h2,
.entry-content h2 {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin: 48px 0 16px;
    letter-spacing: -0.02em;
}

.mnm-content h3,
.entry-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin: 36px 0 12px;
}

.mnm-content p,
.entry-content p {
    margin-bottom: 20px;
}

.mnm-content a,
.entry-content a {
    color: var(--ft-accent-light);
    text-decoration: underline;
    text-decoration-color: rgba(99,102,241,0.3);
    text-underline-offset: 3px;
    transition: text-decoration-color 0.2s;
}

.mnm-content a:hover,
.entry-content a:hover {
    text-decoration-color: var(--ft-accent-light);
}

.mnm-content blockquote,
.entry-content blockquote {
    border-left: 3px solid var(--ft-accent);
    padding: 16px 24px;
    margin: 24px 0;
    background: rgba(99,102,241,0.05);
    border-radius: 0 var(--ft-radius-sm) var(--ft-radius-sm) 0;
    color: var(--ft-text-muted);
    font-style: italic;
}

.mnm-content code,
.entry-content code {
    font-family: var(--ft-mono);
    background: rgba(255,255,255,0.06);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.9em;
    color: var(--ft-cyan);
}

.mnm-content pre,
.entry-content pre {
    background: var(--ft-bg-card) !important;
    border: 1px solid var(--ft-border);
    border-radius: var(--ft-radius-sm);
    padding: 20px;
    overflow-x: auto;
    margin: 24px 0;
}

.mnm-content ul,
.entry-content ul {
    list-style: disc;
    padding-left: 24px;
    margin-bottom: 20px;
}

.mnm-content ol,
.entry-content ol {
    list-style: decimal;
    padding-left: 24px;
    margin-bottom: 20px;
}

.mnm-content li,
.entry-content li {
    margin-bottom: 8px;
}

/* ======== CATEGORY ARCHIVE ======== */
.archive .fedtech-hero,
.search .fedtech-hero {
    display: none;
}

/* ======== PAGINATION ======== */
.navigation,
nav.navigation {
    max-width: var(--ft-max-w);
    margin: 0 auto;
    padding: 20px 24px 60px;
}

.nav-links {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.nav-links a,
.nav-links span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 14px;
    border-radius: var(--ft-radius-sm);
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
}

.nav-links a {
    background: var(--ft-bg-card);
    border: 1px solid var(--ft-border);
    color: var(--ft-text);
    text-decoration: none;
}

.nav-links a:hover {
    border-color: var(--ft-accent);
    color: var(--ft-accent-light);
}

.nav-links .current,
.nav-links span.current {
    background: var(--ft-accent);
    color: #fff;
    border: 1px solid var(--ft-accent);
}

/* ======== FOOTER ======== */
.fedtech-footer {
    border-top: 1px solid var(--ft-border);
    background: var(--ft-bg-surface);
    margin-top: 40px;
}

.fedtech-footer-inner {
    max-width: var(--ft-max-w);
    margin: 0 auto;
    padding: 0 24px;
}

.fedtech-footer-top {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    padding: 48px 0 40px;
    flex-wrap: wrap;
}

.fedtech-footer-brand {
    flex: 1;
    min-width: 200px;
}

.fedtech-footer-tagline {
    color: var(--ft-text-dim);
    font-size: 14px;
    margin-top: 12px;
}

.fedtech-footer-cats h3 {
    font-size: 14px;
    font-weight: 700;
    color: var(--ft-text);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
}

.fedtech-footer-cats ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.fedtech-footer-cats ul li a {
    color: var(--ft-text-muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s;
}

.fedtech-footer-cats ul li a:hover {
    color: #fff;
}

.fedtech-footer-cats ul li a span {
    font-size: 11px;
    background: rgba(255,255,255,0.06);
    padding: 2px 8px;
    border-radius: 100px;
    color: var(--ft-text-dim);
    font-family: var(--ft-mono);
}

.fedtech-footer-bottom {
    border-top: 1px solid var(--ft-border);
    padding: 20px 0;
    text-align: center;
}

.fedtech-footer-bottom p {
    font-size: 13px;
    color: var(--ft-text-dim);
    margin: 0;
}

/* ======== SEARCH FORM GLOBAL ======== */
.search-form {
    position: relative;
}

.search-form label {
    display: block;
}

input[type="search"] {
    background: var(--ft-bg-card);
    border: 1px solid var(--ft-border);
    color: var(--ft-text);
    border-radius: var(--ft-radius-sm);
    padding: 10px 16px;
    font-size: 14px;
    width: 100%;
    outline: none;
    transition: border-color 0.2s;
}

input[type="search"]:focus {
    border-color: var(--ft-accent);
}

input[type="search"]::placeholder {
    color: var(--ft-text-dim);
}

/* ======== COMMENTS ======== */
.comments-area {
    margin-top: 48px;
    padding-top: 40px;
    border-top: 1px solid var(--ft-border);
}

.comments-area h2,
.comments-area h3 {
    color: #fff;
    font-weight: 700;
}

.comment-body {
    background: var(--ft-bg-card);
    border: 1px solid var(--ft-border);
    border-radius: var(--ft-radius);
    padding: 20px;
    margin-bottom: 16px;
}

.comment-author {
    color: #fff;
    font-weight: 600;
}

.comment-metadata {
    font-size: 12px;
    color: var(--ft-text-dim);
}

textarea,
input[type="text"],
input[type="email"],
input[type="url"] {
    background: var(--ft-bg-card);
    border: 1px solid var(--ft-border);
    color: var(--ft-text);
    border-radius: var(--ft-radius-sm);
    padding: 10px 16px;
    font-size: 14px;
    width: 100%;
    outline: none;
    transition: border-color 0.2s;
    font-family: var(--ft-font);
}

textarea:focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus {
    border-color: var(--ft-accent);
}

input[type="submit"],
button[type="submit"] {
    background: var(--ft-gradient);
    color: #fff;
    border: none;
    padding: 10px 24px;
    border-radius: var(--ft-radius-sm);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: opacity 0.2s;
}

input[type="submit"]:hover,
button[type="submit"]:hover {
    opacity: 0.9;
}

/* ======== 404 ======== */
.error404 #content {
    text-align: center;
    padding: 80px 24px !important;
}

/* ======== SCROLLBAR ======== */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: var(--ft-bg);
}
::-webkit-scrollbar-thumb {
    background: var(--ft-border-hover);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--ft-text-dim);
}

/* ======== RESPONSIVE ======== */
@media (max-width: 768px) {
    .fedtech-nav {
        display: none;
    }

    .fedtech-burger {
        display: flex;
    }

    .fedtech-hero {
        padding: 48px 20px 40px;
    }

    .fedtech-hero-stats {
        gap: 24px;
    }

    .fedtech-stat-num {
        font-size: 22px;
    }

    #content {
        grid-template-columns: 1fr !important;
        padding: 24px 16px 40px !important;
    }

    .fedtech-footer-top {
        flex-direction: column;
        gap: 32px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    #content {
        max-width: 100% !important;
        padding: 40px 32px 60px !important;
    }
}

/* ======== CATEGORY-SPECIFIC BADGE COLORS ======== */
/* Яндекс Директ */
article.post.category-yandeks-direkt a.inline-block,
article.post.category-yandex-direkt a.inline-block {
    background: rgba(252,211,77,0.1) !important;
    color: #fcd34d !important;
    border-color: rgba(252,211,77,0.2) !important;
}

/* Таргет VK */
article.post.category-target-vk a.inline-block,
article.post.category-taget-vk a.inline-block {
    background: rgba(59,130,246,0.1) !important;
    color: #60a5fa !important;
    border-color: rgba(59,130,246,0.2) !important;
}

/* SEO */
article.post.category-seo a.inline-block {
    background: rgba(34,197,94,0.1) !important;
    color: #4ade80 !important;
    border-color: rgba(34,197,94,0.2) !important;
}

/* SMM */
article.post.category-smm a.inline-block {
    background: rgba(236,72,153,0.1) !important;
    color: #f472b6 !important;
    border-color: rgba(236,72,153,0.2) !important;
}

/* Яндекс Бизнес */
article.post.category-yandeks-biznes a.inline-block {
    background: rgba(251,146,60,0.1) !important;
    color: #fb923c !important;
    border-color: rgba(251,146,60,0.2) !important;
}

/* Комплексное продвижение */
article.post.category-kompleksnoe-prodvizhenie a.inline-block {
    background: rgba(139,92,246,0.1) !important;
    color: #a78bfa !important;
    border-color: rgba(139,92,246,0.2) !important;
}

/* ======== SMOOTH ANIMATIONS ======== */
@media (prefers-reduced-motion: no-preference) {
    article.post {
        animation: fadeInUp 0.4s ease both;
    }
    article.post:nth-child(2) { animation-delay: 0.05s; }
    article.post:nth-child(3) { animation-delay: 0.1s; }
    article.post:nth-child(4) { animation-delay: 0.15s; }
    article.post:nth-child(5) { animation-delay: 0.2s; }
    article.post:nth-child(6) { animation-delay: 0.25s; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ======== FOOTER SOCIAL LINKS ======== */
.fedtech-footer-social {
    display: flex;
    gap: 8px;
    margin-top: 16px;
}

.fedtech-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: var(--ft-radius-sm);
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--ft-border);
    color: var(--ft-text-muted);
    transition: all 0.2s;
    text-decoration: none;
}

.fedtech-social-link:hover {
    background: rgba(99,102,241,0.15);
    border-color: rgba(99,102,241,0.3);
    color: var(--ft-accent-light);
}

/* ======== IMPROVED CONTENT: TABLES ======== */
.mnm-content table,
.entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 15px;
    border-radius: var(--ft-radius);
    overflow: hidden;
    border: 1px solid var(--ft-border);
}

.mnm-content thead,
.entry-content thead {
    background: rgba(99,102,241,0.1);
}

.mnm-content th,
.entry-content th {
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    color: #fff;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid var(--ft-border);
}

.mnm-content td,
.entry-content td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--ft-border);
    color: var(--ft-text);
}

.mnm-content tr:last-child td,
.entry-content tr:last-child td {
    border-bottom: none;
}

.mnm-content tbody tr:hover,
.entry-content tbody tr:hover {
    background: rgba(255,255,255,0.02);
}

.mnm-content tbody tr:nth-child(even),
.entry-content tbody tr:nth-child(even) {
    background: rgba(255,255,255,0.015);
}

/* Responsive table wrapper */
.mnm-content .wp-block-table,
.entry-content .wp-block-table {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* ======== IMPROVED CONTENT: LISTS ======== */
.mnm-content ul,
.entry-content ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 24px;
}

.mnm-content ul li,
.entry-content ul li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 10px;
    line-height: 1.7;
}

.mnm-content ul li::before,
.entry-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--ft-accent);
}

.mnm-content ol,
.entry-content ol {
    list-style: none;
    counter-reset: ol-counter;
    padding-left: 0;
    margin-bottom: 24px;
}

.mnm-content ol li,
.entry-content ol li {
    counter-increment: ol-counter;
    position: relative;
    padding-left: 36px;
    margin-bottom: 12px;
    line-height: 1.7;
}

.mnm-content ol li::before,
.entry-content ol li::before {
    content: counter(ol-counter);
    position: absolute;
    left: 0;
    top: 2px;
    width: 24px;
    height: 24px;
    border-radius: 6px;
    background: rgba(99,102,241,0.1);
    border: 1px solid rgba(99,102,241,0.2);
    color: var(--ft-accent-light);
    font-size: 12px;
    font-weight: 700;
    font-family: var(--ft-mono);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Nested lists */
.mnm-content ul ul,
.entry-content ul ul,
.mnm-content ol ol,
.entry-content ol ol {
    margin-top: 8px;
    margin-bottom: 0;
}

.mnm-content ul ul li::before,
.entry-content ul ul li::before {
    width: 4px;
    height: 4px;
    background: var(--ft-text-dim);
    top: 12px;
}

/* ======== IMPROVED CONTENT: IMAGES ======== */
.mnm-content img,
.entry-content img {
    border-radius: var(--ft-radius);
    margin: 8px 0;
}

.mnm-content figure,
.entry-content figure {
    margin: 28px 0;
}

.mnm-content figcaption,
.entry-content figcaption {
    font-size: 13px;
    color: var(--ft-text-dim);
    text-align: center;
    margin-top: 8px;
    font-style: italic;
}

/* ======== IMPROVED CONTENT: HORIZONTAL RULE ======== */
.mnm-content hr,
.entry-content hr {
    border: none;
    height: 1px;
    background: var(--ft-border);
    margin: 40px 0;
}

/* ======== IMPROVED CONTENT: DEFINITION LISTS ======== */
.mnm-content dl,
.entry-content dl {
    margin: 24px 0;
}

.mnm-content dt,
.entry-content dt {
    font-weight: 700;
    color: #fff;
    margin-top: 16px;
}

.mnm-content dd,
.entry-content dd {
    margin-left: 0;
    padding-left: 16px;
    border-left: 2px solid var(--ft-border);
    color: var(--ft-text-muted);
    margin-top: 4px;
}

/* ======== IMPROVED CONTENT: MARK / HIGHLIGHT ======== */
.mnm-content mark,
.entry-content mark {
    background: rgba(99,102,241,0.2);
    color: var(--ft-accent-light);
    padding: 1px 6px;
    border-radius: 3px;
}

/* ======== ABOUT PAGE ======== */
.fedtech-about {
    max-width: var(--ft-max-w) !important;
    margin: 0 auto !important;
    padding: 0 24px 60px !important;
    display: block !important;
}

.fedtech-about-hero {
    position: relative;
    padding: 60px 0 40px;
    overflow: hidden;
}

.fedtech-about-hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 50% 60% at 30% 30%, rgba(99,102,241,0.1), transparent),
        radial-gradient(ellipse 40% 50% at 70% 70%, rgba(34,211,238,0.06), transparent);
    pointer-events: none;
}

.fedtech-about-hero-inner {
    position: relative;
    display: flex;
    align-items: center;
    gap: 48px;
}

.fedtech-about-photo {
    flex-shrink: 0;
}

.fedtech-about-avatar {
    width: 200px;
    height: 200px;
    border-radius: 20px;
    object-fit: cover;
    border: 2px solid var(--ft-border);
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.fedtech-about-avatar-placeholder {
    width: 200px;
    height: 200px;
    border-radius: 20px;
    background: var(--ft-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    font-weight: 800;
    color: #fff;
}

.fedtech-about-intro {
    flex: 1;
}

.fedtech-about-name {
    font-size: 36px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.03em;
    margin: 12px 0 4px;
}

.fedtech-about-role {
    font-size: 18px;
    color: var(--ft-accent-light);
    font-weight: 500;
    margin-bottom: 12px;
}

.fedtech-about-desc {
    color: var(--ft-text-muted);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.fedtech-about-quote {
    color: var(--ft-text-muted);
    font-size: 16px;
    font-style: italic;
    margin-bottom: 20px;
}

.fedtech-about-socials {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.fedtech-about-social-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--ft-border);
    border-radius: var(--ft-radius-sm);
    color: var(--ft-text-muted);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
}

.fedtech-about-social-btn:hover {
    background: rgba(99,102,241,0.1);
    border-color: rgba(99,102,241,0.3);
    color: var(--ft-accent-light);
}

/* About sections */
.fedtech-about-section {
    margin: 48px 0;
}

.fedtech-about-h2 {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
    margin-bottom: 28px;
}

/* Stats grid */
.fedtech-about-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.fedtech-about-stat-card {
    background: var(--ft-bg-card);
    border: 1px solid var(--ft-border);
    border-radius: var(--ft-radius);
    padding: 28px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 4px;
    transition: all 0.2s;
}

.fedtech-about-stat-card:hover {
    border-color: var(--ft-border-hover);
    background: var(--ft-bg-card-hover);
}

/* Services grid */
.fedtech-about-services {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.fedtech-about-service {
    background: var(--ft-bg-card);
    border: 1px solid var(--ft-border);
    border-radius: var(--ft-radius);
    padding: 24px;
    transition: all 0.3s;
}

.fedtech-about-service:hover {
    border-color: var(--ft-border-hover);
    transform: translateY(-2px);
    box-shadow: var(--ft-glow);
}

.fedtech-about-service-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-bottom: 12px;
}

.fedtech-about-service h3 {
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.fedtech-about-service p {
    font-size: 14px;
    color: var(--ft-text-muted);
    line-height: 1.6;
    margin: 0;
}

/* Cases grid */
.fedtech-about-cases {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.fedtech-about-case {
    background: var(--ft-bg-card);
    border: 1px solid var(--ft-border);
    border-radius: var(--ft-radius);
    padding: 24px;
    transition: all 0.3s;
}

.fedtech-about-case:hover {
    border-color: var(--ft-border-hover);
    transform: translateY(-2px);
    box-shadow: var(--ft-glow);
}

.fedtech-about-case-header {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.fedtech-about-case-niche {
    font-size: 11px;
    font-weight: 600;
    color: var(--ft-accent-light);
    background: rgba(99,102,241,0.1);
    border: 1px solid rgba(99,102,241,0.15);
    padding: 3px 10px;
    border-radius: 100px;
}

.fedtech-about-case h3 {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
}

.fedtech-about-case p {
    font-size: 14px;
    color: var(--ft-text-muted);
    line-height: 1.5;
    margin-bottom: 16px;
}

.fedtech-about-case-metric {
    font-size: 14px;
    color: var(--ft-text-dim);
    font-weight: 500;
}

.fedtech-about-case-metric .fedtech-gradient-text {
    font-size: 24px;
    font-weight: 800;
    font-family: var(--ft-mono);
    margin-right: 4px;
}

/* Tools */
.fedtech-about-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.fedtech-about-tool {
    display: inline-flex;
    padding: 8px 18px;
    background: var(--ft-bg-card);
    border: 1px solid var(--ft-border);
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    color: var(--ft-text-muted);
    transition: all 0.2s;
}

.fedtech-about-tool:hover {
    border-color: var(--ft-border-hover);
    color: #fff;
}

/* Testimonial */
.fedtech-about-testimonial blockquote {
    background: var(--ft-bg-card);
    border: 1px solid var(--ft-border);
    border-left: 3px solid var(--ft-accent);
    border-radius: var(--ft-radius);
    padding: 32px;
    margin: 0;
}

.fedtech-about-testimonial blockquote p {
    font-size: 18px;
    color: var(--ft-text);
    line-height: 1.7;
    margin-bottom: 16px;
    font-style: italic;
}

.fedtech-about-testimonial cite {
    font-size: 14px;
    color: var(--ft-text-dim);
    font-style: normal;
    font-weight: 500;
}

/* CTA */
.fedtech-about-cta {
    text-align: center;
    padding: 60px 0 20px;
    border-top: 1px solid var(--ft-border);
    margin-top: 60px;
}

.fedtech-about-cta h2 {
    font-size: 32px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.fedtech-about-cta p {
    font-size: 17px;
    color: var(--ft-text-muted);
    margin-bottom: 28px;
}

.fedtech-about-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.fedtech-btn-primary {
    display: inline-flex;
    align-items: center;
    padding: 12px 28px;
    background: var(--ft-gradient);
    color: #fff;
    font-weight: 600;
    font-size: 15px;
    border-radius: var(--ft-radius-sm);
    text-decoration: none;
    transition: opacity 0.2s;
}

.fedtech-btn-primary:hover {
    opacity: 0.9;
    color: #fff;
}

.fedtech-btn-outline {
    display: inline-flex;
    align-items: center;
    padding: 12px 28px;
    background: transparent;
    border: 1px solid var(--ft-border);
    color: var(--ft-text);
    font-weight: 600;
    font-size: 15px;
    border-radius: var(--ft-radius-sm);
    text-decoration: none;
    transition: all 0.2s;
}

.fedtech-btn-outline:hover {
    border-color: var(--ft-accent);
    color: var(--ft-accent-light);
}

/* About page responsive */
@media (max-width: 768px) {
    .fedtech-about-hero-inner {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }

    .fedtech-about-avatar {
        width: 150px;
        height: 150px;
    }

    .fedtech-about-socials {
        justify-content: center;
    }

    .fedtech-about-name {
        font-size: 28px;
    }

    .fedtech-about-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .fedtech-about-services,
    .fedtech-about-cases {
        grid-template-columns: 1fr;
    }

    .fedtech-about-cta h2 {
        font-size: 24px;
    }

    .fedtech-about-cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .fedtech-about-services,
    .fedtech-about-cases {
        grid-template-columns: repeat(2, 1fr);
    }
}
