/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f5f7fa;
    color: #1a1a2e;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

a {
    color: #0066cc;
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: #004080;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== HEADER ===== */
.site-header {
    background: linear-gradient(135deg, #0a1628 0%, #1a3a5c 100%);
    color: #fff;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo a {
    display: flex;
    align-items: center;
    color: #fff;
    text-decoration: none;
    gap: 10px;
}

.logo-icon {
    font-size: 32px;
}

.logo-text {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 1px;
}

.logo-sub {
    font-size: 13px;
    font-weight: 300;
    opacity: 0.8;
    display: block;
    margin-top: -3px;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 5px;
    flex-wrap: wrap;
}

.main-nav ul li a {
    color: rgba(255,255,255,0.8);
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s;
    display: block;
}

.main-nav ul li a:hover,
.main-nav ul li a.active {
    color: #fff;
    background: rgba(255,255,255,0.15);
}

.main-nav ul li a.active {
    background: rgba(0, 159, 229, 0.4);
}

/* Mobile menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    flex-direction: column;
    gap: 5px;
}

.mobile-menu-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background: #fff;
    border-radius: 3px;
    transition: all 0.3s;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}
.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}
.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ===== MAIN CONTENT ===== */
main {
    flex: 1;
    padding: 30px 0 50px;
}

.page-title {
    font-size: 32px;
    color: #0a1628;
    margin-bottom: 8px;
    font-weight: 700;
}

.page-subtitle {
    font-size: 18px;
    color: #555;
    margin-bottom: 30px;
}

/* ===== CARDS / SECTIONS ===== */
.section-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    border: 1px solid #e8ecf1;
}

.section-card h2 {
    font-size: 24px;
    color: #0a1628;
    margin-bottom: 15px;
}

.section-card h3 {
    font-size: 19px;
    color: #1a3a5c;
    margin: 20px 0 10px;
}

.section-card p {
    font-size: 15px;
    color: #333;
    margin-bottom: 12px;
}

.section-card ul {
    padding-left: 25px;
    margin-bottom: 12px;
}

.section-card ul li {
    margin-bottom: 6px;
    font-size: 15px;
}

.text-indent {
    text-indent: 30px;
}

/* ===== HERO BLOCKS (çÌÁ×ÎÁÑ) ===== */
.hero-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.hero-card {
    background: #fff;
    border-radius: 16px;
    padding: 30px 25px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 2px solid transparent;
    transition: all 0.3s;
}

.hero-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 35px rgba(0,0,0,0.12);
}

.hero-card .icon {
    font-size: 54px;
    display: block;
    margin-bottom: 12px;
}

.hero-card h2 {
    font-size: 22px;
    margin-bottom: 10px;
}

.hero-card p {
    font-size: 14px;
    color: #555;
    margin-bottom: 18px;
}

.hero-card .btn {
    display: inline-block;
    padding: 10px 30px;
    border-radius: 8px;
    font-weight: 600;
    color: #fff;
    transition: all 0.3s;
}

.hero-card .btn:hover {
    transform: scale(1.04);
    color: #fff;
}

.hero-card.heart { border-color: #cc0000; }
.hero-card.heart .btn { background: #cc0000; }
.hero-card.heart .btn:hover { background: #990000; }

.hero-card.muscle { border-color: #008000; }
.hero-card.muscle .btn { background: #008000; }
.hero-card.muscle .btn:hover { background: #006000; }

.hero-card.train { border-color: #005a9c; }
.hero-card.train .btn { background: #005a9c; }
.hero-card.train .btn:hover { background: #003d6b; }

.hero-card.bio { border-color: #8b5cf6; }
.hero-card.bio .btn { background: #8b5cf6; }
.hero-card.bio .btn:hover { background: #6d3bc7; }

/* ===== BOOKS / PUBLICATIONS ===== */
.books-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 15px;
}

.book-item {
    background: #f8faff;
    border-radius: 10px;
    padding: 20px;
    border: 1px solid #e8ecf1;
    transition: all 0.3s;
}

.book-item:hover {
    border-color: #0066cc;
    box-shadow: 0 4px 15px rgba(0,102,204,0.1);
}

.book-item .book-title {
    font-weight: 600;
    font-size: 16px;
    color: #0a1628;
}

.book-item .book-meta {
    font-size: 13px;
    color: #666;
    margin-top: 5px;
}

.book-item .book-desc {
    font-size: 14px;
    color: #444;
    margin-top: 8px;
}

/* ===== TAGS / LABELS ===== */
.tag {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin: 3px 4px 3px 0;
}

.tag-red { background: #ffe6e6; color: #cc0000; }
.tag-green { background: #e6ffe6; color: #008000; }
.tag-blue { background: #e6f0ff; color: #005a9c; }
.tag-purple { background: #f0e6ff; color: #6d3bc7; }

/* ===== AUTHOR PAGE ===== */
.author-profile {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    align-items: flex-start;
}

.author-photo {
    flex: 0 0 220px;
}

.author-photo img {
    width: 100%;
    border-radius: 12px;
    border: 3px solid #e8ecf1;
}

.author-info {
    flex: 1;
    min-width: 280px;
}

.achievement-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin-top: 10px;
}

.achievement-item {
    background: #f8faff;
    padding: 12px 16px;
    border-radius: 8px;
    border-left: 4px solid #0066cc;
    font-size: 14px;
}

/* ===== CONTACTS ===== */
.contact-block {
    background: #f8faff;
    padding: 20px 25px;
    border-radius: 10px;
    border: 1px solid #e8ecf1;
}

/* ===== FOOTER ===== */
.site-footer {
    background: #0a1628;
    color: rgba(255,255,255,0.8);
    padding: 40px 0 20px;
    margin-top: 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-col h4 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 12px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 6px;
}

.footer-col ul li a {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
}

.footer-col ul li a:hover {
    color: #fff;
}

.footer-col p {
    font-size: 14px;
    margin-bottom: 6px;
}

.footer-col a {
    color: #66b3ff;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 13px;
    color: rgba(255,255,255,0.5);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .main-nav {
        display: none;
        width: 100%;
        padding-top: 15px;
    }
    
    .main-nav.open {
        display: block;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 3px;
    }
    
    .main-nav ul li a {
        padding: 10px 16px;
        width: 100%;
    }
    
    .page-title {
        font-size: 26px;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
    }
    
    .author-profile {
        flex-direction: column;
        align-items: center;
    }
    
    .author-photo {
        flex: 0 0 auto;
        max-width: 200px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .logo-text {
        font-size: 18px;
    }
    
    .section-card {
        padding: 20px 15px;
    }
}

/* Â êîíåö ôàéëà style.css */

/* Òèïû ïóáëèêàöèé */
.tag-type-monograph {
    background: #f0e6ff !important;
    color: #8b5cf6 !important;
}

.tag-type-book {
    background: #e6f0ff !important;
    color: #005a9c !important;
}

.tag-type-methodical {
    background: #e6ffe6 !important;
    color: #008000 !important;
}

.tag-type-article {
    background: #ffe6e6 !important;
    color: #cc0000 !important;
}

.tag-type-media {
    background: #fff3e6 !important;
    color: #ff6b00 !important;
}